/* STRELA — iOS: видео-инструкция (TikTok) + шаги */
.strela-ios-guide-overlay {
    position: fixed;
    inset: 0;
    z-index: 100080;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: rgba(5, 10, 18, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.28s ease;
}
.strela-ios-guide-overlay.is-open {
    opacity: 1;
}
.strela-ios-guide-sheet {
    width: min(440px, 100%);
    max-height: min(92vh, 860px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 22px 22px 20px 20px;
    border: 1px solid rgba(255, 199, 44, 0.28);
    background: linear-gradient(165deg, #101c2e 0%, #0f172a 48%, #132238 100%);
    color: #f8fafc;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
    transform: translateY(18px);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.strela-ios-guide-overlay.is-open .strela-ios-guide-sheet {
    transform: translateY(0);
}
.strela-ios-guide-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 18px 0;
}
.strela-ios-guide-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 20px;
    color: #f8fafc;
}
.strela-ios-guide-head-text {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}
.strela-ios-guide-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.strela-ios-guide-sub {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(203, 213, 225, 0.92);
}
.strela-ios-guide-close {
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.85);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 22px;
    line-height: 1;
}
.strela-ios-guide-video-wrap {
    margin: 16px 18px 0;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 199, 44, 0.12);
}
.strela-ios-guide-video-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    z-index: 2;
}
.strela-ios-guide-video-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.strela-ios-guide-video-label i.fa-tiktok {
    color: #25f4ee;
}
.strela-ios-guide-video {
    display: block;
    width: 100%;
    height: min(72vw, 560px);
    max-height: 560px;
    border: 0;
    background: #000;
}
.strela-ios-guide-steps {
    margin: 14px 18px 0;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.strela-ios-guide-steps h4 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #facc15;
    display: flex;
    align-items: center;
    gap: 8px;
}
.strela-ios-guide-steps ol {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}
.strela-ios-guide-steps li {
    font-size: 13px;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.94);
}
.strela-ios-guide-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px 18px;
}
.strela-ios-guide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}
.strela-ios-guide-btn--tiktok {
    background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(254, 44, 85, 0.28);
}
.strela-ios-guide-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.95);
}

/* Компактный тизер (баннер push / центр уведомлений) */
.strela-ios-guide-teaser {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 199, 44, 0.28);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(37, 244, 238, 0.08));
    color: inherit;
    font: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.strela-ios-guide-teaser:active {
    transform: scale(0.98);
}
.strela-ios-guide-teaser__play {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fe2c55, #25f4ee);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(254, 44, 85, 0.35);
}
.strela-ios-guide-teaser__body {
    flex: 1;
    min-width: 0;
}
.strela-ios-guide-teaser__title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
}
.strela-ios-guide-teaser__meta {
    display: block;
    font-size: 11px;
    opacity: 0.78;
    line-height: 1.3;
}
.strela-ios-guide-teaser__arrow {
    opacity: 0.55;
    flex-shrink: 0;
}

.notif-blocked-instructions .strela-ios-guide-teaser {
    margin-top: 0;
    margin-bottom: 12px;
}

.strela-push-reminder .strela-ios-guide-teaser {
    margin-top: 10px;
}

[data-theme="light"] .strela-ios-guide-sheet {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    border-color: rgba(250, 204, 21, 0.45);
}
[data-theme="light"] .strela-ios-guide-sub { color: #475569; }
[data-theme="light"] .strela-ios-guide-steps {
    background: #f1f5f9;
    border-color: #e2e8f0;
}
[data-theme="light"] .strela-ios-guide-steps li { color: #334155; }
[data-theme="light"] .strela-ios-guide-btn--ghost {
    background: #e2e8f0;
    color: #334155;
}
