:root{--page:#F2F0EA;--card:#EAE7DD;--input:#E2DED2;--orange:#FF612D;--ink:#222222;--muted:#716D63;--white:#fff;--gutter:20px;--radius:30px;--pixel:'Courier New',ui-monospace,monospace;--sans:ui-rounded,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{min-height:100%;background:var(--page)}body{margin:0;background:var(--page);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;min-height:100dvh}button,input{font:inherit}button{border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.45}button:not(:disabled):active{transform:scale(.987)}button:focus-visible,input:focus-visible,.hand-scroll:focus-visible{outline:3px solid var(--ink);outline-offset:4px}svg{flex-shrink:0}p,h1,h2,h3{margin-block-start:0}b,strong{font-weight:800}.orange-dot{color:var(--orange)}.app-shell{width:min(100%,440px);margin-inline:auto;padding:max(35px,env(safe-area-inset-top)) var(--gutter) max(20px,env(safe-area-inset-bottom))}.home-shell{padding-bottom:max(26px,env(safe-area-inset-bottom))}.header{height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{background:var(--ink);color:var(--white);height:44px;display:inline-flex;align-items:center;border-radius:999px;padding:0 22px;font:700 17px/1 var(--pixel);letter-spacing:-.7px}.brand-pixel{font-size:24px;margin-right:8px;color:var(--orange);font-weight:900}.brand-dot{color:var(--orange)}.brand-mark{width:56px;height:44px;border-radius:999px;background:var(--ink);color:var(--orange);font:900 24px/1 var(--pixel);display:flex;align-items:center;justify-content:center}.pixel-dot{position:relative;top:-8px;left:-1px}.filterbar{margin-top:30px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.filter-chips{display:flex;align-items:center;gap:8px}.chip{height:32px;display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:0 13px;font:700 12px var(--pixel)}.chip-dark,.mini-grid{background:var(--ink);color:var(--white)}.chip-orange{background:var(--orange);color:white}.heart-mark{color:var(--orange);font-size:17px}.mini-grid{width:34px;height:34px;border-radius:999px;display:flex;align-items:center;justify-content:center}.feature-card{background:var(--card);border-radius:30px;min-height:455px;display:flex;flex-direction:column;overflow:hidden;position:relative}.feature-illustration{height:250px;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative}.fan-art{height:234px;width:310px;position:relative;transform:translateY(7px)}.fan-card{position:absolute;width:109px;height:165px;object-fit:contain;filter:drop-shadow(0 7px 4px rgba(30,27,21,.14));top:28px;left:100px;transform-origin:50% 86%}.fan-1{transform:translate(-73px,10px) rotate(-24deg)}.fan-2{transform:translate(-31px,-6px) rotate(-9deg)}.fan-3{transform:translate(19px,-3px) rotate(12deg)}.fan-4{transform:translate(70px,14px) rotate(26deg)}.feature-content{padding:0 20px 20px;display:flex;flex-direction:column;align-items:flex-start;flex:1}.feature-content h1{font:800 25px/1.16 var(--pixel);letter-spacing:-1.4px;margin:4px 0 14px}.feature-content p{font:400 16px/1.5 var(--sans);color:#4a4640;max-width:285px;margin:0 0 24px}.pill{border-radius:999px;min-height:44px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:750}.pill-orange{background:var(--orange);color:white}.pill-dark{background:var(--ink);color:white}.feature-cta{margin-top:auto;align-self:flex-end;white-space:nowrap;font:700 14px var(--pixel);letter-spacing:-.5px}.game-illustration{flex-direction:column;gap:0}.game-illustration strong{font:900 clamp(75px,24vw,114px)/1 var(--pixel);color:var(--orange);letter-spacing:-11px;transform:scaleX(.93)}.pixel-sparks{position:relative;width:190px;height:35px}.pixel-sparks i{position:absolute;background:var(--orange);width:12px;height:12px}.pixel-sparks i:first-child{left:17px;top:13px}.pixel-sparks i:nth-child(2){left:54px;top:2px;width:8px;height:8px}.pixel-sparks i:nth-child(3){right:19px;top:18px;width:16px;height:16px}.pixel-sparks--bottom{transform:rotate(180deg)}.dots{margin:15px 0 0;display:flex;align-items:center;justify-content:center;gap:6px}.dot{height:8px;width:8px;background:var(--ink);border-radius:999px;padding:0;transition:width .16s ease}.dot.active{width:22px;background:var(--orange)}.main-actions{margin-top:28px;display:grid;gap:12px}.big-action{min-height:60px;width:100%;border-radius:999px;display:flex;align-items:center;gap:13px;padding:0 22px;text-align:left;font:700 18px var(--pixel);letter-spacing:-1px}.big-action svg:first-child{flex:none}.big-action svg:last-child{margin-left:auto}.big-action.pill-dark svg:first-child{color:var(--orange)}.tiny-footer{text-align:center;color:var(--muted);font-size:11px;margin:19px 0 0;font-weight:650}.game-grid{display:grid;gap:16px}.game-grid .feature-card{min-height:410px}.game-grid .feature-illustration{height:210px}.room-shell .header{margin-bottom:28px}.header-room{font:800 12px var(--pixel);background:var(--card);padding:11px 15px;border-radius:99px;letter-spacing:-.5px;margin-left:auto}.header-room b{font-size:14px}.header--game .brand-mark{width:44px}.back-button{background:var(--ink);color:white;border-radius:999px;width:44px;height:44px;display:flex;align-items:center;justify-content:center}.eyebrow{color:var(--orange);font:800 12px var(--pixel);letter-spacing:1px}.text-center{text-align:center}.page-title{font:900 29px/1.2 var(--pixel);letter-spacing:-2px;margin:13px 0 10px;text-align:center}.page-subtitle{text-align:center;margin:0 auto 27px;max-width:295px;color:#676157;font-size:14px;line-height:1.5}.room-code-panel{background:var(--ink);border-radius:24px;color:var(--white);padding:22px;display:flex;align-items:center;justify-content:space-between;gap:8px}.room-code-panel small{display:block;font:800 10px var(--pixel);color:#bcb8ad;letter-spacing:1px}.room-code-panel strong{display:block;font:900 41px var(--pixel);letter-spacing:5px;margin-top:3px}.copy-room{border-radius:999px;color:var(--ink);background:var(--page);padding:12px 15px;display:inline-flex;align-items:center;gap:8px;font:800 11px var(--pixel);white-space:nowrap}.room-seats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.room-seat{background:var(--card);border-radius:26px;height:155px;padding:16px;position:relative;display:flex;align-items:flex-start;flex-direction:column}.room-seat .seat-symbol{background:#D8D3C7;color:#888175;width:45px;height:45px;border-radius:14px;display:grid;place-items:center;margin-bottom:auto;font:800 24px var(--pixel)}.room-seat.occupied .seat-symbol{background:var(--orange);color:white}.room-seat strong{font:800 15px/1.3 var(--pixel);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-seat small{color:var(--muted);font:700 10px var(--pixel);margin-top:5px}.seat-indicator{height:9px;width:9px;border-radius:50%;background:#bab3a5;position:absolute;right:16px;top:18px}.seat-indicator.online,.status-dot.online{background:#4BAA75}.room-status{display:flex;align-items:center;justify-content:center;gap:8px;margin:22px 0;font-size:13px;font-weight:650;color:var(--muted)}.status-dot{width:8px;height:8px;border-radius:99px;background:#D49B4B;display:inline-block;flex:none}.status-separator{color:#BFB8A7}.bottom-actions{display:grid;gap:12px}.room-help{text-align:center;line-height:1.4;color:var(--muted);font-size:12px;margin:17px auto 0;max-width:295px}
/* In-match layout */
.game-shell{max-width:560px;margin:0 auto;min-height:100dvh;padding:max(18px,env(safe-area-inset-top)) 15px max(14px,env(safe-area-inset-bottom));display:flex;flex-direction:column}.game-shell .header{height:44px}.game-main{display:flex;flex-direction:column;flex:1;min-height:0}.game-statusline{display:flex;align-items:center;justify-content:space-between;font:800 11px var(--pixel);margin:20px 4px 12px;letter-spacing:-.2px}.live-status{display:flex;align-items:center;gap:6px}.suit-ink{font-size:19px}.suit-red{color:var(--orange)}.scoreboard{display:flex;align-items:stretch;gap:4px;min-height:89px;background:var(--card);border-radius:24px;padding:12px 13px;margin-bottom:11px}.score-team{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}.score-team small{color:var(--muted);font:800 10px var(--pixel);letter-spacing:-.4px}.score-team--us small{color:var(--orange)}.score-main{display:flex;align-items:baseline;gap:5px}.score-main strong{font:900 32px var(--pixel);letter-spacing:-2px}.score-team--us .score-main strong{color:var(--orange)}.score-vs{font:800 9px var(--pixel);color:var(--muted)}.trick-count{font:700 10px var(--pixel);color:var(--muted)}.score-divider{align-self:center;font:800 12px var(--pixel);color:#b1ab9f}.table-section{position:relative;flex:1;min-height:272px;display:flex;flex-direction:column}.table-top-player{height:64px;display:flex;align-items:center;justify-content:center;gap:13px}.person-label{display:flex;align-items:center;gap:8px;min-width:0}.person-avatar{width:33px;height:33px;border-radius:13px;background:#d6d1c4;display:grid;place-items:center;flex:none;color:var(--ink);font:800 16px var(--pixel)}.person-label--turn .person-avatar{background:var(--orange);color:white}.person-info{min-width:0;display:flex;flex-direction:column;gap:3px}.person-info>span{font:800 12px/1.05 var(--pixel);letter-spacing:-.6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:130px}.person-info small{font-size:10px;color:var(--muted);font-weight:650;white-space:nowrap}.card-back-stack{display:flex;align-items:center;gap:5px}.card-back{width:29px;height:43px;border-radius:5px;border:3px solid white;background:var(--orange);padding:3px;box-shadow:0 2px 2px #0001;transform:rotate(8deg)}.card-back-pattern{width:100%;height:100%;border:1px solid #F7E4D9;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-items:center;color:#fff;gap:1px}.card-back-pattern span{font-size:7px}.card-back-stack small{font:800 11px var(--pixel);color:var(--muted)}.play-surface{position:relative;flex:1;min-height:207px;margin:0 2px;background:var(--card);border-radius:31px;display:flex;align-items:stretch;justify-content:center;overflow:hidden}.play-surface:before{content:'';position:absolute;inset:17px;border:1px dashed #d7d0c0;border-radius:25px;pointer-events:none}.surface-center{position:relative;width:min(56%,290px);height:100%;display:flex;align-items:center;justify-content:center}.table-emblem{font:900 90px var(--pixel);color:#dad4c8;position:absolute;user-select:none}.trick-cards{position:relative;height:177px;width:174px;z-index:1}.trick-slot{position:absolute;width:53px;height:80px;display:grid;place-items:center}.trick-slot.top{left:61px;top:0}.trick-slot.bottom{left:61px;bottom:0}.trick-slot.left{left:20px;top:49px}.trick-slot.right{right:20px;top:49px}.played-card img{width:57px;height:86px;object-fit:contain;filter:drop-shadow(0 2px 2px #0002)}.center-caption{position:absolute;bottom:6px;color:#9C9485;font:800 9px var(--pixel);text-align:center;white-space:nowrap;z-index:2}.side-opponent{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:12px;width:95px}.opponent-left{left:4px}.opponent-right{right:4px}.side-opponent .person-label{flex-direction:column;gap:5px}.side-opponent .person-avatar{width:35px;height:35px}.side-opponent .person-info{text-align:center}.side-opponent .person-info>span{max-width:96px;font-size:10px}.side-opponent .person-info small{font-size:9px;display:none}.side-opponent .card-back{width:25px;height:37px}.side-backs{justify-content:center}.bottom-hand{flex:none;margin-top:12px;min-height:177px}.hand-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 2px 9px}.player-self .person-avatar{background:var(--ink);color:white}.turn-status{font:800 11px/1.2 var(--pixel);color:var(--muted);text-align:right;max-width:145px}.turn-status--active{color:var(--orange)}.hand-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:5px 0 6px;scrollbar-width:thin;scrollbar-color:#ccc5b8 transparent}.hand-track{display:flex;justify-content:flex-start;align-items:flex-end;min-width:max-content;padding:3px 11px 5px}.hand-card{position:relative;border:0;background:transparent;padding:0;width:71px;height:105px;flex-shrink:0;transform-origin:bottom center;transition:transform .14s ease,filter .14s ease;display:block}.hand-card+.hand-card{margin-left:-33px}.hand-card img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 1px rgba(0,0,0,.10));pointer-events:none}.hand-card--legal{cursor:pointer;filter:drop-shadow(0 -2px 0 rgba(255,97,45,.22))}.hand-card--legal:hover,.hand-card--legal:focus-visible{transform:translateY(-13px);z-index:2}.hand-card:disabled{opacity:.79;filter:saturate(.8)}.hand-card:disabled:active{transform:none}.hand-footer{margin:1px 3px 0;display:flex;justify-content:space-between;color:var(--muted);font:700 10px var(--pixel);letter-spacing:-.5px}.hand-footer span:last-child{color:var(--orange)}
/* Dialogs */
.modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);display:grid;place-items:center;padding:20px;z-index:100;overflow-y:auto}.dialog{width:min(100%,362px);max-height:calc(100dvh - 40px);overflow-y:auto;border-radius:20px;background:var(--page);box-shadow:0 17px 70px #0002}.dialog-body{padding:20px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.dialog-heading h2{font:800 23px/1.2 var(--pixel);letter-spacing:-1.6px;margin:0}.x-button{background:transparent;color:var(--ink);width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:50%}.dialog-subtitle{color:var(--muted);line-height:1.4;margin:-7px 0 20px;font-size:14px}.field-label{font:800 10px var(--pixel);letter-spacing:1px;display:block;margin:0 0 10px;color:var(--muted)}.field-wrap{position:relative}.code-wrap input,.name-input{width:100%;background:var(--input);height:56px;border:0;border-radius:999px;padding:0 20px;color:var(--ink);font-weight:750;outline:none;font-size:16px}.code-wrap input{padding-right:67px;font:800 18px var(--pixel);letter-spacing:2px}.code-wrap input::placeholder{color:#8d867c;opacity:1;letter-spacing:0;font:600 15px var(--pixel)}.name-input::placeholder{font-weight:450;color:#8D867C}.field-submit{position:absolute;right:6px;top:6px;border-radius:50%;height:44px;width:44px;background:var(--orange);color:white;display:grid;place-items:center}.name-label{margin-top:19px}.dialog-action{margin-top:19px;font-size:15px;letter-spacing:-.8px}.field-error{margin:12px 1px 0;color:#B93A27;font-size:13px;font-weight:650}.dialog-hint{font-size:12px;line-height:1.5;color:var(--muted);margin:14px 2px 0}.rules-scroll{max-height:min(400px,48vh);overflow:auto}.rule-step{display:flex;gap:16px;padding:13px 0;border-top:1px solid #DED9CE}.rule-step>b{font:900 19px var(--pixel);color:var(--orange)}.rule-step strong{font:800 15px var(--pixel);letter-spacing:-.5px}.rule-step p{color:#686158;font-size:13px;line-height:1.55;margin:6px 0 0}.trump-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.trump-option{min-height:120px;background:var(--card);border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--ink)}.trump-option span{font-size:51px;line-height:1}.trump-option strong{font:800 13px var(--pixel)}.trump-option.red-suit span{color:var(--orange)}.trump-option:hover,.trump-option:focus-visible{box-shadow:inset 0 0 0 3px var(--orange)}.dialog--result{text-align:center}.result-ornament{width:68px;height:68px;background:var(--orange);color:white;border-radius:21px;font-size:44px;display:grid;place-items:center;margin:9px auto 18px}.result-heading{font:900 26px var(--pixel);letter-spacing:-1.3px;margin:0 0 11px}.result-subtitle{font-size:13px;color:var(--muted);margin:0 0 21px}.result-scores{display:flex;justify-content:center;align-items:center;gap:19px;background:var(--card);padding:18px;border-radius:22px}.result-scores div{display:flex;flex-direction:column;gap:6px}.result-scores small{font:800 10px var(--pixel);color:var(--muted)}.result-scores strong{font:900 41px var(--pixel)}.result-scores div:first-child strong{color:var(--orange)}.result-scores>b{font:900 24px var(--pixel);color:#aca69a}.result-points{font:800 13px var(--pixel);color:var(--orange);margin:20px 0 1px}#toast{position:fixed;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,18px);z-index:300;background:#222;color:white;border-radius:100px;padding:12px 17px;min-width:120px;max-width:min(370px,90vw);font-size:13px;font-weight:650;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:375px){:root{--gutter:16px}.feature-card{min-height:430px}.feature-illustration{height:220px}.feature-content h1{font-size:23px}.fan-art{transform:scale(.85) translateY(12px)}.feature-content p{font-size:15px}.big-action{font-size:16px}.room-code-panel strong{font-size:33px}.copy-room{padding:10px 11px}.game-shell{padding-inline:9px}.side-opponent{width:79px}.side-opponent .person-info>span{max-width:75px}.surface-center{width:54%}.play-surface{min-height:198px}.hand-card{width:67px;height:100px}.hand-card+.hand-card{margin-left:-30px}}
@media(min-width:700px){.home-shell{padding-top:45px}.game-shell{width:480px;padding-top:28px}.play-surface{min-height:280px}.table-section{min-height:350px}.bottom-hand{min-height:230px}.hand-card{width:86px;height:130px}.hand-card+.hand-card{margin-left:-37px}.hand-track{padding-inline:18px}}
@media(max-height:740px){.home-shell{padding-top:18px}.filterbar{margin-top:18px}.feature-card{min-height:385px}.feature-illustration{height:195px}.main-actions{margin-top:17px}.table-section{min-height:210px}.table-top-player{height:48px}.play-surface{min-height:177px}.hand-card{height:94px;width:64px}.bottom-hand{min-height:151px}.hand-head{margin-bottom:3px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Small text on orange uses charcoal for accessible contrast. */
.feature-cta,.chip-orange{color:var(--ink)}
/* KOREH multi-game layer — preserves the Kangar design tokens */
.brand--koreh{padding:0 18px;background:var(--ink);max-width:194px;overflow:hidden}
.brand--koreh img{width:146px;height:39px;object-fit:contain;display:block}
.brand-mark img{display:block}
.game-overline{font:800 10px var(--pixel);color:var(--orange);letter-spacing:.3px;margin:0 0 6px}
.koreh-home .feature-content h1{margin-top:0}
.game-feature .feature-content p{max-width:320px}
.koreh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.koreh-grid .feature-card{min-height:265px;border-radius:22px}
.koreh-grid .feature-illustration{height:127px;overflow:hidden}
.koreh-grid .feature-content{padding:13px}
.koreh-grid .feature-content h1{font-size:16px;margin:0 0 7px}
.koreh-grid .feature-content p{font-size:11px;line-height:1.3;min-height:56px;margin:0 0 10px}
.koreh-grid .feature-cta{font-size:11px;padding:8px 11px;min-height:36px}
.koreh-grid .feature-cta svg{width:12px}
.koreh-grid .fan-art{transform:scale(.48) translateY(0)}
.koreh-grid .art-chess{font-size:53px}
.koreh-grid .art-backgammon{transform:scale(.60)}
.koreh-grid .art-scottish{transform:scale(.6)}
.koreh-grid .game-overline{font-size:8px}
.art-chess{display:flex;align-items:center;justify-content:center;gap:5px;font:900 clamp(65px,22vw,110px) Georgia,serif;letter-spacing:-13px;color:var(--ink);text-shadow:3px 4px #d5cec1;transform:rotate(-6deg);padding:0 24px 18px 0}
.art-chess span{color:var(--orange);font-size:1.12em;position:relative;top:15px;transform:rotate(11deg)}
.art-backgammon{position:relative;display:grid;place-items:center;height:220px;width:100%}
.art-board{border:12px solid var(--ink);border-radius:22px;background:#e9a278;width:244px;height:172px;line-height:1.35;font-size:62px;font-weight:800;text-align:center;color:var(--ink);letter-spacing:3px;transform:rotate(-8deg);box-shadow:4px 7px #d6d0c2}
.art-dice{position:absolute;right:14%;bottom:20px;background:var(--orange);color:white;border-radius:17px;padding:6px 17px;font-size:40px;transform:rotate(9deg)}
.art-scottish{display:flex;flex-direction:column;align-items:center;gap:9px;transform:rotate(-7deg)}
.art-predict{font:900 85px/1 var(--pixel);letter-spacing:-12px;color:var(--orange)}
.art-predict span{color:var(--ink);font-size:.6em;margin:0 15px}
.art-scottish-cards{background:var(--ink);border-radius:999px;padding:5px 31px;color:#fff;font-size:35px;letter-spacing:9px}
.koreh-seats:has(.room-seat:nth-child(3):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.koreh-seats:has(.room-seat:nth-child(3):last-child) .room-seat:last-child{grid-column:span 2}
.game-shell.koreh-game{padding-top:max(20px,env(safe-area-inset-top));gap:13px;max-width:560px;width:min(100%,560px)}
.koreh-game .header{flex-shrink:0}
.koreh-game .game-statusline{margin:7px 0 0;min-height:21px}
.mini-help{display:flex;align-items:center;gap:5px;background:var(--card);border-radius:30px;padding:7px 10px;color:var(--muted);font:700 11px var(--pixel)}
.koreh-game-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.koreh-game-label h1{margin:0;font:900 25px var(--pixel);letter-spacing:-1px}
.koreh-game-label small{font:650 11px var(--pixel);color:var(--muted);text-align:right}
.chess-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--card);padding:10px 13px;border-radius:18px}
.player-card{display:flex;align-items:center;gap:10px;min-width:0;opacity:.7}
.player-card.active-player{opacity:1}
.player-mini-avatar{flex:none;width:36px;height:36px;border-radius:12px;background:var(--ink);display:grid;place-items:center;color:white;font:800 16px var(--pixel)}
.player-mini-self{background:var(--orange);color:var(--ink)}
.player-card div{display:flex;flex-direction:column;gap:4px;min-width:0}
.player-card strong{font:800 12px var(--pixel);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}
.player-card small{color:var(--muted);font-size:10px}
.chess-turn{background:var(--page);border-radius:20px;padding:9px;color:var(--orange);font:800 10px var(--pixel);white-space:nowrap}
.chess-board{aspect-ratio:1;width:100%;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);overflow:hidden;border-radius:18px;background:var(--card);border:5px solid var(--card);box-shadow:0 0 0 1px #d7d0c3}
.chess-square{padding:0;display:flex;align-items:center;justify-content:center;position:relative;min-height:0;min-width:0;outline-offset:-3px}
.chess-light{background:#F4EDE0}.chess-dark{background:#C6B9A5}
.chess-square.is-last{box-shadow:inset 0 0 0 30px #ff612d22}
.chess-square.is-selected{background:#FFAD7E!important}
.chess-square.is-possible::after{content:'';position:absolute;width:25%;aspect-ratio:1;left:50%;top:50%;transform:translate(-50%,-50%);background:#ff612d88;border-radius:50%}
.chess-square.is-possible:has(.chess-piece:not(:empty))::after{background:transparent;border:4px solid var(--orange);width:80%;border-radius:50%}
.chess-square.in-check{background:#e88d7d}
.chess-piece{font-family:'DejaVu Sans',Georgia,serif;font-size:clamp(25px,9vw,51px);line-height:1;z-index:1;pointer-events:none}
.piece-white{color:#FFF8E6;-webkit-text-stroke:1px #3c312a;filter:drop-shadow(0 2px 1px #3336)}
.piece-black{color:#292621;filter:drop-shadow(0 1px 1px #fff6)}
.rank-guide,.file-guide{position:absolute;font:900 8px var(--pixel);z-index:3;color:#62594a;pointer-events:none}
.rank-guide{top:2px;left:3px}.file-guide{bottom:2px;right:3px}
.chess-tools{display:flex;flex-wrap:wrap;gap:5px;align-items:center;justify-content:center;color:var(--muted);font:700 10px var(--pixel)}
.promotion-toggle{background:var(--card);border-radius:20px;padding:7px 9px;font-size:10px;color:var(--ink)}
.promotion-toggle.active{background:var(--orange);font-weight:800}
.resign-button{border:1px solid #cbc2b4;background:transparent;color:var(--muted);border-radius:99px;padding:10px 15px;font-size:12px;font-weight:700;align-self:center}
.resign-button:disabled{opacity:.3}
.bg-players{display:flex;gap:9px;align-items:center}
.bg-player{flex:1;min-width:0;background:var(--card);border-radius:15px;padding:10px 9px;font:800 11px var(--pixel);display:flex;flex-wrap:wrap;gap:5px;align-items:center;color:var(--ink);opacity:.7}
.bg-player.active-player{opacity:1;outline:2px solid var(--orange)}
.bg-player b{font-size:19px;color:var(--orange)}.bg-player small{font-size:9px;color:var(--muted);margin-left:auto}
.bg-board{border:11px solid #39332E;border-radius:18px;background:#C8A68B;display:flex;flex-direction:column;gap:6px;padding:4px;min-height:410px;box-shadow:inset 0 0 0 2px #b98d69}
.bg-points-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));height:151px;gap:1px}
.bg-point{background:transparent;border:0;padding:0;position:relative;display:flex;align-items:center;flex-direction:column;min-width:0}
.bg-point::before{content:'';position:absolute;inset:0 1px 0;clip-path:polygon(0 0,100% 0,50% 94%);background:#A75335}
.bg-point-top.bg-pale::before,.bg-point-bottom.bg-pale::before{background:#E8D8BD}
.bg-point-bottom{justify-content:flex-end}
.bg-point-bottom::before{clip-path:polygon(50% 6%,0 100%,100% 100%)}
.bg-point.bg-selected::before{background:#ffef88}
.bg-point.bg-possible::after{content:'';position:absolute;inset:0 0;border:3px solid #ffef88;pointer-events:none;border-radius:4px}
.bg-checker-stack{position:relative;z-index:2;display:flex;align-items:center;flex-direction:column;max-width:100%;pointer-events:none}
.bg-point-bottom .bg-checker-stack{flex-direction:column-reverse}
.bg-checker{width:min(27px,6.15vw);height:min(27px,6.15vw);border-radius:50%;display:block;flex:none;border:2px solid #ffffff55;box-shadow:0 1px 2px #0004}
.bg-checker+.bg-checker{margin-top:-4px}.bg-point-bottom .bg-checker+.bg-checker{margin-top:0;margin-bottom:-4px}
.bg-checker.bg-white{background:#FCF4E1;box-shadow:inset 0 0 0 3px #d4c7af,0 1px 2px #0003}
.bg-checker.bg-black{background:#302D29;box-shadow:inset 0 0 0 3px #55504a,0 1px 2px #0005}
.bg-amount{position:absolute;top:3px;left:50%;transform:translateX(-50%);font:800 12px var(--pixel);color:var(--orange);background:#fff;padding:2px 4px;border-radius:30px}
.bg-point-number{position:absolute;left:0;right:0;color:#5b4f46;text-align:center;font:800 9px var(--pixel);bottom:0;z-index:3}
.bg-point-bottom .bg-point-number{top:0;bottom:auto}
.bg-board-middle{flex:1;display:flex;align-items:center;justify-content:space-between;gap:5px;border-radius:6px;background:#9f795a;padding:13px 8px;min-height:55px;color:#fff}
.bg-bar,.bg-off button{background:#392e27;color:white;border-radius:12px;padding:10px;font:800 10px var(--pixel)}
.bg-bar b{display:block;font-size:12px;color:#F26430;margin-top:4px}
.bg-off button{white-space:nowrap}.bg-off button.bg-possible{outline:3px solid #ffef88}
.bg-die-wrap{display:flex;gap:7px;justify-content:center}.bg-die{background:#F4E8D5;color:#2D2A27;font-size:30px;border-radius:10px;display:block;width:38px;height:38px;line-height:38px;text-align:center;box-shadow:1px 2px 2px #0003}
.bg-dice-hint{font:800 10px var(--pixel)}
.bg-info{display:flex;justify-content:space-between;gap:7px;color:var(--muted);font:800 11px var(--pixel)}
.bg-info span:first-child{color:var(--orange)}
.bg-actions{display:flex;flex-direction:column;gap:12px}.bg-actions .big-action{margin-top:4px}
.bg-select-note{background:var(--card);border-radius:99px;text-align:center;padding:17px;font:700 12px var(--pixel);color:var(--ink)}
.scottish-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.scot-player{display:flex;flex-direction:column;align-items:center;gap:5px;background:var(--card);border-radius:18px;padding:14px 4px;color:var(--ink);min-width:0}
.scot-player.is-turn{outline:2px solid var(--orange)}
.scot-player.self strong{color:var(--orange)}
.scot-player small{font:700 10px var(--pixel);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scot-player strong{font:900 28px var(--pixel)}
.scot-player span{font:700 9px var(--pixel);color:var(--muted)}
.scottish-table{background:var(--card);min-height:218px;border-radius:25px;padding:13px;display:flex;flex-direction:column;justify-content:space-between}
.scottish-opponents{display:flex;align-items:center;justify-content:space-between;gap:8px}
.scottish-opponent{display:flex;flex-direction:column;align-items:center;gap:8px}
.scot-op-name{font:800 10px var(--pixel);color:var(--muted)}
.scot-played{display:flex;gap:8px;justify-content:center;align-items:center;min-height:117px}
.scottish-play{display:flex;align-items:center;flex-direction:column;gap:4px}
.scottish-play img{height:85px;width:60px;object-fit:contain}
.scottish-play small{font:700 9px var(--pixel)}
.scot-empty{font:800 12px var(--pixel);color:#9C9485;text-align:center}
.scot-hand{padding:8px 1px}.scot-hand .hand-scroll{max-width:100%}
.scot-bidding{padding:16px;background:var(--card);border-radius:25px}
.scot-bidding h3{font:800 16px/1.3 var(--pixel);margin:0 0 13px}
.scot-bid-options{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--muted);font-size:13px}
.scot-bid-options button{background:var(--page);border-radius:13px;min-width:42px;min-height:42px;font:900 15px var(--pixel);color:var(--ink)}
.scot-bid-options button:focus-visible,.scot-bid-options button:hover{background:var(--orange)}
.scottish-result-list{background:var(--card);border-radius:18px;display:flex;flex-direction:column;gap:12px;padding:16px}
.scottish-result-list div{display:flex;justify-content:space-between;gap:10px;font:700 13px var(--pixel)}
.scottish-result-list b{color:var(--orange)}
@media(max-width:375px){.game-shell.koreh-game{padding-inline:9px}.chess-piece{font-size:clamp(24px,8.5vw,44px)}.bg-board{border-width:7px;padding:2px;min-height:360px}.bg-points-row{height:128px}.bg-checker{width:min(24px,6vw);height:min(24px,6vw)}.bg-board-middle{padding:6px 4px}.bg-bar,.bg-off button{padding:8px 4px;font-size:8px}.bg-die{width:30px;height:30px;line-height:30px;font-size:24px}.art-predict{font-size:70px}}
@media(min-width:700px){.game-shell.koreh-game{max-width:560px;width:560px}.chess-piece{font-size:53px}.bg-checker{width:28px;height:28px}.bg-points-row{height:164px}.bg-board{min-height:445px}}

/* v5 review: controls and interaction affordances only; original v3 chess visuals retained. */
.bg-die-choices{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;background:var(--card);border-radius:18px;padding:12px;color:var(--ink)}
.bg-die-choices span{font-size:12px;font-weight:700;flex-basis:100%;text-align:center}
.bg-die-choices .pill{min-width:46px;min-height:44px;font-size:16px;font-weight:800;cursor:pointer}
.chess-square:focus-visible,.bg-point:focus-visible,.hand-card:focus-visible{outline:3px solid var(--orange);outline-offset:-3px;z-index:4}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* v6 RTL support, font family replaced by Lahzeh in v7. */
.header-actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto;flex-shrink:0}
.language-toggle{display:flex;align-items:center;justify-content:center;background:var(--card);color:var(--ink);width:43px;height:43px;border-radius:999px;font:800 13px/1 system-ui,sans-serif;flex-shrink:0;border:1px solid #d6d1c5}
.language-toggle:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
html[dir=rtl] body{--pixel:'KorehLahzeh',Tahoma,sans-serif;--sans:'KorehLahzeh',Tahoma,sans-serif;font-family:var(--sans);text-align:right;letter-spacing:normal}
html[dir=rtl] .feature-content h1{font-size:29px;line-height:1.25;letter-spacing:0}
html[dir=rtl] .feature-content p{font-size:17px;line-height:1.65}
html[dir=rtl] .feature-cta,html[dir=rtl] .big-action{font-size:19px;letter-spacing:0}
html[dir=rtl] .chip{font-size:14px}
html[dir=rtl] .page-title{letter-spacing:0;font-size:31px}
html[dir=rtl] .eyebrow,html[dir=rtl] .game-overline,html[dir=rtl] .room-seat small{letter-spacing:0}
html[dir=rtl] .room-code-panel strong,html[dir=rtl] #room-code,html[dir=rtl] .header-room b{font-family:ui-monospace,Menlo,monospace;direction:ltr;unicode-bidi:isolate;text-align:left;font-variant-numeric:tabular-nums}
html[dir=rtl] .big-action{text-align:right}
html[dir=rtl] .big-action svg:last-child{margin-left:0;margin-inline-start:auto}
html[dir=rtl] .big-action .icon-arrow,html[dir=rtl] .feature-cta .icon-arrow,html[dir=rtl] .copy-room .icon-arrow,html[dir=rtl] .back-button .icon-back{transform:scaleX(-1)}
html[dir=rtl] .header-room{margin-left:0;margin-inline-start:auto}
html[dir=rtl] .person-info>span{letter-spacing:0}
html[dir=rtl] .room-seat .seat-indicator{right:auto;left:16px}
html[dir=rtl] .bg-player small{margin-left:0;margin-inline-start:auto}
/* The game grid must preserve coordinate and square orientation across languages. */
html[dir=rtl] .chess-board,html[dir=rtl] .bg-board,html[dir=rtl] .hand-track,html[dir=rtl] .fan-art,html[dir=rtl] .scottish-card-art{direction:ltr}
html[dir=rtl] .rank-guide,html[dir=rtl] .file-guide{font-family:ui-monospace,monospace}
html[dir=rtl] .scoreboard strong{font-variant-numeric:tabular-nums}
html[dir=rtl] .scot-player span,html[dir=rtl] .bg-info,html[dir=rtl] .room-status{font-size:13px}
html[dir=rtl] .room-seat strong{font-size:17px}
html[dir=rtl] .room-seat small{font-size:12px}
html[dir=rtl] .scot-player small{font-size:12px}
html[dir=rtl] .chess-tools{font-size:12px}
html[dir=rtl] .promotion-toggle{font-size:12px}
html[dir=rtl] .big-action:disabled{opacity:.48}
@media(max-width:375px){html[dir=rtl] .room-code-panel{padding:17px 15px}html[dir=rtl] .room-code-panel strong{font-size:36px}html[dir=rtl] .copy-room{padding:10px;font-size:12px}html[dir=rtl] .game-statusline{font-size:12px}html[dir=rtl] .language-toggle{width:40px;height:40px}}

/* v6.1: resilient feature-card artwork. Fixes giant card art when older PWA CSS is mixed with a newer app.js. */
.koreh-home .feature-card{isolation:isolate}
.koreh-home .feature-illustration{width:100%;min-width:0;overflow:hidden}
.koreh-home .fan-art,.koreh-home .scottish-card-art{position:relative;display:block;width:min(310px,100%);max-width:100%;height:234px;flex:none;overflow:visible;direction:ltr}
.koreh-home .fan-art .fan-card,.koreh-home .scottish-card-art .scottish-feature-card{position:absolute;display:block;width:109px!important;height:165px!important;max-width:109px;max-height:165px;object-fit:contain;top:28px;left:100px;transform-origin:50% 86%;filter:drop-shadow(0 7px 4px rgba(30,27,21,.14))}
.koreh-home .fan-art .fan-1{transform:translate(-73px,10px) rotate(-24deg)}
.koreh-home .fan-art .fan-2{transform:translate(-31px,-6px) rotate(-9deg)}
.koreh-home .fan-art .fan-3{transform:translate(19px,-3px) rotate(12deg)}
.koreh-home .fan-art .fan-4{transform:translate(70px,14px) rotate(26deg)}
.koreh-home .scottish-card-art .scottish-feature-card-1{transform:translate(-64px,7px) rotate(-20deg)}
.koreh-home .scottish-card-art .scottish-feature-card-2{transform:translate(-2px,-9px) rotate(-2deg)}
.koreh-home .scottish-card-art .scottish-feature-card-3{transform:translate(61px,8px) rotate(20deg)}
.koreh-grid .feature-illustration{overflow:hidden}
.koreh-grid .fan-art,.koreh-grid .scottish-card-art{transform:scale(.48);transform-origin:center center}
@media(max-width:375px){.koreh-home .fan-art,.koreh-home .scottish-card-art{transform:scale(.84);transform-origin:center center}}
@media(max-width:375px){.koreh-grid .fan-art,.koreh-grid .scottish-card-art{transform:scale(.40)}}

/* Koreh v7: design-sourced Persian catalog, player filter, tabs and guest profile. */
@font-face{font-family:'KorehLahzeh';src:url('/assets/fonts/Lahzeh-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'KorehLahzeh';src:url('/assets/fonts/Lahzeh-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:'KorehLahzeh';src:url('/assets/fonts/Lahzeh-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:'KorehLahzeh';src:url('/assets/fonts/Lahzeh-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'KorehLahzeh';src:url('/assets/fonts/Lahzeh-ExtraBold.ttf') format('truetype');font-weight:800;font-display:swap}
@font-face{font-family:'KorehLahzeh';src:url('/assets/fonts/Lahzeh-Black.ttf') format('truetype');font-weight:900;font-display:swap}
:root{--page:#F0EFEB;--card:#EBE8DE;--orange:#FF5C20;--ink:#222222;--muted:#716D63}
html[dir=rtl] body{--pixel:'KorehLahzeh',Tahoma,sans-serif;--sans:'KorehLahzeh',Tahoma,sans-serif}
html[dir=rtl] button,html[dir=rtl] input{font-family:'KorehLahzeh',Tahoma,sans-serif}
.v7-home{padding-top:max(24px,env(safe-area-inset-top));padding-bottom:calc(110px + env(safe-area-inset-bottom));min-height:100dvh}
.v7-header{display:flex;align-items:center;gap:10px;min-height:64px;direction:rtl}
.v7-avatar-entry{width:62px;height:62px;flex:none;padding:5px;background:var(--page);border:4px solid var(--orange);border-radius:50%;display:grid;place-items:center}
.v7-avatar-entry img{width:100%;height:100%;border-radius:50%}
.pixel-avatar{display:block;image-rendering:pixelated;image-rendering:crisp-edges;object-fit:contain}
.v7-greeting{min-width:0;flex:1;line-height:1.2;text-align:right}
.v7-greeting h1{font-size:25px;font-weight:800;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 3px}
.v7-greeting p{font-size:14px;color:var(--ink);font-weight:600;line-height:1.3;margin:0}
/* Compact join-room action replaces the home-header language toggle. */
.v7-header-join{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:0 12px;flex:none;border-radius:999px;background:var(--ink);color:#fff;font-size:13px;font-weight:800;white-space:nowrap;touch-action:manipulation}
.v7-header-join svg{color:var(--orange);flex:none}
.v7-header-join:focus-visible,.v7-language-options button:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.v7-profile-language .v7-language-options{margin-top:4px}
.v7-profile-language .v7-language-options button[lang="en"]{font-family:system-ui,sans-serif}
@media(max-width:375px){.v7-header-join{width:46px;padding:0}.v7-header-join span{position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap}}
.v7-filter-row{margin:22px 0 17px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;direction:rtl}
.v7-filter-chip{min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;background:var(--ink);color:white;border-radius:999px;font-size:14px;font-weight:700;white-space:nowrap}
.v7-filter-chip svg{color:var(--orange)}
.v7-filter-chip.selected{background:var(--orange);color:var(--ink)}
.v7-filter-chip.selected svg{color:white}
.v7-view-toggle{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;color:var(--white);background:var(--ink);margin-inline-start:auto}
.v7-clear-count{display:flex;align-items:center;gap:5px;margin:-9px 0 11px;background:transparent;font-weight:700;font-size:12px;color:var(--orange)}
.v7-collection{min-width:0}
.v7-card-stack{display:grid;gap:16px}
.v7-game-card{background:var(--card);border-radius:34px;padding:14px;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.v7-game-art{height:auto;width:100%;aspect-ratio:1.30;max-height:260px;flex:none;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:30px;background:linear-gradient(180deg,#FBC454,#FFB820)}
.v7-art-chess{background:#D9D1BE}.v7-art-backgammon{background:#E6B28C}.v7-art-scottish{background:#F2CFA5}
.v7-game-art .reference-fan,.v7-game-art .scottish-card-art{position:relative!important;display:block!important;width:100%!important;max-width:310px!important;height:100%!important;max-height:260px!important;transform:none!important;overflow:hidden;direction:ltr;flex:none}
.v7-game-art .reference-card,.v7-game-art .scottish-feature-card{position:absolute;display:block!important;width:105px!important;height:158px!important;max-width:105px!important;max-height:158px!important;object-fit:contain!important;top:21%;left:calc(50% - 52px);filter:drop-shadow(0 6px 3px rgba(33,33,33,.17));transform-origin:50% 85%}
.v7-game-art .reference-1{transform:translateX(-45px) rotate(-22deg)}
.v7-game-art .reference-2{transform:translateX(-9px) rotate(-8deg)}
.v7-game-art .reference-3{transform:translateX(35px) rotate(12deg)}
.v7-game-art .scottish-feature-card-1{transform:translateX(-50px) rotate(-19deg)}
.v7-game-art .scottish-feature-card-2{transform:translateX(0) rotate(0deg)}
.v7-game-art .scottish-feature-card-3{transform:translateX(50px) rotate(18deg)}
.v7-game-art .art-chess{transform:scale(.85);white-space:nowrap;max-width:100%;overflow:hidden}
.v7-game-art .art-backgammon{transform:scale(.89);transform-origin:center}
/* Favorite state: both states keep the same warm-neutral circular surface.
   Outline (unsaved) -> solid orange heart (saved), matching the approved visual reference. */
.favorite-heart{position:absolute;top:13px;left:13px;width:48px;height:48px;border-radius:50%;background:var(--page);color:var(--orange);display:grid;place-items:center;z-index:3}
.favorite-heart svg{fill:none;stroke:var(--orange);stroke-width:1.6;transition:fill .12s ease}
.favorite-heart.is-liked{background:var(--page);color:var(--orange)}
.favorite-heart.is-liked svg{fill:var(--orange);stroke:var(--orange)}
@media (prefers-reduced-motion:reduce){.favorite-heart svg{transition:none}}
.v7-game-content{padding:13px 0 0;display:flex;flex-direction:column;gap:8px;min-width:0;text-align:right}
.v7-game-content h2{font-size:38px;line-height:1.08;margin:0;font-weight:900;letter-spacing:-.7px}
.v7-game-content p{margin:0;font-size:17px;line-height:1.55;color:#35322e;font-weight:500;min-height:48px;overflow-wrap:anywhere}
.v7-game-meta{color:var(--orange);font-size:12px;line-height:1.35;font-weight:700}
.v7-game-actions{display:flex;gap:10px;align-items:stretch;justify-content:space-between;margin-top:8px;direction:ltr;flex-wrap:wrap}
.v7-game-actions button{border-radius:999px;min-height:50px;min-width:0;font-size:16px;font-weight:800;padding:0 14px;display:inline-flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap}
.v7-start{color:var(--white);background:var(--orange)}.v7-tutorial{background:var(--ink);color:white}
.v7-tutorial svg{color:var(--orange)}
.v7-dots{display:flex;justify-content:center;gap:6px;margin:15px 0 0;align-items:center;direction:ltr}
.v7-dots button{min-width:8px}
.v7-under-actions{margin:14px 0 4px;text-align:center}
.v7-join{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 18px;border-radius:99px;color:var(--ink);background:transparent;font-size:13px;font-weight:800}
.v7-join svg{color:var(--orange)}
.v7-tabs{position:fixed;bottom:max(13px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 40px),400px);padding:11px;min-height:75px;display:flex;gap:5px;align-items:stretch;background:var(--ink);border-radius:999px;z-index:8;direction:rtl;box-shadow:0 8px 22px #0000000c}
.v7-tabs button{flex:1;min-width:0;min-height:52px;white-space:nowrap;border-radius:999px;background:transparent;color:white;font-size:16px;font-weight:800;padding:0 5px}
.v7-tabs button[aria-selected=true]{background:var(--orange)}
.v7-empty{background:var(--card);border-radius:30px;min-height:360px;padding:38px 20px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center}
.v7-empty-mark{font-size:56px;color:var(--orange)}
.v7-empty h2{font-size:25px;margin:12px 0 7px}.v7-empty p{line-height:1.5;margin:0 0 26px;color:var(--muted)}
.v7-sheet-backdrop{display:block!important;padding:0!important;overscroll-behavior:contain}
.v7-player-sheet{position:absolute;bottom:0;left:0;right:0;width:100%;max-width:none;min-height:395px;max-height:min(90dvh,520px);border-radius:22px 22px 0 0;box-shadow:none;overflow-y:auto;background:var(--page);padding:36px 28px calc(26px + env(safe-area-inset-bottom));text-align:center}
.v7-player-sheet h2{font-size:28px;line-height:1.2;margin:8px 0 23px;font-weight:900}
.v7-stepper{display:flex;align-items:center;justify-content:space-between;gap:15px;max-width:290px;margin:0 auto 52px}
.v7-stepper button{width:82px;height:82px;background:var(--ink);color:white;border-radius:50%;display:grid;place-items:center;flex:none}
.v7-stepper button:disabled{opacity:.33}.v7-stepper strong{font-size:50px;line-height:1;font-weight:900;min-width:50px}
.v7-sheet-confirm{display:block;width:100%;min-height:58px;background:var(--orange);border-radius:999px;color:white;font-size:18px;font-weight:800}
.v7-sheet-cancel{display:block;margin:13px auto 0;padding:13px;background:transparent;color:var(--ink);font-size:16px;font-weight:800}
.v7-subpage{min-height:100dvh;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:32px}
.v7-subheader{height:54px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}
.v7-subheader>button,.v7-header-placeholder{width:46px;height:46px;border-radius:50%;background:var(--ink);color:white;display:grid;place-items:center;flex:none}
.v7-subheader h1{font-size:25px;margin:0;font-weight:900}
.v7-profile-hero,.v7-settings-card{background:var(--card);padding:22px 18px;border-radius:24px;margin-bottom:14px}
.v7-profile-hero{display:flex;align-items:center;flex-direction:column;gap:10px;padding:30px 18px}
.v7-profile-hero>.pixel-avatar{height:100px;width:100px;border-radius:22px}
.v7-profile-hero h2{font-size:25px;margin:3px 0 0}
.v7-text-btn{color:var(--orange);background:transparent;padding:10px;font-weight:800}
.v7-settings-card h3{font-size:20px;margin:0 0 13px}
.v7-settings-card p{color:#635e56;margin:0 0 16px;font-size:15px}
.v7-avatar-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v7-avatar-picker button{aspect-ratio:1;min-width:0;border:3px solid transparent;padding:5px;border-radius:17px;background:var(--page)}
.v7-avatar-picker button.is-selected{border-color:var(--orange);position:relative}
.v7-avatar-picker button.is-selected::after{content:'✓';position:absolute;right:-4px;top:-8px;background:var(--orange);color:white;border-radius:50%;height:21px;width:21px;font-size:13px;display:grid;place-items:center}
.v7-avatar-picker .pixel-avatar{width:100%;height:100%}
.v7-dark-action,.v7-settings-link{min-height:48px;padding:10px 16px;border-radius:99px;background:var(--ink);color:white;font-weight:800;font-size:15px;display:flex;align-items:center;gap:8px;justify-content:center}
.v7-settings-link{width:100%;min-height:58px}.v7-picker-space{margin-top:18px}
.v7-language-options{display:flex;gap:10px}.v7-language-options button{flex:1;border:2px solid transparent;background:var(--page);border-radius:99px;min-height:47px;font-weight:800}
.v7-language-options button[aria-pressed=true]{border-color:var(--orange);background:#ff5c201a}
.room-seat .pixel-avatar{width:100%;height:100%;border-radius:8px}
.person-avatar .pixel-avatar{width:100%;height:100%;border-radius:50%}
html[dir=ltr] .v7-greeting{text-align:left}
html[dir=ltr] .v7-header{direction:ltr}
html[dir=ltr] .v7-game-content{text-align:left}
html[dir=ltr] .v7-filter-row{direction:ltr}
html[dir=ltr] .v7-tabs{direction:ltr}
html[dir=rtl] .v7-game-actions{direction:ltr}
@media(max-width:375px){.v7-home{--gutter:16px}.v7-filter-chip{padding-inline:10px;font-size:12px}.v7-view-toggle{width:40px;height:40px}.v7-game-content h2{font-size:32px}.v7-game-content p{font-size:16px}.v7-game-actions button{font-size:13px;min-height:44px;padding:0 11px}.v7-tabs{width:calc(100% - 32px)}.v7-tabs button{font-size:14px}.v7-stepper button{width:74px;height:74px}}
@media(max-width:340px){.v7-filter-row .v7-view-toggle{margin-inline-start:0}.v7-header{gap:7px}.v7-greeting h1{font-size:20px}.v7-greeting p{font-size:12px}.v7-avatar-entry{width:55px;height:55px}.v7-game-actions{gap:7px}}
@media(prefers-reduced-motion:reduce){.v7-tabs,.v7-game-card{transition:none!important}}
.player-mini-avatar .pixel-avatar{width:100%;height:100%;border-radius:10px}

/* v7.1.3: saved-game counter, shown inside the Favorites collection chip */
.v7-fav-count{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:100px;background:rgba(255,255,255,.19);font-size:12px;line-height:1;font-weight:800;direction:ltr;font-variant-numeric:tabular-nums}
.v7-filter-chip:not(.selected) .v7-fav-count{background:rgba(255,255,255,.19)}
.v7-filter-chip.selected .v7-fav-count{background:rgba(0,0,0,.12)}

/* v7.2: expose remote presence alongside the game board, not just in the lobby. */
.peer-connection{display:inline-flex;align-items:center;font-size:11px;font-style:normal;opacity:.75;gap:4px}
.peer-connection::before{content:"";width:6px;height:6px;border-radius:50%;background:#777;display:inline-block}
.peer-connection.is-online::before{background:#34A268}


/* v7.4: Bilingual spatial audit. Navigation back always lives at the physical TOP LEFT,
   independent of the reading direction. Game boards and card ordering never mirror. */
.header--game {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  justify-content: stretch;
  gap: 8px;
  direction: ltr;
}
.header--game > .back-button { grid-column: 1; grid-row: 1; justify-self: start; }
.header--game > .header-room {
  grid-column: 2; grid-row: 1; justify-self: center;
  margin: 0; min-width: 0; max-width: 100%;
  display: flex; gap: 5px; align-items: center; white-space: nowrap;
  direction: rtl;
}
html[dir=ltr] .header--game > .header-room { direction: ltr; }
.header--game > .header-actions {
  grid-column: 3; grid-row: 1; justify-self: end;
  margin: 0; min-width: 0;
}
/* Don't mirror a genuine back arrow: it points left in both languages. */
html[dir=rtl] .back-button .icon-back,
html[dir=rtl] .v7-subheader-back .icon-back,
html[dir=ltr] .v7-subheader-back .icon-back { transform: none; }
.v7-subheader {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
  direction: ltr;
}
.v7-subheader > .v7-subheader-back { grid-column: 1; grid-row: 1; }
.v7-subheader > h1 {
  grid-column: 2; grid-row: 1; text-align: center;
  min-width: 0; overflow-wrap: anywhere;
  direction: rtl;
}
html[dir=ltr] .v7-subheader > h1 { direction: ltr; }
.v7-subheader > .v7-subheader-settings,
.v7-subheader > .v7-header-placeholder { grid-column: 3; grid-row: 1; }
.v7-header-placeholder { background: transparent; }
/* Form text follows language, while numeric identifiers retain LTR digits. */
html[dir=rtl] .field-label,
html[dir=rtl] .dialog-subtitle,
html[dir=rtl] .rule-step,
html[dir=rtl] .v7-settings-card { text-align: right; }
html[dir=ltr] .field-label,
html[dir=ltr] .dialog-subtitle,
html[dir=ltr] .rule-step,
html[dir=ltr] .v7-settings-card { text-align: left; }
html[dir=rtl] .code-wrap .field-submit { right: auto; left: 6px; }
html[dir=rtl] .code-wrap input {
  padding: 0 18px 0 68px;
  text-align: center;
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir=ltr] .code-wrap input { direction: ltr; }
.name-input[dir=auto] { unicode-bidi: plaintext; }
/* Card order is fixed as in the supplied screenshots: Start on the left,
   Tutorial on the right. Only the wording is direction-sensitive. */
.v7-game-actions { direction: ltr; }
.v7-game-actions button { direction: ltr; }
.v7-game-actions .action-caption { display: inline-block; direction: rtl; unicode-bidi: isolate; }
html[dir=ltr] .v7-game-actions .action-caption { direction: ltr; }
/* Avoid a mirrored layout shifting positional scores or the physical board. */
.scottish-scores, .scottish-opponents, .chess-board, .bg-board,
.hand-track, .scottish-table .scot-played { direction: ltr; }
.scot-player { direction: rtl; }
html[dir=ltr] .scot-player { direction: ltr; }
/* Keep compact status and controls legible on narrow screens. */
.header--game .header-room b { white-space: nowrap; }
.v7-subheader button { touch-action: manipulation; }
.v7-game-actions .action-caption { line-height: 1.2; }
@media (max-width: 340px) {
  .header--game { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 4px; }
  .header--game > .header-room { padding: 9px 8px; font-size: 11px; }
  .v7-subheader { gap: 6px; }
}
/* Higher specificity than the legacy RTL room-chip margin rule. The room code
   must be centered in the middle column, not next to the back button. */
html[dir=rtl] .header--game > .header-room,
html[dir=ltr] .header--game > .header-room {
  margin-inline: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Guest names and status must wrap instead of clipping in three-player scores. */
.scot-player small { display: block; width: 100%; text-align: center; overflow-wrap: anywhere; }
.player-card small { unicode-bidi: isolate; }

/* v7.5 | Illustrated learning pages. Room interfaces and game-board geometry unchanged. */
.guide-page{width:100%;max-width:560px;margin-inline:auto;padding:20px 20px calc(42px + env(safe-area-inset-bottom,0px));font-family:var(--sans);color:#222;overflow-x:clip}
.guide-page *{box-sizing:border-box}
.guide-topbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;padding-top:max(5px,env(safe-area-inset-top,0px));margin-bottom:23px}
.guide-topbar strong{font-size:15px;font-weight:800;text-align:center;line-height:1.5}
.guide-back{width:44px;height:44px;display:grid;place-items:center;background:#222;color:#fff;border:0;border-radius:50%;cursor:pointer;grid-column:1;grid-row:1}
.guide-topbar-spacer{width:44px;height:44px;grid-column:3;grid-row:1}
.guide-intro{background:#EBE8DE;border-radius:29px;padding:25px 22px 23px;margin-bottom:16px;text-align:start}
.guide-eyebrow,.guide-kicker{font-size:12px;font-weight:800;color:#F26430;line-height:1.5}
.guide-eyebrow-star{font-size:18px;margin-inline-start:6px}
.guide-intro h1{font-size:clamp(37px,9vw,50px);line-height:1.2;font-weight:900;letter-spacing:0;margin:13px 0 10px}
.guide-intro p{font-size:17px;line-height:1.9;margin:0;color:#514D47}
.guide-facts{display:flex;gap:7px;flex-wrap:wrap;margin-top:19px}
.guide-facts span{background:#F9F7F2;border-radius:99px;padding:8px 12px;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;white-space:nowrap;color:#302D29}
.guide-facts svg{color:#F26430}
.guide-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:18px 0 29px}
.guide-nav button{border:0;background:#222;color:#fff;border-radius:100px;padding:12px 4px;font-size:12px;font-weight:800;min-height:45px;line-height:1.4;cursor:pointer;min-width:0}
.guide-nav button:active{background:#F26430}
.guide-section{scroll-margin-top:18px;margin-top:27px;margin-bottom:36px}
.guide-section-heading{margin-bottom:15px}
.guide-section-heading h2{font-size:26px;font-weight:900;line-height:1.35;margin:6px 0 8px;letter-spacing:0}
.guide-section-heading p{font-size:15px;color:#77716A;line-height:1.75;margin:0}
.guide-step-list{display:grid;gap:15px}
.guide-step{background:#EBE8DE;border-radius:27px;padding:21px 17px 17px;min-width:0}
.guide-step-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.guide-step-number{width:37px;height:37px;border-radius:50%;background:#FF5C20;color:#fff;display:grid;place-items:center;flex:none;font-weight:900;font-size:17px}
.guide-step-heading h3{font-size:18px;font-weight:900;line-height:1.5;margin:0;min-width:0}
.guide-step-description{font-size:15px;line-height:2.0;margin:0 0 15px;color:#4D4942}
.guide-figure{margin:0;background:#F6F3ED;border-radius:22px;min-width:0;padding:21px 13px 13px;overflow:hidden;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}
.guide-figure figcaption{font-size:12px;line-height:1.8;text-align:center;color:#77716A;width:100%;max-width:400px}
.guide-seat-diagram{width:min(100%,285px);min-height:236px;display:grid;grid-template-columns:1fr 1.3fr 1fr;grid-template-rows:51px 102px 51px;align-items:center;justify-items:center;gap:3px;direction:ltr}
.guide-seat-diagram span:not(.seat-center){background:#222;color:#fff;min-width:74px;padding:10px 5px;border-radius:18px;font-size:13px;font-weight:800;direction:rtl}
.guide-seat-diagram .seat-top{grid-area:1/2}.guide-seat-diagram .seat-bottom{grid-area:3/2;background:#FF5C20!important}.guide-seat-diagram .seat-left{grid-area:2/1}.guide-seat-diagram .seat-right{grid-area:2/3}
.guide-seat-diagram .seat-center{grid-area:2/2;background:#E2D8C6;border-radius:50%;width:92px;height:92px;display:grid;place-items:center;font-size:21px;color:#A24F31}
.guide-card-line{display:flex;justify-content:center;gap:6px;max-width:100%;align-items:center}
.guide-art-card{position:relative;flex:0 1 82px;min-width:0;max-width:82px}
.guide-card-img{display:block;max-width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;filter:drop-shadow(0px 3px 4px #0002)}
.guide-art-card.winning{transform:translateY(-10px)}
.guide-winner{position:absolute;top:-13px;right:-10px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#FF5C20;color:white;font-size:17px}
.guide-card-example{width:100%;padding-top:9px}
.guide-card-example .guide-art-inline{display:block;margin-top:12px;color:#B54B27;font-size:13px;font-weight:800}
.guide-rule-compare{width:100%;display:flex;align-items:center;gap:15px;justify-content:center;direction:ltr}
.guide-rule-compare>span:not(.guide-vs){display:grid;gap:5px;justify-items:center;max-width:38%}.guide-rule-compare b{font-size:11px;line-height:1.5;direction:rtl}.guide-rule-compare img{max-width:86px}
.guide-vs{font-size:28px;color:#F26430}
.guide-score-demo{display:flex;justify-content:center;align-items:center;width:100%;gap:14px;direction:ltr}
.guide-score-demo>div{flex:1;background:#EBE8DE;border-radius:18px;padding:16px 10px;max-width:150px;display:grid;gap:5px}.guide-score-demo small{font-size:12px;color:#625b51}.guide-score-demo strong{font-size:44px;line-height:1;color:#222}.guide-score-demo>b{font-size:22px;color:#F26430}
.guide-score-progress{height:6px;border-radius:6px;background:#D5D0C7;display:block;overflow:hidden}.guide-score-progress i{display:block;height:100%;background:#F26430}
.guide-chess-board{width:min(100%,308px);aspect-ratio:1;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);border:6px solid #35322D;border-radius:6px;overflow:hidden;direction:ltr}
.guide-chess-cell,.guide-knight-cell{display:grid;place-items:center;font-family:Georgia,'Times New Roman',serif;font-size:clamp(18px,6.3vw,28px);line-height:1;direction:ltr}
.guide-chess-cell.light,.guide-knight-cell.light{background:#E7DCC5}.guide-chess-cell.dark,.guide-knight-cell.dark{background:#858F6B}
.guide-chess-cell.threat{box-shadow:inset 0 0 0 2px #F26430}
.guide-knight-board{width:min(100%,260px);aspect-ratio:1;display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,1fr);overflow:hidden;border:5px solid #35322D;border-radius:7px;direction:ltr}
.guide-knight-cell{font-size:36px}.guide-knight-cell.possible{box-shadow:inset 0 0 0 4px #FF5C20}
.guide-promotion{display:flex;gap:9px;align-items:center;justify-content:center;font-size:34px;direction:ltr;flex-wrap:wrap}.guide-promotion b{background:#E2DCCF;border-radius:12px;padding:7px}.guide-promotion span{font-size:18px;color:#FF5C20}
.guide-bg-board-svg{width:min(100%,450px);height:auto;display:block;direction:ltr}
.guide-dice-art{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;direction:ltr}.guide-dice-art span{display:grid;place-items:center;font-size:71px;color:#222;line-height:1}.guide-dice-art small{flex-basis:100%;font-size:17px;font-weight:900;color:#F26430}
.guide-point-examples{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:100%}.guide-point-examples div{background:#E4D7C5;border-radius:13px;padding:20px 4px;display:grid;gap:10px;justify-items:center}.guide-point-examples span{color:#292929;font-size:31px;line-height:1}.guide-point-examples b{font-size:12px}
.guide-bar-art{display:flex;justify-content:space-around;align-items:center;width:100%;gap:10px;font-size:19px;direction:ltr}.guide-bar-art>div{display:grid;gap:7px;background:#433831;color:#fff;border-radius:13px;padding:17px}.guide-bar-art em{font-style:normal;color:#F26430}
.guide-off-art{display:flex;align-items:center;gap:15px;justify-content:center;flex-wrap:wrap;direction:ltr}.guide-off-art>span{font-size:23px}.guide-off-art>b{color:#F26430;font-size:30px}.guide-off-art>div{display:grid;background:#E3D3BB;padding:15px;border-radius:20px}.guide-off-art strong{font-size:35px}.guide-off-art small{font-size:11px}
.guide-round-seq{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}.guide-round-seq b{background:#222;color:#fff;border-radius:15px;padding:12px;font-size:24px}.guide-round-seq b:last-child{background:#F26430}.guide-round-seq span{font-size:16px}
.guide-bid-demo{display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:10px}.guide-bid-demo>div{background:#EBE8DE;border-radius:18px;padding:12px 5px;display:grid;gap:5px;text-align:center}.guide-bid-demo span{font-size:11px}.guide-bid-demo b{font-size:35px;color:#F26430}
.guide-bid-exception{display:grid;gap:10px;width:100%}.guide-bid-exception>span{background:#EBE8DE;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px;line-height:1.5;font-size:12px}.guide-bid-exception strong{font-size:20px;direction:ltr}
.guide-scoring{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.guide-scoring>div{background:#EBE8DE;border-radius:16px;display:grid;gap:8px;padding:12px 5px}.guide-scoring small{font-size:11px}.guide-scoring b{color:#F26430;font-size:25px}
.guide-podium{display:flex;justify-content:center;align-items:end;gap:6px;width:100%;height:135px;direction:ltr}.guide-podium>div{background:#D2C3AD;width:68px;border-radius:12px 12px 0 0;height:85px;display:grid;place-items:center;font-weight:900;color:#655848}.guide-podium>div.champion{background:#F26430;height:120px;color:white}.guide-podium span{font-size:14px}
.guide-tip-list,.guide-mistake-list{display:grid;gap:10px}
.guide-tip,.guide-mistake{background:#EBE8DE;border-radius:19px;padding:16px;display:flex;gap:13px;align-items:flex-start}
.guide-tip-icon,.guide-mistake-cross{background:#FF5C20;color:#fff;width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:50%;font-size:17px;font-weight:900}
.guide-mistake-cross{background:#222;font-size:24px}.guide-tip p,.guide-mistake p{margin:0;line-height:1.9;font-size:14px}
.guide-faq{display:grid;gap:9px}.guide-faq details{border-radius:16px;background:#EBE8DE;padding:0 17px;overflow:hidden}
.guide-faq summary{display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;list-style:none;min-height:58px;padding:15px 0;font-size:15px;font-weight:800;line-height:1.6}
.guide-faq summary::-webkit-details-marker{display:none}.guide-faq summary span{flex:none;color:#F26430}.guide-faq details[open] summary span{transform:rotate(45deg)}.guide-faq details p{border-top:1px solid #D6D1C6;margin:0;padding:11px 0 17px;font-size:14px;line-height:1.9;color:#59544A}
.guide-footer{text-align:center;background:#222;color:#fff;border-radius:28px;padding:27px 22px 25px;margin:39px 0 10px}.guide-footer-sparkle{color:#FF5C20;font-size:36px}.guide-footer h2{font-size:24px;margin:4px 0 10px}.guide-footer p{font-size:14px;color:#E3DFD9;line-height:1.8;margin:0 0 18px}.guide-primary{border:0;min-height:55px;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;border-radius:999px;background:#FF5C20;color:#fff;font-size:16px;font-weight:900;cursor:pointer}
.guide-page button:focus-visible,.guide-page summary:focus-visible{outline:3px solid #FF5C20;outline-offset:3px}
html[dir=ltr] .guide-page{text-align:left}html[dir=rtl] .guide-page{text-align:right}
html[dir=ltr] .guide-seat-diagram span:not(.seat-center){direction:ltr}
@media(max-width:375px){.guide-page{padding-inline:15px}.guide-intro{padding:20px 17px}.guide-step{padding:17px 12px}.guide-figure{padding-inline:8px}.guide-nav button{font-size:11px}.guide-intro p{font-size:15px}.guide-facts span{font-size:11px;padding:7px 9px}.guide-step-heading h3{font-size:17px}.guide-card-line{gap:2px}}
@media(prefers-reduced-motion:reduce){.guide-page *{scroll-behavior:auto!important;transition:none!important}}

/* v7.6 – illustrated guide polish / fixed tab navigation */
.guide-page{max-width:560px;min-height:100dvh;overflow-x:clip;padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))}
.guide-bottom-tabs{position:fixed;z-index:120;left:50%;bottom:0;transform:translateX(-50%);width:min(100vw,560px);margin:0;padding:11px max(12px,env(safe-area-inset-right,0px)) calc(11px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));background:#F0EFEB;box-shadow:0 -10px 32px rgba(34,34,34,.09);border-top:1px solid #E5DFD5;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;direction:ltr}
.guide-bottom-tabs[dir=rtl]{direction:rtl}
.guide-bottom-tab{min-width:0;min-height:58px;padding:8px 3px;border:0;border-radius:17px;background:transparent;color:#625D55;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;font-family:var(--sans);font-size:12px;font-weight:800;line-height:1.35;white-space:nowrap;transition:background .12s,color .12s}
.guide-bottom-tab svg{width:20px;height:20px}
.guide-bottom-tab.is-active,.guide-bottom-tab[aria-selected=true]{background:#FF5C20;color:#fff}
.guide-bottom-tab:not(.is-active):hover{background:#EAE5DC}
.guide-bottom-tab:active{transform:none}
.guide-section[hidden]{display:none!important}
.guide-section{margin-top:20px;margin-bottom:25px;scroll-margin-top:16px}
.guide-footer{margin-top:25px}
.guide-figure>*:not(figcaption){flex-shrink:0;max-width:100%;margin-inline:auto}
.guide-seat-diagram{width:min(100%,300px);min-height:252px;grid-template-columns:minmax(75px,1fr) minmax(90px,1.2fr) minmax(75px,1fr);grid-template-rows:56px 112px 56px;column-gap:0;row-gap:4px}
.guide-seat-diagram .seat-center{width:104px;height:104px;display:grid;place-items:center;overflow:hidden;background:#E8DECE}
.guide-suits-compass{display:block;width:100%;height:100%;overflow:visible;font-family:Georgia,'DejaVu Sans',serif}
.guide-suits-compass .compass-suit{font-weight:700;font-size:29px;letter-spacing:0}
.guide-suits-compass .suit-spade,.guide-suits-compass .suit-club{fill:#242424}
.guide-suits-compass .suit-heart,.guide-suits-compass .suit-diamond{fill:#FF5C20}
.guide-seat-diagram .seat-top,.guide-seat-diagram .seat-bottom,.guide-seat-diagram .seat-left,.guide-seat-diagram .seat-right{display:grid;place-items:center;min-height:42px;text-align:center}
.guide-card-example,.guide-rule-compare,.guide-score-demo,.guide-point-examples,.guide-bid-demo,.guide-scoring,.guide-bid-exception{margin-inline:auto}
.guide-rule-compare{gap:12px}.guide-rule-compare>span:not(.guide-vs){width:39%;max-width:135px}.guide-rule-compare img{display:block;margin:auto}
.guide-dice-art{width:min(100%,250px);display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;column-gap:8px;row-gap:9px}
.guide-dice-art small{grid-column:1/-1}
.guide-point-examples{width:min(100%,360px);grid-template-columns:repeat(3,minmax(0,1fr))}
.guide-point-examples div{min-width:0;min-height:100px;align-content:center}
.guide-bar-art{width:min(100%,310px);display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;justify-items:center;gap:6px}
.guide-bar-art>div{width:100%;min-height:95px;place-items:center}
.guide-round-seq{width:100%;gap:7px;direction:ltr}
.guide-promotion{width:100%;align-items:center;gap:6px}
.guide-promotion b{min-width:42px;min-height:47px;display:grid;place-items:center}
.guide-bid-exception>span{min-height:64px}
.guide-scoring{width:min(100%,350px)}
@media(max-width:375px){.guide-bottom-tabs{padding-inline:8px;gap:3px}.guide-bottom-tab{font-size:11px;padding-inline:2px;min-height:56px}.guide-seat-diagram{grid-template-columns:74px minmax(86px,1fr) 74px;width:min(100%,280px)}.guide-seat-diagram .seat-center{width:92px;height:92px}.guide-seat-diagram span:not(.seat-center){min-width:68px;font-size:11px}.guide-page{padding-bottom:calc(114px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){.guide-bottom-tab{transition:none}}
/* The original .guide-nav button styles must not override the fixed tab bar. */
.guide-bottom-tabs .guide-bottom-tab{background:transparent;color:#58534D;border-radius:16px;min-height:58px;padding:8px 3px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;box-shadow:none}
.guide-bottom-tabs .guide-bottom-tab.is-active{background:#FF5C20;color:#fff}
.guide-bottom-tabs .guide-bottom-tab:not(.is-active):hover{background:#E9E4DC}
@media(max-width:375px){.guide-bottom-tabs .guide-bottom-tab{min-height:56px;font-size:11px;padding:7px 2px}}

.guide-promotion-choices{display:flex;justify-content:center;align-items:center;gap:4px;min-width:0}
.guide-promotion-choices b{font-size:30px;min-width:38px;min-height:43px}
.guide-promotion .guide-promotion-arrow{flex:none;font-size:24px;color:#FF5C20}
.guide-promotion .guide-promotion-pawn{background:#222;color:#fff}
.guide-podium>div{display:grid;place-items:center;font-size:27px;font-weight:900}
body:has(.guide-bottom-tabs) #toast{bottom:calc(98px + env(safe-area-inset-bottom,0px))}
@media(max-width:375px){.guide-promotion{gap:4px}.guide-promotion-choices{gap:3px}.guide-promotion-choices b{font-size:25px;min-width:32px;min-height:40px}.guide-promotion .guide-promotion-pawn{min-width:34px}}

/* v7.7 | Narrative learning and mathematically centered vector badges */
.guide-step{padding:22px 18px 20px}
.guide-step-heading{align-items:center}
.guide-step-number,.guide-tip-icon,.guide-mistake-cross,.guide-winner{
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;line-height:1!important;text-align:center;vertical-align:middle;
}
.guide-mistake-cross{width:34px;height:34px;min-width:34px;min-height:34px;border-radius:50%;}
.guide-mistake-cross svg{display:block;position:static;transform:none;flex-shrink:0;stroke:currentColor;width:19px;height:19px}
.guide-tip-icon{width:34px;height:34px;min-width:34px;min-height:34px}
.guide-step-description{font-size:15px;line-height:2.05;}
.guide-figure{margin-bottom:17px;padding:18px 12px 14px;gap:12px}
.guide-figure figcaption{font-size:13px;line-height:1.9;color:#665f57}
.guide-deep-text{font-size:14.5px;line-height:2.05;color:#48443d;margin:15px 1px 0}
.guide-deep-text p,.guide-story p{margin:8px 0 0}
.guide-example-eyebrow{font-size:12px;font-weight:900;color:#CC4A20;display:inline-flex;align-items:center;gap:6px}
.guide-story{margin-top:15px;background:#F7F3EC;border:1px solid #E2D9CB;border-radius:19px;padding:16px 14px;color:#4B453B;font-size:14px;line-height:2}
.guide-story-visual{margin-top:14px;padding:12px 8px;background:#EDE7DB;border-radius:16px;min-width:0;display:flex;align-items:center;justify-content:center}
.guide-scene-pair{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;direction:ltr}
.guide-scene-shot{min-width:0;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center}
.guide-scene-shot>span{display:grid;place-items:center;min-height:37px;line-height:1.5;font-size:12px;font-weight:800;color:#4B453B;direction:rtl}
html[lang=en] .guide-scene-shot>span{direction:ltr}
.guide-scene-chess{display:block;width:min(100%,245px);aspect-ratio:1;max-width:100%;border:4px solid #37342F;border-radius:8px;background:#eee2c8;overflow:hidden}
.guide-scene-cardline{min-height:140px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:100%;direction:ltr}
.guide-scene-cardline img{width:clamp(42px,15vw,68px);height:auto;max-height:110px;filter:drop-shadow(0 2px 4px #0002)}
.guide-scene-cardline b{font-size:24px;color:#FF5C20}
.guide-scene-tag{font-size:11px;font-weight:800;max-width:82px;line-height:1.5;direction:rtl;text-align:center}
.guide-scene-dice{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;width:100%}
.guide-scene-dice>span{font-size:67px;line-height:1;display:flex;align-items:center;justify-content:center}
.guide-scene-dice b{font-size:20px;color:#E75323;white-space:nowrap}
.guide-scene-dice small{display:block;width:100%;font-weight:800;text-align:center}
.guide-scene-route{display:flex;justify-content:center;align-items:center;gap:4px;flex-wrap:wrap;width:100%}
.route-point{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#DFD3C1;border-radius:13px;min-width:55px;min-height:73px}
.route-point small{font-size:14px;font-weight:900}.route-point i{font-size:12px;font-style:normal;color:#242424;letter-spacing:-3px}
.route-arrow{display:grid;place-items:center;color:#FF5C20;font-size:20px;font-weight:900}.route-arrow b{color:#4E4941;font-size:12px}
.guide-scene-home{width:100%;display:flex;align-items:end;gap:3px;justify-content:center;direction:ltr}
.guide-scene-home>div{min-width:0;flex:1;max-width:45px;display:grid;place-items:center;gap:8px;background:#DEC6AC;border-radius:9px;min-height:85px;padding:6px 2px}
.guide-scene-home small{font-weight:900}.guide-scene-home span:not(.guide-scene-off){font-size:16px;white-space:nowrap;color:#2A2520}
.guide-scene-home .guide-scene-off{font-size:12px;line-height:1.5;color:#DE5423;font-weight:900;max-width:53px;text-align:center}
.guide-scene-scorecards{display:flex;gap:7px;align-items:center;justify-content:center;width:100%;direction:ltr}
.guide-scene-scorecards>div{background:#fff8ef;min-width:0;flex:1;max-width:95px;min-height:87px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:14px;gap:9px}
.guide-scene-scorecards small{font-weight:800;font-size:11px}.guide-scene-scorecards strong{font-size:24px;line-height:1}.guide-scene-scorecards>span{color:#FF5C20;font-size:20px;font-weight:900}
.guide-scene-scorecards .is-highlight{background:#FF5C20;color:white}
@media(max-width:375px){.guide-step{padding:17px 12px}.guide-story{padding:12px 10px}.guide-scene-pair{gap:6px}.guide-scene-shot>span{font-size:11px}.guide-scene-cardline{gap:4px}}
.guide-mistake-copy{flex:1;min-width:0}
.guide-mistake-copy p{margin:0 0 11px}
.guide-mistake-visual{background:#F6F2EA;border-radius:14px;padding:11px 8px;display:flex;align-items:center;justify-content:center;width:100%;overflow:hidden}
.guide-mistake-visual>*{max-width:100%;margin-inline:auto}
.guide-mistake-visual .guide-scene-pair{max-width:320px}
.guide-mistake-visual .guide-chess-board,.guide-mistake-visual .guide-knight-board{max-width:190px}
.guide-mistake-visual .guide-rule-compare{max-width:260px}
.guide-mistake-visual .guide-point-examples{max-width:260px}
.guide-mistake-visual .guide-bar-art{max-width:280px}
.guide-mistake-visual .guide-scene-cardline img{width:55px}
.guide-mistake-visual .guide-scene-cardline{min-height:118px}
.guide-scene-players{display:flex;justify-content:center;align-items:center;gap:18px}
.guide-scene-players span{display:grid;place-items:center;background:#222;color:#fff;border-radius:50%;width:55px;height:55px;line-height:1;font-size:20px;font-weight:900}

/* =============================================================
   v8 — offline party games. One phone, all players in the same room.
   These styles are scoped; existing online tables remain unchanged.
   ============================================================= */
.v7-art-party-truth-dare,.v7-art-party-qupid,.v7-art-party-would-you-rather{background:#F4BBAF}
.v7-art-party-imposter,.v7-art-party-murder,.v7-art-party-time-imposter{background:#B6C9C0}
.v7-art-party-hot-bomb,.v7-art-party-activy,.v7-art-party-tabuu{background:#F7CB77}
.v7-art-party-ten-tangle,.v7-art-party-who-am-i,.v7-art-party-letterburg{background:#C8C2DB}
.v7-art-party-comedy-god,.v7-art-party-most-likely,.v7-art-party-fake-story{background:#B9D6E5}
.v7-art-party-secret-suitcase,.v7-art-party-tilt-it,.v7-art-party-fact-imposter{background:#D9C7AD}
.party-game-artwork{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;position:relative;overflow:hidden}
.party-game-artwork:after{content:"";position:absolute;border:4px solid rgba(34,34,34,.18);width:57%;height:57%;border-radius:33%;transform:rotate(12deg);pointer-events:none}
.party-art-symbol{font-family:Georgia,'DejaVu Sans',serif;font-size:clamp(94px,27vw,145px);line-height:1;font-weight:900;color:#222;filter:drop-shadow(6px 7px 0 rgba(255,255,255,.35));z-index:1;direction:ltr}
.party-art-mini{font-size:12px;font-weight:800;letter-spacing:0;z-index:1;padding:7px 13px;background:rgba(255,255,255,.65);border-radius:999px;direction:rtl}
.v7-carousel-step{display:grid;place-items:center;background:#222;color:white;border-radius:50%;width:39px;height:39px;min-width:39px!important}
.v7-carousel-count{min-width:65px;text-align:center;font-weight:800;font-size:13px;font-variant-numeric:tabular-nums;direction:ltr}
.party-page{max-width:500px;padding:20px 18px calc(60px + env(safe-area-inset-bottom));color:#222;min-height:100dvh;font-family:var(--sans);overflow-x:clip}
.party-header{display:flex;align-items:center;justify-content:space-between;min-height:48px;gap:10px;margin-bottom:24px}
.party-header>span:not(.party-icon){font-size:15px;font-weight:850}
.party-back{width:46px;height:46px;background:#222;color:#fff;border-radius:50%;display:grid;place-items:center;flex-shrink:0}
.party-icon{height:44px;width:44px;border-radius:50%;display:grid;place-items:center;background:#FF5C20;color:#fff;font-size:25px;font-weight:900}
.party-body{width:100%;min-width:0}
.party-hero{background:#EBE8DE;border-radius:32px;padding:28px 22px 24px;text-align:center}
.party-label,.party-kicker{display:inline-block;border-radius:99px;padding:7px 13px;background:#222;color:#fff;font-size:12px;font-weight:800;letter-spacing:.1px}
.party-hero-glyph{width:142px;height:142px;border-radius:42px;display:grid;place-items:center;margin:24px auto 20px;background:#FFB940;color:#222;font:900 90px/1 Georgia,'DejaVu Sans',serif}
.party-hero h1,.party-topcopy h1{font-weight:900;font-size:clamp(28px,8vw,38px);line-height:1.3;margin:0 0 13px}
.party-rule-paragraph{font-size:17px;line-height:1.95;white-space:normal;overflow-wrap:anywhere;color:#403d39;margin:12px 0}
.party-hero .party-rule-paragraph{font-size:17px;line-height:1.85;margin-bottom:16px}
.party-muted{color:#726E66;font-size:12px;font-weight:650;line-height:1.8}
.party-panel{background:#fff;border:1px solid #E8E4DD;border-radius:28px;padding:22px 19px;margin-top:16px}
.party-panel h2,.party-panel h3{font-size:21px;margin:0 0 11px;font-weight:900}
.party-note{font-size:14px;line-height:1.9;color:#6A6359;background:#F7F4EE;border-radius:18px;padding:13px 15px;margin:15px 0;overflow-wrap:anywhere}
.party-bottom-action{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.party-button{border-radius:999px;padding:14px 18px;min-height:54px;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:850;font-size:17px;line-height:1.45;min-width:0}
.party-button-primary{background:#FF5C20;color:white}
.party-button-secondary{background:#222;color:white}
.party-topcopy{padding:9px 3px 21px}.party-topcopy h1{margin-top:12px}.party-topcopy>p{line-height:1.9;color:#68645E;font-size:15px}
.party-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.party-category{background:#EAE7DD;border:2px solid transparent;min-width:0;min-height:125px;border-radius:26px;padding:18px 15px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:9px;text-align:start;position:relative}
.party-category.selected{border-color:#FF5C20;background:#FFF5E9}
.party-category span{font-size:16px;font-weight:850;line-height:1.45;overflow-wrap:anywhere}
.party-category small{color:#766F64;font-size:12px}
.party-category b{position:absolute;top:10px;inset-inline-end:13px;color:#FF5C20;font-size:20px;line-height:1}
.party-counter{display:flex;justify-content:center;align-items:center;gap:26px;direction:ltr;margin-top:15px}
.party-counter button{width:63px;height:63px;border-radius:50%;background:#222;color:#fff;display:grid;place-items:center}
.party-counter strong{font-size:50px;line-height:1;font-weight:900;min-width:50px;text-align:center}
.party-panel>.party-muted{display:block;text-align:center;margin-top:10px}
.party-name-list{display:grid;gap:12px}.party-name-field{background:#EAE7DD;border-radius:19px;padding:11px 16px;display:flex;flex-direction:column;gap:7px}
.party-name-field span{font-size:13px;font-weight:750;color:#625F58}.party-name-field input{width:100%;background:transparent;border:0;outline:none;min-height:38px;font-size:18px;font-weight:800;color:#222;direction:auto;text-align:start}
.party-name-field:focus-within{outline:2px solid #FF5C20}
.party-private{min-height:min(72dvh,620px);background:#EAE7DD;border-radius:34px;padding:35px 25px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:17px;text-align:center}
.party-private h1{font-size:clamp(25px,8vw,38px);line-height:1.5;margin:4px 0 0;overflow-wrap:anywhere}
.party-private p{font-size:17px;line-height:1.9;color:#59534C;max-width:340px}.party-private .party-button{width:100%;max-width:340px;margin-top:8px}
.party-handoff-icon{width:106px;height:106px;border-radius:32px;background:#FFB940;display:grid;place-items:center;font-size:57px;font-weight:900}
.party-secret{background:#222;color:white}.party-secret p{color:#DDD7CB}.party-secret .party-kicker{background:#FF5C20}
.party-secret-card{background:#FFF8EB;border-radius:27px;padding:30px 18px;color:#222;min-height:155px;width:100%;display:grid;place-items:center;font-weight:900;font-size:clamp(26px,8vw,40px);line-height:1.55;overflow-wrap:anywhere}
.party-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:6px;font-size:13px;font-weight:850}
.party-progress-track{height:7px;border-radius:99px;background:#DEDAD1;overflow:hidden;margin:13px 0 20px;direction:ltr}
.party-progress-track>div{height:100%;background:#FF5C20;border-radius:inherit;transition:width .18s ease}
.party-play-card{min-height:320px;padding:24px 23px 28px;display:flex;flex-direction:column;justify-content:center;gap:22px;border-radius:32px;background:#EBE8DE;box-shadow:0 4px 0 #E1DBCF}
.party-play-card-team{background:#F3D7AA}
.party-card-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:850;color:#70685C}
.party-card-heading span:last-child{background:#222;color:#fff;border-radius:50%;min-width:35px;height:35px;display:grid;place-items:center}
.party-prompt{font-size:clamp(21px,6.5vw,29px);line-height:1.85;font-weight:900;white-space:pre-line;overflow-wrap:anywhere;hyphens:auto;margin:auto 0;text-align:start}
.party-card-eyebrow{font-size:13px;font-weight:850;color:#B14A26;margin:0}
.party-play-card h2{font-size:clamp(29px,9vw,44px);line-height:1.4;margin:0}
.party-forbidden{display:grid;gap:9px}.party-forbidden>span{font-size:12px;font-weight:850;color:#A3422D}
.party-forbidden b{border:1px solid #D3CFC5;border-radius:13px;background:white;padding:11px 14px;font-size:18px}
.party-answer{padding:20px;border-radius:18px;background:#FFDDAB;font-size:18px;line-height:1.5}
.party-letter{border-radius:24px;background:#FF5C20;color:white;width:110px;height:110px;display:grid;place-items:center;font-weight:900;font-size:65px;margin:0 auto}
.party-choices{display:grid;gap:10px}.party-choices>div{background:#FFF7E9;border-radius:17px;padding:14px;font-weight:850}
.party-slide-controls{margin-top:19px;display:flex;align-items:center;justify-content:space-between;direction:ltr;gap:12px}
.party-slide-controls button{width:58px;height:58px;background:#222;color:white;border-radius:50%;display:grid;place-items:center}
.party-slide-controls span{font-weight:800;font-size:14px;color:#736D63}
.party-slide-controls button:disabled{opacity:.25}
.party-clock{margin-top:18px;padding:17px;border-radius:25px;background:#222;color:white;display:flex;justify-content:space-between;align-items:center;gap:10px}
.party-clock>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.party-clock strong{font-family:ui-monospace,monospace;font-size:36px;line-height:1.15;direction:ltr}
.party-clock small{color:#CDC5B8;font-size:12px}
.party-clock>.party-button{background:#FF5C20;max-width:50%;font-size:14px;min-height:45px;padding:10px 12px}
.party-timer-finished{margin:15px 0;padding:17px;border-radius:20px;background:#FFDBBF;font-weight:900;text-align:center}
.party-score{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;margin-top:18px;padding:13px;border-radius:20px;background:#fff;font-weight:800;font-size:13px;text-align:center}
.party-score span{display:flex;flex-direction:column}.party-score strong{font-size:28px}
.party-score-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.party-score-buttons button:last-child{grid-column:span 2}
.party-action-row{display:grid;gap:10px;margin-top:19px}
.party-rule-details{border-radius:18px;background:#fff;margin-top:15px;padding:14px 17px;font-size:14px;line-height:1.9;color:#5B554C}
.party-rule-details summary{font-size:15px;font-weight:850;cursor:pointer;color:#222}
.party-reveal-list{display:grid;gap:10px}.party-reveal-list>div{background:#EBE8DE;border-radius:19px;padding:17px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.party-reveal-list strong{font-size:17px}.party-reveal-list span{font-size:14px;font-weight:850;color:#E45B25}
.party-vote-options{display:grid;gap:12px;width:100%}.party-vote-options button{width:100%}
.party-tally{display:grid;gap:12px}.party-tally>div{display:flex;justify-content:space-between;gap:10px;padding:18px 15px;background:#EAE7DD;border-radius:20px;font-size:16px;font-weight:800}.party-tally strong{font-size:25px;color:#FF5C20}
.party-static-footer{text-align:center;color:#8B8479;padding:28px 5px 12px;font-size:12px;font-weight:800}.party-static-footer span{color:#FF5C20}
@media(max-width:355px){.party-page{padding-inline:14px}.party-category-grid{gap:9px}.party-category{padding:14px 11px}.party-play-card{padding-inline:18px}.party-button{font-size:15px}.party-private{padding:25px 18px}}
@media(prefers-reduced-motion:reduce){.party-progress-track>div{transition:none}}
.party-challenge-card{background:#FFE2C7;border:2px solid #FF5C20;padding:20px;border-radius:22px;margin-top:14px;line-height:1.8}
.party-challenge-card strong{font-size:15px;color:#9C3B1F}
.party-challenge-card p{font-size:19px;font-weight:800;margin:8px 0}
.party-truth-switch{display:flex;gap:9px;margin-top:14px}
.party-truth-switch button{flex:1;border-radius:99px;min-height:48px;background:#EAE7DD;color:#222;font-weight:900}
.party-truth-switch button[aria-pressed=true]{background:#FF5C20;color:white}
.party-comedy{margin:17px 0;background:#FFF7E9;border-radius:24px;padding:17px;line-height:1.8}
.party-comedy>p{margin:0 0 10px}.party-comedy-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}
.party-comedy-choices .party-button{font-size:14px;min-height:46px}
.party-comedy small{font-weight:750;color:#625B52}
.party-score small{font-size:10px;line-height:1.4;color:#756D65;font-weight:700}
