/* WAW Live Companion — Live Page */

.waw-lc-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 20px 60px;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
}

/* ── Header ──────────────────────────────────────────────────────────── */

.waw-lc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px solid #0a1628;
}

.waw-lc-show-title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 0.03em;
    color: #0a1628;
    margin: 0 0 6px;
    line-height: 1;
    text-transform: uppercase;
}

.waw-lc-show-meta {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.02em;
}

.waw-lc-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.waw-lc-badge.live    { background: #FF1E87; color: #fff; }
.waw-lc-badge.ended   { background: #555;    color: #fff; }

.waw-lc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    animation: waw-lc-pulse 1.4s ease-in-out infinite;
}

/* ── Two-column layout ───────────────────────────────────────────────── */

.waw-lc-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}

@media (max-width: 800px) {
    .waw-lc-layout { grid-template-columns: 1fr; }
    .waw-lc-sidebar { order: -1; } /* card above feed on mobile */
}

/* ── Panel base ──────────────────────────────────────────────────────── */

.waw-lc-panel {
    border: 1px solid #dde2ef;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 16px;
}

.waw-lc-panel:last-child { margin-bottom: 0; }

.waw-lc-panel-header {
    padding: 10px 16px;
    background: #0a1628;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Live feed ───────────────────────────────────────────────────────── */

.waw-lc-feed-item {
    padding: 14px 16px;
    border-bottom: 1px solid #edf0f7;
    transition: background 0.1s;
    font-family: inherit;
}

.waw-lc-feed-item:last-child  { border-bottom: none; }
.waw-lc-feed-item:hover       { background: #f8f9fd; }

.waw-lc-feed-item.is-new {
    border-left: 3px solid #FF1E87;
    background: #fff7fb;
}

.waw-lc-feed-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.waw-lc-source { font-size: 11px; color: #aaa; letter-spacing: 0.03em; font-family: inherit; }
.waw-lc-time   { font-size: 11px; color: #FF1E87; margin-left: auto; font-family: inherit; }

.waw-lc-feed-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0a1628;
    line-height: 1.4;
    text-decoration: none;
    font-family: inherit;
}

.waw-lc-feed-title:hover { color: #FF1E87; }

.waw-lc-feed-excerpt {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin-top: 4px;
    font-family: inherit;
}

.waw-lc-feed-empty {
    padding: 36px 16px;
    text-align: center;
    color: #bbb;
    font-size: 13px;
}

.waw-lc-refresh-bar {
    padding: 8px 16px;
    background: #f5f7fc;
    font-size: 11px;
    color: #aaa;
    border-top: 1px solid #edf0f7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.waw-lc-spin {
    display: inline-block;
    animation: waw-lc-spin 2.2s linear infinite;
}

/* ── Match card ──────────────────────────────────────────────────────── */

.waw-lc-spoiler-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-bottom: 1px solid #edf0f7;
    font-size: 11px;
    color: #888;
}

.waw-lc-toggle {
    width: 32px;
    height: 18px;
    border-radius: 9px;
    background: #ccc;
    border: none;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
    padding: 0;
}

.waw-lc-toggle.on { background: #1a8a4a; }

.waw-lc-toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.2s;
    pointer-events: none;
}

.waw-lc-toggle.on .waw-lc-toggle-knob { left: 16px; }

.waw-lc-match {
    padding: 12px 14px;
    border-bottom: 1px solid #edf0f7;
}

.waw-lc-match:last-child { border-bottom: none; }

.waw-lc-match-label {
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}

.waw-lc-match-participants {
    font-size: 13px;
    font-weight: 600;
    color: #0a1628;
}

.waw-lc-vs {
    font-size: 10px;
    color: #ccc;
    font-weight: 400;
    margin: 0 4px;
}

.waw-lc-result {
    margin-top: 5px;
    font-size: 12px;
}

.waw-lc-result.pending   { color: #ccc; }
.waw-lc-result.completed { color: #1a8a4a; font-weight: 600; }
.waw-lc-result.completed::before { content: '✓ '; }

.waw-lc-blurred { filter: blur(4px); user-select: none; }

.waw-lc-card-empty {
    padding: 24px 14px;
    text-align: center;
    color: #bbb;
    font-size: 12px;
}

/* ── Gorilla Position widget ─────────────────────────────────────────── */

.waw-lc-gorilla {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.waw-lc-gorilla img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

.waw-lc-gorilla:hover img { transform: scale(1.03); }

.waw-lc-gorilla-body {
    padding: 12px 14px;
}

.waw-lc-gorilla-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF1E87;
    margin-bottom: 5px;
    font-family: 'IBM Plex Mono', monospace;
}

.waw-lc-gorilla-title {
    font-size: 14px;
    font-weight: 700;
    color: #0a1628;
    line-height: 1.4;
    font-family: inherit;
}

.waw-lc-gorilla:hover .waw-lc-gorilla-title { color: #FF1E87; }

/* ── Comments (Disqus) ───────────────────────────────────────────────── */

.waw-lc-comments {
    max-width: 1100px;
    margin: 28px auto 0;
    padding: 0 20px 60px;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
}


@keyframes waw-lc-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

@keyframes waw-lc-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
