/* 三段式值班界面：小顶栏、大操作区、小底栏。 */
#app.game-mode{height:100dvh;overflow:hidden}.game-shell{height:100dvh;max-width:920px;margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:10px 12px;gap:10px}.game-top{background:var(--theme-bar);border:1px solid var(--theme-line);border-radius:20px;padding:10px 15px;backdrop-filter:blur(18px)}.top-status{display:flex;align-items:center;justify-content:space-between;gap:10px}.game-top .weather-bar{position:static;display:flex;align-items:center;width:auto;max-width:none;margin:0;padding:0;background:transparent!important;border:0;box-shadow:none;font-size:20px;gap:6px;backdrop-filter:none}.game-top .weather-bar select{font-size:11px;padding:5px 8px;max-width:140px;border-radius:12px}.game-top .clock{display:flex;align-items:baseline;gap:8px;max-width:none;background:transparent!important;border:0;border-radius:0;padding:0;margin:0;backdrop-filter:none}.game-top .clock strong{font:700 21px Consolas,monospace;letter-spacing:0;width:auto;white-space:nowrap;color:var(--theme-ink)}.game-top .clock span{font-size:9px;color:var(--theme-muted)}.top-controls{display:flex;justify-content:flex-end;gap:6px;margin-top:6px}.top-controls button{font-size:10px;padding:5px 10px;border-radius:12px;min-height:28px}.game-top .shift-strip{width:100%;max-width:none;background:transparent!important;padding:0;margin:7px 0 0;border:0;display:flex;justify-content:space-between;gap:9px;backdrop-filter:none;border-radius:0;font-size:9px;color:var(--theme-muted)}
.game-main.dashboard{display:block;width:100%;max-width:none;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 5px 12px}.game-main .case-panel{display:none;overflow:visible;background:none!important;border:0!important;border-radius:0;box-shadow:none;backdrop-filter:none}.game-main .case-panel.mobile-active{display:block}.case-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 3px 8px}.case-title h2{font-size:17px;line-height:1.6;color:var(--theme-ink)}.game-main .facts-block{max-width:none;margin:0 0 12px;padding:16px 18px;background:var(--theme-inner);color:var(--theme-ink);border:1px solid var(--theme-line);border-radius:22px 22px 22px 7px;backdrop-filter:blur(15px);box-shadow:0 5px 18px #0000000b}.game-main .facts-block h3,.game-main .dialogue h3,.action-options h3{font-size:11px;letter-spacing:.5px;color:var(--theme-muted);margin-bottom:8px}.game-main .facts-block p{font-size:14px;line-height:1.85}.game-main .facts-block .context-line{font-size:11px;line-height:1.65;margin-top:8px}
.game-main .conversation-bubble{display:block;max-width:none;margin:0 0 13px 18px;padding:16px 18px;background:var(--theme-inner);color:var(--theme-ink);border:1px solid var(--theme-line);border-radius:22px 7px 22px 22px;backdrop-filter:blur(15px);box-shadow:0 5px 18px #0000000b}.game-main .dialogue p{font-size:14px;line-height:1.85;margin-top:5px;color:var(--theme-ink)}.game-main .dialogue .speaker{font-size:10px;color:var(--theme-muted)}.game-main .speech-turn{margin-top:10px;padding-top:8px}.game-main .speech-turn:first-child{border:0;padding-top:0}.party-response{margin-top:7px}.emotion-tag{display:inline-block;background:var(--theme-soft);padding:3px 8px;border-radius:10px;color:var(--theme-ink);font-size:10px}.next-exchange{border-top:1px dashed var(--theme-line);margin-top:11px;padding-top:10px}.next-exchange p{font-size:13px!important}.game-main .action-options{padding:13px 14px 5px;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:20px;backdrop-filter:blur(18px)}.game-main .choices{display:grid;grid-template-columns:1fr;max-width:none;margin:0;padding:0;gap:0}.game-main .choices>.choice{grid-column:auto;display:flex;align-items:center;flex-wrap:nowrap;gap:10px;padding:13px 3px;background:transparent!important;box-shadow:none;border:0;border-top:1px solid var(--theme-line);border-radius:0;min-height:48px;text-align:left}.game-main .choices>.choice:first-child{border-top:0}.game-main .choices>.choice>span:nth-child(2){flex:1;flex-basis:auto;font-size:13px;line-height:1.65}.game-main .choice-number{background:var(--theme-soft);border:0;flex-shrink:0;width:23px;height:23px;font-size:10px}.game-main .choice-time{font-size:10px;white-space:nowrap;margin-left:auto}.game-main .choice.primary{background:var(--theme-button)!important;color:var(--theme-button-ink);border-radius:14px;padding:12px;margin:6px 0 8px;justify-content:space-between}.game-main .choice.primary span{font-size:10px;flex:0!important;white-space:nowrap}.game-main .buddy-label{display:flex;align-items:center;gap:9px;padding:0 0 8px;margin:0;max-width:none;background:none;border:0;border-radius:0;backdrop-filter:none;font-size:10px}.game-main .buddy-label select{width:auto;font-size:10px;padding:5px 9px}.game-main .interrupt{margin:0 0 11px;padding:12px 15px;border-radius:17px}.game-main .interrupt p{margin:4px 0 8px}.game-main .interrupt button{font-size:11px;margin-right:7px}.game-main .resume-note{font-size:12px;margin-bottom:8px}.return-task{margin:0 0 10px;font-size:11px;padding:8px 12px;border-radius:15px}.game-main .right-column.mobile-active{display:grid;grid-template-columns:1fr;gap:12px}
.game-bottom.bottom-bar{position:static;width:100%;max-width:none;transform:none;left:auto;bottom:auto;padding:10px 14px;display:block;border-radius:19px;background:var(--theme-bar);box-shadow:none;backdrop-filter:blur(18px)}.game-bottom>span{display:block;font-size:10px;text-align:center;margin-bottom:7px;color:var(--theme-muted)}.game-bottom>div{display:flex;gap:7px;flex-wrap:nowrap}.game-bottom button{flex:1;font-size:10px;padding:8px 7px;min-height:33px;border-radius:13px;white-space:nowrap}.tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.tools-grid button{font-size:12px;padding:12px}.tools-volume{display:flex;align-items:center;gap:12px;margin-top:19px;font-size:12px}.tools-volume input{flex:1;accent-color:var(--theme-accent)}.game-mode .toast{bottom:105px}.game-mode .quiet{padding:50px 20px}.game-mode .modal-backdrop{backdrop-filter:blur(3px)}
@media(max-width:760px){.game-shell{padding:7px 8px;gap:8px;max-width:none}.game-top{padding:9px 12px;border-radius:18px}.game-top .clock strong{font-size:20px}.game-top .clock span{font-size:8px}.game-top .weather-bar select{font-size:10px;max-width:118px;padding:4px 7px}.top-controls{margin-top:5px;gap:5px}.top-controls button{font-size:9px;padding:4px 9px;min-height:25px}.game-top .shift-strip{font-size:8px;margin-top:6px}.game-main.dashboard{padding:0 2px 9px}.case-title{padding:2px 3px 7px;gap:8px}.case-title h2{font-size:15px}.case-title .tag{font-size:9px}.game-main .facts-block{padding:13px 14px;margin-bottom:10px;border-radius:20px 20px 20px 6px}.game-main .facts-block p{font-size:13px;line-height:1.85}.game-main .facts-block .context-line{font-size:10px}.game-main .conversation-bubble{margin:0 0 11px 10px;padding:13px 14px;border-radius:20px 6px 20px 20px}.game-main .dialogue p{font-size:13px;line-height:1.85}.game-main .action-options{padding:11px 12px 4px;border-radius:18px}.game-main .choices>.choice{padding:11px 2px;gap:8px;min-height:48px}.game-main .choices>.choice>span:nth-child(2){font-size:12px}.game-main .choice-time{font-size:9px}.game-bottom.bottom-bar{padding:8px 10px;border-radius:17px}.game-bottom>span{font-size:9px;margin-bottom:6px}.game-bottom button{font-size:9px;padding:7px 5px;min-height:32px}.game-main .buddy-label{flex-wrap:nowrap}.game-main .buddy-label select{width:auto}.game-mode .toast{bottom:97px}}
.game-main.dashboard{margin:0;align-self:stretch}
.career-badges{display:flex;gap:7px}.top-career{justify-content:flex-end;margin-top:5px}.career-badges button{font-size:9px;padding:3px 9px;border-radius:10px;min-height:22px}.career-badges b{margin-left:4px}.sidebar-career{grid-column:1 / -1;justify-content:space-between}.sidebar-career button{flex:1;padding:8px;font-size:11px}.forced-active :is(.game-shell,.welcome,.summary-page){filter:blur(7px);pointer-events:none;user-select:none}.forced-backdrop{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:18px;background:#29455466;backdrop-filter:blur(5px)}.forced-card{max-width:490px;width:100%;max-height:90dvh;overflow-y:auto;padding:30px;border:1px solid #ffffffbe;border-radius:26px;background:var(--theme-inner);color:var(--theme-ink);box-shadow:0 25px 90px #203b5655}.forced-kicker{font-size:10px;letter-spacing:1px;color:var(--theme-muted)}.forced-card h2{font-size:23px;margin:13px 0 17px;line-height:1.5}.forced-card p{font-size:14px;line-height:1.9}.forced-card blockquote{margin:18px 0;padding:12px 16px;background:var(--theme-soft);border-radius:14px;font-size:14px;line-height:1.9}.forced-card .small{font-size:11px;margin-top:14px}.forced-card button{width:100%;padding:13px;margin-top:20px;border-radius:15px;font-size:13px}
@media(max-width:760px){.top-career{margin-top:4px;gap:5px}.career-badges button{min-height:20px;font-size:8px;padding:2px 8px}.forced-card{padding:23px}.forced-card h2{font-size:20px}.forced-card p,.forced-card blockquote{font-size:13px}}
.reputation-button{white-space:nowrap;color:var(--theme-ink)}.reputation-button small{font-size:8px;font-weight:400}.reputation-button.distrust{box-shadow:inset 0 0 0 1px #ca805c}.reputation-button.trusted{box-shadow:inset 0 0 0 1px #74a980}.community-context{font-size:11px!important;color:var(--theme-muted);border-top:1px dashed var(--theme-line);padding-top:8px;margin-top:8px}.injury-status{font-size:11px;color:var(--theme-muted)}.injury-status button{font-size:10px;margin-left:6px;padding:5px 8px}.care-button{margin-top:12px;font-size:12px}.top-controls .top-fatigue{margin-right:0}.top-controls{display:grid;grid-template-columns:1.5fr 1.3fr 1.25fr 1fr 1fr 1fr;gap:4px}.top-controls button{min-width:0;padding:5px 4px;font-size:10px;justify-content:center}.top-controls .fatigue-button i{display:none}.top-controls .fatigue-button small,.top-reputation small{display:none}.sidebar-reputation{font-size:14px;padding:12px 8px;border-radius:15px}.sidebar-reputation small{font-size:10px}.injury-dot{font-size:8px;color:#c57859}.encounter-choice{border-left-color:#bf8666!important}
@media(max-width:760px){.top-controls button,.top-controls .top-fatigue{font-size:9px;padding:4px 3px;gap:3px!important}.game-top .shift-strip>span:first-child{min-width:0}.reputation-button b{font-size:10px}}
@media(min-width:1000px){.top-controls{display:flex}.top-controls .top-reputation{display:none}.top-controls button{padding:5px 10px}.sidebar-status .injury-status{grid-column:2;font-size:10px}.sidebar-status .sidebar-reputation{grid-column:1}.game-main .community-context{font-size:12px!important}}
@media(min-width:1000px){.game-main.staff-tab .case-panel{display:block}}
.fatigue-button{display:flex;align-items:center;gap:6px!important;color:var(--theme-ink);white-space:nowrap}.top-controls .top-fatigue{margin-right:auto;font-size:10px;padding:4px 8px}.fatigue-button small{font-size:8px;font-weight:400}.fatigue-button i{display:block;width:27px;height:4px;background:var(--theme-line);border-radius:5px;overflow:hidden}.fatigue-button em{display:block;height:100%;background:var(--theme-accent)}.fatigue-button.tired em{background:#c5794a}.support-sidebar{display:none;min-height:0;overflow:auto;scrollbar-width:thin}.support-sidebar.mobile-active{display:flex;flex-direction:column;gap:12px}.game-main.staff-tab{display:none}.support-sidebar{grid-row:2}.sidebar-status{display:none}.support-sidebar .panel{margin:0}.repair-choice .choice-time{color:var(--theme-accent);font-weight:bold}
@media(min-width:1000px){.game-shell{max-width:1500px;grid-template-columns:minmax(0,7fr) minmax(285px,3fr);grid-template-rows:auto minmax(0,1fr) auto;padding:18px 22px;gap:16px 22px}.game-top{grid-column:1;grid-row:1}.game-main.dashboard,.game-main.staff-tab{display:block;grid-column:1;grid-row:2;padding:0 5px 12px}.game-bottom{grid-column:1;grid-row:3}.support-sidebar,.support-sidebar.mobile-active{display:flex;flex-direction:column;gap:16px;grid-column:2;grid-row:1 / 4;padding:0 4px 12px}.sidebar-status{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;background:var(--theme-bar);border:1px solid var(--theme-line);padding:18px;border-radius:20px;backdrop-filter:blur(18px)}.sidebar-clock{font:700 23px Consolas,monospace;color:var(--theme-ink)}.sidebar-clock span{display:block;font:11px sans-serif;color:var(--theme-muted);margin-top:7px}.sidebar-fatigue{display:flex;flex-direction:column;gap:8px!important;font-size:14px;padding:10px;border-radius:15px}.sidebar-fatigue i{width:75px;height:5px}.game-top .top-fatigue{display:none}.top-controls{justify-content:flex-end}.support-sidebar .staff-panel,.support-sidebar .map-panel{display:block!important;width:100%}.support-sidebar .staff-panel{padding:18px}.support-sidebar .map-panel{padding:16px}.support-sidebar .map{height:230px}.support-sidebar .panel-title{gap:8px}.support-sidebar .panel-title h2{font-size:15px}.support-sidebar .panel-title>span{font-size:9px}.support-sidebar .staff{flex-wrap:wrap;gap:8px}.support-sidebar .staff small{font-size:10px}.support-sidebar .staff button{font-size:10px;padding:7px 9px}.support-sidebar .rest-controls{gap:8px}.support-sidebar .rest-controls button{font-size:11px;padding:9px}.support-sidebar .return-task{display:none}.case-title h2{font-size:20px}.game-main .facts-block p,.game-main .dialogue p{font-size:15px}.game-main .choices>.choice>span:nth-child(2){font-size:14px}}
.community-context{margin-top:.7rem;padding:.55rem .75rem;border-left:3px solid #c58a43;background:rgba(197,138,67,.1);color:#795727;font-size:.9rem}
