/* ============================================================
   VENUE MAP — interactive top-down plan of the grounds (#map)
   All colours come from tokens.css (--vm-* / --c-*).
   ============================================================ */
.venuemap__layout{
  display:grid;grid-template-columns:1.5fr 1fr;gap:clamp(1rem,3vw,2rem);
  align-items:start;margin-top:1.5rem;
}
@media (max-width:820px){ .venuemap__layout{grid-template-columns:1fr} }

.venuemap__plan{
  border-radius:var(--r-lg);overflow:hidden;
  border:1px solid var(--c-line);background:var(--c-surface);
}
.vm-svg{display:block;width:100%;height:auto}
.vm-svg .vm-note{
  font-family:var(--font-mono);font-size:15px;fill:var(--vm-note);letter-spacing:.04em;
}
.vm-svg .vm-note--sm{font-size:12px}

/* the 29 numbered stalls — smaller, quieter than the named areas */
.vm-zone--stall > text{font-size:12px;font-weight:600}
.vm-zone--stall > rect{fill:color-mix(in srgb,var(--vm-zone) 55%,var(--c-surface));stroke-width:1}
.vm-zone--stall.is-active > text{fill:#fff}

/* the AV room is upstairs — dashed to say "not on this floor" */
.vm-zone--up > rect{stroke-dasharray:4 3}
/* Center of Attraction reads as the anchor */
.vm-zone--hero > rect{fill:color-mix(in srgb,var(--vm-active) 8%,var(--vm-zone))}
.vm-zone--hero > text{font-size:16px}
.vm-zone--tall > text{font-size:13px}

/* zones */
.vm-zone{cursor:pointer}
.vm-zone > rect{
  fill:var(--vm-zone);stroke:var(--vm-zone-edge);stroke-width:1.5;
  transition:fill .2s,stroke .2s,transform .2s;transform-origin:center;
}
.vm-zone > text{
  font-family:var(--font-body);font-weight:600;font-size:15px;
  fill:var(--vm-zone-ink);pointer-events:none;
}
.vm-zone:hover > rect,
.vm-zone:focus-visible > rect{ stroke:var(--vm-active);stroke-width:2.5;outline:none }
.vm-zone.is-active > rect{
  fill:var(--vm-active);stroke:var(--vm-active);
}
.vm-zone.is-active > text{ fill:#fff }

/* detail panel */
.venuemap__panel{
  border-radius:18px;padding:clamp(1.1rem,3vw,1.6rem);
  background:var(--c-surface);border:1px solid var(--c-line);
  min-height:220px;
}
.vm-panel__title{margin:0 0 .3rem;font-size:1.3rem}
.vm-panel__blurb{margin:0 0 1rem;color:var(--c-ink-mute);font-size:.95rem;line-height:1.5}
.vm-panel__h{
  margin:1rem 0 .4rem;font-family:var(--font-mono);font-size:.7rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--c-ink-mute);
}
.vm-panel__list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.4rem}
.vm-panel__list li{font-size:.95rem;line-height:1.4}
.vm-panel__time{
  font-family:var(--font-mono);font-weight:600;color:var(--c-primary-ink);margin-right:.3rem;
}
.vm-panel__tag{
  display:inline-block;margin-left:.3rem;padding:.05rem .4rem;border-radius:6px;
  font-size:.7rem;background:color-mix(in srgb,var(--c-primary) 12%,transparent);color:var(--c-primary-ink);
}
.vm-panel__empty{margin:.6rem 0 0;color:var(--c-ink-mute);font-style:italic;font-size:.9rem}

/* legend chips */
.venuemap__legend{
  margin:1.4rem 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;
}
.vm-chip{
  padding:.4rem .9rem;border-radius:999px;cursor:pointer;font:inherit;font-size:.82rem;
  background:var(--c-surface);border:1px solid var(--vm-zone-edge);color:var(--vm-zone-ink);
  transition:border-color .2s,background .2s,color .2s;
}
.vm-chip:hover{border-color:var(--vm-active)}
.vm-chip.is-active{background:var(--vm-active);border-color:var(--vm-active);color:#fff;font-weight:600}

/* full screening line-up */
.venuemap__schedule{margin-top:2rem}
.venuemap__schedule-title{
  margin:0 0 .8rem;font-family:var(--font-mono);font-size:.72rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--c-ink-mute);
}
.venuemap__screenings{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.4rem}
.venuemap__screenings-note{margin:1.4rem 0 0;color:var(--c-ink-soft);font-size:var(--fs-base);line-height:1.5;max-width:52ch}
.vm-scr{
  display:grid;grid-template-columns:23px 5.5rem 1fr auto;gap:.8rem;align-items:center;
  padding:.6rem .9rem;border-radius:12px;
  background:var(--c-surface);border:1px solid var(--c-line);
  transition:transform var(--dur-2) var(--ease-out),border-color var(--dur-2),box-shadow var(--dur-2);
}
.vm-scr:hover{transform:translateX(3px);border-color:color-mix(in srgb,var(--c-primary) 30%,var(--c-line));box-shadow:var(--shadow-lift)}
@media (prefers-reduced-motion:reduce){.vm-scr:hover{transform:none}}
@media (max-width:560px){
  .vm-scr{grid-template-columns:23px 4.5rem 1fr;grid-auto-rows:min-content}
  .vm-scr__venue{grid-column:3}
}
.vm-scr__icon{display:grid;place-items:center;width:23px;height:23px;color:var(--c-primary-ink)}
.vm-scr__icon svg{width:16px;height:16px}
.vm-scr__time{font-family:var(--font-mono);font-weight:600;font-size:.85rem;color:var(--c-primary-ink)}
.vm-scr__title{font-size:.95rem;line-height:1.35}
.vm-scr__venue{
  padding:.3rem .7rem;border-radius:999px;cursor:pointer;font:inherit;font-size:.75rem;
  background:transparent;border:1px solid var(--vm-zone-edge);color:var(--vm-zone-ink);
  white-space:nowrap;transition:border-color .2s,background .2s;
}
.vm-scr__venue:hover{border-color:var(--vm-active);background:color-mix(in srgb,var(--c-primary) 10%,transparent)}

/* games by area */
.venuemap__games{margin-top:2rem}
.venuemap__games-title{
  margin:0 0 .9rem;font-family:var(--font-mono);font-size:.72rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--c-ink-mute);
}
.vm-games-group{margin-bottom:1rem}
.vm-games-venue{
  padding:.3rem .7rem;border-radius:999px;cursor:pointer;font:inherit;font-size:.78rem;font-weight:600;
  background:transparent;border:1px solid var(--vm-zone-edge);color:var(--vm-zone-ink);
}
.vm-games-venue:hover{border-color:var(--vm-active);background:color-mix(in srgb,var(--c-primary) 10%,transparent)}
.vm-games-group ul{margin:.5rem 0 0;padding:0;list-style:none;color:var(--c-ink-soft)}
.vm-games-group li{
  display:flex;align-items:center;gap:.5rem;font-size:.92rem;line-height:1.5;
  padding:.25rem .4rem;border-radius:var(--r-sm);
  transition:background var(--dur-1),transform var(--dur-1);
}
.vm-games-group li:hover{background:color-mix(in srgb,var(--c-primary) 7%,transparent);transform:translateX(2px)}
@media (prefers-reduced-motion:reduce){.vm-games-group li:hover{transform:none}}
.vm-games-icon{display:grid;place-items:center;width:18px;height:18px;flex:none;color:var(--c-primary-ink)}
.vm-games-icon svg{width:13px;height:13px}

@media (prefers-reduced-motion:reduce){
  .vm-zone > rect{transition:none}
}

/* v8 plan: games, food counters, static service boxes, names under stall numbers, roster */
.vm-svg .vm-sub{font-size:8.5px;font-weight:500;letter-spacing:.01em}
.vm-zone--game > rect{fill:color-mix(in srgb,var(--c-gold,#C9962E) 18%,var(--c-surface));stroke:color-mix(in srgb,var(--c-gold,#C9962E) 70%,var(--vm-zone-edge))}
.vm-zone--food > rect{fill:color-mix(in srgb,var(--c-primary) 12%,var(--c-surface))}
.vm-static > rect{fill:var(--c-surface);stroke:var(--vm-zone-edge);stroke-width:1}
.vm-static > text{font-size:10px;fill:var(--vm-note);pointer-events:none}
.vm-roster{list-style:none;margin:1.25rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.4rem .75rem}
.vm-roster__b{display:flex;align-items:center;gap:.6rem;width:100%;padding:.45rem .65rem;border:1px solid var(--vm-zone-edge);border-radius:8px;background:transparent;color:var(--vm-zone-ink);font:inherit;font-size:.9rem;text-align:left;cursor:pointer}
.vm-roster__b:hover,.vm-roster__b:focus-visible{border-color:var(--vm-active);outline:none}
.vm-roster__n{display:inline-grid;place-items:center;min-width:1.7rem;height:1.7rem;border-radius:6px;background:var(--vm-zone);font-family:var(--font-mono);font-weight:600;font-size:.8rem}
