/* Font fallbacks cover CJK without depending on another font download. */
html:lang(zh){font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif}html:lang(ja){font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}
html:is(:lang(zh),:lang(ja),:lang(ko)) :is(button,input,select,.seat-name,.help-title,h1,h2,h3){font-family:inherit}
html:not(:lang(en)) :is(.entry-button strong,.opponent-card h3,.host-choices button,.sng-formats button strong){overflow-wrap:anywhere;hyphens:auto;line-height:1.2}
html:not(:lang(en)) .poker-action strong{font-size:clamp(12px,3.4vw,18px);line-height:1.12;white-space:normal}
html:not(:lang(en)) .poker-action small{font-size:9px;line-height:1.15;white-space:normal}
html:not(:lang(en)) .table-quick-bets button{font-size:10px;min-width:0}
html:not(:lang(en)) .setup-bottom .button{font-size:15px;line-height:1.2;white-space:normal}
html:not(:lang(en)) .opponent-card h3{font-size:10px!important;line-height:1.2!important;white-space:normal!important;max-width:100%;overflow:hidden}
html:not(:lang(en)) .seat-name{font-size:9px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
html:not(:lang(en)) :is(.host-seat-heading small,.host-seat-hint,.room-submit small){line-height:1.4;overflow-wrap:anywhere}
html:not(:lang(en)) .personal-option-row{gap:10px}.personal-option-row #personal-language{min-width:0;max-width:65%;font-size:14px!important}
.monitor-language{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin:0}.monitor-language select{width:auto;min-width:95px;max-width:160px;min-height:36px;margin:0;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink)}
html:not(:lang(en)) .monitor-language{flex-shrink:0}html:not(:lang(en)) .bot-settings-page header{flex-wrap:wrap}
@media(max-width:760px){.monitor-language{margin-bottom:8px}.monitor-language select{font-size:14px}html:not(:lang(en)) .host-choices button{font-size:11px}html:not(:lang(en)) .mode-tabs button{font-size:12px}html:not(:lang(en)) .entry-button strong{font-size:16px}html:not(:lang(en)) .character-guide{font-size:9px}html:not(:lang(en)) .opponents-head .section-label{font-size:8px;letter-spacing:0}html:not(:lang(en)) .sng-formats button small{font-size:7px}html:not(:lang(en)) .compact-table-meta{font-size:10px}}
html:not(:lang(en)) .opponent-card h3{white-space:nowrap!important;text-overflow:ellipsis;font-size:9.5px!important}
html:is(:lang(zh),:lang(ja),:lang(ko)) body{font-family:inherit}
html:not(:lang(en)) .monitor-language+div{min-width:0}
.name-pool-picker select{display:block;min-height:40px;margin-top:7px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--paper);max-width:100%}
@media(max-width:760px){html:not(:lang(en)) .style-switch button{font-size:9px;padding:6px;min-height:33px}html:not(:lang(en)) .page-head h1{font-size:clamp(19px,5.3vw,25px)}html:is(:lang(de),:lang(ru)) .hero h1{font-size:clamp(28px,7.8vw,38px)}html:not(:lang(en)) .page-head>div{min-width:0}html:not(:lang(en)) .page-head h1{min-width:0}html:not(:lang(en)) .rail a{white-space:normal;overflow-wrap:anywhere}}
html:not(:lang(en)) .country-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

html:lang(ko){font-family:'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif}html:lang(ru){font-family:'DM Sans',Arial,sans-serif}.friend-seat-notice{font-size:11px;line-height:1.5;margin:10px 0}.host-bot-picker [aria-disabled=true],.seat-type-choices [aria-disabled=true]{opacity:.55}
