/* SQWADSY App — prototype v2.8 · venue inside the App. MOD DEMONSTRATIV.
 * A: full venue screen (#/venues/<id>) in the App shell.  B: preview panel over Locații, opened from the map.
 * One set of parts (header, badges, pitches, availability, contact) for both; v7.3 visual language. */
.vd { display: block; }
:root[data-theme] body.experience .vd-back { display: inline-flex; margin: 0 0 14px; color: var(--link); font: 500 14px 'Inter',system-ui,sans-serif; text-decoration: none; }
:root[data-theme] body.experience .vd-back:hover { text-decoration: underline; }
.vd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.vd-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.vd-hero { position: relative; overflow: hidden; border-radius:6px; background: var(--j-rail); height: 220px; margin: 20px 0; --j-ink: #F2EEE8; --j-ink-2: #F3F6F5; --j-muted: #F3F6F5; --j-link: #F2EEE8; --j-accent: #E2DCD1; --j-on-accent: #0B2320; }
.vd-hero::before { content: ''; position: absolute; inset: 22px 40px; border: 2px solid rgba(46,230,161,.22); border-radius:6px; }
.vd-hero::after { content: ''; position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border: 2px solid rgba(46,230,161,.22); border-radius: 50%; }
.vd-hero i { position: absolute; left: 50%; top: 22px; bottom: 22px; border-left: 2px solid rgba(46,230,161,.22); }
.vd-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.vd-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
:root[data-theme] body.experience .vd-card { display: flex; flex-direction: column; gap: 12px; margin: 0 !important; }
:root[data-theme] body.experience .vd-card h2 { margin: 0 !important; }
.vd-pitch { border: 1px solid var(--line); border-radius:6px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; background: var(--surface); }
:root[data-theme] body.experience .vd-pitch h3 { margin: 0 !important; font: italic 800 18px/1.05 'Rubik',Inter,sans-serif !important; color: var(--ink) !important; letter-spacing: 0 !important; font-style: italic !important; font-weight: 800 !important; }
:root[data-theme] body.experience .vd-pitch p { margin: 0 !important; font-size: 13px !important; color: var(--ink-2) !important; }
.vd-price { font: 700 17px 'Inter',system-ui,sans-serif; color: var(--ink); text-align: right; }
.vd-act { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
:root[data-theme] body.experience :is(.vd, .vp) .exp-button { min-height: 40px !important; padding: 8px 14px !important; font-size: 16px !important; }
.vd-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.vd-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 12px; border: 1px solid var(--line); border-radius:3px; background: var(--surface); color: var(--ink); font: 500 13px 'Inter',system-ui,sans-serif; cursor: pointer; }
.vd-chip.static { cursor: default; }
.vd-chip[aria-pressed="true"] { border: 2px solid var(--mint); background: var(--mint-soft); padding: 4px 11px; }
.vd-chip:focus-visible, .vd-slot:focus-visible, .vp-x:focus-visible { outline: 2px solid var(--prop-dot); outline-offset: 2px; }
.vd-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.vd-slot { min-height: 38px; border-radius:6px; display: grid; place-items: center; font: 700 15px 'Inter',system-ui,sans-serif; border: 1px solid var(--mint-line); background: var(--mint-soft); color: var(--ok); cursor: pointer; padding: 0; }
.vd-slot[aria-pressed="true"] { border: 2px solid var(--navy); background: var(--mint); color: var(--mint-ink); }
:root[data-theme="dark"] .vd-slot[aria-pressed="true"] { border-color: var(--j-surface); }
span.vd-slot { cursor: default; }
.vd-slot.busy { border: 0; background: var(--neu-bg); color: var(--quiet); text-decoration: line-through; }
.vd-slot.past { border: 1px dashed var(--line); background: transparent; color: var(--quiet); }
:root[data-theme] body.experience .vd-go { margin-top: 10px; width: 100%; justify-content: center; }
:root[data-theme] body.experience .vd-note { font-size: 12px !important; color: var(--quiet) !important; margin: 0 !important; }
.vd-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink); }
.vd-kv span:first-child { color: var(--quiet); }
.vd-kv span:last-child { text-align: right; }
/* B · preview panel */
.vp-scrim { position: fixed; inset: 0; background: rgba(25,27,30,.42); z-index: 5000; }
.vp { position: fixed; top: 0; right: 0; bottom: 0; width: 480px; max-width: 100%; background: var(--surface); color: var(--ink); z-index: 5001; overflow: auto; padding: 22px 22px 0;
  display: flex; flex-direction: column; gap: 12px; box-shadow: -10px 0 40px rgba(25,27,30,.25); font-family: 'Inter',system-ui,sans-serif; font-size: 14px; }
.vp-head { display: flex; gap: 10px; align-items: flex-start; }
.vp-head > div { flex: 1; min-width: 0; }
:root[data-theme] .vp-head h2 { font: italic 800 30px/1.05 'Rubik',Inter,sans-serif !important; margin: 0 0 4px !important; color: var(--ink) !important; letter-spacing: 0 !important; font-style: italic !important; font-weight: 800 !important; }
:root[data-theme] .vp .vp-h { font: 700 18px 'Inter',system-ui,sans-serif !important; margin: 6px 0 0 !important; color: var(--ink) !important; }
.vp .vd-hero { height: 130px; margin: 0; flex: none; }
.vp-x { width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius:6px; background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.vp-foot { position: sticky; bottom: 0; margin: auto -22px 0; padding: 14px 22px; background: var(--surface); border-top: 1px solid var(--line); display: flex; gap: 8px; }
:root[data-theme] body.experience .vp-foot .exp-button { flex: 1; justify-content: center; text-align: center; }
.exp-map-pin[data-preview] { cursor: pointer; }
.exp-map-pin[data-preview]:focus-visible span { outline: 3px solid var(--prop-dot); outline-offset: 2px; }
@media (max-width: 800px) {
  .vd-grid { grid-template-columns: 1fr; }
  .vd-hero { height: 160px; margin: 16px 0; }
  .vp { top: auto; left: 0; width: auto; height: 86%; border-radius:6px; padding: 16px 16px 0; }
  .vp-foot { margin: auto -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); flex-direction: column; }
  .vd-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* mobile: one column in task order — pitches, availability, contact, about */
@media (max-width: 800px) {
  .vd-grid { display: flex; flex-direction: column; gap: 14px; }
  .vd-col { display: contents; }
  .vd-c-pitches { order: 1; } .vd-c-avail { order: 2; } .vd-c-contact { order: 3; } .vd-c-about { order: 4; }
}
/* hover states follow the theme (the Dev CSS gives buttons a light hover fill) */
:root[data-theme] body.experience :is(.vd-chip:not(.static), .vp-x):hover { background: var(--surface-2) !important; color: var(--ink) !important; }
:root[data-theme] body.experience .vd-chip[aria-pressed="true"]:hover { background: var(--mint-soft) !important; }
:root[data-theme] body.experience button.vd-slot:hover { background: var(--mint-soft) !important; color: var(--ok) !important; border-color: var(--mint) !important; }
:root[data-theme] body.experience button.vd-slot[aria-pressed="true"]:hover { background: var(--mint) !important; color: var(--mint-ink) !important; }
/* Dark: the Dev CSS has light hover fills for every button / link-button; give them theme-aware ones */
:root[data-theme="dark"] body.experience :is(button, .page-link):not(.exp-button):not(.primary):not(.cg-next):not(.md-join):not(.vd-slot):not([aria-pressed="true"]):not(.lang-active):not(.venue-favorite):not(.hv3-mint):not(.hv3-edit):hover { background: var(--surface-2) !important; border-color: var(--line) !important; color: var(--ink) !important; }
:root[data-theme="dark"] body.experience .exp-button.secondary:hover { background: var(--surface-2) !important; color: var(--ink) !important; }
:root[data-theme="dark"] body.experience :is(.account-menu-panel nav a, .account-menu-panel > button, .home-post-menu button, .home-post-options :is(a, button), .exp-map-controls button):hover { background: var(--surface-2) !important; color: var(--ink) !important; }
:root[data-theme="dark"] body.experience :is(.pi-slot, .pi-pitch)[aria-pressed="true"]:hover { background: var(--mint-soft) !important; color: var(--mint-text) !important; }
:root[data-theme="dark"] .exp-mobile-nav a:hover, :root[data-theme="dark"] .exp-app-sidebar nav a:not(.active):hover { background: #F2EEE812 !important; color: #F2EEE8 !important; }
:root[data-theme="dark"] body.experience button.exp-button:disabled:hover { background: var(--neu-bg) !important; color: var(--quiet) !important; border-color: var(--line) !important; }
/* the favourite heart sits on the photo: a white chip in both themes */
:root[data-theme] body.experience .venue-favorite, :root[data-theme] body.experience .venue-favorite:hover { background: var(--j-surface) !important; color: #34373C !important; border-color: transparent !important; }
:root[data-theme] body.experience .venue-favorite * { color: inherit !important; }
