:root{--stage-bg:#07131e}
*{box-sizing:border-box}
[hidden]{display:none!important}
html.source-page,html.source-page body{width:100%;height:100%;margin:0;overflow:hidden;background:var(--stage-bg)!important}
html.source-page[data-transparent="1"],html.source-page[data-transparent="1"] body{background:transparent!important}
.source-page body{display:flex;align-items:center;justify-content:center}
.source-page canvas#game{display:block;width:min(100vw,56.25vh);height:min(100vh,177.7778vw);object-fit:contain}
.source-page .tt-core-status>.tt-core-pill{display:none}
.source-page .preview-status{display:none!important}
.sr-only{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

html.tt-shell{--accent:#ffd43b;--accent-text:#ffd43b;--accent-ink:#101114}
html.tt-shell .preview-wrap{background:#07131e}
html.tt-shell .rules,html.tt-shell .help{margin-top:20px;padding-top:16px;border-top:1px solid var(--line);color:var(--copy);font-size:15px}
html.tt-shell .rules h3,html.tt-shell .help h3{margin:0 0 8px;color:var(--ink)}
html.tt-shell .rules p,html.tt-shell .help p{margin:8px 0 0;line-height:1.6}
html.tt-shell .help a,html.tt-shell .rules a{color:var(--accent-text)}
html.tt-shell .gift-copy>span{display:flex;align-items:center;gap:7px}
html.tt-shell .gift-copy small{display:block;margin-top:5px;color:var(--copy);font-size:14px;line-height:1.45}
html.tt-shell .tt-core-assigned-gift-icon{flex:0 0 auto;object-fit:contain}
html.tt-shell .practice-panel .effects{grid-template-columns:repeat(2,minmax(0,1fr))}
html.tt-shell #players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;max-height:190px;margin:12px 0 0;padding:0;overflow:auto;list-style:none;font-size:14px}
html.tt-shell #players li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.tt-shell #free-controls{display:grid;gap:16px}
html.tt-shell .free-action{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--raised)}
html.tt-shell .free-action h4{grid-column:1/-1;margin:0;color:var(--accent-text)}
html.tt-shell .free-follow{grid-column:1/-1;display:flex;align-items:center;gap:9px;font-weight:500}
html.tt-shell .free-follow input{width:18px;height:18px;margin:0}
html.tt-shell .tt-gift-picker-manual{display:none!important}
@media(max-width:600px){html.tt-shell .practice-panel .effects,html.tt-shell .free-action{grid-template-columns:1fr}html.tt-shell .free-action h4,html.tt-shell .free-follow{grid-column:1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}
