      /* ---------- FORM ---------- */
      .field {
        margin-bottom: 18px;
      }
      .field > label {
        display: block;
        font-family: var(--font-mono);
        font-size: 10.5px;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--paper-soft);
        margin-bottom: 7px;
      }
      .field input[type="text"],
      .field input[type="date"],
      .field input[type="number"],
      .field textarea,
      .field select {
        width: 100%;
        font-family: var(--font-body);
        font-size: 14.5px;
        color: var(--paper-ink);
        background: #fff;
        border: 1px solid var(--paper-edge);
        border-radius: 8px;
        padding: 11px 13px;
      }
      .field textarea {
        min-height: 80px;
        resize: vertical;
        line-height: 1.5;
      }
      .opt-note {
        font-weight: 400;
        text-transform: none;
        letter-spacing: 0;
        color: var(--paper-soft);
        font-size: 11px;
      }
      .field input::-webkit-calendar-picker-indicator,
      .field input::-webkit-list-button {
        display: none !important;
      }
      .field input:focus,
      .field textarea:focus,
      .field select:focus {
        outline: none;
        border-color: var(--gold-deep);
        box-shadow: 0 0 0 3px rgba(231, 163, 56, 0.22);
      }
      .field .hint {
        font-size: 11.5px;
        color: var(--paper-soft);
        margin-top: 6px;
      }
      .rate-pick {
        display: inline-flex;
        gap: 6px;
        border-radius: 8px;
      }
      .rate-pick button {
        background: none;
        border: none;
        padding: 3px;
        cursor: pointer;
        line-height: 0;
        border-radius: 6px;
      }
      .rate-pick button svg {
        width: 28px;
        height: 28px;
        fill: none;
        stroke: var(--paper-edge);
        stroke-width: 1.8;
        transition:
          fill 0.12s,
          stroke 0.12s;
      }
      .rate-pick button:hover svg {
        stroke: var(--gold-deep);
      }
      .rate-pick button.on svg {
        fill: var(--gold);
        stroke: var(--gold-deep);
      }
      #seasonsField,
      #franchiseField {
        display: none;
      }
      /* ---------- TITLE SEARCH (TMDB autofill) ---------- */
      .combo {
        position: relative;
      }
      .combo-status {
        font-family: var(--font-mono);
        font-size: 11px;
        letter-spacing: 0.03em;
        color: var(--paper-soft);
        margin-top: 7px;
        line-height: 1.4;
      }
      .combo-status.err {
        color: var(--red);
      }
      .combo-status:empty {
        display: none;
      }
      .combo-list {
        position: absolute;
        z-index: 6;
        left: 0;
        right: 0;
        top: calc(100% + 6px);
        margin: 0;
        padding: 6px;
        list-style: none;
        background: #fff;
        border: 1px solid var(--paper-edge);
        border-radius: 10px;
        box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
        max-height: 330px;
        overflow-y: auto;
      }
      .combo-list[hidden] {
        display: none;
      }
      .opt {
        display: flex;
        gap: 12px;
        align-items: center;
        padding: 7px;
        border-radius: 8px;
        cursor: pointer;
      }
      .opt:hover,
      .opt.active {
        background: var(--paper);
      }
      .opt-thumb {
        width: 38px;
        height: 57px;
        flex: 0 0 auto;
        border-radius: 4px;
        object-fit: cover;
        background: var(--paper-2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--paper-soft);
        font-family: var(--font-mono);
        font-size: 8px;
        letter-spacing: 0.05em;
      }
      .opt-main {
        min-width: 0;
        flex: 1;
      }
      .opt-title {
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 14px;
        color: var(--paper-ink);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .opt-sub {
        font-family: var(--font-mono);
        font-size: 10px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--paper-soft);
        display: flex;
        gap: 8px;
        margin-top: 3px;
      }
      .opt-badge {
        color: var(--gold-deep);
        font-weight: 700;
      }
      .opt-badge.tv {
        color: var(--red);
      }
      .tmdb-hint {
        font-family: var(--font-mono);
        font-size: 11px;
        letter-spacing: 0.02em;
        color: var(--paper-soft);
        margin-top: 8px;
        display: flex;
        gap: 6px;
        align-items: center;
        flex-wrap: wrap;
      }
      .linkbtn {
        color: var(--gold-deep);
        text-decoration: underline;
        cursor: pointer;
        background: none;
        border: none;
        font: inherit;
        padding: 0;
      }
      .key-panel {
        margin-top: 10px;
        padding: 13px;
        border: 1px dashed var(--paper-edge);
        border-radius: 8px;
        background: #fff8ec;
      }
      .key-panel[hidden] {
        display: none;
      }
      .key-panel p {
        font-size: 12.5px;
        color: var(--paper-soft);
        margin-bottom: 9px;
        line-height: 1.5;
      }
      .key-panel a {
        color: var(--gold-deep);
      }
      .key-row {
        display: flex;
        gap: 8px;
      }
      .key-row input {
        flex: 1;
        font-family: var(--font-mono);
        font-size: 13px;
        color: var(--paper-ink);
        background: #fff;
        border: 1px solid var(--paper-edge);
        border-radius: 8px;
        padding: 9px 11px;
      }
      .spin {
        display: inline-block;
        width: 11px;
        height: 11px;
        border: 2px solid rgba(28, 22, 16, 0.25);
        border-top-color: var(--gold-deep);
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
        vertical-align: -1px;
        margin-right: 6px;
      }
      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .spin {
          animation: none;
        }
      }
      /* auto-fill preview */
      #draftPreview:empty {
        display: none;
      }
      #draftPreview {
        margin: 2px 0 18px;
      }
      .draft-empty {
        font-family: var(--font-mono);
        font-size: 11.5px;
        color: var(--paper-soft);
        letter-spacing: 0.02em;
        line-height: 1.5;
        padding: 16px;
        border: 1px dashed var(--paper-edge);
        border-radius: 8px;
        text-align: center;
      }
      .draft-card {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 12px;
        border: 1px solid var(--paper-edge);
        border-radius: 10px;
        background: #fff;
        border-left: 4px solid var(--gold);
      }
      .draft-card.tv {
        border-left-color: var(--red);
      }
      .dp-thumb {
        position: relative;
        width: 86px;
        flex: 0 0 auto;
        aspect-ratio: 2/3;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(165deg, #26200f, #13100b);
        box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.7);
      }
      .dp-thumb.tv {
        background: linear-gradient(165deg, #261313, #13100b);
      }
      .dp-thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .dp-thumb .dp-ph {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold);
        opacity: 0.8;
      }
      .dp-thumb.tv .dp-ph {
        color: var(--red);
      }
      .dp-thumb .dp-ph svg {
        width: 26px;
        height: 26px;
      }
      .dp-body {
        min-width: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 9px;
        padding-top: 2px;
      }
      .dp-line {
        font-family: var(--font-mono);
        font-size: 11px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--paper-soft);
        display: flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
      }
      .dp-badge {
        color: var(--gold-deep);
        font-weight: 700;
      }
      .dp-badge.tv {
        color: var(--red);
      }
      .dp-tags {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
      }
      .dp-cast {
        font-size: 13px;
        line-height: 1.5;
        color: var(--paper-ink);
      }
      .dp-cast .dp-k {
        font-family: var(--font-mono);
        font-size: 9.5px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--paper-soft);
        margin-right: 6px;
      }

      /* ---------- TOAST ---------- */
      .toast[hidden] {
        display: none;
      }
      .toast {
        position: fixed;
        left: 50%;
        bottom: 26px;
        transform: translateX(-50%);
        z-index: 80;
        background: var(--paper);
        color: var(--paper-ink);
        font-family: var(--font-mono);
        font-size: 12px;
        letter-spacing: 0.05em;
        padding: 12px 18px;
        border-radius: 8px;
        border-left: 4px solid var(--gold);
        box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 1);
        animation: rise 0.22s ease;
        max-width: calc(100vw - 32px);
      }

      footer {
        margin-top: 48px;
        text-align: center;
        font-family: var(--font-mono);
        font-size: 11px;
        letter-spacing: 0.1em;
        color: var(--muted);
        text-transform: uppercase;
      }

      /* --accent is gold on The Reel and green on The Ledger, so the ring
         follows the section rather than always reading as the Reel's */
      :focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
        border-radius: 4px;
      }

      @media (max-width: 560px) {
        .marquee {
          align-items: flex-start;
        }
        .tally {
          text-align: left;
        }
        .facts {
          grid-template-columns: 1fr;
        }
        .two {
          grid-template-columns: 1fr;
        }
        .rail-row.spread {
          align-items: stretch;
          flex-direction: column;
        }
        .sheet-head {
          flex-direction: column;
          align-items: center;
          text-align: center;
        }
        .cover-wrap {
          width: 150px;
        }
        .sheet-sub {
          justify-content: center;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        * {
          animation: none !important;
          transition: none !important;
        }
        .ticket:hover {
          transform: none;
        }
        .perf-fx {
          display: none;
        }
        .openfx {
          display: none !important;
        }
      }

