:root{--ink:#193331;--muted:#7e8c82;--cream:#f5f4ed;--paper:#fffef8;--line:#dedfd4;--green:#d4ef82;--dark:#132c2c;--orange:#f2a56f;font-family:'Hurry Sans',Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;color:var(--ink);background:var(--cream);font-size:14px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a5c84d;outline-offset:3px}a{color:inherit;text-decoration:none}button{color:inherit}button[hidden],div[hidden],section[hidden]{display:none!important}.site-header{height:82px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0}.brand-mark{width:43px;height:43px;border-radius:14px;background:var(--dark);color:var(--green);display:grid;place-items:center;font-size:16px;font-weight:900;letter-spacing:-1px;position:relative}.brand-mark span{position:absolute;right:-3px;bottom:-3px;width:13px;height:13px;border-radius:50%;background:var(--orange);border:3px solid var(--cream)}.brand strong{font-size:18px;letter-spacing:-.7px}.brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:3px;color:#79887d}.header-note{display:flex;gap:9px;align-items:center;color:#6f8075;font-size:12px}.live-dot{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:100%;box-shadow:0 0 0 4px #d4ef821a;flex-shrink:0}.header-note .live-dot{background:#95ac62}.button{border:0;border-radius:12px;min-height:46px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:650;font-size:13px;transition:background .2s,transform .2s}.button:active{transform:scale(.98)}.button.quiet{border:1px solid var(--line);background:transparent}.button.quiet:hover{background:#e9ecdf}.button.primary{background:var(--dark);color:var(--green);justify-content:space-between}.button.primary:hover{background:#244745}.button.full{width:100%}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:0;height:calc(100dvh - 82px);min-height:640px}.stage-panel{position:relative;overflow:hidden;background:#142f30;min-width:0;isolation:isolate}.stage-panel canvas{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:none;outline:none}.stage-top{position:absolute;z-index:3;top:24px;left:26px;right:24px;display:flex;gap:16px;justify-content:space-between;pointer-events:none}.scene-info{min-width:0;max-width:65%;color:#f6f5e8;text-shadow:0 2px 16px #14262777}.eyebrow{font-size:9px;font-weight:750;letter-spacing:1.7px;display:flex;align-items:center;gap:9px}.scene-info .eyebrow{color:var(--green);letter-spacing:1px}h1{font-size:clamp(17px,2.1vw,26px);line-height:1.2;letter-spacing:-.7px;margin:10px 0 8px;font-weight:650}.scene-meta{font-size:10px;color:#c6d6cc;font-weight:450;line-height:1.5}.stage-tools{display:flex;align-items:flex-start;gap:7px;pointer-events:auto}.icon-button{width:44px;height:44px;min-width:44px;border-radius:12px;border:1px solid #e3eed41f;background:#102a2be6;color:#e4efd8;display:grid;place-items:center;font-size:23px;line-height:1;touch-action:manipulation}.icon-button:hover{background:#31504b}.panel-toggle{display:none}.score-strip{position:absolute;top:126px;left:26px;z-index:3;display:flex;gap:26px;color:#fffde8;pointer-events:none}.score-strip>div{display:flex;flex-direction:column;gap:6px}.score-strip span{font-size:9px;color:#c7d5c7;letter-spacing:.5px}.score-strip strong{font-size:22px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.7px}.stage-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;background:radial-gradient(ellipse at 50% 50%,#23444555,#142d2ed9);color:#e8eedb;z-index:2;pointer-events:none}.empty-icon{font-size:50px;color:#d4ef82;line-height:1.2}.stage-empty h2{font-size:20px;font-weight:500;margin:20px 0 0}.stage-empty p{max-width:340px;font-size:12px;color:#b5c6ba;line-height:1.8}.camera-hint{position:absolute;z-index:3;bottom:110px;left:26px;font-size:10px;color:#d3dfcd88;pointer-events:none}.orientation-hint{display:none;position:absolute;left:16px;bottom:110px;z-index:4;padding:8px 11px;border:1px solid #d4ef8230;background:#183a37df;color:#d5e8b3;border-radius:9px;font-size:10px;pointer-events:none}.orientation-hint span{margin-right:6px}.playback-bar{position:absolute;z-index:5;bottom:22px;left:26px;right:26px;display:flex;align-items:center;gap:14px;padding:12px 14px;background:#112a2be8;border:1px solid #d9ead41a;border-radius:16px;backdrop-filter:blur(16px);box-shadow:0 8px 30px #081c2329}.play-button{background:var(--green);color:var(--dark);border:0;font-size:18px}.play-button:hover{background:#e2f7b1}.timeline-wrap{flex:1;min-width:0}.timeline-label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#d7e5d0;font-size:9px;font-variant-numeric:tabular-nums}.timeline-label span:nth-child(2){color:#a4b7a7;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}input[type=range]{width:100%;height:24px;margin:0;accent-color:var(--green);cursor:pointer;background:transparent}input[type=range]:disabled{opacity:.4}.speed-button{background:none;border:0;color:var(--green);font-size:13px;font-weight:650;width:44px;height:44px;flex-shrink:0}.side-panel{background:var(--paper);border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;z-index:7}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:18px 24px 0;font-size:10px;letter-spacing:1.4px;color:#89957e;text-transform:uppercase;min-height:32px}.panel-title .icon-button{display:none;color:var(--ink);border-color:var(--line);background:transparent}.tabs{display:grid;grid-template-columns:repeat(5,1fr);padding:12px 19px 0;gap:3px;border-bottom:1px solid var(--line)}.tab{border:0;background:none;min-height:46px;font-size:12px;font-weight:600;color:#8a9686;position:relative}.tab.active{color:var(--ink)}.tab.active:after{content:"";height:3px;position:absolute;bottom:-1px;left:12px;right:12px;background:var(--ink);border-radius:3px}.panel-content{overflow:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#d5dbc8 transparent}.tab-content{display:none;padding:25px 24px}.tab-content.active{display:block}.section-heading .eyebrow{color:#8d9d78;font-size:8px;letter-spacing:2px}.section-heading h2{font-size:20px;font-weight:600;letter-spacing:-.7px;line-height:1.5;margin:11px 0 10px}.section-heading p{font-size:11px;line-height:1.9;color:#8a9486;margin:0 0 24px}.field{display:flex;flex-direction:column;font-size:10px;font-weight:600;color:#6c7d6c;gap:8px;margin-bottom:17px;min-width:0}.field select,.field input{width:100%;border:1px solid #e0e4d6;min-height:45px;border-radius:10px;color:#2c453c;background:#f5f6ef;padding:0 12px;font-size:12px;min-width:0;outline-offset:2px}.field select{padding-right:25px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.input-action{display:flex;gap:0;border:1px solid #e0e4d6;border-radius:10px;overflow:hidden;background:#f5f6ef}.input-action input{border:0;flex:1;min-width:0}.shuffle-button{background:transparent;border:0;border-left:1px solid #e0e4d6;padding:0 12px;color:#6f845d;font-size:10px;white-space:nowrap;min-height:44px}.stage-rule-note{font-size:10px;line-height:1.8;color:#899477;padding:10px 12px;background:#f0f3e5;border-radius:9px;margin:-3px 0 20px}.mode-switch{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce3cf;padding:4px;gap:4px;border-radius:12px;margin-bottom:14px}.mode-switch button{border:0;background:transparent;min-height:40px;border-radius:8px;color:#839071;font-size:11px;font-weight:650}.mode-switch button.selected{background:#e8eecf;color:#385239}.mode-switch+.button{margin-bottom:10px}#create-replay{font-size:11px;min-height:42px}.footnote{display:flex;align-items:flex-start;gap:7px;color:#a3aa97;font-size:9px;line-height:1.8;margin-top:22px}.status-mark{width:5px;height:5px;background:#adc17c;border-radius:100%;flex-shrink:0;margin-top:6px}.panel-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;padding:16px 24px;color:#99a18b;font-size:9px}.panel-footer a:hover{color:var(--ink)}.replay-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.empty-list{color:#94a08b;font-size:11px;line-height:1.9;padding:16px 0}.replay-card{display:block;border:1px solid #e1e6d7;border-radius:12px;padding:15px;text-align:left;background:#fffef8;width:100%;transition:background .2s}.replay-card:hover{background:#f0f5e4}.replay-card.active{border-color:#96b558;background:#f1f6e8}.replay-card .replay-top{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#8b9a7d;margin-bottom:10px}.replay-card strong{display:block;font-size:12px;line-height:1.6}.replay-card p{font-size:10px;color:#8b9780;margin:8px 0 0;line-height:1.8}.replay-card .replay-score{color:#426b4a}.course-list{display:flex;flex-direction:column;gap:0}.course-card{padding:0 0 23px 25px;border-left:1px solid #dce3cd;position:relative;margin-left:9px}.course-card:last-child{border:0}.course-number{position:absolute;left:-10px;top:-2px;border-radius:100%;width:20px;height:20px;background:#e8eddc;border:3px solid var(--paper);display:grid;place-items:center;font-size:8px;color:#748c59;font-weight:700}.course-card.current .course-number{background:var(--green);color:var(--dark)}.course-card h3{font-size:13px;margin:0 0 8px;line-height:1.5}.course-card p{font-size:10px;color:#8b977e;line-height:1.9;margin:0 0 10px}.course-tags{display:flex;flex-wrap:wrap;gap:5px}.course-tags span{font-size:8px;background:#eef1e5;border-radius:5px;padding:4px 6px;color:#80906e}.course-card a{display:inline-block;font-size:10px;color:#5f7c45;margin-top:11px}.training-state{display:flex;align-items:center;gap:9px;padding:13px 12px;border-radius:10px;background:#eef3e3;font-size:11px;margin-bottom:19px}.training-state .live-dot{background:#8ca962}.training-state small{margin-left:auto;font-size:8px;color:#839571}.training-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px 16px;margin-bottom:25px}.training-grid>div{display:flex;flex-direction:column;gap:8px}.training-grid span{font-size:9px;color:#8c9980}.training-grid strong{font-size:23px;font-weight:550;letter-spacing:-1px;font-variant-numeric:tabular-nums}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#81916f;margin-bottom:8px}.progress-track{height:5px;background:#e9eddc;border-radius:5px;overflow:hidden;margin-bottom:20px}.progress-track div{height:100%;background:#a8c770;width:0;transition:width .4s}.detail-list{font-size:10px;line-height:1.8}.detail-row{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #edf0e4}.detail-row span:first-child{color:#91a080}.detail-row span:last-child{text-align:right;overflow-wrap:anywhere}.chart-wrap{margin-top:25px}.chart-title{display:flex;justify-content:space-between;font-size:9px;color:#829372;margin-bottom:12px}.chart-title span:last-child{font-size:8px;color:#a4ae95}.chart-grid{stroke:#e2e7d6;stroke-width:.7;fill:none}.chart-line{stroke:#729e51;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round}.toast{position:absolute;z-index:12;left:50%;bottom:126px;transform:translateX(-50%);max-width:min(440px,80%);padding:12px 18px;background:#f6f8ebf5;border:1px solid #d4e1ba;color:#294739;border-radius:12px;box-shadow:0 10px 35px #071c3a33;font-size:12px;line-height:1.8;pointer-events:none}.scene-labels{position:absolute;inset:0;pointer-events:none;z-index:2}.actor-label{position:absolute;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;gap:5px;will-change:transform;pointer-events:none}.actor-label .name{background:#143b36dc;border:1px solid #deefcc28;border-radius:6px;padding:3px 7px;color:#e9f3d9;font-size:8px;white-space:nowrap}.actor-label .order{border-radius:8px;background:#fffdf1ed;color:#456344;padding:4px 7px;font-size:9px;box-shadow:0 3px 6px #12322b30;white-space:nowrap}.actor-label .order.unknown{font-size:12px}.actor-label .order .patience{height:2px;background:#9dbf66;border-radius:3px;margin-top:4px}.station-progress{position:absolute;transform:translate(-50%,-100%);background:#17352bed;padding:3px;border-radius:4px;width:48px;height:9px;box-shadow:0 0 0 1px #d4e8c82a}.station-progress i{display:block;background:#d4ef82;height:3px;border-radius:2px}.play-controls{position:absolute;left:0;right:0;bottom:0;height:175px;z-index:6;pointer-events:none;background:linear-gradient(transparent,#0a222951)}.joystick-zone{width:150px;height:160px;position:absolute;left:max(20px,env(safe-area-inset-left));bottom:max(17px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;touch-action:none;pointer-events:auto;user-select:none;-webkit-user-select:none}.joystick-ring{width:110px;height:110px;border-radius:100%;background:#d9e8d516;border:1px solid #e0f1d93d;position:relative;box-shadow:inset 0 0 0 18px #e7f5da05}.joystick-ring:before,.joystick-ring:after{content:"";position:absolute;background:#e0edda12}.joystick-ring:before{top:50%;left:10px;right:10px;height:1px}.joystick-ring:after{left:50%;top:10px;bottom:10px;width:1px}.joystick-stick{width:49px;height:49px;position:absolute;top:30px;left:30px;border:1px solid #e7f6d673;border-radius:100%;background:linear-gradient(145deg,#d8e9ca8c,#b5d19433);box-shadow:0 5px 10px #09291b35;will-change:transform}.joystick-zone>span{color:#d7e8c36b;font-size:9px}.action-pad{position:absolute;right:max(27px,env(safe-area-inset-right));bottom:max(28px,env(safe-area-inset-bottom));display:flex;align-items:flex-end;gap:13px;pointer-events:auto}.action-button{width:96px;height:96px;background:#d4ef82f0;color:#244b31;border:3px solid #eaffb34d;border-radius:100%;font-size:19px;font-weight:750;box-shadow:0 5px 20px #092c2c38;touch-action:none;user-select:none;-webkit-user-select:none}.action-button span{display:block;font-size:8px;font-weight:500;margin-top:6px}.action-button:active,.action-button.pressed{transform:scale(.93);background:#e5ffb4}.action-button.secondary{width:68px;height:68px;background:#183a39cc;color:#d6e3c5;border:1px solid #dfedcd39;font-size:12px;margin-bottom:49px}.action-button.alternate{width:70px;height:70px;font-size:13px;background:#e5c395;color:#513d2a}.play-hint{position:absolute;bottom:27px;left:50%;transform:translateX(-50%);text-align:center;color:#a9bfa58a;font-size:9px;line-height:1.8;max-width:150px}.play-hint span{display:block}.control-player{color:#dbedc3!important;font-size:10px}.playing .playback-bar{display:none}.playing .camera-hint{display:none}.playing .orientation-hint{bottom:185px}.playing .toast{bottom:187px}.panel-backdrop{position:fixed;inset:0;background:#0c232c80;backdrop-filter:blur(3px);z-index:20}.focus-mode{overflow:hidden}.focus-mode .stage-panel{position:fixed;inset:0;z-index:15;height:100dvh;width:100vw}.focus-mode .stage-top{top:max(16px,env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right))}.focus-mode .score-strip{top:max(112px,calc(env(safe-area-inset-top) + 95px));left:max(20px,env(safe-area-inset-left))}.focus-mode .playback-bar{bottom:max(16px,env(safe-area-inset-bottom));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right))}.focus-mode .panel-toggle{display:grid}.focus-mode .side-panel{position:fixed;right:0;top:0;bottom:0;width:350px;max-width:90vw;z-index:21;transform:translateX(105%);transition:transform .25s}.focus-mode.panel-open .side-panel{transform:translateX(0)}.focus-mode .panel-title .icon-button{display:grid}.focus-mode .workspace{display:block;min-height:0;height:0}.focus-mode .site-header{visibility:hidden}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 390px}.tab-content{padding:30px}.stage-top{top:30px;left:34px;right:30px}.score-strip{left:34px;top:143px}}
@media(max-width:1050px){.site-header{height:68px;padding:0 20px}.workspace{height:calc(100dvh - 68px);grid-template-columns:minmax(0,1fr) 310px}.tab-content{padding:21px 19px}.panel-footer{padding:15px 19px}.header-note{font-size:10px}.stage-tools{gap:5px}.stage-top{left:18px;right:16px;top:19px}.stage-tools .icon-button{width:40px;min-width:40px;height:44px}.scene-info{max-width:55%}.scene-info h1{font-size:19px}.score-strip{left:18px;gap:20px}.playback-bar{left:17px;right:17px;gap:9px}.scene-meta{font-size:9px}.score-strip strong{font-size:20px}}
@media(max-width:760px){.site-header{padding:0 15px;height:68px;gap:10px}.brand strong{font-size:16px}.brand small{font-size:9px}.brand-mark{width:38px;height:38px;border-radius:12px}.header-note{display:none}.site-header .button{padding:0 12px;font-size:11px}.workspace{display:flex;flex-direction:column;height:auto;min-height:0}.stage-panel{width:100%;height:57dvh;min-height:360px;max-height:650px}.stage-top{top:15px;left:16px;right:12px;gap:8px}.scene-info{max-width:54%}.scene-info h1{font-size:16px;line-height:1.4;margin:8px 0 5px}.scene-meta{font-size:8px}.scene-info .eyebrow{font-size:8px;letter-spacing:0}.stage-tools{gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:145px}.stage-tools .icon-button{width:44px;min-width:44px;height:44px;border-radius:10px;font-size:21px}.stage-tools #zoom-in,.stage-tools #zoom-out{display:none}.panel-toggle{display:grid}.score-strip{top:114px;left:17px;gap:23px}.score-strip strong{font-size:19px}.score-strip span{font-size:8px}.customer-stat{display:none!important}.playback-bar{bottom:12px;left:12px;right:12px;padding:8px;gap:7px;border-radius:13px}.playback-bar .icon-button{width:42px;min-width:42px;height:44px}.timeline-label{font-size:8px}.timeline-label span:nth-child(2){font-size:8px}.speed-button{width:37px;font-size:11px}.camera-hint{display:none}.orientation-hint{display:block;font-size:9px;left:15px;bottom:92px}.side-panel{border:0;border-top:1px solid var(--line);min-height:500px}.panel-title{display:none}.tabs{position:sticky;top:0;background:var(--paper);z-index:5;padding:7px 16px 0}.tab{min-height:49px;font-size:13px}.tab-content{padding:26px 23px}.section-heading h2{font-size:23px}.section-heading p{font-size:12px}.field{font-size:11px}.field input,.field select{font-size:14px;min-height:49px}.button{min-height:49px}.mode-switch button{min-height:45px;font-size:12px}.tab-content .field-row{gap:14px}.panel-content{overflow:visible}.panel-footer{padding:21px 23px}.focus-mode .stage-panel{min-height:0;max-height:none}.focus-mode .side-panel{min-height:0}.focus-mode .panel-title{display:flex;padding:13px 18px 0}.focus-mode .tabs{position:static}.focus-mode .panel-content{overflow:auto}.focus-mode .stage-tools{max-width:none;flex-wrap:nowrap}.focus-mode .scene-info{max-width:48%}.focus-mode .score-strip{top:106px}.focus-mode .stage-top{left:max(15px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top))}.focus-mode .playback-bar{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right))}.panel-open .side-panel{position:fixed;top:0;bottom:0;right:0;max-width:92vw;width:350px;min-height:0;z-index:21;display:flex;transform:translateX(0)}.panel-open .panel-title{display:flex;padding:13px 18px 0}.panel-open .panel-title .icon-button{display:grid}.panel-open .panel-content{overflow:auto}.panel-open .tabs{position:static}.panel-open .panel-footer{padding:17px 18px}.panel-open .side-panel .section-heading h2{font-size:20px}.joystick-zone{left:7px;width:128px}.action-pad{right:17px;gap:9px}.action-button{width:84px;height:84px;font-size:17px}.action-button.secondary{width:59px;height:59px;margin-bottom:45px}.play-hint{display:none}.playing .score-strip{top:110px}}

@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Keep the live business figures legible against pale floors and moving scenery. */
.score-strip{padding:11px 15px;background:#123730dc;border:1px solid #e4f0d51c;border-radius:12px;backdrop-filter:blur(12px)}
@media(orientation:landscape) and (max-height:600px){.score-strip{gap:19px;padding:10px 13px}.score-strip span{font-size:9px}.score-strip strong{font-size:20px}}

/* Native near/facing cursor and real processing, anchored in the 3D world. */
.station-progress{width:56px;height:11px;padding:3px;border:1px solid #e1efd432;background:#153a31f0}
.station-progress i{height:3px}.station-progress.selected{width:78px;height:13px;padding:3px;border-color:#d4ef82a6}.station-progress.selected i{height:5px}
.progress-value{display:none;position:absolute;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);white-space:nowrap;border-radius:5px;padding:3px 6px;background:#163a30ed;color:#e6f5cb;font-size:10px;line-height:1.3}.station-progress.selected .progress-value{display:block}

.quality-summary{padding:13px 12px;background:#f4efe1;border:1px solid #e5dcc4;border-radius:10px;margin-bottom:21px}.quality-summary strong{font-size:12px;font-weight:650;color:#8a6841}.quality-summary p{font-size:10px;line-height:1.8;margin:7px 0 0;color:#938469}.quality-summary p:empty{display:none}.quality-summary.passed{background:#ecf3de;border-color:#d2e0bc}.quality-summary.passed strong{color:#587b43}.quality-summary.passed p{color:#7a9066}

/* Read-only policy controls; full detail stays in the drawer, away from the kitchen. */
.direct-operations{margin:0 0 24px}.direct-operations h3{font-size:14px;margin:0 0 8px}.direct-operations>p{font-size:11px;line-height:1.8;color:#788973;margin:0 0 12px}
.operation-card{border:1px solid #dce4d1;border-radius:10px;padding:12px;margin-top:9px;background:#f6f8ee}.operation-heading{display:flex;justify-content:space-between;gap:10px;font-size:12px}.operation-heading>span{font-size:10px;color:#80916e}.operation-card dl{margin:8px 0 0;font-size:11px;line-height:1.7}.operation-card dl>div{display:flex;justify-content:space-between;gap:12px;margin-top:4px}.operation-card dt{color:#7c8e70;flex-shrink:0}.operation-card dd{text-align:right;margin:0}.operation-card dd small{display:block;color:#8b9981;font-variant-numeric:tabular-nums}
.direct-operation-hud{position:absolute;bottom:106px;right:20px;z-index:4;max-width:min(360px,calc(100% - 40px));padding:8px 11px;background:#133c35ed;color:#e7f2d9;border:1px solid #e1efd42a;border-radius:9px;font-size:11px;line-height:1.6;pointer-events:none}.playing .direct-operation-hud{display:none}
@media(orientation:landscape) and (max-height:600px){.direct-operation-hud{bottom:86px;max-width:300px;font-size:10px}}

.order-rule-note{padding:13px;margin-top:18px;border:1px solid #dce4d1;border-radius:10px;background:#f4f7e9}.order-rule-note strong{font-size:12px}.order-rule-note p{font-size:11px;line-height:1.8;color:#788973;margin:7px 0 0}

/* The fullscreen shell includes the kitchen, controls, drawer and backdrop. */
.fullscreen-shell{display:contents}
.orientation-hint{display:none!important}
.focus-mode .fullscreen-shell{display:block;position:fixed;inset:0;z-index:30;overflow:hidden;background:#142f30}
.focus-mode .workspace{position:absolute;top:0;left:0;display:block;min-height:0;width:var(--display-width);height:var(--display-height);overflow:hidden;transform-origin:0 0;--display-safe-top:env(safe-area-inset-top);--display-safe-right:env(safe-area-inset-right);--display-safe-bottom:env(safe-area-inset-bottom);--display-safe-left:env(safe-area-inset-left)}
.focus-mode.landscape-rotated .workspace{transform:translateX(var(--viewport-width)) rotate(90deg);--display-safe-top:env(safe-area-inset-right);--display-safe-right:env(safe-area-inset-bottom);--display-safe-bottom:env(safe-area-inset-left);--display-safe-left:env(safe-area-inset-top)}
.focus-mode .workspace .stage-panel{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none}
.focus-mode .workspace .side-panel{position:absolute;top:0;right:0;bottom:0;width:350px;max-width:88%;min-height:0;z-index:21;transform:translateX(105%);border-top:0;padding-top:var(--display-safe-top);padding-right:var(--display-safe-right);padding-bottom:var(--display-safe-bottom);transition:transform .25s}
.focus-mode.panel-open .workspace .side-panel{transform:translateX(0)}
.focus-mode .workspace .panel-backdrop{position:absolute;inset:0;z-index:20}
.focus-mode .workspace .panel-title{display:flex;padding:12px 18px 0}
.focus-mode .workspace .panel-title .icon-button{display:grid}
.focus-mode .workspace .tabs{position:static;padding-top:5px}
.focus-mode .workspace .panel-content{overflow:auto;overscroll-behavior:contain}
.focus-mode .workspace .panel-footer{padding:13px 18px}
.focus-mode .workspace .panel-toggle{display:grid}
.focus-mode .workspace .stage-top{top:max(12px,var(--display-safe-top));left:max(20px,var(--display-safe-left));right:max(15px,var(--display-safe-right))}
.focus-mode .workspace .stage-tools{max-width:none;flex-wrap:nowrap;gap:7px}
.focus-mode .workspace .stage-tools .icon-button{width:44px;min-width:44px;height:44px}
.focus-mode .workspace .stage-tools #zoom-in,.focus-mode .workspace .stage-tools #zoom-out{display:grid}
.focus-mode .workspace .playback-bar{bottom:max(13px,var(--display-safe-bottom));left:max(20px,var(--display-safe-left));right:max(20px,var(--display-safe-right))}
.focus-mode .workspace .score-strip{left:max(20px,var(--display-safe-left))}
.focus-mode .workspace .joystick-zone{left:max(22px,var(--display-safe-left));bottom:max(12px,var(--display-safe-bottom))}
.focus-mode .workspace .action-pad{right:max(26px,var(--display-safe-right));bottom:max(24px,var(--display-safe-bottom))}
.focus-mode.landscape-compact .workspace .scene-info{max-width:48%}
.focus-mode.landscape-compact .workspace .scene-info h1{font-size:17px;margin:7px 0 4px}
.focus-mode.landscape-compact .workspace .scene-info .eyebrow{font-size:8px}
.focus-mode.landscape-compact .workspace .scene-meta{font-size:9px}
.focus-mode.landscape-compact .workspace .score-strip{top:100px;gap:19px;padding:10px 13px}
.focus-mode.landscape-compact .workspace .score-strip span{font-size:9px}
.focus-mode.landscape-compact .workspace .score-strip strong{font-size:20px}
.focus-mode.landscape-compact .workspace .customer-stat{display:flex!important}
.focus-mode.landscape-compact .workspace .tab-content{padding:20px}
.focus-mode.landscape-compact .workspace .section-heading h2{font-size:20px}
.focus-mode.landscape-compact .workspace .section-heading p{font-size:11px;margin-bottom:18px}
.focus-mode.landscape-compact .workspace .camera-hint{display:block;bottom:99px;left:max(20px,var(--display-safe-left));font-size:9px}
.focus-mode.landscape-compact .workspace .playback-bar{padding:8px 12px;gap:12px}
.focus-mode.landscape-compact .workspace .joystick-zone{width:143px;height:141px}
.focus-mode.landscape-compact .workspace .joystick-ring{width:104px;height:104px}
.focus-mode.landscape-compact .workspace .joystick-stick{top:27px;left:27px}
.focus-mode.landscape-compact .workspace .joystick-zone>span{display:none}
.focus-mode.landscape-compact .workspace .action-pad{gap:17px}
.focus-mode.landscape-compact .workspace .action-button{width:88px;height:88px;font-size:18px}
.focus-mode.landscape-compact .workspace .action-button.secondary{width:62px;height:62px;margin-bottom:46px}
.focus-mode.landscape-compact .workspace .action-button.alternate{width:70px;height:70px;font-size:13px}
.focus-mode.landscape-compact .workspace .play-hint{display:block;bottom:max(20px,var(--display-safe-bottom))}
.focus-mode.landscape-compact.playing .workspace .stage-top .scene-info h1{font-size:15px}
.focus-mode.landscape-compact.playing .workspace .score-strip{top:94px}
.focus-mode.landscape-compact .workspace .toast{bottom:98px}
.focus-mode.landscape-compact.playing .workspace .toast{bottom:155px}
.focus-mode.landscape-compact .workspace .direct-operation-hud{bottom:86px;max-width:300px;font-size:10px}

/* Graphics preferences use the same drawer and touch-sized fields. */
.graphics-runtime{padding:11px 12px;border-radius:8px;background:#edf3e2;font-size:11px;line-height:1.8;margin:0 0 20px;color:#657c56;font-variant-numeric:tabular-nums}.graphics-range{position:relative}.graphics-range output{position:absolute;right:0;top:0;font-size:11px;font-variant-numeric:tabular-nums}.field.graphics-range input[type=range]{appearance:auto;padding:0;border:0;background:none;min-height:44px;accent-color:#779e4f;cursor:pointer}.graphics-switch{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:49px;margin:0 0 16px;border-bottom:1px solid #e6ebdd;font-size:12px}.graphics-switch input{width:22px;height:22px;accent-color:#779e4f;flex-shrink:0}.graphics-switch small{display:block;line-height:1.8;color:#8a997e;font-size:10px;margin:3px 0 8px}.graphics-note{font-size:11px;line-height:1.9;color:#89977c;margin:16px 0 0}

/* Selected replay, portable data and video export stay together in the replay drawer. */
.replay-export{margin:0 0 27px;padding:16px 14px;border:1px solid #dce4d1;border-radius:12px;background:#f4f7ec;min-width:0}
.replay-export .eyebrow{color:#83956d;font-size:8px;letter-spacing:1.6px}.replay-export h3{margin:9px 0 7px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.replay-export-meta{margin:0 0 12px;font-size:10px;line-height:1.8;color:#7c8d70;overflow-wrap:anywhere}
.replay-save-actions,.video-export-actions{display:flex;flex-wrap:wrap;gap:8px}.replay-save-actions{margin-bottom:8px}.replay-save-actions .button,.video-export-actions .button{flex:1;min-width:0;min-height:44px;padding:0 10px;font-size:11px;white-space:nowrap}.replay-export>.button{min-height:44px;font-size:11px;margin-bottom:12px}
.replay-export fieldset{padding:0;margin:0;border:0;min-width:0}.replay-export legend{padding:0;margin-bottom:13px;font-size:12px;font-weight:650}.replay-export .field-row{gap:9px}.replay-export .field{margin-bottom:12px;font-size:10px;gap:7px}.replay-export .field input,.replay-export .field select{min-height:44px;font-size:11px;padding-left:9px;background:#fffef8}.replay-export fieldset:disabled{opacity:.6}.replay-export button:disabled{cursor:not-allowed}
.video-estimate{font-size:10px;font-variant-numeric:tabular-nums;line-height:1.7;color:#657f56;margin:0 0 9px}.replay-export-note{font-size:10px;line-height:1.9;color:#8a967f;margin:0 0 13px}.video-export-source{font-size:10px;line-height:1.8;color:#657f56;margin:12px 0 7px;overflow-wrap:anywhere}.video-export-status{font-size:10px;line-height:1.8;color:#7b8c70;margin:10px 0 0;overflow-wrap:anywhere}.video-export-status:empty{display:none}
.replay-export progress{display:block;appearance:auto;accent-color:#779e4f;width:100%;height:8px;margin:12px 0 0;border:0;border-radius:8px}.replay-export #videoResult{margin:12px 0 0}.replay-export [hidden]{display:none!important}.replay-export a[aria-disabled=true]{pointer-events:none;opacity:.5}#exportReplayShortcut{width:44px;min-width:44px;height:44px}
@media(max-width:760px){.replay-export{padding:16px}.replay-export .field input,.replay-export .field select{font-size:12px}.replay-export .field-row{gap:10px}.replay-export-note,.video-export-status{font-size:11px}.replay-save-actions .button,.video-export-actions .button{font-size:12px}}

.replay-export details{border-top:1px solid #dce4d1;padding-top:2px}.replay-export summary{min-height:44px;line-height:44px;font-size:12px;font-weight:650;cursor:pointer;touch-action:manipulation}.replay-export summary:focus-visible{outline:3px solid #a5c84d;outline-offset:3px;border-radius:5px}.replay-export details[open]>summary{margin-bottom:10px}.replay-export #cancelVideo{margin-top:10px}

.replay-saved{display:inline-block;margin-left:6px;padding:1px 5px;border:1px solid #bdd49e;border-radius:5px;background:#e5efcf;color:#56723d;font-size:9px;font-weight:650;line-height:1.5;white-space:nowrap}

.video-native-settings{font-size:10px;line-height:1.8;color:#657f56;margin:0 0 13px}

.replay-condition{color:#687e57!important;font-size:10px!important}.detail-row>span:last-child{overflow-wrap:anywhere}#training-experiment{font-size:12px;line-height:1.8}#substage-field[hidden]{display:none}

/* The view selector stays in the existing scene toolbar; themes live in settings. */
@font-face{font-family:'Hurry Sans';src:url('/hurry/art-2d/noto-sc.woff2') format('woff2');font-weight:100 900;font-display:swap}
.view-switch{display:flex;padding:3px;border:1px solid rgba(232,237,213,.28);border-radius:12px;background:rgba(25,47,42,.8);gap:2px;flex-shrink:0}.view-switch button{min-width:44px;min-height:44px;border:0;border-radius:8px;background:transparent;color:#eff0d8;font:600 13px inherit;cursor:pointer}.view-switch button[aria-pressed=true]{background:#e9e5cd;color:#233e36}.view-switch button:disabled{opacity:.5}.view-switch button:focus-visible,.theme-card:focus-visible{outline:3px solid #c6ac66;outline-offset:2px}
.theme-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.theme-card{display:flex;min-height:132px;flex-direction:column;text-align:left;gap:5px;padding:7px;border-radius:12px;border:1px solid #d4d6c2;background:#f8f5e9;color:#29453b;cursor:pointer;overflow:hidden}.theme-card[aria-pressed=true]{border-color:#708d62;box-shadow:0 0 0 2px #8fa76c44}.theme-card img{width:100%;height:72px;object-fit:cover;border-radius:7px;background:#c5cbb0}.theme-card strong{font-size:13px;padding:0 3px}.theme-card small{font-size:10px;line-height:1.5;padding:0 3px;color:#71816b}#graphics-2d .field{margin-top:12px}
@media(max-width:600px){.stage-tools{flex-wrap:wrap;max-width:100%;justify-content:flex-end}.view-switch{padding:1px}.view-switch button{min-width:44px;min-height:44px}.stage-top{gap:8px}.stage-top .scene-info h1{font-size:clamp(16px,3.5vw,23px)}}

body[data-kitchen-view="2d"] .scene-info{padding:8px 12px;background:#fbf5e7ed;border:1px solid #acb49b88;border-radius:12px;color:#29453b;text-shadow:none;width:fit-content}body[data-kitchen-view="2d"] .scene-info .eyebrow{color:#637e43}body[data-kitchen-view="2d"] .scene-meta{color:#586f60}body[data-kitchen-view="2d"] .camera-hint{color:#3a5c47b3}
body[data-kitchen-view="2d"].landscape-compact .scene-info{padding:6px 9px}body[data-kitchen-view="2d"].landscape-compact .scene-info h1{margin:4px 0;font-size:15px}
