/* © 2026 Seiaura™. All rights reserved.
   Proprietary source. Copying, reuse or redistribution without written
   permission is prohibited. See terms.html#ip and LICENSE.txt. */

/* =====================================================
   SEIAURA — LOCAL SCOREBOARD
   No sign-up scoring for all 8 sports.
===================================================== */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
    --ls-page: #f6f5ee;
    --ls-card: #fffdf8;
    --ls-ink: #0f3b2a;
    --ls-text: #34503f;
    --ls-muted: #6a796f;
    --ls-line: rgba(15, 59, 42, .10);
    --ls-soft: #f1f4ea;
    --ls-soft-green: #e9f3d6;
    --ls-primary: #0f4a33;
    --ls-primary-2: #155c40;
    --ls-accent: #c6f36f;
    --ls-kicker: #3f7d22;
    --ls-red: #b2402e;
    --ls-radius: 22px;
    --ls-shadow: 0 1px 2px rgba(15, 59, 42, .04), 0 12px 32px -18px rgba(15, 59, 42, .18);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.ls-page {
    margin: 0;
    min-height: 100vh;
    background: var(--ls-page);
    color: var(--ls-ink);
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.ls-hidden { display: none !important; }

/* ---------------- NAV ---------------- */

.ls-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 0 clamp(16px, 5vw, 64px);
    background: rgba(255, 253, 247, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ls-line);
}

.ls-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.ls-brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--ls-primary);
}

.ls-brand strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
    line-height: 1.1;
}

.ls-brand span {
    display: block;
    color: var(--ls-kicker);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ls-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ls-device-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ls-soft-green);
    color: #22461a;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ls-device-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6cbf3a;
}

.ls-link-btn {
    padding: 10px 16px;
    border: 1px solid var(--ls-line);
    border-radius: 999px;
    background: var(--ls-card);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ls-link-btn:hover { background: var(--ls-soft); }

/* ---------------- LAYOUT ---------------- */

.ls-main {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 90px;
}

.ls-kicker {
    display: block;
    color: var(--ls-kicker);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ls-card {
    padding: 26px 28px;
    border: 1px solid var(--ls-line);
    border-radius: var(--ls-radius);
    background: var(--ls-card);
    box-shadow: var(--ls-shadow);
    min-width: 0;
}

.ls-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 40px 0 16px;
}

.ls-section-head h2 {
    margin: 6px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.ls-section-head p {
    margin: 4px 0 0;
    color: var(--ls-muted);
}

/* ---------------- BUTTONS ---------------- */

.ls-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: var(--ls-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease;
}

.ls-btn:hover { background: var(--ls-primary-2); }
.ls-btn:active { transform: scale(.98); }
.ls-btn .ls-arrow { color: var(--ls-accent); font-size: 18px; }
.ls-btn:disabled { opacity: .45; cursor: not-allowed; }

.ls-btn.ghost {
    border: 1px solid var(--ls-line);
    background: var(--ls-card);
    color: var(--ls-ink);
}

.ls-btn.ghost:hover { background: var(--ls-soft); }

.ls-btn.danger {
    border: 1px solid rgba(178, 64, 46, .22);
    background: #fff7f5;
    color: var(--ls-red);
}

.ls-btn.small { min-height: 38px; padding: 0 14px; border-radius: 11px; font-size: 14px; }
.ls-btn.block { width: 100%; }

/* ---------------- HERO ---------------- */

.ls-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: center;
    gap: 32px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 18% -30%, rgba(198, 243, 111, .22), transparent 42%),
        radial-gradient(circle at 110% 120%, rgba(198, 243, 111, .12), transparent 40%),
        linear-gradient(145deg, #0c3526, #165a3e);
    color: #fff;
}

.ls-hero .ls-kicker { color: var(--ls-accent); }

.ls-hero h1 {
    margin: 12px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.ls-hero h1 em {
    font-style: normal;
    color: var(--ls-accent);
}

.ls-hero p {
    max-width: 520px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
}

.ls-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}

.ls-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 9px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    font-size: 14px;
    font-weight: 700;
}

.ls-steps b {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ls-accent);
    color: var(--ls-primary);
    font-size: 13px;
}

.ls-hero-board {
    justify-self: end;
    width: min(100%, 360px);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    background: rgba(5, 30, 20, .45);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .6);
}

.ls-hero-board-top {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}

.ls-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffb4a6;
}

.ls-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6b52;
    animation: ls-pulse 1.4s infinite;
}

@keyframes ls-pulse { 50% { opacity: .3; } }

.ls-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
}

.ls-hero-row strong { font-size: 16px; }
.ls-hero-row span {
    font-family: "Space Grotesk", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ls-accent);
}

.ls-hero-row small { color: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 600; }

.ls-hero-foot {
    margin-top: 14px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

/* ---------------- SPORT GRID ---------------- */

.ls-sport-group-label {
    margin: 26px 0 12px;
    color: var(--ls-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ls-sport-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ls-sport {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--ls-line);
    border-radius: 22px;
    background: var(--ls-card);
    text-align: left;
    box-shadow: var(--ls-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ls-sport:hover,
.ls-sport:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(15, 74, 51, .35);
    box-shadow: 0 18px 40px -22px rgba(15, 59, 42, .45);
    outline: none;
}

.ls-sport img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;
}

.ls-sport-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 16px;
}

.ls-sport-body strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
    line-height: 1.15;
}

.ls-sport-body small {
    display: block;
    margin-top: 2px;
    color: var(--ls-muted);
    font-size: 13px;
    font-weight: 600;
}

.ls-sport-go {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--ls-primary);
    color: var(--ls-accent);
    font-size: 18px;
    font-weight: 800;
}

/* ---------------- RECENT MATCHES ---------------- */

.ls-recent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ls-recent-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--ls-line);
    border-radius: 18px;
    background: var(--ls-card);
}

.ls-recent-item img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
}

.ls-recent-item strong {
    display: block;
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-recent-item p {
    margin: 2px 0 0;
    overflow: hidden;
    color: var(--ls-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-recent-actions { display: flex; gap: 8px; }

.ls-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--ls-soft);
    color: var(--ls-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.ls-tag.live { background: #fbe1dc; color: var(--ls-red); }
.ls-tag.done { background: var(--ls-soft-green); color: #2f5d1c; }

.ls-empty {
    padding: 26px;
    border: 1px dashed rgba(15, 59, 42, .2);
    border-radius: 18px;
    color: var(--ls-muted);
    text-align: center;
}

.ls-icon-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--ls-line);
    border-radius: 11px;
    background: var(--ls-card);
    color: var(--ls-muted);
    font-size: 16px;
}

.ls-icon-btn:hover { background: #fff3f0; color: var(--ls-red); }

/* ---------------- SETUP ---------------- */

.ls-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ls-muted);
    font-size: 14px;
    font-weight: 700;
}

.ls-back:hover { color: var(--ls-ink); }

.ls-setup {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
    align-items: start;
    gap: 20px;
}

.ls-setup-main { display: grid; gap: 20px; }

.ls-card h2,
.ls-card h3 {
    margin: 6px 0 0;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -.02em;
}

.ls-card h2 { font-size: 26px; line-height: 1.15; }
.ls-card h3 { font-size: 21px; line-height: 1.2; }

.ls-card-note {
    margin: 6px 0 0;
    color: var(--ls-muted);
    font-size: 14px;
}

.ls-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.ls-field { display: grid; gap: 7px; min-width: 0; }
.ls-field.full { grid-column: 1 / -1; }

.ls-field > span {
    color: var(--ls-text);
    font-size: 13px;
    font-weight: 800;
}

.ls-field > span em {
    color: var(--ls-muted);
    font-style: normal;
    font-weight: 600;
}

.ls-input,
.ls-select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(15, 59, 42, .16);
    border-radius: 13px;
    outline: none;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
}

.ls-input:focus,
.ls-select:focus {
    border-color: #7fb34a;
    box-shadow: 0 0 0 3px rgba(127, 179, 74, .18);
}

.ls-input.invalid { border-color: var(--ls-red); box-shadow: 0 0 0 3px rgba(178, 64, 46, .12); }

.ls-seg {
    display: inline-flex;
    padding: 4px;
    border-radius: 14px;
    background: var(--ls-soft);
}

.ls-seg button {
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--ls-muted);
    font-size: 14px;
    font-weight: 800;
}

.ls-seg button.on {
    background: var(--ls-primary);
    color: #fff;
}

.ls-teams {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.ls-team {
    padding: 18px;
    border-radius: 18px;
    background: var(--ls-soft);
}

.ls-team-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ls-team-badge {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ls-primary);
    color: var(--ls-accent);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.ls-team.b .ls-team-badge { background: #6b3d1e; color: #ffd9a8; }

.ls-team-head .ls-input { height: 44px; background: #fff; font-weight: 800; }

.ls-chip-box {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    min-height: 120px;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid rgba(15, 59, 42, .14);
    border-radius: 14px;
    background: #fff;
    cursor: text;
}

.ls-chip-box:focus-within {
    border-color: #7fb34a;
    box-shadow: 0 0 0 3px rgba(127, 179, 74, .18);
}

.ls-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 6px 6px 6px 12px;
    border-radius: 999px;
    background: var(--ls-soft-green);
    color: #1d3f17;
    font-size: 14px;
    font-weight: 700;
}

.ls-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ls-chip small {
    color: #5a8a2f;
    font-size: 11px;
    font-weight: 800;
}

.ls-chip button {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 59, 42, .1);
    font-size: 13px;
    line-height: 1;
}

.ls-chip button:hover { background: rgba(178, 64, 46, .16); color: var(--ls-red); }

.ls-chip-input {
    flex: 1 1 140px;
    min-width: 120px;
    height: 32px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 15px;
}

.ls-team-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    color: var(--ls-muted);
    font-size: 13px;
    font-weight: 600;
}

.ls-team-foot b { color: var(--ls-ink); }

.ls-side-names { display: grid; gap: 10px; margin-top: 12px; }
.ls-side-names .ls-input { background: #fff; }

.ls-toss {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ls-toss-result {
    color: var(--ls-kicker);
    font-weight: 800;
}

.ls-summary {
    position: sticky;
    top: 92px;
    overflow: hidden;
    padding: 0;
}

.ls-summary img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.ls-summary-body { padding: 20px 22px 22px; }

.ls-summary-vs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    text-align: center;
}

.ls-summary-vs strong {
    display: block;
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-summary-vs small { color: var(--ls-muted); font-size: 13px; font-weight: 600; }

.ls-summary-vs i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ls-soft);
    color: var(--ls-kicker);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.ls-summary-list {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.ls-summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--ls-soft);
    font-size: 14px;
}

.ls-summary-list li span { color: var(--ls-muted); font-weight: 600; }
.ls-summary-list li b { text-align: right; }

.ls-error {
    min-height: 20px;
    margin: 0 0 10px;
    color: var(--ls-red);
    font-size: 14px;
    font-weight: 700;
}

.ls-privacy {
    margin: 12px 0 0;
    color: var(--ls-muted);
    font-size: 13px;
    text-align: center;
}

/* ---------------- RACKET LIVE ---------------- */

.ls-live-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ls-live-top h1 {
    margin: 4px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(22px, 3vw, 28px);
    letter-spacing: -.02em;
}

.ls-live-meta { color: var(--ls-muted); font-size: 14px; font-weight: 600; }

.ls-board {
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(150deg, #0c3526, #175b3f);
    color: #fff;
    box-shadow: 0 30px 60px -36px rgba(12, 53, 38, .8);
}

.ls-board-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ls-board-top b { color: var(--ls-accent); }

.ls-board-sides {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ls-side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 300px;
    padding: 24px 18px 22px;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: center;
    transition: background .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.ls-side + .ls-side { border-left: 1px solid rgba(255, 255, 255, .08); }
.ls-side:hover:not(:disabled) { background: rgba(255, 255, 255, .04); }
.ls-side:active:not(:disabled) { background: rgba(198, 243, 111, .10); }
.ls-side:disabled { cursor: default; }

.ls-side-names-live {
    max-width: 100%;
    overflow: hidden;
    font-size: 18px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-side-units {
    display: flex;
    gap: 6px;
    min-height: 14px;
}

.ls-side-units i {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
}

.ls-side-units i.on { border-color: var(--ls-accent); background: var(--ls-accent); }

.ls-points {
    margin: 4px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(76px, 12vw, 132px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
}

.ls-serve {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(198, 243, 111, .14);
    color: var(--ls-accent);
    font-size: 13px;
    font-weight: 800;
}

.ls-serve.off { visibility: hidden; }

.ls-serve::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ls-accent);
}

.ls-pressure {
    min-height: 24px;
    color: #ffd48a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ls-tap-hint {
    margin-top: auto;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    font-size: 15px;
    font-weight: 800;
}

.ls-side:not(:disabled):hover .ls-tap-hint { background: var(--ls-accent); color: var(--ls-primary); border-color: var(--ls-accent); }

.ls-side.won .ls-points { color: var(--ls-accent); }

.ls-board-note {
    min-height: 46px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .14);
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.ls-live-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 20px;
    margin-top: 20px;
    align-items: start;
}

.ls-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ls-table-wrap { overflow-x: auto; margin-top: 14px; }

.ls-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.ls-table th,
.ls-table td {
    padding: 11px 10px;
    border-bottom: 1px solid var(--ls-line);
    text-align: center;
    white-space: nowrap;
}

.ls-table th {
    color: var(--ls-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ls-table td:first-child,
.ls-table th:first-child {
    max-width: 200px;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
}

.ls-table td.win { color: var(--ls-kicker); font-weight: 800; }
.ls-table td.now { background: var(--ls-soft-green); font-weight: 800; }

.ls-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.ls-stat {
    padding: 14px;
    border-radius: 14px;
    background: var(--ls-soft);
}

.ls-stat span {
    display: block;
    color: var(--ls-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ls-stat strong {
    display: block;
    margin-top: 4px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
}

.ls-kbd {
    margin-top: 12px;
    color: var(--ls-muted);
    font-size: 13px;
}

.ls-kbd kbd {
    padding: 2px 7px;
    border: 1px solid var(--ls-line);
    border-bottom-width: 2px;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
}

/* ---------------- RESULT ---------------- */

.ls-result-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 24px;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 30px;
    background: linear-gradient(150deg, #0c3526, #175b3f);
    color: #fff;
}

.ls-result-hero .ls-kicker { color: var(--ls-accent); }

.ls-result-hero h1 {
    margin: 10px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.ls-result-hero p { margin: 10px 0 0; color: rgba(255, 255, 255, .75); font-size: 16px; }

.ls-result-hero img {
    width: 220px;
    height: 220px;
    border-radius: 26px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, .12);
}

.ls-result-score {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .07);
    text-align: center;
}

.ls-result-score strong {
    display: block;
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-result-score span {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
}

.ls-result-score .win span { color: var(--ls-accent); }
.ls-result-score i { color: rgba(255, 255, 255, .5); font-style: normal; font-weight: 800; }
.ls-result-score small { display: block; color: rgba(255, 255, 255, .6); font-size: 13px; }

.ls-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 20px;
    margin-top: 20px;
    align-items: start;
}

.ls-list {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.ls-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    background: var(--ls-soft);
    font-size: 14px;
}

.ls-list li span { color: var(--ls-muted); }

/* ---------------- TOAST ---------------- */

.ls-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 80;
    max-width: calc(100% - 32px);
    padding: 13px 18px;
    border-radius: 14px;
    background: var(--ls-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .5);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .2s ease, transform .2s ease;
}

.ls-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1000px) {
    .ls-sport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ls-setup, .ls-live-grid, .ls-result-grid { grid-template-columns: 1fr; }
    .ls-summary { position: static; }
    .ls-recent { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .ls-hero { grid-template-columns: 1fr; }
    .ls-hero-board { justify-self: stretch; width: 100%; }
    .ls-device-pill { display: none; }
    .ls-teams, .ls-fields { grid-template-columns: 1fr; }
    .ls-result-hero { grid-template-columns: 1fr; }
    .ls-result-hero img { display: none; }
    .ls-card { padding: 20px; }
    .ls-side { min-height: 250px; padding: 18px 10px; }
    .ls-side-names-live { font-size: 15px; }
    .ls-section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
    .ls-sport-body { padding: 12px; }
    .ls-sport-body strong { font-size: 16px; }
    .ls-sport-go { display: none; }
    .ls-recent-item { grid-template-columns: 44px minmax(0, 1fr); }
    .ls-recent-item img { width: 44px; height: 44px; }
    .ls-recent-actions { grid-column: 1 / -1; }
    .ls-recent-actions .ls-btn { flex: 1; }
    .ls-brand span { display: none; }
}

/* Keyboard shortcuts only matter with a keyboard. */
@media (hover: none) and (pointer: coarse) {
    .ls-kbd.kbd-only { display: none; }
}

/* ---------------- WATCH / MATCH ID / SHARE ---------------- */

.ls-watch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
    align-items: center;
    gap: 8px 24px;
    margin-top: 20px;
}

.ls-watch-row { display: flex; gap: 10px; }

.ls-watch-row .ls-input {
    font-family: "Space Grotesk", monospace;
    font-size: 18px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ls-watch .ls-error { grid-column: 1 / -1; min-height: 0; margin: 0; }

.ls-live-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ls-match-id {
    padding: 8px 12px;
    border-radius: 11px;
    background: var(--ls-primary);
    color: var(--ls-accent);
    font-family: "Space Grotesk", monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
}

.ls-icon-btn.share { color: var(--ls-primary); font-weight: 800; }
.ls-icon-btn.share:hover { background: var(--ls-soft-green); color: var(--ls-primary); }

@media (max-width: 760px) {
    .ls-watch { grid-template-columns: 1fr; }
}

/* Registered players (Seiaura ID) */
.ls-player-slot {
    display: grid;
    gap: 6px;
}

.ls-reg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.85;
    cursor: pointer;
}

.ls-uid-input {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ---------- football events on the result page ---------- */
.ls-events { display: grid; gap: 6px; margin-top: 14px; }
.ls-event { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: #f1eadb; }
.ls-event b { flex: 0 0 auto; min-width: 44px; color: var(--ls-primary); font-variant-numeric: tabular-nums; }
.ls-event span { flex: 1; min-width: 0; color: #0f3b2a; }
.ls-event em { flex: 0 0 auto; font-style: normal; color: var(--ls-muted); font-size: 13px; }

/* ---------- MVP & star performances (local-mvp.js) ---------- */

.ls-stars { margin-top: 18px; }
.ls-mvp { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 6px 22px 6px 22px; background: #f1f4ea; border-left: 5px solid var(--ls-kicker); }
.ls-mvp.big { color: #fff; background: linear-gradient(135deg, #0c3526, #175b3f); border-left-color: #ffd23f; }
.ls-mvp-badge { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #ffd23f; color: #3a2a00; font-size: 26px; box-shadow: 0 0 0 4px rgba(255, 210, 63, .25); }
.ls-mvp-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ls-mvp.big .ls-kicker { color: #ffd23f; }
.ls-mvp-body strong { font-size: 24px; line-height: 1.1; font-weight: 800; }
.ls-mvp-body small { color: inherit; opacity: .8; font-size: 14px; }
.ls-mvp-pts { flex: 0 0 auto; font-size: 34px; font-weight: 800; font-style: italic; line-height: 1; text-align: center; color: #ffd23f; }
.ls-mvp-pts i { display: block; font-size: 11px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.ls-star-list { display: grid; gap: 8px; margin-top: 14px; }
.ls-star-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f1f4ea; }
.ls-star-row > b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ls-primary); color: #fff; font-size: 13px; }
.ls-star-row > div { flex: 1; min-width: 0; display: grid; }
.ls-star-row small { color: var(--ls-muted); font-size: 13px; }
.ls-star-row > span { font-weight: 800; color: var(--ls-primary); }

/* ---- result page tabs: Scorecard | MVP & Stars | Match Info ---- */
.ls-rtabs {
    display: flex;
    gap: 6px;
    margin: 18px 0 14px;
    padding: 5px;
    background: rgba(127, 127, 127, .12);
    border-radius: 999px;
    overflow-x: auto;
    scrollbar-width: none;
}
.ls-rtabs::-webkit-scrollbar { display: none; }
.ls-rtab {
    flex: 1 0 auto;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
}
.ls-rtab.active { background: #16a34a; color: #fff; box-shadow: 0 2px 8px rgba(22, 163, 74, .35); }
.ls-rpanel > .ls-card + .ls-card { margin-top: 14px; }
.ls-rpanel.ls-hidden { display: none; }
