/* Synko internal preview: real states, same visual system; no simulated browser chrome. */
[hidden]{display:none!important}
:root{--live-edge:clamp(18px,3.5vw,46px);--live-focus:#cdad68}
body.site-body{padding:0;background:#f5f3ed}
.live-shell{max-width:1600px;border-radius:0;min-height:100vh;margin:auto;overflow:visible}
.live-shell *, .live-shell *:before,.live-shell *:after{box-sizing:border-box}
.live-shell button,.live-shell input,.live-shell select,.live-shell textarea{font:inherit}
.live-shell button{cursor:pointer}
.live-shell button:disabled{cursor:not-allowed;opacity:.46;transform:none}
.live-shell a:focus-visible,.live-shell button:focus-visible,.live-shell input:focus-visible,.live-shell select:focus-visible,.live-shell textarea:focus-visible{outline:3px solid var(--live-focus);outline-offset:3px}
.live-shell .site-header{height:92px;padding:0 var(--live-edge)!important;gap:24px;display:flex;flex-wrap:nowrap;background:#fff;position:relative;z-index:10}
.live-shell .header-left{flex:1;gap:clamp(24px,6vw,100px)!important;min-width:0}
.live-shell .header-right{gap:14px!important;flex-shrink:0}
.live-shell .brand{flex-shrink:0}
.live-shell .brand-name{font-size:40px}
.live-shell .main-nav{gap:clamp(14px,2.5vw,36px)!important}
.live-shell .main-nav a{white-space:nowrap;font-size:15px}
.live-shell .main-nav a.active:after{bottom:-14px}
.preview-label{font-size:11px;letter-spacing:.05em;color:#626f64;background:#f1f4ee;border:1px solid #e0e7df;padding:7px 9px;border-radius:7px;white-space:nowrap}
.live-shell .profile-pill{color:var(--green-800);font-size:15px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.live-shell .elo{font-size:14px;white-space:nowrap}
.small-button{font-size:13px;padding:9px 12px;border:1px solid var(--line);border-radius:9px;color:var(--green-800);background:white;line-height:1.3}
.live-shell .btn{font-size:15px;line-height:1.4;min-width:0;white-space:normal;text-align:center;min-height:48px;border-radius:12px;padding:10px 18px;display:inline-flex;gap:10px}
.live-shell .btn-primary{background:#146647;color:white}
.live-shell .btn-ghost{color:var(--green-800);background:#fff}
.live-shell .hero-title{font-size:clamp(44px,4vw,60px);line-height:1.04}
.live-shell .hero-home{grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:10px;padding:40px var(--live-edge);min-height:490px}
.live-shell .hero-copy{font-size:18px;line-height:1.45}
.live-shell .hero-home .hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.live-shell .hero-home .hero-actions .btn{min-width:0;flex:1;min-height:54px;font-size:15px}
.live-shell .hero-benefits{display:flex;gap:16px;flex-wrap:wrap}
.live-shell .hero-benefit{min-width:0;flex:1;font-size:12px}
.live-shell .hero-art{min-width:0}
.live-shell .wood-edge{display:none}
.live-shell .art-hand{width:90%;max-width:530px;right:0;bottom:-12px}
.live-shell .art-deck{right:30%;width:42%}
.live-shell .note.n1{left:10%;top:55px}
.live-shell .note.n2{right:0;top:210px;font-size:20px}
.live-shell .hero-home>div:first-child{min-width:0;position:relative;z-index:1}
.live-shell .section{padding:24px var(--live-edge)}
.live-shell .cards-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.live-shell .game-card,.live-shell .feature-card{min-width:0;gap:16px}
.live-shell .game-card .badge{white-space:normal;height:auto;min-height:28px;padding:5px 10px;font-size:11px}
.live-shell .game-card .mini-card{flex-shrink:0}
.live-shell .feature-card .icon-round{font-size:0!important;width:56px;height:56px;flex:0 0 56px}
.live-shell .vector-icon.inline-svg-icon{font-size:20px;width:24px;height:24px;flex:0 0 24px}
.live-shell .info-icon .inline-svg-icon,.live-shell .ic .inline-svg-icon{width:32px;height:32px}
.live-shell .panel-title{font-size:30px;line-height:1.1;gap:12px}
.live-shell .panel-subtitle{font-size:15px;line-height:1.5;margin-bottom:20px}
.live-shell .agent-hero,.live-shell .subpage-hero{min-height:196px;height:auto;padding:28px var(--live-edge);overflow:hidden}
.live-shell .agent-hero h1,.live-shell .subpage-hero h1{font-size:54px}
.live-shell .agent-hero .sub,.live-shell .subpage-hero .sub{max-width:65%;font-size:17px;line-height:1.5}
.live-shell .two-col,.live-shell .conventions-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);padding:26px var(--live-edge);gap:24px;align-items:start}
.live-shell .panel-card,.live-shell .auth-card,.live-shell .profile-card,.live-shell .chart-card{min-width:0;padding:24px;overflow:visible;height:auto}
.live-shell .field{margin-bottom:19px;gap:8px;display:flex;min-width:0}
.live-shell .field label{font-size:14px;line-height:1.4;font-weight:600}
.live-shell .input,.live-shell .select{height:48px;border-radius:11px;font-size:15px;min-width:0;width:100%;padding:10px 13px;background:white}
.live-shell textarea.input{height:100px}
.live-shell .input-row{display:flex;gap:16px;min-width:0}
.live-shell .input-row>.field{flex:1;min-width:0}
.form-title-row,.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}
.form-title-row select{flex:1}
.form-title-row .panel-title{flex:1;margin:0}
fieldset.kind-options{display:flex;flex-wrap:wrap;border:0;padding:0;margin:0 0 20px;gap:10px}
.kind-options legend{font-size:14px;font-weight:600;margin-bottom:10px}
.kind-options label{border:1px solid var(--line);padding:12px 14px;border-radius:12px;display:flex;gap:8px;align-items:center;font-size:14px;flex:1;min-width:125px;cursor:pointer}
.kind-options label:has(input:checked){border-color:var(--green-700);background:#edf5ee}
input[type=radio],input[type=checkbox]{accent-color:#196b54;width:17px;height:17px;flex-shrink:0}
.checkbox-label{display:flex;gap:10px;align-items:flex-start;line-height:1.5;font-size:14px;margin:14px 0}
.muted{color:var(--muted);font-size:13px;line-height:1.5}
.error,.form-error,[id$="-error"]{color:#9e3333;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.error:empty,.form-error:empty,[id$="-error"]:empty{display:none}
.status-box{padding:14px 16px;background:#edf5ee;border:1px solid #d5e4d6;border-radius:12px;color:#1d6348;font-size:14px;line-height:1.5}
.warning-box,.preview-warning{padding:14px 16px;background:#fff6e7;border:1px solid #e7d4aa;border-radius:12px;color:#685326;font-size:14px;line-height:1.5;margin:18px 0}
.live-shell details{padding:12px 0}
.live-shell details summary{font-size:14px;cursor:pointer;margin-bottom:16px}
.live-shell pre{white-space:pre-wrap;word-break:break-all;max-width:100%;padding:16px;background:#f0f3ee;border-radius:10px;font-size:12px;line-height:1.6}
#agent-test-result:not(:empty){padding:12px;background:#eff5ed;border-radius:10px;color:#335440}
.live-shell .hero-login{height:auto;min-height:750px;padding:42px var(--live-edge)}
.live-shell .hero-login h1{font-size:60px;margin-bottom:12px}
.live-shell .split-grid{display:grid;grid-template-columns:minmax(0,540px) minmax(0,320px);gap:64px;align-items:start}
.live-shell .auth-card{max-width:none}
.live-shell .segmented{padding:4px;margin-bottom:24px;border-radius:12px}
.live-shell .seg-btn{font-size:15px;border:0;border-radius:9px;height:46px;background:transparent}
.live-shell .seg-btn.active{background:#146647;color:white}
.live-shell .secret-row{display:flex;align-items:center;position:relative}
.live-shell .secret-row .input{padding-right:55px}
.live-shell .secret-row button{position:absolute;right:12px;border:0;background:none;color:var(--green-700);font-size:12px}
.live-shell .info-list{padding-top:26px;gap:30px}
.live-shell .info-icon{min-width:52px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center}
.live-shell .site-footer{grid-template-columns:minmax(230px,1fr) minmax(0,auto)!important;display:grid!important;padding:28px var(--live-edge)!important;gap:24px!important;min-height:120px;height:auto;margin-top:16px}
.live-shell .foot-right{display:flex!important;flex-wrap:wrap;justify-content:flex-end!important;align-content:center!important;gap:14px 24px!important;max-width:650px}
.live-shell .foot-right>*{grid-row:auto!important;white-space:normal!important;font-size:13px!important}
.live-shell .foot-copy{font-size:12px!important;margin-top:8px!important}
.live-shell .match-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);align-items:start;gap:24px;padding:26px var(--live-edge)}
.live-shell .choice-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.live-shell .select-card{min-height:112px;padding:16px;display:flex;flex-direction:column;gap:8px;position:relative}
.live-shell .select-card h3{margin:0!important;font-size:23px!important}
.live-shell .select-card .badge{position:static!important;align-self:flex-start;min-height:24px;height:auto;font-size:11px;padding:4px 8px}
.live-shell .select-card[aria-disabled=true]{opacity:.6}
#queue-progress{border:1px solid #cddfcd;padding:24px;border-radius:14px;background:#f0f6ee;margin-top:16px}
#queue-wait{line-height:1.5;margin-bottom:18px;color:#325941}
.live-shell .data-table,.live-shell .table-history{width:100%;font-size:14px;border-collapse:collapse}
.live-shell .data-table th,.live-shell .data-table td,.live-shell .table-history th,.live-shell .table-history td{padding:13px 10px;font-size:13px;text-align:left;overflow-wrap:anywhere}
.table-scroll{overflow:auto;max-width:100%}
.live-shell .stats-layout{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:65vh;padding:26px var(--live-edge);gap:24px}
.live-shell .stats-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}
.live-shell .metric-card{padding:18px;min-height:140px}
.live-shell .metric-card .big{font-size:44px;margin:10px 0}
.live-shell .metric-card .topline{font-size:14px}
.live-shell .metric-card .hint{font-size:12px}
.live-shell .section-head .section-title{font-size:48px!important}
.live-shell .inline-link{color:#156744;text-decoration:underline;text-underline-offset:3px}
.live-shell .result-hero{height:auto;min-height:700px;padding:40px var(--live-edge)}
.live-shell .result-hero h1{font-size:54px}
.live-shell .result-panel{width:min(760px,100%);height:auto;padding:26px}
.live-shell .score-box .number{font-size:64px}
.live-shell .result-actions{flex-wrap:wrap;gap:10px}
.live-shell .summary-table td{padding:12px 8px}
.live-shell .admin-layout{height:auto!important;min-height:75vh;grid-template-columns:245px minmax(0,1fr)}
.live-shell .admin-main{overflow:visible;padding:28px;min-width:0}
#app-status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:min(92vw,600px);padding:14px 22px;z-index:200;color:white;background:#174b3a;border:1px solid #789c87;border-radius:12px;box-shadow:0 6px 26px #0002;font-size:14px}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Table: positions tied to the board, not a hardcoded screen coordinate. */
.live-game .game-topbar{height:104px;grid-template-columns:minmax(190px,1fr) minmax(260px,1.2fr) auto;padding:16px 26px;gap:20px}
.live-game .game-topbar .btn{min-width:100px;height:46px;min-height:46px;padding:10px 14px}
.live-game .scorebox{padding:0 16px;min-height:50px}
.live-game .scorebox::before{display:none}
.live-game .scorebox .value{font-size:42px}
.live-game .scorebox .label{font-size:13px}
.live-game .top-actions{gap:10px}
#connection-status{padding:8px 26px;background:#eef4ee;color:#36614d;font-size:12px;border-bottom:1px solid #dbe6d9}
#connection-status[data-state=disconnected]{background:#fff1d7;color:#70551f}
.live-game .game-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:stretch;min-width:0}
.live-game .table-stage.live-table{height:calc(100vh - 230px);min-height:720px;position:relative;overflow:hidden;background-color:#07382d}
.live-seat{position:absolute;color:white;z-index:2;display:flex;flex-direction:column;align-items:center;gap:12px}
.live-seat.top{left:50%;top:24px;transform:translateX(-50%)}
.live-seat.left{left:16px;top:38%;max-width:23%}
.live-seat.right{right:16px;top:38%;max-width:23%}
.live-seat.self{left:24px;bottom:36px;max-width:170px}
.live-game .seat-chip{width:auto;min-width:0;max-width:245px;height:auto;min-height:56px;padding:10px 14px;display:flex;gap:10px;border-radius:30px}
.live-game .seat-chip .name{font-size:13px;line-height:1.3}
.live-game .seat-chip .meta{font-size:10px;margin-top:3px;line-height:1.3}
.live-game .seat-chip.active-turn{border-color:#d3b469;box-shadow:0 0 0 2px #c8a76844}
.seat-initial{width:30px;height:30px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#edf3e8;color:#15543e;font-size:12px;font-weight:700}
.live-hidden-hand{display:flex;justify-content:center;align-items:center;height:62px;max-width:100%}
.live-back{display:block;background:#183f2b;border:2px solid #e2d7bc;border-radius:6px;width:34px;height:52px;margin-left:-19px;box-shadow:0 3px 4px #0003}
.live-back:first-child{margin-left:0}
.live-game .atout-pill{position:absolute;left:22px;top:22px;border:1px solid #d7dfd366;padding:10px 15px;border-radius:25px;background:#0c392bc9;color:white;font-size:15px;min-height:0;height:auto;max-width:220px}
.live-center{position:absolute;top:145px;left:50%;transform:translateX(-50%);width:50%;height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3}
.live-trick-count{color:#f6f2df;font-size:13px;text-align:center;position:absolute;top:0;left:0;right:0}
.live-trick{width:260px;height:250px;position:relative}
.live-card{width:80px;height:118px;min-width:0;position:relative;border-radius:10px;background:#faf6ec;border:1px solid #b3b1a0;box-shadow:0 5px 14px #0003;font-family:Georgia,serif}
.live-card.red{color:#b33333}.live-card.black{color:#15241e}
.live-card .corner{position:absolute;top:8px;left:8px;font:700 20px/1 Georgia,serif;white-space:pre-line;text-align:center}
.live-card .suit-big{position:absolute;inset:15px 0 0;display:grid;place-items:center;font-size:42px;pointer-events:none}
.live-trick>.live-card{position:absolute}
.live-trick>[data-relative="0"]{left:90px;top:130px;z-index:4}
.live-trick>[data-relative="1"]{left:12px;top:70px;z-index:2}
.live-trick>[data-relative="2"]{left:90px;top:0;z-index:1}
.live-trick>[data-relative="3"]{right:12px;top:70px;z-index:3}
.turn-prompt{font-family:var(--serif);font-size:23px;color:#f6f3df;text-align:center;margin:16px 0}
.live-game .bidding-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(400px,100%);margin:0;padding:20px;border-radius:16px}
.live-game .bidding-center h3{font-size:28px;margin:0 0 16px}
.live-game .bidding-center p{font:14px/1.5 var(--ui);color:var(--muted)}
.live-game .bidding-center .bid-stepper{grid-template-columns:46px minmax(0,1fr) 46px;gap:8px;margin-bottom:12px}
.live-game .bid-stepper button,.live-game .bid-value{height:42px;min-height:42px;font-size:23px;padding:6px;}
.bid-modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}
.bid-mode{background:white;border:1px solid #cdd7ce;border-radius:9px;padding:9px 2px;font-size:21px}
.bid-mode:nth-last-child(-n+2){grid-column:span 2;font-size:13px}
.bid-mode.active{background:#e7f1e4;border-color:#347856;box-shadow:0 0 0 1px #347856}
.live-game .bidding-actions{grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:7px}
.live-game .bidding-actions .btn{height:44px;min-height:44px;font-size:13px;padding:8px}
.live-game .player-hand{position:absolute;left:170px;right:170px;bottom:22px;height:150px}
.live-game .hand-fan{display:flex;height:100%;justify-content:center;align-items:flex-end}
.live-game .hand-fan .live-card{flex:0 0 76px;width:76px;height:120px;margin-left:-26px;transform:translateY(calc(abs(var(--i) - (var(--n) - 1)/2) * 2px)) rotate(calc((var(--i) - (var(--n) - 1)/2) * 3deg));transition:transform 120ms,box-shadow 120ms;}
.live-game .hand-fan .live-card:first-child{margin-left:0}
.live-game .hand-fan .live-card:disabled{opacity:.72;color:inherit}
.live-game .hand-fan .live-card.red:disabled{color:#b33333}
.live-game .hand-fan .live-card.selected{transform:translateY(-24px);box-shadow:0 0 0 3px #5fb37e,0 8px 22px #0005;z-index:4}
.live-game .hand-fan .live-card:not(:disabled):hover{transform:translateY(-16px);z-index:5}
.live-play-controls{position:absolute;right:18px;bottom:32px;max-width:154px;z-index:4}
.live-play-controls .checkbox-label{color:#fff;font-size:12px}
.live-game .game-error{position:absolute;bottom:181px;left:20%;right:20%;background:#fff3df;color:#8f2727;padding:9px 13px;border-radius:9px;z-index:5;text-align:center;font-size:13px}
.live-game .game-sidebar{padding:20px 16px;min-width:0;min-height:0;max-height:calc(100vh - 230px);min-height:720px;display:flex;}
.live-game .game-tabs{display:flex;gap:20px;margin:0 0 12px}
.live-game .game-tabs button{background:none;border:0;padding:6px 0 10px;font-size:16px;color:#617368;border-bottom:2px solid transparent}
.live-game .game-tabs button.active{border-color:#236747;color:#174733}
.live-game .chat-list{min-height:180px;overflow-y:auto;flex:1;scroll-behavior:smooth;}
.live-game .chat-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px 0}
.live-game .chat-item .bubble-ico{font-size:12px!important;color:#285440!important;display:grid;place-items:center;width:32px;height:32px;border-radius:50%}
.live-game .chat-item .message{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.45}
.live-game .chat-item .speaker{font-size:12px}
.live-game .chat-compose{display:flex;gap:8px;align-items:stretch}
.live-game .chat-input{min-width:0;width:100%;height:46px;font-size:14px;border-radius:10px}
.live-game .chat-compose .btn{min-height:46px;font-size:12px;padding:8px 10px}
.live-game .info-banner{font-size:12px;line-height:1.5;margin:12px 0;padding:10px}
.voice-controls{display:flex;gap:12px;align-items:center;font-size:12px;margin:14px 0 8px}
.voice-controls label{display:flex;align-items:center;gap:7px}
#voice-info{font-size:11px}
#players-list{flex:1;line-height:1.7;font-size:14px;color:#305441}
.live-shell dialog{border:1px solid #dae4d8;border-radius:18px;max-width:560px;width:90vw;padding:30px;color:var(--text);box-shadow:0 14px 60px #0005}
.live-shell dialog::backdrop{background:#071b14aa}
.live-shell dialog h2{font:700 34px var(--serif);margin-top:0}
.live-shell dialog p{font-size:15px;line-height:1.6}
@media(max-width:1190px){
 .live-shell .site-header{height:auto;min-height:88px;flex-wrap:wrap;padding-top:14px!important;padding-bottom:14px!important;gap:12px}
 .live-shell .header-left{gap:30px!important}.live-shell .header-right{margin-left:auto}.preview-label{display:none}
 .live-shell .main-nav{gap:16px!important}
 .live-shell .main-nav a.active:after{bottom:-8px}
 .live-shell .cards-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
 .live-shell .game-card>div>div{flex-wrap:wrap!important;gap:6px!important}
 .live-shell .two-col,.live-shell .conventions-grid{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}
 .live-shell .input-row{flex-wrap:wrap}
 .live-shell .hero-benefits{gap:12px}
 .live-game .game-layout{grid-template-columns:minmax(0,1fr) 290px}
 .live-game .game-topbar{grid-template-columns:minmax(120px,1fr) minmax(220px,1.3fr) auto;gap:10px;padding:14px}
 .live-game .scoreband{gap:4px}.live-game .game-title-wrap p{max-width:130px}.live-game .suit-badge{display:none}
 .live-game .top-actions{flex-direction:column;gap:5px}.live-game .game-topbar .btn{height:32px;min-height:32px;padding:4px 12px;font-size:12px}
 .live-game .live-center{width:48%}.live-game .live-seat.left,.live-game .live-seat.right{max-width:22%;top:38%}
 .live-game .seat-chip{padding:8px;gap:5px}.live-game .seat-chip .meta{font-size:9px}.live-game .seat-chip .name{font-size:11px}
 .live-game .live-seat.self{left:10px;max-width:124px}.live-game .player-hand{left:130px;right:120px}
 .live-game .live-play-controls{max-width:106px;right:10px}.live-game .live-play-controls .btn{font-size:12px}
 .live-game .hand-fan .live-card{flex-basis:68px;width:68px;height:108px;margin-left:-30px}
 .live-shell .stats-layout{grid-template-columns:190px minmax(0,1fr)}
}
@media(max-width:800px){
 .live-shell .site-header{padding:14px 18px!important;display:grid;grid-template-columns:1fr;gap:12px}
 .live-shell .header-left{display:contents}.live-shell .brand{grid-row:1;justify-self:start}.live-shell .brand-name{font-size:32px}
 .live-shell .brand img{width:32px;height:32px}.live-shell .header-right{grid-row:1;max-width:68%;gap:10px!important}
 .live-shell .header-right .small-button{font-size:11px;padding:7px}.live-shell .header-right .elo{font-size:11px}.live-shell .profile-pill{font-size:12px;max-width:85px}
 .live-shell .main-nav{grid-row:2;justify-content:space-between;gap:10px!important;width:100%}.live-shell .main-nav a{font-size:13px}
 .live-shell .hero-home{grid-template-columns:1fr;min-height:0;padding:28px 20px}
 .live-shell .hero-title{font-size:46px}.live-shell .hero-copy{font-size:16px}.live-shell .hero-art{min-height:270px;margin-top:0}
 .live-shell .hero-benefit{font-size:11px}.live-shell .hero-benefits{flex-direction:row}
 .live-shell .art-deck{top:0;right:28%}.live-shell .art-hand{bottom:-18px;width:86%}.live-shell .note.n1{top:20px;left:0;font-size:20px}.live-shell .note.n2{top:100px;font-size:17px}
 .live-shell .section-head{display:block}.live-shell .section-head>div{display:block!important}.live-shell .section-head>a{display:inline-block;margin-top:12px}
 .live-shell .cards-grid-3,.live-shell .two-col,.live-shell .conventions-grid,.live-shell .match-layout{grid-template-columns:1fr}
 .live-shell .feature-card{min-height:0!important}.live-shell .game-card>div>div{flex-wrap:nowrap!important}
 .live-shell .site-footer{grid-template-columns:1fr!important;padding:22px!important}.live-shell .foot-right{justify-content:flex-start!important;gap:10px 18px!important}
 .live-shell .hero-login{padding:28px 18px;min-height:0}.live-shell .hero-login h1{font-size:44px}.live-shell .split-grid{grid-template-columns:1fr;gap:24px}
 .live-shell .auth-card{padding:22px}.live-shell .hero-login .sub{font-size:16px}.live-shell .info-list{padding-top:0;gap:20px}.live-shell .decor-deck-corner,.live-shell .note-small{display:none}
 .live-shell .subpage-hero,.live-shell .agent-hero{padding:24px 20px;min-height:180px}.live-shell .subpage-hero h1,.live-shell .agent-hero h1{font-size:43px}
 .live-shell .agent-hero .sub,.live-shell .subpage-hero .sub{max-width:100%;font-size:15px;position:relative;z-index:2}
 .live-shell .banner-deck-right,.live-shell .banner-note,.live-shell .subpage-hero>.note{display:none}
 .live-shell .two-col,.live-shell .conventions-grid,.live-shell .match-layout,.live-shell .stats-layout{padding:18px;gap:18px}
 .live-shell .panel-card{padding:20px}.live-shell .panel-title{font-size:27px}
 .live-shell .choice-row{grid-template-columns:repeat(3,minmax(0,1fr))}.live-shell .select-card{padding:12px;gap:6px}.live-shell .select-card h3{font-size:20px!important}
 .live-shell .stats-layout{grid-template-columns:1fr}.live-shell .sidebar{border:0;padding:0}.live-shell .stats-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.live-shell .table-history{font-size:12px}
 .live-shell .result-hero{padding:30px 18px;min-height:0}.live-shell .result-hero h1{font-size:40px}.live-shell .result-hero>.sub{font-size:18px}.live-shell .score-compare{gap:8px}.live-shell .score-box{padding:12px 8px}.live-shell .score-box .number{font-size:42px}.live-shell .score-compare>div:nth-child(2){font-size:24px!important}
 .live-shell .result-deck-left,.live-shell .result-hand-right,.live-shell .handwritten-left,.live-shell .handwritten-right{display:none}
 .live-shell .admin-layout{grid-template-columns:1fr}.live-shell .admin-sidebar{padding:16px}.live-shell .admin-nav{display:flex;flex-direction:row;overflow:auto}.live-shell .admin-nav a{white-space:nowrap}.live-shell .admin-sidebar>.admin-badge,.live-shell .admin-sidebar>div:last-child{display:none}.live-shell .admin-main{padding:20px;overflow:auto}
 .live-game .game-topbar{height:auto;min-height:102px;grid-template-columns:1fr auto;padding:14px;gap:12px}.live-game .game-brandline{grid-column:1}.live-game .top-actions{grid-column:2;grid-row:1;flex-direction:row}.live-game .scoreband{grid-row:2;grid-column:1/3}.live-game .scorebox .value{font-size:32px}.live-game .scorebox{min-height:42px}.live-game .game-title-wrap p{max-width:none;font-size:12px}.live-game .game-title-wrap h1{font-size:25px}
 .live-game .game-layout{grid-template-columns:1fr}.live-game .table-stage.live-table{height:720px;min-height:720px}
 .live-game .game-sidebar{height:440px;min-height:440px;max-height:none}
 .live-game .atout-pill{top:12px;left:10px;font-size:12px;max-width:160px;padding:7px 10px}
 .live-game .live-seat.top{top:52px}.live-game .live-seat.left,.live-game .live-seat.right{top:185px;max-width:40%}.live-game .live-seat.left{left:10px}.live-game .live-seat.right{right:10px}
 .live-game .live-seat.self{left:10px;bottom:20px;max-width:180px}.live-game .seat-chip{max-width:170px}.live-game .seat-chip .name{font-size:11px}.live-game .seat-chip .meta{font-size:9px}.live-game .live-hidden-hand{height:50px}.live-game .live-back{width:28px;height:40px;margin-left:-18px}
 .live-game .live-center{top:270px;height:260px;width:90%}.live-game .bidding-center{width:310px;padding:16px}.live-game .bidding-center h3{font-size:25px;margin-bottom:10px}
 .live-game .live-trick{transform:scale(.82);transform-origin:50% 45%}.live-game .live-trick-count{top:0}.live-game .turn-prompt{font-size:19px;margin:0}
 .live-game .player-hand{left:12px;right:12px;bottom:90px;height:120px}.live-game .hand-fan .live-card{width:70px;flex-basis:70px;height:110px;margin-left:-31px}
 .live-game .live-play-controls{bottom:24px;right:12px;max-width:150px}.live-game .live-play-controls .btn{font-size:13px;min-height:42px}.live-game .checkbox-label{font-size:10px;margin:6px 0}
 .live-game .game-error{bottom:214px;left:12px;right:12px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.live-shell *{transition:none!important;scroll-behavior:auto!important;animation:none!important}}

.agent-picker{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;margin:20px 0}.agent-picker label{font-size:14px}.live-shell .secret-row{display:flex;gap:8px}.live-shell .secret-row .small-button{position:static;flex:0 0 auto}.live-shell .form-status{font-size:13px;line-height:1.5}.live-shell .reminder-box{margin-top:18px;font-size:13px;line-height:1.5}
/* Readable turn information outside the bidding panel; actual mobile header grid. */
.live-center:has(#bidding-panel:not([hidden])) .turn-prompt{position:absolute;top:calc(50% + 152px);left:0;right:0;margin:0;font-size:20px}
@media(max-width:800px){
 .live-shell .site-header .brand{grid-area:1/1;justify-self:start}
 .live-shell .site-header .header-right{grid-area:1/1;justify-self:end;margin-left:0!important;max-width:58%;min-width:0}
 .live-shell .site-header .main-nav{grid-area:2/1}
 .live-shell .site-header #header-elo{display:none!important}
 .live-shell .header-right #header-profile{max-width:82px;min-width:0;overflow:hidden;white-space:nowrap}
 .live-game .live-center:has(#bidding-panel:not([hidden])) .turn-prompt{top:calc(50% + 147px);font-size:16px}
 .live-game .live-seat.self{top:auto;bottom:20px;right:auto;transform:none;z-index:4}
}
/* Internal reporting and moderation reuse the existing visual language. */
.preview-report { padding: .75rem; }
.preview-report summary { cursor: pointer; }
.preview-report form, .preview-moderation { display: grid; gap: .5rem; margin: 1rem 0; }
.preview-report input, .preview-report textarea, .preview-moderation input, .preview-moderation select, .preview-moderation textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: .65rem; font: inherit; border: 1px solid #b8c8bc; border-radius: .45rem; }
.preview-report textarea, .preview-moderation textarea { min-height: 5rem; resize: vertical; }
.admin-main .data-table td { overflow-wrap: anywhere; }
.admin-main .data-table th { white-space: nowrap; }
.admin-main .data-table td:nth-child(3),.admin-main .data-table td:nth-child(5) { white-space: nowrap; }
/* Account, learning and support use the existing Synko palette. */
.credit-pill {font-weight:700;white-space:nowrap;color:var(--green,#2e573c);font-size:14px}
.portal-nav {display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.portal-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px}
.portal-grid .panel-card {min-width:0;overflow-wrap:anywhere}
.portal-grid p {line-height:1.65}
.portal-grid input:not([type=checkbox]),.portal-grid textarea,.portal-grid select {width:100%;max-width:100%;box-sizing:border-box}
.portal-grid form .field {margin:16px 0}
.session-row,.support-ticket {padding:14px 0;border-bottom:1px solid #dce3d7}
.session-row small {display:block;margin-bottom:8px}
.check-row {display:flex;align-items:flex-start;gap:12px;line-height:1.5}
.check-row input {flex:0 0 auto;margin-top:5px}
.tutorial-answers {display:flex;flex-direction:column;gap:12px;margin:22px 0}
.tutorial-answers .btn {white-space:normal;text-align:start;line-height:1.5}
.entry-cost {margin-bottom:16px;padding:16px 22px}
.entry-cost p {margin:4px 0}
.site-footer .foot-right {flex-wrap:wrap;gap:12px}
.history-table small {display:block;white-space:normal}
@media(max-width:600px){.portal-nav .btn{font-size:13px;padding:9px 12px}.portal-page .panel-card{padding:20px}.header-right{gap:8px}.credit-pill{font-size:12px}}
.recovery-codes { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; background: #f2f5ef; border-radius: 8px; user-select: all; }
.report-response { display: grid; gap: .5rem; min-width: 220px; }
.report-response textarea { width: 100%; }
