.premium-game{display:flex;flex-direction:column;width:100%;height:100vh;height:100dvh;overflow:hidden;background:var(--game-surround,#e3e8e2);user-select:none}
.dark .premium-game{background:#101b1a}
.premium-top{flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.4rem;padding:.45rem clamp(.36rem,1.4vw,1.6rem);min-height:clamp(42px,8dvh,78px);color:#fff6e6;background:var(--game-header,#203b36);border-bottom:1px solid #ffffff25}
.premium-top h1{font-size:clamp(.88rem,2.5vw,2rem);font-weight:900;line-height:1.12;margin:0;text-align:center}
.premium-tools{display:flex;gap:clamp(3px,.65vw,10px);justify-self:start}
.premium-tools button{display:grid;place-items:center;min-width:clamp(27px,3.5vw,49px);min-height:clamp(32px,5dvh,48px);border-radius:.57rem;border:1px solid #f8edda56;background:#ffffff10;color:inherit}
.premium-tools button:hover{background:#ffffff27}
.premium-tools svg{width:clamp(14px,1.8vw,23px);height:auto}
.premium-progress{justify-self:end;white-space:nowrap;padding:.16rem .45rem;border-radius:99px;background:#0003;border:1px solid #ffffff48;display:flex;align-items:baseline;gap:.3rem;font-size:clamp(.75rem,1.8vw,1.24rem);font-weight:850}
.premium-progress b{color:#ffde93}
.premium-panels{display:grid;grid-template-columns:repeat(var(--seats,1),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);flex:1;min-height:0;gap:clamp(4px,.7vw,12px);padding:clamp(4px,.7vw,12px)}
.premium-panels[data-count="2"]{--seats:2}.premium-panels[data-count="3"]{--seats:3}.premium-panels[data-count="4"]{--seats:4}
.premium-panel{display:flex;flex-direction:column;isolation:isolate;min-height:0;min-width:0;overflow:hidden;border-width:2px;border-style:solid;border-radius:clamp(.62rem,1.3vw,1.35rem);box-shadow:0 4px 12px #152e2325;background:#fff8ed}
.dark .premium-panel{background:#22352e}
.premium-seat{position:relative;z-index:2;flex:none;display:flex;justify-content:space-between;align-items:center;gap:.3rem;min-width:0;padding:.22rem clamp(.4rem,1vw,.8rem);background:#fff9ef;color:#284039;border-bottom:1px solid #94897044;font-size:clamp(.75rem,1.5vw,1.22rem);font-weight:900}
.dark .premium-seat{background:#1f302a;color:#fff2d6}
.premium-seat-name{display:flex;align-items:center;min-width:0;gap:.26rem}
.premium-seat-name svg{flex:none;width:1.1em;height:auto}
.premium-score{display:grid;justify-items:center;line-height:1.05;min-width:1.65em;font-variant-numeric:tabular-nums}
.premium-score small{font-size:.57em;letter-spacing:.06em}
.premium-game button:focus-visible,.abacus-example button:focus-visible,.abacus-example-link:focus-visible{outline:3px solid #cf800f;outline-offset:-3px}
@media(max-width:460px){.premium-tools button:last-child{display:none}}
@media(max-width:850px) and (orientation:portrait){.premium-panels[data-count="3"],.premium-panels[data-count="4"]{--seats:2}}
