/* No Further Questions — an old family computer at night.
   The page is a desktop. Everything you open is a window. */
:root {
  --bg: #07070a;
  --panel: #111114;
  --line: rgba(255, 255, 255, .11);
  --line-2: rgba(255, 255, 255, .22);
  --text: #eceae4;
  --dim: #8f8d88;
  --red: #e0513c;
  --grey: #c3c3c3;
  --navy: #000080;
  --sys: Tahoma, "MS Sans Serif", Verdana, Archivo, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --type: "Courier Prime", "Courier New", monospace;
  --body: Archivo, system-ui, -apple-system, sans-serif;
  --task: 46px;
  --raised: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff;
  --sunken: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #0a0a0a, inset -2px -2px #dfdfdf;
  --dither: repeating-conic-gradient(#fff 0 25%, var(--grey) 0 50%) 0 0 / 2px 2px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; overflow: hidden; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
svg { display: block; max-width: 100%; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #000; padding: 8px 12px; z-index: 2000; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* ---------- the desktop ---------- */
.desktop {
  position: fixed; inset: 0 0 var(--task) 0; overflow: hidden; outline: none;
  display: flex; flex-direction: column;
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(150, 170, 220, .17), transparent 65%),
    radial-gradient(70% 50% at 50% 118%, rgba(30, 70, 140, .26), transparent 70%),
    var(--bg);
}
.desktop::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 38%, #000 15%, transparent 88%); mask-image: radial-gradient(80% 70% at 50% 38%, #000 15%, transparent 88%);
}
.hero { position: relative; order: 1; text-align: center; padding: clamp(10px, 2.4vh, 22px) 12px 0; pointer-events: none; }
.logo { display: block; width: min(92vw, 62vh, 760px); height: auto; margin: 0 auto; filter: drop-shadow(0 0 46px rgba(170, 190, 255, .2)) drop-shadow(0 14px 30px rgba(0, 0, 0, .7)); }
.hero-sub { margin-top: 2px; font: italic 400 clamp(17px, 2.3vw, 25px) "Instrument Serif", Georgia, serif; color: #b9b7b2; letter-spacing: .01em; }

.icons { order: 2; list-style: none; padding: 6px 8px; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; position: relative; }
.dicon { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 6px 2px; text-decoration: none; color: #fff; font: 12.5px/1.2 var(--sys); text-shadow: 1px 1px 0 #000; cursor: default; user-select: none; -webkit-user-select: none; }
.dglyph { position: relative; width: 46px; height: 46px; display: grid; place-items: center; }
.dglyph svg, .dglyph img { width: 44px; height: 44px; object-fit: contain; }
.dlabel { padding: 1px 4px; border: 1px dotted transparent; text-align: center; max-width: 94px; overflow-wrap: anywhere; }
.dicon.sel .dlabel { background: var(--navy); border-color: #fff; text-shadow: none; }
.dicon.sel .dglyph::after { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(var(--navy) 0 25%, transparent 0 50%) 0 0 / 2px 2px; opacity: .72; pointer-events: none; }
.dicon:focus-visible { outline: 1px dotted #fff; outline-offset: 0; }
.postit { display: none; }

/* ---------- old-desktop primitives ---------- */
.w98 { background: var(--grey); color: #000; font-family: var(--sys); font-size: 14px; line-height: 1.4; box-shadow: var(--raised), 0 18px 50px rgba(0, 0, 0, .7); padding: 3px; }
.w98 :focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.w98-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; background: linear-gradient(90deg, #808080, #b5b5b5); color: #d4d0c8; font-weight: 700; font-size: 13px; padding: 3px 3px 3px 5px; text-align: left; user-select: none; -webkit-user-select: none; }
.active > .w98-title { background: linear-gradient(90deg, var(--navy), #1084d0); color: #fff; }
.w98-title .wt { display: flex; align-items: center; gap: 6px; min-width: 0; }
.w98-title .wt b { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w98-title svg, .w98-title img { width: 16px; height: 16px; flex: none; object-fit: contain; }
.w98-ctl { display: flex; gap: 2px; flex: none; }
.w98-x { width: 20px; height: 18px; display: grid; place-items: center; background: var(--grey); color: #000; box-shadow: var(--raised); padding: 0; border: 0; border-radius: 0; touch-action: manipulation; }
.w98-x:active { box-shadow: var(--sunken); }
.w98-x svg { width: 9px; height: 8px; }
.w98-ctl .w98-x + .w98-x:last-child { margin-left: 2px; }
.w98-menu { display: flex; gap: 2px; padding: 2px 2px 3px; font-size: 13px; }
.w98-menu span { padding: 2px 7px; }
.w98-status { display: flex; gap: 2px; padding-top: 3px; font-size: 12px; }
.w98-status span { flex: 1; padding: 3px 6px; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w98-status span:last-child { flex: 0 1 auto; }
.w98-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 4px 14px;
  background: var(--grey); color: #000; border: 0; border-radius: 0; text-decoration: none; font-family: var(--sys); font-size: 14px; touch-action: manipulation;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
}
.w98-btn:active, .w98-btn[aria-expanded="true"], .w98-btn[aria-pressed="true"] { box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px #fff, inset 2px 2px #808080, inset -2px -2px #dfdfdf; padding: 5px 13px 3px 15px; }
.w98-btn[aria-pressed="true"] { background: var(--dither); font-weight: 700; }
.w98-btn.primary { outline: 1px solid #000; outline-offset: 0; font-weight: 700; }
.w98-btn.wide { width: 100%; min-height: 44px; font-size: 15px; }
.w98-btn[disabled] { color: #808080; text-shadow: 1px 1px #fff; cursor: not-allowed; }
.sunken { box-shadow: var(--sunken); padding: 2px; }
.paper { background: #fff; color: #000; }
.w98 a:not(.w98-btn):not(.file) { color: #0000ee; }

/* ---------- windows ---------- */
#windows { position: absolute; inset: 0; pointer-events: none; }
.window { position: absolute; pointer-events: auto; display: flex; flex-direction: column; max-height: calc(100% - 12px); animation: pop .12s ease-out; outline: none; }
.window.dragging { box-shadow: var(--raised), 0 26px 60px rgba(0, 0, 0, .8); }
.window.max { left: 0 !important; top: 0 !important; width: 100% !important; max-height: none; height: 100%; }
.win-scroll { overflow: auto; min-height: 0; flex: 1 1 auto; padding: 8px; scrollbar-color: #c3c3c3 #ececec; }
.win-scroll.flush { padding: 0; }
.win-scroll::-webkit-scrollbar { width: 16px; height: 16px; }
.win-scroll::-webkit-scrollbar-track { background: var(--dither); }
.win-scroll::-webkit-scrollbar-thumb { background: var(--grey); box-shadow: var(--raised); }
.win-scroll::-webkit-scrollbar-button { height: 16px; width: 16px; background: var(--grey); box-shadow: var(--raised); }
.win-scroll::-webkit-scrollbar-corner { background: var(--grey); }
@keyframes pop { from { transform: scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nudge { 30% { transform: translate(6px, 4px); } 70% { transform: translate(-3px, -2px); } }
.shake { animation: nudge .18s; }

/* the error box */
.ask .win-scroll { padding: 0; overflow: visible; }
.err-body { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 18px 16px 8px; text-align: left; }
.err-body svg { width: 36px; height: 34px; }
.err-msg { font-size: 15px; min-height: 2.7em; display: flex; align-items: center; }
.err-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 10px 12px 14px; }
.err-btns .w98-btn { min-height: 40px; min-width: 84px; }

/* shop: a folder window */
.files { background: #0c0c0e; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 6px; }
.file { display: grid; align-content: start; gap: 0; padding: 4px 4px 8px; text-decoration: none; color: #fff; text-align: center; font-family: var(--sys); }
.stage {
  position: relative; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(118deg, rgba(255, 255, 255, .055) 0%, transparent 42%), radial-gradient(110% 80% at 50% 108%, #24262b 0%, #15161a 55%, #0e0e11 100%);
}
.file .stage { aspect-ratio: 1 / 1.08; padding: 7% 5% 4%; }
.stage .tee { width: 100%; height: auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .55)); }
.file-name { justify-self: center; margin-top: 8px; padding: 1px 5px; font-size: 13px; border: 1px dotted transparent; }
.file-price { font-size: 13px; color: #b9b7b2; margin-top: 2px; }
.file:hover .file-name, .file:focus-visible .file-name { background: var(--navy); border-color: #fff; }
.file:focus-visible { outline: none; }
.flag { position: absolute; left: 6px; top: 6px; z-index: 2; background: #ffffe1; color: #000; border: 1px solid #000; font-family: var(--sys); font-size: 11px; padding: 1px 5px; }
.files.plain { background: #fff; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 2px; padding: 8px; }
.file.small { color: #000; padding: 6px 2px; }
.file.small .ficon svg { width: 36px; height: 36px; margin: 0 auto; }
.file.small .file-name { margin-top: 4px; }

/* item viewer */
.item-grid { display: grid; gap: 12px; align-items: start; }
.viewer, .props { min-width: 0; }
.stage[data-stage] { aspect-ratio: 1 / 1.02; padding: 6%; }
.art { width: 100%; height: 100%; display: grid; place-items: center; padding: 8%; align-self: stretch; }
.art img, .art svg { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.toolbar { display: flex; gap: 2px; padding: 2px 0 5px; }
.toolbar .w98-btn { min-height: 34px; }
.props h1 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.props-price { font-size: 20px; font-weight: 700; margin-top: 2px; }
.props-blurb { margin-top: 8px; font-size: 15px; }
.group { border: 1px solid #808080; box-shadow: 1px 1px #fff, inset 1px 1px #fff; padding: 14px 10px 10px; margin: 18px 0 0; position: relative; }
.group .legend { position: absolute; top: -10px; left: 8px; background: var(--grey); padding: 0 4px; font-size: 13px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes .w98-btn { min-width: 50px; min-height: 40px; }
.buy { margin-top: 12px; display: grid; gap: 6px; }
.list { margin-top: 12px; }
.list table { width: 100%; border-collapse: collapse; font-size: 13px; }
.list th { text-align: left; font-weight: 400; background: var(--grey); padding: 3px 8px; box-shadow: inset -1px -1px #808080, inset 1px 1px #fff; }
.list td { padding: 5px 8px; vertical-align: top; border-bottom: 1px solid #ececec; }
.list td:first-child { white-space: nowrap; color: #404040; width: 1%; }

/* help file */
.help .paper { padding: 4px 0; }
.help details { border-bottom: 1px dotted #b5b5b5; }
.help details:last-child { border-bottom: 0; }
.help summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: center; min-height: 44px; padding: 6px 12px; font-size: 15px; color: #0000ee; text-decoration: underline; }
.help summary::-webkit-details-marker { display: none; }
.help summary svg { width: 20px; height: 20px; }
.help summary:hover { background: var(--navy); color: #fff; }
.help details[open] summary { color: #551a8b; font-weight: 700; }
.help details[open] summary:hover { color: #fff; }
.help .ans { padding: 2px 14px 14px 42px; font-size: 15px; max-width: 66ch; }

/* waitlist: a setup dialog */
.setup-body { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 12px 10px 6px; }
.setup-side { background: linear-gradient(#1084d0, var(--navy)); display: grid; place-items: center; min-height: 150px; }
.setup-side svg { width: 48px; height: 48px; }
.setup h2 { font-size: 17px; font-weight: 700; }
.setup p { margin-top: 6px; }
.setup label { display: block; margin: 12px 0 4px; }
.setup input { width: 100%; min-height: 38px; padding: 6px 8px; font: 16px var(--sys); color: #000; background: #fff; border: 0; border-radius: 0; box-shadow: var(--sunken); }
.setup input:focus { outline: 1px dotted #000; outline-offset: -4px; }
.setup-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; border-top: 1px solid #808080; box-shadow: inset 0 1px #fff; margin-top: 10px; }
.setup-foot .w98-btn { min-height: 40px; }
.form-msg { margin-right: auto; font-size: 13px; min-height: 1.3em; }
.form-msg.ok { color: #006400; font-weight: 700; }
.form-msg.err { color: #b00000; font-weight: 700; }
.form-note { font-size: 12px; color: #404040; }

/* notepad and recycle bin */
.pad { padding: 12px 14px 18px; font-family: var(--type); font-size: 15px; line-height: 1.5; }
.pad h3 { font: 700 15px var(--type); text-transform: uppercase; margin: 18px 0 2px; }
.pad h3:first-child { margin-top: 0; }
.pad p + p { margin-top: 8px; }
.pad ul { padding-left: 20px; display: grid; gap: 4px; }
.bin { width: 100%; border-collapse: collapse; font-size: 13px; }
.bin th { text-align: left; font-weight: 400; background: var(--grey); padding: 3px 8px; box-shadow: inset -1px -1px #808080, inset 1px 1px #fff; }
.bin td { padding: 4px 8px; border-bottom: 1px solid #f0f0f0; }
.bin td svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.bin-foot { padding: 8px 2px 2px; display: flex; justify-content: flex-end; }

/* ---------- bag (kept dark and modern) ---------- */
.scrim { position: fixed; inset: 0 0 var(--task) 0; z-index: 39; background: rgba(0, 0, 0, .66); }
.drawer {
  position: fixed; z-index: 40; top: 0; right: 0; bottom: var(--task); width: min(430px, 100%);
  background: var(--panel); border-left: 1px solid var(--line);
  transform: translateX(102%); transition: transform .22s ease-out; overflow-y: auto;
  display: flex; flex-direction: column; padding: 14px 20px 22px;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.x { width: 44px; height: 44px; font-size: 24px; line-height: 1; background: none; border: 0; color: var(--dim); }
.x:hover { color: var(--text); }
#bag-body { display: flex; flex-direction: column; flex: 1; }
.bag-empty { color: var(--dim); padding: 22px 0; }
.bag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bag-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.bag-item .stage { aspect-ratio: 1; padding: 6px; border: 1px solid var(--line); }
.bag-name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.bag-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--dim); margin-top: 2px; }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.qty button { width: 36px; height: 36px; background: none; border: 1px solid var(--line-2); border-radius: 2px; font-family: var(--mono); }
.qty button:hover { border-color: var(--text); }
.qty span { font-family: var(--mono); font-size: 13px; min-width: 30px; text-align: center; }
.qty .rm { margin-left: auto; width: auto; padding: 0 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); border-color: transparent; }
.bag-foot { margin-top: auto; padding-top: 20px; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: #0b0b0d; background: var(--text); border: 1px solid var(--text); border-radius: 2px;
}
.btn:hover { background: #fff; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.drawer .form-msg { font-family: var(--mono); font-size: 12px; color: var(--red); margin: 8px 0 0; font-weight: 400; }
.drawer .form-note { color: var(--dim); font-size: 13px; margin-top: 8px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--task) + 22px); transform: translate(-50%, 16px); z-index: 60; opacity: 0; visibility: hidden; background: #ffffe1; color: #000; border: 1px solid #000; font: 13px var(--sys); padding: 6px 10px; transition: transform .2s, opacity .2s, visibility .2s; white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- taskbar + start menu ---------- */
.taskbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: var(--task); display: flex; align-items: center; gap: 4px; padding: 4px 4px 3px; background: var(--grey); box-shadow: inset 0 1px #dfdfdf, inset 0 2px #fff; font-family: var(--sys); }
.taskbar .w98-btn { height: 36px; min-height: 0; }
.start { font-weight: 700; padding-left: 7px; flex: none; }
.start .mark { width: 22px; height: 22px; }
.tb-sep { width: 2px; height: 32px; flex: none; box-shadow: inset 1px 0 #808080, inset -1px 0 #fff; margin: 0 2px; }
.tasks { flex: 1 1 auto; display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.task { flex: 0 1 168px; min-width: 38px; justify-content: flex-start; overflow: hidden; padding-left: 8px; padding-right: 8px; }
.task svg, .task img { width: 16px; height: 16px; flex: none; object-fit: contain; }
.task span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.bag-btn { flex: none; }
.tray { flex: none; height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 10px; font: 13px var(--sys); color: #000; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff; white-space: nowrap; }
.tray-q::before { content: "? "; font-weight: 700; }
.crt-btn { height: 22px; padding: 0 6px; font: 700 10px var(--sys); letter-spacing: .06em; background: var(--grey); color: #000; border: 0; box-shadow: var(--raised); }
.crt-btn[aria-pressed="true"] { box-shadow: var(--sunken); background: var(--dither); }
.startmenu { position: fixed; left: 2px; bottom: calc(var(--task) - 2px); z-index: 46; width: min(270px, calc(100vw - 4px)); display: grid; grid-template-columns: 30px 1fr; padding: 3px; }
.start-side { background: linear-gradient(#1084d0, var(--navy)); position: relative; }
.start-side span { position: absolute; left: 50%; bottom: 8px; transform-origin: left center; transform: rotate(-90deg); white-space: nowrap; color: #fff; font-weight: 700; font-size: 15px; }
.startmenu nav { display: grid; }
.startmenu nav a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; color: #000 !important; text-decoration: none; font-size: 14px; }
.startmenu nav a svg, .startmenu nav a img { width: 24px; height: 24px; flex: none; object-fit: contain; }
.startmenu nav a:hover, .startmenu nav a:focus-visible { background: var(--navy); color: #fff !important; outline: none; }
.startmenu hr { border: 0; border-top: 1px solid #808080; border-bottom: 1px solid #fff; margin: 3px 4px; }

/* ---------- full-screen moments ---------- */
.crt { position: fixed; inset: 0; z-index: 1400; pointer-events: none; mix-blend-mode: multiply;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .15) 0 1px, transparent 1px 3px), radial-gradient(125% 95% at 50% 45%, transparent 58%, rgba(0, 0, 0, .45) 100%); }
.no-crt .crt { display: none; }

.boot { position: fixed; inset: 0; z-index: 1000; background: #000; color: #c9c9c9; font: 15px/1.4 var(--mono); padding: 6vh 5vw; cursor: pointer; }
.boot.out { opacity: 0; transition: opacity .25s; }
.bios { margin: 0; white-space: pre-wrap; font: inherit; }
.splash { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; background: #000; padding: 0 5vw; }
.splash-logo { width: min(560px, 80vw); height: auto; filter: drop-shadow(0 0 40px rgba(170, 190, 255, .25)); }
.loadbar { width: min(320px, 70vw); height: 20px; padding: 3px; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #0a0a0a; background: var(--grey); }
.loadbar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, #0a24b8 0 9px, transparent 9px 12px); animation: load 1.25s steps(12) forwards; }
@keyframes load { to { width: 100%; } }
.splash p { font: 13px var(--sys); color: #9a9a9a; }
.skiphint { position: absolute; right: 18px; bottom: 14px; font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #5d5d5d; }

.saver { position: fixed; inset: 0; z-index: 1100; background: #000; cursor: none; }
.saver img { position: absolute; left: 0; top: 0; height: auto; will-change: transform; filter: drop-shadow(0 0 26px rgba(170, 190, 255, .2)); }

.bye { position: fixed; inset: 0; z-index: 1200; background: #000; display: grid; place-content: center; text-align: center; cursor: pointer; color: #ff9a1f; font: 700 clamp(20px, 4.4vw, 34px) / 1.4 var(--mono); padding: 0 6vw; }
.bye span { display: block; margin-top: 30px; font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: #8a5413; }

.bsod { position: fixed; inset: 0; z-index: 1300; background: #0000aa; color: #fff; font: 16px/1.5 var(--type); padding: 7vh 6vw; overflow: auto; cursor: pointer; outline: none; }
.bsod p { margin: 0 0 20px; max-width: 76ch; }
.bs-title { text-align: center; }
.bs-title span { background: #aaa; color: #0000aa; padding: 0 10px; }
.bs-code { font-weight: 700; }
.bs-tech { font-size: 14px; word-break: break-all; }
.caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.noscript { padding: 20px; color: var(--text); }

/* ---------- phones: windows fill the desktop, the error box sits by your thumb ---------- */
@media (max-width: 899px) {
  .window:not(.dialog) { left: 0 !important; top: 0 !important; width: 100% !important; height: 100%; max-height: none; }
  .window:not(.dialog) [data-wctl="max"] { display: none; }
  .ask { max-width: calc(100% - 12px); }
  .w98-title { touch-action: manipulation; }
}
@media (min-width: 560px) { .files { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) {
  .tray-q, .crt-btn { display: none; }
  .taskbar .w98-btn { padding-left: 10px; padding-right: 10px; }
  .task span { display: none; }
  .task { flex: 0 0 40px; justify-content: center; padding: 0; }
  .setup-body { grid-template-columns: 1fr; }
  .setup-side { display: none; }
  .w98-menu span:nth-child(n+4) { display: none; }
  .hero-sub { font-size: 17px; }
}

/* ---------- a real desktop: icons down the left, windows you drag ---------- */
@media (min-width: 900px) {
  .desktop { display: block; }
  .hero { position: absolute; left: 0; right: 0; top: clamp(14px, 5vh, 60px); }
  .icons { position: absolute; left: 10px; top: 12px; bottom: 12px; margin: 0; padding: 0; display: flex; flex-direction: column; flex-wrap: wrap; align-content: flex-start; gap: 6px 4px; width: auto; }
  .dicon { width: 96px; }
  .dglyph { width: 52px; height: 52px; }
  .dglyph svg, .dglyph img { width: 48px; height: 48px; }
  .w98-title { cursor: default; touch-action: none; }
  .window.max .w98-title { touch-action: manipulation; }
  .files { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px; }
  .files.plain { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .win-scroll { padding: 10px; }
  .win-scroll.flush { padding: 0; }
  .item-grid { grid-template-columns: 1.1fr 1fr; gap: 18px; }
}
@media (min-width: 1100px) {
  .postit { display: grid; align-content: center; position: absolute; right: 34px; top: 26px; width: 178px; height: 168px; padding: 18px 16px; transform: rotate(3deg); background: linear-gradient(165deg, #fff9ad, #f6ea7e); color: #3a3520; font: 30px/1.02 "Reenie Beanie", cursive; box-shadow: 3px 9px 18px rgba(0, 0, 0, .55); pointer-events: none; }
  .postit span:last-child { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
