/* =============================================================================
   szbt-bowler-profile.css – v3.1.0
   Strike Zone Bowler Profile
   ============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

.szbt-bp *, .szbt-bp *::before, .szbt-bp *::after { box-sizing: border-box; }
.szbt-bp {
    max-width: 940px; margin: 0 auto; padding: 32px 24px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #e6eef8; line-height: 1.5;
    color-scheme: dark !important;
}
/* Prevent browser dark mode from dimming images */
.szbt-bp img,
.szbt-bp picture img,
.szbt-bp .szbt-bp__ball-img,
.szbt-bp .szbt-bp__avatar,
.szbt-bp .szbt-bp__community-avatar,
.szbt-bp .szbt-bp__community-ball-img,
.szbt-bp .szbt-bp__highgame-ball-img,
.szbt-bp .szbt-bp__footer-icon {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    forced-color-adjust: none !important;
    -webkit-filter: none !important;
}
/* Samsung Internet, DarkReader, and other forced dark modes */
[data-darkreader-mode] .szbt-bp img,
[data-darkreader-scheme] .szbt-bp img {
    filter: none !important;
    opacity: 1 !important;
}
@media (prefers-color-scheme: dark) {
    .szbt-bp { background-color: transparent !important; }
    .szbt-bp img { filter: none !important; opacity: 1 !important; }
}

/* ═══════ HERO – Unified Card ═══════ */
.szbt-bp__hero {
    position: relative; margin-bottom: 16px;
    background: linear-gradient(160deg, #1a1e28 0%, #141820 60%, #0e1218 100%);
    border-radius: 20px; border: 1px solid #262c3a; overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.szbt-bp__hero:hover { border-color: #3a4050; box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.szbt-bp__hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #bc2026, #e84650, #bc2026);
}
.szbt-bp__hero::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40%;
    background: repeating-linear-gradient(180deg, transparent, transparent 60px, rgba(188,32,38,.03) 60px, rgba(188,32,38,.03) 61px);
    pointer-events: none;
}
.szbt-bp__hero-content {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: auto 1px 1fr; align-items: stretch;
}

/* Player side */
.szbt-bp__hero-player {
    padding: 32px 28px; display: flex; flex-direction: column;
    justify-content: center; gap: 16px; min-width: 280px;
}
.szbt-bp__hero-avatar-row { display: flex; align-items: center; gap: 18px; }
.szbt-bp__avatar {
    width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
    border: 3px solid #bc2026; flex-shrink: 0;
    box-shadow: 0 0 24px rgba(188,32,38,.3), 0 0 48px rgba(188,32,38,.1);
}
.szbt-bp__avatar--placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; background: linear-gradient(135deg, #1e2230, #141820);
}
.szbt-bp__hero-identity { flex: 1; min-width: 0; }
.szbt-bp__name {
    font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1.1;
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0;
}
.szbt-bp__flag { font-size: 1.2rem; }
.szbt-bp__badge {
    display: inline-flex; align-items: center; padding: 3px 10px;
    border-radius: 4px; font-size: .6rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
}
.szbt-bp__badge--pro { background: linear-gradient(135deg, #bc2026, #e84650); color: #fff; }
.szbt-bp__badge--free { background: #262c3a; color: #8b949e; border: 1px solid #3a4050; }
.szbt-bp__meta { color: #9ba4b0; font-size: .95rem; margin: 2px 0 0; font-weight: 500; }

/* ── Club Badge ── */
.szbt-bp__club-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 20px;
    background: rgba(30, 144, 255, 0.08);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 10px;
    color: #79b8ff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
    width: 100%;
    box-sizing: border-box;
}
a.szbt-bp__club-badge:hover {
    background: rgba(30, 144, 255, 0.2);
    color: #a5d0ff;
    text-decoration: none;
}
.szbt-bp__club-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
}
.szbt-bp__club-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.szbt-bp__hall-badge {
    background: rgba(32, 178, 170, 0.08);
    border-color: rgba(32, 178, 170, 0.2);
    color: #5ec4be;
}
a.szbt-bp__hall-badge:hover {
    background: rgba(32, 178, 170, 0.15);
    color: #7ed9d4;
}

/* ── Club Badge (Community Card) ── */
.szbt-bp__community-club {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}
.szbt-bp__community-club-logo {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    object-fit: contain;
    flex-shrink: 0;
}
.szbt-bp__community-club-name {
    font-size: .7rem;
    color: #79b8ff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}

/* ── Club Page ── */
.szbt-bp__club-header {
    text-align: center;
    padding: 40px 20px 24px;
}
.szbt-bp__club-page-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
    margin-bottom: 16px;
    border: 2px solid #30363d;
    background: #161b22;
}
.szbt-bp__club-page-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #bc2026;
    margin: 0 0 4px;
    font-family: 'Outfit', sans-serif;
}
.szbt-bp__club-page-count {
    font-size: .9rem;
    color: #8b949e;
    margin: 0;
}

.szbt-bp__hero-details { display: flex; flex-wrap: wrap; gap: 6px; }
.szbt-bp__detail-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; background: rgba(255,255,255,.04);
    border: 1px solid #1e2230; border-radius: 8px; font-size: .78rem;
    transition: border-color .2s;
}
.szbt-bp__detail-chip:hover { border-color: #3a4050; }
.szbt-bp__detail-label { color: #6e7681; font-weight: 500; }
.szbt-bp__detail-value { color: #e6eef8; font-weight: 700; }

/* Divider */
.szbt-bp__hero-divider {
    background: linear-gradient(180deg, transparent 10%, #262c3a 30%, #262c3a 70%, transparent 90%);
    margin: 20px 0;
}

/* Stats side */
.szbt-bp__hero-stats {
    padding: 28px; display: flex; flex-direction: column;
    justify-content: center; gap: 12px; min-width: 320px;
}
.szbt-bp__stats-main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.szbt-bp__stat {
    text-align: center; padding: 16px 10px;
    background: rgba(0,0,0,.25); border-radius: 12px;
    border: 1px solid #1e2230;
    transition: border-color .2s, transform .15s;
}
.szbt-bp__stat:hover { border-color: #2a3040; transform: translateY(-1px); }
.szbt-bp__stat--highlight {
    border-color: rgba(79,209,197,.3);
    background: linear-gradient(135deg, rgba(14,24,32,.8), rgba(14,18,24,.8));
}
.szbt-bp__stat-value { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.15; }
.szbt-bp__stat--highlight .szbt-bp__stat-value { color: #4fd1c5; }
.szbt-bp__stat-sub { display: block; font-size: .62rem; color: #5a6270; margin-top: 1px; }
.szbt-bp__stat-label {
    display: block; font-size: .62rem; color: #8b949e; margin-top: 5px;
    text-transform: uppercase; letter-spacing: .7px; font-weight: 600;
}

.szbt-bp__stats-secondary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.szbt-bp__stats-secondary-item {
    text-align: center; padding: 10px 4px;
    background: rgba(0,0,0,.15); border-radius: 8px;
    border: 1px solid rgba(30,34,48,.5);
}
.szbt-bp__stats-secondary-value { display: block; font-size: .95rem; font-weight: 700; color: #c9d1d9; }
.szbt-bp__stats-secondary-label {
    display: block; font-size: .5rem; color: #6e7681;
    text-transform: uppercase; letter-spacing: .4px; margin-top: 2px; font-weight: 600;
}

.szbt-bp__hero-footer {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 16px;
    padding: 0 28px 14px;
    flex-wrap: wrap;
}
.szbt-bp__hero-footer .szbt-bp__club-badge {
    margin-top: 0;
    flex-shrink: 1;
    min-width: 0;
}
.szbt-bp__updated {
    color: #3a4050; font-size: .68rem;
    margin-left: auto;
    white-space: nowrap;
}

/* ═══════ SECTIONS ═══════ */
.szbt-bp__section {
    background:linear-gradient(160deg,#1a1e28,#141820);border:1px solid #262c3a;border-radius:16px;padding:28px;margin-bottom:16px;
    transition:border-color .3s,box-shadow .3s;
}
.szbt-bp__section:hover { border-color:#3a4050;box-shadow:0 8px 32px rgba(0,0,0,.25); }
.szbt-bp__section-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:20px; }
.szbt-bp__section-title { font-size:1.25rem;font-weight:700;color:#e6eef8;margin:0;display:flex;align-items:center;gap:10px; }
.szbt-bp__section-meta { color:#8b949e;font-size:.85rem;font-weight:500; }

/* ═══════ ARSENAL – grouped by slot ═══════ */
.szbt-bp__grade-badge { display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:28px;padding:0 10px;border-radius:6px;font-size:.85rem;font-weight:800;color:#fff; }
.szbt-bp__grade--a-plus,.szbt-bp__grade--a { background:linear-gradient(135deg,#10b981,#059669); }
.szbt-bp__grade--b-plus,.szbt-bp__grade--b { background:linear-gradient(135deg,#3b82f6,#2563eb); }
.szbt-bp__grade--c-plus,.szbt-bp__grade--c { background:linear-gradient(135deg,#f59e0b,#d97706); }
.szbt-bp__grade--d-plus,.szbt-bp__grade--d { background:linear-gradient(135deg,#ef4444,#dc2626); }
.szbt-bp__grade--f { background:linear-gradient(135deg,#6b7280,#4b5563); }
.szbt-bp__grade--default { background:#bc2026; }

.szbt-bp__slot-bar { display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:20px;padding:12px 14px;background:#0e1218;border-radius:10px;border:1px solid #1e2230; }
.szbt-bp__slot-chip { display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border-radius:20px;font-size:.72rem;font-weight:600;letter-spacing:.3px;white-space:nowrap; }
.szbt-bp__slot-chip--filled { opacity:1; }
.szbt-bp__slot-chip--empty { opacity:.22; }
.szbt-bp__slot-chip-dot { width:8px;height:8px;border-radius:50%;flex-shrink:0; }
.szbt-bp__slot-count { margin-left:auto;color:#8b949e;font-size:.8rem;font-weight:700;white-space:nowrap; }

/* Slot Group */
.szbt-bp__slot-group { margin-bottom: 24px; }
.szbt-bp__slot-group:last-child { margin-bottom: 0; }
.szbt-bp__slot-group-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.szbt-bp__slot-badge {
    display: inline-block; padding: 5px 14px; border-radius: 6px;
    font-size: .72rem; font-weight: 700; letter-spacing: .8px;
    text-transform: uppercase; color: #fff;
}

/* Ball Card – App style */
.szbt-bp__ball-card {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 16px; background: #0e1218;
    border-radius: 12px; border: 1px solid #1e2230;
    margin-bottom: 8px;
    transition: border-color .25s, background .25s, transform .2s, box-shadow .25s;
}
a.szbt-bp__ball-card--link { text-decoration:none;color:inherit;cursor:pointer; }
a.szbt-bp__ball-card--link:hover {
    border-color:#bc2026;background:#121822;
    transform:translateX(3px);box-shadow:-3px 0 0 0 #bc2026;
}
a.szbt-bp__ball-card--link:hover .szbt-bp__ball-arrow { opacity:1;color:#bc2026; }
.szbt-bp__ball-arrow { font-size:1.4rem;font-weight:300;color:#4a5060;opacity:.4;transition:opacity .2s,color .2s;flex-shrink:0; }
.szbt-bp__ball-img { width:64px;height:64px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#161b22;border:2px solid #3a4050;box-shadow:0 0 0 1px rgba(255,255,255,.06); }
.szbt-bp__ball-img--placeholder { display:flex;align-items:center;justify-content:center;font-size:1.6rem; }
.szbt-bp__ball-info { flex:1;min-width:0; }
.szbt-bp__ball-brand { font-size:.68rem;font-weight:600;color:#8b949e;text-transform:uppercase;letter-spacing:.5px; }
.szbt-bp__ball-name { font-weight:700;font-size:1.05rem;color:#e6eef8;margin-top:1px; }
.szbt-bp__ball-nickname { color:#8b949e;font-weight:400;font-style:italic;font-size:.82rem; }
.szbt-bp__ball-meta { color:#8b949e;font-size:.78rem;margin-top:4px;display:flex;align-items:center;gap:6px;flex-wrap:wrap; }
.szbt-bp__ball-layout-tag {
    display: inline-flex; align-items: center; gap: 4px;
    color: #4fd1c5; font-size: .78rem; font-weight: 600;
}
.szbt-bp__ball-layout-tag svg { flex-shrink: 0; }
.szbt-bp__ball-coveryear { color: #6e7681; font-size: .75rem; margin-top: 2px; }
.szbt-bp__ball-specs { color:#5a6270;font-size:.72rem;margin-top:2px;font-family:'SF Mono',Monaco,'Cascadia Code',monospace; }
.szbt-bp__ball-stats { display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0;text-align:right;min-width:65px; }
.szbt-bp__ball-stats-avg { font-size:.95rem;font-weight:800;color:#e6eef8; }
.szbt-bp__ball-stats-games { font-size:.68rem;color:#6e7681;font-weight:500; }

/* ═══════ GAMES – expandable cards ═══════ */
.szbt-bp__highgame {
    text-align:center;padding:28px;
    background:linear-gradient(135deg,#0e1820,#0e1218,#101520);
    border-radius:12px;border:1px solid rgba(32,178,170,.25);
    margin-bottom:16px;position:relative;overflow:hidden;
}
.szbt-bp__highgame::before { content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:50%;height:2px;background:linear-gradient(90deg,transparent,#4fd1c5,transparent); }
.szbt-bp__highgame-score { display:block;font-size:3.2rem;font-weight:800;color:#4fd1c5;line-height:1.1; }
.szbt-bp__highgame-label { display:block;color:#8b949e;font-size:.72rem;text-transform:uppercase;letter-spacing:1.5px;margin-top:6px;font-weight:600; }
.szbt-bp__highgame-meta { display:block;color:#6e7681;font-size:.8rem;margin-top:10px; }
.szbt-bp__highgame-ball-img { width:32px;height:32px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:5px;border:1px solid #3a4050; }

/* Game Grid */
.szbt-bp__games-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:10px; }

/* Game Card – collapsed */
.szbt-bp__game-card {
    background:#0e1218;border-radius:12px;border:1px solid #1e2230;
    overflow:hidden;cursor:pointer;
    transition:border-color .25s,transform .2s,box-shadow .25s;
}
.szbt-bp__game-card:hover { border-color:#3a4050;transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.3); }
.szbt-bp__game-card-summary { padding:16px; }
.szbt-bp__game-card-top { display:flex;align-items:baseline;justify-content:space-between;margin-bottom:6px; }
.szbt-bp__game-card-score { font-size:1.5rem;font-weight:800;color:#fff;line-height:1; }
.szbt-bp__game-card-score--perfect { color:#4fd1c5; }
.szbt-bp__game-card-date { font-size:.72rem;color:#5a6270;font-weight:500; }
.szbt-bp__game-card-ball { font-size:.8rem;color:#c9d1d9;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px; }
.szbt-bp__game-card-location { font-size:.72rem;color:#6e7681;margin-bottom:6px; }
.szbt-bp__game-card-stats { display:flex;gap:10px;font-size:.72rem;font-weight:600; }
.szbt-bp__game-card-stat--strike { color:#e84650; }
.szbt-bp__game-card-stat--spare { color:#4fd1c5; }
.szbt-bp__game-card-stat--open { color:#5a6270; }
.szbt-bp__game-card-pattern { font-size:.7rem;color:#1e90ff;margin-top:6px;font-weight:500; }
.szbt-bp__game-card-expand { font-size:.65rem;color:#4a5060;text-align:center;padding:6px 0 2px;letter-spacing:.5px; }

/* Game Card – expanded detail */
.szbt-bp__game-detail {
    display:none;padding:0 16px 16px;border-top:1px solid #1e2230;
    animation: slideDown .25s ease-out;
}
.szbt-bp__game-card.is-expanded .szbt-bp__game-detail { display:block; }
.szbt-bp__game-card.is-expanded { border-color:#3a4050; }
@keyframes slideDown { from { opacity:0;max-height:0; } to { opacity:1;max-height:400px; } }

.szbt-bp__game-detail-section { margin-top:14px; }
.szbt-bp__game-detail-label { font-size:.65rem;color:#6e7681;text-transform:uppercase;letter-spacing:.6px;font-weight:600;margin-bottom:6px; }

.szbt-bp__game-detail-setup-row {
    display:flex;align-items:center;gap:12px;padding:10px;
    background:#161b22;border-radius:8px;margin-bottom:6px;
}
.szbt-bp__game-detail-setup-img { width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0;border:1px solid #262c3a; }
.szbt-bp__game-detail-setup-text { flex:1;min-width:0; }
.szbt-bp__game-detail-setup-sub { font-size:.68rem;color:#6e7681; }
.szbt-bp__game-detail-setup-name { font-size:.88rem;font-weight:600;color:#e6eef8; }

.szbt-bp__game-detail-stats-grid {
    display:grid;grid-template-columns:repeat(3,1fr);gap:6px;
}
.szbt-bp__game-detail-stat {
    text-align:center;padding:10px 6px;background:#161b22;border-radius:8px;
}
.szbt-bp__game-detail-stat-value { display:block;font-size:1.2rem;font-weight:800; }
.szbt-bp__game-detail-stat-value--strike { color:#e84650; }
.szbt-bp__game-detail-stat-value--spare { color:#4fd1c5; }
.szbt-bp__game-detail-stat-value--open { color:#6e7681; }
.szbt-bp__game-detail-stat-label { display:block;font-size:.6rem;color:#8b949e;text-transform:uppercase;letter-spacing:.4px;margin-top:2px;font-weight:600; }

.szbt-bp__game-detail-meta { display:flex;gap:12px;flex-wrap:wrap;margin-top:10px; }
.szbt-bp__game-detail-meta-item { font-size:.75rem;color:#8b949e;display:flex;align-items:center;gap:4px; }

/* ═══════ SCORECARD ═══════ */
.szbt-bp__scorecard {
    margin-top: 14px;
}
.szbt-bp__scorecard-label {
    font-size: .65rem; color: #6e7681; text-transform: uppercase;
    letter-spacing: .6px; font-weight: 600; margin-bottom: 8px;
}
.szbt-bp__scorecard-grid {
    display: grid; grid-template-columns: repeat(9, 1fr) 1.5fr; gap: 3px;
}
.szbt-bp__frame {
    background: #161b22; border-radius: 6px; border: 1px solid #1e2230;
    text-align: center; padding: 4px 2px; min-width: 0;
}
.szbt-bp__frame:last-child { border-color: #2a3040; }
.szbt-bp__frame-num {
    font-size: .5rem; color: #4a5060; font-weight: 600;
    margin-bottom: 2px;
}
.szbt-bp__frame-rolls {
    display: flex; justify-content: center; gap: 2px;
    font-size: .72rem; font-weight: 700; min-height: 18px;
}
.szbt-bp__roll { min-width: 14px; }
.szbt-bp__roll--strike { color: #e84650; }
.szbt-bp__roll--spare { color: #4fd1c5; }
.szbt-bp__roll--gutter { color: #4a5060; }
.szbt-bp__roll--normal { color: #c9d1d9; }
.szbt-bp__frame-score {
    font-size: .62rem; color: #8b949e; font-weight: 600;
    margin-top: 2px; border-top: 1px solid #1e2230; padding-top: 2px;
}

/* ═══════ OIL PATTERNS ═══════ */
.szbt-bp__patterns-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px; }
.szbt-bp__pattern-card { background:#0e1218;border-radius:12px;border:1px solid #1e2230;padding:16px;transition:border-color .25s,transform .2s; }
.szbt-bp__pattern-card:hover { border-color:#1e90ff;transform:translateY(-2px); }
.szbt-bp__pattern-name { font-size:.88rem;font-weight:700;color:#e6eef8;margin-bottom:10px; }
.szbt-bp__pattern-stats { display:flex;justify-content:center;gap:20px; }
.szbt-bp__pattern-stat { text-align:center; }
.szbt-bp__pattern-stat-value { display:block;font-size:1.1rem;font-weight:800;color:#1e90ff; }
.szbt-bp__pattern-stat-label { display:block;font-size:.6rem;color:#6e7681;text-transform:uppercase;letter-spacing:.5px;margin-top:2px;font-weight:600; }

/* ═══════ COMMUNITY PROFILES ═══════ */
.szbt-bp__community { margin-top: 24px; margin-bottom: 24px; }
.szbt-bp__community-divider {
    height: 1px; margin-bottom: 28px;
    background: linear-gradient(90deg, transparent, #262c3a 20%, #262c3a 80%, transparent);
}
.szbt-bp__community-title {
    font-size: 1.3rem; font-weight: 800; color: #bc2026;
    text-align: center; margin: 0 0 4px;
}
.szbt-bp__community-sub {
    font-size: .85rem; color: #6e7681; text-align: center;
    margin: 0 0 20px; font-weight: 500;
}
.szbt-bp__community-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}

/* ═══════ SEARCH ═══════ */
.szbt-bp__search {
    position: relative; max-width: 420px; margin: 0 auto 24px;
}
.szbt-bp__search-input-wrap {
    display: flex; align-items: center; gap: 8px;
    background: #141820; border: 1px solid #262c3a; border-radius: 12px;
    padding: 10px 16px; transition: border-color .25s;
}
.szbt-bp__search-input-wrap:focus-within {
    border-color: #bc2026;
}
.szbt-bp__search-icon { color: #c9d1d9; flex-shrink: 0; }
.szbt-bp__search-input {
    flex: 1; background: none !important; border: none !important; outline: none !important;
    color: #fff !important; font-family: 'Outfit', sans-serif !important;
    font-size: .9rem !important; font-weight: 500 !important;
    box-shadow: none !important; padding: 0 !important; margin: 0 !important;
    -webkit-appearance: none !important;
}
.szbt-bp__search-input::placeholder { color: #8b949e !important; opacity: 1 !important; }
.szbt-bp__search-clear {
    display: none; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%;
    background: #262c3a; color: #8b949e; font-size: .9rem;
    cursor: pointer; flex-shrink: 0; line-height: 1;
    transition: background .2s, color .2s;
}
.szbt-bp__search-clear:hover { background: #bc2026; color: #fff; }

.szbt-bp__search-dropdown {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    margin-top: 6px; background: #1a1e28; border: 1px solid #262c3a;
    border-radius: 12px; overflow: hidden; z-index: 100;
    box-shadow: 0 12px 32px rgba(0,0,0,.5);
    max-height: 360px; overflow-y: auto;
}
.szbt-bp__search-result {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; text-decoration: none; color: inherit;
    transition: background .15s;
}
.szbt-bp__search-result:hover { background: rgba(188,32,38,.1); }
.szbt-bp__search-result + .szbt-bp__search-result {
    border-top: 1px solid #1e2230;
}
.szbt-bp__search-result-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0; border: 2px solid #262c3a;
}
.szbt-bp__search-result-avatar--ph {
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; background: #0e1218;
}
.szbt-bp__search-result-info { flex: 1; min-width: 0; }
.szbt-bp__search-result-name {
    font-size: .85rem; font-weight: 700; color: #e6eef8;
    display: flex; align-items: center; gap: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.szbt-bp__search-result-avg {
    font-size: .75rem; font-weight: 700; color: #4fd1c5; margin-top: 1px;
    display: block;
}
.szbt-bp__search-empty {
    padding: 20px 16px; text-align: center;
    color: #6e7681; font-size: .85rem;
}
.szbt-bp__community-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(160deg, #1a1e28, #141820);
    border: 1px solid #262c3a; border-radius: 12px;
    text-decoration: none; color: inherit;
    transition: border-color .25s, transform .2s, box-shadow .25s;
    min-width: 0;
}
.szbt-bp__community-card:hover {
    border-color: #bc2026; transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.szbt-bp__community-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    border: 2px solid #262c3a;
}
.szbt-bp__community-avatar--placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; background: #0e1218;
}
.szbt-bp__community-card:hover .szbt-bp__community-avatar {
    border-color: #bc2026;
}
.szbt-bp__community-info { flex: 1; min-width: 0; }
.szbt-bp__community-name {
    font-size: .85rem; font-weight: 700; color: #e6eef8;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    line-height: 1.3; word-break: break-word;
}
.szbt-bp__community-flag { font-size: .75rem; flex-shrink: 0; }
.szbt-bp__community-avg {
    font-size: .78rem; font-weight: 800; color: #4fd1c5; margin-top: 2px;
}
.szbt-bp__community-badge {
    display: inline-block; margin-top: 4px;
    font-size: .52rem; font-weight: 700; letter-spacing: .8px;
    text-transform: uppercase; padding: 3px 12px; border-radius: 4px;
}
.szbt-bp__community-ball-col {
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; flex-shrink: 0;
}
.szbt-bp__community-ball-label {
    font-size: .48rem; color: #6e7681; text-transform: uppercase;
    letter-spacing: .5px; font-weight: 600;
}
.szbt-bp__community-ball-img {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; border: 2px solid #3a4050;
}
.szbt-bp__community-ball-name {
    font-size: .6rem; color: #e6eef8; text-align: center; font-weight: 600;
    max-width: 64px; line-height: 1.2;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ═══════ FOOTER ═══════ */
.szbt-bp__footer { margin-top:12px; }
.szbt-bp__footer-inner { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;background:linear-gradient(160deg,#1a1e28,#141820);border:1px solid #262c3a;border-radius:16px; }
.szbt-bp__footer-branding { display:flex;align-items:center;gap:14px; }
.szbt-bp__footer-icon { width:48px;height:48px;border-radius:12px;object-fit:cover;flex-shrink:0; }
.szbt-bp__footer-icon-fallback { width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,#bc2026,#8a1519);display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0; }
.szbt-bp__footer-text { display:flex;flex-direction:column;gap:2px; }
.szbt-bp__footer-text strong { color:#e6eef8;font-size:.95rem;font-weight:700; }
.szbt-bp__footer-text span { color:#8b949e;font-size:.78rem; }
.szbt-bp__footer-stores { display:flex;gap:8px;flex-shrink:0; }
.szbt-bp__store-btn { display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border-radius:8px;text-decoration:none;font-size:.82rem;font-weight:600;transition:background .2s,transform .15s;white-space:nowrap; }
.szbt-bp__store-btn:hover { transform:translateY(-2px); }
.szbt-bp__store-btn--apple { background:#fff;color:#000; }
.szbt-bp__store-btn--apple:hover { background:#f0f0f0; }
.szbt-bp__store-btn--google { background:#262c3a;color:#e6eef8; }
.szbt-bp__store-btn--google:hover { background:#3a4050; }
.szbt-bp__footer-powered { text-align:center;padding:12px 0 0;color:#4a5060;font-size:.72rem; }
.szbt-bp__footer-powered a { color:#8b949e;text-decoration:none; }
.szbt-bp__footer-powered a:hover { color:#bc2026; }

/* ═══════ DARK MODE HINT ═══════ */
.szbt-bp__darkmode-hint {
    display: flex; align-items: center; gap: 10px;
    margin-top: 16px; padding: 12px 18px;
    background: rgba(188,32,38,.08); border: 1px solid rgba(188,32,38,.2);
    border-radius: 10px; font-size: .78rem; color: #c9d1d9;
}
.szbt-bp__darkmode-hint-icon { font-size: 1.1rem; flex-shrink: 0; }
.szbt-bp__darkmode-hint-close {
    margin-left: auto; background: none; border: none;
    color: #6e7681; font-size: 1.1rem; cursor: pointer;
    padding: 0 4px; line-height: 1; flex-shrink: 0;
}
.szbt-bp__darkmode-hint-close:hover { color: #e6eef8; }

/* ═══════ RESPONSIVE ═══════ */
@media (min-width:901px) { .szbt-bp { padding:40px 32px; } .szbt-bp__stat-value { font-size:1.8rem; } }
@media (max-width:900px) {
    .szbt-bp__hero-content { grid-template-columns:1fr; }
    .szbt-bp__hero-divider {
        width:auto; height:1px; margin:0 20px;
        background:linear-gradient(90deg,transparent 10%,#262c3a 30%,#262c3a 70%,transparent 90%);
    }
    .szbt-bp__hero-player { min-width:unset; }
    .szbt-bp__hero-stats { min-width:unset; }
}
@media (max-width:768px) {
    .szbt-bp { max-width:100%;padding:16px; }
    .szbt-bp__footer-inner { flex-direction:column;text-align:center;gap:16px; }
    .szbt-bp__footer-branding { flex-direction:column;text-align:center; }
    .szbt-bp__patterns-grid { grid-template-columns:1fr 1fr; }
    .szbt-bp__community-grid { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:600px) {
    .szbt-bp { padding:12px; }
    .szbt-bp__hero-player { padding:20px; }
    .szbt-bp__avatar { width:68px;height:68px; }
    .szbt-bp__name { font-size:1.4rem; }
    .szbt-bp__hero-stats { padding:16px; }
    .szbt-bp__stat { padding:12px 8px; }
    .szbt-bp__stat-value { font-size:1.35rem; }
    .szbt-bp__stats-secondary { grid-template-columns:repeat(2,1fr); }
    .szbt-bp__detail-chip { padding:5px 10px;font-size:.72rem; }
    .szbt-bp__hero-footer { padding: 0 20px 12px; }
    .szbt-bp__section { padding:16px;border-radius:12px; }
    .szbt-bp__ball-card { padding:10px;gap:10px; }
    .szbt-bp__ball-img { width:48px;height:48px; }
    .szbt-bp__ball-arrow { display:none; }
    .szbt-bp__games-grid { grid-template-columns:1fr; }
    .szbt-bp__highgame-score { font-size:2.5rem; }
    .szbt-bp__footer-inner { padding:16px; }
    .szbt-bp__store-btn { padding:8px 14px;font-size:.76rem; }
    .szbt-bp__slot-chip { font-size:.64rem;padding:2px 8px; }
    .szbt-bp__patterns-grid { grid-template-columns:1fr; }
    .szbt-bp__community-grid { grid-template-columns:1fr; }
}