/* =============================================================================
 * os.css — MR PENIS OS shell (forked from VENUS-OS)
 *
 * Structure ported from HOFFMAN-TACTICAL public/retro.css (Tactical-OS 96):
 * boot screen -> desktop + icons -> draggable/resizable windows -> taskbar
 * + start menu. Every grey is re-hued to tabby; the bevel logic (2px border,
 * hi/sh/sh/hi) is kept verbatim because that IS the look.
 * ===========================================================================*/

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text);
  background: var(--night);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* chrome must never start a text selection or a touch scroll */
.win .tbar, .win .grip, .win .rz, .dicon,
#taskbar, #startbtn, #startmenu {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ---------- bevels (retro.css, re-hued) ---------- */
.raised {
  border: 2px solid;
  border-color: var(--bevel-hi) var(--bevel-sh) var(--bevel-sh) var(--bevel-hi);
  background: var(--panel);
}
.sunken {
  border: 2px solid;
  border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh);
  background: var(--sunken);
}

/* =============================================================================
 * BOOT — a POST screen. Ported shape from retro.css #boot, but the payload is
 * his power-on self test.
 * ===========================================================================*/
#boot {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--void); color: var(--dim);
  font-family: var(--mono); font-size: 14px;
  padding: 28px; cursor: pointer; overflow: hidden;
}
#bootglobe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .5; }
#boot pre { margin: 0; white-space: pre-wrap; position: relative; z-index: 1; }
#boot .cur { background: var(--gold); color: var(--void); }

#bootos {
  position: absolute; left: 0; right: 0; bottom: 8vh; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  pointer-events: none;
}
/* ---- the wordmark, wherever MR PENIS stands alone ---- */
.vmark {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.01em; color: var(--text);
  -webkit-text-stroke: 2px var(--bevel-sh);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 rgba(1, 4, 10, .85), 0 0 34px rgba(57, 208, 255, .45);
}

#bootos .coin {
  width: clamp(120px, 22vw, 190px); height: auto; aspect-ratio: 1; border-radius: 50%;
  border: 4px solid #fffaf0;
  box-shadow: 0 0 0 3px var(--bevel-sh), 0 0 70px rgba(57, 208, 255, .35), 0 0 24px rgba(57, 208, 255, .45);
  background: var(--panel-2);
}
#bootos .logo { font-size: clamp(30px, 7.5vw, 52px); }
#bootos .sub {
  font-family: var(--mono); font-size: 11px; letter-spacing: .34em;
  color: var(--sulfur); text-shadow: 0 1px 3px #000;
}
#bootos .pbar {
  width: min(380px, 80vw); height: 20px; padding: 2px;
  background: var(--panel);
  border: 2px solid; border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh);
}
#bootos .pbar i {
  display: block; height: 100%; width: 0;
  background: repeating-linear-gradient(90deg, var(--gold-deep) 0 14px, var(--gold) 14px 16px);
  transition: width .12s linear;
}
#bootos .skip { font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: .2em; }

/* =============================================================================
 * CA BAR — the conversion strip. Sits above the desktop at all times.
 * ===========================================================================*/
:root { --cabar-h: 32px; }
#cabar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 550;
  height: var(--cabar-h); display: flex; align-items: center; gap: 7px;
  padding: 0 8px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border-bottom: 2px solid var(--gold-deep);
}
#cabar .cb-face { flex: none; width: 24px; height: 24px; border-radius: 50%; overflow: hidden;
  border: 2px solid #fffaf0; box-shadow: 0 0 0 1px var(--bevel-sh); background: var(--panel-2); }
#cabar .cb-face canvas { width: 100%; height: 100%; display: block; }
#cabar .cb-tick { flex: none; font-family: var(--display); font-size: 15px; letter-spacing: .01em; color: var(--text); }
#cabar .cb-pending { cursor: default; color: var(--dim); letter-spacing: .08em; }
#cabar .cb-note { font-family: var(--mono); font-size: 10px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#cabar .cb-off { color: var(--faint); cursor: not-allowed; background: var(--sunken); }
#cabar .cb-flex { flex: 1; }
#cabar .cb-ca {
  display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 9px;
  cursor: pointer; font-family: var(--mono); font-size: 11px; color: var(--text);
  background: var(--sunken);
  border: 2px solid; border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh);
}
#cabar .cb-copy { font-size: 9px; letter-spacing: .14em; color: var(--sulfur); }
#cabar .cb-btn {
  flex: none; display: grid; place-items: center; height: 22px; padding: 0 10px;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: var(--text); text-decoration: none; background: var(--panel-2);
  border: 2px solid; border-color: var(--bevel-hi) var(--bevel-sh) var(--bevel-sh) var(--bevel-hi);
}
#cabar .cb-btn:hover { color: var(--gold); }
#cabar .cb-btn:active { border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh); }
#cabar .cb-buy { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: var(--ink); }
#cabar .cb-buy:hover { color: var(--ink); filter: brightness(1.1); }
@media (max-width: 900px) { #cabar .cb-note { display: none; } }
@media (max-width: 560px) {
  #cabar .cb-scan { display: none; }
  #cabar .cb-tick { display: none; }
  #cabar { gap: 5px; }
}

/* =============================================================================
 * DESKTOP — the room he is sitting in (js/wallpaper.js), under a scanline haze.
 * ===========================================================================*/
#desktop {
  position: fixed; inset: var(--cabar-h) 0 var(--taskbar-h) 0; overflow: hidden;
  background: var(--void);
}
/* the flavour-corruption video (from JARS): a CRT showing pastel glitch,
   cropped top and bottom so only the screen shows */
:root { --bg-crop: 16%; --flavor-hue: 0deg; }
#wallvideo {
  position: absolute; left: 0; width: 100%;
  top: calc(var(--bg-crop) * -1); height: calc(100% + var(--bg-crop) * 2);
  object-fit: cover; object-position: center; z-index: 0; pointer-events: none;
  background: #1a0030 url("../assets/flavor-corruption.jpg") center / cover;
  filter: hue-rotate(var(--flavor-hue)) saturate(1.15);
  transition: filter .6s;
}
body.lights-off #wallvideo { filter: hue-rotate(var(--flavor-hue)) saturate(.6) brightness(.35); }
#wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; pointer-events: none; }

/* ---------- the banner field: giant words scrolling over the video (JARS) ---------- */
#bg-banners {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
  transform: rotate(-4deg) scale(1.15);
  mix-blend-mode: screen;
}
.bg-row { position: absolute; left: 0; right: 0; white-space: nowrap; }
.bg-row__track {
  display: inline-flex; white-space: nowrap;
  font-family: "Arial Black", var(--sans); font-weight: 900; font-style: italic;
  -webkit-text-stroke: 2px #000; paint-order: stroke fill;
  animation: scroll-x 18s linear infinite; will-change: transform;
}
.bg-row__track span { padding: 0 .35em; }
.bg-row__track .fr { font-family: var(--display); font-style: normal; font-weight: 400; letter-spacing: .01em; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
body.lights-off #bg-banners { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .bg-row__track { animation-duration: 90s !important; } }

/* ---------- glitch type (JARS) ---------- */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%;
  -webkit-text-stroke: 0; text-shadow: none; pointer-events: none;
}
.glitch::before { color: #ff3df2; transform: translate(-3px, 0); clip-path: inset(0 0 55% 0); animation: gl 2.5s infinite linear alternate; opacity: .85; }
.glitch::after  { color: var(--gold); transform: translate(3px, 0); clip-path: inset(55% 0 0 0); animation: gl 1.8s infinite linear alternate-reverse; opacity: .85; }
@keyframes gl { 0% { transform: translate(-3px, 0); } 50% { transform: translate(3px, -1px); } 100% { transform: translate(-1px, 1px); } }
@media (prefers-reduced-motion: reduce) { .glitch::before, .glitch::after { animation: none; } }

/* Tactical-OS drew hard venetian bars over its desktop; here the photo
   underneath has to stay readable, so the device is a faint scanline haze. */
#desktop::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: 3; pointer-events: none;
  background:
    repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, .22) 2px 3px);
  animation: drift 120s linear infinite;
}
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(6px); } }
#desktop::after {                        /* vignette so icon labels stay legible */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 6, 13, .6) 0, transparent 250px),
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

.dicon {
  position: absolute; z-index: 4; width: 92px; text-align: center;
  color: var(--text); cursor: pointer; padding: 6px 2px;
  border: 1px dotted transparent; background: none;
}
.dicon:hover { background: rgba(57, 208, 255, .12); }
.dicon.sel  { background: rgba(57, 208, 255, .22); border-color: var(--gold); }
.dicon:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dicon .gi  { font-size: 32px; line-height: 38px; filter: drop-shadow(1px 2px 0 rgba(0,0,0,.6)); }

/* ---------- SVG icons (js/icons.js) ---------- */
.svgi { display: inline-grid; place-items: center; line-height: 0; flex: none; }
.svgi svg { width: 100%; height: 100%; display: block; }
.dicon .gi { height: 52px; display: grid; place-items: center; }
/* EVRITHNG's plate: every icon sits on its own dark rounded tile */
.dicon .gi .svgi {
  width: 50px; height: 50px; padding: 8px; border-radius: 14px;
  background: radial-gradient(circle at 30% 22%, #16243b, #070b16 70%);
  box-shadow: inset 0 0 0 1px rgba(126, 243, 255, .16), 0 6px 14px rgba(0, 0, 0, .55);
  transition: box-shadow .15s, transform .15s;
}
.dicon:hover .gi .svgi, .dicon.sel .gi .svgi {
  box-shadow: inset 0 0 0 1px rgba(126, 243, 255, .5), 0 0 18px rgba(57, 208, 255, .35), 0 6px 14px rgba(0, 0, 0, .55);
  transform: translateY(-1px);
}
.dicon .gi .svgi svg { filter: drop-shadow(0 0 3px rgba(126, 243, 255, .35)); }
.dicon .gi .svgi { width: 54px; height: 54px; padding: 7px; }
.win .tbar .ti .svgi { width: 15px; height: 15px; }
#tasks .task .svgi { width: 15px; height: 15px; }
#startmenu .mi .mi-i .svgi { width: 20px; height: 20px; }
.dicon .lbl {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; margin-top: 3px;
  text-shadow: 1px 1px 0 #000, 0 0 8px rgba(0,0,0,.9); word-wrap: break-word;
}

/* =============================================================================
 * WINDOWS
 * ===========================================================================*/
.win {
  position: absolute; min-width: 260px; min-height: 140px;
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 2px solid; border-color: var(--bevel-hi) var(--bevel-sh) var(--bevel-sh) var(--bevel-hi);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .55), 0 18px 50px rgba(0, 0, 0, .5);
}
.win.max { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; }

.win .tbar {
  display: flex; align-items: center; gap: 6px; flex: none;
  height: var(--tbar-h); padding: 0 3px 0 6px; cursor: default;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  color: var(--ink);
}
.win.blur .tbar { background: linear-gradient(90deg, #4a3517, #6a4f21); color: var(--dim); }
.win .tbar .ti { font-size: 13px; }
.win .tbar .tt {
  flex: 1; font-weight: 800; font-size: 11.5px; letter-spacing: .1em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win .tbar .tb {
  width: 19px; height: 16px; display: grid; place-items: center; line-height: 1;
  font-family: var(--mono); font-size: 11px; font-weight: 800; color: var(--text);
  background: var(--panel-2); cursor: pointer;
  border: 2px solid; border-color: var(--bevel-hi) var(--bevel-sh) var(--bevel-sh) var(--bevel-hi);
}
.win .tbar .tb:hover  { background: var(--line); }
.win .tbar .tb:active { border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh); }

.win .wbody {
  flex: 1; margin: 3px; overflow: auto; position: relative;
  background: var(--sunken);
  border: 2px solid; border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh);
}
.win .wbody.plain { margin: 0; border: 0; background: var(--panel); }

/* resize handles — geometry ported from HOFFMAN retro.css: visible corner
   triangles bottom-left/right, invisible grab rails on s/e/w only. The side
   rails start 40px down so nothing ever overlaps the titlebar buttons. */
.win .grip, .win .rz.sw {
  position: absolute; z-index: 8; width: 20px; height: 20px; background: none;
}
.win .grip  { right: 0; bottom: 0; cursor: nwse-resize; }
.win .rz.sw { bottom: 0; left: 0; cursor: nesw-resize; }
.win .grip::after, .win .rz.sw::after {
  content: ""; position: absolute; width: 11px; height: 11px;
  background: var(--gold); opacity: .5; filter: drop-shadow(0 0 3px var(--gold));
}
.win .grip::after  { right: 1px; bottom: 1px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.win .rz.sw::after { left: 1px;  bottom: 1px; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.win .rz.s { position: absolute; z-index: 7; bottom: -4px; left: 14px; right: 14px; height: 9px; cursor: ns-resize; }
.win .rz.e { position: absolute; z-index: 7; right: -4px; top: 40px; bottom: 14px; width: 9px; cursor: ew-resize; }
.win .rz.w { position: absolute; z-index: 7; left: -4px;  top: 40px; bottom: 14px; width: 9px; cursor: ew-resize; }

body.wm-drag { cursor: grabbing; }
body.wm-drag iframe, body.wm-drag canvas { pointer-events: none; }
/* the 50px blur shadow repaints on every moved pixel — drop it mid-drag */
.win.dragging { box-shadow: 3px 3px 0 rgba(0, 0, 0, .55); will-change: left, top, width, height; }

/* =============================================================================
 * TASKBAR + START
 * ===========================================================================*/
#taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  height: var(--taskbar-h); display: flex; align-items: center; gap: 5px; padding: 3px 5px;
  background: var(--panel);
  border-top: 2px solid var(--bevel-hi);
}
#startbtn {
  display: flex; align-items: center; gap: 6px; flex: none;
  height: 26px; padding: 0 11px; cursor: pointer;
  font-family: var(--sans); font-size: 11.5px; font-weight: 900; letter-spacing: .1em;
  color: var(--ink); background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  border: 2px solid; border-color: var(--bevel-hi) var(--bevel-sh) var(--bevel-sh) var(--bevel-hi);
}
#startbtn.on, #startbtn:active { border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh); }

#tasks { display: flex; gap: 4px; flex: 1; overflow: hidden; }
#tasks .task {
  max-width: 168px; height: 26px; padding: 0 10px; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 11px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--panel-2);
  border: 2px solid; border-color: var(--bevel-hi) var(--bevel-sh) var(--bevel-sh) var(--bevel-hi);
}
#tasks .task.active {
  border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh);
  background: var(--line); color: var(--gold);
}

#lights {
  flex: none; height: 26px; padding: 0 11px; cursor: pointer;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em;
  color: var(--sulfur); background: var(--panel-2);
  border: 2px solid; border-color: var(--bevel-hi) var(--bevel-sh) var(--bevel-sh) var(--bevel-hi);
}
#lights:hover { color: var(--gold); }
#lights:active,
#lights[aria-pressed="true"] { border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh); }
#lights:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

#tray {
  flex: none; display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 10px;
  font-family: var(--mono); font-size: 11px; color: var(--dim);
  border: 2px solid; border-color: var(--bevel-sh) var(--bevel-hi) var(--bevel-hi) var(--bevel-sh);
}
#tray .mood { color: var(--sulfur); }
#tray .clock { color: var(--gold); letter-spacing: .08em; }

#startmenu {
  position: fixed; left: 5px; bottom: calc(var(--taskbar-h) + 3px); z-index: 600;
  width: 250px; display: none; overflow: hidden;
  background: var(--panel);
  border: 2px solid; border-color: var(--bevel-hi) var(--bevel-sh) var(--bevel-sh) var(--bevel-hi);
  box-shadow: 3px 3px 0 rgba(0,0,0,.55);
}
#startmenu.on { display: flex; }
#startmenu .rail {
  flex: none; width: 30px;
  background: linear-gradient(180deg, var(--ember), var(--gold-deep) 55%, var(--dial-navy));
  color: var(--ink); font-weight: 900; font-size: 12px; letter-spacing: .22em;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: grid; place-items: center; padding: 12px 0;
}
#startmenu .items { flex: 1; padding: 3px; }
#startmenu .mi {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--text);
  background: none; border: 0;
}
#startmenu .mi:hover { background: var(--gold); color: var(--ink); }
#startmenu .mi .mi-i { font-size: 18px; }
#startmenu .sep { height: 2px; margin: 4px 6px; background: var(--bevel-sh); border-bottom: 1px solid var(--bevel-hi); }

/* =============================================================================
 * DELIGHT LAYER — window animations, CRT mode, achievement toasts, GSOD
 * ===========================================================================*/
.win.opening { animation: winin .12s ease-out; }
@keyframes winin { from { transform: scale(.94); opacity: .4; } to { transform: none; opacity: 1; } }
.win.minimizing { transform: translateY(48px) scale(.92); opacity: 0; transition: transform .13s ease-in, opacity .13s ease-in; }
.win.closing { transform: scale(.94); opacity: 0; transition: transform .1s ease-in, opacity .1s ease-in; }

/* CRT: scanlines + vignette overlay, subtle phosphor bloom on the page */
#crtfx {
  position: fixed; inset: 0; z-index: 9300; pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px),
    radial-gradient(120% 100% at 50% 50%, transparent 62%, rgba(0,0,0,.42));
  mix-blend-mode: multiply;
}
body.crt { animation: crtflick 4s steps(60) infinite; }
body.crt #desktop, body.crt .win { filter: saturate(1.12) contrast(1.05); }
@keyframes crtflick { 0%,94%,100% { opacity: 1; } 96% { opacity: .965; } 98% { opacity: .985; } }
@media (prefers-reduced-motion: reduce) { body.crt { animation: none; } }

/* achievement toasts */
#achtoasts {
  position: fixed; right: 10px; bottom: calc(var(--taskbar-h) + 10px);
  z-index: 9200; display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.achtoast {
  display: flex; gap: 10px; align-items: center; max-width: 300px;
  padding: 9px 12px; transform: translateX(120%); transition: transform .28s ease-out;
  background: var(--panel); color: var(--text);
  border: 2px solid; border-color: var(--bevel-hi) var(--bevel-sh) var(--bevel-sh) var(--bevel-hi);
  box-shadow: 3px 3px 0 rgba(0,0,0,.5), 0 0 24px rgba(57,208,255,.22);
  font-size: 11px; line-height: 1.45;
}
.achtoast.on { transform: none; }
.achtoast b { color: var(--gold); font-size: 10px; letter-spacing: .1em; }
.achtoast .a-i { font-size: 22px; flex: none; }

/* trophy shelf */
.ach-grid { display: grid; gap: 8px; }
.ach-row {
  display: flex; gap: 12px; align-items: center; padding: 9px 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card);
  opacity: .45; font-size: 12px; line-height: 1.4;
}
.ach-row.owned { opacity: 1; border-color: var(--gold-deep); }
.ach-row .a-i { font-size: 22px; width: 30px; text-align: center; flex: none; }
.ach-row b { color: var(--gold); font-size: 11px; letter-spacing: .08em; }
.ach-row i { color: var(--dim); font-style: normal; font-size: 11px; }

/* the Gold Screen of Death */
#gsod {
  position: fixed; inset: 0; z-index: 9600; cursor: pointer;
  background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-size: 14px; line-height: 1.7;
  display: grid; place-items: center; padding: 24px;
}
#gsod .g-wrap { max-width: 62ch; }
#gsod p { margin: 0 0 14px; }
#gsod .g-badge {
  display: inline-block; background: var(--ink); color: var(--gold);
  font-weight: 900; padding: 3px 14px; letter-spacing: .2em; margin-bottom: 18px;
}
#gsod .g-code { font-weight: 700; }
#gsod .g-blink { animation: gblink 1s steps(2) infinite; }
@keyframes gblink { 50% { opacity: .25; } }

/* =============================================================================
 * MOBILE — a 9x desktop is a lie on a phone. Windows go full-bleed and stack;
 * drag/resize is dropped rather than faked.
 * ===========================================================================*/
@media (max-width: 720px) {
  .dicon { width: 76px; }
  .dicon .gi { font-size: 27px; line-height: 32px; }
  .win {
    left: 0 !important; top: 0 !important;
    width: 100% !important; height: calc(100% - var(--taskbar-h)) !important;
  }
  .win .grip, .win .rz { display: none; }
  #tasks .task { max-width: 96px; }
  #tray .mood { display: none; }
}

/* lights off: the chrome dims with the room, the labels keep their glow */
body.lights-off #desktop::after { background: none; }
body.lights-off .dicon .lbl { text-shadow: 0 0 6px rgba(0, 0, 0, .9), 0 0 2px #000; }
