/* PHL Events cinematic autumn skin (v2). Loaded AFTER style.css (and demo.css),
 * so it only overrides: design tokens first, then component rules. Remove the
 * <link> to theme.css in app.html / demo.html / login.html / check-email.html to
 * go back to the old look. Earlier versions: design-refs/theme-v1-spring.css and
 * design-refs/theme-v2-autumn-pastel.css.
 *
 * Gold (--brand-gold) is the brand accent and is deliberately rare: wordmark
 * plate, hero/banner titles, primary buttons and active/saved states. It is
 * never a card, band or page background, and never text on cream/parchment.
 * --gold-deep is only for hover, pressed and decorative lines (1.6:1 on cream,
 * so never text).
 *
 * Contrast rules baked in below:
 *   ink on cream/parchment/gold/khaki ........ fine at any size
 *   cream on green/accent/teal fills ......... bold and 14px+ only (4.6-4.8:1)
 *   gold on teal ............................. large display text only (4.3:1)
 *   ink on green or teal, cream on khaki ..... never (fails)
 *
 * Fonts: Bevan = brand display font for large titles, Jost = body and UI. */

/* ------------------------------------------------------------------ tokens */
:root,
:root[data-theme="light"] {
  /* Page background and on-page heading color, per theme. Light is a crisp
   * warm off-white (was tan #F5E8CB); cards get a brighter paper so they lift
   * off the page. */
  --page-bg: #FBF7EF;
  --page-ink: #2E2118;
  --brand-gold: #FFDE59;
  --gold-deep: #E6B800;
  --green: #007A3F;
  --accent: #B93F08;
  --accent-hover: #AB3A07;     /* accent darkened ~8% */
  --teal: #287174;
  --teal-shadow: #12383A;
  --khaki: #C2A96B;
  --shadow: #6E2A25;           /* burgundy: hard offset shadows */
  --cream: #FBF7EF;
  --parchment: #EFDFB6;
  --ink: #2E2118;
  /* Exact copies of colours that used to be typed straight into rules. Values
   * are unchanged, so nothing looks different. The --raw-* and --rgb-* names are
   * placeholders for one-off values (several are near-duplicates of the named
   * palette above): merge or rename them once those decisions are made. The -rgb
   * names are for rgba(var(--x-rgb), .5) when only the opacity varies. */
  --white: #ffffff;
  --black: #000000;
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;
  --ink-rgb: 46, 33, 24;
  --gold-rgb: 255, 222, 89;
  --cream-rgb: 248, 236, 208;
  --wine: #9E3224;             /* was plum #7A1E3D; now the site tomato (Nov 2026). Name kept so existing rules still work. */
  --aubergine: #52306B;
  --raw-221d1a: #221d1a;
  --raw-6e6259: #6e6259;
  --raw-9c332a: #9c332a;
  --raw-a79c8e: #a79c8e;
  --raw-b23a2e: #b23a2e;
  --raw-e4d9cc: #e4d9cc;
  --raw-ece3d6: #ece3d6;
  --raw-f8ecd0: #f8ecd0;
  --raw-faf3de: #faf3de;
  --raw-fbf8f3: #fbf8f3;
  --rgb-221d1a: 34, 29, 26;
  --rgb-b23a2e: 178, 58, 46;

  --cream-2: var(--parchment);
  --card: #FFFDF8;
  --inkfix: var(--ink);        /* dark text that must stay dark */
  --muted: #5C4A3A;
  --rust: var(--accent);
  --rust-dim: var(--accent-hover);
  --border: rgba(46, 33, 24, .38);
  --rule: rgba(46, 33, 24, .55);
  --yellow: var(--brand-gold);
  --yellow-dim: var(--gold-deep);
  --rail-bg: var(--cream);
  --shadow-ink: var(--shadow);
  --focus: var(--ink);

  --headline-shadow-color: var(--shadow);
  --headline-shadow: .06em .06em 0 var(--shadow);
  --headline-outline: 0 transparent;

  --font-headline: "Bevan", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: var(--font-body);

  --radius: 8px;
  --radius-sm: 6px;
  --radius-card: 14px;
  --shadow-1: 0 1px 0 rgba(46, 33, 24, .14);
  --shadow-2: 3px 3px 0 var(--shadow);
  --shadow-3: 4px 4px 0 var(--shadow);

  /* Category and venue colors: only the ones that changed from style.css (all
   * others keep their style.css value). Approved in design-refs/category-colors.html.
   * Venue "Cultural" and "Market" follow these via their aliases. */
  --catclr-cultural: #AD1230;  /* crimson, was #CD1D23 (too close to Market) */
  --catclr-market: #D04226;    /* midpoint of Cultural and Theater, was #D4431E */
  --catclr-theater: #F2711C;   /* orange, was gold #F5D15C */
  --catclr-film: #5B6670;      /* cool slate, was brownish #78695E */
  --catclr-misc: #6E5E94;      /* slightly deeper lavender, was #7C6EA2 */
  --venueclr-cafe: #A4C21C;    /* lime, was orange (now Theater's) */

  /* FILM GRADE: tune the whole site's photos from here. The base curve and
   * warm shift live in the inline SVG filter #film-grade (app.html, demo.html);
   * these variables fine-tune on top of it. */
  --grade-lift: 0;             /* 0-.08, extra black lift on top of the curve (brightness) */
  --grade-warmth: .06;         /* 0-.2, golden warmth (small sepia) */
  --grade-contrast: 1.06;      /* 1 = none; light boost */
  --grade-saturation: 1.04;    /* on top of the filter's own 1.1 */
  --grain-opacity: .09;        /* fine film grain over the page, .08-.10 */
  --vignette: .14;             /* photo edge darkening, 0-.35 */
  --grade-text-dark: 44, 10, 20; /* warm wine dark (#2C0A14; was #2A0F0C, which read brown) used only behind banner text */
  /* Fallback grade if the SVG filter is unsupported: contrast, saturate, a little sepia. */
  --grade: brightness(calc(1 + var(--grade-lift))) contrast(var(--grade-contrast)) saturate(var(--grade-saturation)) sepia(var(--grade-warmth));

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .13 0 0 0 0 .09 0 0 0 1.1 -.2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232E2118' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Use the SVG grade where the browser can reference it; otherwise the plain CSS
 * fallback above stays in effect. */
@supports (filter: url(#film-grade)) {
  :root { --grade: url(#film-grade) brightness(calc(1 + var(--grade-lift))) contrast(var(--grade-contrast)) saturate(var(--grade-saturation)) sepia(var(--grade-warmth)); }
}

/* DARK MODE: page background becomes the scheme teal; cards, chips, inputs and
 * popups stay parchment/cream "paper" on top of it, so category colors, photos
 * and badge contrast are unchanged. Only surfaces that sit directly on the page
 * are re-colored (rules in the "dark mode" block at the end of this file).
 * To remove dark mode again: delete that block, restore the .theme-toggle hide
 * rule, and re-add the light-token forcing under [data-theme="dark"]. */
:root[data-theme="dark"] {
  /* Paper tokens stay light (style.css would otherwise make them near-black). */
  color-scheme: light;
  --page-bg: #287174;
  --page-ink: #F8ECD0;
  --cream: #F8ECD0;
  --cream-2: #EFDFB6;
  --card: #EFDFB6;
  --ink: #2E2118;
  --muted: #5C4A3A;
  --border: rgba(46, 33, 24, .38);
  --rail-bg: var(--page-bg);
}

/* ---------------------------------------------------------- headline classes */
/* Bevan, solid offset shadow, no blur, no outline. em units so the shadow
 * scales with the headline. Pick by what the headline sits on. Defined as
 * classes for reuse, and applied below by selector because app.js builds the
 * markup. */
.headline-photo, .headline-teal, .headline-cream {
  font-family: var(--font-headline); font-weight: 400; letter-spacing: 0;
  -webkit-text-stroke: 0; paint-order: normal;
}
.headline-photo { color: var(--brand-gold); text-shadow: .06em .06em 0 var(--shadow); }
.headline-teal { color: var(--brand-gold); text-shadow: .06em .06em 0 var(--teal-shadow); }
.headline-cream { color: var(--ink); text-shadow: .06em .06em 0 var(--brand-gold); }

.hero-content h1, .saved-header .detail-title, .info-hero .detail-title, .venue-hero-name {
  font-family: var(--font-headline); font-weight: 400; letter-spacing: 0;
  color: var(--brand-gold); -webkit-text-stroke: 0; paint-order: normal;
  text-shadow: .06em .06em 0 var(--shadow);
}
.detail-title, .info-head h2, .saved-past-title, .day-heading-big .day-num, .ev-popup .pop-venue {
  font-family: var(--font-headline); font-weight: 400; letter-spacing: 0;
  color: var(--ink); -webkit-text-stroke: 0; text-shadow: .06em .06em 0 var(--brand-gold);
}

/* -------------------------------------------------------------------- base */
html { scrollbar-color: var(--accent) var(--parchment); }
body { font-family: var(--font-body); font-size: 16px; background: var(--page-bg); color: var(--ink); }
::selection { background: var(--brand-gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
::-webkit-scrollbar-thumb { background: var(--teal); border-color: var(--parchment); }

/* Film grain over the whole page: a tiny tiled SVG, fixed, never clickable. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2500; pointer-events: none;
  background: var(--grain); opacity: var(--grain-opacity);
}

/* ------------------------------------------------------------ nav + wordmark */
.rail { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 3px double var(--ink); }
.brand {
  font-family: var(--font-headline); font-weight: 400; font-size: 18px; color: var(--ink);
  background: var(--brand-gold); border: 2px solid var(--ink); border-radius: 999px;
  gap: 0; padding: 5px 14px 4px; box-shadow: 2px 2px 0 var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.brand::before { display: none; }
.brand span { color: var(--ink); }
.brand:hover { background: var(--gold-deep); }
.brand:active { transform: translate(2px, 2px); box-shadow: none; }

/* Wordmark diamonds: "PHL Events" sits between two tomato diamonds (replaces the old trailing period). */
.brand { white-space: nowrap; flex-shrink: 0; }
.brand-dia { flex: none; display: inline-block; width: .42em; height: .42em; background: #9E3224; border: 1.5px solid var(--ink); box-sizing: border-box; transform: rotate(45deg); }
.brand-dia:first-child { margin: 0 .65em 0 .05em; }
.brand-dia:last-child { margin: 0 .05em 0 .65em; }

.top-nav { background: var(--parchment); border: 2px solid var(--ink); }
.top-nav button { color: var(--ink); font-weight: 500; }
.top-nav button:hover { color: var(--ink); background: rgba(var(--ink-rgb), .1); }
.top-nav button[aria-pressed="true"] { background: var(--brand-gold); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.ig-link, .rail-end button { color: var(--ink); }
.ig-link:hover, .rail-end button:hover { color: var(--accent); background: rgba(var(--ink-rgb), .07); }

/* Footer = tomato color block (the public site's #9E3224, so it doesn't sit teal-on-teal), centered, cream double rule inset 12px / 18px. */
.app-footer {
  --footer-bg: #9E3224; --footer-shadow: color-mix(in srgb, #9E3224 55%, #000);
  position: relative; isolation: isolate; background: var(--footer-bg); color: var(--cream);
  border: 0; border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--footer-shadow);
  padding: 44px 32px 48px; margin-bottom: 18px;
}
.app-footer::before, .app-footer::after { content: ""; position: absolute; pointer-events: none; z-index: -1; border-radius: 8px; }
.app-footer::before { inset: 12px; border: 2px solid var(--cream); }
.app-footer::after { inset: 18px; border: 1px solid var(--cream); border-radius: 5px; }
.app-footer-links a, .app-footer-note, .app-footer-legal { color: var(--cream); font-size: 14px; font-weight: 600; opacity: 1; }
.app-footer-links a { text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }
.app-footer-links a:hover { color: var(--cream); text-decoration-thickness: 3px; }
.app-footer :focus-visible { outline-color: var(--cream); }
.app-footer .brand { box-shadow: 2px 2px 0 var(--footer-shadow); border-color: var(--footer-shadow); }

/* -------------------------------------------------------------------- hero */
/* Layout and copy are unchanged. The photo itself is graded (no color overlay);
 * a soft warm-dark gradient sits only behind the text band, plus a gentle
 * radial behind the headline. Wainscot band at the foot. */
.hero-photo { filter: var(--grade); }
.hero-scrim {
  background:
    radial-gradient(ellipse 62% 42% at 50% 50%, rgba(var(--grade-text-dark), .4) 0%, rgba(var(--grade-text-dark), 0) 100%),
    linear-gradient(180deg, rgba(var(--grade-text-dark), 0) 14%, rgba(var(--grade-text-dark), .4) 42%, rgba(var(--grade-text-dark), .4) 66%, rgba(var(--grade-text-dark), 0) 96%);
}
@media (max-width: 560px) {
  /* The phone hero is short and the text fills it. */
  .hero-photo { background-position: center 86%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(var(--grade-text-dark), .68) 0%, rgba(var(--grade-text-dark), .68) 70%, rgba(var(--grade-text-dark), .45) 100%); }
}
.hero-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; z-index: 1; pointer-events: none;
  background: linear-gradient(var(--parchment) 50%, var(--teal) 50%);
  border-top: 3px solid var(--ink);
}
/* Small text over the photo is cream (gold is for large display text only). */
.hero-kicker, .saved-kicker { color: var(--cream); -webkit-text-stroke: 0; font-weight: 700; text-shadow: 0 1px 2px rgba(var(--grade-text-dark), .7); }
.hero-updated, .saved-sub { color: var(--cream); font-weight: 500; text-shadow: 0 1px 2px rgba(var(--grade-text-dark), .7); }
.scroll-cue { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(var(--grade-text-dark), .6); border: 2px solid var(--cream); bottom: 34px; }
.scroll-cue:hover { background: rgba(var(--grade-text-dark), .8); border-color: var(--cream); }

/* ----------------------------------------------------- filters + controls */
.filterbar select, .venues-toolbar select, .search-input {
  border: 2px solid var(--ink); background-color: var(--cream); color: var(--ink); border-radius: var(--radius-sm);
}
.filterbar select, .venues-toolbar select { background-image: var(--select-arrow); }
.filterbar select:hover, .venues-toolbar select:hover, .search-input:hover { border-color: var(--ink); background-color: var(--card); }
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--shadow); }

.chip, .detail-save, .lists-toggle, .creator-btn, .load-more-btn {
  border: 2px solid var(--ink); background: var(--cream); color: var(--ink); font-weight: 500;
  box-shadow: 2px 2px 0 var(--shadow);
  transition: transform .1s ease, box-shadow .1s ease, background-color .15s ease;
}
.chip:hover, .detail-save:hover, .lists-toggle:hover, .creator-btn:hover, .load-more-btn:hover {
  border-color: var(--ink); color: var(--ink); background: var(--brand-gold);
}
.chip:active, .detail-save:active, .lists-toggle:active, .creator-btn:active, .load-more-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.card-links .lists-toggle, .entry-actions .lists-toggle { border: none; box-shadow: none; background: none; }

/* Active / selected = brand gold with ink text. */
.chip[aria-pressed="true"], .detail-save[aria-pressed="true"], .stylepicker button[aria-pressed="true"] {
  background: var(--brand-gold); color: var(--ink); border-color: var(--ink);
}
.chip[aria-pressed="true"]:hover, .detail-save[aria-pressed="true"]:hover { background: var(--gold-deep); color: var(--ink); }
.stylepicker { border: 2px solid var(--ink); background: var(--parchment); }
.stylepicker button { color: var(--ink); }
.stylepicker button:hover { color: var(--ink); background: rgba(var(--ink-rgb), .1); }
.stylepicker button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.filters-count { background: var(--ink); color: var(--cream); }
.filters-toggle[aria-expanded="true"] { border-color: var(--ink); background: var(--brand-gold); color: var(--ink); }
/* Primary button: gold pill, ink text, hard burgundy press shadow. */
.filters-done {
  background: var(--brand-gold); color: var(--ink); border: 2px solid var(--ink); font-weight: 600;
  box-shadow: 3px 3px 0 var(--shadow); min-height: 44px;
}
.filters-done:hover { background: var(--gold-deep); color: var(--ink); }
.filters-done:active { transform: translate(3px, 3px); box-shadow: none; }
.filterbar.filters-open .filter-panel { border: 2px solid var(--ink); box-shadow: var(--shadow-3); border-radius: var(--radius); }

.datefilter-popover, .lists-popover { border: 2px solid var(--ink); box-shadow: var(--shadow-3); border-radius: var(--radius); }
.cal-nav { border: 2px solid var(--ink); color: var(--ink); }
.cal-nav:hover { border-color: var(--ink); color: var(--ink); background: var(--brand-gold); }
.cal-day:hover { background: var(--brand-gold); color: var(--ink); }
.cal-day.today { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cal-day.in-range { background: var(--brand-gold); color: var(--ink); }
.cal-day.selected { background: var(--brand-gold); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.cal-clear:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------ list + cards */
/* Date heading = a small film title card: a thin double rule under it. */
.day-heading { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--teal); border-bottom: 4px double var(--ink); padding-left: 0; }
.day-heading::before { display: none; }
.day-heading::after { display: none; }
.day-heading a:hover, .leaflet-popup-content a:hover { color: var(--accent); }
.day-heading-big .day-num { font-size: inherit; }
.day-heading-big .day-name { font-family: var(--font-body); font-weight: 700; }
.day-heading-big .day-line { height: 4px; background: transparent; border-top: 1px solid var(--ink); border-bottom: 2px solid var(--ink); }

/* Cards = framed shots: ink border, category-colored top band, hard shadow. */
.card {
  border: 2px solid var(--ink); border-top: 8px solid var(--ink); border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px var(--rule), 4px 4px 0 var(--shadow);
}
.card:hover { transform: translate(-2px, -2px); box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px var(--rule), 6px 6px 0 var(--shadow); border-color: var(--ink); }
.card[class*="cat-"], .card[class*="cat-"]:hover { border-color: var(--ink); border-top-color: var(--cat-color); }
.card.highlight { outline: 3px solid var(--ink); }
.card-title a:hover, .entry-title a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.card-meta a, .entry-meta a, .detail-facts a { text-decoration-color: var(--rule); }
.card-meta a:hover, .entry-meta a:hover, .detail-facts a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.card-desc, .entry-desc { opacity: 1; }
.card-links { border-top: 2px solid var(--rule); }
.card-link, .related-venue-list a { color: var(--accent); font-weight: 600; }

/* Category and venue-type labels: colored dot, ink text. */
.card-cat, .entry-cat { color: var(--ink); }
.card-cat::before, .entry-cat::before { background: var(--cat-color, currentColor); width: 9px; height: 9px; border: 1.5px solid var(--ink); }
:is(.cards, .panel) > .card.ticket .date-tab { border: 2px solid var(--ink); border-radius: 999px 999px 8px 8px; box-shadow: 2px 2px 0 var(--shadow); color: var(--ink); }
:is(.cards, .panel) > .card.ticket .date-tab .w, :is(.cards, .panel) > .card.ticket.cat-outdoor .date-tab .w { color: var(--ink); }
:is(.cards, .panel) > .card.ticket .card-links { border-top: 2px dashed var(--cat-color, var(--rule)); }

.entry { border-top: 2px solid var(--rule); border-radius: var(--radius-sm); }
.entry-time, .entry-tags .tag { color: var(--ink); }
.rail-nav-item { color: #F8ECD0; }
.rail-nav-item:hover { color: #FFDE59; }
.rail-nav-item.on { color: #F8ECD0; }
.rail-nav-item.on { border-left-color: var(--gold-deep); border-left-width: 4px; }

/* Tags: see "HASHTAG PILLS" at the end of this file. */

/* Badges: bold 14px so cream on green/accent passes. */
.badge-free, .badge-soldout, .badge-accessible {
  font-size: 14px; font-weight: 800; letter-spacing: .02em; line-height: 1.25; padding: 1px 10px 2px; border: 1.5px solid var(--ink);
  box-shadow: inset 0 0 0 2px var(--badge-bg), inset 0 0 0 3px rgba(var(--cream-rgb), .55);
}
.badge-free { --badge-bg: var(--green); background: var(--green); color: var(--cream); }
.badge-soldout { --badge-bg: var(--accent); background: var(--accent); color: var(--cream); }
.badge-accessible { --badge-bg: var(--teal); background: var(--teal); color: var(--cream); }

/* Hearts: unsaved = outline glyph; saved = gold disc with an ink heart. */
.save-toggle, .attended-toggle { z-index: 3; color: var(--muted); }
.save-toggle:hover, .attended-toggle:hover { color: var(--ink); }
.save-toggle {
  width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; top: 12px; right: 12px;
}
.save-toggle[aria-pressed="true"],
.card.has-venue-photo .save-toggle[aria-pressed="true"], .entry.has-photo .save-toggle[aria-pressed="true"] {
  background: var(--brand-gold); color: var(--ink); box-shadow: 0 0 0 2px var(--ink);
}
.card.has-venue-photo .save-toggle, .entry.has-photo .save-toggle { background: rgba(var(--cream-rgb), .95); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.attended-toggle[aria-pressed="true"] { color: var(--accent); }

.empty { color: var(--muted); }

/* --------------------------------------------------------- event + venue pages */
.back-link {
  color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 999px;
  padding: 8px 16px; min-height: 44px; box-shadow: 2px 2px 0 var(--shadow); font-weight: 500;
  transition: transform .1s ease, box-shadow .1s ease, background-color .15s ease;
}
.back-link:hover { color: var(--ink); background: var(--brand-gold); }
.back-link:active { transform: translate(2px, 2px); box-shadow: none; }

.detail-card {
  border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-3), inset 0 0 0 4px var(--card), inset 0 0 0 5px var(--rule);
  padding: 38px 36px;
}
.detail-card::before { display: none; }
.detail-card:not(.venue-info-card):not(.creator-card) { margin-left: auto; margin-right: auto; }
.detail-title { font-size: clamp(26px, 4vw, 38px); line-height: 1.12; }
.detail-card:not(.creator-card):not(.venue-info-card) .detail-title { text-align: center; }
.detail-card:not(.creator-card):not(.venue-info-card) .detail-title::after {
  content: ""; display: block; width: 84px; height: 4px; margin: 14px auto 0;
  border-top: 1px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.detail-card:not(.creator-card):not(.venue-info-card) .detail-actions-row { justify-content: center; margin-top: 22px; }
.detail-facts { color: var(--ink); gap: 10px 22px; border-bottom: 2px solid var(--rule); justify-content: center; text-align: center; }
.detail-desc { opacity: 1; }
/* Secondary action buttons: burnt-orange pill, cream bold text. */
.detail-actions a, .info-account-btn {
  background: var(--accent); color: var(--cream); border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 700; font-size: 15px; padding: 11px 22px; min-height: 44px; display: inline-flex; align-items: center;
  box-shadow: 3px 3px 0 var(--shadow); transition: transform .1s ease, box-shadow .1s ease, background-color .15s ease;
}
.detail-actions a:hover, .info-account-btn:hover { background: var(--accent-hover); color: var(--cream); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow); }
.detail-actions a:active, .info-account-btn:active { transform: translate(3px, 3px); box-shadow: none; }
#venue-map, #event-map { border: 2px solid var(--ink); border-radius: var(--radius-sm); box-shadow: 3px 3px 0 var(--shadow); }
.lists-popover-row { min-height: 32px; }
.lists-new-form input[type="text"], .creator-note-input { border: 2px solid var(--ink); background: var(--cream); }
.lists-new-form input[type="text"]:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--shadow); }
.lists-new-form button { background: var(--ink); color: var(--cream); border: 2px solid var(--ink); font-weight: 600; }
.creator-card-title { font-family: var(--font-body); font-weight: 700; text-shadow: none; }

/* Event page gallery and venue gallery (when >1 photo): arched window. */
.venue-gallery-section .venue-photo-panel {
  border: 3px solid var(--ink); box-shadow: var(--shadow-3);
  border-radius: 50% 50% 14px 14px / 34% 34% 14px 14px;
}
.venue-photo-panel { border: 3px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-2); }
.venue-photo-nav { background: rgba(var(--ink-rgb), .72); border: 2px solid var(--cream); }
.venue-photo-nav:hover { background: var(--ink); }
.venue-photo-dot { border-color: var(--cream); }
.venue-photo-dot.active { background: var(--brand-gold); border-color: var(--ink); }

/* Venue hero = teal color block with a tinted photo behind a gold title. */
.venue-hero { background: var(--shadow); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--shadow); }
.venue-hero-bg { filter: blur(24px) var(--grade); }
.venue-hero-scrim { background: linear-gradient(rgba(var(--grade-text-dark), .1), rgba(var(--grade-text-dark), .5)); }
.venue-hero-avatar {
  width: 96px; height: 120px; border-radius: 48px 48px 10px 10px; border: 3px solid var(--cream);
  box-shadow: 4px 4px 0 var(--shadow); filter: var(--grade);
}
.venue-hero-avatar-fallback { font-family: var(--font-headline); font-weight: 400; background: var(--accent); color: var(--cream); }
.venue-hero-name::after {
  content: ""; display: block; width: 84px; height: 4px; margin: 14px auto 0;
  border-top: 1px solid var(--cream); border-bottom: 2px solid var(--cream);
}
@media (max-width: 600px) { .venue-hero-avatar { width: 76px; height: 96px; border-radius: 38px 38px 8px 8px; } }

/* ----------------------------------------------------------- saved + info */
.saved-header { border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--shadow); border-radius: var(--radius-card); }
.saved-header::after, .saved-header--aerial::after {
  background: linear-gradient(90deg, rgba(var(--grade-text-dark), .5) 0%, rgba(var(--grade-text-dark), .3) 50%, rgba(var(--grade-text-dark), 0) 100%);
}
.info-hero::after { background: linear-gradient(0deg, rgba(var(--grade-text-dark), .55) 0%, rgba(var(--grade-text-dark), .3) 55%, rgba(var(--grade-text-dark), 0) 100%); }
.saved-header .lists-new-form { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); border: 2px solid var(--ink); }
.saved-header::before, .saved-header--aerial::before { filter: var(--grade); }
.saved-panel { border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-2); }
.saved-panel::before { background: var(--saved-accent, var(--teal)); height: 8px; border-bottom: 2px solid var(--ink); }
.saved-empty { border: 2px dashed var(--ink); background: transparent; }
.saved-empty-title { font-family: var(--font-body); font-weight: 700; }
.saved-past-title { font-size: clamp(22px, 3vw, 28px); margin: 36px 0 12px; }
.saved-empty-cta {
  background: var(--brand-gold); color: var(--ink); border: 2px solid var(--ink); font-weight: 600;
  box-shadow: 3px 3px 0 var(--shadow); min-height: 44px; padding: 8px 20px;
  transition: transform .1s ease, box-shadow .1s ease, background-color .15s ease;
}
.saved-empty-cta:hover { opacity: 1; background: var(--gold-deep); }
.saved-empty-cta:active { transform: translate(3px, 3px); box-shadow: none; }
.account-row, .saved-search-row { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-2); }
.delete-list-btn:hover { color: var(--accent); }
.collapse-toggle:hover::before { border-left-color: var(--accent); }

.info-hero { border: 3px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); }
.info-hero::before { filter: var(--grade); }
.info-account { border: 2px solid var(--ink); border-left: 8px solid var(--teal); border-radius: var(--radius); box-shadow: var(--shadow-2); }
.info-account-label, .info-kicker { color: var(--ink); }
.info-kicker { color: var(--accent); }
.info-head h2 { font-size: inherit; }
.info-tile { border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-2); }
.info-tile-label { font-family: var(--font-body); font-weight: 700; }
.info-tile:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-3); }
.info-faq-group { color: var(--ink); }
.info-faq-group::after { background: var(--rule); }
.info-g1, .info-g2, .info-g3 { --c: var(--ink); }
.info-g1 { --c: var(--accent); }
.info-g2 { --c: var(--teal); }
.info-g3 { --c: var(--green); }
.info-faq details { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.info-faq details[open] { box-shadow: var(--shadow-2); }
.info-faq details > p { color: var(--ink); }
.info-contact-card { border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-2); }
.info-contact-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-3); }
.info-contact-ig { background: var(--accent); color: var(--cream); }
.info-contact-mail { background: var(--teal); color: var(--cream); }
.info-contact-val { font-family: var(--font-body); font-weight: 700; }
.info-more a { border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--shadow); min-height: 44px; }
.info-more a:hover { color: var(--ink); border-color: var(--ink); background: var(--brand-gold); transform: none; }

/* ------------------------------------------------------------------- map */
/* OpenStreetMap tiles stay (and their attribution); only warmed with a filter. */
/* Light Voyager basemap with an amber tint: the "tint" pane (see addMapTint in app.js) multiplies a warm fill
   with the tiles, which keeps parks green and water blue. Phone in dark mode: a deeper amber and less glare. */
.map-tint-pane { mix-blend-mode: multiply; }
.map-tint-pane path.map-tint { fill: #FFEEC9; }
/* A lighter tint flattens the map less; a little contrast and saturation keeps borders, roads and parks crisp. */
.leaflet-tile-pane { filter: contrast(1.18) saturate(1.1) brightness(.92); }
@media (prefers-color-scheme: dark) {
  .leaflet-tile-pane { filter: contrast(1.22) saturate(1.1) brightness(.88); }
  .map-tint-pane path.map-tint { fill: #FFE9C6; }
}
#map { border: 3px solid var(--ink); border-right: none; }
.panel { border: 3px solid var(--ink); border-left: none; }
@media (max-width: 720px) { #map { border-right: 3px solid var(--ink); } .panel { border-left: 3px solid var(--ink); } }
.map-modes { border: 2px solid var(--ink); background: var(--parchment); }
.map-modes button { color: var(--ink); }
.map-modes button[aria-pressed="true"] { background: var(--brand-gold); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.map-pin { filter: drop-shadow(2px 2px 0 var(--shadow)); }
.map-pin svg path { stroke: var(--cream); }
.map-pin .pin-count { font-family: var(--font-headline); }
.map-cluster > div { background: var(--accent); color: var(--cream); border: 3px solid var(--cream); box-shadow: 2px 2px 0 var(--shadow); font-family: var(--font-headline); }
.leaflet-bar a, .leaflet-bar a:hover { box-shadow: 2px 2px 0 var(--shadow); }
.leaflet-bar a:hover { background: var(--brand-gold); }
/* Popups and labels = vintage map cards: cream paper, ink border, hard shadow. */
.leaflet-popup-content-wrapper { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--shadow); }
.leaflet-popup-tip { border: 2px solid var(--ink); box-shadow: none; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--cream); color: var(--ink); }
.ev-popup .pop-venue { font-size: 17px; position: relative; min-height: 52px; padding-bottom: 12px; box-sizing: border-box; }
/* No short decorative rule under the popup title: the full-width row divider below is enough. */
.ev-popup .pop-venue::after { content: none; }
/* Same typeface and weight as the venue heading in the side panel (Jost bold), with no gold offset shadow. */
.ev-popup .pop-venue { min-height: 0; padding-bottom: 10px; font-family: var(--font-body); font-weight: 700; font-size: 18px; line-height: 1.25; text-shadow: none; color: var(--ink); }
.ev-popup .pop-row { border-top: 2px solid var(--rule); }
/* "Event info": a plain accent link. "Venue info": an outlined button, so the two read as different actions. */
.ev-popup .pop-row .pop-go { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; margin-top: 4px; }
.ev-popup .pop-row:hover .pop-go { text-decoration-thickness: 3px; }
.ev-popup .pop-all {
  justify-content: center; margin: 10px 0 2px; min-height: 42px; padding: 0 16px;
  background: var(--teal); border: 2px solid var(--ink); border-radius: 999px;
  color: var(--cream); font-weight: 700; box-shadow: 2px 2px 0 var(--shadow);
}
.ev-popup a.pop-all { color: var(--cream); }
.ev-popup a.pop-all:hover { background: var(--brand-gold); color: var(--ink); }
.heat-legend, .hood-row { border: 2px solid var(--ink); }
.hood-tip { background: var(--cream); color: var(--ink); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--shadow); }
.hood-row:hover { border-color: var(--ink); background: var(--brand-gold); }
.leaflet-marker-icon:focus-visible, .leaflet-container:focus-visible, .leaflet-bar a:focus-visible,
.leaflet-popup-close-button:focus-visible, .ev-popup a:focus-visible, .map-modes button:focus-visible { outline: 3px solid var(--focus); }

/* ---------------------------------------------------------- mobile detail bar */
@media (max-width: 560px) {
  .detail-bar { background: var(--cream); border-top: 3px double var(--ink); box-shadow: none; }
  .detail-bar > * { border: 2px solid var(--ink); background: var(--cream); color: var(--ink); box-shadow: 2px 2px 0 var(--shadow); }
  .detail-bar > [aria-pressed="true"] { background: var(--brand-gold); border-color: var(--ink); color: var(--ink); }
  .detail-card { padding: 26px 18px; }
}

/* Touch: 44px hit areas without changing how things look. */
@media (pointer: coarse) {
  .brand { min-height: 44px; }
  .stylepicker button, .map-modes button { position: relative; }
  .stylepicker button::after { content: ""; position: absolute; left: 0; right: 0; top: -7px; bottom: -7px; }
}

/* ---------------------------------------------------------- creator extras */
.site-edit-btn { border: 2px solid var(--ink); color: var(--ink); }
.site-edit-btn-save { background: var(--ink); color: var(--cream); }
.site-edit-btn-save:hover { background: var(--ink); }

/* -------------------------------------------------- demo ribbon + subscribe */
/* Teal color block, centered cream text, double rule under it. */
.demo-ribbon { background: #9E3224; color: var(--cream); /* same tomato as the footer and the public site's bands */ font-weight: 600; text-align: center; border-bottom: 5px double var(--cream); }
.demo-ribbon a { color: var(--cream); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.demo-ribbon a:hover { color: var(--cream); text-decoration-thickness: 3px; }
/* Subscribe = secondary action: burnt-orange pill, cream bold, cream outline on teal. */
.rail-end a.demo-subscribe {
  background: var(--accent); color: var(--cream); border: 2px solid var(--ink); font-weight: 700; font-size: 14px;
  box-shadow: 2px 2px 0 var(--shadow); transition: transform .1s ease, box-shadow .1s ease;
}
.rail-end a.demo-subscribe:hover { background: var(--accent-hover); color: var(--cream); box-shadow: 3px 3px 0 var(--shadow); }
.rail-end a.demo-subscribe:active { transform: translate(2px, 2px); box-shadow: none; }
.demo-toast { background: var(--teal); color: var(--cream); border: 2px solid var(--cream); font-weight: 600; box-shadow: 3px 3px 0 var(--teal-shadow); }
.demo-toast a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------- shared photo frame */
/* One reusable treatment for every photo: the film grade (--grade) on the image
 * itself, a very light vignette, and a thin cream border. No color overlay.
 * Add class "film-grade" (or "photo-frame" on a wrapper) to any element, or rely
 * on the existing wrappers below. Strength: --grade-*, --vignette at the top.
 * Not applied to map tiles, the Google sign-in button or logos. */
.film-photo, .film-grade, .photo-frame img, .card-photo img, .entry-photo img, .venue-card-photo img, .venue-photo-slide,
.lightbox-img, .saved-photo-strip img, .hero-photo, .venue-hero-avatar {
  filter: var(--grade);
}
.card.sold-out .card-photo img, .entry.sold-out .entry-photo img { filter: var(--grade) grayscale(.7); }
.photo-frame, .card-photo, .entry-photo, .venue-card-photo, .venue-photo-panel, .hero-photo { position: relative; }
.hero-photo { position: absolute; }
/* ::after = soft edge vignette; ::before = thin cream frame. */
.photo-frame::after, .card-photo::after, .entry-photo::after, .venue-card-photo::after, .venue-photo-panel::after, .hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(ellipse at center, transparent 58%, rgba(var(--grade-text-dark), var(--vignette)) 100%);
}
.photo-frame::before, .card-photo::before, .entry-photo::before, .venue-card-photo::before, .venue-photo-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 3px rgba(var(--cream-rgb), .92);
}
.venue-photo-nav, .venue-photo-dots { z-index: 3; }
:is(.cards, .panel) > .card.ticket .date-tab { z-index: 4; }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .day-group { animation: wes-fade .25s ease both; }
  @keyframes wes-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover, .info-tile:hover, .info-contact-card:hover { transform: none; }
  .chip, .detail-save, .brand, .back-link { transition: none; }
}

/* Hero and banner supporting text: large enough to read over a photo. */
.hero-kicker, .saved-kicker { font-size: clamp(17px, 2vw, 22px); letter-spacing: .06em; line-height: 1.3; }
.hero-updated, .saved-sub, .info-hero .saved-sub { font-size: clamp(18px, 2vw, 22px); line-height: 1.4; font-weight: 600; max-width: 34ch; }
.hero-updated + .hero-updated, .hero-content .hero-updated { margin-top: 6px; }
.hero-updated-note { color: var(--cream); font-size: clamp(16px, 1.8vw, 19px); font-weight: 500; line-height: 1.4; margin-top: 4px; }

/* ------------------------------------------------------------- dark mode */
.rail-end .theme-toggle { background: var(--parchment); border: 2px solid var(--ink); color: var(--ink); min-width: 44px; min-height: 44px; border-radius: 999px; }
.rail-end .theme-toggle:hover { background: var(--brand-gold); color: var(--ink); border-color: var(--ink); }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] body { background: var(--page-bg); }
/* Dark chrome: rail is the deep teal; text that sits straight on the page is
 * cream; titles straight on the page switch to gold with the deep-teal shadow. */
:root[data-theme="dark"] .rail { background: var(--page-bg); border-bottom-color: var(--cream); }
:root[data-theme="dark"] .ig-link, :root[data-theme="dark"] .rail-end > a:not(.demo-subscribe) { color: var(--cream); }
:root[data-theme="dark"] .ig-link:hover { color: var(--brand-gold); background: rgba(var(--cream-rgb), .12); }
:root[data-theme="dark"] .day-heading, :root[data-theme="dark"] .day-heading-big { color: var(--cream); border-bottom-color: var(--cream); }
:root[data-theme="dark"] .info-head h2, :root[data-theme="dark"] .saved-past-title, :root[data-theme="dark"] .day-heading-big .day-num {
  color: var(--cream); text-shadow: none;
}
:root[data-theme="dark"] .info-head .info-kicker { color: var(--cream); }
:root[data-theme="dark"] .info-faq-group { color: var(--cream); }
:root[data-theme="dark"] .saved-empty-title { color: var(--cream); }
:root[data-theme="dark"] .saved-empty-hint { color: var(--cream); }
:root[data-theme="dark"] #saved-searches-container .saved-empty { border-color: var(--cream); }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
/* style.css tag rules for dark are overridden so tags stay paper-like. */
:root[data-theme="dark"] :is(.cards, .panel) > .card.ticket.cat-outdoor .date-tab .w { color: var(--ink); }
:root[data-theme="dark"] .demo-toast { background: var(--parchment); color: var(--ink); border: 2px solid var(--ink); }
:root[data-theme="dark"] .demo-toast a { color: var(--accent); }
:root[data-theme="dark"] .day-heading.saved-list-heading { color: var(--ink); border-bottom-color: var(--ink); }

/* ------------------------------------------------------- READABLE TYPE SIZES */
/* Generated from style.css, demo.css and theme.css: every font-size under 17px is raised
 * (11.5px and under -> 13.5, 12.5 -> 14.5, 13.5 -> 15.5, 14.5 -> 16, 15 -> 17, 16 -> 17.5).
 * Delete this block to return to the old sizes. Reading text is bumped further just below. */
.top-nav button { font-size: 15.5px; }
.ig-link { font-size: 15.5px; }
.rail-end button { font-size: 15.5px; }
.app-footer-links a { font-size: 15.5px; }
.app-footer-note { font-size: 14.5px; }
.app-footer-legal { font-size: 14.5px; }
.filterbar select, .venues-toolbar select { font-size: 15.5px; }
.search-input { font-size: 15.5px; }
.chip { font-size: 15.5px; }
.cal-header span { font-size: 15.5px; }
.cal-nav { font-size: 17px; }
.cal-weekdays span { font-size: 13.5px; }
.cal-day { font-size: 14.5px; }
.cal-clear { font-size: 14.5px; }
.card-title { font-size: 17.5px; }
.card-meta { font-size: 15.5px; }
.card-desc { font-size: 15.5px; }
.subvenue-list { font-size: 14.5px; }
.tag { font-size: 13.5px; }
.card-link { font-size: 14.5px; }
.badge-free { font-size: 13.5px; }
.badge-soldout { font-size: 13.5px; }
.badge-accessible { font-size: 13.5px; }
.card-cat, .entry-cat { font-size: 13.5px; }
.empty { font-size: 16px; }
.load-more-btn { font-size: 15.5px; }
.stylepicker button { font-size: 14.5px; }
.rail-nav-item { font-size: 13.5px; }
.day-wx { font-size: 15.5px; }
.entry.has-photo .save-toggle { font-size: 17px; }
.entry-time { font-size: 14.5px; }
.entry-meta { font-size: 14.5px; }
.entry-desc { font-size: 15.5px; }
.entry-tags .tag { font-size: 13.5px; }
.entry-cat { font-size: 13.5px; }
.back-link { font-size: 15.5px; }
.detail-save { font-size: 16px; }
.lists-toggle { font-size: 16px; }
.lists-popover-row { font-size: 15.5px; }
.lists-popover-empty { font-size: 14.5px; }
.card-links .lists-toggle, .entry-actions .lists-toggle { font-size: 14.5px; }
.lists-new-form input[type="text"] { font-size: 15.5px; }
.lists-new-form button { font-size: 15.5px; }
.saved-list-count { font-size: 16px; }
.delete-list-btn, .rename-list-btn { font-size: 14.5px; }
.move-list-btn { font-size: 16px; }
.saved-empty-hint { font-size: 16px; }
.saved-empty-cta { font-size: 15.5px; }
.account-email { font-size: 17px; }
.info-account-label { font-size: 13.5px; }
.info-account-main { font-size: 17.5px; }
.info-account-btn { font-size: 15.5px; }
.info-kicker { font-size: 15.5px; }
.info-tile-blurb { font-size: 15.5px; }
.info-faq-group { font-size: 14.5px; }
.info-faq summary { font-size: 17px; }
.info-faq details > p { font-size: 17px; }
.info-contact-label { font-size: 14.5px; }
.info-more a { font-size: 16px; }
.detail-facts { font-size: 16px; }
.detail-desc { font-size: 17px; }
.detail-actions a { font-size: 15.5px; }
.creator-card-title { font-size: 17.5px; }
.creator-series-toggle { font-size: 15.5px; }
.creator-field-label { font-size: 14.5px; }
.creator-note-input { font-size: 16px; }
.creator-btn { font-size: 15.5px; }
.creator-hint { font-size: 14.5px; }
.creator-status { font-size: 14.5px; }
.creator-photo-delete { font-size: 16px; }
.leaflet-popup-content { font-size: 15.5px; }
.site-edit-btn { font-size: 15.5px; }
.site-edit-status { font-size: 14.5px; }
:is(.cards, .panel) > .card.ticket .date-tab .m { font-size: 13.5px; }
:is(.cards, .panel) > .card.ticket .date-tab .w { font-size: 13.5px; }
.map-gesture-hint { font-size: 15.5px; }
.ev-popup .leaflet-popup-content { font-size: 16px; }
.ev-popup .pop-row b { font-size: 16px; }
.ev-popup .pop-row .pop-when { font-size: 16px; }
.ev-popup .pop-row .pop-go { font-size: 16px; }
.ev-popup .pop-all { font-size: 16px; }
.demo-ribbon { font-size: 15.5px; }
.rail-end a.demo-subscribe { font-size: 15.5px; }
.demo-toast { font-size: 15.5px; }
body { font-size: 17.5px; }
.app-footer-links a, .app-footer-note, .app-footer-legal { font-size: 16px; }
.badge-free, .badge-soldout, .badge-accessible { font-size: 16px; }
.detail-actions a, .info-account-btn { font-size: 17px; }
.rail-end a.demo-subscribe { font-size: 16px; }
@media (max-width: 560px) {
  .brand { font-size: 17.5px; }
  .top-nav button { font-size: 14.5px; }
  .rail-end form button { font-size: 14.5px; }
  .top-nav button { font-size: 14.5px; }
  .filterbar .chip { font-size: 14.5px; }
  .filters-count { font-size: 14.5px; }
  .detail-bar > * { font-size: 16px; }
  .demo-ribbon { font-size: 14.5px; }
}
@media (max-width: 600px) {
  .search-input, .filterbar select, .venues-toolbar select, .lists-new-form input[type="text"] { font-size: 17.5px; }
}
@media (pointer: coarse) {
  .leaflet-container .leaflet-control-attribution { font-size: 13.5px; }
}
/* Reading text and key labels: larger still. */
.card-desc, .entry-desc, .detail-desc, .detail-body p { font-size: 17.5px; line-height: 1.6; opacity: 1; }
.card-meta, .entry-meta { font-size: 16.5px; line-height: 1.45; }
.card-title { font-size: 20px; }
.card-links .card-link, .card-links .lists-toggle, .entry-actions .lists-toggle, .entry-actions a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }
/* FREE / wheelchair / sold-out pills: smaller than other text so they read as labels. */
.badge-free, .badge-soldout, .badge-accessible { font-size: 13px; letter-spacing: .04em; line-height: 1.3; padding: 3px 9px 1px calc(9px + .04em); } /* The inset ring takes the first 3px inside the border; 0 on top let the text touch it. Capitals sit high in this font's line box, so there is 2px more above than below to look centered; the left pad matches the letter-spacing trailing the last letter. */

/* ------------------------------------------------------------ HASHTAG PILLS */
/* Regular tags: solid teal, cream bold text, teal outline. The neighborhood tag
 * (.tag-hood, added in app.js) is the exception: cream pill, ink outline, ink
 * text. No gold. The green FREE badge stays a different color (bold, ink rule). */
.tag, .entry-tags .tag {
  position: relative;
  background: var(--teal); color: var(--cream);
  border: 1.5px solid var(--teal); border-radius: 999px;
  box-shadow: none; text-shadow: none;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.3;
  padding: 4px 11px;
}
.tag:hover, .entry-tags .tag:hover { background: var(--teal-shadow); border-color: var(--teal-shadow); color: var(--cream); }
.tag.tag-hood, .entry-tags .tag.tag-hood { background: var(--raw-faf3de); color: var(--ink); border-color: var(--ink); }
.tag.tag-hood:hover, .entry-tags .tag.tag-hood:hover { background: var(--parchment); color: var(--ink); border-color: var(--ink); }
/* 44px tap target without a taller pill: invisible hit area around it. */
.tag::after { content: ""; position: absolute; inset: -10px -3px; }
.tag:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
:root[data-theme="dark"] .tag:focus-visible { outline-color: var(--cream); }
/* style.css has its own dark tag colors (more specific); restate the same pills. */
:root[data-theme="dark"] .tag, :root[data-theme="dark"] .entry-tags .tag { background: var(--teal); color: var(--cream); border-color: var(--teal); }
:root[data-theme="dark"] .tag:hover, :root[data-theme="dark"] .entry-tags .tag:hover { background: var(--teal-shadow); border-color: var(--cream); color: var(--cream); }
:root[data-theme="dark"] .tag.tag-hood, :root[data-theme="dark"] .entry-tags .tag.tag-hood { background: var(--raw-faf3de); color: var(--ink); border-color: var(--ink); }
:root[data-theme="dark"] .tag.tag-hood:hover, :root[data-theme="dark"] .entry-tags .tag.tag-hood:hover { background: var(--parchment); }

/* ------------------------------------------------------------ CARD PHOTOS */
/* Every event photo is the same shape: change the ratio here (3 / 2, 1 / 1...). */
:root { --card-photo-ratio: 4 / 3; }

/* Framed shot inside the parchment card (no longer bleeds to the card edge).
 * aspect-ratio reserves the space before the image loads (no layout shift). */
:is(.cards, .panel) > .card.ticket .card-photo, .card-photo {
  display: block; flex: none; position: relative; overflow: hidden;
  margin: 0 0 14px; aspect-ratio: var(--card-photo-ratio);
  border: 1.5px solid var(--ink); border-radius: 10px; background: var(--khaki);
}
:is(.cards, .panel) > .card.ticket .card-photo img, .card-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%; border-radius: 0; display: block;
}
/* The ink border is the frame; drop the cream inner line on these. */
.card-photo::before { display: none; }
/* Overlays keep their place on the photo: heart sits 12px in from the photo's corner. */
.card.has-venue-photo .save-toggle { top: 30px; right: 30px; }
.card.has-venue-photo .attended-toggle { top: 30px; right: 62px; }

/* No photo, or the image failed to load: same box, flat khaki, category name. */
:is(.cards, .panel) > .card.ticket .card-photo.card-photo--empty, .card-photo.card-photo--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: #9E3224; color: var(--cream); /* tomato, the site's brand red */
}
.card-photo.card-photo--empty::after { display: none; }
.photo-ph-label {
  font-family: var(--font-headline); font-size: 24px; line-height: 1.1; color: var(--cream);
  text-transform: capitalize; text-align: center; padding: 0 14px;
}
.card-photo.card-photo--empty::before {
  display: block; order: 2; content: ""; position: static; inset: auto; box-shadow: none; z-index: auto;
  width: 44px; height: 8px; border-radius: 999px; background: var(--cat-color, var(--venue-color, var(--ink))); border: 1.5px solid var(--ink);
}

/* List-row thumbnails: same crop point and frame. */
.entry-photo { border: 1.5px solid var(--ink); }
.entry-photo img { object-position: center 35%; }

/* Event detail: same ratio, shown wider. */
.venue-gallery-section.event-gallery { max-width: 780px; margin-left: auto; margin-right: auto; }
.event-gallery .venue-photo-panel {
  height: auto; aspect-ratio: var(--card-photo-ratio); border: 1.5px solid var(--ink); border-radius: 12px; background: var(--khaki);
}
.event-gallery .venue-photo-slide { object-position: center 35%; }

/* ------------------------------------------------------------- QUICK TOUR */
/* Solid fills, white text and icons. Colors are set per tile by view name
 * (the inline --c from app.js is no longer used for the fill). */
.info-tile { color: var(--white); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--shadow); }
.info-tile:hover { box-shadow: 6px 6px 0 var(--shadow); }
.info-tile[data-tour="list"]   { background: var(--wine); }
.info-tile[data-tour="map"]    { background: var(--green); }
.info-tile[data-tour="venues"] { background: var(--accent); }
.info-tile[data-tour="saved"]  { background: var(--aubergine); }
.info-tile-ico { background: rgba(var(--white-rgb), .22); color: var(--white); }
.info-tile-label, .info-tile-blurb { color: var(--white); opacity: 1; }
.info-tile::after { color: var(--white); opacity: 1; }
:root[data-theme="dark"] .info-tile { border-color: var(--ink); }

/* ------------------------------------------------------------ FAQ ROWS */
/* Question rows: solid fill, one color per section (wine, green, accent,
 * aubergine, then repeat), white bold text. Open rows get a parchment answer
 * panel attached under the question. Same in light and dark. */
.info-g1 { --faq-c: #7A1E3D; }
.info-g2 { --faq-c: var(--green); }
.info-g3 { --faq-c: var(--accent); }
.info-g4 { --faq-c: #52306B; }
.info-faq details {
  --c: var(--faq-c, #7A1E3D);
  background: var(--parchment); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--shadow);
}
.info-faq details:hover { border-color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--shadow); }
.info-faq details[open] { border-color: var(--ink); box-shadow: 4px 4px 0 var(--shadow); transform: none; }
.info-faq details::before { display: none; }
.info-faq summary { background: var(--faq-c, var(--wine)); color: var(--white); font-size: 17px; font-weight: 700; min-height: 44px; }
.info-faq details[open] summary { border-bottom: 2px solid var(--ink); }
.info-faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; box-shadow: inset 0 0 0 6px var(--white); }
/* white circle, plus/minus in the row color */
.info-faq summary::after,
.info-faq details:hover summary::after,
.info-faq details[open] summary::after {
  content: "+"; background: var(--white); color: var(--faq-c, var(--wine)); transform: none; font-size: 22px; font-weight: 700; width: 30px; height: 30px; padding-bottom: 2px;
}
.info-faq details[open] summary::after { content: "−"; }
.info-faq details > p { background: var(--parchment); color: var(--ink); padding: 16px 20px 18px; opacity: 1; }
/* section headings: ink in light, cream in dark */
.info-head .info-kicker, .info-head h2, .info-faq-group { color: var(--page-ink); }
.info-faq-group::after { background: color-mix(in srgb, var(--page-ink) 45%, transparent); }
:root[data-theme="dark"] .info-faq-group, :root[data-theme="dark"] .info-head .info-kicker, :root[data-theme="dark"] .info-head h2 { color: var(--raw-f8ecd0); }
/* Say hi cards: full-opacity text (style.css dimmed the label to 70%, which fell below AA). */
.info-contact-label, .info-contact-card::after { opacity: 1; color: var(--cream); }

/* ------------------------------------------------------------- venues view */
/* One border and one shadow for the venues hero, the toolbar controls and
 * every venue card. Layout is in style.css ("Venues view"). */
.venues-hero { border: 2px solid var(--ink); box-shadow: var(--shadow-2); }
/* Crop higher so the tops of the towers show. */
.venues-hero::before { background-position: center 30%; }
/* Scrim: darkest behind the title and subhead, fading out toward the bus side. */
.venues-hero::after {
  background: linear-gradient(90deg, rgba(var(--grade-text-dark), .62) 0%, rgba(var(--grade-text-dark), .4) 50%, rgba(var(--grade-text-dark), .08) 100%);
}
.venues-toolbar .search-input, .venues-toolbar select, .venues-toolbar .chip {
  border: 2px solid var(--ink); border-radius: var(--radius-sm); background-color: var(--cream); color: var(--ink);
  box-shadow: none;
}
/* Same pill and hard shadow as the filter chips on the List view. */
.venues-toolbar .chip { border-radius: 999px; box-shadow: 2px 2px 0 var(--shadow); }
.venues-toolbar .chip:active { transform: translate(2px, 2px); box-shadow: none; }
.venues-toolbar .search-input:focus { box-shadow: none; }
.venues-toolbar .chip:hover { background: var(--brand-gold); color: var(--ink); }
.venues-toolbar .chip[aria-pressed="true"] { background: var(--brand-gold); color: var(--ink); }

.venue-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-2);
}
.venue-card:hover { transform: translate(-2px, -2px); }
.venue-card-title a:hover { color: var(--accent); }
/* Framed like the event cards on the List view: venue-type color band on top, double inner line, hard shadow, photo set inside the frame. */
.venues-grid .venue-card {
  border-top: 8px solid var(--venue-color, var(--ink)); padding: 12px;
  box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px var(--rule), 4px 4px 0 var(--shadow);
}
.venues-grid .venue-card:hover { box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px var(--rule), 6px 6px 0 var(--shadow); }
.venues-grid .venue-card-photo { border: 2px solid var(--ink); border-radius: var(--radius-sm); }
.venues-grid .venue-card-body { padding: 14px 4px 4px; }
.venues-grid .venue-fav { top: 22px; right: 22px; }
/* The count is a Bevan heading with a double rule under it, like the List day headings. */
.venues-count { color: var(--page-ink); font-family: var(--font-headline); font-size: 28px; font-weight: 400; line-height: 1.15; letter-spacing: 0; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 4px double var(--page-ink); }
.venue-card-photo--empty { background: var(--teal); }
.venue-type-badge { color: var(--muted); }
.venue-type-badge::before { background: var(--venue-color, currentColor); border: 1.5px solid var(--ink); }
.venue-fav { background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 50%; }
.venue-fav:hover { background: var(--brand-gold); }
.venue-fav[aria-pressed="true"] { background: var(--brand-gold); }

@media (prefers-reduced-motion: reduce) {
  .venue-card, .venue-card:hover { transform: none; transition: none; }
}

/* Date badge (gravestone): more room above the month so it clears the arched top border. */
:is(.cards, .panel) > .card.ticket .date-tab { padding: 12px 10px 6px; }

/* The map's side panel is khaki paper, not the teal page: headings there need dark text, not the cream used on the page. */
:root[data-theme="dark"] .panel .day-heading,
:root[data-theme="dark"] .panel .day-heading a { color: var(--ink); border-bottom-color: var(--ink); }

/* Contain Leaflet's internal layers (panes 200-700, controls 800-1000) inside the map, so the sticky header
   (z-index 20) and other page layers sit above the map when the page scrolls. */
.leaflet-container { isolation: isolate; }

/* Zoom buttons: the + and - were text glyphs in a monospace fallback font and sat ~4px low in their circles, whatever the
   line-height. They are drawn as two bars instead, centered exactly, at any button size. (Leaflet's own rule is
   .leaflet-touch .leaflet-bar a, so these selectors are deliberately more specific.) */
body .leaflet-container .leaflet-bar a.leaflet-control-zoom-in,
body .leaflet-container .leaflet-bar a.leaflet-control-zoom-out { position: relative; font-size: 0; text-indent: 0; }
body .leaflet-container .leaflet-bar a.leaflet-control-zoom-in > span,
body .leaflet-container .leaflet-bar a.leaflet-control-zoom-out > span { display: none; }
body .leaflet-container .leaflet-bar a.leaflet-control-zoom-in::before,
body .leaflet-container .leaflet-bar a.leaflet-control-zoom-in::after,
body .leaflet-container .leaflet-bar a.leaflet-control-zoom-out::before {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); border-radius: 1px;
  width: 44%; height: 3px; transform: translate(-50%, -50%);
}
body .leaflet-container .leaflet-bar a.leaflet-control-zoom-in::after { width: 3px; height: 44%; }

/* ------------------------------------------------------------ page banners */
/* One size for the Map, Venues, Saved and Info title banners, so switching
 * tabs never changes the banner. The home page hero is separate and stays big.
 * Change the numbers here and all four pages follow. */
.saved-header, .info-hero {
  margin: 24px 0 20px; padding: 18px 32px; height: 150px; min-height: 0; box-sizing: border-box;
  display: flex; align-items: center; overflow: hidden;
  border: 3px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow);
}
.saved-header .detail-title, .info-hero .detail-title {
  margin: 0; font-size: clamp(34px, 4.6vw, 46px); line-height: 1;
}
.saved-header .saved-sub, .info-hero .saved-sub {
  margin: 6px 0 0; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.3; max-width: 60ch;
}
.saved-header .saved-kicker, .info-hero .saved-kicker { margin: 0 0 2px; font-size: 14px; line-height: 1.2; }
@media (max-width: 600px) {
  .saved-header, .info-hero { height: 140px; padding: 14px 18px; }
  .saved-header .detail-title, .info-hero .detail-title { font-size: 32px; }
  .saved-header .saved-sub, .info-hero .saved-sub { font-size: 15px; }
}

/* ===== Saved page polish (title cards, Junie, Philly Passport) ===== */
/* List headings: Bevan title, ticket-stub count, double rule underneath. */
.saved-panel .saved-list-heading { border-bottom: 0; padding-bottom: 12px; margin-bottom: 14px; position: relative; }
.saved-panel .saved-list-heading::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); box-sizing: border-box; }
.saved-list-name { font-family: var(--font-headline); font-weight: 400; font-size: clamp(22px, 3vw, 28px); line-height: 1.1; color: var(--ink); margin-left: 6px; }
.saved-list-count { display: inline-block; margin-left: 12px; padding: 2px 10px; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--ink); background: var(--brand-gold); border: 2px solid var(--ink); border-radius: 6px; transform: rotate(-2deg); }
/* Standalone sections (Saved searches, Past events). */
.saved-titlecard { margin: 44px 0 14px; padding-bottom: 12px; position: relative; }
.saved-titlecard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); box-sizing: border-box; }
.saved-titlecard-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.saved-titlecard-title { margin: 2px 0 0; font-family: var(--font-headline); font-weight: 400; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.1; color: var(--ink); text-shadow: none; }

/* Empty states become one slim row: art, words, button. */
.saved-empty { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 18px; row-gap: 2px; text-align: left; padding: 14px 20px; }
.saved-empty-icon { grid-row: 1 / span 2; margin-bottom: 0; width: 52px; height: 52px; }
.saved-empty-title { grid-column: 2; margin: 0; font-family: var(--font-headline); font-weight: 400; font-size: 18px; }
.saved-empty-hint { grid-column: 2; max-width: none; }
.saved-empty-cta { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; white-space: nowrap; }
@media (max-width: 600px) {
  .saved-empty { grid-template-columns: auto minmax(0, 1fr); }
  .saved-empty-cta { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 10px; }
}

/* Junie: asleep, nothing to click. On phones she gets her own row above the words, so she sits on the text instead of floating beside it. */
.saved-junie { grid-row: 1 / span 2; width: 120px; display: block; line-height: 0; }
.saved-junie img { width: 120px; height: auto; display: block; }
@media (max-width: 600px) {
  .saved-empty--junie { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .saved-empty--junie .saved-junie { grid-column: 1; grid-row: auto; width: 96px; }
  .saved-empty--junie .saved-junie img { width: 96px; }
  .saved-empty--junie .saved-empty-title, .saved-empty--junie .saved-empty-hint { grid-column: 1; }
}

/* Philly Passport */
.passport { margin: 4px 0 18px; padding: 12px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-2); color: var(--ink); }
.passport-inner, .passport > * { position: relative; }
.passport { outline: 2px dashed var(--accent); outline-offset: -10px; padding: 18px 28px 28px; }
.passport-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.passport-title { margin: 0; font-family: var(--font-headline); font-size: 20px; color: var(--shadow); }
.passport-pick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.passport-pick select { height: 42px; box-sizing: border-box; padding: 0 12px; font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--ink); background: var(--brand-gold); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 2px 2px 0 var(--shadow); cursor: pointer; }
.passport-count { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.passport-count strong { color: var(--ink); }
.passport-bar { height: 10px; margin-top: 6px; background: var(--parchment); border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.passport-bar span { display: block; height: 100%; background: var(--green); }
.passport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 14px; margin-top: 24px; justify-items: center; }
.passport-stamp { width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; transform: rotate(var(--tilt, 0deg)); }
.passport-stamp-ring { width: 130px; height: 130px; box-sizing: border-box; border-radius: 50%; border: 4px double var(--stamp); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 12px; background: color-mix(in srgb, var(--stamp) 8%, transparent); }
.saved-archive-note { margin: -6px 0 18px; font-size: 15px; line-height: 1.5; color: #FFF7E3; opacity: .9; }
/* Neighborhood stamps with a photo: the photo fills the ring, dimmed, with the stamp text over it. */
.passport-stamp-ring.has-photo { position: relative; overflow: hidden; background: var(--teal-deep, #12383A); }
.passport-stamp-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.48) saturate(.85); }
.passport-stamp-ring.has-photo > span { position: relative; z-index: 1; color: #FFF7E3; filter: none; text-shadow: 0 1px 3px rgba(0, 0, 0, .75); }
.passport-stamp-line { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--stamp); filter: brightness(.8); }
.passport-stamp-name { font-family: var(--font-headline); font-size: 15px; line-height: 1.08; margin: 3px 0; overflow-wrap: anywhere; }
.passport-stamp-date { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.passport-slot { width: 130px; height: 130px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 14px; border: 2px dashed var(--raw-a79c8e); border-radius: 50%; color: var(--muted); font-size: 12px; font-weight: 600; }
.passport-hint { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .passport { padding: 16px 16px 22px; } .passport-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } }
:root[data-theme="dark"] .saved-titlecard-title { color: var(--cream); }
:root[data-theme="dark"] .saved-titlecard-kicker { color: var(--brand-gold); }
:root[data-theme="dark"] .saved-titlecard::after { border-color: var(--cream); }

/* ------------------------------------------------- Info page: booklet layout */
/* Slim banner, ticket-style Quick Tour tiles, a sticky "Jump to" list beside
 * parchment FAQ panels. On phones the jump list is hidden and each FAQ
 * section becomes an accordion (first one open). */
.info-hero { min-height: 150px; padding: 26px 32px 22px; margin: 24px 0 18px; }
.info-hero .detail-title { font-size: clamp(34px, 5vw, 44px); }
.info-hero .saved-sub { margin-top: 6px; font-size: 16px; }

.info-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; position: relative; text-align: left; margin: 40px 0 16px; padding-bottom: 12px; }
.info-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); box-sizing: border-box; }
.info-head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 30px); line-height: 1.1; text-shadow: none; }
.info-head .info-kicker { order: 2; margin: 0; padding: 2px 10px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--brand-gold); border: 2px solid var(--ink); border-radius: 6px; transform: rotate(-2deg); }
:root[data-theme="dark"] .info-head::after { border-color: var(--cream); }
:root[data-theme="dark"] .info-head .info-kicker { color: var(--ink); }

/* Quick tour tiles: parchment ticket, colored top stripe, colored icon disc */
.info-tile, .info-tile[data-tour] { --tc: var(--accent); background: var(--parchment); color: var(--ink); padding: 26px 20px 20px; gap: 0; align-items: flex-start; }
.info-tile[data-tour="list"] { --tc: var(--wine); }
.info-tile[data-tour="map"] { --tc: var(--green); }
.info-tile[data-tour="venues"] { --tc: var(--accent); }
.info-tile[data-tour="saved"] { --tc: var(--aubergine); }
.info-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--tc); border-bottom: 2px solid var(--ink); }
.info-tile-ico { background: var(--tc); color: var(--cream); border: 2px solid var(--ink); width: 44px; height: 44px; margin-bottom: 12px; }
.info-tile-label { font-family: var(--font-headline); font-weight: 400; font-size: 20px; color: var(--ink); }
.info-tile-blurb { margin-top: 4px; font-size: 14px; color: var(--muted); }
.info-tile::after { top: 22px; color: var(--ink); opacity: 1; }
.info-tile:focus-visible, .info-jump-item:focus-visible, .info-sec-head:focus-visible, 
:root[data-theme="dark"] .info-tile-label { color: var(--ink); }
:root[data-theme="dark"] .info-tile-blurb { color: var(--muted); }

/* Booklet: jump list + sections */
.info-booklet { display: flex; align-items: flex-start; gap: 32px; margin-top: 44px; }
.info-booklet-main { flex: 1 1 0; min-width: 0; }
.info-jump { position: sticky; top: 90px; flex: 0 0 230px; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; background: var(--parchment); border: 3px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); }
.info-jump-label { margin: 0; padding: 0 12px 6px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.info-jump-item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; font: 700 15px/1.2 var(--font-body); color: var(--ink); background: transparent; border: 2px solid transparent; border-radius: 10px; cursor: pointer; text-align: left; }
.info-jump-item:hover { background: rgba(var(--cream-rgb), .6); }
.info-jump-item.is-active { background: var(--brand-gold); border-color: var(--ink); }
.info-jump-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c); }
.info-jump-dot.info-g1 { --c: var(--wine); }
.info-jump-dot.info-g2 { --c: var(--green); }
.info-jump-dot.info-g3 { --c: var(--accent); }
.info-jump-dot--hi { background: var(--teal); }

.info-sec { margin-bottom: 34px; scroll-margin-top: 90px; }
.info-sec.info-g1 { --sc: var(--wine); }
.info-sec.info-g2 { --sc: var(--green); }
.info-sec.info-g3 { --sc: var(--accent); }
.info-sec-head { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; position: relative; padding-bottom: 12px; margin-bottom: 14px; cursor: default; }
.info-sec-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); box-sizing: border-box; }
.info-sec-title { font-family: var(--font-headline); font-size: clamp(24px, 3.4vw, 30px); line-height: 1.1; color: var(--ink); }
.info-sec-count { padding: 2px 10px; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--brand-gold); border: 2px solid var(--ink); border-radius: 6px; transform: rotate(-2deg); }
.info-sec-chev { display: none; }
:root[data-theme="dark"] .info-sec-title { color: var(--cream); }
:root[data-theme="dark"] .info-sec-head::after { border-color: var(--cream); }

.info-faq { position: relative; display: block; padding: 12px 22px 4px; background: var(--parchment); border: 3px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); overflow: hidden; }
.info-faq::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--sc); border-bottom: 2px solid var(--ink); }
.info-faq { padding-top: 20px; }
.info-faq details { background: transparent; border: 0; border-top: 1px solid rgba(var(--ink-rgb, 46, 33, 24), .25); border-radius: 0; box-shadow: none; transform: none; overflow: visible; }
.info-faq details:first-child { border-top: 0; }
.info-faq details::before { display: none; }
.info-faq details:hover, .info-faq details[open] { border-color: rgba(var(--ink-rgb, 46, 33, 24), .25); transform: none; box-shadow: none; }
.info-faq details:first-child:hover, .info-faq details:first-child[open] { border-top: 0; }
.info-faq summary { background: transparent; min-height: 56px; box-sizing: border-box; padding: 12px 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.info-faq summary::after { content: "+"; width: 30px; height: 30px; color: var(--ink); background: var(--brand-gold); border: 2px solid var(--ink); font-weight: 700; transform: none; }
.info-faq summary::after, .info-faq details:hover summary::after, .info-faq details[open] summary::after { background: var(--brand-gold); color: var(--ink); border: 2px solid var(--ink); }
.info-faq details:hover summary::after { background: var(--gold-deep); }
.info-faq details[open] summary::after { content: "\2212"; }
.info-faq details[open] summary { border-bottom: 0; }
.info-faq summary:focus-visible { box-shadow: none; }
.info-faq summary::after, .info-faq details:hover summary::after, .info-faq details[open] summary::after { font-size: 18px; padding-bottom: 1px; }
.info-faq details > p { background: transparent; max-width: 62ch; padding: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--ink); opacity: .85; }

/* Say hi */
.info-sec--hi .info-head { margin-top: 0; }
.info-contact { margin-top: 62px; gap: 18px; }
.info-contact-card { overflow: visible; background: var(--parchment); color: var(--ink); padding: 20px 22px; }
.info-contact-ig, .info-contact-mail { background: var(--parchment); color: var(--ink); }
.info-contact-ico { background: var(--accent); color: var(--cream); border: 2px solid var(--ink); width: 44px; height: 44px; }
.info-contact-ig .info-contact-ico { background: var(--accent); }
.info-contact-mail .info-contact-ico { background: var(--teal); }
.info-contact-label { color: var(--muted); opacity: 1; }
.info-contact-val { font-family: var(--font-headline); font-weight: 400; font-size: 19px; color: var(--ink); }
.info-contact-card::after { color: var(--ink); opacity: 1; }
.info-junie { position: absolute; right: 20px; top: -62px; width: 130px; height: auto; pointer-events: none; }

.info-more { margin-top: 36px; justify-content: center; }
.info-more a { background: var(--cream); }

@media (max-width: 860px) {
  .info-booklet { display: block; margin-top: 32px; }
  .info-jump { display: none; }
  .info-tour { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .info-tile, .info-tile[data-tour] { padding: 22px 14px 16px; }
  .info-tile::after { right: 12px; }
  .info-sec { margin-bottom: 18px; scroll-margin-top: 70px; background: var(--parchment); border: 3px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); overflow: hidden; position: relative; }
  .info-sec::before { content: ""; display: block; height: 8px; background: var(--sc); border-bottom: 2px solid var(--ink); }
  .info-sec--hi { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .info-sec--hi::before { display: none; }
  .info-sec-head { min-height: 56px; padding: 10px 16px; margin: 0; cursor: pointer; flex-wrap: nowrap; }
  .info-sec-head::after { display: none; }
  .info-sec-title, :root[data-theme="dark"] .info-sec-title { font-size: 21px; color: var(--ink); }
  .info-sec-count { font-size: 12px; padding: 1px 8px; }
  .info-sec-chev { display: flex; margin-left: auto; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-gold); border: 2px solid var(--ink); font-weight: 700; font-size: 18px; line-height: 1; color: var(--ink); }
  .info-sec-chev::before { content: "\2212"; }
  .info-sec.is-collapsed .info-sec-chev::before { content: "+"; }
  .info-sec.is-collapsed .info-faq { display: none; }
  .info-faq { padding: 0 16px 6px; border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; background: transparent; }
  .info-faq::before { display: none; }
  .info-faq summary { min-height: 52px; font-size: 16px; }
  .info-faq summary::after { width: 28px; height: 28px; }
  .info-faq details > p { font-size: 15px; }
  .info-hero { min-height: 140px; padding: 18px 18px 16px; }
  .info-hero .detail-title { font-size: 32px; }
  .info-head { margin-top: 30px; }
  .info-head h2 { font-size: 26px; }
  .info-sec--hi .info-head h2 { font-size: 26px; }
  .info-contact { margin-top: 56px; gap: 56px; }
  .info-junie { width: 104px; top: -50px; }
}
@media (max-width: 560px) { .info-contact { grid-template-columns: 1fr; } }

/* Info banner: account button lives in the banner (replaces the old "Logged in as" strip) */
.info-hero { justify-content: space-between; align-items: flex-end; gap: 16px; }
.info-hero-account { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 0; max-width: 100%; }
.info-hero .info-account-btn { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 8px 20px; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--brand-gold); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--shadow); text-decoration: none; transform: none; }
.info-hero .info-account-btn:hover { background: var(--gold-deep); color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow); }
.info-hero .info-account-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.info-hero .info-account-btn:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.info-hero-email { margin: 0; max-width: 100%; font-size: 13px; font-weight: 600; color: var(--cream); text-shadow: 0 1px 3px rgba(0, 0, 0, .8); overflow-wrap: anywhere; text-align: right; }
/* The button is inline-flex, which drops the leading space inside this span, so the gap is explicit. */
.info-hero .info-btn-extra { margin-left: .3em; }
@media (max-width: 600px) {
  /* banners keep one fixed height site-wide, so the button sits in the top-right corner */
  .info-hero { position: relative; }
  .info-hero-account { position: absolute; top: 10px; right: 12px; z-index: 1; gap: 3px; }
  .info-hero .info-account-btn { padding: 6px 12px; font-size: 14px; }
  .info-hero-email { display: none; }
  /* The long demo label ran across the "Help & FAQ" label; phones get just "Subscribe". */
  .info-hero .info-btn-extra { display: none; }
}
@media (max-width: 360px) { .info-hero .saved-kicker { display: none; } }

/* Forecast chip beside each day heading: same color as the date (cream on the
 * teal page, ink inside parchment panels); the "|" divider is brand yellow on the page. */
.day-wx, .day-wx-link { color: inherit; }
.day-wx-link { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.day-wx-link:hover { color: var(--brand-gold); text-decoration-color: var(--brand-gold); }
:root[data-theme="dark"] .day-wx-sep { color: var(--brand-gold); font-weight: 700; }
:root[data-theme="dark"] .panel .day-wx-sep, :root[data-theme="dark"] .saved-panel .day-wx-sep { color: var(--accent); }
:root[data-theme="dark"] .panel .day-wx-link:hover, :root[data-theme="dark"] .saved-panel .day-wx-link:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* Venue card photos: top corners follow the card's curve (inside the 2px border),
 * so the photo and its thin cream frame no longer end in square corners. */
.venue-card-photo { border-radius: calc(var(--radius-card) - 2px) calc(var(--radius-card) - 2px) 0 0; }
/* The cream inset frame has square corners that fight the curved card, so venue photos go without it: the photo fills the card's rounded top edge, with an ink rule under it. */
.venue-card-photo::before { display: none; }
.venue-card-photo { border-bottom: 2px solid var(--ink); }

/* Heart button: the heart is drawn, not typed. The ♡ / ♥ characters fall back to a different system font on each OS (narrow and tall on macOS), which made the button look stretched. A mask gives the same round, even heart everywhere; it still follows the button's color and fills when saved. */
.save-toggle { font-size: 0 !important; line-height: 0; flex: none; box-sizing: border-box; aspect-ratio: 1 / 1; }
.save-toggle::before {
  content: ""; display: block; width: 58%; aspect-ratio: 1 / 1; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.4S3.6 15.3 3.6 9.3A4.7 4.7 0 0 1 12 6.6a4.7 4.7 0 0 1 8.4 2.7c0 6-8.4 11.1-8.4 11.1z' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.4S3.6 15.3 3.6 9.3A4.7 4.7 0 0 1 12 6.6a4.7 4.7 0 0 1 8.4 2.7c0 6-8.4 11.1-8.4 11.1z' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.save-toggle[aria-pressed="true"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.4S3.6 15.3 3.6 9.3A4.7 4.7 0 0 1 12 6.6a4.7 4.7 0 0 1 8.4 2.7c0 6-8.4 11.1-8.4 11.1z' fill='%23000' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.4S3.6 15.3 3.6 9.3A4.7 4.7 0 0 1 12 6.6a4.7 4.7 0 0 1 8.4 2.7c0 6-8.4 11.1-8.4 11.1z' fill='%23000' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Event page: the photos sit below the event info so the details show without scrolling */
.detail-card + .venue-gallery-section.event-gallery { margin-top: 28px; }

/* Saved searches picker in the filter bar */
.ss-menu { position: relative; }
.ss-popover { position: absolute; top: calc(100% + 8px); left: 0; z-index: 10; box-sizing: border-box; width: 330px; max-width: calc(100vw - 24px); padding: 14px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-3); color: var(--ink); }
.ss-popover[hidden] { display: none; }
.ss-title { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ss-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.ss-row { display: flex; align-items: stretch; gap: 6px; border-top: 1px solid var(--rule); }
.ss-row:first-child { border-top: 0; }
.ss-item { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 8px; background: none; border: 0; border-radius: 4px; text-align: left; cursor: pointer; color: var(--ink); font-family: var(--font-body); }
.ss-name { font-size: 15px; font-weight: 700; line-height: 1.2; }
.ss-sum { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.ss-item:hover { background: rgba(var(--cream-rgb), .6); }
.ss-item[aria-pressed="true"] { background: var(--brand-gold); }
.ss-item[aria-pressed="true"] .ss-sum { color: var(--ink); }
.ss-del { flex: none; align-self: center; width: 28px; height: 28px; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); font-size: 11px; line-height: 1; cursor: pointer; }
.ss-del:hover { background: var(--accent); color: var(--cream); }
.ss-empty { padding: 8px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.ss-form { margin-top: 10px; padding-top: 12px; border-top: 2px solid var(--rule); }
.ss-form-label { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.ss-form-row { display: flex; gap: 8px; }
.ss-form-row input { flex: 1; min-width: 0; box-sizing: border-box; padding: 8px 10px; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); font: inherit; font-size: 14px; }
.ss-form-row button { flex: none; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--brand-gold); color: var(--ink); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.ss-form-row :disabled { opacity: .5; cursor: not-allowed; }
.ss-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.ss-item:focus-visible, .ss-del:focus-visible, .ss-form-row :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 620px) { .ss-menu { flex: 1 1 100%; } .ss-toggle { width: 100%; text-align: center; } .ss-popover { left: 0; right: 0; width: auto; max-width: none; } }

/* Saved page: suggested searches */
.ss-suggest { margin-top: 18px; }
.ss-suggest-title { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ss-suggest-list { list-style: none; margin: 0; padding: 0; }
.ss-suggest-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--rule); }
.ss-suggest-row:first-child { border-top: 0; }
.ss-suggest-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ss-suggest-name { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.ss-suggest-sum { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.ss-suggest-add { flex: none; padding: 7px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--brand-gold); color: var(--ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.ss-suggest-add:hover { background: var(--gold-deep); }
.ss-suggest-add:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.ss-suggest { padding: 16px 18px 8px; background: var(--parchment); border: 2px solid var(--ink); border-radius: var(--radius); }
.ss-suggest-name { color: var(--ink); }
.ss-suggest-sum { color: var(--muted); }
:root[data-theme="dark"] .ss-suggest .ss-suggest-name { color: var(--ink); }
:root[data-theme="dark"] .ss-suggest .ss-suggest-sum { color: var(--muted); }
:root[data-theme="dark"] .ss-suggest .ss-suggest-title { color: var(--accent); }

/* Saved page: saved-search cards */
.ss-card { align-items: center; padding: 14px 16px 14px 20px; margin: 0 0 10px; background: var(--parchment); }
.ss-card-text { flex: 1; min-width: 0; }
.ss-card-name { margin: 0; font-family: var(--font-headline); font-size: 19px; line-height: 1.15; color: var(--ink); }
.ss-card-sum { margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ss-card-actions { flex: none; display: flex; align-items: center; gap: 10px; }
.ss-card-view { padding: 8px 18px; border: 2px solid var(--ink); border-radius: 999px; background: var(--brand-gold); color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.ss-card-view:hover { background: var(--gold-deep); }
.ss-card-del { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 2px solid transparent; border-radius: 50%; background: none; color: var(--muted); font-size: 15px; cursor: pointer; }
.ss-card-del:hover { color: var(--accent); border-color: var(--accent); }
.ss-card-view:focus-visible, .ss-card-del:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
:root[data-theme="dark"] .ss-card .ss-card-name { color: var(--ink); }
:root[data-theme="dark"] .ss-card .ss-card-sum, :root[data-theme="dark"] .ss-card .ss-card-del { color: var(--muted); }
@media (max-width: 520px) { .ss-card { padding: 12px 10px 12px 14px; } .ss-card-view { padding: 7px 14px; } .ss-card-name { font-size: 17px; } }

/* Saved searches sheet (matches the list panels) */
#saved-searches-container { margin-top: 28px; }
.saved-searches-panel .ss-card { background: var(--card); }
.saved-searches-panel .ss-suggest { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 6px 4px 0; margin-top: 14px; border-top: 2px dashed var(--ink); }
.saved-searches-panel .ss-suggest-title { margin-top: 12px; }
.saved-searches-panel .saved-empty { margin-bottom: 0; }
.saved-searches-panel .ss-card:last-child { margin-bottom: 0; }
