/* Command deck themes (2026-11-23). Flight Deck: a night glass cockpit. Art: Flux.2 Klein (made here). Lettering: B612, the
   Airbus cockpit typeface, SIL Open Font License (open licence, not public domain): /static/fx/t/flightdeck/B612-OFL.txt */
@font-face{font-family:"B612";src:url(/static/fx/t/flightdeck/B612-Regular.ttf?v=1795416052) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"B612";src:url(/static/fx/t/flightdeck/B612-Bold.ttf?v=1795416052) format("truetype");font-weight:700;font-display:swap}
@font-face{font-family:"B612 Mono";src:url(/static/fx/t/flightdeck/B612Mono-Regular.ttf?v=1795416052) format("truetype");font-display:swap}
.tm-flightdeck{
  --t-scheme:dark;--t-bg:#04070a;--t-card:rgba(13,18,23,.88);--t-card-solid:#0d1217;--t-ink:#e3edf2;--t-muted:#8a9ba8;--t-line:rgba(150,180,200,.2);
  --t-accent:#36e58c;--t-accent-ink:#02140a;--t-accent2:#ffb43a;--t-theirs:rgba(120,160,190,.1);--t-danger:#ff5548;--t-admin:#ffb43a;--t-link:#62d2ff;
  --t-display:"B612",system-ui,sans-serif;--t-display-weight:700;--t-tabfont:"B612",system-ui,sans-serif;--t-tech:"B612 Mono",ui-monospace,monospace;--t-body:"B612",system-ui,sans-serif;
  --t-sec:#36e58c;--t-h1:24px;--t-h1-track:.02em;--t-radius:6px;--t-btn-radius:5px;
  --t-wall:url(/static/fx/t/flightdeck/bg_tall.webp?v=1795415917) center/cover no-repeat;--t-wall-wide:url(/static/fx/t/flightdeck/bg_wide.webp?v=1795415917) center/cover no-repeat;
  --t-veil:linear-gradient(180deg,rgba(3,6,9,.3),rgba(3,6,9,.45));--t-veil-wide:radial-gradient(ellipse 62% 95% at 56% 50%,rgba(3,6,9,.4),rgba(3,6,9,.04) 80%);
  --t-header:linear-gradient(180deg,rgba(8,12,16,.94),rgba(8,12,16,.7));--t-title:linear-gradient(180deg,#ffffff,#9df5c6);
  --t-btn:linear-gradient(180deg,#5cf2a6,#1fb86a);--t-btn-ink:#02140a;--t-mine:linear-gradient(135deg,#14553a,#0d3a28);--t-mine-ink:#e6fff2;
  --t-tabs:linear-gradient(180deg,#141a20,#080b0e);--t-sheet:rgba(9,13,17,.98);--t-input:rgba(0,0,0,.6);--t-blur:none;
  --t-card-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 0 0 1px rgba(0,0,0,.7),0 14px 30px rgba(0,0,0,.55);
  --t-icon-filter:grayscale(1) sepia(1) hue-rotate(85deg) saturate(2.4);--t-pattern:none;
}
/* instrument panels: anodised plate, lit top edge, a screw in each corner */
html.tm-flightdeck .card,html.tm-flightdeck .toc{
  background-image:radial-gradient(circle at 9px 9px,#46515b 0 1.5px,#05070a 2px 3.3px,transparent 3.8px),radial-gradient(circle at calc(100% - 9px) 9px,#46515b 0 1.5px,#05070a 2px 3.3px,transparent 3.8px),
    radial-gradient(circle at 9px calc(100% - 9px),#46515b 0 1.5px,#05070a 2px 3.3px,transparent 3.8px),radial-gradient(circle at calc(100% - 9px) calc(100% - 9px),#46515b 0 1.5px,#05070a 2px 3.3px,transparent 3.8px),
    linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 28%,rgba(0,0,0,.2));
  border:1px solid rgba(150,180,200,.2);border-top-color:rgba(210,232,245,.32);border-bottom-color:rgba(0,0,0,.85)}
/* bezel softkeys: lit annunciator (main), dark key with a green status bar (secondary), guarded red (danger) */
html.tm-flightdeck .btn{font-family:"B612",system-ui,sans-serif;font-weight:700;letter-spacing:.03em;border:1px solid #020405;transform:translateY(0);
  transition:transform .06s ease-out,box-shadow .06s ease-out,filter .12s;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -2px 0 rgba(0,0,0,.32),0 0 0 2px #06090c,0 0 0 3px rgba(170,200,220,.17),0 5px 0 2px #030506,0 11px 16px rgba(0,0,0,.6),0 0 20px rgba(54,229,140,.28)}
html.tm-flightdeck .btn:hover{filter:brightness(1.1)}
html.tm-flightdeck .btn:active{transform:translateY(4px);box-shadow:inset 0 2px 6px rgba(0,0,0,.6),0 0 0 2px #06090c,0 0 0 3px rgba(170,200,220,.17),0 1px 0 2px #030506,0 0 28px rgba(54,229,140,.5)}
html.tm-flightdeck .btn.ghost{background:linear-gradient(180deg,#252d35,#12171c 55%,#0b0f13);color:#f2f7fa;text-shadow:0 0 8px rgba(160,220,255,.4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),inset 0 -2px 0 rgba(54,229,140,.65),0 0 0 2px #06090c,0 0 0 3px rgba(170,200,220,.17),0 5px 0 2px #030506,0 11px 16px rgba(0,0,0,.6)}
html.tm-flightdeck .btn.ghost:active{box-shadow:inset 0 2px 6px rgba(0,0,0,.7),inset 0 -2px 0 rgba(54,229,140,1),0 0 0 2px #06090c,0 0 0 3px rgba(170,200,220,.17),0 1px 0 2px #030506,0 0 18px rgba(54,229,140,.35)}
html.tm-flightdeck .btn.danger{background:linear-gradient(180deg,#ff8479,#c8271c);color:#1c0200;text-shadow:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -2px 0 rgba(0,0,0,.32),0 0 0 2px #06090c,0 0 0 3px rgba(255,180,58,.5),0 5px 0 2px #030506,0 11px 16px rgba(0,0,0,.6),0 0 20px rgba(255,85,72,.35)}
html.tm-flightdeck .btn[disabled]{filter:saturate(.3) brightness(.6);transform:none}
/* readouts: inset wells with green characters */
html.tm-flightdeck input[type=text],html.tm-flightdeck input[type=password],html.tm-flightdeck input[type=search],html.tm-flightdeck textarea,html.tm-flightdeck .select{
  font-family:"B612 Mono",ui-monospace,monospace;color:#c9ffe0;box-shadow:inset 0 2px 7px rgba(0,0,0,.85),inset 0 0 0 1px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.08)}
html.tm-flightdeck input[type=text]:focus,html.tm-flightdeck input[type=password]:focus,html.tm-flightdeck input[type=search]:focus,html.tm-flightdeck textarea:focus{
  box-shadow:inset 0 2px 7px rgba(0,0,0,.85),0 0 0 1px #36e58c,0 0 16px rgba(54,229,140,.35)}
html.tm-flightdeck #tabs{box-shadow:inset 0 1px 0 rgba(210,232,245,.22),0 -8px 22px rgba(0,0,0,.6)}
html.tm-flightdeck #tabs a.on{color:#36e58c;text-shadow:0 0 10px rgba(54,229,140,.6)}

/* ===== Mission Control: a 1960s space-flight control room. Lettering: IBM Plex (SIL OFL, open licence) ===== */
@font-face{font-family:"Plex Cond";src:url(/static/fx/t/missionctl/IBMPlexSansCondensed-SemiBold.ttf?v=1795416494) format("truetype");font-weight:600 700;font-display:swap}
@font-face{font-family:"Plex Mono";src:url(/static/fx/t/missionctl/IBMPlexMono-Regular.ttf?v=1795416494) format("truetype");font-display:swap}
.tm-missionctl{
  --t-scheme:dark;--t-bg:#05080c;--t-card:rgba(14,19,26,.88);--t-card-solid:#0e131a;--t-ink:#e9eef0;--t-muted:#8d9ba8;--t-line:rgba(140,165,190,.22);
  --t-accent:#ffb347;--t-accent-ink:#1d1000;--t-accent2:#7dff9a;--t-theirs:rgba(140,165,190,.1);--t-danger:#ff5a4d;--t-admin:#ffb347;--t-link:#8fd3ff;
  --t-display:"Plex Cond",system-ui,sans-serif;--t-display-weight:600;--t-tabfont:"Plex Cond",system-ui,sans-serif;--t-tech:"Plex Mono",ui-monospace,monospace;--t-body:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --t-sec:#7dff9a;--t-h1:27px;--t-h1-track:.03em;--t-radius:3px;--t-btn-radius:3px;
  --t-wall:url(/static/fx/t/missionctl/bg_tall.webp?v=1795416382) center/cover no-repeat;--t-wall-wide:url(/static/fx/t/missionctl/bg_wide.webp?v=1795416381) center/cover no-repeat;
  --t-veil:linear-gradient(180deg,rgba(3,6,10,.3),rgba(3,6,10,.45));--t-veil-wide:radial-gradient(ellipse 62% 95% at 56% 50%,rgba(3,6,10,.42),rgba(3,6,10,.05) 80%);
  --t-header:linear-gradient(180deg,rgba(9,13,18,.94),rgba(9,13,18,.72));--t-title:linear-gradient(180deg,#ffffff,#ffd9a0);
  --t-btn:linear-gradient(180deg,#ffd590,#f29a1f);--t-btn-ink:#1d1000;--t-mine:linear-gradient(135deg,#5a3b10,#3d2808);--t-mine-ink:#fff3df;
  --t-tabs:linear-gradient(180deg,#161c24,#090c10);--t-sheet:rgba(9,13,18,.98);--t-input:rgba(0,10,4,.75);--t-blur:none;
  --t-card-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 0 0 1px rgba(0,0,0,.7),0 14px 30px rgba(0,0,0,.55);
  --t-icon-filter:grayscale(1) sepia(1) hue-rotate(-12deg) saturate(2.6);--t-pattern:none;
}
html.tm-missionctl .card,html.tm-missionctl .toc{background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0) 22%,rgba(0,0,0,.2));border:1px solid rgba(140,165,190,.22);border-top:2px solid #4a5764;border-bottom-color:rgba(0,0,0,.85)}
html.tm-missionctl .btn{box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 0 0 2px rgba(255,255,255,.16),inset 0 -3px 0 rgba(0,0,0,.24),0 0 0 2px #0a0d11,0 0 0 3px #3d4651,0 5px 0 3px #020304,0 11px 15px rgba(0,0,0,.6),0 0 22px rgba(255,179,71,.42)}
html.tm-missionctl .btn:active{transform:translateY(4px);box-shadow:inset 0 2px 6px rgba(80,40,0,.6),0 0 0 2px #0a0d11,0 0 0 3px #3d4651,0 1px 0 3px #020304,0 0 30px rgba(255,179,71,.65)}
html.tm-missionctl .btn.ghost{background:linear-gradient(180deg,#eee8d8,#c8c1ac);color:#17150f;text-shadow:0 1px 0 rgba(255,255,255,.5);
  box-shadow:inset 0 1px 0 #fff,inset 0 -3px 0 rgba(0,0,0,.2),0 0 0 2px #0a0d11,0 0 0 3px #3d4651,0 5px 0 3px #020304,0 11px 15px rgba(0,0,0,.6)}
html.tm-missionctl .btn.ghost:active{box-shadow:inset 0 2px 6px rgba(0,0,0,.45),0 0 0 2px #0a0d11,0 0 0 3px #3d4651,0 1px 0 3px #020304}
html.tm-missionctl .btn.danger{background:linear-gradient(180deg,#ff8f84,#d4281c);color:#1c0200;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -3px 0 rgba(0,0,0,.24),0 0 0 2px #0a0d11,0 0 0 3px #3d4651,0 5px 0 3px #020304,0 11px 15px rgba(0,0,0,.6),0 0 22px rgba(255,90,77,.45)}
html.tm-missionctl input[type=text],html.tm-missionctl input[type=password],html.tm-missionctl input[type=search],html.tm-missionctl textarea,html.tm-missionctl .select{font-family:"Plex Mono",ui-monospace,monospace;color:#a6ffbc;box-shadow:inset 0 2px 7px rgba(0,0,0,.85),inset 0 0 0 1px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.08)}
html.tm-missionctl #tabs a.on{color:#ffb347;text-shadow:0 0 10px rgba(255,179,71,.6)}

/* ===== Reactor Hall: a 1970s power-plant control panel. Lettering: Barlow Condensed + Share Tech Mono (SIL OFL, open licence) ===== */
@font-face{font-family:"Barlow Cond";src:url(/static/fx/t/reactor/BarlowCondensed-SemiBold.ttf?v=1795416494) format("truetype");font-weight:600;font-display:swap}
@font-face{font-family:"Barlow Cond";src:url(/static/fx/t/reactor/BarlowCondensed-Bold.ttf?v=1795416494) format("truetype");font-weight:700;font-display:swap}
@font-face{font-family:"Share Tech Mono";src:url(/static/fx/t/reactor/ShareTechMono-Regular.ttf?v=1795416494) format("truetype");font-display:swap}
.tm-reactor{
  --t-scheme:dark;--t-bg:#060807;--t-card:rgba(24,29,27,.9);--t-card-solid:#181d1b;--t-ink:#edebdf;--t-muted:#9da294;--t-line:rgba(170,180,160,.22);
  --t-accent:#ffd21f;--t-accent-ink:#171200;--t-accent2:#29d3c2;--t-theirs:rgba(170,180,160,.1);--t-danger:#ff3b2f;--t-admin:#ffd21f;--t-link:#6fe3d6;
  --t-display:"Barlow Cond",system-ui,sans-serif;--t-display-weight:700;--t-tabfont:"Barlow Cond",system-ui,sans-serif;--t-tech:"Share Tech Mono",ui-monospace,monospace;--t-body:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --t-sec:#29d3c2;--t-h1:30px;--t-h1-track:.03em;--t-radius:4px;--t-btn-radius:9px;
  --t-wall:url(/static/fx/t/reactor/bg_tall.webp?v=1795416382) center/cover no-repeat;--t-wall-wide:url(/static/fx/t/reactor/bg_wide.webp?v=1795416382) center/cover no-repeat;
  --t-veil:linear-gradient(180deg,rgba(4,6,5,.34),rgba(4,6,5,.5));--t-veil-wide:radial-gradient(ellipse 62% 95% at 56% 50%,rgba(4,6,5,.48),rgba(4,6,5,.08) 80%);
  --t-header:linear-gradient(180deg,rgba(14,17,16,.95),rgba(14,17,16,.75));--t-title:linear-gradient(180deg,#fff7c9,#ffd21f);
  --t-btn:linear-gradient(180deg,#ffe770,#dcae00);--t-btn-ink:#171200;--t-mine:linear-gradient(135deg,#0f4d47,#0a3531);--t-mine-ink:#e4fffb;
  --t-tabs:linear-gradient(180deg,#1b201e,#0a0c0b);--t-sheet:rgba(14,17,16,.98);--t-input:rgba(0,0,0,.62);--t-blur:none;
  --t-card-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(0,0,0,.75),0 14px 30px rgba(0,0,0,.55);
  --t-icon-filter:grayscale(1) sepia(1) hue-rotate(5deg) saturate(3);--t-pattern:none;
}
html.tm-reactor .card,html.tm-reactor .toc{background-image:repeating-linear-gradient(135deg,#ffd21f 0 9px,#14140f 9px 18px),linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 26%,rgba(0,0,0,.22));
  background-size:100% 5px,100% 100%;background-repeat:no-repeat;border:1px solid rgba(170,180,160,.24);border-bottom-color:rgba(0,0,0,.85)}
html.tm-reactor .btn{font-family:"Barlow Cond",system-ui,sans-serif;font-size:1.06em;letter-spacing:.05em;border:1px solid #000;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.6),inset 0 -4px 0 rgba(0,0,0,.25),0 0 0 3px #0b0c0a,0 0 0 5px #666c60,0 0 0 6px #0b0c0a,0 6px 0 6px #030403,0 13px 17px rgba(0,0,0,.62)}
html.tm-reactor .btn:active{transform:translateY(5px);box-shadow:inset 0 3px 7px rgba(0,0,0,.5),0 0 0 3px #0b0c0a,0 0 0 5px #666c60,0 0 0 6px #0b0c0a,0 1px 0 6px #030403,0 0 22px rgba(255,210,31,.45)}
html.tm-reactor .btn.ghost{background:linear-gradient(180deg,#30342f,#121412);color:#f1efe4;text-shadow:0 -1px 0 #000;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.2),inset 0 -4px 0 rgba(0,0,0,.4),0 0 0 3px #0b0c0a,0 0 0 5px #666c60,0 0 0 6px #0b0c0a,0 6px 0 6px #030403,0 13px 17px rgba(0,0,0,.62)}
html.tm-reactor .btn.ghost:active{box-shadow:inset 0 3px 7px rgba(0,0,0,.7),0 0 0 3px #0b0c0a,0 0 0 5px #666c60,0 0 0 6px #0b0c0a,0 1px 0 6px #030403,0 0 16px rgba(41,211,194,.35)}
html.tm-reactor .btn.danger{background:radial-gradient(circle at 50% 30%,#ff8a80,#d81f13 62%,#8f0f08);color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.5);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.5),inset 0 -4px 0 rgba(0,0,0,.3),0 0 0 3px #0b0c0a,0 0 0 5px #ffd21f,0 0 0 6px #0b0c0a,0 6px 0 6px #030403,0 13px 17px rgba(0,0,0,.62)}
html.tm-reactor input[type=text],html.tm-reactor input[type=password],html.tm-reactor input[type=search],html.tm-reactor textarea,html.tm-reactor .select{font-family:"Share Tech Mono",ui-monospace,monospace;color:#9ff3ea;box-shadow:inset 0 2px 7px rgba(0,0,0,.85),inset 0 0 0 1px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.08)}
html.tm-reactor #tabs a.on{color:#ffd21f;text-shadow:0 0 10px rgba(255,210,31,.55)}

/* ===== Starship Bridge: an original sci-fi bridge. Lettering: Michroma + Exo 2 (SIL OFL, open licence) ===== */
@font-face{font-family:"Michroma";src:url(/static/fx/t/bridge/Michroma-Regular.ttf?v=1795416494) format("truetype");font-display:swap}
@font-face{font-family:"Exo 2";src:url(/static/fx/t/bridge/Exo2.ttf?v=1795416494) format("truetype");font-weight:100 900;font-display:swap}
.tm-bridge{
  --t-scheme:dark;--t-bg:#03040b;--t-card:rgba(12,16,34,.74);--t-card-solid:#0c1022;--t-ink:#eaf2ff;--t-muted:#93a1c6;--t-line:rgba(120,200,255,.25);
  --t-accent:#5fe1ff;--t-accent-ink:#021018;--t-accent2:#a78bfa;--t-theirs:rgba(120,200,255,.1);--t-danger:#ff6b8a;--t-admin:#ffd27a;--t-link:#8fe9ff;
  --t-display:"Michroma",system-ui,sans-serif;--t-display-weight:400;--t-tabfont:"Exo 2",system-ui,sans-serif;--t-tech:"Exo 2",system-ui,sans-serif;--t-body:"Exo 2",system-ui,sans-serif;
  --t-sec:#a78bfa;--t-h1:20px;--t-h1-track:.05em;--t-radius:18px;--t-btn-radius:14px;
  --t-wall:url(/static/fx/t/bridge/bg_tall.webp?v=1795416383) center/cover no-repeat;--t-wall-wide:url(/static/fx/t/bridge/bg_wide.webp?v=1795416383) center/cover no-repeat;
  --t-veil:linear-gradient(180deg,rgba(3,4,12,.25),rgba(3,4,12,.45));--t-veil-wide:radial-gradient(ellipse 62% 95% at 56% 50%,rgba(3,4,12,.4),rgba(3,4,12,.03) 80%);
  --t-header:linear-gradient(180deg,rgba(8,11,26,.9),rgba(8,11,26,.6));--t-title:linear-gradient(90deg,#ffffff,#9eefff 55%,#c5b4ff);
  --t-btn:linear-gradient(180deg,rgba(200,247,255,.97),rgba(64,202,242,.92));--t-btn-ink:#021018;--t-mine:linear-gradient(135deg,#1c4f7a,#2b2f7d);--t-mine-ink:#eef7ff;
  --t-tabs:linear-gradient(180deg,rgba(14,19,42,.94),rgba(5,7,18,.96));--t-sheet:rgba(8,11,26,.97);--t-input:rgba(2,4,14,.6);--t-blur:blur(10px);
  --t-card-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 0 1px rgba(0,0,0,.5),0 18px 40px rgba(0,0,20,.55),0 0 30px rgba(95,225,255,.08);
  --t-icon-filter:grayscale(1) sepia(1) hue-rotate(160deg) saturate(2.6);--t-pattern:none;
}
html.tm-bridge .card,html.tm-bridge .toc{background-image:linear-gradient(135deg,rgba(120,220,255,.11),rgba(160,130,255,.05) 42%,rgba(0,0,0,0));border:1px solid rgba(120,200,255,.3);border-top-color:rgba(200,240,255,.5)}
html.tm-bridge .btn{font-family:"Exo 2",system-ui,sans-serif;font-weight:700;letter-spacing:.04em;border:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -9px 14px rgba(0,80,140,.35),0 0 0 1px rgba(200,245,255,.65),0 4px 0 rgba(10,60,92,.95),0 9px 18px rgba(0,0,20,.6),0 0 26px rgba(95,225,255,.55)}
html.tm-bridge .btn:active{transform:translateY(3px);box-shadow:inset 0 2px 8px rgba(0,60,110,.55),0 0 0 1px rgba(200,245,255,.8),0 1px 0 rgba(10,60,92,.95),0 0 34px rgba(95,225,255,.85)}
html.tm-bridge .btn.ghost{background:linear-gradient(180deg,rgba(120,200,255,.22),rgba(70,90,210,.12));color:#eaf7ff;text-shadow:0 0 10px rgba(120,220,255,.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 -8px 12px rgba(20,30,120,.3),0 0 0 1px rgba(120,200,255,.55),0 4px 0 rgba(8,16,50,.95),0 9px 16px rgba(0,0,20,.5)}
html.tm-bridge .btn.ghost:active{box-shadow:inset 0 2px 8px rgba(0,0,30,.6),0 0 0 1px rgba(160,230,255,.9),0 1px 0 rgba(8,16,50,.95),0 0 22px rgba(95,225,255,.5)}
html.tm-bridge .btn.danger{background:linear-gradient(180deg,rgba(255,190,205,.97),rgba(240,70,110,.92));color:#1c0008;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(255,200,215,.65),0 4px 0 rgba(90,10,36,.95),0 9px 18px rgba(0,0,20,.6),0 0 26px rgba(255,107,138,.5)}
html.tm-bridge input[type=text],html.tm-bridge input[type=password],html.tm-bridge input[type=search],html.tm-bridge textarea,html.tm-bridge .select{box-shadow:inset 0 2px 8px rgba(0,0,10,.8),inset 0 0 0 1px rgba(120,200,255,.25);color:#dff6ff}
html.tm-bridge #tabs a.on{color:#5fe1ff;text-shadow:0 0 12px rgba(95,225,255,.7)}
/* shared key physics for the deck themes */
html:is(.tm-missionctl,.tm-reactor,.tm-bridge) .btn{transform:translateY(0);transition:transform .06s ease-out,box-shadow .06s ease-out,filter .12s;font-weight:700}
html:is(.tm-missionctl,.tm-reactor,.tm-bridge) .btn:hover{filter:brightness(1.1)}
html:is(.tm-missionctl,.tm-reactor,.tm-bridge) .btn[disabled]{filter:saturate(.3) brightness(.6);transform:none}
html.tm-missionctl .btn{font-family:"Plex Cond",system-ui,sans-serif;letter-spacing:.05em;border:1px solid #000}

/* instrument rail on wide screens (only while the effects are on): clock, scroll tape, attitude ball live in this margin */
@media (min-width:1400px){html.fx:is(.tm-flightdeck,.tm-missionctl,.tm-reactor,.tm-bridge) #app{box-sizing:border-box;padding-right:184px}}
@media (max-width:1399px){html:is(.tm-flightdeck,.tm-missionctl,.tm-reactor,.tm-bridge) #fx-hud .fx-w{display:none!important}}

/* ===== Vector Arcade. Open-pen sculptures on a monochrome vector monitor.
   Electrolize by Gaslight, SIL OFL (t/vectorcade/OFL.txt). ===== */
@font-face{font-family:"Deck Electrolize";src:url(/static/fx/t/vectorcade/Electrolize-Regular.ttf?v=1795424035) format("truetype");font-weight:400;font-display:swap}
.tm-vectorcade{
  --t-scheme:dark;--t-bg:#020606;--t-card:rgba(4,10,10,.88);--t-card-solid:#090f0f;--t-ink:#e7fff7;--t-muted:#a3b6b0;--t-line:#425853;
  --t-accent:#c6f6e8;--t-accent-ink:#091611;--t-accent2:#95c8bc;--t-sec:#c5e5db;--t-link:#cbf8ec;--t-danger:#ffd2c5;--t-admin:#e2ece6;
  --t-display:"Deck Electrolize",system-ui,sans-serif;--t-display-weight:400;--t-body:system-ui,sans-serif;--t-tech:"Deck Electrolize",ui-monospace,monospace;--t-tabfont:var(--t-tech);
  --t-h1:28px;--t-h1-track:.025em;--t-radius:4px;--t-btn-radius:3px;--t-blur:none;
  --t-wall:url(/static/fx/t/vectorcade/bg_tall.webp?v=1795424035) center/cover no-repeat;--t-wall-wide:url(/static/fx/t/vectorcade/bg_wide.webp?v=1795424035) center/cover no-repeat;
  --t-veil:linear-gradient(90deg,transparent,#01040333 42% 58%,transparent);--t-veil-wide:var(--t-veil);
  --t-header:linear-gradient(#0c1514f5,#050a09f0);--t-title:linear-gradient(180deg,#fff,#d7eee7 72%,#a5c7bb);
  --t-theirs:#15201e;--t-mine:linear-gradient(125deg,#2b403b,#182a25);--t-mine-ink:#f0fff9;
  --t-btn:linear-gradient(#142521,#08110e);--t-btn-ink:#e8fff6;--t-tabs:linear-gradient(#101a18,#060b09);--t-sheet:#0b1110;--t-input:#030706;
  --t-card-shadow:inset 0 0 0 2px #050909,inset 0 0 0 3px #9fc0b016,0 2px 0 #010202,0 3px 12px #0009;
  --t-icon-filter:none;--t-pattern:none;
}
/* Broken bright traces at opposed corners, a dim return line around the rim. */
html.tm-vectorcade :is(.card,.toc,.appban,.mu-row,.th-bar,.th-lite,.sheet,.plist,.sendbar,.mu-player){
  border:1px solid var(--t-line);border-radius:var(--t-radius);box-shadow:var(--t-card-shadow)}
html.tm-vectorcade :is(.card:not(.mu-hero,.mu-mhead),.toc,.th-bar,.th-lite,.sheet){
  background-image:linear-gradient(90deg,#b6d7ca,transparent),linear-gradient(180deg,#adcdbf,transparent),
    linear-gradient(270deg,#8aaba0,transparent),linear-gradient(0deg,#8aaba0,transparent),linear-gradient(138deg,#9bb8ab09,transparent 34%);
  background-size:54px 1px,1px 18px,34px 1px,1px 13px,100% 100%;
  background-position:3px 3px,3px 3px,right 3px bottom 3px,right 3px bottom 3px,center;background-repeat:no-repeat}
html.tm-vectorcade .toc{background-color:rgba(4,10,9,.79)}
html.tm-vectorcade .toc.drawer{background-color:#080e0c}
html.tm-vectorcade .appban .ab-art{
  background:url(/static/fx/t/vectorcade/marquee.webp?v=1795424035) 69% center/auto 113% no-repeat,
    radial-gradient(ellipse at 52% -180%,#697c7466,transparent 75%),linear-gradient(108deg,#070d0cf7,#080e0bec 52%,#01050480);
  animation:none}
html.tm-vectorcade .appban::after{background:linear-gradient(96deg,#030807b3,transparent 45%,transparent 81%,#050b0a66)}
html.tm-vectorcade :is(.appban .ab-name,header.top h1){filter:drop-shadow(0 0 5px #bbefd155);letter-spacing:.035em}
html.tm-vectorcade .appban .ab-tag{text-shadow:0 1px 4px #000}
html.tm-vectorcade :is(.appban .ab-ticker,.toc .toc-h){color:var(--t-sec);background-color:#050a09d9;border-color:#43594e}
html.tm-vectorcade .toc .toc-h{border-bottom:1px solid #43594e;margin-bottom:7px}
html.tm-vectorcade :is(.section-title,.conv-sec){color:var(--t-sec);font-family:var(--t-display);text-transform:none;letter-spacing:.035em}
html.tm-vectorcade :is(.th-intro,.conv-sec,.mu-shtitle,.th-ed h2,.section-title){background-color:#050c0bf5;padding:4px 8px}
html.tm-vectorcade .th-intro{border-left:1px solid #728d81}
html.tm-vectorcade .section-title::after{background:linear-gradient(90deg,#b4d8c6 0 20px,#435d51 20px,transparent 82%)}
html.tm-vectorcade :is(.appban .ab-ic,#app > header.top h1::before){
  border-radius:1px;box-shadow:inset 0 0 0 1px #acc5bb,inset 0 0 0 4px #0c1311,inset 0 0 0 5px #53685f;background:#080f0c}
html.tm-vectorcade .appban .ab-ic::after,html.tm-vectorcade #tabs .ic::after,html.tm-slate .appban .ab-ic::after,html.tm-slate #tabs .ic::after{
  content:"";display:block;width:72%;height:72%;background:currentColor;mask:var(--icm) center/contain no-repeat}
html.tm-vectorcade .appban .ab-ic{color:var(--t-ink)}
html.tm-vectorcade #app > header.top h1::before,html.tm-slate #app > header.top h1::before{background:var(--t-sec);mask:var(--icm) center/78% no-repeat;box-shadow:none;filter:none}
html.tm-vectorcade #tabs{background:var(--t-tabs);border-top-color:#668378;box-shadow:inset 0 2px 0 #070a0a,0 -4px 15px #000a}
html.tm-vectorcade #tabs a{color:var(--t-muted);font-weight:400}
html.tm-vectorcade #tabs a .ic,html.tm-slate #tabs a .ic{position:relative;filter:none;transform:none;opacity:1}
html.tm-vectorcade #tabs a .ic::after,html.tm-slate #tabs a .ic::after{position:absolute;inset:10%;width:auto;height:auto}
html.tm-vectorcade #tabs a .ic{border-radius:2px;box-shadow:none;background:transparent}
html.tm-vectorcade #tabs a.on .ic{box-shadow:inset 0 0 0 1px #adcebf,0 0 9px #acdfbd35}
html.tm-vectorcade #tabs a.on{color:#edfff4;text-shadow:0 0 6px #c1f2d890}
html.tm-vectorcade #tabs a.on::after{height:1px;background:#d9ffed}
html.tm-vectorcade :is(.btn,.appban .ab-theme,.appban .ab-work,.toc-btn,.mu-hero-btn){
  --key-line:#c5e4d7;--key-fill:#d9f9eb;background:var(--t-btn);color:var(--t-btn-ink);border:1px solid var(--key-line);
  border-radius:var(--t-btn-radius);font-family:var(--t-tech);letter-spacing:.035em;font-weight:400;
  box-shadow:inset 0 0 0 2px #070d0b,inset 0 0 0 3px #758d814f,0 3px 0 #1d3229,0 4px 0 #6d8e7c,0 5px 4px #000b,0 0 8px #d1ffe417;
  text-shadow:0 0 5px #bfe8cb4f;transition:transform .07s,box-shadow .07s,background-color .09s}
html.tm-vectorcade :is(.btn.ghost,.appban .ab-work){--key-line:#718b7c;--key-fill:#b3c9bc;background:#090e0c;color:#dce8e0}
html.tm-vectorcade .btn.danger{--key-line:#ca9c91;--key-fill:#ffd1c5;background:#201410;color:#ffddcf}
html.tm-vectorcade :is(.btn,.appban .ab-theme,.appban .ab-work,.mu-hero-btn):hover{border-color:#fff;filter:brightness(1.12)}
html.tm-vectorcade :is(.btn,.appban .ab-theme,.appban .ab-work,.mu-hero-btn):active,html.tm-vectorcade .mu-hero:active .mu-hero-btn{
  transform:translateY(3px);color:#07130c;background:var(--key-fill);text-shadow:none;
  box-shadow:inset 0 1px 3px #1c382f8c,0 1px 0 #71977f,0 0 12px #c6eedb80}
html.tm-vectorcade input:is([type=text],[type=password],[type=search]),html.tm-vectorcade :is(textarea,.select){
  background-color:var(--t-input);color:var(--t-ink);font-family:var(--t-tech);border-radius:2px;box-shadow:inset 0 2px 5px #000,0 1px 0 #4160518c}
html.tm-vectorcade :is(.chip,.seg,.fseg,.mu-chip,.mu-play,.mu-taste,.actions button,.mu-sec,.msg,.bubble){border-radius:3px}
html.tm-vectorcade .mu-hero{background:linear-gradient(90deg,#09130ff7,#080f0de8 51%,#05090838),var(--t-wall-wide);border-color:#607d6f}
html.tm-vectorcade .mu-hero-kicker{color:#b6cfbf}
html.tm-vectorcade .badge{color:var(--t-ink);background:#26342e;box-shadow:inset 0 0 0 1px #5e7267}
html.tm-vectorcade .btn:disabled,html.tm-slate .btn:disabled{opacity:.64;filter:saturate(.3);transform:none}
html.tm-vectorcade :is(button,a,input,select,textarea,summary,[role=button]):focus-visible,html.tm-slate :is(button,a,input,select,textarea,summary,[role=button]):focus-visible{
  outline:2px solid var(--t-accent);outline-offset:2px}
@media (max-width:600px){html.tm-vectorcade .appban .ab-art{background-position:right -58px center,center,center;background-size:auto 68%,auto,auto}
  html.tm-vectorcade .appban::after{background:linear-gradient(90deg,#020604d9 15%,#020604a8 54%,#02060420)}}

/* ===== Slate Station. Cast blue-grey workstation cases, amber selection, stippled window furniture.
   Play Bold and IBM Plex Mono Regular, SIL OFL (t/slate/OFL.txt and IBMPlexMono-OFL.txt). ===== */
@font-face{font-family:"Station Play";src:url(/static/fx/t/slate/Play-Bold.ttf?v=1795424035) format("truetype");font-weight:700;font-display:swap}
@font-face{font-family:"Station Console";src:url(/static/fx/t/slate/IBMPlexMono-Regular.ttf?v=1795424035) format("truetype");font-weight:400;font-display:swap}
.tm-slate{
  --t-scheme:dark;--t-bg:#101c29;--t-card:rgba(28,43,58,.96);--t-card-solid:#1c2b3a;--t-ink:#eef2f3;--t-muted:#b1c1cc;--t-line:#526474;
  --t-accent:#f2c37d;--t-accent-ink:#21180b;--t-accent2:#a5c7de;--t-sec:#d3e1e9;--t-link:#c4e3f9;--t-danger:#ffb8a1;--t-admin:#f2c37d;
  --t-display:"Station Play",system-ui,sans-serif;--t-display-weight:700;--t-body:system-ui,sans-serif;--t-tech:"Station Console",ui-monospace,monospace;--t-tabfont:var(--t-display);
  --t-h1:27px;--t-h1-track:0;--t-radius:1px;--t-btn-radius:1px;--t-blur:none;
  --t-wall:url(/static/fx/t/slate/bg_tall.webp?v=1795424035) center/cover no-repeat;--t-wall-wide:url(/static/fx/t/slate/bg_wide.webp?v=1795424035) center/cover no-repeat;
  --t-veil:radial-gradient(#adc0c923 .5px,transparent .85px) 0 0/3px 3px,linear-gradient(#0c172526,#0c172536);--t-veil-wide:var(--t-veil);
  --t-header:linear-gradient(180deg,#293b4bfa,#1d2e3ef5);--t-title:linear-gradient(#f6f6f1,#d9e3e9);
  --t-theirs:#2a4053;--t-mine:linear-gradient(135deg,#3f5362,#304553);--t-mine-ink:#fff5df;
  --t-btn:linear-gradient(#f2d3a0,#d2a66a);--t-btn-ink:#21190d;--t-tabs:linear-gradient(#435666,#293b4b);--t-sheet:#213140;--t-input:#101b27;
  --t-card-shadow:inset 1px 1px #7d91a1,inset -1px -1px #0c1723,1px 1px #101c25,3px 4px #07101a7a;
  --t-icon-filter:none;--t-pattern:none;
  --sl-bar:linear-gradient(90deg,#3e5365,#304556 74%,#334a5b);
  --sl-well:inset 1px 1px #090f16,inset -1px -1px #3f5264,0 1px #8396a5;
}
html.tm-slate :is(.card,.toc,.appban,.mu-row,.th-bar,.th-lite,.sheet,.plist,.mu-player,.sendbar){
  border:1px solid;border-color:#8496a1 #08131e #08131e #788996;border-radius:1px;box-shadow:var(--t-card-shadow)}
html.tm-slate .toc{background:#223342f0}
html.tm-slate .toc.drawer{background:#223342}
html.tm-slate .appban .ab-art{background:#192b3a url(/static/fx/t/slate/bg_wide.webp?v=1795424035) right 47%/auto 260% no-repeat;animation:none}
html.tm-slate .appban::after{background:linear-gradient(90deg,#213444 5%,#213444cc 32%,#192c3b05 68%),
  radial-gradient(#abcdde30 .6px,transparent .9px) 0 0/3px 3px}
html.tm-slate .appban .ab-name{filter:none;text-shadow:0 2px 0 #111c26;color:#f5f5ed;background:none}
html.tm-slate .appban .ab-tag{color:#e2eaf0;font-family:var(--t-body);opacity:1;text-shadow:0 1px 3px #000}
html.tm-slate .appban .ab-ticker{color:#d2dbe0;background:#1e2e3dfa;border-top:2px groove #667888;letter-spacing:.025em}
html.tm-slate :is(.appban .ab-ic,#tabs a .ic){border-radius:1px;border:1px solid #121f29;
  background:linear-gradient(145deg,#667d8e,#425768 60%,#354b5b);color:#e7eff2;
  box-shadow:inset 1px 1px #a9bac4,inset -1px -1px #283945,1px 1px #15242f}
html.tm-slate .appban .ab-ic::after{width:65%;height:65%}
html.tm-slate :is(.toc .toc-h,.conv-sec,.section-title,.card > :is(.name,h2,h3):first-child,article.card > .row:first-child,.game-card .game-title){
  background:var(--sl-bar);color:#eff4f4;font-family:var(--t-display);text-transform:none;letter-spacing:.01em;
  border-top:1px solid #8296a7;border-bottom:1px solid #101c28;text-shadow:0 1px 0 #26343d}
html.tm-slate :is(.conv-sec,.section-title){padding:4px 9px;font-size:15px;box-shadow:inset 1px 0 #718596,inset -1px 0 #0e1c29}
html.tm-slate :is(.th-intro,.mu-shtitle,.th-ed h2){padding:4px 8px;background-color:#192a38f5;color:var(--t-ink)}
html.tm-slate .section-title::after{height:5px;background:repeating-linear-gradient(0deg,#142332 0 1px,#5d7282 1px 2px,transparent 2px 3px);opacity:.6}
html.tm-slate .toc .toc-h{margin:2px 2px 7px;padding-top:7px;padding-bottom:7px;color:#fbe2bb}
html.tm-slate .toc .toc-h span{display:flex;align-items:center;gap:9px;font-family:var(--t-display)}
/* Etched lozenges and flutes share one flat mark, outside the hit target of any widget. */
html.tm-slate .toc-h span::after{content:"";flex:1;height:7px;pointer-events:none;background:
  repeating-linear-gradient(135deg,#93a5af 0 1px,transparent 1px 3px) right center/13px 5px no-repeat,
  repeating-linear-gradient(0deg,#768c9a 0 1px,#293e4c 1px 3px) left center/calc(100% - 19px) 5px no-repeat}
html.tm-slate article.card > .row:first-child,html.tm-slate .card > :is(.name,h2,h3):first-child{margin:-10px -10px 10px;padding:5px 9px}
html.tm-slate .game-card .game-title{padding:5px 8px;margin:-4px -4px 6px}
html.tm-slate :is(.toc a,.th-bar,.th-lite,.fseg,.seg,.mu-chip,.mu-taste,.mu-play,.actions button,.mu-sec,.msg,.bubble){border-radius:1px}
html.tm-slate :is(.btn,.appban .ab-theme,.appban .ab-work,.toc-btn,.mu-hero-btn){
  --key-face:var(--t-btn);--key-lit:#ffe8bd;--key-shadow:#806340;--key-ink:var(--t-btn-ink);
  font-family:var(--t-display);font-weight:700;color:var(--key-ink);background:var(--key-face);border:1px solid #101a20;border-radius:1px;
  box-shadow:inset 2px 2px var(--key-lit),inset -2px -2px var(--key-shadow),0 2px 0 #111d25,0 3px 0 #8999a24f;
  letter-spacing:.015em;text-shadow:none;transition:transform .065s,box-shadow .065s,filter .1s}
html.tm-slate :is(.btn.ghost,.appban .ab-work,.appban .ab-theme,.toc-btn){
  --key-face:linear-gradient(#5a6e7f,#435563);--key-lit:#8da0ab;--key-shadow:#2b3944;--key-ink:#f2f5f4}
html.tm-slate .btn.danger{--key-face:linear-gradient(#e6b29c,#bd856d);--key-lit:#f5d0bb;--key-shadow:#835444;--key-ink:#231611}
html.tm-slate :is(.btn,.appban .ab-theme,.appban .ab-work,.mu-hero-btn):hover{filter:brightness(1.08)}
html.tm-slate :is(.btn,.appban .ab-theme,.appban .ab-work,.mu-hero-btn):active,html.tm-slate .mu-hero:active .mu-hero-btn{
  transform:translateY(2px);box-shadow:inset 2px 2px var(--key-shadow),inset -1px -1px var(--key-lit),0 1px 0 #0e1c25}
html.tm-slate input:is([type=text],[type=password],[type=search]),html.tm-slate :is(textarea,.select){
  font-family:var(--t-tech);font-weight:400;border-radius:1px;color:var(--t-ink);background:var(--t-input);border:1px solid #526879;
  border-color:#0d1821 #728591 #728591 #0d1821;box-shadow:var(--sl-well)}
html.tm-slate .mu-hero{background:linear-gradient(90deg,#192a38 5%,#172835ed 44%,#09141b26),#162736 url(/static/fx/t/slate/keybed.webp?v=1795424035) 74% center/cover no-repeat;border-color:#8597a4 #172633 #172633 #8597a4}
html.tm-slate .mu-hero-kicker{color:#f1ca91}
html.tm-slate .mu-hero-title{color:#f2f3eb;text-shadow:0 1px 1px #192b38}
html.tm-slate #tabs{background:var(--t-tabs);border-top:1px solid #94a4ac;box-shadow:inset 0 1px #6e838f,0 -2px 0 #192936}
html.tm-slate #tabs a{color:#e1e7ea;letter-spacing:.005em}
html.tm-slate #tabs a.on{color:#ffdfae}
html.tm-slate #tabs a.on .ic{color:#ffdfae;background:#283c49;box-shadow:inset 1px 1px #142530,inset -1px -1px #778b98}
html.tm-slate #tabs a.on::after{height:2px;border-radius:0;background:#edc087;box-shadow:none}
html.tm-slate .badge{background:#e2b97c;color:#231b11;border-radius:1px}
/* Reserve the instrument margin even on routes with their own #app padding. */
@media (min-width:1400px){html.fx.fx-rail.tm-slate body #app{box-sizing:border-box;padding-right:184px}}
@media (max-width:1399px){html.tm-slate #fx-hud .fx-clock{display:none!important}}
html.tm-slate #fx-hud{z-index:18}
html.tm-slate #fx-hud .fxw-clock-root{border-radius:1px;box-shadow:var(--t-card-shadow);pointer-events:none}
@media (max-width:600px){html.tm-slate .appban .ab-art{background-position:right 43%;background-size:auto 182%}
  html.tm-slate .appban::after{background:linear-gradient(90deg,#172939f0,#192c3ab8 53%,#17293838)}
  html.tm-slate .mu-hero{background-image:linear-gradient(105deg,#192a38f2,#172835d9 58%,#09141b95),url(/static/fx/t/slate/keybed.webp?v=1795424035)}}
html:is(.tm-vectorcade,.tm-slate) :is(input,textarea)::placeholder{color:var(--t-muted);opacity:1}
@media (prefers-reduced-motion:reduce){html:is(.tm-vectorcade,.tm-slate) :is(.btn,.appban .ab-theme,.appban .ab-work,.mu-hero-btn){transition:none}}
