/* ============================================================
   SheetSync Match Preview  (ssm-)
   ============================================================ */
.ssm-wrap {
    font-family: inherit;
    color: #e2e8f0;
    background: transparent;
    max-width: 960px;
    margin: 0 auto;
}

/* Header */
.ssm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 16px 8px;
    text-align: center;
}
.ssm-header .ssm-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
    font-weight: 600;
}
.ssm-logo { width: 56px; height: 56px; object-fit: contain; }
.ssm-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.ssm-match-title {
    font-size: 1.25em;
    font-weight: 700;
    color: #fff;
}
.ssm-date { font-size: .85em; opacity: .7; }

/* Titles */
.ssm-section-title {
    text-align: center;
    font-size: 1.4em;
    font-weight: 700;
    color: #fff;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.ssm-subsection {
    text-align: center;
    font-size: 1em;
    font-weight: 600;
    color: #94a3b8;
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Two-column layout */
.ssm-two-col {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 8px;
}
.ssm-two-col .ssm-card { flex: 1; }
.ssm-arrow {
    display: flex;
    align-items: center;
    padding-top: 36px;
    color: #4a90d9;
    font-size: 1.2em;
    flex-shrink: 0;
}

/* Cards */
.ssm-card {
    background: #1a2233;
    border: 1px solid rgba(74,144,217,.25);
    border-radius: 10px;
    padding: 16px;
}

/* Team label inside card */
.ssm-team-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: .9em;
    color: #93c5fd;
}
.ssm-card-logo { width: 22px; height: 22px; object-fit: contain; }

/* Bullet list */
.ssm-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ssm-bullets li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: .88em;
    line-height: 1.5;
    color: #cbd5e1;
}
.ssm-bullets li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #4a90d9;
    font-size: .6em;
    top: 4px;
}

/* Prediction cards */
.ssm-pred-score p { margin: 8px 0 0; font-size: .95em; color: #e2e8f0; }
.ssm-pred-prob ul { list-style: none; padding: 0; margin: 8px 0 0; }
.ssm-pred-prob li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88em;
    margin-bottom: 5px;
    color: #e2e8f0;
}
.ssm-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.ssm-dot-home  { background: #3b82f6; }
.ssm-dot-draw  { background: #94a3b8; }
.ssm-dot-away  { background: #f59e0b; }

/* Community */
.ssm-community {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.ssm-community-card {
    flex: 1 1 200px;
    background: #1a2233;
    border: 1px solid rgba(74,144,217,.3);
    border-radius: 10px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ssm-crown { font-size: 1.4em; }
.ssm-predictor-rank { font-size: .8em; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; }
.ssm-predictor-match { font-size: .9em; font-weight: 600; color: #e2e8f0; }
.ssm-predictor-name { font-size: .8em; color: #94a3b8; }
.ssm-accuracy {
    display: inline-block;
    background: rgba(74,144,217,.2);
    color: #60a5fa;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: .78em;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 600px) {
    .ssm-two-col { flex-direction: column; }
    .ssm-arrow { display: none; }
    .ssm-community { flex-direction: column; }
    .ssm-header { flex-direction: column; }
}

/* ============================================================
   SheetSync Schedule Table  (sss-)
   ============================================================ */
.sss-wrap { overflow-x: auto; }

.sss-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9em;
    color: #e2e8f0;
}
.sss-table thead th {
    text-align: left;
    padding: 12px 16px;
    font-size: .75em;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.sss-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .15s;
}
.sss-table tbody tr:hover { background: rgba(74,144,217,.06); }
.sss-table td { padding: 14px 16px; vertical-align: middle; }

.sss-date { color: #94a3b8; font-size: .85em; white-space: nowrap; }
.sss-match {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.sss-logo { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.sss-vs {
    padding: 2px 8px;
    background: rgba(255,255,255,.07);
    border-radius: 4px;
    font-size: .78em;
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
}
.sss-time { color: #94a3b8; white-space: nowrap; }
.sss-pred-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: .88em;
    white-space: nowrap;
    transition: color .15s;
}
.sss-pred-link:hover { color: #93c5fd; text-decoration: underline; }
.sss-pred-empty { color: #475569; font-size: .85em; }

@media (max-width: 600px) {
    .sss-table thead { display: none; }
    .sss-table td {
        display: block;
        padding: 6px 12px;
    }
    .sss-table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 8px;
        padding: 8px 0;
    }
    .sss-match { flex-wrap: wrap; }
}
