  :root {
    --desk: #2d5b4e;          /* cabbage green desktop */
    --desk-dots: #356a5b;
    --win: #d9d2bc;           /* beige plastic */
    --win-light: #f4efe0;
    --win-dark: #8a836e;
    --win-darker: #3d3a30;
    --title-a: #1d3d5c;
    --title-b: #3f7a52;
    --ink: #1b1a16;
    --term-bg: #0d130f;
    --term-ink: #9cf2a6;
    --term-dim: #5d9c66;
    --red: #b3261e;
    --font: Tahoma, "MS Sans Serif", Verdana, sans-serif;
    --mono: "Lucida Console", Consolas, "Courier New", monospace;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; height: 100%; }
  body {
    background: var(--desk);
    background-image: radial-gradient(var(--desk-dots) 1px, transparent 1px);
    background-size: 6px 6px;
    font: 13px var(--font); color: var(--ink);
    overflow: hidden;
  }
  #app { position: fixed; inset: 0 0 34px 0; overflow: auto; }
  button { font: 13px var(--font); }
  .hidden { display: none !important; }

  /* ---------- 90s windows ---------- */
  .win {
    background: var(--win);
    border: 2px solid; border-color: var(--win-light) var(--win-darker) var(--win-darker) var(--win-light);
    box-shadow: 1px 1px 0 #000, 6px 8px 0 rgba(0,0,0,.25);
    position: absolute; max-width: calc(100vw - 16px);
  }
  .title {
    background: linear-gradient(90deg, var(--title-a), var(--title-b));
    color: #fff; font-weight: bold; padding: 3px 4px 3px 6px;
    display: flex; align-items: center; gap: 6px; user-select: none;
  }
  .title .t { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .title .x, .title .m {
    width: 18px; height: 16px; line-height: 10px; padding: 0; font-weight: bold; font-size: 12px;
    background: var(--win); color: var(--ink); border: 2px solid; border-color: var(--win-light) var(--win-darker) var(--win-darker) var(--win-light);
    cursor: pointer;
  }
  .body { padding: 12px; }
  .btn {
    background: var(--win); padding: 5px 16px; min-width: 80px; cursor: pointer;
    border: 2px solid; border-color: var(--win-light) var(--win-darker) var(--win-darker) var(--win-light);
    outline: 1px solid #000; outline-offset: -1px;
  }
  .btn:active { border-color: var(--win-darker) var(--win-light) var(--win-light) var(--win-darker); }
  .btn:focus-visible { outline: 1px dotted #000; outline-offset: -5px; }
  .field {
    font: 14px var(--mono); padding: 5px 6px; width: 100%; background: #fff;
    border: 2px solid; border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  }
  .sunken { border: 2px solid; border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark); }

  /* ---------- boot ---------- */
  #boot {
    position: fixed; inset: 0; z-index: 50; background: #000; color: #c9c9c9;
    font: 15px var(--mono); display: flex; align-items: center; justify-content: center; cursor: pointer;
    text-align: center; padding: 16px;
  }
  #boot .blink { animation: blink 1s steps(1) infinite; color: #fff; }
  @keyframes blink { 50% { opacity: 0; } }

  /* ---------- login ---------- */
  #login { left: 50%; top: 46%; transform: translate(-50%, -50%); width: 430px; }
  .logo { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
  .logo canvas { image-rendering: pixelated; flex: none; }
  .logo h1 { font: bold 22px var(--font); margin: 0; letter-spacing: .5px; }
  .logo .sub { font-size: 11px; color: #4a4636; font-style: italic; }
  .logo .ver { font: 11px var(--mono); color: #4a4636; margin-top: 2px; }
  .row { display: flex; gap: 8px; align-items: center; }
  .msg { min-height: 34px; margin: 8px 0 0; color: var(--red); font-size: 12px; }
  .link { color: #1d3d8c; text-decoration: underline; cursor: pointer; background: none; border: 0; padding: 0; }
  hr.groove { border: 0; border-top: 1px solid var(--win-dark); border-bottom: 1px solid var(--win-light); margin: 12px 0; }

  /* ---------- onboarding ---------- */
  #onboard { left: 50%; top: 20px; transform: translateX(-50%); width: 720px; }
  #term {
    background: var(--term-bg); color: var(--term-ink); font: 15px/1.45 var(--mono);
    height: 230px; overflow-y: auto; padding: 10px 12px; white-space: pre-wrap;
  }
  #term .you { color: #f2e19c; }
  #term .dim { color: var(--term-dim); }
  #term .cursor { display: inline-block; width: 9px; height: 15px; background: var(--term-ink); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
  #controls { margin-top: 10px; min-height: 40px; }
  .classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 6px; }

  /* the cat ritual */
  #ritual { margin-top: 10px; }
  .countdown-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .countdown { font: bold 30px var(--mono); color: var(--red); background: #160606; padding: 2px 10px; letter-spacing: 3px; }
  .countdown.urgent { animation: blink .5s steps(1) infinite; }
  .cats { display: grid; grid-template-columns: repeat(3, minmax(0, 24vh)); justify-content: center; gap: 8px; }
  #term.short { height: 120px; }
  .cat {
    aspect-ratio: 1; background: #111; cursor: pointer; padding: 0; position: relative; overflow: hidden;
    border: 2px solid; border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  }
  .cat img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .15s; }
  .cat:hover img { transform: scale(1.05); }
  .cat .num { position: absolute; left: 4px; top: 3px; color: #fff; font: bold 11px var(--mono); text-shadow: 1px 1px 0 #000; }
  .cat.swap img { animation: swap .35s steps(3); }
  @keyframes swap { 0% { filter: invert(1) hue-rotate(90deg); transform: translateX(-8px); } 50% { filter: saturate(6); transform: translateX(6px) scaleY(.8); } 100% { filter: none; } }
  .cat.chosen { outline: 4px solid #f2e19c; outline-offset: -4px; }
  .cats.gone .cat:not(.chosen) { visibility: hidden; }
  .lowq { filter: blur(1.4px) contrast(1.4) saturate(.6); image-rendering: pixelated; }

  /* orientation */
  .orient { background: #000; color: #fff; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 14px var(--mono); gap: 10px; }
  .bar { width: 70%; height: 18px; padding: 2px; background: #fff; }
  .bar > div { height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--title-a) 0 10px, transparent 10px 12px); transition: width .25s; }

  /* badge printer */
  #printer { left: 50%; top: 20px; transform: translateX(-50%); width: 660px; }
  .slot { height: 14px; background: #222; border-radius: 3px; margin: 0 20px; box-shadow: inset 0 3px 4px #000; }
  .paper { overflow: hidden; margin: 0 34px; }
  #badgeImg { display: block; width: 100%; transform: translateY(-100%); }
  .paper.printing #badgeImg { animation: print 3.2s steps(16) forwards; }
  @keyframes print { to { transform: translateY(0); } }

  /* ---------- the intranet desktop ---------- */
  #desktop { position: absolute; inset: 0; }
  .icons { position: absolute; inset: 0; }
  .icon { position: absolute; width: 84px; background: none; border: 0; color: #fff; text-align: center; cursor: pointer; padding: 4px; font: 12px var(--font); touch-action: none; }
  .icon canvas { width: 48px; height: 48px; display: block; margin: 0 auto 4px; }
  .icon span { text-shadow: 1px 1px 0 #000; }
  .icon:focus span { background: var(--title-a); outline: 1px dotted #fff; }
  .icon.dragging { opacity: .75; z-index: 2; }
  .mybadge { position: absolute; right: 12px; top: 12px; width: 240px; image-rendering: auto; box-shadow: 4px 6px 0 rgba(0,0,0,.3); transform: rotate(2deg); cursor: pointer; }
  .doc { max-height: 52vh; overflow: auto; background: #fff; padding: 12px 14px; line-height: 1.5; }
  .doc h3 { margin: 12px 0 4px; font-size: 13px; }
  .doc h3:first-child { margin-top: 0; }
  .doc p { margin: 0 0 8px; }
  .memo-head { font: 12px var(--mono); border-bottom: 1px solid #999; padding-bottom: 6px; margin-bottom: 8px; }
  .stamp { display: inline-block; color: var(--red); border: 3px solid var(--red); padding: 2px 8px; font: bold 16px var(--mono); transform: rotate(-6deg); letter-spacing: 2px; }
  .check { display: flex; gap: 6px; align-items: center; margin: 4px 0; cursor: pointer; }

  /* ---------- taskbar ---------- */
  #taskbar {
    position: fixed; left: 0; right: 0; bottom: 0; height: 34px; z-index: 40;
    background: var(--win); border-top: 2px solid var(--win-light);
    display: flex; align-items: center; gap: 6px; padding: 0 4px;
  }
  #start { font-weight: bold; min-width: 0; padding: 3px 8px; display: flex; align-items: center; gap: 5px; }
  .ticker { flex: 1 1 120px; min-width: 80px; overflow: hidden; white-space: nowrap; font: 12px var(--mono); height: 24px; line-height: 20px; background: #10140f; color: #9cf2a6; padding: 0 6px; }
  .ticker span { display: inline-block; padding-left: 100%; animation: tick 38s linear infinite; }
  @keyframes tick { to { transform: translateX(-100%); } }
  .tray { font: 12px var(--mono); padding: 3px 8px; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
  .tray button { background: none; border: 0; cursor: pointer; font: 12px var(--mono); padding: 0; }
  .down { color: #ff7a6e; } .up { color: #9cf2a6; }

  /* ---------- glitches ---------- */
  #glitch { position: fixed; inset: 0; pointer-events: none; z-index: 45; overflow: hidden; }
  #glitch .slice { position: absolute; inset: 0; background: var(--desk); }
  body.rgb #app { text-shadow: -2px 0 rgba(255,0,60,.75), 2px 0 rgba(0,200,255,.75); }

  @media (max-width: 760px) {
    #onboard, #printer { width: calc(100vw - 16px); top: 8px; }
    #login { width: calc(100vw - 16px); }
    .mybadge { display: none; }
    #term { height: 200px; font-size: 14px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ticker span { animation-duration: 90s; }
    .cat.swap img, .countdown.urgent { animation: none; }
  }

  /* ---------- added for the real site ---------- */
  .break-cover { position: fixed; inset: 0; z-index: 44; background: rgba(10,20,16,.82); display: flex; align-items: center; justify-content: center; }
  .orient-cover { position: absolute; inset: 0 0 auto 0; height: 22%; background: #000; color: #9cf2a6; font: 13px var(--mono); display: flex; align-items: center; padding: 0 10px; }
  .doc ul { margin: 0 0 8px; padding-left: 20px; }

  /* ---------- the Break Room ---------- */
  .br { display: grid; gap: 10px; }
  .br section { background: var(--win-light); padding: 8px 10px; }
  .br h4 { margin: 0 0 4px; font-size: 13px; letter-spacing: .5px; }
  .br p { margin: 0 0 8px; font-size: 12px; }
  .br .row { flex-wrap: wrap; }
  .br select, .br input { font: 13px var(--mono); padding: 4px; }
  .br input { flex: 1; min-width: 140px; }
  .record { font: 12px var(--mono); }
  .catwin img { width: 100%; display: block; background: #111; }
  .catwin .row { margin-top: 8px; justify-content: space-between; }
  .status { font: 13px var(--mono); margin: 0; }

  /* ---------- CINCO TABLE TENNIS 98 ---------- */
  canvas.tennis { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 60; cursor: none; touch-action: none; }
  .tennis-quit { position: fixed; right: 10px; bottom: 10px; z-index: 61; min-width: 0; }

  /* ---------- draggable / resizable windows ---------- */
  #desktop .win { display: flex; flex-direction: column; min-width: 220px; }
  #desktop .win > .body { flex: 1; min-height: 0; overflow: auto; }
  #desktop .win .title { cursor: move; touch-action: none; }
  #desktop .win.dragging { opacity: .92; }
  #desktop .win.sized .doc { max-height: none; height: 100%; }
  .grip { position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; cursor: nwse-resize; touch-action: none;
          background: linear-gradient(135deg, transparent 50%, var(--win-dark) 50%, var(--win-dark) 58%, transparent 58%, transparent 70%, var(--win-dark) 70%, var(--win-dark) 78%, transparent 78%); }

  /* ---------- the Employee Terminal ---------- */
  .win.terminal > .body { display: flex; flex-direction: column; padding: 6px; gap: 6px; }
  .con-out { flex: 1; min-height: 80px; overflow-y: auto; background: var(--term-bg); color: var(--term-ink);
             font: 14px/1.45 var(--mono); padding: 8px 10px; white-space: pre-wrap; word-break: break-word; }
  .con-out .you { color: #f2e19c; }
  .con-out .dos { color: #cfd8cf; }
  .con-out .thought { color: var(--term-dim); font-style: italic; }
  .con-out .warn { color: #ff8a7a; }
  .con-in { display: flex; align-items: center; gap: 6px; background: var(--term-bg); padding: 4px 8px; }
  .con-in label { color: var(--term-ink); font: 14px var(--mono); }
  .con-in input { flex: 1; background: transparent; border: 0; outline: 0; color: #f2e19c; font: 14px var(--mono); caret-color: var(--term-ink); }

  /* ---------- System Properties ---------- */
  .tabs { display: flex; gap: 2px; margin-bottom: -2px; position: relative; z-index: 1; }
  .tab { background: var(--win); border: 2px solid; border-color: var(--win-light) var(--win-darker) transparent var(--win-light); padding: 4px 10px; cursor: pointer; font: 12px var(--font); }
  .tab.on { background: var(--win-light); font-weight: bold; padding-top: 6px; margin-top: -2px; }
  .props-wrap { background: var(--win-light); padding: 8px; max-height: 60vh; overflow: auto; }
  .props { width: 100%; border-collapse: collapse; font-size: 12px; }
  .props th { text-align: left; font-weight: normal; color: #4a4636; padding: 3px 8px 3px 0; white-space: nowrap; vertical-align: top; }
  .props td { padding: 3px 0; font-weight: bold; }
  .meter { height: 12px; background: #fff; }
  .meter > div { height: 100%; transition: width .5s; }

  /* ---------- alive: offers, hacking, ads, the meltdown ---------- */
  .btn.mini { min-width: 0; padding: 1px 10px; font: 12px var(--font); }
  .con-out .answers { margin: 2px 0 6px 14px; }
  .hack { background: #000; color: #33ff66; font: 12px/1.35 var(--mono); height: 180px; overflow: hidden; white-space: pre-wrap; padding: 6px; }
  .win.ad { animation: adblink .6s steps(1) infinite; }
  @keyframes adblink { 50% { border-color: #ff3030 #b3261e #b3261e #ff3030; } }
  .ad-body { text-align: center; }
  .ad-body p { font: bold 15px var(--font); color: #b3261e; margin: 4px 0 10px; }
  .bsod { position: fixed; inset: 0; z-index: 90; background: #0000aa; color: #fff; display: flex; align-items: center; justify-content: center; padding: 24px; cursor: none; }
  .bsod > div { max-width: 640px; font: 16px/1.5 var(--mono); }
  .bsod-title { text-align: center; } .bsod-title { display: block; }
  .bsod-title { background: #aaa; color: #0000aa; width: fit-content; margin: 0 auto 18px; padding: 0 8px; }
  .recovery { position: fixed; inset: 0; z-index: 90; background: #000; color: #9cf2a6; display: flex; align-items: center; justify-content: center; font: 15px var(--mono); padding: 24px; text-align: center; }
  .recovery .bar { width: min(420px, 80vw); margin: 12px auto; }
  body.party #desktop { animation: party 0.5s linear infinite; }
  @keyframes party { to { filter: hue-rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { .win.ad, body.party #desktop { animation: none; } }

  /* ---------- version 2: the shared computer ---------- */
  .small { font-size: 11px; } .dim { color: #6b6450; }
  .hires { background: var(--win-light); max-height: 55vh; overflow: auto; padding: 4px; }
  .hire { display: flex; gap: 8px; padding: 6px; border-bottom: 1px dotted var(--win-dark); align-items: center; }
  .hire img { width: 48px; height: 48px; object-fit: cover; image-rendering: auto; border: 2px solid #222; flex: none; background: #111; }
  .board { background: var(--win-light); max-height: 60vh; overflow: auto; padding: 8px 10px; }
  .board h4 { margin: 10px 0 2px; font-size: 12px; } .board h4:first-of-type { margin-top: 2px; }
  .board ol { margin: 0 0 4px; padding-left: 22px; font-size: 12px; }
  .gb-form { background: var(--win-light); padding: 8px; display: grid; gap: 6px; }
  .gb-form input, .gb-form textarea { font: 13px var(--mono); padding: 4px; width: 100%; resize: vertical; }
  .gb-list { max-height: 45vh; overflow: auto; margin-top: 8px; }
  .gb-entry { background: #fff; border: 1px solid var(--win-dark); padding: 6px 8px; margin-bottom: 6px; font-size: 12px; }
  .gb-entry p { margin: 4px 0 0; word-break: break-word; }
  .gb-reply { font: 12px var(--mono); color: #2d5b4e; }

  /* windows dragged partly off-screen are clipped instead of making the page scroll sideways */
  #desktop { overflow: hidden; }

  /* ---------- version 3: employees ---------- */
  .field.signed { font-weight: bold; background: var(--win-light); }
  .org { display: grid; gap: 0; padding: 6px; text-align: center; }
  .tier-name { font: bold 11px var(--mono); color: #4a4636; margin-bottom: 3px; text-transform: uppercase; }
  .tier-people { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
  .org-box { background: #fff; border: 2px solid var(--title-a); padding: 3px 8px; font-size: 12px; font-weight: bold; }
  .org-line { width: 2px; height: 14px; background: var(--title-a); margin: 2px auto; }
  .stars { color: #c9a400; letter-spacing: 1px; }
  .eotm { text-align: center; }
  .eotm img { width: 160px; height: 160px; object-fit: cover; border: 4px double #c9a400; image-rendering: auto; }
  .resume { background: var(--win-light); padding: 8px; display: grid; gap: 6px; max-height: 62vh; overflow: auto; }
  .resume label { display: grid; gap: 2px; font-size: 12px; }
  .resume input, .resume select, .resume textarea { font: 13px var(--mono); padding: 4px; width: 100%; }
  .verified { color: #2f7a48; font-weight: bold; }

  .board-h { margin: 6px 6px 2px; font-size: 12px; letter-spacing: .5px; }

  /* ---------- refining batch 1: taskbar buttons, tray ---------- */
  #desktop .win.min { display: none !important; }
  #start canvas { width: 20px; height: 22px; }
  #tasks { display: flex; gap: 3px; flex: 0 1 auto; min-width: 0; max-width: 55%; overflow: hidden; }
  .task { display: flex; align-items: center; gap: 4px; flex: 0 1 150px; min-width: 34px; max-width: 150px; height: 26px; padding: 2px 6px; font: 12px var(--font); text-align: left; }
  .task canvas { width: 16px; height: 16px; flex: none; }
  .task span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .task.on { border-color: var(--win-darker) var(--win-light) var(--win-light) var(--win-darker); font-weight: bold;
    background-image: repeating-conic-gradient(var(--win) 0 25%, var(--win-light) 0 50%); background-size: 2px 2px; }
  .tray button canvas { width: 16px; height: 16px; display: block; }
  .tray button { display: flex; align-items: center; }
  #bellBtn.ring canvas { animation: ring .16s steps(2) infinite; }
  @keyframes ring { 0% { transform: rotate(-14deg); } 100% { transform: rotate(14deg); } }
  .recycle-list { background: #fff; padding: 4px; max-height: 40vh; overflow: auto; font: 12px var(--mono); }
  .recycle-list div { padding: 3px 6px; cursor: pointer; } .recycle-list div.sel { background: var(--title-a); color: #fff; }
  @media (max-width: 760px) {
    .task { flex: 0 0 32px; min-width: 32px; padding: 2px; justify-content: center; } .task span { display: none; }
    #tasks { max-width: 40%; } .icon { width: 74px; } .icon canvas { width: 40px; height: 40px; }
  }
  @media (prefers-reduced-motion: reduce) { #bellBtn.ring canvas { animation: none; } }

  /* ---------- refining batch 2: the Cinco menu, weather ---------- */
  #start.pressed { border-color: var(--win-darker) var(--win-light) var(--win-light) var(--win-darker); }
  #cincoMenu { position: fixed; left: 2px; bottom: 34px; z-index: 9999; display: none; padding: 2px; max-height: calc(100vh - 40px); background: var(--win);
    border: 2px solid; border-color: var(--win-light) var(--win-darker) var(--win-darker) var(--win-light); box-shadow: 2px 2px 0 rgba(0,0,0,.35); }
  #cincoMenu.open { display: flex; }
  #cincoMenu .banner { width: 28px; flex: none; background: linear-gradient(0deg, #1d3d5c, #3f7a52 60%, #7fb069); display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; padding: 6px 0; }
  #cincoMenu .banner canvas { width: 22px; height: 24px; }
  #cincoMenu .bt { writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font: italic 900 18px "Arial Black", Impact, sans-serif; letter-spacing: 1px; white-space: nowrap; }
  #cincoMenu .bt b { color: #ff9ae8; }
  .mlist { list-style: none; margin: 0; padding: 0; min-width: 200px; }
  .mlist li { position: relative; display: flex; align-items: center; gap: 8px; padding: 4px 24px 4px 6px; cursor: pointer; white-space: nowrap; font: 13px var(--font); }
  .mlist li > canvas { width: 22px; height: 22px; flex: none; }
  .mlist.top > li { padding-top: 6px; padding-bottom: 6px; }
  .mlist li:hover, .mlist li.hot { background: var(--title-a); color: #fff; }
  .mlist li.dis { color: var(--win-dark); text-shadow: 1px 1px 0 var(--win-light); }
  .mlist li.dis:hover { background: var(--win-dark); color: var(--win-light); text-shadow: none; }
  .mlist li .arrow { position: absolute; right: 7px; font-size: 9px; }
  .mlist li.sep { height: 0; padding: 0; margin: 3px 2px; border-top: 1px solid var(--win-dark); border-bottom: 1px solid var(--win-light); cursor: default; }
  .mlist li.sep:hover { background: none; }
  #cincoMenu .sub { position: absolute; left: 100%; top: -3px; display: none; padding: 2px; z-index: 2; color: var(--ink); background: var(--win);
    border: 2px solid; border-color: var(--win-light) var(--win-darker) var(--win-darker) var(--win-light); }
  #cincoMenu li.hot > .sub { display: block; }
  .tray #weatherBtn canvas { width: 16px; height: 16px; }
  .wx h4 { margin: 0 0 6px; font: bold 12px var(--font); letter-spacing: 1px; }
  .wx-list { background: #fff; padding: 8px 10px; max-height: 36vh; overflow: auto; }
  .wx-list p { margin: 0 0 7px; font-size: 12px; } .wx-list b { display: block; font-size: 13px; }
  .tc-meter { display: flex; gap: 2px; margin: 0 0 8px; } .tc-meter div { flex: 1; text-align: center; font: bold 10px var(--font); padding: 3px 0; color: #0006; background: #e4dfcf; }
  .tc-meter div.on { color: #fff; }
  .wx .comment { font-style: italic; margin: 6px 0 0; color: var(--win-darker); }
  @media (max-width: 760px) {
    #cincoMenu { left: 0; right: 0; } #cincoMenu .mlist.top { flex: 1; }
    #cincoMenu .sub { position: static; border-width: 1px 0 0; margin: 4px -24px -4px 0; padding-left: 14px; background: var(--win-light); }
    .mlist { min-width: 0; } .mlist li { white-space: normal; }
    #cincoMenu .mlist li.hot { background: transparent; color: var(--ink); }
    #cincoMenu .mlist li.hot > canvas { outline: 2px solid var(--title-a); }
    #cincoMenu .mlist li.hot, #cincoMenu .mlist li:has(> .sub) { flex-wrap: wrap; }
    #cincoMenu .sub { flex-basis: 100%; }
    #cincoMenu .mlist li .arrow { top: 9px; } #cincoMenu .mlist li.hot > .arrow { transform: rotate(90deg); }
    #cincoMenu { overflow: auto; }
  }

  /* ---------- refining batch 3: the login boot sequence ---------- */
  #bootScreen { position: fixed; inset: 0; z-index: 10000; background: #000; color: #c8c8c8; cursor: default; user-select: none; }
  #bootScreen .b-reader { position: absolute; inset: 0; display: none; place-items: center; }
  #bootScreen .b-box { position: relative; width: 300px; height: 270px; }
  #bootScreen .b-label, #bootScreen .b-ok { font: 14px var(--mono); text-align: center; }
  #bootScreen .b-label { margin-bottom: 14px; }
  #bootScreen .b-ok { position: absolute; left: -40px; right: -40px; top: 206px; color: #7fe08a; }
  #bootScreen .b-badge { position: absolute; left: 20px; width: 260px; top: -200px; transition: top .7s cubic-bezier(.2,.8,.3,1); box-shadow: 0 0 0 1px #555; }
  #bootScreen .b-badge.in { top: 34px; } #bootScreen .b-badge.none { display: none; }
  #bootScreen .b-slot { position: absolute; left: 6px; right: 6px; top: 160px; height: 26px; background: linear-gradient(#444, #222); border: 2px solid #555; border-radius: 3px; }
  #bootScreen .b-slot::after { content: ""; position: absolute; left: 14px; right: 40px; top: 10px; height: 4px; background: #000; }
  #bootScreen .b-led { position: absolute; right: 12px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #600; box-shadow: 0 0 6px #f00; }
  #bootScreen .b-led.green { background: #3f3; box-shadow: 0 0 10px #3f3; }
  #bootScreen .b-scan { position: absolute; left: 20px; width: 260px; height: 3px; top: 34px; background: #7fe08a; box-shadow: 0 0 10px #7fe08a; opacity: 0; }
  #bootScreen .b-scan.go { animation: bscan .5s linear forwards; }
  @keyframes bscan { 0% { top: 34px; opacity: 1; } 99% { top: 160px; opacity: 1; } 100% { top: 160px; opacity: 0; } }
  #bootScreen .b-dos { position: absolute; inset: 0; display: none; padding: 24px 28px; font: 15px/1.35 var(--mono); white-space: pre-wrap; overflow: hidden; }
  #bootScreen .b-dos b, #bootScreen .hi { color: #fff; } #bootScreen .ok { color: #7fe08a; } #bootScreen .bad { color: #ff6b6b; } #bootScreen .warn { color: #ffd65c; }
  #bootScreen .b-logo { float: right; margin: 0 0 8px 12px; text-align: center; font: bold 12px var(--font); color: #7fe08a; }
  #bootScreen .b-logo canvas { display: block; margin: 0 auto 2px; }
  #bootScreen .b-foot { position: absolute; left: 28px; right: 28px; bottom: 22px; color: #9a9a9a; }
  #bootScreen .b-splash { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(100vw, 160vh); aspect-ratio: 320 / 200; image-rendering: pixelated; opacity: 0; transition: opacity .9s; }
  #bootScreen .b-splash.on { opacity: 1; }
  #bootScreen .b-skip { position: absolute; right: 12px; bottom: 10px; color: #777; font: 11px var(--mono); }
  #bootScreen .b-say { position: absolute; left: 0; right: 0; bottom: 40%; text-align: center; color: #9cf2a6; font: 16px var(--mono); padding: 0 16px; }
  @media (max-width: 700px) {
    #bootScreen .b-dos { font-size: 11px; padding: 16px 12px; } #bootScreen .b-logo canvas { width: 44px; height: auto; }
    #bootScreen .b-foot { left: 12px; right: 12px; bottom: 30px; }
  }
  @media (prefers-reduced-motion: reduce) { #bootScreen .b-badge { transition: none; } }

  /* ---------- refining batch 4: screensavers ---------- */
  #saver { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9999; image-rendering: pixelated; background: #000; cursor: none; }
