/* Sepidar sample player: charcoal surfaces, red playback controls, centred trigger. */
:root{--yt-red:#ff0033;--yt-black:#0f0f0f;--yt-surface:#212121;--yt-white:#f1f1f1}
.cinema{background:radial-gradient(ellipse at 15% 35%,#292125 0,transparent 58%),var(--yt-black);color:var(--yt-white)}
.intro em,.free-note,.intro .eyebrow{color:#ffb4bc}.note-line{background:var(--yt-red)}.back:hover{color:#ffb4bc}
.lesson{background:#181818;border-color:#ffffff24;border-radius:18px;box-shadow:0 30px 80px #0006}
.screen-heading{background:#181818;border-color:#ffffff14}.screen-heading i{background:var(--yt-red)}.screen-index{color:#aaa}.screen-index b{color:#f1f1f1}
.player-frame,.player-frame.is-playing{aspect-ratio:16/9;background:#000;overflow:hidden}
.poster{background:radial-gradient(ellipse at 12% 30%,#393338,transparent 62%),linear-gradient(120deg,#262125,#171717 65%,#101010)}
.poster:after{background:linear-gradient(0deg,#000b,transparent 45%)}.poster-arc,.poster-lines{display:none}
.poster-copy{right:6%;top:10%;max-width:46%;pointer-events:none}.poster-kicker{font-weight:700;font-size:clamp(10px,1.25vw,16px);color:#bbb}.poster-title{font-size:clamp(40px,7.5vw,108px);color:#fff;line-height:1.55;letter-spacing:-2px}.poster-subtitle{font-size:clamp(11px,1.5vw,19px);color:#ddd;font-weight:700}
.poster-teacher{left:0;bottom:-10%;height:110%;max-width:47%;filter:blur(2.5px) drop-shadow(14px 0 26px #0006)}.poster-signature{color:#aaa;bottom:20px;font-size:11px}
.poster>.play-link{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;z-index:5;display:grid;justify-items:center;gap:0;min-width:104px;min-height:74px;background:transparent;outline-offset:8px}
.poster>.play-link .play-disc{width:104px;height:74px;border-radius:16px;background:var(--yt-red);color:#fff;box-shadow:0 6px 30px #0005;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.poster>.play-link .play-disc svg{width:35px;height:35px;fill:#fff;stroke:none;margin-left:3px}
.poster>.play-link .play-label{position:absolute;top:calc(100% + 13px);left:50%;transform:translateX(-50%);width:max-content;max-width:220px;text-align:center;padding:7px 12px;border-radius:8px;background:#0f0f0fd9;pointer-events:none}
.poster>.play-link strong{font-size:13px;color:#fff;margin:0 0 3px;font-weight:900}.poster>.play-link small{font-size:10px;color:#d0d0d0}
.poster>.play-link:hover .play-disc{background:#e6002e;transform:scale(1.07);box-shadow:0 9px 40px #0008}.poster>.play-link:active .play-disc{transform:scale(.96)}
.screen-footer{background:#181818;border-color:#ffffff12}.screen-footer p{color:#ccc}.screen-footer svg{color:#aaa}.screen-brand{color:#888}
.player-frame video{background:#000;cursor:pointer}.player-frame:fullscreen{width:100vw;height:100dvh;aspect-ratio:auto;border-radius:0}.player-frame:fullscreen video{object-fit:contain}
.yt-controls{position:absolute;inset:auto 0 0;z-index:10;padding:28px 18px 8px;background:linear-gradient(transparent,#000e);color:#fff;transition:opacity .18s ease,transform .18s ease}
.player-frame.is-controls-idle:not(:focus-within) .yt-controls{opacity:0;transform:translateY(6px);pointer-events:none}
.yt-controls-row,.yt-controls-start,.yt-controls-end{display:flex;align-items:center;gap:8px}.yt-controls-row{justify-content:space-between}.yt-controls-start{min-width:0}.yt-controls-end{flex-shrink:0}
.yt-control{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:8px;border:0;border-radius:7px;background:transparent;color:#fff;transition:background .18s ease;cursor:pointer}.yt-control:hover{background:#ffffff24}.yt-control:active{background:#ffffff3b}.yt-control svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:1.9}.yt-control#yt-play svg{fill:#fff;stroke:none}.yt-control#yt-mute svg>path:first-child{fill:#fff;stroke:none}
.yt-icon-pause,.yt-icon-muted{display:none}.is-video-playing .yt-icon-play{display:none}.is-video-playing .yt-icon-pause{display:block}.is-video-muted .yt-icon-sound{display:none}.is-video-muted .yt-icon-muted{display:block}
.yt-time{font:500 12px/1.5 Arial,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;color:#eee;padding-inline:4px}
.yt-controls input[type=range]{display:block;appearance:none;-webkit-appearance:none;border:0;border-radius:0;padding:0;margin:0;box-shadow:none;cursor:pointer;outline-offset:3px;height:20px;background:transparent;color:var(--yt-red);accent-color:var(--yt-red);direction:ltr}
.yt-controls input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--yt-red) var(--yt-progress,0%),#ffffff55 var(--yt-progress,0%))}.yt-controls input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;border-radius:50%;background:var(--yt-red);margin-top:-4.5px;box-shadow:0 0 0 3px #0002}.yt-controls input[type=range]::-moz-range-track{height:4px;background:#ffffff55}.yt-controls input[type=range]::-moz-range-progress{height:4px;background:var(--yt-red)}.yt-controls input[type=range]::-moz-range-thumb{width:13px;height:13px;border:0;border-radius:50%;background:var(--yt-red)}
.yt-progress{width:100%;min-height:24px}.yt-controls .yt-volume{width:60px;flex:0 0 60px;--yt-progress:100%}.yt-speed{height:38px;padding:5px 6px;border:1px solid #ffffff24;border-radius:6px;background:#171717;color:#fff;font:700 12px Arial,sans-serif;cursor:pointer;max-width:80px}.yt-speed option{background:#212121;color:#fff}.yt-controls button:focus-visible,.yt-controls input:focus-visible,.yt-controls select:focus-visible,.poster>.play-link:focus-visible{outline:3px solid #fff;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.yt-speed-label{display:block;margin:0}
.playback-status{background:#252525}.playback-status .primary{background:#c90028;border-color:#c90028;color:white}
@media(max-width:700px){.lesson{border-radius:12px}.poster-copy{right:5%;top:7%;max-width:48%}.poster-title{font-size:clamp(32px,9vw,62px);line-height:1.6}.poster-kicker{font-size:10px}.poster-subtitle{font-size:10px}.poster-teacher{max-width:44%;height:109%;bottom:-12%;left:-2%}.poster>.play-link{min-width:78px;min-height:56px}.poster>.play-link .play-disc{width:78px;height:56px;border-radius:12px}.poster>.play-link .play-disc svg{width:28px;height:28px}.poster>.play-link .play-label{top:calc(100% + 6px);padding:5px 9px}.poster>.play-link strong{font-size:11px}.poster>.play-link small{font-size:9px}.yt-controls{padding:24px 10px 4px}.yt-controls-row,.yt-controls-start,.yt-controls-end{gap:2px}.yt-control{width:38px;height:42px;padding:8px}.yt-control svg{width:22px;height:22px}.yt-controls .yt-volume{display:none}.yt-time{font-size:11px;padding-inline:2px}.yt-speed{font-size:11px;height:34px;max-width:60px}.screen-footer p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.poster>.play-link .play-disc,.yt-controls,.yt-control{transition:none!important}}
@media(max-width:700px){.yt-speed{font-size:16px}}
@media(max-width:700px){.yt-controls input.yt-volume{display:none}}

@media(max-width:700px){.poster>.play-link .play-label{top:calc(100% + 4px);padding:4px 9px}.poster>.play-link strong{line-height:1.4;margin-bottom:2px}.poster>.play-link small{display:block;line-height:1.3}}

@media(max-width:700px){.poster-teacher{filter:blur(1.5px) drop-shadow(14px 0 26px #0006)}}

/* Two gentle attention pulses, then a steady trigger; text stays still. */
.poster>.play-link .play-disc{position:relative;isolation:isolate;animation:sepidar-play-pulse 2.2s ease-in-out 2}
.poster>.play-link .play-disc::before{content:"";position:absolute;inset:-5px;border:1.5px solid #ff003380;border-radius:inherit;box-shadow:0 0 18px #ff003330;pointer-events:none;z-index:-1;opacity:0;animation:sepidar-play-halo 2.2s ease-out 2}
@keyframes sepidar-play-pulse{0%,100%{transform:scale(1)}45%{transform:scale(1.11)}}
@keyframes sepidar-play-halo{0%,15%{transform:scale(.98);opacity:0}30%{opacity:.85}85%,100%{transform:scale(1.6);opacity:0}}
.poster>.play-link:hover .play-disc,.poster>.play-link:focus-visible .play-disc,.poster>.play-link:active .play-disc{animation:none}
.poster>.play-link:hover .play-disc::before,.poster>.play-link:focus-visible .play-disc::before,.poster>.play-link:active .play-disc::before{animation:none;opacity:0}
.poster>.play-link:focus-visible .play-disc{transform:scale(1.11);box-shadow:0 8px 32px #ff00334d}
@media(prefers-reduced-motion:reduce){.poster>.play-link .play-disc,.poster>.play-link .play-disc::before{animation:none!important;transition:none!important}.poster>.play-link:hover .play-disc,.poster>.play-link:focus-visible .play-disc,.poster>.play-link:active .play-disc{transform:none}}

/* Stronger red glow and a second expanding halo. */
.poster>.play-link .play-disc{box-shadow:0 8px 36px #ff00337a}
.poster>.play-link .play-disc::before{border-width:2px;box-shadow:0 0 24px #ff00334d}
.poster>.play-link .play-disc::after{content:"";position:absolute;inset:-5px;border:2px solid #ffb7c280;border-radius:inherit;pointer-events:none;z-index:-1;opacity:0;animation:sepidar-play-halo 2.2s ease-out .25s 2}
.poster>.play-link:hover .play-disc{box-shadow:0 10px 44px #ff003399}
.poster>.play-link:hover .play-disc::after,.poster>.play-link:focus-visible .play-disc::after,.poster>.play-link:active .play-disc::after{animation:none;opacity:0}
@media(prefers-reduced-motion:reduce){.poster>.play-link .play-disc::after{animation:none!important}}
