:root {
  --bg: #f4efe6;
  --surface: #fffaf3;
  --surface-2: #f7eadb;
  --card: rgba(255, 252, 247, 0.94);
  --text: #2b211e;
  --muted: #7c6f68;
  --line: rgba(88, 58, 44, 0.12);
  --accent: #b64234;
  --accent-dark: #8f2d24;
  --accent-soft: #f4dfd7;
  --accent-2: #2f3f5b;
  --accent-2-dark: #202d43;
  --ink-soft: #e8eaf0;
  --gold: #c59a45;
  --gold-soft: #f3e5bd;
  --danger: #c94f3f;
  --ok: #9a6f23;
  --shadow: 0 18px 52px rgba(86, 55, 39, 0.12);
  --shadow-soft: 0 8px 26px rgba(86, 55, 39, 0.08);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -2%, rgba(182, 66, 52, 0.16), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(197, 154, 69, 0.14), transparent 28%),
    linear-gradient(180deg, #f8f3ea 0%, var(--bg) 46%, #efe7db 100%);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url("./pattern-clouds.svg");
  background-size: 360px 180px;
  background-position: 14px 90px;
  opacity: 0.58;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("./pattern-lattice.svg");
  background-size: 96px 96px;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 54%, #000 88%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 54%, #000 88%);
}

button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.app-shell {
  min-height: 100vh;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(13px + env(safe-area-inset-top)) 18px 12px;
  background: rgba(250, 245, 237, 0.86);
  border-bottom: 1px solid rgba(130, 91, 66, 0.09);
  backdrop-filter: blur(22px) saturate(1.2);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(182,66,52,.32), rgba(197,154,69,.3), transparent);
}
.topbar > div { position: relative; padding-left: 14px; }
.topbar > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}
.eyebrow {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.topbar h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.02em;
}
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(182, 66, 52, .16);
  border-radius: 15px;
  background: rgba(255,250,243,.92);
  color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.content {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 12px 16px 30px;
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  width: min(calc(100% - 18px), 742px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 7px 7px calc(7px + env(safe-area-inset-bottom));
  border: 1px solid rgba(110, 74, 54, .11);
  border-radius: 23px;
  background: rgba(255, 251, 245, 0.92);
  box-shadow: 0 14px 38px rgba(71, 45, 32, .18);
  backdrop-filter: blur(24px) saturate(1.15);
}
.nav-item {
  position: relative;
  border: 0;
  background: transparent;
  color: #8b7c74;
  padding: 7px 2px 5px;
  border-radius: 15px;
  display: grid;
  gap: 3px;
  place-items: center;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-item span { font-size: 20px; line-height: 1; }
.nav-item small { font-size: 9px; font-weight: 850; letter-spacing: .02em; }
.nav-item.active {
  color: var(--accent);
  background: linear-gradient(180deg, rgba(182,66,52,.10), rgba(182,66,52,.04));
}
.nav-item.active::before {
  content: "";
  position: absolute;
  top: -1px;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.nav-item:active { transform: scale(.96); }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 26px 21px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 29px;
  color: #fff9ef;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), transparent 44%),
    linear-gradient(128deg, #9f3028 0%, #bc4b36 47%, #8f3a30 100%);
  box-shadow: 0 22px 50px rgba(122, 47, 38, .22);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("./pattern-clouds.svg");
  background-size: 290px 145px;
  background-position: 125% 118%;
  opacity: .42;
  mix-blend-mode: screen;
}
.hero::after {
  content: "旅";
  position: absolute;
  z-index: -1;
  right: 18px;
  top: 17px;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 224, 160, .34);
  border-radius: 50%;
  color: rgba(255, 231, 178, .18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 49px;
  font-weight: 800;
  box-shadow: inset 0 0 0 5px rgba(255, 224, 160, .04);
}
.hero .eyebrow { color: #ffe0a3; }
.hero h2 {
  margin: 4px 0 9px;
  max-width: 84%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero p {
  margin: 0;
  color: rgba(255, 247, 237, .78);
  line-height: 1.52;
}
.hero-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(115, 81, 63, .11);
  background: rgba(255, 250, 244, .78);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 820;
  color: #67554b;
}
.hero .pill {
  border-color: rgba(255,255,255,.16);
  background: rgba(255, 246, 235, .11);
  color: #fff4e5;
  backdrop-filter: blur(8px);
}
.pill.gold {
  color: #8c6420;
  border-color: rgba(197,154,69,.25);
  background: rgba(243,229,189,.66);
}
.hero .pill.gold {
  color: #ffe7aa;
  border-color: rgba(255,220,143,.28);
  background: rgba(255,215,128,.11);
}

.section { margin-top: 25px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 12px;
}
.section-head > div:first-child { min-width: 0; }
.section-head h3 {
  position: relative;
  margin: 0;
  padding-left: 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: -.02em;
}
.section-head h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .12em;
  width: 3px;
  border-radius: 99px;
  background: var(--accent);
}
.section-head p, .section-head button { margin: 0; color: var(--muted); font-size: 12px; }
.section-label {
  margin: 0 0 4px !important;
  color: var(--accent) !important;
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: .15em;
}
.link-btn {
  border: 0;
  background: transparent;
  color: var(--accent-2) !important;
  font-weight: 850;
  padding: 5px 4px;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.stat,
.card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}
.stat { border-radius: 18px; padding: 14px; }
.stat strong { display: block; color: var(--accent-dark); font-size: 22px; letter-spacing: -.04em; }
.stat span { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.card {
  position: relative;
  border-radius: var(--radius);
  padding: 16px;
}
.card + .card { margin-top: 11px; }
.card-title { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.card-title h4 { margin: 0; font-size: 17px; line-height: 1.25; }
.card-title .date { color: var(--accent); font-size: 11px; font-weight: 850; white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

.notice {
  border: 1px solid rgba(197,154,69,.22);
  border-left: 4px solid var(--gold);
  padding: 13px 14px;
  background: linear-gradient(90deg, rgba(243,229,189,.55), rgba(255,250,243,.78));
  border-radius: 16px;
  color: #5b493f;
  font-size: 13px;
  line-height: 1.48;
  box-shadow: var(--shadow-soft);
}
.notice.important {
  border-color: rgba(47,63,91,.18);
  border-left-color: var(--accent-2);
  background: linear-gradient(90deg, rgba(232,234,240,.86), rgba(255,250,243,.78));
}
.notice.red {
  border-color: rgba(182,66,52,.18);
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(244,223,215,.82), rgba(255,250,243,.78));
}

.timeline { margin-top: 14px; }
.timeline-item { display: grid; grid-template-columns: 58px 16px 1fr; gap: 9px; position: relative; padding-bottom: 17px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child) .dot::after { content: ""; position: absolute; left: 6px; top: 12px; bottom: -20px; width: 2px; background: linear-gradient(var(--gold-soft), rgba(197,154,69,.10)); }
.time { font-size: 12px; color: var(--accent); font-weight: 850; padding-top: 1px; }
.dot { width: 15px; height: 15px; border-radius: 50%; border: 3px solid #f9f1e6; background: var(--gold); position: relative; box-shadow: 0 0 0 1px rgba(197,154,69,.22); }
.event strong { font-size: 14px; display: block; margin-bottom: 2px; }
.event p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.45; }
.event .event-actions { margin-top: 7px; display: flex; gap: 7px; flex-wrap: wrap; }
.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-2-dark);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  padding: 6px 9px;
  border: 1px solid rgba(47,63,91,.16);
  border-radius: 10px;
  background: rgba(232,234,240,.72);
}

.day-card { overflow: hidden; }
.day-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -54px;
  bottom: -54px;
  border-radius: 50%;
  border: 1px solid rgba(182,66,52,.07);
  box-shadow: 0 0 0 14px rgba(182,66,52,.025), 0 0 0 28px rgba(197,154,69,.02);
  pointer-events: none;
}
.day-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.day-summary { font-size: 13px; color: var(--muted); line-height: 1.48; }
.details-toggle {
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(182,66,52,.13);
  border-radius: 14px;
  padding: 11px 12px;
  background: linear-gradient(180deg, #fffaf4, #f8eee4);
  color: var(--accent-dark);
  font-weight: 850;
}
.day-details { display: none; padding-top: 13px; }
.day-card.expanded .day-details { display: block; }
.day-card.expanded .details-toggle { background: var(--gold-soft); color: var(--accent-dark); border-color: rgba(197,154,69,.28); }

.search-wrap {
  position: sticky;
  top: 75px;
  z-index: 15;
  padding: 8px 0 11px;
  background: linear-gradient(180deg, rgba(244,239,230,.97) 72%, rgba(244,239,230,0));
  backdrop-filter: blur(3px);
}
.search {
  width: 100%;
  border: 1px solid rgba(105,74,57,.13);
  background: rgba(255,251,245,.94);
  color: var(--text);
  padding: 13px 14px;
  border-radius: 16px;
  outline: 0;
  box-shadow: var(--shadow-soft);
}
.search:focus { border-color: rgba(182,66,52,.38); box-shadow: 0 0 0 3px rgba(182,66,52,.08), var(--shadow-soft); }
.filters { display: flex; gap: 8px; overflow: auto; padding: 8px 0 1px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  border: 1px solid var(--line);
  background: rgba(255,250,243,.88);
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 780;
}
.filter.active { background: var(--accent); border-color: var(--accent); color: #fff9f0; box-shadow: 0 5px 14px rgba(182,66,52,.16); }

.ticket { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.ticket h4 { margin: 0 0 5px; font-size: 15px; }
.ticket p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.ticket-price { font-weight: 900; color: var(--accent); white-space: nowrap; }
.ticket-foot { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 11px; margin-top: 2px; }
.status-btn {
  border: 1px solid rgba(110,75,55,.13);
  border-radius: 12px;
  background: #fff9f2;
  color: #5e4d44;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
}
.status-btn.booked { background: var(--gold-soft); border-color: rgba(197,154,69,.32); color: #76571c; }
.badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.hero .badge { background: rgba(255,249,239,.16); color: #fff1d7; }
.badge.urgent { color: #9b3328; background: #f7ddd7; }
.badge.advance { color: #845f22; background: #f4e7c3; }
.badge.onsite { color: #2f3f5b; background: #e8eaf0; }

.progress-card { padding: 17px; }
.progress-line { height: 9px; border-radius: 999px; background: #efe4d8; overflow: hidden; margin-top: 11px; }
.progress-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--gold), var(--accent)); border-radius: inherit; }
.budget-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; }
.budget-row strong { color: var(--accent); }

.city-grid { display: grid; gap: 12px; }
.city-card { position: relative; overflow: hidden; }
.city-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 150px;
  height: 120px;
  background-image: url("./pattern-lattice.svg");
  background-size: 72px 72px;
  opacity: .18;
  -webkit-mask-image: linear-gradient(135deg, transparent 10%, #000 75%);
  mask-image: linear-gradient(135deg, transparent 10%, #000 75%);
}
.city-card .city-num { position: absolute; right: 14px; top: 4px; font-family: Georgia, serif; font-size: 56px; font-weight: 900; color: rgba(182,66,52,.07); }
.city-card h4 { font-family: Georgia, serif; font-size: 23px; margin: 0 0 3px; }
.city-card ul { position: relative; padding-left: 18px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.hotel-box { position: relative; margin-top: 12px; padding: 11px; border-radius: 14px; background: linear-gradient(90deg, rgba(243,229,189,.55), rgba(255,250,243,.8)); font-size: 12px; }
.hotel-box strong { display: block; color: var(--text); margin-bottom: 3px; }

.info-grid { display: grid; gap: 11px; }
.info-card h4 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 18px; }
.info-card p, .info-card li { font-size: 12px; line-height: 1.58; color: var(--muted); }
.info-card ul { padding-left: 18px; margin: 7px 0; }
.phrase { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.phrase:first-of-type { border-top: 0; }
.phrase strong { font-size: 14px; }
.phrase span { font-size: 12px; color: var(--accent); font-weight: 800; }
.source-link { color: var(--accent-2-dark); text-decoration: none; font-weight: 800; }
.empty { padding: 28px 18px; text-align: center; color: var(--muted); }

/* Today-first redesign + offline document wallet */
.today-hero { padding-bottom: 24px; }
.today-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #ffe1aa; font-size: 12px; font-weight: 850; margin-bottom: 9px; }
.today-hero h2 { max-width: 92%; font-size: 35px; }
.focus-section { margin-top: 18px; }
.focus-card {
  overflow: hidden;
  padding: 17px;
  border-color: rgba(182,66,52,.16);
  background:
    linear-gradient(135deg, rgba(244,223,215,.78), rgba(255,252,247,.92) 54%),
    var(--card);
}
.focus-card::before {
  content: "今";
  position: absolute;
  right: 13px;
  top: 2px;
  font-family: Georgia, serif;
  font-size: 64px;
  font-weight: 800;
  color: rgba(182,66,52,.055);
}
.focus-card > p { position: relative; margin: 0; color: #665950; font-size: 13px; line-height: 1.52; }
.upload-inline { position: relative; overflow: hidden; cursor: pointer; }
.upload-inline input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.simple-timeline { display: grid; gap: 9px; }
.simple-event {
  border: 1px solid rgba(105,72,54,.10);
  background: rgba(255,252,247,.94);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.simple-event.is-next {
  border-color: rgba(182,66,52,.24);
  box-shadow: 0 9px 26px rgba(182,66,52,.08), inset 4px 0 0 var(--accent);
}
.simple-event summary { list-style: none; display: grid; grid-template-columns: 58px 1fr 22px; align-items: center; gap: 9px; padding: 14px; cursor: pointer; }
.simple-event summary::-webkit-details-marker { display: none; }
.simple-time { font-size: 12px; font-weight: 900; color: var(--accent); }
.simple-event-title { font-size: 14px; font-weight: 850; display: flex; align-items: center; gap: 8px; }
.simple-event-title em { font-style: normal; text-transform: uppercase; font-size: 8px; letter-spacing: .08em; color: #76571c; padding: 4px 6px; border-radius: 999px; background: var(--gold-soft); }
.chevron { color: #a18f84; font-size: 17px; text-align: center; transition: transform .15s ease; }
.simple-event[open] .chevron { transform: rotate(180deg); }
.simple-event-body { padding: 0 14px 14px 81px; }
.simple-event-body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.52; }
.simple-event-body .event-actions { margin-top: 8px; display: flex; gap: 7px; flex-wrap: wrap; }

.wallet-compact { padding: 8px; }
.empty-inline { padding: 14px 10px; display: grid; gap: 4px; }
.empty-inline strong { font-size: 13px; }
.empty-inline span { font-size: 12px; color: var(--muted); line-height: 1.45; }
.document-list { padding: 8px; margin-top: 10px; }
.document-row { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.document-row:first-child { border-top: 0; }
.document-open { min-width: 0; flex: 1; border: 0; background: transparent; color: var(--text); display: flex; align-items: center; gap: 11px; text-align: left; padding: 10px 6px; cursor: pointer; }
.document-open > span:last-child { min-width: 0; }
.document-open strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.document-open small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.document-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; border-radius: 12px; background: linear-gradient(145deg, #f4e7c3, #f7ddd7); color: var(--accent-dark); font-weight: 900; box-shadow: inset 0 0 0 1px rgba(182,66,52,.08); }
.document-delete { border: 0; background: transparent; color: #9e8d84; font-size: 22px; padding: 8px 9px; cursor: pointer; }
.day-documents { border: 1px solid rgba(197,154,69,.18); background: rgba(255,249,237,.78); padding: 10px; border-radius: 15px; margin: 0 0 12px; }
.day-documents .section-label { padding: 2px 4px 6px; }
.day-doc-count { margin-top: 9px; color: var(--accent); font-size: 11px; font-weight: 850; }

.wallet-upload { display: grid; gap: 12px; }
.wallet-upload label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 780; }
.form-row { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9px; }
.wallet-upload input, .wallet-upload select {
  width: 100%;
  border: 1px solid rgba(105,73,55,.13);
  background: #fffaf3;
  color: var(--text);
  padding: 11px 12px;
  border-radius: 13px;
  outline: none;
}
.wallet-upload input:focus, .wallet-upload select:focus { border-color: rgba(182,66,52,.35); box-shadow: 0 0 0 3px rgba(182,66,52,.07); }
.file-drop {
  border: 1.5px dashed rgba(197,154,69,.42);
  background: linear-gradient(135deg, rgba(243,229,189,.62), rgba(255,250,243,.9));
  color: var(--accent-2-dark) !important;
  padding: 16px;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
}
.file-drop input { padding: 8px 0 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; box-shadow: none; }
.primary-btn {
  border: 0;
  background: linear-gradient(135deg, var(--accent), #cf5a42);
  color: #fff9ef;
  font-weight: 900;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 9px 20px rgba(182,66,52,.20);
}
.primary-btn:active { transform: translateY(1px); }
.wallet-hero { background: linear-gradient(130deg, #7f241d 0%, #b64234 48%, #3b2a31 100%); box-shadow: 0 22px 50px rgba(143,45,36,.20); }
.wallet-hero::after { content: "票"; color: rgba(255, 241, 215, .16); border-color: rgba(255,241,215,.28); }
.wallet-hero h2 { max-width: 90%; }
.wallet-hero .eyebrow { color: #f4dfb0; }

@media (hover:hover) {
  .card, .simple-event, .filter, .status-btn, .mini-link, .primary-btn, .nav-item { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease; }
  .card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
  .simple-event:hover { border-color: rgba(182,66,52,.16); }
  .mini-link:hover { background: #f3e5bd; }
  .primary-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(182,66,52,.24); }
}

@media (min-width: 680px) {
  .content { padding-left: 22px; padding-right: 22px; }
  .city-grid { grid-template-columns: 1fr 1fr; }
  .stats { gap: 12px; }
  .hero { padding: 31px 29px; }
  .hero h2 { font-size: 39px; }
  .today-hero h2 { font-size: 40px; }
  .bottom-nav { bottom: 12px; }
}

@media (max-width: 430px) {
  body::before { background-size: 300px 150px; }
  .topbar { padding-left: 14px; padding-right: 14px; }
  .content { padding-left: 13px; padding-right: 13px; }
  .hero { padding: 23px 18px; border-radius: 25px; }
  .hero::after { width: 68px; height: 68px; right: 12px; top: 13px; font-size: 39px; }
  .hero h2 { max-width: 90%; }
  .today-hero h2 { font-size: 31px; }
  .simple-event-body { padding-left: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .bottom-nav { width: calc(100% - 12px); bottom: 6px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
