:root{color-scheme:dark;font-family:'DM Sans',Arial,sans-serif;color:#f6f7fd;background:#262d38;font-synthesis:none;--border:rgba(210,220,240,.2)}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #ffb18b;outline-offset:5px}button:disabled{cursor:default}#app{height:100svh;min-height:540px;position:relative;isolation:isolate;overflow:hidden;user-select:none}#world{position:absolute;inset:0;z-index:-3}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.vignette{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#141b2766,transparent 24%,transparent 70%,#10161f99),radial-gradient(ellipse at 50% 45%,transparent 45%,#121822aa)}header{position:absolute;top:26px;left:34px;right:32px;display:flex;justify-content:space-between;align-items:flex-start;text-shadow:0 1px 10px #0a0f1899}.brand{display:flex;align-items:flex-start;gap:22px;text-decoration:none;color:inherit;font-size:42px;font-weight:600;line-height:1.05;letter-spacing:-1.2px}.brand small{display:block;font-size:15px;font-weight:400;letter-spacing:0;margin-top:9px;color:#e4e7ee}.brand-icon{flex:none;width:52px;height:52px;border-radius:13px;background:#030303;border:1px solid #ffffff24;overflow:hidden;box-shadow:0 8px 28px #0008}.brand-icon img{display:block;width:100%;height:100%;object-fit:contain;transform:none}.navigation{display:flex;gap:30px;align-items:center}.navigation button{display:flex;align-items:center;gap:14px;border:1px solid #ffffff33;background:#1c222c55;border-radius:30px;padding:13px 26px;font-size:18px;font-weight:500;backdrop-filter:blur(12px);transition:background .2s}.navigation button:hover{background:#ffffff25}.navigation button span{font-size:23px;line-height:1}#district-no{font-size:17px;white-space:nowrap;min-width:38px;text-align:center}#tabs{position:absolute;left:98px;top:118px;display:flex;flex-wrap:wrap;gap:2px 4px;width:min(560px,calc(100vw - 560px))}#tabs button{font-size:11px;color:#d4dce590;border:0;background:transparent;padding:5px 10px;border-radius:20px;text-shadow:0 1px 10px #0a0f1899}#tabs button:hover{color:#fff}#tabs button[aria-selected=true]{background:#ffffff18;color:#f4f5f8}.store-tag{position:absolute;padding:5px 9px 6px;max-width:270px;border:1px solid #ffffff1c;border-radius:8px;background:#3a414d80;backdrop-filter:blur(6px);white-space:nowrap;pointer-events:none;opacity:.7;transition:opacity .4s}.store-tag b{display:block;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis}.store-tag span{display:block;font-size:10px;color:#cfd5de;margin-top:1px}.details{position:absolute;left:31px;bottom:48px;width:520px;max-width:calc(100vw - 62px);padding:18px 20px 16px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(135deg,#2a3240b8,#3c4250a0);backdrop-filter:blur(16px);box-shadow:0 14px 50px #0b101a55;transition:opacity .2s}.model-line{display:flex;align-items:center;gap:12px;min-width:0}.model-line>div{flex:1;min-width:0}#lab-line{display:block;font-size:11px;letter-spacing:.4px;color:#c3cad6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}h1{font-size:20px;letter-spacing:-.3px;margin:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#lab-mark{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fbf7f1;box-shadow:0 0 0 3px #ffffff22;overflow:hidden}#lab-mark img{width:28px;height:28px;border-radius:7px;object-fit:contain}.badge{font-size:14px;border:1px solid #ffffff38;border-radius:20px;padding:3px 11px;background:#ffffff14;color:#edf0fa;flex:none}.badge.snapshot{font-size:10px;color:#eed5a6}.usage{display:flex;align-items:flex-end;gap:22px;padding:14px 0 12px 4px}.usage>div:first-child{display:flex;flex-direction:column;gap:3px}.usage strong{font-size:36px;font-weight:600;line-height:1.05;letter-spacing:-.8px}.usage span{font-size:16px;color:#e8ebf2;white-space:nowrap}#growth{color:#5ee07c;font-size:22px;font-weight:600;white-space:nowrap;margin-bottom:6px;padding-right:18px;border-right:1px solid #ffffff1c;flex:none}#growth.down{color:#ff8a7a}#growth.stale{font-size:14px;color:#e2c694}#spark{height:68px;display:flex;gap:9px;align-items:flex-end;margin-left:auto;padding-right:10px;flex:none}#spark i{width:14px;border-radius:2px;background:#edc24b;height:4px;transition:height .65s ease,background .3s}.features{margin:0 -20px -16px;padding:13px 16px 14px;border-top:1px solid #ffffff14;display:flex;justify-content:space-between;gap:8px;color:#eef1f7;font-size:12px;white-space:nowrap}.feature{display:flex;align-items:center;gap:7px;min-width:0}.feature>span{min-width:0}.feature b,.feature small{display:block;overflow:hidden;text-overflow:ellipsis}.feature small{font-size:11px;color:#c3cad6}.feature i{flex:none;width:28px;height:28px;display:grid;place-items:center;background:#ffffff08;border:1px solid #ffffff2c;border-radius:50%}.feature svg{width:15px;height:15px;stroke:#e6eaf2;fill:none;stroke-width:1.6}.feature b{font-weight:600}.bottom-right{position:absolute;bottom:34px;right:34px;font-size:17px;line-height:1.4;text-align:right}.bottom-right p{margin:0 0 16px}.bottom-right button{font-size:11px;color:#cbd0d9;border:0;background:none;padding:0;display:inline-flex;align-items:center;gap:10px}.bottom-right button:after{content:'';width:24px;height:1px;background:#cbd0d9}.playback{position:absolute;right:34px;bottom:118px;display:flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--border);border-radius:20px;background:#232a3570;backdrop-filter:blur(10px);font-size:10px;opacity:.72;transition:opacity .2s,transform .25s}.playback:hover,.playback:focus-within{opacity:1}#app:not(.controls-on) .playback{visibility:hidden;opacity:0;pointer-events:none;transform:translateY(8px)}.playback button{border:0;background:none;font-size:11px;padding:7px 9px}.playback label{display:flex;align-items:center;gap:5px;border-left:1px solid #ffffff20;padding:4px 9px;white-space:nowrap}.playback input[type=checkbox]{accent-color:#e99b77;width:11px;height:11px}.playback input[type=range]{width:52px;height:3px;accent-color:#e99b77;cursor:pointer}#clock{min-width:29px;font-variant-numeric:tabular-nums}.keys{position:absolute;right:0;bottom:calc(100% + 6px);white-space:nowrap;font-size:10px;color:#cfd6e2;opacity:0;pointer-events:none;transition:opacity .2s}.playback:hover .keys,.playback:focus-within .keys{opacity:.85}kbd{font:inherit;padding:0 4px;border:1px solid #ffffff33;border-radius:4px;background:#ffffff10}footer{position:absolute;left:31px;right:34px;bottom:10px;display:flex;gap:14px;align-items:center}footer a{display:flex;align-items:center;gap:7px;color:#e4e8ef;text-decoration:none;padding:4px 11px 4px 9px;font-size:12px;font-weight:500;border:1px solid #ffffff26;border-radius:14px;background:#1c222c66;backdrop-filter:blur(8px);flex:none}footer a:hover{background:#ffffff24}footer svg{width:11px;height:11px;fill:currentColor}#ui-hint{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);font-size:11px;white-space:nowrap;color:#dfe5ee;background:#232a35dd;border:1px solid var(--border);border-radius:14px;padding:5px 12px;opacity:0;pointer-events:none;transition:opacity .25s}#ui-hint.on{opacity:1}.ui-off>:not(#world):not(.vignette):not(#ui-hint){visibility:hidden!important;opacity:0!important;pointer-events:none!important}#loading{position:absolute;inset:0;display:flex;gap:12px;align-items:center;justify-content:center;color:#d6dce6;font-size:14px}#loading span{width:16px;height:16px;border:2px solid #ffffff33;border-top-color:#f3bd41;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{color:#f3f5f9;background:#293546ed;backdrop-filter:blur(20px);border:1px solid #b7c8e54d;border-radius:20px;padding:30px;width:480px;max-width:calc(100vw - 32px);max-height:calc(100svh - 40px);box-shadow:0 30px 100px #0006}dialog::backdrop{background:#131e3477;backdrop-filter:blur(8px)}dialog h2{font-size:23px;font-weight:600;margin:20px 0}dialog p{font-size:13px;color:#d0d9e5;line-height:1.7}dialog a{color:#e0e6f0}#close{float:right;border:0;background:none;font-size:24px;line-height:1;padding:7px}dialog details{font-size:12px;color:#d0d9e5}dialog summary{cursor:pointer}.credit{border-top:1px solid #ffffff20;padding-top:14px;font-size:10px}#feed-status{font-size:10px;color:#aab9ca;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1150px){.details{width:430px}.features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:10px}#tabs{display:none}.navigation{gap:18px}}
@media(max-width:650px){header{top:20px;left:18px;right:18px}.brand{font-size:28px;gap:10px}.brand-icon{width:38px;height:38px;border-radius:10px}.brand small{font-size:11px;margin-top:5px}.navigation{position:absolute;top:68px;left:-2px;right:-2px;gap:10px;justify-content:space-between}.navigation button{font-size:13px;padding:9px 16px}.navigation button span{font-size:18px}#district-no{font-size:13px}#tabs,.store-tag{display:none}.details{left:12px;right:12px;bottom:40px;width:auto;max-width:none;padding:13px 14px 12px;border-radius:16px}h1{font-size:16px}#lab-line{font-size:10px}#lab-mark{width:30px;height:30px}#lab-mark img{width:24px;height:24px}.badge{font-size:11px;padding:3px 8px}.usage{gap:14px;padding:9px 0}.usage strong{font-size:30px}.usage span{font-size:12px}#growth{font-size:17px;padding-right:10px}#growth.stale{font-size:12px}#spark{height:48px;gap:5px;padding-right:4px}#spark i{width:8px}.features{margin:0 -14px -12px;padding:10px 12px;font-size:11px}.feature i{width:26px;height:26px}.feature small{font-size:10px}.bottom-right{right:16px;bottom:auto;top:142px}.bottom-right p{display:none}.bottom-right button{font-size:10px}.playback{left:12px;right:12px;bottom:40px;flex-wrap:wrap;justify-content:space-between;border-radius:16px;opacity:1;font-size:9px}.playback:after{content:'';flex-basis:100%;order:1}.playback .cycle,.playback .daytime{order:2;border-top:1px solid #ffffff20}.playback .cycle{border-left:0}.playback .daytime{flex:1}.playback .daytime input{flex:1;width:auto}#app.controls-on .details{bottom:124px}.keys{display:none}footer{left:12px;right:12px;bottom:8px;gap:8px}footer a{font-size:11px;padding:3px 9px 3px 7px}dialog{padding:24px}dialog h2{font-size:21px}}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 900;font-display:swap;src:url("./assets/dm-sans.woff2") format("woff2")}
#speech{position:absolute;z-index:2;pointer-events:none;transform:translate(-16px,-100%);padding:6px 12px 7px;border:2px solid #111317;border-radius:14px;background:#fff;color:#111317;font-size:14px;font-weight:700;letter-spacing:-.1px;white-space:nowrap;box-shadow:0 6px 18px #0007}
#speech[hidden]{display:none}#speech:before,#speech:after{content:'';position:absolute;border-style:solid;border-color:transparent}#speech:before{bottom:-11px;left:12px;border-width:10px 5px 0 7px;border-top-color:#111317}#speech:after{bottom:-7px;left:14px;border-width:7px 3px 0 5px;border-top-color:#fff}@media(max-width:650px){#speech{font-size:12px}}

/* Keep the overlay sharp over the scene's shallow focus. */
.brand-icon img{display:block}
.details,.navigation button,.store-tag,.playback,footer a{ -webkit-backdrop-filter:blur(12px) }
.details{-webkit-backdrop-filter:blur(16px)}
.store-tag{will-change:transform;transform:translate(-50%,-50%);-webkit-backdrop-filter:blur(6px)}
.playback{-webkit-backdrop-filter:blur(10px)}
footer a{-webkit-backdrop-filter:blur(8px)}
.feature{flex:0 1 auto;line-height:1.25}
.feature b{font-weight:700}
.features{overflow:hidden}
.usage>div:first-child{min-width:0}
#lab-mark{border:2px solid #f3f0f0;box-shadow:0 0 0 3px #ffffff22}
#lab-mark img{max-width:100%;max-height:100%}
#spark i{transition:height .8s cubic-bezier(.2,.8,.2,1),background .4s,opacity .4s}

dialog{-webkit-backdrop-filter:blur(20px)}
dialog::backdrop{-webkit-backdrop-filter:blur(8px)}
@media(max-width:650px){#spark{padding-right:0}.navigation button{line-height:1.2}.details{padding-bottom:12px}.feature{line-height:1.25}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}



/* Subtle feedback preserves the compact controls while making taps visible. */
.navigation button,.playback button,#tabs button,#about,footer a{transition:background .18s,color .18s,transform .14s}
.navigation button:active,.playback button:active,#tabs button:active,#about:active,footer a:active{transform:translateY(1px);background:#ffffff2b}
.playback button:hover{background:#ffffff12;border-radius:14px}
#about:hover{color:#fff}
#show-controls{display:none}
#show-controls svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
#show-controls:after{display:none}
#show-controls[aria-expanded=true]{color:#fff;background:#ffffff18}
@media(max-width:1150px){#show-controls{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:28px;height:28px;margin-right:12px;padding:6px;border:1px solid #ffffff25;border-radius:50%}#show-controls:active{background:#ffffff30;transform:translateY(1px)}}

.ca-pending{display:flex;align-items:center;gap:11px;min-width:176px;height:26px;padding:4px 12px;border:1px solid #ffffff26;border-radius:14px;background:#1c222c66;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#e4e8ef;font-size:11px;white-space:nowrap}.ca-pending b{font-size:9px;font-weight:600;letter-spacing:1.2px;color:#bbc3d0}.ca-pending>span{font-weight:500;letter-spacing:.3px}#app.ui-off .ca-pending{display:none}@media(max-width:650px){.ca-pending{height:24px;min-width:140px;padding:3px 10px;font-size:10px}}
.vignette::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:var(--daylight,0);background:linear-gradient(180deg,rgba(26,34,51,.5),transparent 26%,transparent 76%,rgba(20,27,38,.44))}

/* BlockTown keeps the town visible around a focused exchange browser. */
.brand-icon img{object-fit:contain;transform:none}
#explore-open{gap:9px;font-size:15px;padding:14px 19px}
#explore-open svg,.explore-search svg,.explore-favorites svg,#explore-refresh svg,.scene-download svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#explore-dialog{width:610px;height:min(660px,calc(100svh - 48px));max-width:calc(100vw - 32px);max-height:calc(100svh - 48px);padding:24px;overflow:hidden;border-color:#c5d3e43d;background:linear-gradient(145deg,#273440f5,#202a36f5);border-radius:22px}
#explore-dialog[open]{display:flex;flex-direction:column;gap:0}
.explore-heading{position:relative;flex:none;padding-right:36px;margin-bottom:20px}
.explore-eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#bac8d5}
#explore-title{font-size:27px;font-weight:600;letter-spacing:-.65px;margin:8px 0 5px;line-height:1.2}
.explore-heading p{font-size:12px;line-height:1.5;margin:0;color:#b5c3d0}
.dialog-close{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff22;border-radius:50%;background:#ffffff05;font-size:24px;line-height:1;color:#dfe7ef}
.dialog-close:hover{background:#ffffff16;color:#fff}
.explore-search{display:flex;align-items:center;gap:11px;flex:none;width:100%;height:46px;padding:0 14px;border:1px solid #d2e0ef33;border-radius:12px;background:#0f17234f;color:#b6c4d3;transition:border-color .18s,box-shadow .18s}
.explore-search:focus-within{border-color:#eec78d99;box-shadow:0 0 0 3px #eec78d12}
.explore-search input{flex:1;min-width:0;height:100%;padding:0;border:0;background:none;font:400 14px 'DM Sans',Arial,sans-serif;color:#f6f7fd;user-select:text;caret-color:#f0c789}
.explore-search input::placeholder{color:#91a2b4}
.explore-search input:focus-visible{outline:none}
.explore-toolbar{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;margin:16px 0}
.explore-types{display:flex;gap:5px;padding:3px;border:1px solid #ffffff1c;border-radius:11px;background:#10182438}
.explore-types button{padding:7px 15px;border:1px solid transparent;border-radius:8px;background:none;font-size:12px;color:#b7c5d2;line-height:1.2;transition:background .16s,color .16s}
.explore-types button[aria-pressed=true]{background:#d6e2ed1c;border-color:#ffffff18;color:#fff}
.explore-types button:hover{color:#fff;background:#ffffff10}
.explore-favorites{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 11px;border:1px solid #ffffff26;border-radius:10px;background:none;font-size:12px;color:#b9c7d4;line-height:1.2}
.explore-favorites svg{width:14px;height:14px;stroke-width:1.4}
.explore-favorites[aria-pressed=true]{color:#f5d297;background:#f1c98d10;border-color:#f1c98d55}
.explore-favorites[aria-pressed=true] svg{fill:currentColor}
.explore-selects{display:grid;grid-template-columns:1fr 1fr;flex:none;gap:12px}
.explore-selects label{min-width:0;display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:500;letter-spacing:.4px;color:#aebdcc}
.explore-selects select{width:100%;height:38px;padding:0 11px;border:1px solid #ffffff26;border-radius:9px;background:#121c294d;color:#e7edf3;font:400 12px 'DM Sans',Arial,sans-serif;cursor:pointer}
.explore-selects option{color:#e7edf3;background:#24313e}
.explore-status{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;margin:17px 0 11px;font-size:11px;color:#b2c1cf}
#explore-refresh{display:inline-flex;align-items:center;gap:5px;padding:3px 0;border:0;background:none;color:#b2c1cf;font-size:11px}
#explore-refresh svg{width:13px;height:13px;stroke-width:1.4}
#explore-refresh:hover{color:#fff}
#explore-refresh[aria-busy=true] svg{animation:spin 1s linear infinite}
.explore-results{display:grid;align-content:start;gap:7px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent;padding:1px 4px 2px 1px}
#explore-results:empty{display:none}
.explore-result{display:flex;align-items:center;min-width:0;border:1px solid #d3e0ee1c;border-radius:12px;background:#d5e1ed05;transition:border-color .16s,background .16s}
.explore-result:hover,.explore-result:focus-within{border-color:#d3e0ee44;background:#d5e1ed0c}
.explore-result.selected{border-color:#edc47e70;background:#ebc17f0b}
.result-select{display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:64px;padding:11px 12px;border:0;border-radius:11px;background:none;text-align:left}
.result-select:active{background:#ffffff0c}
.explore-result .logo{flex:none;width:34px;height:34px;border:1px solid #ffffff16;border-radius:9px;object-fit:contain;background:#0d1420}
.explore-result .copy{flex:1;min-width:0}
.explore-result .copy>b,.explore-result .copy>strong{display:block;font-size:13px;font-weight:600;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.explore-result .meta{display:block;margin-top:3px;font-size:10px;font-weight:400;line-height:1.35;color:#a6b8c8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.explore-result .result-volume{flex:none;text-align:right;font-size:14px;font-weight:600;line-height:1.35;font-variant-numeric:tabular-nums}
.explore-result .result-volume small{display:block;margin-top:3px;font-size:10px;font-weight:400;color:#a6b8c8}
.result-favorite{display:grid;place-items:center;flex:none;width:36px;height:38px;margin-right:8px;padding:8px;border:0;border-radius:9px;background:none;color:#7e91a4}
.result-favorite svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
.result-favorite:hover{color:#f0d3a4;background:#f1c98d0b}
.result-favorite[aria-pressed=true]{color:#f0c989}
.result-favorite[aria-pressed=true] svg{fill:currentColor}
.explore-empty{display:flex;flex:1;min-height:120px;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 0;color:#c7d4df}
#explore-empty[hidden]{display:none}
.explore-empty svg{width:32px;height:32px;margin-bottom:14px;fill:none;stroke:#8fa3b5;stroke-width:1.5;stroke-linecap:round}
.explore-empty strong{font-size:15px;font-weight:500}
.explore-empty p{margin:7px 0 0;font-size:12px;color:#8fa3b5}
.explore-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;border-top:1px solid #ffffff16;margin-top:15px;padding-top:14px}
#explore-reset{border:0;padding:0;background:none;font-size:11px;color:#dcc39d}
#explore-reset:hover{color:#ffe0b6}
.explore-footer>span{font-size:10px;color:#8ea1b3;text-align:right}
.scene-download{display:inline-flex;align-items:center;gap:9px;margin:2px 0 20px;padding:10px 14px;border:1px solid #ffffff32;border-radius:10px;background:#ffffff08;color:#e3ebf3;font-size:12px;transition:background .18s}
.scene-download:hover{background:#ffffff16}
.scene-download:active{transform:translateY(1px)}
@media(max-width:950px) and (min-width:651px){.navigation{position:absolute;top:88px;left:0;right:0;justify-content:space-between}#explore-open{position:absolute;top:-88px;right:0}}
@media(max-width:650px){
  #explore-open{position:absolute;top:-68px;right:0;height:36px;gap:7px;padding:9px 13px;font-size:12px}
  #explore-open svg{width:14px;height:14px}
  #explore-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:min(660px,calc(100svh - 24px));max-height:calc(100svh - 24px);padding:19px 16px;border-radius:18px}
  .explore-heading{margin-bottom:16px}
  #explore-title{font-size:24px;margin-top:7px}
  .explore-heading p{font-size:11px}
  .explore-search{height:44px;padding:0 12px;gap:9px}
  .explore-search input{font-size:16px}
  .explore-toolbar{margin:13px 0;gap:8px}
  .explore-types{gap:2px}
  .explore-types button{padding:7px 11px;font-size:11px}
  .explore-favorites{padding:7px 9px;font-size:11px}
  .explore-selects{gap:9px}
  .explore-selects select{height:40px;padding:0 8px;font-size:11px}
  .explore-status{margin:14px 0 10px}
  .result-select{gap:9px;padding:10px;min-height:62px}
  .explore-result .logo{width:31px;height:31px;border-radius:8px}
  .explore-result .copy>b,.explore-result .copy>strong{font-size:12px}
  .explore-result .meta{font-size:9px}
  .explore-result .result-volume{font-size:12px}
  .result-favorite{width:31px;margin-right:5px;padding:7px}
  .explore-footer{margin-top:12px;padding-top:12px;gap:10px}
  .explore-footer>span{max-width:170px;font-size:9px}
}
@media(max-height:480px){#explore-dialog[open]{display:block;overflow:auto;height:auto}.explore-results{max-height:none;overflow:visible}.explore-heading{margin-bottom:12px}}

.world-map{padding:170px 32px 320px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-content:center;background:radial-gradient(ellipse at center,#48516a,#202a36);overflow:auto}
.map-store{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:6px 12px;text-align:left;padding:16px;border:1px solid #ffffff22;border-radius:16px;background:#273440c9;backdrop-filter:blur(10px)}
.map-store img{width:36px;height:36px;object-fit:contain;grid-row:span 2}.map-store b{font-size:14px}.map-store span{font-size:11px;color:#b8c6d4}.map-store.selected{border-color:#f0c989;background:#4b4b45}.map-view .playback,.map-view #show-controls,.map-view .store-tag{display:none!important}
@media(max-width:650px){.world-map{padding:155px 14px 270px;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-content:start}.map-store{padding:12px;gap:4px 8px;grid-template-columns:26px 1fr}.map-store img{width:25px;height:25px}.map-store b{font-size:12px}.map-store span{font-size:10px}}

/* Weather and daylight sit beside the existing compact town controls. */
#sky-open{position:absolute;top:70px;right:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;max-width:160px;padding:8px 12px;border:1px solid #ffffff33;border-radius:20px;background:#1c222c70;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#e5ebf2;font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap;transition:background .18s,transform .14s}
#sky-open:hover{background:#ffffff20;color:#fff}
#sky-open:active{transform:translateY(1px);background:#ffffff2b}
#sky-open svg,.sky-options svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#sky-label{min-width:0;overflow:hidden;text-overflow:ellipsis}
#sky-dialog{width:420px;max-width:calc(100vw - 32px);max-height:calc(100svh - 32px);padding:25px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border-color:#c5d3e43d;background:linear-gradient(145deg,#273440f5,#202a36f5);border-radius:22px}
.sky-heading{position:relative;padding-right:38px;margin-bottom:24px}
#sky-title{margin:0 0 7px;font-size:24px;font-weight:600;letter-spacing:-.5px;line-height:1.25}
.sky-heading p{margin:0;font-size:12px;line-height:1.5;color:#b5c3d0}
.sky-section{margin:0 0 22px}
.sky-section h3{margin:0 0 10px;font-size:11px;font-weight:500;letter-spacing:.3px;color:#bdcbd8}
.sky-options{display:grid;gap:8px}
.sky-time-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.sky-weather-options{grid-template-columns:repeat(4,minmax(0,1fr))}
.sky-options button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:43px;padding:9px 8px;border:1px solid #ffffff24;border-radius:11px;background:#10182430;color:#afbfce;font-size:12px;line-height:1.2;transition:border-color .18s,background .18s,color .18s,transform .14s}
.sky-options button:hover{color:#eef4fa;border-color:#ffffff45;background:#ffffff09}
.sky-options button:active{transform:translateY(1px)}
.sky-options button[aria-pressed=true]{color:#f7d7aa;border-color:#e8c08273;background:#e8c0820d}
.sky-weather-options button{flex-direction:column;gap:9px;min-height:72px;font-size:11px}
.sky-weather-options svg{width:22px;height:22px}
.sky-intensity{padding-top:2px}
.sky-intensity label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:11px;font-weight:500;letter-spacing:.3px;color:#bdcbd8}
#sky-strength{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;color:#f0d2ab}
#sky-intensity{display:block;width:100%;height:20px;margin:0;accent-color:#e9b781;cursor:pointer}
#sky-intensity:disabled{opacity:.4;cursor:default}
@media(max-width:950px) and (min-width:651px){#sky-open{top:97px;right:143px;max-width:108px;min-height:34px;gap:6px;padding:8px 9px;font-size:11px}#sky-open svg{width:14px;height:14px}}
@media(max-width:650px){
  #sky-open{top:122px;left:0;right:auto;min-height:30px;max-width:140px;gap:6px;padding:7px 10px;font-size:11px}
  #sky-open svg{width:14px;height:14px}
  #sky-dialog{width:calc(100vw - 32px);padding:22px 18px;border-radius:18px}
  #sky-title{font-size:22px}
  .sky-heading{margin-bottom:22px}
  .sky-options{gap:7px}
  .sky-options button{gap:6px;padding:9px 5px;font-size:11px}
  .sky-weather-options button{gap:8px;min-height:69px;font-size:10px}
  .sky-weather-options svg{width:21px;height:21px}
}
@media(max-height:450px){#sky-dialog{max-height:calc(100svh - 24px);padding-top:20px;padding-bottom:20px}.sky-heading{margin-bottom:18px}.sky-section{margin-bottom:18px}}

#app.map-view[data-time=day] .world-map{background:radial-gradient(ellipse at center,#698195,#3f5268)}
#app.map-view[data-time=night] .world-map{background:radial-gradient(ellipse at center,#25354d,#101824)}
#app.map-view[data-weather=sunny][data-time=day] .world-map{background:radial-gradient(ellipse at 45% 30%,#96a8b2,#566b7f)}
#app.map-view[data-weather=sunny][data-time=night] .world-map{background:radial-gradient(ellipse at center,#304259,#152132)}
#app.map-view[data-weather=rain][data-time=day] .world-map{background:radial-gradient(ellipse at center,#43596e,#202e43)}
#app.map-view[data-weather=rain][data-time=night] .world-map{background:radial-gradient(ellipse at center,#243249,#0c1525)}
#app.map-view[data-weather=snow][data-time=day] .world-map{background:radial-gradient(ellipse at center,#a4b6c4,#627c94)}
#app.map-view[data-weather=snow][data-time=night] .world-map{background:radial-gradient(ellipse at center,#4c6380,#1e2c44)}
#app.map-view[data-weather=snow] .map-store{border-color:#e7f1fa42}
footer .github-link{justify-content:center;width:28px;height:26px;padding:5px;flex:none}
footer .github-link svg{width:14px;height:14px}
@media(max-width:650px){footer .github-link{width:26px;height:24px;padding:4px}}
