/* Shared content edges, responsive player controls and the ranked carousel. */
:root{--content-max:1600px;--content-gutter:max(4.5%,calc((100% - var(--content-max))/2))}
.header,.hero,.home-content,.page,.detail-content,footer,.video-page{padding-left:var(--content-gutter);padding-right:var(--content-gutter)}
.hero-bottom,.seo-breadcrumbs{left:var(--content-gutter);right:var(--content-gutter)}
.seo-breadcrumbs{max-width:none;width:auto}
.hero{height:auto;min-height:clamp(680px,78vh,860px);max-height:none}
.hero-copy{width:100%}
.hero .description{overflow-wrap:break-word}
.hero-carousel{position:relative}
.hero-carousel>.hero-bottom{z-index:4}
.hero-navigation{display:flex;align-items:center;gap:18px;min-width:0}
.hero-autoplay{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;min-width:96px;padding:7px 12px;border:1px solid #ffffff30;border-radius:20px;background:#0b0d11b8;color:var(--text);font:600 12px/1.3 'DM Sans',Arial,sans-serif;cursor:pointer}
.hero-autoplay[hidden]{display:none!important}
.hero-autoplay:hover{border-color:var(--lime);color:var(--lime)}
.hero-autoplay [data-hero-toggle-icon]{font-size:13px;line-height:1}
.hero-carousel .hero-slides button{position:relative;height:36px;min-width:26px;background:transparent}
.hero-carousel .hero-slides button:before{content:'';position:absolute;left:0;right:0;top:16px;height:4px;border-radius:4px;background:#ffffff40}
.hero-carousel .hero-slides button.active:before{background:var(--lime)}
.hero-carousel button:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.hero-carousel .hero-slide:not(.hidden){animation:hero-reveal .4s ease-out}
@keyframes hero-reveal{from{opacity:.3}to{opacity:1}}
.details-hero .actions{margin-top:24px}
.ranking-shelf .section-head{align-items:center;gap:16px}
.ranking-shelf .shelf-tools{flex-shrink:0;gap:14px}
.rank-controls{display:flex;align-items:center;gap:8px}
.rank-controls button{display:grid;place-items:center;min-width:36px;min-height:36px;font-size:23px;line-height:1}
.rank-controls button:disabled{opacity:.3;cursor:default}
.rank-row{display:flex;gap:24px;margin:0;padding:6px 0;max-width:100%;min-width:0;list-style:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:none;-ms-overflow-style:none}
.rank-row::-webkit-scrollbar{display:none;width:0;height:0}
.rank-card{flex:0 0 272px;display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:8px;min-width:0;scroll-snap-align:start}
.rank-number{width:80px;margin:0 0 36px;font-size:78px;line-height:1;letter-spacing:-5px;text-align:center;color:#c6f56718;-webkit-text-stroke:1.5px #b0cb79;user-select:none}
.rank-card .card{min-width:0;width:100%}
.rank-card .poster{aspect-ratio:2/3}
.rank-card h3{display:-webkit-box;min-height:2.8em;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.4;margin:10px 0 0}
.rank-card .card-meta{display:none}
.player-top{min-width:0;flex-wrap:wrap;align-items:center}
.player-section{scroll-margin-top:0}
.player-top>div{min-width:0}
.player-top h2{overflow-wrap:anywhere}
.player-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:14px;width:max-content;max-width:100%;padding:14px;margin:0 0 18px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.player-select-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--muted);font-size:12px;font-weight:700}
.player-select-field select{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #ffffff28;border-radius:7px;background:#0b0d11;color:var(--text);font-size:14px;font-weight:500;color-scheme:dark}
.player-select-field select:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.player-shell iframe{min-height:0;aspect-ratio:16/9}
.player-section .player-actions{gap:10px}
@media(max-width:760px){
  :root{--content-gutter:20px}
  .hero{height:auto;min-height:640px;padding-top:140px;padding-bottom:110px;max-height:none}
  .rank-row{gap:16px}
  .rank-card{flex-basis:234px;grid-template-columns:64px minmax(0,1fr)}
  .rank-number{width:64px;font-size:64px;letter-spacing:-4px}
  .ranking-shelf .section-kicker{display:none}
  .rank-controls button{min-width:36px;min-height:36px}
  .player-selectors{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}
  .player-select-field select{font-size:13px}
}
@media(max-width:560px){.player-top{align-items:flex-start}.player-top h2{font-size:19px}.player-top>.btn{padding:10px 13px;min-height:42px}.player-section .player-actions .btn{flex:1 1 140px;min-width:0;white-space:normal;min-height:44px;padding:11px 12px;font-size:12px}}
@media(max-width:400px){:root{--content-gutter:16px}}
@media(prefers-reduced-motion:reduce){.rank-row,.rail{scroll-behavior:auto}.hero-carousel .hero-slide{animation:none!important}}
