.ff-upgrade-video-open {overflow:hidden}
.ff-upgrade-video {box-sizing:border-box;width:min(960px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;overflow:auto;border:1px solid #6fe3f251;border-radius:24px;background:#0d1e26;color:#eef6ed;box-shadow:0 24px 100px #0009,0 0 65px #6fe3f218;font-family:inherit;color-scheme:dark}
.ff-upgrade-video::backdrop {background:#030c14c9;backdrop-filter:blur(7px)}
.ff-upgrade-video[open] {animation:ff-upgrade-video-enter .3s ease-out}
.ff-upgrade-video-header {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 26px 19px;flex-shrink:0}
.ff-upgrade-video-heading {min-width:0}
.ff-upgrade-video-kicker {display:block;margin-bottom:7px;color:#6fe3f2;font-size:10px;font-weight:700;letter-spacing:.12em}
.ff-upgrade-video h2 {margin:0;color:#eef6ed;font-size:24px;font-weight:650;line-height:1.2;letter-spacing:-.025em}
.ff-upgrade-video-close {flex:0 0 44px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #5e858654;border-radius:50%;background:#c4efea09;color:#dce9e7;cursor:pointer}
.ff-upgrade-video-close svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.ff-upgrade-video-media {position:relative;background:#071018;aspect-ratio:16/9;isolation:isolate;min-width:0;min-height:0}
.ff-upgrade-video video {display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:contain;background:#071018}
.ff-upgrade-video-play {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:13px;width:100%;border:0;background:linear-gradient(transparent 25%,#03101a70);color:#fff;cursor:pointer;font:inherit}
.ff-upgrade-video-play > span {display:flex;align-items:center;gap:12px;padding:15px 22px;border:1px solid #92eaf285;border-radius:60px;background:#09242eef;box-shadow:0 8px 35px #0008,0 0 32px #6fe3f223;font-size:15px;font-weight:650}
.ff-upgrade-video-play svg {width:25px;height:25px;fill:#6fe3f2}
.ff-upgrade-video-play:hover > span {background:#153f49;border-color:#6fe3f2}
.ff-upgrade-video-play:disabled {cursor:progress;opacity:.75}
.ff-upgrade-video-footer {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 26px 24px;flex-shrink:0;min-width:0}
.ff-upgrade-video-footer p {margin:0;color:#a9c0be;font-size:13px;line-height:1.65}
.ff-upgrade-video-footer p strong {color:#e8f3ec;font-weight:600}
.ff-upgrade-video-actions {display:flex;align-items:center;gap:12px;flex-shrink:0}
.ff-upgrade-video-start {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 18px;border:1px solid #d1f394;border-radius:11px;background:#cef29b;color:#18271f;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:700}
.ff-upgrade-video-skip {min-height:44px;padding:10px 7px;border:0;background:transparent;color:#bdd0cb;text-decoration:underline;text-underline-offset:4px;cursor:pointer;font:inherit;font-size:12px}
.ff-upgrade-video-error {margin:0;padding:12px 26px;background:#462b25;color:#ffe4d3;font-size:13px;line-height:1.5}
.ff-upgrade-video :is(button,a,video):focus-visible {outline:3px solid #cef29b;outline-offset:4px}
.ff-upgrade-video-play:focus-visible {outline:0}
.ff-upgrade-video-play:focus-visible > span {outline:3px solid #cef29b;outline-offset:4px}
@keyframes ff-upgrade-video-enter {from {opacity:0;transform:translateY(12px)} to {opacity:1;transform:translateY(0)}}
@media(max-width:700px) {
 .ff-upgrade-video {width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:18px}
 .ff-upgrade-video-header {gap:12px;padding:18px 16px}
 .ff-upgrade-video h2 {font-size:21px}
 .ff-upgrade-video-kicker {font-size:9px;letter-spacing:.09em}
 .ff-upgrade-video-duration {display:none}
 .ff-upgrade-video-footer {align-items:stretch;flex-direction:column;gap:15px;padding:18px 16px}
 .ff-upgrade-video-actions {justify-content:space-between;gap:14px}
 .ff-upgrade-video-start {flex:1}
 .ff-upgrade-video-play > span {padding:11px 16px;font-size:13px}
 .ff-upgrade-video-error {padding:12px 16px}
}
@media(max-width:700px) and (orientation:portrait) {
 .ff-upgrade-video {width:min(520px,calc(100% - 16px));height:calc(100vh - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:17px;overflow:hidden}
 .ff-upgrade-video[open] {display:flex;flex-direction:column}
 .ff-upgrade-video-header {gap:10px;padding:14px}
 .ff-upgrade-video h2 {font-size:20px}
 .ff-upgrade-video-kicker {font-size:8px;letter-spacing:.06em;margin-bottom:5px}
 .ff-upgrade-video-media {flex:1 1 0;aspect-ratio:auto;width:100%}
 .ff-upgrade-video video {aspect-ratio:auto;min-height:0}
 .ff-upgrade-video-footer {gap:10px;padding:12px 14px max(12px,env(safe-area-inset-bottom));background:#0d1e26}
 .ff-upgrade-video-footer p {font-size:12px;line-height:1.4}
 .ff-upgrade-video-footer p br {display:none}
 .ff-upgrade-video-actions {gap:8px;min-width:0}
 .ff-upgrade-video-start {padding:10px 11px;font-size:12px}
 .ff-upgrade-video-skip {padding:8px 0;font-size:11px}
 .ff-upgrade-video-play > span {gap:8px;padding:12px 14px;font-size:13px}
 .ff-upgrade-video-error {flex-shrink:0;font-size:11px;line-height:1.3;padding:8px 14px}
}
@media(max-width:700px) and (orientation:portrait) and (max-height:640px) {
 .ff-upgrade-video-header {padding:10px 12px}
 .ff-upgrade-video h2 {font-size:17px}
 .ff-upgrade-video-kicker {display:none}
 .ff-upgrade-video-footer {padding:9px 12px max(9px,env(safe-area-inset-bottom))}
 .ff-upgrade-video-footer p {display:none}
}
@media(max-height:550px) and (min-width:600px) {
 .ff-upgrade-video {width:min(740px,calc(100% - 28px))}
 .ff-upgrade-video-media {height:52dvh;aspect-ratio:auto}
 .ff-upgrade-video-header {padding:12px 18px}
 .ff-upgrade-video-footer {padding:12px 18px}
 .ff-upgrade-video h2 {font-size:19px}
 .ff-upgrade-video-kicker {display:none}
}
@media(prefers-reduced-motion:reduce) {.ff-upgrade-video[open] {animation:none}}

.ff-upgrade-video [hidden],.ff-upgrade-video-replay[hidden] {display:none!important}
.ff-upgrade-video-plans {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 15px;border:1px solid #6fe3f263;border-radius:11px;background:#10323b;color:#b4f3fa;cursor:pointer;font:inherit;font-size:12px;font-weight:600}
.ff-upgrade-video-replay {display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:10px 0 16px;padding:12px;border:1px solid #6fe3f24a;border-radius:12px;background:#6fe3f20a;color:var(--accent,#6fe3f2);cursor:pointer;font:inherit;font-size:12px}
.ff-upgrade-video-replay:hover {border-color:#6fe3f2;background:#6fe3f219}
.ff-upgrade-video-footer {gap:16px}
.ff-upgrade-video-footer p {max-width:300px;font-size:12px}
.ff-upgrade-video-actions {gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ff-upgrade-video-start {white-space:normal;text-align:center}
@media(max-width:700px) {
 .ff-upgrade-video-actions {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 .ff-upgrade-video-start,.ff-upgrade-video-plans {padding:9px;font-size:11px;line-height:1.35;min-width:0}
 .ff-upgrade-video-skip {grid-column:1/-1;min-height:44px;padding:8px}
 .ff-upgrade-video-footer p {max-width:none}
}
