.video-player{position:relative;background:#201c19;color:#fff8f2;min-width:0;isolation:isolate}
.video-player video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#201c19}
.video-feedback{position:absolute;inset:0 0 54px;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;text-align:center;background:#201c19d9;pointer-events:none}
.video-feedback[hidden],.video-feedback [hidden]{display:none!important}
.video-spinner{display:block;width:30px;height:30px;border:3px solid #fff8f230;border-top-color:var(--coral,var(--accent,#d9a28e));border-radius:50%;animation:video-download-spin .9s linear infinite}
.video-message{max-width:100%;font-size:13px;line-height:1.6;color:#fff8f2}
.video-candy{position:relative;display:block;flex:none;width:clamp(100px,23vw,180px);aspect-ratio:440/238;--video-progress:0%}
.video-candy-base,.video-candy-fill{position:absolute;inset:0;display:block;background:url('loading-candy.webp') center/contain no-repeat;pointer-events:none}
.video-candy-base{filter:grayscale(1);opacity:.24}
.video-candy-fill{clip-path:inset(calc(100% - var(--video-progress)) 0 0);transition:clip-path .2s linear;filter:drop-shadow(0 3px 8px #ad7ad526)}
.video-candy[data-indeterminate=true] .video-candy-base{animation:video-candy-pulse 1.4s ease-in-out infinite alternate}
.video-download{position:absolute;left:0;bottom:0;width:1px;height:1px;margin:0;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%)}
.video-attachment .video-candy{width:clamp(80px,16vw,130px)}
@keyframes video-candy-pulse{from{opacity:.2}to{opacity:.45}}
@media(prefers-reduced-motion:reduce){.video-candy-fill{transition:none}.video-candy[data-indeterminate=true] .video-candy-base{animation:none}}
.video-retry{pointer-events:auto;border:1px solid #fff8f24d;border-radius:8px;padding:5px 15px;background:#fff8f21a;color:#fff8f2;font:inherit;font-size:13px;cursor:pointer}
.video-retry:hover{background:#fff8f22e}.video-retry:focus-visible{outline:2px solid #fff8f2;outline-offset:3px}
.video-attachment .video-player{border-radius:9px;overflow:hidden}.video-attachment .video-feedback{gap:8px;padding:10px}.video-attachment .video-message{font-size:11px}.video-attachment .video-spinner{width:22px;height:22px}
.video-controls{position:relative;z-index:2;display:flex;align-items:center;gap:8px;min-height:54px;padding:7px 12px;background:#201c19;color:#fff8f2}
.video-control{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;padding:8px;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer}
.video-control svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.video-control:hover:not(:disabled),.video-speed-menu button:hover{background:#fff8f21f}.video-control:disabled{opacity:.35;cursor:default}
.video-control:focus-visible,.video-speed-menu button:focus-visible,.video-seek:focus-visible{outline:2px solid #fff8f2;outline-offset:2px}
.video-control[hidden],.video-speed-menu[hidden]{display:none!important}
.video-time{flex:none;font:11px/1.4 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.video-seek{flex:1;min-width:30px;width:100%;height:4px;margin:0 3px;accent-color:var(--coral,var(--accent,#d9a28e));cursor:pointer}
.video-volume{width:50px;min-width:30px;height:4px;accent-color:var(--coral,var(--accent,#d9a28e))}
.video-speed-wrap{position:relative;flex:none}.video-speed-menu{position:absolute;right:0;bottom:44px;display:flex;flex-direction:column;gap:2px;width:78px;padding:5px;border:1px solid #fff8f233;border-radius:10px;background:#201c19;box-shadow:0 6px 22px #0006}
.video-speed-menu button{min-height:30px;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;font:12px system-ui,sans-serif}.video-speed-menu button[aria-pressed=true]{background:#fff8f22e}
.promo-dialog .video-player video{max-height:calc(90dvh - 120px)}
.video-player:fullscreen{display:flex;flex-direction:column;justify-content:center;background:#201c19}.video-player:fullscreen video{flex:1;min-height:0;max-height:calc(100dvh - 54px);aspect-ratio:auto}.video-player:fullscreen .video-controls{flex:none}
@media(max-width:600px){.video-controls{gap:3px;padding:7px 6px}.video-control{width:32px;height:36px;padding:6px}.video-time{font-size:10px}.video-volume{display:none}}
@keyframes video-download-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.video-spinner{animation:none}}
