/* Locale presentation. Seat coordinates / card order are physical game state, never mirrored. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.i18n-lines{white-space:pre-line}
.live-shell .locale-picker{display:inline-flex;align-items:center;flex:0 0 auto;max-width:145px}
.live-shell .locale-picker select{font:inherit;font-size:13px;line-height:1.4;border:1px solid var(--line);border-radius:9px;background:#fff;color:#174e3c;padding:8px 9px;width:100%;min-width:96px;cursor:pointer}
.live-shell .site-header{gap:18px}
.live-shell .header-left{gap:clamp(20px,3.5vw,65px)!important}
.live-shell .main-nav{gap:clamp(12px,1.8vw,28px)!important}
.live-shell .header-right{gap:10px!important}
.live-shell .preview-label{max-width:125px;white-space:normal;text-align:center}
.live-shell .field label,.live-shell .panel-subtitle,.live-shell .muted,.live-shell .checkbox-label{overflow-wrap:anywhere}
.live-shell .data-table th,.live-shell .data-table td,.live-shell .table-history th,.live-shell .table-history td,.live-shell .summary-table th,.live-shell .summary-table td{text-align:start}
.live-shell .secret-row .input{padding-inline-end:13px}
.live-shell .secret-row .small-button{position:static;white-space:nowrap}
.live-shell [dir=ltr]{unicode-bidi:isolate;text-align:left}
.live-shell [dir=auto],.live-shell bdi{unicode-bidi:plaintext}
.live-shell .voice-language{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;margin:8px 0}
.live-shell .voice-language select{font:inherit;min-width:0;max-width:100%;flex:1;padding:6px;border:1px solid var(--line);border-radius:7px;background:#fff}
.live-shell .voice-controls{flex-wrap:wrap}
.live-game .live-table,.live-game .live-trick,.live-game .hand-fan,.live-game .live-hidden-hand,.live-game .bid-stepper,.live-game .scoreband{direction:ltr}
.live-game .live-table .seat-chip,.live-game .live-center .bidding-center,.live-game .turn-prompt,.live-game .live-play-controls{direction:inherit}
.live-game .live-card .corner,.live-game .live-card .suit-big{direction:ltr!important;unicode-bidi:isolate}
.live-shell .chat-item .message{white-space:pre-wrap;overflow-wrap:anywhere;unicode-bidi:plaintext}
.live-shell .chat-item .speaker,.live-shell .name{overflow-wrap:anywhere}
.live-shell .chart-area{direction:ltr}
html[dir=rtl] .live-shell .header-right{margin-left:0;margin-inline-start:auto}
html[dir=rtl] .live-shell .brand{direction:ltr}
html[dir=rtl] .live-shell .header-left{direction:rtl}
html[dir=rtl] .live-shell .main-nav{direction:rtl}
html[dir=rtl] .live-shell .field,html[dir=rtl] .live-shell .panel-card,html[dir=rtl] .live-shell .auth-card,html[dir=rtl] .live-shell .panel-subtitle,html[dir=rtl] .live-shell .sub,html[dir=rtl] .live-shell .info-item{text-align:start}
html[dir=rtl] .live-shell .sidebar{border-right:0;border-left:1px solid var(--line);padding-right:0;padding-left:20px}
html[dir=rtl] .live-shell .vector-icon.text-icon{margin-right:0;margin-left:.58em}
html[dir=rtl] .live-shell .hero-home>.hero-art{direction:ltr} /* approved art is not mirrored */
html[dir=rtl] .live-shell .hero-title,html[dir=rtl] .live-shell h1,html[dir=rtl] .live-shell .panel-title,html[dir=rtl] .live-shell h2,html[dir=rtl] .live-shell h3{font-family:Tahoma,'Noto Sans Arabic','Segoe UI',sans-serif;letter-spacing:normal;line-height:1.45}
html[dir=rtl] .live-shell .hero-title{font-size:clamp(36px,3.5vw,52px)}
html[dir=rtl] .live-shell .eyebrow,html[dir=rtl] .live-shell .mini-eyebrow{letter-spacing:normal}
html[dir=rtl] .live-game .game-layout{direction:ltr} /* same table and chat physical placement */
html[dir=rtl] .live-game .game-sidebar,html[dir=rtl] .live-game .live-table .seat-chip,html[dir=rtl] .live-game .bidding-center,html[dir=rtl] .live-game .turn-prompt,html[dir=rtl] .live-game .live-play-controls,html[dir=rtl] .live-game .ready-panel{direction:rtl}
html[dir=rtl] .live-game .chat-item{direction:rtl;text-align:start}
html[dir=rtl] .live-game .scorebox{direction:rtl}
html[dir=rtl] .live-game .game-topbar .top-actions{direction:rtl}
html[dir=rtl] .live-shell .banner-deck-right,html[dir=rtl] .live-shell .banner-note,html[dir=rtl] .live-shell .subpage-hero>.note{display:none} /* decorative text/art would collide with translated right-aligned headings */
html[data-locale=zh] .live-shell h1,html[data-locale=zh] .live-shell .hero-title,html[data-locale=zh] .live-shell .panel-title{font-family:'Noto Serif CJK SC','Microsoft YaHei',serif;line-height:1.3;letter-spacing:0}
@media(max-width:1350px){
 .live-shell .preview-label{display:none}
 .live-shell .site-header{flex-wrap:wrap;height:auto;min-height:92px;padding-top:14px!important;padding-bottom:14px!important}
 .live-shell .header-left{gap:25px!important}
}
@media(max-width:1000px){.live-shell .main-nav{flex-wrap:wrap}.live-shell .main-nav a{white-space:normal}.live-shell .locale-picker{max-width:124px}}
@media(max-width:800px){
 .live-shell .site-header{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .live-shell .site-header .brand{grid-area:1/1;justify-self:start}
 .live-shell .site-header .header-right{grid-area:2/1;justify-self:stretch;max-width:100%;width:100%;margin:0!important;display:flex;justify-content:space-between;flex-wrap:wrap}
 .live-shell .site-header .main-nav{grid-area:3/1;flex-wrap:wrap;gap:8px 14px!important;justify-content:flex-start}
 .live-shell .main-nav a{font-size:13px;min-height:32px;display:flex;align-items:center}
 .live-shell .locale-picker select{min-height:38px}
 .live-shell .header-right #header-profile{max-width:120px}
 html[dir=rtl] .live-shell .sidebar{border-left:0;padding-left:0}
 .live-shell .agent-picker{grid-template-columns:minmax(0,1fr) auto}
 .live-shell .agent-picker>label{grid-column:1/-1}
 .live-shell .form-title-row{align-items:stretch}
 .live-shell .live-metrics{min-width:0}
 .live-game .bidding-center{width:min(320px,85vw)}
 .live-game .bidding-actions .btn,.live-game #bid-actions .btn{font-size:12px;padding:8px;overflow-wrap:normal}
 .live-game .turn-prompt{max-width:100%;overflow-wrap:anywhere}
 html[dir=rtl] .live-game .bidding-center h3{font-size:21px;line-height:1.3}
 .live-game .seat-chip .meta{font-size:10px;line-height:1.4}
}

/* Fixed icon dimensions: a zero-font-size ancestor must never collapse SVG placeholders. */
.live-shell .inline-svg-icon{width:22px;height:22px;flex:0 0 22px}
.live-shell .vector-icon{background-repeat:no-repeat!important;background-position:center!important;background-size:62% 62%!important}
.live-shell .vector-team{background-image:url('../icons/team.svg')!important}
.live-shell .vector-lock{background-image:url('../icons/lock.svg')!important}
.live-shell .vector-community{background-image:url('../icons/community.svg')!important}
.live-shell .vector-bot{background-image:url('../icons/bot.svg')!important}
.live-shell .vector-chat{background-image:url('../icons/chat.svg')!important}
.live-shell .vector-chart{background-image:url('../icons/chart.svg')!important}
.live-shell .vector-user{background-image:url('../icons/user.svg')!important}
.live-shell .vector-shield{background-image:url('../icons/shield.svg')!important}
.live-shell .vector-clock{background-image:url('../icons/clock.svg')!important}
.live-shell .vector-settings{background-image:url('../icons/settings.svg')!important}
.live-shell .vector-mic{background-image:url('../icons/mic.svg')!important}

.live-shell .hero-art .note.n1{max-width:150px;white-space:normal}
.live-shell .hero-art .note.n2{max-width:95px;white-space:normal}
@media(max-width:800px){
 .live-game .live-shell .live-table{min-height:780px;height:780px}
 .live-game .live-shell .game-sidebar{height:auto;min-height:525px;max-height:none}
 .live-game .live-shell .game-sidebar .chat-list{flex:1 1 180px;min-height:180px;max-height:300px;overflow-y:auto}
 .live-game .live-shell .voice-language{margin-block-end:8px}
}
@media(max-width:800px){
 .live-shell .admin-layout{grid-template-columns:minmax(0,1fr)}
 .live-shell .admin-sidebar{min-width:0;max-width:100%;overflow:hidden}
 .live-shell .admin-nav{min-width:0;width:100%;max-width:100%}
 .live-shell .admin-nav a{flex:0 0 auto}
 .live-shell .admin-main .section-title{font-size:clamp(30px,8vw,48px)!important;overflow-wrap:anywhere}
}
.live-shell .hero-art .note.n2{top:34px!important;right:12px;max-width:110px}
.live-shell .hero-benefit .icon{filter:brightness(0) invert(1);background-color:transparent!important;border:0!important;opacity:.88}
