/* A shared arena image with page-specific lighting and readable data surfaces. */
body.dmc-green-theme:has(.pub-display) {
  background: #06111e;
}
.pub-display {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(2, 8, 18, .76), rgba(3, 11, 23, .94)),
    url('/assets/pro/dmc-runway-stage.webp?v=20261125.1') center / cover no-repeat, #071421 !important;
}
.pub-display::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 10%, rgba(76, 225, 231, .17), transparent 48%),
    radial-gradient(ellipse at 8% 45%, rgba(255, 205, 69, .09), transparent 42%);
}
.pub-display .topbar,
.pub-display .team,
.pub-display .team-score,
.pub-display .tv-panel,
.pub-display .ticker {
  background: rgba(7, 20, 35, .93) !important;
  border-color: rgba(112, 210, 226, .3) !important;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .34) !important;
  backdrop-filter: blur(8px);
}
.pub-display .remaining,
.pub-display .score,
.pub-display .team-score {
  font-variant-numeric: tabular-nums;
}
.pub-display .remaining { min-width: 3ch; }
.pub-display .tv-live-pill { box-shadow: 0 0 22px rgba(76, 225, 231, .3); }

body.dmc-green-theme:has(.dmc-runway-ladder) {
  background: linear-gradient(180deg, rgba(4, 12, 24, .86), #0a1729 65%),
    url('/assets/pro/dmc-runway-stage.webp?v=20261125.1') center top / 100% auto no-repeat, #0a1729 !important;
}
.dmc-runway-ladder .hero {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  align-items: flex-end;
  overflow: hidden;
  border-color: rgba(76, 225, 231, .4);
  background: linear-gradient(90deg, rgba(5, 14, 27, .97), rgba(5, 14, 27, .76)),
    url('/assets/pro/dmc-runway-stage.webp?v=20261125.1') center 54% / cover no-repeat, #081525;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .4);
}
.dmc-runway-ladder .hero::after {
  content: 'THE CLIMB';
  position: absolute;
  right: 22px;
  bottom: -18px;
  z-index: -1;
  color: rgba(200, 255, 88, .09);
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 1000;
  white-space: nowrap;
  pointer-events: none;
}
.dmc-runway-ladder .hero h1 { color: #fff; text-shadow: 0 8px 34px rgba(0, 0, 0, .6); }
.dmc-runway-ladder .hero .lead { color: #d3e2ef; }
.dmc-runway-ladder .step.available {
  border-color: rgba(200, 255, 88, .62);
  box-shadow: inset 4px 0 #c8ff58, 0 16px 45px rgba(0, 0, 0, .19);
}
.dmc-runway-ladder .step.available::before {
  background: linear-gradient(90deg, rgba(200, 255, 88, .12), rgba(18, 30, 48, .94));
}
.dmc-runway-ladder .step.done::before {
  background: linear-gradient(90deg, rgba(76, 225, 231, .08), rgba(18, 30, 48, .94));
}
.dmc-runway-ladder .step.available .num {
  border-color: rgba(200, 255, 88, .65);
  color: #c8ff58;
  box-shadow: 0 0 20px rgba(200, 255, 88, .16);
}

.dmc-runway-poster .poster {
  isolation: isolate;
  min-height: 530px;
  border-color: rgba(255, 205, 69, .52);
  background: linear-gradient(125deg, rgba(3, 10, 22, .91), rgba(5, 17, 31, .76)),
    url('/assets/pro/dmc-runway-stage.webp?v=20261125.1') center / cover no-repeat, #081525;
  box-shadow: 0 36px 100px rgba(0, 0, 0, .46), 0 0 65px rgba(255, 205, 69, .09);
}
.dmc-runway-poster .poster::after { content: ''; }
.dmc-runway-poster .poster::before {
  content: '';
  position: absolute;
  inset: -50% -80%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 43%, rgba(255, 205, 69, .13) 49%, transparent 56%);
  animation: dmc-poster-light 8s ease-in-out infinite alternate;
}
.dmc-runway-poster .poster .player,
.dmc-runway-poster .poster .stat {
  background: rgba(6, 17, 32, .86);
  border-color: rgba(112, 210, 226, .3);
  backdrop-filter: blur(6px);
}
.dmc-runway-poster .poster .headline { color: #fff; text-shadow: 0 10px 34px rgba(0, 0, 0, .6); }
.dmc-runway-poster .poster .kicker { color: #ffcd45; }
.dmc-runway-poster .poster .legs { font-variant-numeric: tabular-nums; color: #c8ff58; }
.dmc-runway-poster .poster .foot { color: #b7cbdc; }
@keyframes dmc-poster-light {
  from { transform: translateX(-20%); opacity: .45; }
  to { transform: translateX(20%); opacity: 1; }
}
.dmc-runway-video-dialog {
  width: min(960px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid rgba(255, 205, 69, .55);
  border-radius: 24px;
  padding: clamp(14px, 3vw, 24px);
  background: #081525;
  color: #f2f6fc;
  box-shadow: 0 36px 110px rgba(0, 0, 0, .6);
}
.dmc-runway-video-dialog::backdrop { background: rgba(2, 7, 16, .88); }
.dmc-video-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dmc-video-head h2 { margin: 0 0 12px; font-size: 1.5rem; }
.dmc-video-head button { border: 0; background: none; color: white; font-size: 2rem; cursor: pointer; }
.dmc-video-preview canvas, .dmc-video-preview video { display: block; width: 100%; height: auto; border-radius: 14px; }
.dmc-video-status { min-height: 1.4em; color: #c7d8e6; }
.dmc-video-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.dmc-video-actions button {
  border: 1px solid rgba(76, 225, 231, .5);
  border-radius: 12px;
  padding: 11px 14px;
  background: #133048;
  color: white;
  font: 800 .9rem system-ui, sans-serif;
  cursor: pointer;
}
.dmc-video-actions button[hidden] { display: none; }
.dmc-video-actions button:disabled { opacity: .5; cursor: wait; }
.dmc-video-actions button:focus-visible, .dmc-runway-video-dialog button:focus-visible { outline: 3px solid #c8ff58; outline-offset: 2px; }
@media (max-width: 760px) {
  .pub-display { background-image: linear-gradient(180deg, #071421, #0c1a2c) !important; }
  body.dmc-green-theme:has(.dmc-runway-ladder) { background: #0a1729 !important; }
  .dmc-runway-ladder .hero { min-height: 0; background-image: linear-gradient(135deg, #081525, #14283c); }
  .dmc-runway-poster .poster { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dmc-runway-poster .poster::before { animation: none; }
}
