/* Equal control boxes; highlight appears only on interaction. */
.top-actions{align-items:center!important;gap:10px!important}.utility-nav{gap:8px!important}.utility-link,.notice-button,.utility-toggle{width:40px!important;height:40px!important;flex:0 0 40px;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--glass)!important;color:var(--muted)!important;box-shadow:none!important}.utility-link.active{background:var(--glass)!important;color:var(--muted)!important;border-color:var(--line)!important}.utility-link:hover,.utility-link:focus-visible,.notice-button:hover,.notice-button[aria-expanded=true],.utility-toggle:hover{background:rgba(110,185,210,.16)!important;color:var(--accent)!important;border-color:var(--accent)!important}.top-actions .landing-weather{min-height:40px!important;height:auto!important;align-items:center!important;padding:0 12px 0 0!important;border-right:1px solid var(--line);max-width:160px}.top-actions .landing-weather>div{display:flex;flex-direction:column;justify-content:center;gap:2px}.top-actions .landing-weather strong{line-height:1.15}.top-actions .landing-weather #weatherCity{line-height:1.15}.top-actions .landing-weather .weather-icon{line-height:1}
.landing-bottom{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(300px,760px) minmax(180px,1fr);align-items:end!important;gap:18px!important;left:28px!important;right:28px!important;bottom:24px!important}.landing-bottom>.theme-switcher{grid-column:2;grid-row:1 / span 2;max-width:100%!important;min-width:0;align-self:end}.world-caption{grid-column:1;grid-row:1;position:static!important;margin:0!important;align-self:end}.world-controls{grid-column:3;grid-row:1;position:static!important;margin:0!important;align-self:end}.corner-themes{display:flex;gap:8px;align-items:center}.corner-left{grid-column:1;grid-row:2;justify-content:flex-start}.corner-right{grid-column:3;grid-row:2;justify-content:flex-end}.corner-themes .theme-choice{width:70px!important;height:66px!important;min-height:66px!important;padding:8px 4px!important;border:1px solid var(--line)!important;border-radius:12px;background:var(--glass)!important;color:var(--muted)!important;box-shadow:none!important}.corner-themes .theme-choice.selected{border-color:var(--line)!important;color:var(--text)!important;background:var(--glass)!important}.corner-themes .theme-choice:hover,.corner-themes .theme-choice:focus-visible{color:var(--accent)!important;border-color:var(--accent)!important;background:rgba(100,185,210,.15)!important}.corner-themes .theme-choice svg{width:22px;height:22px}.corner-themes .theme-choice span{font-size:11px!important}.world-caption p,.world-controls>span{font-size:12px!important}.quick-tools{flex-wrap:nowrap!important;width:100%;gap:8px}.quick-tools>a{width:clamp(50px,5vw,76px)!important;min-width:0;min-height:78px;padding:10px 5px}.quick-icon,.quick-choice-logo{width:32px!important;height:32px!important;display:grid;place-items:center;flex:0 0 32px;border:0;background:transparent!important}.quick-icon img,.quick-choice-logo img{width:100%;height:100%;object-fit:contain}.quick-tools-choices button{display:flex;align-items:center;gap:12px;text-align:left;min-height:66px;padding:12px}.quick-tools-choices button>span:last-child{overflow-wrap:anywhere;line-height:1.45}#quickToolsDialog{width:min(720px,calc(100vw - 32px));max-height:90dvh;overflow:auto}#quickToolsDialog>.dialog-description{font-size:14px}#quickToolsDialog label{display:grid;gap:8px;font-size:14px;margin:16px 0}#quickToolsDialog .dialog-submit{width:100%;margin-top:18px;min-height:46px}.quick-tools-choices{max-height:46dvh!important;overscroll-behavior:contain}.quick-tools-choices button:hover{border-color:var(--accent);background:rgba(100,180,210,.14)}
#networkHud{padding:22px}#networkHud header{font-size:14px}.network-data{margin:18px 0 0}.network-data>div{padding:12px 0;border-bottom:1px solid var(--line)}.network-data dt{font-size:12px;color:var(--muted);font-weight:400}.network-data dd{font-size:15px;color:var(--text);margin:5px 0 0;overflow-wrap:anywhere;line-height:1.5}#networkHud footer{font-size:11px;line-height:1.6;margin-top:16px}#netOnline{font-style:normal;font-size:12px;color:var(--accent)}
.notice-dot[hidden]{display:none!important}.notice-popover{right:0!important;width:min(360px,calc(100vw - 32px))!important;max-height:60dvh;overflow:auto;background:var(--glass-deep)!important;z-index:110}.notice-popover:before{display:none}.notice-popover h2{font-size:17px;margin:0 0 12px}.notice-list-item{width:100%;display:grid;gap:8px;text-align:left;border:1px solid var(--line);border-radius:12px;padding:14px;margin:8px 0;background:var(--glass);color:var(--text)}.notice-list-item b{font-weight:500;font-size:15px;line-height:1.5}.notice-list-item span{color:var(--muted);font-size:12px}.notice-list-item:hover{border-color:var(--accent)}.notice-dialog{width:min(640px,calc(100vw - 32px));max-height:88dvh;overflow:auto}.notice-dialog time{font-size:13px;color:var(--muted)}#noticeBody{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.9;margin:24px 0}#noticeDetailImage{width:100%;height:auto;border-radius:14px}.notice-dialog h2{padding-right:24px}.hot-panel .api-state{font-size:12px}
.top-actions .landing-weather{position:relative!important;max-width:none!important;overflow:visible}.weather-summary-link{display:flex;align-items:center;gap:8px;min-height:40px;color:inherit;text-decoration:none;white-space:nowrap;border-radius:10px;outline:none}.weather-summary-link[href]{cursor:pointer}.weather-summary-link:hover,.weather-summary-link:focus-visible{color:var(--accent)}.weather-summary-text{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.25}.weather-summary-text i{color:var(--muted);font-style:normal}.weather-summary-text #weatherTemperature{font-size:14px!important;color:inherit;font-variant-numeric:tabular-nums}.weather-summary-text #weatherCity,.weather-summary-text #weatherText{display:inline!important;color:inherit!important;font-size:12px!important}.weather-hover-card{position:absolute;right:0;top:calc(100% + 10px);z-index:180;width:min(500px,calc(100vw - 32px));max-height:min(650px,calc(100dvh - 92px));padding:17px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:16px;background:var(--glass-deep);box-shadow:0 22px 65px rgba(0,0,0,.38);color:var(--text);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-6px);transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s}.landing-weather:hover .weather-hover-card,.landing-weather:focus-within .weather-hover-card{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:0s}.weather-hover-card>header{display:flex;align-items:center;gap:11px;margin-bottom:13px}.weather-hover-card>header>span:first-child{font-size:28px}.weather-hover-card>header>span:last-child{display:grid;gap:4px}.weather-hover-card>header b{font-size:16px;font-weight:600}.weather-hover-card>header small{color:var(--muted);font-size:12px}.weather-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.weather-metric-grid>div{min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.025)}.weather-metric-grid span{display:block;margin-bottom:5px;color:var(--muted);font-size:11px}.weather-metric-grid b{display:block;overflow-wrap:anywhere;color:var(--text);font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.weather-hover-card>footer{display:flex;justify-content:space-between;gap:14px;margin-top:13px;color:var(--muted);font-size:11px}.weather-hover-card>footer a{color:var(--accent);text-decoration:none}.weather-hover-card>footer a:hover{text-decoration:underline}html body .top-actions .landing-weather[hidden]{display:none!important}
@media(max-width:1200px){.landing-bottom{grid-template-columns:1fr 1fr;gap:14px!important}.landing-bottom>.theme-switcher{grid-column:1 / -1;grid-row:1}.corner-left{grid-column:1;grid-row:3}.corner-right{grid-column:2;grid-row:3}.world-caption{grid-column:1;grid-row:2}.world-controls{grid-column:2;grid-row:2}.quick-tools>a{width:66px!important}.search-landing .landing-center{top:42%}.world-caption p{display:none}}
@media(max-width:700px){.search-landing>.topbar{padding:12px 16px!important;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.topbar-left{width:100%;justify-content:space-between}.top-actions{width:100%;justify-content:flex-end;gap:8px!important}.top-actions .landing-weather{margin-right:auto!important;max-width:min(240px,calc(100vw - 180px))!important}.weather-summary-text{gap:4px;max-width:205px;overflow:hidden;text-overflow:ellipsis}.weather-summary-text #weatherCity,.weather-summary-text #weatherText{overflow:hidden;text-overflow:ellipsis}.weather-hover-card{left:0;right:auto;top:calc(100% + 8px);width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 150px);padding:14px}.utility-nav{gap:6px!important}.utility-link,.notice-button,.utility-toggle{width:36px!important;height:36px!important;flex-basis:36px}.landing-bottom{left:16px!important;right:16px!important;bottom:18px!important;gap:10px!important}.quick-tools{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px!important;width:min(360px,100%)}.quick-tools>a{width:100%!important;min-height:61px;padding:7px 4px;gap:4px}.quick-icon{width:25px!important;height:25px!important;flex-basis:25px}.quick-tools>a>span:last-child{font-size:11px}.corner-themes{gap:5px}.corner-themes .theme-choice{width:clamp(43px,13vw,62px)!important;height:53px!important;min-height:53px!important;gap:4px}.corner-themes .theme-choice span{font-size:10px!important}.corner-themes .theme-choice svg{width:18px;height:18px}.world-caption{display:none!important}.world-controls{grid-column:1 / -1;justify-self:center}.world-controls>span{display:none}.world-controls button{width:28px;height:28px}.landing-bottom .scroll-cue{display:none}.landing-bottom .theme-switcher{gap:6px}.landing-bottom .text-button{padding:6px 12px;font-size:12px}.search-landing{min-height:850px!important;height:100svh!important}.search-landing .landing-center{top:39%!important}.quick-tools-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}.quick-tools-choices button{padding:10px;gap:8px;font-size:13px}.notice-popover{right:-50px!important}.weather-metric-grid>div{padding:9px 10px}.weather-hover-card>footer{flex-direction:column;gap:6px}}
@media(max-width:400px){.top-actions{gap:5px!important}.utility-link,.notice-button,.utility-toggle{width:32px!important;height:34px!important;flex-basis:32px}.quick-tools-choices button{gap:6px}.quick-choice-logo{width:26px!important;height:26px!important;flex-basis:26px}.corner-themes .theme-choice span{font-size:9px!important}}

/* Weather conditions use QWeather's exact qi-{code} glyph when its official
   non-blocking stylesheet is available, with a complete local SVG fallback. */
.top-actions .landing-weather .weather-icon{display:grid!important;place-items:center;width:25px!important;height:25px!important;flex:0 0 25px;background:none!important;border-radius:0!important;color:var(--accent);filter:none!important;font-size:24px!important}.weather-status-svg{display:block;width:100%;height:100%;overflow:visible}.weather-status-svg .wx-fill{fill:currentColor;opacity:.2}.weather-status-svg .wx-solid{fill:currentColor;stroke:none}.weather-status-svg .wx-muted{opacity:.42}.weather-qw-icon{display:none;width:100%;height:100%;font-size:1em;line-height:1;text-align:center}.qweather-icons-ready .weather-qw-icon{display:grid;place-items:center}.qweather-icons-ready .weather-qw-icon+.weather-status-svg{display:none}#weatherDetailIcon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;color:var(--accent);font-size:36px!important}#weatherDetailIcon .weather-status-svg{width:36px;height:36px}#weatherDetailIcon .weather-qw-icon{font-size:36px}

/* LyToday keeps its native card, ranking, heat and status layout. Only the
   surrounding surface/text colors inherit the active XRAW theme. */
.hot-cards .lytoday-card{box-sizing:border-box;min-width:0;margin:0;padding:15px 20px 5px;overflow:hidden;display:flex;flex-direction:column;color:var(--text);background:var(--glass);border:1px solid var(--line);border-radius:10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 36px rgba(0,0,0,.12);scroll-snap-align:start}
.lytoday-head{height:36px;flex:0 0 36px;display:flex;align-items:flex-start;min-width:0}.lytoday-head img{width:17px;height:17px;flex:0 0 17px;margin:2px 7px 0 0;object-fit:contain;border:0}.lytoday-title{min-width:0;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:16px;line-height:1.35}.lytoday-unit{margin:1px 2rem 0 auto;padding-left:10px;white-space:nowrap;color:var(--muted);font-size:14px;line-height:1.35}
.lytoday-body{box-sizing:border-box;height:360px;min-height:360px;flex:0 0 360px;padding:5px;overflow:auto;overflow-x:hidden;color:var(--text);scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 48%,transparent) transparent}.lytoday-body::-webkit-scrollbar{width:5px;height:2px}.lytoday-body::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 48%,transparent);border-radius:4px}.lytoday-table{list-style:none;margin:0;padding:0}.lytoday-list{min-height:1.8rem;margin:0;padding:0;display:flex;align-items:flex-start;color:var(--text);font-size:14px;line-height:1.5}.lytoday-index{min-width:1.2rem;height:1.2rem;margin:1px 12px 0 0;padding:0 3px;display:table;border-radius:4px;background:color-mix(in srgb,var(--muted) 26%,transparent);color:var(--text);font-size:14px;line-height:1.2rem;text-align:center;font-variant-numeric:tabular-nums}.lytoday-list:nth-of-type(1)>.lytoday-index{color:#fff;background:#fe2d46}.lytoday-list:nth-of-type(2)>.lytoday-index{color:#fff;background:#f60}.lytoday-list:nth-of-type(3)>.lytoday-index{color:#211906;background:#faa90e}.lytoday-prefix{margin-right:15px;white-space:nowrap;color:var(--text);font-weight:700}.lytoday-link{width:80%;min-width:0;flex:1;color:var(--text);text-decoration:none;overflow-wrap:anywhere}.lytoday-list a.lytoday-link:hover,.lytoday-list a.lytoday-link:focus-visible{color:var(--accent);outline:none}.lytoday-rank{margin-left:auto;margin-right:5px;padding-left:8px;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}.lytoday-tag{min-width:1.2rem;height:1.2rem;margin-left:2px;padding:1px;display:table;border-radius:4px;background:#ff9406;color:#fff;font-size:12px;line-height:1.2rem;text-align:center;white-space:nowrap}.lytoday-tag-3{background:#ff3852}.lytoday-tag-5{background:#0bbd33}.lytoday-tag-8{background:#cb3aab}.lytoday-tag-16{background:#5f5f5f}.lytoday-tag-20{background:#ff9406}.lytoday-tag-99{background:#6750d8}.lytoday-brief .lytoday-link{width:100%;line-height:1.5}.lytoday-empty{align-items:center;justify-content:center;height:100%;color:var(--muted);text-align:center}.lytoday-footer{flex:0 0 auto;margin-top:10px;padding:10px 0 0;border-top:1px solid var(--line);min-height:31px}.lytoday-time{float:right;margin:2px;color:var(--muted);font-size:14px}
@media(max-width:560px){.hot-cards .lytoday-card{padding:15px 18px 5px}.lytoday-unit{margin-right:0}}
