@font-face { font-family: "Pixelated MS Sans Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(https://unpkg.com/98.css@0.1.21/dist/ms_sans_serif.woff2) format("woff2"); }
@font-face { font-family: "Pixelated MS Sans Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url(https://unpkg.com/98.css@0.1.21/dist/ms_sans_serif_bold.woff2) format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
:root { --cursor-default: url("../ity/cursor.png") 0 0, default; }
.skip-link { position: absolute; left: -9999px; top: 0.5rem; padding: 0.5rem 1rem; background: #3a3890; color: #fff; font-family: "Pixelated MS Sans Serif", sans-serif; z-index: 9999; text-decoration: none; }
.skip-link:focus { left: 0.5rem; }
body { background: #000; font-family: "Pixelated MS Sans Serif", sans-serif; color: #fff; padding-bottom: 32px; cursor: var(--cursor-default); }
img { max-width: 100%; height: auto; }
h1 a { text-decoration: none; }
a { color: #b8ffb8; }
a, button { cursor: pointer; }
a:hover { color: #fff; }
.wrapper { max-width: 1600px; margin: auto; padding-top: 1.5rem; position: relative; z-index: 2; }
.content { display: flex; align-items: flex-start; gap: 1em; }
.sidebar-wrapper { width: 18em; flex-shrink: 0; }
.main { flex: 1; min-width: 0; }
.header { text-align: center; line-height: 0; }
.win95-window { border: 1px solid #000; background: #afade0; box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #d0cfee, inset -2px -2px #5a55b6, inset 2px 2px #fff; padding: 10px; margin-bottom: 1rem; }
.win95-titlebar {
	background: #5a55b6;
	color: #fff;
	font-weight: bold;
	padding: 3px 4px;
	font-size: 0.75rem;
	font-family: "Pixelated MS Sans Serif", "MS Sans Serif", Arial, sans-serif;
	display: flex;
	align-items: center;
	margin: 0 0 10px 0;
}
.win95-controls { margin-left: auto; display: flex; gap: 2px; }
.win95-controls span, .win95-controls button {
	background: #afade0;
	box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #5a55b6, inset 2px 2px #d0cfee;
	width: 16px;
	height: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.6rem;
	line-height: 1;
	border: none;
	padding: 0;
	font-family: inherit;
	cursor: pointer;
}
.titlebar-icon { width: 16px; height: 16px; image-rendering: pixelated; flex-shrink: 0; }
.comic-box { padding: 4px; background: #afade0; box-shadow: inset -1px -1px #fff, inset 1px 1px #5a55b6, inset -2px -2px #d0cfee, inset 2px 2px #0a0a0a; width: 100%; text-align: center; }
.page-navigation { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; overflow-x: auto; gap: 1rem; width: 100%; margin: 1rem 0; }
.nav-left, .nav-right { display: flex; flex-shrink: 0; align-items: center; gap: 0.25rem; background: #afade0; padding: 2px; box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #d0cfee, inset -2px -2px #5a55b6, inset 2px 2px #fff; }
img.arrow { display: block; }
.page-navigation a { display: inline-flex; padding: 2px; }
.page-navigation a:active { box-shadow: inset 1px 1px #5a55b6; }
.sidebar p { font-size: 1.1rem; line-height: 1.6; }
.terminal,
.comment-box { background: #fff; box-shadow: inset -1px -1px #fff, inset 1px 1px #5a55b6, inset -2px -2px #d0cfee, inset 2px 2px #0a0a0a; font-family: "Courier New", Courier, monospace; font-size: 1rem; color: #000; line-height: 1.5; }
.terminal { padding: 0.5rem 0.6rem; margin-bottom: 1rem; }
.terminal a, .comment-box a { color: #0000EE; }
.terminal a { text-decoration: underline; }
.sidebar-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 0.5rem; }
.sidebar-btn {
	flex: 1;
	text-align: center;
	background: #afade0;
	color: #000;
	text-decoration: none;
	padding: 5px 10px;
	font-family: "Pixelated MS Sans Serif", sans-serif;
	font-size: 1rem;
	border: 1px solid;
	border-color: #fff #3a3890 #3a3890 #fff;
	box-shadow: inset -1px -1px #5a55b6, inset 1px 1px #d0cfee;
}
.sidebar-btn:hover { color: #000; }
.sidebar-btn:active { border-color: #3a3890 #fff #fff #3a3890; box-shadow: inset 1px 1px #5a55b6, inset -1px -1px #d0cfee; }
.comment-box { padding: 0.5rem 0.6rem; width: 100%; margin: 1rem 0; word-break: break-word; }
.comment-box h2 { font-weight: bold; font-size: 1rem; border-bottom: 1px solid #000; margin: 0 0 0.5rem 0; text-transform: uppercase; letter-spacing: 0.05em; }
.comment-box p { margin: 0 0 0.4rem 0; }
.comment-footer { border-top: 1px solid #000; margin-top: 0.5rem; padding-top: 0.4rem; }
.ui-desktop { position: fixed; top: 1.5rem; left: 1rem; z-index: 1; width: 72px; }
.ui-icon { display: block; text-align: center; width: 72px; padding: 6px 1px; font-family: "Pixelated MS Sans Serif", sans-serif; font-size: 0.65rem; line-height: 1.2; }
.ui-icon img { display: block; margin: 0 auto; image-rendering: pixelated; width: 32px; height: 32px; }
.ui-icon span { display: block; color: #fff; padding: 3px 0 0; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; word-break: break-word; }
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-corner { background: #c0c0c0; }
::-webkit-scrollbar-track {
	background-color: #afade0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' width='1' height='1' fill='%23c0c0c0'/%3E%3Crect y='1' width='1' height='1' fill='%23c0c0c0'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23ffffff'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 2px 2px;
}
::-webkit-scrollbar-thumb { background-color: #afade0; border: 1px solid; border-color: #d0cfee #3a3890 #3a3890 #d0cfee; box-shadow: inset 1px 1px #d0cfee, inset -1px -1px #5a55b6; }
::-webkit-scrollbar-button { background-color: #afade0; border: 1px solid; border-color: #d0cfee #3a3890 #3a3890 #d0cfee; box-shadow: inset 1px 1px #d0cfee, inset -1px -1px #5a55b6; display: block; }
::-webkit-scrollbar-button:active { border: 1px solid; border-color: #404040 #dfdfdf #dfdfdf #404040; box-shadow: inset 1px 1px #5a55b6, inset -1px -1px #d0cfee; }
::-webkit-scrollbar-button:horizontal:start:increment,
::-webkit-scrollbar-button:horizontal:end:decrement,
::-webkit-scrollbar-button:vertical:start:increment,
::-webkit-scrollbar-button:vertical:end:decrement { display: none; }
::-webkit-scrollbar-button:vertical:start:decrement {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpolygon points='8,5 3,11 13,11' fill='%23000'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}
::-webkit-scrollbar-button:vertical:end:increment {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpolygon points='8,11 3,5 13,5' fill='%23000'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}
::-webkit-scrollbar-button:horizontal:start:decrement {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpolygon points='5,8 11,3 11,13' fill='%23000'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}
::-webkit-scrollbar-button:horizontal:end:increment {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpolygon points='11,8 5,3 5,13' fill='%23000'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}
.floating-window { position: fixed; top: 60px; left: 120px; width: 680px; z-index: 4000; display: none; }
.floating-window iframe { display: block; width: 100%; height: 500px; border: none; }
#window-pinball iframe { height: 420px; }
#icon-paint, #icon-pinball, #icon-solitaire { cursor: pointer; }
.taskbar-task[hidden] { display: none; }
.floating-window .win95-titlebar { cursor: default; user-select: none; }
.start-menu {
	position: fixed;
	bottom: 30px;
	left: 0;
	z-index: 9998;
	background: #afade0;
	border: 1px solid;
	border-color: #d0cfee #3a3890 #3a3890 #d0cfee;
	box-shadow: inset -1px -1px #5a55b6, inset 1px 1px #d0cfee;
	display: flex;
	min-width: 200px;
	font-family: "Pixelated MS Sans Serif", "MS Sans Serif", Arial, sans-serif;
	font-size: 0.75rem;
}
.start-menu[hidden] { display: none; }
.start-menu-banner { width: 22px; background: linear-gradient(to top, #2a2870, #5a55b6); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; flex-shrink: 0; }
.start-menu-banner span { writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font-size: 0.9rem; font-weight: bold; letter-spacing: 2px; user-select: none; text-shadow: 1px 0 0 #4a80b8; }
.start-menu-list { list-style: none; padding: 2px 0; margin: 0; }
.start-menu-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 3px 24px 3px 4px;
	text-decoration: none;
	color: #000;
	white-space: nowrap;
	cursor: default;
	background: none;
	border: none;
	font-family: "Pixelated MS Sans Serif", "MS Sans Serif", Arial, sans-serif;
	font-size: 0.75rem;
	text-align: left;
	width: 100%;
	line-height: 1.8;
}
.start-menu-item:hover, .start-menu-item:focus { background: #3a3890; color: #fff; outline: none; }
.start-menu-item img { width: 16px; height: 16px; image-rendering: pixelated; flex-shrink: 0; }
.start-menu-sep { height: 0; border-top: 1px solid #808080; border-bottom: 1px solid #fff; margin: 2px 4px; }
.taskbar {
	position: fixed;
	bottom: 0;
	left: 0;
	height: 30px;
	padding: 2px;
	width: 100%;
	border-top: 1px solid #fff;
	background: #afade0;
	z-index: 9999;
	display: flex;
	align-items: stretch;
	gap: 2px;
	font-family: "Pixelated MS Sans Serif", "MS Sans Serif", Arial, sans-serif;
	font-size: 0.7rem;
	color: #000;
}
.taskbar-start {
	padding: 0 6px 0 4px;
	border: 1px solid;
	border-color: #fff #000 #000 #fff;
	box-shadow: inset -1px -1px #3a3890, inset 1px 1px #d0cfee;
	font-weight: bold;
	font-family: "Pixelated MS Sans Serif", "MS Sans Serif", Arial, sans-serif;
	font-size: 0.7rem;
	background: #afade0;
	display: flex;
	align-items: center;
	gap: 4px;
	color: #000;
	white-space: nowrap;
}
.taskbar-start:active { border-color: #3a3890 #fff #fff #3a3890; box-shadow: inset -1px -1px #d0cfee, inset 1px 1px #0a0a0a; }
.taskbar-tasks { flex: 1; display: flex; align-items: stretch; gap: 2px; overflow: hidden; }
.taskbar-task {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0 6px;
	min-width: 150px;
	max-width: 200px;
	font-family: "Pixelated MS Sans Serif", "MS Sans Serif", Arial, sans-serif;
	font-size: 0.7rem;
	color: #000;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border: 1px solid;
	border-color: #3a3890 #fff #fff #3a3890;
	box-shadow: inset 1px 1px #5a55b6, inset -1px -1px #d0cfee;
	background: #afade0;
	cursor: default;
	user-select: none;
	appearance: none;
	-webkit-appearance: none;
}
.taskbar-task img { width: 16px; height: 16px; image-rendering: pixelated; flex-shrink: 0; }
.taskbar-task.minimized { border-color: #fff #3a3890 #3a3890 #fff; box-shadow: inset -1px -1px #5a55b6, inset 1px 1px #d0cfee; }
.taskbar-tray { padding: 0 6px; border: 1px solid; border-color: #3a3890 #fff #fff #3a3890; display: flex; align-items: center; white-space: nowrap; }
@media (max-width: 1200px) {
	.sidebar-wrapper { width: 21%; min-width: 14em; }
	.header { width: 75%; }
}
@media (max-width: 768px) {
	.wrapper { width: 100%; padding: 0; margin: 0 auto; }
	.content { flex-direction: column; align-items: center; }
	.sidebar-wrapper { width: 100%; }
	.main { width: 100%; }
	.header { margin: 1em auto; width: 100%; }
	.header img { width: 80%; height: auto; }
	.comment-box, .page-navigation { margin: 1em 0; }
	.sidebar { margin: 0; text-align: center; }
	.sidebar p { text-align: left; }
	.sidebar-nav { justify-content: space-evenly; }
	.terminal { overflow-y: auto; max-height: 12rem; }
	#window-nav .win95-titlebar, #window-nav .terminal { display: none; }
	.ui-desktop { display: none; }
	.taskbar, .start-menu { display: none; }
	body { padding-bottom: 0; margin: 0; }
	.comic-window { background: none; border: none; box-shadow: none; padding: 0; }
	.comic-window .win95-titlebar { display: none; }
	.comic-window .comic-box { background: none; box-shadow: none; padding: 0; }
	.comic-window .comic-box img { width: 100%; display: block; }
	.page-navigation { justify-content: space-between; gap: 0; }
	.nav-left, .nav-right { background: none; box-shadow: none; padding: 0; gap: 0; flex: 1; justify-content: space-evenly; }
	.page-navigation a { flex: 1; justify-content: center; padding: 0; }
	img.arrow { width: 100%; max-width: 80px; height: auto; }
}
