/* A single framed player with controls inspired by SMISH TV. */
.live-section>.content-width { max-width: 1340px; }
.live-player-layout { grid-template-columns: minmax(0,1fr) minmax(300px,340px); gap: 24px; }
.player-card { padding: 9px 9px 0; border-radius: 25px; background: #fffdf5; color: var(--ink); box-shadow: 0 14px 40px #075b8d22; scroll-margin-top: 120px; }
.player-card .player-shell { border-radius: 17px; aspect-ratio: 16/9; background: #10202d; }
.player-card .player-poster { background: var(--pink); }
.player-card .poster-orbit { right: -12%; background: #ec197f; transform: rotate(12deg); }
.player-card .poster-logo { width: 48%; left: 5%; top: 18%; transform: rotate(-5deg); }
.player-card .poster-mascot { width: 38%; right: 4%; top: 6%; transform: rotate(3deg); }
.player-broadcast-badge { position: absolute; left: 20px; top: 20px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 20px; background: #fffdf5; color: var(--ink); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.player-card .play-button { top: auto; bottom: 9%; width: auto; height: 56px; padding: 0 23px; display: flex; gap: 10px; border: none; border-radius: 30px; background: #fffdf5; color: var(--ink); transform: translateX(-50%); font-size: 13px; font-weight: 800; white-space: nowrap; box-shadow: 0 5px 18px #5e083b24; }
.player-card .play-button:hover { background: var(--yellow); }
.player-card .play-button svg { margin: 0; width: 23px; height: 23px; }
.player-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; padding: 15px 12px; min-height: 88px; }
.player-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player-identity>img { width: 64px; height: 45px; object-fit: contain; flex-shrink: 0; }
.player-ready { border-left: 1px solid #dddcd3; padding-left: 14px; display: grid; gap: 5px; }
#player-state { font-size: 11px; line-height: 1.3; font-weight: 800; }
.player-ready small { font-size: 10px; color: #647078; line-height: 1.3; }
.player-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.player-tool { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 42px; min-height: 44px; padding: 9px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink); font-size: 10px; font-weight: 700; }
.player-tool svg { flex-shrink: 0; }
.player-tool:hover:not(:disabled) { background: #e8f6fe; color: #006aa0; }
.player-tool[aria-pressed=true] { background: #dff3ff; color: #006aa0; border-color: #b3e2fc; }
.player-tool:disabled { opacity: .4; cursor: default; }
.player-icon-tool .control-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.player-go-live { color: #006aa0; }
.player-go-live:disabled { opacity: .65; }
.player-toolbar .quality-control { gap: 6px; margin: 0 3px; font-size: 10px; font-weight: 700; }
.player-toolbar .quality-control select { min-height: 44px; max-width: 125px; padding: 9px 24px 9px 11px; border: 1px solid #d8d8ce; border-radius: 10px; background: #fffdf5; font-size: 11px; }
.player-toolbar .quality-control select:disabled { opacity: .6; cursor: default; }
.sound-off { display: none; }
#sound-button[aria-pressed=true] .sound-off { display: block; }
#sound-button[aria-pressed=true] .sound-waves { display: none; }
.player-caption-status { margin-top: 16px; color: #fff; font-size: 12px; line-height: 1.6; min-height: 20px; }
.airing-stack { border-radius: 22px; }
.airing-card { border-radius: 10px; }
.player-card .player-loading { background: #0d1b28e6; }
.player-card .player-error { background: #10202df5; }
.player-card .button-light { border-radius: 25px; }
.player-shell:fullscreen { border-radius: 0; background: #000; max-width: none; max-height: none; }
.player-card:fullscreen { display: flex; flex-direction: column; width: 100vw; height: 100vh; padding: 0; border-radius: 0; background: #000; }
.player-card:fullscreen .player-shell { flex: 1; width: 100%; height: 0; min-height: 0; max-height: none; aspect-ratio: auto; border-radius: 0; }
.player-card:fullscreen .player-toolbar { flex-shrink: 0; background: #fffdf5; }
.live-section.is-theatre { background: #111d2c; clip-path: none; padding-top: 45px; }
.is-theatre>.content-width { max-width: 1500px; }
.is-theatre .live-player-layout { display: block; }
.is-theatre .airing-stack,.is-theatre #live-title,.is-theatre .live-intro,.is-theatre>.content-width>.section-label { display: none; }
.is-theatre .player-shell { max-height: 78svh; }
.is-theatre .player-caption-status { text-align: center; }
@media(max-width:1250px) {
  .player-toolbar { padding-inline: 9px; }
  .player-identity { gap: 10px; }
  .player-ready { padding-left: 10px; }
  .player-tools { gap: 3px; }
  .player-toolbar .quality-control>span { display: none; }
}
@media(max-width:1050px) {
  .live-player-layout { grid-template-columns: minmax(0,1fr); }
  .player-toolbar .quality-control>span { display: inline; }
}
@media(max-width:600px) {
  .player-card { padding: 6px 6px 0; border-radius: 19px; }
  .player-card .player-shell { border-radius: 13px; aspect-ratio: 16/10; }
  .player-card .poster-logo { width: 49%; left: 4%; top: 22%; }
  .player-card .poster-mascot { width: 40%; right: 3%; top: 15%; }
  .player-broadcast-badge { left: 10px; top: 10px; padding: 6px 8px; font-size: 8px; }
  .player-broadcast-badge .live-dot { width: 6px; height: 6px; }
  .player-card .age-mark-player { width: 29px; height: 29px; font-size: 13px; }
  .player-card .play-button { bottom: 7%; height: 44px; padding: 0 15px; gap: 6px; font-size: 11px; }
  .player-card .play-button svg { width: 19px; height: 19px; }
  .player-toolbar { padding: 12px 6px; gap: 10px; }
  .player-identity { flex: 1 1 100%; }
  .player-identity>img { width: 54px; height: 37px; }
  .player-tools { width: 100%; margin-left: 0; gap: 3px; justify-content: flex-end; }
  .player-toolbar .quality-control { margin-right: auto; margin-left: 0; }
  .player-toolbar .quality-control>span { display: none; }
  .player-toolbar .quality-control select { max-width: 98px; font-size: 10px; padding: 8px; }
  .player-tool { min-width: 38px; padding: 8px 6px; }
  #theatre-button .control-label,#fullscreen-button .control-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .player-go-live { font-size: 9px; gap: 5px; }
  .player-caption-status { font-size: 11px; }
  .live-section.is-theatre { padding-top: 30px; padding-inline: 12px; }
}
