/* KUTU-95: a palette of its own, chunky bevels, one pixel font. */
.os { position: absolute; inset: 0; font: 20px/1.1 var(--term); color: #111; }
.bios { margin: 0; padding: 5%; position: absolute; inset: 0; background: #000; color: #c8c8c8; font: clamp(15px, 3.4vmin, 24px)/1.15 var(--term); }
.desk { position: absolute; inset: 0; background: #1b7a78 radial-gradient(circle at 70% 30%, #2a9a94, #127171 70%); overflow: hidden; touch-action: none; }
.icons { position: absolute; left: 6px; top: 6px; bottom: 34px; display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 66px); grid-auto-columns: 74px; gap: 2px; }
.icon { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; font-size: 18px; text-shadow: 1px 1px 0 #000; padding: 3px; }
.icon img { width: 32px; height: 32px; image-rendering: pixelated; }
.icon:active span, .icon:focus span { background: #0a2a78; }
.desk::before { content: "KUTU-95"; position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); font: clamp(26px, 8vmin, 72px) var(--display); color: rgba(255, 255, 255, .12); letter-spacing: .04em; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; background: #c9c4b4; box-shadow: inset 0 2px 0 #fff; z-index: 9999; }
.start { font-weight: 700; padding: 1px 8px; background: #c9c4b4; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #555; color: #111; font-size: 18px; }
.clock { padding: 1px 8px; box-shadow: inset 1px 1px 0 #777, inset -1px -1px 0 #fff; font-size: 18px; cursor: default; }
.start.on { box-shadow: inset 1px 1px 0 #555, inset -1px -1px 0 #fff; }
.startmenu { position: absolute; left: 2px; bottom: 30px; z-index: 10000; display: flex; min-width: 190px; max-height: calc(100% - 36px); background: #c9c4b4; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #333, 3px 3px 0 rgba(0, 0, 0, .3); padding: 3px; }
.startmenu .side { writing-mode: vertical-rl; transform: rotate(180deg); background: linear-gradient(0deg, #0a2a78, #2f7fc0); color: #c9c4b4; font: 20px var(--display); padding: 6px 3px; letter-spacing: .06em; }
.startmenu .side b { color: #fff; font-weight: normal; }
.startmenu .items { display: flex; flex-direction: column; flex: 1; overflow: auto; }
.startmenu button { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 6px; font-size: 19px; color: #111; text-align: left; min-height: 36px; }
.startmenu button img { width: 24px; height: 24px; image-rendering: pixelated; }
.startmenu button:hover, .startmenu button:focus-visible { background: #0a2a78; color: #fff; outline: none; }
.startmenu hr { border: 0; border-top: 1px solid #777; border-bottom: 1px solid #fff; margin: 3px 2px; }
.win { position: absolute; background: #c9c4b4; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #333, 3px 3px 0 rgba(0, 0, 0, .3); display: flex; flex-direction: column; padding: 3px; }
.win-bar { flex: none; height: 24px; display: flex; align-items: center; justify-content: space-between; padding: 0 3px 0 6px; background: linear-gradient(90deg, #0a2a78, #2f7fc0); color: #fff; font-size: 18px; touch-action: none; cursor: move; }
.win-x { width: 20px; height: 18px; line-height: 14px; background: #c9c4b4; color: #111; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #555; font-size: 18px; }
.win-body { flex: 1; min-height: 0; margin-top: 3px; background: #fff; box-shadow: inset 1px 1px 0 #555; overflow: auto; position: relative; touch-action: pan-y; }
.note { margin: 0; padding: 8px; font: 19px/1.1 var(--term); white-space: pre-wrap; color: #111; user-select: text; }
.files { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; align-content: flex-start; }
.file { width: 82px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 17px; color: #111; word-break: break-all; }
.file img { width: 32px; height: 32px; image-rendering: pixelated; }
.empty { margin: 8px; }
.dos { position: absolute; inset: 0; overflow: auto; background: #000; color: #c8c8c8; padding: 6px; font: 19px/1.05 var(--term); }
.dos-out { white-space: pre-wrap; }
.dos-in { display: flex; gap: 4px; margin: 0; }
.dos-in input { flex: 1; min-width: 0; background: none; border: 0; color: inherit; font: inherit; outline: none; }
.tape { padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.track { text-align: left; padding: 5px 7px; color: #111; background: #eee8d6; font-size: 19px; }
.track.on { background: #e9b44c; }
.patch { width: 100%; height: 100%; display: block; touch-action: none; }

/* the world's programs (awards, scores, the sign) */
.os-awards { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; overflow-y: auto; height: 100%; box-sizing: border-box; }
.os-line { margin: 0; font: 18px/1.15 var(--term); color: #1e1a2b; opacity: .55; }
.os-line.on { opacity: 1; }
.os-line.dim { opacity: .7; font-size: 16px; }
.os-btn { margin-top: 6px; align-self: flex-start; font: 16px var(--term); padding: 3px 10px; background: #c9bfa8; box-shadow: inset -2px -2px 0 #7a7264, inset 2px 2px 0 #faf4e4; }
.os-sign { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; background: #000; height: 100%; box-sizing: border-box; }
.os-sign canvas { width: 160px; image-rendering: pixelated; }
.os-sign .os-line { color: #ff6a5a; opacity: 1; }
