/* ============================================================
   LiveArena WP — Main Stylesheet  v2.0
   Futemax-vibe: dark, neon-green accent, cinematic cards.
   All tokens live in :root — themes only override tokens.
   ============================================================ */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
    --ss-bg:          #080810;
    --ss-surface:     #0f0f1a;
    --ss-surface2:    #13131f;
    --ss-accent:      #c6ff00;
    --ss-accent-rgb:  198, 255, 0;
    --ss-accent-dim:  rgba(198,255,0,0.12);
    --ss-red:         #ff3b3b;
    --ss-red-rgb:     255, 59, 59;
    --ss-card-bg:     #0d0d18;
    --ss-card-hover:  #141428;
    --ss-text:        #f0f0f8;
    --ss-text-muted:  rgba(255,255,255,0.45);
    --ss-border:      rgba(255,255,255,0.07);
    --ss-border-glow: rgba(198,255,0,0.22);
    --ss-radius:      14px;
    --ss-radius-sm:   8px;
    --ss-ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --ss-transition:  0.22s var(--ss-ease);
    --ss-font:        inherit;
}

/* ─── Reset ─────────────────────────────────────────────────── */
.la-wrapper *,
.la-player-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.la-wrapper,
.la-player-page,
.la-wrapper input,
.la-wrapper button,
.la-wrapper select,
.la-player-page input,
.la-player-page button {
    font-family: var(--ss-font) !important;
}

.la-wrapper {
    background: var(--ss-bg);
    color: var(--ss-text);
    border-radius: var(--ss-radius);
    padding: 20px 20px 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ss-border);
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}

/* subtle neon shimmer border-top */
.la-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--ss-accent) 40%, #00e5ff 70%, transparent 100%);
    opacity: 0.7;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER BAR
   ═══════════════════════════════════════════════════════════════ */
.la-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--ss-border) !important;
}

.la-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ─── "AO VIVO" pill ─ */
.la-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ss-red);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(var(--ss-red-rgb), 0.5);
}

.la-live-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: la-pulse 1.6s ease infinite;
    flex-shrink: 0;
}

@keyframes la-pulse {
    0%   { transform: scale(1);   opacity: 1; }
    50%  { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1);   opacity: 1; }
}

/* ─── Date label ─ */
.la-date-label {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: var(--ss-text) !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
    border: none !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ─── Right: search ─ */
.la-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.la-search-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.la-search-wrap svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--ss-text-muted);
    pointer-events: none;
    z-index: 2;
    transition: color var(--ss-transition);
}

.la-search-wrap input,
#la-search {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid var(--ss-border) !important;
    border-radius: 999px !important;
    padding: 8px 18px 8px 38px !important;
    color: var(--ss-text) !important;
    font-size: 0.84rem !important;
    font-family: inherit !important;
    outline: none !important;
    width: 230px !important;
    height: 38px !important;
    transition: border-color var(--ss-transition), background var(--ss-transition) !important;
    box-shadow: none !important;
}

.la-search-wrap input::placeholder { color: var(--ss-text-muted) !important; }

.la-search-wrap input:focus {
    border-color: var(--ss-accent) !important;
    background: rgba(198,255,0,0.05) !important;
}

.la-search-wrap:focus-within svg {
    color: var(--ss-accent) !important;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION LABELS
   ═══════════════════════════════════════════════════════════════ */
.la-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 14px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--ss-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.la-section-label:first-of-type { margin-top: 0; }

.la-section-label-icon {
    font-size: 0.85rem;
}

.la-section-label-text {
    white-space: nowrap;
}

.la-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--ss-border) 0%, transparent 100%);
}

.la-section-label--secondary { margin-top: 32px; }

/* ═══════════════════════════════════════════════════════════════
   EVENTS GRID
   ═══════════════════════════════════════════════════════════════ */
.la-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}

/* ═══════════════════════════════════════════════════════════════
   EVENT CARD  (reimagined layout)
   ═══════════════════════════════════════════════════════════════ */
.la-card {
    display: flex !important;
    flex-direction: column !important;
    border-radius: var(--ss-radius) !important;
    overflow: hidden !important;
    background: var(--ss-card-bg) !important;
    border: 1px solid var(--ss-border) !important;
    text-decoration: none !important;
    color: var(--ss-text) !important;
    cursor: pointer !important;
    position: relative !important;
    transition: transform var(--ss-transition),
                border-color var(--ss-transition),
                box-shadow var(--ss-transition) !important;
    will-change: transform;
}

.la-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--ss-border-glow) !important;
    box-shadow: 0 18px 48px rgba(0,0,0,0.65),
                0 0 0 1px rgba(198,255,0,0.18) !important;
    background: var(--ss-card-hover) !important;
}

.la-card--no-stream {
    opacity: 0.78;
}

/* ─── Card Thumbnail Area ─ */
.la-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

/* Real image */
.la-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.la-card:hover .la-card-thumb img {
    transform: scale(1.04);
}

/* ─── CSS-only Match Banner (no image) ─ */
.la-match-banner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/* Team half — left */
.la-team-left,
.la-team-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    position: relative;
    overflow: hidden;
}

.la-team-left {
    clip-path: polygon(0 0, 90% 0, 75% 100%, 0 100%);
    margin-right: -15%;
}

.la-team-right {
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 10% 100%);
    margin-left: -15%;
}

/* Noise texture overlay on each team half */
.la-team-left::after,
.la-team-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
    background-size: 150px;
    pointer-events: none;
    opacity: 0.4;
}

.la-team-name {
    font-size: 0.7rem;
    font-weight: 900;
    color: rgba(255,255,255,0.92);
    text-align: center;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    position: relative;
    z-index: 2;
    max-width: 100%;
    word-break: break-word;
    hyphens: auto;
    padding: 0 4px;
}

.la-team-left .la-team-name { padding-right: 20%; }
.la-team-right .la-team-name { padding-left: 20%; }

/* VS badge in the middle */
.la-vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #080810;
    border: 2px solid var(--ss-accent);
    color: var(--ss-accent);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 0 0 4px rgba(198,255,0,0.15), 0 4px 16px rgba(0,0,0,0.6);
    text-transform: uppercase;
    line-height: 1;
    flex-shrink: 0;
}

/* Sport-only fallback (non-match event) */
.la-sport-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d0d1c 0%, #14142a 100%);
}

.la-sport-emoji {
    font-size: 2.8rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

/* Date badge overlay on thumbnail */
.la-thumb-date {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(8,8,16,0.75);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.85);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    z-index: 5;
    letter-spacing: 0.04em;
}

/* Live badge */
.la-thumb-live {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--ss-red);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    z-index: 5;
    box-shadow: 0 0 12px rgba(255,59,59,0.55);
}

.la-thumb-live::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    animation: la-pulse 1.4s ease infinite;
    flex-shrink: 0;
}

/* gradient overlay at bottom of thumb */
.la-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,8,16,0.75) 0%, transparent 60%);
    pointer-events: none;
}

/* ─── Card Body ─ */
.la-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: var(--ss-card-bg);
    flex: 1;
    transition: background var(--ss-transition);
}

.la-card:hover .la-card-body {
    background: var(--ss-card-hover);
}

.la-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.la-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.la-card-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ss-text-muted);
}

.la-card-sport-tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--ss-accent-dim);
    color: var(--ss-accent);
    border: 1px solid rgba(198,255,0,0.2);
    flex-shrink: 0;
}

/* ─── Banner color palettes (sport-based) ─ */
/* football */
.la-banner-football .la-team-left  { background: linear-gradient(135deg, #1a3a6e 0%, #0d2049 100%); }
.la-banner-football .la-team-right { background: linear-gradient(135deg, #6e1a1a 0%, #490d0d 100%); }

/* ufc / boxing */
.la-banner-ufc .la-team-left  { background: linear-gradient(135deg, #3a1a6e 0%, #200d49 100%); }
.la-banner-ufc .la-team-right { background: linear-gradient(135deg, #6e3a1a 0%, #492000 100%); }

/* basketball */
.la-banner-basketball .la-team-left  { background: linear-gradient(135deg, #6e3d00 0%, #4a2a00 100%); }
.la-banner-basketball .la-team-right { background: linear-gradient(135deg, #006e3d 0%, #004a2a 100%); }

/* tennis */
.la-banner-tennis .la-team-left  { background: linear-gradient(135deg, #00506e 0%, #003349 100%); }
.la-banner-tennis .la-team-right { background: linear-gradient(135deg, #6e5200 0%, #493700 100%); }

/* f1 */
.la-banner-f1 .la-team-left  { background: linear-gradient(135deg, #6e1a00 0%, #490e00 100%); }
.la-banner-f1 .la-team-right { background: linear-gradient(135deg, #1a006e 0%, #0a0049 100%); }

/* golf / other */
.la-banner-golf    .la-team-left,
.la-banner-default .la-team-left  { background: linear-gradient(135deg, #0d3d22 0%, #07261a 100%); }
.la-banner-golf    .la-team-right,
.la-banner-default .la-team-right { background: linear-gradient(135deg, #3d1f00 0%, #261400 100%); }

/* ═══════════════════════════════════════════════════════════════
   NO EVENTS / NO RESULTS
   ═══════════════════════════════════════════════════════════════ */
.la-no-events,
.la-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--ss-text-muted);
}

.la-no-events-icon { font-size: 2.8rem; margin-bottom: 14px; }
.la-no-events h3   { font-size: 1.05rem; color: var(--ss-text); margin-bottom: 6px; }
.la-no-events p,
.la-no-results p   { font-size: 0.85rem; }

.la-refresh-link {
    color: var(--ss-accent);
    text-decoration: none;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER BAR
   ═══════════════════════════════════════════════════════════════ */
.la-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--ss-border);
}

.la-last-updated {
    font-size: 0.72rem;
    color: var(--ss-text-muted);
}

.la-refresh-btn {
    background: rgba(198,255,0,0.07);
    border: 1px solid rgba(198,255,0,0.18);
    border-radius: var(--ss-radius-sm);
    color: var(--ss-accent);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--ss-transition);
}

.la-refresh-btn:hover {
    background: rgba(198,255,0,0.14);
    border-color: var(--ss-accent);
    box-shadow: 0 0 14px rgba(198,255,0,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   PLAYER PAGE
   ═══════════════════════════════════════════════════════════════ */
.la-player-page {
    background: #050508;
    color: var(--ss-text);
    border-radius: var(--ss-radius);
    border: 1px solid var(--ss-border);
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 70vh;
    position: relative;
}

/* neon top line */
.la-player-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ss-accent) 45%, #00e5ff 70%, transparent);
    opacity: 0.65;
    pointer-events: none;
    z-index: 10;
}

/* ─── Player Nav ─ */
.la-player-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #0a0a14;
    border-bottom: 1px solid var(--ss-border);
    flex-wrap: wrap;
    gap: 10px;
}

.la-player-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.la-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--ss-border);
    border-radius: var(--ss-radius-sm);
    padding: 6px 12px;
    color: var(--ss-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all var(--ss-transition);
    flex-shrink: 0;
}

.la-back-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--ss-text);
    border-color: rgba(255,255,255,0.15);
}

.la-player-title-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.la-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(var(--ss-red-rgb), 0.15);
    color: var(--ss-red);
    border: 1px solid rgba(var(--ss-red-rgb), 0.3);
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.la-live-chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ss-red);
    animation: la-pulse 1.4s ease infinite;
}

.la-player-event-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ss-text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.la-player-time-badge {
    font-size: 0.78rem;
    color: var(--ss-text-muted);
    white-space: nowrap;
}

.la-player-nav-right {
    flex-shrink: 0;
}

.la-all-events-link {
    font-size: 0.8rem;
    color: var(--ss-text-muted);
    text-decoration: none !important;
    font-weight: 600;
    transition: color var(--ss-transition);
}

.la-all-events-link:hover {
    color: var(--ss-accent);
}

/* ─── Server Switcher Bar ─ */
.la-server-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: #08080f;
    border-bottom: 1px solid var(--ss-border);
    overflow: hidden;
}

.la-server-bar-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ss-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    flex-shrink: 0;
    white-space: nowrap;
}

.la-server-list {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0;
    flex: 1;
}

.la-server-list::-webkit-scrollbar { height: 3px; }
.la-server-list::-webkit-scrollbar-track { background: transparent; }
.la-server-list::-webkit-scrollbar-thumb { background: rgba(198,255,0,0.2); border-radius: 2px; }

.la-server-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ss-border);
    border-radius: var(--ss-radius-sm);
    padding: 6px 14px;
    color: var(--ss-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--ss-transition);
    font-family: inherit;
    flex-shrink: 0;
}

.la-server-btn:hover {
    background: rgba(255,255,255,0.09);
    color: var(--ss-text);
    border-color: rgba(255,255,255,0.16);
}

.la-server-btn.active {
    background: var(--ss-accent-dim);
    color: var(--ss-accent);
    border-color: rgba(198,255,0,0.35);
    box-shadow: 0 2px 12px rgba(198,255,0,0.2);
}

.la-server-dot {
    font-size: 0.5rem;
    color: #4ade80;
    transition: color var(--ss-transition);
}

.la-server-btn.active .la-server-dot {
    color: var(--ss-accent);
}

.la-server-lang {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
    color: var(--ss-text-muted);
}

.la-server-btn.active .la-server-lang {
    background: rgba(198,255,0,0.12);
    color: var(--ss-accent);
}

.la-server-lang.la-lang-en   { background: rgba(59,130,246,0.18); color: #93c5fd; }
.la-server-lang.la-lang-ptbr { background: rgba(34,197,94,0.18);  color: #86efac; }
.la-server-lang.la-lang-pt   { background: rgba(168,85,247,0.18); color: #d8b4fe; }

/* ─── Player Video Area ─ */
.la-player-area {
    width: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
}

.la-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 200px);
    min-height: 240px;
    background: #000;
    overflow: hidden;
}

.la-player-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ─── Loader ─ */
.la-player-loader {
    position: absolute;
    inset: 0;
    background: rgba(5,5,8,0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 10;
    color: var(--ss-text-muted);
    font-size: 0.82rem;
}

.la-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255,255,255,0.07);
    border-top-color: var(--ss-accent);
    border-radius: 50%;
    animation: la-spin 0.75s linear infinite;
}

@keyframes la-spin {
    to { transform: rotate(360deg); }
}

/* ─── Unavailable ─ */
.la-player-unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
    color: var(--ss-text-muted);
    text-align: center;
    padding: 40px;
}

.la-unavail-icon { font-size: 2.5rem; }
.la-player-unavailable h3 { font-size: 1.05rem; color: var(--ss-text); }

/* ─── Controls Bar ─ */
.la-player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 18px;
    background: #0a0a14;
    border-top: 1px solid var(--ss-border);
}

.la-now-watching {
    font-size: 0.8rem;
    color: var(--ss-text-muted);
}

.la-now-watching strong {
    color: var(--ss-text);
    margin: 0 4px;
}

.la-lang-tag {
    background: rgba(59,130,246,0.14);
    color: #93c5fd;
    border: 1px solid rgba(59,130,246,0.22);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 4px;
}

.la-controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.la-fullscreen-btn,
.la-reload-btn,
.la-report-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--ss-border);
    border-radius: 6px;
    color: var(--ss-text-muted);
    font-size: 0.76rem;
    padding: 5px 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--ss-transition);
}

.la-fullscreen-btn:hover,
.la-reload-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--ss-text);
}

.la-report-btn:hover {
    border-color: #fbbf24;
    color: #fbbf24;
    background: rgba(251,191,36,0.07);
}

/* ─── Player Footer ─ */
.la-player-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: #050508;
}

.la-player-disclaimer {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.2);
    text-align: center;
}

/* ─── No Event Page ─ */
.la-no-event-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.la-no-event-inner {
    text-align: center;
    padding: 40px;
}

.la-no-event-icon { font-size: 3rem; margin-bottom: 16px; }
.la-no-event-inner h2 { font-size: 1.4rem; margin-bottom: 8px; }
.la-no-event-inner p  { color: var(--ss-text-muted); margin-bottom: 20px; font-size: 0.9rem; }

.la-watch-btn {
    display: inline-block;
    background: var(--ss-accent);
    color: #000;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    transition: all var(--ss-transition);
}

.la-watch-btn:hover {
    background: #d4ff20;
    box-shadow: 0 0 20px rgba(198,255,0,0.45);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .la-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 768px) {
    .la-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .la-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .la-header-right { width: 100%; }
    .la-search-wrap,
    #la-search { width: 100% !important; }

    .la-player-event-title { max-width: 220px; font-size: 0.9rem; }

    .la-player-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .la-server-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px 14px;
    }

    .la-server-list { width: 100%; }

    .la-player-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .la-controls-right {
        width: 100%;
        justify-content: space-between;
    }

    .la-fullscreen-btn,
    .la-reload-btn,
    .la-report-btn {
        flex: 1;
        text-align: center;
        font-size: 0.72rem;
    }
}

@media (max-width: 560px) {
    .la-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .la-wrapper {
        border-radius: 0;
        padding: 14px 14px 20px;
    }

    .la-team-name { font-size: 0.62rem; }

    .la-player-page { border-radius: 0; }
    .la-player-event-title { max-width: 180px; font-size: 0.85rem; }
    .la-player-container { min-height: 200px; }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════════ */
.la-hidden { display: none !important; }

/* keep old class names working as aliases (backward compat for JS hooks) */
.ss-wrapper    { /* mapped to .la-wrapper  via PHP */ }
.ss-player-page{ /* mapped to .la-player-page via PHP */ }
