/*
	As you might have guessed, this is all handwritten
*/
html, body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}
body {
	background: #899FC6;
	font: 15px 'Segoe UI', 'Open Sans', 'Ubuntu', 'Roboto', 'Tahoma', 'Arial', sans-serif;
	overflow-y: scroll;
}
h1, h2, h3, p, ul, li, hr {
	padding: 0;
	margin: 0;
}
h1, h2, h3 {
	font-weight: normal;
}
h1 { font-size: 1.8em }
h2 { font-size: 1.5em }
h3 { font-size: 1.2em }
hr {
	border-bottom: 1px solid #ccc;
}
abbr {
	cursor: help;
}
/* tweening */
.button,
.menu a > div,
.menu a > span,
.pinned > a,
article:not(.no-easing),
article .img,
.links a {
	transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
}
/* */
.wrapper {
	margin: 0 auto;
	width: 640px;
	min-height: 100%;
	background: #f9f9f9;
	padding: 0 6px 6px 6px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
.pinned {
	position: fixed;
	width: 640px;
	padding: 0 6px;
	margin-left: -6px;
	top: 0px;
	height: 28px;
	background: #eee;
	z-index: 100;
	font: 20px Ubuntu Condensed, Tw Cen MT Condensed, Open Sans Condensed Light, Arial Narrow, sans;
	line-height: 28px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.pinned a {
	text-decoration: none;
	color: black;
}
.pinned .button {
	float: right;
	color: white;
	margin-left: 6px;
	padding: 0 4px;
}
.button, .links a {
	text-decoration: none;
	display: inline-block;
	padding: 0 6px;
	color: #fff;
	line-height: 28px;
	height: 28px;
}
.button.patreon { background: #F50 }
.button.patreon:hover { background: #F92 }
.links a[href*="twitter.com"],
.button.twitter { background: #0ae }
.links a[href*="twitter.com"]:hover,
.button.twitter:hover { background: #2cf }
.button.vk { background: #597DA3 }
.button.vk:hover { background: #699DD3 }
.button.tumblr { background: #36465D }
.button.tumblr:hover { background: #46567D }
.button.green, .links a { background: #4b5 }
.button.green:hover, .links a:hover { background: #7d6 }
.links a[href*="store.steampowered"] { background: #53ACCC }
.links a[href*="store.steampowered"]:hover { background: #72C8E5 }
.links a[href*="itch.io"] { background: #FA5C5C }
.links a[href*="itch.io"]:hover { background: #FF8787 }
.links a[href*="gamejolt.com"] { background: #90C442 }
.links a[href*="gamejolt.com"]:hover { background: #A0D452 }
.links a[href*="discord.gg"] { background: #7289DA }
.links a[href*="discord.gg"]:hover { background: #91a4ea }
.links a[href*="discordapp.com"] { background: #7289DA }
.links a[href*="discordapp.com"]:hover { background: #91a4ea }
.links a[href*="twitch.tv"] { background: #6441A5 }
.links a[href*="twitch.tv"]:hover { background: #8461C5 }
.links a[href*="yoyogames.com"] { background: #71b417 }
.links a[href*="yoyogames.com"]:hover { background: #93d436 }

.pinned .yal {
	display: inline-block;
	background: #fe5;
	margin: 0 -4px;
	height: 28px;
}
.pinned .yal:hover {
	background: #fff987;
}
.pinned .yal::before, .pinned .yal::after, .pages .img span::after {
	display: inline-block;
	content: "";
	width: 0;
	height: 0;
}
.pinned .yal::before {
	float: left;
	margin-right: -4px;
	border-left: 7px solid #eee;
	border-bottom: 28px solid transparent;
}
.pinned .yal::after {
	float: right;
	margin-left: -4px;
	border-right: 7px solid #eee;
	border-top: 28px solid transparent;
}
.afterpin {
	border: 0;
	height: 32px;
}
.header {
	display: block;
	overflow: hidden;
	background: #899FC6 url(img/menu-smooth-out.jpg?t=25-07-05) no-repeat;
	background-position: 0 -56px;
	height: 56px;
	margin-top: 6px;
	line-height: 16px;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	position: relative;
}
.header.sharp {
	background-image: url(img/menu-sharp.png?t=25-07-05);
}
.header > div {
	display: inline-block;
	float: left;
	padding: 4px;
	height: 48px;
	background: url(img/menu-item.png) right no-repeat;
	color: white;
	padding-right: 28px;
}
.header .role, .header .date {
	display: inline-block;
	position: absolute;
	padding: 2px 3px 2px 8px;
	color: white;
}
.header > .role {
	right: 0;
	bottom: 0;
	background: url(img/menu-role.png) bottom left;
}
.header > .date {
	right: 0;
	top: 0;
	background: url(img/menu-date.png) top left;
}
.header:not(:hover) > div, .header:not(:hover) > span {
	opacity: 0.8;
}
/*.header > span {
	float: left;
	width: 24px;
	height: 56px;
	display: block;
	background: url(img/h24.png) 0 -56px no-repeat;
}*/
.header .title {
	height: 24px;
	font-size: 24px;
	line-height: 24px;
	display: block;
}
.header .title span {
	opacity: 0.6;
}
.header p {
	clear: both;
}
#canscript + .wrapper article {
	display: none;
	overflow: hidden;
	height: 0px;
}
.links + footer {
	--margin-top: -15px;
}
article footer {
	clear: both;
	text-align: right;
	border-bottom: 1px dashed #ccc;
	padding-bottom: 5px;
	margin-bottom: 5px;
	font-size: 85%;
}
article p + p {
	margin-top: 8px;
}
article ul {
	padding-left: 20px;
}
article .light {
	color: #aaa;
}
article .img {
	display: block;
	float: left;
	border: 0;
	position: relative;
	background-repeat: no-repeat;
}
#canscript + .wrapper article:not(.ready) .img {
	background-image: none !important;
}
article .img:not(.ns) {
	box-shadow:
		-1px -1px 0 rgba(0, 0, 0, 0.3) inset,
		1px 1px 0 rgba(255, 255, 255, 0.3) inset;
}
article .img.center {
	float: inherit;
	margin: 0 auto;
}
article .img span {
	padding: 0px 2px;
	position: absolute;
	background-color: #000;
	color: #fff;
	opacity: 0.85;
	font-size: 13px;
	line-height: 15px;
	bottom: 0;
	left: 0;
}
article .img span::after {
	position: absolute;
	content: " ";
	margin-left: 2px;
	border-left: 7px solid #000;
	border-top: 15px solid transparent;
}
article tt {
	display: inline-block;
	background: #ffffff;
	font-family: Consolas, Ubuntu Mono, Dejavu Sans Mono, Lucida Console, monospace;
	line-height: 16px;
	padding: 0 2px;
	border: 1px solid #d0d0d0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	font-size: 12px;
	max-width: 100%;
	word-break: break-word;
}
