/* Compact language control; content remains the visual priority. */
.yqzx-language{display:inline-flex;align-items:center;gap:2px;padding:3px;background:rgba(241,246,253,.88);border:1px solid rgba(45,102,180,.15);border-radius:999px;flex:none;white-space:nowrap;backdrop-filter:blur(16px);height:29px;box-sizing:border-box;z-index:80}
.yqzx-language button{display:grid;place-items:center;min-width:29px;width:29px;height:23px;min-height:0!important;padding:0!important;line-height:1;font:650 11px/1 Inter,"Segoe UI",sans-serif;letter-spacing:.02em;border:0!important;border-radius:999px;background:transparent;color:#516579;box-shadow:none;cursor:pointer;transition:background .14s,color .14s,box-shadow .14s}
.yqzx-language button.active{background:#1267dc;color:white;box-shadow:0 2px 7px #1267dc25}.yqzx-language button:focus-visible{outline:2px solid #2787ef;outline-offset:2px}.yqzx-language button:hover:not(.active){background:#e1eafa;color:#153e71}
.app-header-state:has(.yqzx-language){display:flex!important;align-items:center;gap:8px;margin-left:auto;flex:none}.yqzx-language.is-overlay{position:absolute;right:50px;top:10px;z-index:2147483000}.yqzx-language:has(button[aria-pressed="true"]){visibility:visible}
#languageSwitcher[hidden]{display:none!important}
html:not([lang^="zh"]) .app-main-nav{gap:clamp(2px,.55vw,9px)}
html:not([lang^="zh"]) .app-main-nav a{font-size:13px;padding-inline:9px;white-space:nowrap}
html:not([lang^="zh"]) .app-logo{font-size:17px;white-space:nowrap}
html:not([lang^="zh"]) button,html:not([lang^="zh"]) select{letter-spacing:0}
html:not([lang^="zh"]) .module-sidebar button,html:not([lang^="zh"]) .module-sidebar a{white-space:normal;line-height:1.25}
html:not([lang^="zh"]) .ti-feature-list button,html:not([lang^="zh"]) .ti-feature-card{min-width:0;overflow-wrap:normal}
html:not([lang^="zh"]) .cs-chapter h2{font-size:clamp(28px,3.1vw,48px);line-height:1.13;letter-spacing:-.025em;text-wrap:balance}
html:not([lang^="zh"]) .cs-hero h1{line-height:1.08;letter-spacing:-.035em;text-wrap:balance}
html:not([lang^="zh"]) .cs-body p,html:not([lang^="zh"]) .cs-coaching p{line-height:1.6}
html:not([lang^="zh"]) .tactical-panel{width:245px;max-width:calc(100vw - 28px)}
@media(max-width:1100px){html:not([lang^="zh"]) .app-main-nav a{font-size:12px;padding-inline:6px}html:not([lang^="zh"]) .app-logo{font-size:15px}.yqzx-language button{min-width:25px;width:25px}}
@media(prefers-reduced-motion:reduce){.yqzx-language button{transition:none}}
/* Modal/fullscreen controls participate in the header; no covered close/export buttons. */
.yqzx-language.is-inline-overlay{position:static!important;inset:auto!important;flex:0 0 auto;margin:0 8px;align-self:center}
dialog :is(.dialog-heading,.panel-heading,.dialog-title):has(>.yqzx-language)>:first-child:not(.yqzx-language){margin-right:auto;min-width:0}
dialog .profile-actions:has(>.yqzx-language){flex-wrap:wrap;align-items:center;gap:8px}
dialog .profile-header:has(.yqzx-language) .profile-title{min-width:0;flex:1}
dialog .profile-header:has(.yqzx-language) .profile-title p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yqzx-language.is-fullscreen-overlay{left:50%;right:auto;top:10px;transform:translateX(-50%)}
.video-stage-toolbar>.yqzx-language{order:-1;margin:0 4px 0 0}
/* Allow translated labels to claim their real width, rather than clipping tabs. */
body[data-module] .app-header-state:has(.yqzx-language){min-width:0;max-width:100%;justify-self:end}
body[data-module] .app-header-state:has(.yqzx-language)>:not(.yqzx-language){min-width:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:not([lang^="zh"]) body[data-module] .app-header{grid-template-columns:minmax(155px,1fr) auto minmax(155px,1fr);gap:12px}
html:not([lang^="zh"]) body[data-module=profile] .topbar.profile-contextbar{grid-template-columns:max-content minmax(180px,1fr) auto!important;gap:14px!important}
html:not([lang^="zh"]) body[data-module=profile] .profile-contextbar>.experience-tabs{width:auto;max-width:none;overflow:visible;gap:0}
html:not([lang^="zh"]) body[data-module=profile] .profile-contextbar>.experience-tabs button{font-size:14px!important;padding-inline:8px!important}
html:not([lang^="zh"]) body[data-module=profile] .profile-match-heading{min-width:0;width:auto!important;max-width:none!important}
html:not([lang^="zh"]) body[data-module=profile] #matchTitle{max-width:100%!important;text-align:center}
html:not([lang^="zh"]) body[data-module=profile] .pitch-card>.card-heading{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px}
html:not([lang^="zh"]) body[data-module=profile] .pitch-card>.card-heading>:first-child{margin-right:auto}
html:not([lang^="zh"]) body[data-module=profile] .pitch-card .viz-pitch-controls{position:static!important;display:flex;flex-wrap:wrap;gap:8px;width:auto;max-width:100%}
html:not([lang^="zh"]) body[data-module=profile] #pitchTeam{position:static!important;inset:auto!important;width:auto;max-width:160px;margin:0}
html:not([lang^="zh"]) body[data-module=annotation] .experience-analysis-bar{gap:6px}
html:not([lang^="zh"]) body[data-module=annotation] .experience-analysis-bar>.experience-tabs button{font-size:14px!important;padding-inline:8px!important}
html:not([lang^="zh"]) body[data-module=annotation] .experience-analysis-bar #matchSelect{min-width:130px;flex:1 1 150px;max-width:280px}
html:not([lang^="zh"]) body[data-module=annotation] .analysis-focus-actions{flex-shrink:0;gap:5px}
html:not([lang^="zh"]) .cs-chapter h3{font-size:clamp(25px,2.6vw,38px);line-height:1.18;text-wrap:balance;letter-spacing:-.025em}
html:not([lang^="zh"]) .cs-hero h2{font-size:clamp(38px,4.2vw,66px);line-height:1.08;text-wrap:balance}
@media(max-width:1400px){body[data-module] .app-header-state:has(.yqzx-language)>:not(.yqzx-language){max-width:110px}html:not([lang^="zh"]) body[data-module=profile] .profile-contextbar>.experience-tabs button{font-size:13px!important;padding-inline:6px!important}}
@media(max-width:1000px){html:not([lang^="zh"]) body[data-module=profile] .topbar.profile-contextbar{grid-template-columns:minmax(0,1fr) auto!important;height:auto!important}html:not([lang^="zh"]) body[data-module=profile] .profile-contextbar>.experience-tabs{grid-column:1/-1;overflow-x:auto}html:not([lang^="zh"]) body[data-module] .app-header{grid-template-columns:140px minmax(0,1fr) auto}body[data-module] .app-header-state:has(.yqzx-language)>:not(.yqzx-language){display:none}}
html:not([lang^="zh"]) body[data-module=annotation] #reviewWorkspace{--ur-rail-width:84px}
html:not([lang^="zh"]) #reviewWorkspace .ur-operator-label{font-size:12px!important;line-height:16px!important;word-break:normal;overflow-wrap:normal;hyphens:none}
html:not([lang^="zh"]) #reviewWorkspace .ur-operator-rail>button,html:not([lang^="zh"]) #reviewWorkspace .ur-operator-rail>details>summary{min-height:52px;height:auto;padding:5px 3px!important}
html:not([lang^="zh"]) #reviewWorkspace:is(:fullscreen,.is-review-fullscreen-window) .ur-operator-rail{width:84px}
html:not([lang^="zh"]) body[data-module=annotation] #reviewWorkspace #arTransport :is(#arTransportPlay,#arTransportReverse){font-size:0!important;flex:0 0 34px;width:34px;min-width:34px;padding:0!important;display:grid;place-items:center}
html:not([lang^="zh"]) #arTransportPlay::before{content:'▶';font:14px/1 'Segoe UI',sans-serif}
html:not([lang^="zh"]) #arTransportReverse::before{content:'◀';font:14px/1 'Segoe UI',sans-serif}
html:not([lang^="zh"]) :is(#arTransportPlay,#arTransportReverse)[aria-pressed=true]::before{content:'Ⅱ'}
html:not([lang^="zh"]) body[data-module=reconstruction] .tactics-panel{width:320px;max-width:calc(100vw - 30px)}
html:not([lang^="zh"]) .tactics-heading{flex-wrap:nowrap;column-gap:6px}
html:not([lang^="zh"]) .tactics-heading strong{font-size:15px;flex:1}
html:not([lang^="zh"]) .tactics-heading span{font-size:12px!important}
html:not([lang^="zh"]) body[data-module=reconstruction] .tactics-panel button{font-size:13px!important;padding-inline:6px}
html:not([lang^="zh"]) body[data-module=reconstruction] .tactics-panel .tactics-auto-row{grid-template-columns:1fr 1.35fr .7fr}
html:not([lang^="zh"]) body[data-module=reconstruction] .tactics-panel .tactics-auto-row button{font-size:13px!important}
