:root { color-scheme: dark; --bg: #090b0f; --panel: #10141b; --panel-2: #151b23; --ink: #f5f0e8; --muted: #aab1bd; --line: #28313f; --accent: #54d6c7; --accent-2: #ff5b4f; --accent-3: #f3c969; }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body { margin: 0; background: radial-gradient(circle at 14% 8%, rgba(84, 214, 199, 0.18), transparent 32%), radial-gradient(circle at 86% 12%, rgba(255, 91, 79, 0.15), transparent 30%), var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
      a { color: inherit; }
      .topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px clamp(18px, 4vw, 56px); border-bottom: 1px solid var(--line); background: rgba(9, 11, 15, 0.9); backdrop-filter: blur(14px); }
      .brand { font-weight: 780; }
      nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0; color: var(--muted); font-size: 14px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
      nav::before { content: "/pva/2025-2026"; margin-right: 0.25rem; color: var(--accent); font-weight: 760; }
      nav a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 0.35rem; border-radius: 4px; text-decoration: none; }
      nav a::before { content: "/"; margin-right: 0.35rem; color: var(--line); }
      nav a[aria-current="page"] { color: var(--ink); background: rgba(84, 214, 199, 0.12); }
      nav a:hover { color: var(--ink); }
      main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 48px 0 72px; }
      .hero { display: grid; gap: 18px; margin-bottom: 30px; }
      .eyebrow { margin: 0; color: var(--accent); font-size: 13px; font-weight: 820; text-transform: uppercase; }
      h1 { max-width: 880px; margin: 0; font-size: clamp(42px, 8vw, 84px); line-height: 0.95; letter-spacing: 0; }
      .lede { max-width: 780px; margin: 0; color: #d5d8de; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; }
      .stats { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); }
      .stat { padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(16, 20, 27, 0.7); }
      .viewer { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 18px; align-items: stretch; margin: 34px 0; }
      .stage { position: relative; min-height: min(68vw, 650px); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #07090d; }
      .stage iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; background: #090b0f; }
      .stage-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px; text-align: center; background: radial-gradient(circle at 35% 30%, rgba(84, 214, 199, 0.2), transparent 28%), #07090d; }
      .stage-placeholder[hidden] { display: none; }
      .stage-placeholder div { display: grid; gap: 12px; max-width: 420px; }
      .stage-placeholder strong { font-size: clamp(24px, 4vw, 44px); line-height: 1; }
      .stage-placeholder span { color: var(--muted); line-height: 1.45; }
      .viewer-info, .gallery-card { border: 1px solid var(--line); border-radius: 8px; background: rgba(16, 20, 27, 0.86); }
      .viewer-info { display: grid; align-content: start; gap: 14px; padding: 18px; }
      .viewer-info h2 { margin: 0; font-size: clamp(26px, 4vw, 42px); line-height: 1; }
      .viewer-info p { margin: 0; color: var(--muted); line-height: 1.5; }
      .tag-row, .actions, .filters, .tool-row { display: flex; flex-wrap: wrap; gap: 8px; }
      .tag { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }
      input, select { min-height: 40px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); color: var(--ink); font: inherit; font-size: 14px; }
      input { min-width: min(100%, 260px); }
      button, .button { min-height: 40px; padding: 9px 12px; border: 1px solid rgba(84, 214, 199, 0.55); border-radius: 6px; background: rgba(84, 214, 199, 0.14); color: var(--ink); font: inherit; font-size: 14px; font-weight: 760; text-decoration: none; cursor: pointer; }
      button[aria-pressed="true"] { background: var(--accent); color: #07100f; }
      .button.secondary, button.secondary { border-color: var(--line); background: var(--panel-2); color: var(--muted); }
      .gallery-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 36px 0 16px; }
      .gallery-header h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); }
      .gallery-tools { display: grid; gap: 10px; margin-bottom: 16px; }
      .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 14px; }
      .gallery-card { display: grid; gap: 12px; padding: 14px; text-align: left; }
      .gallery-card.is-active { border-color: rgba(84, 214, 199, 0.75); box-shadow: 0 0 0 1px rgba(84, 214, 199, 0.18); }
      .gallery-card h3 { margin: 0; font-size: 22px; line-height: 1.05; }
      .gallery-card p { margin: 0; color: var(--muted); line-height: 1.45; }
      .mini-preview { position: relative; height: 132px; border: 1px solid rgba(245, 240, 232, 0.12); border-radius: 6px; overflow: hidden; background: radial-gradient(circle at var(--x, 30%) var(--y, 30%), rgba(84, 214, 199, 0.35), transparent 24%), radial-gradient(circle at calc(100% - var(--x, 30%)) 72%, rgba(255, 91, 79, 0.3), transparent 28%), #0d1117; }
      .mini-preview iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; transform: scale(0.34); transform-origin: top left; width: 294%; height: 294%; opacity: 0.82; }
      .mini-preview span { position: absolute; inset: auto 8px 8px 8px; padding: 5px 7px; border-radius: 999px; background: rgba(9, 11, 15, 0.76); color: var(--muted); font-size: 12px; }
      .source-panel { margin-top: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(16, 20, 27, 0.86); overflow: hidden; }
      .source-panel[hidden] { display: none; }
      .source-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
      .source-header strong { font-size: 14px; }
      pre { margin: 0; max-height: 460px; overflow: auto; padding: 16px; color: #dce3ec; background: #07090d; font-size: 13px; line-height: 1.55; white-space: pre-wrap; }
      .empty-state { padding: 22px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); }
      .is-hidden { display: none; }
      .footer { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
      :focus-visible { outline: 3px solid var(--accent-3); outline-offset: 3px; }
      @media (max-width: 840px) { .topbar, .viewer, .gallery-header { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; } .stage iframe { min-height: 420px; } }
