html[data-text-size="large"]{font-size:200%}
.skip-link{position:absolute;top:4px;left:8px;z-index:10;padding:8px 12px;color:var(--ink);background:#0b2427;border:2px solid var(--gold);transform:translateY(-200%);max-width:calc(100% - 16px)}
.skip-link:focus{transform:none}
#play-controls:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.text-size-control{display:flex;align-items:center;gap:8px;justify-content:center;min-height:44px;font-size:.75rem;color:var(--muted);cursor:pointer}
.text-size-control input{width:18px;height:18px;accent-color:var(--gold)}
.text-size-control input:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.controls,aside,.panel,.game-top>div{min-width:0}
html[data-text-layout="large"] main{grid-template-columns:minmax(0,1fr);max-width:1100px}
html[data-text-layout="large"] header{flex-wrap:wrap}
html[data-text-layout="large"] .demo-tag{max-width:none}
html[data-text-layout="large"] .game{display:block}
html[data-text-layout="large"] .game-top{flex-wrap:wrap}
html[data-text-layout="large"] .balance{white-space:normal;text-align:left}
html[data-text-layout="large"] .sides{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr))}
html[data-text-layout="large"] .side{grid-template-columns:1fr;gap:4px}
html[data-text-layout="large"] .side span{grid-row:auto}
html[data-text-layout="large"] .side strong,html[data-text-layout="large"] .side small{text-align:left;white-space:normal}
html[data-text-layout="large"] .stakes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html[data-text-layout="large"] .stake{width:100%;height:112px;transform:none}
html[data-text-layout="large"] .stake img{width:64px;height:64px}
html[data-text-layout="large"] .stake span{line-height:1.5;min-width:3rem}
html[data-text-layout="large"] .result-panel{padding:24px 18px;max-width:none}
html[data-text-layout="large"] .result-panel .result,html[data-text-layout="large"] .result-panel p{position:relative;background:#06171c;padding:4px 6px;border-radius:6px}
html[data-text-layout="large"] .history-row{flex-wrap:wrap}
html[data-text-layout="large"] .brand,html[data-text-layout="large"] .brand>.eyebrow{white-space:normal;overflow-wrap:anywhere}
html[data-text-layout="large"] .brand .subtitle{letter-spacing:.15em}
html[data-text-layout="large"] button,html[data-text-layout="large"] summary,html[data-text-layout="large"] p,html[data-text-layout="large"] th,html[data-text-layout="large"] td{overflow-wrap:anywhere}
html[data-text-layout="large"] .text-size-control{flex-wrap:wrap}

.limit-fields{display:grid;grid-template-columns:1fr;gap:5px;font-size:.75rem}.limit-fields select{font:inherit;color:var(--ink);background:#0b2629;border:1px solid var(--line);border-radius:6px;min-height:44px;max-width:100%;width:100%;padding:8px}.limit-fields select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.limit-fields select:disabled{opacity:.65}
