/* Movy stylesheet.
   Layers, lowest first: reset, base, frame (header, dock, footer), parts (buttons, cards, rows),
   pages (stage, landing, lists, title pages), states (engine-required classes, motion).
   Colours are OKLCH; one red accent. Class prefix: orb-. */

@layer reset, base, frame, parts, pages, states;

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --orb-ink: oklch(95.7% 0.007 261);
  --orb-ink-2: oklch(80% 0.012 261);
  --orb-mute: oklch(66.4% 0.029 262);
  --orb-night: oklch(12.7% 0.009 254);
  --orb-deck-1: oklch(16.7% 0.012 254);
  --orb-deck-2: oklch(21.3% 0.019 262);
  --orb-deck-3: oklch(25.9% 0.025 261);
  --orb-edge: oklch(31.7% 0.031 264);
  --orb-red: oklch(57.7% 0.215 27);
  --orb-red-hi: oklch(71.1% 0.166 22);
  --orb-red-deep: oklch(48% 0.193 28);
  --orb-glass: oklch(21.3% 0.019 262 / 0.58);
  --orb-veil: oklch(100% 0 0 / 0.08);
  --orb-gap: 12px;
  --orb-gutter: clamp(16px, 5.8vw, 84px);
  --orb-curve: 8px;
  --orb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --orb-face: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Hiragino Sans",
    "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --orb-shift: 0px;
  --orb-dock-h: 0px;
  color-scheme: dark;
}
/* custom-property overrides stay outside the layers: an unlayered :root would beat them otherwise */
@media (max-width: 899px) { :root { --orb-dock-h: calc(62px + env(safe-area-inset-bottom)); } }
@media (max-width: 699px) { :root { --orb-gap: 10px; } }

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, picture, svg, video, iframe { display: block; max-inline-size: 100%; }
  input, button, select, textarea { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }
  [hidden] { display: none !important; }
}

@layer base {
  html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: 96px; }
  body {
    background: var(--orb-night);
    color: var(--orb-ink);
    font: 400 15px/1.5 var(--orb-face);
    -webkit-font-smoothing: antialiased;
    min-block-size: 100vh;
    overflow-x: clip;
  }
  :focus-visible { outline: 2px solid var(--orb-red-hi); outline-offset: 2px; border-radius: 4px; }
  ::selection { background: var(--orb-red); color: #fff; }
  .orb-wrap { inline-size: min(100% - 2 * var(--orb-gutter), 1272px); margin-inline: auto; }
  .orb-sr {
    position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .orb-skip {
    position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100;
    background: var(--orb-ink); color: var(--orb-night); padding: 8px 14px; border-radius: 6px;
    font-weight: 600; transform: translateY(-160%); transition: transform 0.2s;
  }
  .orb-skip:focus { transform: none; }
  .orb-main { display: block; min-block-size: 60vh; }
  .orb-score::before { content: "\2605"; color: var(--orb-red); margin-inline-end: 3px; }
}

/* ---------- frame: notice, header, dock, sheet, footer ---------- */
@layer frame {
  .orb-notice {
    position: relative; z-index: 60;
    background: linear-gradient(90deg, var(--orb-red-deep), var(--orb-red));
    color: #fff; font-size: 13px;
  }
  .orb-notice__row { display: flex; align-items: center; gap: 10px; min-block-size: 40px; padding-block: 6px; }
  .orb-notice__pip { inline-size: 7px; block-size: 7px; border-radius: 50%; background: #fff; flex: none; }
  .orb-notice__text { flex: 1 1 auto; min-inline-size: 0; }
  .orb-notice__cta {
    flex: none; font-weight: 600; padding: 4px 12px; border-radius: 999px;
    background: oklch(100% 0 0 / 0.18); white-space: nowrap;
  }
  .orb-notice__x { flex: none; inline-size: 28px; block-size: 28px; display: grid; place-items: center; border-radius: 50%; }
  .orb-notice__x:hover { background: oklch(100% 0 0 / 0.16); }

  .orb-top {
    position: fixed; inset-inline: 0; inset-block-start: var(--orb-shift); z-index: 50;
    transition: background-color 0.3s, box-shadow 0.3s;
  }
  .orb-top.is-solid {
    background: oklch(12.7% 0.009 254 / 0.88);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--orb-veil);
  }
  .orb-top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; block-size: 76px; }
  .orb-brand { flex: none; display: block; }
  .orb-brand img { inline-size: 40px; block-size: 40px; object-fit: contain; }
  .orb-pill {
    display: flex; align-items: center; gap: 2px; padding: 4px;
    background: var(--orb-glass); border: 1px solid var(--orb-veil); border-radius: 14px;
    backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
    min-inline-size: 0;
  }
  .orb-pill__list { display: flex; align-items: center; gap: 2px; }
  .orb-pill__link {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px;
    font-size: 13px; font-weight: 500; color: var(--orb-ink-2); white-space: nowrap;
    transition: color 0.2s, background-color 0.2s; list-style: none;
  }
  .orb-pill__link::-webkit-details-marker { display: none; }
  .orb-pill__link:hover { color: #fff; }
  .orb-pill__link.is-here { color: #fff; background: oklch(100% 0 0 / 0.1); }
  .orb-pill__rule { inline-size: 1px; block-size: 18px; background: var(--orb-veil); margin-inline: 6px; }
  .orb-pill__icon {
    inline-size: 34px; block-size: 34px; display: grid; place-items: center; border-radius: 10px;
    color: var(--orb-ink-2); flex: none;
  }
  .orb-pill__icon:hover { color: #fff; background: oklch(100% 0 0 / 0.08); }
  .orb-drop { position: relative; }
  .orb-drop > summary { cursor: pointer; }
  .orb-drop[open] > summary { color: #fff; background: oklch(100% 0 0 / 0.08); }
  .orb-drop__panel {
    position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: -40px; z-index: 5;
    inline-size: 340px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px;
    background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); border-radius: 12px;
    box-shadow: 0 18px 40px oklch(0% 0 0 / 0.5);
  }
  .orb-drop__panel a { padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--orb-ink-2); }
  .orb-drop__panel a:hover { background: var(--orb-deck-2); color: #fff; }
  .orb-top__seek {
    display: none; inline-size: 40px; block-size: 40px; place-items: center; border-radius: 12px;
    background: var(--orb-glass); border: 1px solid var(--orb-veil);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); flex: none;
  }

  .orb-dock { display: none; }
  .orb-sheet {
    position: fixed; inset: 0; z-index: 70; background: oklch(0% 0 0 / 0.6);
    display: flex; align-items: flex-end;
  }
  .orb-sheet__card {
    inline-size: 100%; max-block-size: 82vh; overflow-y: auto; padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
    background: var(--orb-deck-1); border-radius: 16px 16px 0 0; border-block-start: 1px solid var(--orb-deck-3);
  }
  .orb-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 14px; }
  .orb-sheet__title { font-weight: 600; font-size: 16px; }
  .orb-sheet__shut { inline-size: 36px; block-size: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--orb-deck-2); }
  .orb-sheet__find { display: flex; gap: 8px; margin-block-end: 18px; }
  .orb-sheet__find input {
    flex: 1 1 auto; min-inline-size: 0; block-size: 44px; padding-inline: 14px; border-radius: 10px;
    border: 1px solid var(--orb-deck-3); background: var(--orb-night);
  }
  .orb-sheet__find button { flex: none; padding-inline: 16px; border-radius: 10px; background: var(--orb-red); font-weight: 600; }
  .orb-sheet__label { font-size: 12px; color: var(--orb-mute); text-transform: uppercase; letter-spacing: 0.08em; margin-block-end: 10px; }
  .orb-sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; }
  .orb-sheet__chips a { padding: 7px 12px; border-radius: 999px; background: var(--orb-deck-2); font-size: 13px; }
  .orb-sheet__links { display: grid; gap: 2px; border-block-start: 1px solid var(--orb-deck-3); padding-block-start: 10px; }
  .orb-sheet__links a { padding: 11px 4px; font-weight: 500; }

  .orb-trail { padding-block: 92px 0; font-size: 12px; color: var(--orb-mute); }
  .orb-trail__list { display: flex; flex-wrap: wrap; gap: 6px; }
  .orb-trail__list li { display: inline-flex; align-items: center; gap: 6px; min-inline-size: 0; }
  .orb-trail__list li + li::before { content: "/"; color: var(--orb-edge); }
  .orb-trail__list a:hover { color: #fff; }
  .orb-trail__list span { color: var(--orb-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-inline-size: 60vw; }

  .orb-adslot { margin-block: 16px; text-align: center; overflow: hidden; }

  .orb-foot { margin-block-start: 72px; border-block-start: 1px solid var(--orb-deck-3); padding-block: 26px 30px; }
  .orb-foot__row { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
  .orb-foot__note { font-size: 12px; line-height: 1.6; color: var(--orb-mute); max-inline-size: 52ch; }
  .orb-foot__side { text-align: end; }
  .orb-foot__copy { font-size: 12px; color: var(--orb-ink-2); margin-block-end: 6px; }
  .orb-foot__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; font-size: 12px; color: var(--orb-mute); }
  .orb-foot__nav a:hover, .orb-foot__more a:hover { color: #fff; }
  .orb-foot__more {
    display: flex; flex-wrap: wrap; gap: 6px 14px; margin-block-start: 20px; padding-block-start: 16px;
    border-block-start: 1px solid oklch(100% 0 0 / 0.04); font-size: 11.5px; color: var(--orb-mute);
  }

  .orb-modal { border: 0; padding: 0; background: transparent; color: var(--orb-ink); max-inline-size: min(520px, 100% - 32px); }
  .orb-modal::backdrop { background: oklch(0% 0 0 / 0.65); }
  .orb-modal__card { background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); border-radius: 14px; padding: 20px; }
  .orb-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 10px; }
  .orb-modal__title { font-weight: 600; font-size: 17px; }
  .orb-modal__x { inline-size: 32px; block-size: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--orb-deck-2); flex: none; }
  .orb-modal__body { color: var(--orb-ink-2); font-size: 14px; line-height: 1.65; margin-block-end: 16px; }

  .orb-invite {
    position: fixed; inset-inline-start: 16px; inset-block-end: calc(16px + var(--orb-dock-h)); z-index: 40;
    inline-size: min(320px, 100% - 32px); padding: 16px 16px 14px; border-radius: 14px;
    background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); box-shadow: 0 18px 40px oklch(0% 0 0 / 0.5);
  }
  .orb-invite__x { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; inline-size: 28px; block-size: 28px; display: grid; place-items: center; border-radius: 50%; }
  .orb-invite__title { font-weight: 600; margin-block-end: 4px; padding-inline-end: 28px; }
  .orb-invite__text { font-size: 13px; color: var(--orb-mute); margin-block-end: 12px; }
}

/* ---------- parts: buttons, rows, cards ---------- */
@layer parts {
  .orb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    block-size: 40px; padding-inline: 22px; border-radius: 999px;
    font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: transform 0.2s var(--orb-ease), background-color 0.2s, opacity 0.2s;
  }
  .orb-btn:active { transform: scale(0.97); }
  .orb-btn--light { background: #fff; color: var(--orb-night); }
  .orb-btn--light:hover { background: oklch(90% 0.004 261); }
  .orb-btn--glass { background: oklch(100% 0 0 / 0.1); color: #fff; border: 1px solid oklch(100% 0 0 / 0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .orb-btn--glass:hover { background: oklch(100% 0 0 / 0.18); }
  .orb-btn--red { background: var(--orb-red); color: #fff; }
  .orb-btn--red:hover { background: var(--orb-red-deep); }

  .orb-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 52px; padding-block-start: 44px; }
  .orb-rows > * { min-inline-size: 0; }
  .orb-row__head { position: relative; padding-inline-start: 11px; margin-block-end: 14px; }
  .orb-row__head::before {
    content: ""; position: absolute; inset-block: 2px; inset-inline-start: 0; inline-size: 3px;
    background: var(--orb-red); border-radius: 2px;
  }
  .orb-row__head h2 { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
  .orb-row__head h2 a { display: inline-flex; align-items: center; gap: 4px; }
  .orb-row__head h2 a:hover { color: var(--orb-red-hi); }
  .orb-row__head h2 em { font-style: normal; color: var(--orb-red); }
  .orb-row__head p { font-size: 12px; color: var(--orb-mute); margin-block-start: 3px; }

  .orb-row__view { position: relative; }
  .orb-row__track {
    display: grid; grid-auto-flow: column; gap: var(--orb-gap);
    grid-auto-columns: calc((100% - 3 * var(--orb-gap)) / 4);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-block-end: 2px;
  }
  .orb-row__track::-webkit-scrollbar { display: none; }
  .orb-row__track > * { scroll-snap-align: start; min-inline-size: 0; }
  .orb-row__nudge {
    position: absolute; inset-block-start: 0; inset-inline-end: 0; z-index: 3;
    block-size: var(--orb-art-h, 60%); inline-size: 56px; display: grid; place-items: center end;
    padding-inline-end: 6px; color: #fff;
    background: linear-gradient(90deg, transparent, oklch(12.7% 0.009 254 / 0.85));
    transition: opacity 0.25s;
  }
  .orb-row__nudge svg { filter: drop-shadow(0 2px 6px oklch(0% 0 0 / 0.6)); }
  .orb-row__view.is-end .orb-row__nudge { opacity: 0; pointer-events: none; }

  .orb-card { position: relative; min-inline-size: 0; }
  .orb-card__link { display: block; }
  .orb-card__art {
    position: relative; display: block; overflow: hidden; border-radius: var(--orb-curve);
    background: var(--orb-deck-1); border: 1px solid oklch(100% 0 0 / 0.05);
    aspect-ratio: 16 / 9;
  }
  .orb-card--poster .orb-card__art { aspect-ratio: 2 / 3; }
  .orb-card__art picture, .orb-lead__art picture { display: block; inline-size: 100%; block-size: 100%; }
  .orb-card__art img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 0.5s var(--orb-ease), opacity 0.3s; }
  .orb-card__link:hover .orb-card__art img { transform: scale(1.04); }
  .orb-card__name {
    display: block; margin-block-start: 8px; font-size: 13px; font-weight: 600; line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .orb-card__meta, .orb-stage__facts, .orb-charts__info {
    display: flex; flex-wrap: wrap; align-items: center; column-gap: 0; row-gap: 2px;
    font-size: 11px; color: var(--orb-mute); margin-block-start: 2px;
  }
  .orb-card__meta > span + span::before, .orb-stage__facts > span + span::before, .orb-charts__info > span + span::before {
    content: "\00B7"; margin-inline: 5px; color: var(--orb-edge);
  }
  .orb-card__ep { color: var(--orb-red-hi); font-weight: 600; }
  .orb-tag {
    position: absolute; inset-block-end: 0; inset-inline-start: 50%; transform: translateX(-50%);
    background: var(--orb-red); color: #fff; font-size: 10px; font-weight: 700; line-height: 1;
    padding: 4px 7px; border-radius: 3px 3px 0 0; white-space: nowrap;
  }
  .orb-rank {
    position: absolute; inset-block-start: 8px; inset-inline-start: 8px; z-index: 2;
    display: grid; justify-items: center; min-inline-size: 22px; padding: 3px 4px 4px;
    background: var(--orb-red); border-radius: 3px; color: #fff;
    font-size: 12px; font-weight: 800; line-height: 1;
  }
  .orb-rank small { font-size: 6.5px; font-weight: 700; letter-spacing: 0.06em; margin-block-end: 2px; }

  .orb-lead { grid-column: span 3; min-inline-size: 0; }
  .orb-lead__link { position: relative; display: block; border-radius: var(--orb-curve); overflow: hidden; background: var(--orb-deck-1); border: 1px solid oklch(100% 0 0 / 0.05); }
  .orb-lead__art { display: block; aspect-ratio: 630 / 303; }
  .orb-lead__art img { inline-size: 100%; block-size: 100%; object-fit: cover; opacity: 0.55; }
  .orb-lead__copy {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
    gap: 8px; padding: 22px 26px; max-inline-size: 70%;
    background: linear-gradient(90deg, oklch(12.7% 0.009 254 / 0.92), transparent);
  }
  .orb-lead__name { font-size: clamp(20px, 2.3vw, 32px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
  .orb-lead__genres { font-size: 11px; color: var(--orb-mute); }
  .orb-lead__blurb { font-size: 12px; line-height: 1.55; color: var(--orb-ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .orb-lead__go {
    align-self: flex-start; margin-block-start: 4px; font-size: 11px; font-weight: 600;
    padding: 6px 12px; border-radius: 999px; background: oklch(100% 0 0 / 0.12); border: 1px solid oklch(100% 0 0 / 0.14);
  }
  .orb-row--ten .orb-row__track { grid-auto-columns: calc((100% - 5 * var(--orb-gap)) / 6); }

  .orb-spot__tabs {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); gap: 10px;
    overflow-x: auto; scrollbar-width: none; margin-block-end: 16px;
  }
  .orb-spot__tabs::-webkit-scrollbar { display: none; }
  .orb-spot__tab {
    display: grid; place-items: center; block-size: 54px; padding-inline: 12px; border-radius: 10px;
    background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3);
    font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--orb-mute); white-space: nowrap;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
  }
  .orb-spot__tab:hover { color: var(--orb-ink-2); }
  .orb-spot__tab.is-here { color: #fff; border-color: oklch(100% 0 0 / 0.5); background: var(--orb-deck-2); }

  .orb-row--moods .orb-row__track { grid-auto-columns: calc((100% - 4 * var(--orb-gap)) / 5); }
  .orb-mood {
    position: relative; display: flex; align-items: flex-end; aspect-ratio: 268 / 150; overflow: hidden;
    border-radius: var(--orb-curve); padding: 12px 14px; isolation: isolate;
    --tint: oklch(48% 0.12 240);
    background: var(--tint);
  }
  .orb-mood img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; z-index: -2; opacity: 0.5; mix-blend-mode: luminosity; transition: transform 0.6s var(--orb-ease); }
  .orb-mood::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--tint), transparent 70%); opacity: 0.9; }
  .orb-mood span { font-weight: 700; font-size: 14px; text-shadow: 0 1px 8px oklch(0% 0 0 / 0.5); }
  .orb-mood:hover img { transform: scale(1.06); }
  .orb-mood--0 { --tint: oklch(50% 0.09 235); }
  .orb-mood--1 { --tint: oklch(50% 0.19 27); }
  .orb-mood--2 { --tint: oklch(52% 0.1 185); }
  .orb-mood--3 { --tint: oklch(45% 0.19 310); }
  .orb-mood--4 { --tint: oklch(48% 0.2 12); }
  .orb-mood--5 { --tint: oklch(55% 0.13 70); }
  .orb-mood--6 { --tint: oklch(46% 0.13 265); }
  .orb-mood--7 { --tint: oklch(50% 0.13 150); }

  .orb-share { margin-block: 28px; padding: 16px; border-radius: 12px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); }
  .orb-share__lead { font-weight: 600; }
  .orb-share__sub { font-size: 13px; color: var(--orb-mute); margin-block-end: 10px; }
  .orb-sponsor { position: absolute; inset: 0; z-index: 6; }
}

/* ---------- pages ---------- */
@layer pages {
  /* home stage */
  .orb-stage { position: relative; block-size: clamp(460px, 47vw, 680px); overflow: hidden; background: var(--orb-night); }
  .orb-stage__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.8s var(--orb-ease), visibility 0s 0.8s; }
  .orb-stage__slide.is-live { opacity: 1; visibility: visible; transition: opacity 0.8s var(--orb-ease); }
  .orb-stage__art { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center 25%; }
  .orb-stage__slide::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(0deg, var(--orb-night) 0%, oklch(12.7% 0.009 254 / 0.55) 30%, transparent 62%),
      linear-gradient(90deg, oklch(12.7% 0.009 254 / 0.85) 0%, oklch(12.7% 0.009 254 / 0.35) 40%, transparent 70%),
      linear-gradient(180deg, oklch(12.7% 0.009 254 / 0.6) 0%, transparent 22%);
  }
  .orb-stage__copy { position: absolute; inset-inline: 0; inset-block-end: clamp(64px, 8vw, 104px); z-index: 2; display: grid; gap: 12px; justify-items: start; }
  .orb-stage__name {
    max-inline-size: 15ch; font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; text-transform: uppercase;
    letter-spacing: -0.035em; line-height: 0.95; text-shadow: 0 8px 24px oklch(0% 0 0 / 0.55);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .orb-stage__facts { font-size: 13px; color: var(--orb-ink); margin: 0; }
  .orb-stage__blurb {
    max-inline-size: 34rem; font-size: 14px; line-height: 1.55; color: oklch(95.7% 0.007 261 / 0.86);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .orb-stage__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 6px; }
  .orb-stage__badge {
    position: absolute; z-index: 2; inset-inline-end: var(--orb-gutter); inset-block-end: clamp(64px, 8vw, 104px);
    display: inline-flex; align-items: center; gap: 8px; padding: 0 13px 0 10px; block-size: 32px; border-radius: 999px;
    background: oklch(0% 0 0 / 0.4); font-size: 12px; font-weight: 600;
  }
  .orb-stage__ten {
    display: grid; place-items: center; inline-size: 16px; block-size: 16px; border-radius: 3px;
    background: var(--orb-red); font-size: 8px; font-weight: 800; color: #fff;
  }
  .orb-stage__dashes { position: absolute; z-index: 3; inset-inline: 0; inset-block-end: 30px; display: flex; justify-content: flex-end; gap: 6px; }
  .orb-stage__dash { inline-size: 18px; block-size: 3px; border-radius: 2px; background: oklch(100% 0 0 / 0.3); transition: inline-size 0.3s, background-color 0.3s; }
  .orb-stage__dash.is-live { inline-size: 28px; background: #fff; }
  .orb-stage + .orb-rows { padding-block-start: 8px; }

  /* landing */
  .orb-gate { position: relative; overflow: hidden; padding-block: 150px 84px; isolation: isolate; }
  .orb-gate__wall {
    position: absolute; inset-block: -40px; inset-inline-end: -4%; inline-size: 58%; z-index: -1;
    display: flex; gap: 14px; transform: rotate(-9deg); opacity: 0.62;
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 82%, transparent 100%);
  }
  .orb-gate::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(0deg, var(--orb-night) 0%, transparent 30%), linear-gradient(180deg, var(--orb-night) 0%, transparent 26%);
  }
  .orb-gate__col { display: flex; flex-direction: column; gap: 14px; flex: 1 1 0; min-inline-size: 0; animation: orb-drift 60s linear infinite; }
  .orb-gate__col--1 { animation-duration: 74s; animation-direction: reverse; }
  .orb-gate__col--2 { animation-duration: 66s; }
  .orb-gate__col img { inline-size: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; background: var(--orb-deck-1); }
  @keyframes orb-drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
  .orb-gate__copy { position: relative; display: grid; gap: 18px; justify-items: start; }
  .orb-gate__copy > * { max-inline-size: 560px; }
  .orb-gate h1 {
    position: relative; padding-inline-start: 16px; font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 700; letter-spacing: -0.03em; line-height: 1.04;
  }
  .orb-gate h1::before { content: ""; position: absolute; inset-block: 6px; inset-inline-start: 0; inline-size: 4px; border-radius: 2px; background: var(--orb-red); }
  .orb-gate__lead { font-size: 16px; line-height: 1.6; color: var(--orb-ink-2); }
  .orb-gate__find {
    display: flex; align-items: center; gap: 10px; inline-size: 100%; padding: 6px 6px 6px 16px;
    background: oklch(16.7% 0.012 254 / 0.9); border: 1px solid var(--orb-deck-3); border-radius: 999px;
    color: var(--orb-mute);
  }
  .orb-gate__find svg { flex: none; }
  .orb-gate__find input { flex: 1 1 auto; min-inline-size: 0; border: 0; background: none; color: var(--orb-ink); block-size: 40px; outline: none; }
  .orb-gate__find input::placeholder { color: var(--orb-mute); }
  .orb-gate__find .orb-btn { flex: none; }
  .orb-gate__jump { display: flex; flex-wrap: wrap; gap: 10px; }

  .orb-asks { padding-block-start: 24px; }
  .orb-asks__index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block-end: 18px; }
  .orb-asks__index a {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
    background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); font-size: 13.5px; font-weight: 500; color: var(--orb-ink-2);
  }
  .orb-asks__index a::before { content: "?"; flex: none; display: grid; place-items: center; inline-size: 22px; block-size: 22px; border-radius: 50%; background: oklch(57.7% 0.215 27 / 0.16); color: var(--orb-red-hi); font-size: 12px; font-weight: 700; }
  .orb-asks__index a:hover { color: #fff; border-color: var(--orb-deck-3); }
  .orb-ask { padding-block: 30px; border-block-start: 1px solid var(--orb-deck-2); display: grid; gap: 12px; }
  .orb-ask__q { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.015em; }
  .orb-ask__a { font-size: 15px; line-height: 1.7; color: var(--orb-ink-2); max-inline-size: 72ch; }
  .orb-ask__a a { color: var(--orb-ink); text-decoration: underline; text-decoration-color: var(--orb-red); text-underline-offset: 3px; }
  .orb-ask__a a:hover { color: var(--orb-red-hi); }
  .orb-ask .orb-row__track { grid-auto-columns: calc((100% - 5 * var(--orb-gap)) / 6); margin-block-start: 6px; }
  .orb-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 28px; counter-reset: none; }
  .orb-charts li { display: grid; grid-template-columns: 54px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; padding-block: 8px; border-block-end: 1px solid oklch(100% 0 0 / 0.04); }
  .orb-charts__no { grid-row: span 2; font-size: 38px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--orb-red); letter-spacing: -0.04em; }
  .orb-charts a { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .orb-charts a:hover { color: var(--orb-red-hi); }
  .orb-charts__info { margin: 0; }

  .orb-atoz { padding-block-start: 40px; }
  .orb-atoz__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; align-items: start; }
  .orb-atoz__block { padding: 16px 18px; border-radius: 12px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); }
  .orb-atoz__letter { font-size: 26px; font-weight: 800; color: var(--orb-red); line-height: 1; margin-block-end: 10px; }
  .orb-atoz__block li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; padding-block: 6px; border-block-start: 1px solid oklch(100% 0 0 / 0.04); }
  .orb-atoz__name { font-weight: 600; font-size: 14px; }
  .orb-atoz__name:hover { color: var(--orb-red-hi); }
  .orb-atoz__split { display: inline-flex; gap: 10px; font-size: 12px; color: var(--orb-mute); }
  .orb-atoz__split a:hover { color: #fff; }
}

/* ---------- responsive frame ---------- */
@layer frame {
  @media (max-width: 1100px) {
    .orb-pill__link span { display: none; }
    .orb-pill__link { padding: 8px 10px; }
    .orb-pill__drop .orb-pill__link span { display: inline; }
  }
  @media (max-width: 899px) {
    .orb-pill { display: none; }
    .orb-top__seek { display: grid; }
    .orb-top__row { block-size: 60px; }
    .orb-brand img { inline-size: 34px; block-size: 34px; }
    .orb-dock {
      position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 55; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
      block-size: var(--orb-dock-h); padding-block-end: env(safe-area-inset-bottom);
      background: oklch(12.7% 0.009 254 / 0.94); border-block-start: 1px solid var(--orb-deck-2);
      backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    }
    .orb-dock__tab { display: grid; place-items: center; align-content: center; gap: 3px; color: var(--orb-mute); font-size: 10.5px; font-weight: 500; min-inline-size: 0; }
    .orb-dock__tab.is-here { color: #fff; }
    .orb-dock__tab.is-here svg { color: var(--orb-red); }
    .orb-foot { padding-block-end: calc(30px + var(--orb-dock-h)); }
    .orb-trail { padding-block-start: 72px; }
  }
  @media (max-width: 699px) {
    .orb-foot__row { flex-direction: column; }
    .orb-foot__side { text-align: start; }
    .orb-foot__nav { justify-content: flex-start; }
  }
}

@layer parts {
  @media (max-width: 999px) {
    .orb-row__track { grid-auto-columns: calc((100% - 2 * var(--orb-gap)) / 3); }
    .orb-row--ten .orb-row__track { grid-auto-columns: calc((100% - 3 * var(--orb-gap)) / 4); }
    .orb-lead { grid-column: span 2; }
    .orb-lead__art { aspect-ratio: auto; block-size: 100%; }
    .orb-lead__link { block-size: calc(100% - 38px); }
    .orb-row--moods .orb-row__track { grid-auto-columns: calc((100% - 2 * var(--orb-gap)) / 3); }
  }
  @media (max-width: 699px) {
    .orb-row__track, .orb-row--ten .orb-row__track { grid-auto-columns: 42%; }
    .orb-card--wide .orb-card__art { aspect-ratio: 2 / 3; }
    .orb-row__nudge { display: none; }
    .orb-lead { grid-column: span 2; }
    .orb-lead__link { display: grid; grid-template-columns: 40% minmax(0, 1fr); block-size: auto; }
    .orb-lead__art { aspect-ratio: 2 / 3; block-size: auto; }
    .orb-lead__art img { opacity: 1; }
    .orb-lead__copy { position: static; max-inline-size: none; padding: 12px; background: none; justify-content: flex-start; }
    .orb-lead__name { font-size: 17px; text-transform: none; letter-spacing: -0.01em; }
    .orb-lead__blurb { -webkit-line-clamp: 5; }
    .orb-lead > .orb-card__name, .orb-lead > .orb-card__meta { display: none; }
    .orb-row--moods .orb-row__track { grid-auto-columns: 64%; }
    .orb-spot__tabs { grid-auto-columns: max-content; }
    .orb-spot__tab { block-size: 44px; font-size: 14px; padding-inline: 16px; }
    .orb-rows { gap: 40px; }
  }
}

@layer pages {
  @media (max-width: 899px) {
    .orb-stage { block-size: min(78vh, 600px); }
    .orb-stage__badge { inset-block: 76px auto; }
    .orb-gate { padding-block: 104px 56px; }
    .orb-gate__wall { inline-size: 120%; inset-inline-end: -40%; opacity: 0.22; }
    .orb-asks__index { grid-template-columns: minmax(0, 1fr); }
    .orb-ask .orb-row__track { grid-auto-columns: calc((100% - 3 * var(--orb-gap)) / 4); }
    .orb-charts { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 699px) {
    .orb-stage__copy { inset-block-end: 54px; gap: 10px; }
    .orb-stage__blurb { font-size: 13px; }
    .orb-stage__dashes { inset-block-end: 22px; justify-content: center; }
    .orb-btn { block-size: 38px; padding-inline: 18px; }
    .orb-ask .orb-row__track { grid-auto-columns: 40%; }
    .orb-gate__find { padding-inline-start: 12px; }
    .orb-gate__find .orb-btn { padding-inline: 14px; }
    .orb-charts__no { font-size: 30px; }
    .orb-charts li { grid-template-columns: 44px minmax(0, 1fr); }
    .orb-atoz__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .orb-atoz__block { padding: 12px; }
    .orb-atoz__block li { display: block; }
    .orb-atoz__split { display: flex; gap: 8px; font-size: 11px; }
    .orb-atoz__name { font-size: 13px; }
  }
  @media (max-width: 380px) {
    .orb-gate__find svg { display: none; }
  }
}

/* ---------- states the engine and the script rely on ---------- */
@layer states {
  .d-none, .player-hidden { display: none !important; }
  .active { --orb-active: 1; }
  .episode-active { outline: 2px solid var(--orb-red); outline-offset: -2px; }
  .header-hidden { transform: translateY(-110%); }
  .orb-top { transition: transform 0.3s var(--orb-ease), background-color 0.3s, box-shadow 0.3s; }
  .open { --orb-open: 1; }
  .is-locked { overflow: hidden; }
  img.is-fallback { object-fit: cover; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .orb-gate__col { animation: none; }
  }
}

/* ---------- title pages, lists, search, forms (second pass) ---------- */
@layer pages {
  .orb-page-title .orb-trail { position: absolute; inset-inline: 0; inset-block-start: calc(76px + var(--orb-shift)); z-index: 4; padding-block-start: 4px; }
  .orb-btn--big { block-size: 46px; padding-inline: 28px; font-size: 15px; }

  .orb-title { position: relative; min-block-size: clamp(540px, 50vw, 740px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
  .orb-title__art { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center 20%; z-index: -2; }
  .orb-title::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(0deg, var(--orb-night) 0%, oklch(12.7% 0.009 254 / 0.6) 35%, transparent 70%),
      linear-gradient(90deg, oklch(12.7% 0.009 254 / 0.92) 0%, oklch(12.7% 0.009 254 / 0.45) 45%, transparent 75%),
      linear-gradient(180deg, oklch(12.7% 0.009 254 / 0.7) 0%, transparent 25%);
  }
  .orb-title__copy { display: grid; gap: 12px; justify-items: start; padding-block: 140px 48px; }
  .orb-title__name {
    max-inline-size: 16ch; font-size: clamp(34px, 5vw, 66px); font-weight: 800; text-transform: uppercase;
    letter-spacing: -0.035em; line-height: 0.95; text-shadow: 0 8px 24px oklch(0% 0 0 / 0.5); overflow-wrap: anywhere;
  }
  .orb-title__alt { font-size: 13px; color: var(--orb-mute); margin-block-start: -4px; }
  .orb-title__facts { display: flex; flex-wrap: wrap; align-items: center; font-size: 15px; font-weight: 600; }
  .orb-title__facts > span + span::before { content: "\00B7"; margin-inline: 8px; color: var(--orb-mute); }
  .orb-title__facts a:hover { color: var(--orb-red-hi); }
  .orb-title__genres { display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13px; color: var(--orb-mute); }
  .orb-title__genres a + a::before { content: "\00B7"; margin-inline: 7px; color: var(--orb-edge); }
  .orb-title__genres a:hover { color: #fff; }
  .orb-title__blurb { max-inline-size: 38rem; font-size: 15px; line-height: 1.6; color: oklch(95.7% 0.007 261 / 0.88); }
  .orb-title__blurb.is-short p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .orb-more { margin-block-start: 4px; font-size: 13px; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: var(--orb-red); text-underline-offset: 3px; }
  .orb-title__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 8px; }
  .orb-title__keep { display: flex; flex-wrap: wrap; gap: 8px; }
  .orb-title__keep button {
    font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
    border: 1px solid oklch(100% 0 0 / 0.16); background: oklch(0% 0 0 / 0.25); color: var(--orb-ink-2);
  }
  .orb-title__keep button:hover { color: #fff; border-color: oklch(100% 0 0 / 0.35); }
  .orb-title__keep button[aria-pressed="true"] { background: var(--orb-red); border-color: var(--orb-red); color: #fff; }
  .orb-title__keep .orb-title__follow { border-color: oklch(70% 0.14 160 / 0.6); color: oklch(85% 0.12 160); }
  .orb-title__keep .orb-title__follow[aria-pressed="true"] { background: oklch(55% 0.14 160); border-color: oklch(55% 0.14 160); color: #fff; }

  .orb-deck { padding-block: 8px 12px; scroll-margin-block-start: 84px; }
  .orb-deck__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--orb-deck-2); }
  .orb-deck__cover { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; display: grid; place-items: center; }
  .orb-deck__cover img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; opacity: 0.55; }
  .orb-deck__go {
    position: relative; inline-size: 76px; block-size: 76px; border-radius: 50%; display: grid; place-items: center;
    background: var(--orb-red); color: #fff; box-shadow: 0 10px 40px oklch(57.7% 0.215 27 / 0.45); transition: transform 0.25s var(--orb-ease);
  }
  .orb-deck__go svg { margin-inline-start: 4px; }
  .orb-deck__cover:hover .orb-deck__go { transform: scale(1.07); }
  .orb-deck__wait { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; background: oklch(0% 0 0 / 0.75); font-size: 14px; color: var(--orb-ink-2); text-align: center; padding: 16px; }
  .orb-deck__frame { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; border: 0; }
  .orb-spin { inline-size: 34px; block-size: 34px; border-radius: 50%; border: 3px solid oklch(100% 0 0 / 0.15); border-block-start-color: var(--orb-red); animation: orb-turn 0.8s linear infinite; }
  @keyframes orb-turn { to { transform: rotate(360deg); } }
  .orb-deck__bar { display: grid; gap: 10px; margin-block-start: 14px; }
  .orb-deck__tip { font-size: 12.5px; color: var(--orb-mute); }
  .orb-deck__servers { display: flex; flex-wrap: wrap; gap: 8px; }
  .orb-server {
    padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--orb-ink-2);
    background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); transition: border-color 0.2s, color 0.2s;
  }
  .orb-server:hover { color: #fff; }
  .orb-server.active { color: #fff; border-color: var(--orb-red); background: oklch(57.7% 0.215 27 / 0.16); }
  .orb-deck__steps { display: flex; align-items: center; gap: 10px; margin-block-start: 12px; }
  .orb-deck__now { flex: 1 1 auto; min-inline-size: 0; text-align: center; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .orb-deck__step { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--orb-deck-2); }
  .orb-deck__step:disabled { opacity: 0.35; cursor: default; }
  .orb-flag { margin-block-start: 14px; }
  .orb-flag__open { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--orb-mute); }
  .orb-flag__open:hover { color: #fff; }
  .orb-flag__form { display: grid; gap: 12px; margin-block-start: 12px; padding: 16px; border-radius: 12px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); max-inline-size: 560px; }
  .orb-flag__field, .orb-form__field { display: grid; gap: 6px; font-size: 13px; color: var(--orb-ink-2); }
  .orb-flag__field select, .orb-flag__field textarea, .orb-form__field input, .orb-form__field textarea {
    inline-size: 100%; min-inline-size: 0; padding: 10px 12px; border-radius: 10px; background: var(--orb-night); border: 1px solid var(--orb-deck-3); color: var(--orb-ink);
  }
  .orb-form__field em { font-style: normal; color: var(--orb-mute); }
  .orb-flag__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  .orb-flag__say { font-size: 13px; color: var(--orb-ink-2); }
  .orb-flag__say.is-bad { color: var(--orb-red-hi); }

  .orb-facts, .orb-cast, .orb-alike, .orb-eps { margin-block-start: 48px; }
  .orb-facts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
  .orb-facts__grid > div { padding: 12px 14px; border-radius: 10px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); min-inline-size: 0; }
  .orb-facts__grid dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orb-mute); margin-block-end: 4px; }
  .orb-facts__grid dd { margin: 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
  .orb-facts__grid a:hover { color: var(--orb-red-hi); }

  .orb-cast__names { display: flex; flex-wrap: wrap; gap: 4px 0; max-inline-size: 980px; padding-inline-start: 11px; font-size: 15px; line-height: 1.7; }
  .orb-cast__names li { display: inline-flex; align-items: center; }
  .orb-cast__names li + li::before { content: "\00B7"; margin-inline: 10px; color: var(--orb-edge); }
  .orb-cast__names a { color: var(--orb-ink-2); }
  .orb-cast__names a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orb-red); text-underline-offset: 3px; }


  .orb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px var(--orb-gap); }

  .orb-eps { scroll-margin-block-start: 84px; }
  .orb-eps__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
  .orb-eps__head .orb-row__head { margin: 0; }
  .orb-eps__pick select {
    appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding-inline-end: 26px; cursor: pointer;
    font: inherit; font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; color: var(--orb-ink);
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
  }
  .orb-eps__pick select option { background: var(--orb-deck-1); color: var(--orb-ink); }
  .orb-eps__tools { display: flex; align-items: center; gap: 8px; }
  .orb-eps__find { display: flex; align-items: center; gap: 6px; block-size: 36px; padding-inline: 10px; border-radius: 10px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); color: var(--orb-mute); }
  .orb-eps__find input { inline-size: 150px; min-inline-size: 0; border: 0; background: none; outline: none; color: var(--orb-ink); font-size: 13px; }
  .orb-eps__tool { inline-size: 36px; block-size: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); color: var(--orb-ink-2); }
  .orb-eps__tool[aria-pressed="true"] { color: #fff; border-color: oklch(100% 0 0 / 0.4); }
  .orb-eps__track { grid-auto-columns: calc((100% - 2 * var(--orb-gap)) / 3); }
  .orb-ep { position: relative; min-inline-size: 0; }
  .orb-ep__link {
    display: flex; flex-direction: column; gap: 6px; block-size: 100%; min-block-size: 168px; padding: 16px 16px 14px; border-radius: 12px;
    background: linear-gradient(160deg, var(--orb-deck-2), var(--orb-deck-1) 60%); border: 1px solid var(--orb-deck-2);
    transition: border-color 0.2s, transform 0.25s var(--orb-ease);
  }
  a.orb-ep__link:hover { border-color: oklch(100% 0 0 / 0.25); }
  .orb-ep__no { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orb-mute); }
  .orb-ep__name { font-size: 16px; font-weight: 600; line-height: 1.25; padding-inline-end: 30px; }
  .orb-ep__text { font-size: 12.5px; line-height: 1.5; color: var(--orb-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .orb-ep__foot { margin-block-start: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--orb-mute); padding-block-start: 6px; }
  .orb-ep__play { display: inline-flex; align-items: center; gap: 6px; color: var(--orb-ink); font-weight: 600; }
  .orb-ep.is-soon .orb-ep__link { opacity: 0.62; background: var(--orb-deck-1); border-style: dashed; }
  .orb-ep__soon { color: var(--orb-red-hi); font-weight: 600; }
  .orb-ep__bell { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; inline-size: 32px; block-size: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--orb-deck-3); color: var(--orb-ink-2); z-index: 2; }
  .orb-ep__bell[aria-pressed="true"] { background: var(--orb-red); color: #fff; }
  .orb-ep.episode-active .orb-ep__link { border-color: var(--orb-red); box-shadow: inset 0 0 0 1px var(--orb-red); }
  .orb-eps.is-list .orb-eps__track { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); overflow: visible; }
  .orb-eps.is-list .orb-ep__link { min-block-size: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; }
  .orb-eps.is-list .orb-ep__text { grid-column: 2; }
  .orb-eps.is-list .orb-ep__foot { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; flex-direction: column; align-items: flex-end; }
  .orb-eps.is-list .orb-row__nudge { display: none; }
  .orb-eps__none { color: var(--orb-mute); font-size: 14px; }

  .orb-mast { position: relative; overflow: hidden; padding-block: 128px 40px; min-block-size: 330px; display: flex; align-items: flex-end; isolation: isolate; }
  .orb-mast__wall {
    position: absolute; inset-block: 10px -20px; inset-inline-start: 30%; inset-inline-end: -10%; z-index: -1;
    display: grid; gap: 14px; align-content: center; transform: rotate(-7deg); opacity: 0.55;
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 85%, transparent 100%);
  }
  .orb-mast::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, var(--orb-night), transparent 45%), linear-gradient(90deg, var(--orb-night) 18%, transparent 60%); }
  .orb-mast__line { display: flex; gap: 14px; inline-size: max-content; animation: orb-slide 80s linear infinite; }
  .orb-mast__line--1 { animation-direction: reverse; animation-duration: 95s; }
  .orb-mast__line img { inline-size: 150px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; flex: none; background: var(--orb-deck-1); }
  @keyframes orb-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .orb-mast__copy h1 { position: relative; padding-inline-start: 16px; font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; max-inline-size: 18ch; }
  .orb-mast__copy h1::before { content: ""; position: absolute; inset-block: 6px; inset-inline-start: 0; inline-size: 4px; border-radius: 2px; background: var(--orb-red); }
  .orb-mast__copy p { margin-block-start: 10px; padding-inline-start: 16px; color: var(--orb-ink-2); font-size: 15px; max-inline-size: 52ch; }

  .orb-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin-block-start: 10px; }
  .orb-list > * { min-inline-size: 0; }
  .orb-block { display: grid; gap: 4px; }
  .orb-row--posters .orb-row__track { grid-auto-columns: calc((100% - 7 * var(--orb-gap)) / 8); }

  .orb-sift { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
  .orb-sift__left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .orb-sift__pill {
    display: inline-flex; align-items: center; gap: 6px; block-size: 36px; padding-inline: 14px; border-radius: 999px; cursor: pointer;
    background: var(--orb-deck-2); font-size: 13px; font-weight: 600; list-style: none; white-space: nowrap;
  }
  .orb-sift__pill::-webkit-details-marker { display: none; }
  .orb-sift__pill.is-set { background: oklch(57.7% 0.215 27 / 0.2); box-shadow: inset 0 0 0 1px var(--orb-red); }
  .orb-sift__panel { inset-inline-start: 0; inset-inline-end: auto; inline-size: min(360px, calc(100vw - 32px)); max-block-size: 340px; overflow-y: auto; }
  .orb-sift__panel--years { grid-template-columns: repeat(4, 1fr); }
  .orb-sift__sort .orb-sift__panel { inset-inline-start: auto; inset-inline-end: 0; inline-size: 200px; grid-template-columns: 1fr; }
  .orb-sift__panel a[aria-current="true"] { color: #fff; background: oklch(57.7% 0.215 27 / 0.22); }
  .orb-sift__clear { font-size: 13px; color: var(--orb-mute); text-decoration: underline; text-underline-offset: 3px; }

  .orb-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-block-start: 26px; }
  .orb-pages ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .orb-pages a, .orb-pages span { display: grid; place-items: center; min-inline-size: 38px; block-size: 38px; padding-inline: 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); }
  .orb-pages a:hover { border-color: oklch(100% 0 0 / 0.3); }
  .orb-pages span[aria-current] { background: var(--orb-red); border-color: var(--orb-red); }
  .orb-pages__gap { align-self: center; color: var(--orb-mute); padding-inline: 2px; }
  .orb-pages__step { padding-inline: 16px !important; }

  .orb-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 48px 16px; border-radius: 14px; background: var(--orb-deck-1); border: 1px dashed var(--orb-deck-3); color: var(--orb-ink-2); }
  .orb-empty__title { font-size: 18px; font-weight: 600; color: var(--orb-ink); }
  .orb-chips ul, .orb-chips__inline { display: flex; flex-wrap: wrap; gap: 8px; }
  .orb-chips a, .orb-chips__inline a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); font-size: 13px; font-weight: 500; }
  .orb-chips a:hover, .orb-chips__inline a:hover { border-color: var(--orb-red); color: #fff; }
  .orb-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
  .orb-tabs a { padding: 8px 16px; border-radius: 999px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); font-size: 13px; font-weight: 600; }
  .orb-tabs a[aria-current] { background: var(--orb-red); border-color: var(--orb-red); }

  .orb-who { display: flex; align-items: center; gap: 20px; padding-block: 120px 18px; }
  .orb-who h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
  .orb-who__job { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orb-red-hi); font-weight: 700; margin-block-end: 4px; }
  .orb-who__line { margin-block-start: 8px; color: var(--orb-ink-2); font-size: 14.5px; }

  .orb-seek { padding-block-start: 118px; display: grid; gap: 18px; }
  .orb-seek h1 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.025em; overflow-wrap: anywhere; }
  .orb-seek__form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .orb-seek__box { flex: 1 1 340px; min-inline-size: 0; display: flex; align-items: center; gap: 10px; block-size: 48px; padding-inline: 16px; border-radius: 999px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); color: var(--orb-mute); }
  .orb-seek__box input { flex: 1 1 auto; min-inline-size: 0; border: 0; background: none; outline: none; color: var(--orb-ink); font-size: 15px; }
  .orb-seek__scope { display: flex; gap: 6px; border: 0; margin: 0; padding: 0; }
  .orb-seek__scope input { position: absolute; opacity: 0; pointer-events: none; }
  .orb-seek__scope span { display: inline-block; padding: 9px 14px; border-radius: 999px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); font-size: 13px; font-weight: 600; cursor: pointer; }
  .orb-seek__scope input:checked + span { background: #fff; color: var(--orb-night); border-color: #fff; }
  .orb-seek__scope input:focus-visible + span { outline: 2px solid var(--orb-red-hi); outline-offset: 2px; }
  .orb-seek__count { font-size: 13px; color: var(--orb-mute); }
  .orb-seek__ideas { display: grid; gap: 10px; color: var(--orb-ink-2); font-size: 14px; }

  .orb-ask-for { padding-block-start: 118px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .orb-ask-for h1 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin-block-end: 12px; }
  .orb-ask-for__intro > p { color: var(--orb-ink-2); line-height: 1.65; }
  .orb-ask-for__intro a { text-decoration: underline; text-decoration-color: var(--orb-red); text-underline-offset: 3px; }
  .orb-ask-for__how { display: grid; gap: 8px; margin-block-start: 18px; color: var(--orb-ink-2); font-size: 14px; }
  .orb-ask-for__how strong { color: var(--orb-red-hi); }
  .orb-ask-for__card { padding: 22px; border-radius: 14px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); }
  .orb-form { display: grid; gap: 16px; }
  .orb-form .orb-btn { justify-self: start; }
  .orb-note { display: grid; gap: 8px; justify-items: start; padding: 14px 16px; border-radius: 12px; margin-block-end: 14px; font-size: 14px; }
  .orb-note--ok { background: oklch(55% 0.14 160 / 0.14); border: 1px solid oklch(55% 0.14 160 / 0.5); }
  .orb-note--bad { background: oklch(57.7% 0.215 27 / 0.14); border: 1px solid oklch(57.7% 0.215 27 / 0.5); }
  .orb-note__title { font-weight: 700; font-size: 16px; }

  .orb-lost { padding-block: 140px 40px; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; text-align: center; }
  .orb-lost__code { font-size: clamp(90px, 16vw, 180px); font-weight: 800; line-height: 0.9; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--orb-red); }
  .orb-lost h1 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
  .orb-lost > p { color: var(--orb-ink-2); max-inline-size: 46ch; }
  .orb-lost__find { inline-size: 100%; max-inline-size: 520px; }
  .orb-lost__ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

  .orb-reel { border: 0; padding: 0; background: transparent; inline-size: min(960px, 100% - 24px); max-inline-size: none; }
  .orb-reel::backdrop { background: oklch(0% 0 0 / 0.82); }
  .orb-reel__box { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
  .orb-reel__box iframe { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; border: 0; }
  .orb-reel__x { position: absolute; inset-block-start: -44px; inset-inline-end: 0; inline-size: 36px; block-size: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--orb-deck-2); color: #fff; }

  @media (max-width: 999px) {
    .orb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .orb-eps__track { grid-auto-columns: calc((100% - var(--orb-gap)) / 2); }
    .orb-row--posters .orb-row__track { grid-auto-columns: calc((100% - 4 * var(--orb-gap)) / 5); }
    .orb-ask-for { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 899px) {
    .orb-page-title .orb-trail { inset-block-start: calc(60px + var(--orb-shift)); }
    .orb-title__copy { padding-block: 110px 28px; }
    .orb-mast { padding-block: 96px 28px; min-block-size: 260px; }
    .orb-mast__wall { inset-inline-start: 0; opacity: 0.25; }
    .orb-who { padding-block-start: 88px; }
    .orb-seek, .orb-ask-for { padding-block-start: 88px; }
    .orb-lost { padding-block-start: 100px; }
  }
  @media (max-width: 699px) {
    .orb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--orb-gap); }
    .orb-title { min-block-size: 0; }
    .orb-title__copy { padding-block-start: 300px; }
    .orb-title__art { block-size: 420px; inset-block-end: auto; }
    .orb-title::after { background: linear-gradient(180deg, oklch(12.7% 0.009 254 / 0.55) 0, transparent 90px, transparent 170px, var(--orb-night) 420px); }
    .orb-title__acts .orb-btn { flex: 1 1 auto; }
    .orb-title__facts { font-size: 14px; }
    .orb-eps__head { align-items: flex-start; flex-direction: column; }
    .orb-eps__tools { inline-size: 100%; }
    .orb-eps__find { flex: 1 1 auto; }
    .orb-eps__find input { inline-size: 100%; }
    .orb-eps__track { grid-auto-columns: 82%; }
    .orb-eps.is-list .orb-ep__link { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
    .orb-eps.is-list .orb-ep__text, .orb-eps.is-list .orb-ep__foot { grid-column: 1; grid-row: auto; flex-direction: row; }
    .orb-row--posters .orb-row__track { grid-auto-columns: 34%; }
    .orb-deck__go { inline-size: 60px; block-size: 60px; }
    .orb-deck__steps { flex-wrap: wrap; }
    .orb-deck__now { order: -1; flex-basis: 100%; }
    .orb-deck__step { flex: 1 1 0; }
    .orb-who { gap: 14px; }
      .orb-sift__panel--years { grid-template-columns: repeat(3, 1fr); }
    .orb-seek__form .orb-btn { flex: 1 1 auto; }
    .orb-mast__line img { inline-size: 110px; }
  }
}

/* ---------- My <brand> (viewer profiles). Rendered only when the site has profiles on ---------- */
@layer frame {
  .orb-top__row { justify-content: flex-start; gap: 10px; }
  .orb-pill { margin-inline-start: auto; }
  .orb-top__row:has(.orb-me) .orb-pill { min-inline-size: 0; }
  .orb-me { position: relative; flex: none; }
  .orb-me__btn {
    position: relative; inline-size: 44px; block-size: 44px; display: grid; place-items: center; border-radius: 14px;
    background: var(--orb-glass); border: 1px solid var(--orb-veil); color: var(--orb-ink-2);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .orb-me__btn:hover, .orb-me__btn[aria-expanded="true"] { color: #fff; }
  .orb-me__count {
    position: absolute; inset-block-start: 4px; inset-inline-end: 4px; min-inline-size: 17px; block-size: 17px; padding-inline: 4px;
    border-radius: 999px; background: var(--orb-red); color: #fff; font-size: 10px; font-weight: 800; line-height: 17px; text-align: center;
  }
  .orb-me__dot {
    position: absolute; inset-block-start: 8px; inset-inline-end: 8px; inline-size: 9px; block-size: 9px; border-radius: 50%;
    background: var(--orb-red); box-shadow: 0 0 0 0 oklch(57.7% 0.215 27 / 0.6); animation: orb-beat 1.8s ease-out infinite;
  }
  .orb-me__count:not([hidden]) ~ .orb-me__dot { display: none; }
  @keyframes orb-beat { 0% { box-shadow: 0 0 0 0 oklch(57.7% 0.215 27 / 0.6); transform: scale(1); } 70% { box-shadow: 0 0 0 8px oklch(57.7% 0.215 27 / 0); transform: scale(1.08); } 100% { box-shadow: 0 0 0 0 oklch(57.7% 0.215 27 / 0); transform: scale(1); } }
  .orb-me__menu, .orb-me__tip {
    position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0; z-index: 8; translate: var(--orb-nudge-x, 0px) 0;
    background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); border-radius: 14px; box-shadow: 0 18px 40px oklch(0% 0 0 / 0.55);
  }
  .orb-me__menu { inline-size: 230px; padding: 8px; display: grid; gap: 1px; }
  .orb-me__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orb-mute); padding: 6px 10px 8px; }
  .orb-me__menu a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; color: var(--orb-ink-2); }
  .orb-me__menu a:hover { background: var(--orb-deck-2); color: #fff; }
  .orb-me__how { border-block-start: 1px solid var(--orb-deck-2); border-radius: 0 0 9px 9px !important; margin-block-start: 4px; font-size: 12.5px !important; color: var(--orb-mute) !important; }
  .orb-me__new { min-inline-size: 18px; block-size: 18px; padding-inline: 5px; border-radius: 999px; background: var(--orb-red); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center; }
  .orb-me__tip { inline-size: min(280px, calc(100vw - 24px)); padding: 14px; font-size: 13px; line-height: 1.5; color: var(--orb-ink-2); display: grid; gap: 10px; }
  .orb-me__tip::before { content: ""; position: absolute; inset-block-start: -6px; inset-inline-end: 16px; inline-size: 10px; block-size: 10px; background: var(--orb-deck-1); border-inline-start: 1px solid var(--orb-deck-3); border-block-start: 1px solid var(--orb-deck-3); transform: rotate(45deg); }
  .orb-me__tip-ok { justify-self: start; padding: 7px 14px; border-radius: 999px; background: var(--orb-red); color: #fff; font-weight: 600; font-size: 12.5px; }
  .orb-toast {
    position: fixed; inset-inline: 0; margin-inline: auto; inset-block-end: calc(18px + var(--orb-dock-h)); z-index: 90; inline-size: max-content; max-inline-size: calc(100% - 32px);
    padding: 11px 16px; border-radius: 12px; background: #fff; color: var(--orb-night); font-size: 13.5px; font-weight: 600;
    box-shadow: 0 12px 34px oklch(0% 0 0 / 0.5); opacity: 0; translate: 0 12px; pointer-events: none; transition: opacity 0.25s, translate 0.25s;
  }
  .orb-toast.is-up { opacity: 1; translate: 0 0; }
  .orb-moved {
    position: fixed; inset-inline: 12px; inset-block-end: calc(12px + var(--orb-dock-h)); z-index: 80; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 14px; border-radius: 14px; background: var(--orb-deck-1); border: 1px solid var(--orb-red); font-size: 14px;
  }
  @media (max-width: 899px) {
    .orb-me__btn { inline-size: 40px; block-size: 40px; border-radius: 12px; }
    .orb-top__seek { margin-inline-start: auto; }
  }
}

@layer parts {
  .orb-card__keep {
    position: absolute; inset-block-start: 8px; inset-inline-end: 8px; z-index: 3; inline-size: 30px; block-size: 30px; display: grid; place-items: center;
    border-radius: 50%; background: oklch(12.7% 0.009 254 / 0.72); color: #fff; border: 1px solid oklch(100% 0 0 / 0.2);
    opacity: 0; transition: opacity 0.2s, background-color 0.2s;
  }
  .orb-card:hover .orb-card__keep, .orb-card__keep:focus-visible, .orb-card__keep.is-on { opacity: 1; }
  .orb-card__keep.is-on { background: var(--orb-red); border-color: var(--orb-red); }
  .orb-card__keep.is-on svg { transform: rotate(45deg); }
  @media (hover: none) { .orb-card__keep { opacity: 1; } }
  .orb-card__drop { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; z-index: 3; inline-size: 28px; block-size: 28px; display: grid; place-items: center; border-radius: 50%; background: oklch(12.7% 0.009 254 / 0.8); color: #fff; }
  .orb-card__drop:hover { background: var(--orb-red); }
}

@layer pages {
  .orb-me-page { padding-block-start: 112px; display: grid; gap: 20px; }
  .orb-me-page > * { min-inline-size: 0; }
  .orb-me-page__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
  .orb-me-page__head h1 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-block-end: 10px; }
  .orb-me-page__head p { color: var(--orb-ink-2); max-inline-size: 62ch; font-size: 14.5px; line-height: 1.6; }
  .orb-me-page__again, .orb-me-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); color: var(--orb-ink-2); }
  .orb-me-page__again:hover, .orb-me-ghost:hover { color: #fff; border-color: oklch(100% 0 0 / 0.35); }
  .orb-guide { padding: 18px; border-radius: 14px; background: linear-gradient(135deg, oklch(57.7% 0.215 27 / 0.14), var(--orb-deck-1) 55%); border: 1px solid oklch(57.7% 0.215 27 / 0.35); }
  .orb-guide__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 12px; }
  .orb-guide h2 { font-size: 17px; font-weight: 700; }
  .orb-guide__x { padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--orb-night); font-weight: 700; font-size: 12.5px; flex: none; }
  .orb-guide__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: orbstep; }
  .orb-guide__steps li { counter-increment: orbstep; display: grid; gap: 4px; font-size: 13px; color: var(--orb-ink-2); line-height: 1.5; }
  .orb-guide__steps b { color: var(--orb-ink); font-size: 14px; }
  .orb-guide__steps b::before { content: counter(orbstep) ". "; color: var(--orb-red-hi); }
  .orb-guide__foot { margin-block-start: 12px; font-size: 12.5px; color: var(--orb-mute); }
  .orb-me-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-block-end: 1px solid var(--orb-deck-2); }
  .orb-me-tabs::-webkit-scrollbar { display: none; }
  .orb-me-tabs__tab { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--orb-mute); border-block-end: 2px solid transparent; margin-block-end: -1px; white-space: nowrap; }
  .orb-me-tabs__tab:hover { color: var(--orb-ink); }
  .orb-me-tabs__tab.is-here { color: #fff; border-block-end-color: var(--orb-red); }
  .orb-me-pane { display: grid; gap: 14px; min-inline-size: 0; }
  .orb-me-pane__tools { display: flex; justify-content: flex-end; }
  .orb-me-listnote { display: grid; gap: 8px; justify-items: start; min-inline-size: 0; padding: 16px 18px; border-radius: 14px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); border-inline-start: 3px solid var(--orb-red); }
  .orb-me-listnote b { color: var(--orb-ink); font-size: 15px; }
  .orb-me-listnote p { min-inline-size: 0; max-inline-size: 70ch; color: var(--orb-ink-2); font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }
  .orb-me-pane__lead { color: var(--orb-ink-2); font-size: 14px; }
  .orb-me-pane__empty { padding: 34px 16px; text-align: center; border-radius: 14px; border: 1px dashed var(--orb-deck-3); color: var(--orb-ink-2); font-size: 14px; }
  .orb-me-pane__empty a { color: #fff; text-decoration: underline; text-decoration-color: var(--orb-red); }
  .orb-me-pane__more { justify-self: center; }
  .orb-me-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .orb-me-lines { display: grid; gap: 6px; }
  .orb-me-lines__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); min-inline-size: 0; }
  .orb-me-lines__row.is-new { border-color: oklch(57.7% 0.215 27 / 0.6); }
  .orb-me-lines__main { display: grid; gap: 2px; min-inline-size: 0; font-size: 14px; }
  .orb-me-lines__main a { font-weight: 600; overflow-wrap: anywhere; }
  .orb-me-lines__main a:hover { color: var(--orb-red-hi); }
  .orb-me-lines__date { font-size: 12px; color: var(--orb-mute); }
  .orb-me-lines__state { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--orb-deck-3); color: var(--orb-ink-2); }
  .orb-me-lines__state--added, .orb-me-lines__state--fixed { background: oklch(55% 0.14 160 / 0.25); color: oklch(85% 0.12 160); }
  .orb-me-lines__state--declined { background: oklch(57.7% 0.215 27 / 0.2); color: var(--orb-red-hi); }
  .orb-me-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
  .orb-me-box { display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-2); min-inline-size: 0; }
  .orb-me-box h2 { font-size: 16px; font-weight: 700; }
  .orb-me-box > p, .orb-me-box__hint { font-size: 13.5px; color: var(--orb-ink-2); line-height: 1.55; }
  .orb-me-box__fine { font-size: 12px; color: var(--orb-mute); }
  .orb-me-box__now { font-size: 13px; color: var(--orb-ink); }
  .orb-me-box__tg { font-size: 13px; color: var(--orb-ink-2); text-decoration: underline; text-underline-offset: 3px; }
  .orb-me-box--plain { background: transparent; }
  .orb-me-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-inline-size: 0; }
  .orb-me-key__val { flex: 1 1 180px; min-inline-size: 0; padding: 10px 12px; border-radius: 10px; background: var(--orb-night); border: 1px dashed var(--orb-edge); font: 600 14px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.06em; overflow-wrap: anywhere; }
  .orb-me-form { display: grid; gap: 8px; min-inline-size: 0; font-size: 13px; color: var(--orb-ink-2); }
  .orb-me-form__row { display: flex; flex-wrap: wrap; gap: 8px; min-inline-size: 0; }
  .orb-me-form__row input, .orb-me-form select { flex: 1 1 180px; min-inline-size: 0; inline-size: 100%; padding: 10px 12px; border-radius: 10px; background: var(--orb-night); border: 1px solid var(--orb-deck-3); color: var(--orb-ink); }
  .orb-me-form__row input[type="file"] { padding: 8px; }
  .orb-me-form__say { font-size: 12.5px; color: var(--orb-ink-2); min-block-size: 1em; }
  .orb-me-form__say.is-bad { color: var(--orb-red-hi); }
  .orb-me-check { display: inline-flex; align-items: center; gap: 8px; color: var(--orb-ink); font-size: 14px; }
  .orb-me-check input { inline-size: 18px; block-size: 18px; accent-color: var(--orb-red); }
  .orb-me-danger { justify-self: start; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--orb-red-hi); border: 1px solid oklch(57.7% 0.215 27 / 0.6); }
  .orb-me-danger:hover { background: oklch(57.7% 0.215 27 / 0.15); }
  /* messages to the site (visitor messages) */
  .orb-me-write { margin-block-start: 16px; }
  .orb-me-write__text { display: block; inline-size: 100%; max-inline-size: 100%; min-block-size: 100px; padding: 10px 12px; border-radius: 10px; background: var(--orb-night); border: 1px solid var(--orb-deck-3); color: var(--orb-ink); font: inherit; font-size: 14px; line-height: 1.55; resize: vertical; }
  .orb-me-write__text:focus { outline: 2px solid var(--orb-red); outline-offset: 1px; }
  .orb-me-write__foot { align-items: center; justify-content: space-between; }
  .orb-me-write__count { font-size: 12px; color: var(--orb-mute); font-variant-numeric: tabular-nums; }
  .orb-me-wrote { margin-block-start: 16px; min-inline-size: 0; }
  .orb-me-wrote__h { margin-block-end: 10px; font-size: 16px; font-weight: 700; }
  .orb-me-wrote__row { flex-wrap: wrap; align-items: flex-start; }
  .orb-me-wrote__row > .orb-me-lines__main { flex: 1 1 200px; }
  .orb-me-wrote__kind { justify-self: start; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--orb-edge); font-size: 11px; font-weight: 700; color: var(--orb-ink-2); }
  .orb-me-wrote__msg { color: var(--orb-ink); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
  .orb-me-wrote__st--read { background: oklch(60% 0.12 245 / 0.25); color: oklch(85% 0.08 245); }
  .orb-me-wrote__st--planned { background: oklch(80% 0.15 85 / 0.2); color: oklch(88% 0.14 90); }
  .orb-me-wrote__st--done { background: oklch(55% 0.14 160 / 0.25); color: oklch(85% 0.12 160); }
  .orb-me-wrote__st--declined { background: oklch(57.7% 0.215 27 / 0.2); color: var(--orb-red-hi); }
  .orb-me-wrote__ans { flex: 1 1 100%; min-inline-size: 0; padding: 10px 12px; border-radius: 10px; background: var(--orb-deck-2); border-inline-start: 3px solid var(--orb-red); }
  .orb-me-wrote__ans strong { display: block; font-size: 12px; color: var(--orb-red-hi); }
  .orb-me-wrote__ans p { margin-block: 4px 10px; font-size: 13.5px; line-height: 1.55; color: var(--orb-ink); white-space: pre-line; overflow-wrap: anywhere; }
  @media (max-width: 999px) {
    .orb-me-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .orb-guide__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 699px) {
    .orb-me-page { padding-block-start: 84px; }
    .orb-me-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .orb-me-boxes { grid-template-columns: minmax(0, 1fr); }
    .orb-guide__steps { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 400px) {
    .orb-me-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
}

@layer states {
  @media (prefers-reduced-motion: reduce) {
    .orb-me__dot { animation: none !important; box-shadow: 0 0 0 3px oklch(57.7% 0.215 27 / 0.35); }
  }
}

/* ---------- base rules for hooks that are otherwise only styled in context ---------- */
@layer parts {
  .orb-body { min-block-size: 100vh; }
  .orb-ico { flex: none; }
  .orb-pill__drop, .orb-sift__drop { position: relative; }
  .orb-row, .orb-eps__season { min-inline-size: 0; }
  .orb-row--spot .orb-row__head { margin-block-end: 12px; }
  .orb-sift__panel--sort { grid-template-columns: 1fr; }
  .orb-card--made .orb-card__art { background: var(--orb-deck-2); }
  .orb-invite__go { display: inline-flex; }
  .orb-dock__tab { display: grid; place-items: center; align-content: center; gap: 3px; color: var(--orb-mute); font-size: 10.5px; font-weight: 500; min-inline-size: 0; }
  .orb-dock__tab.is-here { color: #fff; }
  .orb-dock__tab.is-here svg { color: var(--orb-red); }
}

/* ---------- genre menu in two columns: movies and TV shows ---------- */
@layer frame {
  .orb-drop__panel--two { z-index: 9; inline-size: 420px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; align-items: start; }
  .orb-drop__col { display: grid; gap: 2px; min-inline-size: 0; }
  .orb-drop__head { padding: 6px 10px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orb-red-hi); }
  .orb-drop__panel--two:not(:has(.orb-drop__col + .orb-drop__col)) { inline-size: 220px; grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Movies / TV Shows switch on genre pages ---------- */
@layer pages {
  .orb-kinds { display: inline-flex; justify-self: start; padding: 4px; gap: 4px; border-radius: 999px; background: var(--orb-deck-1); border: 1px solid var(--orb-deck-3); }
  .orb-kinds__opt { padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--orb-ink-2); white-space: nowrap; }
  .orb-kinds__opt.is-here { background: var(--orb-red); color: #fff; }
  button.orb-kinds__opt:hover:not(:disabled) { color: #fff; background: var(--orb-deck-2); }
  button.orb-kinds__opt:disabled { opacity: 0.45; cursor: default; font-weight: 600; }
}
