/*
 * Vancouver Events: unified discovery without flattening the two scenes.
 * Scoped so the existing Tech and Music & Culture layouts are unchanged.
 */
.yve {
  --yve-ink: #effaff;
  --yve-muted: #bfd3e0;
  --yve-line: rgba(124, 203, 252, .28);
  --yve-pink: #ffc4eb;
  --yve-cyan: #8befff;
  --yve-yellow: #ffe8aa;
  color: var(--yve-ink);
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto 5rem;
  line-height: 1.55;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.yve, .yve * { box-sizing: border-box; }
.yve h1, .yve h2, .yve h3, .yve p, .yve a, .yve span,
.yve time, .yve label, .yve strong, .yve small, .yve li {
  font-family: inherit;
  color: inherit;
  background: transparent;
  line-height: inherit;
  text-shadow: none;
}
.yve .pixel-font { font-family: "Press Start 2P", ui-monospace, monospace; }
.yve a:focus-visible, .yve button:focus-visible, .yve select:focus-visible,
.yve input:focus-visible { outline: 3px solid #ffe8a6; outline-offset: 3px; }
.yve__hero {
  position: relative;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 17px;
  border: 1px solid rgba(177, 174, 255, .38);
  background:
    radial-gradient(circle at 98% 5%, rgba(242, 116, 225, .22), transparent 40%),
    radial-gradient(circle at 4% 98%, rgba(82, 227, 249, .14), transparent 46%),
    linear-gradient(145deg, #111527, #0a1120);
  overflow: hidden;
}
.yve__hero::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(139, 239, 255, .15);
  border-radius: 50%;
  right: -45px;
  top: -64px;
  box-shadow: 0 0 0 24px rgba(139, 239, 255, .035), 0 0 0 55px rgba(139, 239, 255, .025);
  pointer-events: none;
}
.yve__kicker {
  margin: 0 0 1rem;
  color: var(--yve-cyan) !important;
  font-size: clamp(.54rem, 1vw, .69rem);
  letter-spacing: .04em;
}
.yve h1 {
  margin: 0 0 1rem;
  color: #fff8fc;
  font-size: clamp(2.1rem, 6vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 780;
}
.yve__lead {
  max-width: 800px;
  margin: 0 0 .6rem;
  color: #f5eafb !important;
  line-height: 1.6;
  font-size: clamp(1.03rem, 1.8vw, 1.27rem);
}
.yve__sublead {
  max-width: 800px;
  margin: 0;
  color: var(--yve-muted) !important;
  font-size: .91rem;
}
.yve__modes {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}
.yve__modes a {
  flex: 0 1 auto;
  text-decoration: none;
  border-radius: 11px;
  border: 1px solid var(--yve-line);
  padding: .72rem 1rem;
  background: #121d31;
  font-size: .93rem;
  color: #d9edfa;
  font-weight: 730;
}
.yve__modes a[aria-current="page"] {
  border-color: rgba(166, 242, 255, .72);
  background: #1b3d4a;
  color: #ebfdff;
}
.yve__modes a:hover { background: #254657; }
.yve__filter-panel {
  margin: 1rem 0 2.2rem;
  padding: clamp(.95rem, 2.3vw, 1.5rem);
  border: 1px solid var(--yve-line);
  border-radius: 13px;
  background: linear-gradient(130deg, rgba(18, 32, 50, .97), rgba(24, 21, 42, .96));
}
.yve__filter-heading h2 {
  margin: 0 0 .35rem;
  color: var(--yve-yellow);
  font-size: clamp(.78rem, 1.3vw, .94rem);
  line-height: 1.6;
}
.yve__filter-heading p {
  margin: 0 0 1rem;
  max-width: 75ch;
  color: var(--yve-muted);
  font-size: .9rem;
}
.yve__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .75rem;
}
.yve__field {
  flex: 1 1 225px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.yve__field--small { flex: 1 1 145px; }
.yve__field--search { flex: 2 1 270px; }
.yve__field label {
  color: #d8eaf5;
  font-size: .8rem;
  font-weight: 680;
}
.yve__field select, .yve__field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(158, 211, 237, .45);
  border-radius: 8px;
  padding: .65rem .7rem;
  background: #0b1927;
  color: #f1faff;
  font-family: inherit;
  font-size: .9rem;
  box-shadow: none;
}
.yve__field input::placeholder { color: #91a5b6; opacity: 1; }
.yve__filter-actions {
  flex: 1 1 100%;
  display: flex;
  gap: .8rem;
  align-items: center;
  padding-top: .15rem;
}
.yve__filter-actions button {
  min-height: 44px;
  padding: .6rem 1.2rem;
  border: 1px solid rgba(255, 195, 231, .8);
  border-radius: 8px;
  background: #e9a9d4;
  color: #1d1125;
  cursor: pointer;
  font-family: inherit;
  font-size: .89rem;
  font-weight: 730;
}
.yve__filter-actions button:hover { background: #ffe0f1; }
.yve__filter-actions a {
  color: #d1effa;
  text-underline-offset: 3px;
  font-size: .86rem;
}
.yve__results { scroll-margin-top: 3rem; }
.yve__results-header h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  margin: 0 0 .45rem;
  color: #fff9ff;
}
.yve__results-count, .yve__caveat {
  margin: 0 0 1rem;
  color: var(--yve-muted);
  font-size: .87rem;
}
.yve__caveat { max-width: 80ch; }
.yve__histogram {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .3rem;
  align-items: end;
  margin: 1.2rem 0 1.6rem;
  padding: .8rem;
  background: #0c1928;
  border-radius: 11px;
  border: 1px solid var(--yve-line);
}
.yve__month {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: .2rem;
  height: 106px;
  color: #c9e5ec;
  font-size: .76rem;
}
.yve__month-bar {
  display: block;
  width: min(28px, 90%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(0deg, #3e8bb4, #e7a1db);
}
.yve__month small { color: var(--yve-muted); font-size: .7rem; }
.yve__event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}
.yve__event {
  min-width: 0;
  padding: clamp(1rem, 2.1vw, 1.35rem);
  border: 1px solid var(--yve-line);
  border-radius: 12px;
  background: linear-gradient(120deg, #101d2d, #16172b);
}
.yve__event-top {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .8rem;
  align-items: center;
  justify-content: space-between;
}
.yve__event time {
  font-size: .84rem;
  font-weight: 750;
  color: var(--yve-yellow);
}
.yve__tags, .yve__topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}
.yve__tag, .yve__topic-tags span {
  border-radius: 99px;
  padding: .23rem .55rem;
  border: 1px solid rgba(163, 193, 235, .38);
  font-size: .71rem;
  line-height: 1.35;
  color: #f1f3ff;
}
.yve__tag--tech { background: rgba(57, 183, 229, .19); border-color: rgba(92, 226, 249, .38); }
.yve__tag--culture { background: rgba(218, 112, 195, .22); border-color: rgba(255, 177, 226, .38); }
.yve__topic-tags { margin-top: .55rem; }
.yve__topic-tags span { color: #d7e6f1; font-size: .69rem; background: rgba(151, 159, 202, .09); }
.yve__event h3 { margin: .55rem 0 .25rem; font-size: clamp(1.05rem, 1.75vw, 1.18rem); font-weight: 750; }
.yve__event h3 a { text-decoration: none; color: #fff8ff; }
.yve__event h3 a:hover { color: var(--yve-pink); text-decoration: underline; }
.yve__event-meta, .yve__multi-day { font-size: .86rem; margin: .2rem 0; color: var(--yve-muted) !important; }
.yve__time-note { color: #fbe1b6 !important; font-size: .77rem; margin: .5rem 0 0; }
.yve__provenance { color: #b5b3ca !important; font-size: .74rem; margin: .45rem 0 0; }
.yve__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.4rem 0;
  font-size: .87rem;
}
.yve__pagination a { color: #c4eeff; }
.yve__empty {
  padding: 1.2rem;
  border: 1px dashed var(--yve-line);
  border-radius: 10px;
  color: var(--yve-muted);
}
.yve__footer {
  border-top: 1px solid var(--yve-line);
  padding-top: 1.6rem;
  margin-top: 2.2rem;
}
.yve__footer h2 { margin: 0 0 .4rem; font-size: 1.25rem; color: #fff3fd; }
.yve__footer p { max-width: 80ch; margin: .3rem 0 .95rem; color: var(--yve-muted); font-size: .87rem; }
.yve__sources { display: flex; flex-wrap: wrap; gap: .65rem; }
.yve__sources a {
  display: inline-block;
  padding: .7rem .85rem;
  border-radius: 8px;
  border: 1px solid var(--yve-line);
  background: #132039;
  text-decoration: none;
  color: #dff3ff;
  font-size: .85rem;
}
.yve__sources a:hover { background: #274259; }
.yve__footer .yve__fine-print { margin-top: 1.25rem; font-size: .76rem; }
@media (max-width: 620px) {
  .yve { width: calc(100% - 1rem); margin: .85rem auto 3rem; }
  .yve__field { flex: 1 1 100%; }
  .yve__field--small { flex: 1 1 140px; }
  .yve__modes a { flex: 1 1 135px; text-align: center; }
  .yve__histogram { gap: .12rem; padding: .6rem .3rem; }
  .yve__month { height: 90px; font-size: .55rem; }
  .yve__month small { font-size: .6rem; }
  .yve__tag { font-size: .67rem; }
}
@media (prefers-reduced-motion: reduce) {
  .yve { scroll-behavior: auto; }
}


/* 2026-11-14 arcade cabinet refresh: source data stays unchanged.
 * Readable pixel-console typography, neon keyline HUD and interactive loadout.
 */
.yve {
  --yve-ink: #effff6;
  --yve-muted: #c4d8df;
  --yve-line: rgba(54, 245, 188, .6);
  --yve-pink: #ffb6e4;
  --yve-cyan: #80f5ff;
  --yve-yellow: #f9e883;
  --yve-green: #80ffa5;
  position: relative;
  z-index: 20;
  isolation: isolate;
  font-family: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  letter-spacing: .01em;
}
.yve .pixel-font, .yve h1, .yve__filter-heading h2,
.yve__results-header h2, .yve__event h3, .yve__lineup-top h2,
.yve__footer h2 {
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-weight: 500;
}
.yve__hero {
  border: 2px solid #6ef7cc;
  border-radius: 4px;
  padding: clamp(1.1rem, 3.5vw, 2.7rem);
  background:
    repeating-linear-gradient(0deg, transparent 0px, transparent 7px, rgba(112, 255, 215, .035) 8px, transparent 9px),
    linear-gradient(135deg, rgba(15, 31, 35, .98), rgba(15, 15, 36, .98) 68%, rgba(46, 18, 51, .98));
  box-shadow: 6px 6px 0 rgba(60, 252, 163, .14), 0 0 28px rgba(60, 252, 163, .12), inset 0 0 0 6px #081119;
}
.yve__hero::after {
  width: 64px; height: 64px;
  border-radius: 0;
  border: none;
  border-right: 4px solid #ffb5df;
  border-top: 4px solid #ffb5df;
  box-shadow: none;
  top: 9px; right: 9px;
}
.yve__hero-hud {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin: 0 0 2rem;
  color: #caffdf;
  font-size: .73rem;
  letter-spacing: .14em;
}
.yve__hero-hud span:first-child { color: var(--yve-green); }
.yve__hero .yve__kicker {
  margin-bottom: .95rem;
  color: #e1b5ff !important;
}
.yve h1 {
  max-width: 100%;
  margin: 0 0 1.1rem;
  color: #b4ffd3;
  font-size: clamp(1.12rem, 3.1vw, 2.55rem);
  line-height: 1.65;
  letter-spacing: .015em;
  text-shadow: 3px 3px 0 #1b4a38;
  overflow-wrap: anywhere;
}
.yve__hero-subtitle {
  margin: .2rem 0 1.3rem;
  color: #ffb6e4;
  font-size: clamp(.5rem, .92vw, .66rem);
  line-height: 1.8;
}
.yve__hero .yve__lead {
  color: #edf9ef !important;
  max-width: 68ch;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(.93rem, 1.5vw, 1.1rem);
}
.yve__hero .yve__sublead { font-size: .85rem; line-height: 1.75; }
.yve__modes a {
  border: 2px solid #71b5c6;
  border-radius: 3px;
  background: #09151e;
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: .65rem;
  line-height: 1.7;
  color: #d9fbff;
}
.yve__modes a[aria-current="page"] {
  border-color: #90fbaa;
  background: #174032;
  color: #dbffe5;
  box-shadow: inset 0 -4px 0 rgba(13, 25, 16, .6);
}
.yve__filter-panel {
  border: 2px solid #67bfea;
  border-radius: 4px;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 4px, rgba(84, 183, 219, .025) 5px),
    linear-gradient(125deg, #0e1b31, #160f2a);
  box-shadow: 5px 5px 0 rgba(80, 164, 233, .13);
}
.yve__filter-heading h2 {
  color: #ffe780;
  font-size: clamp(.77rem, 1.2vw, .9rem);
  line-height: 1.7;
}
.yve__field label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: #a7f4ff;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .08em;
}
.yve__field select, .yve__field input {
  border-radius: 2px;
  border: 2px solid #4b8aa5;
  background: #08121e;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.yve__filter-actions button,
.yve__lineup-controls button {
  border-radius: 3px;
  border-width: 2px;
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: .62rem;
  line-height: 1.75;
  min-height: 44px;
}
.yve__filter-actions button { background: #87ffb7; border-color: #c7ffd7; }
.yve__filter-actions button:hover { background: #c4ffe0; }
.yve__filter-actions a { color: #b7fdcc; }
.yve__results-header h2, .yve__footer h2 {
  font-size: clamp(.9rem, 1.5vw, 1.3rem);
  line-height: 1.7;
  color: #beffe0;
}
.yve__event-list { counter-reset: yve-game; }
.yve__event {
  --yve-accent: #7aeeed;
  position: relative;
  counter-increment: yve-game;
  z-index: 1;
  border: 2px solid rgba(117, 229, 228, .6);
  border-left: 5px solid var(--yve-accent);
  border-radius: 3px;
  padding: clamp(.85rem, 2vw, 1.35rem);
  background:
    repeating-linear-gradient(0deg, transparent 0px, transparent 5px, rgba(89, 255, 217, .018) 6px),
    #09151f;
  box-shadow: 4px 4px 0 rgba(99, 209, 214, .13);
}
.yve__event--culture {
  --yve-accent: #ffb1e4;
  border-color: rgba(255, 172, 223, .55);
}
.yve__event::before {
  content: "";
  position: absolute;
  top: -2px; right: -2px;
  width: 21px; height: 21px;
  background: linear-gradient(135deg, transparent 48%, var(--yve-accent) 49% 56%, #08131d 57%);
  pointer-events: none;
}
.yve__event-cabinet {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem .8rem;
  margin: 0 0 .7rem;
  color: #b4ffe5;
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: .46rem;
  letter-spacing: .02em;
  line-height: 1.65;
  opacity: .85;
}
.yve__event--culture .yve__event-cabinet { color: #ffbade; }
.yve__event h3 {
  margin: .8rem 0 .5rem;
  font-size: clamp(.72rem, 1.12vw, .94rem);
  line-height: 1.8;
  font-weight: normal;
}
.yve__event h3 a { color: #fffaff; }
.yve__event h3 a:hover { color: #91ffb9; }
.yve__event time {
  color: #ffec93;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .83rem;
  letter-spacing: .04em;
}
.yve__tag, .yve__topic-tags span { border-radius: 2px; }
.yve__tag--tech { color: #b8ffff; }
.yve__tag--culture { color: #ffe2f3; }
.yve__event-meta, .yve__provenance, .yve__time-note { line-height: 1.7; }
.yve__event-top { justify-content: flex-start; }
.yve__tags { margin-left: auto; }
.yve__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: .6rem .8rem;
  flex: 0 0 auto;
  border: 2px solid #f2a7d8;
  border-radius: 3px;
  background: #2d152e;
  color: #ffe2f5;
  cursor: pointer;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 800;
}
.yve__save:hover, .yve__save:focus-visible { background: #643253; color: white; }
.yve__save[aria-pressed="true"] {
  background: #fbade2;
  color: #1c0e21;
  border-color: #fff0fa;
}
.yve__lineup {
  margin: 1rem 0 1.35rem;
  padding: clamp(1rem, 2.7vw, 1.5rem);
  border: 2px solid #f5a5de;
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent 20px, rgba(255, 156, 228, .016) 21px),
    linear-gradient(135deg, #24132d, #0c1d26);
  box-shadow: 5px 5px 0 rgba(233, 124, 200, .13);
  scroll-margin-top: 2.5rem;
}
.yve__slot-label {
  margin: 0 0 .65rem;
  color: #ffbae9;
  font-size: clamp(.48rem, .8vw, .61rem);
  line-height: 1.7;
}
.yve__lineup-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.yve__lineup-top > div:first-child { flex: 1 1 300px; }
.yve__lineup-top h2 {
  margin: 0 0 .7rem;
  color: #fff0fb;
  font-size: clamp(.78rem, 1.3vw, 1.05rem);
  line-height: 1.75;
}
.yve__lineup-top p {
  max-width: 68ch;
  margin: 0;
  color: #e0d6e8;
  font-size: .84rem;
  line-height: 1.75;
}
.yve__lineup-top p strong { color: #ffc8eb; }
.yve__lineup-counter {
  display: inline-block;
  vertical-align: middle;
  margin: 0 .35rem;
  padding: .25rem .45rem;
  border: 2px solid #98fbc5;
  color: #abffd1;
  background: #10382b;
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: .75em;
}
.yve__lineup-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  flex: 1 1 310px;
}
.yve__lineup-controls button {
  cursor: pointer;
  padding: .65rem .8rem;
  border: 2px solid #fac0e6;
  background: #f8b4e0;
  color: #211023;
}
.yve__lineup-controls button:hover:not(:disabled) { background: #ffe0f3; }
.yve__lineup-controls button:disabled {
  cursor: not-allowed;
  opacity: .52;
}
.yve__lineup-controls #yve-lineup-clear {
  background: #2b1932;
  color: #fce2f0;
}
.yve__lineup-privacy {
  margin: .7rem 0;
  color: #d9b8cf;
  font-size: .72rem;
  line-height: 1.7;
}
.yve__lineup-message {
  margin: .35rem 0;
  color: #a8ffcf;
  font-size: .78rem;
}
.yve__lineup-message:empty { display: none; }
.yve__lineup-empty {
  margin: .8rem 0 0;
  padding: .85rem;
  border: 1px dashed rgba(255, 193, 230, .48);
  color: #f3c9e4;
  font-size: .73rem;
}
.yve__lineup [hidden] { display: none !important; }
.yve__saved-items {
  display: grid;
  gap: .55rem;
  list-style: none;
  margin: .8rem 0 0;
  padding: 0;
}
.yve__saved-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  border: 1px solid rgba(255, 171, 230, .38);
  border-radius: 2px;
  background: #101623;
  padding: .75rem .9rem;
}
.yve__saved-item a { color: #fff2fc; font-weight: 700; text-decoration: none; }
.yve__saved-item a:hover { text-decoration: underline; color: #9cf7d4; }
.yve__saved-item p { color: #c6d1d9; margin: .25rem 0 0; font-size: .75rem; }
.yve__remove {
  border: 1px solid #ea8ebd;
  border-radius: 2px;
  padding: .55rem .75rem;
  background: #261528;
  color: #fce4f0;
  cursor: pointer;
  font-size: .78rem;
}
.yve__remove:hover { background: #63324b; }
.yve__pagination a, .yve__sources a {
  border-radius: 3px;
  border: 2px solid #75cbdf;
  color: #c7f5fa;
  background: #081d2c;
}
.yve__histogram {
  border-radius: 4px;
  border-width: 2px;
}
@media (max-width: 700px) {
  .yve__hero-hud { font-size: .64rem; margin-bottom: 1.2rem; }
  .yve__hero .yve__lead { font-size: .88rem; }
  .yve__event-top { align-items: flex-start; }
  .yve__tags { margin-left: 0; }
  .yve__save { width: 100%; order: 3; }
  .yve__lineup-controls { flex: 1 1 100%; }
  .yve__lineup-controls button { flex: 1 1 170px; }
}
@media (max-width: 420px) {
  .yve__hero-hud span:last-child { display: none; }
  .yve h1 { font-size: 1rem; }
  .yve__event-cabinet { font-size: .41rem; }
  .yve__lineup-controls button { flex-basis: 100%; }
}
