/* truth-theory.com looks (looks.css): five whole looks and feels, not colour swaps. Set by /life.js as <html data-look="...">.
   newsroom = as designed (follows the device's light or dark setting). Each look changes type, layout, texture and motion.
   Front page variables come from _kit/kit/base.css (--color-*), side pages from paper.css (--bg, --fg, ...). */

/* ---------- shared: the floating eye, the panel, the gates, the ambient layer ---------- */
html{--tt-ease:cubic-bezier(.7,0,.2,1)}
.tt-amb{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.rc-page,body>main{position:relative;z-index:1}
.tt-lookbtn{position:fixed;right:14px;bottom:14px;z-index:75;width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:#0f1f1b;color:#d9f99d;cursor:pointer;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.28);transition:transform .25s cubic-bezier(.2,1.6,.4,1),background .3s;padding:0}
.tt-lookbtn:hover{transform:scale(1.08) rotate(-6deg)}.tt-lookbtn:focus-visible{outline:3px solid #00a078;outline-offset:3px}
.tt-lookbtn svg{width:34px;height:34px;overflow:visible}.tt-lookbtn .pu{transition:transform .12s linear}
.tt-lookbtn.tt-blink .lid{animation:tt-blink .28s ease-in-out}
@keyframes tt-blink{50%{transform:scaleY(.08)}}
.tt-lookbtn .lid{transform-origin:16px 16px}
.tt-perch{bottom:76px!important}
.tt-panel{position:fixed;right:14px;bottom:76px;z-index:76;width:min(392px,calc(100vw - 28px));max-height:calc(100vh - 100px);overflow:auto;background:#0f1715;color:#eef5f1;border:1px solid #2a3a35;border-radius:20px;padding:16px;box-shadow:0 24px 60px rgba(0,0,0,.4);font:500 15px/1.4 ui-sans-serif,-apple-system,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;transform-origin:100% 100%;animation:tt-pop .32s cubic-bezier(.2,1.3,.4,1)}
@keyframes tt-pop{from{opacity:0;transform:scale(.6) translateY(20px)}}
.tt-panel h2{font:800 18px/1.2 inherit;margin:0 0 2px;letter-spacing:-.01em;color:#fff}.tt-panel p{margin:0 0 12px;color:#a9bbb4;font-size:14px}
.tt-panel .tt-x{position:absolute;right:8px;top:8px;border:0;background:none;color:#fff;font-size:22px;cursor:pointer;padding:4px 10px;border-radius:10px}
.tt-looks{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}
.tt-looks button{all:unset;cursor:pointer;border-radius:14px;border:1px solid #2a3a35;padding:8px;display:flex;flex-direction:column;gap:6px;transition:transform .2s,border-color .2s}
.tt-looks button:hover{transform:translateY(-2px);border-color:#6f8a81}.tt-looks button:focus-visible{outline:3px solid #00a078;outline-offset:2px}
.tt-looks button[aria-checked=true]{border-color:#d9f99d;box-shadow:0 0 0 2px #d9f99d inset}
.tt-looks b{font-size:14px;color:#fff}.tt-looks small{font-size:12px;color:#a9bbb4;line-height:1.3}
.tt-looks button:last-child:nth-child(odd){grid-column:1/-1}
.tt-mini{height:54px;border-radius:9px;position:relative;overflow:hidden}
.tt-mini i{position:absolute;display:block;border-radius:3px}
.m-newsroom{background:#fff}.m-newsroom i:nth-child(1){left:6px;right:6px;top:6px;height:18px;background:#00463c;border-radius:5px}.m-newsroom i:nth-child(2){left:6px;width:30%;top:28px;height:20px;background:#e3ebe7}.m-newsroom i:nth-child(3){left:38%;width:27%;top:28px;height:20px;background:#e3ebe7}.m-newsroom i:nth-child(4){right:6px;width:27%;top:28px;height:20px;background:#e3ebe7}
.m-broadsheet{background:#f6f0e3}.m-broadsheet i:nth-child(1){left:28%;right:28%;top:6px;height:7px;background:#1b1813}.m-broadsheet i:nth-child(2){left:22%;right:22%;top:16px;height:1px;background:#1b1813}.m-broadsheet i:nth-child(3){left:26%;right:26%;top:22px;height:3px;background:#8a8170;box-shadow:0 7px 0 #8a8170,0 14px 0 #8a8170,0 21px 0 #8a8170}.m-broadsheet i:nth-child(4){display:none}
.m-map{background:#0a1a2f;background-image:linear-gradient(#1d3557 1px,transparent 1px),linear-gradient(90deg,#1d3557 1px,transparent 1px);background-size:9px 9px}.m-map i:nth-child(1){left:10%;top:22%;width:44%;height:56%;border:1px solid #7fd6ff;background:none}.m-map i:nth-child(2){left:62%;top:22%;width:28%;height:24%;border:1px solid #7fd6ff}.m-map i:nth-child(3){left:62%;top:54%;width:28%;height:24%;border:1px solid #ffb86b}.m-map i:nth-child(4){left:28%;top:44%;width:6px;height:6px;border-radius:50%;background:#ffb86b;box-shadow:0 0 8px #ffb86b}
.m-night{background:#05070a}.m-night i:nth-child(1){left:8px;top:8px;width:46%;height:6px;background:#7dffb0;box-shadow:0 0 8px #7dffb0}.m-night i:nth-child(2){left:8px;top:20px;width:70%;height:3px;background:#2f6b4c;box-shadow:0 7px 0 #2f6b4c,0 14px 0 #2f6b4c}.m-night i:nth-child(3){right:8px;bottom:8px;width:14px;height:14px;border-radius:50%;border:1px solid #ffb547;box-shadow:0 0 6px #ffb547}.m-night i:nth-child(4){inset:0;border-radius:0;background:repeating-linear-gradient(transparent 0 2px,rgba(0,0,0,.35) 2px 3px)}
.m-arcade{background:#fff4d6}.m-arcade i:nth-child(1){left:6px;top:6px;width:42%;height:22px;background:#ff3d7f;border:2px solid #1b1b1b;box-shadow:3px 3px 0 #1b1b1b;transform:rotate(-3deg)}.m-arcade i:nth-child(2){right:8px;top:8px;width:36%;height:18px;background:#00c2ff;border:2px solid #1b1b1b;box-shadow:3px 3px 0 #1b1b1b;transform:rotate(2deg)}.m-arcade i:nth-child(3){left:14px;bottom:5px;width:30%;height:14px;background:#ffd23f;border:2px solid #1b1b1b}.m-arcade i:nth-child(4){right:16px;bottom:8px;width:12px;height:12px;border-radius:50%;background:#7cf29c;border:2px solid #1b1b1b}
.tt-seg{display:flex;gap:4px;background:#1a2622;border-radius:12px;padding:4px;margin:6px 0 12px}
.tt-seg button{all:unset;flex:1;text-align:center;cursor:pointer;padding:8px 4px;border-radius:9px;font-size:13px;font-weight:650;color:#cfe0d9}
.tt-seg button[aria-checked=true]{background:#d9f99d;color:#06281f}.tt-seg button:focus-visible{outline:2px solid #00a078}
.tt-panel .tt-lab{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#d9f99d}
.tt-panel .tt-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.tt-pbtn{all:unset;cursor:pointer;font-weight:700;font-size:14px;padding:10px 14px;border-radius:999px;background:#d9f99d;color:#06281f}.tt-pbtn.o{background:none;color:#d9f99d;border:1px solid #3d5a50}
.tt-pbtn:focus-visible{outline:3px solid #00a078;outline-offset:2px}
.tt-panel a{color:#d9f99d}

/* gates */
.tt-float{position:fixed;left:0;top:0;z-index:70;width:46px;height:46px;display:block;will-change:transform;cursor:pointer;-webkit-tap-highlight-color:transparent;opacity:0;transition:opacity .9s}
.tt-float.on{opacity:1}.tt-float svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 3px 5px rgba(0,0,0,.25));transition:transform .3s cubic-bezier(.2,1.6,.4,1)}
.tt-float:hover svg,.tt-float:focus-visible svg{transform:scale(1.25) rotate(-8deg)}
.tt-float:focus-visible{outline:3px dashed #00a078;outline-offset:4px;border-radius:50%;opacity:1}
.tt-float.gold svg{filter:drop-shadow(0 0 6px #ffd23f) drop-shadow(0 0 14px rgba(255,210,63,.6))}
.tt-float .wing{transform-origin:23px 23px;animation:tt-flap .22s ease-in-out infinite alternate}
@keyframes tt-flap{to{transform:scaleX(.55)}}
.tt-float .spin{transform-origin:23px 23px;animation:tt-spin 9s linear infinite}@keyframes tt-spin{to{transform:rotate(360deg)}}
.tt-float .ring{transform-origin:23px 23px;animation:tt-ring 2.2s ease-out infinite}@keyframes tt-ring{from{transform:scale(.4);opacity:1}to{transform:scale(1.3);opacity:0}}
.tt-fx{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:90}
.tt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* the cursor-reactive glow on cards (all looks) */
.card,.tt-card,.fs .card,.fs .nwcard,.fs .step{background-image:radial-gradient(260px circle at var(--gx,-400px) var(--gy,-400px),var(--tt-glow,rgba(0,160,120,.10)),transparent 70%)}

/* switching: a wipe instead of a jump */
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
html.tt-vt::view-transition-new(root){animation:tt-wipe .8s var(--tt-ease) both}
html.tt-vt[data-vt=broadsheet]::view-transition-new(root){animation-name:tt-turn;animation-duration:.9s}
html.tt-vt[data-vt=night]::view-transition-new(root){animation-name:tt-crt;animation-duration:.7s}
html.tt-vt[data-vt=arcade]::view-transition-new(root){animation-name:tt-pix;animation-duration:.75s;animation-timing-function:steps(9,end)}
html.tt-vt[data-vt=map]::view-transition-new(root){animation-name:tt-scan;animation-duration:.85s}
@keyframes tt-wipe{from{clip-path:circle(0 at var(--vx,92%) var(--vy,92%))}to{clip-path:circle(150vmax at var(--vx,92%) var(--vy,92%))}}
@keyframes tt-turn{from{clip-path:polygon(100% 0,100% 0,100% 100%,100% 100%)}to{clip-path:polygon(-30% 0,100% 0,100% 100%,0 100%)}}
@keyframes tt-crt{0%{clip-path:inset(50% 0 50% 0);filter:brightness(3)}45%{clip-path:inset(49.5% 0 49.5% 0);filter:brightness(3)}100%{clip-path:inset(0 0 0 0);filter:none}}
@keyframes tt-pix{from{clip-path:circle(0 at var(--vx,92%) var(--vy,92%))}to{clip-path:circle(150vmax at var(--vx,92%) var(--vy,92%))}}
@keyframes tt-scan{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
html.tt-fade body{animation:tt-fadein .45s ease-out}@keyframes tt-fadein{from{opacity:.15}}

/* ======================= MORNING EDITION (broadsheet): one calm column, serif, paper ======================= */
html[data-look=broadsheet]{--color-bg:#f6f0e3;--color-fg:#1b1813;--color-fg-muted:#5f584b;--color-panel:#f6f0e3;--color-border-line:#d4c8b2;--cds-chart-grid:#e2d8c4;--cds-text-secondary:#5f584b;--font-anthropic-sans:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,"Times New Roman",serif;
 --bg:#f6f0e3;--fg:#1b1813;--sub:#5f584b;--panel:#f6f0e3;--line:#d4c8b2;--acc:#9b2c1d;--top:#f6f0e3;--top2:#efe6d3;--lime:#9b2c1d;--sans:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,serif;--shadow:none;--tt-glow:rgba(155,44,29,.06);color-scheme:light}
html[data-look=broadsheet] body{background:#f6f0e3 radial-gradient(rgba(60,40,10,.06) 1px,transparent 1.4px) 0 0/5px 5px;font-size:18.5px;line-height:1.72}
html[data-look=broadsheet] .rc-page>*,html[data-look=broadsheet] .tt-bar,html[data-look=broadsheet] body>main{max-width:740px!important;margin-left:auto;margin-right:auto}
html[data-look=broadsheet] .fs{--top:#f6f0e3;--topink:#1b1813;--topsub:#5f584b;--ok:#2d6a3e;--diff:#1f5f8b;--far:#9b2c1d;--acc:#9b2c1d;--soft:transparent;--line:#d4c8b2}
html[data-look=broadsheet] .fs .band{border-top:5px double #1b1813;border-bottom:1px solid #1b1813;border-radius:0;padding:22px 0}
html[data-look=broadsheet] .fs .band h1,html[data-look=broadsheet] .tt-door h1,html[data-look=broadsheet] h1{font-family:Georgia,"Iowan Old Style",serif!important;font-weight:700!important;letter-spacing:-.015em!important;text-align:center}
html[data-look=broadsheet] .fs .cards,html[data-look=broadsheet] .fs .steps,html[data-look=broadsheet] .fs .two,html[data-look=broadsheet] .fs .nwgrid,html[data-look=broadsheet] .fs .map,html[data-look=broadsheet] .tt-today,html[data-look=broadsheet] .tt-door,html[data-look=broadsheet] .doors{grid-template-columns:1fr!important}
html[data-look=broadsheet] .fs .card,html[data-look=broadsheet] .card,html[data-look=broadsheet] .tt-card,html[data-look=broadsheet] .fs .step,html[data-look=broadsheet] .fs .nwcard{background-color:transparent!important;border:0!important;border-top:1px solid #1b1813!important;border-radius:0!important;box-shadow:none!important;padding-left:0;padding-right:0}
html[data-look=broadsheet] .tt-door,html[data-look=broadsheet] .hero{background:none!important;color:#1b1813!important;border-radius:0!important;box-shadow:none!important;border-top:5px double #1b1813!important;border-bottom:1px solid #1b1813!important;padding:26px 0!important}
html[data-look=broadsheet] .tt-door canvas,html[data-look=broadsheet] .hero canvas{display:none}
html[data-look=broadsheet] .tt-door h1,html[data-look=broadsheet] .hero h1{color:#1b1813!important;font-size:clamp(34px,6vw,58px)!important}
html[data-look=broadsheet] .tt-door h1 em{color:#9b2c1d!important;font-style:italic!important;text-decoration:none!important}
html[data-look=broadsheet] .tt-door p,html[data-look=broadsheet] .hero .lede{color:#3d372c!important}
html[data-look=broadsheet] .tt-door .tt-k,html[data-look=broadsheet] .hero .kick{color:#9b2c1d!important;text-align:center;letter-spacing:.3em}
html[data-look=broadsheet] .hero .lede::first-letter,html[data-look=broadsheet] .tt-door p:first-of-type::first-letter{float:left;font-size:3.4em;line-height:.8;padding:6px 8px 0 0;color:#9b2c1d;font-weight:700}
html[data-look=broadsheet] .tt-labels li{color:#1b1813!important;background:none!important;border-color:#1b1813!important}
html[data-look=broadsheet] .tt-btn,html[data-look=broadsheet] .btn{background:none!important;color:#1b1813!important;border:1px solid #1b1813!important;border-radius:2px!important;font-family:Georgia,serif!important;font-style:italic}
html[data-look=broadsheet] .tt-btn.g,html[data-look=broadsheet] .btn.go{background:#1b1813!important;color:#f6f0e3!important}
html[data-look=broadsheet] .tt-try{background:none!important;box-shadow:none!important;border:1px solid #1b1813!important;border-radius:0!important;color:#1b1813!important}
html[data-look=broadsheet] .tt-game{background:none!important;color:#1b1813!important}html[data-look=broadsheet] .tt-game span,html[data-look=broadsheet] .tt-game small{color:#5f584b!important}
html[data-look=broadsheet] .tt-game .tt-squares i{background:#1b1813}
html[data-look=broadsheet] .tt-wire{background:none;border-radius:0;border-left:0;border-right:0;border-color:#1b1813}
html[data-look=broadsheet] .tt-wire .tt-lab{background:#1b1813;font-family:Georgia,serif;letter-spacing:.2em}
html[data-look=broadsheet] .tt-wire .tt-track{animation-duration:calc(var(--tt-dur,90s)*2.2)!important}
html[data-look=broadsheet] .tt-bar{border-bottom:1px solid #1b1813;padding-bottom:6px;font-family:Georgia,serif;justify-content:center}
html[data-look=broadsheet] .tt-bar .tt-home{flex-basis:100%;justify-content:center;font-size:28px;font-style:italic;margin:0}
html[data-look=broadsheet] .tt-bar a[aria-current=page]{border-color:#9b2c1d}
html[data-look=broadsheet] .fs h2,html[data-look=broadsheet] h2{font-family:Georgia,serif;font-weight:700;border-bottom:1px solid #d4c8b2;padding-bottom:6px}

/* ======================= MAP ROOM: wide, visual, blueprint grid, crosshair ======================= */
html[data-look=map]{--color-bg:#0a1a2f;--color-fg:#e6f1ff;--color-fg-muted:#8fa8c8;--color-panel:#0f2440;--color-border-line:#23406a;--cds-chart-grid:#1a3356;--cds-chart-muted:#4f6b91;--cds-chart-axis:#3c5a85;--cds-text-secondary:#8fa8c8;--cds-surface-popover:#13294a;--cds-border:#2b4a78;
 --bg:#0a1a2f;--fg:#e6f1ff;--sub:#8fa8c8;--panel:#0f2440;--line:#23406a;--acc:#7fd6ff;--top:#0f2440;--top2:#081426;--lime:#ffb86b;--shadow:0 0 0 1px #23406a;--tt-glow:rgba(127,214,255,.16);color-scheme:dark;cursor:crosshair}
html[data-look=map] body{background:#0a1a2f;background-image:linear-gradient(rgba(127,214,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(127,214,255,.07) 1px,transparent 1px),linear-gradient(rgba(127,214,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(127,214,255,.035) 1px,transparent 1px);background-size:120px 120px,120px 120px,24px 24px,24px 24px;background-attachment:fixed}
html[data-look=map] a,html[data-look=map] button,html[data-look=map] select,html[data-look=map] summary{cursor:pointer}
html[data-look=map] .rc-page>*,html[data-look=map] .tt-bar,html[data-look=map] body>main{max-width:1480px!important}
html[data-look=map] .fs{--top:#0f2440;--topink:#e6f1ff;--topsub:#8fa8c8;--ok:#7cf2b0;--diff:#7fd6ff;--far:#ff8a73;--acc:#ffb86b;--soft:#0f2440;--line:#23406a}
html[data-look=map] .fs .cards,html[data-look=map] .fs .nwgrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important}
html[data-look=map] .fs .map{grid-template-columns:minmax(0,2.2fr) minmax(0,1fr)!important}
html[data-look=map] .fs .band,html[data-look=map] .tt-door,html[data-look=map] .hero,html[data-look=map] .card,html[data-look=map] .tt-card,html[data-look=map] .fs .card,html[data-look=map] .fs .step,html[data-look=map] .fs .nwcard,html[data-look=map] .tt-try{border-radius:4px!important;border:1px solid #2b4a78!important;box-shadow:none!important;background-color:rgba(15,36,64,.82)!important;position:relative}
html[data-look=map] .tt-door,html[data-look=map] .hero{background:rgba(10,26,47,.7)!important}
html[data-look=map] .card::before,html[data-look=map] .fs .card::before,html[data-look=map] .tt-door::before,html[data-look=map] .hero::before{content:"";position:absolute;inset:-1px;pointer-events:none;background:linear-gradient(#7fd6ff,#7fd6ff) 0 0/12px 2px no-repeat,linear-gradient(#7fd6ff,#7fd6ff) 0 0/2px 12px no-repeat,linear-gradient(#7fd6ff,#7fd6ff) 100% 100%/12px 2px no-repeat,linear-gradient(#7fd6ff,#7fd6ff) 100% 100%/2px 12px no-repeat}
html[data-look=map] h1,html[data-look=map] .tt-door h1,html[data-look=map] .fs .band h1{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace!important;font-weight:700!important;letter-spacing:-.04em!important;color:#e6f1ff!important}
html[data-look=map] h2,html[data-look=map] .fs h2,html[data-look=map] .kick,html[data-look=map] .tt-k,html[data-look=map] .tt-card small{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace!important;text-transform:uppercase;letter-spacing:.08em!important}
html[data-look=map] .fs h2::before,html[data-look=map] main h2::before{content:"◎ ";color:#ffb86b}
html[data-look=map] .tt-door h1 em{color:#ffb86b!important}
html[data-look=map] .tt-btn,html[data-look=map] .btn{border-radius:3px!important;font-family:ui-monospace,Menlo,monospace!important;text-transform:uppercase;font-size:13px!important;letter-spacing:.06em}
html[data-look=map] .tt-btn.g,html[data-look=map] .btn.go{background:#ffb86b!important;border-color:#ffb86b!important;color:#0a1a2f!important}
html[data-look=map] .tt-try{color:#e6f1ff!important}html[data-look=map] .tt-try .tt-k{color:#ffb86b!important}
html[data-look=map] .tt-game{background:rgba(15,36,64,.82)!important}
html[data-look=map] .tt-wire{background:#081426;border-color:#23406a;border-radius:3px;font-family:ui-monospace,Menlo,monospace}
html[data-look=map] .tt-wire .tt-lab{background:#ffb86b;color:#0a1a2f}
.tt-cross{position:fixed;inset:0;pointer-events:none;z-index:2;display:none}
html[data-look=map] .tt-cross{display:block}
.tt-cross i{position:absolute;background:rgba(127,214,255,.22)}.tt-cross .h{left:0;right:0;height:1px;top:var(--cy,-10px)}.tt-cross .v{top:0;bottom:0;width:1px;left:var(--cx,-10px)}
.tt-cross b{position:absolute;left:calc(var(--cx,-100px) + 10px);top:calc(var(--cy,-100px) + 10px);font:600 11px/1 ui-monospace,Menlo,monospace;color:#7fd6ff;background:rgba(10,26,47,.8);padding:3px 5px;border-radius:3px;white-space:nowrap}
@media (hover:none){html[data-look=map] .tt-cross{display:none}}

/* ======================= NIGHT DESK: dark, phosphor glow, scanlines ======================= */
html[data-look=night]{--color-bg:#05070a;--color-fg:#d7ffe6;--color-fg-muted:#7fa592;--color-panel:#0b1210;--color-border-line:#1c2e26;--cds-chart-grid:#13201b;--cds-chart-muted:#3f5a4d;--cds-chart-axis:#2a4237;--cds-chart-reference:#ffb547;--cds-text-secondary:#8fb3a0;--cds-surface-popover:#0f1a16;--cds-border:#24392f;
 --bg:#05070a;--fg:#d7ffe6;--sub:#7fa592;--panel:#0b1210;--line:#1c2e26;--acc:#7dffb0;--top:#0b1210;--top2:#05070a;--lime:#ffb547;--shadow:0 0 0 1px #1c2e26;--tt-glow:rgba(125,255,176,.12);color-scheme:dark}
html[data-look=night] body{background:#05070a radial-gradient(ellipse at 50% -10%,rgba(125,255,176,.08),transparent 60%) fixed}
html[data-look=night] body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:74;background:repeating-linear-gradient(transparent 0 2px,rgba(0,0,0,.22) 2px 3px);mix-blend-mode:multiply}
html[data-look=night] .fs{--top:#0b1210;--topink:#d7ffe6;--topsub:#7fa592;--ok:#7dffb0;--diff:#7fd6ff;--far:#ff7a66;--acc:#ffb547;--soft:#0b1210;--line:#1c2e26}
html[data-look=night] .fs .band,html[data-look=night] .tt-door,html[data-look=night] .hero{background:#0b1210!important;border:1px solid #1f4434!important;box-shadow:0 0 40px rgba(125,255,176,.07) inset!important}
html[data-look=night] .card,html[data-look=night] .tt-card,html[data-look=night] .fs .card,html[data-look=night] .fs .step,html[data-look=night] .fs .nwcard{background-color:#0b1210!important;border-color:#1c2e26!important;box-shadow:none!important}
html[data-look=night] h1,html[data-look=night] .tt-door h1,html[data-look=night] .fs .band h1{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace!important;color:#a9ffcf!important;text-shadow:0 0 10px rgba(125,255,176,.55),0 0 2px rgba(125,255,176,.9);letter-spacing:-.03em!important}
html[data-look=night] h2,html[data-look=night] .fs h2,html[data-look=night] .kick,html[data-look=night] .tt-k{font-family:ui-monospace,Menlo,monospace!important;color:#ffb547!important;text-shadow:0 0 8px rgba(255,181,71,.45);text-transform:uppercase;letter-spacing:.06em}
html[data-look=night] .tt-door h1 em{color:#ffb547!important;text-decoration:none!important}
html[data-look=night] .tt-door h1::after,html[data-look=night] .hero h1::after{content:"▌";animation:tt-caret 1s steps(1) infinite;color:#7dffb0;margin-left:.1em}
@keyframes tt-caret{50%{opacity:0}}
html[data-look=night] .tt-try{background:#05070a!important;color:#d7ffe6!important;border:1px solid #1f4434!important;box-shadow:none!important}
html[data-look=night] .tt-btn,html[data-look=night] .btn{background:transparent!important;color:#7dffb0!important;border:1px solid #2f6b4c!important;border-radius:4px!important;font-family:ui-monospace,Menlo,monospace!important}
html[data-look=night] .tt-btn.g,html[data-look=night] .btn.go{background:#7dffb0!important;color:#05070a!important;box-shadow:0 0 16px rgba(125,255,176,.4)!important}
html[data-look=night] .tt-btn.r{color:#ff7a66!important;border-color:#ff7a66!important}
html[data-look=night] .tt-game{background:#0b1210!important;border:1px solid #1c2e26!important}
html[data-look=night] .tt-wire{background:#05070a;border-color:#1c2e26;font-family:ui-monospace,Menlo,monospace}
html[data-look=night] .tt-wire .tt-lab{background:#ffb547;color:#05070a}
html[data-look=night] .fs .cards,html[data-look=night] .fs .nwgrid{gap:10px}html[data-look=night] .fs .card{padding:14px}

/* ======================= ARCADE: loud, chunky, bouncy ======================= */
html[data-look=arcade]{--color-bg:#fff4d6;--color-fg:#1b1b1b;--color-fg-muted:#4a4232;--color-panel:#ffffff;--color-border-line:#1b1b1b;--cds-chart-grid:#f0e2bb;--cds-text-secondary:#4a4232;--font-anthropic-sans:ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold",system-ui,sans-serif;
 --bg:#fff4d6;--fg:#1b1b1b;--sub:#4a4232;--panel:#ffffff;--line:#1b1b1b;--acc:#ff3d7f;--top:#00c2ff;--top2:#0090c0;--lime:#ffd23f;--sans:ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold",system-ui,sans-serif;--shadow:5px 6px 0 #1b1b1b;--tt-glow:rgba(255,61,127,.14);color-scheme:light}
html[data-look=arcade] body{background:#fff4d6 radial-gradient(#f2d98e 1.6px,transparent 1.8px) 0 0/22px 22px}
html[data-look=arcade] .fs{--top:#00c2ff;--topink:#1b1b1b;--topsub:#103a4a;--ok:#13a35a;--diff:#1b1b1b;--far:#ff3d7f;--acc:#ff3d7f;--soft:#ffffff;--line:#1b1b1b}
html[data-look=arcade] .fs .band,html[data-look=arcade] .tt-door,html[data-look=arcade] .hero{background:#00c2ff!important;color:#1b1b1b!important;border:3px solid #1b1b1b!important;box-shadow:8px 9px 0 #1b1b1b!important;border-radius:22px!important}
html[data-look=arcade] .tt-door canvas,html[data-look=arcade] .hero canvas{opacity:.35}
html[data-look=arcade] .tt-door h1,html[data-look=arcade] .hero h1,html[data-look=arcade] .tt-door p,html[data-look=arcade] .hero .lede{color:#1b1b1b!important}
html[data-look=arcade] h1,html[data-look=arcade] .fs .band h1{font-weight:900!important;letter-spacing:-.035em!important}
html[data-look=arcade] .tt-door h1 em{color:#1b1b1b!important;background:#ffd23f;text-decoration:none!important;padding:0 .12em;border-radius:6px;display:inline-block;transform:rotate(-2deg)}
html[data-look=arcade] .tt-door .tt-k,html[data-look=arcade] .hero .kick{color:#1b1b1b!important;background:#fff;display:inline-block;padding:4px 8px;border:2px solid #1b1b1b;border-radius:8px;transform:rotate(-2deg)}
html[data-look=arcade] .card,html[data-look=arcade] .tt-card,html[data-look=arcade] .fs .card,html[data-look=arcade] .fs .step,html[data-look=arcade] .fs .nwcard{border:3px solid #1b1b1b!important;box-shadow:5px 6px 0 #1b1b1b!important;border-radius:16px!important;transform:rotate(var(--tilt,0deg)) perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .25s cubic-bezier(.2,1.6,.4,1),box-shadow .2s}
html[data-look=arcade] .fs .card:nth-child(odd),html[data-look=arcade] .fs .step:nth-child(odd),html[data-look=arcade] main>.card:nth-of-type(odd){--tilt:-.8deg}
html[data-look=arcade] .fs .card:nth-child(even),html[data-look=arcade] .fs .step:nth-child(even),html[data-look=arcade] main>.card:nth-of-type(even){--tilt:.7deg}
html[data-look=arcade] .card:hover,html[data-look=arcade] .tt-card:hover,html[data-look=arcade] .fs .card:hover{box-shadow:9px 11px 0 #1b1b1b!important}
html[data-look=arcade] .tt-btn,html[data-look=arcade] .btn{border:3px solid #1b1b1b!important;box-shadow:4px 5px 0 #1b1b1b!important;border-radius:14px!important;background:#fff!important;color:#1b1b1b!important;font-weight:900!important}
html[data-look=arcade] .tt-btn:active,html[data-look=arcade] .btn:active{transform:translate(4px,5px)!important;box-shadow:none!important}
html[data-look=arcade] .tt-btn.g,html[data-look=arcade] .btn.go{background:#7cf29c!important}html[data-look=arcade] .tt-btn.r,html[data-look=arcade] .btn.no{background:#ff3d7f!important}html[data-look=arcade] .tt-btn.y,html[data-look=arcade] .btn.gold{background:#ffd23f!important}
html[data-look=arcade] .tt-labels li{color:#1b1b1b!important;background:#fff!important;border:2px solid #1b1b1b!important}
html[data-look=arcade] .tt-try{border:3px solid #1b1b1b!important;box-shadow:6px 7px 0 #1b1b1b!important;transform:rotate(1.2deg)!important}
html[data-look=arcade] .tt-game{background:#ffd23f!important;color:#1b1b1b!important}html[data-look=arcade] .tt-game span,html[data-look=arcade] .tt-game small{color:#1b1b1b!important}
html[data-look=arcade] .tt-game .tt-squares i{background:#1b1b1b}
html[data-look=arcade] .tt-wire{border:3px solid #1b1b1b;box-shadow:4px 5px 0 #1b1b1b;background:#fff}
html[data-look=arcade] .tt-wire .tt-lab{background:#ff3d7f}
html[data-look=arcade] .tt-bar a[aria-current=page]{border-color:#ff3d7f}
html[data-look=arcade] .tt-bar .tt-home i{background:#ff3d7f;animation:tt-bob 1.4s ease-in-out infinite}
@keyframes tt-bob{50%{transform:translateY(-4px)}}
html[data-look=arcade] .fs .figs b,html[data-look=arcade] .fs .fig b{font-weight:900}


/* find your look */
.tt-quiz{position:fixed;inset:0;z-index:95;background:rgba(6,14,12,.62);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;padding:16px;animation:tt-fadein .25s ease-out}
.tt-qcard{width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#0f1715;color:#eef5f1;border:1px solid #2a3a35;border-radius:24px;padding:clamp(18px,4vw,30px);box-shadow:0 30px 80px rgba(0,0,0,.5);font:500 16px/1.45 ui-sans-serif,-apple-system,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;animation:tt-pop .35s cubic-bezier(.2,1.3,.4,1)}
.tt-qcard h2{font:800 clamp(24px,4.6vw,32px)/1.1 inherit;letter-spacing:-.02em;margin:4px 0 8px;color:#fff}.tt-qcard p{color:#a9bbb4;margin:0 0 14px}
.tt-qk{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#d9f99d}
.tt-qdots{display:flex;gap:6px;margin-bottom:14px}.tt-qdots i{flex:1;height:4px;border-radius:4px;background:#24332e;transition:background .3s}.tt-qdots i.on{background:#d9f99d}
.tt-qopts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0}
.tt-qopts.pic{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.tt-qo{all:unset;cursor:pointer;box-sizing:border-box;border:1px solid #2f433c;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:16px;color:#fff;transition:transform .2s cubic-bezier(.2,1.6,.4,1),border-color .2s,background .2s;animation:tt-rise .4s cubic-bezier(.2,.8,.2,1) both}
@keyframes tt-rise{from{opacity:0;transform:translateY(10px)}}
.tt-qo:hover{transform:translateY(-3px) rotate(-.5deg);border-color:#d9f99d}.tt-qo:focus-visible{outline:3px solid #00a078;outline-offset:2px}
.tt-qo[aria-pressed=true]{background:#d9f99d;color:#06281f;border-color:#d9f99d}
.tt-qnav{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:6px}
.tt-qlink{all:unset;cursor:pointer;font-weight:650;font-size:15px;color:#d9f99d;text-decoration:underline;text-underline-offset:3px}.tt-qlink:focus-visible{outline:2px solid #00a078;outline-offset:3px}
.tt-qfine{font-size:13px!important;margin-top:14px!important}.tt-qfine a{color:#d9f99d}
.tt-mini.big{display:block;height:120px;margin:6px 0 14px}
.tt-offer{margin-top:16px}.tt-offer .tt-qlink{color:var(--acc,#00a078)}
@media (prefers-reduced-motion:reduce){.tt-quiz,.tt-qcard,.tt-qo{animation:none!important}}

/* the old front-page Look menu is replaced by the eye */
.fs .bar label:has(#fs-look){display:none!important}

/* reduced motion or "keep it still": nothing moves on its own */
html[data-motion=still] .tt-float .wing,html[data-motion=still] .tt-float .spin,html[data-motion=still] .tt-float .ring,html[data-motion=still] .tt-bar .tt-home i,html[data-motion=still] .tt-door h1::after,html[data-motion=still] .hero h1::after{animation:none!important}
html[data-motion=still] .card,html[data-motion=still] .tt-card{transition:none!important}
@media (prefers-reduced-motion:reduce){.tt-float .wing,.tt-float .spin,.tt-float .ring,.tt-panel,.tt-bar .tt-home i,html[data-look=night] .tt-door h1::after,html[data-look=night] .hero h1::after{animation:none!important}.tt-lookbtn{transition:none}html.tt-vt::view-transition-new(root){animation:none!important}}
@media print{.tt-amb,.tt-float,.tt-lookbtn,.tt-panel,.tt-cross,.tt-fx{display:none!important}}
@media (max-width:560px){.tt-toast{max-width:calc(100vw - 92px)!important}.tt-lookbtn{width:48px;height:48px}}

/* ---------- simple view (guide.js): the front page leads with three cards; the full record waits one tap away ---------- */
html[data-mode=simple]:not(.tt-deep) .rc-page>#fs-top,html[data-mode=simple]:not(.tt-deep) .rc-page>.tt-wire,html[data-mode=simple]:not(.tt-deep) .rc-page>.tt-door,html[data-mode=simple]:not(.tt-deep) .rc-page>.tt-slim,html[data-mode=simple]:not(.tt-deep) .rc-page>.rc-foot{display:none}
