/* MUKIVA Family App – Warm & Friendly Design */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&display=swap');

:root {
  /* Brand */
  --orange:       #FF6B35;
  --orange-2:     #FFB347;
  --orange-light: #FFF1E8;
  --orange-dark:  #E8451A;

  /* Accents */
  --green:        #52C97D;
  --green-light:  #E8F8EE;
  --blue:         #4AA8FF;
  --blue-light:   #E8F4FF;
  --purple:       #9B6DFF;
  --purple-light: #F0EBFF;
  --pink:         #FF6FAE;
  --pink-light:   #FFE8F3;
  --yellow:       #FFD166;
  --yellow-light: #FFFAE8;

  /* Neutrals */
  --bg:           #FFF8F2;
  --card:         #FFFFFF;
  --dark:         #2D2B3D;
  --dark2:        #3D3B50;
  --text:         #2D2B3D;
  --text-2:       #6B6880;
  --text-3:       #9B98AD;
  --border:       #F0EDE8;

  /* Shapes */
  --r-sm:         10px;
  --r:            16px;
  --r-lg:         24px;
  --r-xl:         32px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(45,43,61,.06);
  --shadow:     0 4px 20px rgba(45,43,61,.10);
  --shadow-lg:  0 8px 40px rgba(45,43,61,.14);
  --shadow-colored: 0 8px 24px rgba(255,107,53,.30);

  /* Layout */
  --nav-h:        68px;
  --top-h:        60px;
  --safe-top:     env(safe-area-inset-top, 0px);
  --safe-bot:     env(safe-area-inset-bottom, 0px);

  /* Animation */
  --spring:       cubic-bezier(.34,1.56,.64,1);
  --ease:         cubic-bezier(.25,.46,.45,.94);

  --font: 'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; overscroll-behavior: none; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font); cursor: pointer; }

/* ── STATUS BAR ──────────────────────────────────── */
.safe-top { height: var(--safe-top); background: var(--dark); position: fixed; top: 0; left: 0; right: 0; z-index: 300; }

/* ── TOP BAR ─────────────────────────────────────── */
.topbar {
  position: fixed;
  top: var(--safe-top); left: 0; right: 0;
  height: var(--top-h);
  background: var(--dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px;
  z-index: 200;
}
.topbar-brand { display: flex; align-items: center; gap: 10px; }
.topbar-logo {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.topbar-title { color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1; }
.topbar-title small { display: block; font-size: .68rem; color: rgba(255,255,255,.45); font-weight: 600; letter-spacing: .04em; }
.topbar-actions { display: flex; gap: 8px; }
.topbar-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: none;
  color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: background .15s;
}
.topbar-btn:active { background: rgba(255,255,255,.2); }
.topbar-dot {
  position: absolute; top: 0; right: 0;
  width: 10px; height: 10px;
  background: var(--orange); border-radius: 50%;
  border: 2px solid var(--dark);
  display: none;
}
.topbar-dot.show { display: block; }

/* ── SCROLL AREA ─────────────────────────────────── */
.app-body {
  position: fixed;
  top: calc(var(--safe-top) + var(--top-h));
  left: 0; right: 0;
  bottom: calc(var(--nav-h) + var(--safe-bot));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

/* ── SCREENS ─────────────────────────────────────── */
.screen { display: none; min-height: 100%; padding-bottom: 20px; }
.screen.active { display: block; }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.screen.active > * { animation: fadeUp .28s var(--ease) both; }
.screen.active > *:nth-child(2) { animation-delay:.04s; }
.screen.active > *:nth-child(3) { animation-delay:.08s; }
.screen.active > *:nth-child(4) { animation-delay:.12s; }
.screen.active > *:nth-child(5) { animation-delay:.16s; }

/* ── BOTTOM NAV ──────────────────────────────────── */
.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + var(--safe-bot));
  padding-bottom: var(--safe-bot);
  background: var(--card);
  border-top: 1px solid var(--border);
  display: flex;
  box-shadow: 0 -4px 24px rgba(45,43,61,.08);
  z-index: 200;
}
.nav-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding-top: 8px; gap: 3px;
  background: none; border: none;
  color: var(--text-3); font-size: .68rem; font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase;
  transition: color .15s;
  position: relative;
}
.nav-btn .nav-icon-wrap {
  width: 44px; height: 28px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: background .2s, transform .2s var(--spring);
}
.nav-btn.active { color: var(--orange); }
.nav-btn.active .nav-icon-wrap {
  background: var(--orange-light);
  transform: scale(1.08);
}
.nav-pill {
  position: absolute; top: 6px; right: calc(50% - 22px);
  background: var(--orange); color: #fff;
  font-size: .6rem; font-weight: 800;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; display: none;
  align-items: center; justify-content: center;
  border: 2px solid var(--card);
  animation: popIn .3s var(--spring);
}
.nav-pill.show { display: flex; }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }

/* ── HERO SECTION ────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 18px 20px 58px;
  position: relative;
  overflow: hidden;
}
.hero-blob1 {
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: var(--orange);
  border-radius: 50%;
  opacity: .15;
  animation: float1 6s ease-in-out infinite;
}
.hero-blob2 {
  position: absolute; bottom: -80px; left: -40px;
  width: 180px; height: 180px;
  background: var(--orange-2);
  border-radius: 50%;
  opacity: .1;
  animation: float2 8s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-15px,20px) scale(1.05)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-15px)} }
.hero-eyebrow {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.hero-eyebrow::before { content:''; width:20px; height:2px; background:var(--orange); border-radius:1px; }
.hero h1 { font-size: 1.3rem; font-weight: 900; color: #fff; line-height: 1.25; margin-bottom: 4px; }
.hero-sub { font-size: .82rem; color: rgba(255,255,255,.55); font-weight: 600; }
.hero-pills { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.15);
  font-size: .78rem; font-weight: 700;
  padding: 6px 12px; border-radius: 20px;
  backdrop-filter: blur(8px);
}
.hero-pill.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ── CARD PULL-UP ────────────────────────────────── */
.pullup {
  background: var(--bg);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: -32px;
  padding: 18px 16px 0;
  position: relative; z-index: 1;
  min-height: 60vh;
}

/* ── SECTION HEADER ──────────────────────────────── */
.sec { padding: 0 16px; margin-bottom: 16px; }
.sec-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.sec-hd h3 { font-size: 1rem; font-weight: 900; color: var(--dark); }
.sec-hd a { font-size: .82rem; font-weight: 700; color: var(--orange); }

/* ── QUICK STATS ─────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--card);
  border-radius: var(--r);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 0 0 var(--r) var(--r);
}
.stat-card:nth-child(2)::after { background: var(--green); }
.stat-card:nth-child(3)::after { background: var(--purple); }
.stat-num {
  font-size: 1.8rem; font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-card:nth-child(2) .stat-num {
  background: linear-gradient(135deg, var(--green), #2ECC71);
  -webkit-background-clip: text;
}
.stat-card:nth-child(3) .stat-num {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
}
.stat-label { font-size: .7rem; color: var(--text-3); font-weight: 700; margin-top: 4px; letter-spacing: .04em; }

/* ── HORIZONTAL SCROLL ROW ───────────────────────── */
.hscroll {
  display: flex; gap: 12px;
  overflow-x: auto; padding: 4px 16px 8px;
  margin: 0 -16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.hscroll::-webkit-scrollbar { display: none; }

/* ── EVENT BUBBLE CARD ───────────────────────────── */
.ecard {
  flex-shrink: 0;
  width: 200px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform .15s var(--spring);
  position: relative;
  overflow: hidden;
}
.ecard:active { transform: scale(.95); }
.ecard-color-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.ecard-date {
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); margin-bottom: 6px; margin-top: 4px;
}
.ecard h4 { font-size: .9rem; font-weight: 800; color: var(--dark); line-height: 1.3; margin-bottom: 8px; }
.ecard-meta { font-size: .75rem; color: var(--text-2); display: flex; flex-direction: column; gap: 3px; }
.ecard-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .68rem; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
  margin-top: 8px;
}

/* ── CATEGORY COLORS ─────────────────────────────── */
.cat-treff    { background: var(--orange-light); color: var(--orange-dark); --accent: var(--orange); }
.cat-kurs     { background: var(--pink-light);   color: #C2185B;            --accent: var(--pink); }
.cat-gruppe   { background: var(--green-light);  color: #2E7D32;            --accent: var(--green); }
.cat-event    { background: var(--purple-light); color: #6A1B9A;            --accent: var(--purple); }
.cat-free     { background: var(--green-light);  color: #2E7D32; }

/* ── TODAY TIMELINE ──────────────────────────────── */
.timeline { padding: 0 16px; }
.tl-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .1s;
}
.tl-item:last-child { border-bottom: none; }
.tl-time { text-align: right; min-width: 44px; flex-shrink: 0; }
.tl-time strong { font-size: .82rem; font-weight: 800; color: var(--dark); display: block; }
.tl-time span { font-size: .68rem; color: var(--text-3); font-weight: 700; }
.tl-dot-wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
.tl-dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  background: var(--orange); margin-top: 3px;
  box-shadow: 0 0 0 3px var(--orange-light);
}
.tl-line { width: 2px; flex: 1; background: var(--border); margin: 4px 0; min-height: 20px; }
.tl-info h4 { font-size: .9rem; font-weight: 800; color: var(--dark); }
.tl-info p { font-size: .78rem; color: var(--text-2); margin-top: 2px; }

/* ── TIP OF DAY CARD ─────────────────────────────── */
.tod-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-radius: var(--r-lg);
  padding: 20px;
  margin: 0 16px 8px;
  display: flex; gap: 14px; align-items: center;
  cursor: pointer; transition: transform .1s;
  position: relative; overflow: hidden;
}
.tod-card:active { transform: scale(.98); }
.tod-card::after {
  content: '💡'; position: absolute; right: 16px; bottom: 8px;
  font-size: 3.5rem; opacity: .12;
}
.tod-emoji {
  font-size: 2rem; flex-shrink: 0;
  width: 52px; height: 52px;
  background: rgba(255,255,255,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.tod-text { flex: 1; }
.tod-text .label { font-size: .68rem; font-weight: 800; color: var(--orange); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.tod-text h4 { font-size: .92rem; font-weight: 800; color: #fff; line-height: 1.3; }
.tod-text p { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 3px; }

/* ── EMPTY STATE ─────────────────────────────────── */
.empty {
  text-align: center; padding: 32px 20px;
  color: var(--text-3);
}
.empty-emoji { font-size: 3rem; margin-bottom: 10px; }
.empty h4 { font-size: .95rem; color: var(--dark); font-weight: 800; margin-bottom: 4px; }
.empty p { font-size: .82rem; }

/* ── FILTER CHIPS ────────────────────────────────── */
.chips {
  display: flex; gap: 8px;
  overflow-x: auto; padding: 0 16px 4px;
  margin: 0 -16px 16px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 8px 16px; border-radius: 20px;
  border: 2px solid var(--border);
  background: var(--card);
  font-size: .82rem; font-weight: 700; color: var(--text-2);
  white-space: nowrap; cursor: pointer;
  transition: all .15s;
}
.chip.active { background: var(--dark); border-color: var(--dark); color: #fff; }

/* ── EVENT LIST CARD ─────────────────────────────── */
.evcard {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 10px;
  display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
  cursor: pointer; transition: transform .1s, box-shadow .1s;
}
.evcard:active { transform: scale(.98); box-shadow: var(--shadow-lg); }
.evcard-datebox {
  flex-shrink: 0; width: 48px;
  text-align: center;
  background: var(--orange-light);
  border-radius: 12px; padding: 8px 4px;
}
.evcard-datebox .day { font-size: 1.35rem; font-weight: 900; color: var(--orange); line-height: 1; }
.evcard-datebox .mon { font-size: .62rem; font-weight: 800; color: var(--orange-dark); text-transform: uppercase; letter-spacing: .06em; }
.evcard-info { flex: 1; min-width: 0; }
.evcard-info h4 { font-size: .9rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.evcard-meta { font-size: .76rem; color: var(--text-2); display: flex; gap: 10px; flex-wrap: wrap; }
.evcard-tags { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.evcard-arrow { align-self: center; flex-shrink: 0; font-size: 1.1rem; color: var(--border); }

/* ── RECURRING ROW ───────────────────────────────── */
.recrow {
  background: var(--card);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.recrow-day {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff; font-size: .78rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 1.2;
  flex-shrink: 0;
}
.recrow-info h4 { font-size: .88rem; font-weight: 800; color: var(--dark); }
.recrow-info p { font-size: .76rem; color: var(--text-2); }
.recrow-time { margin-left: auto; font-size: .78rem; font-weight: 800; color: var(--orange); flex-shrink: 0; text-align: right; }

/* ── TIP CATEGORY GRID ───────────────────────────── */
.tip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px 8px; }
.tip-cat {
  border-radius: var(--r-lg);
  padding: 20px 16px;
  cursor: pointer;
  transition: transform .15s var(--spring), box-shadow .15s;
  position: relative; overflow: hidden;
}
.tip-cat:active { transform: scale(.95); }
.tip-cat.wide { grid-column: span 2; display: flex; align-items: center; gap: 16px; }
.tip-cat-emoji { font-size: 2.2rem; margin-bottom: 12px; }
.tip-cat.wide .tip-cat-emoji { font-size: 2.8rem; margin-bottom: 0; }
.tip-cat h4 { font-size: .9rem; font-weight: 900; color: var(--dark); margin-bottom: 3px; }
.tip-cat p { font-size: .75rem; color: var(--text-2); line-height: 1.4; }
.tip-cat .corner-emoji {
  position: absolute; right: 12px; bottom: 8px;
  font-size: 3rem; opacity: .12;
}

/* TIP CATEGORY COLORS */
.tc-orange  { background: linear-gradient(135deg, #FFF1E8 0%, #FFE0CC 100%); box-shadow: 0 4px 16px rgba(255,107,53,.12); }
.tc-green   { background: linear-gradient(135deg, #E8F8EE 0%, #D0F0DC 100%); box-shadow: 0 4px 16px rgba(82,201,125,.12); }
.tc-blue    { background: linear-gradient(135deg, #E8F4FF 0%, #D0E8FF 100%); box-shadow: 0 4px 16px rgba(74,168,255,.12); }
.tc-purple  { background: linear-gradient(135deg, #F0EBFF 0%, #E0D4FF 100%); box-shadow: 0 4px 16px rgba(155,109,255,.12); }
.tc-pink    { background: linear-gradient(135deg, #FFE8F3 0%, #FFD4EB 100%); box-shadow: 0 4px 16px rgba(255,111,174,.12); }
.tc-yellow  { background: linear-gradient(135deg, #FFFAE8 0%, #FFF0C0 100%); box-shadow: 0 4px 16px rgba(255,209,102,.20); }
.tc-dark    { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); box-shadow: var(--shadow); }
.tc-dark h4, .tc-dark p { color: #fff !important; }
.tc-dark .tip-cat-emoji { color: #fff; }

/* ── TIP CARD ────────────────────────────────────── */
.tipcard {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .1s;
}
.tipcard:active { transform: scale(.98); }
.tipcard-head { display: flex; gap: 12px; align-items: flex-start; }
.tipcard-emoji {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.tipcard-meta h4 { font-size: .92rem; font-weight: 800; color: var(--dark); margin-bottom: 2px; }
.tipcard-age { font-size: .72rem; font-weight: 700; color: var(--orange); }
.tipcard p { font-size: .84rem; color: var(--text-2); line-height: 1.55; margin-top: 10px; }
.tipcard-tag {
  display: inline-block; margin-top: 10px;
  background: var(--bg); color: var(--text-3);
  font-size: .68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}

/* ── INFO SCREEN ─────────────────────────────────── */
.info-hero {
  background: var(--dark);
  padding: 32px 20px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.info-hero h2 { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.info-hero p { font-size: .88rem; color: rgba(255,255,255,.55); }
.info-hero-blob {
  position: absolute; top:-60px; left:50%; transform:translateX(-50%);
  width: 300px; height: 300px;
  background: var(--orange); border-radius: 50%; opacity: .07;
}
.info-cards {
  background: var(--bg);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: -40px;
  padding: 20px 16px 0;
}
.inforow {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .1s;
}
.inforow:active { transform: scale(.98); }
.inforow-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.inforow-body h4 { font-size: .9rem; font-weight: 800; color: var(--dark); }
.inforow-body p { font-size: .8rem; color: var(--text-2); margin-top: 2px; }
.inforow-body a { color: var(--orange); font-weight: 700; }
.inforow-arrow { margin-left: auto; font-size: 1rem; color: var(--border); flex-shrink: 0; }

/* ── PUSH CARD ───────────────────────────────────── */
.push-block {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8F5A 100%);
  border-radius: var(--r-lg);
  padding: 22px 18px;
  margin-bottom: 12px;
  position: relative; overflow: hidden;
}
.push-block::after { content:'🔔'; position:absolute; right:14px; bottom:8px; font-size:4rem; opacity:.15; }
.push-block h3 { font-size: 1.05rem; font-weight: 900; color: #fff; margin-bottom: 6px; }
.push-block p { font-size: .83rem; color: rgba(255,255,255,.8); margin-bottom: 16px; line-height: 1.5; }
.push-status { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.75); margin-top: 10px; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  font-family: var(--font); font-size: .92rem; font-weight: 800;
  border: none; cursor: pointer;
  transition: transform .12s var(--spring), opacity .12s;
}
.btn:active { transform: scale(.96); opacity: .9; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 16px rgba(255,107,53,.35); }
.btn-dark    { background: var(--dark);   color: #fff; }
.btn-light   { background: var(--bg);     color: var(--dark); }
.btn-white   { background: #fff;          color: var(--orange); box-shadow: var(--shadow-sm); }
.btn-full    { width: 100%; }
.btn-sm      { padding: 9px 16px; font-size: .82rem; }

/* ── MODAL SHEET ─────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(45,43,61,.5);
  display: none; align-items: flex-end;
  backdrop-filter: blur(6px);
}
.overlay.open { display: flex; }
.sheet {
  background: var(--card);
  border-radius: 26px 26px 0 0;
  padding: 0 0 calc(24px + var(--safe-bot));
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  animation: sheetUp .32s var(--spring);
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 14px auto 0; }
.sheet-content { padding: 20px 20px 0; }
.sheet-emoji { font-size: 2.8rem; text-align: center; margin-bottom: 12px; }
.sheet-content h2 { font-size: 1.2rem; font-weight: 900; color: var(--dark); margin-bottom: 8px; }
.sheet-content p { font-size: .88rem; color: var(--text-2); line-height: 1.65; margin-bottom: 10px; }
.sheet-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sheet-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 20px;
  font-size: .75rem; font-weight: 700;
}
.sheet-meta { background: var(--bg); border-radius: var(--r); padding: 14px; margin: 14px 0; }
.sheet-meta-row { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--border); }
.sheet-meta-row:last-child { border-bottom: none; }
.sheet-meta-row strong { font-size: .8rem; font-weight: 800; color: var(--text-2); min-width: 72px; }
.sheet-meta-row span { font-size: .88rem; color: var(--dark); }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; }

/* ── TOAST ───────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + var(--safe-bot) + 14px);
  left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--dark); color: #fff;
  padding: 12px 20px; border-radius: 14px;
  font-size: .86rem; font-weight: 700;
  white-space: nowrap; z-index: 600;
  opacity: 0; transition: all .25s var(--spring);
  pointer-events: none; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── LOADING SPINNER ─────────────────────────────── */
.spinner { display:inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── DIVIDER ─────────────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 800;
  color: var(--text-3); letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px 12px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── BACK BUTTON ─────────────────────────────────── */
.back-row {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 16px 4px; cursor: pointer; color: var(--orange);
  font-weight: 800; font-size: .9rem;
}

/* ── ONBOARDING DOTS ─────────────────────────────── */
.dots { display: flex; gap: 6px; justify-content: center; padding: 8px 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: all .2s; }
.dot.active { background: var(--orange); width: 18px; border-radius: 4px; }

/* ── FLOATING QUICK ACTION ───────────────────────── */
.fab {
  position: fixed;
  right: 20px;
  bottom: calc(var(--nav-h) + var(--safe-bot) + 14px);
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(255,107,53,.4);
  z-index: 150;
  cursor: pointer;
  transition: transform .2s var(--spring), box-shadow .2s;
  display: none;
}
.fab:active { transform: scale(.92); }
.fab.show { display: flex; animation: popIn .3s var(--spring); }

/* ── WEATHER-STYLE DAY STRIP ─────────────────────── */
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.day-strip::-webkit-scrollbar { display: none; }
.day-item {
  flex-shrink: 0; text-align: center;
  background: var(--card); border-radius: var(--r);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  min-width: 52px; cursor: pointer;
  border: 2px solid transparent;
  transition: all .15s;
}
.day-item.today { background: var(--dark); border-color: var(--dark); }
.day-item.today .day-name, .day-item.today .day-num { color: #fff; }
.day-item.has-event { border-color: var(--orange); }
.day-name { font-size: .68rem; font-weight: 800; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.day-num  { font-size: 1.1rem; font-weight: 900; color: var(--dark); }
.day-dot  { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; margin: 4px auto 0; }
