/* ═══════════════════════════════════════════════════════════════
   HesGoal — Modern Frontend Stylesheet (English - Strict LTR)
   ═══════════════════════════════════════════════════════════════ */

/* ── Default Variables (Dark Mode) ─────────────────────────── */
:root,
html.hesgoal-dark,
body.hesgoal-dark,
.hesgoal-wrap.hesgoal-dark,
.hesgoal-wrap[data-theme="dark"] {
    --hesgoal-accent:       #dc2626;
    --hesgoal-accent-dark:  #b91c1c;
    --hesgoal-accent-light: #ef4444;
    --hesgoal-font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Dark Mode Palette */
    --hesgoal-bg:           #0a0a0a;
    --hesgoal-bg2:          #111111;
    --hesgoal-surface:      #161616;
    --hesgoal-surface2:     #1c1c1c;
    --hesgoal-border:       #262626;
    --hesgoal-border-a:     rgba(220, 38, 38, 0.3);
    --hesgoal-text:         #f8fafc;
    --hesgoal-muted:        #94a3b8;
    --hesgoal-dim:          #64748b;
    --hesgoal-radius:       14px;
    --hesgoal-shadow:       0 8px 24px rgba(0, 0, 0, 0.5);
    --hesgoal-shadow-a:     0 8px 30px rgba(220, 38, 38, 0.25);
    --hesgoal-grad:         linear-gradient(135deg, var(--hesgoal-accent), var(--hesgoal-accent-dark));
}

/* ── Light Mode Palette (Full Override) ─────────────────────── */
html.hesgoal-light,
body.hesgoal-light,
.hesgoal-wrap.hesgoal-light,
.hesgoal-wrap[data-theme="light"] {
    --hesgoal-bg:           #f3f4f6 !important;
    --hesgoal-bg2:          #e5e7eb !important;
    --hesgoal-surface:      #ffffff !important;
    --hesgoal-surface2:     #f8fafc !important;
    --hesgoal-border:       #e2e8f0 !important;
    --hesgoal-border-a:     rgba(220, 38, 38, 0.35) !important;
    --hesgoal-text:         #0f172a !important;
    --hesgoal-muted:        #475569 !important;
    --hesgoal-dim:          #94a3b8 !important;
    --hesgoal-shadow:       0 4px 16px rgba(0, 0, 0, 0.08) !important;
    --hesgoal-shadow-a:     0 8px 25px rgba(220, 38, 38, 0.18) !important;
    --hesgoal-grad:         linear-gradient(135deg, var(--hesgoal-accent), var(--hesgoal-accent-dark));
}

/* ═══════════════════════════════════════════════════════════════
   STRICT FORCE LEFT-TO-RIGHT (LTR) — OVERRIDE ANY RTL THEME
   ═══════════════════════════════════════════════════════════════ */
html[dir="rtl"] .hesgoal-wrap,
html[dir="rtl"] .hesgoal-wrap *,
body[dir="rtl"] .hesgoal-wrap,
body[dir="rtl"] .hesgoal-wrap *,
body.rtl .hesgoal-wrap,
body.rtl .hesgoal-wrap *,
.hesgoal-wrap,
.hesgoal-wrap *,
.hesgoal-navbar,
.hesgoal-navbar *,
body.hesgoal-player-page,
body.hesgoal-player-page * {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: isolate !important;
    box-sizing: border-box !important;
}

/* ── Body on Player Page ────────────────────────────────────── */
body.hesgoal-player-page {
    background: var(--hesgoal-bg) !important;
    color: var(--hesgoal-text) !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--hesgoal-font);
    transition: background 0.3s ease, color 0.3s ease;
}

/* ── Main Shortcode Container ───────────────────────────────── */
.hesgoal-wrap {
    font-family: var(--hesgoal-font);
    color: var(--hesgoal-text);
    background: var(--hesgoal-bg);
    border: 1px solid var(--hesgoal-border);
    border-radius: 16px;
    padding: 22px;
    margin: 25px auto;
    max-width: 1240px;
    box-shadow: var(--hesgoal-shadow);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hesgoal-wrap a {
    text-decoration: none;
    color: inherit;
}

/* ── Topbar (Strict LTR: Brand on Left, Controls on Right) ──── */
.hesgoal-wrap .hesgoal-topbar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hesgoal-border);
    margin-bottom: 18px;
    gap: 12px;
    width: 100% !important;
}

.hesgoal-wrap .hesgoal-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    order: 1 !important;
    margin-right: auto !important;
    margin-left: 0 !important;
}

.hesgoal-wrap .hesgoal-logo-badge {
    order: 1 !important;
    width: 38px;
    height: 38px;
    background: var(--hesgoal-grad);
    border-radius: 10px;
    display: grid !important;
    place-items: center;
    color: #fff !important;
    font-size: 20px;
    font-weight: 900;
    box-shadow: var(--hesgoal-shadow-a);
    flex-shrink: 0;
    overflow: hidden;
}

.hesgoal-wrap .hesgoal-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hesgoal-wrap .hesgoal-brand-text {
    order: 2 !important;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--hesgoal-text) !important;
}

.hesgoal-wrap .hesgoal-pill-tag {
    order: 3 !important;
    background: rgba(220, 38, 38, 0.15) !important;
    color: var(--hesgoal-accent-light) !important;
    border: 1px solid var(--hesgoal-border-a) !important;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.hesgoal-wrap .hesgoal-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.hesgoal-wrap .hesgoal-filter-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    order: 1 !important;
}

.hesgoal-wrap .hesgoal-filter-btn {
    padding: 7px 14px;
    background: var(--hesgoal-surface);
    border: 1px solid var(--hesgoal-border);
    border-radius: 8px;
    color: var(--hesgoal-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.hesgoal-wrap .hesgoal-filter-btn:hover {
    color: var(--hesgoal-text);
    border-color: var(--hesgoal-dim);
}

.hesgoal-wrap .hesgoal-filter-btn.active {
    background: var(--hesgoal-accent) !important;
    color: #fff !important;
    border-color: var(--hesgoal-accent) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.hesgoal-wrap .hesgoal-ctrl-btn {
    height: 36px;
    padding: 0 14px;
    background: var(--hesgoal-surface);
    border: 1px solid var(--hesgoal-border);
    border-radius: 8px;
    color: var(--hesgoal-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    order: 2 !important;
    transition: all 0.2s ease;
}

.hesgoal-wrap .hesgoal-ctrl-btn:hover {
    border-color: var(--hesgoal-accent);
    color: var(--hesgoal-accent);
    background: var(--hesgoal-surface2);
}

.hesgoal-wrap .hesgoal-mode-icon {
    font-size: 16px;
}

.hesgoal-wrap .hesgoal-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: hesgoalblink 1.2s infinite;
}

@keyframes hesgoalblink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* ── Section Title Bar (Heading on Left, Meta on Right) ─────── */
.hesgoal-wrap .hesgoal-section-head {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    width: 100% !important;
}

.hesgoal-wrap .hesgoal-section-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    order: 1 !important;
    margin: 0 !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    font-size: clamp(17px, 2.5vw, 22px);
    font-weight: 800;
    color: var(--hesgoal-text) !important;
}

.hesgoal-wrap .hesgoal-accent-bar {
    order: 1 !important;
    width: 4px;
    height: 22px;
    background: var(--hesgoal-grad);
    border-radius: 2px;
    flex-shrink: 0;
}

.hesgoal-wrap .hesgoal-section-title span:not(.hesgoal-accent-bar) {
    order: 2 !important;
}

.hesgoal-wrap .hesgoal-meta {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    font-size: 12px;
    color: var(--hesgoal-muted);
}

/* ── Grid Layout ────────────────────────────────────────────── */
.hesgoal-matches-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
}

/* ── List Layout ────────────────────────────────────────────── */
.hesgoal-matches-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

.hesgoal-matches-list .hesgoal-card {
    flex-direction: row !important;
    align-items: stretch !important;
}

.hesgoal-matches-list .hesgoal-card-head {
    width: 170px !important;
    flex-shrink: 0;
    border-bottom: none !important;
    border-right: 1px solid var(--hesgoal-border) !important;
}

.hesgoal-matches-list .hesgoal-card-body {
    flex: 1 !important;
}

.hesgoal-matches-list .hesgoal-card-foot {
    width: 130px !important;
    flex-shrink: 0;
    border-top: none !important;
    border-left: 1px solid var(--hesgoal-border-a) !important;
}

/* ── Match Card ─────────────────────────────────────────────── */
.hesgoal-card {
    background: linear-gradient(180deg, var(--hesgoal-surface) 0%, var(--hesgoal-surface2) 100%) !important;
    border: 1px solid var(--hesgoal-border) !important;
    border-radius: var(--hesgoal-radius) !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s ease,
                box-shadow 0.25s ease !important;
}

.hesgoal-card:hover {
    transform: translateY(-4px);
    border-color: var(--hesgoal-border-a) !important;
    box-shadow: var(--hesgoal-shadow-a) !important;
}

.hesgoal-card--finished {
    opacity: 0.65;
}

/* ── Card Head: League on Left, Badge on Right ──────────────── */
.hesgoal-card-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.15) !important;
    border-bottom: 1px solid var(--hesgoal-border) !important;
}

html.hesgoal-light .hesgoal-card-head,
body.hesgoal-light .hesgoal-card-head,
.hesgoal-wrap[data-theme="light"] .hesgoal-card-head {
    background: rgba(0, 0, 0, 0.03) !important;
}

.hesgoal-league {
    order: 1 !important;
    margin-right: auto !important;
    min-width: 0;
}

.hesgoal-league-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--hesgoal-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.hesgoal-badge {
    order: 2 !important;
    margin-left: auto !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.hesgoal-badge--live {
    background: var(--hesgoal-accent) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.hesgoal-badge--not-started {
    background: rgba(220, 38, 38, 0.12) !important;
    color: var(--hesgoal-accent-light) !important;
    border: 1px solid var(--hesgoal-border-a) !important;
}

.hesgoal-badge--comming-soon {
    background: rgba(234, 179, 8, 0.15) !important;
    color: #eab308 !important;
    border: 1px solid rgba(234, 179, 8, 0.3) !important;
}

.hesgoal-badge--finished {
    background: rgba(115, 115, 115, 0.15) !important;
    color: var(--hesgoal-dim) !important;
    border: 1px solid var(--hesgoal-border) !important;
}

/* ── Card Body & Teams (Strict Grid LTR) ────────────────────── */
.hesgoal-card-body {
    padding: 18px 14px;
    flex: 1;
}

.hesgoal-teams {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 12px !important;
}

.hesgoal-team {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px;
    text-align: center !important;
}

.hesgoal-team:first-child {
    grid-column: 1 !important;
}

.hesgoal-center-col {
    grid-column: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px;
    min-width: 70px;
}

.hesgoal-team:last-child {
    grid-column: 3 !important;
}

.hesgoal-team-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.hesgoal-team-logo--placeholder {
    width: 52px;
    height: 52px;
    display: grid !important;
    place-items: center;
    background: var(--hesgoal-surface);
    border: 1px solid var(--hesgoal-border);
    border-radius: 50%;
    font-size: 22px;
}

.hesgoal-team-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--hesgoal-text);
}

.hesgoal-kicktime {
    font-size: 22px;
    font-weight: 900;
    color: var(--hesgoal-accent-light);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.hesgoal-vs {
    font-size: 11px;
    color: var(--hesgoal-dim);
    font-weight: 800;
    letter-spacing: 1px;
}

.hesgoal-score {
    font-size: 26px;
    font-weight: 900;
    color: var(--hesgoal-text);
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
    line-height: 1;
}

.hesgoal-score span {
    color: var(--hesgoal-dim);
    font-weight: 400;
    margin: 0 2px;
}

.hesgoal-live-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--hesgoal-accent);
    letter-spacing: 1px;
}

.hesgoal-ended-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--hesgoal-dim);
}

/* ── Card Footer ────────────────────────────────────────────── */
.hesgoal-card-foot {
    border-top: 1px solid var(--hesgoal-border) !important;
    padding: 10px 14px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    background: var(--hesgoal-grad) !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.hesgoal-card:hover .hesgoal-card-foot {
    background: linear-gradient(135deg, var(--hesgoal-accent-light), var(--hesgoal-accent)) !important;
}

/* ── Empty State ────────────────────────────────────────────── */
.hesgoal-no-matches {
    text-align: center !important;
    padding: 50px 20px;
    background: var(--hesgoal-surface) !important;
    border: 1px dashed var(--hesgoal-border) !important;
    border-radius: var(--hesgoal-radius) !important;
    color: var(--hesgoal-muted);
}

.hesgoal-no-icon {
    font-size: 42px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.hesgoal-no-matches h4 {
    color: var(--hesgoal-text) !important;
    margin: 0 0 6px;
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE MATCH PLAYER PAGE (Strict LTR)
   ═══════════════════════════════════════════════════════════════ */

.hesgoal-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    height: 60px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 24px;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hesgoal-border);
    transition: background 0.3s ease;
}

html.hesgoal-light .hesgoal-navbar,
body.hesgoal-light .hesgoal-navbar {
    background: rgba(255, 255, 255, 0.92);
}

.hesgoal-nav-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    color: var(--hesgoal-text);
    text-decoration: none;
    order: 1 !important;
}

.hesgoal-nav-logo {
    width: 36px;
    height: 36px;
    background: var(--hesgoal-grad);
    border-radius: 9px;
    display: grid !important;
    place-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: var(--hesgoal-shadow-a);
    overflow: hidden;
}

.hesgoal-nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hesgoal-nav-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    order: 2 !important;
}

/* ── Hero Match Area ────────────────────────────────────────── */
.hesgoal-match-hero {
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.08) 0%, transparent 100%);
    padding: 40px 20px 30px;
    position: relative;
    border-bottom: 1px solid var(--hesgoal-border);
}

.hesgoal-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 16px;
    text-align: center;
}

.hesgoal-hero-team {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
}

.hesgoal-hero-logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.hesgoal-hero-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--hesgoal-text);
    line-height: 1.3;
}

.hesgoal-hero-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px;
}

.hesgoal-hero-comp {
    background: rgba(220, 38, 38, 0.12);
    color: var(--hesgoal-accent-light);
    border: 1px solid var(--hesgoal-border-a);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.hesgoal-hero-time {
    font-size: 40px;
    font-weight: 900;
    color: var(--hesgoal-text);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.hesgoal-countdown {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px;
    margin-top: 6px;
}

.hesgoal-cd-box {
    background: var(--hesgoal-surface);
    border: 1px solid var(--hesgoal-border);
    border-radius: 8px;
    min-width: 50px;
    padding: 6px 4px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
}

.hesgoal-cd-val {
    font-size: 20px;
    font-weight: 900;
    color: var(--hesgoal-text);
    line-height: 1;
}

.hesgoal-cd-lbl {
    font-size: 9px;
    color: var(--hesgoal-muted);
    margin-top: 2px;
    text-transform: uppercase;
}

/* ── Player Section ─────────────────────────────────────────── */
.hesgoal-player-section {
    max-width: 1040px;
    margin: 24px auto;
    padding: 0 16px;
}

.hesgoal-player-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.hesgoal-player-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--hesgoal-text);
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    margin: 0;
}

.hesgoal-player-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--hesgoal-grad);
    border-radius: 2px;
}

.hesgoal-servers-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px;
    flex-wrap: wrap;
}

.hesgoal-server-btn {
    padding: 6px 14px;
    border-radius: 6px;
    background: var(--hesgoal-surface);
    border: 1px solid var(--hesgoal-border);
    color: var(--hesgoal-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hesgoal-server-btn:hover,
.hesgoal-server-btn.active {
    background: var(--hesgoal-accent);
    color: #fff;
    border-color: var(--hesgoal-accent);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.hesgoal-iframe-wrap {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--hesgoal-shadow);
    width: 100%;
}

.hesgoal-iframe-wrap iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ── SEO Article & Share ────────────────────────────────────── */
.hesgoal-article-section {
    max-width: 860px;
    margin: 24px auto 40px;
    padding: 0 16px;
}

.hesgoal-article-card {
    background: var(--hesgoal-surface);
    border: 1px solid var(--hesgoal-border);
    border-radius: var(--hesgoal-radius);
    padding: 24px;
}

.hesgoal-article-title {
    font-size: clamp(17px, 2.5vw, 22px);
    font-weight: 800;
    color: var(--hesgoal-text);
    margin: 0 0 12px;
}

.hesgoal-seo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border: 1px solid var(--hesgoal-border);
    border-radius: 8px;
    overflow: hidden;
}

.hesgoal-seo-table td {
    padding: 10px 14px;
    font-size: 13px;
    border-bottom: 1px solid var(--hesgoal-border);
    color: var(--hesgoal-muted);
}

.hesgoal-seo-table tr:last-child td {
    border-bottom: none;
}

.hesgoal-seo-table td:first-child {
    font-weight: 700;
    color: var(--hesgoal-text);
    width: 30%;
    background: rgba(0, 0, 0, 0.04);
}

.hesgoal-share-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hesgoal-share-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.hesgoal-share-btn:hover {
    opacity: 0.85;
}

.hesgoal-share--fb { background: #1877f2; }
.hesgoal-share--tw { background: #0f1419; }
.hesgoal-share--wa { background: #25d366; }
.hesgoal-share--tg { background: #229ed9; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
    .hesgoal-matches-grid {
        grid-template-columns: 1fr !important;
    }
    .hesgoal-topbar {
        flex-direction: row !important;
        align-items: center !important;
    }
    .hesgoal-hero-logo {
        width: 58px;
        height: 58px;
    }
    .hesgoal-hero-time {
        font-size: 28px;
    }
    .hesgoal-matches-list .hesgoal-card {
        flex-direction: column !important;
    }
    .hesgoal-matches-list .hesgoal-card-head {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--hesgoal-border) !important;
    }
    .hesgoal-matches-list .hesgoal-card-foot {
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid var(--hesgoal-border-a) !important;
    }
}
