/* parksy-broadcast.css — parksy.kr specific styles
   Extracted from index.html inline for performance.
   Part of CAVE UI design system. */

/* ── Scroll Progress Bar ── */
    .scroll-progress {
      position: fixed; top: 0; left: 0;
      width: 0%; height: 2px;
      background: linear-gradient(90deg, var(--flame-core), var(--flame-edge));
      z-index: 9999;
      transition: width 0.1s linear;
    }

    /* ── Signal Ticker ── */
    .signal-ticker {
      display: flex; align-items: center; gap: 1.5rem;
      padding: 0.5rem 1rem;
      background: rgba(255,107,53,0.05);
      border-bottom: 1px solid rgba(255,107,53,0.15);
      overflow: hidden;
      font-family: var(--font-mono);
      font-size: 0.6rem;
      color: var(--cave-dim);
      letter-spacing: 0.08em;
    }
    .ticker-live {
      color: var(--flame-core); font-weight: 600;
      display: flex; align-items: center; gap: 0.4rem;
      flex-shrink: 0;
    }
    .ticker-dot {
      width: 5px; height: 5px; border-radius: 50%;
      background: var(--flame-core);
      animation: pulse-dot 1.4s ease-in-out infinite;
    }
    .ticker-stats {
      display: flex; gap: 1.5rem; flex-wrap: wrap;
    }
    .ticker-stat { white-space: nowrap; }
    .ticker-stat span { color: var(--cave-glow); font-weight: 600; }

    /* ── Hero ── */
    .station-title .char {
      display: inline-block;
      opacity: 0; transform: translateY(20px);
      animation: char-rise 0.6s forwards;
    }
    @keyframes char-rise { to { opacity: 1; transform: translateY(0); } }

    /* ── Broadcast Section Header ── */
    .bcast-header {
      display: flex; align-items: center; gap: 0.6rem;
      padding: 1.2rem 0 0.6rem;
      font-family: var(--font-mono);
      font-size: 0.6rem; font-weight: 600;
      color: var(--flame-core);
      text-transform: uppercase; letter-spacing: 0.12em;
    }
    .bcast-header::after {
      content: ''; flex: 1; height: 1px;
      background: linear-gradient(90deg, rgba(255,107,53,0.3), transparent);
    }
    .bcast-header.standby { color: var(--cave-dim); }
    .bcast-header.standby::after {
      background: linear-gradient(90deg, var(--cave-faint), transparent);
    }

    /* ── Channel Row (TV Guide Style) ── */
    .ch-row {
      display: flex; align-items: center; gap: 1rem;
      padding: 1rem 1.25rem; margin-bottom: 0.3rem;
      background: var(--cave-wall);
      border: 1px solid var(--cave-faint);
      border-left: 4px solid var(--cave-dim);
      border-radius: 4px;
      text-decoration: none; color: inherit;
      transition: all 0.2s ease;
      position: relative; overflow: hidden;
    }
    .ch-row::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(255,107,53,0) 0%, transparent 100%);
      transition: opacity 0.3s;
      opacity: 0;
    }
    .ch-row.on-air {
      border-left-color: var(--flame-core);
      background: linear-gradient(135deg, rgba(255,107,53,0.07) 0%, var(--cave-wall) 50%);
    }
    .ch-row:hover {
      border-left-color: var(--flame-edge);
      transform: translateX(4px);
      box-shadow: -4px 0 20px rgba(255,107,53,0.1);
    }
    .ch-row-num {
      font-family: var(--font-mono);
      font-size: 1.6rem; font-weight: 600;
      color: rgba(255,255,255,0.08);
      min-width: 3rem; line-height: 1;
      transition: color 0.2s;
    }
    .ch-row.on-air .ch-row-num { color: var(--flame-core); opacity: 0.7; }
    .ch-row:hover .ch-row-num { color: var(--cave-dim); opacity: 1; }
    .ch-row-icon { font-size: 1.4rem; flex-shrink: 0; }
    .ch-row-info { flex: 1; min-width: 0; }
    .ch-row-name {
      font-family: var(--font-mono);
      font-size: 0.82rem; font-weight: 600;
      color: var(--cave-glow);
      display: block; letter-spacing: 0.06em;
    }
    .ch-row-tags {
      font-size: 0.62rem; color: var(--cave-dim); margin-top: 0.2rem;
    }
    .ch-row-status { flex-shrink: 0; }
    .live-badge {
      font-family: var(--font-mono); font-size: 0.55rem; font-weight: 700;
      color: var(--flame-core);
      background: rgba(255,107,53,0.12);
      border: 1px solid rgba(255,107,53,0.35);
      padding: 0.25rem 0.6rem; border-radius: 2px;
      display: flex; align-items: center; gap: 0.35rem;
      letter-spacing: 0.1em;
    }
    .live-pulse {
      width: 5px; height: 5px; border-radius: 50%;
      background: var(--flame-core);
      animation: pulse-dot 1.4s ease-in-out infinite;
    }
    .off-badge {
      font-family: var(--font-mono); font-size: 0.55rem;
      color: rgba(255,255,255,0.12); letter-spacing: 0.1em;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,107,53,0.4); }
      50% { opacity: 0.5; transform: scale(0.7); box-shadow: 0 0 0 4px rgba(255,107,53,0); }
    }

    /* ── Quartet Grid ── */
    .quartet-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.75rem;
    }
    .quartet-card {
      display: flex; flex-direction: column;
      align-items: center; gap: 0.25rem;
      padding: 1rem 0.5rem;
      background: var(--cave-wall);
      border: 1px solid var(--cave-faint);
      border-radius: 4px;
      text-decoration: none; color: inherit;
      transition: all 0.3s ease;
    }
    .quartet-card:hover {
      border-color: var(--cave-dim);
      transform: translateY(-2px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    .quartet-card.active {
      border-color: var(--flame-core);
      box-shadow: 0 0 15px rgba(255,107,53,0.15);
    }
    .quartet-domain {
      font-family: var(--font-mono);
      font-size: 0.75rem; font-weight: 600;
      color: var(--cave-glow);
    }
    .quartet-role { font-size: 0.6rem; color: var(--cave-dim); text-align: center; }
    .quartet-badge {
      font-size: 0.5rem; padding: 0.15rem 0.4rem;
      border-radius: 2px; margin-top: 0.25rem;
    }
    .badge-raw { background: var(--zone-parksy); color: white; }
    .badge-biz { background: var(--zone-dtslib); color: white; }
    .badge-edu { background: var(--zone-eae); color: white; }
    .badge-hub { background: var(--broadcast-purple); color: white; }
    @media (max-width: 480px) {
      .quartet-grid { grid-template-columns: repeat(2, 1fr); }
      .ch-row-num { font-size: 1.1rem; min-width: 2rem; }
    }

    /* ── B3 PO Routing display ── */
    .po-routing-display {
      display: flex; align-items: center; gap: 0.75rem;
      padding: 0.5rem 0.75rem; margin-top: 0.5rem;
      background: var(--cave-deep); border: 1px solid var(--cave-faint);
      border-radius: 3px; font-family: var(--font-mono); font-size: 0.65rem;
    }
    .po-routing-label { color: var(--cave-dim); }
    .po-routing-target { color: var(--flame-core); font-weight: 600; flex: 1; }
    .po-routing-auto { font-size: 0.6rem; }

    /* ── B4 Office Dashboard ── */
    .b4-kpi-strip {
      display: flex; gap: 0; margin: 0 0 1.5rem;
      border: 1px solid var(--cave-faint);
      border-radius: 4px; overflow: hidden;
    }
    .b4-kpi {
      flex: 1; display: flex; flex-direction: column;
      align-items: center; padding: 0.75rem 0.5rem;
      border-right: 1px solid var(--cave-faint);
      text-align: center;
    }
    .b4-kpi:last-child { border-right: none; }
    .b4-kpi span:first-child {
      font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600;
      color: var(--flame-core);
    }
    .b4-kpi span:last-child {
      font-size: 0.55rem; color: var(--cave-dim);
      text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.2rem;
    }
    .b4-section-title {
      font-family: var(--font-mono); font-size: 0.58rem; font-weight: 600;
      color: var(--cave-dim); letter-spacing: 0.15em; text-transform: uppercase;
      padding: 0.6rem 0; margin: 1rem 0 0.5rem;
      border-top: 1px solid var(--cave-faint);
    }
    .b4-matrix-header {
      display: grid; grid-template-columns: 100px repeat(5, 1fr);
      gap: 2px; margin-bottom: 2px;
    }
    .b4-mh-label, .b4-mh-col {
      font-family: var(--font-mono); font-size: 0.55rem;
      color: var(--cave-dim); letter-spacing: 0.08em;
      padding: 0.4rem 0.5rem; background: var(--cave-deep);
      text-align: center; text-transform: uppercase;
    }
    .b4-mh-label { text-align: left; }
    .b4-mh-col.b4-axis1 { color: #6baaff; }
    .b4-mh-col.b4-axis2 { color: var(--flame-core); }
    .b4-matrix-row {
      display: grid; grid-template-columns: 100px repeat(5, 1fr);
      gap: 2px; margin-bottom: 2px;
    }
    .b4-persona-cell {
      font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
      color: var(--cave-glow); padding: 0.6rem 0.5rem;
      background: var(--cave-wall); border-left: 3px solid var(--flame-core);
      display: flex; align-items: center;
    }
    .b4-prog-cell {
      padding: 0.5rem; background: var(--cave-wall);
      border: 1px solid var(--cave-faint);
      display: flex; flex-direction: column; gap: 0.2rem;
    }
    .b4-prog-cell.axis1 { border-top: 2px solid rgba(107,170,255,0.4); }
    .b4-prog-cell.axis2 { border-top: 2px solid rgba(255,107,53,0.4); }
    .b4-prog-cell.status-active { background: rgba(255,107,53,0.04); }
    .b4-prog-name {
      font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
      color: var(--cave-glow);
    }
    .b4-prog-status {
      font-size: 0.52rem; font-family: var(--font-mono);
    }
    .b4-prog-status.active { color: var(--flame-core); }
    .b4-prog-status.planned { color: var(--cave-dim); }
    .b4-roadmap {
      display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem;
    }
    .b4-phase {
      display: flex; align-items: baseline; gap: 0.75rem;
      padding: 0.6rem 1rem; background: var(--cave-wall);
      border: 1px solid var(--cave-faint);
      border-left: 3px solid var(--cave-dim);
      border-radius: 3px;
    }
    .b4-phase.done { border-left-color: var(--cave-dim); opacity: 0.6; }
    .b4-phase.active { border-left-color: var(--flame-core); background: rgba(255,107,53,0.04); }
    .b4-phase-label {
      font-family: var(--font-mono); font-size: 0.55rem;
      color: var(--cave-dim); min-width: 3.5rem;
    }
    .b4-phase-name {
      font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
      color: var(--cave-glow); min-width: 8rem;
    }
    .b4-phase.active .b4-phase-name { color: var(--flame-core); }
    .b4-phase-desc { font-size: 0.62rem; color: var(--cave-dim); }
    @media(max-width:600px) {
      .b4-matrix-header, .b4-matrix-row {
        grid-template-columns: 70px repeat(5, 1fr);
      }
      .b4-prog-name { font-size: 0.52rem; }
      .b4-kpi-strip { flex-wrap: wrap; }
      .b4-kpi { min-width: 30%; }
      .b4-phase { flex-direction: column; gap: 0.2rem; }
    }

    /* ── LOBBY MURAL — 78vh Hero ── */
    .lobby-mural {
      min-height: 78vh;
      display: flex; flex-direction: column;
      justify-content: center; align-items: center;
      text-align: center;
      padding: var(--space-cavern) var(--space-room) var(--space-chamber);
    }
    .lobby-mural .station-masthead {
      display: flex; flex-direction: column;
      align-items: center; gap: 0;
    }

    /* Station title — bigger than default */
    .lobby-mural .station-title {
      font-size: clamp(2.8rem, 9vw, 4.5rem);
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1.05;
      margin: var(--space-step) 0 var(--space-room);
    }

    /* ── Korean × AI Identity Line ── */
    .station-kr-axis {
      display: flex; align-items: baseline; gap: 0.6rem;
      margin-bottom: var(--space-chamber);
      opacity: 0;
      animation: emerge 1.2s 1.8s forwards;
    }
    .kr-axis-word {
      font-family: 'Noto Serif KR', Georgia, serif;
      font-size: 1.6rem; font-weight: 300;
      color: var(--cave-glow);
      letter-spacing: 0.12em;
    }
    .kr-axis-sep {
      font-family: var(--font-mono);
      font-size: 0.9rem; color: var(--cave-faint);
    }
    .kr-axis-tech {
      font-family: var(--font-mono);
      font-size: 0.75rem; font-weight: 600;
      color: #4ecdc4; letter-spacing: 0.2em;
    }

    /* ── KR Merit Whisper ── */
    .merit-whisper {
      font-family: 'Noto Serif KR', Georgia, serif;
      font-size: 0.68rem; color: var(--cave-faint);
      letter-spacing: 0.04em; line-height: 2;
      opacity: 0;
      animation: emerge 2s 3s forwards;
    }

    /* ── THE QUESTION — Own Section ── */
    .the-question {
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      min-height: 32vh;
      padding: var(--space-cavern) var(--space-room);
      text-align: center;
      border-top: 1px solid var(--cave-faint);
      border-bottom: 1px solid var(--cave-faint);
      margin-bottom: var(--space-chamber);
      position: relative;
    }
    .question-ornament {
      font-family: var(--font-mono);
      font-size: 0.6rem; color: var(--cave-faint);
      letter-spacing: 0.4em;
      margin-bottom: var(--space-room);
    }
    .question-text {
      font-family: 'Noto Serif KR', Georgia, serif;
      font-size: clamp(1.2rem, 4vw, 1.9rem);
      font-weight: 300;
      color: var(--cave-glow);
      line-height: 1.8;
      margin-bottom: var(--space-room);
      letter-spacing: 0.02em;
    }
    .question-answer {
      font-family: var(--font-mono);
      font-size: 0.58rem; color: var(--cave-dim);
      letter-spacing: 0.12em; text-transform: uppercase;
      max-width: 40ch; line-height: 1.8;
    }

    /* ── Channel Merit Reveal (hover) ── */
    .ch-row-merit {
      font-family: 'Noto Serif KR', Georgia, serif;
      font-size: 0.6rem;
      color: var(--flame-core);
      margin-top: 0.4rem;
      opacity: 0;
      transform: translateY(3px);
      transition: opacity 0.35s ease, transform 0.35s ease;
      display: block;
      letter-spacing: 0.03em;
    }
    .ch-row:hover .ch-row-merit {
      opacity: 0.85;
      transform: translateY(0);
    }

    @media (max-width: 480px) {
      .lobby-mural { min-height: 65vh; }
      .kr-axis-word { font-size: 1.2rem; }
      .question-text { font-size: 1.1rem; }
    }

    /* ══ B1 ON AIR SCHEDULE ══════════════════════════════════════ */
    .sched-header {
      padding-bottom: var(--space-chamber);
      border-bottom: 1px solid var(--cave-faint);
      margin-bottom: var(--space-chamber);
    }
    .sched-header-top {
      display: flex; align-items: center; gap: 0.75rem;
      margin-bottom: var(--space-step);
    }
    .sched-b1-badge {
      font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700;
      color: #7b68ee; background: rgba(123,104,238,0.14);
      padding: 0.2rem 0.65rem; border-radius: 3px; letter-spacing: 0.12em;
    }
    .sched-live-strip {
      display: flex; align-items: center; gap: 0.4rem;
    }
    .sched-live-label {
      font-family: var(--font-mono); font-size: 0.58rem; font-weight: 600;
      color: var(--cave-dim); letter-spacing: 0.16em;
    }
    .sched-title {
      font-family: var(--font-mono); font-size: clamp(1.3rem, 4vw, 1.8rem);
      font-weight: 700; color: var(--cave-glow);
      margin: 0 0 var(--space-step); letter-spacing: -0.01em;
    }
    .sched-sub {
      font-size: 0.72rem; color: var(--cave-dim);
      margin: 0 0 var(--space-room);
    }
    .sched-stats {
      display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
    }
    .sched-stat {
      font-family: var(--font-mono); font-size: 0.58rem;
      color: var(--cave-dim); letter-spacing: 0.1em;
      display: flex; align-items: baseline; gap: 0.22rem;
    }
    .sched-stat-n { font-size: 0.88rem; font-weight: 700; color: #7b68ee; }
    .sched-stat-sep { color: var(--cave-faint); font-size: 0.6rem; }

    /* Filter Bar */
    .sched-filters {
      display: flex; flex-direction: column; gap: 0.55rem;
      padding: var(--space-room) 0 var(--space-chamber);
      border-bottom: 1px solid var(--cave-faint);
      margin-bottom: var(--space-chamber);
    }
    .sched-fgrp { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
    .sched-flabel {
      font-family: var(--font-mono); font-size: 0.52rem; font-weight: 700;
      color: var(--cave-faint); letter-spacing: 0.16em;
      min-width: 4.5rem; text-transform: uppercase;
    }
    .sched-fbtns { display: flex; gap: 0.3rem; flex-wrap: wrap; }
    .sched-fbt {
      font-family: var(--font-mono); font-size: 0.56rem; font-weight: 600;
      color: var(--cave-dim); background: transparent;
      border: 1px solid var(--cave-faint);
      padding: 0.2rem 0.58rem; border-radius: 2px;
      cursor: pointer; letter-spacing: 0.08em;
      transition: all 0.15s;
    }
    .sched-fbt:hover { border-color: var(--cave-dim); color: var(--cave-glow); }
    .sched-fbt.active {
      background: rgba(123,104,238,0.18);
      border-color: #7b68ee; color: #a89ff5;
    }

    /* Schedule Grid */
    .sched-grid { display: flex; flex-direction: column; gap: 0.4rem; }

    .sched-ch-block {
      border: 1px solid var(--cave-faint); border-radius: 4px; overflow: hidden;
      transition: border-color 0.2s;
    }
    .sched-ch-block[data-hidden="true"] { display: none; }

    .sched-ch-hd {
      display: flex; align-items: center; gap: 0.75rem;
      padding: 0.8rem 1rem; cursor: pointer;
      background: var(--cave-wall); border-left: 4px solid transparent;
      user-select: none; transition: background 0.15s;
    }
    .sched-ch-hd:hover { background: rgba(255,255,255,0.02); }
    .sched-ch-num {
      font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700;
      min-width: 2.2rem; line-height: 1;
    }
    .sched-ch-meta { flex: 1; min-width: 0; }
    .sched-ch-name {
      font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
      color: var(--cave-glow); letter-spacing: 0.08em; display: block;
    }
    .sched-ch-cnt {
      font-size: 0.56rem; color: var(--cave-dim);
      margin-top: 0.12rem; display: block;
    }
    .sched-ch-icon { font-size: 1.1rem; }
    .sched-ch-caret {
      font-family: var(--font-mono); font-size: 0.6rem; color: var(--cave-faint);
      margin-left: auto; transition: transform 0.2s;
    }
    .sched-ch-block[data-open="false"] .sched-ch-caret { transform: rotate(-90deg); }

    .sched-prog-list { border-top: 1px solid var(--cave-faint); }
    .sched-ch-block[data-open="false"] .sched-prog-list { display: none; }

    .sched-prog-row {
      display: flex; align-items: center; gap: 0.7rem;
      padding: 0.6rem 1rem 0.6rem 1.5rem;
      border-bottom: 1px solid rgba(255,255,255,0.025);
      text-decoration: none; color: inherit;
      transition: background 0.12s; position: relative;
    }
    .sched-prog-row:last-child { border-bottom: none; }
    .sched-prog-row:hover { background: rgba(255,255,255,0.022); }
    .sched-prog-row[data-hidden="true"] { display: none; }

    .sched-prog-text { flex: 1; min-width: 0; }
    .sched-prog-name {
      font-size: 0.77rem; font-weight: 500; color: var(--cave-glow); display: block;
    }
    .sched-prog-desc {
      font-size: 0.6rem; color: var(--cave-dim); margin-top: 0.12rem; display: block;
    }
    .sched-badges { display: flex; align-items: center; gap: 0.32rem; flex-shrink: 0; }
    .sched-fmt {
      font-family: var(--font-mono); font-size: 0.48rem; font-weight: 700;
      padding: 0.13rem 0.42rem; border-radius: 2px; letter-spacing: 0.08em;
    }
    .sched-fmt-VIDEO   { background: rgba(255,107,53,0.14); color: #ff8c6a; }
    .sched-fmt-TEXT    { background: rgba(78,205,196,0.12); color: #4ecdc4; }
    .sched-fmt-WEBTOON { background: rgba(123,104,238,0.15); color: #a89ff5; }
    .sched-fmt-AUDIO   { background: rgba(244,211,94,0.12); color: #f4d35e; }
    .sched-merit {
      font-family: 'Noto Serif KR', serif; font-size: 0.5rem; color: var(--cave-dim);
      padding: 0.12rem 0.38rem;
      border: 1px solid rgba(255,255,255,0.06); border-radius: 2px; white-space: nowrap;
    }
    .sched-arrow {
      font-family: var(--font-mono); font-size: 0.58rem; color: var(--cave-faint);
      flex-shrink: 0; transition: color 0.12s, transform 0.12s;
    }
    .sched-prog-row:hover .sched-arrow { color: var(--cave-dim); transform: translateX(3px); }

    /* No-results message */
    .sched-empty {
      padding: 2rem; text-align: center;
      font-family: var(--font-mono); font-size: 0.68rem; color: var(--cave-faint);
      letter-spacing: 0.1em; display: none;
    }
    .sched-empty.visible { display: block; }

    @media(max-width:480px) {
      .sched-merit { display: none; }
      .sched-flabel { min-width: 3.5rem; }
      .sched-fbt { font-size: 0.52rem; padding: 0.18rem 0.48rem; }
    }

    /* ── B1 Episode Matrix ── */
    .ep-matrix-wrap { margin: 1.5rem 0 0.5rem; }
    .ep-matrix-label {
      font-family: var(--font-mono); font-size: 0.58rem; font-weight: 700;
      color: var(--cave-dim); letter-spacing: 0.15em; text-transform: uppercase;
      padding: 0.6rem 0 0.5rem; border-top: 1px solid var(--cave-faint);
      display: flex; align-items: center; gap: 0.5rem;
    }
    .ep-selectors {
      display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem;
    }
    .ep-sel-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
    .ep-sel-axis {
      font-family: var(--font-mono); font-size: 0.52rem; font-weight: 700;
      letter-spacing: 0.1em; min-width: 3rem; text-transform: uppercase;
    }
    .ep-sel-axis.why { color: var(--flame-core, #ff6b35); }
    .ep-sel-axis.what { color: #6baaff; }
    .ep-btn {
      font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
      padding: 0.28rem 0.65rem; border-radius: 2px; cursor: pointer;
      transition: all 0.15s; letter-spacing: 0.06em; border: 1px solid;
    }
    .ep-btn.why  { color: var(--cave-dim); border-color: var(--cave-faint); background: transparent; }
    .ep-btn.what { color: var(--cave-dim); border-color: var(--cave-faint); background: transparent; }
    .ep-btn.why.sel  { color: var(--flame-core); border-color: var(--flame-core); background: rgba(255,107,53,0.08); }
    .ep-btn.what.sel { color: #6baaff; border-color: #6baaff; background: rgba(107,170,255,0.08); }
    .ep-result {
      display: none; padding: 1rem 1.25rem; margin: 0.5rem 0 1rem;
      background: var(--cave-deep, #111);
      border: 1px solid rgba(255,107,53,0.25);
      border-left: 3px solid var(--flame-core, #ff6b35);
      border-radius: 3px;
    }
    .ep-result.show { display: block; }
    .ep-result-combo {
      font-family: var(--font-mono); font-size: 0.55rem; color: var(--cave-dim);
      letter-spacing: 0.1em; margin-bottom: 0.5rem; text-transform: uppercase;
    }
    .ep-result-prop {
      font-size: 0.9rem; font-weight: 600; color: var(--cave-glow);
      line-height: 1.65; margin-bottom: 0.75rem;
    }
    .ep-result-pipe {
      display: flex; gap: 0.3rem; flex-wrap: wrap; align-items: center;
      font-family: var(--font-mono); font-size: 0.5rem; color: var(--cave-faint);
    }
    .ep-pipe-step {
      padding: 0.1rem 0.4rem; border: 1px solid var(--cave-faint);
      border-radius: 2px; color: var(--cave-dim);
    }
    .ep-pipe-arrow { color: var(--cave-faint); }

    /* ── Graph Module — B2 / B3 ── */
    .graph-wrap {
      position: relative;
      width: 100%;
      height: 320px;
      background: var(--cave-deep, #111);
      border: 1px solid rgba(255,107,53,0.1);
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 1rem;
    }
    .graph-canvas { display: block; touch-action: none; }
    .graph-tip {
      position: absolute; top: 0; left: 0;
      background: rgba(20,20,20,0.96);
      border: 1px solid var(--flame-core, #ff6b35);
      border-radius: 6px;
      padding: 7px 11px;
      font-size: 0.68rem; line-height: 1.5;
      color: var(--cave-glow, #e8e8e8);
      pointer-events: none; opacity: 0;
      transition: opacity 0.12s;
      max-width: 180px; z-index: 10;
    }
    .graph-tip strong { display: block; color: var(--flame-core, #ff6b35); font-size: 0.72rem; }
    .graph-tip span   { color: #888; font-size: 0.62rem; }
    .graph-legend {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5px 10px;
      margin-bottom: 0.5rem;
    }
    .graph-leg-row {
      display: flex; align-items: center; gap: 7px;
      font-size: 0.62rem;
      color: var(--cave-dim, #555);
      font-family: var(--font-mono, monospace);
    }
    .graph-dot {
      width: 8px; height: 8px;
      border-radius: 50%; flex-shrink: 0;
    }
    .graph-dot.sec { background: #2a2a2a; border: 1px solid #444; }
    .graph-hint {
      text-align: center; font-size: 0.58rem;
      color: var(--cave-dim, #555);
      letter-spacing: 0.08em;
      font-family: var(--font-mono, monospace);
    }
    /* Floor badge accent colors */
    .floor-badge.b2 { background: rgba(78,205,196,0.12); color: #4ecdc4; border-color: rgba(78,205,196,0.28); }
    .floor-badge.b3 { background: rgba(244,211,94,0.12);  color: #f4d35e; border-color: rgba(244,211,94,0.28); }
    /* B4 inner sections */
    .b4-inner-section { margin-bottom: 1.5rem; }
    .b4-platform-grid {
      display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
      margin-bottom: 1.5rem;
    }
    .b4-plat-card {
      display: flex; flex-direction: column; align-items: center;
      gap: 4px; padding: 10px 6px;
      background: var(--cave-wall, #1a1a1a);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 8px;
      text-decoration: none;
      color: var(--cave-glow, #e8e8e8);
      font-family: var(--font-mono, monospace);
      font-size: 0.6rem; text-align: center;
      transition: border-color 0.15s;
    }
    .b4-plat-card:active { border-color: rgba(255,107,53,0.4); }
    .b4-plat-icon { font-size: 1.2rem; }
    .b4-plat-name { color: #888; }
