/*
 * Venue page (venues/show.php), 2026-10-12 redesign: app-like profile. Brand tokens only (--fb-* / --c-*).
 * The one bold element is the hero: identity + live status + actions beside the real map. Everything below is quiet.
 */
.vp-hero { display: grid; gap: 20px; margin: 4px 0 8px; }
.vp-hero__main { min-width: 0; }
.vp-hero__map .vmap { margin: 0; }
.vp-hero__map .vmap__canvas { height: 240px; }

.vp-id { display: flex; align-items: center; gap: 14px; margin: 6px 0 14px; }
.vp-mark { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--fb-surface); border: 1px solid var(--fb-border); box-shadow: var(--fb-shadow-sm); overflow: hidden; }
.vp-mark--pin img { width: 26px; height: auto; }
.vp-mark--logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.vp-mark--person { width: 88px; height: 88px; border-radius: 50%; background: var(--fb-surface-2); }
.vp-mark--person img { width: 100%; height: 100%; object-fit: cover; }
.vp-mark--person .vp-mark__ph { width: 40px; height: 40px; object-fit: contain; opacity: .55; filter: grayscale(1); }
.vp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 15px; color: var(--fb-text-secondary); }
.cpage .vp-sport { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--fb-primary-soft); color: var(--fb-primary); font-weight: 650; text-decoration: none; }
.cpage .vp-sport:hover { background: var(--fb-primary); color: #fff; }
.vp-city { font-weight: 600; color: var(--fb-text); }

.cpage .vp-title { margin: 0 0 8px; max-width: 18ch; font-size: clamp(34px, 6vw, 52px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.vp-addr { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 14px; color: var(--fb-text-secondary); font-size: 16px; }
.vp-addr .ic { width: 18px; height: 18px; margin-top: 3px; flex: none; }

.vp-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 18px; padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 15px; font-variant-numeric: tabular-nums;
    background: color-mix(in srgb, var(--fb-open) 14%, transparent); color: var(--fb-text); }
.vp-status b { color: var(--fb-open); font-weight: 700; }
.vp-status.is-closed { background: color-mix(in srgb, var(--fb-danger) 12%, transparent); }
.vp-status.is-closed b { color: var(--fb-danger); }
.vp-status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fb-open); box-shadow: 0 0 0 0 color-mix(in srgb, var(--fb-open) 55%, transparent); animation: vp-pulse 2.4s var(--fb-ease, ease) infinite; }
.vp-status.is-closed .vp-status__dot { background: var(--fb-danger); animation: none; }
@keyframes vp-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fb-open) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
@media (prefers-reduced-motion: reduce) { .vp-status__dot { animation: none; } }

.vp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cpage .vp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 14px; font-size: 15px; font-weight: 650; text-decoration: none;
    background: var(--fb-surface); border: 1px solid var(--fb-border); color: var(--fb-text); transition: border-color var(--fb-dur-fast, .15s), background var(--fb-dur-fast, .15s); }
.cpage .vp-btn .ic { width: 18px; height: 18px; flex: none; }
.cpage .vp-btn:hover { border-color: var(--fb-blue-500); background: var(--fb-primary-soft); }
.cpage .vp-btn--go { background: var(--fb-gradient-blue); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(0, 114, 242, .3); }
.cpage .vp-btn--go:hover { background: var(--fb-gradient-blue); filter: brightness(1.06); }
.cpage .vp-btn:focus-visible { outline: 3px solid var(--fb-focus, var(--fb-blue-400)); outline-offset: 2px; }

.vp-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--fb-border); font-size: 15px; color: var(--fb-text-secondary); }
.vp-facts li { display: inline-flex; align-items: baseline; gap: 6px; }
.vp-facts b { font-size: 22px; line-height: 1; font-weight: 800; color: var(--fb-text); font-variant-numeric: tabular-nums; }
.vp-facts .is-pass span { color: var(--fb-teal); font-weight: 650; }

/* body: hours + contact first (what people check), then the story */
.vp-grid { display: grid; gap: 18px; margin-top: 12px; }
.vp-side { display: grid; gap: 14px; align-content: start; }
.vp-card { padding: 18px 18px 14px; border-radius: 20px; background: var(--fb-surface); border: 1px solid var(--fb-border); box-shadow: var(--c-card-shadow); }
.cpage .vp-card__h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.vp-card__h .ic { width: 18px; height: 18px; color: var(--fb-blue-500); }
.vp-week { margin: 0; padding: 0; list-style: none; font-size: 15px; font-variant-numeric: tabular-nums; }
.vp-week li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; color: var(--fb-text-secondary); }
.vp-week__t { color: var(--fb-text); font-weight: 600; }
.vp-week li.is-today { background: var(--fb-primary-soft); color: var(--fb-primary); font-weight: 700; }
.vp-week li.is-today .vp-week__t { color: var(--fb-primary); }
.vp-note, .vp-htext { margin: 10px 0 0; font-size: 14px; color: var(--fb-text-secondary); }
.vp-htext { font-size: 15px; color: var(--fb-text); }
.vp-contact { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.vp-contact li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; min-width: 0; }
.vp-contact li + li { border-top: 1px solid var(--fb-border); }
.vp-contact .ic { width: 18px; height: 18px; margin-top: 2px; flex: none; color: var(--fb-text-secondary); }
.cpage .vp-contact a { color: var(--c-link, var(--fb-primary)); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.cpage .vp-contact a:hover { text-decoration: underline; }

.vp-main { min-width: 0; }
.cpage .vp-about h2 { margin: 4px 0 10px; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.vp-prose { max-width: 62ch; font-size: 18px; line-height: 1.65; }
.vp-prose p { margin: 0 0 14px; }
.vp-disclaimer { margin: 18px 0 0; max-width: 62ch; font-size: 14px; color: var(--fb-text-muted, var(--fb-text-secondary)); }
.vp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 22px 0 0; font-size: 14px; color: var(--fb-text-secondary); }
.cpage .vp-more { font-weight: 650; color: var(--c-link, var(--fb-primary)); }

/* phones: pinned action bar (the content padding keeps the footer readable above it) */
.vp-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 16px calc(10px + var(--fb-safe-bottom, 0px));
    background: color-mix(in srgb, var(--fb-bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--fb-border); }
.cpage .vp-bar .vp-btn { flex: 1 1 0; }
body.cpage:has(.vp-bar) { padding-bottom: 72px; }

@media (min-width: 900px) {
    .vp-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-bottom: 18px; }
    .vp-hero--nomap { grid-template-columns: 1fr; }
    .vp-hero__map .vmap__canvas { height: 360px; }
    .vp-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
    .vp-side { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--fb-topbar-h, 64px) + 16px); }
    .vp-main { grid-column: 1; grid-row: 1; }
    .vp-bar { display: none; }
    body.cpage:has(.vp-bar) { padding-bottom: 0; }
}
/* phones: directions + call live in the pinned bar, the hero keeps the rest */
@media (max-width: 899px) { .cpage .vp-hero__main .vp-btn--go, .cpage .vp-hero__main .vp-btn--call { display: none; } }
@media (max-width: 379px) { .cpage .vp-btn { padding: 0 12px; } }

/* the layout's decorative map mark would sit on top of the real map */
.cpage .c-hero:has(.vp-hero) .c-hero__map { display: none; }
.vp-hero__map { position: relative; }
.cpage .vp-maplink { position: absolute; z-index: 2; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px;
    background: var(--fb-navy); color: #fff; font-size: 14px; font-weight: 650; text-decoration: none; box-shadow: var(--fb-shadow); }
.cpage .vp-maplink:hover { color: #fff; background: var(--fb-primary); }
.vp-maplink .ic { width: 17px; height: 17px; }

/* map CTA + small print under it (privacy, more in sport, updated) */
.vp-cta { margin-top: 36px; }
.vp-small { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 8px; font-size: 13px; line-height: 1.5; color: var(--fb-text-secondary); }
.cpage .vp-small a { color: var(--fb-text-secondary); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.cpage .vp-small a:hover { color: var(--fb-text); }

/* map buttons (were links to /?venue=): same look as the links */
.cpage button.vp-btn, .cpage button.vp-maplink { font: inherit; cursor: pointer; }
