body.replay-modal-open { overflow: hidden; }

.replay-page-player {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(8px, 1.5vw, 24px);
  place-items: center;
  overflow: hidden;
  border: 0;
  color: #f5f9ff;
  background: transparent;
}

.replay-page-player[hidden],
.replay-page-player:not([open]) { display: none !important; }

.replay-page-player::backdrop {
  background: rgba(1, 5, 13, 0.9);
  backdrop-filter: blur(14px) saturate(0.8);
}

.replay-page-player-frame {
  --replay-accent: #168bff;
  --replay-cyan: #37c8ff;
  position: relative;
  display: grid;
  width: min(1540px, calc(100vw - clamp(16px, 3vw, 48px)));
  max-width: 100%;
  max-height: calc(100dvh - clamp(16px, 3vw, 48px));
  min-width: 0;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(121, 167, 214, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(circle at 62% -20%, rgba(30, 133, 255, 0.12), transparent 38%),
    linear-gradient(145deg, #07111e 0%, #050b13 58%, #07111c 100%);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.75), inset 0 1px rgba(255, 255, 255, 0.035);
}

.replay-page-player-head {
  display: flex;
  min-height: 46px;
  padding: 0.6rem 0.72rem 0.55rem 0.88rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(130, 170, 207, 0.16);
  background: rgba(4, 10, 17, 0.74);
}

.replay-page-player-head .eyebrow,
.replay-page-creator-library .eyebrow,
.replay-page-quick-unlock .eyebrow {
  margin: 0;
  color: var(--replay-cyan);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.replay-page-player-head .eyebrow span { margin-right: 0.4rem; color: var(--replay-accent); }

.replay-page-player-close {
  width: 2.45rem;
  min-width: 2.45rem;
  height: 2.45rem;
  min-height: 2.45rem;
  padding: 0;
  border: 1px solid rgba(166, 198, 231, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 10, 17, 0.88);
  box-shadow: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.replay-page-player-close span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.replay-page-player-close i { font-size: 1.55rem; font-style: normal; font-weight: 300; line-height: 1; }
.replay-page-player-close:active { transform: scale(0.97); }
.replay-page-player-close:focus-visible { outline: 2px solid var(--replay-cyan); outline-offset: 2px; }

.replay-page-creator {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(174px, auto);
  gap: 0.8rem;
  padding: 0.72rem 0.9rem;
  align-items: center;
  border-bottom: 1px solid rgba(130, 170, 207, 0.16);
}
.replay-page-creator-avatar {
  width: 3.55rem;
  height: 3.55rem;
  object-fit: cover;
  border: 2px solid rgba(92, 177, 255, 0.68);
  border-radius: 50%;
  background: #0c1724;
  box-shadow: 0 0 0 4px rgba(25, 125, 236, 0.1);
}
.replay-page-creator-copy { min-width: 0; }
.replay-page-creator-name-row { display: flex; align-items: center; gap: 0.38rem; }
.replay-page-creator-name-row strong {
  overflow: hidden;
  color: #fff;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.replay-page-verified {
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 50%;
  color: #031321;
  background: var(--replay-cyan);
  font-size: 0.64rem;
  font-weight: 950;
}
.replay-page-creator-copy p { margin: 0.13rem 0 0; color: #8da2b8; font-size: 0.72rem; }
.replay-page-creator-copy .replay-page-creator-bio {
  max-width: 760px;
  overflow: hidden;
  color: #bdc9d5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.replay-page-creator-link {
  min-height: 2.25rem;
  border: 1px solid rgba(63, 173, 255, 0.58);
  color: #fff;
  background: linear-gradient(135deg, #096de8, #168bff);
  box-shadow: 0 10px 24px rgba(10, 111, 233, 0.2);
  transition: filter 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.replay-page-creator-link:active { transform: scale(0.97); }
.replay-page-viewer-account {
  display: grid;
  min-width: 174px;
  gap: 0.08rem;
  padding: 0.56rem 0.72rem;
  border: 1px solid rgba(95, 171, 238, 0.2);
  border-radius: 9px;
  background: rgba(11, 29, 47, 0.76);
}
.replay-page-viewer-account small { color: #6e8aa5; font-size: 0.53rem; font-weight: 850; letter-spacing: 0.12em; }
.replay-page-viewer-account strong { color: #f7fbff; font-size: 0.75rem; }
.replay-page-viewer-account span { color: #ffbf3c; font-size: 0.68rem; font-weight: 800; }

.replay-page-player-grid {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 29%);
}
.replay-page-player-main {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 0.72rem;
  border-right: 1px solid rgba(128, 167, 204, 0.16);
}
.replay-page-player-video-head {
  display: flex;
  min-height: 54px;
  gap: 1rem;
  padding: 0.15rem 0.18rem 0.68rem;
  align-items: flex-end;
  justify-content: space-between;
}
.replay-page-player-video-head h2,
.replay-page-player-video-head p { margin: 0; }
.replay-page-player-video-head h2 {
  overflow: hidden;
  color: #fff;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#replay-player-meta { margin-top: 0.25rem; color: #9fb0c0; font-size: 0.72rem; }
.replay-page-live-badge {
  display: inline-flex;
  gap: 0.36rem;
  padding: 0.3rem 0.58rem;
  align-items: center;
  border: 1px solid rgba(42, 142, 255, 0.24);
  border-radius: 999px;
  color: #53a8ff;
  background: rgba(23, 97, 185, 0.16);
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
}
.replay-page-live-badge i { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: #37a1ff; box-shadow: 0 0 10px #168bff; }

.replay-page-player-shell {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(121, 161, 199, 0.18);
  border-radius: 7px;
  background: #000;
  box-shadow: inset 0 0 80px rgba(11, 29, 49, 0.25);
  isolation: isolate;
}
.replay-page-player-shell video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

.replay-page-player-loading {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  color: #fff;
  background: rgba(1, 7, 14, 0.72);
  pointer-events: none;
}
.replay-page-player-loading[hidden] { display: none !important; }
.replay-page-player-loading i {
  width: 2.35rem;
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--replay-cyan);
  border-radius: 50%;
  animation: replay-page-player-spin 0.7s linear infinite;
}
.replay-page-player-loading strong { color: #d9edff; font-size: 0.76rem; }

.replay-page-player-stats {
  display: flex;
  min-height: 46px;
  gap: 1rem;
  padding: 0.65rem 0.2rem 0.05rem;
  align-items: center;
  color: #8fa3b7;
  font-size: 0.69rem;
}
.replay-page-player-stats span { display: inline-flex; gap: 0.32rem; align-items: center; white-space: nowrap; }
.replay-page-player-stats i { color: #38a7ff; font-style: normal; }
.replay-page-player-stats strong { color: #c8d5e2; font-weight: 750; }
.replay-page-player-stats .replay-page-player-expiry { margin-left: auto; }

.replay-page-creator-library {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 20, 33, 0.78), rgba(4, 11, 19, 0.86));
}
.replay-page-creator-library > header {
  display: flex;
  min-height: 67px;
  gap: 0.7rem;
  padding: 0.88rem 0.85rem 0.68rem;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(128, 167, 204, 0.14);
}
.replay-page-creator-library h3 { margin: 0.18rem 0 0; color: #fff; font-size: 0.95rem; }
#replay-player-library-count { color: #6f8ba5; font-size: 0.64rem; white-space: nowrap; }
.replay-page-creator-list {
  display: grid;
  min-height: 0;
  gap: 0.38rem;
  padding: 0.65rem;
  align-content: start;
  overflow: auto;
  scrollbar-color: #238ee9 transparent;
  scrollbar-width: thin;
}
.replay-page-creator-list::-webkit-scrollbar { width: 5px; }
.replay-page-creator-list::-webkit-scrollbar-thumb { border-radius: 999px; background: #238ee9; }
.replay-page-library-item {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 0.62rem;
  padding: 0.42rem;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #dce8f3;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.replay-page-library-item:active { transform: scale(0.985); }
.replay-page-library-item.is-current { border-color: rgba(49, 161, 255, 0.55); background: rgba(21, 114, 207, 0.14); }
.replay-page-library-item.is-locked .replay-page-library-thumb::after {
  position: absolute;
  inset: 0;
  display: grid;
  content: 'VERROUILLÉE';
  place-items: center;
  color: #fff;
  background: rgba(1, 8, 16, 0.56);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.replay-page-library-thumb {
  position: relative;
  display: block;
  width: 118px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #071626;
}
.replay-page-library-thumb img { width: 100%; height: 100%; object-fit: cover; }
.replay-page-library-duration {
  position: absolute;
  right: 0.25rem;
  bottom: 0.22rem;
  z-index: 2;
  padding: 0.12rem 0.25rem;
  border-radius: 4px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  font-size: 0.56rem;
  font-weight: 800;
}
.replay-page-library-copy { min-width: 0; }
.replay-page-library-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #f5f9ff;
  font-size: 0.73rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.replay-page-library-copy span,
.replay-page-library-copy small { display: block; margin-top: 0.16rem; color: #8399ad; font-size: 0.6rem; }
.replay-page-library-copy .is-access { color: #4ba9ff; font-weight: 800; }
.replay-page-library-copy .is-price { color: #ffc344; font-weight: 850; }
.replay-page-library-more { color: #7d93a8; font-size: 1.05rem; }

.replay-page-quick-unlock {
  position: absolute;
  z-index: 10;
  right: 0.65rem;
  bottom: 0.65rem;
  left: 0.65rem;
  display: grid;
  gap: 0.52rem;
  padding: 0.9rem;
  border: 1px solid rgba(70, 166, 255, 0.48);
  border-radius: 10px;
  background: rgba(5, 18, 31, 0.97);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.62);
}
.replay-page-quick-unlock[hidden] { display: none !important; }
.replay-page-quick-unlock h4 { margin: 0; color: #fff; font-size: 0.94rem; }
.replay-page-quick-unlock > p:not(.eyebrow):not(.replay-page-quick-error) { margin: 0; color: #9fb0c0; font-size: 0.68rem; }
.replay-page-quick-close {
  position: absolute;
  top: 0.52rem;
  right: 0.58rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  border-radius: 50%;
  color: #d7e7f5;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.replay-page-quick-unlock dl { display: grid; gap: 0.28rem; margin: 0; }
.replay-page-quick-unlock dl div { display: flex; justify-content: space-between; gap: 0.6rem; color: #8ca2b6; font-size: 0.65rem; }
.replay-page-quick-unlock dt,
.replay-page-quick-unlock dd { margin: 0; }
.replay-page-quick-unlock dd { color: #eff7ff; font-weight: 800; }
.replay-page-quick-error { margin: 0; padding: 0.45rem; border-radius: 6px; color: #ff9aae; background: rgba(154, 13, 46, 0.22); font-size: 0.66rem; }
.replay-page-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.42rem; }
.replay-page-quick-actions .phnx-btn { min-height: 2.25rem; font-size: 0.65rem; transition: filter 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.replay-page-quick-actions .phnx-btn:active { transform: scale(0.97); }

.replay-page-player-shell .replay-controls {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: block;
  opacity: 1;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 4, 10, 0.94) 0, rgba(0, 5, 12, 0.45) 21%, transparent 48%);
  pointer-events: none;
  transition: opacity 180ms ease;
}
.replay-page-player-shell .replay-controls[hidden] { display: none !important; }
.replay-page-player-shell.is-playing:not(:hover):not(:focus-within) .replay-controls { opacity: 0; }
.replay-page-player-shell.is-paused .replay-controls,
.replay-page-player-shell:hover .replay-controls,
.replay-page-player-shell:focus-within .replay-controls { opacity: 1; }
.replay-page-player-shell .replay-center-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(3.4rem, 8%, 4.8rem);
  aspect-ratio: 1;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(116, 193, 255, 0.38);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 20, 36, 0.84);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.52), 0 0 28px rgba(17, 134, 255, 0.18);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.replay-page-player-shell .replay-center-toggle[hidden] { display: none !important; }
.replay-page-player-shell .replay-center-toggle:active { transform: translate(-50%, -50%) scale(0.97); }
.replay-page-player-shell .replay-center-toggle svg { width: 42%; height: 42%; fill: currentColor; }
.replay-page-player-shell .replay-controls-dock { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; padding: 0 0.72rem 0.5rem; pointer-events: auto; }
.replay-page-player-shell .replay-controls-row { display: grid; grid-template-columns: auto minmax(2.5rem, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 0.28rem 0.5rem; }
.replay-page-player-shell .replay-timeline { grid-row: 1; grid-column: 1 / -1; display: flex; width: 100%; height: 13px; align-items: center; cursor: pointer; }
.replay-page-player-shell .replay-timeline-input {
  --progress: 0%;
  width: 100%;
  height: 4px;
  margin: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: linear-gradient(to right, var(--replay-accent) 0 var(--progress), rgba(255,255,255,.42) var(--progress) 100%);
  cursor: pointer;
  transition: height 100ms ease;
}
.replay-page-player-shell .replay-timeline-input::-webkit-slider-thumb { width: 13px; height: 13px; appearance: none; border: 0; border-radius: 50%; background: #41afff; opacity: 0; transition: opacity 100ms ease; }
.replay-page-player-shell .replay-timeline-input::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #41afff; }
.replay-page-player-shell .replay-control-group { display: flex; grid-row: 2; align-items: center; gap: 0.12rem; }
.replay-page-player-shell .replay-control-group.is-left { grid-column: 1; }
.replay-page-player-shell .replay-control-group.is-right { grid-column: 3; justify-content: flex-end; }
.replay-page-player-shell .replay-control-button {
  display: grid;
  width: 2.15rem;
  min-width: 2.15rem;
  height: 2.15rem;
  min-height: 2.15rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.replay-page-player-shell .replay-control-button:active { transform: scale(0.94); }
.replay-page-player-shell .replay-control-button svg { display: block; width: 1.22rem; height: 1.22rem; fill: currentColor; }
.replay-page-player-shell .replay-control-button::before,
.replay-page-player-shell .replay-control-button::after { display: none !important; }
.replay-page-player-shell .replay-timecode { min-width: max-content; padding-inline: 0.22rem 0.3rem; color: #fff; font-variant-numeric: tabular-nums; font-size: 0.7rem; white-space: nowrap; }
.replay-page-player-shell .replay-volume-shell { position: relative; display: flex; align-items: center; }
.replay-page-player-shell .replay-volume-popover { position: static; display: flex; width: 0; padding: 0; overflow: hidden; opacity: 0; background: transparent; transform: none; transition: width 160ms ease, opacity 160ms ease; }
.replay-page-player-shell .replay-volume { --volume: 100%; width: 4rem; height: 3px; margin: 0; appearance: none; border-radius: 999px; background: linear-gradient(to right, #fff 0 var(--volume), rgba(255,255,255,.4) var(--volume) 100%); }
.replay-page-player-shell .replay-volume::-webkit-slider-thumb { width: 11px; height: 11px; appearance: none; border-radius: 50%; background: #fff; }
.replay-page-player-shell .replay-settings-menu {
  position: absolute;
  right: 2.9rem;
  bottom: 3.25rem;
  display: grid;
  min-width: 9rem;
  gap: 0.2rem;
  padding: 0.55rem;
  border: 1px solid rgba(105, 179, 241, 0.25);
  border-radius: 8px;
  background: rgba(5, 20, 35, 0.97);
  box-shadow: 0 12px 35px rgba(0,0,0,.5);
}
.replay-page-player-shell .replay-settings-menu[hidden] { display: none !important; }
.replay-page-player-shell .replay-settings-menu strong { padding: 0.25rem 0.45rem; color: #8fa8bd; font-size: 0.7rem; }
.replay-page-player-shell .replay-speed-option { min-height: 1.9rem; padding: 0.3rem 0.5rem; justify-content: flex-start; border: 0; border-radius: 5px; color: #e6f3ff; background: transparent; font-size: 0.74rem; cursor: pointer; }
.replay-page-player-shell .replay-speed-option.active { color: #fff; background: rgba(30, 138, 242, 0.22); }

.replay-page-player-status { margin: 0; padding: 0.58rem 0.85rem; border-top: 1px solid rgba(116, 161, 199, 0.14); color: #9edcff; background: rgba(6, 20, 33, 0.92); font-size: 0.7rem; }
.replay-page-player-status[hidden] { display: none !important; }
.replay-page-player-status[data-tone="error"] { color: #ff9aae; background: #210c15; }
.replay-page-player-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; margin: 0; padding: 0.42rem 0.75rem; border-top: 1px solid rgba(116, 161, 199, 0.1); color: #647d94; background: rgba(3, 10, 18, 0.94); font-size: 0.6rem; }
.replay-page-player-shortcuts kbd { min-width: 1.25rem; padding: 0.1rem 0.26rem; border: 1px solid #2c526f; border-bottom-width: 2px; border-radius: 4px; color: #cfeaff; background: #0d2538; text-align: center; }

@media (hover: hover) and (pointer: fine) {
  .replay-page-player-close:hover { border-color: rgba(255, 77, 112, 0.72); background: rgba(255, 30, 72, 0.28); transform: scale(1.04); }
  .replay-page-creator-link:hover { filter: brightness(1.1); }
  .replay-page-library-item:hover { border-color: rgba(73, 162, 239, 0.28); background: rgba(29, 91, 145, 0.13); }
  .replay-page-player-shell .replay-center-toggle:hover { background: rgba(12, 105, 199, 0.9); }
  .replay-page-player-shell .replay-control-button:hover { background: rgba(64, 166, 255, 0.18); }
  .replay-page-player-shell .replay-timeline:hover .replay-timeline-input { height: 6px; }
  .replay-page-player-shell .replay-timeline:hover .replay-timeline-input::-webkit-slider-thumb { opacity: 1; }
  .replay-page-player-shell .replay-volume-shell:hover .replay-volume-popover,
  .replay-page-player-shell .replay-volume-shell:focus-within .replay-volume-popover { width: 4.4rem; opacity: 1; }
  .replay-page-player-shell .replay-speed-option:hover { color: #fff; background: rgba(30, 138, 242, 0.16); }
}

@keyframes replay-page-player-spin { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
  .replay-page-player { overflow: auto; place-items: start center; }
  .replay-page-player-frame { max-height: none; grid-template-rows: auto auto auto auto auto; }
  .replay-page-player-grid { grid-template-columns: 1fr; }
  .replay-page-player-main { border-right: 0; border-bottom: 1px solid rgba(128, 167, 204, 0.16); }
  .replay-page-creator-library { min-height: 360px; max-height: 48dvh; }
  .replay-page-creator-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .replay-page-library-item { grid-template-columns: 102px minmax(0, 1fr) auto; }
  .replay-page-library-thumb { width: 102px; }
}

@media (max-width: 700px) {
  .replay-page-player { padding: 0; overflow: auto; }
  .replay-page-player-frame { width: 100%; min-height: 100dvh; border: 0; border-radius: 0; }
  .replay-page-creator { grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.55rem; padding: 0.6rem; }
  .replay-page-creator-avatar { width: 2.8rem; height: 2.8rem; }
  .replay-page-creator-copy .replay-page-creator-bio,
  .replay-page-viewer-account { display: none; }
  .replay-page-creator-link { min-width: 0; padding-inline: 0.6rem; font-size: 0.62rem; }
  .replay-page-player-main { height: auto !important; min-height: 0 !important; grid-template-rows: auto auto auto; padding: 0.5rem; align-content: start; }
  .replay-page-player-video-head { min-height: 48px; padding-bottom: 0.48rem; }
  .replay-page-live-badge { display: none; }
  .replay-page-player-stats { gap: 0.6rem; overflow-x: auto; scrollbar-width: none; }
  .replay-page-player-stats::-webkit-scrollbar { display: none; }
  .replay-page-player-stats .replay-page-player-expiry { margin-left: 0; }
  .replay-page-creator-library { min-height: 400px; max-height: 56dvh; }
  .replay-page-creator-list { grid-template-columns: 1fr; }
  .replay-page-player-shortcuts { display: none; }
  .replay-page-player-shell .replay-controls-dock { padding-inline: 0.32rem; padding-bottom: 0.28rem; }
  .replay-page-player-shell .replay-controls-row { gap: 0.15rem; }
  .replay-page-player-shell .replay-control-button { width: 1.9rem; min-width: 1.9rem; height: 1.9rem; min-height: 1.9rem; }
  .replay-page-player-shell .replay-control-button svg { width: 1.08rem; height: 1.08rem; }
  .replay-page-player-shell .replay-timecode { font-size: 0.58rem; }
  .replay-page-player-shell .replay-volume-popover { display: none; }
}

@media (max-width: 390px) {
  .replay-page-player-shell .is-skip-control,
  .replay-page-player-shell .is-adjacent-control { display: none; }
  .replay-page-player-shell .replay-timecode { padding-inline: 0.05rem; }
  .replay-page-quick-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .replay-page-player-loading i { animation-duration: 1.4s; }
  .replay-page-player-shell .replay-controls,
  .replay-page-player-close,
  .replay-page-creator-link,
  .replay-page-library-item,
  .replay-page-player-shell .replay-center-toggle,
  .replay-page-player-shell .replay-control-button { transition: none; }
}
