/* Best of the day (best.html) and its band on the home page and the Rewatch hub (_best_band.html).
   Flat navy / orange / white like the other Rotterdam pages; loaded after rotterdam-pages.css. */
.best-free{color:#fff}
.best-stage{margin-block:0 1.25rem}
.best-frame{border-radius:14px;overflow:hidden;background:#000;aspect-ratio:16/9}
.best-frame mux-player{display:block;inline-size:100%;block-size:100%;--media-object-fit:contain}
.best-now{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .6rem;margin:.6rem 0 0;color:#fff}
.best-now-rank{color:var(--rt-orange);font-weight:800}
.best-next{margin-inline-start:auto;padding:.45rem .95rem;border-radius:999px;border:0;background:var(--rt-orange);color:var(--rt-ink);
  font:inherit;font-weight:800;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;min-block-size:40px}
.best-list{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.best-item{display:grid;grid-template-columns:2.5rem minmax(9rem,16rem) 1fr;align-items:center;gap:.9rem;padding:.6rem;background:#fff;
  color:var(--rt-navy);border-radius:12px;border:2px solid transparent}
.best-item.is-current{border-color:var(--rt-orange)}
.best-item{cursor:pointer}
.best-item:hover{border-color:var(--rt-orange)}
.best-rank{font-family:var(--display);font-weight:800;font-size:2rem;line-height:1;text-align:center;color:var(--rt-orange)}
.best-thumb{border-radius:8px}
.best-info{display:flex;flex-direction:column;gap:.25rem;min-inline-size:0}
.best-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-top:.35rem}
.best-play{display:inline-flex;align-items:center;gap:.45em;padding:.55rem 1rem;border-radius:999px;background:var(--rt-orange);color:var(--rt-ink);
  font-weight:800;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;text-decoration:none;min-block-size:40px}
.best-play:hover,.best-play:focus-visible{background:var(--rt-navy);color:#fff}
.best-full{color:var(--rt-navy);font-weight:700;font-size:.85rem}
.best-more{margin-block:1.25rem 2rem;text-align:center}
.best-empty{padding:1.5rem;border:2px dashed rgba(255,255,255,.3);border-radius:12px}
@media (max-width:40rem){
  .best-item{grid-template-columns:1.75rem 1fr;align-items:start}
  .best-rank{font-size:1.5rem;grid-row:span 2}
  .best-thumb{grid-column:2}
  .best-info{grid-column:2}
}

/* The band that features it (home page, top of the Rewatch hub). */
.best-band{display:grid;grid-template-columns:minmax(0,1fr) minmax(9rem,15rem);align-items:center;gap:1rem 1.5rem;margin-block:1.25rem;
  padding:1.1rem 1.25rem;border-radius:14px;background:var(--rt-orange);color:var(--rt-ink);text-decoration:none}
.best-band:hover .best-band-cta,.best-band:focus-visible .best-band-cta{background:#fff}
.best-band-k{display:block;margin:0;font-weight:800;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}
.best-band-k b{font-weight:800}
.best-band-k2{font-weight:500;text-transform:none;letter-spacing:.02em}
.best-band-h{display:block;margin:.2rem 0 .3rem;font-family:var(--display);font-weight:800;font-size:clamp(1.5rem,3.5vw,2.2rem);line-height:1.05;text-transform:uppercase}
.best-band-p{display:block;margin:0 0 .75rem;font-weight:600}
.best-band-cta{display:inline-flex;align-items:center;gap:.45em;padding:.55rem 1.05rem;border-radius:999px;background:var(--rt-navy);color:#fff;
  font-weight:800;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em}
.best-band:hover .best-band-cta{color:var(--rt-navy)}
.best-band-img{display:block;inline-size:100%;block-size:auto;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
@media (max-width:40rem){.best-band{grid-template-columns:1fr}.best-band-img{grid-row:1}}

/* Desktop: the player with the playlist beside it. */
@media (min-width:64rem){
  .best-wrap.has-player{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(21rem,1fr);gap:1.25rem;align-items:start}
  .best-wrap.has-player .best-stage{margin:0}  /* scrolls with the page (Alex 18 Oct: no sticky player) */
  .best-wrap.has-player .best-list{gap:.6rem}
  .best-wrap.has-player .best-item{grid-template-columns:1.6rem 7.5rem 1fr;gap:.6rem;padding:.5rem}
  .best-wrap.has-player .best-rank{font-size:1.5rem}
  .best-wrap.has-player .best-thumb .rw-app{display:none}
  .best-wrap.has-player .rw-name{font-size:.95rem}
  .best-wrap.has-player .rw-sess{display:none}
  .best-wrap.has-player .best-play{padding:.4rem .8rem;font-size:.75rem;min-block-size:34px}
  .best-wrap.has-player .best-full{font-size:.78rem}
}
/* Best on each apparatus (Alex 19 Oct): one block per apparatus, three compact rows each; blocks
   side by side on wider screens, stacked on a phone. Same rows as the top list. */
.best-apps{margin-block:2.25rem 0}
.best-apps>h2{margin:0 0 1rem;color:#fff;font-family:var(--display);font-weight:800;font-size:clamp(1.4rem,3vw,2rem);line-height:1.1;text-transform:uppercase}
.best-apps-grid{display:grid;gap:1.25rem 1.25rem}
.best-app>h3{margin:0 0 .6rem;padding-block-end:.35rem;border-block-end:3px solid var(--rt-orange);color:#fff;
  font-family:var(--display);font-weight:800;font-size:1.05rem;letter-spacing:.03em;text-transform:uppercase}
.best-list--app{gap:.5rem}
.best-list--app .best-item{grid-template-columns:1.5rem 7rem 1fr;align-items:center;gap:.6rem;padding:.45rem}
.best-list--app .best-rank{font-size:1.4rem;grid-row:auto}
.best-list--app .best-thumb,.best-list--app .best-info{grid-column:auto}
.best-list--app .best-thumb .rw-app,.best-list--app .rw-sess{display:none}
.best-list--app .rw-name{font-size:.95rem}
.best-list--app .best-actions{margin-top:.2rem;gap:.35rem .8rem}
.best-list--app .best-play{padding:.4rem .8rem;font-size:.75rem;min-block-size:34px}
.best-list--app .best-full{font-size:.78rem}
@media (min-width:48rem){.best-apps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:80rem){.best-apps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:24rem){.best-list--app .best-item{grid-template-columns:1.25rem 5.5rem 1fr}}
.best-link{margin:.25rem 0 1rem}
.best-link a{color:var(--rt-orange);font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:.85rem;text-decoration:none}
.best-link a:hover,.best-link a:focus-visible{text-decoration:underline}
/* Symmetry (Alex 20 Oct, "my eyes"): in the compact lists (beside the player, apparatus blocks) every
   card is one fixed shape: name on one line, nation as flag + code (a long name like "People's
   Republic of China" wrapped to three lines and made every row a different height). */
.best-nat-code{display:none}
.best-wrap.has-player .best-nat-full,.best-list--app .best-nat-full{display:none}
.best-wrap.has-player .best-nat-code,.best-list--app .best-nat-code{display:inline;letter-spacing:.04em}
.best-wrap.has-player .rw-name,.best-list--app .rw-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.best-list--app .best-item,.best-wrap.has-player .best-item{min-block-size:6.75rem}
.best-list--app .best-actions,.best-wrap.has-player .best-actions{flex-wrap:nowrap}
/* Women's days have four apparatus: 2 x 2, never 3 + an orphan (Alex 20 Oct, symmetry). */
@media (min-width:80rem){.best-apps-grid:has(> :nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
