#ultimate-app { display:grid; gap:1rem; }
.ultimate-console { border:2px solid #6e685f; border-radius:12px; padding:12px; background:linear-gradient(#d3cec5,#b0a99e); box-shadow:inset 0 2px 4px #ffffff80,0 3px 7px #0002; }
.ultimate-console h2 { margin:0; font:600 1.1rem 'Oswald',sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.ultimate-toolbar,.ultimate-section-toggle,.ultimate-slot-head,.ultimate-actions,.ultimate-dialog-header,.ultimate-dialog-footer { display:flex; align-items:center; justify-content:space-between; gap:.65rem; flex-wrap:wrap; }
.ultimate-section-toggle { width:100%; border:0; background:none; text-align:left; cursor:pointer; font:600 1.05rem 'Oswald',sans-serif; color:#29251e; }
.ultimate-unread { padding:3px 9px; background:#6c2e24; color:#fff4dc; border-radius:12px; font:.76rem 'Courier New',monospace; }
.ultimate-unread.is-empty { background:#69635a; }
#ultimate-feed-body { padding-top:12px; }
.ultimate-key { display:inline-block; cursor:pointer; border:2px solid #666057; border-radius:5px; padding:8px 12px; background:linear-gradient(#e0ddd6,#aea89e); box-shadow:inset 0 2px 2px #fff8,inset 0 -2px 3px #0003; color:#24211e; font:600 .76rem 'Oswald',sans-serif; letter-spacing:.065em; text-decoration:none; text-transform:uppercase; }
.ultimate-key:hover { filter:brightness(1.07); }
.ultimate-key:disabled { opacity:.38; cursor:not-allowed; }
.ultimate-key-primary { background:linear-gradient(#ffefac,#e4c561); }
.ultimate-note { margin:.4rem 0; color:#514b42; font:.83rem/1.5 'Courier New',monospace; }
.ultimate-slots { display:grid; gap:9px; margin-top:12px; }
.ultimate-slot { padding:10px; border:1px solid #81786c; background:#e9e2d6; border-radius:6px; }
.ultimate-slot-head { justify-content:flex-start; font:600 .87rem 'Oswald',sans-serif; letter-spacing:.05em; }
.ultimate-number { min-width:37px; text-align:center; padding:4px 5px; background:#272724; color:#efd87a; font:700 .85rem 'Courier New',monospace; }
.ultimate-status { margin-left:auto; color:#2d7152; font:.65rem 'Courier New',monospace; }
.ultimate-winners { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:9px 0; }
.ultimate-winners>div { display:grid; align-content:start; gap:3px; background:#d3cdc1; border:1px solid #b1a698; padding:9px; overflow-wrap:anywhere; }
.ultimate-winners small { color:#5e574e; font:.6rem 'Courier New',monospace; }
.ultimate-winners strong { font:600 .85rem 'Oswald',sans-serif; }
.ultimate-slot .ultimate-actions { justify-content:flex-end; margin-top:9px; }
.ultimate-feed-entry { border:1px solid #aaa093; padding:10px; margin-top:8px; border-radius:6px; background:#e8e1d6; }
.ultimate-feed-entry.is-read { opacity:.72; }
.ultimate-feed-entry p { margin:0 0 8px; }
.ultimate-modal[hidden], [hidden] { display:none !important; }
.ultimate-modal { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:12px; }
.ultimate-shade { position:absolute; inset:0; background:#10100fd9; }
.ultimate-dialog { position:relative; width:min(650px,100%); max-height:min(92dvh,900px); display:flex; flex-direction:column; background:#e7dfd1; border:3px solid #4c4941; border-radius:12px; box-shadow:0 12px 50px #000a; }
.ultimate-dialog-header { flex:0 0 auto; background:#282522; color:#fff0cb; padding:12px 16px; }
.ultimate-dialog-header h2 { color:#fff0cb; margin:3px 0 0; font:600 1.35rem 'Oswald',sans-serif; }
.ultimate-dialog-header small { font:.65rem 'Courier New',monospace; letter-spacing:.13em; }
#ultimate-close { width:38px;height:38px;border:1px solid #958573; background:#38312c;color:white;cursor:pointer;font-size:1.6rem; }
.ultimate-dialog-content { padding:16px; min-height:130px; overflow:auto; overscroll-behavior:contain; }
.ultimate-dialog-footer { padding:10px 16px; border-top:1px solid #a79b89; }
.ultimate-dialog-content p { line-height:1.5; }
.ultimate-info-card { border:1px solid #ab9f8c; border-radius:6px; padding:12px; margin-bottom:10px; background:#f3ebdc; }
.ultimate-info-card h3 { margin:0 0 5px; font:600 1rem 'Oswald',sans-serif; }
.ultimate-candidate { border:1px solid #9e9588; background:#f0e9df; border-radius:6px; padding:9px; display:flex; align-items:center; gap:10px; justify-content:space-between; margin:7px 0; flex-wrap:wrap; }
.ultimate-candidate-title { display:flex; align-items:center; gap:8px; flex:1 1 180px; min-width:0; }
.ultimate-candidate-title strong { font:.88rem 'Oswald',sans-serif; }
.ultimate-rank-number { background:#262620; color:#f6d978; border-radius:3px; width:30px; padding:5px 0; text-align:center; font:700 .8rem 'Courier New',monospace; flex-shrink:0; }
.ultimate-movers { display:flex; gap:3px; flex:0 0 auto; }
.ultimate-movers button { min-width:35px; min-height:35px; padding:4px; font:bold .85rem 'Courier New',monospace; }
.ultimate-candidate.is-demo { background:#e2e2d5; }
.ultimate-comment { width:100%; min-height:110px; resize:vertical; background:#faf6ec; font: .95rem Arial,sans-serif; }
.ultimate-choices { display:grid; gap:12px; margin:12px 0; }
.ultimate-choices label { display:flex; gap:8px; align-items:flex-start; }
.ultimate-error { margin:9px 0; background:#ffe0d9; color:#792e22; border:1px solid #b37968; padding:9px; }
.ultimate-match { color:#1c754f; font-weight:bold; }.ultimate-diff { color:#a12d27; font-weight:bold; }
.ultimate-compare-table { width:100%; border-collapse:collapse; font:.83rem 'Courier New',monospace; }
.ultimate-compare-table td,.ultimate-compare-table th { border-bottom:1px solid #aea395; padding:8px 5px; text-align:left; }
.ultimate-compare-table td:not(:first-child),.ultimate-compare-table th:not(:first-child) { text-align:center; }
.ultimate-jump-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; }
.ultimate-jump-grid .ultimate-key { padding:10px 2px; }
body.ultimate-modal-open { overflow:hidden; }
@media(max-width:560px) { .ultimate-candidate { display:block; }.ultimate-candidate-title { margin-bottom:8px; }.ultimate-movers { justify-content:flex-end; }.ultimate-movers button { flex:1; min-height:42px; }.ultimate-winners { grid-template-columns:1fr 1fr; }.ultimate-jump-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }.ultimate-dialog-content { padding:11px; } }

/* Ultimate Season / broadcast console revision */
.page:has(#ultimate-app) > .page-header { display:none; }
.page:has(#ultimate-app) { max-width: none; }
.ultimate-hero { position:relative; overflow:hidden; margin:0 0 1.15rem; border:3px solid #292621; border-radius:3px; color:#f4e5bf; background:radial-gradient(ellipse at 72% 45%,#3a3831 0,#1b1b19 50%,#101110 100%); box-shadow:inset 0 0 0 4px #716959,inset 0 0 0 7px #1a1a18,0 8px 24px #0004; }
.ultimate-hero::after {content:"";position:absolute;inset:0;pointer-events:none;opacity:.2;background:repeating-linear-gradient(to bottom,transparent 0 3px,#000 4px 5px);}
.ultimate-hero-top,.ultimate-hero-bottom {position:relative;z-index:1;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:10px 19px;color:#c9bfa8;font:600 .64rem 'Courier New',monospace;letter-spacing:.12em;}
.ultimate-hero-top {border-bottom:1px solid #756c56;align-items:center;}
.ultimate-hero-bottom {border-top:1px solid #756c56;}
.ultimate-hero-signal {display:inline-block;width:9px;height:9px;border-radius:50%;background:#e1c663;box-shadow:0 0 12px #f4d970;}
.ultimate-hero-content {position:relative;z-index:1;display:flex;gap:clamp(14px,4vw,45px);align-items:center;justify-content:center;min-height:225px;padding:25px 25px 32px;}
.ultimate-hero-disc {width:clamp(96px,18vw,178px);aspect-ratio:1;border:3px solid #b6a16b;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;box-shadow:inset 0 0 0 6px #252521,inset 0 0 0 8px #85724e,0 0 28px #bd9e4640;background:repeating-radial-gradient(circle,#292a27 0 3px,#20211e 4px 6px);}
.ultimate-hero-disc span {font:700 clamp(2.5rem,7vw,5.5rem) 'Cormorant Garamond',serif;line-height:.9;}
.ultimate-hero-disc small {font:600 .55rem 'Oswald',sans-serif;letter-spacing:.16em;}
.ultimate-hero-eyebrow {font:600 .7rem 'Oswald',sans-serif;letter-spacing:.23em;color:#d3c18e;margin-bottom:3px;}
.ultimate-hero h1 {font:700 clamp(2.25rem,5.5vw,4.7rem)/.89 'Cormorant Garamond',serif;color:#f4e5bf;letter-spacing:.045em;margin:0 0 14px;text-shadow:0 3px 9px #000;}
.ultimate-hero h1 em {font-style:normal;color:#edcb6e;}
.ultimate-hero-content p:last-child {max-width:450px;margin:0;font: .85rem/1.5 'Courier New',monospace;color:#e2d8c5;}
.ultimate-console {border-radius:5px;border-width:3px;box-shadow:inset 0 0 0 1px #e4e0d9,inset 0 2px 4px #ffffff80,0 3px 7px #0003;}
.ultimate-dialog {width:min(810px,100%);border:4px solid #302e2b;border-radius:3px;background:linear-gradient(115deg,#b4aea3,#e7e2d7 12%,#d4cec3 89%,#9a9287);box-shadow:inset 0 0 0 3px #a29a8d,inset 0 0 0 6px #48443e,0 15px 55px #000c;overflow:hidden;min-height:240px;}
.ultimate-dialog-header {position:relative;min-height:73px;flex-wrap:nowrap;padding:14px 16px 13px 21px;background:linear-gradient(#35332e,#1c1c1a);border-bottom:3px double #9e8d68;}
.ultimate-dialog-header h2 {font-size:clamp(1.12rem,3vw,1.7rem);line-height:1.1;}
.ultimate-dialog-content {padding:18px 19px;}
.ultimate-dialog-footer {background:linear-gradient(#c5beb2,#aba497);border-top:2px solid #847c70;gap:8px;padding:11px 18px;}
#ultimate-close {box-sizing:border-box;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0!important;margin:0!important;line-height:1!important;border:2px solid #aa9b83;border-radius:3px;background:linear-gradient(#4b453c,#2c2925);box-shadow:inset 0 1px 1px #ffffff36,0 2px 3px #0007;appearance:none;transform:none!important;top:auto!important;position:relative!important;font-family:Arial,sans-serif!important;font-size:0!important;}
#ultimate-close span {font:400 27px/1 Arial,sans-serif;display:block;position:relative;top:-1px;text-align:center;color:#f7ecd9;}
#ultimate-close:hover {background:#645849;}
.ultimate-candidate {display:flex;align-items:center;gap:12px;border:2px solid #776e63;border-radius:4px;background:linear-gradient(#d8d2c8,#bcb5aa);padding:11px;margin:11px 0;box-shadow:inset 0 1px 2px #fff8,0 2px 4px #0002;}
.ultimate-candidate-machine {flex:1;min-width:0;}
.ultimate-candidate-stage {display:flex;align-items:center;justify-content:center;gap:12px;}
.ultimate-rank-number {width:44px;flex:0 0 44px;padding:12px 0;font-size:1.2rem;border:2px solid #6d6455;background:#20211d;color:#f2d77e;box-shadow:inset 0 0 8px #000;}
.ultimate-tv-frame {position:relative;width:min(100%,355px);max-width:355px;min-width:0;display:flex;align-items:center;gap:9px;background:linear-gradient(130deg,#9b9388,#484641 47%,#a49c90);border:3px solid #514b44;border-radius:21px;padding:9px;box-shadow:inset 0 2px 4px #ffffff78,inset 0 -4px 7px #0008,0 3px 5px #0005;}
.ultimate-tv-screen {position:relative;overflow:hidden;flex:1;aspect-ratio:16/9;min-width:0;background:#121311;border:5px solid #262421;border-radius:22% / 18%;box-shadow:inset 0 0 15px #000;}
.ultimate-tv-screen::after {content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(to bottom,#ffffff08 0 1px,#0000000d 2px 3px),radial-gradient(ellipse at center,transparent 45%,#0008);border-radius:inherit;}
.ultimate-tv-screen img {width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.12);}
.ultimate-tv-no-signal {display:grid;place-items:center;width:100%;height:100%;color:#c2b99d;font:600 .7rem 'Oswald',sans-serif;letter-spacing:.1em;text-align:center;}
.ultimate-tv-controls {display:flex;flex-direction:column;align-items:center;gap:12px;flex:0 0 20px;}
.ultimate-tv-controls span {width:16px;height:16px;border:3px solid #4e473f;border-radius:50%;background:radial-gradient(circle at 30% 30%,#e2dccd,#4a473f);box-shadow:0 1px 3px #000;}
.ultimate-movers {display:flex;flex-direction:column;gap:8px;flex:0 0 43px;}
.ultimate-movers .ultimate-move {width:43px;height:43px;min-width:43px;min-height:43px;padding:0;display:grid;place-items:center;font:bold 1.5rem/1 'Courier New',monospace;}
.ultimate-mobile-movers {display:none;}
.ultimate-candidate-caption {display:flex;justify-content:center;align-items:baseline;gap:9px;flex-wrap:wrap;margin-top:8px;text-align:center;}
.ultimate-candidate-caption strong {font:600 1rem 'Oswald',sans-serif;color:#29251f;}
.ultimate-candidate-caption small {font:.65rem 'Courier New',monospace;color:#534c42;}
.ultimate-candidate.is-demo .ultimate-tv-screen {aspect-ratio:2/1;}
.ultimate-candidate.is-demo .ultimate-tv-frame {max-width:250px;}
@media(max-width:650px) {
  .ultimate-hero-content {padding:22px 13px;gap:12px;}
  .ultimate-hero-top,.ultimate-hero-bottom {padding:9px 11px;font-size:.55rem;}
  .ultimate-hero-disc {width:85px;}
  .ultimate-hero h1 {font-size:clamp(1.8rem,8vw,3.2rem);}
  .ultimate-hero-content p:last-child {font-size:.72rem;}
  .ultimate-dialog {border-width:3px;max-height:94dvh;}
  .ultimate-dialog-header {padding:11px;}
  .ultimate-dialog-content {padding:10px;}
  .ultimate-candidate {display:flex;gap:8px;padding:7px;}
  .ultimate-candidate-stage>.ultimate-movers {display:none;}
  .ultimate-candidate-stage {gap:0;}
  .ultimate-tv-frame {max-width:100%;}
  .ultimate-mobile-movers {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:8px;}
  .ultimate-mobile-movers .ultimate-move {display:grid;place-items:center;min-width:0;width:100%;min-height:42px;}
  .ultimate-rank-number {width:31px;flex-basis:31px;padding:8px 0;font-size:.92rem;}
  .ultimate-candidate-caption strong {font-size:.88rem;}
  .ultimate-dialog-footer .ultimate-key {flex:1 1 140px;white-space:normal;}
}

/* November 2026: header alignment, collapsible personal section, reset */
.ultimate-hero-disc {gap:5px; padding:12px 8px 10px; box-sizing:border-box;}
.ultimate-hero-disc span {display:block; font-size:clamp(2.7rem,6.5vw,4.8rem); line-height:1; margin:0;}
.ultimate-hero-disc small {display:block; font-size:clamp(.58rem,1.2vw,.77rem); letter-spacing:.1em; line-height:1.2; margin:0;}
.ultimate-hero h1 {line-height:1.02; font-size:clamp(2.1rem,4.7vw,4.2rem);}
.ultimate-personal-toggle {display:inline-flex;align-items:center;gap:10px;text-align:left;background:none;border:0;color:#29251e;cursor:pointer;font:600 1.1rem 'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.08em;padding:5px 0;}
.ultimate-personal-toggle:hover {color:#684e27;}
.ultimate-reset-trigger {background:linear-gradient(#e6d3c6,#b9a495);}
.ultimate-reset-input {display:block;width:100%;margin-top:8px;max-width:300px;padding:10px;border:2px solid #6a5242;}
@media(max-width:650px) { .ultimate-hero-disc {gap:3px;padding:8px 5px;} .ultimate-hero-disc span {font-size:2.8rem;} .ultimate-hero-disc small {font-size:.57rem;} .ultimate-hero h1 {font-size:clamp(1.65rem,7.3vw,3rem);} }

/* Review #3 — broadcast badge, TV titles and distinct ranking modes */
.ultimate-hero-disc { display:grid; grid-template-rows:minmax(0,1fr) auto auto minmax(0,1fr); gap:0; padding:0 5px; justify-items:center; align-items:center; }
.ultimate-hero-disc::before,.ultimate-hero-disc::after { content:""; }
.ultimate-hero-disc span {font-size:clamp(2.6rem,6.4vw,4.9rem);line-height:.83;align-self:end;margin:0;transform:none;}
.ultimate-hero-disc small {font-size:clamp(.57rem,1vw,.72rem);line-height:1.15;align-self:start;letter-spacing:.1em;margin:0;padding-top:4px;}
.ultimate-mode-readout {display:flex;align-items:center;gap:12px;border:3px solid #655a46;border-radius:4px;padding:9px 13px;margin:0 0 9px;box-shadow:inset 0 2px 9px #000c,0 2px 2px #fff8;background:#181a15;color:#f5d66e;}
.ultimate-mode-label {font:700 .7rem 'Courier New',monospace;letter-spacing:.18em;color:#bfb9a0;}
.ultimate-mode-readout strong {font:700 clamp(1.45rem,4.8vw,2.15rem)/1 'Oswald',sans-serif;letter-spacing:.14em;color:#ffe084;text-shadow:0 0 11px #e3bf4160;}
.ultimate-mode-index {margin-left:auto;font:700 .7rem 'Courier New',monospace;color:#bfb9a0;white-space:nowrap;}
.ultimate-mode-readout.is-objective {background:#10242c;border-color:#416a78;box-shadow:inset 0 2px 11px #03131ddd,0 0 0 1px #8cc0ca40;}
.ultimate-mode-readout.is-objective strong {color:#92edfb;text-shadow:0 0 12px #5ed2ed80;}
.ultimate-mode-readout.is-objective .ultimate-mode-label,.ultimate-mode-readout.is-objective .ultimate-mode-index {color:#9fcbd4;}
.ultimate-mode-help {font:.79rem/1.35 'Courier New',monospace;margin:0 0 9px;color:#454139;}
.ultimate-tv-screen {isolation:isolate;}
.ultimate-tv-screen img {display:block;}
.ultimate-tv-overlay {position:absolute;bottom:0;left:0;right:0;z-index:3;display:grid;gap:2px;padding:19px 8px 7px;color:#f6f2e9;text-shadow:0 1px 4px #000,0 2px 3px #000;background:linear-gradient(transparent,#000b 38%,#000e);text-align:center;pointer-events:none;}
.ultimate-tv-series {font:600 .49rem 'Oswald',sans-serif;letter-spacing:.15em;}
.ultimate-tv-title {font:600 clamp(.77rem,1.7vw,1.02rem)/1.08 'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.03em;overflow-wrap:anywhere;}
.ultimate-tv-meta {font:600 .49rem 'Oswald',sans-serif;letter-spacing:.11em;}
.ultimate-candidate-caption {display:none;}
@media(max-width:650px) {
 .ultimate-hero-disc {padding:0 4px;}
 .ultimate-hero-disc span {font-size:clamp(2.1rem,7vw,3rem);line-height:.82;}
 .ultimate-hero-disc small {font-size:.54rem;padding-top:3px;}
 .ultimate-dialog-content.ultimate-ranking-body {padding:7px 10px;}
 .ultimate-ranking-body .ultimate-mode-readout {padding:6px 9px;margin-bottom:6px;gap:7px;}
 .ultimate-ranking-body .ultimate-mode-readout strong {font-size:1.35rem;}
 .ultimate-ranking-body .ultimate-mode-help {font-size:.68rem;line-height:1.23;margin:0 0 5px;}
 .ultimate-ranking-body .ultimate-candidate {padding:4px 7px;margin:4px 0;gap:5px;min-height:0;}
 .ultimate-ranking-body .ultimate-rank-number {width:26px;flex:0 0 26px;padding:5px 0;font-size:.8rem;}
 .ultimate-ranking-body .ultimate-candidate-stage {height:66px;}
 .ultimate-ranking-body .ultimate-tv-frame {width:174px;max-width:100%;height:66px;padding:4px;border-width:2px;border-radius:12px;gap:4px;}
 .ultimate-ranking-body .ultimate-tv-screen {aspect-ratio:auto;height:100%;border-width:2px;border-radius:17% / 15%;}
 .ultimate-ranking-body .ultimate-tv-controls {flex-basis:10px;gap:6px;}
 .ultimate-ranking-body .ultimate-tv-controls span {width:9px;height:9px;border-width:2px;}
 .ultimate-ranking-body .ultimate-tv-overlay {gap:0;padding:11px 4px 3px;}
 .ultimate-ranking-body .ultimate-tv-series {display:none;}
 .ultimate-ranking-body .ultimate-tv-title {font-size:.67rem;line-height:1;}
 .ultimate-ranking-body .ultimate-tv-meta {font-size:.42rem;}
 .ultimate-ranking-body .ultimate-mobile-movers {margin-top:4px;gap:4px;}
 .ultimate-ranking-body .ultimate-mobile-movers .ultimate-move {min-height:26px;height:26px;font-size:1rem;padding:0;}
 .ultimate-ranking-body .ultimate-candidate-machine {display:flex;flex-direction:column;align-items:center;}
 .ultimate-ranking-body .ultimate-mobile-movers {width:min(100%,230px);}
}
@media(max-width:380px) { .ultimate-ranking-body .ultimate-tv-frame {width:150px;height:60px;} .ultimate-ranking-body .ultimate-candidate-stage {height:60px;} .ultimate-ranking-body .ultimate-candidate {margin:3px 0;} }

/* Review #4: compact ranking screen. Keep the four movers beside each TV
   at all viewport widths, and place the mode display in the fixed header. */
.ultimate-dialog-heading {min-width:0;flex:1 1 auto;}
.ultimate-dialog-header > #ultimate-header-mode {
  display:flex; flex:0 1 auto; align-items:center; gap:9px;
  margin:0 4px 0 auto; padding:8px 11px;
  border-width:2px; box-shadow:inset 0 2px 8px #000b;
}
.ultimate-dialog-header > #ultimate-header-mode[hidden] {display:none!important;}
.ultimate-dialog-header > #ultimate-header-mode strong {font-size:clamp(1rem,2.9vw,1.6rem);}
.ultimate-dialog-header > #ultimate-header-mode .ultimate-mode-index {font-size:.6rem;}
.ultimate-dialog-header > #ultimate-close {flex-shrink:0;}
.ultimate-dialog-content.ultimate-ranking-body {padding-top:5px;padding-bottom:5px;}
.ultimate-ranking-body .ultimate-candidate {margin:4px 0;padding:4px 7px;gap:6px;}
.ultimate-ranking-body .ultimate-candidate-stage {gap:5px;}
.ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {display:flex;flex-direction:column;justify-content:center;gap:4px;flex:0 0 33px;}
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {display:grid;place-items:center;box-sizing:border-box;min-width:0;min-height:0;width:33px;height:33px;padding:0;font-size:1.05rem;}
.ultimate-ranking-body .ultimate-mobile-movers {display:none!important;}
@media(max-width:650px) {
  .ultimate-dialog-header {gap:7px;padding:8px 10px;min-height:0;}
  .ultimate-dialog-header h2 {font-size:1.07rem;margin-top:2px;}
  .ultimate-dialog-header small {font-size:.53rem;}
  .ultimate-dialog-header > #ultimate-header-mode {gap:5px;padding:6px 7px;margin:0 2px 0 auto;}
  .ultimate-dialog-header > #ultimate-header-mode strong {font-size:clamp(.81rem,3.1vw,1.13rem);letter-spacing:.04em;}
  .ultimate-dialog-header > #ultimate-header-mode .ultimate-mode-label {font-size:.56rem;letter-spacing:.06em;}
  .ultimate-dialog-header > #ultimate-header-mode .ultimate-mode-index {display:none;}
  .ultimate-dialog-header > #ultimate-close {width:35px;height:35px;flex-basis:35px;}
  .ultimate-dialog-content.ultimate-ranking-body {padding:4px 6px;}
  .ultimate-ranking-body .ultimate-candidate {display:flex;align-items:center;gap:4px;padding:3px 4px;margin:3px 0;}
  .ultimate-ranking-body .ultimate-rank-number {flex:0 0 23px;width:23px;font-size:.75rem;padding:4px 0;}
  .ultimate-ranking-body .ultimate-candidate-machine {display:block;flex:1;min-width:0;}
  .ultimate-ranking-body .ultimate-candidate-stage {display:flex;align-items:center;justify-content:center;gap:3px;height:64px;min-width:0;}
  .ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {display:flex;flex-direction:column;gap:3px;flex:0 0 28px;}
  .ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {width:28px;height:28px;font-size:.96rem;min-width:0;min-height:0;}
  .ultimate-ranking-body .ultimate-tv-frame {flex:1 1 auto;width:auto;max-width:184px;min-width:0;height:64px;padding:4px;}
  .ultimate-ranking-body .ultimate-tv-title {font-size:clamp(.55rem,2.45vw,.73rem);}
  .ultimate-ranking-body .ultimate-tv-meta {font-size:.4rem;}
  .ultimate-dialog-footer {padding:7px 9px;gap:5px;}
  .ultimate-dialog-footer .ultimate-key {min-height:36px;padding:6px 7px;font-size:.72rem;}
}
@media(max-width:380px) {
  .ultimate-dialog-header > #ultimate-header-mode {padding:5px 6px;gap:4px;}
  .ultimate-dialog-header > #ultimate-header-mode strong {font-size:.76rem;}
  .ultimate-dialog-header h2 {font-size:.94rem;}
  .ultimate-dialog-header > #ultimate-close {width:32px;height:32px;flex-basis:32px;}
  .ultimate-ranking-body .ultimate-candidate-stage {height:59px;}
  .ultimate-ranking-body .ultimate-tv-frame {height:59px;}
  .ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {flex-basis:26px;}
  .ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {width:26px;height:26px;}
}

/* Review #5: restore a tall ranking console instead of shrinking the whole
   popup to fit five tiny televisions. Only the two ranking rounds use this. */
.ultimate-dialog:has(.ultimate-dialog-content.ultimate-ranking-body) {
  height: min(94dvh, 930px);
  max-height: 94dvh;
}
.ultimate-dialog-content.ultimate-ranking-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 12px;
}
.ultimate-ranking-body #ultimate-ranking-list {
  display: grid;
  grid-template-rows: repeat(5, minmax(102px, 1fr));
  min-height: 100%;
  gap: 5px;
}
.ultimate-ranking-body .ultimate-candidate {
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 5px 8px;
}
.ultimate-ranking-body .ultimate-candidate-machine,
.ultimate-ranking-body .ultimate-candidate-stage {
  height: 100%;
  min-height: 0;
}
.ultimate-ranking-body .ultimate-candidate-stage {
  gap: 6px;
}
.ultimate-ranking-body .ultimate-tv-frame {
  width: min(100%, 300px);
  max-width: 300px;
  height: min(100%, 115px);
  flex: 1 1 auto;
  padding: 6px;
}
.ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {
  flex: 0 0 35px;
  gap: 5px;
}
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {
  width: 35px;
  height: 35px;
}
.ultimate-ranking-body .ultimate-tv-title {
  font-size: clamp(.68rem, 2.5vw, .93rem);
}
@media (max-width: 650px) {
  .ultimate-modal {padding: 7px;}
  .ultimate-dialog:has(.ultimate-dialog-content.ultimate-ranking-body) {
    height: 96dvh;
    max-height: 96dvh;
  }
  .ultimate-dialog-content.ultimate-ranking-body {padding: 8px 7px;}
  .ultimate-ranking-body #ultimate-ranking-list {
    grid-template-rows: repeat(5, minmax(88px, 1fr));
    gap: 5px;
  }
  .ultimate-ranking-body .ultimate-candidate {padding: 5px 4px;}
  .ultimate-ranking-body .ultimate-candidate-stage {height: 100%;gap: 4px;}
  .ultimate-ranking-body .ultimate-tv-frame {
    width: auto;
    max-width: 240px;
    height: min(100%, 108px);
    padding: 5px;
  }
  .ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {flex-basis: 29px;gap: 5px;}
  .ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {
    width: 29px;
    height: 36px;
  }
  .ultimate-ranking-body .ultimate-tv-title {font-size: clamp(.63rem, 2.5vw, .78rem);}
  .ultimate-ranking-body .ultimate-tv-meta {font-size: .48rem;}
}
@media (max-width: 380px) {
  .ultimate-ranking-body .ultimate-candidate-stage {height: 100%;}
  .ultimate-ranking-body .ultimate-tv-frame {height: min(100%, 100px);}
  .ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {flex-basis: 26px;}
  .ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {width: 26px;height: 34px;}
}

/* Review #6 — television-height rows instead of stretching the rows to fill
   the modal. Unused vertical room belongs below the list, never inside cards. */
.ultimate-ranking-body #ultimate-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
  align-items: stretch;
}
.ultimate-ranking-body .ultimate-candidate {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 4px 7px;
}
.ultimate-ranking-body .ultimate-candidate-machine,
.ultimate-ranking-body .ultimate-candidate-stage {
  height: auto;
}
.ultimate-ranking-body .ultimate-candidate-stage {
  gap: 6px;
}
.ultimate-ranking-body .ultimate-tv-frame {
  height: 112px;
  max-height: 112px;
}
.ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {
  align-self: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 39px;
}
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {
  width: 39px;
  height: 54px;
  font-size: 1.35rem;
}
.ultimate-ranking-body .ultimate-tv-overlay {
  padding: 20px 7px 7px;
}
.ultimate-ranking-body .ultimate-tv-title {
  font-size: clamp(.98rem, 1.9vw, 1.19rem);
  line-height: 1.06;
  letter-spacing: .015em;
  text-shadow: 0 2px 3px #000, 0 0 6px #000;
}
.ultimate-ranking-body .ultimate-tv-meta {font-size:.57rem;}
@media (max-width: 650px) {
  .ultimate-ranking-body #ultimate-ranking-list {
    display:flex;
    flex-direction:column;
    gap:4px;
    min-height:0;
  }
  .ultimate-ranking-body .ultimate-candidate {
    height:auto;
    padding:3px 4px;
    margin:0;
    gap:4px;
  }
  .ultimate-ranking-body .ultimate-candidate-stage {
    height:auto;
    gap:3px;
  }
  .ultimate-ranking-body .ultimate-tv-frame {
    height:108px;
    max-height:108px;
    width:auto;
    max-width:240px;
    padding:5px;
  }
  .ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {
    flex:0 0 30px;
    gap:4px;
  }
  .ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {
    width:30px;
    height:52px;
    font-size:1.18rem;
  }
  .ultimate-ranking-body .ultimate-tv-overlay {padding:18px 5px 5px;}
  .ultimate-ranking-body .ultimate-tv-title {
    font-size:clamp(.84rem,3.2vw,1.06rem);
    line-height:1.06;
  }
  .ultimate-ranking-body .ultimate-tv-meta {font-size:.54rem;}
}
@media (max-width:380px) {
  .ultimate-ranking-body .ultimate-tv-frame {height:100px;max-height:100px;}
  .ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {flex-basis:27px;gap:4px;}
  .ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {width:27px;height:48px;font-size:1.08rem;}
  .ultimate-ranking-body .ultimate-tv-title {font-size:clamp(.78rem,3.15vw,.95rem);}
}

/* Review #7: user-validated mobile TV proportions. Keep after previous media rules. */
.ultimate-ranking-body .ultimate-tv-frame {
  height: 128px;
  max-height: 128px;
}
.ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {
  height: 138px;
  align-self: center;
  justify-content: stretch;
  gap: 4px;
}
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
}
.ultimate-ranking-body .ultimate-tv-title {
  font-size: clamp(1.84rem, 4.7vw, 2.05rem);
  line-height: 1.02;
}
@media (max-width: 650px) {
  .ultimate-ranking-body .ultimate-tv-frame {
    height: 128px;
    max-height: 128px;
  }
  .ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {
    height: 138px;
  }
  .ultimate-ranking-body .ultimate-tv-title {
    font-size: clamp(1.84rem, 4.7vw, 2.05rem);
  }
}


/* Review #8: flexible side controls and neutral set readout next to mode. */
.ultimate-ranking-body .ultimate-candidate-stage {
  width: 100%;
  justify-content: stretch;
}
.ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}
.ultimate-ranking-body .ultimate-tv-frame {
  flex: 0 1 240px;
  min-width: 0;
}
.ultimate-dialog-header > #ultimate-header-set {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 7px 9px;
  border: 2px solid #675d4d;
  border-radius: 3px;
  background: #191a17;
  box-shadow: inset 0 2px 8px #000b;
  white-space: nowrap;
}
.ultimate-dialog-header > #ultimate-header-set[hidden] {display:none!important;}
.ultimate-set-readout span {
  color: #bfb9a0;
  font: 700 .63rem 'Courier New',monospace;
  letter-spacing: .08em;
}
.ultimate-set-readout strong {
  color: #f0dfb5;
  font: 700 .82rem 'Oswald',sans-serif;
  letter-spacing: .04em;
}
.ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) {flex-wrap: nowrap;}
.ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) .ultimate-dialog-heading {flex:1 1 auto;min-width:0;}
.ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) #ultimate-header-mode {margin:0;}
@media(max-width:650px) {
  .ultimate-dialog-header > #ultimate-header-set {padding:5px 6px;gap:3px;}
  .ultimate-set-readout span {font-size:.49rem;}
  .ultimate-set-readout strong {font-size:.72rem;}
  .ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) {gap:5px;}
  .ultimate-ranking-body .ultimate-tv-frame {flex:0 1 240px;}
}

/* Review #9 — center the entire 37/EPISODES badge as one optical unit.
   Retire the earlier pseudo-element grid spacers that split the two labels. */
.ultimate-hero-disc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 5px;
  overflow: hidden;
}
.ultimate-hero-disc::before,
.ultimate-hero-disc::after { content: none; display: none; }
.ultimate-hero-disc span {
  display: block;
  flex: 0 0 auto;
  font-size: clamp(2.55rem, 5.3vw, 4.35rem);
  line-height: .98;
  margin: 0;
  padding: 0;
  transform: none;
  align-self: center;
}
.ultimate-hero-disc small {
  display: block;
  flex: 0 0 auto;
  font-size: clamp(.56rem, 1vw, .74rem);
  line-height: 1.1;
  margin: 0;
  padding: 0;
  letter-spacing: .08em;
  align-self: center;
}
/* Use the same header height but devote more of its width to the readouts. */
.ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) {
  gap: 6px;
  padding-left: 10px;
  padding-right: 10px;
}
.ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) .ultimate-dialog-heading {
  flex: 1 1 70px;
}
.ultimate-dialog-header > #ultimate-header-set {
  padding: 6px 9px;
  gap: 6px;
}
.ultimate-dialog-header > #ultimate-header-set span { font-size: .69rem; }
.ultimate-dialog-header > #ultimate-header-set strong { font-size: 1.04rem; }
.ultimate-dialog-header > #ultimate-header-mode {
  padding: 6px 9px;
  gap: 6px;
}
.ultimate-dialog-header > #ultimate-header-mode .ultimate-mode-label {font-size: .68rem;}
.ultimate-dialog-header > #ultimate-header-mode strong {font-size: 1.18rem;}
@media (max-width:650px) {
  .ultimate-hero-disc span {font-size: 2.62rem;line-height: 1;}
  .ultimate-hero-disc small {font-size: .54rem;letter-spacing: .045em;}
  .ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) {gap: 5px;padding-left: 7px;padding-right: 7px;}
  .ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) .ultimate-dialog-heading {flex: 1 1 55px;}
  .ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) h2 {font-size: 1rem;}
  .ultimate-dialog-header > #ultimate-header-set {padding: 5px 8px;gap: 4px;}
  .ultimate-dialog-header > #ultimate-header-set span {font-size: .59rem;}
  .ultimate-dialog-header > #ultimate-header-set strong {font-size: .95rem;}
  .ultimate-dialog-header > #ultimate-header-mode {padding: 5px 8px;gap: 4px;}
  .ultimate-dialog-header > #ultimate-header-mode .ultimate-mode-label {font-size: .60rem;}
  .ultimate-dialog-header > #ultimate-header-mode strong {font-size: 1.02rem;letter-spacing: .015em;}
}
@media (max-width:380px) {
  .ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) h2 {font-size: .88rem;}
  .ultimate-dialog-header > #ultimate-header-set {padding: 5px 5px;gap: 3px;}
  .ultimate-dialog-header > #ultimate-header-set strong {font-size: .85rem;}
  .ultimate-dialog-header > #ultimate-header-mode {padding: 5px 5px;gap: 3px;}
  .ultimate-dialog-header > #ultimate-header-mode strong {font-size: .9rem;}
}

/* Review #10: A dedicated centered emblem label prevents earlier span/grid
   badge rules from offsetting the numeral and caption independently. */
.ultimate-hero-disc {
  position: relative;
  display: block;
  padding: 0;
}
.ultimate-hero-disc > .ultimate-disc-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0 5px;
  text-align: center;
  transform: translateY(-1px);
}
.ultimate-hero-disc .ultimate-disc-number {
  display: block;
  color: #f4e5bf;
  font: 700 clamp(2.45rem, 5.3vw, 4.2rem)/.85 'Cormorant Garamond', serif;
  margin: 0;
  padding: 0;
}
.ultimate-hero-disc .ultimate-disc-caption {
  display: block;
  color: #f4e5bf;
  font: 600 clamp(.56rem, 1vw, .72rem)/1 'Oswald', sans-serif;
  letter-spacing: .045em;
  margin: 0;
  padding: 0;
}
@media (max-width: 650px) {
  .ultimate-hero-disc .ultimate-disc-number { font-size: 2.4rem; }
  .ultimate-hero-disc .ultimate-disc-caption { font-size: .54rem; }
}
/* Center the episode title in the CRT, independently anchor season to bottom. */
.ultimate-tv-screen .ultimate-tv-overlay {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  text-align: center;
  background: linear-gradient(to bottom, #0003 0%, #0004 38%, #0006 65%, #000c 100%);
}
.ultimate-tv-screen .ultimate-tv-title {
  position: absolute;
  left: 5%;
  top: 50%;
  width: 90%;
  max-height: calc(100% - 22px);
  overflow: hidden;
  transform: translateY(-50%);
  margin: 0;
  text-align: center;
  text-wrap: balance;
}
.ultimate-tv-screen .ultimate-tv-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  margin: 0;
  text-align: center;
  font-size: .65rem;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
}
@media (max-width: 650px) {
  .ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-meta { font-size: .62rem; }
}


/* Review #11: single authoritative optical grouping for the emblem.
   Fixed internal rows keep the 37 and caption separate at every breakpoint. */
.ultimate-hero .ultimate-hero-disc {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}
.ultimate-hero .ultimate-hero-disc > .ultimate-disc-label {
  position: static;
  inset: auto;
  display: grid;
  grid-template-rows: 43px 13px;
  align-content: center;
  justify-items: center;
  gap: 3px;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  transform: none;
}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-number {
  display: block;
  width: 100%;
  height: 43px;
  margin: 0;
  padding: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 43px;
  text-align: center;
  transform: none;
}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {
  display: block;
  height: 13px;
  margin: 0;
  padding: 0;
  font: 600 10px/13px 'Oswald', sans-serif;
  letter-spacing: .04em;
  text-align: center;
  transform: none;
}
@media (min-width: 651px) {
  .ultimate-hero .ultimate-hero-disc > .ultimate-disc-label {grid-template-rows: 54px 16px;gap:4px;}
  .ultimate-hero .ultimate-hero-disc .ultimate-disc-number {height:54px;font-size:59px;line-height:54px;}
  .ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {height:16px;font-size:12px;line-height:16px;}
}

/* The title gets its own area and cannot enter the season-label strip.
   Long titles scale down, short ones retain the user's preferred large type. */
.ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-overlay {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 19px;
  align-items: center;
  justify-items: center;
  padding: 4px 5px 2px;
  overflow: hidden;
}
.ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-series { display:none; }
.ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-title {
  position: static;
  transform: none;
  inset: auto;
  top: auto;
  left: auto;
  width: 100%;
  max-height: 100%;
  min-height: 0;
  margin: 0;
  font-size: clamp(1.84rem, 4.7vw, 2.05rem);
  line-height: 1.01;
  text-align: center;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-title.is-long {
  font-size: clamp(1.42rem, 3.8vw, 1.65rem);
}
.ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-title.is-very-long {
  font-size: clamp(1.10rem, 3vw, 1.38rem);
}
.ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-meta {
  position: static;
  inset: auto;
  align-self: end;
  width: 100%;
  height: 17px;
  line-height: 17px;
  font-size: .65rem;
  text-align: center;
}
@media (max-width:650px) {
  .ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-meta {font-size:.62rem;}
}


/* Review #12: preserve user's hand-tuned hero disc alignment. */
.ultimate-hero .ultimate-hero-disc > .ultimate-disc-label {
  transform: translateY(10px);
}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {
  padding: 2px;
  box-sizing: content-box;
}

/* Allow JavaScript to fit long TV titles to the available title region,
   rather than using overly conservative fixed length-based font sizes. */
.ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-title,
.ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-title.is-long,
.ultimate-ranking-body .ultimate-tv-screen .ultimate-tv-title.is-very-long {
  display: block;
  width: 100%;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}


/* Review #13: keep the Ultimate Season feature at its validated Pixel-sized
   proportions on larger displays. This does not constrain the site's navbar. */
.page:has(#ultimate-app) {
  width: min(100%, 430px);
  max-width: 430px;
  margin-inline: auto;
}
.ultimate-hero .ultimate-hero-content {
  min-height: 0;
  padding: 22px 13px;
  gap: 12px;
  justify-content: flex-start;
}
.ultimate-hero .ultimate-hero-disc {
  width: 85px;
  min-width: 85px;
  flex-basis: 85px;
}
.ultimate-hero .ultimate-hero-disc > .ultimate-disc-label {
  grid-template-rows: 43px 13px;
  gap: 3px;
  transform: translateY(10px); /* user-validated alignment */
}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-number {
  height: 43px;
  font-size: 46px;
  line-height: 43px;
}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {
  height: 13px;
  font-size: 10px;
  line-height: 13px;
  padding: 2px; /* preserve user's optical spacing */
  box-sizing: content-box;
}
.ultimate-hero h1 {font-size: clamp(1.65rem, 7.3vw, 2.3rem);}
.ultimate-hero-top, .ultimate-hero-bottom {padding: 9px 11px;font-size: .55rem;}
.ultimate-hero-content p:last-child {font-size:.72rem;}

/* Never scale the ranking console wider than the Pixel viewport design. */
.ultimate-dialog {
  width: min(412px, 100%);
  max-width: 412px;
}
.ultimate-modal {padding: 7px;}
.ultimate-dialog:has(.ultimate-dialog-content.ultimate-ranking-body),
.ultimate-dialog:has(.ultimate-dialog-content.ultimate-comment-body) {
  height: min(96dvh, 930px);
  max-height: 96dvh;
}
.ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) {
  gap: 5px;
  padding: 8px 7px;
  min-height: 0;
}
.ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) .ultimate-dialog-heading {flex:1 1 55px;}
.ultimate-dialog-header:has(#ultimate-header-set:not([hidden])) h2 {font-size:1rem;}
.ultimate-dialog-header > #ultimate-header-set {padding:5px 8px;gap:4px;}
.ultimate-dialog-header > #ultimate-header-set span {font-size:.59rem;}
.ultimate-dialog-header > #ultimate-header-set strong {font-size:.95rem;}
.ultimate-dialog-header > #ultimate-header-mode {padding:5px 8px;gap:4px;}
.ultimate-dialog-header > #ultimate-header-mode .ultimate-mode-label {font-size:.60rem;}
.ultimate-dialog-header > #ultimate-header-mode strong {font-size:1.02rem;letter-spacing:.015em;}
.ultimate-dialog-header > #ultimate-close {width:35px;height:35px;flex-basis:35px;}

.ultimate-dialog-content.ultimate-ranking-body {padding: 8px 7px;}
.ultimate-ranking-body .ultimate-candidate {padding:3px 4px;gap:4px;}
.ultimate-ranking-body .ultimate-candidate-stage {gap:3px;}
.ultimate-ranking-body .ultimate-tv-frame {
  flex:0 1 240px;
  width:auto;
  max-width:240px;
  height:128px;
  max-height:128px;
  padding:5px;
}
.ultimate-ranking-body .ultimate-candidate-stage > .ultimate-movers {
  display:flex;
  flex:1 1 0;
  width:auto;
  min-width:0;
  height:138px;
  gap:4px;
}
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move {
  flex:1 1 0;
  width:100%;
  max-width:none;
  height:auto;
  min-height:0;
}
.ultimate-ranking-body .ultimate-mobile-movers {display:none!important;}

/* Comments deserve the same full-height console as ranking rounds. */
.ultimate-dialog-content.ultimate-comment-body {
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  padding:14px 12px;
}
.ultimate-comment-body > p {flex:0 0 auto;margin:0 0 12px;}
.ultimate-comment-body > label {flex:0 0 auto;}
.ultimate-comment-body > .ultimate-comment {
  flex:1 1 auto;
  display:block;
  width:100%;
  min-height:260px;
  height:100%;
  resize:vertical;
  box-sizing:border-box;
  font:1rem/1.5 Arial,sans-serif;
  padding:14px;
}
@media(max-height:600px) {
  .ultimate-comment-body > .ultimate-comment {min-height:130px;}
}

/* Review #14: vintage mechanical direction buttons and tracked movement. */
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move,
.ultimate-candidate.is-demo .ultimate-candidate-stage .ultimate-move {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 2px 1px;
  font-family: 'Oswald', var(--font-meta), sans-serif;
  line-height: 1;
  white-space: nowrap;
}
.ultimate-ranking-body .ultimate-move-symbol,
.ultimate-candidate.is-demo .ultimate-move-symbol {
  font-family: Arial, sans-serif;
  font-size: clamp(.96rem, 3.8vw, 1.23rem);
  letter-spacing: -.13em;
  color: #f5dda0;
  line-height: 1;
}
.ultimate-ranking-body .ultimate-move-word,
.ultimate-candidate.is-demo .ultimate-move-word {
  font-size: clamp(.66rem, 2.45vw, .81rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #f8f0db;
}
.ultimate-ranking-body .ultimate-candidate.is-last-moved,
.ultimate-candidate.is-demo.is-last-moved {
  border-color: #dbac49;
  background: linear-gradient(to bottom, #dbc794, #bdae83);
  box-shadow: 0 0 0 2px rgba(237,188,75,.62), 0 0 13px rgba(224,171,62,.4), inset 0 1px 3px rgba(255,255,255,.5);
}
.ultimate-ranking-body .ultimate-candidate.is-last-moved .ultimate-rank-number,
.ultimate-candidate.is-demo.is-last-moved .ultimate-rank-number {
  color: #ffe6a1;
  border-color: #c29641;
}
@media (prefers-reduced-motion: reduce) {
  .ultimate-ranking-body .ultimate-candidate {transition:none;}
}
/* Keep the user's manually tuned emblem geometry. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}

/* Review #15: stacked mechanical controls, readable dark lettering, and mode cues.
   These overrides are intentionally scoped to the ranking screen; preserve the FLIP movement script. */
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move,
.ultimate-candidate.is-demo .ultimate-candidate-stage .ultimate-move {
  flex-direction: column;
  gap: 1px;
  padding: 2px 0;
  overflow: hidden;
}
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move .ultimate-move-symbol,
.ultimate-candidate.is-demo .ultimate-candidate-stage .ultimate-move .ultimate-move-symbol {
  color: #25221e;
  font-family: Arial, sans-serif;
  font-size: clamp(1.32rem, 4vw, 1.7rem);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.09em;
  white-space: nowrap;
}
.ultimate-ranking-body .ultimate-candidate-stage .ultimate-move .ultimate-move-word,
.ultimate-candidate.is-demo .ultimate-candidate-stage .ultimate-move .ultimate-move-word {
  color: #25221e;
  font-size: clamp(.60rem, 2vw, .77rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}
@media (max-width: 450px) {
  .ultimate-ranking-body .ultimate-candidate-stage .ultimate-move .ultimate-move-symbol {font-size:1.37rem;}
  .ultimate-ranking-body .ultimate-candidate-stage .ultimate-move .ultimate-move-word {font-size:.61rem;}
}
/* Rank readouts: gold = subjective, cyan = objective, regardless of which row moved. */
.ultimate-ranking-body .ultimate-rank-number {
  color: #ffe084;
  background: #191a17;
  border-color: #756542;
  text-shadow: 0 0 6px rgba(240,200,78,.3);
}
.ultimate-ranking-body.ultimate-ranking-objective .ultimate-rank-number {
  color: #92edfb;
  background: #10242c;
  border-color: #416a78;
  text-shadow: 0 0 6px rgba(94,210,237,.35);
}
/* Last moved row remains selected until another move or the next ranking round. */
.ultimate-ranking-body.ultimate-ranking-objective .ultimate-candidate.is-last-moved {
  border-color: #54b4d0;
  background: linear-gradient(to bottom, #b6dce3, #86b5c3);
  box-shadow: 0 0 0 2px rgba(84,180,208,.68), 0 0 13px rgba(72,166,199,.38), inset 0 1px 3px rgba(255,255,255,.5);
}
.ultimate-ranking-body .ultimate-candidate.is-last-moved .ultimate-rank-number {
  color: #ffe084;
  background: #191a17;
  border-color: #b78e3d;
}
.ultimate-ranking-body.ultimate-ranking-objective .ultimate-candidate.is-last-moved .ultimate-rank-number {
  color: #92edfb;
  background: #10242c;
  border-color: #54b4d0;
}
/* Continue honoring the manually tuned 37 EPISODES emblem. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}

/* Review 16 — compact main-page and submission-feed televisions.
   Scoped to summary panels: ranking modal dimensions/animations unchanged. */
.ultimate-winners {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0;}
.ultimate-winners.is-finale {grid-template-columns:minmax(0,1fr);}
.ultimate-summary-panel {min-width:0;padding:6px;border:2px solid #777066;border-radius:6px;background:linear-gradient(#c4bfb5,#a9a298);box-shadow:inset 0 1px 2px #fff8,0 2px 3px #0002;}
.ultimate-summary-panel.is-subjective {border-color:#977b3d;background:linear-gradient(#d9cca5,#bbb08a);}
.ultimate-summary-panel.is-objective {border-color:#4c8396;background:linear-gradient(#c0d6dd,#a1bfc9);}
.ultimate-summary-panel.is-finale {border-color:#777066;}
.ultimate-summary-label {display:block;margin:0 0 5px;color:#3c3529;font:700 .66rem 'Oswald',sans-serif;letter-spacing:.08em;text-align:center;}
.ultimate-summary-panel.is-objective .ultimate-summary-label {color:#204958;}
.ultimate-summary-tv-frame {display:flex;align-items:center;gap:3px;min-width:0;padding:5px;border:2px solid #55524d;border-radius:13px;background:linear-gradient(135deg,#8c8982,#464541 58%,#a6a198);box-shadow:inset 0 1px 2px #fffa,0 2px 4px #0005;}
.ultimate-summary-tv-screen {position:relative;min-width:0;flex:1;aspect-ratio:1.65/1;overflow:hidden;border:3px solid #252421;border-radius:20%/17%;background:#10110f;box-shadow:inset 0 0 12px #000;}
.ultimate-summary-tv-screen img {width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.1);display:block;}
.ultimate-summary-no-image {display:grid;place-items:center;width:100%;height:100%;font:600 .5rem 'Oswald',sans-serif;color:#a8a49d;text-align:center;}
.ultimate-summary-tv-overlay {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:5px 5px 16px;text-align:center;color:#f7f0e2;text-shadow:0 1px 3px #000,0 2px 4px #000;background:linear-gradient(#0003,#0006 64%,#000c);}
.ultimate-summary-tv-title {display:block;font:600 clamp(.63rem,2.8vw,.92rem)/1.05 'Oswald',sans-serif;letter-spacing:.01em;text-transform:uppercase;overflow-wrap:anywhere;text-wrap:balance;max-height:100%;overflow:hidden;}
.ultimate-summary-tv-season {position:absolute;bottom:3px;left:0;right:0;text-align:center;font:600 .53rem/1 'Oswald',sans-serif;letter-spacing:.07em;}
.ultimate-summary-tv-knobs {display:flex;flex:0 0 9px;flex-direction:column;gap:8px;align-items:center;}
.ultimate-summary-tv-knobs i {display:block;width:7px;height:7px;border-radius:50%;border:1px solid #37332f;background:#d1c8b6;}
.ultimate-feed-meta {display:flex;flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;font:600 .68rem 'Oswald',sans-serif;margin-bottom:6px;}
.ultimate-feed-meta strong {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ultimate-feed-meta span {flex-shrink:0;white-space:nowrap;}
.ultimate-feed-meta time {margin-left:auto;flex-shrink:0;white-space:nowrap;color:#655d53;font-size:.61rem;}
.ultimate-feed-entry .ultimate-actions {justify-content:flex-end;gap:8px;}
@media(max-width:380px) {
  .ultimate-summary-panel {padding:4px;}
  .ultimate-summary-tv-frame {padding:3px;}
  .ultimate-summary-tv-knobs {display:none;}
  .ultimate-summary-tv-title {font-size:.62rem;}
  .ultimate-feed-meta {font-size:.59rem;gap:4px;}
  .ultimate-feed-meta time {font-size:.55rem;}
}

/* Review #17: Mode-aware comparison pages. Keep existing table structure
   unchanged while evaluating the alternative table designs. */
.ultimate-dialog-content.ultimate-compare-subjective .ultimate-compare-table thead,
.ultimate-dialog-content.ultimate-compare-objective .ultimate-compare-table thead {
  background:#21231e;
}
.ultimate-dialog-content.ultimate-compare-subjective .ultimate-compare-table thead th { color:#ffe084; }
.ultimate-dialog-content.ultimate-compare-objective .ultimate-compare-table thead th { color:#92edfb; }
.ultimate-dialog-content.ultimate-compare-subjective .ultimate-compare-table tbody tr:nth-child(odd) { background:rgba(209,168,75,.09); }
.ultimate-dialog-content.ultimate-compare-objective .ultimate-compare-table tbody tr:nth-child(odd) { background:rgba(91,186,207,.10); }
/* Preserve the exact emblem adjustments. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption { padding:2px; }
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label { transform:translateY(10px); }


/* Review #18: Episode Record Cards / Match Medallion comparison layout. */
.ultimate-record-list {display:grid;gap:10px;margin:12px 0;}
.ultimate-record-card {min-width:0;padding:9px;border:2px solid #726b61;border-radius:5px;background:linear-gradient(180deg,#ddd7cc,#b9b2a8);box-shadow:inset 0 2px 3px #fff9,inset 0 -3px 4px #0002,0 2px 3px #0002;}
.ultimate-record-title {display:flex;align-items:center;gap:9px;min-width:0;margin-bottom:8px;color:#28241f;}
.ultimate-record-title strong {flex:1;min-width:0;font:600 clamp(.84rem,2.8vw,1rem)/1.2 'Oswald',sans-serif;overflow-wrap:anywhere;}
.ultimate-record-index {display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;background:#2b2d2a;border:1px solid #756b59;border-radius:2px;color:#f1d77c;font:700 .88rem 'Courier New',monospace;}
.ultimate-record-comparison {display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);align-items:center;gap:5px;}
.ultimate-record-rank {box-sizing:border-box;min-width:0;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 3px;border:2px solid #766543;border-radius:3px;background:#1e211c;box-shadow:inset 0 0 12px #000b;}
.ultimate-record-rank-label {font:600 .61rem/1.1 'Oswald',sans-serif;letter-spacing:.045em;text-align:center;color:#c9c0ad;}
.ultimate-record-rank strong {font:700 clamp(1.45rem,5.5vw,1.9rem)/1.05 'Courier New',monospace;color:#ffe084;font-variant-numeric:tabular-nums;}
.ultimate-compare-objective .ultimate-record-rank {background:#10242c;border-color:#477787;}
.ultimate-compare-objective .ultimate-record-rank strong {color:#92edfb;}
.ultimate-compare-objective .ultimate-record-index {color:#92edfb;}
.ultimate-record-medallion {box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:60px;height:60px;margin:auto;border:3px solid;border-radius:50%;box-shadow:inset 0 2px 8px #0004,0 2px 4px #0003;}
.ultimate-record-medallion span {font:800 2.25rem/1 Arial,sans-serif;}
.ultimate-record-medallion.is-match {background:#203b2c;border-color:#60ba7f;color:#aff3be;}
.ultimate-record-medallion.is-different {background:#482925;border-color:#d47c70;color:#ffb2a8;}
.ultimate-record-medallion.is-average {background:#30312c;border-color:#847a6b;color:#e5d7ba;}
.ultimate-record-medallion.is-average span {font:700 .76rem/1 'Oswald',sans-serif;letter-spacing:.06em;}
.ultimate-record-medallion.is-unavailable {background:#33322d;border-color:#82796b;color:#cbc1b1;}
@media(max-width:380px) {
  .ultimate-record-card {padding:7px;}
  .ultimate-record-comparison {grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);gap:3px;}
  .ultimate-record-medallion {width:49px;height:49px;}
  .ultimate-record-medallion span {font-size:1.9rem;}
  .ultimate-record-medallion.is-average span {font-size:.67rem;}
  .ultimate-record-rank-label {font-size:.53rem;}
  .ultimate-record-rank {min-height:56px;}
}
/* Always preserve the site's manually tuned circular emblem offsets. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}


/* Review #20 — TV comparison cards and versus/result header.
   Only comparison content is affected; the ranking popup remains untouched. */
.ultimate-compare-head {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr) minmax(0,1fr);align-items:stretch;gap:5px;margin:4px 0 9px;padding:6px;border:2px solid #655e53;border-radius:6px;background:#34312c;box-shadow:inset 0 2px 5px #fff2,inset 0 -2px 4px #0004;}
.ultimate-compare-nameplate {display:flex;align-items:center;justify-content:center;min-width:0;min-height:59px;padding:4px;background:#1d201c;border:1px solid #716857;border-radius:3px;color:#ffe084;box-shadow:inset 0 0 8px #0009;}
.ultimate-compare-nameplate strong {min-width:0;font:600 clamp(.67rem,2.3vw,.85rem)/1.1 'Oswald',sans-serif;letter-spacing:.01em;overflow-wrap:anywhere;text-align:center;}
.ultimate-compare-result {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:4px 1px;color:#f0dac4;text-align:center;}
.ultimate-compare-result strong {font:700 clamp(.59rem,2.15vw,.79rem)/1.15 'Oswald',sans-serif;letter-spacing:.035em;}
.ultimate-compare-result.is-average strong {color:#f0dfb5;font:700 1.18rem/1 'Courier New',monospace;}
.ultimate-compare-result.is-average span {font:600 .58rem/1.1 'Oswald',sans-serif;letter-spacing:.02em;}
.ultimate-compare-check-strip {display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:3px;max-width:100%;}
.ultimate-compare-mini-check {display:grid;place-items:center;flex:0 1 19px;min-width:13px;height:20px;border:1px solid;border-radius:3px;font:700 .86rem/1 Arial,sans-serif;}
.ultimate-compare-mini-check.is-match {background:#28593f;color:#b5f4c4;border-color:#65b783;}
.ultimate-compare-mini-check.is-different {background:#6b3631;color:#ffcbc4;border-color:#b86e66;}
.ultimate-compare-mini-check.is-unavailable {background:#46423c;color:#c7bdae;border-color:#827567;}
.ultimate-compare-objective .ultimate-compare-nameplate {background:#10242c;color:#92edfb;border-color:#467585;}
.ultimate-compare-objective .ultimate-compare-result.is-average strong {color:#92edfb;}
.ultimate-compare-note {margin:0 0 6px;font-size:.76rem;}
.ultimate-review-list {display:grid;gap:6px;margin:0 0 7px;}
.ultimate-review-card {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:6px;min-width:0;padding:5px;border:2px solid #736c62;border-radius:5px;background:linear-gradient(180deg,#d9d3c9,#bcb5a9);box-shadow:inset 0 1px 2px #fffa,0 2px 3px #0003;}
.ultimate-review-tv-frame {display:flex;align-items:center;gap:3px;min-width:0;padding:4px;border:2px solid #55514b;border-radius:12px;background:linear-gradient(135deg,#979086,#484640 54%,#a29a90);box-shadow:inset 0 1px 2px #fffa,0 2px 3px #0006;}
.ultimate-review-tv-screen {position:relative;flex:1;min-width:0;height:100%;min-height:100px;overflow:hidden;border:3px solid #262421;border-radius:20%/16%;background:#10110e;box-shadow:inset 0 0 12px #000;}
.ultimate-review-tv-screen img {display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.08);}
.ultimate-review-tv-overlay {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:6px 4px 17px;background:linear-gradient(#0003,#0007 68%,#000d);color:#f5edde;text-shadow:0 1px 3px #000,0 2px 5px #000;text-align:center;}
.ultimate-review-tv-title {font:600 clamp(.78rem,3vw,1.1rem)/1.03 'Oswald',sans-serif;overflow-wrap:anywhere;text-wrap:balance;max-height:100%;overflow:hidden;text-transform:uppercase;}
.ultimate-review-tv-season {position:absolute;bottom:4px;left:2px;right:2px;font:600 .56rem/1 'Oswald',sans-serif;letter-spacing:.07em;}
.ultimate-review-tv-knobs {display:flex;flex:0 0 7px;flex-direction:column;align-items:center;gap:7px;}
.ultimate-review-tv-knobs i {width:6px;height:6px;border:1px solid #3d3831;border-radius:50%;background:#d0c5b1;}
.ultimate-review-readouts {display:grid;grid-template-rows:minmax(0,1fr) 34px minmax(0,1fr);gap:3px;min-width:0;}
.ultimate-review-rank {display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:34px;gap:1px;padding:3px 2px;border:1px solid #786841;border-radius:3px;background:#1e211c;box-shadow:inset 0 0 10px #000b;}
.ultimate-review-rank span {display:block;max-width:100%;font:600 .59rem/1.05 'Oswald',sans-serif;letter-spacing:.02em;color:#c9c1af;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ultimate-review-rank strong {font:700 1.18rem/1 'Courier New',monospace;color:#ffe084;}
.ultimate-review-match {display:flex;align-items:center;justify-content:center;border:1px solid;border-radius:3px;}
.ultimate-review-match span {font:800 1.8rem/1 Arial,sans-serif;}
.ultimate-review-match.is-match {background:#25583c;color:#b6f2c4;border-color:#61b87f;}
.ultimate-review-match.is-different {background:#783b35;color:#ffd0c7;border-color:#c4776b;}
.ultimate-review-match.is-average {background:#34322d;color:#eadabd;border-color:#857969;}
.ultimate-review-match.is-average span {font:700 .74rem/1 'Oswald',sans-serif;letter-spacing:.06em;}
.ultimate-review-match.is-unavailable {background:#4b4740;color:#d1c5b2;border-color:#857969;}
.ultimate-compare-objective .ultimate-review-rank {background:#10242c;border-color:#477787;}
.ultimate-compare-objective .ultimate-review-rank strong {color:#92edfb;}
@media(max-width:380px) {
  .ultimate-compare-head {gap:3px;padding:4px;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr) minmax(0,1fr);}
  .ultimate-compare-mini-check {gap:1px;min-width:12px;height:17px;font-size:.75rem;}
  .ultimate-review-card {padding:3px;gap:4px;}
  .ultimate-review-tv-frame {padding:3px;}
  .ultimate-review-tv-knobs {display:none;}
  .ultimate-review-tv-screen {min-height:91px;}
  .ultimate-review-tv-title {font-size:.74rem;}
  .ultimate-review-rank span {font-size:.53rem;}
}
/* Do not undo the user's exact circular-emblem positioning fixes. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}


/* Review #21: fit five TV comparisons in a typical phone viewport without
   shrinking the ranking popup or changing its animation. */
.ultimate-dialog-content .ultimate-compare-head {
  min-height:0;
  margin:2px 0 5px;
  padding:4px;
  gap:4px;
}
.ultimate-dialog-content .ultimate-compare-nameplate {min-height:43px;padding:3px;}
.ultimate-dialog-content .ultimate-compare-result {gap:2px;padding:1px 0;}
.ultimate-dialog-content .ultimate-compare-mini-check {height:16px;min-width:12px;font-size:.72rem;}
.ultimate-dialog-content .ultimate-compare-result strong {font-size:.67rem;line-height:1.05;}
.ultimate-dialog-content .ultimate-review-list {gap:4px;margin:0 0 3px;}
.ultimate-dialog-content .ultimate-review-card {gap:5px;padding:3px;border-width:1px;min-height:0;}
.ultimate-dialog-content .ultimate-review-tv-frame {padding:3px;border-width:2px;border-radius:10px;}
.ultimate-dialog-content .ultimate-review-tv-screen {
  height:78px;min-height:0;max-height:78px;border-width:2px;
}
.ultimate-dialog-content .ultimate-review-tv-overlay {
  display:flex;flex-direction:column;justify-content:center;
  padding:3px 5px 17px;overflow:hidden;
}
.ultimate-dialog-content .ultimate-review-tv-title {
  display:block;max-width:100%;max-height:100%;
  font-size:clamp(.72rem,2.9vw,1rem);line-height:1.02;
  overflow-wrap:normal;word-break:normal;hyphens:auto;
}
.ultimate-dialog-content .ultimate-review-tv-season {bottom:3px;font-size:.52rem;}
.ultimate-dialog-content .ultimate-review-readouts {
  grid-template-rows:minmax(0,1fr) 23px minmax(0,1fr);gap:2px;
}
.ultimate-dialog-content .ultimate-review-rank {min-height:0;gap:0;padding:1px 2px;}
.ultimate-dialog-content .ultimate-review-rank span {font-size:.54rem;line-height:1;}
.ultimate-dialog-content .ultimate-review-rank strong {font-size:1.06rem;line-height:1;}
.ultimate-dialog-content .ultimate-review-match span {font-size:1.35rem;}
@media(max-width:380px) {
  .ultimate-dialog-content .ultimate-review-tv-screen {height:73px;max-height:73px;min-height:0;}
  .ultimate-dialog-content .ultimate-review-readouts {grid-template-rows:minmax(0,1fr) 21px minmax(0,1fr);}
  .ultimate-dialog-content .ultimate-review-card {padding:3px;gap:3px;}
}
/* Keep the user's calibrated disc geometry unchanged. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}

/* Review #22: make five-episode comparison pages fill the available vertical
   popup space on tall screens, while keeping the compact fallback on short ones.
   The ranking and commentary screens are intentionally unaffected. */
.ultimate-dialog:has(.ultimate-dialog-content .ultimate-review-list) {
  height: min(96dvh, 890px);
  max-height: 96dvh;
}
.ultimate-dialog-content:has(.ultimate-review-list) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.ultimate-dialog-content .ultimate-review-list {
  flex: 1 0 auto;
  grid-template-rows: repeat(5, minmax(78px, 1fr));
  align-content: stretch;
}
@media (min-height: 740px) {
  .ultimate-dialog-content .ultimate-review-list {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-rows: repeat(5, minmax(0, 1fr));
  }
  .ultimate-dialog-content .ultimate-review-card {height:100%;box-sizing:border-box;}
  .ultimate-dialog-content .ultimate-review-tv-screen {
    height:100%;max-height:none;min-height:0;
  }
}
/* Preserve the two manually calibrated emblem positions. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}

/* Review #23: retain the taller cards, but do not stretch the TV/readouts to
   the entire grid track. Center the compact instrument assembly vertically. */
.ultimate-dialog-content .ultimate-review-card {
  align-items:center;
}
.ultimate-dialog-content .ultimate-review-tv-frame,
.ultimate-dialog-content .ultimate-review-readouts {
  height: min(100%, 96px);
  max-height:96px;
  min-height:0;
  box-sizing:border-box;
  align-self:center;
}
.ultimate-dialog-content .ultimate-review-tv-screen {
  height:100%;max-height:100%;min-height:0;
  box-sizing:border-box;
}
.ultimate-dialog-content .ultimate-review-tv-title {
  font-size:1.16rem;
  line-height:1.01;
  max-height:100%;
}
@media (max-width:380px), (max-height:740px) {
  .ultimate-dialog-content .ultimate-review-tv-frame,
  .ultimate-dialog-content .ultimate-review-readouts {
    height:min(100%, 82px);max-height:82px;
  }
}
/* Preserve manual circular-emblem geometry. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}

/* Review #24: user's calibrated 120px TV/readout assembly. Keep the taller
   review cards, but never let their contents overflow the card. */
.ultimate-dialog-content .ultimate-review-tv-frame,
.ultimate-dialog-content .ultimate-review-readouts {
  height:min(100%,120px);
  max-height:120px;
  min-height:0;
  box-sizing:border-box;
  align-self:center;
}
.ultimate-dialog-content .ultimate-review-tv-screen {
  height:100%;max-height:100%;min-height:0;box-sizing:border-box;
}
/* Show the name and its rank on one horizontal instrument readout. */
.ultimate-dialog-content .ultimate-review-rank {
  flex-direction:row;align-items:center;justify-content:space-between;
  gap:4px;padding:2px 6px;min-width:0;
}
.ultimate-dialog-content .ultimate-review-rank span {
  display:block;flex:1 1 auto;min-width:0;max-width:none;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:.65rem;line-height:1.12;
}
.ultimate-dialog-content .ultimate-review-rank strong {
  flex:0 0 auto;font-size:1.13rem;line-height:1;
}
/* Reserve the season caption below titles, permit real multi-line wrapping. */
.ultimate-dialog-content .ultimate-review-tv-overlay {padding:4px 4px 17px;}
.ultimate-dialog-content .ultimate-review-tv-title {
  font-size:1.5rem;line-height:1.04;
  white-space:normal;overflow-wrap:break-word;word-break:normal;
  text-wrap:balance;max-width:100%;
}
/* The height cap is viewport-aware by virtue of min(100%, 120px):
   compact cards on shorter phones still get their own available height. */
/* Preserve manually calibrated 37 EPISODES emblem offsets. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}


/* Review #25: spacing, quieter AVG label, and side-by-side agreement result.
   Scoped to review dialogs; ranking popup and manual banner adjustments stay intact. */
.ultimate-dialog-content .ultimate-review-tv-frame,
.ultimate-dialog-content .ultimate-review-readouts {
  gap:4px;
}
.ultimate-dialog-content .ultimate-review-match.is-average span {
  font-size:.56rem;
  line-height:1;
  letter-spacing:.035em;
}
/* Give the agreement summary enough horizontal room to put its symbols
   on the left and its descriptive result on the right. */
.ultimate-dialog-content .ultimate-compare-head {
  grid-template-columns:minmax(0,1fr) minmax(0,2.05fr) minmax(0,1fr);
}
.ultimate-dialog-content .ultimate-compare-result {
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:center;
  gap:5px;
  min-width:0;
  text-align:left;
}
.ultimate-dialog-content .ultimate-compare-check-strip {
  flex:0 1 auto;
  min-width:0;
  gap:2px;
}
.ultimate-dialog-content .ultimate-compare-mini-check {
  flex:0 1 15px;
  min-width:10px;
  height:17px;
  font-size:.75rem;
}
.ultimate-dialog-content .ultimate-compare-result > strong {
  flex:0 1 auto;
  min-width:0;
  max-width:78px;
  font-size:.68rem;
  line-height:1.12;
  overflow-wrap:normal;
}
.ultimate-dialog-content .ultimate-compare-result.is-average > strong {
  flex:0 0 auto;
  font-size:1.04rem;
}
.ultimate-dialog-content .ultimate-compare-result.is-average > span {
  flex:0 1 auto;
  min-width:0;
  font-size:.55rem;
  line-height:1.12;
}
@media (max-width:380px) {
  .ultimate-dialog-content .ultimate-compare-head {
    grid-template-columns:minmax(0,1fr) minmax(0,2.25fr) minmax(0,1fr);
    gap:3px;
  }
  .ultimate-dialog-content .ultimate-compare-result {gap:3px;}
  .ultimate-dialog-content .ultimate-compare-mini-check {
    flex-basis:12px;min-width:9px;height:15px;font-size:.65rem;
  }
  .ultimate-dialog-content .ultimate-compare-result > strong {font-size:.59rem;}
  .ultimate-dialog-content .ultimate-compare-result.is-average > strong {font-size:.9rem;}
  .ultimate-dialog-content .ultimate-compare-result.is-average > span {font-size:.5rem;}
}
/* Keep the user's exact emblem positions. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}

/* Review #26: lock agreement symbols to the left half and center the
   two-line verdict in the right half, independent of match count. */
.ultimate-dialog-content .ultimate-compare-result:not(.is-average) {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  justify-content:stretch;
  gap:3px;
  width:100%;
  text-align:center;
}
.ultimate-dialog-content .ultimate-compare-result:not(.is-average) .ultimate-compare-check-strip {
  display:flex;
  flex-wrap:nowrap;
  justify-content:flex-start;
  align-items:center;
  width:100%;
  gap:2px;
  margin:0;
}
.ultimate-dialog-content .ultimate-compare-result:not(.is-average) .ultimate-compare-mini-check {
  flex:0 0 18px;
  width:13px;
  min-width:0;
  height:18px;
  box-sizing:border-box;
  font-size:.72rem;
}
.ultimate-dialog-content .ultimate-compare-result > .ultimate-compare-verdict {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  justify-self:stretch;
  min-width:0;
  max-width:none;
  font-size:clamp(0.99rem, 2vw, .7rem);
  line-height:1.04;
  text-align:center;
  white-space:normal;
}
.ultimate-dialog-content .ultimate-compare-verdict span {display:block;max-width:100%;}
@media (max-width:380px) {
  .ultimate-dialog-content .ultimate-compare-result:not(.is-average) {gap:2px;}
  .ultimate-dialog-content .ultimate-compare-result:not(.is-average) .ultimate-compare-check-strip {gap:1px;}
  .ultimate-dialog-content .ultimate-compare-result:not(.is-average) .ultimate-compare-mini-check {
    flex:0 0 18px;width:13px;min-width:0;height:18px;box-sizing:border-box;font-size:.72rem;
  }
  .ultimate-dialog-content .ultimate-compare-result > .ultimate-compare-verdict {font-size:clamp(0.99rem, 2vw, .7rem);}
}
/* Preserve the exact manual disc adjustments. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}

/* Review #28: fanbase comparisons use the same fixed 5-position agreement
   display as fan-to-fan reviews. The middle row readout is directional rather
   than the ambiguous AVG badge, while exact numeric matches stay green. */
.ultimate-dialog-content .ultimate-review-match.is-direction {
  background:#56312d;
  color:#ffd1c8;
  border-color:#bb7068;
}
.ultimate-dialog-content .ultimate-review-match .ultimate-review-direction {
  display:block;
  width:100%;
  font:700 clamp(.53rem,1.8vw,.65rem)/1.05 'Oswald',sans-serif;
  letter-spacing:.015em;
  text-align:center;
  white-space:normal;
}
.ultimate-dialog-content .ultimate-review-match.is-match span {
  color:#b6f2c4;
}

.ultimate-dialog-content .ultimate-review-match .ultimate-review-same {
  display:flex;
  flex-direction:row;
  gap:5px;
  align-items:center;
  justify-content:center;
  width:100%;
  color:#b6f2c4;
}
.ultimate-dialog-content .ultimate-review-match .ultimate-review-same b {
  font:800 1.15rem/1 Arial,sans-serif;
}
.ultimate-dialog-content .ultimate-review-match .ultimate-review-same small {
  font:700 clamp(.51rem,1.7vw,.6rem)/1.04 'Oswald',sans-serif;
  text-align:left;
}

/* Review #29: single-line fanbase comparison captions, including an X
   before each higher/lower mismatch. Scoped to the comparison dialog. */
.ultimate-dialog-content .ultimate-review-match .ultimate-review-direction,
.ultimate-dialog-content .ultimate-review-match .ultimate-review-same {
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:4px;
  min-width:0;
  width:100%;
  padding:0 2px;
  box-sizing:border-box;
  white-space:nowrap;
}
.ultimate-dialog-content .ultimate-review-match .ultimate-review-direction b,
.ultimate-dialog-content .ultimate-review-match .ultimate-review-same b {
  flex:0 0 auto;
  font:800 1rem/1 Arial,sans-serif;
}
.ultimate-dialog-content .ultimate-review-match .ultimate-review-direction small,
.ultimate-dialog-content .ultimate-review-match .ultimate-review-same small {
  min-width:0;
  font:700 clamp(.43rem, 1.45vw, .57rem)/1 'Oswald',sans-serif;
  letter-spacing:0;
  text-align:left;
  white-space:nowrap;
}

/* Review #30: let comparison titles wrap and grow to fill their own CRT,
   matching the ranking popup. The JS fitter measures actual rendered lines. */
.ultimate-dialog-content .ultimate-review-tv-title {
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
  text-wrap:balance;
  line-height:1.02;
}
/* Keep the user's larger directional-label typography. */
.ultimate-dialog-content .ultimate-review-match .ultimate-review-direction small,
.ultimate-dialog-content .ultimate-review-match .ultimate-review-same small {
  min-width:0;
  font:700 clamp(.7rem, 1.45vw, .57rem)/1 'Oswald',sans-serif;
  letter-spacing:0;
  text-align:left;
  white-space:nowrap;
}
/* Preserve manually calibrated emblem positions. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption {padding:2px;}
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label {transform:translateY(10px);}

/* Review 31 — Encore finale selector. Scoped to slot #37 only. */
.ultimate-dialog-content.ultimate-finale-body {padding:11px 12px;}
.ultimate-finale-intro {background:#e8dfcf;border:1px solid #988b78;padding:10px 12px;margin-bottom:9px;}
.ultimate-finale-step {display:block;font:700 .62rem 'Oswald',sans-serif;letter-spacing:.13em;color:#67573d;}
.ultimate-finale-intro h3,.ultimate-finale-comment-intro h3 {font:700 1.36rem 'Cormorant Garamond',serif;letter-spacing:.045em;margin:2px 0 4px;color:#24221d;}
.ultimate-finale-intro p,.ultimate-finale-comment-intro p {font:.78rem/1.4 'Courier New',monospace;margin:3px 0;color:#494238;}
.ultimate-finale-selected {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:10px;background:#b9b0a1;border:2px solid #5e554a;padding:8px;margin-bottom:10px;}
.ultimate-finale-selected-info {display:flex;flex-direction:column;gap:5px;min-width:0;}
.ultimate-finale-selected-info>span {font:700 .61rem 'Oswald',sans-serif;letter-spacing:.08em;color:#504333;}
.ultimate-finale-selected-info strong {font:700 1rem/1.12 'Oswald',sans-serif;overflow-wrap:anywhere;color:#24211c;}
.ultimate-finale-selected-info small {font: .67rem 'Courier New',monospace;color:#4d4539;}
.ultimate-finale-tv {display:flex;gap:5px;align-items:center;padding:5px;border:2px solid #534c43;border-radius:13px;background:linear-gradient(135deg,#9e9789,#4c4943 55%,#a9a195);box-shadow:inset 0 1px 2px #fffa,0 2px 4px #0005;min-width:0;}
.ultimate-finale-tv-screen {position:relative;width:100%;min-width:0;aspect-ratio:1.65;overflow:hidden;border:3px solid #242321;border-radius:18% / 15%;background:#111;}
.ultimate-finale-tv-screen img {display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.15);}
.ultimate-finale-tv-screen::after {content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(transparent 0 2px,#0002 3px 4px),radial-gradient(ellipse,transparent 30%,#0009);}
.ultimate-finale-tv-overlay {position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:5px 4px 16px;box-sizing:border-box;color:#fff5e5;text-shadow:0 1px 4px #000,0 2px 3px #000;background:linear-gradient(transparent 35%,#000a);}
.ultimate-finale-tv-title {display:block;max-width:100%;width:100%;font:700 19px/1 'Oswald',sans-serif;overflow-wrap:normal;word-break:normal;white-space:normal;text-wrap:balance;}
.ultimate-finale-tv-season {position:absolute;bottom:3px;left:0;right:0;font:700 .53rem 'Oswald',sans-serif;letter-spacing:.06em;}
.ultimate-finale-tv-knobs {display:flex;flex-direction:column;gap:8px;flex:0 0 12px;align-items:center;}
.ultimate-finale-tv-knobs i {width:9px;height:9px;border:2px solid #45413b;border-radius:50%;background:radial-gradient(circle at 30% 30%,#e8dfcd,#6c675d);}
.ultimate-finale-tools {display:grid;gap:6px;padding:8px 0;}
.ultimate-finale-tools>label {font:700 .74rem 'Oswald',sans-serif;letter-spacing:.08em;}
#ultimate-finale-search {width:100%;min-height:38px;border:2px solid #756c5e;background:#f7f0e3;padding:7px 9px;color:#26231f;}
.ultimate-finale-filters {display:flex;gap:4px;flex-wrap:wrap;}
.ultimate-finale-filters button {flex:1;border:1px solid #70665a;padding:6px 4px;background:#cbc3b5;color:#29251f;cursor:pointer;font:600 .67rem 'Oswald',sans-serif;}
.ultimate-finale-filters button[aria-pressed="true"] {background:#31302c;color:#f3da91;}
#ultimate-finale-count {font:.65rem 'Courier New',monospace;color:#51493e;}
.ultimate-finale-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
.ultimate-finale-option {display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;border:2px solid #80766a;border-radius:3px;background:#dcd4c6;padding:6px;color:#26221c;cursor:pointer;text-align:center;}
.ultimate-finale-option.is-selected {border-color:#b18b2b;outline:2px solid #5c451c;background:#f1e2b7;}
.ultimate-finale-option .ultimate-finale-tv {width:100%;box-sizing:border-box;}
.ultimate-finale-option-name {font:700 .76rem/1.15 'Oswald',sans-serif;overflow-wrap:anywhere;}
.ultimate-finale-option>small {font:.64rem 'Courier New',monospace;}
.ultimate-finale-badges {display:flex;flex-wrap:wrap;gap:3px;justify-content:center;}
.ultimate-finale-badge {background:#49453d;color:#f1e5ca;font:700 .52rem 'Oswald',sans-serif;letter-spacing:.03em;padding:2px 4px;}
.ultimate-finale-badge.is-subjective {background:#453a1a;color:#f4d670;}
.ultimate-finale-badge.is-objective {background:#163947;color:#8fd9f1;}
.ultimate-finale-comment-intro {background:#e8dfcf;border:1px solid #988b78;padding:12px;margin-bottom:9px;}
.ultimate-finale-tv-compact {width:min(100%,300px);margin:9px auto 0;box-sizing:border-box;}
@media(max-width:390px) {.ultimate-finale-selected {grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:6px;padding:5px;}.ultimate-finale-selected-info strong {font-size:.83rem;}.ultimate-finale-option {padding:4px;}.ultimate-finale-intro p {font-size:.72rem;}}

/* Review #32 — accurate, unmistakably non-saving ranking tutorial. */
.ultimate-guide-notice {display:flex;flex-direction:column;gap:4px;background:#292722;color:#eee0c5;border:2px solid #a88b49;padding:9px 11px;margin-bottom:10px;font:.76rem/1.35 'Courier New',monospace;}
.ultimate-guide-notice strong {color:#f0d47e;font:700 .91rem/1.1 'Oswald',sans-serif;letter-spacing:.08em;}
.ultimate-guide-instructions,.ultimate-guide-footnote {font:.75rem/1.4 'Courier New',monospace;color:#453c31;margin:7px 3px;}
.ultimate-dialog-content.ultimate-guide-ranking-demo {display:block;overflow-y:auto;}
.ultimate-guide-ranking-demo #ultimate-ranking-list {height:auto;min-height:0;display:block;overflow:visible;}
.ultimate-guide-ranking-demo .ultimate-candidate-stage {min-height:0;}
.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-tv-screen {aspect-ratio:auto;}
.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-tv-frame {max-width:100%;}
.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-tv-title {white-space:normal;overflow-wrap:normal;}
.ultimate-guide-scroll-scene {position:relative;width:min(100%,350px);margin:12px auto 10px;display:flex;align-items:stretch;gap:7px;background:#49453f;border:3px solid #746d60;padding:8px;border-radius:9px;box-shadow:inset 0 2px 7px #0007;}
.ultimate-guide-scroll-window {height:239px;overflow:hidden;position:relative;flex:1;background:#272723;border:2px solid #131411;border-radius:5px;}
.ultimate-guide-scroll-window:after {content:'';position:absolute;bottom:0;left:0;right:0;height:24px;background:linear-gradient(transparent,#12130fb3);pointer-events:none;}
.ultimate-guide-scroll-track {display:flex;flex-direction:column;gap:5px;padding:5px;animation:ultimate-guide-scroll 4.8s ease-in-out infinite alternate;}
.ultimate-guide-scroll-row {height:52px;box-sizing:border-box;display:flex;gap:7px;align-items:center;padding:4px 5px;background:#c8c0b1;border:1px solid #8c8273;}
.ultimate-guide-scroll-number {width:18px;text-align:center;color:#5c4a29;font:700 1.05rem 'Oswald',sans-serif;}
.ultimate-guide-scroll-screen {display:grid;place-items:center;flex:1;min-width:0;height:38px;border:4px solid #777268;border-radius:11px;background:radial-gradient(ellipse,#353c38,#151816);color:#f2e3c9;text-shadow:0 1px 3px #000;font:700 .81rem 'Oswald',sans-serif;}
.ultimate-guide-scroll-buttons {width:35px;font:700 .78rem 'Oswald',sans-serif;color:#36312a;}
.ultimate-guide-scrollbar {position:relative;flex:0 0 7px;background:#1f201c;border:1px solid #908a7b;border-radius:5px;}
.ultimate-guide-scrollbar span {position:absolute;top:3px;left:1px;right:1px;height:90px;border-radius:4px;background:#e7c97f;animation:ultimate-guide-scroll-thumb 4.8s ease-in-out infinite alternate;}
.ultimate-guide-scroll-hint {position:absolute;right:19px;bottom:8px;background:#24241ee8;color:#ffe59a;padding:3px 7px;font:700 .65rem 'Oswald',sans-serif;letter-spacing:.05em;pointer-events:none;}
@keyframes ultimate-guide-scroll {0%,19% {transform:translateY(0)} 57%,100% {transform:translateY(-65px)}}
@keyframes ultimate-guide-scroll-thumb {0%,19% {transform:translateY(0)} 57%,100% {transform:translateY(120px)}}
@media (prefers-reduced-motion:reduce) {.ultimate-guide-scroll-track,.ultimate-guide-scrollbar span {animation:none;}.ultimate-guide-scroll-track {transform:translateY(-65px);} .ultimate-guide-scrollbar span {transform:translateY(120px);}}
/* Maintain the fan's calibrated 37 EPISODES emblem. */
.ultimate-hero .ultimate-hero-disc .ultimate-disc-caption { padding: 2px; }
.ultimate-hero .ultimate-hero-disc .ultimate-disc-label { transform: translateY(10px); }

/* Review #34 — fanbase overview: mirrors personal slots, with honest ties. */
.ultimate-community-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.ultimate-community-count{font:700 .65rem 'Oswald',sans-serif;letter-spacing:.13em;color:#665e51;white-space:nowrap;}
.ultimate-community-slots{margin-top:9px;}
.ultimate-community-slot{padding:0!important;}
.ultimate-community-open{display:block;width:100%;padding:10px;text-align:left;cursor:pointer;border:0;background:none;color:inherit;font:inherit;}
.ultimate-community-open:hover{background:#f7f0e4;}
.ultimate-community-open:focus-visible{outline:none;outline-offset:0;background:#f7f0e4;}
.ultimate-community-open .ultimate-slot-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.ultimate-community-votes{margin-left:auto;color:#6b6359;font:600 .69rem 'Oswald',sans-serif;}
.ultimate-community-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0 4px;}
.ultimate-community-modes.is-finale{grid-template-columns:1fr;}
.ultimate-community-mode{display:flex;min-width:0;flex-direction:column;gap:5px;padding:6px;border:2px solid #957c44;border-radius:5px;background:#d5cba8;}
.ultimate-community-mode.is-objective{border-color:#548399;background:#bdd4dc;}
.ultimate-community-mode.is-finale{border-color:#787169;background:#c9c5bc;}
.ultimate-community-mode-label{display:block;text-align:center;font:700 .72rem 'Oswald',sans-serif;letter-spacing:.07em;color:#27231b;}
.ultimate-community-winner{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1;}
.ultimate-community-tv-frame{display:block;min-width:0;padding:4px 4px 1px;border:2px solid #6d685f;border-radius:7px;background:linear-gradient(#514f49,#343530);}
.ultimate-community-tv-screen{display:block;position:relative;overflow:hidden;aspect-ratio:1.75;border:3px solid #151815;border-radius:7px;background:#111;}
.ultimate-community-tv-screen>img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.08);}
.ultimate-community-no-image{position:absolute;inset:0;display:grid;place-items:center;color:#c8bc9f;font:.53rem 'Oswald',sans-serif;}
.ultimate-community-tv-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:4px;background:#0007;color:white;text-align:center;}
.ultimate-community-tv-overlay strong{font:700 clamp(.64rem,2vw,1.22rem)/1.02 'Oswald',sans-serif;overflow-wrap:anywhere;text-shadow:1px 2px 2px #000;}
.ultimate-community-tv-overlay small{font:600 .56rem/1 'Oswald',sans-serif;color:#e9dcb9;}
.ultimate-community-tv-knobs{display:block;color:#c7c0a9;font-size:6px;text-align:right;letter-spacing:3px;line-height:9px;}
.ultimate-community-position{display:block;color:#4f4433;font:700 .64rem 'Oswald',sans-serif;text-align:center;}
.ultimate-community-empty{display:flex;min-height:76px;flex-direction:column;align-items:center;justify-content:center;border:2px dashed #8f8675;background:#262824;color:#f1e6ce;}
.ultimate-community-empty strong{font:700 2rem 'Oswald',sans-serif;line-height:1;}
.ultimate-community-empty small{font:600 .6rem 'Oswald',sans-serif;letter-spacing:.06em;}
.ultimate-community-duel{display:grid;grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);align-items:center;gap:4px;}
.ultimate-community-robots{display:flex;align-items:center;justify-content:center;gap:2px;height:100%;color:#26211b;}
.ultimate-community-robots b{flex:0 0 auto;font:800 .72rem/1 'Oswald',sans-serif;letter-spacing:.04em;color:#6a3531;}
.ultimate-community-robot{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:34px;color:#1f1b16;}
.ultimate-community-robot svg{display:block;width:100%;height:100%;filter:drop-shadow(0 1px 0 rgba(255,255,255,.15));}
.ultimate-community-robot-right svg{transform:scaleX(-1);transform-origin:center;}
.ultimate-community-tie-label{font:700 .64rem 'Oswald',sans-serif;color:#6c342f;text-align:center;letter-spacing:.08em;}
.ultimate-community-duel .ultimate-community-tv-overlay strong{font-size:clamp(.48rem,1.4vw,.85rem);}
.ultimate-community-duel .ultimate-community-tv-overlay small{font-size:.44rem;}
.ultimate-community-multi{display:flex;flex-direction:column;gap:5px;min-height:76px;padding:7px;background:#ded8cc;color:#28251f;}
.ultimate-community-multi>strong{font:700 .8rem 'Oswald',sans-serif;color:#843a31;}
.ultimate-community-multi>span{font:600 .72rem/1.25 'Oswald',sans-serif;}
.ultimate-community-multi small{font-size:.66rem;color:#66594a;}
.ultimate-community-link{display:block;text-align:right;font:700 .68rem 'Oswald',sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#524332;}
@media(max-width:380px){.ultimate-community-open{padding:7px}.ultimate-community-modes{gap:5px}.ultimate-community-mode{padding:4px}.ultimate-community-duel{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)}.ultimate-community-robots{gap:1px}.ultimate-community-robots b{font-size:.58rem}.ultimate-community-robot{flex-basis:16px;width:16px;height:26px}}


/* Review #35: Fill fanbase TVs with multiline titles (the exact size is fitted
   to each CRT screen by fitCommunityTitles in ultimate.js). */
.ultimate-community-tv-overlay { min-width:0; overflow:hidden; }
.ultimate-community-tv-overlay strong {
  display:block; width:100%; min-width:0; max-width:100%; max-height:none;
  font-size:28px; line-height:1.02; white-space:normal;
  overflow-wrap:break-word; word-break:normal; text-wrap:balance;
  overflow:visible;
}
.ultimate-community-tv-overlay small { flex:0 0 auto; }
/* Preserve space on wide screens for the practice TV. A fixed small demo
   max-width plus auto shrink was collapsing the CRT in the larger dialog. */
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-tv-frame {
  box-sizing:border-box; flex:0 1 230px; width:230px; max-width:230px;
  min-width:0; height:128px; max-height:128px;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-tv-screen {
  aspect-ratio:auto; height:100%; min-height:0;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-candidate-machine {
  box-sizing:border-box; flex:0 1 340px; width:min(100%,340px); min-width:0;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-candidate-stage {
  box-sizing:border-box; width:100%; justify-content:center;
}
@media(max-width:380px){
  .ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-tv-frame {
    flex:1 1 auto; width:auto; max-width:230px; height:112px; max-height:112px;
  }
}

/* Review #37: practice rows use the same leftmost ranking readout as live rows.
   Keep the tutorial-specific layout scoped so actual ranking rows are untouched. */
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo {
  display:block;
  box-sizing:border-box;
  padding:6px 5px;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-candidate-machine {
  flex:1 1 auto;
  width:100%;
  max-width:none;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-candidate-stage {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:space-between;
  gap:4px;
  width:100%;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-rank-number {
  order:0;
  flex:0 0 25px;
  width:25px;
  padding:7px 0;
  font-size:.85rem;
  line-height:1;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-candidate-stage > .ultimate-movers {
  display:flex;
  flex:1 1 0;
  min-width:0;
  width:auto;
  height:132px;
  gap:4px;
  flex-direction:column;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-candidate-stage > .ultimate-movers .ultimate-move {
  width:100%;
  min-width:0;
  flex:1 1 0;
  min-height:0;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-tv-frame {
  flex:0 1 230px;
  width:min(100%,230px);
  max-width:230px;
  height:128px;
}
.ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-mobile-movers {
  display:none;
}
@media(max-width:380px) {
  .ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-candidate-stage {
    gap:2px;
  }
  .ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-rank-number {
    flex-basis:20px;
    width:20px;
  }
  .ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-candidate-stage > .ultimate-movers {
    height:116px;
    gap:2px;
  }
  .ultimate-dialog-content.ultimate-guide-ranking-demo .ultimate-candidate.is-demo .ultimate-tv-frame {
    height:112px;
  }
}

/* Review #38: Two-way fanbase ties: let both CRTs breathe. No robots or VS.
   A tied mode spans the full card width, so the two screens can fit titles. */
.ultimate-community-modes .ultimate-community-mode.is-tied {
  grid-column:1 / -1;
}
.ultimate-community-duel {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:8px;
  width:100%;
  min-width:0;
}
.ultimate-community-duel .ultimate-community-winner {min-width:0;}
.ultimate-community-duel .ultimate-community-tv-overlay strong {
  font-size:28px;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
  line-height:1.02;
}
.ultimate-community-duel .ultimate-community-tv-overlay small {font-size:.56rem;}
@media(max-width:380px) {
  .ultimate-community-duel {grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;}
}

/* Review #39: the encore has separate subjective/objective votes. */
.ultimate-finale-comment-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.ultimate-finale-comment-pair>section{min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;}
.ultimate-finale-comment-pair>section>strong,.ultimate-finale-review-heading{font:700 .8rem 'Oswald',sans-serif;letter-spacing:.07em;}
.ultimate-finale-vote-list{display:flex;flex-direction:column;gap:8px;}
.ultimate-finale-vote-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 10px;border:1px solid #8d806a;border-radius:5px;}
.ultimate-finale-vote-row>.ultimate-finale-tv{flex:0 1 170px;min-width:0;}
.ultimate-finale-vote-row>strong{font:700 .9rem 'Oswald',sans-serif;white-space:nowrap;}

/* Review #40: personal survey preference in a collapsible settings panel and tutorial. */
.ultimate-survey-settings{margin-bottom:12px;}
.ultimate-survey-settings #ultimate-settings-body{padding:12px 14px 14px;}
.ultimate-setting-option{display:flex;align-items:flex-start;gap:12px;cursor:pointer;color:#25231d;background:#e8e0cf;border:1px solid #998e7a;border-radius:5px;padding:11px;line-height:1.35;}
.ultimate-setting-option input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:#5f7469;cursor:pointer;}
.ultimate-setting-option span{display:flex;flex-direction:column;gap:6px;min-width:0;}
.ultimate-setting-option strong{font:700 .93rem/1.3 'Oswald',sans-serif;}
.ultimate-setting-option small{font:400 .83rem/1.43 sans-serif;color:#514d44;}
.ultimate-settings-status{margin:8px 0 0;font:.78rem/1.3 sans-serif;min-height:1em;color:#4a594e;}
.ultimate-dialog-content .ultimate-setting-option{margin:12px 0;}

/* Review #41 — previously read comments are always accessible in review popups. */
.ultimate-comments-archive {display:flex;flex-direction:column;gap:8px;}
.ultimate-comments-archive h3 {margin:0;font:700 1.25rem 'Oswald',sans-serif;}
.ultimate-comments-archive p {margin:0 0 5px;line-height:1.4;}
.ultimate-comment-entry {display:grid;grid-template-columns:minmax(0,1fr) auto 15px;align-items:center;gap:8px;text-align:left;width:100%;padding:10px;border:1px solid #8c8170;border-radius:5px;background:#e4dbc9;color:#28231d;cursor:pointer;}
.ultimate-comment-entry strong {overflow-wrap:anywhere;font:700 .95rem 'Oswald',sans-serif;}
.ultimate-comment-entry span {font-size:.69rem;color:#5c5347;}
.ultimate-comment-entry:hover,.ultimate-comment-entry:focus-visible {background:#f8efdb;outline-color:#44697b;}
.ultimate-review-next-preference {margin-top:10px;}
.ultimate-survey-settings .ultimate-setting-option+.ultimate-setting-option {margin-top:9px;}
@media(max-width:370px){.ultimate-comment-entry {grid-template-columns:minmax(0,1fr) 15px;}.ultimate-comment-entry span:nth-child(2){grid-column:1;grid-row:2;}}

/* Review #42: Public participation tally beneath the survey masthead. */
.ultimate-survey-pulse{margin:0 0 12px;border:3px solid #38362f;border-radius:5px;background:linear-gradient(145deg,#d4cec0,#b3ab9b);box-shadow:inset 0 0 0 1px #f2ebdd,0 3px 9px #0002;overflow:hidden;color:#29271f;}
.ultimate-survey-pulse-title{padding:6px 12px;border-bottom:2px solid #827968;background:#35332c;color:#e7d7b6;font:700 .68rem/1.25 'Oswald',sans-serif;letter-spacing:.13em;text-align:center;}
.ultimate-survey-pulse-title span{color:#c9ab58;padding:0 6px;}
.ultimate-survey-pulse-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
.ultimate-survey-pulse-metric{min-width:0;padding:12px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;}
.ultimate-survey-pulse-metric + .ultimate-survey-pulse-metric{border-left:2px solid #8c8170;}
.ultimate-survey-pulse-metric strong{font:700 clamp(1.65rem,5vw,2.4rem)/1 'Oswald',sans-serif;color:#272a26;font-variant-numeric:tabular-nums;}
.ultimate-survey-pulse-metric span{font:700 clamp(.58rem,1.6vw,.8rem)/1.16 'Oswald',sans-serif;letter-spacing:.045em;}
.ultimate-survey-pulse-metric small{font:500 .64rem/1.2 'Oswald',sans-serif;color:#685f53;}
@media(max-width:390px){.ultimate-survey-pulse-metric{padding:10px 4px}.ultimate-survey-pulse-metric small{font-size:.56rem}}

/* Review #43: full-season finishers are distinct from individually published sets. */
.ultimate-survey-pulse-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:520px){
  .ultimate-survey-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ultimate-survey-pulse-metric:nth-child(3){border-left:0;border-top:2px solid #8c8170;}
  .ultimate-survey-pulse-metric:nth-child(4){border-top:2px solid #8c8170;}
}

/* Review #44: Fanbase Jump To control, matching the personal navigator. */
.ultimate-community-navigation{display:flex;justify-content:flex-end;margin:9px 10px 3px;}


/* Review #45 — floating page-level Back to Top control. */
.ultimate-back-to-top[hidden]{display:none!important;}
.ultimate-back-to-top{
  position:fixed;
  right:clamp(12px,3vw,28px);
  bottom:calc(16px + env(safe-area-inset-bottom,0px));
  z-index:100;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:1px;
  width:52px;
  height:54px;
  border:2px solid #766b52;
  border-radius:7px;
  background:linear-gradient(155deg,#e2d5b9,#b9a98a);
  box-shadow:0 3px 9px #0006,inset 0 1px #fff8;
  color:#302a20;
  cursor:pointer;
  font-family:'Oswald',sans-serif;
  font-weight:700;
  transition:background .15s ease,box-shadow .15s ease;
}
.ultimate-back-to-top-arrow{font-size:1.5rem;line-height:1;}
.ultimate-back-to-top-label{font-size:.68rem;letter-spacing:.08em;line-height:1;}
.ultimate-back-to-top:hover{background:linear-gradient(155deg,#f1e5cb,#cdbc9d);box-shadow:0 4px 12px #0006,inset 0 1px #fff8;}
.ultimate-back-to-top:focus-visible{outline:3px solid #3c7c99;outline-offset:3px;}
@media(max-width:430px){.ultimate-back-to-top{width:45px;height:47px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));}}
@media(prefers-reduced-motion:reduce){.ultimate-back-to-top{transition:none;}}

/* Review #46 — visibility controls hide presentations only, never rankings. */
#ultimate-app[data-ranking-visibility="subjective"] .ultimate-visibility-objective,
#ultimate-app[data-ranking-visibility="objective"] .ultimate-visibility-subjective { display:none !important; }
#ultimate-app[data-ranking-visibility="subjective"] .ultimate-community-modes,
#ultimate-app[data-ranking-visibility="objective"] .ultimate-community-modes { grid-template-columns:minmax(0,1fr); }
#ultimate-app[data-ranking-visibility="subjective"] .ultimate-winners,
#ultimate-app[data-ranking-visibility="objective"] .ultimate-winners { grid-template-columns:minmax(0,1fr); }
.ultimate-visibility-setting { display:flex;flex-direction:column;gap:7px;padding:12px 10px;border-bottom:1px solid #93897b; }
.ultimate-visibility-setting label { display:flex;flex-direction:column;gap:3px; }
.ultimate-visibility-setting label strong { font:700 .88rem 'Oswald',sans-serif; }
.ultimate-visibility-setting label small { font-size:.77rem;line-height:1.35; }
.ultimate-visibility-select {max-width:100%;width:100%;min-height:36px;padding:6px 9px;border:2px solid #756956;background:#ebe2d1;color:#29261f;font:700 .82rem 'Oswald',sans-serif;}

/* Keep nested overview TV wrappers from receiving an unnecessary second panel. */
.ultimate-winners > .ultimate-visibility-subjective,
.ultimate-winners > .ultimate-visibility-objective {display:block;min-width:0;background:transparent;border:0;padding:0;}
#ultimate-app[data-ranking-visibility="subjective"] .ultimate-winners > .ultimate-visibility-subjective,
#ultimate-app[data-ranking-visibility="objective"] .ultimate-winners > .ultimate-visibility-objective {max-width:100%;}

/* Review #47: compact on-page ranking expansions. Scoped to avoid the modal. */
.ultimate-expanded-toggle-wrap{display:flex;padding:0 10px 10px;justify-content:flex-start;}
.ultimate-expanded-toggle{font-size:.76rem;}
.ultimate-expanded-panel{margin:3px 9px 11px;padding:9px;border:1px solid #857a68;border-radius:5px;background:#e6decf;color:#25251f;}
.ultimate-expanded-panel[hidden]{display:none!important;}
.ultimate-expanded-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.ultimate-expanded-mode{min-width:0;border:1px solid #9c8247;border-radius:5px;padding:7px;background:#f1e6ca;}
.ultimate-expanded-mode.is-objective{border-color:#638e9d;background:#deedf1;}
.ultimate-expanded-mode h4{margin:0 0 6px;font:700 .78rem 'Oswald',sans-serif;letter-spacing:.06em;color:#3b3327;}
.ultimate-expanded-mode.is-objective h4{color:#254e62;}
.ultimate-expanded-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:3px;}
.ultimate-expanded-item{display:flex;align-items:center;gap:6px;padding:5px 6px;border:1px solid #b9ab93;border-radius:3px;background:#f8f4e9;min-width:0;}
.ultimate-expanded-mode.is-objective .ultimate-expanded-item{border-color:#adc9d0;background:#f2f8f9;}
.ultimate-expanded-position{flex:0 0 auto;min-width:22px;color:#59451b;font:800 .85rem 'Oswald',sans-serif;text-align:center;white-space:nowrap;}
.ultimate-expanded-position small{display:block;font:.55rem 'Oswald',sans-serif;line-height:1;color:#8b542e;}
.ultimate-expanded-episode{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px;}
.ultimate-expanded-episode strong{font:700 .76rem/1.15 'Oswald',sans-serif;overflow-wrap:break-word;}
.ultimate-expanded-episode small{font:600 .57rem/1.1 'Oswald',sans-serif;color:#686053;}
.ultimate-expanded-score{flex:0 0 auto;max-width:68px;text-align:right;font:700 .62rem/1.1 'Oswald',sans-serif;color:#5f5239;}
@media(max-width:540px){.ultimate-expanded-modes{grid-template-columns:1fr;}.ultimate-expanded-item{padding:6px 8px;}}
#ultimate-app[data-ranking-visibility="subjective"] .ultimate-expanded-mode.is-objective,
#ultimate-app[data-ranking-visibility="objective"] .ultimate-expanded-mode.is-subjective{display:none!important;}

/* Review #48: Accessible, quieter expansion controls and larger inline rows. */
.ultimate-expanded-toggle:focus:not(:focus-visible){outline:none;box-shadow:inset 0 2px 2px #fff8,inset 0 -2px 3px #0003;}
.ultimate-expanded-toggle:focus-visible{outline:none;box-shadow:0 0 0 2px #e6decf,0 0 0 4px #3c7c99;}
.ultimate-expanded-item{gap:8px;min-width:0;align-items:center;}
.ultimate-expanded-title{flex:1 1 auto;min-width:0;font:700 clamp(.89rem,1.5vw,1.03rem)/1.16 'Oswald',sans-serif;overflow-wrap:break-word;}
.ultimate-expanded-meta{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;justify-content:center;gap:2px;max-width:36%;text-align:right;}
.ultimate-expanded-season{font:600 .66rem/1.1 'Oswald',sans-serif;color:#686053;white-space:nowrap;}
.ultimate-expanded-score{font:700 .71rem/1.1 'Oswald',sans-serif;max-width:none;white-space:nowrap;}
@media(max-width:380px){.ultimate-expanded-title{font-size:.86rem}.ultimate-expanded-item{gap:5px;padding:6px}.ultimate-expanded-meta{max-width:37%}}

/* Review #49 — personal expansion action stays at the left of its action row.
   Other controls remain grouped to the right; allow wrapping on narrow phones. */
.ultimate-slot .ultimate-personal-actions{justify-content:flex-end;}
.ultimate-slot .ultimate-personal-actions .ultimate-expanded-toggle{margin-right:auto;}
/* Fanbase rows: SEASON and AVG/VOTES share one horizontal metadata line.
   Personal rows retain their single right-aligned season label. */
.ultimate-expanded-meta.is-fanbase{flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px;max-width:50%;}
.ultimate-expanded-meta.is-fanbase .ultimate-expanded-season,
.ultimate-expanded-meta.is-fanbase .ultimate-expanded-score{white-space:nowrap;}
@media(max-width:380px){.ultimate-expanded-meta.is-fanbase{gap:5px;max-width:54%;}.ultimate-expanded-meta.is-fanbase .ultimate-expanded-season{font-size:.60rem;}.ultimate-expanded-meta.is-fanbase .ultimate-expanded-score{font-size:.64rem;}}

/* Review #50: Keep personal slot actions side by side, without affecting
   the community section or buttons in dialog footers. */
.ultimate-slot .ultimate-personal-actions {
  display:flex;
  flex-wrap:nowrap;
  justify-content:flex-start;
  align-items:center;
  column-gap:6px;
  min-width:0;
}
.ultimate-slot .ultimate-personal-actions .ultimate-key {
  flex:0 1 auto;
  min-width:0;
  padding:7px 8px;
  font-size:clamp(.64rem,1.8vw,.76rem);
  letter-spacing:.025em;
  white-space:nowrap;
}
.ultimate-slot .ultimate-personal-actions .ultimate-expanded-toggle {
  margin-right:0;
}
@media(max-width:380px) {
  .ultimate-slot .ultimate-personal-actions {column-gap:4px;}
  .ultimate-slot .ultimate-personal-actions .ultimate-key {
    padding:6px 5px;
    font-size:.62rem;
    letter-spacing:0;
  }
}


/* Review #51: Comments archive opens in the existing modal, not inline with slots. */
.ultimate-slot-head .ultimate-slot-comments { margin-left:auto; flex:0 0 auto; font-size:.67rem; padding:5px 8px; }
.ultimate-community-slot .ultimate-expanded-toggle-wrap { gap:7px; align-items:center; }
.ultimate-community-slot .ultimate-comments-trigger { padding:6px 9px; font-size:.7rem; }
.ultimate-comments-archive { min-height:0; }
.ultimate-comments-archive .ultimate-comment-count { color:#665a4a; font:600 .75rem 'Oswald',sans-serif; }
.ultimate-comments-archive .ultimate-comment-entry {
  display:block; cursor:default; overflow-wrap:anywhere; white-space:normal;
  padding:11px 12px; background:#e8ddc9;
}
.ultimate-comments-archive .ultimate-comment-entry:hover { background:#e8ddc9; }
.ultimate-comments-archive .ultimate-comment-entry-head { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 10px; margin-bottom:7px; }
.ultimate-comments-archive .ultimate-comment-entry-head strong { font-size:1rem; }
.ultimate-comments-archive .ultimate-comment-entry-head time { font-size:.7rem; color:#63574a; }
.ultimate-comments-archive .ultimate-comment-entry-body { color:#28231d; font:400 .93rem/1.43 sans-serif; white-space:pre-wrap; overflow-wrap:anywhere; }
.ultimate-comments-archive .ultimate-comment-entry-actions { display:flex; justify-content:flex-end; margin-top:8px; }
.ultimate-comments-archive .ultimate-comment-entry-actions .ultimate-key { font-size:.7rem; padding:5px 8px; }
@media(max-width:380px){.ultimate-slot-head .ultimate-slot-comments {padding:4px 6px;font-size:.63rem;}}

/* Review #52: Comments controls match Expand Rankings in both season sections. */
.ultimate-community-slot .ultimate-comments-trigger {
  padding:8px 12px;
  font-size:.76rem;
  letter-spacing:.065em;
}
.ultimate-slot-head .ultimate-slot-comments {
  padding:7px 8px;
  font-size:clamp(.64rem,1.8vw,.76rem);
  letter-spacing:.025em;
}
.ultimate-comments-trigger:focus:not(:focus-visible),
.ultimate-slot-comments:focus:not(:focus-visible) {
  outline:none;
  box-shadow:inset 0 2px 2px #fff8,inset 0 -2px 3px #0003;
}
.ultimate-comments-trigger:focus-visible,
.ultimate-slot-comments:focus-visible {
  outline:none;
  box-shadow:0 0 0 2px #e6decf,0 0 0 4px #3c7c99;
}
@media(max-width:380px) {
  .ultimate-slot-head .ultimate-slot-comments {
    padding:6px 5px;
    font-size:.62rem;
    letter-spacing:0;
  }
}

/* Review #54 — remove browser focus/selection rings across Ultimate Season.
   Preserve permanent borders and other decorative framing. Keyboard focus is
   conveyed with a subtle brightness change rather than an outside outline. */
#ultimate-app :focus,
#ultimate-app :focus-visible,
#ultimate-modal :focus,
#ultimate-modal :focus-visible,
#ultimate-back-to-top:focus,
#ultimate-back-to-top:focus-visible {
  outline: none !important;
  outline-width: 0 !important;
  outline-offset: 0 !important;
  -webkit-tap-highlight-color: transparent;
}
/* Earlier revisions used box-shadow as an extra focus ring. Override those
   only while focused, keeping the normal mechanical button shadow. */
#ultimate-app .ultimate-expanded-toggle:focus-visible,
#ultimate-app .ultimate-comments-trigger:focus-visible,
#ultimate-app .ultimate-slot-comments:focus-visible {
  box-shadow: inset 0 2px 2px #fff8, inset 0 -2px 3px #0003;
}
#ultimate-back-to-top:focus-visible {
  box-shadow: 0 3px 9px #0006, inset 0 1px #fff8;
}
/* A selected finale option should keep its contrasting border, not gain an
   outer outline. */
#ultimate-modal .ultimate-finale-option.is-selected { outline: none !important; }
/* Keyboard users still need visible focus feedback without rings. */
#ultimate-app :is(button,a,select,input,textarea,[tabindex]):focus-visible,
#ultimate-modal :is(button,a,select,input,textarea,[tabindex]):focus-visible,
#ultimate-back-to-top:focus-visible {
  filter: brightness(.91);
}
#ultimate-app .ultimate-section-toggle:focus-visible,
#ultimate-app .ultimate-personal-toggle:focus-visible,
#ultimate-app .ultimate-community-open:focus-visible {
  background-color: rgba(75, 67, 49, .11);
}
