:root {
  --bg-top: #0b1220;
  --bg-bot: #131c33;
  --card: rgba(255, 255, 255, 0.06);
  --card-brd: rgba(255, 255, 255, 0.10);
  --tile: rgba(255, 255, 255, 0.04);   /* subtle inner fills: stat tiles, bar tracks */
  --surface: #1a2440;                  /* elevated popovers: search results, select menu */
  --line: rgba(255, 255, 255, 0.08);   /* hairline dividers */
  --text: #eef2ff;
  --muted: #9aa6c4;
  --accent: #4ea3ff;
  --accent-2: #7cf0c8;
  --rain: #5db4ff;
  --on-accent: #04122a;   /* readable text on top of --accent fills (tabs, buttons) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
}

/* Light palette — applied when the user picks Light, or when Auto + the phone
   is Light. A explicit Dark choice keeps the default dark palette above. */
:root[data-theme="light"] {
  --bg-top: #eef4ff;
  --bg-bot: #d6e4fb;
  --card: rgba(255, 255, 255, 0.66);
  --card-brd: rgba(20, 40, 80, 0.14);
  --tile: rgba(20, 40, 80, 0.06);
  --surface: #ffffff;
  --line: rgba(20, 40, 80, 0.12);
  --text: #16203a;
  --muted: #5c6b8a;
  --accent: #2b7fe0;
  --accent-2: #1fb892;
  --rain: #2b7fe0;
}
@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
    --bg-top: #eef4ff;
    --bg-bot: #d6e4fb;
    --card: rgba(255, 255, 255, 0.66);
    --card-brd: rgba(20, 40, 80, 0.14);
    --tile: rgba(20, 40, 80, 0.06);
    --surface: #ffffff;
    --line: rgba(20, 40, 80, 0.12);
    --text: #16203a;
    --muted: #5c6b8a;
    --accent: #2b7fe0;
    --accent-2: #1fb892;
    --rain: #2b7fe0;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bot));
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#app {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--safe-top) + 12px) 14px calc(var(--safe-bot) + 12px);
}

/* ---------- Header ---------- */
.topbar { margin-bottom: 14px; }

.loc {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.loc-text { flex: 1; min-width: 0; }

.place {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-sub { font-size: 13px; color: var(--muted); }

.icon-btn {
  background: var(--card);
  border: 1px solid var(--card-brd);
  color: var(--text);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
  flex: none;
}

.unit-btn {
  background: var(--card);
  border: 1px solid var(--card-brd);
  color: var(--text);
  border-radius: 12px;
  height: 42px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  flex: none;
}

/* ---------- Enable-location banner ---------- */
.geo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(78, 163, 255, 0.16), rgba(78, 163, 255, 0.06));
  border: 1px solid rgba(78, 163, 255, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.geo-banner-icon { font-size: 22px; line-height: 1; flex: none; color: var(--accent); }
.geo-banner-text { flex: 1; min-width: 0; }
.geo-banner-title { font-size: 15px; font-weight: 700; }
.geo-banner-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.geo-enable-btn {
  background: var(--accent);
  border: none;
  color: var(--on-accent);
  border-radius: 10px;
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex: none;
}

.geo-dismiss-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  flex: none;
  padding: 6px;
}

/* ---------- Severe weather alerts ---------- */
.alerts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.alerts:empty { display: none; }

.alert {
  border-radius: 14px;
  border: 1px solid var(--card-brd);
  background: var(--tile);
  overflow: hidden;
}

.alert-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
}

.alert-icon { font-size: 18px; flex: none; line-height: 1; }
.alert-titles { flex: 1; min-width: 0; }
.alert-event {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alert-when { font-size: 12px; color: var(--muted); margin-top: 2px; }
.alert-chev { color: var(--muted); font-size: 11px; flex: none; transition: transform .15s; }
.alert.open .alert-chev { transform: rotate(180deg); }

.alert-body {
  display: none;
  padding: 0 14px 14px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.alert.open .alert-body { display: block; }

.alert-instruction {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.alert-instruction-k {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 4px;
}

/* severity tints */
.alert.sev-extreme  { border-color: rgba(255, 77, 77, 0.65);  background: rgba(255, 77, 77, 0.13); }
.alert.sev-severe   { border-color: rgba(255, 120, 60, 0.6);  background: rgba(255, 120, 60, 0.12); }
.alert.sev-moderate { border-color: rgba(245, 200, 60, 0.5);  background: rgba(245, 200, 60, 0.10); }
.alert.sev-minor    { border-color: rgba(120, 200, 130, 0.5); background: rgba(120, 200, 130, 0.08); }

/* ---------- Source / model picker ---------- */
.source-row { margin-bottom: 10px; }

.src-select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--card-brd);
  color: var(--text);
  border-radius: 12px;
  height: 42px;
  padding: 0 38px 0 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%239aa6c4' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.src-select option,
.src-select optgroup { background: var(--surface); color: var(--text); }

/* Forecast-source picker, in the header below the location bar */
.source-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.source-label { flex: 0 0 auto; font-size: 13px; color: var(--muted); }
.source-bar .src-select { flex: 1; width: auto; height: 38px; }

/* ---------- Search ---------- */
.search { position: relative; }

.search input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--card-brd);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
}

.search input::placeholder { color: var(--muted); }

.search-results {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--card-brd);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1200;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.search-results .res {
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.search-results .res:last-child { border-bottom: none; }
.search-results .res:active { background: var(--tile); }
.search-results .res small { color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-brd);
  border-radius: 18px;
  padding: 16px;
}

/* ---------- Current ---------- */
.current { margin-bottom: 14px; }

.cur-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cur-temps { flex: 1; min-width: 0; }

.cur-sun {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}
.sun-row { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.sun-ico { font-size: 15px; line-height: 1; }
.sun-time { font-size: 14px; font-weight: 600; }

.cur-icon { font-size: 64px; line-height: 1; }

.cur-temp { font-size: 52px; font-weight: 800; line-height: 1; }
.cur-desc { font-size: 16px; margin-top: 4px; }
.cur-feels { font-size: 13px; color: var(--muted); margin-top: 2px; }

.cur-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.stat {
  background: var(--tile);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}

.stat-k { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat-v { display: block; font-size: 16px; font-weight: 700; margin-top: 4px; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--card-brd);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 14px;
}

.tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.tab.active { background: var(--accent); color: var(--on-accent); }

/* ---------- Panels ---------- */
.panel { display: none; }
.panel.active { display: block; }

/* ---------- Hourly ---------- */
.hourly-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hour-row {
  display: grid;
  grid-template-columns: 64px 36px 1fr 70px;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--card-brd);
  border-radius: 12px;
  padding: 10px 12px;
}

.hour-time { font-size: 14px; color: var(--muted); }
.hour-icon { font-size: 22px; text-align: center; }
.hour-temp { font-size: 18px; font-weight: 700; }
.hour-bar-wrap { display: flex; flex-direction: column; gap: 3px; }
.hour-bar-track {
  height: 6px;
  background: var(--tile);
  border-radius: 3px;
  overflow: hidden;
}
.hour-bar-fill { height: 100%; background: var(--rain); border-radius: 3px; }
.hour-precip { font-size: 11px; color: var(--muted); }
.hour-pop { text-align: right; }
.hour-pop .pop { font-size: 15px; font-weight: 700; color: var(--rain); }
.hour-pop .amt { display: block; font-size: 11px; color: var(--muted); }

.day-sep {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 8px 2px 2px;
  font-weight: 700;
}

/* ---------- Daily ---------- */
.daily-list { display: flex; flex-direction: column; gap: 8px; }

.day-item {
  background: var(--card);
  border: 1px solid var(--card-brd);
  border-radius: 12px;
  overflow: hidden;
}

.day-row {
  display: grid;
  grid-template-columns: 78px 30px 56px 1fr 76px 14px;
  align-items: center;
  gap: 8px;
  padding: 12px;
  cursor: pointer;
}

.day-chev {
  color: var(--muted);
  font-size: 18px;
  text-align: center;
  line-height: 1;
  transition: transform .15s ease;
}
.day-item.open .day-chev { transform: rotate(90deg); }

.day-detail { display: none; padding: 0 12px 12px; }
.day-item.open .day-detail { display: block; }

.day-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 8px;
}
.day-detail-grid .stat-k { white-space: nowrap; text-transform: none; letter-spacing: 0; }

.day-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.day-icon { font-size: 24px; text-align: center; }
.day-pop { font-size: 13px; color: var(--rain); font-weight: 700; }
.day-pop small { display: block; color: var(--muted); font-weight: 400; }

.temp-bar {
  position: relative;
  height: 6px;
  background: var(--tile);
  border-radius: 3px;
}
.temp-bar .range {
  position: absolute;
  height: 100%;
  border-radius: 3px;
  /* Per-day warm gradient is set inline in renderDaily (amber→red by temperature);
     this is just the fallback if that ever doesn't run. */
  background: linear-gradient(90deg, #ffb24d, #ff3b30);
}

.day-temps { text-align: right; font-size: 15px; }
.day-temps .hi { font-weight: 700; }
.day-temps .lo { color: var(--muted); }

/* ---------- Radar ---------- */
.map {
  height: 58vh;
  min-height: 340px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-brd);
}

.radar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.radar-controls input[type="range"] { flex: 1; accent-color: var(--accent); }
.radar-time { font-size: 13px; color: var(--muted); min-width: 92px; text-align: right; font-variant-numeric: tabular-nums; }
.radar-time.forecast { color: var(--accent); font-weight: 600; } /* viewing a forecast frame */

.radar-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.legend-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #6fd3ff, #2e8bff, #2ec27e, #f5d33a, #f59a3a, #ff4d4d, #b02a8f);
}

/* Leaflet base tweak — matches the app background in either theme */
.leaflet-container { background: var(--bg-top); }

/* ---------- Lightning ---------- */
.lightning-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tile);
  border: 1px solid var(--card-brd);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.lightning-status.close { border-color: rgba(255, 77, 77, 0.6); background: rgba(255, 77, 77, 0.12); }
.lightning-status .lit-sub { color: var(--muted); font-weight: 500; }

/* connection-health dot: green = live, amber pulse = connecting/reconnecting */
.lightning-status .lit-conn {
  width: 8px; height: 8px; border-radius: 50%;
  flex: 0 0 auto; background: var(--muted);
}
.lightning-status[data-conn="live"] .lit-conn {
  background: #2ecc71; box-shadow: 0 0 6px 1px rgba(46, 204, 113, 0.7);
}
.lightning-status[data-conn="connecting"] .lit-conn,
.lightning-status[data-conn="reconnecting"] .lit-conn {
  background: #f5a623; animation: litPulse 1s ease-in-out infinite;
}
@keyframes litPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.radar-attrib { font-size: 11px; color: var(--muted); opacity: .7; margin-top: 8px; text-align: center; }

/* strike dot on the map */
.strike-dot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffd23a;
  box-shadow: 0 0 6px 2px rgba(255, 210, 58, 0.7);
}

/* ---------- Settings sheet ---------- */
.settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 3000;
}

.settings-sheet {
  background: var(--surface);
  color: var(--text);
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--card-brd);
  border-radius: 18px;
  padding: 18px 18px calc(var(--safe-bot) + 18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.settings-title { font-size: 18px; font-weight: 700; margin: 0; }

.setting { margin-top: 16px; }
.setting-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.setting-hint { font-size: 12px; color: var(--muted); margin-top: 6px; opacity: .85; }
.setting-val { color: var(--accent); font-weight: 700; margin-left: 4px; }
.alert-range { width: 100%; accent-color: var(--accent); }

/* Saved / favorite locations */
.fav-star.on { color: #ffd34d; }
.favorites {
  display: flex; gap: 8px; margin-top: 10px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.favorites::-webkit-scrollbar { display: none; }
.fav-chip {
  display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto;
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 999px;
  padding-left: 12px;
}
.fav-chip.active { border-color: var(--accent); }
.fav-name {
  background: none; border: 0; color: var(--text); font: inherit; font-size: 13px;
  cursor: pointer; padding: 6px 2px 6px 0; white-space: nowrap; max-width: 40vw;
  overflow: hidden; text-overflow: ellipsis;
}
.fav-del {
  background: none; border: 0; color: var(--muted); font-size: 12px; line-height: 1;
  cursor: pointer; padding: 6px 10px 6px 4px;
}
.fav-del:hover { color: var(--text); }

/* Radar alert popup — tap a watch/warning area to read its alert(s) */
.alert-pop .leaflet-popup-content-wrapper,
.alert-pop .leaflet-popup-tip { background: var(--surface); color: var(--text); }
.alert-pop .leaflet-popup-content { margin: 10px 12px; }
.alert-pop .leaflet-popup-close-button { color: var(--muted); }
.alert-pop-wrap { max-height: 48vh; overflow-y: auto; }
.alert-pop-head { font-size: 14px; font-weight: 700; }
.alert-pop-when { font-size: 12px; color: var(--muted); margin: 2px 0 6px; }
.alert-pop-body { font-size: 12px; line-height: 1.4; white-space: pre-wrap; }
.alert-pop-instr { font-size: 12px; line-height: 1.4; margin-top: 6px; }
.alert-pop-instr b { color: var(--accent); }
.alert-pop-div { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }

/* Storms-tracked tiles */
.storm-stats { display: flex; gap: 8px; }
.storm-stat {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--tile); border: 1px solid var(--card-brd);
  border-radius: 12px; padding: 10px 6px;
}
.storm-emoji { font-size: 20px; line-height: 1; }
.storm-n { font-size: 22px; font-weight: 800; }
.storm-cap { font-size: 11px; color: var(--muted); font-weight: 600; }
.link-btn {
  background: none; border: 0; color: var(--accent); font: inherit; font-size: 12px;
  padding: 0; cursor: pointer; text-decoration: underline;
}

.seg {
  display: flex;
  gap: 4px;
  background: var(--tile);
  border: 1px solid var(--card-brd);
  border-radius: 12px;
  padding: 4px;
}
.seg-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 9px 6px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.seg-btn.active { background: var(--accent); color: var(--on-accent); }

/* ---------- Misc ---------- */
.hidden { display: none !important; }

.toast {
  position: fixed;
  bottom: calc(var(--safe-bot) + 18px);
  left: 50%;
  transform: translateX(-50%);
  background: #d23b3b;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 2000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.foot {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin-top: 18px;
  opacity: .7;
}

.skeleton { opacity: .5; }

/* ---------- Long Range tab ---------- */
/* Four tabs now — let the labels shrink to fit small screens. */
.tabs .tab { padding: 10px 6px; font-size: 14px; white-space: nowrap; }

.long-range { display: flex; flex-direction: column; gap: 18px; }

.lr-loading {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 24px 12px;
}

.lr-sec { display: flex; flex-direction: column; gap: 6px; }
.lr-h {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lr-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  padding: 2px 7px;
  opacity: .85;
}
.lr-sub { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.lr-months { display: flex; flex-direction: column; gap: 8px; }

.lr-month {
  background: var(--card);
  border: 1px solid var(--card-brd);
  border-radius: 12px;
  overflow: hidden;
}
.lr-month-main { padding: 12px 14px; cursor: pointer; }
.lr-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lr-month-right { display: inline-flex; align-items: center; gap: 8px; }
.lr-month .day-chev {
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  transition: transform .15s ease;
}
.lr-month.open .day-chev { transform: rotate(90deg); }
.lr-month-name { font-size: 15px; font-weight: 700; }

.lr-month-detail { display: none; padding: 0 14px 14px; }
.lr-month.open .lr-month-detail { display: block; }
.lr-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.lr-trend { font-size: 12px; font-weight: 700; }
.lr-trend.up { color: #ff8a5c; }
.lr-trend.down { color: var(--rain); }
.lr-trend.flat { color: var(--muted); }

.lr-month-temps {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
}
.lr-hi { font-size: 24px; font-weight: 800; }
.lr-lo { font-size: 24px; font-weight: 800; color: var(--muted); }
.lr-sep { font-size: 20px; color: var(--muted); }
.lr-avg-cap { font-size: 11px; color: var(--muted); margin-left: 6px; }

.lr-month-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.lr-conf { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.lr-conf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.lr-conf-hi .lr-conf-dot { background: #2ecc71; }
.lr-conf-md .lr-conf-dot { background: #f5a623; }
.lr-conf-lo .lr-conf-dot { background: #e2574c; }

.lr-attrib { font-size: 11px; color: var(--muted); opacity: .7; text-align: center; }

