/* ============================================================
   BASKETBALL LANDING v2 — consolidated page styles
   (moved out of inline <style> blocks in basketball-landing.blade.php)

   Responsive contract for this page — TWO canonical breakpoints:
     980px  tablet: multi-column grids step down, hero stacks
     640px  phone:  everything single-column
   Content container: 1240px (prose/FAQ intentionally narrower for
   reading measure). Section band padding: clamp(4rem, 9vh, 6.5rem).
   New sections MUST reuse these numbers.
   ============================================================ */

    /* Recent-matches upsell row + View (ghost) action */
    .match-history-upsell {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        margin-top: 0.5rem;
        padding: 0.85rem 0.9rem;
        border-radius: 10px;
        background: rgba(245, 158, 11, 0.08);
        border: 1px dashed rgba(245, 158, 11, 0.4);
        color: var(--text-secondary, #52524f);
        font-size: 0.82rem;
        line-height: 1.45;
        text-decoration: none;
    }
    .match-history-upsell i { color: #f59e0b; margin-top: 0.15rem; }
    .match-history-upsell strong { color: var(--text-primary, #0a0a0a); }
    .match-item-action.ghost {
        background: transparent;
        color: var(--text-secondary, #52524f);
        border: 1px solid var(--border-color, rgba(10, 10, 10, 0.18));
    }
    /* ============================================
       BASKETBALL v2 — fullscreen editorial sections
       ============================================
       Mirrors the MTG counter v2 design but namespaced as `.bb-v2-*` so the
       two pages can evolve independently. When we redesign a 3rd scorekeeper
       these patterns should be extracted to shared partials. */
    .bb-v2-sec {
        display: flex; flex-direction: column;
        padding: clamp(4rem, 9vh, 6.5rem) 2rem; box-sizing: border-box;
    }
    .bb-v2-sec .bb-v2-section-head {
        max-width: 1240px; width: 100%; margin: 0 auto 3rem;
        display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem;
        align-items: baseline;
    }
    .bb-v2-sec-paper { background: #fdfbf7; color: #0a0a0a; }
    .bb-v2-sec-ink   { background: #0a0a0a; color: #f5f1ea; }

    .bb-v2-serif { font-family: 'Fraunces', Georgia, serif; }
    .bb-v2-eyebrow {
        display: inline-flex; align-items: center; gap: 0.5rem;
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em;
        text-transform: uppercase; color: #52524f; margin-bottom: 0.875rem;
    }
    .bb-v2-eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
    .bb-v2-eyebrow.on-dark { color: rgba(245,241,234,0.7); }

    .bb-v2-section-title {
        font-weight: 800; font-size: clamp(2rem, 4vw, 3.25rem);
        letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 1rem;
        color: inherit;
    }
    .bb-v2-section-title em { font-style: italic; font-weight: 800; color: #0066cc; }
    .bb-v2-sec-ink .bb-v2-section-title em { color: #88cdff; }

    .bb-v2-section-deck {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 1.0625rem; line-height: 1.55; max-width: 60ch;
        color: #52524f; margin: 0;
    }
    .bb-v2-sec-ink .bb-v2-section-deck { color: rgba(245,241,234,0.75); }

    .bb-v2-section-head-right {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em;
        text-transform: uppercase; color: #9a9a96; white-space: nowrap;
    }
    .bb-v2-sec-ink .bb-v2-section-head-right { color: rgba(245,241,234,0.45); }

    /* Section 01 — features grid (paper, 3x2 with hairline dividers) */
    .bb-v2-features {
        max-width: 1240px; width: 100%; margin: 0 auto;
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
        border-top: 1px solid rgba(10,10,10,0.10);
    }
    .bb-v2-feature {
        padding: 2.5rem 1.75rem;
        border-bottom: 1px solid rgba(10,10,10,0.10);
        border-right: 1px solid rgba(10,10,10,0.10);
    }
    .bb-v2-features .bb-v2-feature:nth-child(3n) { border-right: 0; }
    .bb-v2-feature-num {
        font-weight: 800; font-size: 1.25rem; color: #2ba8ff;
        display: block; margin-bottom: 0.875rem; opacity: 0.9;
    }
    .bb-v2-feature h3 {
        font-weight: 800; font-size: 1.5rem; letter-spacing: -0.018em;
        line-height: 1.15; margin: 0 0 0.625rem; color: #0a0a0a;
    }
    .bb-v2-feature p {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 0.9375rem; line-height: 1.55; color: #52524f; margin: 0;
    }
    .bb-v2-feature p strong { color: #0a0a0a; font-weight: 600; }

    /* Section 02 — quickstart steps (ink, 2x2 grid with oversize numerals) */
    .bb-v2-steps {
        max-width: 1240px; width: 100%; margin: 0 auto;
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
        border-top: 1px solid rgba(245,241,234,0.12);
        border-left: 1px solid rgba(245,241,234,0.12);
    }
    .bb-v2-step {
        padding: 2.5rem 2rem;
        border-bottom: 1px solid rgba(245,241,234,0.12);
        border-right: 1px solid rgba(245,241,234,0.12);
    }
    .bb-v2-step-num {
        font-weight: 800; font-size: 4rem; line-height: 1;
        color: #88cdff; display: block; margin-bottom: 1rem; opacity: 0.9;
    }
    .bb-v2-step h3 {
        font-weight: 800; font-size: 1.75rem; letter-spacing: -0.018em;
        line-height: 1.15; margin: 0 0 0.625rem; color: #f5f1ea;
    }
    .bb-v2-step p {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 0.9375rem; line-height: 1.55; color: rgba(245,241,234,0.75); margin: 0;
    }
    .bb-v2-step p strong { color: #f5f1ea; font-weight: 600; }

    /* Tablet */
    @media (max-width: 980px) {
        .bb-v2-features { grid-template-columns: repeat(2, 1fr); }
        .bb-v2-features .bb-v2-feature:nth-child(3n) { border-right: 1px solid rgba(10,10,10,0.10); }
        .bb-v2-features .bb-v2-feature:nth-child(2n) { border-right: 0; }
    }

    /* Mobile */
    @media (max-width: 640px) {
        .bb-v2-sec { padding: 3.5rem 1.25rem; }
        .bb-v2-sec .bb-v2-section-head { grid-template-columns: 1fr; margin-bottom: 2rem; }
        .bb-v2-section-head-right { display: none; }
        .bb-v2-features, .bb-v2-steps { grid-template-columns: 1fr; }
        .bb-v2-features .bb-v2-feature, .bb-v2-steps .bb-v2-step { border-right: 0 !important; }
        .bb-v2-step-num { font-size: 3rem; }
        .bb-v2-step h3, .bb-v2-feature h3 { font-size: 1.375rem; }
    }

    /* ============================================================
       BB HERO v2 — editorial paper hero (matches bb-v2 sections)
       Left: eyebrow + serif title + deck + watercolor art + trust
       Right: the setup form as a clean white card (form names/JS
       hooks are unchanged — only the presentation is new)
       ============================================================ */
    .bb-hero-v2 { background: #fdfbf7; color: #0a0a0a; padding: calc(64px + 1rem) 2rem 2.25rem; }
    .bb-hero-v2-inner {
        max-width: 1240px; margin: 0 auto;
        display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 3rem; align-items: center;
    }
    .bb-hero-v2-title {
        font-family: 'Fraunces', Georgia, serif; font-weight: 800;
        font-size: clamp(2.1rem, 4vw, 3.15rem); line-height: 1.03; letter-spacing: -0.03em;
        margin: 0.25rem 0 0.85rem; color: #0a0a0a;
    }
    .bb-hero-v2-title em { font-style: italic; font-weight: 800; color: #0066cc; }
    .bb-hero-v2-deck {
        font-family: 'Inter', system-ui, sans-serif; font-size: 1.03rem; line-height: 1.5;
        color: #52524f; max-width: 46ch; margin: 0 0 1.15rem;
    }
    .bb-hero-v2-art {
        display: block; width: 100%; max-width: 248px; height: auto; margin: 0 0 1.15rem;
        filter: drop-shadow(0 14px 28px rgba(43,168,255,0.20));
    }
    .bb-hero-v2-trust { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
    .bb-hero-v2-trust .t-stat { display: flex; flex-direction: column; line-height: 1.1; }
    .bb-hero-v2-trust .t-num {
        font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 1.4rem; color: #0a0a0a;
    }
    .bb-hero-v2-trust .t-num i { color: #2ba8ff; font-size: 1rem; }
    .bb-hero-v2-trust .t-label {
        font-family: 'Inter', system-ui, sans-serif; font-size: 0.7rem; font-weight: 700;
        letter-spacing: 0.08em; text-transform: uppercase; color: #9a9a96;
    }
    .bb-hero-v2-trust .t-div { width: 1px; height: 30px; background: rgba(10,10,10,0.12); }

    /* Setup form — scoped light-theme overrides (does NOT touch other sports) */
    .bb-setup-v2 {
        background: #ffffff; border: 1px solid rgba(10,10,10,0.10); border-radius: 16px;
        padding: 1.4rem; max-width: none; box-shadow: 0 20px 48px -26px rgba(10,10,10,0.30);
    }
    .bb-setup-v2 .bb-setup-title {
        font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 1.35rem;
        letter-spacing: -0.02em; margin: 0 0 1.1rem; color: #0a0a0a;
    }
    .bb-setup-v2 .setup-group { margin-bottom: 1rem; }
    .bb-setup-v2 .setup-group:last-of-type { margin-bottom: 1.1rem; }
    .bb-setup-v2 .setup-group-header { margin-bottom: 0.6rem; }
    .bb-setup-v2 .setup-group-header i { color: #2ba8ff; }
    .bb-setup-v2 .setup-group-title { color: #0a0a0a; }
    .bb-setup-v2 .setup-label { color: #6b6b68; }
    .bb-setup-v2 .team-input, .bb-setup-v2 .setup-select {
        background: #f7f5f0; border: 1px solid rgba(10,10,10,0.14); color: #0a0a0a;
    }
    .bb-setup-v2 .setup-select { border-width: 1px; }
    .bb-setup-v2 .team-input:focus, .bb-setup-v2 .setup-select:focus {
        border-color: #2ba8ff; box-shadow: 0 0 0 2px rgba(43,168,255,0.18);
    }
    .bb-setup-v2 .vs-text { color: #9a9a96; }
    /* Compact format grid — keeps the open buttons the user likes, less height */
    .bb-setup-v2 .toggle-options {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem;
    }
    .bb-setup-v2 .toggle-option {
        min-width: 0; flex: none; padding: 0.4rem 0.35rem; font-size: 0.8rem;
        background: #f7f5f0; border: 1.5px solid rgba(10,10,10,0.12); color: #0a0a0a; line-height: 1.15;
    }
    .bb-setup-v2 .toggle-option:hover { border-color: rgba(10,10,10,0.28); }
    .bb-setup-v2 .toggle-option.active { background: rgba(43,168,255,0.12); border-color: #2ba8ff; color: #0066cc; }
    .bb-setup-v2 .toggle-option small { font-size: 0.625rem; opacity: 0.72; margin-top: 1px; }
    .bb-setup-v2 .toggle-option[data-value="custom"] { grid-column: 1 / -1; }

    /* Options accordion — collapsed by default, defaults preserved inside */
    .bb-setup-accordion {
        border: 1px solid rgba(10,10,10,0.12); border-radius: 10px; background: #faf8f4;
        margin-bottom: 1.1rem; overflow: hidden;
    }
    .bb-setup-accordion > summary {
        list-style: none; cursor: pointer; padding: 0.7rem 0.85rem;
        display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
        font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; font-weight: 700;
        letter-spacing: 0.04em; text-transform: uppercase; color: #0a0a0a; user-select: none;
    }
    .bb-setup-accordion > summary::-webkit-details-marker { display: none; }
    .bb-setup-accordion > summary .acc-hint { font-weight: 500; text-transform: none; letter-spacing: 0; color: #9a9a96; font-size: 0.72rem; margin-left: auto; }
    .bb-setup-accordion > summary .acc-chev { color: #2ba8ff; transition: transform 0.2s ease; }
    .bb-setup-accordion[open] > summary .acc-chev { transform: rotate(180deg); }
    .bb-setup-accordion-body { padding: 0.25rem 0.85rem 0.6rem; }
    .bb-setup-accordion-body .setup-section { margin-bottom: 0.6rem; }

    /* Light-theme overrides for the shared checkbox / stepper / custom controls
       (they default to the dark scorekeeper theme) so they read on the white card */
    .bb-setup-v2 .checkbox-option,
    .bb-setup-v2 .checkbox-with-stepper { background: #ffffff; border-color: rgba(10,10,10,0.14); }
    .bb-setup-v2 .checkbox-option:hover { border-color: rgba(10,10,10,0.28); }
    .bb-setup-v2 .checkbox-option span,
    .bb-setup-v2 .checkbox-with-stepper .checkbox-label { color: #0a0a0a; }
    .bb-setup-v2 .checkbox-option input[type="checkbox"],
    .bb-setup-v2 .checkbox-with-stepper input[type="checkbox"] { accent-color: #2ba8ff; }
    .bb-setup-v2 .stepper-btn { background: #f7f5f0; border-color: rgba(10,10,10,0.16); color: #0a0a0a; }
    .bb-setup-v2 .stepper-btn:hover { background: rgba(43,168,255,0.10); border-color: #2ba8ff; color: #0066cc; }
    .bb-setup-v2 .stepper-value { color: #0a0a0a; }
    .bb-setup-v2 .custom-duration-input label { color: #6b6b68; }
    .bb-setup-v2 .custom-duration-input input { background: #f7f5f0; border-color: rgba(10,10,10,0.14); color: #0a0a0a; }

    /* Feature spot illustrations (Section 01) */
    .bb-v2-feature-art {
        width: 100%; max-width: 88px; height: auto; display: block; margin: 0 0 1rem -0.1rem;
        filter: drop-shadow(0 6px 14px rgba(43,168,255,0.16));
    }

    @media (max-width: 980px) {
        .bb-hero-v2-inner { grid-template-columns: 1fr; gap: 2rem; }
        .bb-hero-v2 { padding: calc(64px + 2rem) 1.25rem 2.5rem; }
        .bb-hero-v2-art { max-width: 260px; margin-inline: auto; }
        .bb-hero-v2-copy { text-align: center; }
        .bb-hero-v2-deck { margin-inline: auto; }
        .bb-hero-v2-trust { justify-content: center; }
    }
    @media (max-width: 640px) {
        .bb-setup-v2 .toggle-options { grid-template-columns: repeat(2, 1fr); }
    }

    /* ============ v2 restyle: use-cases grid + FAQ + OBS showcase ============ */
    .bb-v2-prose { max-width: 760px; margin: 0 auto 2.5rem; font-family: 'Inter', system-ui, sans-serif; font-size: 1.02rem; line-height: 1.7; color: #52524f; }
    .bb-v2-prose p { margin: 0 0 1rem; }
    .bb-v2-prose strong { color: #0a0a0a; }
    .bb-v2-prose a { color: #0066cc; font-weight: 600; }

    .bb-v2-usecases {
        max-width: 1240px; width: 100%; margin: 0 auto;
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
        border-top: 1px solid rgba(10, 10, 10, 0.1); border-left: 1px solid rgba(10, 10, 10, 0.1);
    }
    .bb-v2-usecase { padding: 1.6rem 1.4rem; border-bottom: 1px solid rgba(10, 10, 10, 0.1); border-right: 1px solid rgba(10, 10, 10, 0.1); }
    .bb-v2-usecase i { color: #2ba8ff; font-size: 1.15rem; margin-bottom: 0.6rem; display: block; }
    .bb-v2-usecase h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 1.1rem; margin: 0 0 0.3rem; color: #0a0a0a; }
    .bb-v2-usecase p { font-family: 'Inter', system-ui, sans-serif; font-size: 0.88rem; line-height: 1.5; color: #52524f; margin: 0; }

    /* Season stats showcase (paper section): sample sheet + selling points */
    .bb-season-grid { max-width: 1240px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: start; }
    @media (max-width: 980px) { .bb-season-grid { grid-template-columns: 1fr; } }
    .bb-season-sheet { background: #ffffff; border: 1px solid rgba(10,10,10,0.1); border-radius: 12px; padding: 1.1rem 1.2rem; box-shadow: 0 12px 30px rgba(10,10,10,0.07); }
    .bb-season-sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem; margin-bottom: 0.7rem; }
    .bb-season-sheet-title { font-family: 'Fraunces', Georgia, serif; font-weight: 800; color: #0a0a0a; }
    .bb-season-sheet-rec { font-size: 0.82rem; font-weight: 700; color: #0066cc; }
    .bb-season-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
    .bb-season-table th, .bb-season-table td { padding: 0.4rem 0.45rem; text-align: center; white-space: nowrap; }
    .bb-season-table th { color: #52524f; font-weight: 700; border-bottom: 2px solid rgba(10,10,10,0.12); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; }
    .bb-season-table td:first-child, .bb-season-table th:first-child { text-align: left; font-weight: 700; color: #0a0a0a; }
    .bb-season-table tbody tr:nth-child(even) { background: #faf8f4; }
    .bb-season-hot { font-weight: 800; color: #0066cc; }
    .bb-season-split { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed rgba(10,10,10,0.15); font-size: 0.85rem; color: #52524f; display: flex; flex-direction: column; gap: 0.15rem; }
    .bb-season-split-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #0066cc; }
    .bb-season-split b { color: #0a0a0a; }
    .bb-season-points { display: flex; flex-direction: column; gap: 1.1rem; }
    .bb-season-point { display: flex; gap: 0.85rem; align-items: flex-start; }
    .bb-season-point i { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: #0066cc; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; }
    .bb-season-point strong { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 800; color: #0a0a0a; margin-bottom: 0.15rem; }
    .bb-season-point span { font-size: 0.92rem; line-height: 1.55; color: #52524f; }
    .bb-season-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
    .bb-season-btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.65rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem; text-decoration: none; border: 1.5px solid rgba(10,10,10,0.2); color: #0a0a0a; }
    .bb-season-btn:hover { border-color: #0a0a0a; text-decoration: none; }
    .bb-season-btn-primary { background: #0066cc; border-color: #0066cc; color: #fff; }
    .bb-season-btn-primary:hover { background: #0052a3; border-color: #0052a3; color: #fff; }

    .bb-v2-faq { max-width: 900px; width: 100%; margin: 0 auto; display: grid; gap: 0.85rem; }
    .bb-v2-faq-item { background: #ffffff; border: 1px solid rgba(10, 10, 10, 0.1); border-left: 3px solid #2ba8ff; border-radius: 10px; padding: 1.15rem 1.35rem; }
    .bb-v2-faq-item h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 1.1rem; margin: 0 0 0.4rem; color: #0a0a0a; }
    .bb-v2-faq-item p { font-family: 'Inter', system-ui, sans-serif; font-size: 0.95rem; line-height: 1.6; color: #52524f; margin: 0; }
    .bb-v2-faq-item p strong { color: #0a0a0a; }

    /* OBS overlays showcase callout (ink section) */
    .bb-obs-callout {
        max-width: 1240px; width: 100%; margin: 2.5rem auto 0;
        display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
        padding: 1.4rem 1.6rem; border-radius: 14px;
        background: linear-gradient(135deg, rgba(43, 168, 255, 0.14), rgba(249, 115, 22, 0.10));
        border: 1px solid rgba(245, 241, 234, 0.14);
    }
    .bb-obs-callout-copy { display: flex; align-items: center; gap: 0.95rem; }
    .bb-obs-callout-copy > i { font-size: 1.6rem; color: #88cdff; }
    .bb-obs-callout-copy strong { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 1.15rem; color: #f5f1ea; }
    .bb-obs-callout-copy span { font-size: 0.9rem; color: rgba(245, 241, 234, 0.72); }
    .bb-obs-callout-btn {
        display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
        background: #2ba8ff; color: #04263f; font-weight: 700; font-size: 0.92rem;
        padding: 0.7rem 1.25rem; border-radius: 0.65rem; text-decoration: none; transition: transform 0.15s ease;
    }
    .bb-obs-callout-btn:hover { transform: translateY(-2px); }

    @media (max-width: 980px) { .bb-v2-usecases { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 640px) {
        .bb-v2-usecases { grid-template-columns: 1fr; }
        .bb-v2-usecase { border-right: 0; }
        .bb-obs-callout { flex-direction: column; align-items: flex-start; }
    }

/* ---- Tournament demo section ---- */
.bbt-demo { padding: clamp(4rem, 9vh, 6.5rem) 2rem; background:
            radial-gradient(circle at 18% 0%, rgba(245,158,11,0.10), transparent 45%),
            radial-gradient(circle at 82% 10%, rgba(99,102,241,0.10), transparent 45%), #0b1220; }
        .bbt-demo-inner { max-width: 1240px; margin: 0 auto; }
        .bbt-demo-head { text-align: center; max-width: 720px; margin: 0 auto 1.4rem; }
        .bbt-demo-eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.7rem;
            font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: #fca5a5; }
        .bbt-demo-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444;
            box-shadow: 0 0 8px rgba(239,68,68,0.9); animation: bbt-pulse 1.6s infinite; }
        @keyframes bbt-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
        .bbt-demo-title { font-family: 'Instrument Serif', serif; font-size: clamp(1.6rem, 4.5vw, 2.6rem);
            font-weight: 400; color: #f8fafc; margin: 0.6rem 0 0.5rem; line-height: 1.08; }
        .bbt-demo-deck { color: #cbd5e1; font-size: 1rem; line-height: 1.6; margin: 0; }
        .bbt-demo-deck strong { color: #fde68a; }
        .bbt-demo-frame-wrap { border: 1px solid rgba(148,163,184,0.18); border-radius: 16px;
            overflow: hidden; box-shadow: 0 25px 60px -25px rgba(0,0,0,0.7); background: #0b1220; }
        .bbt-demo-frame { display: block; width: 100%; height: 460px; border: 0; }
        @media (max-width: 640px) { .bbt-demo-frame { height: 380px; } }
        /* Lazy-embed poster (the "Watch the live bracket" tap target shown until
           the iframe loads). Two-class selector so display:flex beats the block
           rule above and its content sits centered in the 460px frame. */
        .bbt-demo-frame.lazy-embed-poster {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            gap: 0.75rem; text-align: center; padding: 1.5rem; cursor: pointer; color: #f8fafc;
            background: radial-gradient(circle at 50% 42%, rgba(245,158,11,0.12), transparent 60%), #0b1220;
            transition: background 0.2s ease;
        }
        .bbt-demo-frame.lazy-embed-poster:hover {
            background: radial-gradient(circle at 50% 42%, rgba(245,158,11,0.2), transparent 60%), #0e1627;
        }
        .lazy-embed-play {
            display: inline-flex; align-items: center; justify-content: center;
            width: 64px; height: 64px; border-radius: 50%; padding-left: 5px;
            background: linear-gradient(135deg, #f59e0b, #f97316); color: #1a1a1a; font-size: 1.5rem;
            box-shadow: 0 12px 30px -8px rgba(245,158,11,0.6);
        }
        .lazy-embed-label { font-weight: 700; font-size: 1.15rem; color: #f8fafc; }
        .lazy-embed-sub { font-size: 0.85rem; color: #94a3b8; max-width: 340px; line-height: 1.45; }
        .bbt-demo-cta-row { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.1rem; }
        .bbt-demo-btn { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none;
            font-weight: 600; font-size: 0.9rem; padding: 0.7rem 1.2rem; border-radius: 0.6rem;
            color: #cbd5e1; border: 1px solid rgba(148,163,184,0.25); background: transparent; }
        .bbt-demo-btn:hover { color: #fff; border-color: rgba(148,163,184,0.45); }
        .bbt-demo-btn-primary { background: linear-gradient(135deg, #f59e0b, #f97316); color: #1a1a1a;
            border: none; }
        .bbt-demo-btn-primary:hover { opacity: 0.94; color: #1a1a1a; }
        .bbt-demo-caption { text-align: center; color: #64748b; font-size: 0.82rem; margin: 1rem auto 0; max-width: 620px; }
