:root {
    --bg: #fafaf7; --surface: #ffffff; --surface-2: #f1f2ee; --ink: #121417; --ink-2: #3a3f45; --muted: #62686d; --line: #e7e8e3;
    --accent: #0c7a5d; --accent-ink: #0b6b52; --accent-soft: #e3f3ec; --coral: #ff6b4a; --coral-soft: #ffe9e3; --sun: #ffb020; --sun-soft: #fff3d6; --sun-ink: #8a5a06;
    --free: #0c7a5d; --heart: #ff4d6d; --star: #ffb020; --shadow: 0 10px 30px rgba(18,20,23,0.08); --shadow-lg: 0 30px 60px rgba(18,20,23,0.18);
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0f1113; --surface: #171a1d; --surface-2: #1f2327; --ink: #f2f3f1; --ink-2: #c9cdd0; --muted: #9aa1a7; --line: #2a2f34;
      --accent: #35b893; --accent-ink: #8fe3c6; --accent-soft: #13302a; --coral: #ff8266; --coral-soft: #3a211b; --sun: #ffc044; --sun-soft: #342a14; --sun-ink: #f4d084;
      --free: #35b893; --heart: #ff6b85; --star: #ffc044; --shadow: 0 10px 30px rgba(0,0,0,0.35); --shadow-lg: 0 30px 60px rgba(0,0,0,0.5);
      color-scheme: dark;
    }
  }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Manrope", system-ui, -apple-system, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  .wrap { max-width: 1060px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  h1, h2, h3 { font-family: "Sora", "Manrope", system-ui, sans-serif; margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
  a { color: inherit; }
  button { font: inherit; }
  img { max-width: 100%; }

  header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
  .bar { display: flex; align-items: center; gap: 10px; height: 64px; }
  .brand { display: inline-flex; align-items: center; gap: 9px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; text-decoration: none; }
  .brand .dot { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #2ea885); display: grid; place-items: center; color: #fff; font-size: 0.95rem; }
  .brand b { color: var(--accent); font-weight: 800; }
  .bar .spacer { flex: 1; }
  .hbtn { display: inline-flex; align-items: center; gap: 8px; border: none; background: var(--surface); color: var(--ink); font-size: 0.86rem; font-weight: 700; height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; box-shadow: 0 0 0 1px var(--line) inset; text-decoration: none; }
  .hbtn:hover { box-shadow: 0 0 0 1px var(--ink) inset; }
  .hbtn.primary { background: var(--ink); color: var(--bg); box-shadow: none; }
  .hbtn[aria-pressed="true"] { background: var(--coral-soft); color: var(--coral); box-shadow: none; }

  .crumb { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; font-size: 0.84rem; font-weight: 700; color: var(--muted); text-decoration: none; }
  .crumb:hover { color: var(--ink); }

  .hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; margin-top: 14px; }
  @media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
  .media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ph, var(--surface-2)); display: grid; place-items: center; box-shadow: var(--shadow); }
  .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .media .ph-ic { font-size: 5rem; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18)); }
  .media .feat { position: absolute; top: 14px; left: 14px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--sun); color: #3a2600; }
  .media .feat.top { background: var(--ink); color: var(--bg); }
  .mapwrap { margin-top: 12px; }
  .mapframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 14px; display: block; background: var(--surface-2); }
  .mapnote { font-size: 0.74rem; color: var(--muted); margin: 8px 0 0; }
  .closedbox { background: var(--coral-soft); color: #8a2f1a; border-radius: 12px; padding: 10px 14px; font-size: 0.9rem; margin: 10px 0 12px; }
  .desc { color: var(--ink-2); margin: 10px 0 0; }
  .hbtn small { font-weight: 600; color: var(--muted); margin-left: 4px; }
  .media .credit { position: absolute; right: 10px; bottom: 8px; font-size: 0.66rem; color: #fff; opacity: 0.8; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

  .head .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 11px; border-radius: 999px; }
  .head h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1.05; margin-top: 12px; }
  .head .where { margin: 8px 0 0; color: var(--ink-2); font-weight: 600; }
  .head .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 800; padding: 8px 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
  .pill.free { background: var(--free); color: #fff; box-shadow: none; }
  .pill .s { color: var(--star); }
  .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .actions .hbtn { height: 46px; padding: 0 18px; }
  .actions .hbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
  .actions .hbtn[aria-pressed="true"] svg { fill: var(--heart); stroke: var(--heart); }
  .tipbox { margin-top: 18px; background: var(--sun-soft); border-radius: 18px; padding: 14px 16px; color: var(--ink); font-size: 0.98rem; }
  .tipbox b { color: var(--sun-ink); }

  .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; margin-top: 30px; align-items: start; }
  @media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
  .card { background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--line) inset; padding: 20px; }
  .card h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  @media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
  .fact { display: grid; gap: 2px; }
  .fact .k { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
  .fact .v { font-weight: 700; color: var(--ink); }
  .fact .v small { font-weight: 600; color: var(--muted); }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
  .chips span { font-size: 0.76rem; font-weight: 700; color: var(--ink-2); background: var(--surface-2); border-radius: 999px; padding: 5px 10px; }
  .chips span.yes { background: var(--accent-soft); color: var(--accent-ink); }
  .events { display: grid; gap: 10px; }
  .ev { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface-2); }
  .ev .d { text-align: center; background: var(--surface); border-radius: 10px; padding: 6px 0; line-height: 1.1; }
  .ev .d b { display: block; font-family: "Sora", sans-serif; font-size: 1.2rem; }
  .ev .d small { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
  .ev .t { font-weight: 800; }
  .ev .m { font-size: 0.8rem; color: var(--muted); }
  .ev .p { font-size: 0.8rem; font-weight: 800; white-space: nowrap; }
  .empty { color: var(--muted); font-size: 0.92rem; }
  .map { display: block; margin-top: 12px; border-radius: 16px; overflow: hidden; background: var(--surface-2); padding: 14px; text-decoration: none; font-weight: 700; }
  .map small { display: block; font-weight: 600; color: var(--muted); margin-top: 2px; }
  .checked { margin-top: 16px; font-size: 0.8rem; color: var(--muted); }
  .checked a { color: var(--accent-ink); font-weight: 700; }
  .cta { margin-top: 30px; border-radius: 24px; background: linear-gradient(135deg, var(--accent), #2ea885); color: #fff; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
  .cta .t { flex: 1; min-width: 220px; }
  .cta h3 { color: #fff; font-size: 1.15rem; font-weight: 800; }
  .cta p { margin: 4px 0 0; opacity: 0.92; font-size: 0.92rem; }
  .cta .hbtn { background: #fff; color: var(--accent-ink); box-shadow: none; }
  footer { padding: 28px 0 44px; color: var(--muted); font-size: 0.82rem; }
  .notfound { text-align: center; padding: 60px 0; }
  .notfound h1 { font-size: 1.6rem; }
  .skel { animation: pulse 1.2s infinite; }
  @keyframes pulse { 50% { opacity: 0.5; } }
  @media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
