:root {
  --bg: #fff6ee;
  --bg-deep: #ffe8dc;
  --card: #ffffff;
  --ink: #3a241c;
  --muted: #5c4036;
  --line: #f3d2c3;
  --coral: #9e2b1f;
  --coral-deep: #7d2118;
  --peach: #ffd8c8;
  --peach-deep: #fff1e8;
  --mint: #0f5c4c;
  --mint-bg: #d8f3e8;
  --sun: #ffe08a;
  --sun-ink: #5c4300;
  --soon-bg: #f8d0c8;
  --soon-ink: #7a1e16;
  --link: #7a2618;
  --focus: #0f766e;
  --shadow: 0 10px 28px rgba(120, 72, 48, 0.1);
  --radius: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Zen Maru Gothic", "Noto Sans TC", "PingFang TC", "Hiragino Maru Gothic ProN", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 280px at 10% -40px, #ffe3c4 0%, transparent 60%),
    radial-gradient(700px 240px at 110% 80px, #d9f6ea 0%, transparent 55%),
    var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
}
main { flex: 1; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--coral-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  z-index: 30;
}
.skip:focus { top: 0.55rem; }
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap { width: min(1040px, calc(100% - 1.5rem)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 246, 238, 0.97);
  border-bottom: 1px solid var(--line);
}
.site-header.is-compact .mark { width: 2.15rem; height: 2.15rem; }
.site-header.is-compact .brand strong { font-size: 1rem; }
.site-header.is-compact .header-top { padding-top: 0.15rem; }
.site-header.is-compact .nav-scroll { padding-top: 0.1rem; padding-bottom: 0.35rem; }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 0.45rem; flex: 0 0 auto; }
.header-tools { display: flex; align-items: center; gap: 0.4rem; margin-left: 0; flex: 0 0 auto; }
.menu-button,
.more-button,
.drawer-close {
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.menu-button,
.more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  list-style: none;
  background: var(--coral);
  color: white;
}
.menu-button::-webkit-details-marker,
.more-button::-webkit-details-marker { display: none; }
.menu-button::marker,
.more-button::marker { content: none; }
.menu-word-close { display: none; align-items: center; gap: 0.35rem; }
.close-mark { display: inline-block; flex: 0 0 auto; line-height: 1; font-size: 1.05rem; }
.site-menu[open] > .menu-button .menu-bars,
.site-menu[open] > .menu-button .menu-word { display: none; }
.site-menu[open] > .menu-button .menu-word-close { display: inline-flex; }
.more-menu { display: none; position: relative; }
.more-button { background: white; color: var(--ink); border: 1.5px solid var(--line); }
.more-panel,
.drawer { display: none; }
.more-menu[open] > .more-panel,
.site-menu[open] > .drawer { display: flex; }
.more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 40;
  min-width: 14rem;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.4rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.drawer {
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.35rem;
  padding: 0.45rem;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
button.drawer-close {
  appearance: none;
  display: none;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.35rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}
.drawer-backdrop { display: none; }
.drawer a,
.more-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.3rem 0.75rem;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.drawer a:hover,
.more-panel a:hover { background: var(--peach-deep); }
.drawer a[aria-current="page"],
.more-panel a[aria-current="page"] { background: var(--coral); color: white; }
.js button.drawer-close { display: inline-flex; }
.js .site-menu[open] > .drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(22rem, 88vw);
  margin: 0;
  border-radius: 0;
  padding: 0.8rem 0.85rem 1.4rem;
  overflow: auto;
}
.js .site-menu[open] > .drawer-backdrop {
  display: block;
  position: fixed;
  z-index: 40;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(58, 36, 28, 0.35);
  cursor: pointer;
}
body.menu-open { overflow: hidden; }
.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding-top: 0.55rem;
}
.brand {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  min-height: 48px;
  min-width: 0;
}
.brand:hover { color: var(--coral); }
.mark { width: 2.7rem; height: 2.7rem; flex: none; }
.brand strong { font-size: 1.15rem; letter-spacing: 0.02em; }
.header-search { display: none; flex: 0 0 12.5rem; width: 12.5rem; min-width: 12.5rem; }
.header-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 999px;
  background: white;
  border: 2px solid #f0c2b0;
  color: var(--ink);
  text-decoration: none;
}
.header-search-icon .search-icon {
  position: static;
  width: 1.35rem;
  height: 1.35rem;
  transform: none;
}
.search-field,
.filter input,
.filter select,
button,
.chip,
.button {
  font: inherit;
  font-size: 16px;
}
.search-field {
  position: relative;
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}
.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  transform: translateY(-50%);
  color: #8a5346;
  pointer-events: none;
}
.search-field input {
  font: inherit;
  font-size: 16px;
  width: 100%;
  min-height: 48px;
  border: 2px solid #f0c2b0;
  border-radius: 999px;
  padding: 0 1.05rem 0 2.6rem;
  background: white;
  color: var(--ink);
}
.search-field input::placeholder {
  color: #6a463c;
  opacity: 1;
}
.nav-scroll {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.45rem 0 0.7rem;
  scrollbar-width: none;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--peach-deep);
  color: #6a3328;
  text-decoration: none;
  font-weight: 700;
}
.nav-scroll a.nav-pill { background: var(--sun); color: var(--sun-ink); }
.nav-scroll a.nav-pill-note { background: var(--mint-bg); color: var(--mint); }
.nav-scroll a[aria-current="page"] { background: var(--coral); color: white; }
h1, h2, h3 { line-height: 1.3; font-weight: 800; letter-spacing: 0.01em; }
h1 { font-size: clamp(1.65rem, 5vw, 2.45rem); margin: 0.15rem 0 0.45rem; }
h2 { font-size: 1.35rem; margin: 1.5rem 0 0.7rem; }
h3 { font-size: 1.08rem; margin: 0 0 0.35rem; }
p { margin: 0.35rem 0 0.7rem; }
.hero, .page-head { padding: 1.15rem 0 0.35rem; }
.lede, .answer { font-size: 1.08rem; color: var(--ink); }
.meta, .hint { color: var(--muted); font-size: 0.95rem; }
.hero-search { margin: 0.85rem 0 0.2rem; }
.hero-search-row { display: flex; gap: 0.5rem; align-items: center; }
.hero-search button,
.button,
button {
  background: var(--coral);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0.55rem 1.15rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex: 0 0 auto;
}
.button:hover, button:hover { background: var(--coral-deep); }
button.drawer-close:hover { background: var(--peach); color: var(--ink); }
.time-chips, .chips, .siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0.8rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.chip input { margin: 0 0.15rem 0 0; width: 1.05rem; height: 1.05rem; accent-color: var(--coral); }
.chip.is-on, .chip[aria-current="true"] {
  background: var(--coral);
  border-color: var(--coral);
  color: white;
}
.chip-note { margin-top: 0; }
.tiles, .cards { display: grid; gap: 0.8rem; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 1rem;
  min-height: 44px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 196, 170, 0.8);
}
.tile .emoji { font-size: 1.5rem; line-height: 1.2; }
.tile strong { font-size: 1.12rem; }
.tile span { color: var(--muted); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0.35rem 0 0.7rem; }
.section-head a { font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.home-weekly {
  margin-top: 0.35rem;
  padding: 0.15rem 0.15rem 0.35rem;
}
.card.card-feature {
  background: #fff6d8;
  border: 2px solid #e2b340;
  box-shadow: 0 8px 22px rgba(168, 118, 16, 0.14);
}
.feature-ribbon {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 0.2rem;
  margin: 0 0 0.45rem;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  background: var(--sun);
  color: var(--sun-ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}
.card.card-feature h3 { font-size: 1.22rem; }
.card.card-feature .benefit { font-size: 1.45rem; }
.spots { display: grid; gap: 0.75rem; }
.spot {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius);
  padding: 0.9rem 1rem 0.85rem;
  border: 1px solid rgba(255, 196, 170, 0.75);
  box-shadow: var(--shadow);
}
.spot-gold {
  background: #fff6d8;
  border: 2px solid #e2b340;
  box-shadow: 0 8px 22px rgba(168, 118, 16, 0.14);
}
.spot-place { margin: 0; font-weight: 800; color: var(--muted); }
.spot-offer {
  margin: 0.15rem 0 0.1rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1.3;
}
.spot-who { margin: 0; font-weight: 700; }
.spot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.65rem;
}
.deadline {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.1rem 0.7rem;
  border-radius: 999px;
  background: var(--soon-bg);
  color: var(--soon-ink);
  font-weight: 800;
  font-size: 0.92rem;
}
.deadline.is-later { background: var(--sun); color: var(--sun-ink); }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 0.85rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 196, 170, 0.75);
}
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--link); }
.card-kicker { margin: 0 0 0.25rem; color: var(--muted); font-weight: 700; }
.badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.15rem 0 0.35rem; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.05rem 0.6rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}
.badge-new { background: var(--sun); color: var(--sun-ink); }
.badge-standing { background: var(--mint-bg); color: var(--mint); }
.badge-start { background: var(--mint-bg); color: var(--mint); }
.badge-soon { background: var(--soon-bg); color: var(--soon-ink); }
.benefit {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1.35;
  margin: 0.15rem 0 0.35rem;
}
.pick {
  display: inline-block;
  background: var(--mint-bg);
  color: var(--mint);
  border-radius: 999px;
  padding: 0.12rem 0.7rem;
  font-weight: 700;
}
.source { font-weight: 800; }
.fallback-label {
  margin: 1.1rem 0 0.55rem;
  font-size: 1rem;
  color: var(--muted);
}
.empty-deals {
  background: white;
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
}
.empty-face { width: 3.2rem; height: 3.2rem; }
.filter, .table-wrap, .faq {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filter { padding: 0.8rem 0.95rem 0.45rem; margin: 0.2rem 0 1rem; }
.filter fieldset { border: 0; margin: 0; padding: 0; }
.filter legend { font-weight: 800; padding: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 0.65rem 0.75rem; align-items: end; }
.filter label:not(.chip) { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.92rem; color: var(--muted); }
.filter select {
  min-height: 48px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: white;
  padding: 0 0.7rem;
  color: var(--ink);
}
.filter .check { flex-direction: row; align-items: center; min-height: 48px; gap: 0.4rem; color: var(--ink); font-weight: 700; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 680px; background: white; }
caption { text-align: left; font-weight: 800; padding: 0.75rem 0.7rem 0.2rem; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); }
.faq { margin: 1.4rem 0 1.2rem; padding: 0.3rem 1rem 0.9rem; }
.prose { max-width: 40rem; }
.prose ul { padding-left: 1.15rem; }
.prose li { margin: 0.4rem 0; }
.site-footer {
  background: var(--bg-deep);
  margin-top: 2rem;
  padding: 1.3rem 0 1.8rem;
  border-radius: 28px 28px 0 0;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; }
.site-footer a { color: var(--ink); font-weight: 700; }
[hidden] { display: none !important; }
@media (max-width: 480px) {
  .hero { padding: 0.35rem 0 0; }
  .hero h1 { font-size: 1.42rem; margin: 0 0 0.2rem; }
  .hero .lede { margin: 0.1rem 0 0.2rem; }
  .hero-search { margin: 0.3rem 0 0; }
  .home-weekly { margin-top: 0.15rem; }
  .home-weekly .section-head h2 { margin: 0.15rem 0 0.4rem; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .nav-scroll { gap: 0.3rem; overflow: visible; }
  .nav-scroll a { padding: 0.28rem 0.62rem; font-size: 0.92rem; }
}
@media (min-width: 1200px) {
  .nav-scroll { overflow: visible; }
}
@media (min-width: 720px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 1.6rem; }
}
@media (min-width: 900px) {
  .site-menu { display: none; }
  .more-menu { display: block; }
  .header-top { flex-wrap: nowrap; }
  .header-search { display: block; }
  .header-search-icon { display: none; }
  .spots { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .site-menu[open] > .drawer { animation: none; }
}
