/* ═══ Verejná stránka Košickych Masiek ═══ */
body { background: var(--bg); }

/* Atmosférické pozadie — fixné, s tmavým prekrytím kvôli čitateľnosti obsahu */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-image:
        linear-gradient(180deg, rgba(11,15,20,.78) 0%, rgba(11,15,20,.90) 44%, rgba(11,15,20,.975) 100%),
        url("../assets/img/bg-arena.jpg");
    background-image:
        linear-gradient(180deg, rgba(11,15,20,.78) 0%, rgba(11,15,20,.90) 44%, rgba(11,15,20,.975) 100%),
        image-set(url("../assets/img/bg-arena.webp") type("image/webp"), url("../assets/img/bg-arena.jpg") type("image/jpeg"));
}
@media (max-width: 860px) {
    body::before {
        background-image:
            linear-gradient(180deg, rgba(11,15,20,.80), rgba(11,15,20,.93) 48%, rgba(11,15,20,.98)),
            url("../assets/img/bg-arena-mobile.webp");
    }
}

.pub-header {
    border-bottom: 1px solid var(--border);
    background: rgba(14,20,26,.9); backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 20;
}
.pub-header__inner {
    max-width: 1120px; margin: 0 auto; position: relative;
    display: flex; align-items: center; gap: 18px;
    padding: 12px 22px;
}
.pub-header__brand { display: flex; align-items: center; gap: 12px; color: inherit; flex: none; }
.pub-header__brand img { width: 40px; height: 40px; }
.pub-header__name { font-family: var(--font-head); font-size: 19px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-strong); white-space: nowrap; }

.pub-nav { margin-left: auto; display: flex; gap: 2px; }
.pub-nav a {
    padding: 8px 13px; border-radius: var(--r-md);
    font-size: 13.5px; font-weight: 600; color: var(--text-2);
    white-space: nowrap;
}
.pub-nav a:hover { color: var(--text); background: var(--surface-2); }
.pub-nav a.is-active { color: var(--accent); background: var(--tint-accent); }

.pub-header__burger {
    display: none; margin-left: auto;
    width: 40px; height: 40px; align-items: center; justify-content: center;
    background: var(--surface-2); border: 1px solid var(--border-strong);
    border-radius: var(--r-md); color: var(--text-2); cursor: pointer;
}

@media (max-width: 900px) {
    .pub-header__burger { display: flex; }
    .pub-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; gap: 0; margin: 0;
        background: var(--bg-sidebar); border-bottom: 1px solid var(--border);
        padding: 8px; display: none;
    }
    .pub-nav.is-open { display: flex; }
    .pub-nav a { padding: 12px 14px; border-radius: var(--r-sm); }
}

.pub-main { max-width: 1120px; margin: 0 auto; padding: 26px 22px 48px; display: flex; flex-direction: column; gap: 22px; }

/* Hero — sedí na atmosférickom pozadí, len jemný spodný závoj */
.pub-hero {
    border-radius: var(--r-xl);
    padding: 30px 32px 44px;
    margin-top: 4px;
    background:
        radial-gradient(90% 120% at 50% 118%, rgba(11,15,20,.55), transparent 70%),
        radial-gradient(120% 140% at 82% -10%, rgba(245,130,43,.10), transparent 55%);
    text-align: center;
}
.pub-hero img { width: 88px; margin: 0 auto 14px; filter: drop-shadow(0 6px 20px rgba(0,0,0,.55)); }
.pub-hero h1 { font-size: 52px; letter-spacing: .02em; text-shadow: 0 2px 24px rgba(0,0,0,.7); }
.pub-hero p { color: var(--text-2); margin-top: 10px; font-size: 15px; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.pub-hero__slogan { margin-top: 18px; font-family: var(--font-head); font-style: italic; font-size: 20px; color: var(--accent); text-shadow: 0 1px 12px rgba(0,0,0,.6); }

/* Nadpisy sekcií sedia priamo na pozadí — jemný tieň pre čitateľnosť */
.pub-section > h2 { text-shadow: 0 1px 14px rgba(0,0,0,.55); }

/* Sekcie */
.pub-section h2 {
    font-size: 26px; text-transform: uppercase; letter-spacing: .04em;
    margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px;
}
.pub-section h2 a { font-size: 12px; font-weight: 600; color: var(--text-dim); letter-spacing: 0; text-transform: none; }

.pub-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pub-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }

/* Zápas riadok */
.match-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border-soft); }
.match-row:first-child { border-top: none; }
.match-row .rb { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; flex: none; }
.rb--V { background: var(--tint-success); color: var(--success); }
.rb--P { background: var(--tint-danger); color: var(--danger); }
.rb--R { background: var(--tint-info); color: var(--info); }
.match-row .opp { font-family: var(--font-head); font-size: 17px; }
.match-row .meta { font-size: 12px; color: var(--text-dim); }
.match-row .sc { margin-left: auto; font-family: var(--font-head); font-weight: 700; font-size: 24px; }

/* Karta hráča (verejná) */
.pplayer {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; text-align: center;
}
.pplayer__photo { aspect-ratio: 1/1; background: var(--surface-3); position: relative; }
.pplayer__photo img { width: 100%; height: 100%; object-fit: cover; }
.pplayer__num {
    position: absolute; left: 10px; top: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--accent);
    text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.pplayer__num--big { position: static; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 46px; }
.pplayer__body { padding: 12px; }
.pplayer__name { font-weight: 700; font-size: 14.5px; }
.pplayer__pos { font-size: 11.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.pplayer__stats { display: flex; justify-content: center; gap: 12px; margin-top: 8px; font-size: 12px; }
.pplayer__stats b { font-family: var(--font-head); display: block; font-size: 16px; }

.pos-head { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); font-size: 13px; margin: 8px 0 2px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 14px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; text-align: center; }
.stat-card b { font-family: var(--font-head); font-size: 32px; display: block; }
.stat-card small { color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

/* Logo súpera */
.opp-logo { width: 34px; height: 34px; object-fit: contain; flex: none; background: var(--surface-3); border-radius: 8px; padding: 3px; }
.opp-logo--sm { width: 24px; height: 24px; }
.opp-logo--lg { width: 64px; height: 64px; border-radius: 12px; padding: 6px; }
.match-row .opp-logo { margin-right: 4px; }

/* Top produktívni hráči */
.top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.top3__card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 16px; display: flex; align-items: center; gap: 14px; position: relative; overflow: hidden;
}
.top3__card:first-child { border-color: rgba(245,130,43,.4); }
.top3__rank {
    position: absolute; top: 8px; right: 12px;
    font-family: var(--font-head); font-size: 34px; font-weight: 700;
    color: var(--surface-3); line-height: 1;
}
.top3__card:first-child .top3__rank { color: rgba(245,130,43,.25); }
.top3__photo {
    width: 56px; height: 56px; flex: none; border-radius: 12px; object-fit: cover;
    background: var(--surface-3);
}
.top3__photo--ph { display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 20px; color: var(--accent); }
.top3__name { font-weight: 700; font-size: 14.5px; }
.top3__line { display: flex; gap: 12px; margin-top: 4px; font-size: 12px; color: var(--text-dim); }
.top3__line b { font-family: var(--font-head); font-size: 15px; color: var(--text); display: block; }
.top3__line .pts b { color: var(--accent); }

@media (max-width: 720px) {
    .top3 { grid-template-columns: 1fr; }
}

/* ── Najbližší zápas (veľká karta) ── */
.nextgame {
    border-radius: var(--r-xl);
    padding: 30px 24px 26px;
    background:
        radial-gradient(90% 120% at 50% -10%, rgba(245,130,43,.16), transparent 60%),
        linear-gradient(160deg,#161d27,#0c1117);
    border: 1px solid rgba(245,130,43,.28);
    text-align: center;
}
.nextgame__when {
    font-family: var(--font-head); font-size: 13px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.nextgame__row {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
    max-width: 560px; margin: 0 auto;
}
.nextgame__team { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nextgame__team img, .nextgame__team .ph {
    width: 76px; height: 76px; object-fit: contain; border-radius: 16px;
    background: var(--surface-2); padding: 8px;
    border: 1px solid var(--border);
}
.nextgame__team .name {
    font-family: var(--font-head); font-size: 17px; text-transform: uppercase; letter-spacing: .04em;
    color: var(--text-strong);
}
.nextgame__vs {
    font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text-dim);
}
.nextgame__meta { margin-top: 20px; color: var(--text-muted); font-size: 13.5px; }
.nextgame__time {
    font-family: var(--font-head); font-size: 24px; color: var(--text-strong); margin-top: 2px;
}

/* ── Rozpis (fixture list) ── */
.fixtures { display: flex; flex-direction: column; }
.fixture {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 4px;
    border-top: 1px solid var(--border-soft);
    color: inherit;
}
.fixtures > .fixture:first-child { border-top: none; }
.fixture:hover { background: var(--surface-2); }
.fixture__date {
    flex: none; width: 46px; text-align: center; line-height: 1.05;
}
.fixture__date .d { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--text-strong); }
.fixture__date .m { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); }
.fixture__logo { width: 30px; height: 30px; flex: none; object-fit: contain; border-radius: 8px; background: var(--surface-3); padding: 3px; }
.fixture__body { flex: 1; min-width: 0; }
.fixture__opp { font-weight: 700; font-size: 14px; }
.fixture__sub { font-size: 11.5px; color: var(--text-dim); }
.fixture__right { flex: none; text-align: right; }
.fixture__time { font-family: var(--font-head); font-size: 15px; color: var(--text-2); }
.fixture__score { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.fixture__ha { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }

/* ── Štatistická tabuľka ── */
.stat-table-wrap { border: 1px solid var(--border); border-radius: var(--r-lg); overflow-x: auto; }
.stat-table { width: 100%; min-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stat-table thead th {
    position: sticky; top: 0;
    background: var(--surface-2);
    font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-dim); text-align: right;
    padding: 11px 14px;
}
.stat-table thead th:nth-child(-n+2) { text-align: left; }
.stat-table tbody td { padding: 11px 14px; border-top: 1px solid var(--border-soft); text-align: right; }
.stat-table tbody td:nth-child(-n+2) { text-align: left; }
.stat-table tbody tr:hover { background: var(--surface-2); }
.stat-table__rank { color: var(--text-dim); font-family: var(--font-head); font-size: 15px; width: 40px; }
.stat-table__player { font-weight: 700; font-size: 13.5px; }
.stat-table__player small { color: var(--text-dim); font-weight: 500; margin-left: 6px; font-size: 11px; }
.stat-table__num { font-family: var(--font-head); font-size: 15px; }
.stat-table__pts { color: var(--accent); font-weight: 700; }
.stat-table tbody tr:nth-child(1) .stat-table__rank { color: #F5B042; }
.stat-table tbody tr:nth-child(2) .stat-table__rank { color: #C7CDD6; }
.stat-table tbody tr:nth-child(3) .stat-table__rank { color: #CD7F45; }
.stat-table tbody tr:nth-child(-n+3) td { background: rgba(245,130,43,.045); }

/* ── News feed ── */
.gameday-banner {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    background: linear-gradient(90deg, rgba(245,130,43,.18), rgba(245,130,43,.04));
    border: 1px solid rgba(245,130,43,.4); border-radius: var(--r-lg);
    padding: 14px 18px; margin-bottom: 4px;
}
.gameday-banner__tag { font-family: var(--font-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.gameday-banner__txt { font-weight: 700; font-size: 14.5px; }
.gameday-banner__sub { font-size: 12px; color: var(--text-muted); }

.feed { display: flex; flex-direction: column; }
.feed-item {
    display: flex; gap: 14px; padding: 14px 4px;
    border-top: 1px solid var(--border-soft); color: inherit;
}
.feed > .feed-item:first-child { border-top: none; }
.feed-item__title a { color: inherit; }
.feed-item__title a:hover { color: var(--accent); }
.feed-item__icon {
    width: 34px; height: 34px; flex: none; border-radius: 10px;
    background: var(--surface-3); display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.feed-item--breaking .feed-item__icon { background: var(--tint-danger); }
.feed-item--high .feed-item__icon { background: var(--tint-accent); }
.feed-item__body { flex: 1; min-width: 0; }
.feed-item__head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.feed-item__time { font-size: 11.5px; color: var(--text-dim); }
.feed-item__tag {
    font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 2px 6px; border-radius: 20px; background: var(--tint-danger); color: var(--danger);
}
.feed-item__tag--pin { background: var(--tint-accent); color: var(--accent); }
.feed-item__title { font-weight: 700; font-size: 14px; }
.feed-item--breaking .feed-item__title { color: var(--accent); }
.feed-item__text { font-size: 12.5px; color: var(--text-2); margin-top: 3px; }
.feed-item__graphic {
    display: block; position: relative; margin-top: 10px; max-width: 300px;
    border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
}
.feed-item__graphic img { display: block; width: 100%; height: auto; }
.feed-item__graphic-hint {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 8px 10px; font-size: 11px; font-weight: 600; color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    opacity: 0; transition: opacity .15s;
}
.feed-item__graphic:hover .feed-item__graphic-hint { opacity: 1; }

/* ── AI Novinky ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: stretch; }
.news-card {
    display: flex; flex-direction: column; height: 100%; color: inherit;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
    transition: border-color .15s, transform .15s;
}
.news-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.news-card__img { aspect-ratio: 4 / 5; background: #0b0f14; overflow: hidden; flex-shrink: 0; }
.news-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.news-card__body { padding: 14px 16px 16px; flex: 1 1 auto; }
.news-card__date { font-size: 11px; color: var(--text-dim); letter-spacing: .04em; text-transform: uppercase; }
.news-card__title { font-family: var(--font-head); font-size: 18px; line-height: 1.2; margin-top: 5px; }
.news-card__perex { font-size: 12.5px; color: var(--text-2); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.news-article { max-width: 760px; margin: 0 auto; }
.news-article__date { font-size: 12px; color: var(--text-dim); letter-spacing: .05em; text-transform: uppercase; margin-top: 12px; }
.news-article__title { font-size: 34px; line-height: 1.15; margin-top: 6px; }
.news-article__perex { font-size: 16px; color: var(--text-2); margin-top: 12px; font-weight: 500; }
.news-article__cover { margin: 20px 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.news-article__cover img { width: 100%; display: block; }
.news-body { font-size: 15px; line-height: 1.75; color: var(--text); }
.news-body p { margin: 0 0 14px; }
.news-body h3, .news-body h4 { font-family: var(--font-head); margin: 22px 0 8px; font-size: 20px; }
.news-body ul, .news-body ol { margin: 0 0 14px; padding-left: 22px; }
.news-body li { margin-bottom: 5px; }
.news-body strong { color: var(--text-strong); }

.pub-footer { text-align: center; padding: 28px; color: var(--text-dim); font-size: 12px; border-top: 1px solid var(--border); }

@media (max-width: 760px) {
    .pub-hero h1 { font-size: 38px; }
    .pub-grid-2 { grid-template-columns: 1fr; }
    .pub-nav { width: 100%; margin: 8px 0 0; overflow-x: auto; }
}

/* ═══ Náhľad zápasu (/zapas/{id}) ═══ */
.mp-hero { padding: 22px 20px; }
.mp-hero__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.mp-hero__team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.mp-hero__team img, .mp-hero__ph { width: 66px; height: 66px; object-fit: contain; }
.mp-hero__ph { display: block; border-radius: 50%; background: var(--surface-2); }
.mp-hero__team span { font-family: var(--font-head); font-size: 15px; line-height: 1.15; text-transform: uppercase; }
.mp-hero__team em { font-style: normal; font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); }
.mp-hero__mid { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 92px; }
.mp-hero__score { font-family: var(--font-head); font-size: 44px; font-weight: 700; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.mp-hero__score span { color: var(--accent); }
.mp-hero__vs { font-family: var(--font-head); font-size: 30px; color: var(--accent); font-style: italic; }
.mp-hero__tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); text-transform: uppercase; letter-spacing: .03em; }
.mp-hero__tag--w { background: rgba(55,214,122,.15); border-color: rgba(55,214,122,.4); color: var(--success); }
.mp-hero__tag--l { background: rgba(255,90,90,.14); border-color: rgba(255,90,90,.4); color: var(--danger); }
.mp-hero__tag--d { background: rgba(74,163,255,.14); border-color: rgba(74,163,255,.4); color: var(--info); }
.mp-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 14px; font-size: 12.5px; color: var(--text-dim); }
.mp-block { margin-top: 14px; }

.fdot { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.fdot.is-w, .fdot-inline.is-w { background: rgba(55,214,122,.16); color: var(--success); }
.fdot.is-l, .fdot-inline.is-l { background: rgba(255,90,90,.16); color: var(--danger); }
.fdot.is-d, .fdot-inline.is-d { background: rgba(74,163,255,.16); color: var(--info); }
.mp-form { display: grid; gap: 14px; }
.mp-form__lbl { font-family: var(--font-head); font-size: 13px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.mp-form__dots { display: flex; gap: 5px; flex-wrap: wrap; }

.mp-timeline { display: flex; flex-direction: column; gap: 2px; }
.mp-tl__row { display: grid; grid-template-columns: 46px 44px 1fr; gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 8px; font-size: 13.5px; }
.mp-tl__row.is-ours { background: rgba(245,130,43,.08); }
.mp-tl__time { color: var(--text-dim); font-size: 12px; }
.mp-tl__run { font-family: var(--font-head); color: var(--accent); }
.mp-periods { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-dim); }

.mp-h2h__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 4px 0 16px; }
.mp-h2h__side { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.mp-h2h__side img { width: 52px; height: 52px; object-fit: contain; }
.mp-h2h__side span { font-family: var(--font-head); font-size: 13px; text-transform: uppercase; line-height: 1.1; }
.mp-h2h__big { display: flex; gap: 18px; }
.mp-h2h__big div { text-align: center; }
.mp-h2h__big b { font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; display: block; }
.mp-h2h__big b.is-w { color: var(--success); } .mp-h2h__big b.is-l { color: var(--danger); }
.mp-h2h__big small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }

.mp-h2h__bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.mp-h2h__bar span.is-w { background: var(--success); } .mp-h2h__bar span.is-d { background: var(--text-dim); } .mp-h2h__bar span.is-l { background: var(--danger); }
.mp-h2h__barlbl { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; color: var(--text-dim); }
.mp-h2h__barlbl .is-w { color: var(--success); font-weight: 700; } .mp-h2h__barlbl .is-l { color: var(--danger); font-weight: 700; }

.mp-h2h__summary { font-size: 13.5px; line-height: 1.6; color: var(--text-2); margin: 14px 0 12px; }
.mp-h2h__summary strong { color: var(--text); }
.mp-h2h__form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }

.mp-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.mp-chip { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 6px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: inherit; }
.mp-chip:hover { border-color: var(--accent); }
.mp-chip.is-w { border-top: 3px solid var(--success); } .mp-chip.is-l { border-top: 3px solid var(--danger); } .mp-chip.is-d { border-top: 3px solid var(--info); }
.mp-chip__r { font-family: var(--font-head); font-weight: 700; font-size: 12px; }
.mp-chip.is-w .mp-chip__r { color: var(--success); } .mp-chip.is-l .mp-chip__r { color: var(--danger); } .mp-chip.is-d .mp-chip__r { color: var(--info); }
.mp-chip__s { font-family: var(--font-head); font-size: 19px; font-weight: 700; }
.mp-chip__s i { font-size: 10px; font-style: normal; color: var(--text-dim); vertical-align: super; }
.mp-chip__d { font-size: 10px; color: var(--text-dim); text-align: center; }

.mp-h2h__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin-top: 16px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.mp-h2h__stats div { background: var(--surface); padding: 10px 12px; }
.mp-h2h__stats small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); margin-bottom: 3px; }
.mp-h2h__stats b { font-family: var(--font-head); font-size: 15px; }
.mp-h2h__stats b.is-w { color: var(--success); } .mp-h2h__stats b.is-l { color: var(--danger); }

@media (max-width: 560px) {
    .mp-h2h__head { grid-template-columns: 1fr; }
    .mp-h2h__big b { font-size: 34px; }
}

/* Tabuľka ligy — hokejový štýl */
.mp-tab { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mp-tab thead th {
    padding: 8px 6px; text-align: center; font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim);
    border-bottom: 2px solid var(--border-strong, var(--border));
}
.mp-tab tbody td { padding: 9px 6px; text-align: center; font-size: 13px; border-bottom: 1px solid var(--border-soft, var(--border)); }
.mp-tab tbody tr:hover td { background: rgba(255,255,255,.03); }
.mp-tab__pos { width: 26px; color: var(--text-dim); font-size: 12px; }
.mp-tab__team { text-align: left !important; }
.mp-tab__team { display: flex; align-items: center; gap: 9px; }
.mp-tab__team img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.mp-tab__team span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-tab__gd { color: var(--text-dim); font-size: 12px; }
.mp-tab__pm.is-pos { color: var(--success); } .mp-tab__pm.is-neg { color: var(--danger); }
.mp-tab__pts { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.mp-tab thead .mp-tab__pts, .mp-tab tbody .mp-tab__pts { background: rgba(245,130,43,.07); }

.mp-tab tr.is-us td { background: rgba(245,130,43,.16); }
.mp-tab tr.is-us .mp-tab__team span { color: var(--accent); font-weight: 800; }
.mp-tab tr.is-us td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.mp-tab tr.is-opp td { background: rgba(120,170,255,.10); }
.mp-tab tr.is-opp .mp-tab__team span { font-weight: 800; }

.mp-tab__cut td {
    padding: 2px 6px !important; border: none !important;
    border-top: 2px solid var(--accent) !important;
    background: rgba(245,130,43,.06);
}
.mp-tab__cut span {
    font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: var(--accent); display: block; text-align: left;
}

@media (max-width: 600px) {
    .mp-tab__ot, .mp-tab__gd { display: none; }
    .mp-tab tbody td, .mp-tab thead th { padding: 8px 4px; font-size: 12px; }
    .mp-tab__team img { width: 18px; height: 18px; }
}

.mp-scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mp-sc__row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--border); font-size: 13px; }

@media (max-width: 620px) {
    .mp-hero__score { font-size: 36px; }
    .mp-scorers { grid-template-columns: 1fr; }
    .mp-hero__team span { font-size: 13px; }
}
