:root{
  color-scheme:dark;
  --bg:#09111f;
  --bg-2:#030711;
  --dock:rgba(6, 11, 20, 0.62);
  --dock-border:rgba(255,255,255,0.08);
  --text:#f6fbff;
  --muted:#a4b7c8;
  --accent:#63f3ff;
  --accent-strong:#8dffb4;
  --shadow:0 30px 90px rgba(0,0,0,0.45);
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%}
body{
  min-height:100vh;
  min-height:100dvh;
  font-family:"Avenir Next","SF Pro Display","Inter",ui-sans-serif,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--accent) 22%, transparent), transparent 30%),
    radial-gradient(circle at bottom, color-mix(in srgb, var(--accent-strong) 18%, transparent), transparent 34%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.shell{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
}
.device-frame{
  position:relative;
  width:min(420px, 100%);
  height:min(900px, calc(100dvh - 24px));
  min-height:600px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:var(--shadow);
  overflow:hidden;
  background:#000;
}
.player-shell{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#000;
}
.clip{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#000;
}
.screen-glow{
  position:absolute;
  inset:-10%;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.72)),
    radial-gradient(circle at 20% 14%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 26%),
    radial-gradient(circle at 80% 86%, color-mix(in srgb, var(--accent-strong) 24%, transparent), transparent 28%);
}
.topline,
.headline,
.dock{
  position:relative;
  z-index:2;
}
.topline{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:max(18px, env(safe-area-inset-top)) 18px 0;
}
.eyebrow{
  margin:0;
  text-transform:uppercase;
  letter-spacing:0.22em;
  font-size:10px;
  color:var(--accent);
}
.status-line{
  margin:0;
  font-size:11px;
  line-height:1.4;
  color:rgba(255,255,255,0.72);
  text-align:right;
}
.headline{
  position:absolute;
  left:18px;
  right:18px;
  bottom:max(118px, calc(env(safe-area-inset-bottom) + 98px));
}
.headline h1{
  margin:0;
  font-size:clamp(28px, 8vw, 42px);
  line-height:0.94;
  letter-spacing:-0.04em;
  text-wrap:balance;
  max-width:11ch;
}
.subtitle{
  margin:10px 0 0;
  max-width:24ch;
  font-size:13px;
  line-height:1.45;
  color:var(--muted);
}
.dock{
  position:absolute;
  left:12px;
  right:12px;
  bottom:max(12px, env(safe-area-inset-bottom));
  padding:12px;
  border-radius:22px;
  border:1px solid var(--dock-border);
  background:var(--dock);
  backdrop-filter:blur(18px);
}
.progress-track{
  height:4px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,0.14);
}
.progress-track span{
  display:block;
  width:0%;
  height:100%;
  background:linear-gradient(90deg, var(--accent), var(--accent-strong));
}
.action-row{
  display:flex;
  gap:8px;
  margin-top:10px;
}
button{
  appearance:none;
  flex:1;
  min-width:0;
  border-radius:999px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(5,10,18,0.52);
  color:var(--text);
  font:inherit;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.01em;
  cursor:pointer;
}
button:active{transform:scale(0.98)}
@media (max-width: 540px){
  .shell{padding:0}
  .device-frame{
    width:100%;
    height:100dvh;
    min-height:100dvh;
    border-radius:0;
    border:0;
  }
}
