.secure-workspace .chess-board-wrapper{--xiangqi-grid-width: 560px;--xiangqi-grid-height: 630px;--xiangqi-board-padding: 38px;--xiangqi-board-border: 16px;--xiangqi-board-width: calc( var(--xiangqi-grid-width) + (var(--xiangqi-board-padding) * 2) + (var(--xiangqi-board-border) * 2) );--xiangqi-board-height: calc( var(--xiangqi-grid-height) + (var(--xiangqi-board-padding) * 2) + (var(--xiangqi-board-border) * 2) )}.secure-workspace .chess-board{width:var(--xiangqi-board-width);height:var(--xiangqi-board-height);padding:var(--xiangqi-board-padding);border-width:var(--xiangqi-board-border);box-sizing:border-box}.secure-workspace .board-grid-area,.secure-workspace .board-svg,.secure-workspace .pieces-layer{width:var(--xiangqi-grid-width);height:var(--xiangqi-grid-height)}.secure-workspace .top-labels,.secure-workspace .bottom-labels{width:var(--xiangqi-grid-width);display:flex;justify-content:space-between;padding-inline:0}.secure-workspace .top-labels span,.secure-workspace .bottom-labels span{width:0;flex:0 0 0;justify-content:center}.secure-workspace .left-labels,.secure-workspace .right-labels{height:var(--xiangqi-grid-height);display:flex;flex-direction:column;justify-content:space-between;padding-block:0}.secure-workspace .left-labels span,.secure-workspace .right-labels span{height:0;flex:0 0 0;align-items:center}.secure-workspace .piece{transform-origin:center center}.secure-workspace .chess-board-wrapper{--board-scale: min( calc((100dvh - 154px) / 780), calc((100vw - var(--control-width) - 120px) / 730) )}.mobile-board-zoom-controls{display:none}@media (max-width: 1199px){.secure-workspace .chess-board-wrapper{--board-scale: min( calc((100dvh - 126px) / 780), calc((100vw - 78px) / 730) )}.mobile-board-zoom-controls{position:absolute;z-index:40;top:10px;right:10px;display:flex;align-items:center;gap:4px;padding:4px;border:1px solid rgba(212,175,55,.42);border-radius:12px;background:#0b0d13e6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-board-zoom-controls button{min-width:38px;min-height:36px;padding:6px 9px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:#ffffff12;color:var(--text-main);font:inherit;font-size:18px;line-height:1}.mobile-board-zoom-controls button:active{background:#d4af3733;border-color:var(--primary-gold)}.mobile-board-zoom-controls button[data-board-zoom=reset]{min-width:54px;color:var(--primary-gold);font-size:11px;font-weight:700}}@media (max-width: 700px){.secure-workspace #eval-bar-root{display:none}.secure-workspace .board-with-eval{width:100%;height:100%;padding:8px 4px 0;align-items:flex-start;justify-content:center;overflow:hidden}.secure-workspace #board-root{width:100%;height:100%;min-width:0;min-height:0;display:flex;align-items:flex-start;justify-content:center;overflow:hidden}.secure-workspace .chess-board-wrapper{flex:0 0 auto;transform:none!important;transform-origin:top center;zoom:var(--mobile-board-zoom, .5);touch-action:pan-x pan-y}.secure-workspace .board-container-section{grid-template-rows:minmax(0,1fr) auto}.secure-workspace .board-quickbar{padding-bottom:max(7px,env(safe-area-inset-bottom))}}@media (max-width: 420px){.secure-workspace .chess-board-wrapper{zoom:var(--mobile-board-zoom, .47)}}@media (max-width: 380px){.secure-workspace .chess-board-wrapper{zoom:var(--mobile-board-zoom, .43)}}@media (orientation: landscape) and (max-height: 560px) and (max-width: 1199px){.secure-workspace #eval-bar-root{display:none}.secure-workspace .board-with-eval,.secure-workspace #board-root{width:100%;height:100%;min-width:0;min-height:0;align-items:flex-start;justify-content:center;overflow:hidden}.secure-workspace .board-with-eval{padding:4px 4px 0}.secure-workspace .chess-board-wrapper{flex:0 0 auto;transform:none!important;transform-origin:top center;zoom:var(--mobile-board-zoom, .46);touch-action:pan-x pan-y}.secure-workspace .board-quickbar{padding:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.mobile-board-zoom-controls{top:6px;right:6px}}@media (orientation: landscape) and (max-height: 430px) and (max-width: 1199px){.secure-workspace .chess-board-wrapper{zoom:var(--mobile-board-zoom, .42)}}.token-usage-panel{position:absolute;right:26px;bottom:26px;z-index:80;width:min(292px,26vw);max-height:min(390px,calc(100% - 52px));border:1px solid rgba(34,211,238,.34);border-radius:14px;background:linear-gradient(145deg,#08161df2,#11151eed);box-shadow:0 18px 40px #0000007a;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);overflow:hidden;transition:opacity .2s ease,transform .2s ease,width .2s ease,max-height .2s ease}.token-usage-header{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px 8px 12px;border-bottom:1px solid rgba(255,255,255,.08)}.token-usage-title{min-width:0;display:flex;align-items:center;gap:8px;color:#a5f3fc;font-size:13px;font-weight:700;white-space:nowrap}.token-usage-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#22d3ee;box-shadow:0 0 10px #22d3eed1}.token-usage-actions{display:flex;gap:4px}.token-usage-icon,.token-usage-launcher{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.12);background:#ffffff0f;color:var(--text-main);cursor:pointer}.token-usage-icon{width:28px;height:28px;border-radius:8px;font-size:13px}.token-usage-icon:hover,.token-usage-launcher:hover{background:#ffffff21;border-color:#22d3ee75}.token-usage-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px 10px 9px;border-bottom:1px solid rgba(255,255,255,.07);background:#030c1252}.token-usage-summary>span{min-width:0;display:flex;flex-direction:column;gap:2px;padding:5px 6px;border:1px solid rgba(34,211,238,.12);border-radius:8px;background:#ffffff06}.token-usage-summary small{color:var(--text-muted);font-size:9px;white-space:nowrap}.token-usage-summary strong{overflow:hidden;color:#e6fbff;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.token-usage-body{max-height:285px;overflow-y:auto;padding:6px 12px 10px;overscroll-behavior:contain;scrollbar-width:thin}.token-usage-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:29px;border-bottom:1px solid rgba(255,255,255,.065);color:#cbd5e1;font-size:11px}.token-usage-row:last-child{border-bottom:0}.token-usage-label{display:flex;align-items:center;gap:8px;min-width:0}.token-usage-value{color:#f8fafc;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums}.token-usage-value.pending{color:var(--text-muted);font-family:inherit;font-size:10px}.token-usage-section-label{margin:5px 0 2px;color:#67e8f9;font-size:10px;letter-spacing:.06em;text-transform:uppercase}.token-usage-subrow{min-height:25px;color:var(--text-muted);font-size:10px}.token-usage-subrow .token-usage-label{padding-left:12px}.token-usage-cost-row .token-usage-value{color:#a5f3fc;font-weight:700}.token-usage-details{margin-top:7px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#0000001f;overflow:hidden}.token-usage-details summary{padding:7px 9px;color:#c7f7ff;font-size:10px;cursor:pointer;list-style-position:inside}.token-usage-details-body{padding:0 9px 5px}.token-usage-note{padding:7px 11px 9px;color:var(--text-muted);font-size:9px;line-height:1.4;border-top:1px solid rgba(255,255,255,.06)}.token-usage-panel.is-collapsed{width:min(272px,25vw);max-height:108px}.token-usage-panel.is-collapsed .token-usage-body,.token-usage-panel.is-collapsed .token-usage-note{display:none}.token-usage-panel.is-collapsed .token-usage-summary{border-bottom:0}.token-usage-panel.is-closed{opacity:0;pointer-events:none;transform:translateY(12px) scale(.97)}.token-usage-launcher{display:none;position:absolute;right:20px;bottom:18px;z-index:85;width:42px;height:42px;border-radius:50%;border-color:#22d3ee73;background:#08141be6;box-shadow:0 10px 28px #00000073;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:17px}.token-usage-panel.is-closed+.token-usage-launcher{display:inline-flex}@media (max-width:1199px){.token-usage-panel{right:14px;bottom:66px;width:min(292px,calc(100vw - 96px));max-height:min(360px,calc(100% - 86px))}.token-usage-panel.is-collapsed{width:min(272px,calc(100vw - 96px))}.token-usage-panel:not(.is-open-mobile){opacity:0;pointer-events:none;transform:translateY(12px) scale(.98)}.token-usage-panel.is-open-mobile{opacity:1;pointer-events:auto;transform:none}.token-usage-launcher,.token-usage-panel.is-closed+.token-usage-launcher{display:inline-flex;right:16px;bottom:65px}.token-usage-panel.is-open-mobile+.token-usage-launcher{display:none}}@media (max-width:700px){.token-usage-panel{right:8px;bottom:60px;width:min(292px,calc(100vw - 16px));max-height:min(330px,calc(100% - 72px))}.token-usage-panel.is-collapsed{width:min(272px,calc(100vw - 16px))}.token-usage-summary{gap:4px;padding-inline:7px}.token-usage-summary>span{padding-inline:5px}.token-usage-launcher,.token-usage-panel.is-closed+.token-usage-launcher{right:10px;bottom:60px;width:38px;height:38px}}.product-shell-actions{display:flex;align-items:center;gap:6px}.product-shell-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0d;color:var(--text-muted);font:inherit;font-size:11px;font-weight:600;cursor:pointer}.product-shell-button:hover,.product-shell-button.is-active{border-color:var(--primary-gold);color:var(--primary-gold);background:#d4af371f}.product-mode-switch{display:flex;padding:3px;border:1px solid rgba(255,255,255,.1);border-radius:9px;background:#080a10b3}.product-mode-switch button{border:0;border-radius:6px;background:transparent;color:var(--text-muted);padding:4px 8px;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.product-mode-switch button.is-active{background:#d4af372e;color:var(--primary-gold)}.product-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:20px;background:#000000ad;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.product-modal-backdrop.is-open{display:flex}.product-modal{width:min(460px,100%);border:1px solid var(--bg-card-border);border-radius:16px;background:#0f121afa;box-shadow:0 24px 70px #0000008c;padding:18px}.product-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.product-modal-title{color:var(--primary-gold);font-size:17px;font-weight:800}.product-modal-close{width:30px;height:30px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0d;color:var(--text-main);cursor:pointer}.product-setting-list{display:grid;gap:12px}.product-setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07)}.product-setting-row:last-child{border-bottom:0}.product-setting-copy{min-width:0}.product-setting-copy strong{display:block;color:var(--text-main);font-size:13px}.product-setting-copy span{display:block;margin-top:3px;color:var(--text-muted);font-size:11px;line-height:1.4}.product-setting-row select{min-width:128px;padding:6px 8px;border:1px solid rgba(212,175,55,.28);border-radius:7px;background:#0b0d13;color:var(--text-main)}.product-share-status{min-height:18px;margin-top:10px;color:#a7f3d0;font-size:11px;text-align:right}.secure-workspace.is-simple-mode #turn-runtime-root,.secure-workspace.is-simple-mode .legacy-controls-disclosure,.secure-workspace.is-simple-mode #token-usage-root,.secure-workspace.is-simple-mode #btn-toggle-prompt-detail,.secure-workspace.is-simple-mode .prompt-preview-container{display:none!important}.secure-workspace.is-simple-mode .host-roster-copy-actions,.secure-workspace.is-simple-mode .host-roster-editor-footer span{display:none}.secure-workspace.is-simple-mode .copilot-card{border-color:#34d39952}@media (max-width:1199px){.product-shell-actions{margin-left:auto}.product-shell-button .product-shell-label{display:none}}@media (max-width:700px){.product-mode-switch{display:none}.product-shell-button{padding:6px 8px}}.paste-workflow-card{display:none!important}.paste-workflow-card{margin:0 0 12px;padding:12px;border:1px solid rgba(52,211,153,.28);border-radius:14px;background:linear-gradient(145deg,#0b1817d1,#10141ddb);box-shadow:0 10px 24px #0000003d}.paste-workflow-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.paste-workflow-heading>div{display:flex;min-width:0;flex-direction:column;gap:3px}.paste-workflow-heading strong{color:#a7f3d0;font-size:14px}.paste-workflow-heading span{color:var(--text-muted);font-size:10px;line-height:1.4}.paste-workflow-mode{flex:0 0 auto;padding:3px 7px;border:1px solid rgba(52,211,153,.35);border-radius:999px;background:#34d3991a;color:#a7f3d0!important;font-weight:700}.paste-workflow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.paste-workflow-step{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;column-gap:7px;align-items:center;padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#00000024;opacity:.62}.paste-workflow-step>span{grid-row:1/3;display:flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;background:#ffffff14;font-size:11px;font-weight:800}.paste-workflow-step b{color:#e2e8f0;font-size:11px}.paste-workflow-step small{overflow:hidden;color:var(--text-muted);font-size:9px;line-height:1.25;text-overflow:ellipsis}.paste-workflow-step.is-active{border-color:#34d39980;background:#34d39917;opacity:1}.paste-workflow-step.is-active>span,.paste-workflow-step.is-complete>span{background:#34d399;color:#07110e}.paste-workflow-step.is-complete{opacity:.82}.paste-workflow-status{margin-top:9px;color:#d1fae5;font-size:11px}.paste-preflight{margin-top:6px;padding:7px 9px;border-radius:8px;border:1px solid rgba(255,255,255,.08);background:#00000029;color:var(--text-muted);font-size:10px;line-height:1.4}.paste-preflight.is-ready{border-color:#22c55e61;background:#22c55e17;color:#bbf7d0}.paste-preflight.is-blocked{border-color:#f8717142;background:#7f1d1d14;color:#fecaca}#btn-execute-move:disabled{cursor:not-allowed;opacity:.5;filter:saturate(.55)}.is-simple-mode .copilot-card{padding-top:12px}.is-simple-mode .copilot-step-block .step-header{margin-bottom:7px}@media (max-width:700px){.paste-workflow-card{margin:0 6px 9px;padding:9px}.paste-workflow-steps{grid-template-columns:1fr}.paste-workflow-step{grid-template-columns:22px minmax(0,1fr);padding:6px 8px}.paste-workflow-step>span{width:22px;height:22px}.paste-workflow-heading span{max-width:230px}}@media (max-width:1199px){.mobile-paste-mode #tab-content-copilot{padding:8px!important;overflow-y:auto}.mobile-paste-mode #tab-content-copilot>.paste-workflow-card,.mobile-paste-mode #tab-content-copilot>#host-roster-root,.mobile-paste-mode #tab-content-copilot>.legacy-controls-disclosure,.mobile-paste-mode #tab-content-copilot>.status-card{display:none!important}.mobile-paste-mode #tab-content-copilot>.copilot-card{display:block!important;margin:0;padding:10px}.mobile-paste-mode .copilot-card>.copilot-step-block:first-child,.mobile-paste-mode .copilot-card>.copilot-divider{display:none!important}.mobile-paste-mode .copilot-card>.copilot-step-block:last-child{display:flex;min-height:calc(100dvh - 118px);flex-direction:column;gap:10px}.mobile-paste-mode .copilot-card .step-header{position:sticky;top:0;z-index:2;margin:0;padding:8px 4px;background:#0b0d13fa}.mobile-paste-mode #model-input-textarea{display:block;width:100%;min-height:180px;height:34dvh;max-height:320px;margin:0;font-size:16px;line-height:1.5;user-select:text;-webkit-user-select:text}.mobile-paste-mode #btn-execute-move{position:sticky;bottom:0;z-index:3;min-height:52px;margin-top:auto;font-size:16px}.mobile-paste-mode #parser-feedback{padding-bottom:max(8px,env(safe-area-inset-bottom))}}@media (orientation:landscape) and (max-height:560px) and (max-width:1199px){.mobile-paste-mode .control-sidebar{top:48px;width:min(520px,96vw)}.mobile-paste-mode .copilot-card>.copilot-step-block:last-child{min-height:calc(100dvh - 92px)}.mobile-paste-mode #model-input-textarea{height:28dvh;min-height:110px;max-height:180px}}body.secure-workspace{height:100dvh;min-height:100dvh;overflow:hidden}.secure-workspace .app-header{flex:0 0 60px}.secure-workspace #page-arena{min-height:0;height:calc(100dvh - 60px);overflow:hidden}.secure-workspace .app-layout{--control-width: clamp(360px, 31vw, 460px);display:grid;grid-template-columns:minmax(0,1fr) var(--control-width);gap:14px;height:100%;min-height:0;padding:14px;overflow:hidden}.secure-workspace .board-container-section{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--bg-card-border);border-radius:16px;background:#080a1099}.secure-workspace .board-with-eval{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px;overflow:hidden}.secure-workspace #board-root{width:min(100%,760px);height:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:visible}.secure-workspace .chess-board-wrapper{--board-scale: min( calc((100dvh - 154px) / 750), calc((100vw - var(--control-width) - 120px) / 700) );transform:scale(clamp(.55,var(--board-scale),1));transform-origin:center center;flex:0 0 auto}.secure-workspace #eval-bar-root{flex:0 0 42px;align-self:stretch;min-height:0;display:flex;align-items:center;justify-content:center}.secure-workspace .eval-bar-wrapper{height:min(70vh,560px);display:flex;flex-direction:column;align-items:center;gap:7px}.secure-workspace .eval-bar-container{width:16px;flex:1;min-height:180px;overflow:hidden;display:flex;flex-direction:column;border:1px solid rgba(212,175,55,.5);border-radius:999px;background:#191c29}.secure-workspace .eval-fill{position:relative;width:100%;min-height:0;transition:height .3s ease}.secure-workspace .black-fill{background:#25283a}.secure-workspace .red-fill{background:#e11d48}.secure-workspace .eval-pct-text{position:absolute;left:22px;color:var(--text-main);font-size:10px;font-weight:700;white-space:nowrap}.secure-workspace .black-fill .eval-pct-text{top:4px}.secure-workspace .red-fill .eval-pct-text{bottom:4px}.secure-workspace .eval-bar-label{font-size:10px;color:var(--primary-gold)}.secure-workspace .control-sidebar{min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;overflow:hidden}.secure-workspace .sidebar-tabs{flex:0 0 auto}.secure-workspace .tab-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-gutter:stable}.secure-workspace .tab-content.active{display:flex}.secure-workspace #tab-content-copilot.active{padding-bottom:8px}.secure-workspace .card{padding:12px}.secure-workspace .profile-player-row{padding:6px 9px}.secure-workspace .commentator-body{max-height:84px;overflow-y:auto}.board-quickbar{display:none;gap:8px;padding:9px;border-top:1px solid var(--bg-card-border);background:#0b0d13f5}.board-quickbar .btn{min-width:0;flex:1;padding-inline:8px}.workspace-drawer-backdrop{display:none}@media (max-width: 1199px){.secure-workspace .app-header{height:52px;flex-basis:52px;padding-inline:10px;gap:8px}.secure-workspace .brand-subtitle,.secure-workspace .arena-nav .disabled,.secure-workspace #btn-header-sponsor{display:none}.secure-workspace .brand-title{font-size:17px}.secure-workspace .brand-logo{width:32px;height:32px}.secure-workspace .arena-nav{gap:4px}.secure-workspace .nav-item{padding:5px 8px;font-size:10px}.secure-workspace .mode-select-group{gap:4px!important}.secure-workspace #game-mode-select{max-width:150px;padding:5px!important;font-size:10px!important}.secure-workspace #btn-toggle-speech{font-size:0;padding:6px 9px}.secure-workspace #btn-toggle-speech:before{content:"🔊";font-size:13px}.secure-workspace #page-arena{height:calc(100dvh - 52px)}.secure-workspace .app-layout{display:block;padding:8px;height:100%;position:relative}.secure-workspace .board-container-section{height:100%}.secure-workspace .board-with-eval{padding:4px 4px 0}.secure-workspace .chess-board-wrapper{--board-scale: min( calc((100dvh - 126px) / 750), calc((100vw - 78px) / 700) );transform:scale(clamp(.46,var(--board-scale),.88))}.secure-workspace .eval-bar-wrapper{height:min(64vh,470px)}.board-quickbar{display:flex}.secure-workspace .control-sidebar{position:fixed;z-index:600;top:52px;right:0;bottom:0;width:min(440px,92vw);height:auto;padding:10px;background:#0b0d13fb;border-left:1px solid var(--bg-card-border);box-shadow:-18px 0 50px #000000a6;transform:translate(104%);transition:transform .22s ease}.secure-workspace.controls-open .control-sidebar{transform:translate(0)}.workspace-drawer-backdrop{position:fixed;top:52px;right:0;bottom:0;left:0;z-index:590;background:#0000008c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.secure-workspace.controls-open .workspace-drawer-backdrop{display:block}}@media (max-width: 700px){.secure-workspace .arena-nav #nav-btn-home,.secure-workspace .arena-nav a,.secure-workspace .mode-select-group #game-mode-select{display:none}.secure-workspace .chess-board-wrapper{--board-scale: min( calc((100dvh - 122px) / 750), calc((100vw - 56px) / 700) );transform:scale(clamp(.4,var(--board-scale),.72))}.secure-workspace #eval-bar-root{flex-basis:30px}.secure-workspace .eval-pct-text{display:none}.board-quickbar{gap:5px;padding:7px}.board-quickbar .btn{font-size:11px;padding:7px 5px}}.host-roster-card{padding:12px}.host-roster-header,.host-roster-actions,.host-roster-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.host-roster-subtitle{margin-top:3px;font-size:11px;color:var(--text-muted)}.host-roster-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.host-roster-summary-slot{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;padding:9px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#ffffff09}.host-roster-side{grid-row:1 / span 2;align-self:center;font-size:12px;font-weight:700}.host-roster-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.host-roster-driver{font-size:11px;color:var(--text-muted)}.host-roster-actions{justify-content:flex-end;margin-top:8px}.host-roster-editor{margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.08)}.host-participant-editor{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;margin-bottom:8px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#00000021}.host-participant-editor-title{grid-column:1 / -1;font-size:12px;font-weight:800;color:var(--primary-gold)}.host-participant-editor label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--text-muted)}.host-participant-editor input,.host-participant-editor select{width:100%;min-width:0;padding:7px 8px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:#1f2937;color:#f8fafc;outline:none;color-scheme:dark}.host-participant-editor select option{background:#1f2937;color:#f8fafc}.host-participant-editor select option:checked{background:#374151;color:#fff}.host-driver-fields{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.host-driver-note{grid-column:1 / -1;padding:8px;border-radius:8px;background:#34d39914;color:#a7f3d0;font-size:11px}.host-roster-editor-footer{margin-top:4px;font-size:10px;color:var(--text-muted)}.legacy-controls-disclosure{margin:8px 0;border:1px dashed rgba(255,255,255,.12);border-radius:10px}.legacy-controls-disclosure>summary{padding:8px 10px;color:var(--text-muted);font-size:11px;cursor:pointer}.legacy-controls-disclosure[open]>summary{border-bottom:1px solid rgba(255,255,255,.08)}.legacy-controls-disclosure>div{margin:8px}@media (max-width:1320px){.host-participant-editor,.host-driver-fields{grid-template-columns:1fr}}@media (max-width:700px){.host-roster-summary{grid-template-columns:1fr}}.secure-workspace #nav-btn-home,.secure-workspace .arena-nav>a[href*=index]{display:none!important}@media (max-width: 1199px){.secure-workspace .control-sidebar{left:0;right:0;width:auto;max-width:none;min-width:0;top:100px;padding-inline:max(10px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-right));overflow-x:hidden;box-sizing:border-box}.secure-workspace .workspace-drawer-backdrop{top:52px;right:0;bottom:0;left:0}.secure-workspace.controls-open .workspace-drawer-backdrop:before{content:"× 关闭面板";position:absolute;top:0;left:0;right:0;height:48px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(212,175,55,.3);background:#0b0d13fa;color:var(--text-main);font-size:15px;font-weight:700;letter-spacing:.04em}.secure-workspace .control-sidebar,.secure-workspace .workspace-control-panel,.secure-workspace .sidebar-tabs,.secure-workspace .tab-content,.secure-workspace .tab-content>*,.secure-workspace .card,.secure-workspace .paste-workflow-card,.secure-workspace .copilot-card{max-width:100%;min-width:0;box-sizing:border-box}.secure-workspace .sidebar-tabs{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.secure-workspace .tab-btn{min-width:max-content}.secure-workspace textarea,.secure-workspace input,.secure-workspace select,.secure-workspace button{max-width:100%;box-sizing:border-box}.secure-workspace .token-usage-panel.is-closed,.secure-workspace .token-usage-panel.is-open-mobile.is-closed{opacity:0!important;pointer-events:none!important;transform:translateY(12px) scale(.97)!important}.secure-workspace .token-usage-panel.is-closed+.token-usage-launcher{display:inline-flex!important}}@media (max-width: 700px){.secure-workspace .app-header{overflow:hidden}.secure-workspace .arena-nav{margin-left:auto}.secure-workspace .control-sidebar{bottom:0;border-left:0}}@media (orientation: landscape) and (max-height: 560px) and (max-width: 1199px){.secure-workspace .app-header{height:44px;flex-basis:44px;padding-inline:8px}.secure-workspace .brand-logo{width:28px;height:28px}.secure-workspace .brand-title{font-size:15px}.secure-workspace #page-arena{height:calc(100dvh - 44px)}.secure-workspace .control-sidebar{top:88px}.secure-workspace .workspace-drawer-backdrop{top:44px;right:0;bottom:0;left:0}.secure-workspace.controls-open .workspace-drawer-backdrop:before{height:44px;font-size:13px}.secure-workspace .board-quickbar{min-height:42px;padding:4px 6px max(4px,env(safe-area-inset-bottom))}.secure-workspace .board-quickbar .btn{min-height:34px;padding-block:4px;font-size:12px}}
