:root {
  --ink: #f7fbff;
  --dim: rgba(247, 251, 255, 0.78);
  --faint: rgba(247, 251, 255, 0.55);
  --gold: #ffc145;
  --glass: rgba(255, 255, 255, 0.12);
  --glassborder: rgba(255, 255, 255, 0.22);
}

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

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

body {
  text-align: left;
  font-family: 'Outfit', 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #081526;
  color: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#app { position: fixed; inset: 0; overflow: hidden; text-align: left; display: flex; flex-direction: column; }

/* ---------- fonds ---------- */
#bgWrap { position: absolute; inset: 0; }
.bgLayer {
  position: absolute; inset: -2%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
  transform: scale(1.02);
}
.bgLayer.active { opacity: 1; }

/* ---------- particules ---------- */
#fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* ---------- nuages qui dérivent ---------- */
#driftLayer { position: absolute; inset: 0; z-index: 2; display: none; pointer-events: none; overflow: hidden; }
body[data-sky="clear-day"] #driftLayer,
body[data-sky="partly-day"] #driftLayer,
body[data-sky="dusk"] #driftLayer { display: block; }
.driftCloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.16), rgba(255,255,255,0) 70%);
  filter: blur(6px);
}
.c1 { top: 8%; width: 46vw; height: 16vh; animation: drift 70s ease-in-out infinite alternate; }
.c2 { top: 20%; width: 36vw; height: 12vh; animation: drift 95s ease-in-out infinite alternate-reverse; animation-delay: -40s; }
.c3 { top: 4%; width: 26vw; height: 9vh; animation: drift 80s ease-in-out infinite alternate; animation-delay: -20s; }
@keyframes drift { from { transform: translateX(-15vw); } to { transform: translateX(85vw); } }

/* ---------- voile de lisibilité ---------- */
#scrim {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(4,12,26,.42), rgba(4,12,26,0) 26%),
    linear-gradient(to top, rgba(4,12,26,.55), rgba(4,12,26,0) 55%);
}

/* ---------- barre du haut ---------- */
#topBar {
  position: relative; flex: 0 0 auto;
  z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) 18px 6px;
}
#brand { display: flex; align-items: center; gap: 9px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
#brand svg { display: block; }
#brandName { font-weight: 800; letter-spacing: .04em; font-size: 17px; }
#topActions { display: flex; gap: 10px; align-items: center; }
.iconBtn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--glassborder);
  background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: grid; place-items: center; color: #fff; cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.iconBtn:hover { background: rgba(255,255,255,.2); }
.iconBtn:active { transform: scale(.94); }

/* ---------- menu hamburger ---------- */
#topMenuBackdrop {
  position: fixed; inset: 0; z-index: 30;
  background: rgba(4,12,26,.38);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
#topMenuBackdrop.open { opacity: 1; pointer-events: auto; }
#topMenu {
  position: fixed; top: calc(70px + env(safe-area-inset-top)); right: 18px;
  z-index: 31; min-width: 280px; max-width: calc(100vw - 36px);
  border-radius: 18px; overflow: hidden;
  background: rgba(9,20,38,.86);
  border: 1px solid var(--glassborder);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 18px 44px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.14);
  transform: translateY(-10px) scale(.97); opacity: 0; pointer-events: none;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
  transform-origin: top right;
}
#topMenu.open { transform: none; opacity: 1; pointer-events: auto; }
.mItem {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; border: 0; background: none;
  color: #f7fbff; font-size: 15.5px; font-weight: 600; text-align: left; cursor: pointer;
}
.mItem svg { flex: 0 0 auto; color: var(--gold); }
.mItem + .mItem { border-top: 1px solid rgba(255,255,255,.08); }
.mItem:hover { background: rgba(255,255,255,.06); }
.mItem:active { background: rgba(255,193,69,.14); }
.mRefresh { color: var(--gold); }
.mRefresh svg { color: #ffd97a; }

/* ---------- zone centrale (frise horaire + assistant) ---------- */
#mid {
  position: relative; flex: 1; min-height: 200px; z-index: 5;
  display: flex; flex-direction: column; align-items: stretch;
  gap: 10px;
  padding: 8px 16px 0;
  overflow: hidden;
  pointer-events: none;
}
#greet {
  width: 100%; max-width: 740px; margin: 0 auto;
  font-size: clamp(20px, 5.6vw, 28px); font-weight: 800; letter-spacing: -.01em;
  padding: 0 4px;
  pointer-events: auto;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
#greet::after {
  content: ""; display: block;
  width: 56px; height: 4px; margin-top: 9px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffd97a, #ff9f1c);
  box-shadow: 0 0 14px rgba(255,193,69,.45);
}
#greet.hint { font-size: 14px; font-weight: 600; color: var(--dim); cursor: pointer; }
#tilesWrap { flex: 1; min-height: 0; display: flex; align-items: stretch; pointer-events: none; }
#tilesTrack { position: relative; flex: 1; min-width: 0; max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; }
#tilesCtn {
  flex: 1; min-height: 0;
  width: 100%; max-width: 740px; margin: 0 auto;
  display: flex; align-items: stretch; gap: 10px;
  overflow-x: auto; overflow-y: hidden;
  padding: 2px 0 6px;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
  pointer-events: auto;
}
#tilesCtn::-webkit-scrollbar { height: 4px; }
#tilesCtn::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 2px; }
.tile {
  position: relative; flex: 0 0 auto;
  width: 160px; height: 100%; min-height: 118px; max-height: 250px;
  border-radius: 22px; border: 1px solid var(--glassborder);
  overflow: hidden; cursor: pointer; padding: 0; text-align: left;
  background: rgba(9, 20, 38, .5);
  scroll-snap-align: start;
  animation: cardIn .55s cubic-bezier(.2,.8,.2,1) both;
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}
.tile:hover { transform: translateY(-3px); border-color: rgba(255,193,69,.55); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.tile:active { transform: scale(.96); }
.tileImg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .45s ease; }
.tile:hover .tileImg { transform: scale(1.07); }
.tileScrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,12,26,.9) 0%, rgba(4,12,26,.3) 55%, rgba(4,12,26,.2) 100%);
}
.tileLabel {
  position: absolute; left: 13px; right: 13px; top: 11px;
  font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.tileTeaser {
  position: absolute; left: 12px; right: 12px; bottom: 10px;
  font-size: 12px; font-weight: 600; color: rgba(247,251,255,.94);
  line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.55);
  text-align: justify;
}
.tileOptions {
  border-color: rgba(255,193,69,.4);
  background: linear-gradient(160deg, rgba(255,193,69,.18), rgba(59,29,143,.28));
}
.tileOptions .tileImg {
  background: radial-gradient(130% 100% at 15% 0%, #ffe9a8 0%, #ffc145 30%, #b06bff 68%, #3b1d8f 100%);
}
.tileOptions .tileLabel { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.55); font-size: 12px; letter-spacing: .02em; }
.tileOptions .tileTeaser { color: #fff; }
.tileOptions::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px; pointer-events: none;
  animation: optionPulse 3s ease-in-out infinite;
}
.tileHelp {
  border-color: rgba(125,211,252,.45);
  background: linear-gradient(160deg, rgba(56,189,248,.2), rgba(30,27,75,.35));
}
.tileHelp .tileImg {
  background: radial-gradient(130% 100% at 15% 0%, #bae6fd 0%, #38bdf8 40%, #6366f1 75%, #1e1b4b 100%);
}
.tileHelp .tileLabel { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.55); font-size: 12px; letter-spacing: .02em; }
.tileHelp .tileTeaser { color: #fff; }
.tile[data-feat="blog"] .tileTeaser, .tile[data-feat="options"] .tileTeaser {
  font-weight: 700; letter-spacing: .01em;
  text-shadow: 0 1px 5px rgba(0,0,0,.9), 0 0 3px rgba(0,0,0,.7);
}
@keyframes optionPulse {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255,193,69,.25); }
  50% { box-shadow: inset 0 0 0 1.5px rgba(255,193,69,.75); }
}
#tilesEdge {
  position: absolute; top: 0; bottom: 0; right: 0; width: 34px;
  background: linear-gradient(to left, rgba(4,12,26,.55), transparent);
  border-radius: 0 22px 22px 0;
  pointer-events: none; z-index: 2;
}
#swipeHint {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  border: none; color: #0e2a4d;
  background: linear-gradient(135deg, #ffd97a, #ff9f1c);
  display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(255,193,69,.6);
  pointer-events: none; cursor: default;
  animation: hintNudge 1.7s ease-in-out infinite;
  transition: opacity .7s ease, transform .7s ease;
}
#swipeHint.gone { opacity: 0; transform: translateY(-50%) translateX(14px); }
@keyframes hintNudge {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(9px); }
}

/* ---- bouton « voir plus de tuiles » (grand écran) ---- */
#tilesScrollBtn {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  z-index: 4; width: 46px; height: 46px; border-radius: 50%;
  border: none; cursor: pointer; padding: 0;
  background: linear-gradient(135deg, #ffd97a, #ff9f1c); color: #0e2a4d;
  display: none; place-items: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.5), 0 0 0 0 rgba(255,193,69,.5);
  pointer-events: auto;
  transition: opacity .3s ease, transform .2s ease;
}
#tilesScrollBtn:hover { transform: translateX(-50%) scale(1.07); }
#tilesScrollBtn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,193,69,.7);
  animation: tilesRing 1.9s ease-out infinite;
}
@keyframes tilesRing {
  0% { transform: scale(1); opacity: .95; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
#tilesScrollBtn .arr { display: inline-flex; animation: tilesBounce 1.6s ease-in-out infinite; }
@keyframes tilesBounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}
#tilesScrollBtn.up .arr svg { transform: rotate(180deg); }
#tilesScrollBtn.hidden { opacity: 0; pointer-events: none; }
@media (min-width: 900px) {
  #tilesScrollBtn { display: grid; }
}

/* ---- grand écran : tuiles en grille pleine largeur (mobile inchangé) ---- */
@media (min-width: 900px) {
  #tilesTrack { max-width: 1180px; }
  #tilesCtn {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    grid-auto-rows: minmax(140px, 1fr);
    gap: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: none;
    touch-action: auto;
  }
  .tile { width: auto; max-height: none; }
  #tilesEdge, #swipeHint { display: none; }
}
@media (min-width: 1280px) {
  #tilesTrack { max-width: 1400px; }
  #tilesCtn { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ---------- héros ---------- */
#hero {
  position: relative; flex: 0 1 auto; min-height: 0; z-index: 5;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 0 26px calc(22px + env(safe-area-inset-bottom));
  text-shadow: 0 1px 2px rgba(0,0,0,.25), 0 2px 14px rgba(0,0,0,.3);
}
#hero::-webkit-scrollbar { display: none; }
#heroGlow {
  position: absolute; z-index: -1; pointer-events: none;
  left: -70px; right: -70px; top: -60px; bottom: -60px;
  background: radial-gradient(58% 78% at 28% 18%, rgba(255,193,69,.20), transparent 70%);
  filter: blur(28px);
  animation: heroBreath 7s ease-in-out infinite;
}
@keyframes heroBreath {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.07); }
}
#cityLine { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; flex-wrap: wrap; }
#cityName { font-size: 19px; font-weight: 600; }
#updateTime { font-size: 12px; color: var(--dim); font-weight: 400; }
#tempLine { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
#temp {
  font-size: clamp(94px, 26vw, 172px);
  font-weight: 100; line-height: .92; letter-spacing: -.045em;
  font-feature-settings: 'tnum';
  background: linear-gradient(180deg, #ffffff 22%, #ffd98a 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: tempGlow 6s ease-in-out infinite;
}
@keyframes tempGlow {
  0%, 100% { text-shadow: 0 0 40px rgba(255,193,69,.18); }
  50% { text-shadow: 0 0 78px rgba(255,193,69,.42); }
}
@supports not (background-clip: text) {
  #temp { color: #ffffff; background: none; text-shadow: none; }
}
#feels { font-size: clamp(16px, 4.5vw, 20px); color: var(--dim); font-weight: 400; padding-bottom: 14px; }
#condLine { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
#cond { font-size: clamp(20px, 5.5vw, 26px); font-weight: 600; }
#todayLine {
  margin-top: 8px;
  font-size: 14px; font-weight: 600; color: rgba(247, 251, 255, .9);
  text-align: justify;
}
#todayLine::before { content: "— "; color: var(--gold); }
#climRecLine { margin-top: 12px; }
#climRecLine a {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 3px 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px; padding: 8px 16px; font-size: 12.5px; line-height: 1.45;
  color: #ffd97a; text-decoration: none; transition: .15s;
}
#climRecLine a:hover { border-color: var(--gold); text-decoration: none; }
#metaRow { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--glassborder);
  background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 600;
}
.chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  animation: pulse 1.2s ease-in-out infinite;
}
.chip.mini {
  padding: 6px 12px;
  font-size: 12.5px;
  gap: 6px;
  color: rgba(247, 251, 255, .85);
}
.chip.mini svg { display: block; flex: 0 0 auto; }
#uvChip.uvlow { color: rgba(247,251,255,.85); }
#uvChip.uvmod { color: #ffd97a; border-color: rgba(255,193,69,.55); }
#uvChip.uvhi { color: #ffb65e; border-color: rgba(255,150,50,.65); }
#uvChip.uvvhi { color: #ff8a6b; border-color: rgba(255,90,70,.7); }
#vigChip { cursor: pointer; }
#vigChip:hover, #vigChip:focus-visible { border-color: var(--gold); outline: none; }
.chip.vig .dot { animation: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--vig, #ffc145) 22%, transparent); }
#vigBanner {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(3,9,18,.86); backdrop-filter: blur(10px);
  cursor: pointer;
}
#vigCard {
  position: relative; width: 100%; max-width: 460px; max-height: 90vh;
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border-radius: 20px;
  background: linear-gradient(180deg, #0e2747, #0a1c36);
  border: 1px solid rgba(255,193,69,.45);
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 30px rgba(255,193,69,.12);
}
#vigBannerHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#vigBannerTitle { font-size: 17px; font-weight: 800; }
#vigBannerClose {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--glassborder); background: var(--glass); color: var(--ink);
  font-size: 15px; line-height: 1; cursor: pointer;
}
#vigBannerClose:hover { border-color: var(--gold); }
#vigBannerMsg { font-size: 14px; color: var(--dim); line-height: 1.5; }
#vigBannerFoot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
#vigBannerFull {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--gold); background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--ink); font-size: 13px; font-weight: 600;
}
#vigBannerFull:hover { background: color-mix(in srgb, var(--gold) 28%, transparent); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,193,69,.55); }
  50% { box-shadow: 0 0 0 6px rgba(255,193,69,0); }
}
#sources { margin-top: 18px; font-size: 11px; color: var(--faint); font-weight: 400; }
#sources a { color: var(--faint); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.15); }

/* ---------- popup « sources en désaccord » ---------- */
.disCard {
  width: min(420px, 100%);
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 24px;
  border: 1px solid rgba(255,193,69,.55);
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(255,193,69,.18), transparent 55%),
    linear-gradient(180deg, rgba(16,32,56,.98), rgba(9,20,38,.98));
  box-shadow: 0 18px 60px rgba(0,0,0,.5), 0 0 26px rgba(255,193,69,.12);
  transform: translateY(24px) scale(.97);
  transition: transform .3s cubic-bezier(.2,.9,.28,1);
  text-align: left;
}
.igBackdrop.open .disCard { transform: translateY(0) scale(1); }
.disIco { color: #ffc145; margin-bottom: 12px; }
.disTitle { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.3; }
.disTxt { margin-top: 8px; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: #ffe3b0; }
.disWhy { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: #9db1c7; }
.disBtns { display: flex; gap: 9px; margin-top: 18px; }
.disCompare, .disOk {
  flex: 1 1 0;
  padding: 12px 10px;
  border-radius: 14px;
  font-size: 13.5px; font-weight: 800;
  cursor: pointer; font-family: inherit;
  transition: transform .12s ease, filter .15s ease, background .15s ease;
}
.disOk {
  border: 0;
  color: #2b1a00;
  background: linear-gradient(135deg, #ffd97a, #ffb347);
  box-shadow: 0 6px 18px rgba(255,193,69,.35);
}
.disCompare {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #dbe6f2;
}
.disOk:hover { filter: brightness(1.06); }
.disCompare:hover { background: rgba(255,255,255,.12); }
.disOk:active, .disCompare:active { transform: scale(.98); }

/* ---------- recherche ---------- */
#searchPanel {
  position: fixed; inset: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(7,16,32,.97), rgba(7,16,32,.92));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  flex-direction: column;
  padding: calc(18px + env(safe-area-inset-top)) 18px 18px;
  animation: panelIn .25s ease;
  display: none;
  overflow: hidden;
}
#searchPanel.open { display: flex; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#searchHead { display: flex; gap: 10px; align-items: center; }
#searchInput {
  flex: 1; height: 50px; border-radius: 14px;
  border: 1px solid var(--glassborder);
  background: rgba(255,255,255,.1); color: #fff; font-size: 16px; font-family: inherit;
  padding: 0 16px; outline: none;
}
#searchInput::placeholder { color: var(--faint); }
#searchInput:focus { border-color: rgba(255,255,255,.4); }
#searchClose {
  width: 50px; height: 50px; border-radius: 14px;
  border: 1px solid var(--glassborder);
  background: rgba(255,255,255,.08); color: #fff; font-size: 18px; cursor: pointer;
}
#myPlacesCtn { overflow-y: auto; flex: 0 1 auto; min-height: 0; max-height: 38%; }
#searchResults {
  list-style: none; margin: 14px 0 0; padding: 0;
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#searchResults li { margin-bottom: 8px; }
#searchResults button {
  width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.06); color: var(--ink); font-size: 15px; font-family: inherit;
  cursor: pointer; transition: background .15s ease;
}
#searchResults button:hover { background: rgba(255,255,255,.14); }
#searchEmpty { color: var(--faint); font-size: 14px; padding: 18px 4px; }

/* ---------- splash ---------- */
#splash {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(120% 90% at 50% 20%, #1d4a7c 0%, #0e2a4d 42%, #071627 100%);
  transition: opacity .7s ease, visibility .7s;
}
#splash.done { opacity: 0; visibility: hidden; }

/* ---------- splash : satellite en orbite ---------- */
.orbitScene { position: relative; width: clamp(185px, 60vw, 236px); height: clamp(185px, 60vw, 236px); margin-bottom: 4px; }
.ostar { position: absolute; border-radius: 50%; background: #fff; animation: twinkle 2.6s ease-in-out infinite; }
.ostar.s1 { width: 3px; height: 3px; top: 12%; left: 6%; animation-delay: .2s; }
.ostar.s2 { width: 2px; height: 2px; top: 5%; left: 58%; animation-delay: 1.1s; }
.ostar.s3 { width: 2.5px; height: 2.5px; top: 30%; left: 90%; animation-delay: .7s; }
.ostar.s4 { width: 2px; height: 2px; top: 68%; left: 2%; animation-delay: 1.6s; }
.ostar.s5 { width: 3px; height: 3px; top: 84%; left: 74%; animation-delay: .4s; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .95; } }
.orbitTrack { position: absolute; inset: 0; z-index: 2; }
.orbitSpin {
  position: absolute; inset: 0;
  animation: orbitRot 8s linear infinite;
}
@keyframes orbitRot { from { transform: rotate(0deg) scaleY(.48); } to { transform: rotate(360deg) scaleY(.48); } }
.orbitSat {
  position: absolute; top: 2%; left: 50%;
  width: 52px; height: 52px; margin-left: -26px;
  animation: orbitRev 8s linear infinite;
}
@keyframes orbitRev {
  from { transform: scaleY(2.08) rotate(0deg); }
  to { transform: scaleY(2.08) rotate(-360deg); }
}
.orbitSat svg { width: 100%; height: 100%; display: block; }
.orbitSat .blinkDot { animation: blinkDot 1.4s ease-in-out infinite; }
@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: .12; } }
.orbitGlow {
  position: absolute; left: 50%; top: 50%;
  width: 60%; height: 60%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,208,255,.4), rgba(143,208,255,0) 70%);
  animation: glowPulse 5s ease-in-out infinite;
  z-index: 0;
}
@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: .95; transform: translate(-50%, -50%) scale(1.07); }
}
.orbitPlanet { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.orbitPlanet svg { width: 42%; height: 42%; filter: drop-shadow(0 10px 26px rgba(60,140,225,.5)); }
#splashStatus {
  font-size: 13px; font-weight: 600; color: #b7c6d8;
  letter-spacing: .03em;
  animation: fadeUp .9s ease .4s both;
}
#splashBar {
  width: 148px; height: 3px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
  margin-top: 12px;
  animation: fadeUp .9s ease .55s both;
}
#splashBar i {
  display: block; height: 100%; width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd97a, #ffb347, #ffd97a);
  background-size: 200% 100%;
  animation: barSweep 1.6s ease-in-out infinite;
}
@keyframes barSweep { 0% { margin-left: -42%; } 55%, 100% { margin-left: 100%; } }
#splashName {
  font-size: clamp(30px, 8vw, 40px); font-weight: 800; letter-spacing: .06em;
  animation: fadeUp .9s ease .25s both;
}
#splashTag {
  font-size: clamp(13px, 3.6vw, 17px); color: var(--dim);
  letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
  animation: fadeUp .9s ease .5s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; top: calc(74px + env(safe-area-inset-top));
  transform: translateX(-50%) translateY(-8px);
  background: rgba(8, 21, 38, .82); color: #f7fbff;
  border: 1px solid rgba(255, 193, 69, .38);
  box-shadow: 0 12px 34px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
  max-width: 90vw; text-align: center; z-index: 60;
}
#toast.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.toastBtn {
  background: rgba(255, 193, 69, .16); color: var(--gold);
  border: 1px solid rgba(255, 193, 69, .42); border-radius: 999px;
  padding: 4px 12px; margin-left: 10px; font-size: 13px; font-weight: 800;
  cursor: pointer; vertical-align: middle;
}
.toastBtn:active { transform: scale(.96); }

/* ---------- guide d'installation ---------- */
.igBackdrop {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(4, 12, 22, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.igBackdrop.open { opacity: 1; pointer-events: auto; }
.igCard {
  position: relative;
  width: min(440px, 100%);
  margin: 0 12px calc(20px + env(safe-area-inset-bottom));
  padding: 20px 20px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 193, 69, .38);
  background: rgba(9, 21, 38, .94);
  color: #f7fbff;
  box-shadow: 0 18px 48px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: translateY(14px); transition: transform .28s ease;
}
.igBackdrop.open .igCard { transform: translateY(0); }
.igClose {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.08); color: #dbe6f2;
  font-size: 16px; line-height: 1; cursor: pointer;
}
.igClose:active { background: rgba(255,255,255,.16); }
.igTitle { font-size: 18px; font-weight: 800; color: #ffd97a; padding-right: 34px; }
.igSub { font-size: 13.5px; line-height: 1.5; color: #b7c6d8; margin: 8px 0 14px; }
.igSteps { display: flex; flex-direction: column; gap: 12px; }
.igStep { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.igNum {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: -1px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 193, 69, .18);
  border: 1px solid rgba(255, 193, 69, .5);
  color: #ffd97a; font-size: 13px; font-weight: 800;
}
.igNote { font-size: 12px; color: #8ba1b8; margin-top: 16px; line-height: 1.45; }
.igExt {
  padding: 14px 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 193, 69, .35);
  background: rgba(255, 193, 69, .08);
}
.igExtTitle { font-size: 15px; font-weight: 800; color: #ffd97a; margin-bottom: 6px; }
.igExtTxt { font-size: 13.5px; line-height: 1.55; color: #dbe6f2; margin: 0 0 14px; }
.igExt .igInstallNow { margin-bottom: 8px; }
.igExtCopy {
  display: block; width: 100%; height: 46px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: #dbe6f2;
  font-size: 14.5px; font-weight: 700; font-family: inherit; cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.igExtCopy:active { transform: scale(.97); background: rgba(255, 255, 255, .14); }
.igExtNote { font-size: 12px; color: #9db2c9; margin-top: 12px; line-height: 1.45; }
.igIcon {
  width: 64px; height: 64px; margin: 0 0 10px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
}
.igIcon img { width: 100%; height: 100%; display: block; object-fit: cover; }
.igAction { margin: 0 0 14px; }
.igInstallNow {
  display: block; width: 100%; height: 50px; position: relative;
  border: none; border-radius: 999px;
  background: linear-gradient(135deg, #ffd97a, #ff9f1c);
  color: #241303; font-size: 15.5px; font-weight: 800; letter-spacing: .02em;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 159, 28, .35), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .15s ease, filter .2s ease;
}
.igInstallNow:active { transform: scale(.97); }
.igInstallNow:disabled, .igInstallNow.busy { pointer-events: none; }
.ipInstall { position: relative; }
.ipInstall.busy, .igInstallNow.busy { background: linear-gradient(135deg, #c9a35e, #c77f16); color: transparent; }
.ipInstall.busy::after, .igInstallNow.busy::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: igSpin .7s linear infinite;
}
@keyframes igSpin { to { transform: rotate(360deg); } }

/* ---------- rappel périodique des alertes ---------- */
.nudgeBackdrop {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(4, 12, 22, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.nudgeBackdrop.open { opacity: 1; pointer-events: auto; }
.nudgeCard {
  position: relative;
  width: min(440px, 100%);
  margin: 0 14px calc(24px + env(safe-area-inset-bottom));
  padding: 20px 20px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 193, 69, .38);
  background: rgba(9, 21, 38, .94);
  color: #f7fbff;
  box-shadow: 0 18px 48px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: translateY(14px); transition: transform .28s ease;
}
.nudgeBackdrop.open .nudgeCard { transform: translateY(0); }
.nudgeBtns { display: flex; gap: 10px; margin-top: 6px; }
.nudgeBtns button { flex: 1; }

/* ---------- prompt d'installation à l'ouverture ---------- */
.ipCard {
  position: relative;
  width: min(440px, 100%);
  margin: 0 14px calc(24px + env(safe-area-inset-bottom));
  padding: 26px 22px 18px;
  border-radius: 26px;
  text-align: center;
  border: 1px solid rgba(255, 193, 69, .45);
  background: linear-gradient(170deg, rgba(16, 34, 58, .97), rgba(9, 21, 38, .97));
  color: #f7fbff;
  box-shadow: 0 20px 56px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: translateY(14px); transition: transform .28s ease;
}
.igBackdrop.open .ipCard { transform: translateY(0); }
.ipIcon {
  width: 72px; height: 72px; margin: 0 auto 12px;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
}
.ipIcon img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ipTitle { font-size: 19px; font-weight: 800; color: #ffd97a; line-height: 1.25; }
.ipSub { font-size: 13.5px; line-height: 1.55; color: #b7c6d8; margin: 8px auto 18px; max-width: 320px; }
.ipCard .ipInstall {
  display: block; width: 100%; height: 50px;
  border: none; border-radius: 999px;
  background: linear-gradient(135deg, #ffd97a, #ff9f1c);
  color: #241303; font-size: 15.5px; font-weight: 800; letter-spacing: .02em;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 159, 28, .35), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .15s ease, filter .2s ease;
}
.ipCard .ipInstall:active { transform: scale(.97); }
.ipCard .ipLater {
  display: block; width: 100%; margin-top: 10px;
  border: none; background: none; color: #8ba1b8;
  font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  padding: 8px;
}
.ipCard .ipLater:active { color: #b7c6d8; }

/* ---------- écran « Sources météo » ---------- */
.sourcesPanel {
  position: fixed; inset: 0; z-index: 65;
  display: flex; flex-direction: column;
  background: rgba(6, 16, 30, .97);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.sourcesPanel.open { opacity: 1; pointer-events: auto; }
.sourcesHead {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sourcesTitle { font-size: 19px; font-weight: 800; color: #fff; }
.sourcesSub { font-size: 12.5px; color: #8ba1b8; margin-top: 3px; }
#sourcesClose {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.08);
  color: #dbe6f2; font-size: 15px; cursor: pointer; flex: 0 0 auto;
}
.sourcesBody {
  flex: 1; overflow-y: auto;
  padding: 16px 16px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 12px;
  max-width: 720px; width: 100%; margin: 0 auto;
}
.srcLoading { color: #b7c6d8; font-size: 14px; padding: 24px 4px; }
.srcConsensus {
  border-radius: 16px; padding: 13px 15px; font-size: 13.5px; line-height: 1.5; font-weight: 700;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #dbe6f2;
}
.srcConsensus.ok { border-color: rgba(87, 224, 122, .4); color: #b6f0c8; background: rgba(20, 90, 45, .25); }
.srcConsensus.warn { border-color: rgba(255, 193, 69, .5); color: #ffdf9e; background: rgba(120, 80, 10, .28); }
.srcConsensus.w { border-color: rgba(140, 160, 185, .35); color: #b7c6d8; }
.srcCard {
  border-radius: 20px; padding: 16px;
  border: 1px solid var(--glassborder);
  background: rgba(10, 24, 44, .6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.srcHead { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.srcName { font-size: 15.5px; font-weight: 800; color: #ffd97a; display: flex; flex-direction: column; gap: 2px; }
.srcSub { font-size: 11.5px; font-weight: 500; color: #8ba1b8; }
.srcVerdict {
  flex: 0 0 auto; font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.srcVerdict.vYes { background: rgba(40, 140, 90, .3); color: #8fe8b4; border: 1px solid rgba(87, 224, 122, .5); }
.srcVerdict.vNo { background: rgba(40, 90, 140, .3); color: #9ecbff; border: 1px solid rgba(90, 160, 230, .5); }
.srcVerdict.vWait { background: rgba(120, 130, 150, .25); color: #b7c6d8; border: 1px solid rgba(255,255,255,.15); }
.srcRow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 6px 0; font-size: 13px; color: #c7d3e0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.srcRow b { color: #f2f7fc; font-weight: 700; text-align: right; }
.srcNote { font-size: 12px; line-height: 1.55; color: #8ba1b8; padding: 4px 6px; }

/* ---------- frise horaire ---------- */
#hourlyCard {
  position: relative;
  flex: 0 0 auto;
  pointer-events: auto;
  width: 100%;
  max-width: 740px;
  margin: 0 auto 10px;
  padding: 12px 12px 14px;
  border-radius: 22px;
  border: 1px solid var(--glassborder);
  background: rgba(9, 20, 38, 0.44);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}
#hourlyCard::after {
  content: "";
  position: absolute;
  top: 42px; right: 10px; bottom: 12px;
  width: 40px;
  border-radius: 0 14px 14px 0;
  pointer-events: none;
  background: linear-gradient(to right, transparent, rgba(9, 20, 38, .75));
}
#hourlyHead { display: flex; align-items: baseline; justify-content: space-between; margin: 2px 6px 10px; }
.hsecTitle {
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim);
}
#hourlyHint { font-size: 11px; color: var(--faint); font-weight: 400; }
.hstats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 6px 10px; }
.hstat {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; font-feature-settings: 'tnum';
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.hstat.hot { color: #ffd27a; border-color: rgba(255,193,69,.35); background: rgba(255,193,69,.10); }
.hstat.cold { color: #9cc8ff; border-color: rgba(143,208,255,.35); background: rgba(143,208,255,.10); }
#hourlyStrip {
  position: relative;
  height: 96px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 0 8px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent;
}
.hourlyFeat { padding-top: 12px; }
#hourlyStrip::-webkit-scrollbar { height: 5px; }
#hourlyStrip::-webkit-scrollbar-track { background: transparent; }
#hourlyStrip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.28); border-radius: 3px; }
.curve { position: absolute; top: 20px; left: 0; pointer-events: none; }
#hgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.hday {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim);
}
.hday::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.22), transparent); }
.hday:first-child { margin-top: 0; }
.hcell {
  font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px 10px;
  border-radius: 18px;
  border: 1px solid var(--glassborder);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  color: var(--ink);
  cursor: pointer;
  transition: transform .14s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.hcell:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.35); }
.hcell:active { transform: scale(.95); }
.hcell svg { display: block; }
.hcell.now {
  background: linear-gradient(180deg, rgba(255,193,69,.16), rgba(255,193,69,.07));
  border-color: rgba(255, 193, 69, .6);
  box-shadow: 0 0 0 1px rgba(255,193,69,.2), 0 8px 24px rgba(255,193,69,.15);
}
.hcell.night { background: linear-gradient(180deg, rgba(16,31,54,.6), rgba(11,22,40,.38)); }
.hcell.hot { border-color: rgba(255,193,69,.5); box-shadow: 0 0 0 1px rgba(255,193,69,.12), 0 6px 20px rgba(255,193,69,.12); }
.hcell.cold { border-color: rgba(143,208,255,.5); box-shadow: 0 0 0 1px rgba(143,208,255,.12), 0 6px 20px rgba(143,208,255,.12); }
.hcell.sel { border-color: #8fd0ff; }
.htime {
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--faint); font-feature-settings: 'tnum'; text-align: center; line-height: 1.4;
}
.hcell.now .htime {
  color: #ffc145;
  background: rgba(255,193,69,.14);
  border: 1px solid rgba(255,193,69,.35);
  padding: 1.5px 8px; border-radius: 999px;
}
.htemp { font-size: 20px; font-weight: 700; font-feature-settings: 'tnum'; line-height: 1.15; }
.hcell.now .htemp { font-weight: 800; }
.hfelt { font-size: 10.5px; color: var(--faint); font-feature-settings: 'tnum'; line-height: 1; min-height: 11px; }
.hfelt.empty { min-height: 11px; }
.hprob {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 600; color: #9cc8ff;
  min-height: 13px;
}
.hprob.empty { min-height: 13px; }
.hprob svg { display: block; flex: 0 0 auto; }

.hDetail {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(143, 208, 255, .3);
  background: rgba(143, 208, 255, .08);
}
.hdtTitle { font-size: 14px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.hdt { display: inline-flex; flex-direction: column; gap: 1px; margin: 0 14px 8px 0; font-size: 12.5px; color: var(--dim); }
.hdt b { color: var(--faint); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- radar de pluie ---------- */
#radarPanel {
  position: fixed; inset: 0; z-index: 20;
  background: #071321;
  flex-direction: column;
  display: none;
}
#radarPanel.open { display: flex; }
#radarHead {
  display: flex; align-items: center; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 18px 12px;
}
#radarTitle { font-size: 18px; font-weight: 800; flex: 0 0 auto; }
#radarSub {
  flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 12px; color: var(--dim);
}
#radarClose {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--glassborder); background: var(--glass); color: #fff;
  font-size: 16px; cursor: pointer;
}
#radarMap { flex: 1; min-height: 0; background: #0a1726; z-index: 0; }
#radarMap .leaflet-tile-pane .ml-dark-basemap {
  filter: invert(1) hue-rotate(180deg) brightness(.95) contrast(.9);
}
#feuxMap .leaflet-tile-pane .ml-dark-basemap {
  filter: invert(1) hue-rotate(180deg) brightness(.95) contrast(.9);
}
#radarBar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
}
#radarPlay {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--glassborder); background: var(--glass); color: #fff;
  font-size: 15px; cursor: pointer; display: grid; place-items: center;
}
#radarSlider { flex: 1; accent-color: var(--gold); min-width: 0; }
#radarTime {
  flex: 0 0 auto; min-width: 92px; text-align: right;
  font-size: 13px; font-weight: 600; color: var(--dim); font-feature-settings: 'tnum';
}
#radarLayers {
  display: flex; gap: 8px; padding: 0 18px 12px; justify-content: center;
}
#radarLayers button {
  border: 1px solid var(--glassborder); background: var(--glass); color: var(--dim);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer;
}
#radarLayers button.on { color: #0b1d33; background: var(--gold); border-color: var(--gold); }

/* ---------- leaflet (thème sombre) ---------- */
.leaflet-container { background: #0a1726; font-family: inherit; }
.leaflet-container .leaflet-control-attribution {
  background: rgba(7, 19, 33, .65) !important;
  color: rgba(255, 255, 255, .45) !important;
  font-size: 9px !important;
}
.leaflet-container .leaflet-control-attribution a { color: rgba(255, 255, 255, .6) !important; }
.leaflet-bar a {
  background: #10243c !important; color: #e8f2fb !important;
  border-color: rgba(255, 255, 255, .15) !important;
}
.leaflet-bar a:hover { background: #173450 !important; }
.leaflet-control-zoom a { font-size: 16px !important; }

/* ---------- assistant personnel ---------- */
.acard {
  position: relative;
  flex-shrink: 0;
  border-radius: 22px;
  border: 1px solid var(--glassborder);
  background: rgba(9, 20, 38, 0.5);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  padding: 14px 16px 15px;
  overflow: hidden;
  animation: cardIn .55s cubic-bezier(.2,.8,.2,1) both;
}
.acard::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,193,69,.75), transparent);
  opacity: .7;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.ahead { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.aicon {
  display: grid; place-items: center;
  width: 27px; height: 27px; border-radius: 9px;
  background: rgba(255,193,69,.14); color: var(--gold);
}
.atitle {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim);
}
.aline {
  font-size: 14.5px; line-height: 1.45; color: rgba(247,251,255,.92);
  margin-top: 6px;
  animation: fadeUp .5s ease both;
}
.aline.b { font-weight: 700; color: #fff; }
.aweak { font-size: 12px; color: var(--faint); margin-top: 8px; line-height: 1.4; }
a.aweak { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); }


/* ---------- écran plein (espace) ---------- */
#featureScreen {
  position: fixed; inset: 0; z-index: 25;
  display: none; flex-direction: column;
  background: #071321;
}
#featureScreen.open { display: flex; animation: featIn .48s cubic-bezier(.2,.9,.28,1) both; }
@keyframes featIn { from { opacity: 0; transform: translateY(7%) scale(.985); } to { opacity: 1; transform: none; } }
.featBg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.featScrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,12,26,.45) 0%, rgba(4,12,26,.68) 45%, rgba(4,12,26,.92) 100%);
}
.featBar {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: calc(14px + env(safe-area-inset-top)) 18px 8px;
}
#featTitle { font-size: 20px; font-weight: 800; letter-spacing: .02em; text-align: center; }
#featBody {
  position: relative; flex: 1; min-height: 0; overflow-y: auto;
  width: 100%; max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
  padding: 8px 18px 14px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
}
#featBody::-webkit-scrollbar { width: 4px; }
#featBody::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 2px; }
#featFoot {
  position: relative; flex: 0 0 auto; z-index: 1;
  display: flex; justify-content: center;
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(4,12,26,0) 0%, rgba(4,12,26,.6) 35%, rgba(4,12,26,.96) 100%);
}
#featHomeBtn {
  min-width: 210px; max-width: 320px; width: 100%;
  padding: 14px 28px; border-radius: 999px;
  border: 1px solid rgba(255,193,69,.5);
  background: linear-gradient(135deg, rgba(255,215,122,.16), rgba(255,159,28,.24));
  color: #ffd97a; font-size: 13px; font-weight: 800; letter-spacing: .1em;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, background .2s ease;
}
#featHomeBtn:active { transform: scale(.96); }
.featLead {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 8px;
}
.featH1 { font-size: clamp(24px, 7vw, 30px); font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 6px; }
.acard.highlight {
  border-color: rgba(255,193,69,.6);
  box-shadow: 0 0 0 1px rgba(255,193,69,.28), 0 10px 34px rgba(0,0,0,.35);
}

/* s'habiller (classes partagées avec l'écran « Ce soir ») */
.dressTempLine { font-size: clamp(28px, 7vw, 34px); font-weight: 300; color: #fff; font-feature-settings: 'tnum'; }
.dressOut { font-size: 15px; line-height: 1.4; margin-top: 5px; color: rgba(247,251,255,.94); }

/* pluie */
.rainRow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.rainRow:last-of-type { border-bottom: none; }
.rainRow > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rainDot { font-size: 8px; flex: 0 0 auto; }
.ra-low  { color: #9cc8ff; }
.ra-mid  { color: #6aa6ff; }
.ra-high { color: #b57bff; }
.ra-x    { color: #ff7a7a; }
.rainTimes { font-size: 13.5px; font-weight: 600; }
.rainTotal {
  flex: 0 0 auto; font-size: 12px; color: var(--dim); font-weight: 600;
  font-feature-settings: 'tnum'; white-space: nowrap;
}
.rainHero { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 24px 16px; }
.rainHero > svg { flex: 0 0 auto; filter: drop-shadow(0 4px 14px rgba(156,200,255,.45)); }
.rainBig { font-size: clamp(19px, 5.5vw, 24px); font-weight: 800; line-height: 1.2; }

/* lune */
.moonCard { display: flex; align-items: center; gap: 18px; }
.moonRing { flex: 0 0 auto; filter: drop-shadow(0 0 18px rgba(255,193,69,.4)); }
.moonInfo { flex: 1; min-width: 0; }
.moonBigDate { font-size: clamp(20px, 6vw, 26px); font-weight: 800; color: #fff; }
.moonBigName { font-size: clamp(17px, 5vw, 21px); font-weight: 800; color: #ffd97a; margin-bottom: 2px; }
.phaseDots { display: flex; gap: 9px; margin: 4px 0 10px; }
.phaseDot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,.16);
  transition: transform .3s ease, background .3s ease;
}
.phaseDot.cur {
  background: var(--gold); transform: scale(1.3);
  box-shadow: 0 0 12px rgba(255,193,69,.8);
}

/* risques */
.rrow { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); align-items: flex-start; }
.rrow:last-of-type { border-bottom: none; }
.rbadge {
  flex: 0 0 auto; margin-top: 1px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.rbadge.big { padding: 7px 16px; font-size: 13px; }
.rb-green  { background: rgba(76,209,55,.16);  color: #7ce86b; }
.rb-yellow { background: rgba(255,193,69,.16); color: var(--gold); }
.rb-orange { background: rgba(255,138,66,.18); color: #ffb37a; }
.rb-red    { background: rgba(255,82,82,.18);  color: #ff9c9c; }
.vigBody { display: flex; flex-direction: column; gap: 10px; }
.vigBadge {
  align-self: flex-start; display: inline-block; padding: 8px 16px; border-radius: 10px;
  font-weight: 800; font-size: 16px; letter-spacing: .3px;
  background: color-mix(in srgb, var(--c, #ffc145) 20%, transparent);
  color: var(--c, #ffc145);
  border: 1px solid color-mix(in srgb, var(--c, #ffc145) 55%, transparent);
}
.vigPh { display: flex; flex-wrap: wrap; gap: 8px; }
.vigPhItem {
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: color-mix(in srgb, var(--c, #ffc145) 15%, transparent);
  color: var(--c, #ffc145);
  border: 1px solid color-mix(in srgb, var(--c, #ffc145) 40%, transparent);
}
.vigBul {
  font-size: 13.5px; line-height: 1.45; color: rgba(247, 251, 255, .92);
  border-left: 3px solid color-mix(in srgb, var(--gold) 60%, transparent);
  padding-left: 10px;
}
/* bandeau d'alerte officielle (écran Risques) */
.riskBanner {
  position: relative; overflow: hidden; flex-shrink: 0;
  margin: 2px 0 12px; padding: 13px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(255,82,82,.22), rgba(255,138,66,.16));
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.riskBanner.lv3 { background: linear-gradient(135deg, rgba(255,138,66,.26), rgba(255,193,69,.14)); }
.riskBanner.lv2 { background: linear-gradient(135deg, rgba(255,193,69,.2), rgba(255,255,255,.06)); }
.riskBannerT { font-size: 17px; font-weight: 800; letter-spacing: .2px; }
.riskBannerS { font-size: 12.5px; color: var(--dim); margin-top: 3px; line-height: 1.4; }
/* vigilance : une ligne par phénomène */
.vigRow { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.vigRow:last-of-type { border-bottom: none; }
.vigRowDot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.vigRowName { font-size: 13.5px; font-weight: 700; }
.vigRowImpact { font-size: 12.5px; color: var(--dim); margin-top: 2px; line-height: 1.42; }
/* cours d'eau — niveau réel */
.crueBody { display: flex; flex-direction: column; gap: 8px; }
.crueBig { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.crueLevel { font-size: 30px; font-weight: 200; letter-spacing: .5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.crueTrend { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.crueTrend.up { color: #7ce86b; background: rgba(76,209,55,.14); }
.crueTrend.down { color: #8ec8ff; background: rgba(76,150,255,.14); }
.crueTrend.flat { color: var(--dim); background: rgba(255,255,255,.08); }
.crueSeuil { margin-top: 4px; }
.crueSeuilTxt { font-size: 12.5px; color: var(--dim); margin-bottom: 5px; }
.crueSeuilTxt.danger { color: #ff9c9c; font-weight: 700; }
.crueSeuilTxt.low { color: #ffc145; font-weight: 600; }
.crueSeuilTxt.hi { color: #ff9c6b; font-weight: 600; }
.crueBar { height: 7px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.crueBarFill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffc145, #ff8a42); }
.mlWait { display: flex; gap: 12px; align-items: center; padding: 4px 0 2px; text-align: left; }
.mlSpin { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 3px solid rgba(255,255,255,.16); border-top-color: #ffc145; animation: mlSpin .8s linear infinite; }
@keyframes mlSpin { to { transform: rotate(360deg); } }
.mlWaitTxt b { display: block; font-size: 13.5px; font-weight: 700; }
.mlWaitTxt span { display: block; font-size: 11.5px; color: var(--dim); margin-top: 2px; line-height: 1.4; }
.crueDepHead { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(247,251,255,.6); margin: 16px 0 6px; }
.crueDepRow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.07); }
.crueDepName { font-size: 13.5px; font-weight: 700; min-width: 130px; flex: 1 1 150px; }
.crueDepVal { font-size: 12px; color: var(--dim); }
.crueDepTr { font-size: 12px; font-weight: 700; min-width: 14px; text-align: center; }
.crueDepTr.up { color: #7ce86b; }
.crueDepTr.down { color: #8ec8ff; }
.crueDepTr.flat { color: rgba(247,251,255,.45); }
.crueBar.sm { height: 5px; min-width: 90px; flex: 0 1 160px; }
.rtxtTop { font-size: 13.5px; font-weight: 700; }
.rtxtBot { font-size: 12.5px; color: var(--dim); margin-top: 1px; line-height: 1.4; }

/* qualité de l'air */
.airBig { margin: 4px 0 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ce soir */
.evStrip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 86%, transparent 100%);
}
.evStrip::-webkit-scrollbar { display: none; }
.evCell {
  flex: 0 0 auto; width: 52px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 6px; border-radius: 14px;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.05);
}
.evCell svg { display: block; }
.evH { font-size: 11px; color: var(--dim); font-weight: 700; }
.evT { font-size: 14.5px; font-weight: 800; font-feature-settings: 'tnum'; }
.nightRow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.moonLine { display: flex; align-items: center; gap: 12px; }
.moonLineTxt { flex: 1; min-width: 0; }
.moonLineName { font-size: 14.5px; font-weight: 800; }

/* ---------- écran « Toutes les options » ---------- */
.opIntro { font-size: 23px; font-weight: 800; letter-spacing: -.01em; }
.opSub { font-size: 14px; color: var(--dim); margin: 4px 0 14px; text-align: justify; }
.opSection { margin: 20px 0 28px; }
.opSecTitle { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 11px; }
.opRow {
  display: flex; align-items: center; gap: 12px; width: 100%;
  text-align: left; padding: 10px; margin-bottom: 10px;
  border-radius: 16px; border: 1px solid var(--glassborder);
  background: rgba(255,255,255,.07); cursor: pointer; color: var(--ink);
  font-family: inherit; transition: transform .15s ease, background .2s ease;
}
.opRow:hover { background: rgba(255,255,255,.13); }
.opRow:active { transform: scale(.98); }
.opRow.soon { cursor: default; opacity: .72; }
.opRow.soon:hover { background: rgba(255,255,255,.07); }
.opThumb {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px;
  background-size: cover; background-position: center;
  border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center; color: #fff;
}
.opThumbRadar { background: radial-gradient(110% 110% at 20% 12%, #5b8cff 0%, #1c3d8f 62%, #0e2a4d 100%); }
.opThumbDash { background: radial-gradient(110% 110% at 20% 12%, #3ddc97 0%, #1d7a5c 62%, #0e2a4d 100%); color: #fff; }
.opThumbSoon { background: rgba(255,255,255,.12); color: var(--faint); }
.opRowTxt { flex: 1; min-width: 0; }
.opRowTitle { display: block; font-size: 15.5px; font-weight: 700; }
.opRowDesc { display: block; font-size: 12.5px; color: var(--dim); margin-top: 2px; line-height: 1.4; text-align: justify; }
.opChev { color: var(--gold); font-size: 21px; font-weight: 700; }
.opBadge {
  font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--faint); border: 1px solid var(--glassborder);
  border-radius: 999px; padding: 5px 10px; flex: 0 0 auto; white-space: nowrap;
}

/* ---------- overlays (onboarding / personnalisation) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 40;
  background: linear-gradient(180deg, rgba(7,16,32,.98), rgba(7,16,32,.94));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  flex-direction: column;
  padding: calc(18px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  display: none;
}
.overlay.open { display: flex; }
.ohead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.otitle { font-size: 19px; font-weight: 800; }
.oClose {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--glassborder); background: var(--glass); color: #fff;
  font-size: 15px; cursor: pointer;
}
.obody { max-width: 560px; width: 100%; margin: 0 auto; flex: 1; }
.oIntro { font-size: 14px; color: var(--dim); margin: 8px 0 4px; }
.osection { margin: 20px 0; }
.olabel {
  display: block; margin-bottom: 9px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim);
}
.textInput {
  width: 100%; height: 48px; border-radius: 14px;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.08); color: #fff;
  font-size: 16px; font-family: inherit; padding: 0 14px; outline: none;
}
.textInput::placeholder { color: var(--faint); }
.textInput:focus { border-color: rgba(255,255,255,.4); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  padding: 10px 15px; border-radius: 12px;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.06);
  color: var(--ink); font-size: 14px; font-family: inherit; cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.seg button:active { transform: scale(.96); }
.seg button.on { background: var(--gold); color: #0e2a4d; border-color: var(--gold); font-weight: 700; }
.multiseg button.on { background: rgba(255,193,69,.18); color: var(--gold); border-color: rgba(255,193,69,.55); font-weight: 600; }
.hourRow { display: flex; gap: 12px; }
.hourRow > div { flex: 1; }
.hourLab { font-size: 12.5px; color: var(--dim); margin-bottom: 7px; font-weight: 600; }
.sel {
  width: 100%; height: 48px; border-radius: 14px;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.08); color: #fff;
  font-size: 15px; font-family: inherit; padding: 0 12px; outline: none;
}
.sel option { background: #0e2a4d; color: #fff; }
.cardRows { margin-top: 4px; }
.cardRow {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.cardRow:last-child { border-bottom: none; }
.cname { flex: 1; font-size: 14.5px; font-weight: 600; }
.arrows { display: flex; gap: 5px; }
.arrowBtn {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.06);
  color: var(--ink); font-size: 15px; cursor: pointer; line-height: 1;
}
.arrowBtn:hover { background: rgba(255,255,255,.14); }
.switch {
  width: 48px; height: 28px; border-radius: 999px; position: relative;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.08);
  cursor: pointer; flex: 0 0 auto; transition: background .2s ease, border-color .2s ease;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: left .2s ease;
}
.switch.on { background: var(--gold); border-color: var(--gold); }
.switch.on::after { left: 23px; }
.ofoot {
  max-width: 560px; width: 100%; margin: 10px auto 0;
  display: flex; gap: 10px; justify-content: flex-end;
}
.primaryBtn {
  padding: 14px 22px; border-radius: 14px;
  background: linear-gradient(135deg, #ffd97a, #ff9f1c); color: #0e2a4d !important;
  border: none; font-size: 15px; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 24px rgba(255,193,69,.3);
}
.primaryBtn:active { transform: scale(.97); }
.ghostBtn {
  padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.06);
  color: var(--dim); font-size: 15px; font-weight: 600; cursor: pointer;
}

/* MES CHOIX : tuiles de l'accueil */
.dashList { display: flex; flex-direction: column; gap: 8px; }
.dashRow {
  display: flex; align-items: center; gap: 12px;
  background: rgba(30, 41, 59, .9); border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 14px; padding: 8px 12px 8px 8px;
  transition: opacity .2s ease, background .2s ease;
  -webkit-user-select: none; user-select: none; touch-action: pan-y;
}
.dashRow.drag { opacity: .55; background: rgba(255, 255, 255, .12); }
.dashRow.off { opacity: .42; }
.dashHandle {
  cursor: grab; touch-action: none; color: rgba(255, 255, 255, .5);
  display: flex; padding: 8px; border-radius: 8px;
}
.dashHandle:active { cursor: grabbing; }
.dashThumb { width: 42px; height: 42px; border-radius: 10px; background-size: cover; background-position: center; flex: none; }
.dashTxt { flex: 1; min-width: 0; }
.dashTitle { font-size: 14.5px; font-weight: 700; color: #f7fbff; display: block; }
.dashEye {
  border: 1px solid rgba(148, 163, 184, .4); border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: rgba(247, 251, 255, .8);
  font-size: 11.5px; font-weight: 700; padding: 6px 12px; flex: none; cursor: pointer;
}
.dashEye.on { border-color: rgba(90, 210, 160, .5); color: #5ad2a0; background: rgba(90, 210, 160, .1); }
.dashHint { margin-top: 12px; font-size: 13px; color: var(--faint); display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.dashHintIcon { font-size: 15px; }

@media (max-height: 780px) {
  #temp { font-size: clamp(64px, 19vw, 104px); }
  #hero { padding: 0 24px calc(14px + env(safe-area-inset-bottom)); }
  #hourlyCard { margin-bottom: 6px; }
}

@media (max-height: 640px) {
  #temp { font-size: clamp(50px, 15vw, 84px); }
  #feels { padding-bottom: 8px; font-size: 15px; }
  #cond { font-size: clamp(17px, 4.5vw, 21px); }
  #todayLine { margin-top: 4px; font-size: 13px; }
  #metaRow { margin-top: 6px; }
  #sources { display: none; }
  #hero { padding: 0 22px calc(10px + env(safe-area-inset-bottom)); }
  #updateTime { display: none; }
}

@media (max-height: 520px) {
  #hourlyCard { display: none; }
  #hero { padding: 0 20px 10px; }
  #sources { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
}

/* ---------- étoile ville favorite (héros) ---------- */
#cityLine { align-items: center; }
#favStar {
  background: rgba(255,255,255,.1);
  border: 1px solid var(--glassborder);
  color: var(--dim);
  border-radius: 50%;
  width: 27px; height: 27px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1; cursor: pointer; padding: 0;
  transition: transform .12s ease, color .2s ease, background .2s ease;
  flex: 0 0 auto;
}
#favStar:active { transform: scale(.9); }
#favStar.on { color: var(--gold); border-color: rgba(255,193,69,.6); background: rgba(255,193,69,.12); }

/* ---------- recherche : mes lieux ---------- */
#myPlacesCtn { margin-top: 14px; }
.myPlacesTitle {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.mpRow {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px; padding: 9px 10px;
  border-radius: 14px; border: 1px solid var(--glassborder);
  background: rgba(255,255,255,.06);
}
.mpRow.fav { border-color: rgba(255,193,69,.5); }
.mpOpen {
  flex: 1; min-width: 0; text-align: left;
  background: none; border: none; color: var(--ink);
  font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
  padding: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mpFav, .mpDel, .srFav {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.08);
  color: var(--dim); font-size: 14px; cursor: pointer; line-height: 1;
}
.mpFav.on, .srFav.on { color: var(--gold); border-color: rgba(255,193,69,.6); }
.mpDel { color: var(--faint); }
.sr { display: flex; align-items: center; gap: 8px; }
#searchResults .srBtn { width: auto; flex: 1; min-width: 0; }
#searchResults .srFav { width: 30px; flex: 0 0 auto; padding: 0; }

/* ---------- textes justifiés ---------- */
.aline.just { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.journeyPar .aline { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.leftchips { justify-content: flex-start; }

/* ---------- ma journée ---------- */
.journeyHero { position: relative; overflow: hidden; }
.journeyHero::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,193,69,.16), rgba(255,193,69,0) 70%);
  pointer-events: none;
}
.journeyGreet { font-size: clamp(16px, 4.6vw, 19px); font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 12px; }
.journeyNow { display: flex; align-items: center; gap: 16px; margin: 4px 0 12px; }
.journeyNow > svg { flex: 0 0 auto; display: block; filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.journeyNowTxt { display: flex; flex-direction: column; gap: 1px; }
.journeyTemp { font-size: 44px; font-weight: 800; line-height: 1; font-feature-settings: 'tnum'; }
.journeyCond { font-size: 14px; color: var(--dim); text-transform: capitalize; }
.journeyCap { font-size: 13px; color: var(--dim); line-height: 1.5; margin-top: 10px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.achip.hot { background: rgba(255,193,69,.14); border-color: rgba(255,193,69,.45); color: #ffd27a; }
.achip.cold { background: rgba(143,208,255,.12); border-color: rgba(143,208,255,.45); color: #9cc8ff; }
.rb-blue { background: rgba(143,208,255,.14); color: #9cc8ff; }

/* ---------- s'habiller : classe partagée avec « Ce soir » ---------- */
.dressOut { display: flex; align-items: center; gap: 12px; }

/* ---------- pluie ---------- */
.rainChartCard svg { margin-top: 6px; }
.rainRow { align-items: flex-start; }
.rainTimes { line-height: 1.35; }

/* ---------- lune ---------- */
.moonHero {
  display: flex; align-items: center; gap: 14px;
  flex-direction: column; text-align: center;
  padding: 22px 16px;
}
.moonHero > svg { display: block; filter: drop-shadow(0 0 28px rgba(255,193,69,.45)); animation: floaty 5s ease-in-out infinite; }
.moonHInfo { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.moonHName { font-size: 24px; font-weight: 800; }
.moonHPct { font-size: 14px; color: var(--dim); }
.moonHCycle { font-size: 12.5px; color: var(--faint); }
.moonEvent { display: flex; align-items: center; gap: 12px; }
.moonEvent > div { flex: 1; min-width: 0; }
.moonCycle { display: flex; flex-wrap: wrap; gap: 10px 6px; margin: 10px 0 4px; }
.moonPhaseCell {
  flex: 1 1 calc(25% - 6px); min-width: 70px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 8px 2px; border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.moonPhaseCell > svg { display: block; }
.moonPhaseCell.cur { border-color: rgba(255,193,69,.6); background: rgba(255,193,69,.1); }
.moonPhaseName { font-size: 9.5px; font-weight: 600; color: var(--dim); text-align: center; line-height: 1.15; }
.moonPhaseCell.cur .moonPhaseName { color: var(--gold); }

/* ---------- qualité de l'air ---------- */
.airLvlRow { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.airNow { font-size: 12px; color: var(--faint); }
.airTalk { margin-top: 6px; }
.pollGrid { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.pollRow {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.05);
}
.pollL { flex: 1; min-width: 0; }
.pollKey { font-size: 14px; font-weight: 800; }
.pollExp { font-size: 11.5px; color: var(--dim); margin-top: 2px; line-height: 1.35; }
.pollVal {
  flex: 0 0 auto; font-size: 13px; font-weight: 800; padding: 5px 10px;
  border-radius: 999px;
}
.rb-neutral { background: rgba(255,255,255,.1); color: var(--dim); }
.airTomorrowRow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pollBody { min-height: 40px; }
.pollTaxa { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 4px; }
.pollTaxon {
  font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 999px;
  border: 1px solid currentColor; opacity: .95;
}

/* ---------- ma semaine ---------- */
.weekCard { padding: 6px 0; }
.weekRow {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 4px; border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.weekRow:last-of-type { border-bottom: none; }
.weekRow.today {
  background: rgba(255,193,69,.08);
  margin: 0 -10px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid rgba(255,193,69,.3);
}
.weekDay { flex: 0 0 76px; }
.weekDayName { font-size: 13.5px; font-weight: 700; }
.weekRow.today .weekDayName { color: var(--gold); }
.weekDayDate { font-size: 11px; color: var(--faint); text-transform: capitalize; }
.weekMid { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; }
.weekMid > svg { flex: 0 0 auto; display: block; }
.weekCond { font-size: 11px; color: var(--dim); line-height: 1.2; }
.weekMm { flex: 0 0 60px; display: flex; flex-direction: column; gap: 2px; align-items: flex-end; justify-content: center; min-height: 14px; }
.weekProb { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: #9cc8ff; }
.weekProb svg { display: block; }
.weekPrecip { font-size: 10.5px; color: var(--faint); font-weight: 600; }
.weekUv { font-size: 10.5px; font-weight: 700; color: #ffb65e; }

/* ---------- montagnes & plages ---------- */
.featIntro .featH1 { margin-bottom: 8px; }
.placeChips { display: flex; flex-wrap: wrap; gap: 8px; }
.placeChips button {
  padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.06);
  color: var(--ink); font-size: 13.5px; font-family: inherit; cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.placeChips button:active { transform: scale(.96); }
.placeChips button.on { background: var(--gold); color: #0e2a4d; border-color: var(--gold); font-weight: 700; }
.mHero { position: relative; overflow: hidden; }
.mHeroKicker {
  font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.mHeroRow { display: flex; align-items: baseline; justify-content: center; gap: 14px; }
.mHeroTemp { font-size: 44px; font-weight: 800; color: #fff; line-height: 1; }
.mHeroCond { font-size: 17px; font-weight: 600; color: rgba(247,251,255,.9); }
.mStatGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 10px; }
.statTile {
  border: 1px solid rgba(148,163,184,.22); border-radius: 14px;
  background: rgba(30,41,59,.55); padding: 12px 10px 10px; text-align: center;
}
.statVal { font-size: 22px; font-weight: 800; color: #fff; line-height: 1.2; }
.statLbl { font-size: 11.5px; color: var(--dim); margin-top: 4px; font-weight: 600; }
.statSub { font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.weekTemps { flex: 0 0 86px; display: flex; align-items: center; gap: 6px; }
.weekMin, .weekMax { font-size: 13px; font-weight: 700; font-feature-settings: 'tnum'; }
.weekMin { color: var(--dim); }
.weekMax { color: #fff; }
.tempTrack {
  position: relative; flex: 1; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,.1); min-width: 26px;
}
.tempBar {
  position: absolute; top: 0; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #8fd0ff, var(--gold));
}

/* ---------- mes lieux ---------- */
.placeRow {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 12px; margin-bottom: 10px;
  border-radius: 16px; border: 1px solid var(--glassborder);
  background: rgba(255,255,255,.07); cursor: pointer;
  transition: transform .12s ease, background .2s ease;
}
.placeRow:active { transform: scale(.985); }
.placeRow.fav { border-color: rgba(255,193,69,.5); background: rgba(255,193,69,.08); }
.placeIcon { font-size: 17px; flex: 0 0 auto; }
.placeRow.fav .placeIcon { color: var(--gold); }
.placeTxt { flex: 1; min-width: 0; }
.placeName { display: block; font-size: 15px; font-weight: 700; }
.placeSub { display: block; font-size: 12px; color: var(--dim); margin-top: 1px; }
.placeActs { display: flex; gap: 6px; flex: 0 0 auto; }
.placeBtn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--glassborder); background: rgba(255,255,255,.08);
  color: var(--dim); font-size: 15px; cursor: pointer; line-height: 1;
}
.placeBtn.on { color: var(--gold); border-color: rgba(255,193,69,.6); }
.placeBtn.del { color: var(--faint); }

/* ---- bulletin quotidien ---- */
.bulletinHero { background: linear-gradient(135deg, rgba(255,193,69,.16), rgba(255,159,28,.24)); }
.bulRow { display: flex; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid rgba(255,255,255,.06); }
.bulRow:last-child { border-bottom: none; }
.bulCond { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.bulCond svg { width: 30px; height: 30px; }
.bulTxt { flex: 1; min-width: 0; }
.bulName { font-weight: 700; font-size: 14.5px; }
.bulSub { font-size: 12px; color: rgba(247,251,255,.6); }
.bulTemp { font-size: 19px; font-weight: 800; text-align: right; }
.bulFelt { display: block; font-size: 10.5px; color: rgba(247,251,255,.55); font-weight: 500; }
.bulRRow { padding: 6px 0; font-size: 13.5px; line-height: 1.45; }
.bulTempWrap { margin-top: 4px; }
.bulSlot { padding-left: 4px; font-size: 13.5px; line-height: 1.5; }
.bulAir { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bulAirSub { font-size: 12.5px; color: rgba(247,251,255,.6); }

/* bulletin de vigilance météo (vigilance riche, description + consignes officielles) */
.vigHeader { border: 1px solid; border-left: 6px solid; border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; background: rgba(255,255,255,.04); }
.vigBadge { font-size: 16px; font-weight: 800; letter-spacing: .2px; }
.vigDept { font-size: 13px; color: rgba(247,251,255,.65); margin-top: 2px; }
.vigBlock { border-left: 4px solid; background: rgba(255,255,255,.03); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.vigPh { font-size: 14.5px; font-weight: 800; margin-bottom: 6px; }
.vigInst { margin-top: 8px; padding: 8px 10px; background: rgba(255,255,255,.06); border-radius: 9px; font-size: 13px; line-height: 1.5; }

/* ---------- FAQ par ville (SEO) ---------- */
#cityFaq { max-width: 640px; margin: 4px auto 10px; padding: 0 18px; text-align: left; }
#cityFaq h2 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; text-align: center; }
#cityFaq details { background: var(--glass); border: 1px solid var(--glassborder); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
#cityFaq summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--ink); list-style: none; position: relative; padding-right: 22px; }
#cityFaq summary::-webkit-details-marker { display: none; }
#cityFaq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--gold); font-weight: 700; }
#cityFaq details[open] summary::after { content: "–"; }
#cityFaq p { margin: 8px 0 2px; font-size: 13.5px; line-height: 1.6; color: var(--dim); }

/* pied de page : mentions légales + contact */
#appFoot {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 6px;
  padding: 16px 0 calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px; color: var(--dim);
}
#appFoot .footSep { opacity: .55; }
#appFoot button {
  border: none; background: none; padding: 2px 2px;
  color: var(--dim); font-family: inherit; font-size: 12px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
#appFoot button:active { color: var(--gold); }
#appFoot .footYear { font-feature-settings: 'tnum'; }

/* ---------- mentions légales / contact ---------- */
.mlOverlay .mlCard {
  position: relative;
  width: min(460px, 100%);
  margin: 0 14px calc(20px + env(safe-area-inset-bottom));
  padding: 22px 20px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 193, 69, .38);
  background: rgba(9, 21, 38, .96);
  color: #f7fbff;
  box-shadow: 0 18px 48px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: translateY(14px); transition: transform .28s ease;
  max-height: min(78vh, 640px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
}
.mlOverlay.open .mlCard { transform: translateY(0); }
.mlOverlay .mlClose {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.08); color: #dbe6f2;
  font-size: 16px; line-height: 1; cursor: pointer; z-index: 1;
}
.mlTitle { font-size: 18px; font-weight: 800; color: #ffd97a; padding-right: 34px; }
.mlSub { font-size: 13px; line-height: 1.55; color: #b7c6d8; margin: 8px 0 16px; }
.legalBlk { margin-bottom: 14px; }
.legalBlk b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.legalBlk p { font-size: 13.5px; line-height: 1.6; color: #dbe6f2; margin: 0; }
.legalBlk p .addr { color: #f7fbff; font-weight: 600; }
.mlBody { font-size: 14px; }
.aideBlk { margin-bottom: 16px; }
.aideBlk h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; color: #ffd97a; }
.aideBlk p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; color: #dbe6f2; }
.aideBlk ul { margin: 4px 0 0; padding-left: 18px; }
.aideBlk li { font-size: 13.5px; line-height: 1.6; color: #dbe6f2; margin-bottom: 5px; }
.aideBlk li b { color: #f7fbff; }
.aideBlk .aideKbd {
  font-family: inherit; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px; padding: 1px 7px; font-size: 12.5px; color: #fff; white-space: nowrap;
}
.aideBlk .aideNote {
  margin-top: 8px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255,159,28,.1); border: 1px solid rgba(255,193,69,.3);
  font-size: 13px; line-height: 1.55; color: #ffe3b0;
}
.contactField { margin-bottom: 12px; }
.contactField label { display: block; font-size: 12.5px; font-weight: 600; color: #b7c6d8; margin-bottom: 5px; }
.contactField label .req { color: var(--gold); }
.contactField input, .contactField textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  color: #f7fbff; border-radius: 12px; padding: 11px 13px;
  font-family: inherit; font-size: 14.5px;
}
.contactField input:focus, .contactField textarea:focus {
  outline: none; border-color: rgba(255,193,69,.7);
}
.contactField textarea { resize: vertical; min-height: 110px; }
.mlSendBtn {
  display: block; width: 100%; margin-top: 4px;
  padding: 13px 20px; border-radius: 999px;
  border: 1px solid rgba(255,193,69,.5);
  background: linear-gradient(135deg, rgba(255,215,122,.16), rgba(255,159,28,.24));
  color: #ffd97a; font-size: 14px; font-weight: 800; letter-spacing: .04em;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.mlSendBtn:active { transform: scale(.98); }
.mlSendBtn[disabled] { opacity: .55; cursor: not-allowed; }
.pushMsg {
  padding: 12px 14px; margin-bottom: 10px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.pushMsg:last-of-type { margin-bottom: 14px; }
.pushMsgTitle { font-size: 14px; font-weight: 800; color: #ffd97a; margin-bottom: 4px; line-height: 1.4; }
.pushMsgBody { font-size: 13.5px; line-height: 1.55; color: #dbe6f2; white-space: pre-wrap; overflow-wrap: anywhere; }
.pushMsgTime { margin-top: 6px; font-size: 11.5px; color: var(--dim); }
.mlSendResult { margin-top: 12px; font-size: 13.5px; line-height: 1.5; }
.mlSendResult.ok { color: #8ee6a8; }
.mlSendResult.err { color: #ff9d9d; }
.mlHp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- avis d'écart entre sources météo (non recouvrant, remplace la modale) ---------- */
.disNotice {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding: 10px 14px;
  background: rgba(8, 21, 38, .78);
  border: 1px solid rgba(255, 255, 255, .16);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  font-size: 12.5px; line-height: 1.5; color: var(--mut2);
  text-align: left; max-width: 100%;
  backdrop-filter: blur(8px);
  animation: disIn .3s ease;
}
@keyframes disIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}
.disNotice .disWarn {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 193, 69, .18); color: var(--gold);
  font-size: 13px; line-height: 1;
}
.disNotice .disMsg { flex: 1 1 220px; min-width: 0; }
.disNotice .disMsg b { color: var(--gold); font-weight: 600; }
.disNotice .disGo {
  background: none; border: 1px solid rgba(255, 193, 69, .55); color: var(--gold);
  border-radius: 999px; padding: 5px 13px; font-size: 11.5px; font-family: inherit;
  font-weight: 600; cursor: pointer; white-space: nowrap; transition: .15s;
}
.disNotice .disGo:hover { background: rgba(255, 193, 69, .14); }
.disNotice .disClose {
  background: none; border: none; color: rgba(247, 251, 255, .5); cursor: pointer;
  font-size: 14px; line-height: 1; padding: 4px 6px; border-radius: 8px; transition: .15s;
}
.disNotice .disClose:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }


