:root{--ui-zoom:1;color-scheme:dark;font-family:"Microsoft YaHei","PingFang SC",sans-serif}*{box-sizing:border-box}html,body,main{width:100%;height:100%;margin:0;overflow:hidden}body{background:#0f67db}#scene{display:block;width:100%;height:100%;touch-action:none}#scene:focus-visible{outline:2px solid #ffe3a0;outline-offset:-4px}button{font:inherit;color:inherit;cursor:pointer;border:1px solid #ffffff25;background:#ffffff08;border-radius:8px;padding:8px 10px;min-height:36px}button:hover,button[aria-pressed=true]{background:#f5db9d26;border-color:#f5db9d77}button:disabled{opacity:.4;cursor:default}button:focus-visible,summary:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #ffe3a0;outline-offset:4px}
.site-nav{position:fixed;top:max(20px,env(safe-area-inset-top));right:max(24px,env(safe-area-inset-right));display:flex;align-items:center;gap:26px;z-index:3;color:#fff9e9;transform:scale(var(--ui-zoom));transform-origin:top right}.nav-link{display:grid;gap:5px;text-align:center;border:0;background:none;border-radius:0;padding:4px 2px;min-width:48px;text-shadow:0 1px 12px #05112b70}.nav-link span{font-size:16px;letter-spacing:.12em}.nav-link small{font-size:9px;letter-spacing:.16em;opacity:.65}.nav-link:hover{background:none;color:#ffe3a0}#controls{font-size:13px}summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff38;border-radius:12px;background:#142d4f75;backdrop-filter:blur(16px);user-select:none}summary::-webkit-details-marker{display:none}.hamburger{width:18px;display:grid;gap:4px}.hamburger i{height:2px;border-radius:2px;background:currentColor}
.panel{position:absolute;top:58px;right:0;width:370px;max-width:calc((100vw - 40px)/var(--ui-zoom));max-height:calc((100dvh - 40px)/var(--ui-zoom) - 58px);overflow-y:auto;overscroll-behavior:contain;padding:20px;border:1px solid #ffffff30;border-radius:18px;background:#122744ed;backdrop-filter:blur(24px);box-shadow:0 12px 45px #00102b40}.panel-title,.panel-heading,.actions,.presets,.ticks,.date-line{display:flex;justify-content:space-between;align-items:center}h1,h2,p{margin:0}.panel h1{font-size:17px;font-weight:500;letter-spacing:.06em}.panel h2{font-size:13px;font-weight:500}#panel-close{border:0;background:none;font-size:23px;padding:0;min-width:30px}.date-line{gap:8px;margin:8px 0 20px;font-size:11px;color:#e7effdb0;flex-wrap:wrap}time{font-variant-numeric:tabular-nums;letter-spacing:.05em}#period,#clock{font-size:16px}#mode,.ticks,.hint{color:#e7effdb0;font-size:11px;line-height:1.7}#mode{margin-top:6px}.hint{margin-top:8px}input[type=range]{width:100%;margin:16px 0 7px;accent-color:#f4d383;cursor:pointer;height:20px}.ticks{gap:4px;font-size:10px}.presets{gap:5px;flex-wrap:wrap;margin-top:14px}.presets button{padding:7px 8px;font-size:12px;flex:1 1 3em}.body-options{display:flex;align-items:center;gap:7px;margin-top:15px}.body-options span{flex:1;font-size:12px}.body-options button{font-size:12px;min-width:57px}.actions{gap:8px;margin-top:16px}.actions button{flex:1;font-size:12px}
.weather-card{border-top:1px solid #ffffff20;margin-top:20px;padding-top:16px}#weather-refresh{font-size:11px;min-height:28px;padding:4px 8px}#weather-status{font-size:12px;margin:10px 0;color:#fff2cb;line-height:1.6}.weather-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.weather-grid span{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#d4deed}.weather-grid strong{color:#fff9e9;font-size:13px;font-weight:500}.weather-source{display:inline-block;color:#d4deed;font-size:10px;margin-top:8px;text-underline-offset:3px}#zoom-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:18px;padding-top:14px;border-top:1px solid #ffffff20}#zoom-controls>span{margin-right:auto;font-size:12px}#zoom-controls button{min-width:32px}#zoom-level{min-width:3.6em;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}.time-badge{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));right:max(24px,env(safe-area-inset-right));display:flex;gap:9px;align-items:center;color:#fff9e9;padding:8px 14px;font-size:12px;border:1px solid #ffffff25;background:#142d4f75;border-radius:24px;backdrop-filter:blur(16px);transform:scale(var(--ui-zoom));transform-origin:bottom right}#loading{position:fixed;top:46%;width:100%;text-align:center;color:#fff5d5;letter-spacing:.12em}
dialog{width:390px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;padding:36px;color:#fff9e9;background:#122744f5;border:1px solid #ffffff30;border-radius:20px;box-shadow:0 20px 80px #00102b55}dialog::backdrop{background:#06122675;backdrop-filter:blur(5px)}dialog .eyebrow{color:#f4d383;font-size:11px;letter-spacing:.3em;margin-bottom:10px}dialog h2{font-size:23px;font-weight:500;margin-bottom:20px}dialog p{font-size:13px;line-height:1.9;margin-bottom:12px}#about-close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:22px}#about-return{margin-top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.site-nav{top:14px;right:16px;gap:18px}.nav-link span{font-size:14px}.panel{padding:16px;max-width:calc((100vw - 32px)/var(--ui-zoom));max-height:calc((100dvh - 30px)/var(--ui-zoom) - 58px)}.time-badge{bottom:14px;right:16px}}
[hidden]{display:none!important}i{font-style:normal}.panel-title{justify-content:flex-end}.panel-tools{display:flex;gap:8px;align-items:center}#settings-toggle{border:0;background:none;font-size:22px;min-width:32px;padding:0}.settings-panel{display:flex;gap:12px;align-items:center;margin:10px 0 15px;padding:12px;border-radius:10px;background:#ffffff09}.settings-panel label{font-size:12px}.settings-panel select{flex:1;min-width:0}select,input[type=search]{font:inherit;color:inherit;background:#112846;border:1px solid #ffffff30;border-radius:8px;padding:9px;min-height:38px}select:focus-visible,input[type=search]:focus-visible{outline:2px solid #ffe3a0;outline-offset:2px}.region-label{font-size:13px;margin:12px 0 8px;color:#fff2cb}.location-button{width:100%;font-size:12px}.region-search{display:flex;gap:7px;margin-top:12px}.region-search input{width:0;flex:1}.region-search button{font-size:12px}.region-results{display:grid;gap:6px;max-height:180px;overflow:auto;margin-top:7px}.region-results button{text-align:left;font-size:12px}.body-options{flex-wrap:wrap}.body-options span{flex:1 1 60px}.weather-source+.weather-source{margin-left:10px}
.greeting{position:fixed;left:6%;top:58%;z-index:1;color:var(--greeting-color,#173750);max-width:78vw;transform:scale(var(--ui-zoom));transform-origin:top left;pointer-events:none;text-shadow:0 1px 16px #ffffff0b}.greeting h1{font-family:Arial,"Helvetica Neue",sans-serif;font-size:clamp(36px,4.1vw,72px);font-weight:400;line-height:1.15;letter-spacing:-.035em;margin:0 0 24px}.friend-line{font-size:clamp(12px,1.1vw,17px);font-weight:600;letter-spacing:.04em;margin-bottom:28px}.credit-line{font-size:clamp(15px,1.45vw,24px);font-weight:600;margin-bottom:22px}.motto-line{font-size:clamp(12px,1.05vw,17px);font-weight:500;letter-spacing:.02em;line-height:1.7}@media(max-width:600px){.greeting{left:6%;top:55%;max-width:86vw}.greeting h1{font-size:clamp(28px,6.6vw,40px);margin-bottom:18px}.friend-line{margin-bottom:20px}.credit-line{font-size:14px;margin-bottom:16px}.motto-line{font-size:12px}}.friend-line,.credit-line,.motto-line{font-family:"Microsoft YaHei","微软雅黑","PingFang SC",sans-serif}
.weather-preview{display:flex;align-items:center;gap:12px;margin-top:16px}.weather-preview label{font-size:12px;flex:1}.weather-preview select{max-width:220px;min-width:0;font-size:12px}.weather-toggle{display:flex;align-items:center;gap:9px;font-size:12px;margin-top:12px;cursor:pointer}.weather-toggle input{width:16px;height:16px;accent-color:#f4d383}
.cloud-demo-controls{position:fixed;right:24px;bottom:72px;z-index:30;padding:16px;border-radius:16px;background:rgba(22,22,60,.82);color:#fff;font:14px "Microsoft YaHei",sans-serif;max-width:300px}.cloud-demo-controls div{display:flex;gap:6px;margin:12px 0}.cloud-demo-controls button{color:inherit;background:#ffffff12;border:1px solid #ffffff30;border-radius:8px;padding:8px 12px;cursor:pointer}.cloud-demo-controls button[aria-pressed="true"]{background:#bba7e744}.cloud-demo-controls small{opacity:.7}@media(max-width:600px){.cloud-demo-controls{right:12px;bottom:62px;padding:12px}}

.cloud-demo-controls div{flex-wrap:wrap}.cloud-amount-label{display:flex;justify-content:space-between;margin-top:12px}.cloud-demo-controls input[type="range"]{width:100%;margin:10px 0 0;accent-color:#ded0ff;cursor:pointer}.cloud-demo-controls .cloud-amount-ticks{justify-content:space-between;font-size:11px;opacity:.7;margin:4px 0 0}

.cloud-demo-controls{max-height:calc(100dvh - 100px);overflow-y:auto}

.cloud-demo-controls select{width:100%;margin:8px 0;padding:8px;color:#fff;background:#292944;border:1px solid #ffffff30;border-radius:8px}.cloud-cycle-note{display:block;margin-top:4px}

#cloud-control-slot:empty{display:none}.cloud-demo-controls.cloud-controls-embedded{position:static;max-width:none;max-height:none;overflow:visible;margin-top:18px;padding:16px 0 0;border-top:1px solid #ffffff20;border-radius:0;background:none;font-size:12px}.cloud-controls-embedded button{padding:6px 9px}.cloud-controls-embedded strong{font-size:14px}

input[type=date]{font:inherit;color:inherit;background:#112846;border:1px solid #ffffff30;border-radius:8px;padding:8px;min-height:36px;max-width:100%}#astronomy-title+.weather-grid{margin-top:12px}#astronomy-title+.weather-grid span{flex-direction:column;gap:3px}.ticks span{min-width:0;text-align:center;line-height:1.4}.ticks span:first-child{text-align:left}.ticks span:last-child{text-align:right}.body-options{flex-wrap:wrap}.body-options span{flex:1 0 100%}.body-options button{flex:1 1 auto}
.moon-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.moon-options span,.moon-options [data-moon=auto],.moon-options [data-moon=none]{grid-column:1/-1}.moon-options button{min-width:0;white-space:normal;overflow-wrap:anywhere}
