.topbar.header-landscape{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:#183b51;border-color:#ffffff24;--sky-top:#346381;--sky-bottom:#edcfa4;--far:#7a9395;--ridge:#426f72;--near:#173b42}
.header-landscape[data-phase=dawn]{--sky-top:#596d94;--sky-bottom:#f2c3a1;--far:#9c959e;--ridge:#656e86;--near:#303f57}
.header-landscape[data-phase=dusk]{--sky-top:#61557a;--sky-bottom:#f6b07e;--far:#a37985;--ridge:#745970;--near:#343c54}
.header-landscape[data-phase=night]{--sky-top:#101b38;--sky-bottom:#3f5779;--far:#3a506c;--ridge:#273c59;--near:#17283e}
#heroLandscape,.landscape-art,.landscape-shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#heroLandscape{z-index:-1}.landscape-shade{background:linear-gradient(90deg,#07192be0 0%,#07192b80 48%,#07192b18),linear-gradient(0deg,#07192bb3,transparent 70%)}
.landscape-stars{opacity:0}.header-landscape[data-phase=night] .landscape-stars{opacity:.8}
.landscape-clouds{animation:cloudDrift 36s ease-in-out infinite alternate}.header-landscape.is-cloudy .landscape-clouds{opacity:.42}
#landscapeSun{filter:drop-shadow(0 0 16px #ffe5afaa)}
.header-landscape .hero-head{gap:20px;align-items:center}.header-landscape .hero-copy{min-width:0}.header-landscape .status-text{color:#fff;text-shadow:0 2px 15px #0006}.header-landscape .quote-text,.header-landscape .date-text,.header-landscape .metric-label{color:#e4edf4}.header-landscape .clock-text{color:#fff;font-variant-numeric:tabular-nums;text-shadow:0 2px 18px #0004}
.landscape-info{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 18px;margin:12px 0 18px;font-size:12px;color:#e2edf4;line-height:1.5}.landscape-info span:first-child{font-weight:600}.landscape-info span{max-width:100%;overflow-wrap:anywhere}
.header-landscape .searchbar{background:#102a3fb3;border:1px solid #ffffff30;backdrop-filter:blur(12px)}.header-landscape .searchbar input{color:#fff}.header-landscape .searchbar input::placeholder{color:#d6e0eb}.header-landscape .metrics{color:#fff}.header-landscape .metric{background:#102a3f80;border-color:#ffffff20}
.weather-favorites{display:flex;gap:6px;overflow-x:auto;max-width:100%;padding:3px 0 7px}.weather-place{flex:0 0 auto;border:1px solid var(--border-color,#8885);border-radius:20px;padding:6px 10px;color:inherit;background:transparent;font:inherit;font-size:12px;cursor:pointer}.weather-place[aria-pressed=true]{background:#548efb25;border-color:#669aff}.weather-place:focus-visible{outline:2px solid #669aff;outline-offset:2px}[data-weather-save]{font-size:12px;margin-bottom:8px}
.desktop-shortcuts.edit-layout .shortcut-card,.desktop-shortcuts.edit-layout .shortcut-link{cursor:grab;touch-action:none}.desktop-shortcuts.edit-layout .shortcut-card.dragging{cursor:grabbing}
@keyframes cloudDrift{to{transform:translateX(35px)}}
@media(max-width:820px){.topbar{flex-wrap:wrap;gap:12px}.topbar-right{flex-wrap:wrap;max-width:100%}.topbar.header-landscape{height:auto;min-height:260px}.header-landscape .hero-head{flex-wrap:wrap}.header-landscape .hero-clock-wrap{margin-left:0;text-align:left}.header-landscape .clock-text{font-size:clamp(30px,9vw,48px)}.header-landscape .metrics{flex-wrap:wrap}.landscape-info{margin:10px 0 14px}.header-landscape .searchbar{min-width:0}.header-landscape .searchbar input{min-width:0;width:100%}}
@media(prefers-reduced-motion:reduce){.landscape-clouds{animation:none}}

/* The landscape is the full-width masthead. Search stays in the normal flow. */
.topbar.scenic-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand tools" "main weather" "moon moon";align-items:start;gap:18px 28px;min-height:var(--hero-height);margin-bottom:0;padding:24px 30px}
.scenic-header .topbar-left{grid-area:brand;min-width:0}.scenic-header .topbar-left h1{font-size:24px;margin:0 0 8px}.scenic-header .eyebrow{display:none}.scenic-header .topbar-subtitle{font-size:12px;max-width:600px;color:#e0e8f1}
.scenic-header .topbar-right{grid-area:tools;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:610px}
.scenic-header .topbar-right button{font-size:12px;color:#fff;border-color:#ffffff30;background:#132b4480;backdrop-filter:blur(8px)}
.scenic-header .hero-head{grid-area:main;display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0;align-self:center}.scenic-header .hero-clock-wrap{text-align:left}.scenic-header .hero-clock-wrap .metric-label{display:none}.scenic-header .clock-text{font-size:clamp(32px,4vw,60px);line-height:1.1}.scenic-header .status-text{font-size:clamp(18px,2vw,28px)}.scenic-header .quote-text{font-size:13px;margin-top:5px}.scenic-header .date-text{font-size:13px;margin-top:5px}
.scenic-header .landscape-info{grid-area:weather;display:flex;flex-direction:column;align-self:center;align-items:flex-end;justify-self:end;max-width:340px;padding:14px 18px;margin:0;border:1px solid #ffffff25;border-radius:18px;background:#14293f66;backdrop-filter:blur(10px);text-align:right}.scenic-header #landscapeWeather{font-size:16px;line-height:1.5}.scenic-header #landscapeSolar{font-size:11px}
.scenic-header .topbar-meta-stack{grid-area:moon;display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0}.scenic-header .top-meta{margin:0;color:#e0e8f1;font-size:11px}.scenic-header .moon-forecast{display:flex;gap:12px;margin:0}.scenic-header .moon-forecast-item{padding:0;background:none;border:0}.scenic-header .moon-forecast-label,.scenic-header .moon-forecast-phase{font-size:10px;color:#d8e3ef}.scenic-header .moon-img,.scenic-header .moon-forecast-img{width:22px;height:22px}
.scenic-header .landscape-shade{background:linear-gradient(90deg,#07192bba,transparent 70%),linear-gradient(0deg,#07192b9c,transparent 55%)}
.search-dock{padding:12px 18px;margin-bottom:18px;min-width:0}.search-dock .searchbar{margin:0}.search-dock .search-history-wrap:empty{display:none}.search-dock .metrics{display:flex;flex-wrap:wrap;gap:8px 20px;margin:8px 0 0}.search-dock .metric-card{display:flex;gap:6px;align-items:baseline;padding:0;background:none;border:0;box-shadow:none;min-width:0}.search-dock .metric-label,.search-dock .metric-value{font-size:11px;line-height:1.4}.search-dock .searchbar input{min-width:0}
body.zen-mode .search-dock{opacity:0;pointer-events:none;visibility:hidden}
@media(max-width:1100px){.topbar.scenic-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.scenic-header .topbar-right{max-width:100%}.scenic-header .landscape-info{max-width:100%}}
@media(max-width:600px){.topbar.scenic-header{grid-template-areas:"brand brand" "tools tools" "main weather" "moon moon";padding:18px;gap:14px 10px;min-height:260px;height:auto}.scenic-header .topbar-right{justify-content:flex-start}.scenic-header .topbar-right button{font-size:11px}.scenic-header .clock-text{font-size:32px}.scenic-header .landscape-info{padding:10px;border-radius:12px}.scenic-header #landscapeWeather{font-size:12px}.scenic-header #landscapeSolar{font-size:10px}.scenic-header .topbar-meta-stack{gap:8px}.scenic-header .moon-forecast{gap:8px}.search-dock{padding:10px}.search-dock .searchbar{display:flex;flex-wrap:nowrap;gap:5px}.search-dock .searchbar input{width:100%;font-size:13px}.search-dock .btn-search{padding:10px;font-size:12px;white-space:nowrap}.search-dock .search-icon{display:none}}
