:root {
  color-scheme: dark;
}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#0b0f14;
  color:#e8eef7;
}
.container{
  max-width:1000px;
  margin: 0 auto;
  padding: 22px;
}
.card{
  background:#111a25;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.row{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
a{ color:#7cc0ff; text-decoration:none; }
a:hover{ text-decoration:underline; }
input,button{
  background:#0c1420;
  color:#e8eef7;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  padding:10px 12px;
}
button{
  cursor:pointer;
  background:#17304a;
}
button:hover{ filter:brightness(1.06); }
.table{ width:100%; border-collapse:collapse; }
.table td,.table th{ padding:10px; border-bottom:1px solid rgba(255,255,255,.08); text-align:left; }
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(124,192,255,.12);
  border: 1px solid rgba(124,192,255,.25);
  font-size: 13px;
}
.notice{
  opacity:.85;
  font-size: 14px;
}
.player-wrap{
  position:relative;
  width:100%;
  aspect-ratio: 16/9;
  background:#000;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
}
video{ width:100%; height:100%; display:block; background:#000; }
.watermark{
  position:absolute;
  inset:0;
  pointer-events:none;
  display:grid;
  place-items:center;
  font-size: 26px;
  opacity: .14;
  transform: rotate(-18deg);
  user-select:none;
  text-shadow: 0 2px 18px rgba(0,0,0,.9);
}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom: 14px;
}
/* Fullscreen watermark overlay */
.fs-watermark {
  position: fixed;
  inset: 0;
  pointer-events: none;
  display: none;
  place-items: center;
  font-size: 28px;
  opacity: 0.16;
  transform: rotate(-18deg);
  user-select: none;
  text-shadow: 0 2px 18px rgba(0,0,0,.9);
  z-index: 2147483647;
}

/* Show watermark when *any* element is fullscreen */
:fullscreen .fs-watermark {
  display: grid;
}

/* WebKit fallback (Safari) */
:-webkit-full-screen .fs-watermark {
  display: grid;
}
