/* Live (Part 3) */
.live-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.live-header > div:first-child { max-width: 800px; }
.live-header-status { display: flex; align-items: center; gap: 12px; flex: none; }
@media (max-width: 767px) { .live-header { flex-direction: column; align-items: flex-start; } .page-header { padding: 40px 0 24px; } }

.live-layout { display: grid; grid-template-columns: 8fr 4fr; gap: 24px; align-items: start; }
.live-layout.no-chat { grid-template-columns: 1fr; }
.live-layout.no-chat .chat { display: none; }
.player-col { min-width: 0; display: grid; gap: 24px; }

.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--fv-surface); border: 1px solid var(--fv-border); }
.player .ph { position: absolute; inset: 0; border-radius: 0; border: 0; }
.player .ph.dimmed { filter: brightness(.45); }
.player-badge { position: absolute; top: 16px; left: 16px; z-index: 3; }
.player-overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 40px; gap: 14px; background: linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.4) 70%, rgba(10,10,10,.1));
}
.player-overlay .h3 { max-width: 520px; }
.player-overlay.center { align-items: center; text-align: center; background: rgba(10,10,10,.55); }
.player-banner { position: absolute; left: 0; right: 0; bottom: 56px; z-index: 2; padding: 12px 20px; background: rgba(10,10,10,.8); font-size: 15px; }
.player-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 4px; padding: 8px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
}
.player-controls button { background: none; border: 0; color: #fff; min-width: 40px; height: 40px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.player-controls button:hover { background: rgba(255,255,255,.1); }
.player-controls .spacer { flex: 1; }
.player-controls button[aria-pressed="true"] { color: var(--fv-orange); }
.unmute { position: absolute; z-index: 3; right: 16px; top: 16px; }
.big-play { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--fv-gradient); cursor: pointer; display: grid; place-items: center; }
.big-play::before { content: ""; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.reconnecting { display: inline-flex; gap: 10px; align-items: center; }
@media (max-width: 767px) {
  .live-layout { grid-template-columns: 1fr; }
  .player-col { gap: 16px; }
  .player { border-radius: 0; margin: 0 calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
  .player-overlay { padding: 16px; gap: 8px; }
  .player-overlay .countdown .cd-tile { min-width: 52px; padding: 8px 4px 6px; }
  .player-overlay .cd-num { font-size: 20px; }
  .player-overlay .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .player-overlay .hide-sm { display: none; }
}

.mobile-tabs { display: none; gap: 8px; }
@media (max-width: 767px) {
  .mobile-tabs:not([hidden]) { display: flex; }
  .mobile-tabs .pill { flex: 1; }
  .live-layout.tab-chat .session-info { display: none; }
  .live-layout.tab-details .chat { display: none; }
  .live-layout.tab-chat .chat { height: 60vh; }
}

.session-info .row1 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.session-info .h2 { margin: 8px 0 16px; }
.guest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.guest { display: flex; gap: 12px; align-items: center; }
.guest .h3 { font-size: 16px; }
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--fv-border); }
.share-row .small { margin-right: 8px; }
.more-toggle { display: none; }
@media (max-width: 767px) {
  .guest-grid { grid-template-columns: 1fr; }
  .more-toggle { display: inline-flex; margin-top: 12px; }
  .session-info:not(.expanded) .details-more { display: none; }
}
@media (max-width: 479px) { .share-row .lbl { display: none; } }

.chat { position: sticky; top: calc(var(--nav-h) + 16px); display: flex; flex-direction: column; padding: 0; overflow: hidden; height: min(640px, calc(100vh - var(--nav-h) - 32px)); }
.chat-head { padding: 16px 20px; border-bottom: 1px solid var(--fv-border); }
.chat-head .h3 { display: flex; align-items: baseline; gap: 8px; }
.chat-head .small { margin: 4px 0 0; }
.chat-list { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.chat-msg { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.chat-msg .avatar { width: 32px; height: 32px; font-size: 13px; }
.chat-msg .name { font-weight: 600; margin-right: 6px; }
.chat-msg .host { color: var(--fv-orange); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }
.chat-msg .body-txt { color: var(--fv-text-muted); word-break: break-word; }
.chat-new { position: absolute; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 2; }
.chat-foot { border-top: 1px solid var(--fv-border); padding: 16px 20px; display: grid; gap: 12px; }
.chat-foot .btn { width: 100%; }
@media (max-width: 1023px) and (min-width: 768px) {
  .live-layout { grid-template-columns: 1fr; }
  .chat { position: static; height: 420px; }
}
@media (max-width: 767px) { .chat { position: static; } }

.upnext-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.upnext-list .card { display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.upnext-list .card .btn { margin-top: auto; align-self: flex-start; }
.upnext-list .h3 { margin: 0; }
@media (max-width: 1023px) { .upnext-list { grid-template-columns: 1fr; } }

.section-tight { padding-top: 0; }
.strip-ctrl { display: flex; align-items: center; gap: 8px; }
.strip-btn { width: 40px; padding: 0; }
@media (max-width: 1023px) { .strip-btn { display: none; } }
.replay-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: thin; list-style: none; margin: 0; padding-left: 0; }
.replay-strip > li { flex: 0 0 280px; scroll-snap-align: start; }
@media (max-width: 767px) { .replay-strip > li { flex-basis: 80vw; } }
.replay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 24px 0 0; padding: 0; }
@media (max-width: 1023px) { .replay-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .replay-grid { grid-template-columns: 1fr; } }
.replay-card { display: block; width: 100%; text-align: left; background: var(--fv-surface); border: 1px solid var(--fv-border); border-radius: var(--radius); padding: 0; overflow: hidden; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.replay-card:hover { background: var(--fv-surface-2); transform: translateY(-2px); }
.replay-card .thumb { position: relative; aspect-ratio: 16 / 9; }
.replay-card .thumb .ph { position: absolute; inset: 0; border-radius: 0; border: 0; }
.replay-card .info { padding: 16px; display: grid; gap: 8px; justify-items: start; }
.replay-card .h3 { font-size: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.replay-card.processing { cursor: default; opacity: .55; }
.replay-card.processing:hover { transform: none; background: var(--fv-surface); }
.player .ph::after { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); white-space: nowrap; }
