/* ============================================================
   css/deluxe.css — INKVILLE DELUXE (Odaroo, 2026-11-26). LOADS LAST, ON PURPOSE.

   The paint for js/deluxe.js. "Pretend what we've worked on was 8-bit; now we're going 32-bit...
   simple animation, very Ragnarok Online, melancholic yet nostalgic."

   HOW A SCREEN JOINS THE DELUXE LOOK
     1. add its id to DLX_SCREENS in js/deluxe.js (that turns the dusk on behind it), and
     2. add it to the "paper off" rule below (that takes its own sunburst away so the dusk shows).
   A screen in neither keeps its cream paper exactly as it was — the remake goes screen by screen.

   RULES THIS FILE LIVES BY (all of them already cost this project a build each):
     · nothing that moves for ever carries a `filter` (v0.859)
     · nothing moves on left/top/width/height — `translate`/`scale` only (v0.834)
     · an animation goes on an HTML box or the <svg>, never on a shape inside one (v0.832)
     · every never-ending animation has a reduced-motion block, so SMOOTH MODE reaches it (v0.887)
   ============================================================ */

:root{
  --dlx-night:#15102a; --dlx-plum:#2a2244; --dlx-slate:#59679f; --dlx-slate2:#353f78;
  --dlx-lav:#e6dcff; --dlx-peach:#f8c98c; --dlx-gold:#f2c14e; --dlx-gold2:#b9812a;
}

/* ---------- the dusk, behind every screen ---------- */
#dlxSky{position:absolute; left:0; top:0; right:0; bottom:0; z-index:0; overflow:hidden; pointer-events:none; background:var(--dlx-night);}
#dlxSky canvas{position:absolute; left:0; top:0; image-rendering:pixelated; image-rendering:crisp-edges;}

/* paper off: these screens show the dusk instead of their own sunburst */
#scr-title > .sunburst, #scr-title > .halftone, #scr-title > #titleFrame,
#scr-home > .sunburst, #scr-home > .halftone, #scr-home > #homeFrame, #scr-home > #homeTint{display:none!important;}

/* ---------- TITLE ---------- */
#scr-title #logoWrap::after{display:none!important;}
#scr-title .glogo{color:#fff6dc!important; text-shadow:0 3px 0 #f2c14e, 0 6px 0 #b9812a, 4px 10px 0 #15102a!important;}
#scr-title .glogo .lg-ink{color:#fff6dc;}
#scr-title .glogo .lg-ville{color:#ffd9a8;}
#scr-title .subtitle{color:var(--dlx-lav); text-shadow:2px 2px 0 var(--dlx-night); margin-top:16px;}
#scr-title .subtitle::after{content:'インクヴィル'; display:block; margin-top:7px; font-family:var(--fontJ); font-size:11px;
  letter-spacing:.5em; text-indent:.5em; color:#ffffffb0; text-shadow:none; text-transform:none;}
#scr-title .logo-ver{color:#cfd6ff!important; text-shadow:none!important; opacity:.75; margin-top:8px;}
#scr-title #titleSaveNote{color:var(--dlx-lav); text-shadow:1px 1px 0 var(--dlx-night);}
#scr-title .bulb{box-shadow:0 0 0 2px var(--dlx-night);}
#scr-title #titleAce svg{filter:drop-shadow(3px 4px 0 #15102a)!important;}
#titleStartBtn{background:linear-gradient(180deg,#f0685c,#c9323a 48%,#8f1826)!important; color:#fff!important;
  box-shadow:inset 0 3px 0 #ff9a8a, inset 0 -4px 0 #5a0c14, 0 0 0 3px var(--dlx-night), 5px 7px 0 3px #0b081acc!important; border-color:transparent!important;}
#titleStartBtn span{text-shadow:2px 2px 0 #5a0c14;}
#titleStartBtn span::after{content:'スタート'; font-family:var(--fontJ); font-size:9px; letter-spacing:.4em; text-indent:.4em; opacity:.8; margin-top:3px;}

/* ---------- HOME: the boulevard row ---------- */
#menuStack{align-content:start;}
#menuStack > .mtile.feat{order:0;}
#menuStack::after{content:''; order:1; grid-column:1 / -1; height:var(--hwalk,0px); pointer-events:none;}
#menuStack > .mtile.poster{order:2;}
#menuStack > .mtile.gigbar{order:3;}
#menuStack.tight::after{display:none;}

/* the stage: a gilt proscenium over the night */
#menuStack .mtile.feat{box-shadow:0 0 0 2px var(--dlx-gold2), 0 0 0 4px var(--dlx-gold), 0 0 0 6px var(--dlx-night), 5px 9px 0 6px #0b081acc!important; border-color:#000!important;}
#menuStack .mtile.feat .jplab{font-size:calc(10px * var(--gs,1)); letter-spacing:.3em; text-indent:.3em; opacity:.78; margin-top:calc(5px * var(--gs,1));}
#menuStack .mtile.poster{box-shadow:inset 2px 2px 0 #fffaf0, inset -2px -2px 0 #bfa97c, 0 0 0 2px var(--dlx-night), 4px 6px 0 2px #0b081acc;}
#menuStack .mtile.poster .jplab{font-size:calc(8px * var(--gs,1)); letter-spacing:.25em; text-indent:.25em; opacity:.6; margin-top:2px;}
#menuStack.tight .mtile.poster .jplab{display:none;}
#menuStack .mtile.gigbar{box-shadow:0 0 0 2px var(--dlx-night), 4px 6px 0 2px #0b081acc;}

/* the walker: the player's own inklet, six held frames */
#dlxInk{position:absolute; z-index:4; pointer-events:none; transition:translate .62s linear;}
#dlxInk .dlx-hop{position:absolute; left:0; top:0; right:0; bottom:0; transform-origin:50% 100%; animation:dlxHop .62s steps(1) infinite;}
#dlxInk .dlx-hop svg{width:100%; height:100%; display:block; image-rendering:pixelated;}
#dlxInk.flip .dlx-hop svg{scale:-1 1;}
#dlxInk .dlx-shadow{position:absolute; left:14%; right:14%; bottom:-5%; height:11%; border-radius:50%; background:#0a0818b0; animation:dlxShad .62s steps(1) infinite;}
@keyframes dlxHop{0%{transform:translateY(0) scale(1.1,.86)}17%{transform:translateY(-12%) scale(.96,1.06)}34%{transform:translateY(-24%) scale(.94,1.08)}
  50%{transform:translateY(-30%) scale(1,1)}67%{transform:translateY(-18%) scale(.97,1.04)}84%{transform:translateY(-4%) scale(1.02,.98)}100%{transform:translateY(0) scale(1.1,.86)}}
@keyframes dlxShad{0%{scale:1 1; opacity:1}17%{scale:.86 1; opacity:.8}34%{scale:.7 1; opacity:.6}50%{scale:.62 1; opacity:.5}67%{scale:.74 1; opacity:.65}84%{scale:.94 1; opacity:.9}}
#dlxInk.rest .dlx-hop, #dlxInk.rest .dlx-shadow{animation:none;}
@media (prefers-reduced-motion:reduce){
  #dlxInk{transition:none;}
  #dlxInk .dlx-hop, #dlxInk .dlx-shadow{animation:none;}
}

/* ---------- THE PAD: plum body, a red A and a gold B ---------- */
.gpcross-svg .gpc-face{fill:#3d3760; stroke:var(--dlx-lav);}
.gpcross-svg .gpc-nub{fill:#2a2548;}
.gpcross-svg .gpc-ar{fill:var(--dlx-lav);}
#gpad .gpb.gpa{background:radial-gradient(circle at 35% 30%,#ff9a8a,#d8454a 55%,#8f1826); color:#fff; border-color:var(--dlx-night);}
#gpad .gpb.gpbtn2{background:radial-gradient(circle at 35% 30%,#ffe9a0,#f2c14e 55%,#b9812a); color:#fff; border-color:var(--dlx-night);}
#gpad .gpss{background:linear-gradient(180deg,#5a5480,#3a3558); border-color:var(--dlx-lav);}

/* ---------- the splash card: English big, Japanese small ---------- */
.gsplash .gs-jp{font-size:clamp(10px,2.9vw,14px)!important; letter-spacing:.45em; text-indent:.45em; opacity:.85; margin-top:8px;}

/* ---------- THE BOOT: the handheld stands on the true centre ----------
   (Odaroo, 2026-11-26: "the logo at the beginning is not well centred.") v0.725 lifted the boot
   column to top:40% so the handheld would sit where the studio mark appears next. Measured on a
   tall phone (412x961) that put the handheld's own centre at 42% while the ODAROO & CO. tiles
   that replace it are drawn at exactly 50% — so the picture jumped down on the tap and the first
   screen read as top-heavy. At 46% the handheld's centre lands on 49%, the same place as the mark.
   ⚠ Still `top`, never a transform — bootCorrupt hard-codes translate(-50%,-50%) (see css/home.css). */
#introBoot{top:46%;}

/* ---------- tiles are SOLID over the dusk ----------
   Over cream paper a dimmed, unselected tile (.hasSel .mtile:not(.selm){opacity:.82}) simply looked
   a shade lighter. Over a town at dusk it is see-through: rooftops and lit windows read straight
   through ALBUM. The cursor is already shown by the jitter and the outline, so nothing dims. */
#menuStack.hasSel .mtile:not(.selm){opacity:1!important;}
#menuStack .mtile.poster{background-color:var(--paper)!important;}
#menuStack .mtile.gigbar{background-color:#1b1530!important;}
#menuStack.tight .mtile.gigbar{background-color:var(--paper)!important;}
/* a tight stage (the folded Fold 8) has no line to spare under the name; the splash card says it */
#menuStack.tight .mtile.feat .jplab{display:none;}

/* a short screen (the folded Fold 8) has no spare lines on the title: the mascot was being pushed
   off the top by the taller logo block. The furniture goes back to its old height there. */
@media (max-height:720px){
  #scr-title .subtitle{margin-top:6px;}
  #scr-title .subtitle::after{display:none;}
  #scr-title .logo-ver{margin-top:1px;}
  #scr-title .glogo{text-shadow:0 2px 0 #f2c14e, 0 4px 0 #b9812a, 3px 7px 0 #15102a!important;}
  #titleStartBtn span::after{display:none;}
}

/* ---------- THE BLACK LINE UNDER THE HOME STACK (Odaroo, 2026-11-26) ----------
   "There's a black bar line that appeared when I input the rule not to have anything on top of the
   D-pad." The stack is a scroller (overflow-y:auto, css/base.css) whose scrollbar is styled 4px
   wide with an INK thumb. v0.899 made the stack END at the pad instead of running under it, which
   moved its bottom edge — where a HORIZONTAL scrollbar is drawn — from the foot of the screen to
   the middle of it. On a real phone that bar is a full-width 4px black line just under the gigs
   bar. ⚠ Headless Chrome draws no scrollbars, so no harness here has ever seen it; this was a
   diagnosis from the stylesheet and his screenshot, not a measurement. ⭐ CONFIRMED BY ODAROO ON HIS
   PHONE, 2026-11-27: "the black line is gone". Do not give this stack a scrollbar back.
   The home stack is FITTED by homeFill and has nothing to scroll to, so it gets no scrollbar at
   all and cannot pan sideways. */
#menuStack{overflow-x:hidden!important; scrollbar-width:none;}
#menuStack::-webkit-scrollbar{display:none!important; width:0!important; height:0!important;}

/* ---------- GIGS & ACHIEVEMENTS joins the look ----------
   It was the one dark, green-rimmed bar left on a screen of cream windows. Same window as ALBUM and
   MART now: cream paper, lit top-left edge, ink outline, a slate header line instead of the green. */
#menuStack .mtile.gigbar, #menuStack.tight .mtile.gigbar{
  background:linear-gradient(180deg,#f6edd6,#e6d6b0)!important; border-color:var(--dlx-night)!important; color:#1b1510!important;
  box-shadow:inset 0 5px 0 var(--dlx-slate), inset 2px 2px 0 #fffaf0, inset -2px -2px 0 #bfa97c, 0 0 0 2px var(--dlx-night), 4px 6px 0 2px #0b081acc!important;}
#menuStack .mtile.gigbar .mpat{display:none!important;}
#menuStack .mtile.gigbar .menu-label{color:#1b1510!important; text-shadow:1px 1px 0 #fff!important;}
#menuStack .mtile.gigbar .gigshow-cnt, #menuStack .mtile.gigbar .gigshow-cnt span{color:#5a4a2c!important; text-shadow:none!important;}
#menuStack .mtile.gigbar .menu-art{filter:none;}

/* ============================================================
   BATCH 3 — THE MENUS (2026-11-26)
   ⚠⚠ #dlxSky lies behind EVERY screen that paints no backdrop of its own. Before Deluxe those
   screens showed #app's cream paper, so ink printed straight onto "nothing" was readable; from
   v0.907 the same ink was dark-on-plum on the live site (Album's deck labels, the Gigs tabs, BACK).
   `node tools/probe-loose-ink.mjs` lists every such label; each one found is answered here.
   The rule for anything new: loose text on the dusk is LAVENDER with a night shadow, and anything
   you press is a filled window, never an outline over the sky.
   ============================================================ */
.dlx-loose, #scr-coll .coll-lab, #scr-coll .coll-slash, #scr-coll .coll-count, #scr-coll #deckCount,
#scr-coll #deckBar .trnm, #scr-coll .deckHint, #scr-coll .fam-sec, #scr-coll .fam-sec-n,
#arcadeStage > .tiny.center{
  color:var(--dlx-lav)!important; text-shadow:1px 2px 0 var(--dlx-night)!important;}
#scr-coll .fam-sec{border-color:#e6dcff66!important;}
#scr-coll .deckHint .dh-arrow{color:var(--dlx-gold)!important;}
#scr-coll .dslot{box-shadow:inset 2px 2px 0 #fffaf0, 0 0 0 2px var(--dlx-night);}
/* an outline button over a sky is a hole; every ghost button and idle tab is a cream window */
.btn.ghost{background-color:var(--paper);}
.ach-tab{background-color:var(--paper);}
/* the Mart's drifting postcards were printed on paper; over the dusk they are a faint memory */
#scr-packs #martDeco{opacity:.22;}

/* ---------- PROFILE: the meadow at dusk ----------
   The profile painted its own noon sky and lawn (css/profile.css). It shows the dusk now; the
   runners in #pfField hop along the same boulevard as the home screen's walker. */
#scr-style{background:none!important;}
#scr-style::before, #scr-style::after{display:none!important;}
#scr-style .pf-hero-nm{color:#fff6dc!important; text-shadow:0 3px 0 var(--dlx-night)!important;}

#scr-style .pf-hero-key .pf-key-lab{color:var(--dlx-lav)!important; opacity:.85!important;}
#scr-style .pf-hero-key .pf-key-val{color:#fff6dc!important; text-shadow:1px 2px 0 var(--dlx-night)!important;}
#achList .gig-sec, #achList .gig-sec span, #achList .ach-sec, #achList .ach-sec-n,
#gigsList .gig-sec, #gigsList .gig-sec span{color:var(--dlx-lav)!important; text-shadow:1px 2px 0 var(--dlx-night)!important; border-color:#e6dcff66!important;}

/* ============================================================
   BATCH 4 — THE DIALOGS AND THE BUTTONS (2026-11-26)
   One box draws every dialog in the game (#modalBox: the pause menu, OPTIONS, the SOLO/ONLINE
   door, HOW TO PLAY, every end-of-run bill), so dressing it once dresses all of them.
   ⚠⚠ ONLY THE FRAME AND THE VEIL ARE SET HERE, AND THE PAPER IS SET AT `.modal`'s OWN LOW
      SPECIFICITY. Several dialogs repaint the box on purpose (`.modal:has(.vseal)` is the vault's
      black-on-white negative, the lobby and the VS card have their own): an #id rule here would
      beat every one of them. A `background` shorthand in any of those still wins, as it must.
   ============================================================ */
.modal-bg{background-color:#120e26cc;}
.modal{background-image:linear-gradient(180deg,#f9f1dc,#eadbb6);}
#modalBox{border-color:var(--dlx-night);
  box-shadow:inset 2px 2px 0 #fffaf0, inset -2px -2px 0 #bfa97c,
             0 0 0 2px var(--dlx-gold2), 0 0 0 4px var(--dlx-gold), 0 0 0 6px var(--dlx-night), 6px 10px 0 6px #0b081acc;}
/* buttons: the same slanted slab, with a lit top edge and a shaded foot (two tones more than flat) */
.btn{box-shadow:inset 0 2px 0 #ffffff38, inset 0 -3px 0 #00000045, 4px 4px 0 #0b081a99;}
.btn.sm{box-shadow:inset 0 2px 0 #ffffff38, inset 0 -3px 0 #00000045, 3px 3px 0 #0b081a88;}

/* ============================================================
   BATCH 5 — THE GAMES, ONE LOOK AT A TIME (2026-11-26)
   Each game already paints a world of its own and keeps it. Deluxe adds the two extra tones of a
   32-bit sprite — a lit edge and a shaded one — to what was flat. ⚠ Translucent white/black only,
   never a fixed colour: Tetr-Ink swaps its whole palette per stage (--tp0/--tp1/--tbg*), and a
   hard-coded green bevel would be wrong on four stages out of five. ⚠ Nothing here animates.
   ============================================================ */
/* TETR-INK — an LCD with glass over it */
#scr-tetris{background-image:radial-gradient(ellipse at 50% 28%, #ffffff1c, transparent 62%), linear-gradient(var(--tbg1,#7d8f4d),var(--tbg2,#67793d));}
#tetWell{box-shadow:inset 3px 3px 0 #00000024, inset -2px -2px 0 #ffffff24, 0 0 0 3px var(--tp2,#8bac0f), 0 0 0 5px var(--tp0,#0f380f), 6px 9px 0 5px #0b081a70;
  background-image:linear-gradient(#0000000d 1px, transparent 1px), linear-gradient(90deg, #0000000d 1px, transparent 1px); background-size:4px 4px;}
#tetWell .tcell{box-shadow:inset 2px 2px 0 #ffffff3d, inset -2px -2px 0 #00000061;}
#tetWell .tcell.gh, #tetWell .tcell.clash, #tetWell .tcell.zap{box-shadow:none;}
.tet-box, .hz-box{box-shadow:inset 2px 2px 0 #ffffff52, inset -2px -2px 0 #0000002e, 3px 4px 0 #0b081a59;}

/* ============================================================
   BATCH 6 — THE ONLINE ROOM (2026-11-26)
   The room was a noon-blue card with white clouds. It is the same evening now: a mauve sky (the
   clouds still drift over it — the drift animates background-POSITION of those two layers, so the
   sky itself stays a flat colour and nothing new moves), a light title, and rows raised like
   every other Deluxe window. Row colours that carry meaning (you = gold, invited = gold) stay.
   ============================================================ */
.crlPop{background-color:#4a3470; border-color:var(--dlx-night);}
.crlPop .crlPop-h, .crlPop .crlPop-h b{color:#fff6dc; text-shadow:2px 2px 0 var(--dlx-night);}
.crlPop .crl-foot{color:var(--dlx-lav);}
.crlPop .crl-panel{background:linear-gradient(180deg,#f9f1dc,#eadbb6); box-shadow:inset 2px 2px 0 #fffaf0, inset -2px -2px 0 #bfa97c, 0 3px 0 var(--dlx-night);}
.crlPop .crl-row{box-shadow:inset 2px 2px 0 #ffffffb0, inset -2px -2px 0 #0000001f;}

/* ============================================================
   WORLD REPAINT — THE VAUDEVILLE HOUSE (INK-PUT and DANCE DANCE INK share `.ip-hall`) (2026-11-26)
   The house was two smooth-gradient curtains over a soft glow. Repainted in hard steps, the way a
   32-bit sprite is shaded: five-tone velvet folds with a gold hem, a scalloped valance with a gilt
   rail across the top, a banded back wall with a faint diamond paper, and a plank stage with a row
   of footlights. ⚠ All of it is STATIC paint on the hall and its two pseudo-elements — nothing
   animates, nothing is filtered, and the playfield, HUD and pad above it are untouched.
   ⚠ `.ip-curtain.r` is the left curtain mirrored (scaleX(-1), css/rhythm.css): paint ONE side.
   ============================================================ */
#scr-inkput, #scr-ddance{
  background:
    repeating-linear-gradient(45deg, #ffffff07 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-45deg, #ffffff07 0 2px, transparent 2px 16px),
    radial-gradient(130% 100% at 50% 22%, #4d2b43 0 16%, #40233a 16% 30%, #321b2e 30% 46%, #251423 46% 62%, #190d18 62% 80%, #0d070c 80%);}
.ip-curtain{
  background:
    linear-gradient(0deg, #b9812a 0 4px, #f2c14e 4px 9px, #7a4d12 9px 11px, transparent 11px),
    repeating-linear-gradient(90deg, #4a0b14 0 4px, #6d111d 4px 9px, #94192a 9px 15px, #bf2a38 15px 19px, #e05a5a 19px 21px, #94192a 21px 26px, #6d111d 26px 30px);
  box-shadow:inset -6px 0 0 #2a060c, inset -9px 0 0 #00000059;}
.ip-hall::before{content:''; position:absolute; left:0; right:0; top:0; height:38px; z-index:3;
  background:
    linear-gradient(180deg, #ffe9a0 0 2px, #f2c14e 2px 5px, #b9812a 5px 7px, transparent 7px),
    repeating-linear-gradient(90deg, #6d111d 0 6px, #94192a 6px 13px, #bf2a38 13px 17px, #94192a 17px 22px, #6d111d 22px 26px);
  -webkit-mask:radial-gradient(circle at 13px 24px, #000 13px, transparent 13.5px) 0 0/26px 38px repeat-x, linear-gradient(#000,#000) 0 0/100% 24px no-repeat;
          mask:radial-gradient(circle at 13px 24px, #000 13px, transparent 13.5px) 0 0/26px 38px repeat-x, linear-gradient(#000,#000) 0 0/100% 24px no-repeat;}
.ip-hall::after{content:''; position:absolute; left:0; right:0; bottom:0; height:19%; z-index:1;
  background:
    radial-gradient(circle at 50% 0, #ffe9a0 0 3px, #f2c14e 3px 5px, transparent 5.5px) 0 3px/34px 12px repeat-x,
    linear-gradient(180deg, #2a1a12 0 3px, #7a5230 3px 5px, transparent 5px),
    repeating-linear-gradient(90deg, #1c110b 0 2px, #4a2f1c 2px 30px, #563822 30px 34px, #4a2f1c 34px 62px),
    #4a2f1c;
  box-shadow:inset 0 14px 0 #00000026, inset 0 -40px 0 #00000059;}

/* WORLD REPAINT — THE CONCERT (INK-TAR HERO). A lighting truss with a row of lamps across the top,
   four hard-edged beams crossing down from the rig, and a banded violet house behind them.
   ⚠ Painted as background LAYERS on the screen itself, never a pseudo-element: a positioned
     backdrop at z-index 0 paints over every non-positioned sibling (the Panel-Ink column trap in
     CLAUDE.md), and at z-index -1 it falls behind the screen's own background.
   ⚠ LUMEN INK IS LEFT BARE ON PURPOSE (v0.822: nothing is drawn behind its board — every backdrop
     tried there drew the shape of the sweep bar). Do not "repaint" it without reversing that note. */
#scr-inktar{
  background:
    radial-gradient(circle at 50% 0, #ffe9a0 0 2px, #f2c14e 2px 4px, transparent 4.5px) 0 12px/38px 12px repeat-x,
    linear-gradient(180deg, #07060f 0 9px, #3a3160 9px 11px, #07060f 11px 13px, transparent 13px),
    conic-gradient(from 148deg at 12% 0, transparent 0 6deg, #7fd4ff17 6deg 15deg, transparent 15deg 27deg, #ff9ad514 27deg 35deg, transparent 35deg),
    conic-gradient(from 177deg at 88% 0, transparent 0 6deg, #ffc45a14 6deg 14deg, transparent 14deg 26deg, #9be37a12 26deg 35deg, transparent 35deg),
    radial-gradient(120% 80% at 50% 0%, #2d1d5a 0 16%, #24184c 16% 32%, #1b133c 32% 50%, #130e2b 50% 70%, #0a0914 70%);}

/* WORLD REPAINT — OCTATHON'S SKY (2026-11-26). The arena's backdrop was a paper sunburst with a faded
   silhouette at 55%. It is a banded evening sky now, one for each of the four stage themes, and the
   skyline (city / forest / dunes / ink falls / peaks — still rolled at random each bout) stands
   against it at nearly full ink, the way the town stands against the dusk on the main menu.
   ⚠ Bands are in PIXELS from the top: the sky strip is the same height on every fold while #stage
     is not, so percentages would slide the horizon colour under the field on a tall phone.
   ⚠ Only the sky is touched. The field, the pieces, the bars and the dock are the battlefield
     rules of v0.824-v0.832 and none of them is restyled here. */
#stage{background:linear-gradient(180deg,#1b1a44 0 14px,#2c2459 14px 30px,#47316c 30px 46px,#6c4379 46px 62px,#98587b 62px 78px,#c97577 78px 94px,#eb9c72 94px 110px,#f8c98c 110px);}
#stage.thm-sun{background:linear-gradient(180deg,#47316c 0 14px,#6c4379 14px 30px,#98587b 30px 46px,#c97577 46px 62px,#eb9c72 62px 78px,#f8c98c 78px 96px,#fde6b0 96px);}
#stage.thm-mid{background:linear-gradient(180deg,#0a0724 0 14px,#120d36 14px 30px,#1b144a 30px 46px,#261c60 46px 62px,#352a78 62px 80px,#4d3f92 80px 98px,#6a5aa8 98px);}
#stage.thm-neon{background:linear-gradient(180deg,#051218 0 14px,#08232a 14px 30px,#0c373d 30px 46px,#114f50 46px 62px,#1a6c66 62px 80px,#2b8c7c 80px 98px,#4fb096 98px);}
#stage.thm-gar{background:linear-gradient(180deg,#2c2459 0 14px,#47316c 14px 30px,#6c4379 30px 46px,#c97577 46px 62px,#eb9c72 62px 78px,#f8c98c 78px 96px,#fde6b0 96px);}
#stage .sunburst{display:none!important;}
#skyline{opacity:.92;}

/* TETR-INK's surround: a fine LCD weave over the body colour, in the stage's own palette (white and
   black at a few percent, so it follows every palette swap). The well's depth is in BATCH 5 above. */
#scr-tetris{background-image:
  repeating-linear-gradient(0deg, #0000000f 0 1px, transparent 1px 3px),
  repeating-linear-gradient(90deg, #ffffff0a 0 1px, transparent 1px 3px),
  radial-gradient(ellipse at 50% 28%, #ffffff1c, transparent 62%),
  linear-gradient(var(--tbg1,#7d8f4d),var(--tbg2,#67793d));}

/* ============================================================
   THE LAST THREE SCREENS — ARCADE, JUKEBOX, CREDITS (2026-11-27)
   · ARCADE still wore the paper sunburst, and batch 3 had already turned its top line lavender
     (for the dusk) — lavender on cream. It joins the dusk properly now: paper off.
   · JUKEBOX: every word on it is inside the amp's own opaque windows, so the dusk can show round
     the amp safely. Its flat charcoal backdrop goes.
   · CREDITS print cream and gold text straight onto the backdrop for the whole height of the
     screen, so they may NOT sit on the dusk (its lower third is peach: cream on peach). They get
     a banded NIGHT of their own instead of flat black — dark from top to bottom.
   ============================================================ */
#scr-arcade > .sunburst, #scr-arcade > .halftone{display:none!important;}
#scr-jukebox{background:none;}
#scr-ledger{background:linear-gradient(180deg,#07051a 0 12%,#0b0824 12% 26%,#100c30 26% 42%,#15103c 42% 60%,#1a1448 60% 80%,#1f1854 80%);}

/* ============================================================
   OCTATHON'S SHOWSTOPPERS WEAR THEIR REAL GAME'S WORLD (2026-11-27)
   js/deluxe.js stamps #qte with data-ss = the mini on it. Each rule below paints the SAME world the
   full game has (the repaints of v0.914-v0.916), as static background layers on the overlay.
   ⚠ Background layers only — the minis position their pieces absolutely inside #qte, and a
     pseudo-element or a wrapper here would sit in their coordinate space.
   ⚠ LUMEN (lumenmini) keeps the plain sheet, for the v0.822 reason: nothing behind its board.
   ============================================================ */
/* INK-PUT and DANCE DANCE INK — the vaudeville house: curtains at the wings, patterned wall, plank stage */
#qte[data-ss="ipmini"], #qte[data-ss="ddr"], #qte[data-ss="seq"], #qte[data-ss="seq-ballet"], #qte[data-ss="mash"], #qte[data-ss="superstars"]{
  background:
    linear-gradient(180deg, #ffe9a0 0 2px, #f2c14e 2px 5px, #b9812a 5px 7px, transparent 7px),
    repeating-linear-gradient(90deg, #4a0b14 0 4px, #6d111d 4px 9px, #94192a 9px 15px, #bf2a38 15px 19px, #94192a 19px 24px, #6d111d 24px 28px) 0 0/28px 100% no-repeat,
    repeating-linear-gradient(90deg, #6d111d 0 4px, #94192a 4px 9px, #bf2a38 9px 13px, #94192a 13px 19px, #6d111d 19px 24px, #4a0b14 24px 28px) 100% 0/28px 100% no-repeat,
    radial-gradient(circle at 50% 0, #ffe9a0 0 3px, #f2c14e 3px 5px, transparent 5.5px) 0 calc(100% - 46px)/34px 12px repeat-x,
    linear-gradient(0deg, #4a2f1c 0 44px, #7a5230 44px 46px, #2a1a12 46px 49px, transparent 49px),
    repeating-linear-gradient(45deg, #ffffff07 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-45deg, #ffffff07 0 2px, transparent 2px 16px),
    radial-gradient(130% 100% at 50% 22%, #4d2b43 0 16%, #40233a 16% 30%, #321b2e 30% 46%, #251423 46% 62%, #190d18 62% 80%, #0d070c 80%);}
#qte[data-ss="ipmini"] #ipmField{border-color:var(--dlx-gold)!important; box-shadow:0 0 0 2px var(--dlx-night), 4px 6px 0 2px #0b081a99; background-color:#150a13cc;}
/* the dance floor: four film-reel lanes with a lit edge */
#qte[data-ss="ddr"] .ddr-field{background:
    repeating-linear-gradient(0deg, #e6dcff24 0 3px, transparent 3px 9px) 0 0/3px 100% repeat-y,
    repeating-linear-gradient(90deg, #00000000 0 calc(25% - 2px), #e6dcff2e calc(25% - 2px) 25%),
    linear-gradient(180deg,#1c1528,#0f0b18);
  box-shadow:inset 0 0 0 2px var(--dlx-night), 0 0 0 2px var(--dlx-gold2);}
#qte[data-ss="ddr"] .ddr-t{background:linear-gradient(180deg,#3a2a50,#221636); box-shadow:inset 0 2px 0 #ffffff26;}
/* INK-TAR HERO — the concert rig */
#qte[data-ss="ddr-ith"]{
  background:
    radial-gradient(circle at 50% 0, #ffe9a0 0 2px, #f2c14e 2px 4px, transparent 4.5px) 0 12px/38px 12px repeat-x,
    linear-gradient(180deg, #07060f 0 9px, #3a3160 9px 11px, #07060f 11px 13px, transparent 13px),
    conic-gradient(from 148deg at 12% 0, transparent 0 6deg, #7fd4ff17 6deg 15deg, transparent 15deg 27deg, #ff9ad514 27deg 35deg, transparent 35deg),
    conic-gradient(from 177deg at 88% 0, transparent 0 6deg, #ffc45a14 6deg 14deg, transparent 14deg 26deg, #9be37a12 26deg 35deg, transparent 35deg),
    radial-gradient(120% 80% at 50% 0%, #2d1d5a 0 16%, #24184c 16% 32%, #1b133c 32% 50%, #130e2b 50% 70%, #0a0914 70%);}
/* TETR-INK — the LCD, with the same bevelled blocks as the full game */
#qte[data-ss="tetris"]{background:
    repeating-linear-gradient(0deg, #0000000f 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, #ffffff0a 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 28%, #ffffff1c, transparent 62%),
    linear-gradient(#7d8f4d,#67793d);}
#qte[data-ss="tetris"] .ttGB{box-shadow:inset 3px 3px 0 #00000024, inset -2px -2px 0 #ffffff24, 0 0 0 3px #8bac0f, 0 0 0 5px #0f380f, 6px 9px 0 5px #0b081a70;}
#qte[data-ss="tetris"] .ttc{box-shadow:inset 2px 2px 0 #ffffff3d, inset -2px -2px 0 #00000061;}
/* DISC-INK — the parlour window at dusk */
#qte[data-ss="discmini"]{background:linear-gradient(180deg,#1b1a44 0 12%,#2c2459 12% 24%,#47316c 24% 36%,#6c4379 36% 48%,#98587b 48% 60%,#c97577 60% 72%,#eb9c72 72% 86%,#f8c98c 86%);}
#qte[data-ss="discmini"] #dmBoard{box-shadow:0 0 0 2px var(--dlx-night), 5px 8px 0 2px #0b081a99;}
/* ICE-INK — the cave at night */
#qte[data-ss="rinkmini"]{background:
    linear-gradient(0deg, #0e1e42 0 34px, #7fc4ee 34px 35px, transparent 35px),
    linear-gradient(180deg,#06041a 0 12%,#0c0828 12% 26%,#140e3a 26% 40%,#1d154e 40% 56%,#271d63 56% 72%,#2a2f78 72% 86%,#28507f 86%);}
/* PANEL-INK — the city in deep night */
#qte[data-ss="panelmini"]{background:
    linear-gradient(0deg, #0b0a18 0 30px, transparent 30px),
    repeating-linear-gradient(90deg, #0b0a18 0 22px, transparent 22px 26px, #0b0a18 26px 40px, transparent 40px 43px) 0 calc(100% - 30px)/100% 46px no-repeat,
    linear-gradient(180deg,#0a0724 0 14%,#120d36 14% 30%,#1b144a 30% 48%,#261c60 48% 66%,#352a78 66% 84%,#4d3f92 84%);}
/* every mini's caption sits on a world now, so it carries the night shadow */
#qte[data-ss] .qte-sub{text-shadow:1px 2px 0 var(--dlx-night);}
/* the LCD is light: its caption is the LCD's own dark ink, not gold with a night shadow */
#qte[data-ss="tetris"] .qte-sub, #qte[data-ss="tetris"] .qte-sub b{color:#0f380f!important; text-shadow:none!important;}

/* TETR-INK'S SHOWSTOPPER GAINS THE REAL GAME'S MOVES (2026-11-27): a ghost piece, NEXT and HOLD.
   The two boxes hang on the well's shoulders, outside the cells. */
.ttGB .ttc.gh{background:transparent!important; box-shadow:none!important;}
.ttGB .ttc.gh::after{inset:10%; border:2px dashed #0f380f; opacity:.5;}
.ttGB .ttside{position:absolute; top:0; background:#9bbc0f; border:3px solid #0f380f; box-sizing:border-box;
  box-shadow:inset 2px 2px 0 #ffffff52, inset -2px -2px 0 #0000002e, 3px 4px 0 #0b081a59;}
.ttGB .ttside b{position:absolute; left:0; right:0; top:2px; text-align:center; font-family:var(--fontD); font-size:6px; font-weight:400; color:#0f380f; letter-spacing:.5px;}
.ttGB .ttside i{position:absolute; background:#0f380f; box-shadow:inset 1px 1px 0 #ffffff3d;}
.ttGB .ttside.tthold.used{opacity:.55;}
#ttGrid.ttGB{overflow:visible!important;}
