/* Visual polish pass 1. Story and gesture timing remain in app.js. */
#stack{inset:max(18px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(38px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
#board{filter:brightness(.87) contrast(.98);transition:filter .65s}
#board.revealed{filter:brightness(.94) contrast(1.02)}
.card{border-radius:12px;border:1px solid #fff9;box-shadow:0 1px 1px #28190ed9,0 5px 7px #160d0bb0,2px 18px 30px #0008}
.edge{border:1px solid #69574450;box-shadow:0 2px 2px #28190eb0,0 6px 9px #0006}
.edge-1{transform:translate(5px,10px) rotate(-1.8deg);background:#e9e1cf}
.edge-2{transform:translate(-5px,20px) rotate(2deg);background:#cac2ae}
.edge-3{transform:translate(3px,27px) rotate(-.8deg);background:#efdfc3}
.active{rotate:-.22deg;transition:box-shadow .2s;isolation:isolate}
.active::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:repeating-linear-gradient(0deg,#71634505 0 1px,transparent 1px 4px),linear-gradient(110deg,#fff6,transparent 30%,#73664109);border-radius:inherit}
.active .card-content{position:relative;z-index:1}
.active.personal{rotate:.12deg}
.early-swipe-hint{background:transparent;color:#4b574c;font:12px/1.2 ui-monospace,monospace;letter-spacing:.03em;padding:0 12px;min-height:44px;font-weight:400}
.early-swipe-hint::before{content:"↑ ";font-size:16px}
/* Restrained product registration: one canonical hero, an embossed seal. */
.activation{background:#f1eee4;padding:clamp(20px,6vw,32px)}
.activation .card-content{gap:clamp(10px,2dvh,22px);justify-content:center}
.activation .eyebrow{font-size:11px;border-bottom:1px solid #a3aa9770;padding-bottom:13px;letter-spacing:.09em}
.product-hero{position:relative;flex:1;min-height:100px;max-height:300px;display:flex;align-items:center;justify-content:center;margin:12px 0}
.product-hero::before{content:"";position:absolute;width:85%;height:80%;border:1px solid #d4d3c6;border-radius:50%;background:radial-gradient(ellipse,#e4e6d6,transparent 70%)}
.product-hero .turtle{height:100%;max-height:280px;width:95%;filter:drop-shadow(0 12px 9px #4d533126)}
.product-seal{position:absolute;bottom:0;right:1px;border:1px solid #afb29c;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font:10px Georgia,serif;color:#777f64;background:#f1eee4}
.activation .title{font-size:clamp(25px,6.8vw,34px);letter-spacing:-.045em;font-weight:750}
.activation .subtitle{font:italic 17px Georgia,serif;color:#707761}
.activation .body{font-size:16px;line-height:1.55;margin:4px 0 10px}
.activation button[data-action=activate]{background:#253a2a;border:1px solid #17251c;box-shadow:inset 0 1px 0 #ffffff25,0 3px 4px #14281420;border-radius:5px;min-height:50px}
.activation .fine{font-size:11px;line-height:1.6;margin-top:5px}
.activation-status{font-size:12px;min-height:66px;border-top:1px solid #b1b5a2;padding-top:9px}
/* Industrial service printout, with a slightly misplaced phone at the paw. */
.diagnostics{background:#e1e5dc;border-radius:9px}
.diagnostics .card-content{justify-content:flex-start;gap:12px}
.system-label{border-top:5px solid #263c30;border-bottom:1px solid #66715b;padding:9px 0;font-size:11px}
.diagnostic-grid{flex:1;align-content:start;gap:10px;border-left:1px solid #76836c;padding:8px 0 0 12px;min-height:0}
.diagnostic-row{border-bottom:1px dashed #66715b70;font-size:12px;padding-bottom:7px;line-height:1.35}
.nokia-scene{height:clamp(120px,25dvh,220px);min-height:105px;flex-shrink:0;margin:0 -14px -8px}
.nokia-scene .turtle{width:100%;height:100%;max-height:220px;transform:translateX(17px) rotate(-5deg)}
.nokia-scene .turtle img{filter:contrast(1.12);object-position:center bottom}
.nokia{box-shadow:4px 5px 0 #0005;border-color:#83909b;font-size:8px}
.nokia span{font-size:12px;line-height:1.2}.nokia-scene .speech{left:5%;top:5%;padding:7px 10px;transform:rotate(7deg);border:1px solid #555;box-shadow:2px 3px #0002}
/* Identification form: Turtle interrupts at the edge of the document. */
.owner{background:#f5f0df}.owner .card-content{gap:10px;justify-content:center}
.owner .eyebrow{border-bottom:2px solid #303b2e;padding-bottom:9px}
.owner .mono{font-size:12px;color:#64745a}.owner .title{font:700 clamp(29px,8vw,40px)/1.1 Georgia,serif;letter-spacing:0}
.owner .system-block{border-bottom:1px dashed #777861;font-size:13px}.owner .redacted{background:#dedacb;padding:8px;rotate:-1deg}
.owner-intrusion{display:grid;grid-template-columns:70px 1fr;gap:6px;align-items:center;margin:0 -10px 0 -18px}
.owner-intrusion .turtle{width:110px;height:100px;transform:translateX(-20px) rotate(11deg);filter:drop-shadow(2px 2px white)}
.owner-intrusion .speech{font-size:14px;rotate:-2deg;border:1px solid #60634c;border-radius:8px 4px 14px 0;background:#fffdf2;box-shadow:2px 3px #36332125}
/* Reusable physical marks: tape, an approval stamp, and one coffee ring. */
.audit{background-color:#f5efdd;background-image:repeating-linear-gradient(0deg,transparent 0 24px,#89978019 24px 25px);rotate:.35deg}
.audit::after,.baggage::after,.internet::after,.envelope::after{content:"";position:absolute;width:65px;height:20px;background:linear-gradient(90deg,#e1d49c55,#fff6c390,#dccd9255);border:1px solid #fff8;box-shadow:0 1px 1px #4a391620;pointer-events:none;transform:rotate(-9deg)}
.audit::after{top:6px;right:32px;z-index:2}.audit .eyebrow{font-size:12px;letter-spacing:.02em}.audit-list{font-size:13px;line-height:1.65}
.audit .approved{align-self:flex-start;border:3px double #965743;padding:12px 15px;color:#8e4535;font:800 clamp(19px,5.5vw,25px)/1.15 ui-monospace,monospace;transform:rotate(-3deg);margin:9px 0}
.audit .speech{background:transparent;border:0;border-radius:0;font:italic 18px Georgia,serif;padding-left:14px;color:#555c47}.audit button{border-radius:2px;background:#444b37}
.baggage{background:#e4d9bd;rotate:-.45deg}.baggage::after{top:8px;left:18px;transform:rotate(7deg);z-index:2}
.baggage .eyebrow{border-bottom:3px solid #b45b38;padding-bottom:12px;color:#8e3a24;font-size:13px}
.baggage .system-block{border-left:2px solid #978064;padding:10px 12px;font-size:14px;line-height:1.5}
.baggage .subtitle{font:700 17px/1.3 ui-monospace,monospace;border:1px dashed #a05633;padding:9px}.baggage .speech{border:0;background:#fff8;border-radius:2px;rotate:1deg}
.baggage .card-content::after{content:"";position:absolute;right:-18px;top:25%;width:85px;height:85px;background:url('assets/decor/coffee-ring.svg') center/contain;pointer-events:none;z-index:-1}
.terminal{border:2px solid #667762;border-radius:5px;box-shadow:inset 0 0 0 3px #182918,0 6px 8px #000b,0 18px 30px #0007}
.terminal .card-content{gap:14px}.terminal-lines{border-left:1px solid #325335;padding-left:9px;gap:7px}.terminal-row{font-size:11px;line-height:1.5}
.terminal button{background:transparent;color:#9aedaa;border:1px solid #79b88a;border-radius:0;box-shadow:2px 2px #335138;font:700 14px monospace;align-self:flex-start;padding:10px 22px}
.stop{font-size:clamp(28px,8vw,40px);background:#d8edaa;color:#001800;rotate:-1deg;padding:3px 5px}.terminal .large{font-size:clamp(24px,7vw,34px)}
/* Personal home page, badly pasted photograph and mechanical visitor counter. */
.secret{background:#30007c;background-image:radial-gradient(circle at 12% 16%,#ffffb5 0 1px,transparent 2px),radial-gradient(circle at 80% 70%,#fff 0 1px,transparent 2px);background-size:34px 39px,51px 47px;color:#ffea00;border:5px ridge #b863ff;border-radius:7px;rotate:.45deg}
.secret .card-content{gap:11px;justify-content:space-between}.secret .fire{background:#ff6b00;border:2px dashed #ff0;font-size:17px;rotate:2deg}.secret .wordart{font-size:clamp(25px,7.5vw,34px);line-height:1.08;margin:2px -8px;color:#ffeb00;text-shadow:3px 4px #fb00a6,-2px -1px #fff;rotate:-1deg}
.secret .rainbow{color:#0f0;font-size:clamp(17px,5vw,23px);background:#000;outline:2px solid #ff00ea;width:88%;align-self:center;text-shadow:2px 2px blue;rotate:2deg;padding:6px}
.internet{position:relative;align-self:center;width:78%;height:clamp(100px,23dvh,180px)!important;max-height:180px!important;min-height:75px;background:#c8cebf;border:5px outset #e7e4d9;transform:rotate(7deg);box-shadow:7px 7px 0 #f0f,9px 10px 0 #000}
.internet img{width:120%;max-width:none;object-fit:contain;transform:scaleX(-1) translateX(-5px);filter:contrast(1.3);image-rendering:pixelated}.internet::after{left:25%;top:-14px;transform:rotate(-20deg)}
.secret .visitors{font-size:12px;line-height:1.3}.visitor-counter{font:700 13px/1.5 monospace;background:#0b0b0b;border:2px inset #bbb;color:#0f0;padding:3px 5px;display:inline-block;letter-spacing:.025em}
.visitor-line:first-child{font-size:20px;letter-spacing:35px;margin-left:30px}.visitor-line:last-child{color:#fff;font-size:19px;letter-spacing:2px;margin-top:3px}
.secret button{border-radius:0;font-size:19px;min-height:50px;align-self:center;width:90%;rotate:-2deg;background:#0000c9;border:4px outset #ddd;box-shadow:4px 4px #ff0}
/* A printout of an old dialog, not an operating system. */
.file{background:#eee6d4;border:1px solid #ded3b8;border-radius:9px;rotate:-.4deg}
.file .card-content{background:#bdbdbd;border:3px outset #eee;box-shadow:6px 7px 0 #5b554b;transform:rotate(.6deg);padding:12px;flex:0 1 auto;margin:auto 0;gap:10px}
.window-bar{margin:-12px -12px 0;padding:9px;font:700 12px Arial,sans-serif;box-shadow:inset -24px 0 #c6c6c6}
.folders{font:14px/1.2 "Courier New",monospace;padding:0 5px}.filename{font:bold 14px/1.35 "Times New Roman",serif;padding:12px 8px;border:2px inset #ddd;overflow-wrap:anywhere;word-break:normal;rotate:-.6deg}
.file .fine{opacity:1;color:#222;font-size:12px;line-height:1.4;padding-left:18px;position:relative}.file .fine::before{content:"⚠";position:absolute;left:0;color:#873600;font-size:15px}.button-row{gap:12px}.file button{padding:8px 10px;min-height:44px}
/* Photo comic: different bubble widths, crooked envelope, intruding crop. */
.comic{background:#efd6c8;background-image:linear-gradient(35deg,#d594b3aa,transparent 50%);rotate:-.55deg}
.comic .card-content{justify-content:center;gap:12px}.bubbles{display:grid;grid-template-columns:1fr 1fr;gap:9px 5px;position:relative;z-index:2}
.comic .speech{background:#ffffe8;border:2px solid #171314;box-shadow:3px 4px 0 #31202355;line-height:1.3;border-radius:45% 20% 25% 15%;padding:12px 14px;font-size:15px}
.bubbles .speech:nth-child(1){grid-column:1/3;width:87%;rotate:-3deg}.comic .bubbles .speech:nth-child(2){grid-column:1/3;width:92%;justify-self:end;margin:0;rotate:2deg}
.bubbles .speech:nth-child(3){align-self:start;width:75%;rotate:-7deg}.comic .bubbles .speech:nth-child(4){margin:0;rotate:6deg}.bubbles .speech:nth-child(5){grid-column:1/3;width:80%;rotate:-1deg;justify-self:start}
.mail-scene{height:clamp(110px,24dvh,220px);min-height:85px;margin:-13px -25px -10px;z-index:1}
.mail-scene .turtle{height:100%;max-height:220px;width:100%;transform:translateX(-28px) rotate(8deg);filter:drop-shadow(6px 2px 0 white)}
.mail-scene img{max-width:115%;transform:scaleX(-1)}
.envelope{right:3%;bottom:4%;width:47%;background:#fff6cf;transform:rotate(-17deg);padding:16px 8px;box-shadow:7px 2px 0 #0004;border:3px solid #b9a581;font-size:13px;line-height:1.6;z-index:3}.envelope::after{left:15%;top:-11px;width:60px;transform:rotate(13deg)}
.mail-confession{z-index:3;width:92%;align-self:end;rotate:1.5deg}.mail-confession .speech{font-size:14px;border-radius:10% 40% 30% 15%}.tiny{padding-top:5px}.comic button{border:2px outset #eee;border-radius:3px;background:#6c183d;box-shadow:3px 3px #3d1124}
/* Turtle's overconfident airline stationery. */
.ticket{background:#f0e3bf;color:#292e52;border-radius:8px;rotate:.45deg}
.ticket .card-content{gap:12px}.airline{font:900 italic clamp(24px,7vw,32px)/1.05 "Times New Roman",serif;letter-spacing:-1px;color:#06268d;rotate:-2deg;text-shadow:1px 1px #fff,2px 2px #daa146;padding:0 20px 0 0}
.ticket-seal{position:absolute;right:-10px;top:15px;width:54px;height:54px;border:3px double #924b42;color:#924b42;border-radius:50%;display:grid;place-items:center;font-size:30px;rotate:19deg;opacity:.8}
.ticket .eyebrow{letter-spacing:.11em;font-size:11px}.ticket-fields{border-color:#656046;border-width:2px;background:#fff5;padding:12px 8px;gap:10px 8px;grid-template-columns:.8fr 1.2fr}
.ticket-fields .value{font:700 13px/1.25 "Courier New",monospace;letter-spacing:-.035em}.ticket-fields .label{font-size:10px;opacity:.8}.ticket-fields .value:nth-child(8){rotate:2deg;color:#714230}
.barcode{height:25px;width:60%;flex-shrink:0;background:repeating-linear-gradient(90deg,#292e52 0 1px,transparent 1px 3px,#292e52 3px 6px,transparent 6px 7px,#292e52 7px 9px,transparent 9px 13px);transform:rotate(-1deg);opacity:.85}
.ticket .speech{font:italic 15px/1.4 Georgia,serif;rotate:-2deg;border:0;border-radius:0;background:#fff9;box-shadow:3px 3px #574b2426}.ticket button{border-radius:0;background:#28356a;box-shadow:3px 3px #6b6550;font-size:12px}
.ticket::after{content:"";position:absolute;bottom:-1px;right:-1px;width:24px;height:24px;background:linear-gradient(135deg,#dbccaa 50%,#6c5137 51%);clip-path:polygon(100% 0,100% 100%,0 100%);pointer-events:none}
/* Gift reveal: loud headline first; collage occupies its own space. */
.vietnam{background:#ffed24;background-image:linear-gradient(175deg,#ff2800 0 52%,#ffca00 52% 100%);rotate:-.35deg;border:3px solid #ffdb04}
.vietnam .card-content{gap:12px;justify-content:center}.flags{letter-spacing:8px;rotate:3deg;font-size:28px}.prize{font-size:clamp(30px,8.6vw,43px);line-height:1.1;color:#fffce4;text-shadow:3px 3px blue,-1px -1px red;letter-spacing:-.03em;margin:4px -8px;z-index:4}
.reveal-collage{position:relative;min-height:105px;height:clamp(150px,29dvh,245px);flex-shrink:1;margin:3px -18px;isolation:isolate}
.reveal-collage::before{content:"";position:absolute;inset:8% 13%;background:#fff700;clip-path:polygon(50% 0,58% 28%,78% 8%,72% 37%,100% 40%,77% 53%,98% 75%,68% 70%,68% 100%,49% 76%,27% 100%,31% 71%,1% 77%,24% 54%,0 35%,29% 35%,22% 9%,44% 27%);z-index:-1;rotate:11deg;transform:scale(1.2)}
.reveal-collage .turtle{width:91%;height:100%;max-height:none;transform:rotate(-10deg) translateX(12px);filter:drop-shadow(5px 4px white) drop-shadow(-4px 0 #d400f8)}
.reveal-collage .turtle img{max-width:105%;filter:contrast(1.2)}.reveal-collage .palms{position:absolute;inset:0 auto auto 0;line-height:1;font-size:34px;writing-mode:vertical-rl;letter-spacing:-3px;rotate:-14deg;z-index:2}
.reveal-collage .winner{right:-3px;bottom:5%;top:auto;border:4px dashed #0027ed;font:900 italic 18px "Times New Roman",serif;rotate:5deg;transform:rotate(10deg);padding:10px;box-shadow:3px 3px #e627b3}
.turtle > .hat{background:repeating-linear-gradient(8deg,#dcc28b 0 3px,#b5a265 3px 4px);filter:drop-shadow(3px 1px white)}
.vietnam .fine{font-size:12px;background:#fffbd5dd;color:#5a2507;padding:8px 9px;line-height:1.4;margin-top:8px;z-index:4}
.confetti{z-index:-1}.confetti i{width:8px;height:16px}
/* Quiet emotional reset stays untouched apart from the physical sheet. */
.personal::before{background:linear-gradient(110deg,#fff3,transparent)}
/* Seven visual beats over the existing six timed transitions. */
.vacation{background:#e8dbb0;background-image:linear-gradient(160deg,#81d7e4 0 49%,#dfc690 49%);rotate:.4deg}
.vacation .card-content{justify-content:center;gap:16px}.vacation .wordart{font-size:clamp(29px,8vw,39px);margin-bottom:8px;color:#faff00;rotate:3deg}.vacation-plan{background:#fff6cddd;padding:16px 8px;font-size:15px;line-height:1.9;rotate:-3deg;border:1px solid #998863;box-shadow:4px 5px #6b6b3440;z-index:2}
.vacation .relaxed{height:clamp(125px,27dvh,250px);max-height:250px;width:110%;align-self:center;transform:rotate(9deg) translateX(12px)}
.relaxed .glasses{left:12%;top:27%;font-size:clamp(32px,10vw,46px);rotate:8deg}.relaxed .cocktail{right:0;bottom:-4px;font-size:70px;rotate:-15deg}.vacation.beat-0 .speech{align-self:start;border-radius:2px;background:#fffdf0;rotate:-4deg;font-size:17px}
.vacation .distance{font-size:clamp(43px,13vw,66px);line-height:1.2;padding:18px 0;color:#122754;letter-spacing:-.055em;background:#fffbe9;border:2px solid #365389;box-shadow:5px 5px #222a5555;rotate:-2deg;z-index:3}
.vacation.beat-1 .speech,.vacation.beat-2 .speech,.vacation.beat-3 .speech{border:2px solid #222;background:#fffef1;align-self:end;rotate:6deg;padding:9px 18px;z-index:2}
.vacation.beat-1 .speech{font-size:23px}.vacation.beat-2 .speech{font-size:40px;font-weight:900}.vacation.beat-3 .speech{font-size:30px;rotate:-5deg}
.vacation .alarm{height:clamp(160px,39dvh,360px);max-height:360px;transform:rotate(-6deg)}.vacation .alarm-1 img{transform:scale(.8)}.vacation .alarm-2 img{transform:scale(1.18) translateX(9px)}.vacation .alarm-3 img{transform:scale(1.55) translateX(20px);object-position:left center}
.vacation.beat-4{background:#ece9dc}.vacation.beat-4 .card-content{gap:30px}.race-title{font:900 clamp(38px,11vw,54px)/.98 Arial,sans-serif;color:#b40e18;text-shadow:2px 2px #fff;letter-spacing:-.045em}.race-meta{font:700 18px/1.8 ui-monospace,monospace;letter-spacing:.01em;white-space:pre-line}
.vacation.beat-5{background:#ffd752;animation:card-panic .14s 4 alternate}.vacation.beat-5 .card-content{gap:15px;justify-content:space-around}
.panic-crop{height:65%;min-height:170px;overflow:hidden;margin:0 -30px;background:#ecebdb;rotate:-3deg;border:6px ridge #faf2c0;box-shadow:6px 7px #be303770}
.panic-crop .turtle{height:100%;max-height:none;transform:none;animation:none;justify-content:start}.panic-crop img{height:100%;width:100%;max-width:none;object-fit:cover;object-position:0 50%;transform:scale(2.1);transform-origin:22% 55%;filter:contrast(1.2)}
.scream{font:900 clamp(29px,8vw,43px)/1.15 "Comic Sans MS",cursive;word-break:break-all;text-align:center;text-shadow:2px 2px white,4px 4px #650036;color:#ff001b;rotate:3deg;z-index:3}
.vacation.beat-6{background:#e9dfc7}.vacation.beat-6 .speech{font-size:clamp(21px,6vw,29px);line-height:1.5;background:transparent;border:0;padding:0;border-radius:0}
.vacation .chastened{height:clamp(75px,16dvh,135px);max-height:135px;width:50%;align-self:end;transform:rotate(4deg);filter:contrast(.85)}
.crossed{font:15px/1.4 monospace;text-decoration-color:#b53e28;text-decoration-thickness:3px;rotate:-2deg}.new-plan{font:900 20px/1.45 "Comic Sans MS",cursive;border-bottom:3px solid #9f3e32;padding:12px 0;rotate:1deg;color:#293c2b}
/* A brief counter misprint; serious enough to contrast with the panic. */
.passengers{background:#eeede4}.question{font-size:clamp(20px,5.8vw,25px);font-weight:850;line-height:1.1;margin:4px 0 8px;letter-spacing:-.02em}
.answers button{border-radius:2px;border:1px solid #7f8d91;box-shadow:2px 2px #51626a26;background:#f9f8f0;font-size:13px}.counter{font-family:ui-monospace,monospace}
.counter-glitch{animation:counter-glitch .18s 2;text-shadow:-3px 0 #e04739,3px 1px #318b99}.counter-changed{animation:counter-settle .3s;color:#af3e2b}.passengers .warning{padding:6px 0;border-top:1px dashed #959d93}
/* A straight-to-DVD poster with no visual dignity left. */
.finale{background:#320526;background-image:radial-gradient(ellipse at 70% 28%,#fbc147 0,#fa6034 28%,#86122c 56%,#170925 90%);border:3px ridge #eda124;rotate:-.45deg}
.finale .card-content{gap:13px;justify-content:center}.poster-title{font:900 clamp(28px,8vw,38px)/1.08 "Times New Roman",serif;color:#fff92c;text-shadow:2px 2px blue,4px 4px #180009,-1px -1px #fff;letter-spacing:-.025em;rotate:-3deg;z-index:3}
.poster-collage{position:relative;height:clamp(155px,33dvh,310px);min-height:105px;margin:0 -24px;isolation:isolate;flex-shrink:1}
.poster-collage::before{content:"";position:absolute;inset:0;background:linear-gradient(166deg,transparent 42%,#ffffd54d 44%,#fff8 44.6%,transparent 46%),linear-gradient(22deg,transparent 57%,#fff8 58%,transparent 60%);pointer-events:none;z-index:-1}
.poster-collage .turtle{height:100%;max-height:none;width:100%;transform:rotate(6deg) translateX(-5px);filter:drop-shadow(7px 2px white) drop-shadow(-3px 4px #f2ff00)}
.poster-collage .turtle img{max-width:110%;transform:scaleX(-1);filter:contrast(1.2)}
.poster-collage .suitcase{right:0;bottom:4%;font-size:clamp(55px,18vw,80px);transform:rotate(-23deg) scaleX(.85);text-shadow:6px 7px #0009}
.poster-plane{position:absolute;left:2%;top:4%;font-size:43px;color:#fff;rotate:-24deg;text-shadow:3px 5px #502667;z-index:2}.poster-flag{position:absolute;right:1%;top:3%;font-size:34px;rotate:15deg;z-index:2}
.finale .speech{border:2px solid #280e0e;border-radius:12% 30% 10% 20%;rotate:2deg;box-shadow:4px 4px #0006;font-size:16px;line-height:1.3;padding:10px;z-index:3;background:#fff2c5}
.lockup{font:900 clamp(21px,6vw,27px)/1.15 Arial,sans-serif;letter-spacing:-.04em;text-shadow:2px 3px #ee001d;rotate:-1deg}
.poster-meta{font:700 14px/1.3 monospace;letter-spacing:.03em}.finale .subtitle{font:italic 18px Georgia,serif;color:#ffd751}.finale .fine{font-size:11px;line-height:1.5;color:#fff;opacity:1;text-shadow:1px 1px #000;background:#15071c70;padding:7px 4px;margin-top:2px;z-index:3}
@keyframes counter-glitch{25%{transform:translateX(-4px);opacity:.7}70%{transform:translateX(3px)}}
@keyframes counter-settle{from{transform:scale(1.3);text-shadow:-3px 0 #3c8599}to{transform:scale(1)}}
@keyframes card-panic{to{translate:2px -2px}}
/* Recompose dense artifacts for shorter phones, keeping headings and controls strong. */
@media(max-height:700px){
 #stack{top:max(16px,env(safe-area-inset-top));bottom:max(34px,env(safe-area-inset-bottom))}
 .active{padding:16px 17px}.card-content{gap:9px}
 .activation{padding:17px 20px}.activation .card-content{gap:9px}.product-hero{min-height:80px;max-height:140px;margin:3px 0}.product-hero .turtle{max-height:135px}.product-seal{width:30px;height:30px;font-size:8px}.activation .title{font-size:25px}.activation .subtitle{font-size:15px}.activation .body{font-size:14px;margin:0 0 2px}.activation .fine{font-size:10px;line-height:1.4;margin-top:0}.activation .eyebrow{font-size:10px;padding-bottom:8px}.activation button[data-action=activate]{min-height:44px}.activation-status{min-height:58px;font-size:10px}footer{margin-top:1px}
 .diagnostics .card-content{gap:7px}.system-label{font-size:10px;padding:5px 0}.diagnostic-grid{gap:6px;padding:3px 0 0 10px}.diagnostic-row{font-size:10px;line-height:1.25;padding-bottom:4px}.nokia-scene{height:112px;min-height:100px;margin-bottom:-9px}.nokia{font-size:7px;padding:6px 3px;border-width:3px}.nokia span{font-size:10px;margin-top:3px}.nokia div{padding:4px 1px}
 .owner .card-content{gap:7px}.owner .eyebrow{font-size:10px;padding-bottom:6px}.owner .title{font-size:29px}.owner .system-block{font-size:12px;padding-bottom:5px}.owner .redacted{font-size:12px;padding:6px}.owner-intrusion{grid-template-columns:60px 1fr}.owner-intrusion .turtle{height:78px;width:100px}.owner-intrusion .speech{font-size:12px;padding:7px}
 .audit-list{font-size:11px;line-height:1.5}.audit .eyebrow{font-size:10px}.audit .approved{font-size:20px;padding:9px 12px;margin:7px 0}.audit .speech{font-size:15px;padding:5px 9px}
 .terminal-lines{gap:5px}.terminal-row{font-size:9px;line-height:1.4}.terminal .card-content{gap:10px}.terminal .large{font-size:23px}.stop{font-size:26px}.terminal button{min-height:44px;font-size:13px}
 .baggage .system-block{font-size:12px;line-height:1.4;padding:8px 10px}.baggage .eyebrow{font-size:11px;padding-bottom:8px}.baggage .subtitle{font-size:14px;padding:7px}
 .secret .card-content{gap:8px}.secret .fire{font-size:14px}.secret .wordart{font-size:25px}.secret .rainbow{font-size:17px;padding:5px}.internet{height:110px!important;min-height:85px}.secret .visitors{font-size:11px}.visitor-counter{font-size:11px}.visitor-line:first-child{font-size:15px;letter-spacing:25px}.visitor-line:last-child{font-size:16px}.secret button{font-size:17px;min-height:46px}
 .file .card-content{gap:8px;padding:10px}.window-bar{margin:-10px -10px 0;font-size:11px;padding:8px}.folders{font-size:12px;line-height:1.15}.filename{font-size:13px;padding:9px 7px}.file .fine{font-size:11px}.file button{font-size:12px}
 .comic .card-content{gap:10px}.bubbles{gap:7px 5px}.comic .speech{font-size:12px;padding:7px 10px}.mail-scene{height:115px;min-height:85px;margin:-8px -20px -5px}.mail-scene .turtle{max-height:125px}.envelope{font-size:11px;line-height:1.4;padding:12px 6px}.mail-confession .speech{font-size:12px}.tiny{font-size:10px;padding-top:3px}
 .ticket .card-content{gap:9px}.airline{font-size:25px}.ticket-seal{width:42px;height:42px;font-size:25px;right:-8px;top:7px}.ticket .eyebrow{font-size:10px}.ticket-fields{gap:7px 8px;padding:9px 6px}.ticket-fields .value{font-size:12px}.ticket-fields .label{font-size:10px}.barcode{height:20px}.ticket .speech{font-size:13px;line-height:1.3;padding:9px}.ticket button{font-size:11px}
 .vietnam .card-content{gap:9px}.vietnam .prize{font-size:28px;line-height:1.08}.flags{font-size:23px}.reveal-collage{height:150px;min-height:110px;margin:3px -10px}.reveal-collage .palms{font-size:27px}.reveal-collage .winner{font-size:14px;padding:7px;border-width:3px}.vietnam .fine{font-size:11px;padding:7px;margin-top:5px}
 .vacation .card-content{gap:12px}.vacation .wordart{font-size:28px;margin-bottom:0}.vacation-plan{font-size:13px;line-height:1.7;padding:12px 7px}.vacation .relaxed{height:135px;max-height:135px}.relaxed .cocktail{font-size:52px}.vacation.beat-0 .speech{font-size:15px}.vacation .distance{font-size:42px;padding:14px 0}.vacation .alarm{height:220px;max-height:220px}.vacation.beat-3 .alarm{height:200px}.race-title{font-size:39px}.race-meta{font-size:16px}.panic-crop{height:65%;min-height:170px;margin:0 -18px}.scream{font-size:31px}.vacation.beat-6 .speech{font-size:22px}.vacation .chastened{height:80px;max-height:80px}.new-plan{font-size:17px;padding:9px 0}
 .passengers .card-content{gap:5px}.passengers .eyebrow{font-size:10px}.passengers .question{font-size:18px;margin:3px 0 4px}.passengers .warning{font-size:11px;padding:5px 0}.answers{gap:5px}.answers button{font-size:12px;padding:8px;min-height:44px}.counter{font-size:40px}
 .finale .card-content{gap:10px}.poster-title{font-size:27px}.poster-collage{height:165px;min-height:110px;margin:0 -18px}.poster-plane{font-size:31px}.poster-flag{font-size:26px}.poster-collage .suitcase{font-size:55px}.finale .speech{font-size:13px;padding:8px}.lockup{font-size:21px}.poster-meta{font-size:12px}.finale .subtitle{font-size:16px}.finale .fine{font-size:10px;line-height:1.4;padding:5px 3px}
}
@media(prefers-reduced-motion:reduce){.vacation.beat-5,.counter-glitch,.counter-changed{animation:none!important}.active{translate:none}.panic-crop img{transform:scale(1.3)}}
.active.is-dragging{box-shadow:0 2px 2px #160b0866,4px 28px 38px #0009,0 0 1px #000;cursor:grabbing}
.counter{align-self:flex-start;min-width:1ch;transform-origin:left center}
