:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #fdfaf7; color: #252321; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; align-content: center; justify-items: center; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.vsl { position: relative; width: min(100%, 1024px); aspect-ratio: 16/9; overflow: hidden; background: #fdfaf7; isolation: isolate; }
@media (max-width: 767px) { .vsl { width: min(100%, 576px); aspect-ratio: 9/16; } }
.vsl[data-format="mobile"] { width: min(100%, 576px); aspect-ratio: 9/16; }
.vsl[data-format="desktop"] { width: min(100%, 1024px); aspect-ratio: 16/9; }
.player-mount, .player-mount iframe, .preview-layer, .preview { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-mount iframe { display: block; }
.preview-layer { z-index: 2; background: #fdfaf7; }
.preview { object-fit: contain; }
.actions { position: absolute; z-index: 1; left: 0; right: 0; bottom: 7%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 14px; }
.vsl[data-format="mobile"] .actions { top: 58%; bottom: auto; }
.start { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 100%; min-height: 76px; padding: 14px 22px; border: 1px solid #ffffff50; border-radius: 16px; background: #c54319; color: white; text-align: left; box-shadow: 0 8px 32px #64301e38; transition: transform .15s, background .15s; }
.start:hover { background: #af3712; transform: translateY(-2px); }
.start:active { transform: translateY(0); }
.start:focus-visible, .restart:focus-visible, .message button:focus-visible, .message a:focus-visible { outline: 3px solid #176c97; outline-offset: 4px; }
.play-icon { font-size: 27px; line-height: 1; }
.start-label { display: block; font-weight: 650; font-size: clamp(15px, 2.1vw, 21px); }
.start-hint { display: block; margin-top: 3px; font-size: 12px; color: #fff2e9; }
.sound-bars { height: 25px; display: flex; align-items: center; gap: 3px; margin-left: 4px; }
.sound-bars i { height: 70%; width: 3px; border-radius: 2px; background: #fff; animation: sound 1.2s ease-in-out infinite alternate; }
.sound-bars i:nth-child(2) { height: 100%; animation-delay: -.4s; }
.sound-bars i:nth-child(3) { height: 45%; animation-delay: -.8s; }
.restart { background: #fffc; color: #362820; border: 1px solid #d9cbc2; border-radius: 22px; padding: 9px 18px; font-size: 14px; }
.message { position: absolute; z-index: 3; left: 50%; bottom: 4%; transform: translateX(-50%); max-width: calc(100% - 24px); width: max-content; padding: 12px 18px; background: #24201fef; color: white; border-radius: 12px; text-align: center; font-size: 14px; }
.message button, .message a { display: inline-block; margin: 8px 5px 0; background: white; color: #2c2420; padding: 9px 12px; border: 0; border-radius: 8px; text-decoration: none; }
.vsl[data-state="starting"] .start { opacity: .85; }
@keyframes sound { to { transform: scaleY(.35); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 380px) { .start { padding: 12px 16px; gap: 10px; } .sound-bars { display: none; } }
