/* ═══════════════════════════════════════════════════════════════
   Cleatz MLB Strikeout Props — v2.1.8
   Scoped entirely to .csw2-wrap. Zero theme bleed.
═══════════════════════════════════════════════════════════════ */

.csw2-wrap,
.csw2-wrap * {
    box-sizing: border-box;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
}

.csw2-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #111827;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 18px rgba(0,0,0,.05);
}

/* ── Header ── */
.csw2-header {
    background: linear-gradient(135deg, #0b1628 0%, #0f2040 100%);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.csw2-header-left { display: flex; align-items: center; gap: 13px; }
.csw2-logo {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.csw2-title { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.4px; line-height: 1.15; }
.csw2-date  { font-size: 12px; color: rgba(255,255,255,.42); margin-top: 2px; }
.csw2-header-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Pills */
.csw2-pills { display: flex; gap: 5px; }
.csw2-pill  { font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: .4px; text-transform: uppercase; }
.csw2-pill-top   { background: rgba(16,185,129,.15);  color: #34d399; border: 1px solid rgba(52,211,153,.25); }
.csw2-pill-solid { background: rgba(99,102,241,.15);   color: #a5b4fc; border: 1px solid rgba(165,180,252,.25); }
.csw2-pill-lean  { background: rgba(148,163,184,.10);  color: #94a3b8; border: 1px solid rgba(148,163,184,.2); }

/* Refresh btn */
.csw2-refresh-btn {
    display: inline-flex !important; align-items: center !important; gap: 5px !important;
    padding: 7px 14px !important; background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.15) !important; border-radius: 7px !important;
    color: rgba(255,255,255,.75) !important; font-size: 12px !important; font-weight: 500 !important;
    cursor: pointer !important; font-family: inherit !important;
    text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important;
    transition: background .15s !important;
}
.csw2-refresh-btn:hover { background: rgba(255,255,255,.13) !important; color: #fff !important; }

/* Meta / SEO / banner */
.csw2-meta {
    background: #f9fafb; border-bottom: 1px solid #e5e7eb; padding: 6px 22px;
    font-size: 11px; color: #6b7280; display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 4px;
}
.csw2-seo-summary {
    padding: 9px 22px; font-size: 12px; color: #6b7280;
    background: #f9fafb; border-bottom: 1px solid #e5e7eb; line-height: 1.55;
}
.csw2-line-change { background: #fffbeb; border-bottom: 1px solid #fde68a; padding: 9px 22px; font-size: 13px; color: #92400e; }
.csw2-line-change a { color: #b45309; font-weight: 600; text-decoration: underline; }

/* Tabs */
.csw2-tabs {
    display: flex !important; visibility: visible !important; opacity: 1 !important;
    background: #fff !important; border-bottom: 1px solid #e5e7eb !important;
    padding: 0 22px !important; gap: 2px !important;
}
.csw2-wrap .csw2-tab,
.csw2-wrap .csw2-tab:visited,
.csw2-wrap .csw2-tab:link {
    display: inline-flex !important; visibility: visible !important; opacity: 1 !important;
    align-items: center !important; padding: 12px 14px !important;
    background: transparent !important; background-color: transparent !important;
    border: none !important; border-bottom: 2px solid transparent !important;
    border-radius: 0 !important; box-shadow: none !important;
    color: #6b7280 !important; font-size: 13px !important; font-weight: 500 !important;
    cursor: pointer !important; margin-bottom: -1px !important;
    font-family: inherit !important; text-transform: none !important;
    letter-spacing: normal !important; line-height: normal !important;
    transition: color .15s, border-color .15s !important; text-decoration: none !important;
}
.csw2-wrap .csw2-tab:hover  { color: #111827 !important; background: transparent !important; }
.csw2-wrap .csw2-tab.active { color: #111827 !important; border-bottom: 2px solid #2563eb !important; font-weight: 600 !important; background: transparent !important; }

.csw2-panel { display: none; }
.csw2-panel.active { display: block; }

/* Empty */
.csw2-empty { padding: 52px 24px; text-align: center; color: #6b7280; }
.csw2-empty-icon  { font-size: 38px; margin-bottom: 14px; opacity: .8; }
.csw2-empty-title { font-size: 17px; font-weight: 600; color: #1f2937; margin-bottom: 7px; }
.csw2-empty-body  { font-size: 13px; max-width: 320px; margin: 0 auto 18px; line-height: 1.65; color: #9ca3af; }

/* ══ PICKS ══ */
.csw2-picks-header {
    display: flex; padding: 9px 22px; background: #f9fafb; border-bottom: 1px solid #e5e7eb;
    font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .6px; gap: 12px;
}
.csw2-picks-header > div:first-child { flex: 1; }
.csw2-picks-header > div:last-child  { width: 155px; text-align: right; flex-shrink: 0; }

.csw2-pick-row {
    display: flex; align-items: stretch; border-bottom: 1px solid #f3f4f6;
    position: relative; min-height: 76px; transition: background .1s;
}
.csw2-pick-row:hover { background: #fafafa; }
.csw2-pick-row:last-child { border-bottom: none; }
.csw2-pick-row::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; border-radius: 0 2px 2px 0;
}
.csw2-pick-row.pick-over::before  { background: linear-gradient(to bottom,#10b981,#059669); }
.csw2-pick-row.pick-under::before { background: linear-gradient(to bottom,#f43f5e,#e11d48); }

.csw2-pick-left  { flex: 1; min-width: 0; padding: 14px 16px 14px 22px; }
.csw2-pick-right {
    display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
    padding: 14px 22px 14px 14px; gap: 7px; flex-shrink: 0;
    border-left: 1px solid #f3f4f6; min-width: 155px;
}

.csw2-pitcher-name { font-size: 15px; font-weight: 700; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.2px; }
.csw2-pitcher-team { font-size: 11px; color: #9ca3af; font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }
.csw2-matchup-teams { font-size: 12.5px; font-weight: 500; color: #374151; margin-top: 7px; }
.csw2-matchup-time  { font-size: 11px; color: #9ca3af; margin-top: 2px; }

.csw2-pick-col  { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.csw2-pick-dir  { font-size: 18px; font-weight: 800; line-height: 1; letter-spacing: -.5px; }
.csw2-pick-line { font-size: 18px; font-weight: 700; color: #111827; line-height: 1; letter-spacing: -.5px; }
.csw2-pick-odds { font-size: 12px; color: #6b7280; font-weight: 500; margin-top: 1px; }
.pick-dir-over  { color: #059669; }
.pick-dir-under { color: #e11d48; }

/* Tier button */
.csw2-wrap .csw2-tier-btn {
    display: flex !important; visibility: visible !important; opacity: 1 !important;
    align-items: center !important; justify-content: space-between !important;
    width: 100% !important; padding: 6px 10px !important; border-radius: 7px !important;
    cursor: pointer !important; font-family: inherit !important;
    font-size: 10.5px !important; font-weight: 700 !important;
    letter-spacing: .5px !important; text-transform: uppercase !important;
    gap: 6px !important; -webkit-appearance: none !important; appearance: none !important;
    box-shadow: none !important;
}
.csw2-wrap .tier-top   { background-color: #ecfdf5 !important; color: #065f46 !important; border: 1px solid #a7f3d0 !important; }
.csw2-wrap .tier-solid { background-color: #eef2ff !important; color: #3730a3 !important; border: 1px solid #c7d2fe !important; }
.csw2-wrap .tier-lean  { background-color: #f9fafb !important; color: #6b7280 !important; border: 1px solid #e5e7eb !important; }
.csw2-tier-arrow { font-size: 9px; transition: transform .2s; opacity: .55; flex-shrink: 0; }
.csw2-tier-arrow.open { transform: rotate(180deg); }

/* Dropdown */
.csw2-drop { display: none; border-bottom: 1px solid #e5e7eb; background: #f9fafb; border-top: 1px solid #f3f4f6; }
.csw2-drop.open { display: block; }
.csw2-drop-inner {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    padding: 20px 22px; gap: 0;
}
.csw2-drop-sec { padding: 0 24px; }
.csw2-drop-sec:first-child { padding-left: 0; border-right: 1px solid #e5e7eb; }
.csw2-drop-sec:nth-child(2){ border-right: 1px solid #e5e7eb; }
.csw2-drop-sec:last-child  { padding-right: 0; }
.csw2-drop-title { font-size: 9.5px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 14px; }

.csw2-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid #f3f4f6; gap: 8px; }
.csw2-stat-row:last-child { border-bottom: none; }
.csw2-stat-lbl-wrap { display: flex; align-items: center; gap: 5px; }
.csw2-stat-lbl { font-size: 12px; color: #6b7280; white-space: nowrap; font-weight: 500; }
.csw2-stat-val { font-size: 13px; font-weight: 700; color: #111827; }
.csw2-stat-val.positive { color: #059669; }
.csw2-stat-val.negative { color: #e11d48; }

.csw2-info {
    display: inline-flex; align-items: center; justify-content: center;
    width: 14px; height: 14px; border-radius: 50%; background: #e5e7eb; color: #6b7280;
    font-size: 9px; font-weight: 700; font-style: normal; cursor: default; flex-shrink: 0; position: relative;
}
.csw2-info:hover .csw2-tip { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.csw2-tip {
    position: absolute; bottom: calc(100% + 7px); left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #111827; color: #f9fafb;
    font-size: 11px; font-weight: 400; font-style: normal;
    padding: 8px 12px; border-radius: 7px;
    opacity: 0; pointer-events: none;
    transition: opacity .15s, transform .15s;
    z-index: 100; letter-spacing: 0; text-transform: none;
    max-width: 240px; white-space: normal; text-align: left; line-height: 1.55; width: max-content;
}
.csw2-tip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #111827; }

.csw2-odd-row { display: flex; align-items: center; padding: 7px 0; border-bottom: 1px solid #f3f4f6; gap: 10px; }
.csw2-odd-row:last-child { border-bottom: none; }
.csw2-book-wrap { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.csw2-book-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 5px;
    font-size: 9px; font-weight: 800; letter-spacing: -.3px; flex-shrink: 0; line-height: 1;
}
.csw2-book-dk { background: #1a3a2a !important; color: #4ade80 !important; }
.csw2-book-fd { background: #1447b3 !important; color: #fff !important; }
.csw2-book-pp { background: #6c3fc5 !important; color: #fff !important; }
.csw2-book-name { font-size: 12px; color: #374151; font-weight: 500; }
.csw2-odd-line { font-size: 12px; color: #9ca3af; width: 28px; flex-shrink: 0; text-align: right; }
.csw2-odd-val  { font-size: 13px; font-weight: 700; min-width: 42px; text-align: right; }
.csw2-odd-val.over  { color: #059669; }
.csw2-odd-val.under { color: #e11d48; }

/* ══ TRACKER ══ */
.csw2-tracker-header,
.csw2-tracker-row {
    display: grid;
    grid-template-columns: minmax(140px,1.8fr) 100px 110px 52px 52px 80px 80px;
    align-items: center; padding: 0 22px; gap: 8px;
}
.csw2-tracker-header {
    background: #f9fafb; border-bottom: 1px solid #e5e7eb;
    padding-top: 9px; padding-bottom: 9px;
    font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .6px;
}
.csw2-tracker-row {
    padding-top: 11px; padding-bottom: 11px;
    border-bottom: 1px solid #f3f4f6; transition: background .1s;
}
.csw2-tracker-row:hover { background: #fafafa; }
.csw2-tracker-row:last-child { border-bottom: none; }
.csw2-tracker-row.tr-live { background: #fffbfb; }
.csw2-tracker-row.tr-live:hover { background: #fff7f7; }

.csw2-tc-pitcher { display: flex; align-items: center; gap: 9px; min-width: 0; }
.csw2-tc-avatar {
    width: 32px; height: 32px; border-radius: 8px;
    background: #f3f4f6; border: 1px solid #e5e7eb;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #6b7280;
    flex-shrink: 0; letter-spacing: -.3px;
}
.csw2-tc-name  { font-size: 13px; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csw2-tc-teams { font-size: 11px; color: #9ca3af; margin-top: 1px; font-weight: 500; }

.csw2-live-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 10.5px; font-weight: 700; color: #dc2626;
    background: #fef2f2; border: 1px solid #fecaca;
    padding: 3px 7px; border-radius: 5px; white-space: nowrap;
}
.csw2-live-dot {
    width: 6px; height: 6px; background: #dc2626; border-radius: 50%;
    animation: csw2pulse 1.4s ease infinite; flex-shrink: 0;
}
@keyframes csw2pulse { 0%,100%{opacity:1} 50%{opacity:.25} }

.csw2-final-badge {
    display: inline-block; font-size: 10.5px; font-weight: 700; color: #6b7280;
    background: #f3f4f6; border: 1px solid #e5e7eb; padding: 3px 7px; border-radius: 5px;
}
.csw2-pre-badge { font-size: 11px; color: #6b7280; font-weight: 500; }

.csw2-k-num { font-size: 20px; font-weight: 800; color: #111827; letter-spacing: -.5px; line-height: 1; }
.csw2-k-num.r-win  { color: #059669; }
.csw2-k-num.r-loss { color: #e11d48; }

.csw2-result-badge {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 5px;
    letter-spacing: .4px; text-transform: uppercase; white-space: nowrap;
}
.r-win  { color: #065f46; }
.r-loss { color: #9f1239; }
.r-push { color: #6b7280; }
.csw2-result-badge.r-win  { background: #ecfdf5; border: 1px solid #a7f3d0; }
.csw2-result-badge.r-loss { background: #fff1f2; border: 1px solid #fecdd3; }
.csw2-result-badge.r-push { background: #f9fafb; border: 1px solid #e5e7eb; }

.bd-pos { color: #059669; font-weight: 600; }
.bd-neg { color: #e11d48; font-weight: 600; }
.csw2-muted { color: #9ca3af; }
.csw2-tracker-meta { padding: 8px 22px; font-size: 11px; color: #9ca3af; border-top: 1px solid #f3f4f6; text-align: right; }

.csw2-conf-badge {
    display: inline-block; font-size: 9.5px; font-weight: 700;
    padding: 2px 6px; border-radius: 4px; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap;
}
.conf-top   { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.conf-solid { background: #eef2ff; color: #3730a3; border: 1px solid #c7d2fe; }
.conf-lean  { background: #f9fafb; color: #6b7280; border: 1px solid #e5e7eb; }

/* ══ RESULTS ══ */
.csw2-results-summary {
    display: flex; border-bottom: 1px solid #e5e7eb;
    background: #f9fafb; flex-wrap: nowrap; overflow-x: auto;
}
.csw2-rs-stat { flex: 1; min-width: 80px; text-align: center; padding: 18px 10px; border-right: 1px solid #f3f4f6; }
.csw2-rs-stat:last-child { border-right: none; }
.csw2-rs-num { font-size: 28px; font-weight: 800; color: #111827; line-height: 1; letter-spacing: -.8px; }
.csw2-rs-num.r-win  { color: #059669; }
.csw2-rs-num.r-loss { color: #e11d48; }
.csw2-rs-lbl { font-size: 10px; font-weight: 600; color: #9ca3af; margin-top: 5px; text-transform: uppercase; letter-spacing: .5px; }

.csw2-results-header,
.csw2-results-row {
    display: grid; grid-template-columns: minmax(0,1fr) 90px 70px 60px 80px;
    align-items: center; padding: 0 22px; gap: 8px;
}
.csw2-results-header {
    background: #f9fafb; border-bottom: 1px solid #e5e7eb;
    padding-top: 9px; padding-bottom: 9px;
    font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .6px;
}
.csw2-results-row {
    padding-top: 11px; padding-bottom: 11px;
    border-bottom: 1px solid #f3f4f6; transition: background .1s;
}
.csw2-results-row:hover { background: #fafafa; }
.csw2-results-row:last-child { border-bottom: none; }
.csw2-rc-col-pitcher { display: flex; align-items: center; gap: 9px; min-width: 0; }

/* Footer */
.csw2-footer {
    background: #f9fafb; border-top: 1px solid #e5e7eb;
    padding: 9px 22px; font-size: 11px; color: #9ca3af; text-align: center;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 700px) {
    .csw2-header { padding: 13px 15px; gap: 8px; flex-wrap: nowrap; }
    .csw2-title  { font-size: 17px; }
    .csw2-date   { font-size: 11px; }
    .csw2-logo   { width: 38px; height: 38px; font-size: 18px; border-radius: 8px; }
    .csw2-pills  { display: none; }
    .csw2-header-right { flex-shrink: 0; }
    .csw2-meta   { flex-direction: column; gap: 1px; font-size: 10px; padding: 5px 15px; }
    .csw2-seo-summary  { padding: 8px 15px; font-size: 11.5px; }
    .csw2-tabs { padding: 0 10px !important; }
    .csw2-wrap .csw2-tab { padding: 10px 12px !important; font-size: 12.5px !important; }

    .csw2-picks-header { display: none; }
    .csw2-pick-row { min-height: auto; }
    .csw2-pick-left  { padding: 13px 10px 13px 17px; }
    .csw2-pick-right { min-width: 120px; padding: 13px 15px 13px 10px; gap: 6px; }
    .csw2-pitcher-name  { font-size: 14px; }
    .csw2-matchup-teams { font-size: 12px; }
    .csw2-matchup-time  { font-size: 10.5px; white-space: normal; }
    .csw2-pick-dir  { font-size: 16px; }
    .csw2-pick-line { font-size: 16px; }
    .csw2-pick-odds { font-size: 11.5px; }
    .csw2-wrap .csw2-tier-btn { padding: 5px 9px !important; font-size: 10px !important; }

    .csw2-drop-inner { padding: 0 !important; grid-template-columns: 1fr !important; }
    .csw2-drop-sec { padding: 13px 15px !important; border-right: none !important; border-bottom: 1px solid #f3f4f6; }
    .csw2-drop-sec:first-child { border-right: none !important; }
    .csw2-drop-sec:nth-child(2){ border-right: none !important; }
    .csw2-drop-sec:last-child   { border-bottom: none; }

    .csw2-tracker-header { display: none; }
    .csw2-tracker-row {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-rows: auto auto auto !important;
        padding: 12px 15px !important; gap: 4px 10px !important; align-items: start;
    }
    .csw2-tc-col-pitcher { grid-column: 1; grid-row: 1; }
    .csw2-tc-col-status  { grid-column: 2; grid-row: 1; justify-self: end; }
    .csw2-tc-col-pick    { grid-column: 1; grid-row: 2; }
    .csw2-tc-col-ks      { grid-column: 2; grid-row: 2; justify-self: end; }
    .csw2-tc-col-line    { display: none; }
    .csw2-tc-col-pace    { grid-column: 1; grid-row: 3; font-size: 11px; }
    .csw2-tc-col-result  { grid-column: 2; grid-row: 3; justify-self: end; }
    .csw2-tc-avatar { display: none; }
    .csw2-tc-name   { font-size: 13.5px; }
    .csw2-k-num     { font-size: 22px; }

    .csw2-results-header { display: none; }
    .csw2-results-row {
        grid-template-columns: minmax(0,1fr) 60px 70px !important;
        padding: 10px 15px !important; gap: 8px !important;
    }
    .csw2-results-row > div:nth-child(4) { display: none; }
    .csw2-rs-num  { font-size: 24px; }
    .csw2-rs-stat { padding: 14px 8px; }
}

@media (max-width: 400px) {
    .csw2-title { font-size: 15px; }
    .csw2-date  { display: none; }
    .csw2-wrap .csw2-tab { padding: 9px 9px !important; font-size: 11.5px !important; }
}
