body:has(.map-launcher){background:var(--night-0);height:100dvh;overflow:hidden}.map-launcher{--edge:14px;color:var(--text);font-family:var(--font-ui);font-size:14px;position:fixed;inset:0}.map-launcher [hidden]{display:none!important}.map-launcher .hud-button:not(:has(.pixel-icon)){padding:0 16px}.launcher-stage{background:var(--night-0);position:absolute;inset:0}.map-preview{touch-action:none;position:absolute;inset:0;overflow:hidden}.map-preview-scene{position:absolute;inset:0}.map-preview svg.map-loading{visibility:hidden}.map-preview svg{width:100%;height:100%;display:block}.map-preview .map-zoom{top:calc(var(--edge) + 72px);right:var(--edge);border-color:var(--hud-line);box-shadow:var(--hud-shadow);bottom:auto;left:auto}.preview-cover{filter:blur(16px);pointer-events:none;background:50%/cover no-repeat;transition:opacity .6s;position:absolute;inset:-28px}.preview-cover.is-leaving{opacity:0}.launcher-shade{pointer-events:none;background:linear-gradient(#0c100e5c,#0000 17%),linear-gradient(#0000 42%,#0c100e57 73%,#0c100ead);position:absolute;inset:0}.preview-state{z-index:5;background:var(--toast-bg);max-width:min(520px,100% - 48px);color:var(--toast-ink);text-align:center;pointer-events:none;border-radius:18px;padding:7px 16px;font-size:13px;line-height:1.5;position:absolute;top:40%;left:50%;transform:translate(-50%,-50%)}.preview-retry{z-index:5;height:44px;position:absolute;top:calc(40% + 30px);left:50%;transform:translate(-50%)}.launcher-top{top:max(var(--edge), env(safe-area-inset-top));right:max(var(--edge), env(safe-area-inset-right));left:max(var(--edge), env(safe-area-inset-left));z-index:7;pointer-events:none;justify-content:space-between;align-items:flex-start;gap:12px;display:flex;position:absolute}.launcher-brand{color:#fff;letter-spacing:.03em;text-shadow:0 2px 10px #0a0e0c8c;flex:none;align-items:center;gap:12px;height:58px;padding-left:4px;font-size:22px;font-weight:700;display:flex}.launcher-mark{width:44px;height:44px;box-shadow:var(--hud-shadow);border-radius:10px;display:block}.launcher-corner{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.launcher-corner>*{pointer-events:auto}.preview-scenic:disabled{opacity:.6}.launcher-notes{top:calc(max(var(--edge), env(safe-area-inset-top)) + 72px);left:max(var(--edge), env(safe-area-inset-left));z-index:6;width:min(340px, calc(100% - var(--edge) * 2));gap:10px;display:grid;position:absolute}.launcher-notes .model-prompt{border-color:var(--hud-line);background:var(--surface);box-shadow:var(--hud-shadow);margin:0}.launcher-intro{border-radius:var(--r-m);color:#fff;box-shadow:var(--elev-3);background:#262b28;padding:12px 14px 8px;font-size:14px;line-height:1.55}.launcher-intro p{margin:0}.launcher-intro div{justify-content:space-between;align-items:center;gap:16px;margin-top:6px;display:flex}.launcher-intro small{color:#ffffff8c;font-size:12px}.launcher-intro button{color:#9fd6bd;background:0 0;border:0;min-height:32px;padding:0 2px;font-weight:600}.launcher-bottom{z-index:6;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:absolute;bottom:0;left:0;right:0}.launcher-lockup{padding:0 max(28px, env(safe-area-inset-right)) 0 max(28px, env(safe-area-inset-left));justify-items:start;display:grid}.launcher-eyebrow{border-radius:var(--r-pill);background:var(--toast-bg);color:var(--toast-ink);margin:0 0 12px;padding:4px 12px;font-size:13px}.launcher-lockup:has(.map-detail:not([hidden])) .launcher-eyebrow{display:none}.map-detail{max-width:min(640px,100%)}#selected-map-name{color:#fff;letter-spacing:.02em;overflow-wrap:anywhere;-webkit-text-stroke:5px #181e1b5c;paint-order:stroke fill;text-shadow:0 3px 16px #0a0e0c80;margin:0 0 8px;font-size:clamp(34px,3.7vw,52px);font-weight:700;line-height:1.16}#selected-map-description{color:#fffffff2;text-shadow:0 1px 8px #0a0e0cbf;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;max-width:600px;margin:0 0 18px;font-size:15px;line-height:24px;display:-webkit-box;overflow:hidden}.launcher-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.launcher-actions>*{pointer-events:auto}.launcher-clock{padding-left:8px}.clock-weather{background:var(--surface-sunken);border-radius:9px;flex:none;place-items:center;width:42px;height:42px;display:grid}#town-clock-time{font-variant-numeric:tabular-nums;letter-spacing:.02em}#town-clock-period{color:var(--text-2);font-size:12px;font-weight:500}.launcher-residents{gap:10px;margin-top:10px;display:flex}.launcher-residents figure{justify-items:center;gap:5px;width:60px;margin:0;display:grid}.launcher-residents .resident-slot{border:1px solid var(--hud-line);border-radius:var(--r-m);background:var(--accent-soft);width:56px;height:56px;box-shadow:var(--hud-shadow);place-items:center;display:grid}.launcher-residents img{width:46px;height:46px;image-rendering:pixelated;display:block}.launcher-residents figcaption,.launcher-residents .resident-more{border-radius:var(--r-pill);background:var(--toast-bg);max-width:100%;color:var(--toast-ink);white-space:nowrap;text-overflow:ellipsis;padding:1px 7px;font-size:12px;line-height:18px;overflow:hidden}.launcher-residents .resident-more{align-self:start;margin-top:18px}.enter-game{background:var(--accent-fill);height:58px;color:var(--on-accent);box-shadow:var(--hud-shadow);white-space:nowrap;border:0;border-radius:12px;align-items:center;gap:10px;padding:0 26px 0 13px;font-size:18px;font-weight:700;display:flex}.enter-game:hover:not(:disabled){background:var(--accent-strong)}.enter-game:disabled{opacity:.6;cursor:default}.launcher-status{color:#ffffffe6;overflow-wrap:anywhere;text-shadow:0 1px 6px #0a0e0cbf;pointer-events:none;align-items:center;gap:10px;max-width:260px;margin-left:8px;font-size:12.5px;line-height:1.5;display:flex}#pause-retry{pointer-events:auto;flex:none;min-height:32px}.town-actions{flex:none;position:relative}.town-actions summary{border:1px solid var(--hud-line);background:var(--surface);width:58px;height:58px;color:var(--text);box-shadow:var(--hud-shadow);cursor:pointer;border-radius:12px;place-items:center;list-style:none;display:grid}.town-actions summary::-webkit-details-marker{display:none}.town-actions summary:hover{background:var(--surface-sunken)}.town-actions[open] summary{border-color:var(--accent);background:var(--accent-soft)}.town-actions-menu{z-index:5;border:1px solid var(--hud-line);background:var(--surface);min-width:200px;box-shadow:var(--hud-shadow-big);border-radius:14px;flex-direction:column;padding:6px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0}.town-actions-menu button{text-align:left;background:0 0;border:0;border-radius:8px;min-height:40px;padding:0 12px}.town-actions-menu button:hover:not(:disabled){background:var(--surface-sunken)}.town-actions-menu .delete-town{color:var(--danger)}.launcher-strip{padding:16px max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));overscroll-behavior-x:contain;scrollbar-width:none;pointer-events:auto;align-items:flex-end;gap:18px;scroll-padding:0 150px 0 24px;display:flex;overflow-x:auto}.launcher-strip::-webkit-scrollbar{display:none}.map-list{flex:none;align-items:flex-end;gap:18px;display:flex}.map-group{flex:none;gap:18px;display:grid}.map-group-name{color:#ffffffeb;text-shadow:0 1px 6px #0a0e0cbf;padding-left:2px;font-size:12px;line-height:16px}.map-group-cards{align-items:flex-end;gap:10px;display:flex}.map-option{border:1px solid var(--hud-line);background:var(--surface);width:146px;box-shadow:var(--hud-shadow);text-align:left;transition:transform .14s var(--ease), box-shadow .14s var(--ease);border-radius:12px;flex:none;padding:5px 5px 8px;display:block}.map-option:hover:not(:disabled){border-color:var(--hud-line);background:var(--surface);transform:translateY(-5px)}.map-option[aria-pressed=true],.map-option[aria-pressed=true]:hover{box-shadow:0 0 0 3px var(--accent-fill), 0 12px 26px #14181657;transform:translateY(-12px)}.map-cover{background:var(--surface-sunken);border-radius:8px;place-items:center;height:80px;display:grid;overflow:hidden}.map-cover img:not(.pixel-icon){object-fit:cover;width:100%;height:100%;display:block}.map-option strong{white-space:nowrap;text-overflow:ellipsis;margin:7px 3px 0;font-size:14px;font-weight:600;line-height:18px;display:block;overflow:hidden}.map-option-status{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;margin:1px 3px 0;font-size:12px;line-height:16px;display:block;overflow:hidden}.launcher-empty{color:#fff;text-shadow:0 1px 6px #0a0e0cbf;margin:0;padding:16px 4px}.create-town-slot{flex:none;position:sticky;right:0}.launcher-strip .create-town-button{background:var(--surface);width:100px;height:137px;min-height:0;color:var(--text);box-shadow:var(--hud-shadow);border:1.5px dashed #1f242152;border-radius:12px;align-content:center;place-items:center;gap:8px;padding:0;font-size:13px;font-weight:600;display:grid}.launcher-strip .create-town-button:hover{border-color:var(--accent);color:var(--accent)}.map-launcher.is-entering :is(.launcher-top,.launcher-notes,.launcher-strip,.map-detail,.launcher-eyebrow,.town-actions,.launcher-status,.launcher-clock:not(.is-flying),.enter-game:not(.is-flying),.launcher-residents:not(.is-flying)),.map-launcher.is-entering .map-preview .map-zoom{opacity:0;pointer-events:none;transition:opacity .35s var(--ease), transform .5s cubic-bezier(.6, 0, .2, 1)}.map-launcher.is-entering .launcher-strip{transform:translateY(40%)}.map-launcher.is-entering .launcher-top{transform:translateY(-16px)}.map-launcher.is-entering .map-detail{transform:translate(-24px)}.map-launcher.is-entering .launcher-shade{opacity:0;transition:opacity .9s var(--ease)}.is-flying{transition:left .7s cubic-bezier(.6,0,.2,1),top .7s cubic-bezier(.6,0,.2,1),width .7s cubic-bezier(.6,0,.2,1)}.enter-game.is-flying{opacity:1;overflow:hidden}.enter-game.is-flying span{opacity:0;transition:opacity .2s var(--ease)}.map-launcher.is-scenic :is(.launcher-bottom,.launcher-notes){display:none}.map-launcher.is-scenic .launcher-shade{background:linear-gradient(#0c100e4d,#0000 15%),linear-gradient(#0000 78%,#0c100e57)}.scenery-bar{left:50%;bottom:max(24px, calc(env(safe-area-inset-bottom) + 12px));z-index:6;border:1px solid var(--hud-line);background:var(--surface);width:max-content;max-width:calc(100% - 32px);box-shadow:var(--hud-shadow);-webkit-user-select:none;user-select:none;border-radius:12px;align-items:center;gap:16px;padding:10px 16px;display:flex;position:absolute;transform:translate(-50%)}.scenery-bar button{background:0 0;border:1px solid #0000;border-radius:8px;flex:none;place-items:center;width:40px;height:40px;padding:0;display:grid}.scenery-bar .scenery-play{background:var(--accent-fill)}.scenery-bar .scenery-play:hover{background:var(--accent-strong)}.scenery-bar .scenery-play.is-playing{border-color:var(--line);background:var(--surface-sunken)}.scenery-track{cursor:pointer;touch-action:none;border-radius:6px;flex:0 auto;width:440px;min-width:200px;height:46px;position:relative}.scenery-track:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.scenery-band{outline-offset:-1px;border-radius:6px;outline:1px solid #1f242124;width:100%;height:12px;position:absolute;top:12px;left:0}.scenery-thumb{filter:drop-shadow(0 1px 2px #00000059);pointer-events:none;margin-left:-16px;position:absolute;top:2px}.scenery-tick{color:var(--text-3);font-variant-numeric:tabular-nums;pointer-events:none;font-size:11px;line-height:1;position:absolute;top:31px;transform:translate(-50%)}.scenery-readout{flex:none;gap:3px;width:96px;line-height:1.2;display:grid}.scenery-readout b{font-variant-numeric:tabular-nums;font-size:19px;font-weight:700}.scenery-readout small{color:var(--text-2);white-space:nowrap;font-size:12px}.scenery-separator{background:var(--line);flex:none;width:1px;height:32px}.scenery-weather{gap:4px;display:flex}.scenery-weather button:hover{background:var(--surface-sunken)}.scenery-weather button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}@media (width<=859px){.scenery-bar{right:max(12px, env(safe-area-inset-right));bottom:max(12px, calc(env(safe-area-inset-bottom) + 8px));left:max(12px, env(safe-area-inset-left));flex-wrap:wrap;gap:8px 12px;width:auto;max-width:none;padding:10px 12px;transform:none}.scenery-track{flex:1 1 0;width:auto;min-width:0}.scenery-readout{width:76px}.scenery-readout b{font-size:17px}.scenery-separator{display:none}.scenery-weather{flex-basis:100%;justify-content:space-between}}[data-input=touch] .scenery-bar button{width:44px;height:44px}.map-launcher.is-bare :is(.launcher-top,.scenery-bar,.launcher-shade),.map-launcher.is-bare .map-preview .map-zoom{display:none}.scenic-show{top:max(var(--edge), env(safe-area-inset-top));left:max(var(--edge), env(safe-area-inset-left));z-index:6;transition:opacity .6s;position:absolute}.scenic-show.is-idle{opacity:0}@media (width<=1023px){.map-option{width:128px}.map-cover{height:70px}.launcher-strip .create-town-button{width:92px;height:127px}}@media (width<=719px){.map-launcher{--edge:12px}.launcher-brand{gap:9px;height:46px;font-size:18px}.launcher-mark{border-radius:8px;width:34px;height:34px}.launcher-corner .hud-button{border-radius:11px;height:46px;padding:0 12px;font-size:13px}.launcher-corner .hud-button:has(.pixel-icon){justify-content:center;width:46px;padding:0}.launcher-corner .hud-button:has(.pixel-icon)>:not(.pixel-icon){display:none}#launcher-music-toggle[aria-pressed=false] .pixel-icon{opacity:.35}.launcher-notes{top:calc(max(var(--edge), env(safe-area-inset-top)) + 56px)}.launcher-notes:has(.model-prompt:not([hidden])) .launcher-intro{display:none}.launcher-shade{background:linear-gradient(#0c100e6b,#0000 20%),linear-gradient(#0000 34%,#0c100e80 62%,#0c100ed1)}.launcher-bottom{padding-bottom:max(18px, env(safe-area-inset-bottom));gap:0}.launcher-lockup{display:contents}.launcher-bottom>.launcher-strip{order:2}.launcher-eyebrow,.map-detail,.launcher-actions{margin-right:var(--edge);margin-left:var(--edge)}.launcher-eyebrow{align-self:flex-start}.launcher-actions{flex-wrap:nowrap;order:3}:is(.launcher-actions:has(#pause-status:not(:empty)),.launcher-actions:has(#pause-retry:not([hidden]))){flex-wrap:wrap}.launcher-status{flex-basis:100%;order:-1;max-width:none;margin:0 0 2px}.launcher-status:not(:has(#pause-status:not(:empty),#pause-retry:not([hidden]))){display:none}.launcher-residents{margin:10px var(--edge) 0;gap:8px}.launcher-residents figure{width:52px}.launcher-residents .resident-slot{width:50px;height:50px}.launcher-residents figcaption,.launcher-residents .resident-more{font-size:11px}.launcher-residents .resident-more{margin-top:15px}.launcher-clock{gap:8px;height:54px;padding:0 12px 0 6px}.launcher-clock .hud-time>b{font-size:18px;line-height:21px}.clock-weather{width:40px;height:40px}#town-clock-name{display:none}#selected-map-name{-webkit-text-stroke-width:4px;margin-bottom:6px;font-size:32px}#selected-map-description{margin-bottom:0;font-size:13px;line-height:20px}.enter-game{flex:1;justify-content:center;min-width:0;height:54px;padding:0 12px}.launcher-actions>:is(.launcher-clock,.town-actions){flex:none}.town-actions summary{width:54px;height:54px}.town-actions-menu{left:auto;right:0}.launcher-strip{padding:14px var(--edge) 12px;gap:12px}.map-list,.map-group{gap:12px}.map-group-cards{gap:8px}.map-option{border-radius:11px;width:118px;padding:4px 4px 7px}.map-option[aria-pressed=true],.map-option[aria-pressed=true]:hover{transform:translateY(-8px)}.map-cover{border-radius:7px;height:64px}.map-option strong{margin-top:6px;font-size:13px}.map-option-status{font-size:11px}.create-town-slot{position:static}.launcher-strip{scroll-padding:0 12px}.launcher-strip .create-town-button{width:84px;height:117px}}@media (prefers-reduced-motion:reduce){.scenic-show,.preview-cover,.map-option,.is-flying,.map-launcher.is-entering *{transition:none}}:root{--ui-stage:var(--surface-page);--ui-panel:var(--surface);--ui-panel-solid:var(--surface);--ui-fill:#1f24210a;--ui-fill-strong:#1f242114;--ui-line:var(--line);--ui-line-strong:#cfcdc4;--ui-ink:var(--text);--ui-ink-soft:var(--text-2);--ui-ink-muted:var(--text-3);--ui-accent:var(--accent);--ui-accent-fill:var(--accent-fill);--ui-accent-hover:var(--accent-strong);--ui-accent-ink:var(--on-accent);--ui-accent-soft:var(--accent-soft);--ui-danger:var(--danger);--ui-font:var(--font-ui);--ui-display:var(--font-ui);--ui-radius:var(--r-m)}.create-town-button{border-radius:var(--ui-radius);background:var(--ui-accent-fill);min-height:44px;color:var(--ui-accent-ink);font-family:var(--ui-font);cursor:pointer;border:0;padding:0 20px;font-weight:700}.town-creator{--panel-width:480px;--gap:24px;z-index:1000;background:var(--ui-stage);color:var(--ui-ink);font-family:var(--ui-font);font-size:14px;position:fixed;inset:0;overflow:hidden}.town-creator[hidden],.town-creator [hidden]{display:none!important}.town-creator *,.town-creator :before,.town-creator :after{box-sizing:border-box}:where(.town-creator) button{border:1px solid var(--ui-line-strong);min-height:40px;color:var(--ui-ink);font:inherit;cursor:pointer;background:0 0;border-radius:10px;padding:0 14px}:where(.town-creator) button:hover:not(:disabled){border-color:var(--ui-accent)}:where(.town-creator) button:disabled{opacity:.45;cursor:not-allowed}:where(.town-creator) :is(input,textarea){border:1px solid var(--ui-line-strong);background:var(--surface);width:100%;color:var(--ui-ink);font:inherit;border-radius:10px;padding:10px 12px;font-size:15px;font-weight:400}:where(.town-creator) :is(input,textarea):focus{border-color:var(--ui-accent);outline:none}.town-creator :is(button,summary,input,textarea):focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.creator-visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.creator-hint{color:var(--ui-ink-muted);margin:0;font-size:13px;line-height:1.6}.creator-stage{position:absolute;inset:0}.creator-preview{inset:0 0 0 calc(var(--panel-width) + var(--gap) * 2);background-color:var(--ui-stage);background-image:linear-gradient(var(--ui-fill) 1px, transparent 1px), linear-gradient(90deg, var(--ui-fill) 1px, transparent 1px);background-size:48px 48px;position:absolute;overflow:hidden}.creator-preview svg,.creator-preview canvas{touch-action:none;width:100%;height:100%;display:block}.generated-town-preview-host{width:100%;height:100%}.creator-placeholder{color:var(--ui-ink);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:24px;font-size:20px;font-weight:600;display:flex;position:absolute;inset:0}.creator-placeholder>span{color:var(--ui-accent);font-size:40px;font-weight:400}.creator-placeholder small{color:var(--ui-ink-muted);font-size:15px;font-weight:400}.creator-preview-switch{z-index:12;border:1px solid var(--ui-line);background:var(--ui-panel);border-radius:12px;gap:4px;padding:4px;display:flex;position:absolute;top:16px;left:16px}.creator-preview-switch button{border:0;min-height:36px;font-size:14px}.creator-preview-switch button[aria-pressed=true]{background:var(--ui-accent-fill);color:var(--ui-accent-ink)}.town-creator[data-mode=language] .creator-basic-grid,.town-creator[data-mode=language][data-creator-step=basics] .creator-step{display:none}.creator-result{border-radius:var(--ui-radius);background:var(--ui-fill);color:var(--ui-ink-soft);flex-direction:column;gap:16px;margin:4px 0;padding:16px 12px;font-size:13px;line-height:1.6;display:flex}.creator-refine{border-top:1px solid var(--ui-line);flex-direction:column;gap:8px;padding-top:14px;display:flex}.creator-refine label{color:var(--ui-ink);font-size:14px;font-weight:600}.creator-refine textarea{resize:vertical;line-height:1.6}.creator-refine-actions{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.town-creator #refine-town{border-color:var(--ui-accent);color:var(--ui-accent);font-weight:600}.town-creator .creator-link{min-height:32px;color:var(--ui-accent);border:0;align-self:flex-start;padding:0;font-size:14px}.town-creator .creator-link:hover:not(:disabled){text-decoration:underline}.creator-examples{flex-wrap:wrap;gap:6px;display:flex}.town-creator .creator-examples button{border-color:var(--ui-line-strong);min-height:32px;color:var(--ui-ink-soft);border-radius:16px;padding:0 12px;font-size:13px}.creator-draft-name{color:var(--ui-ink-soft);flex-direction:column;gap:6px;margin-bottom:10px;font-size:13px;font-weight:600;display:flex}.town-creator .creator-draft-name input{font-size:16px;font-weight:600}.creator-model-line{color:var(--ui-ink-muted);flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:13px;line-height:1.6;display:flex}.creator-model-line:empty{display:none}.town-creator .creator-model-line button{border-color:var(--ui-accent);min-height:34px;color:var(--ui-accent);font-weight:600}.creator-plan{overflow-wrap:anywhere;flex-direction:column;gap:14px;display:flex}.creator-plan-section{flex-direction:column;gap:6px;display:flex}.creator-plan-section h3{color:var(--ui-ink-muted);letter-spacing:.04em;margin:0;font-size:12px;font-weight:600}.creator-plan-section p,.creator-plan-section ul{color:var(--ui-ink-soft);margin:0}.creator-plan-section ul{flex-direction:column;gap:4px;padding-left:18px;display:flex}.creator-plan-section .creator-hint{font-size:12px}.creator-plan-section .creator-mapping{padding-left:0;list-style:none}.creator-mapping li{color:var(--ui-ink);grid-template-columns:minmax(0,5em) 1.2em minmax(0,1fr);gap:6px;display:grid}.creator-mapping b{font-weight:600}.creator-mapping i{color:var(--ui-ink-muted);font-style:normal}.creator-mapping small{color:var(--ui-ink-muted);font-size:12px;display:block}.creator-mapping .creator-missing{color:var(--ui-ink-muted)}.creator-panel{top:var(--gap);bottom:var(--gap);left:var(--gap);width:var(--panel-width);border:1px solid var(--ui-line);background:var(--ui-panel);box-shadow:var(--hud-shadow-big);border-radius:16px;flex-direction:column;display:flex;position:absolute;overflow:hidden}.creator-heading{flex-direction:column;flex:none;gap:10px;padding:18px 24px 12px;display:flex}.town-creator .creator-back{min-height:32px;color:var(--ui-ink-soft);border:0;align-self:flex-start;padding:0;font-size:14px}.town-creator .creator-back:hover:not(:disabled){color:var(--ui-ink)}.creator-title-block h1{font:600 22px/1.3 var(--ui-font);margin:0}.creator-title-block p{color:var(--ui-ink-muted);margin:4px 0 0;font-size:14px;line-height:1.6}.creator-heading-actions:empty{display:none}.creator-main{flex:1;min-height:0;padding:0 12px 12px;overflow-y:auto}.creator-before-form:empty{display:none}.layout-stage{border:0;min-width:0;margin:0;padding:0}.town-creator .creator-step{text-align:left;border:0;align-items:center;gap:12px;width:100%;min-height:48px;padding:0 12px;display:flex}.town-creator .creator-step:hover:not(:disabled){background:var(--ui-fill)}.creator-step>span,.creator-panel-heading span{border-radius:13px;flex:none;place-items:center;width:26px;height:26px;font-size:13px;font-weight:700;display:grid}.creator-step>span{background:var(--ui-fill-strong);color:var(--ui-ink-muted)}.creator-step>strong{flex:none;width:44px;font-size:15px;font-weight:600}.creator-step>small{min-width:0;color:var(--ui-ink-muted);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.creator-step:not(.is-done)>strong{color:var(--ui-ink-muted)}.creator-step.is-done>span{background:var(--ui-accent-soft);color:#0000;position:relative}.creator-step.is-done>span:after{content:"✓";color:var(--ui-accent);place-items:center;display:grid;position:absolute;inset:0}.creator-step.is-done>small{color:var(--ui-ink-soft)}.creator-step-panel{border-radius:var(--ui-radius);background:var(--ui-fill);flex-direction:column;gap:16px;margin:4px 0;padding:16px 12px;display:flex}.creator-panel-heading{flex-direction:column;gap:6px;display:flex}.creator-panel-heading>div{align-items:center;gap:12px;display:flex}.creator-panel-heading span{background:var(--ui-accent-fill);color:var(--ui-accent-ink)}.creator-panel-heading h2{margin:0;font-size:17px;font-weight:600}.creator-panel-heading p{color:var(--ui-ink-soft);margin:0 0 0 38px;font-size:14px;line-height:1.6}.creator-setting-block,.creator-view-options,.creator-environment-grid,.creator-basic-grid,.creator-language{flex-direction:column;gap:10px;margin:0;display:flex}.creator-environment-grid,.creator-basic-grid{gap:16px}.creator-setting-block h3,.creator-view-options h3,.creator-section-title{color:var(--ui-ink-soft);margin:0;font-size:14px;font-weight:600}.creator-before-form section{flex-direction:column;gap:10px;display:flex}.creator-name-field,.creator-language label{color:var(--ui-ink-soft);flex-direction:column;gap:8px;font-size:14px;font-weight:600;display:flex}.creator-language textarea{resize:vertical;font-size:16px;line-height:1.6}.creator-choice-cards,.creator-style-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.creator-view-cards,.creator-landform-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.town-creator :is(.creator-choice-cards,.creator-style-cards) button{border-color:var(--ui-line);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:56px;padding:10px 8px;font-size:14px;display:flex}.town-creator :is(.creator-view-cards,.creator-landform-cards,.creator-style-cards) button{text-align:left;align-items:flex-start;padding:12px}.town-creator :is(.creator-choice-cards,.creator-style-cards) button[aria-pressed=true]{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.town-creator :is(.creator-choice-cards,.creator-style-cards) strong{font-size:15px;font-weight:600}.town-creator :is(.creator-choice-cards,.creator-style-cards) small{color:var(--ui-ink-muted);font-size:13px;line-height:1.4}.creator-choice-cards button>span{color:var(--ui-ink-soft);gap:2px;display:flex}.creator-choice-cards button[aria-pressed=true]>span{color:var(--ui-accent)}.creator-choice-cards svg{width:20px;height:20px}.style-scene{background:var(--style-swatch);border-radius:8px;place-items:center;width:100%;height:44px;font-size:18px;display:grid}.creator-capacity{background:var(--ui-fill-strong);border-radius:10px;flex-direction:column;gap:6px;padding:12px;display:flex}.creator-capacity:empty{display:none}.creator-capacity-header{color:var(--ui-ink-soft);justify-content:space-between;align-items:baseline;font-size:13px;display:flex}.creator-capacity-header strong{color:var(--ui-ink);font-size:16px}.creator-capacity[data-state=near] .creator-capacity-header strong{color:var(--ui-accent)}.creator-capacity[data-state=full] .creator-capacity-header strong{color:var(--ui-danger)}.creator-capacity-track{background:var(--ui-fill-strong);border-radius:3px;height:6px;overflow:hidden}.creator-capacity-track i{background:var(--ui-accent);border-radius:3px;height:100%;display:block}.creator-capacity[data-state=full] .creator-capacity-track i{background:var(--ui-danger)}.creator-capacity small{color:var(--ui-ink-muted);font-size:13px;line-height:1.5}.creator-place-filters{flex-wrap:wrap;gap:6px;display:flex}.town-creator .creator-place-filters button{border-color:var(--ui-line-strong);min-height:34px;color:var(--ui-ink-soft);border-radius:17px;padding:0 12px}.town-creator .creator-place-filters button[aria-selected=true]{border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-ink)}.creator-place-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.creator-place-grid:empty{display:none}.creator-place-heading{grid-column:1/-1;align-items:baseline;gap:8px;display:flex}.creator-place-heading h4{margin:0;font-size:14px;font-weight:600}.creator-place-heading small{color:var(--ui-ink-muted);font-size:13px}.town-creator .creator-place-card{border-color:var(--ui-line);background:var(--surface);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:84px;padding:10px 6px;display:flex;position:relative}.creator-place-card svg{width:24px;height:24px;color:var(--ui-ink-soft)}.creator-place-card>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:14px;font-weight:600;overflow:hidden}.creator-place-card>b{background:var(--ui-accent-fill);min-width:22px;height:22px;color:var(--ui-accent-ink);border-radius:11px;place-items:center;padding:0 6px;font-size:12px;display:grid;position:absolute;top:6px;right:6px}.creator-place-limit{color:var(--ui-ink-muted);font-size:12px}.town-creator .creator-place-card.has-places{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.creator-place-card.has-places svg{color:var(--ui-accent)}.creator-selected-heading{color:var(--ui-ink-soft);justify-content:space-between;align-items:center;font-size:13px;display:flex}.town-creator #clear-places{min-height:32px;color:var(--ui-accent);border:0;padding:0 8px}.creator-selected{color:var(--ui-ink-muted);flex-wrap:wrap;gap:8px;font-size:14px;display:flex}.creator-place-token{background:var(--ui-fill-strong);height:32px;color:var(--ui-ink);border-radius:16px;align-items:center;gap:6px;padding:0 4px 0 12px;display:flex}.town-creator .creator-place-token button{background:var(--ui-fill-strong);width:24px;height:24px;min-height:24px;color:var(--ui-ink-soft);border:0;border-radius:12px;place-items:center;padding:0;display:grid}.creator-single-area{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.creator-choice-cards .creator-hard{color:var(--orange-300);margin-top:2px;font-size:11px;font-weight:600;display:block}.creator-effect{margin-top:8px}.creator-footer{padding:14px 24px max(20px, env(safe-area-inset-bottom));border-top:1px solid var(--ui-line);flex-direction:column;flex:none;gap:12px;display:flex}#creator-status{color:var(--ui-ink-soft);margin:0;font-size:14px;line-height:1.5}.generation-progress{flex-direction:column;gap:6px;margin-top:8px;display:flex}.generation-progress progress{appearance:none;background:var(--ui-fill-strong);border:0;border-radius:3px;width:100%;height:6px}.generation-progress progress::-webkit-progress-bar{background:var(--ui-fill-strong);border-radius:3px}.generation-progress progress::-webkit-progress-value{background:var(--ui-accent);border-radius:3px}.generation-progress small{color:var(--ui-ink-muted);font-size:13px}.creator-footer-actions{flex-wrap:wrap;gap:8px;display:flex}.town-creator .creator-footer-actions button{min-height:48px;font-size:15px}.town-creator .creator-primary{background:var(--ui-accent-fill);color:var(--ui-accent-ink);border:0;flex:1;font-size:16px;font-weight:700}.town-creator .creator-primary:hover:not(:disabled){background:var(--ui-accent-hover)}@media (width<=860px){.town-creator{flex-direction:column;gap:16px;padding:16px 16px 0;display:flex;overflow-y:auto}.creator-panel,.creator-stage{display:contents}.creator-heading{order:1;padding:0}.creator-preview{border-radius:16px;flex:none;order:3;height:min(62vh,520px);position:relative;inset:auto}.town-creator:not([data-creator-step=preview]) .creator-preview{display:none}.creator-main{display:contents}.creator-before-form,.creator-form{flex:none;order:2}.creator-result{flex:none;order:4;margin:0}.creator-footer{z-index:2;padding:12px 16px max(12px, env(safe-area-inset-bottom));background:var(--ui-panel);order:5;margin:auto -16px 0;position:sticky;bottom:0;box-shadow:0 -6px 20px #1418161a}.typing .creator-footer{display:none}#creator-status{font-size:13px}.town-creator .creator-footer-actions button{white-space:nowrap;flex:1 1 0;min-height:44px}.town-creator .creator-footer-actions .creator-primary{flex-basis:100%;order:-1}}.creator-planning:empty{display:none}@media (height<=760px) and (width>=861px){.creator-title-block p{display:none}}.launcher-settings{position:relative}.launcher-settings.has-dot:after{content:"";background:var(--accent);width:8px;height:8px;box-shadow:0 0 0 2px var(--surface);border-radius:50%;position:absolute;top:7px;right:7px}.model-line{border-radius:var(--r-pill);background:var(--toast-bg);max-width:100%;min-height:30px;color:var(--toast-ink);text-align:left;border:0;justify-self:start;align-items:center;gap:8px;padding:0 12px;font-size:13px;display:flex}button.model-line:hover:not(:disabled){background:#1f2421f2}.model-line[hidden]{display:none}.model-line>i{background:var(--orange-300);border-radius:50%;flex:none;width:8px;height:8px}.model-line.ok>i{background:var(--leaf-300)}.model-line>b{color:#9fd6bd;align-items:center;font-weight:600;display:flex}.model-line .game-icon{width:16px;height:16px;transform:rotate(-90deg)}.home-settings{border:1px solid var(--line);border-radius:var(--r-m);background:var(--surface-page);width:min(620px,100% - 48px);max-width:none;max-height:min(86vh,880px);color:var(--text);box-shadow:var(--elev-3);padding:0;overflow:hidden}.home-settings[open]{flex-direction:column;display:flex}.home-settings::backdrop{background:#14181666}.hs-head{border-bottom:1px solid var(--line);background:var(--surface);flex:none;align-items:center;gap:6px;min-height:52px;padding:6px 10px;display:flex}.hs-head h1{margin:0;font-size:17px;font-weight:600}.hs-head button.hs-back{width:40px;min-height:40px;color:var(--text-2);background:0 0;border-color:#0000;place-items:center;padding:0;display:grid}.hs-back .game-icon{width:20px;height:20px}.hs-body{overscroll-behavior:contain;flex:auto;min-height:0;padding:6px 20px 28px;overflow:auto}.hs-body .spage{padding:14px 0 6px}.hs-body .set-rows{max-width:none}.hs-body .set-row.connected .set-row-desc{color:var(--ok)}.hs-body .set-row-label .ui-chip{margin-left:6px}.hs-note{color:var(--text-3);margin:10px 0 0;font-size:12px;line-height:1.6}@media (width<=719px){.home-settings{border:0;border-radius:0;width:100%;height:100dvh;max-height:none;margin:0}.hs-body{padding:4px 16px 32px}}
