/*
Theme Name: Walid Live Stream
Theme URI: https://bd.linkedin.com/in/hasibulmawla
Author: Mawla Sports
Author URI: https://bd.linkedin.com/in/hasibulmawla
Description: قالب يلا شوت برو هو قالب رياضي متكامل فهو يعد من افضل القوالب لانشاء مواقع المباريات والاخبار الرياضية يتميز القالب بسهولة الاستخدام من خلال لوحة تحكم كاملة وسرعة استخدام القالب علي بلوجر و ووردبري  س.
Version: 1.0
Text Domain: walid-live-stream
*/

/* ===== KOORA LIVE REDESIGN ===== */
:root {
    --color-bg-dark: #0f172b;
    --color-bg-darker: #0a0f1a;
    --color-bg-card: #1a2332;
    --color-primary-blue: #1e40af;
    --color-accent-teal: #06b6d4;
    --color-accent-green: #10b981;
    --color-text-white: #ffffff;
    --color-text-light: #e5e7eb;
    --color-text-muted: #9ca3af;
    --color-border: #1e293b;
    --color-status-live: #ef4444;
    --color-status-end: #10b981;
    --color-badge-blue: #3b82f6;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.6;
    direction: rtl;
}

a {
    color: var(--color-accent-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent-teal);
    opacity: 0.8;
}

/* ===== HEADER & NAVIGATION ===== */
/* Hide site title text on homepage (index) -- hide textual site name but keep icon */
body.home .STING-web-Logo > span:not(.STING-web-Logo-Icon),
body.front-page .STING-web-Logo > span:not(.STING-web-Logo-Icon),
body.home .STING-web-Header-Logo .STING-WEB-SiteName,
body.home .STING-web-Header-Logo .STING-WEB-SiteUrl,
body.front-page .STING-web-Header-Logo .STING-WEB-SiteName,
body.front-page .STING-web-Header-Logo .STING-WEB-SiteUrl {
    display: none !important;
}

/* Hide duplicate header injected by legacy template and center main menu */
header:nth-of-type(2) { display: none !important; }

/* Desktop: show full menu, hide hamburger */
@media (min-width: 1000px) {
  .STING-web-Menu { display: flex !important; justify-content: center; align-items: center; }
  .STING-web-Menu ul { display: flex; gap: 28px; padding: 0; margin: 0; list-style: none; }
  .STING-web-Menu li { display: inline-block; }
  .STING-web-Menu li a { color: var(--color-text-white); font-weight: 700; padding: 8px 12px; border-radius: 8px; }
  .STING-web-Menu-Toggle { display: none !important; }
}

/* Mobile: hide full menu, show hamburger */
@media (max-width: 999px) {
  .STING-web-Menu { display: none !important; }
  .STING-web-Menu-Toggle { display: flex !important; }
}


header {
    background: linear-gradient(180deg, #1a2332 0%, #0f172b 100%);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) var(--spacing-md);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.STING-web-Header-Top {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.STING-web-Logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 18px;
    font-weight: 900;
    color: var(--color-text-white);
    min-width: 120px;
}

.STING-web-Logo-Icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary-blue), var(--color-accent-teal));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.STING-web-Header-Spacer {
    flex: 1;
}

.STING-web-Header-Plus {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: var(--color-text-white);
    border: none;
    padding: 0;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
}

.STING-web-Logo-Title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.STING-web-Logo-Icon-Top {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.STING-web-Site-Title-Text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    transition: all 0.2s ease;
}

.STING-web-Header-Plus:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.STING-web-Header-Search {
    flex: 1;
    max-width: 300px;
    display: none;
}

.STING-web-Header-Search input {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--color-text-white);
    font-size: 13px;
}

.STING-web-Header-Search input::placeholder {
    color: var(--color-text-muted);
}

.STING-web-Header-Right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.STING-web-Menu-Toggle {
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.STING-web-Menu-Toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== NAVIGATION DRAWER ===== */
.STING-web-Nav-Drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #1a2332 0%, #0f172b 100%);
    border-left: 1px solid var(--color-border);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 1000;
    padding: var(--spacing-lg) var(--spacing-md);
}

.STING-web-Nav-Drawer.active {
    right: 0;
}

.STING-web-Nav-Drawer-Close {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 28px;
    cursor: pointer;
}

.STING-web-Nav-Section {
    margin-bottom: var(--spacing-xl);
}

.STING-web-Nav-Title {
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
}

.STING-web-Nav-Items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.STING-web-Nav-Item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    color: var(--color-text-white);
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.STING-web-Nav-Item:hover {
    background: linear-gradient(135deg, var(--color-primary-blue), var(--color-accent-teal));
    border-color: transparent;
    transform: translateY(-2px);
}

.STING-web-Nav-Overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.STING-web-Nav-Overlay.active {
    display: block;
}

/* ===== TABS & FILTERS ===== */
.STING-web-Tabs {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding: var(--spacing-md);
    scroll-behavior: smooth;
}

.STING-web-Tabs::-webkit-scrollbar {
    height: 4px;
}

.STING-web-Tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.STING-web-Tabs::-webkit-scrollbar-thumb {
    background: var(--color-accent-teal);
    border-radius: 2px;
}

.STING-web-Tab {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 8px 16px;
    color: var(--color-text-light);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.STING-web-Tab:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.STING-web-Tab.active {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    border-color: transparent;
}

/* ===== TIME-BASED TABS ===== */
.STING-web-Time-Tabs {
    padding: calc(var(--spacing-lg) + 8px) 0;
    margin: 0 auto;
}

.STING-web-Time-Tabs-Container {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.STING-web-Time-Tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    padding: 12px 28px;
    color: var(--color-text-white);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.18s ease;
    font-size: 16px;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(2,8,18,0.4);
}

.STING-web-Time-Tab:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

.STING-web-Time-Tab.active {
    background: linear-gradient(90deg, var(--color-primary-blue), var(--color-accent-teal));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 30px rgba(2,8,18,0.55), 0 0 12px rgba(6,182,212,0.06);
    transform: translateY(-4px);
}

@media (max-width: 700px) {
    .STING-web-Time-Tabs-Container { gap: 10px; padding: 8px; }
    .STING-web-Time-Tab { padding: 10px 14px; font-size: 14px; border-radius: 20px; }
}

/* ===== HERO SECTION ===== */
.STING-home-hero {
    background: linear-gradient(135deg, #1a2332 0%, #263d66 50%, #1a2f4a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--spacing-xl) !important;
    margin: var(--spacing-lg) auto !important;
    box-shadow: var(--shadow-lg) !important;
    position: relative;
    overflow: hidden;
}

.STING-home-hero:before {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 68%) !important;
    inset: -80px auto auto -80px !important;
}

.STING-home-hero h2 {
    color: var(--color-text-white) !important;
    font-size: 28px !important;
}

.STING-home-kicker {
    background: rgba(6, 182, 212, 0.2) !important;
    border: 1px solid var(--color-accent-teal) !important;
}

.STING-home-action {
    border-radius: var(--radius-lg) !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
    transition: all 0.3s ease !important;
}

.STING-home-action.primary {
    background: linear-gradient(135deg, var(--color-primary-blue), var(--color-accent-teal)) !important;
    color: var(--color-text-white) !important;
}

.STING-home-action.secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--color-text-white) !important;
}

/* ===== MATCH CARDS ===== */
.STING-web-Container-Matches {
    background: var(--color-bg-card) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--spacing-lg) !important;
    margin: var(--spacing-lg) auto !important;
    box-shadow: var(--shadow-md) !important;
}

.STING-web-Container-Matches-Top {
    display: flex;
    align-items: center;
    gap: var(--spacing-md) !important;
    margin-bottom: var(--spacing-lg) !important;
    padding-bottom: var(--spacing-md) !important;
    border-bottom: 1px solid var(--color-border) !important;
}

.STING-web-Title-Box {
    color: var(--color-text-white) !important;
    font-size: 20px !important;
    margin: 0 !important;
}

.STING-web-Time {
    display: inline-block;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid var(--color-accent-teal);
    color: var(--color-accent-teal);
    padding: 4px 12px;
    border-radius: var(--radius-lg);
    font-size: 12px;
    font-weight: 600;
}

.STING-web-Matches {
    display: grid;
    gap: var(--spacing-md);
}

.STING-Match-Card {
    background: linear-gradient(135deg, #0b2130 0%, #081a26 100%);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 24px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    transition: all 0.25s ease;
    overflow: visible;
    position: relative;
    box-shadow: 0 8px 24px rgba(2,8,18,0.55), inset 0 1px 0 rgba(255,255,255,0.02);
}

.STING-Match-Card:hover {
    border-color: rgba(6,182,212,0.12);
    box-shadow: 0 14px 40px rgba(2,8,18,0.65), 0 0 20px rgba(6,182,212,0.06);
    transform: translateY(-4px);
}

.STING-Match-Team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: auto;
}

.STING-Match-Team.left {
    margin-right: -8px; /* bring left flag closer to center */
}

.STING-Match-Team.right {
    margin-left: -8px; /* bring right flag closer to center */
}

.STING-Match-Flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    z-index: 5;
    transform: translateY(-4px);
    overflow: hidden;
}

.STING-Match-Flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.STING-Match-Team-Name {
    color: var(--color-text-white);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
}

.STING-Match-Center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    text-align: center;
}

.STING-Match-Time {
    display: inline-block;
    background: #ffffff;
    color: #0b2a33;
    padding: 10px 22px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(2,8,18,0.45);
}

.STING-Match-Score {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.STING-Match-Status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 12px;
    background: #2b86ff;
    color: #ffffff;
    align-self: center;
    margin-top: 6px;
    box-shadow: 0 6px 12px rgba(43,134,255,0.12);
}

.STING-Match-Status.live {
    background: var(--color-status-live);
    animation: pulse 2s infinite;
}

.STING-Match-Status.ended {
    background: var(--color-status-end);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.STING-Match-League {
    color: var(--color-text-muted);
    font-size: 12px;
}

/* ===== MAIN CONTENT ===== */
.STING-web-Main {
    background: var(--color-bg-card) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--spacing-lg) !important;
    margin: var(--spacing-lg) auto !important;
    box-shadow: var(--shadow-md) !important;
}

.STING-web-Main-Top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.STING-web-WebSite-Title {
    color: var(--color-text-white) !important;
    font-size: 20px !important;
    margin: 0 !important;
}

.STING-web-Main-Bottom-Posts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.STING-web-Main-All-Post {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
    margin: 0 auto;
}

.STING-web-Main-Posted {
    background: rgba(15,23,42,0.88);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 20px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    box-sizing: border-box;
}

.STING-web-Main-Posted a {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row-reverse; /* image on the right for RTL */
    color: inherit;
    text-decoration: none;
}

.STING-web-Main-Posted-IMG {
    width: 160px;
    height: 100px;
    flex: 0 0 160px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
}

.STING-web-Main-Posted-IMG img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.STING-web-Main-Posted-TiTle {
    flex: 1;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
}

.STING-web-Main-Posted-TiTle h3 {
    margin: 0;
    color: var(--color-text-white);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.STING-web-Main-Posted:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(3,7,18,0.6);
    border-color: rgba(6,182,212,0.12);
}

@media (max-width: 900px) {
    .STING-web-Main-All-Post {
        grid-template-columns: 1fr;
    }
    .STING-web-Main-Posted a { flex-direction: column; align-items: stretch; }
    .STING-web-Main-Posted-IMG { width: 100%; height: 180px; flex: 0 0 auto; }
    .STING-web-Main-Posted-TiTle { justify-content: flex-start; text-align: right; padding-top: 12px; }
    .STING-web-Main-Posted-TiTle h3 { font-size: 16px; }
}
#loadMore {
    background: linear-gradient(135deg, var(--color-primary-blue), var(--color-accent-teal)) !important;
    color: var(--color-text-white) !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: var(--spacing-lg) !important;
    width: 100% !important;
}

#loadMore:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* ===== FOOTER ===== */
footer {
    background: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.STING-web-Ads {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-lg);
}

.STING-web-Pages-Site {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.STING-web-Links-List-Title {
    color: var(--color-text-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.STING-web-Links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.STING-web-Links li {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 10px;
}

.STING-web-Links a {
    color: var(--color-text-white);
    font-size: 13px;
    display: block;
    text-align: center;
    transition: all 0.2s ease;
}

.STING-web-Links a:hover {
    color: var(--color-accent-teal);
}

.STING-web-Footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.STING-web-Site-Copyright,
.STING-web-Copyright {
    color: var(--color-text-muted);
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .STING-web-Header-Top {
        gap: var(--spacing-sm);
    }

    .STING-web-Logo {
        min-width: auto;
        font-size: 14px;
    }

    .STING-web-Logo-Icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .STING-web-Header-Right {
        gap: var(--spacing-sm);
    }

    .STING-web-Menu-Toggle {
        width: 36px;
        height: 36px;
    }

    .STING-web-Header-Plus {
        padding: 6px 14px;
        font-size: 13px;
        min-width: 45px;
    }

    .STING-web-Tabs {
        display: none;
    }

    .STING-Match-Card {
        padding: 16px 12px;
    }

    .STING-Match-Flag {
        width: 32px;
        height: 32px;
        font-size: 16px;
        transform: translateY(-3px);
    }

    .STING-Match-Team-Name {
        font-size: 12px;
    }

    .STING-Match-Center {
        padding: 0 12px;
        gap: 8px;
    }

    .STING-Match-Time,
    .STING-Match-Score {
        font-size: 13px;
        padding: 8px 14px;
    }

    .STING-Match-Status {
        padding: 6px 12px;
        font-size: 12px;
    }

    .STING-web-Time-Tabs-Container {
        flex-direction: row;
    }

    .STING-web-Time-Tab {
        padding: 10px 16px;
        font-size: 13px;
    }

    .STING-home-hero {
        padding: var(--spacing-lg) !important;
    }

    .STING-web-Main-Bottom-Posts {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: var(--spacing-sm);
    }

    .STING-web-Pages-Site {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }

    .STING-web-Footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: var(--spacing-sm);
    }

    .STING-web-Logo {
        font-size: 12px;
    }

    .STING-web-Logo-Icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .STING-web-Header-Plus {
        padding: 4px 12px;
        font-size: 12px;
        min-width: 42px;
    }

    .STING-home-hero {
        padding: var(--spacing-md) !important;
        margin: var(--spacing-md) auto !important;
    }

    .STING-home-hero h2 {
        font-size: 20px !important;
    }

    .STING-web-Container-Matches,
    .STING-web-Main {
        padding: var(--spacing-md) !important;
        margin: var(--spacing-md) auto !important;
    }

    .STING-web-Main-Bottom-Posts {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .STING-web-Time-Tab {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ===== DARK THEME ===== */
.Night {
    background: var(--color-bg-dark);
}

.Night a {
    color: var(--color-accent-teal);
}

/* ===== DESKTOP LAYOUT ===== */
@media (min-width: 769px) {
    .STING-web-Tabs {
        display: flex !important;
        padding: var(--spacing-md) var(--spacing-md);
    }

    .STING-web-Tab {
        display: inline-flex !important;
    }
}

/* ===== UTILITIES ===== */
.STING-web-Max-Size {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.STING-web-Matching-None,
.STING-web-Not-Posts {
    text-align: center;
    color: var(--color-text-muted);
    padding: var(--spacing-xl);
}

/* FHMC match-card styles (copied from reference) */
.fhmc-matches,.fhmc-matches *{box-sizing:border-box}
.fhmc-matches{--bg:#07111f;--panel:#0b1424;--panel2:#101b2e;--line:rgba(148,163,184,.18);--text:#f8fafc;--muted:#aab7c8;--green:#22c55e;--blue:#3b82f6;--red:#ef4444;--orange:#f59e0b;width:100%;max-width:900px;margin:22px auto;color:var(--text)!important;font-family:inherit;direction:rtl;overflow:hidden;padding:0 4px;color-scheme:dark}
.fhmc-tabs{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin:0 0 16px}
.fhmc-tabs a{display:inline-flex;align-items:center;justify-content:center;min-width:104px;background:#0b1220;border:1px solid var(--line);color:#fff!important;text-decoration:none!important;border-radius:999px;padding:10px 14px;font-size:13px;font-weight:900;transition:.18s ease;box-shadow:0 10px 22px rgba(0,0,0,.16)}
.fhmc-tabs a.active,.fhmc-tabs a:hover{background:linear-gradient(180deg,#37e274,#22c55e);color:#052e16!important;transform:translateY(-1px);border-color:rgba(74,222,128,.55)}
.fhmc-empty{background:linear-gradient(135deg,#0b1220,#101827);border:1px solid var(--line);border-radius:18px;text-align:center;padding:24px;font-weight:900;color:#fff;box-shadow:0 12px 28px rgba(0,0,0,.17)}
.fhmc-list{display:grid;gap:10px;min-width:0;contain:layout style paint}
.fhmc-card{position:relative;display:block;overflow:hidden;background:linear-gradient(180deg,#101827,#08111f)!important;color:#fff!important;border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:0 12px 28px rgba(0,0,0,.20)!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;min-width:0;width:100%;text-decoration:none!important;cursor:pointer;color-scheme:dark}
.fhmc-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 100% 0,rgba(34,197,94,.10),transparent 35%),radial-gradient(circle at 0 100%,rgba(37,99,235,.08),transparent 38%);pointer-events:none;z-index:0}
.fhmc-card:hover{transform:translateY(-2px);border-color:rgba(34,197,94,.34)!important;box-shadow:0 16px 38px rgba(0,0,0,.26)!important}
.fhmc-card-main{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 146px minmax(0,1fr);align-items:center;gap:10px;padding:12px 14px;min-width:0}
.fhmc-team{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;min-width:0;width:100%;overflow:hidden}
.fhmc-logo-wrap{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff,#eef2ff);box-shadow:0 9px 20px rgba(0,0,0,.22),0 0 0 1px rgba(255,255,255,.18);padding:6px;flex:0 0 auto}
.fhmc-logo-wrap img,.fhmc-logo-wrap i{width:100%;height:100%;border-radius:50%;object-fit:contain;display:block;aspect-ratio:1/1}
.fhmc-logo-wrap i{background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.05))}
.fhmc-team b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;min-height:30px;font-size:13px;line-height:1.35;color:#fff;font-weight:950;overflow-wrap:anywhere;text-shadow:0 1px 12px rgba(0,0,0,.25)}
.fhmc-center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;width:100%}
.fhmc-score{display:flex;align-items:center;justify-content:center;gap:6px;font-size:22px;font-weight:950;color:#fff;white-space:nowrap}
.fhmc-score span{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.06));border:1px solid var(--line);border-radius:13px;padding:7px 11px;min-width:38px;min-height:38px;text-align:center;box-shadow:inset 0 -2px 0 rgba(0,0,0,.14)}
.fhmc-score em{font-style:normal;color:#cbd5e1;font-size:16px;font-weight:950}
.fhmc-time{display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:38px;font-size:16px;font-weight:950;color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.055));border:1px solid var(--line);border-radius:13px;padding:7px 10px;box-shadow:inset 0 -2px 0 rgba(0,0,0,.14);white-space:nowrap}
.fhmc-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 11px;border-radius:999px;font-size:11px;line-height:1;white-space:nowrap;font-weight:950;box-shadow:inset 0 -1px 0 rgba(0,0,0,.14);flex-shrink:0;min-height:25px}
.status-live{background:#e11d24;color:#fff;box-shadow:0 0 0 4px rgba(225,29,36,.13),0 0 18px rgba(225,29,36,.45);animation:fhmcLiveGlow 1s ease-in-out infinite}
.status-break{background:#f59e0b;color:#111827;animation:none;box-shadow:0 0 0 4px rgba(245,158,11,.12)}
.status-finished{background:#22c55e;color:#052e16}
.status-upcoming{background:#2563eb;color:#fff}
.status-cancelled,.status-awaiting{background:#f59e0b;color:#111827}
.fhmc-live-dot{width:8px;height:8px;border-radius:999px;background:#fff;display:inline-block;box-shadow:0 0 0 0 rgba(255,255,255,.72);animation:fhmcPulse 1.15s infinite}@keyframes fhmcPulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.75)}70%{box-shadow:0 0 0 7px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}@keyframes fhmcLiveGlow{0%,100%{filter:brightness(1)}50%{filter:brightness(1.22)}}@keyframes fhmcSoonGlow{0%,100%{filter:brightness(1)}50%{filter:brightness(1.15)}}
.fhmc-phase{display:block;color:#64748b;font-size:10.5px;font-weight:900;border-radius:999px;padding:4px 8px;border:1px solid transparent}
.fhmc-tour-name{max-width:160px;color:#64748b;font-size:12px;font-weight:900;line-height:1.35;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fhmc-watch-ribbon{position:absolute!important;z-index:5!important;top:10px!important;left:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;background:linear-gradient(180deg,#22c55e,#16a34a)!important;border:1px solid rgba(5,150,105,.65)!important;color:#fff!important;border-radius:999px!important;padding:6px 10px!important;font-size:11px!important;line-height:1!important;font-weight:950!important;box-shadow:0 8px 22px rgba(22,163,74,.28),0 0 0 3px rgba(34,197,94,.14)!important;text-shadow:0 1px 0 rgba(0,0,0,.18)!important}
.fhmc-watch-ribbon i{width:7px!important;height:7px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 0 0 0 rgba(255,255,255,.8)!important;animation:fhmcPulse 1.15s infinite!important}
@media(max-width:700px){.fhmc-matches{margin:12px auto;padding:0 8px;max-width:100%;overflow:hidden}.fhmc-tabs{gap:6px;margin-bottom:13px}.fhmc-tabs a{min-width:auto;padding:8px 9px;font-size:11px;box-shadow:none}.fhmc-list{gap:10px}.fhmc-card{border-radius:16px!important;box-shadow:0 10px 22px rgba(0,0,0,.18)!important}.fhmc-card-main{grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);gap:6px;padding:11px 7px}.fhmc-card-has-watch .fhmc-card-main{padding-top:30px!important}.fhmc-logo-wrap{width:43px;height:43px;padding:5px}.fhmc-team{gap:6px}.fhmc-team b{font-size:10.5px;line-height:1.3;min-height:26px;-webkit-line-clamp:2}.fhmc-center{gap:5px}.fhmc-score{font-size:17px;gap:3px}.fhmc-score span{min-width:31px;min-height:33px;padding:5px 6px;border-radius:10px}.fhmc-score em{font-size:12px}.fhmc-time{min-width:62px;min-height:32px;font-size:13px;padding:6px 6px;border-radius:10px}.fhmc-status{font-size:9.5px;padding:5px 7px;min-height:22px}.fhmc-phase{font-size:9.5px}.fhmc-tour-name{max-width:92px;font-size:10.5px}.fhmc-watch-ribbon{top:7px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;font-size:10px!important;padding:5px 9px!important;white-space:nowrap!important}}@media(max-width:380px){.fhmc-matches{padding:0 6px}.fhmc-card-main{grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr);gap:4px;padding:10px 6px}.fhmc-logo-wrap{width:42px;height:42px}.fhmc-team b{font-size:10px}.fhmc-time{min-width:58px;font-size:13px}.fhmc-score span{min-width:29px}.fhmc-tour-name{max-width:84px}}

/* small world-cup specific polish */
body:has(.fhmc-worldcup-page) .entry-content,body:has(.fhmc-worldcup-page) .wp-block-post-content,body:has(.fhmc-worldcup-page) .page-content,body:has(.fhmc-worldcup-page) article,body:has(.fhmc-worldcup-page) .hentry{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
