/* ── Hidden on desktop ───────────────────────────────────── */
#vob-root { display: none; }

@media (max-width: 767px) {

#vob-root {
    display: block;
}

#vob-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 34, 68, 0.70);
    z-index: 9980;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
#vob-backdrop.vob-show {
    opacity: 1;
    pointer-events: all;
}

#vob-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 48px rgba(0, 34, 68, 0.20);
    transform: translateY(100%);
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#vob-sheet.vob-show {
    transform: translateY(0);
}

#vob-handle {
    width: 40px;
    height: 4px;
    background: rgba(0, 34, 68, 0.14);
    border-radius: 2px;
    margin: 12px auto 0;
    flex-shrink: 0;
}

#vob-progress {
    height: 3px;
    background: #EAF4FF;
    margin: 12px 20px 0;
    border-radius: 2px;
    flex-shrink: 0;
    overflow: hidden;
}
#vob-progress-fill {
    height: 100%;
    background: #E36926;
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 25%;
}

#vob-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 24px 0;
    scrollbar-width: none;
}
#vob-body::-webkit-scrollbar { display: none; }

/* ── Slide wrapper (overflow clip for transitions) ───────── */
#vob-slide-track {
    overflow: hidden;
}

/* ── Single slide ────────────────────────────────────────── */
.vob-slide {
    display: none;
}
.vob-slide.vob-active {
    display: block;
    animation: vob-fadein 0.30s ease both;
}
@keyframes vob-fadein {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

.vob-emoji {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
    display: block;
}

.vob-title {
    font-size: 22px;
    line-height: 30px;
    color: #002244;
    text-align: center;
    margin-bottom: 10px;
}
.vob-title .vob-accent {
    color: #E36926;
}
.vob-desc {
    font-size: 14px;
    line-height: 23px;
    color: rgba(0, 34, 68, 0.72);
    text-align: center;
    margin-bottom: 0;
}

/* ── Step list ───────────────────────────────────────────── */
.vob-steps {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}
.vob-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #EAF4FF;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 9px;
}
.vob-steps li:last-child { margin-bottom: 0; }
.vob-step-num {
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #E36926;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.vob-step-num.vob-check {
    font-size: 14px;
}
.vob-step-text {
    font-size: 13px;
    line-height: 20px;
    color: #002244;
}
.vob-step-text b {
    color: #E36926;
}

/* ── Feature 2×2 grid ────────────────────────────────────── */
.vob-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}
.vob-grid-item {
    background: #EAF4FF;
    border-radius: 14px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vob-grid-label {
    font-size: 12px;
    line-height: 16px;
    color: #002244;
}

/* ── Swipe hint (slide 1 only) ───────────────────────────── */
.vob-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 18px;
    font-size: 13px;
    color: black;
}
.vob-swipe-hand {
    display: inline-block;
    font-size: 15px;
}

/* ── Dot indicators ──────────────────────────────────────── */
#vob-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 0 6px;
    flex-shrink: 0;
}
.vob-dot {
    width: 7px;
    height: 7px;
    border-radius: 4px;
    background: rgba(0, 34, 68, 0.16);
    transition: all 0.25s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.vob-dot.vob-dot-active {
    width: 22px;
    background: #E36926;
}

/* ── Footer buttons ──────────────────────────────────────── */
#vob-footer {
    padding: 12px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.vob-btn-primary {
    width: 100%;
    background: #E36926;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    transition: background 0.18s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.2px;
}
.vob-btn-primary:active {
    background: #c95d1c;
    transform: scale(0.97);
}

.vob-btn-ghost {
    width: 100%;
    background: transparent;
    border: none;
    color: black;
    font-size: 15px;
    padding: 8px;
    cursor: pointer;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}
.vob-btn-ghost:active { opacity: 0.6; }

/* ── Skip button (top-right corner) ─────────────────────── */
#vob-skip {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9995;
    display: none;
    padding: 10px 18px;
    border: none;
    border-radius: 200px;
    background: #E36926;
    color: #fff;
    font-size: 17px;
    font-weight: 600;

    cursor: pointer;

    transition: all .25s ease;
}
#vob-skip:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(227,105,38,.45);
}
#vob-skip:active {
    transform: scale(.96);
    background: rgba(255,255,255,0.28);
}
#vob-skip.vob-show { display: block; }

/* ── Toast Notification ───────────────────────────── */
#vob-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    background: #002244;
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
    width: max-content;
    max-width: calc(100vw - 32px);
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .6s ease;
    z-index: 10000;
}
#vob-toast.vob-show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

}