/* =====================================================================
   SONGKHLA FC — HOMEPAGE  "SOUTHERN STEEL"
   ต่อยอดจาก app.css เท่านั้น — ห้ามฮาร์ดโค้ดสี ใช้โทเคนทั้งหมด
   จังหวะหน้า: ดำ(hero) → กระดาษเปิดโล่ง → ขาวแน่น → ดำโปร่ง → กระดาษ → ขาว
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. ของใช้ร่วม
   --------------------------------------------------------------------- */
/* a11y: ข้อความสำหรับโปรแกรมอ่านหน้าจอเท่านั้น (ซ่อนจากสายตา) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.empty-note { grid-column: 1 / -1; }

/* รูปสำรองเมื่อไม่มีภาพ/โลโก้ */
.media-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ink-700) 0%, var(--ink-900) 100%);
}
.media-fallback img {
    width: 42%;
    max-width: 110px;
    height: auto;
    opacity: .3;
    filter: grayscale(1);
}

/* โลโก้ทีมที่ไม่มีไฟล์จริง → ขาวดำจาง */
.is-fallback img { filter: grayscale(1); opacity: .42; }


/* =====================================================================
   1. HERO — NEXT MATCH
   ===================================================================== */
.hero-match {
    position: relative;
    background: var(--ink-900);
    color: var(--bone);
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 116px);
    /* ขอบล่างตัดเฉียง — ใบมีดของหน้าเว็บ */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 52px));
}
/* บรรยากาศแดง + ลายเส้นเฉียงบาง ๆ */
.hero-match::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(62% 74% at 4% -12%, rgba(215, 0, 15, .34) 0%, transparent 60%),
        radial-gradient(54% 64% at 100% 116%, rgba(126, 0, 9, .48) 0%, transparent 58%),
        repeating-linear-gradient(114deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 11px);
}
.hero-match > .container { position: relative; z-index: 2; }

/* ตราวันแข่งขนาดยักษ์เป็นลายน้ำ */
.hm-stamp {
    position: absolute;
    right: -.05em;
    bottom: -.30em;
    z-index: 1;
    font-size: clamp(7rem, 24vw, 20rem);
    line-height: .78;
    letter-spacing: -.04em;
    color: rgba(255, 255, 255, .04);
    pointer-events: none;
    user-select: none;
}

.hm-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: clamp(32px, 4vw, 68px);
    align-items: center;
}

/* --- หัวเรื่องนัด --- */
.hm-head {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
    margin-bottom: clamp(24px, 3vw, 44px);
}
.hm-kicker {
    background: var(--red);
    color: var(--paper-2);
    padding: 7px 13px 6px;
}
.hm-comp {
    color: var(--gold-soft);
    padding: 7px 13px 6px;
    border: 1px solid rgba(201, 162, 39, .42);
}

/* --- คู่แข่งขัน --- */
.hm-fixture {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(10px, 2.5vw, 40px);
}
.hm-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-3);
    min-width: 0;
}
.hm-crest {
    position: relative;
    width: clamp(78px, 11vw, 142px);
    height: clamp(78px, 11vw, 142px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.4vw, 18px);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius);
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
/* มุมแดงเฉียงบนตราทีม */
.hm-crest::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 14px;
    height: 14px;
    background: var(--red);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.hm-crest img { max-width: 100%; max-height: 100%; object-fit: contain; }

.hm-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.0625rem, 1.7vw, 1.5rem);
    line-height: 1.15;
    letter-spacing: var(--track-tight);
    color: var(--paper-2);
    overflow-wrap: anywhere;
}
.hm-name-en { color: var(--ink-300); }

.hm-center { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.hm-vs {
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: .82;
    letter-spacing: -.02em;
    color: rgba(255, 255, 255, .12);
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .42);
}
.hm-kick {
    font-size: clamp(1.25rem, 2.4vw, 1.875rem);
    line-height: 1;
    color: var(--red-hot);
    letter-spacing: .02em;
}

.hm-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-3) var(--sp-6);
    margin-top: clamp(24px, 3vw, 44px);
    padding-top: var(--sp-4);
    border-top: var(--rule-dark);
}
.hm-meta li { position: relative; padding-left: 15px; color: var(--ink-300); }
.hm-meta li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .34em;
    width: 6px;
    height: 6px;
    background: var(--red);
}

/* --- แผงนับถอยหลัง --- */
.hm-side {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    padding-left: clamp(20px, 2.5vw, 40px);
    border-left: 2px solid var(--red);
}
.hm-side-label { color: var(--ink-300); }

.cd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-2); }
.cd-box {
    background: rgba(255, 255, 255, .045);
    border-top: 2px solid rgba(255, 255, 255, .22);
    padding: var(--sp-3) var(--sp-1) var(--sp-2);
    text-align: center;
    transition: border-color .3s var(--ease);
}
.cd-box:first-child { border-top-color: var(--red); }
.cd-box strong {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1;
    color: var(--paper-2);
}
.cd-box small { display: block; margin-top: var(--sp-2); color: var(--ink-400); }

.hm-cta { width: 100%; }
.hm-side-link {
    align-self: flex-start;
    color: var(--ink-300);
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color .22s var(--ease), border-color .22s var(--ease);
}
.hm-side-link:hover { color: var(--red-hot); border-bottom-color: currentColor; }

/* --- ไม่มีนัดถัดไป --- */
.hm-empty {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.hm-empty-text {
    margin-top: var(--sp-4);
    font-family: var(--font-head);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: var(--track-tight);
    color: var(--paper-2);
}


/* =====================================================================
   2. NEWS — 7 : 5 ไม่สมมาตร
   ===================================================================== */
.news-stage { background: var(--paper); }

.news-split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

/* --- ข่าวเด่นชิ้นใหญ่ --- */
.lead-story {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--ink-900);
    border-radius: 0;
}
.lead-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}
.lead-story:hover .lead-media img { transform: scale(1.05); }

/* ใบมีดแดงกวาดขอบล่าง */
.lead-story::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease-out);
    z-index: 3;
}
.lead-story:hover::after { transform: scaleX(1); }

.lead-body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: clamp(56px, 9vw, 104px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 36px);
    background: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, .72) 46%, rgba(10, 10, 12, .95) 100%);
    color: var(--paper-2);
}
.badge-cat.is-static { position: static; display: inline-block; margin-bottom: var(--sp-3); }
.lead-body h3 {
    font-size: clamp(1.375rem, 2.6vw, 2.125rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: var(--track-tight);
    color: var(--paper-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lead-body p {
    margin-top: var(--sp-3);
    font-size: var(--fs-sm);
    color: var(--ink-300);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lead-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin-top: var(--sp-4);
    padding-top: var(--sp-3);
    border-top: var(--rule-dark);
    color: var(--ink-300);
}
.lead-meta em { font-style: normal; color: var(--red-hot); margin-left: auto; }

/* --- รางข่าวรอง --- */
.news-rail { display: flex; flex-direction: column; }
.rail-head {
    color: var(--ink-400);
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--ink-900);
}
.side-story {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4) 0;
    border-bottom: var(--rule);
    transition: padding-left .3s var(--ease);
}
/* ใบมีดแดงงอกจากซ้าย */
.side-story::before {
    content: '';
    position: absolute;
    left: 0;
    top: var(--sp-4);
    bottom: var(--sp-4);
    width: 2px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s var(--ease-out);
}
.side-story:hover { padding-left: var(--sp-4); }
.side-story:hover::before { transform: scaleY(1); }

.ss-text { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.ss-date { color: var(--red); }
.ss-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink-800);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s var(--ease);
}
.side-story:hover .ss-title { color: var(--red); }

.ss-thumb {
    position: relative;
    display: block;
    width: 104px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink-800);
}
.ss-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out);
}
.side-story:hover .ss-thumb img { transform: scale(1.09); }

.rail-more {
    align-self: flex-start;
    margin-top: var(--sp-5);
    color: var(--red);
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: border-color .22s var(--ease);
}
.rail-more:hover { border-bottom-color: currentColor; }


/* =====================================================================
   3. RESULTS — แน่น พื้นขาว สกอร์บอร์ดดำเป็นหมัดหนัก
   ===================================================================== */
.results-stage { background: var(--paper-2); }
.results-stage .section-title { margin-bottom: var(--sp-5); }

.results-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
}

/* --- สกอร์บอร์ด --- */
.scoreboard {
    position: relative;
    background: var(--ink-900);
    color: var(--bone);
    overflow: hidden;
}
.scoreboard::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(70% 90% at 50% 120%, rgba(215, 0, 15, .26) 0%, transparent 62%);
}
.scoreboard > * { position: relative; z-index: 1; }

.sb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    border-bottom: var(--rule-dark);
}
.sb-tag { background: var(--red); color: var(--paper-2); padding: 6px 11px 5px; }
.sb-comp { color: var(--ink-300); text-align: right; }

.sb-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-4);
    padding: clamp(24px, 3vw, 40px) var(--sp-5);
}
.sb-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-3);
    min-width: 0;
}
.sb-crest {
    width: clamp(52px, 6vw, 72px);
    height: clamp(52px, 6vw, 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    background: rgba(255, 255, 255, .05);
    border-radius: var(--radius);
}
.sb-crest img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sb-name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: var(--fs-sm);
    line-height: 1.3;
    color: var(--paper-2);
    overflow-wrap: anywhere;
}

.sb-score { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.sb-score strong {
    font-size: clamp(3.25rem, 9vw, 5.5rem);
    line-height: .86;
    letter-spacing: -.03em;
    color: var(--paper-2);
}
.sb-rule {
    display: block;
    width: 2px;
    height: clamp(38px, 7vw, 64px);
    background: var(--red);
    transform: skewX(-12deg);
}

.sb-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--sp-2) var(--sp-5);
    padding: var(--sp-3) var(--sp-5) var(--sp-4);
    border-top: var(--rule-dark);
    color: var(--ink-400);
}

/* --- ผลย้อนหลัง --- */
.result-list { display: flex; flex-direction: column; min-width: 0; }
.rl-head {
    color: var(--ink-400);
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--ink-900);
}
.result-row {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-2);
    border-bottom: var(--rule);
    transition: background .25s var(--ease);
}
.result-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transition: transform .3s var(--ease-out);
}
.result-row:hover { background: var(--paper); }
.result-row:hover::before { transform: scaleY(1); }

.rr-date { color: var(--ink-400); }
.rr-side { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.rr-home { justify-content: flex-end; text-align: right; }
.rr-away { justify-content: flex-start; }
.rr-name {
    font-size: var(--fs-sm);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rr-crest { flex: 0 0 24px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.rr-crest img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rr-score {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-size: 1.375rem;
    line-height: 1;
    color: var(--ink-900);
    white-space: nowrap;
}
.rr-score i { font-style: normal; color: var(--red); }


/* =====================================================================
   4. / 7. AD BANNERS
   ===================================================================== */
.ad-band { background: var(--paper-2); }
.ad-band-bottom { background: var(--paper); }
.ad-frame {
    display: block;
    position: relative;
    overflow: hidden;
    border-left: 3px solid var(--red);
    background: var(--paper-3);
}
.ad-frame img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    transition: transform .7s var(--ease-out), opacity .3s var(--ease);
}
a.ad-frame:hover img { transform: scale(1.02); opacity: .92; }


/* =====================================================================
   5. MEDIA CENTRE (dark)
   ===================================================================== */
.tabs-stage .section-title { margin-bottom: var(--sp-5); }

.tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-6);
    margin-bottom: var(--sp-7);
    border-bottom: var(--rule-dark);
}
.tab-btn {
    position: relative;
    background: none;
    border: 0;
    padding: 6px 8px var(--sp-4);
    cursor: pointer;
    color: var(--ink-400);
    transition: color .25s var(--ease);
}
.tab-btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .32s var(--ease-out);
}
.tab-btn:hover { color: var(--bone); }
.tab-btn.active { color: var(--paper-2); }
.tab-btn.active::after { transform: scaleX(1); }

.tab-panel { display: none; }
.tab-panel.active {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-5);
}
.tab-card {
    background: var(--ink-800);
    border: var(--rule-dark);
    color: var(--bone);
}
.tab-card:hover { border-color: rgba(255, 255, 255, .22); }
.tab-card .news-body h3 { color: var(--paper-2); }
.tab-card:hover .news-body h3 { color: var(--red-hot); }
.tab-card .news-date { color: var(--gold-soft); }

/* ป้ายเล่นวิดีโอ — แถบแดงมุมล่างซ้าย ไม่ใช่วงกลมกลางภาพ */
.play-icon {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 46px;
    height: 40px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width .35s var(--ease-out), background .25s var(--ease);
}
.play-icon::after {
    content: '';
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent var(--paper-2);
    margin-left: 3px;
}
.tab-card:hover .play-icon { width: 62px; background: var(--red-hot); }


/* =====================================================================
   6. STANDINGS + HONOURS
   ===================================================================== */
.standings-stage { background: var(--paper); }

.standings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}
.standings-col { min-width: 0; }

table.standings .rank-cell {
    font-size: 1.25rem;
    color: var(--ink-400);
}
table.standings tr.is-club .rank-cell { color: var(--red); }
table.standings .pts-cell {
    font-size: 1.375rem;
    color: var(--ink-900);
}
table.standings tr.is-club .pts-cell { color: var(--red); }
.st-crest { flex: 0 0 26px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.st-crest img { max-width: 100%; max-height: 100%; object-fit: contain; }
.table-note { margin-top: var(--sp-4); color: var(--ink-400); }


/* =====================================================================
   7. PARTNERS — พื้นดำ, โลโก้ลอยตรง ๆ ไม่มีกรอบ/การ์ด, กริดคงที่ 6 ต่อแถว จัดกึ่งกลาง
   ===================================================================== */
.partners-stage { background: var(--ink-900); }

.partner-row {
    --cols: 6;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--sp-5);
    padding: var(--sp-5) 0;
    border-bottom: var(--rule-dark);
}
.partner-row:last-child { border-bottom: 0; }

.partner-item {
    flex: 0 0 auto;
    width: calc((100% - (var(--cols) - 1) * var(--sp-5)) / var(--cols));
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform .35s var(--ease-out);
}
.partner-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.partner-item:hover { transform: translateY(-3px); }
.partner-item:hover img { filter: grayscale(0); opacity: 1; }

.tier-1 .partner-item img { max-height: 94px; }
.tier-2 .partner-item img { max-height: 73px; }
.tier-3 .partner-item img { max-height: 57px; }


/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
    .hm-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
    .hm-side {
        border-left: 0;
        border-top: 2px solid var(--red);
        padding-left: 0;
        padding-top: var(--sp-5);
    }
    .hm-cta { width: auto; align-self: flex-start; }
}

@media (max-width: 960px) {
    .hero-match { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 34px)); }

    .news-split { grid-template-columns: 1fr; gap: var(--sp-7); }
    .results-split { grid-template-columns: 1fr; gap: var(--sp-6); }
    .tab-panel.active { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .partner-row { --cols: 4; }
}

@media (max-width: 640px) {
    .hero-match {
        padding: var(--sp-6) 0 var(--sp-8);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 22px));
    }
    .hm-fixture { gap: var(--sp-2); }
    .hm-crest { width: 72px; height: 72px; padding: 9px; }
    .hm-name { font-size: .9375rem; }
    .hm-meta { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
    .cd-box { padding: var(--sp-2) 2px; }
    .cd-box small { font-size: .625rem; }

    .side-story { grid-template-columns: minmax(0, 1fr) 84px; gap: var(--sp-3); }
    .ss-thumb { width: 84px; }

    .sb-body { gap: var(--sp-2); padding: var(--sp-5) var(--sp-4); }
    .sb-head, .sb-foot { padding-left: var(--sp-4); padding-right: var(--sp-4); }

    .result-row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        row-gap: var(--sp-2);
    }
    .rr-date { grid-column: 1 / -1; }

    .tab-panel.active { grid-template-columns: 1fr; }
    .tab-bar { gap: var(--sp-5); }

    .partner-row { --cols: 3; gap: var(--sp-3); padding: var(--sp-4) 0; }
    .tier-1 .partner-item img { max-height: 73px; }
    .tier-2 .partner-item img { max-height: 60px; }
    .tier-3 .partner-item img { max-height: 49px; }
}

@media (max-width: 420px) {
    .hm-vs { -webkit-text-stroke-width: 1px; }
    .cd-box strong { font-size: 1.5rem; }
    .rr-score { font-size: 1.125rem; }

    .partner-row { --cols: 2; }
}

/* ป้ายบอกว่ากำลังแสดงตารางคะแนนของฤดูกาลที่แล้ว (ฤดูกาลใหม่ยังไม่เริ่มเตะ) */
.standings-season-note {
    margin: calc(var(--sp-7) * -1 + var(--sp-2)) 0 var(--sp-5);
    padding: var(--sp-3) var(--sp-4);
    color: var(--ink-500);
    background: var(--paper-2);
    border-left: 3px solid var(--red);
    line-height: 1.6;
}
