/* Signal Serpent layout and play surface. Shared shell bytes stay unchanged. */
html.tt-shell .gift-copy small { display:block; color:var(--muted); font-size:14px; margin-top:5px; }
html.tt-shell .circuit-note { border-left:3px solid var(--accent); padding-left:14px; }
.source-page #serpent-stage { position:absolute; width:1080px; height:1920px; transform-origin:top left; color:#faf8f0; }
.source-page #serpent-stage * { box-sizing:border-box; }
.ss-capture { position:absolute; inset:24px; display:flex; flex-direction:column; gap:12px; }
.ss-board { flex:1; min-height:0; display:flex; flex-direction:column; position:relative; overflow:hidden; border:2px solid #4b4736; border-radius:28px; padding:28px; background:#121416; box-shadow:0 20px 80px #0005; }
.ss-board::before { content:''; position:absolute; inset:0 0 auto; height:5px; background:linear-gradient(90deg,#ffe373,#df9c20); }
.ss-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.ss-brand { margin:0 0 9px; font-size:22px; letter-spacing:3px; color:#b9b7aa; font-weight:650; }
.ss-heading h1 { margin:0; color:#fff8df; font-size:60px; font-weight:850; letter-spacing:-2.5px; line-height:1; }
.ss-heading h1 span { color:#ffd43b; }
.ss-clock { text-align:right; }
.ss-clock strong { font-size:51px; line-height:1; font-variant-numeric:tabular-nums; }
.ss-clock span { display:block; font-size:22px; color:#babdbf; margin-top:7px; }
.ss-scores { display:flex; gap:26px; align-items:center; margin:27px 0 15px; }
.ss-total { min-width:200px; }
.ss-total small { display:block; font-size:21px; color:#c2c2b9; letter-spacing:2px; }
.ss-total strong { display:block; color:#ffd951; font-size:68px; line-height:1.08; letter-spacing:-2px; font-variant-numeric:tabular-nums; }
.ss-target { flex:1; }
.ss-target p { display:flex; justify-content:space-between; margin:0 0 12px; font-size:25px; color:#e6e2d2; }
.ss-progress, .ss-like-track { height:12px; background:#303333; overflow:hidden; border-radius:8px; }
.ss-progress i, .ss-like-track i { display:block; height:100%; width:0; border-radius:8px; background:#ffd43b; transition:width .25s; }
.ss-field { flex:1; min-height:0; display:grid; grid-template-columns:170px minmax(0,1fr) 170px; gap:12px; }
.ss-play { grid-column:2; grid-row:1 / 3; display:flex; flex-direction:column; position:relative; background:#0b0e0f; border:1px solid #424538; border-radius:18px; overflow:hidden; }
.ss-play canvas { display:block; width:100%; flex:1; min-height:0; object-fit:fill; }
.ss-play-label { display:flex; flex-direction:column; gap:6px; font-size:20px; color:#afb6b1; padding:14px 16px 0; }
.ss-play-label strong { color:#ffe080; }
.ss-gifts { display:contents; }
.ss-gift { grid-column:1; grid-row:1; align-self:start; display:flex; flex-direction:column; gap:12px; text-align:center; background:#252920; border:1px solid #50543c; border-radius:12px; padding:20px 10px; min-height:220px; }
.ss-gift[data-action=slow] { grid-row:2; }
.ss-gift[data-action=shield] { grid-column:3; }
.ss-gift img { width:70px; height:78px; object-fit:contain; flex:none; }
.ss-gift-copy { min-width:0; }
.ss-gift strong { display:block; font-size:25px; line-height:1.15; white-space:normal; overflow-wrap:anywhere; color:#fff5cf; }
.ss-gift small { display:block; color:#c9caba; font-size:20px; margin:4px 0; }
.ss-gift span { display:block; font-size:22px; color:#ffdf72; }
.ss-gift.empty { opacity:.75; }
.ss-reserves { display:flex; justify-content:space-between; gap:10px; margin:16px 0; font-size:25px; color:#d6d9ce; }
.ss-reserves b { color:#ffe082; }
.ss-likes { background:#242727; border-radius:12px; padding:13px 16px; }
.ss-likes p { display:flex; justify-content:space-between; margin:0 0 9px; font-size:25px; }
.ss-likes strong { color:#ffe082; }
.ss-like-track { height:7px; }
.ss-how { font-size:25px; margin:15px 0 0; text-align:center; color:#c8cec6; }
.ss-how strong { color:#fff5d2; }
.ss-leaders { display:flex; align-items:center; gap:12px; margin:18px 0 0; min-height:52px; }
.ss-leaders>small { font-size:19px; color:#a8b0a9; flex:none; width:70px; }
.ss-leader { display:flex; align-items:center; gap:9px; min-width:0; flex:1; }
.ss-leader>span:last-child { min-width:0; }
.ss-leader b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:23px; max-width:190px; }
.ss-leader small { color:#ffda6b; font-size:21px; }
.ss-empty { font-size:24px; color:#b7bdb6; }
.ss-recent { margin:0; padding:16px 20px; display:flex; align-items:center; gap:14px; min-height:78px; border:1px solid #4d5143; border-radius:16px; color:#eeeedd; background:#1b1f1ef5; font-size:26px; }
.ss-recent>span:last-child { min-width:0; overflow-wrap:anywhere; }
.ss-recent:empty { display:none; }
.ss-result { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; background:#10140fee; text-align:center; padding:35px; }
.ss-result[hidden] { display:none; }
.ss-result small { color:#c8cbb9; font-size:25px; letter-spacing:3px; }
.ss-result strong { display:block; color:#ffe075; font-size:56px; line-height:1.1; margin:16px 0; }
.ss-result p { font-size:29px; line-height:1.45; color:#e5e8da; margin:8px 0; }
.ss-mode { position:absolute; top:280px; left:32px; width:1000px; z-index:2; font-size:25px; font-weight:700; letter-spacing:2px; text-align:center; color:#ffda6b; }
.ss-mode:empty { display:none; }
.source-page #serpent-stage .tt-core-overlay-status { position:absolute; left:32px; top:308px; width:1000px; max-width:none; transform:none; margin:0; }
.source-page #serpent-stage .tt-core-notice { font-size:28px; padding:20px; }
.source-page #serpent-stage .tt-core-notice strong { font-size:30px; }
