:root {
  color-scheme: dark;
  --bg: #101827;
  --sidebar: #111a2a;
  --panel: #182438;
  --panel-soft: #1b2940;
  --line: rgba(185, 203, 231, .10);
  --muted: #8e9bb0;
  --text: #edf3fb;
  --accent: #79b8ff;
  --mint: #72dbc0;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; font-size: 14px; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.app-shell { min-height: 100vh; }
.sidebar { width: 250px; background: var(--sidebar); border-right: 1px solid var(--line); position: fixed; inset: 0 auto 0 0; padding: 28px 18px 20px; display: flex; flex-direction: column; z-index: 5; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin: 1px 8px 55px; }
.brand-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #83c9ff; }
.brand-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand-copy strong { font: 800 19px "Manrope", sans-serif; letter-spacing: -.8px; }
.brand-copy span { color: #8190a6; font-size: 9px; letter-spacing: 2.3px; font-weight: 700; }
.sidebar-label { color: #748198; font-size: 10px; font-weight: 700; letter-spacing: 1.55px; margin: 0 10px 15px; }
.saved-location { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 13px 11px; border-radius: 9px; background: rgba(123, 181, 242, .10); border: 1px solid rgba(123, 181, 242, .13); }
.saved-icon { font-size: 20px; color: #79b8ff; }
.saved-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.saved-copy strong { font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.saved-copy small { color: #8997ad; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.location-dot, .live-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 11px rgba(114, 219, 192, .7); }
.add-location { border: 0; background: transparent; margin: 13px 5px; padding: 10px; text-align: left; color: #9ba9bd; cursor: pointer; border-radius: 8px; font-size: 12px; }
.add-location:hover { color: #e8f2ff; background: rgba(255,255,255,.04); }
.add-location span { font-size: 17px; margin-right: 8px; vertical-align: -1px; }
.sidebar-bottom { margin-top: auto; }
.unit-control { margin: 0 8px 25px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; display: flex; gap: 4px; }
.unit-button { background: transparent; border: 0; color: #8996aa; padding: 8px; flex: 1; border-radius: 6px; cursor: pointer; }
.unit-button.selected { background: #273953; color: #eaf4ff; }
.sidebar-note { color: #8190a5; border-top: 1px solid var(--line); padding: 19px 9px 14px; display: flex; align-items: flex-start; gap: 8px; font-size: 11px; line-height: 1.5; }
.note-icon { color: #7ebfff; font-size: 16px; }
.sidebar-footer { color: #68778e; padding: 12px 9px 0; font-size: 10px; }
.sidebar-footer a, .page-footer a { color: #9eb9d7; text-decoration: none; }
.sidebar-footer a:hover, .page-footer a:hover { text-decoration: underline; }
.main-content { margin-left: 250px; max-width: 1650px; padding: 0 48px 20px; min-height: 100vh; }
.topbar { height: 73px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.breadcrumb { display: flex; gap: 11px; color: #8794a9; font-size: 12px; }
.breadcrumb strong { color: #dae5f3; font-weight: 500; }
.crumb-divider { color: #526176; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.unit-switch { display: flex; align-items: center; gap: 10px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 7px; }
.unit-switch button { background: transparent; border: 0; color: #7f8da2; font-size: 11px; padding: 3px; cursor: pointer; }
.unit-switch button.selected { color: #dceaff; }
.unit-switch > span { height: 13px; border-left: 1px solid #435169; }
.icon-button { background: transparent; border: 1px solid var(--line); height: 33px; width: 36px; border-radius: 7px; display: grid; place-items: center; cursor: pointer; color: #a9b8cb; }
.icon-button:hover { background: rgba(255,255,255,.06); color: white; }
.icon-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.search-section { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 35px 0 28px; }
.eyebrow { color: #80baff; font-size: 9px; font-weight: 700; letter-spacing: 1.8px; display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.eyebrow-line { display: inline-block; width: 17px; border-top: 1px solid #80baff; }
h1, h2, h3, p { margin-top: 0; }
.search-copy h1 { font: 700 25px "Manrope", sans-serif; letter-spacing: -.8px; margin: 0 0 5px; }
.search-copy h1 span { color: #9cacc2; font-weight: 500; }
.search-copy p { color: #8190a5; font-size: 12px; margin: 0; }
.search-tools { width: min(550px, 58%); }
.search-controls { display: flex; align-items: center; gap: 9px; }
.search-wrap { position: relative; min-width: 0; flex: 1; z-index: 4; }
.search-box { display: flex; align-items: center; gap: 11px; height: 43px; padding: 0 12px; background: #19263a; border: 1px solid #2a3b54; border-radius: 8px; transition: border-color .15s; }
.search-box:focus-within { border-color: #6da9e6; box-shadow: 0 0 0 3px rgba(109,169,230,.1); }
.search-box svg { width: 17px; height: 17px; fill: none; stroke: #91a1b8; stroke-width: 1.8; stroke-linecap: round; }
.search-box input { min-width: 0; flex: 1; color: #ecf2fb; background: transparent; border: 0; outline: 0; font-size: 12px; }
.search-box input::placeholder { color: #78869b; }
.search-hint { color: #7f8da2; font-size: 11px; border: 1px solid #34445a; border-radius: 4px; padding: 1px 6px; }
.location-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; height: 43px; padding: 0 12px; color: #d9e9f9; background: rgba(105,169,228,.12); border: 1px solid rgba(120,184,244,.34); border-radius: 8px; font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.location-button:hover, .location-button[aria-pressed="true"] { background: rgba(105,169,228,.22); border-color: #75b5f3; }
.location-button:disabled { opacity: .65; cursor: wait; }
.location-button svg { width: 15px; height: 15px; fill: none; stroke: #84c2ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.location-privacy { margin: 7px 2px 0; color: #718198; font-size: 9px; text-align: right; }
.search-results { position: absolute; top: calc(100% + 7px); inset-inline: 0; background: #1c2a3e; border: 1px solid #33445c; border-radius: 9px; box-shadow: 0 14px 35px rgba(0,0,0,.35); max-height: 340px; overflow-y: auto; padding: 5px; }
.search-results[hidden] { display: none; }
.result-option { display: flex; gap: 11px; width: 100%; text-align: left; align-items: center; border: 0; background: transparent; border-radius: 6px; padding: 10px; cursor: pointer; }
.result-option:hover, .result-option:focus { background: #2a3b54; outline: 0; }
.result-pin { color: #77b8fb; font-size: 17px; }
.result-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.result-text strong { font-size: 12px; font-weight: 600; }
.result-text small { color: #8b9ab0; font-size: 10px; }
.status-message { margin: 0 0 16px; border: 1px solid rgba(246, 169, 122, .22); background: rgba(246, 169, 122, .08); color: #f1b18d; border-radius: 8px; padding: 12px 14px; font-size: 12px; }
.status-message[hidden], #weather-content[hidden] { display: none; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .9fr); gap: 16px; }
.hero-card, .sun-card { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(120deg, #1d2b41 0%, #1b293e 100%); min-height: 257px; }
.hero-card { padding: 22px 25px 0; overflow: hidden; position: relative; }
.hero-card:after { content: ""; position: absolute; right: 4%; top: 1%; width: 230px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(122,177,238,.10), transparent 68%); pointer-events: none; }
.hero-topline { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.location-kicker { display: flex; align-items: center; gap: 5px; color: #d6e2f1; font-size: 13px; font-weight: 600; }
.pin { color: #7db8f4; font-size: 17px; }
.hero-topline h2 { color: #8392a8; font-size: 11px; font-weight: 400; margin: 5px 0 0 20px; }
.local-time { color: #71829a; font-size: 10px; margin: 3px 0 0 20px; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; color: #8e9db1; border: 1px solid rgba(155,176,205,.13); border-radius: 20px; padding: 6px 9px; font-size: 8px; letter-spacing: 1px; }
.live-badge span { width: 5px; height: 5px; }
.hero-weather { height: 142px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.temperature-block { padding-left: 19px; }
.temperature { font: 500 70px/1 "Manrope", sans-serif; letter-spacing: -4px; }
.condition { color: #dae4f1; font-size: 13px; margin-top: 7px; }
.feels-like { color: #8b9ab0; font-size: 10px; margin-top: 5px; }
.weather-art { width: 140px; text-align: center; font-size: 81px; filter: drop-shadow(0 7px 15px rgba(255,208,110,.14)); position: relative; z-index: 1; }
.hero-bottom { display: flex; align-items: center; gap: 17px; border-top: 1px solid var(--line); padding: 14px 1px; position: relative; z-index: 1; color: #8695aa; font-size: 10px; }
.hero-bottom div { display: flex; align-items: center; gap: 6px; }
.hero-bottom strong { color: #dce7f5; font-size: 11px; font-weight: 600; }
.hero-bottom i { height: 14px; border-left: 1px solid #3a4960; }
.hero-bottom-icon { color: #87baf0; font-size: 14px; }
.sun-card { padding: 20px 20px 13px; background: #182438; }
.section-heading { display: flex; align-items: center; justify-content: space-between; min-height: 22px; margin-bottom: 15px; }
.section-heading > div { display: flex; align-items: center; gap: 9px; }
.section-heading h3 { font: 600 13px "Manrope", sans-serif; letter-spacing: -.15px; margin: 0; }
.section-icon { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 6px; font-size: 14px; }
.sun-icon { color: #ffc66d; background: rgba(255,194,97,.10); }
.subtle-label { color: #74839a; font-size: 8px; letter-spacing: 1px; }
.sun-visual { height: 91px; position: relative; overflow: hidden; }
.sun-path { height: 132px; position: absolute; left: 9%; right: 9%; top: 24px; border: 1px dashed rgba(218,185,131,.32); border-bottom: 0; border-radius: 100% 100% 0 0 / 100% 100% 0 0; }
.sun-visual:before { content: ""; position: absolute; height: 1px; left: 0; right: 0; bottom: 13px; background: linear-gradient(90deg, transparent, #46556a 10%, #46556a 90%, transparent); }
.sunrise-icon, .sunset-icon { position: absolute; bottom: 3px; color: #d4aa73; font-size: 15px; }
.sunrise-icon { left: 1px; }
.sunset-icon { right: 1px; }
.sun-dot { width: 23px; height: 23px; position: absolute; left: 50%; top: 34px; margin-left: -11px; border-radius: 50%; background: #ffcd78; box-shadow: 0 0 23px rgba(255,194,104,.55); }
.sunrise-label, .sunset-label { position: absolute; bottom: 0; color: #8998ad; font-size: 9px; }
.sunrise-label { left: 23px; }.sunset-label { right: 23px; }
.sun-times { display: flex; justify-content: space-between; padding: 7px 3px 11px; }
.sun-times div { display: flex; flex-direction: column; gap: 4px; }
.sun-times small { color: #78879d; font-size: 8px; letter-spacing: 1px; }
.sun-times strong { font: 600 14px "Manrope", sans-serif; }
.daylight-row { display: flex; align-items: center; gap: 7px; color: #8b9ab0; border-top: 1px solid var(--line); padding: 11px 2px 0; font-size: 10px; }
.daylight-row span:first-child { color: #ffc66d; font-size: 14px; }
.daylight-row strong { margin-left: auto; color: #dbe6f4; font-weight: 500; }
.section-block { margin-top: 26px; }
.section-block > .section-heading { margin-bottom: 14px; }
.metric-icon { background: rgba(105,184,219,.10); color: #79c9d5; }
.updated-label, .section-caption { color: #76869d; font-size: 10px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.metric-card { position: relative; min-width: 0; min-height: 128px; padding: 13px 14px 11px; border: 1px solid var(--line); border-radius: 9px; background: #182438; overflow: hidden; }
.metric-top { display: flex; justify-content: space-between; align-items: center; color: #92a0b4; font-size: 10px; }
.metric-symbol { font-size: 15px; }
.humidity-symbol { color: #74bfed; }.wind-symbol { color: #73d2c2; }.feels-symbol { color: #f0a78d; }.uv-symbol { color: #f4c176; }.visibility-symbol { color: #8ac8d0; }.pressure-symbol { color: #b5a7f0; }.rain-symbol { color: #75bdf2; }.cloud-symbol { color: #a4b5ca; }
.metric-card > strong { display: block; font: 600 23px "Manrope", sans-serif; letter-spacing: -.5px; margin-top: 9px; white-space: nowrap; }
.metric-foot { color: #75849a; font-size: 9px; margin-top: 2px; white-space: nowrap; }
.meter, .cloud-meter { height: 3px; margin-top: 13px; background: #2c3b50; border-radius: 3px; }
.meter span, .cloud-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5bbdce, #78c8ed); border-radius: 3px; transition: width .3s; }
.compass { position: absolute; bottom: 14px; right: 16px; width: 29px; height: 28px; display: grid; place-items: center; border: 1px solid #33435a; border-radius: 50%; color: #65748a; font-size: 6px; }
.compass i { position: absolute; font-size: 14px; color: #76d3c1; font-style: normal; transform: rotate(0deg); }
.comfort-track { height: 3px; margin-top: 13px; background: linear-gradient(90deg, #6da2d3, #76c7b4 50%, #e7b572, #e78576); border-radius: 4px; position: relative; }
.comfort-track i { position: absolute; width: 6px; height: 7px; border: 1px solid #e6edf7; background: #304157; top: -2px; left: 50%; border-radius: 3px; }
.uv-meter { height: 3px; margin-top: 13px; background: linear-gradient(90deg, #70c99d, #e7d372, #ed9a69, #dc7086); border-radius: 3px; }
.uv-meter span { display: block; height: 6px; width: 6px; position: relative; top: -2px; left: 0; border-radius: 50%; background: #fff1c5; box-shadow: 0 0 5px #ffd17b; }
.visibility-dots { display: flex; gap: 4px; margin-top: 13px; }
.visibility-dots i { height: 3px; flex: 1; border-radius: 3px; background: #73bbd0; }
.pressure-chart { height: 19px; margin-top: 4px; }
.pressure-chart svg { width: 100%; height: 100%; overflow: visible; }
.pressure-chart path { fill: none; stroke: #b8a7ee; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rain-dots { display: flex; gap: 4px; margin-top: 13px; }
.rain-dots i { height: 3px; flex: 1; border-radius: 3px; background: #29394f; }
.rain-dots i.filled { background: #71bdf2; }
.forecast-section { margin-top: 25px; }
.hourly-icon { color: #79bcf4; background: rgba(105,175,240,.1); }.weekly-icon { color: #78d0bc; background: rgba(114,219,192,.1); }
.hourly-list { display: grid; grid-template-columns: repeat(8, minmax(70px, 1fr)); overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; background: #182438; }
.hour-item { min-width: 70px; text-align: center; padding: 13px 5px 12px; border-right: 1px solid var(--line); }
.hour-item:last-child { border-right: 0; }
.hour-time { color: #8a99ad; font-size: 9px; }
.hour-icon { font-size: 21px; margin: 8px 0 7px; }
.hour-temp { font: 600 13px "Manrope", sans-serif; }
.hour-rain { color: #78b9e9; font-size: 9px; margin-top: 7px; }
.daily-list { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #182438; }
.day-row { display: grid; grid-template-columns: 1.15fr .6fr .75fr 1.5fr .65fr .7fr; gap: 10px; align-items: center; min-height: 45px; padding: 7px 14px; border-bottom: 1px solid var(--line); color: #c7d3e2; font-size: 10px; }
.day-row:last-child { border-bottom: 0; }
.day-name { color: #e0e9f4; font-weight: 600; }
.day-condition { display: flex; gap: 7px; align-items: center; color: #a9b6c8; }
.day-condition span { font-size: 15px; }
.day-range { display: flex; align-items: center; gap: 8px; color: #8593a8; }
.day-range strong { color: #e0e8f3; font-weight: 500; white-space: nowrap; }
.range-bar { width: 66px; max-width: 100%; height: 4px; background: linear-gradient(90deg,#80bce7,#ffc778); border-radius: 4px; }
.day-rain { color: #77bdea; white-space: nowrap; }
.day-wind { color: #a1b0c4; white-space: nowrap; }
.day-uv { color: #e7be80; white-space: nowrap; text-align: right; }
.empty-state { min-height: 380px; border: 1px dashed #2b3a50; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; background: rgba(24,36,56,.45); }
.empty-state[hidden] { display: none; }
.empty-art { font-size: 43px; margin-bottom: 12px; filter: drop-shadow(0 8px 12px rgba(250,201,111,.13)); }
.empty-state h2 { font: 600 17px "Manrope", sans-serif; margin-bottom: 8px; }
.empty-state p { max-width: 380px; margin: 0; color: #8997ab; font-size: 12px; line-height: 1.7; }
.page-footer { display: flex; justify-content: space-between; color: #66768c; font-size: 9px; margin-top: 28px; padding: 4px 0 10px; }
.loading .icon-button svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1500px) { .main-content { padding-left: 60px; padding-right: 60px; } .metrics-grid { gap: 13px; } .metric-card { min-height: 137px; padding: 15px 16px; } }
@media (max-width: 1050px) { .sidebar { width: 215px; }.main-content { margin-left: 215px; padding-left: 28px; padding-right: 28px; }.overview-grid { grid-template-columns: minmax(0,1.4fr) minmax(230px,.9fr); }.metrics-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }.metric-card { padding: 12px 10px; } }
@media (max-width: 780px) { .sidebar { position: static; width: auto; height: auto; padding: 12px 18px; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; gap: 12px; }.brand { margin: 0 auto 0 0; }.brand-icon,.brand-icon svg { width: 32px;height:32px; }.brand-copy strong { font-size: 16px; }.sidebar-label,.saved-location,.add-location,.sidebar-bottom { display: none; }.main-content { margin: 0; padding: 0 20px 20px; }.topbar { height: 57px; }.search-section { align-items: stretch; flex-direction: column; gap: 17px; padding: 25px 0 20px; }.search-tools { width: 100%; }.search-controls { width: 100%; }.overview-grid { grid-template-columns: 1fr; }.sun-card { min-height: 235px; }.sun-visual { max-width: 470px; margin: auto; }.sun-times,.daylight-row { max-width: 470px; margin-left: auto; margin-right: auto; }.metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.hero-card { min-height: 245px; }.day-row { grid-template-columns: .9fr .65fr 1fr 1.3fr .6fr; }.day-wind { display:none; } }
@media (max-width: 450px) { .main-content { padding-left: 14px; padding-right: 14px; }.search-copy h1 { font-size: 22px; }.search-controls { align-items: stretch; flex-direction: column; }.location-button { width: 100%; }.location-privacy { text-align: center; }.topbar-actions { gap: 8px; }.breadcrumb { gap: 7px; }.hero-card { padding-left: 17px; padding-right: 17px; }.temperature { font-size: 61px; }.weather-art { font-size: 66px; width: 100px; }.live-badge { font-size: 7px; padding: 5px 7px; }.hero-bottom { gap: 10px; }.hero-bottom div { gap: 4px; }.day-row { grid-template-columns: .8fr .55fr 1fr .65fr; gap: 5px; padding-left: 9px; padding-right: 9px; }.day-condition { font-size: 0; }.day-condition span { font-size: 15px; }.day-rain { font-size: 9px; }.day-uv { font-size: 9px; }.range-bar { width: 34px; }.page-footer { gap: 12px; flex-wrap: wrap; } }
