.development-panel{width:min(980px,100vw)!important;max-width:100vw!important;background:#153c30!important;color:#f9efcf;border:2px solid #b49b57!important;border-radius:18px!important}.development-panel>.panel-head{background:#153c30;color:#fff3d0;border-bottom:1px solid #aa9858;padding:8px 14px}.development-panel #panel-body{padding:0;overflow:hidden;background:#193c2e}.dev-world{position:relative;display:flex;flex-direction:column;height:min(860px,calc(100dvh - 85px));min-height:430px;background:#ede8cc;color:#264333;isolation:isolate}.dev-world button{min-height:44px;cursor:pointer}.dev-hud{padding:12px 17px 6px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#234c3b,#14382e);color:#fff6d7;gap:12px}.dev-hud h2{margin:2px 0 5px;font-family:serif;font-size:clamp(20px,4.8vw,28px);letter-spacing:.06em}.dev-hud small{font-size:10px;color:#c4d4b7;letter-spacing:.1em}.dev-map-switch{background:#3c5840;color:#fff1bd;border:1px solid #bdab70;border-radius:12px;padding:7px 12px;white-space:nowrap}.dev-resource-bar{display:flex;align-items:center;justify-content:space-between;padding:0 14px 9px;background:#153c30;color:#efe5bd;font-size:12px;gap:10px}.dev-resource-bar button{background:transparent;border:0;color:#fff2c6;padding:0;text-align:left;min-height:32px}.dev-resource-bar b{font-size:17px;margin-left:8px;font-variant-numeric:tabular-nums}.dev-resource-bar .is-negative{color:#ffc6ac}.dev-map-wrap{position:relative;flex:1;min-height:190px;overflow:hidden;background:#70986c;border-block:3px solid #c8ad64}.dev-viewport{height:100%;width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-x pan-y;scrollbar-color:#b3a673 #6f8552}.dev-plane{position:relative;min-width:100%;line-height:0;user-select:none;isolation:isolate}.dev-ground{width:100%;height:auto;display:block;pointer-events:none}.racecourse-plane .dev-ground{max-height:none}.dev-sprite{position:absolute;transform:translate(-50%,-100%);overflow:hidden;pointer-events:none;z-index:2}.dev-sprite.is-closed{filter:grayscale(.8) brightness(.8)}.dev-plot,.dev-landmark{position:absolute;transform:translate(-50%,-25%);z-index:4;width:max-content;max-width:25%;line-height:1.3}.dev-plot{max-width:23%}.dev-pin{font-size:clamp(9px,1.7vw,13px);line-height:1.2;min-height:44px;padding:3px 7px!important;background:linear-gradient(#fff0c7,#e0c899);border:1px solid #876e40;color:#3c452c;border-radius:9px;box-shadow:0 3px 0 #75634055,0 3px 8px #27462144;word-break:normal;overflow-wrap:anywhere;max-width:100%}.dev-plot:not(.built) .dev-pin{border:1px dashed #64865a;background:#f4f3cacc;color:#3d623e}.dev-plot.selected .dev-pin{outline:3px solid #fff4a1}.dev-landmark .dev-pin{font-weight:700;background:linear-gradient(#b66f38,#855329);border:1px solid #f5d28a;color:#fff3d1;text-shadow:0 1px #492e12}.dev-map-tools{position:absolute;left:10px;top:9px;z-index:6;display:flex;gap:5px}.dev-map-tools button{min-width:40px;min-height:38px;background:#163f32e6;border:1px solid #f0db9b;color:#fff7d6;border-radius:10px;padding:6px}.dev-minimap{position:absolute;right:9px;top:9px;width:72px;aspect-ratio:1;overflow:hidden;border:2px solid #ffefb5;border-radius:6px;box-shadow:0 2px 8px #0006;pointer-events:none;z-index:6}.dev-minimap img{display:block;width:100%;height:100%;object-fit:fill}.dev-minimap span{position:absolute;left:0;top:0;width:100%;height:50%;border:2px solid #fff6aa;background:#ffe78a22;box-sizing:border-box}.dev-hint{font-size:12px;margin:0;padding:7px 12px;background:#fffae2;border-bottom:1px solid #c8b987;line-height:1.5}.dev-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:7px 8px;background:#234938}.dev-tabs button{border:1px solid #97733f;background:linear-gradient(#bd9660,#947243);color:#fff9de;border-radius:8px;font-weight:700;text-shadow:0 1px #62491e;font-size:13px;padding:5px 2px;box-shadow:0 2px 0 #0c2e27}.dev-tabs button.active{background:linear-gradient(#e2c682,#b6974e);color:#233c27;text-shadow:none;border-color:#ffe6a4}.dev-footer{display:flex;gap:8px;background:#193d2f;padding:5px 10px 10px;justify-content:space-between}.dev-footer button{border:1px solid #b69e5e;color:#f5e7b8;background:#2e5039;border-radius:9px;padding:5px 17px;font-size:12px}.dev-footer .primary{background:linear-gradient(#e7c277,#bf954a);color:#243827;min-width:42%;font-size:15px}.dev-sheet{position:absolute;z-index:10;bottom:106px;left:10px;right:10px;max-height:64%;display:flex;flex-direction:column;background:#fffbed;border:2px solid #af9656;border-radius:16px 16px 8px 8px;box-shadow:0 -6px 25px #18362766;overflow:hidden;animation:dev-sheet-in .16s ease-out}.dev-sheet>header{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#244a38;color:#f8edc7;padding:5px 12px}.dev-sheet h3{font-size:16px;margin:0;color:inherit}.dev-sheet-close{background:transparent;border:0;color:#ffedc4;font-size:24px;min-width:44px;padding:0}.dev-sheet-body{padding:14px;overflow-y:auto;overscroll-behavior:contain;font-size:14px;line-height:1.6;scrollbar-width:thin}.dev-sheet-body h4{margin:15px 0 8px}.dev-sheet-body form{padding:12px;border:1px solid #e0d3b0;border-radius:10px;background:#f6f0dc;margin:12px 0}.dev-sheet-body label{display:flex;flex-direction:column;font-size:12px;color:#4a5741;gap:5px;margin-bottom:6px;min-width:0}.dev-sheet-body input,.dev-sheet-body select{font:inherit;font-size:15px;min-height:44px;border:1px solid #b6ad8d;border-radius:8px;padding:7px;background:#fffdf5;color:#234435;max-width:100%;width:100%;box-sizing:border-box}.dev-sheet-body .primary,.dev-action{background:#315f46;color:#fff8df;border:1px solid #8caa83;border-radius:9px;padding:8px 12px;line-height:1.4;font-size:13px;max-width:100%;margin:3px 0;min-height:44px}.dev-world button:disabled{opacity:.48;cursor:default}.dev-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.dev-action-grid{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.dev-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e7dfc8;gap:14px;font-size:12px}.dev-row b{text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}.dev-row span{overflow-wrap:anywhere}.dev-note{font-size:12px;line-height:1.75;color:#63725a;margin:9px 0}.dev-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dev-catalog article{border:1px solid #d9cba3;border-radius:13px;background:linear-gradient(#fffcf0,#f3e9cb);padding:7px 10px 10px;overflow:hidden}.dev-catalog h4{font-size:14px;margin:0}.dev-catalog p{font-size:12px;margin:4px 0}.dev-catalog small{font-size:10px;color:#67735b;display:block}.dev-catalog .dev-action{display:block;width:100%}.dev-sample{position:relative;width:100%;height:115px}.dev-sample .dev-sprite{max-height:115px}.dev-building-profile{display:grid;grid-template-columns:135px 1fr;align-items:center;gap:10px}.dev-building-profile p{font-size:11px}.dev-list-card{padding:12px;margin:9px 0;border:1px solid #ddd1b1;border-radius:12px;background:#fffcf1}.dev-list-card>b,.dev-list-card>small{display:block}.dev-list-card>small{font-size:12px;margin:4px 0;color:#697356}.dev-chip-list{display:flex;gap:6px;overflow-x:auto;padding-bottom:5px}.dev-chip-list button{border:1px solid #b6b28c;background:#f3ebce;color:#31503b;border-radius:10px;min-width:140px;font-size:12px;padding:7px}.dev-chip-list small{display:block;font-size:10px}.dev-chip-list .selected{background:#325940;color:#fff2c8}.dev-sheet progress{width:100%;accent-color:#749d5c}.dev-audio-status{font-size:12px;background:#e5efda;padding:9px;border-radius:8px}.dev-park-scene{position:relative;border-radius:12px;overflow:hidden;line-height:0}.dev-park-scene>img{width:100%;display:block}.dev-park-dialogue{padding:13px;margin:8px 0;background:#f6edcf;border:1px solid #d7c398;border-radius:9px;font-size:13px;line-height:1.9}.dev-park-dialogue small{display:block;font-size:11px;color:#6e795b;margin-top:7px}.dev-walker{animation:dev-walk 12s steps(300) infinite alternate;z-index:3}.walker-1{animation-delay:-5s}.walker-2{animation-delay:-9s}.dev-drone{animation:dev-flight 12s steps(360) infinite;z-index:5}.dev-drone.route-town{animation-name:dev-flight-town;animation-duration:22s}.dev-dance{animation:dev-dance 1.2s steps(12) infinite}.dev-dance.delay{animation-delay:-.3s}@keyframes dev-walk{from{translate:0 0}to{translate:50px 5px}}@keyframes dev-flight{0%,100%{translate:-45px 0}25%{translate:0 -16px}50%{translate:45px 0}75%{translate:0 18px}}@keyframes dev-flight-town{0%,100%{translate:-80px 0}25%{translate:70px 15px}50%{translate:90px 180px}75%{translate:-70px 160px}}@keyframes dev-dance{0%,100%{rotate:-6deg;translate:0 0}25%{rotate:3deg;translate:0 -5px}50%{rotate:6deg;translate:0 0}75%{rotate:-3deg;translate:0 -5px}}@keyframes dev-sheet-in{from{translate:0 12px;opacity:.7}to{translate:0 0;opacity:1}}@media(min-width:760px){.dev-world{height:calc(100dvh - 110px);max-height:940px}.dev-map-wrap{min-height:380px}.dev-plane.city-plane{max-width:none}.dev-sheet{max-height:65%;width:450px;left:auto;right:15px;bottom:112px}.dev-sheet-body{padding:18px}.dev-pin{font-size:13px}.dev-minimap{width:92px}}@media(max-width:390px){.dev-resource-bar b{font-size:14px}.dev-sheet{left:5px;right:5px;max-height:68%}.dev-sheet-body{padding:10px}.dev-form-grid{gap:7px}.dev-pin{font-size:9px}.dev-catalog article{padding:6px}.dev-hint{font-size:11px}.dev-building-profile{grid-template-columns:105px 1fr}}@media(prefers-reduced-motion:reduce){.dev-world *{animation:none!important;scroll-behavior:auto!important}}

.dev-dance-frame{opacity:0;animation:dev-dance-frames 1.2s steps(1,end) infinite}.dev-dance-frame.frame-1{animation-delay:.3s}.dev-dance-frame.frame-2{animation-delay:.6s}.dev-dance-frame.frame-3{animation-delay:.9s}@keyframes dev-dance-frames{0%,24.9%{opacity:1}25%,100%{opacity:0}}.dev-background *{animation-play-state:paused!important}body:has(#race-view[open]) .dev-world *,body:has(#adv-view[open]) .dev-world *{animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){.dev-dance-frame{animation:none!important;opacity:0}.dev-dance-frame.frame-0{opacity:1}}

#panel.development-panel[open]{display:flex;flex-direction:column;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)!important}#panel.development-panel>.panel-head{min-height:40px;flex-shrink:0}#panel.development-panel #panel-body{display:flex;flex:1;min-height:0;overflow:hidden}#panel.development-panel .dev-world{height:auto!important;max-height:none!important;min-height:0;flex:1;width:100%}@media(max-height:550px){#panel.development-panel .dev-map-wrap{min-height:100px}.dev-hint{display:none}.dev-sheet{bottom:102px;max-height:65%}}
.dev-sheet.dev-program-sheet{top:8px;bottom:8px;left:8px;right:8px;max-height:none;width:auto;background:#eee0b9;border:4px solid #9e7947;box-shadow:0 0 0 2px #e5c888,0 8px 30px #142d24aa}.dev-sheet.dev-program-sheet .dev-sheet-body{background:repeating-linear-gradient(0deg,#eee0be 0px,#eee0be 62px,#e7d8b2 64px);padding:12px;scroll-padding-top:100px}.dev-budget{position:sticky;top:-12px;z-index:3;padding:10px 12px;background:#234c3b;color:#fff2c9;border:1px solid #bea262;border-radius:10px;box-shadow:0 3px 8px #263b2833;margin-bottom:10px}.dev-budget small{display:block;font-size:12px}.dev-race-slip{border-left:7px solid #41694d;box-shadow:2px 3px 0 #9e794744;border-radius:4px 12px 12px 4px}.dev-race-slip>b{font-size:16px;overflow-wrap:anywhere;line-height:1.6}.dev-race-slip .dev-action-grid{gap:6px}.dev-race-name input{font-size:16px}.dev-sheet.dev-program-sheet input,.dev-sheet.dev-program-sheet select{font-size:16px}.dev-sheet.dev-program-sheet summary{cursor:pointer;padding:12px 2px;font-weight:700;min-height:44px;box-sizing:border-box}.dev-race-context{display:flex;gap:6px;overflow-x:auto;padding:6px 0}.dev-race-context span{flex:0 0 130px;font-size:12px;padding:6px;border:1px solid #b7a273;border-radius:6px;background:#fff9e4;overflow-wrap:anywhere}.dev-race-context .selected{background:#315f46;color:#fff8df}.dev-save-bar{position:sticky;bottom:-12px;background:#f6f0dc;padding:8px 0;z-index:2}.dev-save-bar button{width:100%;min-height:48px}.dev-prizes{margin:8px 0}.dev-sheet.dev-program-sheet .dev-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(min-width:760px){.dev-sheet.dev-program-sheet{left:16%;right:12px;top:12px;bottom:12px;width:auto;max-height:none}}@media(max-height:550px){.dev-sheet.dev-program-sheet{max-height:none;bottom:5px;top:5px}}
.dev-calendar-month{margin:12px 0 18px}.dev-calendar-month h4{position:sticky;top:-12px;background:#31513c;color:#fff4ce;padding:8px 12px;border-radius:6px;z-index:1}.dev-calendar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dev-calendar-cell{display:flex;flex-direction:column;gap:6px;align-items:stretch;text-align:left;border:1px solid #b49a64;border-top:5px solid #b49a64;border-radius:8px;background:#fff8df;color:#274531;padding:10px;min-height:115px!important;overflow-wrap:anywhere;min-width:0}.dev-calendar-cell span{font-weight:700;font-size:12px}.dev-calendar-cell b{font-size:14px}.dev-calendar-cell small{font-size:11px}.dev-calendar-cell.draft{border-top-color:#cf983d}.dev-calendar-cell.open{border-top-color:#38836b;background:#e7f0de}.dev-calendar-cell.done{background:#e1dfd0}.dev-calendar-cell.today{outline:2px solid #b18028;outline-offset:1px}.dev-bulk-rule{min-width:0;margin:14px 0;padding:10px;border:1px solid #baa06f;border-radius:10px;background:#fff9e6}.dev-bulk-rule legend{font-weight:bold;color:#385638;padding:0 8px}@media(min-width:760px){.dev-calendar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.dev-audience-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dev-audience-cards .dev-list-card{margin:0;padding:9px}.dev-audience-cards meter{width:100%;height:16px}.dev-media-news{background:#fff0bc;border-left:4px solid #b68a36;padding:10px;margin:10px 0;font-weight:bold;font-size:13px}.dev-footer{flex-wrap:wrap}.dev-footer button{padding-inline:9px}.dev-footer .primary{min-width:30%}
.dev-tabs.dev-tabs-with-trial{grid-template-columns:repeat(5,minmax(0,1fr))}
