.ob-ride-share {
    width: min(520px, calc(100vw - 28px));
    max-width: 520px;
    max-height: calc(100dvh - max(24px, var(--ob-safe-top, 0px)) - 18px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 26px;
    color: #1a1510;
    background: transparent;
    overflow: visible;
}

.ob-ride-share::backdrop {
    background: rgba(16, 12, 9, .72);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.ob-ride-share__panel {
    position: relative;
    max-height: inherit;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px;
    background: #fffaf5;
    box-shadow: 0 28px 72px rgba(13, 9, 7, .44);
    -webkit-overflow-scrolling: touch;
}

.ob-ride-share__hero {
    position: relative;
    min-height: 142px;
    padding: 24px 58px 24px 24px;
    overflow: hidden;
    color: #fff;
    background: #17120f;
}

.ob-ride-share__hero::after {
    content: "";
    position: absolute;
    right: -58px;
    top: -74px;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(241, 90, 36, .45);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(241, 90, 36, .10),
                0 0 0 68px rgba(241, 90, 36, .06);
}

.ob-ride-share__kicker {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 8px;
    color: #ff8b5c;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ob-ride-share__title {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 360px;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: clamp(28px, 8vw, 40px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.ob-ride-share__close {
    position: absolute;
    z-index: 3;
    top: 16px;
    right: 16px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .10);
    font-size: 17px;
}

.ob-ride-share__body {
    padding: 20px 20px calc(20px + max(var(--sab, 0px), env(safe-area-inset-bottom, 0px)));
}

.ob-ride-share__copy {
    margin: 0 0 15px;
    color: #5f5851;
    font-size: 14px;
    line-height: 1.5;
}

.ob-ride-share__copy strong { color: #1a1510; }

.ob-ride-share__preview {
    position: relative;
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 16px;
    background: #17120f;
    box-shadow: 0 10px 24px rgba(26, 21, 16, .18);
}

.ob-ride-share__preview img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.ob-ride-share__preview figcaption {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .88);
    background: rgba(23, 18, 15, .78);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ob-ride-share__facebook,
.ob-ride-share__native {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 850;
}

.ob-ride-share__facebook {
    border: 0;
    color: #fff;
    background: #1877f2;
    box-shadow: 0 4px 0 #0c56b8;
}

.ob-ride-share__facebook:active { transform: translateY(1px); }

.ob-ride-share__native {
    margin-top: 10px;
    border: 1px solid #ded5cd;
    color: #1a1510;
    background: #fff;
}

.ob-ride-share__facebook-note {
    margin: 10px 0 0;
    color: #766d65;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

.ob-ride-share__help-toggle,
.ob-ride-share__later {
    display: block;
    min-height: 38px;
    margin: 7px auto 0;
    padding: 6px 12px;
    border: 0;
    color: #6d645c;
    background: transparent;
    font-size: 12px;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ob-ride-share__later {
    margin-top: 0;
    color: #938980;
    text-decoration: none;
}

.ob-ride-share__help {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid #e9e0d8;
}

.ob-ride-share__help h3 {
    margin: 0 0 10px;
    color: #1a1510;
    font-family: "Oswald", sans-serif;
    font-size: 19px;
    text-transform: uppercase;
}

.ob-ride-share__steps {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.ob-ride-share__steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4f4842;
    font-size: 12px;
    line-height: 1.35;
}

.ob-ride-share__steps span {
    flex: 0 0 27px;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #f15a24;
    font-size: 12px;
    font-weight: 900;
}

.ob-ride-share__guide-frame {
    height: min(360px, 48dvh);
    overflow: hidden;
    border: 1px solid #e3dad2;
    border-radius: 14px;
    background: #111;
}

.ob-ride-share__guide-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

@media (max-width: 600px) {
    .ob-ride-share {
        width: 100%;
        max-width: none;
        max-height: calc(100dvh - max(10px, var(--ob-safe-top, 0px)));
        margin: auto 0 0;
        border-radius: 24px 24px 0 0;
    }
    .ob-ride-share__panel { border-radius: 24px 24px 0 0; }
    .ob-ride-share[open] .ob-ride-share__panel {
        animation: obRideShareIn .24s cubic-bezier(.2,.8,.25,1);
    }
}

@keyframes obRideShareIn {
    from { transform: translateY(24px); opacity: .75; }
    to { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .ob-ride-share[open] .ob-ride-share__panel { animation: none; }
}
