/* The original 1080 x 1920 canvas composition remains the Horse Race overlay. */
[hidden]{display:none!important}
.source-page,.source-page body{width:100%;height:100%;overflow:hidden}
.source-page body{margin:0;display:flex;align-items:center;justify-content:center}
html.source-page,html.source-page body{background:#07160e!important}
html.source-page[data-transparent="1"],html.source-page[data-transparent="1"] body{background:transparent!important}
.source-page canvas#game{display:block;width:100%;height:100%;object-fit:contain}
.sr-only{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
html.tt-shell #mode-label{position:absolute;left:50%;top:12px;transform:translateX(-50%);background:#14161a;color:#ffd43b;padding:4px 10px;border-radius:6px;font-size:14px;font-weight:700}
html.tt-shell .practice-gifts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
html.tt-shell .practice-gifts button{width:100%;overflow-wrap:anywhere}
html.tt-shell #lanes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;padding-left:22px}
html.tt-shell #lanes li{font-size:14px}
html.tt-shell .input-grid{margin:16px 0 0}
html.tt-shell .settings-foot .button-row{margin:0}
html.tt-shell #copy-status:empty{display:none}
html.tt-shell .source-actions a,html.tt-shell .streaming-panel a{color:var(--accent-text)}
html.tt-shell .tt-core-play{max-height:640px;overflow:auto}
html.tt-shell .tt-core-gift-icon{border-radius:8px;background:var(--surface);overflow:hidden}
html.tt-shell .tt-core-gift-icon img{width:100%;height:100%;object-fit:contain}
html.tt-shell .gift-actions{justify-content:flex-end}
html.tt-shell .app-link .tt-tikfinity-arrow{font-weight:400}
html.tt-shell .gift-copy .tt-core-assigned-gift-icon{margin-top:0}
@media(max-width:600px){html.tt-shell .practice-gifts,html.tt-shell #lanes{grid-template-columns:1fr}html.tt-shell .tt-core-play{max-height:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
