:root{font-family:Arial,Helvetica,sans-serif;color-scheme:dark;color:#f4f6fa;background:#090c11;--blue:#117bea;--red:#ec174b;--muted:#9caabd;--line:#2e3b4e;--panel:#121b29}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}[hidden]{display:none!important}.overlay-page{width:100vw;height:100dvh;overflow:hidden;display:grid;place-items:center;background:#080a0d}.stage-shell{position:relative;width:min(100vw,56.25dvh);height:min(100dvh,177.7778vw);overflow:hidden}.stage{position:absolute;inset:0;width:1080px;height:1920px;transform-origin:top left;overflow:hidden;background:#302719;isolation:isolate}.scene-art{position:absolute;inset:-3.5% -10% -16.5%;background:url('/assets/hamsters-poster.jpg') center top/100% 100% no-repeat;z-index:-3}.scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,#09070cb8 0%,#0000 35%,#0000 53%,#060809d4 88%,#060809 100%);z-index:-2}.overlay-header{position:absolute;top:26px;left:30px;right:30px;display:flex;justify-content:space-between;align-items:center;gap:12px}.satire-label{background:#0c111dde;color:#e7ebf0;border:1px solid #c3cfdf63;padding:10px 16px;border-radius:7px;font-size:22px;font-weight:700}.status-pill{font-size:20px;font-weight:800;padding:10px 17px;border-radius:99px;background:#131b24db;border:1px solid #ffffff40;white-space:nowrap}.status-pill.online{color:#78f4b4;border-color:#56b47f}.status-pill.offline{color:#ffd395;border-color:#e4a14885}.test-badge{position:absolute;left:30px;top:83px;padding:7px 15px;background:#ffc94b;color:#1c170a;font-size:24px;font-weight:900;border:2px solid #fff0ae;border-radius:6px;z-index:15}.command-board{position:absolute;top:145px;left:25px;right:25px;display:grid;grid-template-columns:1fr 1fr;gap:14px;z-index:2}.command-column h1{margin:0 0 10px;padding:16px 9px;border:3px solid #ffffff92;border-radius:9px;font-size:31px;letter-spacing:.5px;text-align:center;background:var(--blue);box-shadow:0 5px 0 #032849,0 8px 20px #0008;font-weight:1000;text-shadow:0 2px 2px #0008}.command-column.red h1{background:var(--red);box-shadow:0 5px 0 #730f22,0 8px 20px #0008}.command-tile{display:flex;align-items:center;gap:9px;min-height:98px;margin-top:10px;padding:10px 9px;background:linear-gradient(120deg,#0866c0,#153561);border:2px solid #b2dbff;border-radius:9px;box-shadow:0 5px 0 #051928,0 9px 18px #0008}.red .command-tile{background:linear-gradient(120deg,#ce123a,#6c1028);border-color:#ffc4d2;box-shadow:0 5px 0 #37000e,0 9px 18px #0008}.tile-icon{font-size:51px;line-height:1;filter:drop-shadow(0 3px 1px #0008)}.command-tile>div{min-width:0;flex:1}.command-tile div small{font-size:13px;font-weight:800;color:#f2f6ff;letter-spacing:.6px;display:block;margin-bottom:5px}.command-tile div strong{font-size:24px;letter-spacing:-.4px;font-weight:1000;white-space:nowrap;text-shadow:0 2px 2px #000b}.command-tile>b{color:#fff375;font-size:22px;text-align:right;line-height:1.02;text-shadow:1px 2px 0 #15100b;font-weight:1000}.command-tile b small{font-size:12px;white-space:nowrap}.social-mapping{grid-column:1/-1;padding:11px 15px;text-align:center;font-size:22px;line-height:1.25;font-weight:800;background:#16131beb;border:2px solid #ffffff65;border-radius:7px;box-shadow:0 4px 14px #0006}.gift-board{position:absolute;top:602px;left:25px;right:25px;z-index:3;display:flex;align-items:stretch;background:#141016ed;border:2px solid #e7cb65;border-radius:9px;box-shadow:0 6px 16px #0008;overflow:hidden}.gift-title{display:flex;align-items:center;font-size:18px;font-weight:1000;color:#171006;background:#ffd651;padding:12px;max-width:154px;line-height:1.1;text-align:center}.gift-mappings{display:flex;flex:1;gap:0;align-items:center;justify-content:space-around;padding:8px 5px;min-height:71px;max-height:135px;overflow:hidden}.gift-chip{padding:6px 10px;text-align:center;font-size:18px;line-height:1.12;border-right:1px solid #ffffff30;flex:1}.gift-chip:last-child{border:0}.gift-chip strong{display:block;color:#fff578;font-size:20px;margin-top:4px}.gift-chip small{display:block;color:#d3d7e2;font-size:15px;margin-top:3px}.gift-mappings>.empty-gifts{font-size:22px;color:#ffc889}.reaction-canvas{position:absolute;inset:0;z-index:5;width:1080px;height:1920px;pointer-events:none}.reaction-video{position:absolute;inset:0;z-index:6;width:1080px;height:1920px;object-fit:cover;pointer-events:none}.idle-video{position:absolute;top:0;height:1920px;z-index:-2;object-fit:cover;pointer-events:none;transition:opacity .2s}.idle-left{left:0;width:540px}.idle-right{right:0;width:540px}.reaction-caption{position:absolute;top:1095px;left:60px;right:60px;z-index:8;text-align:center;font-size:32px;font-weight:1000;line-height:1.2;color:#fff;padding:12px 20px;background:#090d16e0;border:2px solid #ffe371;border-radius:9px;opacity:0;transform:translateY(15px);transition:opacity .15s,transform .15s;overflow-wrap:anywhere;text-shadow:0 3px 1px #000;max-height:130px;overflow:hidden}.reaction-caption.active{opacity:1;transform:translateY(0)}.reaction-error{position:absolute;top:800px;left:80px;right:80px;z-index:12;background:#941b29ed;color:#fff;padding:28px;border:3px solid #ffbac4;font-size:28px;text-align:center;line-height:1.4;border-radius:10px}.callout{position:absolute;top:1200px;left:100px;right:100px;text-align:center;font-size:47px;font-weight:1000;line-height:1.05;letter-spacing:-1px;color:#fff;text-shadow:4px 4px 0 #030303,-3px -3px 0 #030303,3px -3px 0 #030303,-3px 3px 0 #030303,0 8px 12px #000c}.callout strong{color:#fff06a;font-size:40px}.scoreboard{position:absolute;top:1330px;left:30px;right:30px;display:grid;grid-template-columns:1fr 240px 1fr;gap:8px;padding:15px;background:#0b1421ec;border:2px solid #b3c4dd90;border-radius:12px;box-shadow:0 8px 30px #0008}.score-team{display:flex;flex-direction:column;justify-content:center;align-items:center;background:#075391ad;border:2px solid #398cf0;border-radius:7px;padding:10px}.score-team.red{background:#a20c31a8;border-color:#ec3c66}.score-team>span{font-size:25px;letter-spacing:.5px;font-weight:1000}.score-team>strong{font-size:74px;font-weight:1000;line-height:1.1;text-shadow:0 5px 0 #0008}.round-center{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}.round-center>span{font-size:23px;font-weight:1000;color:#d8e6f5}.round-center>strong{font-size:48px;color:#ffe16b;font-variant-numeric:tabular-nums}.round-center>small{font-size:17px;color:#b9c9dc}.goal-card{position:absolute;top:1545px;left:30px;right:30px;background:#08121fec;border:2px solid #d6edff88;padding:18px;border-radius:11px;box-shadow:0 8px 25px #000a}.goal-copy{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:23px;margin-bottom:13px}.goal-copy strong{color:#fff079;font-size:23px}.goal-copy span{white-space:nowrap;font-size:23px}.goal-track{position:relative;height:39px;border:2px solid #c9e9ffaa;background:#25384b;border-radius:8px;overflow:hidden}.goal-track i{position:absolute;top:0;bottom:0;left:0;width:0;background:linear-gradient(90deg,#0495d4,#65d8f3);transition:width .25s}.goal-track>span{position:absolute;inset:0;display:grid;place-items:center;font-size:26px;font-weight:1000;text-shadow:0 2px 3px #000}.overlay-footer{position:absolute;left:60px;right:60px;bottom:65px;font-size:21px;color:#d4d8e4;text-align:center;line-height:1.3;background:#090e16c9;padding:15px;border-radius:7px}.stage.impact .scene-art{animation:impact .26s linear}.stage.goal-hit .goal-card{border-color:#ffe16b;box-shadow:0 0 35px #e5c64d88}@keyframes impact{0%,100%{transform:translate(0,0)}25%{transform:translate(-9px,2px)}50%{transform:translate(8px,-3px)}75%{transform:translate(-5px,1px)}}
.chest-widget{position:absolute;top:1702px;left:30px;right:30px;padding:16px 20px;background:#251e0deb;border:2px solid #d9b751;border-radius:11px;box-shadow:0 8px 25px #0008;z-index:4}.chest-heading{display:flex;gap:15px;align-items:center;margin-bottom:10px;font-size:24px}.chest-heading strong{color:#ffe283;flex:1}.chest-heading b{font-size:21px;color:#ffd167}.chest-heading span{font-weight:900;font-variant-numeric:tabular-nums;font-size:28px}.chest-progress{height:32px;position:relative;background:#564521;border:1px solid #e2c478;border-radius:6px;overflow:hidden}.chest-progress i{position:absolute;inset:0 auto 0 0;width:0;background:#caa632;transition:width .25s}.chest-progress span{position:absolute;inset:0;display:grid;place-items:center;font-size:20px;font-weight:900;text-shadow:0 2px 3px #000}.chest-tasks{font-size:20px;color:#fff0bf;margin-top:7px;text-align:center}.chest-truth{font-size:20px;text-align:center;color:#ddd6bd;margin-top:5px}.chest-widget.ready{box-shadow:0 0 30px #f6d57988;border-color:#fff3bd}.chest-widget.ready .chest-heading b{color:#a2ffd2}
.goal-card{top:1515px}.reward-widgets{position:absolute;top:1648px;left:30px;right:30px;display:grid;gap:10px;z-index:4}.reward-widgets .chest-widget{position:relative;top:auto;left:auto;right:auto;padding:11px 15px}.reward-widgets .chest-heading{font-size:20px;margin-bottom:7px}.reward-widgets .chest-heading strong{font-size:20px}.reward-widgets .chest-heading span{font-size:25px}.reward-widgets .chest-progress{height:27px}.reward-widgets .chest-progress span{font-size:18px}.reward-widgets .chest-tasks,.reward-widgets .chest-truth{font-size:18px;margin-top:4px}.guest-chest-widget{padding:11px 15px;background:#461332ee;border:2px solid #fa91c5;border-radius:11px;box-shadow:0 0 24px #b8228c55}.guest-chest-heading{display:flex;justify-content:space-between;gap:12px;font-size:21px;font-weight:1000;color:#ffc6e6}.guest-chest-heading>span{color:#ffe071;font-size:25px;font-variant-numeric:tabular-nums}.guest-chest-detail{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:22px;margin:5px 0}.guest-chest-detail strong{color:#ffe27e}.guest-chest-detail b{max-width:700px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guest-chest-caption{font-size:19px;color:#fff1fb;line-height:1.2}.guest-info-note{font-size:12px;color:#ffd99b}
.command-board{top:125px}.command-column h1{font-size:36px;padding:12px 8px}.command-tile{position:relative;min-height:110px;padding:10px 12px;gap:12px}.command-tile .tile-icon{font-size:56px}.command-tile div strong{font-size:35px;letter-spacing:-.7px}.command-tile div small{font-size:15px}.command-tile>b{position:absolute;right:10px;top:9px;font-size:18px;line-height:.95}.command-tile b small{font-size:10px}.gift-board{top:642px}.gift-chip{font-size:24px}.gift-chip strong{font-size:24px}.gift-mappings{min-height:88px}.gift-title{font-size:20px}
/* Local media update. Artwork remains a closed chest in every state; status and
   timers are live text beside the asset, never burned into its pixels. */
.reward-widgets{top:1644px;gap:12px;bottom:auto;max-height:256px}
.reward-widgets .chest-widget,.reward-widgets .guest-chest-widget{position:relative;inset:auto;display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;column-gap:14px;height:122px;min-height:122px;padding:9px 14px;border-width:2px;overflow:hidden}
.reward-widgets .chest-widget{background:#251b0aee;border-color:#e4b643;box-shadow:0 7px 22px #0008,inset 0 0 18px #df9b1822}
.reward-widgets .guest-chest-widget{background:#361024ee;border-color:#f3a3ca;box-shadow:0 7px 22px #0008,inset 0 0 18px #e7358d22}
.reward-artwork{display:block;width:100px;height:100px;object-fit:contain;pointer-events:none;user-select:none;filter:drop-shadow(0 5px 7px #0008);transform-origin:50% 85%}
.reward-copy{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;max-height:100px}
.reward-widgets .chest-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:11px;margin:0;min-height:22px;font-size:18px;line-height:1.1}
.reward-widgets .chest-heading strong{font-size:18px;color:#ffe58f;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reward-widgets .chest-heading b{font-size:17px;white-space:nowrap;line-height:1.1}
.reward-widgets .chest-heading span{font-size:23px;line-height:1.05}
.reward-widgets .chest-progress{height:23px;min-height:23px;border-radius:5px}
.reward-widgets .chest-progress span{font-size:16px;line-height:1}
.reward-widgets .chest-tasks{font-size:16px;line-height:18px;min-height:18px;margin:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reward-widgets .chest-truth{font-size:16px;line-height:18px;min-height:18px;margin:0;text-align:left;font-weight:800;color:#fff0b9;white-space:nowrap}
.reward-widgets .guest-chest-heading{font-size:19px;line-height:22px;min-height:22px;align-items:center}
.reward-widgets .guest-chest-heading>span{font-size:23px;line-height:1}
.reward-widgets .guest-chest-detail{margin:0;font-size:22px;line-height:26px;min-height:26px}
.reward-widgets .guest-chest-detail b{max-width:none;min-width:0}
.reward-widgets .guest-chest-detail strong{white-space:nowrap}
.reward-widgets .guest-chest-caption{font-size:18px;line-height:21px;max-height:42px;overflow:hidden}
.reward-widgets .chest-widget[data-status="ready"]{border-color:#fff0a3;box-shadow:0 0 24px #edc65080,inset 0 0 18px #df9b1822}
.reward-widgets .chest-widget[data-status="ready"] .reward-artwork{animation:chest-ready-pulse 1.5s ease-in-out infinite}
.reward-widgets .chest-widget[data-status="opened"] .reward-artwork{animation:chest-settle .5s ease-out both;filter:drop-shadow(0 0 11px #ffce597d)}
.reward-widgets .chest-widget[data-status="expired"] .reward-artwork,.reward-widgets .guest-chest-widget[data-status="ended"] .reward-artwork{filter:grayscale(.65) brightness(.7) drop-shadow(0 4px 6px #0008)}
.reward-widgets .guest-chest-widget[data-status="active"] .reward-artwork{filter:drop-shadow(0 0 11px #fd78b877)}
.reward-widgets .chest-widget[data-status="locked"] .reward-artwork{filter:drop-shadow(0 5px 7px #0008)}
@keyframes chest-ready-pulse{0%,100%{transform:scale(1);filter:drop-shadow(0 0 6px #efc65055)}50%{transform:scale(1.045);filter:drop-shadow(0 0 13px #ffe188bb)}}
@keyframes chest-settle{0%{transform:translateY(-4px) scale(1.035)}100%{transform:translateY(0) scale(1)}}
.gift-board{top:642px;height:146px;max-height:150px;align-items:stretch}
.gift-title{flex:0 0 130px;max-width:130px;font-size:18px;line-height:1.15;padding:10px}
.gift-mappings{min-width:0;min-height:0;max-height:146px;padding:5px;align-items:stretch;gap:0;overflow:hidden}
.gift-chip{display:flex;flex:1 1 0;min-width:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:2px 6px;font-size:17px;line-height:18px;text-align:center}
.gift-icon{display:block;flex:0 0 43px;width:43px;height:43px;object-fit:contain;filter:drop-shadow(0 3px 5px #0008)}
.gift-label{display:block;width:100%;min-width:0;max-height:36px;font-size:16px;line-height:18px;overflow:hidden;overflow-wrap:anywhere}
.gift-chip strong{font-size:17px;line-height:18px;margin:0;max-height:36px;overflow:hidden}
.gift-chip small{font-size:13px;line-height:14px;margin:0;max-height:28px;overflow:hidden}
.sound-controls{position:absolute;top:80px;left:30px;display:flex;align-items:center;gap:10px;height:40px;max-width:550px;padding:4px 9px;background:#0b1420e6;border:1px solid #90a2be6e;border-radius:7px;z-index:16}
.sound-controls button{padding:5px 10px;min-height:30px;font-size:17px;line-height:18px;border-color:#798aa6;background:#1d2c40;white-space:nowrap}
.sound-controls button[aria-pressed="true"]{background:#176143;border-color:#8de8b0;color:#effff5}
.sound-controls button:focus-visible,.sound-controls input:focus-visible{outline:3px solid #ffdf77;outline-offset:3px}
.sound-controls input[type="range"]{width:125px;height:24px;padding:0;margin:0;border:0;accent-color:#ffc85b;cursor:pointer}
.sound-volume-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sound-controls #soundStatus{font-size:15px;line-height:18px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d4e5fa}
.test-badge{left:auto;right:30px;top:82px;font-size:21px;line-height:24px;padding:4px 10px}
@media(prefers-reduced-motion:reduce){.reward-widgets .reward-artwork{animation:none!important;transform:none!important}.reward-widgets .chest-widget[data-status="ready"] .reward-artwork{filter:drop-shadow(0 0 10px #ffd97999)}}
/* Operator is a separate authenticated surface, never part of the OBS capture. */
.operator-page{min-height:100dvh;background:#0b111b;padding:28px;color:#eef2f8}.operator-layout{max-width:1400px;margin:0 auto}.operator-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:20px}.operator-heading h1{margin:0 0 8px;font-size:28px}.operator-heading p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.operator-heading a{color:#8cc4ff;font-size:14px;white-space:nowrap}.operator-grid{display:grid;grid-template-columns:minmax(0,1fr) 365px;gap:20px;align-items:start}.operator-main{display:grid;gap:16px}.operator-card{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:20px}.operator-card h2{margin:0 0 14px;font-size:18px}.operator-card p{font-size:13px;line-height:1.55;color:var(--muted);margin:8px 0 14px}.operator-card label{display:block;font-size:13px;color:#ccd6e5;margin-bottom:6px}.form-row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.form-row>.field{flex:1;min-width:140px}.field.small{flex:0 0 100px;min-width:100px}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #44536c;background:#08101b;color:#f2f5fa;border-radius:7px}textarea{min-height:235px;resize:vertical;line-height:1.5;font-family:ui-monospace,monospace;font-size:12px}input:focus,select:focus,textarea:focus{border-color:#6dbeff}button,.operator-button{border:1px solid #4474b6;background:#1658a5;color:#fff;border-radius:7px;padding:11px 14px;font-weight:700;font-size:13px;line-height:1.2;text-decoration:none;display:inline-block}button.secondary{background:#1c2a3e;border-color:#4a5d78}button.danger{background:#703145;border-color:#cb607a}.button-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.status-row{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.operator-pill{border:1px solid #5d6470;border-radius:99px;background:#17202d;padding:7px 11px;font-size:12px}.operator-pill.ok{color:#90ebba;border-color:#397b58}.operator-pill.bad{color:#ffcf8c;border-color:#997239}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.metric{background:#0b1420;border:1px solid #26364c;border-radius:7px;padding:10px}.metric strong{font-size:23px;display:block}.metric span{color:#aebed1;font-size:11px;display:block;margin-top:4px}.operator-notice{border:1px solid #665125;background:#382c16;color:#ffe0a5;border-radius:7px;padding:12px;font-size:13px;line-height:1.5;margin:12px 0}.operator-notice.error{border-color:#993d50;background:#381a24;color:#ffb7c9}.operator-notice.success{border-color:#397b58;background:#172f24;color:#a7f4c9}.operator-preview{position:sticky;top:20px}.operator-preview h2{font-size:16px}.preview-frame{display:block;width:100%;height:620px;border:1px solid #566a83;border-radius:7px;background:#080a0d}.preview-mode{display:flex;gap:8px;margin-bottom:12px}.preview-mode button{padding:8px 10px;font-size:11px}.preview-mode button[aria-pressed=true]{background:#b48d26;border-color:#e5c77c;color:#0c1118}.operator-pre{background:#070e17;color:#b9d2ed;font:12px/1.6 ui-monospace,monospace;border:1px solid #253449;border-radius:7px;min-height:100px;max-height:300px;overflow:auto;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere}.inline-check{display:flex!important;align-items:center;gap:8px;line-height:1.4;margin:10px 0}.inline-check input{width:auto}.test-command-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.test-command-grid button{background:#213d62}.test-hint{color:#ffc865!important}.asset-errors{margin-top:10px;color:#ffb7c9;font-size:12px;line-height:1.5}.connection-detail{font-size:12px;color:var(--muted);line-height:1.5}.token-row{margin-bottom:8px}.operator-spinner{color:#93c4ff;font-size:13px;min-height:18px}.operator-card details{margin-top:12px;font-size:13px;color:#a9bdd8}.operator-card summary{cursor:pointer}.operator-link{color:#87bfff}.operator-mode-note{font-size:12px;color:#ffc865;margin:8px 0}.test-select-row{margin:12px 0}.operator-card .small-text{font-size:12px}@media(max-width:1000px){.operator-grid{grid-template-columns:minmax(0,1fr) 300px}.preview-frame{height:520px}.operator-page{padding:18px}.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.operator-grid{display:flex;flex-direction:column}.operator-main,.operator-preview{width:100%}.operator-preview{position:static}.preview-frame{width:min(100%,350px);height:620px;margin:0 auto}.operator-heading{flex-direction:column}.operator-page{padding:12px}.operator-card{padding:15px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.form-row{align-items:stretch}.form-row>.field{min-width:130px}.form-row>button{width:100%}.operator-heading h1{font-size:24px}}
.scene-video{position:absolute;left:-108px;top:-67.2px;width:1296px;height:2304px;object-fit:fill;z-index:-3;pointer-events:none}

/* ===== v2.2: compact boards + full-body scene (1080x1920) =====
   Scene box keeps the clips' native 400:736 aspect: 892x1640 at (94,200).
   Clock starts ~y340, boots end ~y1805, so panels live above 340 and below 1805. */
.stage{background:#14110c}
.stage::before{content:"";position:absolute;inset:-60px;background:url('/assets/hamsters-poster.jpg') center/cover no-repeat;filter:blur(30px) brightness(.4) saturate(.85);z-index:-5}
.scene-art{inset:auto;left:94px;top:200px;width:892px;height:1640px;background:url('/assets/hamsters-poster.jpg') center top/cover no-repeat;box-shadow:0 0 40px #000c}
.scene-video{inset:auto;left:94px;top:200px;width:892px;height:1640px;object-fit:fill}
.scene-shade{background:linear-gradient(180deg,#07090df5 0,#07090de6 290px,#07090d00 372px,#07090d00 1770px,#07090dd0 1806px,#07090d 1920px)}
.overlay-header{top:8px;left:14px;right:14px;height:40px;gap:10px;flex-wrap:nowrap;justify-content:flex-start;z-index:16}
.satire-label{font-size:16px;padding:6px 10px;white-space:nowrap}
.status-pill{font-size:16px;padding:6px 12px;margin-left:auto}
.sound-controls{position:static;height:36px;max-width:none;padding:2px 8px;gap:8px}
.sound-controls button{font-size:15px;min-height:28px;padding:3px 9px}
.sound-controls input[type="range"]{width:90px}
.sound-controls #soundStatus{font-size:14px;max-width:150px}
.test-badge{position:static;font-size:17px;line-height:22px;padding:5px 10px;white-space:nowrap;border-width:1px}
.command-board{top:54px;left:14px;right:14px;column-gap:12px;row-gap:6px}
.command-column h1{margin:0 0 4px;padding:6px 8px;font-size:22px;border-width:2px;border-radius:7px;box-shadow:0 3px 0 #032849,0 4px 10px #0008}
.command-column.red h1{box-shadow:0 3px 0 #730f22,0 4px 10px #0008}
.command-tile{min-height:0;height:44px;margin-top:5px;padding:3px 10px;gap:9px;border-width:2px;border-radius:7px;box-shadow:0 3px 0 #051928,0 4px 10px #0008}
.red .command-tile{box-shadow:0 3px 0 #37000e,0 4px 10px #0008}
.tile-icon{font-size:28px}
.command-tile div small{display:none}
.command-tile div strong{font-size:24px;display:block}
.command-tile>b{font-size:18px;line-height:1}
.command-tile b small{font-size:12px}
.social-mapping{padding:4px 10px;font-size:18px;line-height:22px;border-width:1px;border-radius:6px}
.gift-board{top:286px;left:14px;right:14px;height:60px;max-height:60px;border-width:2px;border-radius:7px}
.gift-title{flex:0 0 108px;max-width:108px;font-size:15px;line-height:1.1;padding:4px 8px}
.gift-mappings{max-height:60px;min-height:0;padding:2px 4px}
.gift-chip{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;row-gap:0;align-content:center;justify-items:start;text-align:left;padding:2px 8px}
.gift-icon{grid-row:1/3;width:40px;height:40px;flex:none}
.gift-label{font-size:16px;line-height:19px;max-height:19px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.gift-chip strong{font-size:18px;line-height:21px;max-height:21px;white-space:nowrap;overflow:hidden}
.gift-chip small{display:none}
.callout,.overlay-footer{display:none}
.reaction-caption{top:372px;left:110px;right:110px;font-size:28px;padding:8px 16px;max-height:100px}
.scoreboard{top:1806px;left:14px;right:14px;height:62px;grid-template-columns:1fr 250px 1fr;gap:6px;padding:4px;border-width:1px;border-radius:9px}
.score-team{flex-direction:row;gap:16px;padding:0 12px;border-width:2px}
.score-team>span{font-size:20px}
.score-team>strong{font-size:42px;line-height:1}
.round-center{flex-direction:row;gap:10px}
.round-center>span{font-size:18px}
.round-center>strong{font-size:34px;line-height:1}
.round-center>small{font-size:14px}
.goal-card{top:1872px;left:14px;right:14px;height:42px;padding:4px 10px;display:flex;align-items:center;gap:12px;border-width:1px;border-radius:9px}
.goal-copy{flex:0 0 auto;margin:0;gap:12px;font-size:18px}
.goal-copy strong,.goal-copy span{font-size:18px}
.goal-track{flex:1;height:30px}
.goal-track>span{font-size:18px}
.reward-widgets{top:auto;bottom:122px;left:14px;right:14px}
.command-tile .tile-icon{flex:0 0 36px;width:36px;height:36px;font-size:28px;line-height:36px;text-align:center;overflow:hidden}
.gift-icon{grid-column:1}
.gift-label,.gift-chip strong{grid-column:2;max-width:100%}

/* ===== v2.3: virtual chest drop + mid-band placement =====
   Free band between the top boards (ends y≈346) and the heads (start y≈690). */
.reward-widgets{top:356px;bottom:auto;left:110px;right:110px;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}
.reward-widgets .reward-artwork{width:64px;height:64px}
.reaction-caption{top:1290px}
.drop-widget{position:absolute;top:372px;left:110px;right:110px;height:300px;z-index:9;display:flex;gap:14px;align-items:stretch;padding:12px 16px;background:linear-gradient(135deg,#2a1d06f2,#120c03f2);border:3px solid #ffd45a;border-radius:16px;box-shadow:0 0 34px #ffc83f88,0 10px 30px #000b;animation:drop-in .7s cubic-bezier(.2,1.4,.4,1) both}
.stage.rewards-visible .drop-widget{top:452px;height:230px}
.drop-chest-wrap{position:relative;flex:0 0 170px;display:grid;place-items:center}
.drop-chest{width:160px;height:160px;object-fit:contain;filter:drop-shadow(0 8px 12px #000a);transform-origin:50% 80%}
.drop-widget[data-status="countdown"] .drop-chest{animation:drop-wobble 1.6s ease-in-out infinite}
.drop-widget[data-status="open"] .drop-chest{animation:drop-open .8s ease-in-out infinite;filter:drop-shadow(0 0 26px #ffe48a) brightness(1.25)}
.drop-widget[data-status="revealed"] .drop-chest{filter:drop-shadow(0 0 18px #ffd65a) saturate(1.2);transform:scale(1.05)}
.drop-burst{position:absolute;left:50%;top:45%;width:0;height:0;pointer-events:none}
.drop-coin{position:absolute;left:-14px;top:-14px;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff7c2,#ffd23f 45%,#b8860b);border:2px solid #7a5200;box-shadow:0 0 10px #ffd65a;opacity:0;animation:drop-coin 1.4s ease-out var(--delay,0ms) forwards}
.drop-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.drop-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.drop-head strong{font-size:28px;font-weight:1000;color:#ffe27a;text-shadow:0 2px 2px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drop-head span{font-size:40px;font-weight:1000;color:#fff;font-variant-numeric:tabular-nums;background:#000a;border:2px solid #ffd45a;border-radius:9px;padding:0 12px;line-height:52px}
.drop-widget[data-status="countdown"] .drop-head span,.drop-widget[data-status="open"] .drop-head span{animation:drop-tick 1s steps(1) infinite}
.drop-amount{display:flex;align-items:baseline;gap:10px}
.drop-amount b{font-size:48px;line-height:1;color:#ffd84d;font-weight:1000;text-shadow:0 3px 0 #6b4700}
.drop-amount span{font-size:22px;font-weight:900;color:#fff2c0}
.drop-amount small{margin-left:auto;font-size:16px;color:#d9c79a}
.drop-hint{font-size:20px;font-weight:800;color:#fff;line-height:1.2}
.drop-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;column-gap:16px;row-gap:2px;font-size:19px;line-height:23px;overflow:hidden;flex:1;min-height:0;counter-reset:drop}
.drop-list li{display:flex;justify-content:space-between;gap:8px;white-space:nowrap;animation:drop-row .4s ease-out both}
.drop-list li span{overflow:hidden;text-overflow:ellipsis;color:#f4f0e2}
.drop-list li b{color:#ffd84d}
.drop-label{margin-top:auto;align-self:flex-start;font-size:17px;font-weight:1000;letter-spacing:.4px;color:#1d1300;background:#ffd45a;border-radius:5px;padding:3px 10px}
@keyframes drop-in{0%{transform:translateY(-260px) scale(.8);opacity:0}100%{transform:none;opacity:1}}
@keyframes drop-wobble{0%,100%{transform:rotate(0)}15%{transform:rotate(-6deg)}30%{transform:rotate(5deg)}45%{transform:rotate(-3deg)}60%{transform:rotate(0)}}
@keyframes drop-open{0%,100%{transform:scale(1) rotate(0)}25%{transform:scale(1.12) rotate(-8deg)}50%{transform:scale(1.2) rotate(7deg)}75%{transform:scale(1.1) rotate(-4deg)}}
@keyframes drop-coin{0%{transform:translate(0,0) scale(.4);opacity:1}80%{opacity:1}100%{transform:translate(var(--dx),var(--dy)) scale(1);opacity:0}}
@keyframes drop-tick{0%{color:#fff}50%{color:#ffd84d}}
@keyframes drop-row{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.drop-widget,.drop-chest,.drop-coin,.drop-list li{animation:none!important}}

.drop-widget[data-status="revealed"],.drop-widget[data-status="open"]{height:322px}
.stage.rewards-visible .drop-widget[data-status="revealed"],.stage.rewards-visible .drop-widget[data-status="open"]{height:236px}
.drop-widget[data-status="revealed"] .drop-hint,.drop-widget[data-status="open"] .drop-hint{font-size:18px}
.drop-list{font-size:18px;line-height:21px;row-gap:1px}
.drop-list .drop-more{color:#d9c79a;font-style:italic}
.drop-body{gap:5px}

.drop-foot{margin-top:auto;display:flex;align-items:center;gap:10px;min-width:0}
.drop-foot .drop-label{margin-top:0;flex:0 0 auto}
.drop-follow-note{font-size:14px;line-height:16px;color:#f1deb0;font-weight:700;min-width:0}

/* ---- Chest pop-up card + top-left dock (TikTok-like flow, no TikTok branding) ---- */
.guest-chest-widget{display:none!important}
.chest-dock{position:absolute;left:104px;top:364px;z-index:28;display:flex;flex-direction:column;gap:14px;pointer-events:none}
.dock-chest{position:relative;width:122px;height:136px;opacity:0;transform:scale(.4)}
.dock-chest.landed{opacity:1;transform:none;transition:opacity .15s,transform .25s cubic-bezier(.3,1.6,.5,1)}
.dock-chest img{display:block;width:112px;height:106px;margin:0 auto;object-fit:contain;filter:drop-shadow(0 6px 8px #000a)}
.dock-chest[data-status="countdown"].landed img{animation:dock-idle 2.4s ease-in-out infinite}
.dock-chest[data-status="open"] img{animation:dock-open .7s ease-in-out infinite;filter:drop-shadow(0 0 18px #ffe07a) brightness(1.15)}
.dock-badge{position:absolute;right:0;top:-4px;min-width:40px;height:40px;padding:0 9px;border-radius:20px;background:#fe2c55;color:#fff;font:900 24px/40px Arial,sans-serif;text-align:center;box-shadow:0 0 0 3px #fff,0 3px 6px #0008}
.dock-tag{position:absolute;left:-2px;top:-2px;padding:1px 7px;border-radius:7px;background:#000b;color:#ffe9a6;font:800 15px/20px Arial,sans-serif;letter-spacing:.3px;border:1px solid #ffe9a655}
.dock-chest[data-kind="guest"] .dock-tag{color:#ffd1e3;border-color:#ffd1e355}
.dock-timer{position:absolute;left:50%;bottom:0;transform:translateX(-50%);min-width:92px;padding:2px 10px;border-radius:16px;background:#000c;color:#fff;font:800 22px/28px Arial,sans-serif;text-align:center;white-space:nowrap}
.dock-chest[data-status="open"] .dock-timer{background:#fe2c55}
.chest-flyer{position:absolute;z-index:40;height:auto;transform-origin:0 0;pointer-events:none;filter:drop-shadow(0 10px 14px #000b)}
@keyframes dock-idle{0%,100%{transform:rotate(0)}50%{transform:rotate(-4deg) translateY(-3px)}}
@keyframes dock-open{0%,100%{transform:scale(1)}50%{transform:scale(1.12) rotate(4deg)}}

.chest-card{position:absolute;left:50%;bottom:124px;z-index:35;width:640px;margin-left:-320px;border-radius:30px;overflow:visible;
  background:linear-gradient(180deg,#ffe3ec 0%,#fff6f9 34%,#fff 100%);color:#161823;box-shadow:0 18px 50px #000b,0 0 0 2px #ffffff66;
  font-family:Arial,Helvetica,sans-serif;padding:84px 34px 22px;animation:cc-pop .55s cubic-bezier(.2,1.4,.4,1) both}
.chest-card[data-kind="drop"]{background:linear-gradient(180deg,#ffe9b8 0%,#fff8e8 34%,#fff 100%)}
.chest-card[data-phase="open"]{animation:cc-pop .55s cubic-bezier(.2,1.4,.4,1) both,cc-glow 1s ease-in-out .6s infinite}
.cc-art{position:absolute;left:50%;top:-80px;width:170px;height:170px;margin-left:-85px}
.cc-art img{width:170px;height:160px;object-fit:contain;filter:drop-shadow(0 10px 12px #0007)}
.chest-card[data-phase="popup"] .cc-art img{animation:drop-wobble 1.2s ease-in-out infinite}
.chest-card[data-phase="open"] .cc-art img{animation:drop-open .8s ease-in-out infinite;filter:drop-shadow(0 0 26px #ffe48a) brightness(1.2)}
.cc-tag{position:absolute;right:-18px;top:8px;padding:2px 10px;border-radius:10px;background:#161823;color:#ffe9a6;font:800 18px/24px Arial,sans-serif;letter-spacing:.4px}
.chest-card[data-kind="guest"] .cc-tag{color:#ffd1e3}
.cc-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #1618231a}
.cc-from{font-size:25px;color:#555;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-from b{color:#161823}
.cc-follow{flex:0 0 auto;padding:7px 18px;border-radius:10px;background:#fe2c55;color:#fff;font-weight:800;font-size:22px;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-coins{justify-content:flex-start;border-bottom:0}
.cc-coin{flex:0 0 auto;width:54px;height:54px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3b0,#f7c531 45%,#c88a07);box-shadow:inset 0 0 0 4px #e8a90f,0 3px 5px #0004}
.cc-coins b{display:block;font-size:40px;line-height:44px;color:#161823}
.cc-coins small{display:block;font-size:19px;line-height:23px;color:#6b6b6b}
.cc-hint{font-size:22px;line-height:28px;color:#333;font-weight:700;margin:6px 0 4px;min-height:0}
.cc-hint:empty{display:none}
.cc-list{list-style:none;margin:6px 0 4px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}
.cc-list li{display:flex;justify-content:space-between;font-size:21px;line-height:28px;color:#222;animation:drop-row .35s ease-out both}
.cc-list li b{color:#d4880a}
.cc-list .drop-more{grid-column:1/-1;color:#777}
.cc-timer{margin-top:12px;height:58px;border-radius:29px;background:#ff8fab;color:#fff;font:900 30px/58px Arial,sans-serif;text-align:center;letter-spacing:.5px}
.chest-card[data-phase="open"] .cc-timer{background:#fe2c55}
.chest-card[data-phase="revealed"] .cc-timer{background:#c9c9cf}
.chest-card[data-kind="drop"] .cc-timer{background:#f2a516}
.chest-card[data-kind="drop"][data-phase="open"] .cc-timer{background:#fe2c55}
.chest-card[data-kind="drop"][data-phase="revealed"] .cc-timer{background:#b9b9bf}
.cc-note{display:block;margin-top:8px;font-size:17px;line-height:21px;color:#777;text-align:center}
.cc-note:empty{display:none}
.chest-card .drop-burst{position:absolute;left:50%;top:50%}
@keyframes cc-pop{0%{transform:translateY(520px) scale(.55);opacity:0}70%{opacity:1}100%{transform:none;opacity:1}}
@keyframes cc-glow{0%,100%{box-shadow:0 18px 50px #000b,0 0 0 2px #fff6}50%{box-shadow:0 18px 50px #000b,0 0 0 6px #fe2c55aa}}

/* ---- Idle slang ticker (above the score/likes board, below the boots) ---- */
.idle-ticker{position:absolute;left:50%;top:1752px;transform:translateX(-50%);z-index:12;max-width:820px;padding:4px 22px;border-radius:22px;
  background:#000000c4;border:2px solid #ffd54a;color:#fff;font:900 27px/36px Arial,sans-serif;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  text-shadow:0 2px 0 #000;box-shadow:0 4px 12px #0008;pointer-events:none}
.idle-ticker.swap{animation:ticker-in .45s cubic-bezier(.2,1.4,.4,1) both}
@keyframes ticker-in{from{opacity:0;transform:translateX(-50%) translateY(14px) scale(.92)}to{opacity:1;transform:translateX(-50%)}}

/* Light, rate-limited welcome for viewers joining the LIVE (engine: config.welcome). */
.welcome-caption{position:absolute;left:50%;top:1696px;transform:translateX(-50%);z-index:12;max-width:760px;padding:3px 18px;border-radius:18px;
  background:#000000a8;border:2px solid #84ffbd;color:#fff;font:800 24px/32px Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  text-shadow:0 2px 0 #000;pointer-events:none;animation:ticker-in .45s cubic-bezier(.2,1.4,.4,1) both}

/* ===== v2.4: full-body framing (camera moved back) =====
   Same 400:736 aspect as the clips, scaled 0.875 and centered horizontally:
   780x1435 at (150,200), bottom edge y=1635 — feet stay fully in frame above
   the score/likes board, heads drop just below the gift board. Face anchor
   defaults in app.js moved to match (left 345/right 738, y 725/708). */
/* ===== v2.4.1: HD-клипы 800x1472 + полный рост =====
   contain вместо fill: любые пропорции клипа вписываются без растяжения/обрезки,
   никто не «обрезается» рамками табло (иначе бывало на стриме). */
.scene-video{object-fit:contain}
.scene-art,.scene-video{left:150px;top:200px;width:780px;height:1435px}
.scene-shade{background:linear-gradient(180deg,#07090df5 0,#07090de6 290px,#07090d00 372px,#07090d00 1527px,#07090dd0 1580px,#07090d 1920px)}

/* v2.5: Голос стримера */
.tts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:6px 0 12px}.tts-grid button{background:#2a3f66;border-color:#5b7fc0;text-align:left;min-height:44px}.tts-grid button.busy{background:#7a5a12;border-color:#e5c77c}#ttsCard{border-color:#5b7fc0}

/* ===== v3.0: GAME OVER — Последний круг =====
   Clips are native 9:16 (1080x1920): scene box 807x1435 at (136,200), same bottom edge y=1635.
   WebM reactions carry alpha and play over the running idle loop. */
:root{--blue:#19c6e6;--red:#e8327a;--boss:#7dff4a}
.scene-art,.scene-video{left:136px;top:200px;width:807px;height:1435px}
.event-scene{z-index:-3}
.command-column.blue h1{background:linear-gradient(90deg,#0b8fb0,#19c6e6)}
.command-column.red h1{background:linear-gradient(90deg,#a3134f,#e8327a)}
.social-mapping b{color:var(--boss)}
.hero-cameo{position:absolute;right:26px;top:760px;z-index:14;display:flex;align-items:center;gap:12px;max-width:520px;padding:10px 16px 10px 10px;border-radius:18px;
  background:#0b0f16e8;border:3px solid #ffd856;box-shadow:0 8px 24px #000c;animation:cameo-in .45s cubic-bezier(.2,1.4,.4,1) both;pointer-events:none}
.hero-cameo img{width:120px;height:180px;object-fit:cover;border-radius:12px;border:2px solid #ffffff55}
.hero-cameo b{display:block;font:900 30px/1.05 Arial,sans-serif;color:#ffd856;text-transform:uppercase}
.hero-cameo span{display:block;margin-top:6px;font:700 24px/1.2 Arial,sans-serif;color:#fff}
@keyframes cameo-in{from{transform:translateX(120%) rotate(6deg);opacity:0}to{transform:none;opacity:1}}
.boss-hit-video{position:absolute;left:136px;top:200px;width:807px;height:1435px;object-fit:contain;z-index:9;pointer-events:none}
.boss-card{position:absolute;left:90px;right:90px;top:388px;z-index:15;padding:12px 18px 14px;border-radius:18px;background:#0c1408ea;border:3px solid var(--boss);
  box-shadow:0 0 26px #7dff4a66,0 8px 20px #000c;animation:boss-pulse 2.4s ease-in-out infinite}
.boss-head{display:flex;align-items:baseline;gap:14px;font:900 30px/1 Arial,sans-serif;color:var(--boss);text-shadow:0 2px 0 #000}
.boss-head em{font-style:normal;font-size:22px;color:#e9ffd8;flex:1}
.boss-head span{font-size:26px;color:#ffd856}
.boss-track{position:relative;height:38px;margin-top:10px;border-radius:999px;background:#1f2b16;border:2px solid #7dff4a88;overflow:hidden}
.boss-track i{position:absolute;inset:0 auto 0 0;width:100%;background:linear-gradient(90deg,#3b8f12,#7dff4a,#c8ff6a);transition:width .35s ease}
.boss-track span{position:absolute;inset:0;display:grid;place-items:center;font:900 24px/1 Arial,sans-serif;color:#fff;text-shadow:0 2px 3px #000}
.boss-line{margin-top:8px;font:700 22px/1.2 Arial,sans-serif;color:#e9ffd8;text-align:center}
.boss-card.hit{animation:boss-shake .35s linear}
.boss-card[data-status="defeated"],.boss-card[data-status="escaped"]{animation:none;opacity:.9}
@keyframes boss-pulse{50%{box-shadow:0 0 44px #7dff4aaa,0 8px 20px #000c}}
@keyframes boss-shake{25%{transform:translateX(-10px)}75%{transform:translateX(10px)}}
.boss-drop{position:absolute;left:150px;right:150px;top:980px;z-index:17;padding:18px 20px;border-radius:22px;text-align:center;
  background:#101820;border:4px solid #ffd856;box-shadow:0 0 40px #ffd85699,0 10px 30px #000d;animation:cameo-in .5s both}
.boss-drop-title{font:900 34px/1.1 Arial,sans-serif;color:#ffd856;text-shadow:0 3px 0 #000}
.boss-drop-code{margin:10px auto;display:inline-block;padding:8px 26px;border-radius:14px;background:#000c;border:2px dashed #ffd856;font:900 58px/1.1 Arial,sans-serif;letter-spacing:.06em;color:#fff}
.boss-drop-hint{font:700 22px/1.2 Arial,sans-serif;color:#fff;text-shadow:0 2px 3px #000}
.host-caption{position:absolute;left:60px;right:60px;top:1500px;z-index:18;display:flex;gap:12px;align-items:center;padding:10px 18px;border-radius:16px;
  background:#000000c8;border:2px solid #19c6e6;font:800 28px/1.25 Arial,sans-serif;color:#fff;box-shadow:0 6px 18px #000a;pointer-events:none}
.host-caption span{font-size:34px}
@media(prefers-reduced-motion:reduce){.hero-cameo,.boss-card,.boss-drop{animation:none!important}}
.prompter-box{margin:12px 0;padding:12px;border:1px dashed #5b7fc0;border-radius:10px}.prompter-box h3{margin:0 0 6px}.prompter-lines{margin:8px 0;padding-left:22px}.prompter-lines li{margin:6px 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.prompter-lines li span{flex:1;min-width:220px}#bossCard{border-color:#7dff4a}

/* ===== HUMSTERS🐹EPIC⭐STAR (branch hamsters) =====
   Clips are full-bleed 1080x1920. All HUD sits in the TikTok-safe band: 15% .. 55% of the height
   (y = 288 .. 1056 px). The top/bottom of the screen stay free for TikTok's own UI.
   Stack, top to bottom: header 292 · commands 340 · gifts 560 · score 630 · goal 700 · caption 760 · widgets 800. */
:root{--blue:#7fd3ff;--red:#ff9bb8}
.stage::before{filter:blur(30px) brightness(.35)}
.scene-art,.scene-video,.boss-hit-video{left:0;top:0;width:1080px;height:1920px;object-fit:cover}
.scene-art{box-shadow:none;background-position:center}
.scene-shade{background:linear-gradient(180deg,#07090d00 0,#07090d00 270px,#07090d99 300px,#07090d66 1056px,#07090d00 1100px)}
.overlay-header{top:290px;left:14px;right:14px;height:auto;flex-wrap:wrap;gap:6px 10px}
.satire-label{font-size:18px}
.command-board{top:344px}
.command-column.blue h1{background:linear-gradient(90deg,#5aa9d6,#9ee0ff);color:#06202e}
.command-column.red h1{background:linear-gradient(90deg,#c0476b,#ff9bb8);color:#2c0613}
.social-mapping b{color:#ffd856}
.gift-board{top:566px}
.reaction-caption{top:760px}
.scoreboard{top:636px}
.goal-card{top:706px}
.reward-widgets{top:810px;bottom:auto;left:110px;right:110px;max-height:240px}
.drop-widget{top:810px;height:240px}
.stage.rewards-visible .drop-widget{top:810px;height:240px}
.chest-dock{top:810px;left:30px}
.chest-card{top:800px;bottom:auto;transform:scale(.62);transform-origin:top center}
.idle-ticker{top:1004px}
.welcome-caption{top:960px}
.host-caption{top:900px}
.hero-cameo{top:860px;right:26px}
.reaction-error{top:830px}
.overlay-footer{top:1020px;bottom:auto;font-size:15px}

.music-unlock{position:absolute;top:18px;right:24px;z-index:8;padding:10px 16px;border:0;border-radius:999px;background:#fff3;color:#fff;font:700 16px/1.2 system-ui,sans-serif;cursor:pointer;backdrop-filter:blur(8px)}
.music-unlock:hover{background:#fff5}
.music-now{margin:0 0 8px;font-weight:700}

/* ===== SAFE LAYOUT v3 (TikTok LIVE phone UI dead zones) =====
   1080x1920 frame. TikTok draws over the picture: top bar (host, viewers, close, LIVE badges) ~0..230 px;
   comments + gift animations + comment/gift/share bar ~1230..1920 px; hearts and action buttons in the
   right ~130 px from about mid-height down. Estimates (TikTok publishes no exact numbers): kloot.gg, tikmo, viewerworks.
   SAFE BAND = y 240 .. 1216 px. Everything important lives there; below ~900 px it also stays left of x = 940.
   Stack: header 240 · commands 288 · gifts · score · goal · hint banner (idle-ticker) · [hamsters] · captions/widgets above y 1216.
   Preview the dead zones on the TEST scene: /?mode=test&safe=1 */
:root{--safe-top:240px;--safe-bottom:1216px;--safe-right:940px}
.stage::before{filter:blur(30px) brightness(.4)}
.scene-shade{background:linear-gradient(180deg,#07090d00 0,#07090d00 200px,#07090d9e 250px,#07090d80 560px,#07090d00 800px,#07090d00 1100px,#07090d55 1216px,#07090d00 1300px)}
.overlay-header{top:var(--safe-top);left:14px;right:14px}
.command-board{top:286px}
.command-tile{height:50px}
.command-tile div strong{font-size:27px}
.command-tile>b{font-size:20px}
.social-mapping{font-size:19px}
.gift-board{top:var(--g-top,540px)}
.scoreboard{top:var(--s-top,608px)}
.goal-card{top:var(--l-top,678px)}
/* hint banner (idle ticker): sits right under the goal bar, wraps to 2 lines instead of cutting the text */
.idle-ticker{top:var(--t-top,730px);left:50%;width:max-content;max-width:1020px;white-space:normal;overflow:visible;text-overflow:clip;text-align:center;padding:6px 26px;border-radius:26px;font-size:30px;line-height:38px;text-wrap:balance}
/* captions and alerts: inside the band, clear of the right-side buttons */
.reaction-caption{top:var(--t-top,730px);left:70px;right:70px;max-height:none;font-size:30px;padding:8px 18px}
.welcome-caption{top:800px;max-width:900px}
.host-caption{top:1000px;left:40px;right:140px}
.hero-cameo{top:770px;right:auto;left:26px;max-width:520px}
.reaction-error{top:760px;left:40px;right:140px}
.reward-widgets{top:auto;bottom:calc(1920px - var(--safe-bottom));left:30px;right:140px;max-height:256px}
.drop-widget{top:770px;left:30px;right:140px;height:240px}
.stage.rewards-visible .drop-widget{top:770px;height:240px}
.chest-dock{top:770px;left:30px}
.chest-card{top:760px;left:46%}
.music-unlock{top:1170px;left:30px;right:auto}
.test-badge{z-index:15}

/* test-only safe-zone guide: /?mode=test&safe=1 (never rendered on the live scene) */
.safe-guide{position:absolute;inset:0;pointer-events:none;z-index:200;font:800 22px/1.2 Arial,sans-serif;color:#fff}
.safe-guide>div{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;text-shadow:0 2px 3px #000;border:0 dashed #ff4d6d}
.safe-guide .sg-top{left:0;right:0;top:0;height:230px;background:#ff2d5588;border-bottom-width:3px}
.safe-guide .sg-bottom{left:0;right:0;top:1230px;bottom:0;background:#ff2d5588;border-top-width:3px}
.safe-guide .sg-right{left:950px;right:0;top:900px;height:330px;background:#ffb02e99;border-left-width:3px}
.safe-guide .sg-ok{left:0;right:0;top:230px;height:1000px;border:3px dashed #3dffa0;background:none}
.safe-guide .sg-ok span{position:absolute;left:12px;bottom:6px;font-size:20px;color:#3dffa0;background:#000b;padding:2px 8px;border-radius:6px}
.safe-guide .sg-top span,.safe-guide .sg-bottom span,.safe-guide .sg-right span{background:#000a;padding:4px 12px;border-radius:8px;max-width:90%}
.safe-guide .sg-right span{font-size:18px;padding:4px 6px}
