:root {
    --bg: #fff9f5;
    --surface: #ffffff;
    --surface2: #f5f0eb;
    --text: #111111;
    --text-muted: #6b6560;
    --text-light: #aaa49e;
    --orange: #ff5c1a;
    --orange-light: #fff3ee;
    --orange-dark: #cc3a00;
    --blue: #1a56ff;
    --blue-light: #edf1ff;
    --lime: #22c55e;
    --lime-light: #e8faf0;
    --border: #ede8e2;
    --shadow: 0 2px 14px rgba(30, 10, 0, 0.07);
    --shadow-md: 0 6px 28px rgba(30, 10, 0, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans SC', sans-serif;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 96px;
}

/* ══════════════════════════════
    NAV
══════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    background: rgba(255, 249, 245, 0.93);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--orange);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nav-secondary {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    padding: 7px 14px;
    cursor: pointer;
    -webkit-appearance: none;
}

.nav-secondary:active {
    border-color: var(--orange);
    color: var(--orange);
}

/* ══════════════════════════════
    BOTTOM BAR (landing)
══════════════════════════════ */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 24px rgba(30, 10, 0, 0.08);
}

.cta-main {
    width: 100%;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    letter-spacing: 0.3px;
    -webkit-appearance: none;
    box-shadow: 0 4px 18px rgba(255, 92, 26, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-main:active {
    background: var(--orange-dark);
}

/* ══════════════════════════════
    HERO
══════════════════════════════ */
.hero {
    padding: 92px 24px 48px;
    background: linear-gradient(160deg, #fff3ee 0%, var(--bg) 52%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 92, 26, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-light);
    border: 1px solid rgba(255, 92, 26, 0.2);
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 20px;
    animation: fadeUp 0.45s ease both;
}

.eyebrow-dot {
    width: 5px;
    height: 5px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(.7)
    }
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.8px;
    color: var(--text);
    margin-bottom: 16px;
    animation: fadeUp 0.45s 0.07s ease both;
}

h1 .hl {
    color: var(--orange);
}

.hero-sub {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 400;
    animation: fadeUp 0.45s 0.14s ease both;
    margin-bottom: 32px;
}

/* ══════════════════════════════
    CHAT DEMO
══════════════════════════════ */
.chat-demo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: fadeUp 0.45s 0.2s ease both;
}

.chat-topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.chat-avatar-sm {
    width: 32px;
    height: 32px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.chat-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.chat-online {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--lime);
    margin-top: 1px;
}

.online-dot {
    width: 5px;
    height: 5px;
    background: var(--lime);
    border-radius: 50%;
}

.chat-area {
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fafaf8;
}

.chat-area::-webkit-scrollbar {
    display: none;
}

.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.user-row {
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.ai-msg-avatar {
    background: var(--orange);
}

.chat-bubble {
    max-width: 80%;
    border-radius: 16px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.55;
}

.user-bubble {
    background: var(--text);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ai-bubble {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.video-thumb {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 7px;
    margin-bottom: 6px;
}

.video-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.video-name {
    font-size: 11px;
    font-weight: 700;
}

.video-meta {
    font-size: 10px;
    opacity: 0.65;
    margin-top: 1px;
}

.video-caption {
    font-size: 12px;
}

.analyzing-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.analyzing-dots {
    display: flex;
    gap: 3px;
}

.analyzing-dots span {
    width: 5px;
    height: 5px;
    background: var(--orange);
    border-radius: 50%;
    animation: dotBounce 1.2s infinite ease-in-out;
}

.analyzing-dots span:nth-child(2) {
    animation-delay: .2s;
}

.analyzing-dots span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: scale(.7);
        opacity: .4
    }

    40% {
        transform: scale(1);
        opacity: 1
    }
}

.report-card {
    max-width: 90%;
    padding: 11px;
}

.rc-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 9px;
}

.rc-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}

.rc-meta {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 1px;
}

.rc-score {
    text-align: center;
    background: var(--orange-light);
    border-radius: 9px;
    padding: 5px 9px;
    flex-shrink: 0;
}

.rc-score-num {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.rc-score-label {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 1px;
}

.rc-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 9px;
}

.rc-bar-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rc-bar-label {
    font-size: 10px;
    color: var(--text-muted);
    width: 48px;
    flex-shrink: 0;
}

.rc-track {
    flex: 1;
    height: 6px;
    background: var(--surface2);
    border-radius: 100px;
    overflow: hidden;
}

.rc-fill {
    height: 100%;
    border-radius: 100px;
    animation: barGrow 1s ease both;
}

.rc-val {
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    text-align: right;
    flex-shrink: 0;
}

.rc-tip-block {
    background: var(--bg);
    border-radius: 8px;
    padding: 8px 10px;
    border: 1px solid var(--border);
}

.rc-tip-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.rc-list {
    padding-left: 13px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rc-list li {
    font-size: 10px;
    color: var(--text-muted);
}

.rc-drill {
    margin-top: 5px;
    font-size: 10px;
    color: var(--orange-dark);
    background: var(--orange-light);
    border-radius: 5px;
    padding: 4px 7px;
}

.rc-footer {
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    text-align: center;
}

@keyframes barGrow {
    from {
        width: 0;
    }
}

.msg-step-1 {
    animation: fadeUp .4s .3s ease both;
}

.msg-step-2 {
    opacity: 0;
    animation: fadeUp .4s 1.2s ease both;
    animation-fill-mode: both;
}

.msg-step-3 {
    opacity: 0;
    animation: fadeUp .5s 3.2s ease both;
    animation-fill-mode: both;
}

/* ══════════════════════════════
    SECTIONS
══════════════════════════════ */
.section {
    padding: 52px 24px;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 24px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow);
}

.step-num-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--orange-light);
    color: var(--orange);
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

.feat-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--shadow);
}

.feat-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: var(--orange-light);
    color: var(--orange);
}

.feat-tag.lime {
    background: var(--lime-light);
    color: #16a34a;
}

.feat-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 8px;
}

.feat-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
}

.analysis-mock {
    margin-top: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: .8px;
    text-transform: uppercase;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-label {
    font-size: 11px;
    color: var(--text-muted);
    width: 52px;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 6px;
    background: var(--surface2);
    border-radius: 100px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 100px;
    animation: barGrow 1.2s ease both;
}

.bar-val {
    font-size: 11px;
    font-weight: 700;
    width: 24px;
    text-align: right;
    flex-shrink: 0;
}

.ai-tip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
}

.sports-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.sport-tag {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 14px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    box-shadow: var(--shadow);
}

.ticker {
    overflow: hidden;
    padding: 12px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ticker-inner {
    display: flex;
    gap: 48px;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.ticker-item strong {
    color: var(--text);
}

@keyframes ticker {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.testi-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.testi-scroll::-webkit-scrollbar {
    display: none;
}

.testi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    min-width: 252px;
    max-width: 270px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.stars {
    color: #f59e0b;
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.testi-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.av1 {
    background: var(--orange-light)
}

.av2 {
    background: var(--blue-light)
}

.av3 {
    background: var(--lime-light)
}

.author-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
}

.author-role {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 1px;
}

/* bottom CTA section */
.bottom-cta-section {
    padding: 0 24px 40px;
}

.bottom-cta-box {
    background: var(--text);
    border-radius: 24px;
    padding: 36px 24px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bottom-cta-box::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 92, 26, .28) 0%, transparent 70%);
    pointer-events: none;
}

.bottom-cta-box h2 {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.8px;
    margin-bottom: 8px;
    color: #fff;
}

.bottom-cta-box p {
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}

.bottom-cta-btn {
    width: 100%;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 15px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    -webkit-appearance: none;
    box-shadow: 0 4px 20px rgba(255, 92, 26, .4);
    position: relative;
    z-index: 1;
}

.bottom-cta-btn:active {
    background: var(--orange-dark);
}

footer {
    border-top: 1px solid var(--border);
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.8;
    background: var(--surface);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════
    ONBOARDING OVERLAY
══════════════════════════════ */
.ob-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--bg);
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ob-overlay.open {
    transform: translateY(0);
}

/* header */
.ob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
}

.ob-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    -webkit-appearance: none;
    color: var(--text);
}

.ob-logo {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
}

.ob-step-indicator {
    display: flex;
    gap: 5px;
    align-items: center;
}

.ob-step-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--surface2);
    transition: width .3s, background .3s;
}

.ob-step-dot.active {
    width: 18px;
    background: var(--orange);
}

.ob-step-dot.done {
    background: var(--lime);
}

/* step container */
.ob-body {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ob-step {
    position: absolute;
    inset: 0;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateX(40px);
    transition: opacity .3s, transform .3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ob-step.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.ob-step.exit {
    opacity: 0;
    transform: translateX(-40px);
}

.ob-step-emoji {
    font-size: 44px;
    margin-bottom: 16px;
}

.ob-step-title {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 10px;
}

.ob-step-sub {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 28px;
}

/* sport picker */
.sport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.sport-option {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: all .15s;
    -webkit-user-select: none;
}

.sport-option .sport-emoji {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

.sport-option .sport-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.sport-option.selected {
    border-color: var(--orange);
    background: var(--orange-light);
}

.sport-option.selected .sport-name {
    color: var(--orange);
}

/* invite step */
.invite-option-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: all .15s;
    margin-bottom: 12px;
}

.invite-option-card:active {
    border-color: var(--orange);
    background: var(--orange-light);
}

.ioc-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--orange-light);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.ioc-icon.secondary {
    background: var(--surface2);
    color: var(--text-muted);
}

.ioc-title {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.ioc-sub {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* code input step */
.ob-input {
    width: 100%;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    outline: none;
    -webkit-appearance: none;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ob-input:focus {
    border-color: var(--orange);
}

.ob-input::placeholder {
    color: var(--text-light);
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 400;
}

.ob-input-hint {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 24px;
}

/* phone input */
.ob-phone-input {
    width: 100%;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    outline: none;
    -webkit-appearance: none;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.ob-phone-input:focus {
    border-color: var(--orange);
}

.ob-phone-input::placeholder {
    color: var(--text-light);
    font-size: 15px;
    letter-spacing: 0;
    font-weight: 400;
    text-align: center;
}

/* info form step */
.input-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 16px 0 8px 4px;
    width: 100%;
    text-align: left;
}

.selection-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 8px;
}

.option-btn {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 14px 10px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.option-btn.selected {
    border-color: var(--orange);
    background: var(--orange-light);
    color: var(--orange);
    box-shadow: 0 4px 8px rgba(255, 92, 26, 0.1);
}

/* 其他运动输入框样式 - 与选项按钮一致 */
#otherSportContainer .ob-input {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 14px 10px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    outline: none;
    transition: all 0.2s ease;
    width: 100%;
}

#otherSportContainer .ob-input:focus {
    border-color: var(--orange);
    background: var(--orange-light);
    color: var(--orange);
    box-shadow: 0 4px 8px rgba(255, 92, 26, 0.1);
}

#otherSportContainer .ob-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.ob-input,
.ob-phone-input,
.selection-group {
    width: 100%;
}

.ob-textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 100px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    outline: none;
    resize: none;
    text-align: left;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.ob-textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 4px 12px rgba(255, 92, 26, 0.1);
}

.ob-textarea::placeholder {
    color: var(--text-light);
    text-align: left;
}

/* login step */
.flex-row {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.code-btn {
    white-space: nowrap;
    background: var(--surface2);
    border: none;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.code-btn:not(:disabled) {
    color: var(--orange);
}

.code-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* bottom action in overlay */
.ob-footer {
    padding: 16px 20px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.ob-next-btn {
    width: 100%;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    -webkit-appearance: none;
    box-shadow: 0 4px 18px rgba(255, 92, 26, .35);
    transition: background .15s;
}

.ob-next-btn:active {
    background: var(--orange-dark);
}

.ob-next-btn:disabled {
    background: var(--surface2);
    color: var(--text-light);
    box-shadow: none;
}

.ob-next-btn.dark {
    background: var(--text);
    box-shadow: none;
}

.ob-next-btn.dark:active {
    background: #333;
}

.ob-skip {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 10px;
    cursor: pointer;
}

/* success screen */
.ob-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 24px 24px;
}

.ob-success-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.ob-success-title {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 8px;
}

.ob-success-sub {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
    font-weight: 300;
}

.ob-code-card {
    width: 100%;
    background: var(--orange-light);
    border: 1px solid rgba(255, 92, 26, .2);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 16px;
}

.ob-code-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ob-code-value {
    font-family: 'Syne', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 4px;
    margin-bottom: 4px;
}

.ob-code-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.ob-share-row {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
}

.ob-share-btn {
    flex: 1;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 13px 8px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: var(--shadow);
}

.ob-share-btn:active {
    background: var(--surface2);
}

/* ── 候补手机号展示框（step2b） ── */
.wl-phone-display {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: 14px;
    text-align: center;
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ── 邀请码失败引导条（step2a） ── */
.invite-fail-guide {
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--orange-light);
    border: 1px solid rgba(255, 92, 26, .25);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.invite-fail-guide__link {
    color: var(--orange);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* ── ob-input-hint 里的跳转链接 ── */
.ob-input-hint__link {
    color: var(--text-muted);
    text-decoration: underline;
    cursor: pointer;
}

/* ── 候补成功页 ── */
.wl-notice-card {
    width: 100%;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 6px 20px;
    margin-bottom: 16px;
}

.wl-notice-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 0;
}

.wl-notice-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.wl-notice-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.wl-notice-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.wl-notice-divider {
    height: 1px;
    background: var(--border);
    margin: 0 -4px;
}