/* v105: a festival control room. Gameplay and save data are unchanged. */
:root{--ink:#172a43;--ink2:#41546c;--paper:#fff;--accent:#137f73;--yellow:#ffc66b;--line:#dce3ed;--green:#137f73;--muted:#65768b}
body{background:#eaf0f6;color:var(--ink);font-size:16px;line-height:1.5}
[hidden]{display:none!important}
.topbar{height:66px;border:0;background:#14253b;padding-inline:max(20px,calc((100vw - 1490px)/2))}.brand h1{font-size:21px;letter-spacing:.04em}.brand-en{font-size:12px;letter-spacing:.09em}.logo{font-size:30px;text-shadow:none}.icon-btn{border-radius:9px;min-height:44px;font-size:14px}
main{padding-top:16px}.workspace{gap:16px;grid-template-columns:minmax(0,1fr) 360px}.venue{border:1px solid #cad7e3;border-radius:18px;box-shadow:none}.venue-top{background:#fff;border-bottom:1px solid var(--line);padding:12px 16px}.control-panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 30px #172a4309}.tabs{background:#172a43;border:0;padding:6px;gap:3px}.tab{display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:10px;color:#c4d2e3;min-height:50px;font-size:14px;padding:10px 5px}.tab.active{color:#14253b;background:#fff;border:0}.tab:hover:not(:disabled){background:#2c435e;color:#fff}.tab.active:hover{background:#fff;color:#14253b}.ui-icon{width:20px;height:20px;flex:none;vertical-align:middle}.panel-content{padding:16px;min-height:360px;max-height:calc(100dvh - 250px);scrollbar-color:#b7c9d9 transparent}.panel-heading{margin-bottom:14px}.panel-heading h2{font-size:18px}.panel-heading .mini-label{display:none}.sheet-close{min-height:44px}.launch-panel{background:#f3f7fb;border-top:1px solid var(--line);padding:12px 16px}.budget-line{font-size:14px;color:#52657a}.budget-line strong{color:var(--ink)}.launch-btn{border:0;border-radius:12px;background:#172a43;min-height:50px;box-shadow:none}.launch-btn:hover:not(:disabled){background:#26425c}.launch-panel p{font-size:12px;line-height:1.5}.start-symbol{color:#ffc66b}
.stat{border:1px solid var(--line);border-radius:12px;background:#ffffffed;padding:10px 13px;min-height:74px;box-shadow:none}.stat>span{font-size:14px;color:#56687e}.stat strong{font-variant-numeric:tabular-nums;font-size:25px;letter-spacing:0}.stat small{font-size:14px}.statbar{bottom:12px;height:4px}.stat .goal-stat{font-size:14px}.stats{gap:8px}.festival-rank{border-radius:10px}.phase strong{font-size:16px}.phase #timeText{font-size:14px}.small-btn{border-radius:8px;border:1px solid var(--line);background:#f0f5fa;color:var(--ink);min-height:38px;height:auto}.edition{background:#172a43;border-radius:7px}.season-line strong{font-size:16px}.map-tag{display:none}.save-note{font-size:12px}
.report-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:4px;background:#ecf1f7;border-radius:10px;position:sticky;top:-16px;z-index:4;margin-bottom:14px}.report-navigation button{font:inherit;font-size:14px;min-height:44px;border:0;border-radius:8px;background:transparent;color:#53677f;font-weight:700}.report-navigation button[aria-selected=true]{background:#fff;color:#172a43;box-shadow:0 2px 5px #172a4310}.report-page{display:grid;gap:12px}.report-page>div,.report-page>section{min-width:0}.report-page .report-dashboard{margin:0;gap:12px}.mode-status{font-size:14px;margin:0 0 12px;color:#65768b}.report-page .report-controls{gap:10px}.report-page .price-impact{padding:0}.report-page .audience-section{margin:0}.report-page h3{font-size:16px}
.chart-card{border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink)}.chart-card>summary{padding:16px}.chart-heading{font-size:16px;margin-bottom:12px}.chart-more{font-size:14px;background:#f2f7fa;color:#31536c;border:0;padding:5px 10px;border-radius:8px}.chart-headline{font-size:25px}.chart-bar-track{height:8px;background:#edf2f7}.chart-legend{min-width:0}.chart-composition{gap:12px}.chart-services{gap:6px}.chart-services small{font-size:12px}.chart-services>span{font-size:14px;border-radius:9px}.service-ready{background:#ecf7f4;color:#246457}.service-missing{background:#fceee9;color:#a03e31}.positive{color:#147b68}.negative{color:#ad4339}.chart-bar-row{font-size:14px}.report-detail{background:#fff;border:0;padding:12px 0;font-size:16px}.report-detail p{font-size:16px}.report-fold{border:1px solid var(--line);border-radius:10px}.report-fold>summary{min-height:44px;font-size:14px}.ui-detail-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f7fafc;color:#31536c;font-size:14px;text-align:left;font-weight:700}.ui-detail-button>span{font-size:18px;font-weight:400}.ui-detail-button:hover{background:#edf5f8}.report-controls label,.production-panel label{font-size:16px}.report-controls .ticket-control,.report-controls .production-panel{border-color:var(--line);border-radius:12px;background:#fff}.report-controls .weather-forecast{background:#f5f8fc;border:1px solid var(--line);border-radius:12px;padding:12px}.report-controls .weather-forecast h3{margin:0 0 8px}.price-impact .plan-grid{margin:0}.price-impact .plan-grid>article{background:#f2f7fa;color:#172a43}.price-impact .plan-grid small{color:#52667d}.audience-focus{gap:6px}.audience-focus button{min-height:44px;font-size:14px}.report-page label{font-size:16px}.report-page select{min-height:44px;width:100%;font-size:16px}
.build-card{background:#fff;border:1px solid var(--line);border-radius:12px;min-height:76px;padding:10px;gap:12px}.build-card.selected{background:#eef8f5;border-color:#137f73;box-shadow:inset 3px 0 #137f73}.build-card .desc{font-size:14px;color:#5b6c80;line-height:1.45}.build-card strong{font-size:16px}.build-price{font-size:16px}.build-price small,.facility-tags{font-size:12px!important}.build-filters{gap:6px}.filter-btn{min-height:40px;font-size:14px;border-radius:9px}.filter-btn.active{background:#172a43;color:#fff;border-color:#172a43}.workshop-nav{gap:5px}.workshop-nav button{display:flex;align-items:center;justify-content:center;gap:5px;border-radius:9px;min-height:44px;font-size:14px}.workshop-nav .ui-icon{width:18px;height:18px}.workshop-nav button[aria-pressed=true]{background:#172a43;color:#fff}.workshop-budget{font-size:14px}.beginner-guide{border-radius:12px;background:#eff7ff;border-color:#c8dced;font-size:14px}.beginner-guide p{font-size:14px}.journey-prep{background:#f3f8fa;border-color:#d4e2e9;border-radius:12px}.journey-prep strong{font-size:16px}.journey-prep p,.journey-prep small{font-size:14px;line-height:1.5}.journey-prep-actions button{min-height:44px;font-size:14px}.workshop-instruction{font-size:14px}.secondary-btn,.upgrade-btn,.primary-btn,.text-btn{min-height:44px;border-radius:9px;font-size:14px}.text-btn{padding:10px 0}.upgrade-btn{background:#ecf7f3;border-color:#b6d7ca;color:#245e50}
.artist-card{border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff}.artist-card.booked{border-color:#137f73;background:#f0f9f6}.artist-top strong{font-size:16px}.artist-top small{font-size:14px;line-height:1.5}.artist-summary{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:14px}.artist-summary>span{margin-left:auto}.ui-affinity{height:6px;width:100%;border-radius:8px;background:#e8eff4;overflow:hidden;flex:none}.ui-affinity i{display:block;height:100%;background:#168576}.artist-buttons button{min-height:44px;font-size:14px;border-radius:9px}.slot{border:1px solid var(--line);border-radius:10px;background:#f7fafd;padding:12px}.slot.active{border-color:#137f73;background:#eef8f5}.slot-name strong{font-size:16px}.slot-time{font-size:14px}.lineup-quick button,.lineup-quick select{min-height:44px;font-size:14px}.artist-sort-label,.lineup-stage-label{font-size:14px}.artist-list{gap:10px;margin-top:12px}.performance-plan-summary button{border-radius:12px;border-color:var(--line);background:#f4f8fb}.performance-plan-summary strong{font-size:16px}.artist-commerce{background:#f4f8fc;border:1px solid var(--line);border-radius:14px;margin:12px 0;padding:14px}.artist-commerce h3{font-size:16px}.ui-commerce-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.ui-commerce-kpis>span{font-size:14px;color:#53677d}.ui-commerce-kpis b{display:block;font-size:22px;color:var(--ink)}.ui-commerce-kpis small{font-size:14px}.ui-chart-note{font-size:14px!important;color:#65768b;margin:8px 0!important}.ui-artist-overview{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.ui-artist-overview>span{padding:7px 10px;border-radius:9px;background:#edf6f3;font-size:14px}.artist-params{padding:16px;border-radius:12px;background:#f5f8fc}.artist-params span,.artist-params b{font-size:14px}.artist-dialog-context{font-size:14px}.artist-dialog-heading h2{font-size:20px}.artist-dialog-heading p{font-size:14px}.artist-advanced-controls{border-radius:12px;background:#f5f8fb}.artist-detail-dialog{border:1px solid var(--line);border-radius:18px}
dialog{border:1px solid #c9d6e2;border-radius:18px;background:#fff;color:#172a43;box-shadow:0 24px 90px #101d3b45}dialog::backdrop{background:#101e36a3;backdrop-filter:blur(4px)}.interface-dialog{width:min(680px,calc(100vw - 24px));max-width:680px;max-height:calc(100dvh - 32px);padding:0;overflow:auto;overscroll-behavior:contain}.interface-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;background:#fff;border-bottom:1px solid var(--line)}.interface-dialog-head h2{font-size:20px;line-height:1.4;overflow-wrap:anywhere}.interface-dialog-head .icon-btn{background:#edf3f8;color:#31516c;border-color:var(--line);flex:none}.interface-dialog-body{padding:18px 20px 24px;font-size:16px;line-height:1.8;overflow-wrap:anywhere}.interface-dialog-body p{font-size:16px;line-height:1.8}.interface-dialog-body small{font-size:14px;line-height:1.7}.interface-dialog-body label{display:block;font-size:16px;margin-top:14px}.interface-dialog-body select{width:100%;min-height:44px;font-size:16px}.interface-dialog-body .run-details{display:block!important;position:static!important;background:#fff!important;color:#172a43!important;border:0!important;box-shadow:none!important;max-height:none!important;padding:0!important;width:auto!important}.interface-dialog-body .live-detail-meta,.interface-dialog-body .journey-live{font-size:16px;color:#41546c}.interface-dialog-body .chart-card{margin:12px 0}.interface-dialog-body .stories-journal{font-size:16px}.ui-read-dialog .report-detail{padding:0}.ui-read-dialog .chart-more{display:inline-block}.interface-dialog-body .capacity-options{grid-template-columns:repeat(2,minmax(0,1fr))}.interface-dialog-body .capacity-option{min-height:100px;font-size:14px}.interface-dialog-body #capacityComparison{margin:0}.interface-dialog-body #regularSummary{display:grid;gap:10px}
.ui-result-overview{padding:16px 0}.ui-result-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ui-result-kpis article{border:1px solid var(--line);background:#f7fafd;border-radius:12px;padding:14px;display:grid;gap:4px;min-width:0}.ui-result-kpis .ui-icon{color:#55728a;margin-bottom:5px}.ui-result-kpis article>span{font-size:14px;color:#52667d}.ui-result-kpis strong{font-size:25px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ui-result-kpis strong small{font-size:14px;margin-left:4px}.ui-result-kpis meter{width:100%;height:8px;margin-top:3px}.ui-ledger{padding:16px;border:1px solid var(--line);border-radius:12px;margin-top:12px;display:grid;gap:12px}.ui-ledger-row{display:grid;grid-template-columns:100px minmax(35px,1fr) auto;gap:10px;align-items:center;font-size:14px}.ui-ledger-row>i{height:8px;background:#edf2f6;border-radius:6px;overflow:hidden}.ui-ledger-row em{display:block;height:100%}.ui-ledger-row b{font-variant-numeric:tabular-nums}.festival-debrief{gap:10px}.festival-debrief .debrief-win,.festival-debrief .debrief-next{border-radius:12px}.festival-debrief h3{font-size:18px}.commerce-result{background:#f4f8fc;border-color:var(--line);border-radius:12px}.commerce-result h3{font-size:16px}.commerce-result>p{font-size:14px}.commerce-result summary{font-size:14px}.result-stars{color:#bd822a}.live-feed{background:#fff;border-color:var(--line);font-size:14px}.venue-footer{border-top:1px solid var(--line)}.page-footer{font-size:12px;color:#65768b}
@media(min-width:821px){.control-panel{position:sticky;top:16px}.panel-content{max-height:calc(100dvh - 285px)}.canvas-wrap .stats{left:14px;right:14px}.report-page .chart-headline{font-size:25px}}
@media(max-width:820px){.workspace{grid-template-columns:minmax(0,1fr)}.control-panel{border-radius:14px}.tabs{padding:5px}.tab{min-height:52px}.panel-content{padding:16px;max-height:calc(100dvh - 210px)}.report-navigation{top:-16px}.ui-result-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px) and (orientation:portrait){.topbar{height:54px}.brand h1{font-size:18px}.brand-en{display:none}main{padding:0}.venue{border:0;border-radius:0}.control-panel{border:0;border-radius:0}.control-panel .tabs{background:#14253b;border:0}.control-panel .tab{flex-direction:column;gap:3px;font-size:14px;padding:5px 2px;min-height:56px}.tab .ui-icon{width:20px;height:20px}.control-panel .panel-content{bottom:125px;border-radius:18px 18px 0 0;border:1px solid var(--line);max-height:calc(100dvh - 190px);padding:16px;background:#fff}.control-panel .launch-panel{padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#f3f7fb}.control-panel .launch-panel .launch-btn{min-height:44px;margin:6px 0 0;font-size:16px}.budget-line{font-size:14px}.launch-panel #launchNote{display:none}.venue-top{padding:7px 8px;gap:6px}.map-controls{gap:3px}.small-btn{min-width:32px;padding:5px;min-height:36px;font-size:14px}.phase{gap:5px}.phase strong{font-size:14px}.phase #timeText{font-size:14px;padding-left:5px}.phase .land-size{display:none}.stats{gap:5px}.stat{padding:7px 8px;border-radius:9px}.stat strong{font-size:19px}.stat>span,.stat small{font-size:12px}.stat .goal-stat{font-size:14px}.workshop-nav button{flex-direction:column;gap:2px;min-height:50px;padding:5px;font-size:14px}.construction-dock{border-radius:12px}.workshop-budget{font-size:14px}.journey-prep{padding:12px}.chart-card>summary{padding:14px}.chart-headline{font-size:25px}.chart-composition{flex-wrap:nowrap}.chart-donut{width:94px;height:94px}.chart-donut>span{width:68px;height:68px;font-size:19px}.chart-legend{font-size:14px;gap:7px;min-width:0}.ui-ledger-row{grid-template-columns:90px minmax(25px,1fr) auto;gap:6px}.interface-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:16px}.interface-dialog-head{padding:12px 14px}.interface-dialog-head h2{font-size:18px}.interface-dialog-body{padding:14px 16px 20px}.report-page .chart-services{grid-template-columns:repeat(4,minmax(0,1fr))}.ui-result-kpis strong{font-size:24px}}
@media(max-width:360px){.phase #phaseIcon{display:none}.small-btn{min-width:29px}.map-controls{gap:2px}.chart-composition{flex-wrap:wrap}.chart-legend{flex-basis:100%}.ui-ledger-row{grid-template-columns:80px minmax(20px,1fr) auto}.ui-ledger-row b{font-size:12px}.artist-summary>span{margin-left:0}.workshop-nav button{font-size:12px}}
@media(prefers-reduced-motion:reduce){dialog::backdrop{backdrop-filter:none}*{scroll-behavior:auto!important}}
/* Reset earlier overlay layouts explicitly; the desktop panel is now a rail. */
.workspace{grid-template-rows:minmax(0,1fr)}.control-panel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;position:relative;top:auto;height:100%;min-height:0;overflow:hidden}.tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-row:1;height:auto;border-radius:0;overflow:visible}.tabs .tab{height:auto;min-height:50px}.panel-content{position:static;grid-row:2;left:auto;right:auto;bottom:auto;width:auto;min-height:0;max-height:none;border:0;border-radius:0;box-shadow:none;background:#fff}.launch-panel{grid-column:1;grid-row:3;display:block;border-radius:0}.launch-panel .budget-line{display:flex}.launch-panel p{display:block}.launch-panel .launch-btn{margin-top:8px;font-size:16px;min-height:48px}.panel-heading{top:-16px;z-index:5;padding-top:4px;padding-bottom:10px}.report-navigation{position:static}.live-details-toggle{display:block;min-height:44px;font-size:14px}.run-hud{grid-template-columns:minmax(0,1fr) auto}.live-detail-meta{display:block}.interface-dialog-body .run-xp small{color:#53677d;font-size:14px}.interface-dialog-body .run-xp{color:#172a43;background:#f3f7fb;padding:14px;border-radius:12px}.interface-dialog-body .xp-track{background:#dce7ed}.interface-dialog-body .run-xp strong,.interface-dialog-body .run-xp span{color:#172a43}
#workshopFacilities .build-list{grid-template-columns:minmax(0,1fr);gap:8px}#workshopFacilities .build-card{grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;min-height:82px;padding:10px;background:#fff;border-color:var(--line)}#workshopFacilities .build-card strong{font-size:16px}#workshopFacilities .build-card .desc{display:block;font-size:14px;line-height:1.5}#workshopFacilities .build-price{grid-column:auto;font-size:18px;text-align:right;border:0;padding:0}#workshopFacilities .build-card.selected{background:#eef8f5;border-color:#137f73}.construction-dock .workshop-nav button{display:flex;background:#edf3f8;color:#31516c}.construction-dock .workshop-nav button.active{background:#172a43;color:#fff}.construction-dock .workshop-nav button[aria-pressed=true]{background:#172a43;color:#fff}.panel-content select{min-height:44px;font-size:16px}.capacity-option small{font-size:14px}
@media(max-width:820px) and (orientation:portrait){.workspace{grid-template-rows:minmax(0,1fr) auto}.control-panel{display:block;position:relative;height:auto;overflow:visible}.control-panel .tabs{height:auto;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:0}.control-panel .tabs .tab{height:auto;min-height:56px}.control-panel .panel-content{position:absolute;grid-row:auto;left:0;right:0;bottom:calc(100% + 6px);width:auto;max-height:calc(100dvh - 210px);border:1px solid var(--line);border-radius:18px 18px 10px 10px;box-shadow:0 -12px 45px #172a4325}.control-panel .launch-panel{display:block}.control-panel .launch-panel .budget-line{display:flex;font-size:14px}.control-panel .launch-panel .launch-btn{min-height:44px;margin-top:6px}.control-panel .launch-panel p{display:none}.construction-dock .workshop-nav button{flex-direction:column;min-height:50px}.artist-list{grid-template-columns:minmax(0,1fr)}.phase #timeText{display:block}.map-controls .small-btn{min-height:36px;height:auto;min-width:30px;font-size:14px}.run-hud .live-details-toggle{display:block}.run-hud{grid-template-columns:minmax(0,1fr) 104px}.run-hud #liveMoodValue{font-size:16px}.sheet-close{min-height:44px;font-size:14px}}
@media(max-width:820px) and (orientation:landscape){.workspace{grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:minmax(0,1fr)}.control-panel{display:grid;height:100%;overflow:hidden}.panel-content{position:static;max-height:none;width:auto}.tabs{grid-template-columns:repeat(4,minmax(0,1fr));height:auto}.tabs .tab{min-height:44px;font-size:14px}.topbar{height:48px;flex-basis:48px}.brand-en{display:none}.launch-panel .budget-line{display:none}.launch-panel .launch-btn{min-height:44px}.construction-dock{left:6px;right:6px;width:auto;max-width:none}.construction-dock .workshop-nav button{font-size:14px}.construction-dock .ui-icon{display:none}body.preparing .build-preview{left:6px;right:6px;width:auto;max-width:none;bottom:130px}}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));left:12px;right:12px;top:70px;width:auto;max-width:550px;gap:7px;padding:0;border:0;background:none;backdrop-filter:none}.stats .stat{display:block;min-height:70px;padding:8px 10px;border:1px solid #dce3ed;border-radius:11px;background:#ffffffef;white-space:normal;backdrop-filter:blur(5px)}.stats .stat+.stat{border-left:1px solid #dce3ed}.stats .stat>span{font-size:14px;color:#52667d;line-height:1.4}.stats .stat strong{font-size:22px;line-height:1.4;color:#172a43}.stats .stat small{font-size:14px}.festival-rank{top:150px;left:12px;font-size:14px;background:#172a43ed;border:1px solid #b8c8db;color:#fff}.canvas-wrap>.now-playing{top:150px;font-size:14px;max-width:calc(100% - 260px);background:#172a43ed}.venue-top{min-height:50px}.construction-dock{background:#ffffffef;border-color:#cad7e4;box-shadow:0 4px 22px #172a4314}.settings-popover{background:#172a43;border-color:#647b93;max-height:calc(100dvh - 85px);overflow:auto}.game-settings>summary{color:#e6eef9;border-color:#647b93}.header-actions .icon-btn{font-size:14px}.interface-dialog-head .icon-btn:focus-visible,.ui-detail-button:focus-visible,.report-navigation button:focus-visible,summary:focus-visible{outline:3px solid #137f73;outline-offset:2px}.interface-dialog-body .artist-skill{font-size:16px}.interface-dialog-body .artist-skill span{font-size:14px}
@media(max-width:820px) and (orientation:portrait){.stats{left:6px;right:6px;top:60px;gap:5px;max-width:none}.stats .stat{min-height:62px;padding:6px 8px;gap:0}.stats .stat>span{font-size:14px}.stats .stat strong{font-size:19px}.stats .stat small{font-size:14px;margin-left:2px}.festival-rank{top:130px;left:6px}.canvas-wrap>.now-playing{top:166px;left:6px;right:6px;max-width:none;font-size:14px}.venue-top{min-height:46px}.control-panel .panel-heading{font-size:18px}.control-panel .panel-content{min-height:0}.settings-popover{width:260px}.run-hud .hype-track{display:block;height:5px;grid-column:1/-1;margin:5px 0 0}.run-hud #hypeText{font-size:14px}.run-hud #liveMoodValue:before{font-size:14px}.run-hud .signature-dock{grid-column:1/-1}.run-hud #liveMoodStage{display:none}}
@media(max-width:820px) and (orientation:landscape){.stats{top:58px;max-width:none;gap:5px}.stats .stat{min-height:54px;padding:4px 6px}.stats .stat strong{font-size:17px}.stats .stat>span,.stats .stat small{font-size:14px}.festival-rank{top:121px}.canvas-wrap>.now-playing{display:none!important}.run-hud{top:auto;bottom:42px;left:6px;right:6px;width:auto}.run-hud #liveMoodFactors{font-size:14px}.construction-dock .dock-budget .workshop-budget small{display:none}.construction-dock .workshop-nav{margin-top:4px}.construction-dock .workshop-nav button{min-height:44px}.construction-dock .dock-budget .workshop-budget b{font-size:16px}}

/* Discovered memories remain selectable instead of showing the first only. */
.artwork-event-picker{margin:0 0 16px;display:grid;gap:8px}.artwork-event-picker[hidden]{display:none}.artwork-event-picker>label{font-size:14px;color:#52667d}.artwork-event-picker>select{width:100%;min-width:0;min-height:44px;font-size:16px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#172a43;padding:8px}.artwork-event-paging{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}.artwork-event-paging button{min-height:44px;font-size:14px;border:1px solid var(--line);border-radius:8px;background:#edf3f8;color:#31516c}.artwork-event-paging button:disabled{opacity:.45}.artwork-event-paging output{font-size:14px;font-variant-numeric:tabular-nums}.artwork-event-picker select:focus-visible,.artwork-event-paging button:focus-visible{outline:3px solid #137f73;outline-offset:2px}
/* v108: a lighter planning surface with a cobalt action hierarchy. */
:root{--ink:#202735;--ink2:#566174;--accent:#345ce5;--green:#137f73;--line:#e1e5eb;--muted:#677386}
body{background:#f2f4f7;color:var(--ink)}.topbar{background:#202735}.brand h1{letter-spacing:0}.venue,.control-panel{border-radius:12px;border-color:#dce1e8;box-shadow:none}.workspace{gap:12px}.tabs{background:#fff;border-bottom:1px solid var(--line);padding:0;gap:0}.tabs .tab{border-radius:0;background:#fff;color:#687386;border-bottom:3px solid transparent;gap:6px}.tabs .tab.active,.tabs .tab[aria-selected=true]{background:#fff;color:#345ce5;border-bottom-color:#345ce5}.tabs .tab:hover:not(:disabled){background:#f5f7fc;color:#345ce5}.tabs .tab.active:hover{background:#f5f7fc;color:#345ce5}.launch-panel{background:#f7f8fb}.launch-btn{border-radius:9px;background:#345ce5}.launch-btn:hover:not(:disabled){background:#284bc5}.start-symbol{color:#fff}.report-navigation{background:#f1f3f7;border-radius:8px;box-shadow:none}.report-navigation button{border-radius:6px}.report-navigation button[aria-selected=true]{color:#345ce5;box-shadow:0 1px 3px #20273512}.chart-card{border-radius:10px;box-shadow:none}.chart-kicker{color:#677386}.chart-headline{color:#202735}.ui-detail-button{border-radius:7px;background:#f4f6fb;color:#345ce5}.panel-heading h2{font-size:19px;letter-spacing:0}.sheet-close{border-radius:7px}.construction-dock .workshop-nav button{background:#f1f3f7;color:#606b7f;border-radius:7px}.construction-dock .workshop-nav button.active,.construction-dock .workshop-nav button[aria-pressed=true]{background:#eaf0ff;color:#345ce5}.construction-dock{border-radius:10px}.stats .stat{border-radius:9px;background:#fffffff2;border-color:#dce1e8}.stats .stat strong{color:#202735}.festival-rank{background:#202735ed;border-radius:7px}.interface-dialog{border-radius:12px}.interface-dialog-head{background:#fff;border-bottom:1px solid var(--line)}.interface-dialog-head h2{color:#202735}.interface-dialog-head .icon-btn{background:#f2f4f8;color:#566174;border-radius:7px}.interface-dialog-body{color:#202735}.artist-card{border-radius:10px;box-shadow:none;border-color:#e0e5ec}.artist-card.booked{border-color:#345ce5;box-shadow:inset 3px 0 #345ce5}.artist-card .book-btn{border-radius:7px}.artist-card .book-btn[aria-pressed=true]{background:#eaf0ff;color:#345ce5}.ui-commerce-kpis{border-radius:8px}.chart-card>summary{padding:16px}.chart-card .chart-more{color:#345ce5}.chart-services article{border-radius:7px;background:#f5f7fa}
/* Each development family has one readable branch; cost and action stay close. */
#panelDevelop{width:auto;min-width:0;background:#fbfcfe}.development-summary{display:block;margin:0 0 14px;padding:0;border:0;border-radius:0;background:transparent}.research-balance{display:grid;grid-template-columns:1fr 1fr;gap:8px}.research-balance>span{display:grid;gap:2px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 12px;font-size:14px;color:#657084}.development-summary .research-balance b{font-size:24px;line-height:1.35;color:#202735;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}.research-balance b small{font-size:14px;font-weight:500;margin-left:4px}.research-progress{display:grid;gap:6px;margin-top:10px;font-size:14px;color:#657084}.research-progress span{display:flex;justify-content:space-between;gap:8px}.research-progress b{font-size:14px;color:#345ce5}.research-progress meter{width:100%;height:7px;accent-color:#345ce5}.research-progress meter::-webkit-meter-bar{border:0;background:#e6ebf4;border-radius:4px}.research-progress meter::-webkit-meter-optimum-value{background:#345ce5}.research-progress meter::-moz-meter-bar{background:#345ce5}.research-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-bottom:12px;min-width:0}.research-categories button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:62px;min-width:0;padding:6px 0;background:#fff;border:1px solid var(--line);border-radius:8px;color:#697487;font-size:14px;line-height:1.3}.research-categories .ui-icon{width:19px;height:19px}.research-categories button[aria-selected=true]{background:#eaf0ff;border-color:#b7c8ff;color:#345ce5}.research-categories button:focus-visible,.research-detail:focus-visible,.research-action:focus-visible{outline:3px solid #345ce5;outline-offset:2px}.research-guide{font-size:14px;line-height:1.6;color:#677386;margin:0 0 14px}.research-tree{display:block;min-width:0}.research-branch{margin:0;padding:0}.research-children{margin:0 0 0 8px;padding:12px 0 0 13px;border-left:1px solid #ccd5e6}.research-children>.research-item:before{left:-14px;top:28px;width:13px;border-top:1px solid #ccd5e6}.research-item{margin-bottom:12px;min-width:0}.research-node{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid #dfe5ee;border-radius:9px;background:#fff;color:#202735;min-width:0;box-shadow:none}.research-node.base{background:#f0f3f9;color:#202735;border-color:#dce3ee}.research-node.unlocked{background:#fff;border-color:#dfe5ee}.research-node.ready{background:#fff;border-color:#a6bcff;box-shadow:inset 3px 0 #345ce5}.research-node.locked{background:#f7f8fb;color:#687386;border-color:#e4e8ef}.research-node-heading{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 9px;align-items:start}.research-node-heading strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.research-node-heading>span.research-tier{grid-row:1/3;background:transparent;border:1px solid #d5ddea;border-radius:6px;color:#6a768b;font-size:12px;font-weight:700;padding:7px 5px;min-width:36px;text-align:center}.research-node-heading>span.research-state{grid-column:2;font-size:12px;font-weight:500;color:#677386;background:transparent;border-radius:0;padding:0;white-space:normal}.research-node.ready .research-state{color:#345ce5}.research-node.unlocked .research-state{color:#137f73}.research-costs{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;border-top:1px solid #edf0f5;padding-top:9px}.research-costs>span{display:grid;gap:3px;font-size:14px;color:#677386}.research-costs b{font-size:16px;color:#202735;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.4;overflow-wrap:anywhere}.research-costs b small{font-size:14px;color:#677386;font-weight:500}.research-node .research-requirement{grid-column:1/-1;margin:0;font-size:14px;line-height:1.6;color:#677386;overflow-wrap:anywhere}.research-node .research-base-note{grid-column:1/-1;font-size:14px;color:#677386;margin:0}.research-node .research-action{grid-column:1;font-size:14px;min-height:44px;padding:8px;border-radius:7px;border:1px solid #dae2ef;background:#f4f6fb;color:#345ce5}.research-node.ready .research-action{background:#345ce5;border-color:#345ce5;color:#fff}.research-node .research-action:disabled{background:#edf0f5;border-color:#e0e5ee;color:#7c8799;opacity:1}.research-node .research-detail{grid-column:2;min-height:44px;border:0;border-radius:7px;background:transparent;color:#526baf;font-size:14px;padding:8px}.research-node .research-detail:hover{background:#edf2ff}.research-detail-ledger{margin:16px 0;display:grid;gap:0}.research-detail-ledger>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}.research-detail-ledger dt{color:#677386}.research-detail-ledger dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}.interface-dialog-body .ui-chart-note{font-size:14px}
@media(max-width:820px) and (orientation:portrait){.control-panel .tabs{background:#fff;border-top:1px solid var(--line)}.control-panel .tab{color:#677386}.control-panel .tab.active,.control-panel .tab[aria-selected=true]{color:#345ce5;background:#fff}.control-panel .panel-content{border-radius:14px 14px 8px 8px}.research-categories button{min-height:58px}.research-node{padding:11px}.research-node-heading strong{font-size:16px}.research-children{margin-left:6px;padding-left:11px}.research-children>.research-item:before{left:-12px;width:11px}.research-balance b{font-size:22px}}
/* v109: the park gets its own uninterrupted canvas and a compact status band. */
.topbar{height:58px;flex-basis:58px;background:#fff;border-bottom:1px solid var(--line);padding-inline:18px}.brand h1{color:#202735;font-size:19px}.brand-en{color:#7d8797;font-size:11px}.logo{color:#345ce5;font-size:28px;text-shadow:none}.header-actions .icon-btn{color:#526174;background:#f3f5f9;border:1px solid var(--line);border-radius:8px}.game-settings>summary{color:#526174;background:#f3f5f9;border:1px solid var(--line);border-radius:8px;min-height:44px;display:flex;align-items:center}.settings-popover{background:#202735}.venue{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:#fff}.venue-top{position:static;top:auto;left:auto;right:auto;z-index:auto;flex:none;margin:0;border:0;border-bottom:1px solid #eef1f6;border-radius:0;box-shadow:none;background:#fff;min-height:46px;padding:8px 14px}.map-controls{gap:5px}.map-controls .small-btn{background:#f6f8fb;border-color:#e2e7ee;border-radius:7px;min-height:36px;min-width:34px;color:#526174}.map-controls .small-btn[aria-pressed=true]{background:#eaf0ff;color:#345ce5;border-color:#c5d3ff}.venue-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,210px);align-items:center;gap:8px 14px;padding:10px 14px 12px;background:#fff;border-bottom:1px solid var(--line);flex:none}.venue-dashboard .season-line{grid-column:1;grid-row:1;position:static;bottom:auto;left:auto;z-index:auto;display:block;padding:0;color:#526174;min-width:0;pointer-events:auto}.season-line>div:first-child{display:flex;align-items:center;gap:8px;min-width:0}.venue-dashboard .season-line strong{display:block;font-size:14px;font-weight:600;color:#526174;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}.venue-dashboard .edition{font-size:12px;background:#eef2fa;color:#526baf;border:0;border-radius:5px;padding:4px 7px;flex:none;white-space:nowrap}.venue-dashboard .save-note{display:none}.venue-dashboard .festival-rank{grid-column:2;grid-row:1;position:static;top:auto;left:auto;right:auto;width:auto;padding:0;border:0;border-radius:0;background:transparent;color:#657084;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px;line-height:1.4;min-width:0;box-shadow:none}.venue-dashboard .festival-rank strong{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.venue-dashboard .festival-rank small{font-size:12px;white-space:nowrap;color:#8490a1}.venue-dashboard .festival-xp-track{grid-column:1/-1;height:4px;border:0;background:#e9eef8;border-radius:3px;margin:0}.venue-dashboard .festival-xp-track i{background:#345ce5}.venue-dashboard .stats{grid-column:1/-1;grid-row:2;position:static;top:auto;left:auto;right:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:auto;max-width:none;padding:0;border:1px solid #e7ebf2;border-radius:8px;background:#f8fafc;backdrop-filter:none;z-index:auto}.venue-dashboard .stats .stat{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:6px;min-height:44px;padding:8px 12px;border:0;border-radius:0;background:transparent;backdrop-filter:none;box-shadow:none;min-width:0}.venue-dashboard .stats .stat+.stat{border-left:1px solid #e1e6ef}.venue-dashboard .stats .stat>span{font-size:14px;color:#7b8797;white-space:nowrap}.venue-dashboard .stats .stat strong{font-size:22px;line-height:1.3;color:#202735;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.venue-dashboard .stats .stat small{font-size:12px;margin-left:3px;font-weight:500;color:#7b8797}.venue-dashboard .stats .stat:nth-child(4){display:none}.venue-dashboard .statbar{display:none}.venue .canvas-wrap{position:relative;flex:1;min-height:0;height:auto;width:100%;background:#d4eceb;overflow:hidden}.canvas-wrap #world{display:block;width:100%;height:100%;min-height:0;touch-action:none}.venue-footer{position:static;bottom:auto;left:auto;right:auto;flex:none;border:0;border-top:1px solid var(--line);border-radius:0;background:#fff;padding:0;z-index:auto;pointer-events:auto}.venue-footer .festival-progress{min-height:48px;padding:8px 14px}.venue-footer .live-feed{display:none}.venue-footer .progress-track{background:#eaf0f8}.venue-footer .progress-caption{font-size:14px;color:#6c788c}.venue-footer .artist-spotlight{border-radius:7px}.canvas-wrap>.now-playing{top:auto;bottom:84px;left:12px;right:auto;max-width:min(460px,calc(100% - 24px));font-size:14px;line-height:1.5;padding:7px 11px;border:1px solid #ffffff50;border-radius:7px;background:#202735df;color:#fff;box-shadow:0 3px 12px #172a4320;pointer-events:none}.canvas-wrap .run-hud{top:12px;bottom:auto;left:12px;right:12px;width:auto;max-width:510px}.canvas-wrap .map-hint{bottom:8px;left:12px;right:12px;font-size:14px;background:#ffffffe8;color:#526174;border:1px solid #dce5e0;border-radius:7px;padding:6px 9px}.canvas-wrap .construction-dock{bottom:8px;left:12px;right:12px;max-width:480px;border-radius:10px;border-color:#e1e7ef;box-shadow:0 5px 20px #203d351a}.canvas-wrap .demo-badge{top:10px}.canvas-wrap .viewing-hud{font-size:14px}.phase strong{font-size:14px;color:#526174}.phase .land-size{border-color:#e0e5ee;background:#f6f8fb;color:#7b8797;border-radius:5px}.phase #phaseIcon{color:#345ce5}.launch-panel .budget-line{color:#7b8797}.panel-content #prepChecklist{border-radius:8px;background:#edf3ff;color:#4562a5;border:1px solid #dce7ff}.panel-content .next-build-step{background:#345ce5;color:#fff;border-radius:7px}.panel-content .journey-prep{border-radius:9px;background:#fff;border-color:#e0e6ef;box-shadow:none}.panel-content .build-filters button{border-radius:6px}
@media(max-width:820px) and (orientation:portrait){.topbar{height:50px;flex-basis:50px;padding-inline:12px}.brand h1{font-size:18px}.venue-top{padding:6px 8px;min-height:42px}.venue-dashboard{grid-template-columns:minmax(0,1fr) 150px;gap:6px 8px;padding:7px 8px 8px}.venue-dashboard .season-line strong{font-size:14px}.venue-dashboard .festival-rank{gap:2px 4px}.venue-dashboard .festival-rank small{font-size:12px}.venue-dashboard .stats .stat{display:block;padding:5px 8px;min-height:48px}.venue-dashboard .stats .stat>span{display:block;font-size:12px;line-height:1.3}.venue-dashboard .stats .stat strong{display:block;text-align:left;font-size:19px;line-height:1.4}.venue-dashboard .stats .stat small{font-size:12px}.venue-footer .festival-progress{min-height:42px;padding:6px 9px}.venue-footer .progress-caption{font-size:12px}.canvas-wrap>.now-playing{top:auto;bottom:86px;left:8px;right:8px;max-width:none;font-size:14px}.canvas-wrap .run-hud{top:8px;bottom:auto;left:8px;right:8px}.canvas-wrap .construction-dock{left:8px;right:8px;bottom:8px;width:auto;max-width:none}.canvas-wrap .map-hint{font-size:14px;left:8px;right:8px;bottom:8px}.phase #timeText{font-size:12px}.phase strong{font-size:14px}}
@media(max-width:820px) and (orientation:landscape){.topbar{height:44px;flex-basis:44px}.venue-top{min-height:38px;padding:4px 8px}.venue-dashboard{grid-template-columns:minmax(0,1fr) 130px;padding:5px 8px 6px;gap:4px 8px}.venue-dashboard .stats .stat{display:block;min-height:38px;padding:4px 8px}.venue-dashboard .stats .stat>span{font-size:12px;display:block}.venue-dashboard .stats .stat strong{display:block;text-align:left;font-size:16px;line-height:1.2}.venue-dashboard .festival-rank strong{font-size:12px}.venue-footer .festival-progress{min-height:34px;padding:4px 8px}.venue-footer .progress-caption{font-size:12px}.canvas-wrap .run-hud{top:6px;bottom:auto}.canvas-wrap .construction-dock{bottom:6px}.canvas-wrap>.now-playing{display:none!important}}
@media(max-width:360px){.venue-dashboard{grid-template-columns:minmax(0,1fr) 125px}.venue-dashboard .stats .stat{padding-inline:6px}.venue-dashboard .stats .stat strong{font-size:17px}.venue-dashboard .season-line>div:first-child{gap:5px}.venue-dashboard .festival-rank small{display:none}}

body.placing .venue-dashboard{display:none}

/* Registered legendary specialties keep long explanations in the artist dialog. */
.legend-specialty,.mio-route-editor,.legend-specialty-results article{border:1px solid #dce5f6;background:#f6f8ff;border-radius:9px;padding:12px;margin:12px 0}.legend-specialty strong{font-size:16px}.legend-specialty p,.legend-specialty-results p{font-size:14px;line-height:1.6;margin:8px 0}.legend-specialty-condition{display:grid;gap:6px;font-size:14px}.legend-specialty meter,.legend-specialty-results meter{width:100%;height:8px;accent-color:#345ce5}.mio-route-editor h3,.legend-specialty-results h3{font-size:16px}.mio-route-editor label{display:grid;gap:6px;font-size:14px;margin:10px 0}.mio-route-editor select{width:100%;min-height:44px;min-width:0;font-size:16px;border:1px solid #cfd9ec;border-radius:7px;background:#fff;padding:6px}.legend-specialty-results article{display:grid;gap:6px}.legend-specialty-results span,.legend-specialty-results small{font-size:14px;color:#657188}

.legend-specialty-tag{display:inline-block;font-size:14px;line-height:1.4;color:#315ca8;background:#edf3ff;border-radius:6px;padding:3px 7px;margin-top:5px}

.guest-appearance-key{margin-top:16px;padding:12px;border:1px solid #dce5f6;border-radius:10px;background:#f6f8ff}.guest-appearance-key h3{font-size:16px;margin:0 0 10px}.guest-appearance-key>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.guest-appearance-key article{display:flex;align-items:center;gap:10px;min-width:0}.guest-key-image{position:relative;display:block;flex:0 0 auto;height:58px;aspect-ratio:var(--guest-ratio);overflow:hidden}.guest-key-image img{position:absolute;width:var(--guest-w);height:var(--guest-h);max-width:none;left:var(--guest-x);top:var(--guest-y);image-rendering:pixelated}.guest-appearance-key b,.guest-appearance-key small{display:block;font-size:14px;line-height:1.5}.guest-appearance-key small{color:#536481}

.artist-fee-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.artist-fee-table th,.artist-fee-table td{padding:.5rem .8rem;border-bottom:1px solid #dce4e8;text-align:left}.artist-fee-table td{text-align:right}.artist-fee-table thead{background:#edf5f4}
