* { box-sizing: border-box; }
:root { font-family: Arial, Helvetica, sans-serif; color-scheme: light; }
body { margin: 0; min-height: 100svh; background: #fff; display: grid; place-items: center; padding: 28px; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid #ffcc86; outline-offset: 4px; }
.player { position: relative; isolation: isolate; width: min(420px, calc((100svh - 56px) * 9 / 16)); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 24px; background: #171415; box-shadow: 0 12px 45px #24141918; }
video { width: 100%; height: 100%; display: block; object-fit: contain; background: #151214; }
.cover { position: absolute; inset: 0; border: 0; width: 100%; color: white; background: radial-gradient(ellipse at 20% 15%, #a63b3b70, transparent 55%), radial-gradient(ellipse at 90% 65%, #63405270, transparent 60%), linear-gradient(160deg, #272020, #100e10); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 30px 24px 140px; }
.play-icon { display: grid; place-items: center; padding-left: 5px; width: 84px; height: 84px; border-radius: 50%; background: #f04444; box-shadow: 0 0 0 12px #f0444412; font-size: 28px; margin-bottom: 30px; }
.headline { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; line-height: 1.35; letter-spacing: -.6px; }
.headline em { font-family: Georgia, serif; color: #e8bcae; font-weight: 400; }
.intro { margin-top: 20px; font-size: 14px; line-height: 1.5; color: #eee5e3; }
.sound { margin-top: 20px; font-size: 13px; color: #eee5e3; }
.bottom { position: absolute; bottom: 0; width: 100%; padding: 44px 24px 22px; background: linear-gradient(transparent, #100d10eb 30%); color: white; text-align: center; }
#status { font-size: 12px; margin: 0 0 12px; line-height: 1.5; }
.progress { height: 3px; background: #ffffff26; border-radius: 8px; margin-bottom: 17px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: #f55d57; transition: width .1s linear; }
.continue { width: 100%; border: 1px solid #ffffff20; border-radius: 10px; padding: 15px 20px; background: #25d366; color: #072d15; box-shadow: 0 4px 22px #25d36645; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.continue:disabled { background: #ffffff10; color: #ffffff65; box-shadow: none; cursor: not-allowed; }
.continue:not(:disabled):hover { background: #49e682; }
.hint { display: block; margin-top: 11px; color: #ffffff70; font-size: 10px; }
.pause { position: absolute; top: 18px; right: 18px; border: 1px solid #ffffff40; border-radius: 50%; width: 38px; height: 38px; background: #0006; color: white; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  body { padding: 0; background: #151214; }
  .player { width: 100%; height: 100svh; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .bottom { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .headline { font-size: 26px; }
}

.cover.preview { background: linear-gradient(#0005, #0007); text-shadow: 0 2px 12px #000a; }
.cover.preview .sound { background: #f04444; color: #fff; border-radius: 10px; padding: 14px 18px; font-size: 16px; font-weight: 700; box-shadow: 0 4px 22px #0004; }
