/* ─── styles.css — WeatherForIt ─────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  min-height: 100vh;
  background: #0a1628;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.5rem 1rem 5rem;
}

/* ── BACKGROUND ── */
.sky { position: fixed; inset: 0; background: linear-gradient(160deg, #0d1f3c 0%, #0a1628 50%, #060d1a 100%); z-index: 0; }
.stars { position: fixed; inset: 0; background-image: radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,0.5) 0%, transparent 100%), radial-gradient(1px 1px at 60% 8%, rgba(255,255,255,0.4) 0%, transparent 100%), radial-gradient(1px 1px at 80% 25%, rgba(255,255,255,0.3) 0%, transparent 100%), radial-gradient(1px 1px at 40% 35%, rgba(255,255,255,0.25) 0%, transparent 100%), radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.45) 0%, transparent 100%), radial-gradient(1px 1px at 55% 20%, rgba(255,255,255,0.35) 0%, transparent 100%); z-index: 0; transition: opacity 1.5s ease; }
.stars.hidden { opacity: 0; }
.clouds { position: fixed; inset: 0; background: radial-gradient(ellipse at 50% -20%, rgba(58,90,130,0.5) 0%, transparent 60%); z-index: 0; opacity: 0; transition: opacity 1.5s ease; }
.clouds.visible { opacity: 1; }
@keyframes fall { 0%{transform:translateY(-20px);opacity:0} 10%{opacity:1} 90%{opacity:1} 100%{transform:translateY(110vh);opacity:0} }
.drop { position: fixed; width: 1.5px; background: linear-gradient(to bottom, transparent, rgba(147,197,253,0.6)); animation: fall linear infinite; top: 0; border-radius: 1px; display: none; }
.drop.on { display: block; }

/* ── TOP CONTROLS ── */
.top-controls { position: fixed; top: 1rem; right: 1rem; z-index: 100; display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-end; }
.ctrl-btn { background: rgba(255,255,255,0.08); border: 1px solid rgba(147,197,253,0.18); border-radius: 50px; padding: 0.42rem 0.75rem; cursor: pointer; font-size: 0.88rem; color: rgba(200,220,255,0.6); transition: all 0.2s; backdrop-filter: blur(8px); display: flex; align-items: center; gap: 0.35rem; }
.ctrl-btn:hover { background: rgba(255,255,255,0.14); color: #e8f0fe; }
.ctrl-label { font-size: 0.68rem; font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: 0.04em; }
.er-btn.er-on { background: rgba(134,239,172,0.15); border-color: rgba(134,239,172,0.4); color: #86efac; }

/* ── CARD WRAPPER ── */
.card { position: relative; z-index: 10; width: 100%; max-width: 460px; padding-top: 1.2rem; margin: 0 auto; }

/* ── HOMEPAGE ── */
.loc-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 2rem; width: 100%; }
.app-logo { font-size: 3rem; margin-bottom: 0.8rem; display: block; }
.app-name { font-family: 'Manrope', sans-serif; font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800; color: #ffffff; letter-spacing: -0.03em; margin-bottom: 0.5rem; line-height: 1; }
.app-name span { color: #60a5fa; }
.app-tagline { font-family: 'Inter', sans-serif; font-size: clamp(0.95rem, 2.5vw, 1.05rem); color: rgba(148,185,255,0.6); font-weight: 400; margin-bottom: 0; letter-spacing: 0.01em; line-height: 1.6; max-width: 340px; }
.app-tagline strong { color: rgba(148,185,255,0.95); font-weight: 600; }
.app-divider { width: 36px; height: 2px; background: linear-gradient(90deg, #3b82f6, #93c5fd); border-radius: 2px; margin: 1.4rem auto 1.6rem; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; width: 100%; max-width: 420px; margin-bottom: 1.8rem; text-align: left; }
.feature-item { display: flex; align-items: flex-start; gap: 0.6rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(147,197,253,0.08); border-radius: 12px; padding: 0.7rem 0.8rem; }
.feature-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.05rem; }
.feature-title { font-size: 0.78rem; font-weight: 600; color: rgba(200,220,255,0.85); margin-bottom: 0.15rem; }
.feature-desc { font-size: 0.68rem; color: rgba(148,185,255,0.45); line-height: 1.4; }

.search-outer { width: 100%; max-width: 420px; }
.search-label { font-size: 0.78rem; color: rgba(148,185,255,0.45); margin-bottom: 0.7rem; font-weight: 400; }

/* ── SEARCH ── */
.search-wrap { position: relative; margin-bottom: 0.7rem; width: 100%; }
.search-row { display: flex; gap: 0.45rem; }
.s-input { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(147,197,253,0.18); border-radius: 50px; padding: 0.88rem 1.3rem; color: #e8f0fe; font-family: 'Inter', sans-serif; font-size: 0.9rem; outline: none; transition: all 0.2s; }
.s-input::placeholder { color: rgba(200,220,255,0.3); }
.s-input:focus { border-color: rgba(96,165,250,0.6); background: rgba(255,255,255,0.09); }
.sugg { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #0d1e35; border: 1px solid rgba(147,197,253,0.16); border-radius: 14px; overflow: hidden; z-index: 200; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.sugg-item { padding: 0.72rem 1.2rem; font-family: 'Inter', sans-serif; font-size: 0.85rem; color: rgba(200,220,255,0.68); cursor: pointer; transition: background 0.15s; border-bottom: 1px solid rgba(147,197,253,0.06); }
.sugg-item:last-child { border-bottom: none; }
.sugg-item:hover { background: rgba(37,99,235,0.22); color: #e8f0fe; }
.gps-btn { background: rgba(255,255,255,0.07); border: 1px solid rgba(147,197,253,0.18); color: rgba(147,197,253,0.75); border-radius: 50px; padding: 0.88rem 1.05rem; font-size: 1rem; cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
.gps-btn:hover { background: rgba(37,99,235,0.22); color: #93c5fd; }
.main-btn { width: 100%; background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: white; border: none; padding: 0.95rem 2rem; font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 600; border-radius: 50px; cursor: pointer; letter-spacing: 0.01em; transition: all 0.2s; box-shadow: 0 4px 24px rgba(37,99,235,0.4); }
.main-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235,0.6); }
.main-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── LOADING ── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.loading-text { color: rgba(200,220,255,0.65); font-family: 'Inter', sans-serif; font-size: 0.9rem; animation: pulse 1.5s ease infinite; text-align: center; margin-bottom: 0.35rem; font-weight: 500; }
.loading-sub { color: rgba(200,220,255,0.28); font-family: 'Inter', sans-serif; font-size: 0.76rem; text-align: center; }

/* ── RESULTS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
.res-header { text-align: center; margin-bottom: 1rem; animation: fadeUp 0.4s ease forwards; }
.res-town { font-family: 'Manrope', sans-serif; font-size: 1.6rem; font-weight: 700; color: #e8f0fe; letter-spacing: -0.02em; }
.res-change { font-family: 'Inter', sans-serif; font-size: 0.7rem; color: rgba(147,197,253,0.4); margin-top: 0.25rem; cursor: pointer; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; display: inline-block; font-weight: 500; }
.res-change:hover { color: rgba(147,197,253,0.75); }

/* ── PERSONA BAR ── */
.persona-bar { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.3rem 0 0.9rem; scrollbar-width: none; -ms-overflow-style: none; }
.persona-bar::-webkit-scrollbar { display: none; }
.p-btn { flex-shrink: 0; display: flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(147,197,253,0.1); border-radius: 50px; padding: 0.45rem 0.9rem; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.p-btn .p-icon { font-size: 1rem; }
.p-btn .p-name { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: rgba(200,220,255,0.45); font-weight: 500; transition: color 0.2s; }
.p-btn.active { background: rgba(37,99,235,0.3); border-color: rgba(147,197,253,0.3); }
.p-btn.active .p-name { color: #e8f0fe; }

/* ── ACCORDION ── */
.acc { background: rgba(255,255,255,0.04); border: 1px solid rgba(147,197,253,0.1); border-radius: 18px; margin-bottom: 0.7rem; overflow: hidden; animation: fadeUp 0.5s ease forwards; opacity: 0; }
.acc:nth-child(1) { animation-delay: 0s; }
.acc:nth-child(2) { animation-delay: 0.1s; }
.acc:nth-child(3) { animation-delay: 0.2s; }
.acc-hdr { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.3rem; cursor: pointer; user-select: none; transition: background 0.15s; }
.acc-hdr:hover { background: rgba(255,255,255,0.025); }
.acc-left { display: flex; align-items: center; gap: 0.7rem; }
.acc-ico { font-size: 1.15rem; }
.acc-ttl { font-family: 'Inter', sans-serif; font-size: 0.86rem; font-weight: 600; color: rgba(200,220,255,0.85); }
.acc-smry { font-family: 'Inter', sans-serif; font-size: 0.73rem; color: rgba(147,197,253,0.5); margin-top: 0.12rem; }
.acc-chev { color: rgba(147,197,253,0.3); font-size: 0.75rem; transition: transform 0.25s; flex-shrink: 0; }
.acc.open .acc-chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; padding: 0 1.3rem; }
.acc.open .acc-body { max-height: 1200px; padding: 0 1.3rem 1.3rem; }

/* ── CARD CONTENT ── */
.verdict { font-family: 'Manrope', sans-serif; font-size: clamp(1.8rem, 5.5vw, 2.6rem); font-weight: 700; line-height: 1; margin-bottom: 0.28rem; }
.verdict.yes { color: #93c5fd; } .verdict.no { color: #fde68a; } .verdict.warn { color: #fbbf24; }
.verdict.good { color: #86efac; } .verdict.caution { color: #fbbf24; } .verdict.danger { color: #f87171; }
.v-sub { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: rgba(200,220,255,0.42); margin-bottom: 0.9rem; }
.stats-grid { display: grid; gap: 0.5rem; margin-bottom: 0.85rem; }
.stats-grid.cols2 { grid-template-columns: 1fr 1fr; }
.stats-grid.cols3 { grid-template-columns: 1fr 1fr 1fr; }
.stat-box { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 0.65rem 0.75rem; border: 1px solid rgba(147,197,253,0.07); }
.stat-v { font-family: 'Manrope', sans-serif; font-size: 1.25rem; color: #e8f0fe; font-weight: 700; }
.stat-l { font-family: 'Inter', sans-serif; font-size: 0.62rem; color: rgba(200,220,255,0.32); letter-spacing: 0.07em; text-transform: uppercase; margin-top: 0.08rem; }
.alert-box { border-radius: 10px; padding: 0.6rem 0.85rem; display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.65rem; }
.alert-box.blue { background: rgba(37,99,235,0.13); border: 1px solid rgba(147,197,253,0.17); }
.alert-box.green { background: rgba(16,185,129,0.1); border: 1px solid rgba(52,211,153,0.17); }
.alert-box.amber { background: rgba(245,158,11,0.1); border: 1px solid rgba(251,191,36,0.2); }
.alert-box.red { background: rgba(239,68,68,0.1); border: 1px solid rgba(248,113,113,0.2); }
.alert-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.05rem; }
.alert-text { font-family: 'Inter', sans-serif; font-size: 0.78rem; line-height: 1.45; }
.alert-box.blue .alert-text { color: rgba(147,197,253,0.88); }
.alert-box.green .alert-text { color: rgba(110,231,183,0.88); }
.alert-box.amber .alert-text { color: rgba(251,191,36,0.88); }
.alert-box.red .alert-text { color: rgba(248,113,113,0.88); }
.layers { display: flex; flex-direction: column; gap: 0.42rem; margin-bottom: 0.85rem; }
.layer { display: flex; align-items: flex-start; gap: 0.55rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(147,197,253,0.06); border-radius: 10px; padding: 0.58rem 0.82rem; }
.l-ico { font-size: 1.05rem; flex-shrink: 0; margin-top: 0.04rem; }
.l-text { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: rgba(200,220,255,0.68); line-height: 1.44; }
.l-label { font-size: 0.6rem; color: rgba(147,197,253,0.38); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 0.08rem; }
.why-box { background: rgba(255,255,255,0.022); border-left: 2px solid rgba(147,197,253,0.18); border-radius: 0 8px 8px 0; padding: 0.6rem 0.85rem; margin-bottom: 0.55rem; }
.why-text { font-family: 'Inter', sans-serif; font-size: 0.76rem; color: rgba(200,220,255,0.42); line-height: 1.55; font-style: italic; }
.dtag { font-family: 'Inter', sans-serif; font-size: 0.7rem; color: rgba(200,220,255,0.28); }
.dtag span { color: rgba(147,197,253,0.52); }
.wear-temp-row { display: flex; align-items: baseline; gap: 0.55rem; margin-bottom: 0.18rem; }
.wear-temp { font-family: 'Manrope', sans-serif; font-size: clamp(2rem, 6.5vw, 3rem); font-weight: 700; color: #e8f0fe; line-height: 1; }
.wear-range { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: rgba(200,220,255,0.35); }
.wear-feels { font-family: 'Inter', sans-serif; font-size: 0.76rem; color: rgba(200,220,255,0.32); margin-bottom: 0.9rem; }
.divider { height: 1px; background: rgba(147,197,253,0.07); margin: 0.8rem 0; }
.section-ttl { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(147,197,253,0.38); margin-bottom: 0.55rem; }

/* ── SELECTOR PILLS ── */
.selector-wrap { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.2rem; }
.selector-pill { background: rgba(255,255,255,0.04); border: 1px solid rgba(147,197,253,0.1); border-radius: 50px; padding: 0.35rem 0.75rem; font-family: 'Inter', sans-serif; font-size: 0.75rem; color: rgba(200,220,255,0.5); cursor: pointer; transition: all 0.18s; white-space: nowrap; }
.selector-pill:hover { background: rgba(37,99,235,0.15); color: rgba(200,220,255,0.8); }
.selector-pill.active { background: rgba(37,99,235,0.35); border-color: rgba(147,197,253,0.35); color: #e8f0fe; font-weight: 500; }

/* ── COMMUTER FORM ── */
.commuter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.cf-row { display: flex; flex-direction: column; gap: 0.25rem; }
.cf-label { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; color: rgba(147,197,253,0.5); letter-spacing: 0.06em; text-transform: uppercase; }
.cf-input { background: rgba(255,255,255,0.06); border: 1px solid rgba(147,197,253,0.15); border-radius: 10px; padding: 0.65rem 0.9rem; color: #e8f0fe; font-family: 'Inter', sans-serif; font-size: 0.85rem; outline: none; transition: border-color 0.2s; width: 100%; }
.cf-input::placeholder { color: rgba(200,220,255,0.3); }
.cf-input:focus { border-color: rgba(96,165,250,0.5); }
.cf-time { background: rgba(255,255,255,0.06); border: 1px solid rgba(147,197,253,0.15); border-radius: 10px; padding: 0.65rem 0.9rem; color: #e8f0fe; font-family: 'Inter', sans-serif; font-size: 0.85rem; outline: none; transition: border-color 0.2s; width: 100%; }
.cf-time:focus { border-color: rgba(96,165,250,0.5); }
.cf-times { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

/* ── EASY READ ── */
.er-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(147,197,253,0.12); border-radius: 20px; padding: 1.6rem 1.4rem; margin-bottom: 0.75rem; animation: fadeUp 0.5s ease forwards; opacity: 0; text-align: center; }
.er-card:nth-child(2) { animation-delay: 0.1s; }
.er-card:nth-child(3) { animation-delay: 0.2s; }
.er-emoji { font-size: 3.5rem; line-height: 1; margin-bottom: 0.6rem; display: block; }
.er-verdict { font-family: 'Manrope', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.1; }
.er-verdict.yes { color: #93c5fd; } .er-verdict.no { color: #fde68a; }
.er-verdict.good { color: #86efac; } .er-verdict.caution { color: #fbbf24; } .er-verdict.danger { color: #f87171; }
.er-sentence { font-family: 'Inter', sans-serif; font-size: 1.05rem; color: rgba(200,220,255,0.85); line-height: 1.5; margin-bottom: 0.4rem; font-weight: 400; }
.er-detail { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: rgba(147,197,253,0.55); margin-top: 0.3rem; }
.er-alert { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; background: rgba(37,99,235,0.12); border: 1px solid rgba(147,197,253,0.2); border-radius: 12px; padding: 0.65rem 1rem; }
.er-alert.amber { background: rgba(245,158,11,0.12); border-color: rgba(251,191,36,0.25); }
.er-alert.red { background: rgba(239,68,68,0.1); border-color: rgba(248,113,113,0.2); }
.er-alert.green { background: rgba(16,185,129,0.1); border-color: rgba(52,211,153,0.2); }
.er-alert-icon { font-size: 1.3rem; }
.er-alert-text { font-family: 'Inter', sans-serif; font-size: 0.9rem; color: rgba(200,220,255,0.9); font-weight: 500; line-height: 1.4; }

/* ── RESET ── */
.reset-row { text-align: center; margin-top: 0.4rem; padding-bottom: 0.5rem; }
.reset-btn { background: transparent; border: 1px solid rgba(147,197,253,0.12); color: rgba(200,220,255,0.35); padding: 0.52rem 1.4rem; font-family: 'Inter', sans-serif; font-size: 0.73rem; border-radius: 50px; cursor: pointer; letter-spacing: 0.05em; transition: all 0.2s; }
.reset-btn:hover { border-color: rgba(147,197,253,0.32); color: rgba(200,220,255,0.7); }
.error-text { font-family: 'Inter', sans-serif; color: rgba(253,186,116,0.8); font-size: 0.86rem; margin-bottom: 1.5rem; line-height: 1.5; }
.footer { position: fixed; bottom: 0.9rem; font-family: 'Inter', sans-serif; font-size: 0.6rem; color: rgba(200,220,255,0.12); letter-spacing: 0.05em; z-index: 10; text-align: center; }

/* ── DESKTOP ── */
@media (min-width: 768px) {
  body { padding: 2rem 2rem 4rem; }
  .card { max-width: 1100px; }
  #s-location { max-width: 700px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .app-name { font-size: 3.5rem; }
  .app-tagline { font-size: 1.1rem; max-width: 440px; }
  .search-outer { max-width: 500px; }
  .persona-bar { display: grid; grid-template-columns: repeat(5, 1fr); overflow-x: visible; padding: 0 0 1rem; gap: 0.5rem; }
  .p-btn { flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; padding: 0.8rem 0.5rem; border-radius: 14px; text-align: center; }
  .p-btn .p-icon { font-size: 1.5rem; }
  .p-btn .p-name { font-size: 0.72rem; }
  #cards-wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; align-items: start; }
  .acc { margin-bottom: 0; }
  .acc-body { max-height: none !important; padding: 0 1.3rem 1.3rem !important; }
  .acc-chev { display: none; }
  .acc-hdr { cursor: default; }
  .acc-hdr:hover { background: transparent; }
  .res-town { font-size: 2rem; }
  .reset-row { margin-top: 1.2rem; }
  .results-wrapper { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; }
  .er-card { margin-bottom: 0; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .persona-bar { grid-template-columns: repeat(5, 1fr); }
}

/* ── LIGHT MODE ── */
body.light { background: #e8f2fd; }
body.light .sky { background: linear-gradient(160deg, #bfdbfe 0%, #dbeafe 35%, #e8f2fd 70%); }
body.light .stars { opacity: 0; }
body.light .clouds { background: radial-gradient(ellipse at 50% -10%, rgba(147,197,253,0.4) 0%, transparent 60%); }
body.light .drop { background: linear-gradient(to bottom, transparent, rgba(37,99,235,0.45)); }
body.light .ctrl-btn { background: rgba(255,255,255,0.7); border-color: rgba(37,99,235,0.2); color: #1e3a5f; }
body.light .ctrl-btn:hover { background: white; }
body.light .er-btn.er-on { background: rgba(5,150,105,0.1); border-color: rgba(5,150,105,0.35); color: #065f46; }
body.light .app-name { color: #0f2744; }
body.light .app-name span { color: #1d4ed8; }
body.light .app-tagline { color: #4b6a8a; }
body.light .app-tagline strong { color: #1d4ed8; }
body.light .app-divider { background: linear-gradient(90deg, #2563eb, #60a5fa); }
body.light .feature-item { background: white; border-color: rgba(37,99,235,0.1); box-shadow: 0 1px 6px rgba(0,0,0,0.05); }
body.light .feature-title { color: #0f2744; }
body.light .feature-desc { color: #6b8fac; }
body.light .search-label { color: #4b6a8a; }
body.light .s-input { background: white; border-color: rgba(37,99,235,0.25); color: #0f2744; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
body.light .s-input::placeholder { color: #8aabcc; }
body.light .s-input:focus { border-color: #2563eb; }
body.light .gps-btn { background: white; border-color: rgba(37,99,235,0.25); color: #2563eb; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
body.light .sugg { background: white; border-color: rgba(37,99,235,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.light .sugg-item { color: #1e3a5f; border-color: rgba(0,0,0,0.06); }
body.light .sugg-item:hover { background: #eff6ff; color: #0f2744; }
body.light .res-town { color: #0f2744; }
body.light .res-change { color: #2563eb; }
body.light .p-btn { background: white; border-color: rgba(37,99,235,0.18); box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
body.light .p-btn .p-name { color: #3b6490; }
body.light .p-btn.active { background: #1d4ed8; border-color: #1d4ed8; }
body.light .p-btn.active .p-name { color: white; }
body.light .acc { background: white; border-color: rgba(37,99,235,0.12); box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
body.light .acc-hdr:hover { background: #f5f9ff; }
body.light .acc-ttl { color: #0f2744; }
body.light .acc-smry { color: #2563eb; }
body.light .acc-chev { color: #2563eb; }
body.light .verdict.yes { color: #1d4ed8; } body.light .verdict.no { color: #b45309; }
body.light .verdict.good { color: #047857; } body.light .verdict.caution { color: #b45309; } body.light .verdict.danger { color: #dc2626; }
body.light .v-sub { color: #4b6a8a; }
body.light .stat-box { background: #f0f7ff; border-color: rgba(37,99,235,0.12); }
body.light .stat-v { color: #0f2744; }
body.light .stat-l { color: #5a80a0; }
body.light .alert-box.blue { background: #dbeafe; border-color: rgba(37,99,235,0.3); }
body.light .alert-box.blue .alert-text { color: #1e40af; }
body.light .alert-box.green { background: #d1fae5; border-color: rgba(5,150,105,0.3); }
body.light .alert-box.green .alert-text { color: #065f46; }
body.light .alert-box.amber { background: #fef3c7; border-color: rgba(217,119,6,0.3); }
body.light .alert-box.amber .alert-text { color: #92400e; }
body.light .alert-box.red { background: #fee2e2; border-color: rgba(220,38,38,0.3); }
body.light .alert-box.red .alert-text { color: #991b1b; }
body.light .layer { background: #f0f7ff; border-color: rgba(37,99,235,0.1); }
body.light .l-text { color: #1e3a5f; }
body.light .l-label { color: #2563eb; font-weight: 600; }
body.light .why-box { background: #dbeafe; border-left-color: #3b82f6; }
body.light .why-text { color: #1e40af; }
body.light .wear-temp { color: #0f2744; }
body.light .wear-range, body.light .wear-feels { color: #4b6a8a; }
body.light .dtag { color: #6b8fac; }
body.light .dtag span { color: #1d4ed8; font-weight: 600; }
body.light .divider { background: rgba(37,99,235,0.12); }
body.light .section-ttl { color: #2563eb; font-weight: 600; }
body.light .selector-pill { background: #f0f7ff; border-color: rgba(37,99,235,0.15); color: #4b6a8a; }
body.light .selector-pill:hover { background: #dbeafe; color: #1e3a5f; }
body.light .selector-pill.active { background: #1d4ed8; border-color: #1d4ed8; color: white; }
body.light .cf-input, body.light .cf-time { background: #f0f7ff; border-color: rgba(37,99,235,0.2); color: #0f2744; }
body.light .cf-label { color: #2563eb; }
body.light .reset-btn { border-color: rgba(37,99,235,0.25); color: #3b6490; }
body.light .reset-btn:hover { border-color: #2563eb; color: #1d4ed8; }
body.light .footer { color: #8aabcc; }
body.light .loading-text { color: #1e3a5f; }
body.light .loading-sub { color: #4b6a8a; }
body.light .er-card { background: white; border-color: rgba(37,99,235,0.12); box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
body.light .er-verdict.yes { color: #1d4ed8; } body.light .er-verdict.no { color: #b45309; }
body.light .er-verdict.good { color: #047857; } body.light .er-verdict.caution { color: #b45309; } body.light .er-verdict.danger { color: #dc2626; }
body.light .er-sentence { color: #1e3a5f; }
body.light .er-detail { color: #4b6a8a; }
body.light .er-alert { background: #dbeafe; border-color: rgba(37,99,235,0.25); }
body.light .er-alert.amber { background: #fef3c7; border-color: rgba(217,119,6,0.25); }
body.light .er-alert.red { background: #fee2e2; border-color: rgba(220,38,38,0.2); }
body.light .er-alert.green { background: #d1fae5; border-color: rgba(5,150,105,0.25); }
body.light .er-alert-text { color: #1e3a5f; }

@media (prefers-color-scheme: light) {
  body:not(.dark) { background: #e8f2fd; }
  body:not(.dark) .sky { background: linear-gradient(160deg, #bfdbfe 0%, #dbeafe 35%, #e8f2fd 70%); }
  body:not(.dark) .stars { opacity: 0; }
}
