:root {
    --lm-bg: #02030a;
    --lm-panel: rgba(12, 18, 34, 0.92);
    --lm-panel-2: rgba(23, 10, 35, 0.88);
    --lm-border: rgba(0, 255, 159, 0.28);
    --lm-border-pink: rgba(255, 0, 255, 0.32);
    --lm-text: #f4f7ff;
    --lm-muted: #a9afc3;
    --lm-green: #00ff9f;
    --lm-pink: #ff3fd4;
    --lm-violet: #9d5cff;
    --lm-blue: #38bdf8;
    --lm-radius: 16px;
}

.lm-body {
    background: #02030a;
}

.lm-body .su-content {
    overflow: hidden;
}

.lm-body .su-content-main {
    min-width: 0;
}

.lm-shell,
.lm-rankings,
.lm-analytics,
.lm-help,
.lm-watch,
.lm-world-cup-page {
    color: var(--lm-text);
    width: min(1680px, 100%);
    margin: 0 auto;
}

.lm-shell,
.lm-rankings,
.lm-analytics,
.lm-help,
.lm-world-cup-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: calc(100vh - 110px);
    overflow: visible;
}

.lm-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    gap: 18px;
    align-items: start;
    padding: 22px;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 0, 255, 0.22), transparent 34%),
        radial-gradient(circle at 88% 0%, rgba(0, 255, 159, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(28, 23, 58, 0.94), rgba(6, 15, 24, 0.94));
}

.lm-top__copy h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 4rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.lm-top__copy p,
.lm-section__head p,
.lm-live-card__body p,
.lm-ranking-row p,
.lm-help p,
.lm-analytics-card p {
    color: var(--lm-muted);
}

.lm-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.lm-search input,
.lm-ranking-filters input,
.lm-ranking-filters select,
.lm-support-form input,
.lm-support-form select,
.lm-support-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 255, 159, 0.28);
    border-radius: 12px;
    background: rgba(2, 4, 12, 0.88);
    color: var(--lm-text);
    padding: 12px 14px;
    font: inherit;
}

.lm-search button,
.lm-ranking-filters button,
.lm-support-form button,
.lm-primary,
.lm-secondary,
.lm-watch-actions button,
.lm-gift-grid button {
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lm-violet), var(--lm-pink));
    color: #fff;
    font-weight: 800;
    padding: 11px 18px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(255, 0, 255, 0.22);
}

.lm-ranking-filters a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(0, 255, 159, 0.28);
    border-radius: 999px;
    color: var(--lm-text);
    font-weight: 800;
    text-decoration: none;
    background: rgba(8, 15, 25, 0.88);
}

.lm-secondary,
.lm-watch-actions button:nth-child(n + 2) {
    background: rgba(8, 15, 25, 0.88);
    border-color: rgba(0, 255, 159, 0.34);
    box-shadow: none;
}

.lm-quick-filter,
.lm-routes-row,
.lm-ranking-tabs,
.lm-history-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lm-ranking-tabs {
    overflow-x: auto;
    scrollbar-width: thin;
}

.lm-quick-filter a,
.lm-routes-row a,
.lm-ranking-tabs a,
.lm-help-link,
.lm-category-chip,
.lm-section__head a,
.lm-sidebar-tabs a {
    min-height: 44px;
    color: var(--lm-text);
    text-decoration: none;
    border: 1px solid rgba(157, 92, 255, 0.45);
    background: rgba(15, 18, 32, 0.78);
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lm-ranking-tabs a {
    flex: 0 0 auto;
    white-space: nowrap;
}

.lm-category-shell {
    position: sticky;
    top: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(0, 255, 159, 0.18);
    border-radius: 14px;
    background: rgba(2, 4, 12, 0.94);
    backdrop-filter: blur(18px);
}

.lm-category-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.lm-category-chip {
    white-space: nowrap;
    scroll-snap-align: start;
}

.lm-category-chip.is-active,
.lm-category-chip:hover,
.lm-category-chip:focus,
.lm-ranking-tabs a.is-active {
    border-color: rgba(255, 0, 255, 0.86);
    background: linear-gradient(135deg, rgba(120, 76, 255, 0.9), rgba(255, 63, 212, 0.9));
}

.lm-rail-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--lm-border);
    background: rgba(0, 255, 159, 0.08);
    color: var(--lm-green);
    font-size: 1.4rem;
    cursor: pointer;
}

.lm-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-section__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
}

.lm-section__head h2 {
    margin: 0;
    font-size: 1.28rem;
}

.lm-section__head p {
    margin: 4px 0 0;
}

.lm-hero-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--lm-border-pink);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.96), rgba(35, 8, 42, 0.94));
}

.lm-hero-feature__stage,
.lm-live-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(0, 255, 159, 0.18), rgba(3, 6, 16, 0.9));
}

.lm-hero-feature__stage img,
.lm-hero-feature__stage video,
.lm-live-card__media img,
.lm-live-card__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lm-hero-feature__body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.lm-hero-feature__label {
    color: var(--lm-green);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lm-hero-feature__body h1 {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.lm-hero-feature__badges,
.lm-live-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lm-hero-feature__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lm-rank-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.78rem;
    font-weight: 900;
    border: 1px solid currentColor;
    background: rgba(2, 4, 12, 0.72);
}

.lm-rank-badge--green {
    color: var(--lm-green);
}

.lm-rank-badge--pink {
    color: var(--lm-pink);
}

.lm-rank-badge--violet {
    color: #c8a5ff;
}

.lm-rank-badge--blue {
    color: var(--lm-blue);
}

.lm-live-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 380px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
}

.lm-live-card {
    scroll-snap-align: start;
    border: 1px solid rgba(157, 92, 255, 0.34);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(11, 17, 32, 0.96), rgba(20, 8, 28, 0.94));
    min-width: 0;
}

.lm-live-card__media {
    aspect-ratio: 16 / 9;
}

.lm-live-pill,
.lm-viewer-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 999px;
    padding: 5px 8px;
    color: #fff;
    background: rgba(255, 0, 255, 0.84);
    font-weight: 900;
    font-size: 0.75rem;
}

.lm-viewer-pill {
    left: auto;
    right: 10px;
    background: rgba(0, 255, 159, 0.16);
    border: 1px solid rgba(0, 255, 159, 0.55);
}

.lm-live-card__body {
    padding: 14px;
}

.lm-live-card__creator {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lm-avatar {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--lm-green);
    border: 2px solid var(--lm-green);
    background: #03050c;
    font-weight: 900;
    overflow: hidden;
}

.lm-avatar--lg {
    width: 58px;
    height: 58px;
}

.lm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lm-live-card h3 {
    margin: 0;
    font-size: 1rem;
}

.lm-live-card h3 a,
.lm-ranking-row h3 a {
    min-height: 44px;
    color: var(--lm-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.lm-live-card__desc {
    min-height: 42px;
}

.lm-live-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--lm-muted);
    font-size: 0.82rem;
}

.lm-live-card__ux-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 10px 0 8px;
}

.lm-ranking-row__main .lm-live-card__ux-rail {
    margin: 8px 0 0;
}

.lm-ux-pillar {
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--lm-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.25;
}

.lm-ux-pillar--perf {
    border-color: rgba(0, 255, 159, 0.35);
    color: var(--lm-green);
}

.lm-ux-pillar--social {
    border-color: rgba(255, 63, 212, 0.38);
    color: var(--lm-pink);
}

.lm-ux-pillar--liga {
    border-color: rgba(251, 191, 36, 0.42);
    color: #fcd34d;
}

.lm-hero-feature .lm-live-card__ux-rail {
    margin: 12px 0 14px;
}

.lm-live-card--compact .lm-live-card__ux-rail {
    margin-top: 6px;
    margin-bottom: 0;
}

@media (max-width: 520px) {
    .lm-live-card__ux-rail {
        gap: 5px 6px;
    }

    .lm-ux-pillar {
        padding: 3px 8px;
        font-size: 0.62rem;
    }
}

.lm-live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.lm-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.lm-category-tile,
.lm-event-strip,
.lm-explainer-callout,
.lm-empty {
    border: 1px solid var(--lm-border);
    border-radius: 14px;
    background: rgba(0, 255, 159, 0.08);
    color: var(--lm-text);
    padding: 16px;
    text-decoration: none;
}

.lm-event-strip__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.lm-event-strip__link strong {
    grid-column: 1 / -1;
    font-size: 1.05rem;
}

.lm-event-strip__cta {
    font-weight: 800;
    color: var(--lm-pink);
    white-space: nowrap;
}

.lm-world-cup-strip {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.35fr) auto;
    gap: 12px;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 214, 92, 0.42);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(33, 24, 9, 0.94), rgba(7, 18, 24, 0.94) 46%, rgba(37, 12, 39, 0.9)),
        radial-gradient(circle at 12% 0%, rgba(255, 214, 92, 0.28), transparent 34%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.lm-world-cup-strip__main,
.lm-world-cup-strip__cta,
.lm-world-cup-strip__rank,
.lm-world-cup-strip__empty {
    color: var(--lm-text);
    text-decoration: none;
}

.lm-world-cup-strip__main {
    display: grid;
    align-content: center;
    gap: 5px;
    min-width: 0;
}

.lm-world-cup-strip__badge {
    width: fit-content;
    border: 1px solid rgba(255, 230, 109, 0.55);
    border-radius: 999px;
    padding: 4px 9px;
    color: #ffe66d;
    background: rgba(255, 230, 109, 0.12);
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
}

.lm-world-cup-strip__main strong {
    font-size: clamp(1.05rem, 1.6vw, 1.45rem);
    line-height: 1.05;
}

.lm-world-cup-strip__main span:last-child {
    color: var(--lm-muted);
    font-size: 0.82rem;
}

.lm-world-cup-strip__preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lm-world-cup-strip__rank,
.lm-world-cup-strip__empty {
    min-height: 74px;
    display: grid;
    grid-template-columns: auto 32px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(3, 8, 18, 0.58);
}

.lm-world-cup-strip__rank > span:first-child {
    color: #ffe66d;
    font-weight: 950;
}

.lm-world-cup-strip__rank strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-world-cup-strip__rank em {
    color: var(--lm-green);
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.lm-world-cup-strip__empty {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    color: var(--lm-muted);
    font-weight: 850;
}

.lm-world-cup-strip__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    align-self: center;
    border: 1px solid rgba(255, 230, 109, 0.56);
    border-radius: 999px;
    padding: 10px 15px;
    color: #061018;
    background: linear-gradient(135deg, #ffe66d, #00ff9f);
    font-weight: 950;
    white-space: nowrap;
}

.lm-skip-link {
    position: absolute;
    left: 12px;
    top: 8px;
    z-index: 20;
    padding: 8px 12px;
    background: var(--lm-panel);
    border-radius: 8px;
    color: var(--lm-green);
}

.ss-visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lm-rankings-meta {
    margin: 8px 0 0;
    font-size: 0.82rem;
    color: var(--lm-muted);
}

.lm-ranking-explain {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.lm-ranking-explain__card {
    min-width: 0;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 8px;
    background: rgba(6, 14, 26, 0.76);
    padding: 14px;
}

.lm-ranking-explain__card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--lm-text);
}

.lm-ranking-explain__card p {
    margin: 0;
    color: var(--lm-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.lm-world-cup-hero,
.lm-world-cup-rewards,
.lm-world-cup-budget,
.lm-world-cup-ranking {
    border: 1px solid rgba(255, 214, 102, 0.26);
    border-radius: var(--lm-radius);
    background:
        linear-gradient(145deg, rgba(4, 22, 28, 0.92), rgba(9, 15, 23, 0.96) 56%, rgba(31, 21, 6, 0.92)),
        rgba(2, 4, 12, 0.94);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38), 0 0 26px rgba(255, 214, 102, 0.1);
}

.lm-world-cup-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 20px;
    align-items: stretch;
    padding: 24px;
    overflow: hidden;
}

.lm-board-eyebrow--world-cup {
    color: #ffe66d;
}

.lm-world-cup-hero__copy {
    min-width: 0;
    display: grid;
    gap: 14px;
    align-content: center;
}

.lm-world-cup-hero__copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: 2.6rem;
    line-height: 1;
}

.lm-world-cup-hero__copy p {
    margin: 0;
    max-width: 66ch;
    color: rgba(235, 242, 255, 0.82);
    line-height: 1.58;
}

.lm-world-cup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lm-world-cup-hero__stats {
    display: grid;
    gap: 10px;
    align-content: center;
}

.lm-world-cup-hero__stats span,
.lm-world-cup-reward-card {
    min-width: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 8, 14, 0.58);
    padding: 14px;
    color: rgba(232, 240, 255, 0.74);
    line-height: 1.35;
}

.lm-world-cup-hero__stats strong,
.lm-world-cup-reward-card strong {
    display: block;
    color: #ffe66d;
    font-size: 1.35rem;
    line-height: 1.1;
}

.lm-world-cup-rewards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.lm-world-cup-reward-card span {
    display: block;
    margin-bottom: 8px;
    color: #72f0c8;
    font-family: var(--ss-mono-font);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lm-world-cup-reward-card p,
.lm-world-cup-budget p {
    margin: 8px 0 0;
    color: rgba(235, 242, 255, 0.74);
}

.lm-world-cup-budget,
.lm-world-cup-ranking {
    padding: 18px;
}

.lm-world-cup-budget strong {
    color: #ffffff;
}

.lm-world-cup-ranking__list {
    display: grid;
    gap: 10px;
}

.lm-world-cup-ranking__row {
    display: grid;
    grid-template-columns: 58px 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 76px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 8, 14, 0.52);
    padding: 12px;
}

.lm-world-cup-ranking__rank {
    color: #ffe66d;
    font-weight: 900;
    font-size: 1.12rem;
}

.lm-world-cup-ranking__row h3,
.lm-world-cup-ranking__row p {
    margin: 0;
}

.lm-world-cup-ranking__row p {
    color: var(--lm-muted);
    margin-top: 3px;
}

.lm-world-cup-ranking__row > strong {
    color: #72f0c8;
    text-align: right;
}

@media (max-width: 720px) {
    .lm-world-cup-hero,
    .lm-world-cup-budget,
    .lm-world-cup-ranking {
        border-radius: 14px;
        padding: 16px;
    }

    .lm-world-cup-hero__copy h1 {
        font-size: 1.85rem;
        line-height: 1.08;
    }

    .lm-world-cup-actions {
        flex-direction: column;
    }

    .lm-world-cup-actions .lm-primary,
    .lm-world-cup-actions .lm-secondary {
        width: 100%;
        justify-content: center;
    }

    .lm-world-cup-ranking__row {
        grid-template-columns: 44px 38px minmax(0, 1fr);
    }

    .lm-world-cup-ranking__row > strong {
        grid-column: 3;
        text-align: left;
    }
}

.lm-rankings-self {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 5;
    border: 1px solid rgba(0, 255, 159, 0.35);
    border-radius: 14px;
    background: rgba(2, 6, 14, 0.92);
    backdrop-filter: blur(12px);
}

.lm-rankings-self__delta {
    color: var(--lm-blue);
    font-weight: 700;
}

.lm-rankings-self__score-label {
    display: block;
    font-size: 0.72rem;
    color: var(--lm-muted);
}

.lm-rankings-self__link {
    margin-left: auto;
}

.lm-rankings-error {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(248, 113, 113, 0.5);
    background: rgba(60, 20, 20, 0.5);
    color: #fecaca;
}

.lm-rankings-refresh {
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid rgba(56, 189, 248, 0.5);
    background: rgba(8, 15, 25, 0.88);
    color: var(--lm-text);
}

.lm-live-pill--semantic {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #02030a;
    background: var(--lm-green);
    box-shadow: 0 0 14px rgba(0, 255, 159, 0.45);
}

.lm-podium .lm-live-pill--semantic {
    position: absolute;
    top: 48px;
    right: 14px;
    margin-left: 0;
}

.lm-live-pill--inline {
    vertical-align: middle;
}

.lm-podium__item {
    position: relative;
}

.lm-ranking-row__sub {
    margin: 0 0 4px;
    overflow-wrap: anywhere;
}

.lm-ranking-row__factors {
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: var(--lm-muted);
}

.lm-ranking-row__liga-rail {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 6px;
    max-width: 220px;
}

.lm-ranking-row__liga-rail-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--lm-violet), var(--lm-pink));
    border-radius: inherit;
}

.lm-ranking-row__event-rail {
    height: 6px;
    max-width: 220px;
    margin-bottom: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.lm-ranking-row__event-rail-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lm-blue), var(--lm-green));
}

.lm-ranking-row__score-label {
    display: block;
    font-size: 0.72rem;
    color: var(--lm-muted);
    font-weight: 700;
}

.lm-ranking-row__cta {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--lm-pink);
}

.lm-ranking-list--shadow-beliebt .lm-ranking-row__score strong {
    color: var(--lm-pink);
}

.lm-ranking-list--shadow-liga .lm-ranking-row__score strong {
    color: var(--lm-violet);
}

.lm-ranking-list--rising-shadows .lm-ranking-row__score strong,
.lm-ranking-list--shadow-events .lm-ranking-row__score strong {
    color: var(--lm-blue);
}

.lm-ranking-list--elite-shadow .lm-ranking-row__score strong {
    color: #fcd34d;
}

.lm-ranking-row--flash {
    animation: lmRankFlash 0.55s ease-out;
}

@keyframes lmRankFlash {
    from {
        background: rgba(56, 189, 248, 0.22);
    }
    to {
        background: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lm-ranking-row--flash {
        animation: none;
    }

    .lm-ranking-row--impulse {
        animation: none;
    }

    .lm-mission-card--celebrate {
        animation: none;
    }
}

.lm-board--shadow-c {
    --lm-board-accent: var(--lm-green);
}

.lm-board--shadow-beliebt {
    --lm-board-accent: var(--lm-pink);
}

.lm-board--shadow-liga {
    --lm-board-accent: #fbbf24;
}

.lm-board--rising-shadows,
.lm-board--shadow-events {
    --lm-board-accent: var(--lm-blue);
}

.lm-board--elite-shadow {
    --lm-board-accent: #fcd34d;
}

.lm-board-eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lm-board-accent, var(--lm-green));
}

.lm-board-eyebrow--heat {
    color: var(--lm-pink);
}

.lm-board-eyebrow--prestige {
    color: #fcd34d;
}

.lm-board-eyebrow--rising,
.lm-board-eyebrow--event {
    color: var(--lm-blue);
}

.lm-board-eyebrow--elite {
    color: #fcd34d;
}

.lm-board-season-hint {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: var(--lm-muted);
}

.lm-board--shadow-c .lm-top--rankings {
    border-color: rgba(0, 255, 159, 0.34);
}

.lm-board--shadow-beliebt .lm-top--rankings {
    border-color: rgba(255, 63, 212, 0.38);
}

.lm-board--shadow-liga .lm-top--rankings {
    border-color: rgba(251, 191, 36, 0.36);
}

.lm-board--rising-shadows .lm-top--rankings,
.lm-board--shadow-events .lm-top--rankings {
    border-color: rgba(56, 189, 248, 0.36);
}

.lm-board--elite-shadow .lm-top--rankings {
    border-color: rgba(252, 211, 77, 0.36);
}

.lm-ranking-primary-story {
    margin: 0 0 10px;
}

.lm-ranking-primary-story__label {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--lm-text);
    border: 1px solid rgba(0, 255, 159, 0.35);
    background: rgba(0, 255, 159, 0.07);
}

.lm-ranking-rising-story,
.lm-ranking-elite-story,
.lm-ranking-event-story {
    display: grid;
    gap: 2px;
    margin: 0 0 10px;
    font-size: 0.82rem;
}

.lm-ranking-rising-story__line,
.lm-ranking-elite-story__line,
.lm-ranking-event-story__line {
    color: var(--lm-text);
    font-weight: 850;
}

.lm-ranking-rising-story__meta,
.lm-ranking-elite-story__meta,
.lm-ranking-event-story__meta {
    color: var(--lm-muted);
}

.lm-board--shadow-c .lm-ranking-primary-story__label {
    letter-spacing: 0.02em;
}

.lm-ranking-social-hint {
    margin: 0 0 10px;
}

.lm-momentum-badge {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 63, 212, 0.55), rgba(157, 92, 255, 0.45));
    border: 1px solid rgba(255, 63, 212, 0.45);
}

.lm-ranking-liga-story {
    margin: 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
}

.lm-ranking-liga-story__line {
    font-weight: 800;
    color: #fde68a;
}

.lm-ranking-liga-story__meta {
    color: var(--lm-muted);
}

.lm-trend {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-left: 8px;
    vertical-align: -0.15em;
    font-size: 0.95rem;
    line-height: 1;
}

.lm-trend--up::before {
    content: "\2191";
    color: var(--lm-pink);
    font-weight: 900;
}

.lm-trend--down::before {
    content: "\2193";
    color: var(--lm-blue);
    font-weight: 900;
}

.lm-trend--flat::before {
    content: "\2013";
    color: var(--lm-muted);
    font-weight: 700;
}

.lm-podium__story {
    margin: 0;
    font-size: 0.8rem;
    color: var(--lm-muted);
    font-weight: 700;
}

.lm-podium__story--social {
    color: var(--lm-pink);
}

.lm-podium__story--liga {
    color: #fcd34d;
}

.lm-podium__story--rising,
.lm-podium__story--event {
    color: var(--lm-blue);
}

.lm-podium__story--elite {
    color: #fcd34d;
}

.lm-podium__score-caption {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--lm-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lm-ranking-row--impulse {
    animation: lmBeliebtImpulse 0.68s ease-out;
}

@keyframes lmBeliebtImpulse {
    from {
        box-shadow: inset 0 0 0 1px rgba(255, 63, 212, 0.65), 0 0 22px rgba(255, 63, 212, 0.22);
    }

    to {
        box-shadow: inset 0 0 0 1px transparent, 0 0 0 transparent;
    }
}

/*
 * lm-mission-card--celebrate: append via JS when a mission completes (event-driven).
 * Do not add this class on server render — avoids misleading celebration flashes.
 */
.lm-mission-card--celebrate {
    animation: lmMissionComplete 0.85s ease-out;
}

@keyframes lmMissionComplete {
    0% {
        filter: brightness(1);
    }

    35% {
        filter: brightness(1.12);
        border-color: rgba(0, 255, 159, 0.85);
    }

    100% {
        filter: brightness(1);
    }
}

.lm-mission-card__audience {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lm-blue);
}

.lm-event-detail {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: min(1680px, 100%);
    margin: 0 auto;
    min-height: calc(100vh - 110px);
}

.lm-event-detail--festival {
    gap: 26px;
}

.lm-event-hero {
    padding: 28px 22px;
    border-radius: var(--lm-radius);
    border: 1px solid var(--lm-border-pink);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 63, 212, 0.2), transparent 40%),
        linear-gradient(135deg, rgba(28, 23, 58, 0.94), rgba(6, 15, 24, 0.94));
}

.lm-event-hero--branded {
    border-width: 2px;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 63, 212, 0.24), transparent 55%),
        radial-gradient(circle at 92% 88%, rgba(0, 255, 159, 0.12), transparent 42%),
        linear-gradient(145deg, rgba(13, 12, 30, 0.98), rgba(3, 8, 16, 0.98));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lm-event-hero__brand {
    margin-bottom: 14px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ff8ee8;
}

.lm-event-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
    gap: 22px;
    align-items: stretch;
}

.lm-event-hero__lede {
    margin: 0 0 12px;
    color: #dfe7f8;
    font-size: 1rem;
    line-height: 1.45;
}

.lm-event-hero__reward-spotlight {
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(0, 255, 159, 0.28);
    background: rgba(2, 8, 18, 0.86);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-event-hero__reward-kicker {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #75ffd0;
}

.lm-event-hero__reward-spotlight strong {
    font-size: 1.15rem;
}

.lm-event-hero__reward-spotlight p {
    margin: 0;
    color: #d1daee;
    font-size: 0.88rem;
}

.lm-event-hero__reward-amount {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--lm-green);
}

.lm-event-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lm-pink);
}

.lm-event-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 3vw, 3rem);
}

.lm-event-hero__countdown {
    margin: 12px 0 0;
    color: #dfe7f8;
    font-weight: 700;
}

.lm-event-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.lm-event-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.lm-event-spotlight-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 6px 12px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(157, 92, 255, 0.38);
    background: rgba(6, 10, 22, 0.85);
    color: var(--lm-text);
    text-decoration: none;
    align-items: center;
}

.lm-event-spotlight-card:hover {
    border-color: rgba(255, 63, 212, 0.55);
}

.lm-event-spotlight-card__label {
    grid-column: 1 / -1;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cbd5e9;
}

.lm-event-spotlight-card .lm-avatar {
    grid-row: span 2;
}

.lm-event-spotlight-card__name {
    font-weight: 800;
}

.lm-event-spotlight-card__hint {
    font-size: 0.78rem;
    color: #cbd5e9;
}

.lm-event-spotlight-card--empty {
    opacity: 0.86;
    cursor: default;
}

.lm-event-detail .lm-section__head p {
    color: #cbd5e9;
}

.lm-event-mission-hero .lm-mission-card {
    border-width: 2px;
    border-color: rgba(255, 63, 212, 0.42);
}

.lm-live-grid--event {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .lm-event-hero__layout {
        grid-template-columns: 1fr;
    }
}

.lm-event-section {
    padding: 4px 0;
}

.lm-event-missions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.lm-event-missions--stack {
    margin-top: 12px;
}

.lm-event-more {
    margin-top: 12px;
    border: 1px solid rgba(157, 92, 255, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.22);
}

.lm-event-more summary {
    cursor: pointer;
    font-weight: 900;
}

.lm-mission-card {
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(157, 92, 255, 0.38);
    background: linear-gradient(180deg, rgba(9, 14, 30, 0.98), rgba(3, 7, 14, 0.98));
}

.lm-mission-card--locked {
    border-style: dashed;
    background: linear-gradient(180deg, rgba(12, 15, 29, 0.96), rgba(5, 8, 16, 0.96));
}

.lm-mission-card--completed {
    border-color: rgba(0, 255, 159, 0.45);
}

.lm-mission-card--expired {
    border-color: rgba(157, 92, 255, 0.2);
    background: linear-gradient(180deg, rgba(10, 12, 22, 0.92), rgba(4, 6, 12, 0.92));
}

.lm-mission-card__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.lm-mission-card__head h3 {
    margin: 0;
    font-size: 1.05rem;
}

.lm-mission-card__state {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #cbd5e9;
}

.lm-mission-card__deadline {
    font-size: 0.82rem;
    color: #cbd5e9;
}

.lm-mission-card__progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 10px;
}

.lm-mission-card__progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--lm-green), var(--lm-blue));
}

.lm-mission-card__ratio {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: #cbd5e9;
}

.lm-mission-card__tasks {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #cbd5e9;
    font-size: 0.85rem;
}

.lm-reward-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.lm-reward-tile {
    border-radius: 14px;
    padding: 14px;
    border: 1px solid rgba(0, 255, 159, 0.22);
    background: rgba(8, 12, 24, 0.92);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-reward-tile--locked {
    border-style: dashed;
    opacity: 0.75;
}

.lm-reward-tile--claimable {
    border-color: rgba(255, 63, 212, 0.65);
    box-shadow: 0 0 20px rgba(255, 63, 212, 0.12);
}

.lm-reward-tile--claimed {
    border-color: rgba(0, 255, 159, 0.35);
}

.lm-reward-tile--expired {
    opacity: 0.5;
}

.lm-reward-tile h3 {
    margin: 0;
    font-size: 1rem;
}

.lm-reward-tile__amount {
    font-size: 1.25rem;
    color: var(--lm-green);
}

.lm-reward-tile__type {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--lm-muted);
}

.lm-reward-tile__state {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--lm-blue);
}

.lm-reward-tile__cta {
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--lm-pink);
    background: linear-gradient(135deg, rgba(120, 76, 255, 0.35), rgba(255, 63, 212, 0.35));
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.lm-reward-tile__meta {
    margin: 0;
    font-size: 0.78rem;
    color: var(--lm-muted);
}

.lm-event-activity__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.lm-event-activity__list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
}

.lm-event-activity time {
    color: var(--lm-muted);
    white-space: nowrap;
}

.lm-top--rankings {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
    .lm-top--rankings {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.lm-category-tile span {
    display: block;
    margin-top: 4px;
    color: var(--lm-muted);
}

.lm-watch {
    display: block;
}

.lm-watch__main,
.lm-analytics-card,
.lm-help-article,
.lm-faq,
.lm-support-panel,
.lm-ranking-filters,
.lm-ranking-row,
.lm-history-panel {
    border: 1px solid rgba(157, 92, 255, 0.34);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(10, 14, 28, 0.95), rgba(3, 7, 14, 0.95));
}

.lm-watch__main {
    padding: 8px;
    min-width: 0;
}

.lm-watch--immersive {
    width: min(1540px, 100%);
    padding-bottom: 12px;
}

.lm-watch__main--immersive {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-color: rgba(0, 255, 159, 0.2);
    border-radius: 16px;
    background:
        radial-gradient(circle at 16% 4%, rgba(255, 63, 212, 0.16), transparent 34%),
        radial-gradient(circle at 82% 0%, rgba(0, 255, 159, 0.15), transparent 28%),
        linear-gradient(180deg, rgba(6, 10, 21, 0.94), rgba(2, 4, 10, 0.96));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lm-watch-head__creator {
    display: flex;
    gap: 9px;
    align-items: center;
    min-width: 0;
}

.lm-watch-head__creator h1 {
    max-width: 62ch;
    margin: 1px 0 2px;
    font-size: 1.74rem;
    line-height: 1.04;
}

.lm-watch-head__creator p {
    margin: 0;
    color: rgba(244, 247, 255, 0.76);
    font-weight: 800;
}

.lm-watch-live-label {
    color: var(--lm-green) !important;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lm-watch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.lm-watch-stage {
    position: relative;
    isolation: isolate;
    height: min(86vh, 920px);
    min-height: 700px;
    border: 1px solid var(--lm-border-pink);
    border-radius: 14px;
    overflow: hidden;
    background: #010207;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 46px rgba(255, 63, 212, 0.18);
}

.lm-watch-stage__media,
.lm-watch-stage video,
.lm-watch-stage__poster,
.lm-watch-stage__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lm-watch-stage video {
    display: block;
    object-fit: cover;
}

.lm-watch-stage__poster {
    display: grid;
    place-items: center;
    background-size: cover;
    background-position: center;
}

.lm-watch-stage__shade {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(1, 2, 7, 0.76), transparent 28%, transparent 58%, rgba(1, 2, 7, 0.86)),
        linear-gradient(90deg, rgba(1, 2, 7, 0.62), transparent 34%, rgba(1, 2, 7, 0.56));
}

.lm-watch-stage__poster span {
    font-size: 3.4rem;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.75);
}

.lm-watch-overlay-top,
.lm-watch-ranking-strip,
.lm-watch-support-rail,
.lm-watch-engagement,
.lm-watch-chat-overlay,
.lm-watch-chat-input,
.lm-watch-player-controls {
    position: absolute;
    z-index: 4;
}

.lm-watch-overlay-top {
    top: 10px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.lm-watch-overlay-top .lm-avatar {
    box-shadow: 0 0 24px rgba(0, 255, 159, 0.28);
}

.lm-watch-ranking-strip {
    top: 88px;
    left: 12px;
    display: flex;
    align-items: stretch;
    gap: 4px;
    max-width: min(500px, calc(100% - 300px));
    padding: 4px;
    border: 1px solid rgba(0, 255, 159, 0.2);
    border-radius: 11px;
    background: rgba(3, 6, 14, 0.48);
    backdrop-filter: blur(18px);
}

.lm-watch-ranking-strip span {
    display: grid;
    gap: 1px;
    min-width: 0;
    padding: 4px 6px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
}

.lm-watch-ranking-strip small {
    color: var(--lm-muted);
    font-size: 0.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lm-watch-ranking-strip strong {
    overflow: hidden;
    color: var(--lm-text);
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-watch-ranking-strip .lm-help-link {
    min-height: 28px;
    min-width: 28px;
    padding: 0;
}

.lm-watch-support-rail {
    top: 126px;
    right: 12px;
    bottom: 68px;
    width: 248px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 13px;
    background: rgba(3, 6, 14, 0.42);
    backdrop-filter: blur(22px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.lm-watch-rail-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 2px;
    border: 1px solid rgba(0, 255, 159, 0.14);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.lm-watch-rail-tabs button {
    min-height: 24px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(244, 247, 255, 0.58);
    cursor: pointer;
    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lm-watch-rail-tabs button:hover,
.lm-watch-rail-tabs button:focus-visible {
    color: var(--lm-text);
    outline: 1px solid rgba(0, 255, 159, 0.35);
}

.lm-watch-rail-tabs button.is-active {
    color: #02100b;
    background: linear-gradient(135deg, var(--lm-green), rgba(56, 189, 248, 0.95));
    box-shadow: 0 0 18px rgba(0, 255, 159, 0.24);
}

.lm-watch-rail-panels {
    min-height: 0;
}

.lm-watch-support-panel {
    height: 100%;
    min-height: 0;
}

.lm-watch-support-panel[hidden] {
    display: none;
}

.lm-watch-support-panel.is-active {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lm-watch-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 23px;
}

.lm-watch-panel-head strong {
    font-size: 0.78rem;
}

.lm-watch-panel-head span {
    color: var(--lm-muted);
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lm-chat-list--rail {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
}

.lm-chat-list--rail p {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left-color: rgba(0, 255, 159, 0.38);
    border-radius: 7px;
    padding: 4px 6px;
    background: linear-gradient(135deg, rgba(4, 9, 18, 0.56), rgba(31, 10, 42, 0.34));
    color: rgba(244, 247, 255, 0.88);
    font-size: 0.66rem;
    line-height: 1.16;
}

.lm-chat-list--rail strong {
    display: block;
    margin-bottom: 1px;
    color: var(--lm-green);
    font-size: 0.59rem;
}

.lm-watch-support-rail.is-chat-active {
    top: auto;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
    pointer-events: none;
}

.lm-watch-support-rail.is-chat-active .lm-watch-rail-tabs {
    position: absolute;
    left: 0;
    bottom: calc(100% + 7px);
    padding: 2px;
    border-color: rgba(0, 255, 159, 0.16);
    background: rgba(1, 3, 10, 0.24);
    box-shadow: none;
    backdrop-filter: blur(12px);
    pointer-events: auto;
}

.lm-watch-support-rail.is-chat-active .lm-watch-rail-tabs button {
    min-height: 22px;
    font-size: 0.52rem;
}

.lm-watch-support-rail.is-chat-active .lm-watch-rail-panels,
.lm-watch-support-rail.is-chat-active .lm-watch-support-panel.is-active,
.lm-watch-support-rail.is-chat-active .lm-chat-list--rail {
    min-height: 0;
    height: 100%;
}

.lm-watch-support-rail.is-chat-active .lm-watch-panel-head,
.lm-watch-support-rail.is-chat-active .lm-watch-rail-cohost {
    display: none;
}

.lm-watch-support-rail.is-chat-active .lm-watch-support-panel.is-active {
    justify-content: flex-end;
    gap: 0;
}

.lm-watch-support-rail.is-chat-active .lm-chat-list--rail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 3px;
    overflow: hidden;
    padding: 0;
    scrollbar-width: none;
    pointer-events: none;
}

.lm-watch-support-rail.is-chat-active .lm-chat-list--rail::-webkit-scrollbar {
    display: none;
}

.lm-watch-support-rail.is-chat-active .lm-chat-list--rail p {
    width: fit-content;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 14px rgba(203, 41, 255, 0.26);
}

.lm-watch-support-rail.is-chat-active .lm-chat-list--rail strong {
    display: inline;
    margin: 0 5px 0 0;
    color: var(--lm-green);
    font-size: inherit;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 255, 159, 0.28);
}

@media (min-width: 721px) {
    .lm-watch-support-rail.is-chat-active {
        right: auto;
        bottom: 92px;
        left: 24px;
        width: min(456px, 38vw);
        height: min(112px, 18vh);
    }

    .lm-watch-support-rail.is-chat-active .lm-watch-rail-tabs {
        width: min(330px, 100%);
    }

    .lm-watch-support-rail.is-chat-active .lm-chat-list--rail {
        mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 100%);
    }

    .lm-watch-support-rail.is-chat-active .lm-chat-list--rail p {
        max-width: min(100%, 29rem);
        font-size: 0.73rem;
        line-height: 1.25;
    }
}

.lm-watch-rail-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.lm-watch-rail-stats span,
.lm-watch-activity-list p,
.lm-watch-stream-info {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.045);
}

.lm-watch-rail-stats span {
    display: grid;
    gap: 1px;
    padding: 7px;
}

.lm-watch-rail-stats small {
    color: var(--lm-muted);
    font-size: 0.56rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lm-watch-rail-stats strong {
    color: var(--lm-green);
    font-size: 0.95rem;
}

.lm-top-gifters-list {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
}

.lm-top-gifter-row {
    display: grid;
    grid-template-columns: 28px 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    border: 1px solid rgba(0, 255, 159, 0.14);
    border-radius: 9px;
    padding: 4px 6px;
    background: linear-gradient(135deg, rgba(4, 9, 18, 0.66), rgba(31, 10, 42, 0.38));
    color: var(--lm-text);
}

.lm-top-gifter-rank {
    color: var(--lm-green);
    font-size: 0.62rem;
    font-weight: 1000;
    text-align: center;
}

.lm-top-gifter-avatar {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 159, 0.36);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
    color: var(--lm-green);
    font-size: 0.58rem;
    font-weight: 1000;
    box-shadow: 0 0 16px rgba(0, 255, 159, 0.14);
}

.lm-top-gifter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lm-top-gifter-main,
.lm-top-gifter-points {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.lm-top-gifter-main strong,
.lm-top-gifter-points strong {
    overflow: hidden;
    font-size: 0.68rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-top-gifter-main small,
.lm-top-gifter-points small {
    color: var(--lm-muted);
    font-size: 0.5rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.lm-top-gifter-points {
    justify-items: end;
    text-align: right;
}

.lm-top-gifter-points strong {
    color: var(--lm-pink);
}

.lm-top-gifters-empty {
    margin: 0;
    border: 1px solid rgba(0, 255, 159, 0.14);
    border-radius: 9px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--lm-muted);
    font-size: 0.68rem;
    line-height: 1.2;
}

.lm-watch-activity-list {
    display: grid;
    gap: 5px;
    overflow-y: auto;
}

.lm-watch-activity-list p {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 6px 7px;
    color: rgba(244, 247, 255, 0.86);
    font-size: 0.7rem;
}

.lm-watch-activity-list span {
    color: var(--lm-blue);
    font-size: 0.56rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lm-watch-stream-info {
    margin: 0;
    padding: 7px;
    color: rgba(244, 247, 255, 0.78);
    font-size: 0.7rem;
    line-height: 1.32;
}

.lm-watch-creator-link {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 159, 0.22);
    border-radius: 999px;
    color: var(--lm-green);
    text-decoration: none;
    font-size: 0.66rem;
    font-weight: 900;
}

.lm-watch-rail-cohost {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    align-items: stretch;
    padding: 6px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.055);
}

.lm-watch-rail-cohost__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.lm-watch-rail-cohost span {
    color: var(--lm-blue);
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lm-watch-rail-cohost small {
    color: var(--lm-muted);
    font-size: 0.5rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lm-watch-rail-cohost strong {
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
}

.lm-watch-rail-cohost__slots {
    display: flex;
    gap: 3px;
    grid-column: 1 / -1;
}

.lm-watch-rail-cohost__slots span {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border: 1px dashed rgba(56, 189, 248, 0.42);
    border-radius: 50%;
    color: var(--lm-blue);
    background: rgba(56, 189, 248, 0.06);
}

.lm-watch-rail-cohost__slots .is-live {
    border-style: solid;
    border-color: rgba(0, 255, 159, 0.58);
    color: var(--lm-green);
}

.lm-watch-rail-cohost__slots .is-pending {
    border-style: solid;
    border-color: rgba(255, 63, 212, 0.62);
    color: var(--lm-pink);
}

.lm-watch-rail-cohost__slots .is-approved,
.lm-watch-rail-cohost__slots .is-live-slot {
    border-style: solid;
    border-color: rgba(0, 255, 159, 0.62);
    color: var(--lm-green);
    background: rgba(0, 255, 159, 0.1);
}

.lm-watch-cohost-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

.lm-watch-rail-cohost button {
    min-height: 26px;
    border: 1px solid rgba(0, 255, 159, 0.34);
    border-radius: 999px;
    background: rgba(2, 5, 14, 0.66);
    color: var(--lm-text);
    cursor: pointer;
    font-size: 0.62rem;
    font-weight: 900;
    padding: 0 7px;
}

.lm-watch-rail-cohost button.is-active,
.lm-watch-cohost-plan__flow button.is-active,
.lm-watch-player-controls button.is-on {
    border-color: rgba(0, 255, 159, 0.76);
    color: #04110c;
    background: linear-gradient(135deg, var(--lm-green), rgba(56, 189, 248, 0.94));
    box-shadow: 0 0 18px rgba(0, 255, 159, 0.24);
}

.lm-watch-cohost-status {
    min-height: 13px;
    margin: 0;
    color: var(--lm-green);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.lm-watch-cohost {
    top: 112px;
    right: 18px;
    width: 320px;
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(56, 189, 248, 0.34);
    border-radius: 16px;
    background: rgba(2, 5, 14, 0.58);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 34px rgba(56, 189, 248, 0.13);
}

.lm-watch-cohost span,
.lm-watch-cohost-plan span {
    color: var(--lm-blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lm-watch-cohost strong,
.lm-watch-cohost-plan strong {
    display: block;
    margin-top: 3px;
}

.lm-watch-cohost__slots {
    display: flex;
    gap: 8px;
}

.lm-watch-cohost__slots span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px dashed rgba(56, 189, 248, 0.5);
    border-radius: 50%;
    color: var(--lm-blue);
    background: rgba(56, 189, 248, 0.08);
}

.lm-watch-cohost__slots .is-live {
    border-style: solid;
    border-color: var(--lm-green);
    color: var(--lm-green);
    background: rgba(0, 255, 159, 0.11);
}

.lm-watch-cohost button,
.lm-watch-chat-input button,
.lm-watch-player-controls button {
    border: 1px solid rgba(0, 255, 159, 0.36);
    border-radius: 999px;
    background: rgba(3, 7, 16, 0.82);
    color: var(--lm-text);
    cursor: pointer;
    font-weight: 900;
}

.lm-watch-cohost button {
    min-height: 38px;
}

.lm-watch-engagement {
    right: 276px;
    bottom: 74px;
    display: flex;
    gap: 5px;
    transform: none;
}

.lm-watch-action {
    display: grid;
    place-items: center;
    width: 42px;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--lm-text);
    text-decoration: none;
    background: rgba(2, 5, 14, 0.58);
    backdrop-filter: blur(16px);
    cursor: pointer;
}

.lm-watch-action span {
    color: var(--lm-pink);
    font-size: 0.92rem;
    line-height: 1;
}

.lm-watch-action strong {
    font-size: 0.66rem;
}

.lm-watch-action--like span {
    color: #ff5da8;
}

.lm-watch-chat-overlay {
    left: 18px;
    bottom: 94px;
    width: min(540px, calc(100% - 150px));
    pointer-events: none;
}

.lm-chat-list {
    display: grid;
    gap: 8px;
}

.lm-chat-list--overlay {
    display: flex;
    max-height: 220px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent, #000 24%, #000 100%);
}

.lm-chat-list p {
    margin: 0;
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.lm-chat-list--overlay p {
    width: fit-content;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 6, 14, 0.46);
    color: rgba(244, 247, 255, 0.92);
    line-height: 1.35;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(14px);
}

.lm-chat-list--overlay strong {
    color: var(--lm-green);
}

.lm-watch-chat-input {
    left: 12px;
    right: 282px;
    bottom: 10px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 5px;
    align-items: center;
    padding: 5px;
    border: 1px solid rgba(255, 63, 212, 0.32);
    border-radius: 999px;
    background: rgba(3, 6, 14, 0.58);
    backdrop-filter: blur(22px);
}

.lm-watch-chat-input__field {
    min-width: 0;
}

.lm-watch-chat-input input {
    width: 100%;
    min-height: 34px;
    border: 0;
    outline: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--lm-text);
    padding: 0 10px;
    font: inherit;
}

.lm-watch-chat-input input::placeholder {
    color: rgba(244, 247, 255, 0.58);
}

.lm-watch-chat-input > button {
    min-height: 34px;
    padding: 0 13px;
    border-color: rgba(255, 63, 212, 0.55);
    background: linear-gradient(135deg, rgba(157, 92, 255, 0.92), rgba(255, 63, 212, 0.9));
}

.lm-watch-chat-input > button:hover,
.lm-watch-chat-input > button:focus-visible,
.lm-watch-player-controls button:hover,
.lm-watch-player-controls button:focus-visible,
.lm-watch-cohost-plan__flow button:hover,
.lm-watch-cohost-plan__flow button:focus-visible,
.lm-watch-rail-cohost button:hover,
.lm-watch-rail-cohost button:focus-visible {
    outline: 0;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(255, 63, 212, 0.2), 0 0 16px rgba(0, 255, 159, 0.16);
}

.lm-emoji-picker {
    position: relative;
}

.lm-emoji-picker summary {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 255, 159, 0.3);
    border-radius: 50%;
    background: rgba(0, 255, 159, 0.08);
    cursor: pointer;
    list-style: none;
}

.lm-emoji-picker summary::-webkit-details-marker {
    display: none;
}

.lm-emoji-picker__panel {
    position: absolute;
    left: 0;
    bottom: 42px;
    display: grid;
    grid-template-columns: repeat(4, 34px);
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(0, 255, 159, 0.28);
    border-radius: 14px;
    background: rgba(3, 6, 14, 0.88);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.lm-emoji-picker__panel button {
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 0.95rem;
}

.lm-watch-player-controls {
    right: 12px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 7px;
    border: 1px solid rgba(0, 255, 159, 0.24);
    border-radius: 999px;
    background: rgba(2, 5, 14, 0.6);
    backdrop-filter: blur(18px);
}

.lm-watch-player-controls button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.74rem;
}

.lm-watch-player-controls label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--lm-muted);
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lm-watch-player-controls input[type="range"] {
    width: 104px;
    accent-color: var(--lm-green);
}

.lm-watch-player-controls input[type="range"]:focus-visible {
    outline: 1px solid rgba(0, 255, 159, 0.62);
    outline-offset: 3px;
}

.lm-watch-pop-layer {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.lm-watch-pop {
    position: absolute;
    left: 50%;
    bottom: 26%;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 63, 212, 0.84);
    font-weight: 1000;
    opacity: 0;
    transform: translate3d(-50%, 20px, 0) scale(0.84);
    animation: lmWatchPop 1450ms cubic-bezier(0.2, 0.78, 0.24, 1) forwards;
    box-shadow: 0 0 28px rgba(255, 63, 212, 0.36);
}

.lm-watch-pop--gift {
    background: rgba(0, 255, 159, 0.82);
    color: #03110c;
    box-shadow: 0 0 28px rgba(0, 255, 159, 0.36);
}

.lm-watch-pop--seed:nth-child(1) {
    left: 35%;
    bottom: 36%;
    animation-delay: 380ms;
}

.lm-watch-pop--seed:nth-child(2) {
    left: 66%;
    bottom: 44%;
    animation-delay: 820ms;
}

@keyframes lmWatchPop {
    0% {
        opacity: 0;
        transform: translate3d(-50%, 20px, 0) scale(0.84);
    }
    18% {
        opacity: 1;
    }
    78% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(-50%, -116px, 0) scale(1.08);
    }
}

.lm-watch-cohost-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.06);
}

.lm-watch-cohost-plan__flow {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
}

.lm-watch-cohost-plan__flow span,
.lm-watch-cohost-plan__flow button {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 999px;
    padding: 0 9px;
    color: var(--lm-text);
    background: rgba(2, 5, 14, 0.54);
    font-size: 0.66rem;
    font-weight: 900;
    cursor: pointer;
}

.lm-gift-drawer {
    margin: 8px 0;
    border: 1px solid var(--lm-border);
    border-radius: 12px;
    background: rgba(0, 255, 159, 0.06);
}

.lm-gift-drawer summary {
    cursor: pointer;
    padding: 8px 10px;
    font-weight: 900;
}

.lm-gift-drawer summary span {
    float: right;
    color: var(--lm-muted);
    font-weight: 700;
    font-size: 0.78rem;
}

.lm-gift-drawer__body {
    padding: 0 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-gift-drawer--watch {
    margin: 0;
    border-color: rgba(0, 255, 159, 0.28);
    background:
        radial-gradient(circle at 8% 0%, rgba(0, 255, 159, 0.14), transparent 38%),
        rgba(3, 7, 16, 0.78);
}

.lm-gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
    gap: 6px;
}

.lm-gift-grid button {
    min-height: 42px;
    border-radius: 9px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 0.76rem;
}

.lm-gift-drawer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lm-watch-recommendations {
    display: grid;
    gap: 8px;
}

.lm-watch-recommendations .lm-section {
    padding: 10px;
    border: 1px solid rgba(157, 92, 255, 0.28);
    border-radius: 12px;
    background: rgba(3, 7, 16, 0.58);
}

.lm-watch-recommendations .lm-section__head {
    align-items: center;
    gap: 6px;
}

.lm-watch-recommendations .lm-live-rail {
    grid-auto-columns: minmax(216px, 278px);
    padding: 0 2px 6px;
}

.lm-watch-recommendations .lm-live-card__desc,
.lm-watch-recommendations .lm-live-card__meta {
    display: none;
}

.lm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lm-rankings,
.lm-analytics,
.lm-help {
    gap: 18px;
}

.lm-ranking-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
    gap: 12px;
    padding: 16px;
    align-items: end;
}

.lm-ranking-filters label,
.lm-support-form label {
    display: grid;
    gap: 7px;
    color: var(--lm-muted);
    font-weight: 700;
}

.lm-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.lm-podium__item {
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--lm-border-pink);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 0, 255, 0.24), transparent 42%),
        rgba(8, 12, 24, 0.94);
}

.lm-podium__item--1 {
    transform: translateY(-10px);
    border-color: var(--lm-green);
}

.lm-podium__rank {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 2rem;
    font-weight: 900;
    color: var(--lm-green);
}

.lm-ranking-list {
    display: grid;
    gap: 10px;
}

.lm-ranking-row {
    display: grid;
    grid-template-columns: 58px auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px;
}

.lm-ranking-row__rank {
    color: var(--lm-green);
    font-weight: 900;
    font-size: 1.2rem;
}

.lm-ranking-row__main {
    min-width: 0;
}

.lm-ranking-row__main h3 {
    margin: 0 0 4px;
}

.lm-ranking-row__score {
    text-align: right;
}

.lm-ranking-row__score strong {
    display: block;
    color: var(--lm-green);
    font-size: 1.35rem;
}

.lm-analytics-pillars {
    padding: 18px 16px;
    border-radius: var(--lm-radius);
    border: 1px solid rgba(0, 255, 159, 0.22);
    background: rgba(8, 12, 22, 0.72);
}

.lm-analytics-pillars__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.lm-analytics-pillar {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 8, 16, 0.65);
}

.lm-analytics-pillar__eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lm-green);
}

.lm-analytics-pillars__grid .lm-analytics-pillar:nth-child(2) .lm-analytics-pillar__eyebrow {
    color: var(--lm-pink);
}

.lm-analytics-pillars__grid .lm-analytics-pillar:nth-child(3) .lm-analytics-pillar__eyebrow {
    color: #fcd34d;
}

.lm-analytics-pillar__title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--lm-text);
}

.lm-analytics-pillar__lead {
    margin: 0;
    font-size: 0.82rem;
    color: var(--lm-muted);
}

.lm-analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.lm-analytics-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 14px;
}

.lm-analytics-card,
.lm-help-article,
.lm-faq,
.lm-support-panel,
.lm-history-panel {
    padding: 18px;
}

.lm-analytics-card .lm-card-badge {
    color: var(--lm-green);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lm-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lm-metric-grid strong {
    border: 1px solid rgba(0, 255, 159, 0.18);
    border-radius: 12px;
    padding: 12px;
    color: var(--lm-green);
    font-size: 1.4rem;
}

.lm-metric-grid small {
    display: block;
    color: var(--lm-muted);
    font-size: 0.72rem;
}

.lm-progress {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.lm-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--lm-green), var(--lm-pink));
}

.lm-history-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12px, 1fr));
    align-items: end;
    gap: 5px;
    min-height: 180px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.36);
}

.lm-history-chart span {
    display: block;
    min-height: 18px;
    height: calc(190px - min(170px, var(--rank) * 8px));
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, var(--lm-green), var(--lm-pink));
}

.lm-factor-table {
    width: 100%;
    border-collapse: collapse;
}

.lm-factor-table th,
.lm-factor-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.lm-help {
    max-width: 1240px;
}

.lm-faq {
    display: grid;
    gap: 10px;
}

.lm-faq details {
    border: 1px solid rgba(157, 92, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.22);
}

.lm-faq summary {
    cursor: pointer;
    font-weight: 900;
}

.lm-support-panel {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 18px;
}

.lm-support-form {
    display: grid;
    gap: 12px;
}

.lm-support-form textarea {
    min-height: 150px;
    resize: vertical;
}

.lm-support-status {
    min-height: 22px;
    color: var(--lm-green);
}

.lm-shell[data-lm-surface="discovery"] {
    width: min(1420px, calc(100% - 16px));
    gap: 12px;
    min-height: calc(100vh - 92px);
}

.lm-shell[data-lm-surface="discovery"] .lm-top {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
}

.lm-shell[data-lm-surface="discovery"] .lm-top__copy h1 {
    font-size: clamp(1.65rem, 2.3vw, 2.8rem);
    line-height: 1.02;
}

.lm-shell[data-lm-surface="discovery"] .lm-top__copy p {
    max-width: 760px;
    margin: 8px 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.lm-shell[data-lm-surface="discovery"] .lm-search input {
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 9px;
}

.lm-shell[data-lm-surface="discovery"] .lm-search button {
    min-height: 38px;
    padding: 8px 15px;
}

.lm-shell[data-lm-surface="discovery"] .lm-quick-filter,
.lm-shell[data-lm-surface="discovery"] .lm-routes-row {
    gap: 8px;
}

.lm-shell[data-lm-surface="discovery"] .lm-quick-filter a,
.lm-shell[data-lm-surface="discovery"] .lm-routes-row a,
.lm-shell[data-lm-surface="discovery"] .lm-category-chip,
.lm-shell[data-lm-surface="discovery"] .lm-section__head a {
    min-height: 34px;
    padding: 6px 11px;
    font-size: 0.82rem;
}

.lm-shell[data-lm-surface="discovery"] .lm-category-shell {
    gap: 8px;
    padding: 7px;
    border-radius: 11px;
}

.lm-shell[data-lm-surface="discovery"] .lm-category-rail {
    gap: 8px;
}

.lm-shell[data-lm-surface="discovery"] .lm-rail-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
}

.lm-shell[data-lm-surface="discovery"] .lm-section {
    gap: 9px;
}

.lm-shell[data-lm-surface="discovery"] .lm-section__head {
    gap: 12px;
}

.lm-shell[data-lm-surface="discovery"] .lm-section__head h2 {
    font-size: 1.05rem;
}

.lm-shell[data-lm-surface="discovery"] .lm-section__head p {
    margin-top: 3px;
    font-size: 0.86rem;
}

.lm-shell[data-lm-surface="discovery"] .lm-hero-feature {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    min-height: 300px;
    border-radius: 14px;
}

.lm-shell[data-lm-surface="discovery"] .lm-hero-feature__stage {
    min-height: 300px;
    max-height: 410px;
}

.lm-shell[data-lm-surface="discovery"] .lm-hero-feature__body {
    padding: 20px;
    gap: 10px;
}

.lm-shell[data-lm-surface="discovery"] .lm-hero-feature__body h1 {
    font-size: clamp(1.55rem, 2.35vw, 3rem);
    line-height: 1;
}

.lm-shell[data-lm-surface="discovery"] .lm-hero-feature__body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.lm-shell[data-lm-surface="discovery"] .lm-live-rail {
    grid-auto-columns: minmax(250px, 320px);
    gap: 12px;
}

.lm-shell[data-lm-surface="discovery"] .lm-live-card__body {
    padding: 11px;
}

.lm-shell[data-lm-surface="discovery"] .lm-live-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.lm-shell[data-lm-surface="discovery"] .lm-event-strip {
    padding: 12px;
    border-radius: 11px;
}

.lm-shell[data-lm-surface="discovery"] .lm-event-strip__link {
    gap: 6px 12px;
}

@media (max-width: 1180px) {
    .lm-top,
    .lm-hero-feature,
    .lm-watch,
    .lm-analytics-two,
    .lm-support-panel {
        grid-template-columns: 1fr;
    }

    .lm-shell[data-lm-surface="discovery"] .lm-top,
    .lm-shell[data-lm-surface="discovery"] .lm-hero-feature {
        grid-template-columns: 1fr;
    }

    .lm-watch-sidebar {
        position: static;
        max-height: none;
    }

    .lm-analytics-grid,
    .lm-analytics-pillars__grid,
    .lm-ranking-explain,
    .lm-podium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lm-world-cup-hero,
    .lm-world-cup-rewards {
        grid-template-columns: 1fr;
    }

    .lm-world-cup-strip {
        grid-template-columns: 1fr;
    }

    .lm-world-cup-strip__preview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lm-ranking-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .lm-watch-stage {
        height: min(96vh, 900px);
        min-height: 780px;
    }

    .lm-watch-overlay-top {
        top: 7px;
        left: 7px;
        right: 7px;
        align-items: center;
    }

    .lm-watch-overlay-top .lm-avatar {
        width: 36px;
        height: 36px;
    }

    .lm-watch-head__creator {
        gap: 7px;
    }

    .lm-watch-head__creator h1 {
        max-width: 14rem;
        font-size: 0.98rem;
    }

    .lm-watch-head__creator p:not(.lm-watch-live-label) {
        font-size: 0.64rem;
    }

    .lm-watch-live-label {
        font-size: 0.58rem;
    }

    .lm-watch-actions button {
        min-height: 38px;
        padding: 0 13px;
        font-size: 0.78rem;
    }

    .lm-watch-actions button:nth-child(n + 2) {
        display: none;
    }

    .lm-watch-ranking-strip {
        top: 60px;
        left: 7px;
        right: 7px;
        max-width: none;
        overflow-x: auto;
        gap: 3px;
        padding: 3px;
    }

    .lm-watch-ranking-strip span {
        min-width: 112px;
        padding: 3px 5px;
    }

    .lm-watch-support-rail {
        top: 102px;
        left: 7px;
        right: auto;
        width: min(270px, calc(100% - 82px));
        bottom: auto;
        height: 190px;
        gap: 4px;
        padding: 5px;
    }

    .lm-watch-engagement {
        top: auto;
        right: 8px;
        bottom: 104px;
        flex-direction: column;
        transform: none;
    }

    .lm-watch-action {
        width: 40px;
        min-height: 40px;
        border-radius: 11px;
    }

    .lm-watch-rail-cohost {
        display: none;
    }

    .lm-chat-list--rail p {
        padding: 4px 5px;
        font-size: 0.64rem;
        line-height: 1.14;
    }

    .lm-watch-chat-input {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 4px;
    }

    .lm-watch-player-controls {
        left: 8px;
        right: auto;
        bottom: 58px;
        padding: 4px 6px;
    }

    .lm-watch-player-controls label span {
        display: none;
    }

    .lm-watch-player-controls button {
        min-height: 30px;
        padding: 0 9px;
    }

    .lm-watch-player-controls input[type="range"] {
        width: 88px;
    }

    .lm-watch-cohost-plan {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 720px) {
    .lm-world-cup-strip {
        gap: 9px;
        padding: 10px;
        border-radius: 12px;
    }

    .lm-world-cup-strip__preview {
        grid-template-columns: 1fr;
    }

    .lm-world-cup-strip__rank,
    .lm-world-cup-strip__empty {
        min-height: 58px;
        grid-template-columns: auto 30px minmax(0, 1fr) auto;
        border-radius: 10px;
    }

    .lm-world-cup-strip__cta {
        width: 100%;
    }

    body.ss-shell-body.lm-watch-body .su-topbar {
        gap: 4px !important;
        padding: 4px 10px !important;
    }

    body.ss-shell-body.lm-watch-body .su-topbar-row {
        gap: 6px !important;
    }

    body.ss-shell-body.lm-watch-body .su-guest-hint {
        min-height: 24px !important;
        border-radius: 12px !important;
        padding: 0 10px !important;
        font-size: 0.6rem !important;
        line-height: 1 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.ss-shell-body.lm-watch-body .su-actions {
        gap: 4px !important;
        padding: 2px !important;
        border-radius: 12px !important;
    }

    body.ss-shell-body.lm-watch-body .su-actions .su-btn-auth {
        min-height: 30px !important;
        padding: 0 8px !important;
        font-size: 0.72rem !important;
    }

    body.ss-shell-body.lm-watch-body .su-content {
        padding: 3px 5px 58px !important;
    }

    body.ss-shell-body.lm-watch-body .su-bottom-nav.ss-mobile-bottom-nav.ss-mobile-bottom-nav--social-dock {
        bottom: max(4px, env(safe-area-inset-bottom)) !important;
        width: min(calc(100vw - 8px), 420px) !important;
        padding: 2px 5px calc(3px + env(safe-area-inset-bottom)) !important;
        border-radius: 13px !important;
    }

    body.ss-shell-body.lm-watch-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell {
        gap: 4px !important;
    }

    body.ss-shell-body.lm-watch-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail,
    body.ss-shell-body.lm-watch-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock {
        min-height: 32px !important;
        gap: 4px !important;
    }

    body.ss-shell-body.lm-watch-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail {
        display: none !important;
    }

    body.ss-shell-body.lm-watch-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock {
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        justify-content: space-between !important;
    }

    body.ss-shell-body.lm-watch-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail-item,
    body.ss-shell-body.lm-watch-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item {
        flex: 1 1 0 !important;
        min-width: 50px !important;
        min-height: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
        border-radius: 10px !important;
        font-size: 0.48rem !important;
        letter-spacing: 0 !important;
        line-height: 1 !important;
    }

    body.ss-shell-body.lm-watch-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create {
        flex: 0 0 36px !important;
        flex-basis: 36px !important;
        width: 36px !important;
        min-width: 36px !important;
        border-radius: 11px !important;
    }

    body.ss-shell-body.lm-watch-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create .su-bottom-nav__plus {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.98rem !important;
    }

    .lm-shell,
    .lm-rankings,
    .lm-analytics,
    .lm-help,
    .lm-watch__main {
        padding-bottom: 72px;
    }

    .lm-shell[data-lm-surface="discovery"] {
        width: min(100%, calc(100% - 10px));
        gap: 10px;
    }

    .lm-shell[data-lm-surface="discovery"] .lm-top__copy h1 {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }

    .lm-shell[data-lm-surface="discovery"] .lm-hero-feature__stage {
        aspect-ratio: 16 / 9;
        min-height: 0;
        max-height: none;
    }

    .lm-shell[data-lm-surface="discovery"] .lm-hero-feature {
        min-height: 0;
    }

    .lm-top,
    .lm-watch__main,
    .lm-watch-sidebar,
    .lm-analytics-card,
    .lm-help-article,
    .lm-faq,
    .lm-support-panel,
    .lm-ranking-filters {
        border-radius: 12px;
        padding: 14px;
    }

    .lm-search,
    .lm-watch-head,
    .lm-ranking-row,
    .lm-analytics-grid,
    .lm-analytics-pillars__grid,
    .lm-ranking-explain,
    .lm-podium,
    .lm-ranking-filters {
        grid-template-columns: 1fr;
    }

    .lm-ranking-row {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
    }

    .lm-ranking-row__rank {
        grid-column: 1;
        grid-row: 1;
    }

    .lm-ranking-row > .lm-avatar {
        grid-column: 1;
        grid-row: 2;
    }

    .lm-ranking-row__main {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .lm-ranking-row__score {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-top: 10px;
        border-top: 1px solid rgba(157, 92, 255, 0.24);
        text-align: left;
    }

    .lm-live-rail {
        grid-auto-columns: minmax(250px, 86vw);
    }

    .lm-rail-arrow {
        display: none;
    }

    .lm-watch__main--immersive {
        gap: 5px;
        padding: 3px;
        border-radius: 10px;
    }

    .lm-watch-stage {
        height: min(98vh, 920px);
        min-height: 800px;
        border-radius: 10px;
    }

    .lm-watch-stage__shade {
        background:
            linear-gradient(180deg, rgba(1, 2, 7, 0.82), transparent 32%, transparent 54%, rgba(1, 2, 7, 0.9)),
            linear-gradient(90deg, rgba(1, 2, 7, 0.5), transparent 52%);
    }

    .lm-watch-ranking-strip {
        top: 54px;
        padding: 2px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .lm-watch-ranking-strip span {
        min-width: 0;
        padding: 2px 5px;
        border-radius: 6px;
    }

    .lm-watch-ranking-strip small {
        font-size: 0.43rem;
    }

    .lm-watch-ranking-strip span:nth-of-type(3),
    .lm-watch-ranking-strip .lm-help-link {
        display: none;
    }

    .lm-watch-ranking-strip strong {
        font-size: 0.56rem;
    }

    .lm-watch-support-rail {
        top: 88px;
        right: auto;
        width: min(224px, calc(100% - 92px));
        height: 174px;
        gap: 3px;
        padding: 4px;
        border-radius: 10px;
    }

    .lm-watch-support-rail.is-chat-active {
        position: fixed;
        left: 14px;
        right: 92px;
        bottom: 176px;
        width: auto;
        height: 104px;
        z-index: 20;
    }

    .lm-watch-support-rail.is-chat-active .lm-watch-rail-tabs {
        width: min(252px, 100%);
    }

    .lm-watch-support-rail.is-chat-active .lm-chat-list--rail {
        mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 100%);
    }

    .lm-watch-support-rail.is-chat-active .lm-chat-list--rail p {
        max-width: 100%;
        font-size: 0.72rem;
        line-height: 1.24;
    }

    .lm-watch-engagement {
        position: fixed;
        right: 10px;
        bottom: 112px;
        z-index: 20;
    }

    .lm-watch-rail-tabs button {
        min-height: 20px;
        border-radius: 7px;
        font-size: 0.48rem;
    }

    .lm-watch-panel-head {
        display: none;
    }

    .lm-watch-rail-stats {
        gap: 6px;
    }

    .lm-watch-rail-stats span,
    .lm-watch-activity-list p,
    .lm-watch-stream-info {
        border-radius: 7px;
        padding: 4px 5px;
    }

    .lm-chat-list--rail {
        gap: 2px;
    }

    .lm-chat-list--rail p {
        padding: 3px 5px;
        font-size: 0.6rem;
        line-height: 1.12;
    }

    .lm-chat-list--rail strong {
        margin-bottom: 0;
        font-size: 0.54rem;
    }

    .lm-watch-chat-input {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 52px;
        z-index: 20;
        grid-template-columns: auto minmax(0, 1fr) auto;
        border-radius: 999px;
        gap: 4px;
        padding: 3px;
    }

    .lm-watch-player-controls {
        position: fixed;
        left: 10px;
        bottom: 98px;
        z-index: 20;
        padding: 3px 5px;
    }

    .lm-watch-chat-input input,
    .lm-watch-chat-input > button,
    .lm-emoji-picker summary {
        min-height: 30px;
    }

    .lm-watch-chat-input > button {
        padding: 0 9px;
        font-size: 0.76rem;
    }

    .lm-watch-player-controls input[type="range"] {
        width: 74px;
    }

    .lm-gift-drawer summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 7px 9px;
        font-size: 0.82rem;
    }

    .lm-gift-drawer summary span {
        display: inline;
        float: none;
        margin-top: 0;
        font-size: 0.68rem;
    }

    .lm-watch-recommendations .lm-section {
        padding: 8px;
        border-radius: 12px;
    }

    .lm-watch-recommendations .lm-section__head {
        align-items: center;
        flex-direction: row;
    }
}

/* === TikTok Density Pass === */
.lm-watch--immersive {
    width: min(1680px, calc(100vw - 8px));
    padding-bottom: 6px;
}

.lm-watch__main--immersive {
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
}

.lm-watch-stage {
    height: min(91vh, 980px);
    min-height: 720px;
    border-radius: 11px;
}

.lm-watch-overlay-top {
    top: 7px;
    left: 8px;
    right: 8px;
    gap: 8px;
}

.lm-watch-head__creator {
    gap: 7px;
}

.lm-watch-head__creator h1 {
    margin: 0 0 1px;
    font-size: 1.28rem;
}

.lm-watch-head__creator p {
    font-size: 0.72rem;
    line-height: 1.2;
}

.lm-watch-live-label {
    font-size: 0.6rem;
}

.lm-watch-actions {
    gap: 5px;
}

.lm-watch-actions button {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.68rem;
}

.lm-watch-ranking-strip {
    top: 68px;
    left: 8px;
    max-width: min(430px, calc(100% - 250px));
    gap: 3px;
    padding: 3px;
    border-radius: 9px;
}

.lm-watch-ranking-strip span {
    padding: 3px 5px;
    border-radius: 7px;
}

.lm-watch-ranking-strip small {
    font-size: 0.5rem;
}

.lm-watch-ranking-strip strong {
    font-size: 0.62rem;
}

.lm-watch-ranking-strip .lm-help-link {
    min-height: 27px;
    min-width: 27px;
}

.lm-watch-support-rail {
    top: 92px;
    right: 8px;
    bottom: 52px;
    width: 218px;
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
}

.lm-watch-rail-tabs {
    gap: 2px;
    padding: 2px;
    border-radius: 8px;
}

.lm-watch-rail-tabs button {
    min-height: 22px;
    border-radius: 6px;
    font-size: 0.5rem;
}

.lm-watch-support-panel.is-active,
.lm-chat-list--rail,
.lm-watch-activity-list,
.lm-watch-rail-stats {
    gap: 3px;
}

.lm-chat-list.lm-chat-list--rail {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.lm-watch-panel-head {
    min-height: 20px;
}

.lm-watch-panel-head strong {
    font-size: 0.68rem;
}

.lm-watch-panel-head span,
.lm-watch-rail-stats small,
.lm-watch-activity-list span,
.lm-watch-rail-cohost span {
    font-size: 0.5rem;
}

.lm-chat-list--rail p,
.lm-watch-activity-list p,
.lm-watch-stream-info {
    flex: 0 0 auto;
    padding: 4px 5px;
    border-radius: 7px;
    font-size: 0.63rem;
    line-height: 1.18;
}

.lm-chat-list--rail strong {
    font-size: 0.58rem;
}

.lm-watch-rail-stats span {
    padding: 5px;
    border-radius: 7px;
}

.lm-watch-rail-stats strong {
    font-size: 0.78rem;
}

.lm-watch-creator-link {
    min-height: 24px;
    font-size: 0.6rem;
}

.lm-watch-rail-cohost {
    gap: 4px;
    padding: 4px;
    border-radius: 8px;
}

.lm-watch-rail-cohost__head {
    gap: 4px;
}

.lm-watch-rail-cohost small,
.lm-watch-rail-cohost strong {
    font-size: 0.62rem;
}

.lm-watch-rail-cohost__slots span {
    width: 18px;
    height: 18px;
    font-size: 0.48rem;
}

.lm-watch-cohost-actions {
    gap: 3px;
}

.lm-watch-rail-cohost button {
    min-height: 23px;
    padding: 0 5px;
    font-size: 0.52rem;
}

.lm-watch-cohost-status {
    min-height: 11px;
    font-size: 0.5rem;
}

.lm-watch-engagement {
    right: 236px;
    bottom: 56px;
    gap: 4px;
}

.lm-watch-action {
    width: 34px;
    min-height: 34px;
    border-radius: 9px;
}

.lm-watch-action span {
    font-size: 0.78rem;
}

.lm-watch-action strong {
    font-size: 0.56rem;
}

.lm-watch-chat-input {
    left: 8px;
    right: 236px;
    bottom: 7px;
    gap: 4px;
    padding: 4px;
}

.lm-watch-chat-input input,
.lm-watch-chat-input > button,
.lm-emoji-picker summary,
.lm-emoji-picker__panel button {
    min-height: 30px;
    height: 30px;
}

.lm-watch-chat-input input {
    padding: 0 9px;
    font-size: 0.78rem;
}

.lm-watch-chat-input > button {
    padding: 0 10px;
    font-size: 0.68rem;
}

.lm-emoji-picker summary {
    width: 30px;
}

.lm-emoji-picker__panel {
    bottom: 36px;
    grid-template-columns: repeat(4, 30px);
    gap: 3px;
    padding: 4px;
    border-radius: 10px;
}

.lm-emoji-picker__panel button {
    width: 30px;
    padding: 0;
}

.lm-watch-player-controls {
    right: 8px;
    bottom: 7px;
    gap: 4px;
    padding: 4px 6px;
}

.lm-watch-player-controls button {
    min-height: 28px;
    padding: 0 8px;
    font-size: 0.62rem;
}

.lm-watch-player-controls label {
    gap: 4px;
    font-size: 0.56rem;
}

.lm-watch-player-controls input[type="range"] {
    width: 82px;
}

.lm-watch-cohost-plan {
    gap: 6px;
    padding: 6px 8px;
    border-radius: 9px;
}

.lm-watch-cohost-plan span,
.lm-watch-cohost-plan__flow span,
.lm-watch-cohost-plan__flow button {
    font-size: 0.58rem;
}

.lm-watch-cohost-plan strong {
    font-size: 0.78rem;
}

.lm-watch-cohost-plan__flow {
    gap: 4px;
}

.lm-watch-cohost-plan__flow span,
.lm-watch-cohost-plan__flow button {
    min-height: 22px;
    padding: 0 7px;
}

.lm-gift-drawer {
    margin: 4px 0;
    border-radius: 9px;
}

.lm-gift-drawer summary {
    padding: 6px 8px;
    font-size: 0.76rem;
}

.lm-gift-drawer summary span {
    font-size: 0.66rem;
}

.lm-gift-drawer__body {
    gap: 5px;
    padding: 0 7px 7px;
}

.lm-gift-grid {
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 4px;
}

.lm-gift-grid button {
    min-height: 34px;
    padding: 4px 6px;
    border-radius: 7px;
    font-size: 0.66rem;
}

.lm-gift-drawer__actions {
    gap: 5px;
}

.lm-watch-recommendations {
    gap: 5px;
}

.lm-watch-recommendations .lm-section {
    padding: 7px;
    border-radius: 9px;
}

.lm-watch-recommendations .lm-live-rail {
    grid-auto-columns: minmax(180px, 236px);
    gap: 7px;
}

@media (max-width: 960px) {
    .lm-watch-stage {
        height: min(96vh, 920px);
        min-height: 780px;
    }

    .lm-watch-ranking-strip {
        top: 58px;
        max-width: none;
    }

    .lm-watch-support-rail {
        top: 96px;
        width: min(246px, calc(100% - 82px));
        height: 178px;
    }

    .lm-watch-chat-input {
        right: 8px;
    }

    .lm-watch-engagement {
        right: 8px;
    }
}

@media (max-width: 720px) {
    .lm-watch__main--immersive {
        padding: 3px;
    }

    .lm-watch-stage {
        height: min(98vh, 920px);
        min-height: 800px;
    }

    .lm-watch-ranking-strip {
        top: 54px;
        padding: 2px;
    }

    .lm-watch-ranking-strip span {
        padding: 2px 5px;
        border-radius: 6px;
    }

    .lm-watch-ranking-strip small {
        font-size: 0.43rem;
    }

    .lm-watch-ranking-strip strong {
        font-size: 0.56rem;
    }

    .lm-watch-support-rail {
        top: 88px;
        width: min(224px, calc(100% - 92px));
        height: 174px;
        gap: 3px;
        padding: 4px;
        border-radius: 10px;
    }

    .lm-chat-list--rail {
        gap: 2px;
    }

    .lm-chat-list--rail p {
        padding: 3px 5px;
        font-size: 0.6rem;
        line-height: 1.12;
    }

    .lm-chat-list--rail strong {
        margin-bottom: 0;
        font-size: 0.54rem;
    }

    .lm-watch-engagement {
        right: 10px;
        bottom: 108px;
    }

    .lm-watch-chat-input {
        left: 10px;
        right: 10px;
        bottom: 47px;
        gap: 4px;
        padding: 3px;
    }

    .lm-watch-player-controls {
        left: 10px;
        right: auto;
        bottom: 92px;
        width: auto;
        max-width: 154px;
        padding: 3px 5px;
    }

    .lm-watch-action {
        width: 36px;
        min-height: 36px;
    }
}

/* Mobile portrait live-watch pass: keep video dominant and move live controls into the scene. */
@media (max-width: 720px) and (orientation: portrait) {
    body.ss-shell-body.lm-watch-body {
        background: #02040a;
    }

    body.ss-shell-body.lm-watch-body .su-content {
        padding: 2px 4px calc(52px + env(safe-area-inset-bottom)) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .lm-watch--immersive {
        width: 100%;
        padding-bottom: 0;
    }

    .lm-watch__main,
    .lm-watch__main--immersive {
        gap: 5px;
        padding: 0 0 5px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .lm-watch-stage {
        flex: 0 0 clamp(500px, 67svh, 620px);
        height: clamp(500px, 67svh, 620px);
        min-height: 0;
        max-height: calc(100svh - 154px);
        border-radius: 14px;
        border-color: rgba(255, 63, 212, 0.34);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.045),
            0 0 28px rgba(255, 63, 212, 0.18);
    }

    @supports not (height: 1svh) {
        .lm-watch-stage {
            flex-basis: clamp(500px, 67vh, 620px);
            height: clamp(500px, 67vh, 620px);
            max-height: calc(100vh - 154px);
        }
    }

    .lm-watch-stage__shade {
        background:
            linear-gradient(180deg, rgba(1, 2, 7, 0.74), transparent 21%, transparent 54%, rgba(1, 2, 7, 0.9)),
            linear-gradient(90deg, rgba(1, 2, 7, 0.6), transparent 42%, rgba(1, 2, 7, 0.38));
    }

    .lm-watch-stage__poster span {
        max-width: 76%;
        font-size: 1.6rem;
        line-height: 1;
        text-align: center;
    }

    .lm-watch-overlay-top {
        top: 8px;
        left: 8px;
        right: 8px;
        gap: 6px;
    }

    .lm-watch-head__creator {
        min-width: 0;
        gap: 6px;
    }

    .lm-watch-overlay-top .lm-avatar {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
    }

    .lm-watch-live-label {
        margin: 0;
        font-size: 0.45rem;
        letter-spacing: 0.05em;
        line-height: 1;
    }

    .lm-watch-head__creator h1 {
        max-width: 12rem;
        margin: 0;
        overflow: hidden;
        font-size: 0.76rem;
        line-height: 1.02;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lm-watch-head__creator p:not(.lm-watch-live-label) {
        max-width: 12rem;
        margin: 1px 0 0;
        overflow: hidden;
        color: rgba(244, 247, 255, 0.7);
        font-size: 0.52rem;
        line-height: 1.05;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lm-watch-actions {
        flex: 0 0 auto;
        gap: 4px;
    }

    .lm-watch-actions button {
        min-height: 26px;
        padding: 0 7px;
        border-radius: 999px;
        font-size: 0.56rem;
    }

    .lm-watch-actions button:nth-child(n + 2) {
        display: none;
    }

    .lm-watch-ranking-strip {
        top: 43px;
        right: 64px;
        left: 8px;
        max-width: none;
        gap: 2px;
        padding: 2px;
        overflow: hidden;
        border-radius: 9px;
        background: rgba(3, 6, 14, 0.36);
        backdrop-filter: blur(14px);
    }

    .lm-watch-ranking-strip span {
        min-width: 0;
        flex: 1 1 0;
        padding: 2px 4px;
    }

    .lm-watch-ranking-strip span:nth-of-type(3),
    .lm-watch-ranking-strip .lm-help-link {
        display: none;
    }

    .lm-watch-ranking-strip small {
        font-size: 0.4rem;
        letter-spacing: 0.04em;
    }

    .lm-watch-ranking-strip strong {
        font-size: 0.52rem;
    }

    .lm-watch-player-controls {
        position: absolute;
        top: 73px;
        right: 8px;
        bottom: auto;
        left: auto;
        width: auto;
        max-width: none;
        gap: 0;
        padding: 2px;
        background: rgba(2, 5, 14, 0.52);
        backdrop-filter: blur(14px);
    }

    .lm-watch-player-controls label {
        display: none;
    }

    .lm-watch-player-controls button {
        min-height: 28px;
        padding: 0 8px;
        font-size: 0.55rem;
    }

    .lm-watch-support-rail {
        position: absolute;
        top: auto;
        right: 62px;
        bottom: 52px;
        left: 8px;
        width: auto;
        height: 118px;
        display: block;
        padding: 0;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .lm-watch-rail-tabs,
    .lm-watch-panel-head,
    .lm-watch-rail-cohost {
        display: none !important;
    }

    .lm-watch-rail-panels,
    .lm-watch-support-panel.is-active {
        height: 100%;
        min-height: 0;
    }

    .lm-watch-support-panel:not(.is-active) {
        display: none !important;
    }

    .lm-chat-list--rail {
        max-height: 118px;
        gap: 3px;
        justify-content: flex-end;
        overflow: hidden;
        padding: 0;
        scrollbar-width: none;
        mask-image: linear-gradient(180deg, transparent, #000 24%, #000 100%);
    }

    .lm-chat-list--rail::-webkit-scrollbar {
        display: none;
    }

    .lm-chat-list--rail p {
        width: fit-content;
        max-width: 100%;
        border: 0;
        border-radius: 999px;
        padding: 4px 7px;
        background: rgba(2, 5, 14, 0.46);
        color: rgba(244, 247, 255, 0.9);
        font-size: 0.58rem;
        line-height: 1.12;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.72);
        backdrop-filter: blur(12px);
    }

    .lm-chat-list--rail strong {
        display: inline;
        margin: 0 4px 0 0;
        color: var(--lm-green);
        font-size: 0.56rem;
    }

    .lm-watch-chat-input {
        position: absolute;
        right: 58px;
        bottom: 9px;
        left: 8px;
        z-index: 9;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 3px;
        padding: 3px;
        border-color: rgba(255, 63, 212, 0.28);
        background: rgba(2, 5, 14, 0.58);
        backdrop-filter: blur(18px);
    }

    .lm-watch-chat-input input,
    .lm-watch-chat-input > button,
    .lm-emoji-picker summary {
        min-height: 32px;
        height: 32px;
    }

    .lm-watch-chat-input input {
        padding: 0 8px;
        font-size: 0.72rem;
    }

    .lm-watch-chat-input > button {
        padding: 0 9px;
        font-size: 0.62rem;
    }

    .lm-emoji-picker summary {
        width: 32px;
        font-size: 0.78rem;
    }

    .lm-emoji-picker__panel {
        bottom: 38px;
        grid-template-columns: repeat(4, 32px);
        gap: 3px;
        padding: 4px;
        border-radius: 11px;
        background: rgba(3, 6, 14, 0.92);
    }

    .lm-emoji-picker__panel button {
        width: 32px;
        min-height: 32px;
        height: 32px;
        padding: 0;
    }

    .lm-watch-engagement {
        position: absolute;
        right: 8px;
        bottom: 54px;
        z-index: 10;
        flex-direction: column;
        gap: 6px;
    }

    .lm-watch-action {
        width: 44px;
        min-height: 44px;
        border-radius: 14px;
        background: rgba(2, 5, 14, 0.58);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
        backdrop-filter: blur(15px);
    }

    .lm-watch-action span {
        font-size: 1.02rem;
    }

    .lm-watch-action strong {
        font-size: 0.5rem;
        line-height: 1;
    }

    .lm-watch-action--close span {
        color: rgba(244, 247, 255, 0.9);
    }

    .lm-watch-action--star span {
        color: #ffd166;
    }

    .lm-watch-action--diamond span {
        color: var(--lm-blue);
    }

    .lm-watch-cohost-plan {
        align-items: center;
        flex-direction: row;
        gap: 6px;
        min-height: 38px;
        padding: 5px 7px;
        border-radius: 10px;
        background: rgba(56, 189, 248, 0.045);
    }

    .lm-watch-cohost-plan span {
        font-size: 0.48rem;
        line-height: 1;
    }

    .lm-watch-cohost-plan strong {
        margin-top: 1px;
        font-size: 0.64rem;
        line-height: 1.08;
    }

    .lm-watch-cohost-plan__flow {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
    }

    .lm-watch-cohost-plan__flow button {
        min-height: 24px;
        padding: 0 5px;
        font-size: 0.52rem;
    }

    .lm-gift-drawer {
        margin: 0;
        border-radius: 10px;
    }

    .lm-gift-drawer summary {
        padding: 6px 8px;
        font-size: 0.68rem;
    }

    .lm-gift-drawer summary span {
        display: none;
    }

    .lm-gift-drawer__body {
        padding: 0 6px 6px;
    }

    .lm-gift-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .lm-gift-grid button {
        min-height: 32px;
        padding: 4px 6px;
        font-size: 0.6rem;
    }

    .lm-watch-recommendations {
        gap: 5px;
        margin-top: 0;
        padding-bottom: 2px;
    }

    .lm-watch-recommendations .lm-section {
        padding: 6px;
        border-radius: 10px;
    }

    .lm-watch-recommendations .lm-section__head {
        align-items: center;
        flex-direction: row;
        gap: 4px;
        margin-bottom: 5px;
    }

    .lm-watch-recommendations .lm-section__head h2 {
        font-size: 0.78rem;
        line-height: 1.05;
    }

    .lm-watch-recommendations .lm-section__head p {
        display: none;
    }

    .lm-watch-recommendations .lm-section__head a {
        min-height: 24px;
        padding: 0 8px;
        font-size: 0.58rem;
    }

    .lm-watch-recommendations .lm-live-rail,
    .lm-watch-recommendations .lm-live-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(126px, 42vw);
        grid-template-columns: none;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 3px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .lm-watch-recommendations .lm-live-rail::-webkit-scrollbar,
    .lm-watch-recommendations .lm-live-grid::-webkit-scrollbar {
        display: none;
    }

    .lm-watch-recommendations .lm-live-card {
        border-radius: 9px;
        scroll-snap-align: start;
    }

    .lm-watch-recommendations .lm-live-card__media {
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .lm-watch-recommendations .lm-live-card__body {
        gap: 3px;
        padding: 6px;
    }

    .lm-watch-recommendations .lm-live-card__creator {
        gap: 5px;
    }

    .lm-watch-recommendations .lm-live-card__creator .lm-avatar {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
    }

    .lm-watch-recommendations .lm-live-card__creator h3 {
        margin: 0;
        overflow: hidden;
        font-size: 0.64rem;
        line-height: 1.05;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lm-watch-recommendations .lm-live-card__creator p {
        margin: 1px 0 0;
        overflow: hidden;
        font-size: 0.5rem;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lm-watch-recommendations .lm-live-card__badges,
    .lm-watch-recommendations .lm-live-card__ux-rail,
    .lm-watch-recommendations .lm-live-card__desc,
    .lm-watch-recommendations .lm-live-card__meta {
        display: none;
    }
}

/* Final high-quality live watch layer: full-bleed video, premium overlays, animated feedback. */
body.ss-shell-body.lm-watch-body,
body.ss-shell-body.lm-watch-body main {
    background: #000 !important;
}

body.ss-shell-body.lm-watch-body .su-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    background: #000 !important;
}

body.ss-shell-body.lm-watch-body .su-sidebar,
body.ss-shell-body.lm-watch-body .su-topbar,
body.ss-shell-body.lm-watch-body .su-bottom-nav.ss-mobile-bottom-nav {
    display: none !important;
}

body.ss-shell-body.lm-watch-body .su-main,
body.ss-shell-body.lm-watch-body .su-content,
body.ss-shell-body.lm-watch-body .su-content-grid,
body.ss-shell-body.lm-watch-body .su-content-main {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    background: #000 !important;
}

body.ss-shell-body.lm-watch-body .su-content {
    height: 100svh !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-snap-type: y proximity;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

body.ss-shell-body.lm-watch-body .su-content-grid,
body.ss-shell-body.lm-watch-body .su-content-main {
    height: auto !important;
    overflow: visible !important;
}

.lm-watch--immersive,
.lm-watch__main,
.lm-watch__main--immersive {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
    box-shadow: none !important;
}

.lm-watch--immersive,
.lm-watch__main,
.lm-watch__main--immersive {
    min-height: 100svh;
    height: auto !important;
    overflow: visible !important;
}

.lm-watch-stage {
    width: 100vw !important;
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
    box-shadow: none !important;
    scroll-snap-align: start;
}

@supports not (height: 1svh) {
    body.ss-shell-body.lm-watch-body .su-content {
        height: 100vh !important;
    }

    .lm-watch--immersive,
    .lm-watch__main,
    .lm-watch__main--immersive,
    .lm-watch-stage {
        min-height: 100vh !important;
    }

    .lm-watch-stage {
        height: 100vh !important;
    }
}

.lm-watch-stage__media::before,
.lm-watch-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lm-watch-stage__media::before {
    z-index: 1;
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 255, 159, 0.14), transparent 28%),
        radial-gradient(circle at 78% 24%, rgba(255, 63, 212, 0.16), transparent 30%),
        linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.07) 42%, transparent 48%);
    mix-blend-mode: screen;
    opacity: 0.58;
    animation: lmWatchAuraSweep 7s ease-in-out infinite alternate;
}

.lm-watch-stage::after {
    z-index: 2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(0, 0, 0, 0.5) 100%);
    background-size: 100% 5px, 100% 100%;
    opacity: 0.22;
}

.lm-watch-stage video,
.lm-watch-stage__poster {
    object-fit: cover !important;
    background-size: cover !important;
    background-position: center !important;
    filter: saturate(1.14) contrast(1.08) brightness(0.78);
}

.lm-watch-stage video::-webkit-media-controls,
.lm-watch-stage video::-webkit-media-controls-panel,
.lm-watch-stage video::-webkit-media-controls-play-button,
.lm-watch-stage video::-webkit-media-controls-timeline,
.lm-watch-stage video::-webkit-media-controls-current-time-display,
.lm-watch-stage video::-webkit-media-controls-time-remaining-display,
.lm-watch-stage video::-webkit-media-controls-mute-button,
.lm-watch-stage video::-webkit-media-controls-volume-slider,
.lm-watch-stage video::-webkit-media-controls-fullscreen-button {
    display: none !important;
    opacity: 0 !important;
}

.lm-watch-stage__shade {
    z-index: 3;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 18%, transparent 48%, rgba(0, 0, 0, 0.88)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 38%, rgba(0, 0, 0, 0.52)),
        radial-gradient(circle at 52% 56%, transparent 0 28%, rgba(0, 0, 0, 0.42) 78%);
}

.lm-watch-stage__poster span {
    z-index: 4;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: 0;
    text-shadow:
        0 0 18px rgba(255, 255, 255, 0.34),
        0 0 44px rgba(255, 63, 212, 0.58),
        0 16px 80px rgba(0, 0, 0, 0.92);
}

.lm-watch-overlay-top,
.lm-watch-ranking-strip,
.lm-watch-support-rail,
.lm-watch-engagement,
.lm-watch-chat-input,
.lm-watch-live-metrics,
.lm-watch-cohost-plan {
    z-index: 8;
}

.lm-watch-overlay-top {
    top: 24px;
    left: 28px;
    right: 28px;
    align-items: flex-start;
}

.lm-watch-head__creator {
    max-width: min(520px, calc(100vw - 420px));
    gap: 10px;
    padding: 8px 13px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.44), rgba(9, 12, 26, 0.2));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(0, 255, 159, 0.06);
    backdrop-filter: blur(18px) saturate(1.24);
}

.lm-watch-overlay-top .lm-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-color: rgba(0, 255, 159, 0.72);
    box-shadow:
        0 0 18px rgba(0, 255, 159, 0.38),
        0 0 36px rgba(255, 63, 212, 0.18);
}

.lm-watch-live-label {
    color: var(--lm-green) !important;
    font-size: 0.55rem;
    line-height: 1;
    text-shadow: 0 0 18px rgba(0, 255, 159, 0.34);
}

.lm-watch-head__creator h1 {
    max-width: 26rem;
    margin: 1px 0 0;
    overflow: hidden;
    font-size: 1.02rem;
    line-height: 1.03;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-watch-head__creator p:not(.lm-watch-live-label) {
    margin: 1px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    line-height: 1.1;
}

.lm-watch-actions {
    display: flex;
    gap: 7px;
}

.lm-watch-actions button {
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 0 13px;
    color: #fff;
    background: rgba(0, 0, 0, 0.32);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    font-size: 0.66rem;
    font-weight: 950;
}

.lm-watch-actions button:first-child {
    border-color: rgba(255, 63, 212, 0.46);
    background: linear-gradient(135deg, rgba(157, 92, 255, 0.88), rgba(255, 63, 212, 0.84));
    box-shadow: 0 0 30px rgba(255, 63, 212, 0.22), 0 14px 34px rgba(0, 0, 0, 0.3);
}

.lm-watch-live-metrics {
    position: absolute;
    top: 24px;
    left: 50%;
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 9px;
    align-items: center;
    min-width: 148px;
    padding: 8px 13px 8px 11px;
    border: 1px solid rgba(255, 93, 168, 0.34);
    border-radius: 999px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 93, 168, 0.26), transparent 48%),
        rgba(0, 0, 0, 0.36);
    box-shadow:
        0 0 28px rgba(255, 93, 168, 0.22),
        0 18px 48px rgba(0, 0, 0, 0.34);
    transform: translateX(-50%);
    backdrop-filter: blur(18px) saturate(1.24);
}

.lm-watch-live-metrics__pulse {
    grid-row: 1 / 3;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background:
        radial-gradient(circle, #fff 0 13%, #ff5da8 15% 48%, rgba(255, 93, 168, 0.18) 51% 100%);
    box-shadow: 0 0 26px rgba(255, 93, 168, 0.58);
    animation: lmWatchPulse 1.8s ease-in-out infinite;
}

.lm-watch-live-metrics strong {
    font-size: 1rem;
    line-height: 1;
}

.lm-watch-live-metrics small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

[data-lm-like-count].is-pulsing {
    animation: lmWatchCountPulse 460ms cubic-bezier(0.2, 0.78, 0.24, 1);
}

.lm-watch-ranking-strip {
    top: 88px;
    left: 28px;
    max-width: min(500px, calc(100vw - 640px));
    border-color: rgba(0, 255, 159, 0.18);
    background: rgba(0, 0, 0, 0.26);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.lm-watch-player-controls {
    display: none !important;
}

.lm-watch-support-rail {
    top: auto;
    right: auto;
    bottom: 124px;
    left: 28px;
    width: min(440px, 34vw);
    height: min(330px, 38svh);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.42), rgba(8, 12, 26, 0.22)),
        radial-gradient(circle at 0% 0%, rgba(0, 255, 159, 0.13), transparent 45%);
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.44),
        inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px) saturate(1.22);
}

.lm-watch-rail-tabs {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
}

.lm-watch-rail-tabs button.is-active {
    box-shadow: 0 0 24px rgba(0, 255, 159, 0.28);
}

.lm-chat-list--rail p,
.lm-top-gifter-row,
.lm-watch-activity-list p,
.lm-watch-stream-info {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
}

.lm-watch-chat-input {
    right: auto;
    bottom: 46px;
    left: 28px;
    width: min(560px, calc(100vw - 180px));
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(0, 0, 0, 0.36);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(20px) saturate(1.2);
}

.lm-watch-chat-input input {
    background: rgba(4, 8, 17, 0.74);
}

.lm-watch-engagement {
    right: 28px;
    bottom: 42px;
    left: auto;
    width: 78px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.lm-watch-action {
    width: 78px;
    min-height: 70px;
    border-radius: 23px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 46%),
        rgba(0, 0, 0, 0.4);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.42),
        inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px) saturate(1.24);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.lm-watch-action:hover,
.lm-watch-action:focus-visible {
    outline: 0;
    transform: translateY(-2px) scale(1.025);
    box-shadow:
        0 0 28px rgba(255, 63, 212, 0.2),
        0 18px 44px rgba(0, 0, 0, 0.42);
}

.lm-watch-action.is-hot {
    animation: lmWatchActionHot 520ms cubic-bezier(0.2, 0.78, 0.24, 1);
}

.lm-watch-action span {
    font-size: 1.24rem;
    text-shadow: 0 0 20px currentColor;
}

.lm-watch-action strong {
    font-size: 0.62rem;
    line-height: 1;
}

.lm-watch-action--close span {
    color: rgba(255, 255, 255, 0.92);
}

.lm-watch-action--star {
    border-color: rgba(255, 209, 102, 0.26);
}

.lm-watch-action--star span {
    color: #ffd166;
}

.lm-watch-action--like {
    border-color: rgba(255, 93, 168, 0.3);
}

.lm-watch-action--like span {
    color: #ff5da8;
}

.lm-watch-action--diamond {
    border-color: rgba(56, 189, 248, 0.3);
}

.lm-watch-action--diamond span {
    color: var(--lm-blue);
}

.lm-watch-cohost-plan {
    position: absolute;
    top: 142px;
    left: 28px;
    z-index: 8;
    width: auto;
    min-height: 34px;
    padding: 0 13px;
    border-color: rgba(56, 189, 248, 0.22);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.lm-watch-cohost-plan strong,
.lm-watch-cohost-plan__flow {
    display: none;
}

.lm-gift-drawer--watch {
    position: fixed;
    right: 126px;
    bottom: 42px;
    left: auto;
    z-index: 40;
    width: min(520px, calc(100vw - 184px));
    max-height: min(55svh, 460px);
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 0%, rgba(0, 255, 159, 0.18), transparent 44%),
        rgba(0, 0, 0, 0.58);
    box-shadow:
        0 26px 90px rgba(0, 0, 0, 0.62),
        inset 0 0 0 1px rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(24px) saturate(1.3);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.lm-gift-drawer--watch[open] {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.lm-watch-pop-layer,
.lm-watch-gift-layer {
    position: absolute;
    inset: 0;
    z-index: 9;
    pointer-events: none;
    overflow: hidden;
}

.lm-watch-gift-layer {
    z-index: 10;
}

.lm-watch-heart {
    position: absolute;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #ff5da8;
    font-size: 2rem;
    line-height: 1;
    opacity: 0;
    text-shadow:
        0 0 14px rgba(255, 255, 255, 0.38),
        0 0 28px rgba(255, 93, 168, 0.66);
    transform: translate(-50%, -50%) scale(var(--lm-heart-scale, 1)) rotate(0deg);
    animation: lmWatchHeartBurst 1160ms cubic-bezier(0.14, 0.72, 0.28, 1) forwards;
    will-change: transform, opacity;
}

.lm-watch-gift-burst {
    position: absolute;
    z-index: 11;
    display: grid;
    min-width: 170px;
    gap: 2px;
    padding: 13px 15px 12px 56px;
    border: 1px solid rgba(255, 209, 102, 0.42);
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 209, 102, 0.28), transparent 45%),
        linear-gradient(135deg, rgba(20, 14, 5, 0.76), rgba(7, 11, 22, 0.72));
    box-shadow:
        0 0 34px rgba(255, 209, 102, 0.22),
        0 24px 68px rgba(0, 0, 0, 0.54);
    transform: translate(-50%, -50%) scale(0.74);
    opacity: 0;
    backdrop-filter: blur(18px) saturate(1.2);
    animation: lmWatchGiftBurst 1900ms cubic-bezier(0.16, 0.84, 0.24, 1) forwards;
}

.lm-watch-gift-burst__icon {
    position: absolute;
    top: 50%;
    left: 13px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 13px;
    color: #1a1000;
    background: linear-gradient(135deg, #fff1a8, #ffd166);
    font-size: 0.52rem;
    font-weight: 1000;
    letter-spacing: 0.03em;
    transform: translateY(-50%);
    box-shadow: 0 0 24px rgba(255, 209, 102, 0.45);
}

.lm-watch-gift-burst strong {
    overflow: hidden;
    max-width: 19ch;
    font-size: 0.9rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-watch-gift-burst small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lm-watch-gift-spark {
    position: absolute;
    z-index: 10;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ffd166;
    box-shadow: 0 0 16px rgba(255, 209, 102, 0.8);
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: lmWatchGiftSpark 950ms cubic-bezier(0.16, 0.84, 0.24, 1) forwards;
}

.lm-watch-pop {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 63, 212, 0.78);
    backdrop-filter: blur(12px);
}

.lm-watch-recommendations {
    min-height: 100svh;
    padding: 22px clamp(14px, 2vw, 28px) 36px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.96), #02030a 36%),
        radial-gradient(circle at 14% 0%, rgba(255, 63, 212, 0.12), transparent 34%),
        #02030a;
    scroll-snap-align: start;
}

@keyframes lmWatchAuraSweep {
    from {
        opacity: 0.34;
        transform: translate3d(-3%, -2%, 0) scale(1.02);
    }
    to {
        opacity: 0.68;
        transform: translate3d(3%, 2%, 0) scale(1.06);
    }
}

@keyframes lmWatchPulse {
    0%,
    100% {
        transform: scale(0.92);
        opacity: 0.78;
    }
    45% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes lmWatchCountPulse {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.18);
        color: #ff9ccc;
        text-shadow: 0 0 24px rgba(255, 93, 168, 0.72);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lmWatchActionHot {
    0% {
        transform: scale(1);
    }
    38% {
        transform: scale(1.12);
        box-shadow: 0 0 36px rgba(255, 93, 168, 0.44), 0 18px 44px rgba(0, 0, 0, 0.42);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lmWatchHeartBurst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.42) rotate(0deg);
    }
    12% {
        opacity: 1;
    }
    72% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform:
            translate(calc(-50% + var(--lm-heart-dx, 0px)), calc(-50% + var(--lm-heart-dy, -180px)))
            scale(calc(var(--lm-heart-scale, 1) * 1.34))
            rotate(var(--lm-heart-rot, 0deg));
    }
}

@keyframes lmWatchGiftBurst {
    0% {
        opacity: 0;
        transform: translate(-50%, 12px) scale(0.72);
    }
    12% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.03);
    }
    22% {
        transform: translate(-50%, -50%) scale(1);
    }
    76% {
        opacity: 1;
        transform: translate(-50%, -66%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -112%) scale(0.94);
    }
}

@keyframes lmWatchGiftSpark {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.44);
    }
    16% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform:
            translate(calc(-50% + var(--lm-spark-x, 0px)), calc(-50% + var(--lm-spark-y, -120px)))
            scale(0.1);
    }
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch-stage__poster span {
        max-width: 82vw;
        font-size: clamp(2rem, 10vw, 3.25rem);
        transform: translateY(1svh);
    }

    .lm-watch-overlay-top {
        top: calc(env(safe-area-inset-top) + 13px);
        left: 12px;
        right: 10px;
    }

    .lm-watch-head__creator {
        max-width: calc(100vw - 126px);
        padding: 4px 8px 4px 4px;
    }

    .lm-watch-overlay-top .lm-avatar {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .lm-watch-live-label,
    .lm-watch-head__creator h1 {
        display: none;
    }

    .lm-watch-head__creator p:not(.lm-watch-live-label) {
        max-width: 10.8rem;
        font-size: 0.66rem;
    }

    .lm-watch-actions {
        max-width: 96px;
        flex-direction: column;
        gap: 5px;
    }

    .lm-watch-actions button {
        min-height: 28px;
        padding: 0 10px;
        font-size: 0.56rem;
    }

    .lm-watch-live-metrics {
        top: calc(env(safe-area-inset-top) + 88px);
        left: 12px;
        min-width: 124px;
        padding: 6px 10px 6px 8px;
        transform: none;
    }

    .lm-watch-live-metrics__pulse {
        width: 22px;
        height: 22px;
    }

    .lm-watch-live-metrics strong {
        font-size: 0.82rem;
    }

    .lm-watch-live-metrics small {
        font-size: 0.46rem;
    }

    .lm-watch-ranking-strip {
        display: none !important;
    }

    .lm-watch-support-rail {
        right: 12px;
        bottom: calc(150px + env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
        height: 142px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .lm-watch-rail-tabs,
    .lm-watch-panel-head,
    .lm-watch-rail-cohost {
        display: none !important;
    }

    .lm-chat-list--rail {
        max-height: 142px;
    }

    .lm-chat-list--rail p {
        max-width: min(100%, 20rem);
        padding: 4px 7px;
        background: rgba(0, 0, 0, 0.24);
        font-size: 0.66rem;
    }

    .lm-watch-chat-input {
        right: 12px;
        bottom: calc(84px + env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
        padding: 5px;
    }

    .lm-watch-engagement {
        right: 12px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .lm-watch-action {
        width: 100%;
        min-height: 54px;
        border-radius: 18px;
    }

    .lm-watch-cohost-plan {
        top: calc(env(safe-area-inset-top) + 52px);
        left: 12px;
        min-height: 28px;
        padding: 0 10px;
    }

    .lm-gift-drawer--watch {
        right: 12px;
        bottom: calc(146px + env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
        max-height: min(44svh, 340px);
    }

    .lm-watch-heart {
        width: 40px;
        height: 40px;
        font-size: 1.78rem;
    }

    .lm-watch-gift-burst {
        min-width: 150px;
        padding: 11px 13px 10px 50px;
        border-radius: 20px;
    }

    .lm-watch-gift-burst__icon {
        left: 11px;
        width: 31px;
        height: 31px;
    }
}

@media (max-width: 380px) and (orientation: portrait) {
    .lm-watch-live-metrics {
        top: calc(env(safe-area-inset-top) + 82px);
        min-width: 116px;
    }

    .lm-watch-head__creator p:not(.lm-watch-live-label) {
        max-width: 8.4rem;
        font-size: 0.6rem;
    }

    .lm-watch-support-rail {
        bottom: calc(142px + env(safe-area-inset-bottom));
        height: 132px;
    }

    .lm-watch-action {
        min-height: 50px;
    }
}

@media (max-width: 380px) and (orientation: portrait) {
    .lm-watch-stage {
        flex-basis: clamp(470px, 64svh, 560px);
        height: clamp(470px, 64svh, 560px);
        max-height: calc(100svh - 148px);
    }

    @supports not (height: 1svh) {
        .lm-watch-stage {
            flex-basis: clamp(470px, 64vh, 560px);
            height: clamp(470px, 64vh, 560px);
            max-height: calc(100vh - 148px);
        }
    }

    .lm-watch-head__creator h1,
    .lm-watch-head__creator p:not(.lm-watch-live-label) {
        max-width: 9.8rem;
    }

    .lm-watch-ranking-strip {
        right: 58px;
    }

    .lm-watch-support-rail {
        right: 58px;
        height: 104px;
    }

    .lm-watch-chat-input {
        right: 54px;
    }

    .lm-watch-action {
        width: 40px;
        min-height: 40px;
        border-radius: 13px;
    }

    .lm-watch-action span {
        font-size: 0.96rem;
    }
}

/* TikTok-style full-bleed watch mode for mobile portrait. */
@media (max-width: 720px) and (orientation: portrait) {
    body.ss-shell-body.lm-watch-body,
    body.ss-shell-body.lm-watch-body main,
    body.ss-shell-body.lm-watch-body .su-shell,
    body.ss-shell-body.lm-watch-body .su-main,
    body.ss-shell-body.lm-watch-body .su-content,
    body.ss-shell-body.lm-watch-body .su-content-grid,
    body.ss-shell-body.lm-watch-body .su-content-main {
        width: 100vw !important;
        max-width: 100vw !important;
        min-height: 100svh !important;
        background: #000 !important;
    }

    body.ss-shell-body.lm-watch-body .su-sidebar,
    body.ss-shell-body.lm-watch-body .su-topbar,
    body.ss-shell-body.lm-watch-body .su-bottom-nav.ss-mobile-bottom-nav {
        display: none !important;
    }

    body.ss-shell-body.lm-watch-body .su-content {
        height: 100svh !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        scroll-snap-type: y proximity;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.ss-shell-body.lm-watch-body .su-content-grid,
    body.ss-shell-body.lm-watch-body .su-content-main {
        height: auto !important;
        overflow: visible !important;
    }

    @supports not (height: 1svh) {
        body.ss-shell-body.lm-watch-body,
        body.ss-shell-body.lm-watch-body main,
        body.ss-shell-body.lm-watch-body .su-shell,
        body.ss-shell-body.lm-watch-body .su-main,
        body.ss-shell-body.lm-watch-body .su-content,
        body.ss-shell-body.lm-watch-body .su-content-grid,
        body.ss-shell-body.lm-watch-body .su-content-main {
            min-height: 100vh !important;
        }

        body.ss-shell-body.lm-watch-body .su-content {
            height: 100vh !important;
        }
    }

    .lm-watch--immersive {
        width: 100vw;
        max-width: 100vw;
        height: auto !important;
        min-height: 100svh;
        margin: 0;
        padding: 0;
        overflow: visible !important;
    }

    @supports not (height: 1svh) {
        .lm-watch--immersive {
            min-height: 100vh;
        }
    }

    .lm-watch__main,
    .lm-watch__main--immersive {
        position: relative;
        display: block;
        width: 100vw;
        height: auto !important;
        min-height: 100svh;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: #000;
        box-shadow: none;
        overflow: visible !important;
    }

    .lm-watch-stage {
        width: 100vw;
        height: 100svh !important;
        min-height: 100svh !important;
        max-height: none !important;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: #000;
        box-shadow: none;
        scroll-snap-align: start;
    }

    @supports not (height: 1svh) {
        .lm-watch__main,
        .lm-watch__main--immersive {
            height: auto !important;
            min-height: 100vh;
        }

        .lm-watch-stage {
            height: 100vh !important;
            min-height: 100vh !important;
        }
    }

    .lm-watch-stage video,
    .lm-watch-stage__poster {
        object-fit: cover;
        background-size: cover;
        background-position: center;
        filter: saturate(1.08) contrast(1.04);
    }

    .lm-watch-stage__shade {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 18%, transparent 52%, rgba(0, 0, 0, 0.86)),
            linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 45%, rgba(0, 0, 0, 0.36));
    }

    .lm-watch-stage__poster span {
        transform: translateY(4svh);
        max-width: 82vw;
        font-size: clamp(2rem, 9.6vw, 3rem);
        line-height: 0.95;
        text-align: center;
        text-shadow:
            0 0 22px rgba(255, 63, 212, 0.64),
            0 10px 42px rgba(0, 0, 0, 0.8);
    }

    .lm-watch-overlay-top {
        top: calc(env(safe-area-inset-top) + 12px);
        left: 12px;
        right: 10px;
        align-items: flex-start;
        gap: 8px;
    }

    .lm-watch-head__creator {
        max-width: calc(100vw - 126px);
        gap: 7px;
        padding: 4px 8px 4px 4px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(14px);
    }

    .lm-watch-overlay-top .lm-avatar {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        box-shadow: 0 0 18px rgba(0, 255, 159, 0.32);
    }

    .lm-watch-live-label,
    .lm-watch-head__creator h1 {
        display: none;
    }

    .lm-watch-head__creator p:not(.lm-watch-live-label) {
        max-width: 10.8rem;
        margin: 0;
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.66rem;
        font-weight: 900;
        line-height: 1.05;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
    }

    .lm-watch-actions {
        width: auto;
        max-width: 96px;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }

    .lm-watch-actions button,
    .lm-watch-player-controls button {
        min-height: 28px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        padding: 0 10px;
        color: #fff;
        background: rgba(0, 0, 0, 0.28);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(14px);
        font-size: 0.56rem;
        font-weight: 950;
    }

    .lm-watch-actions button:first-child {
        border-color: rgba(255, 63, 212, 0.42);
        background: linear-gradient(135deg, rgba(157, 92, 255, 0.82), rgba(255, 63, 212, 0.82));
    }

    .lm-watch-actions button:nth-child(n + 2) {
        display: inline-flex;
    }

    .lm-watch-ranking-strip {
        display: none;
    }

    .lm-watch-player-controls {
        position: absolute;
        top: calc(env(safe-area-inset-top) + 104px);
        right: 10px;
        bottom: auto;
        left: auto;
        width: auto;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .lm-watch-player-controls label {
        display: none;
    }

    .lm-watch-support-rail {
        position: absolute;
        top: auto;
        right: 12px;
        bottom: calc(142px + env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
        height: 132px;
        padding: 0;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .lm-watch-rail-tabs,
    .lm-watch-panel-head,
    .lm-watch-rail-cohost {
        display: none !important;
    }

    .lm-watch-rail-panels,
    .lm-watch-support-panel.is-active {
        height: 100%;
        min-height: 0;
    }

    .lm-watch-support-panel:not(.is-active) {
        display: none !important;
    }

    .lm-chat-list--rail {
        max-height: 132px;
        gap: 4px;
        justify-content: flex-end;
        overflow: hidden;
        padding: 0;
        mask-image: linear-gradient(180deg, transparent, #000 22%, #000 100%);
        scrollbar-width: none;
    }

    .lm-chat-list--rail p {
        width: fit-content;
        max-width: min(100%, 19rem);
        border: 0;
        border-radius: 999px;
        padding: 5px 8px;
        background: rgba(0, 0, 0, 0.24);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.68rem;
        line-height: 1.15;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.76);
        backdrop-filter: blur(10px);
    }

    .lm-chat-list--rail strong {
        display: inline;
        margin: 0 5px 0 0;
        color: var(--lm-green);
        font-size: 0.66rem;
        font-weight: 950;
    }

    .lm-watch-chat-input {
        position: absolute;
        right: 12px;
        bottom: calc(82px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 11;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 5px;
        padding: 5px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.34);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
        backdrop-filter: blur(18px);
    }

    .lm-watch-chat-input input,
    .lm-watch-chat-input > button,
    .lm-emoji-picker summary {
        min-height: 38px;
        height: 38px;
    }

    .lm-watch-chat-input input {
        padding: 0 10px;
        background: rgba(6, 10, 19, 0.72);
        font-size: 0.84rem;
    }

    .lm-watch-chat-input > button {
        padding: 0 13px;
        font-size: 0.72rem;
    }

    .lm-emoji-picker summary {
        width: 38px;
        border-color: rgba(0, 255, 159, 0.35);
        background: rgba(0, 255, 159, 0.1);
    }

    .lm-emoji-picker__panel {
        bottom: 46px;
        grid-template-columns: repeat(4, 36px);
        background: rgba(0, 0, 0, 0.62);
        backdrop-filter: blur(18px);
    }

    .lm-emoji-picker__panel button {
        width: 36px;
        min-height: 36px;
        height: 36px;
    }

    .lm-watch-engagement {
        position: absolute;
        right: 12px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 12;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .lm-watch-action {
        width: 100%;
        min-height: 54px;
        border-radius: 18px;
        background: rgba(0, 0, 0, 0.4);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
        backdrop-filter: blur(16px);
    }

    .lm-watch-action span {
        font-size: 1.15rem;
    }

    .lm-watch-action strong {
        margin-top: 2px;
        font-size: 0.56rem;
    }

    .lm-watch-action--close {
        border-color: rgba(255, 255, 255, 0.18);
    }

    .lm-watch-action--star {
        border-color: rgba(255, 209, 102, 0.28);
    }

    .lm-watch-action--like {
        border-color: rgba(255, 93, 168, 0.3);
    }

    .lm-watch-action--diamond {
        border-color: rgba(56, 189, 248, 0.3);
    }

    .lm-watch-cohost-plan {
        position: absolute;
        top: calc(env(safe-area-inset-top) + 52px);
        left: 12px;
        z-index: 8;
        width: auto;
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        border-color: rgba(56, 189, 248, 0.2);
        background: rgba(0, 0, 0, 0.24);
        box-shadow: none;
        backdrop-filter: blur(12px);
    }

    .lm-watch-cohost-plan span {
        color: var(--lm-blue);
        font-size: 0.5rem;
        line-height: 1;
    }

    .lm-watch-cohost-plan strong,
    .lm-watch-cohost-plan__flow {
        display: none;
    }

    .lm-gift-drawer--watch {
        position: fixed;
        right: 12px;
        bottom: calc(146px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 40;
        max-height: min(44svh, 340px);
        margin: 0;
        overflow: hidden;
        border-radius: 18px;
        background: rgba(0, 0, 0, 0.52);
        box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(20px);
        transform: translateY(8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .lm-gift-drawer--watch[open] {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .lm-gift-drawer--watch summary {
        padding: 9px 12px;
        font-size: 0.78rem;
    }

    .lm-gift-drawer--watch summary span {
        display: inline;
        float: none;
        margin-left: 6px;
        font-size: 0.58rem;
    }

    .lm-gift-drawer--watch .lm-gift-drawer__body {
        max-height: calc(min(44svh, 340px) - 42px);
        overflow-y: auto;
        padding: 0 9px 10px;
    }

    .lm-gift-drawer--watch .lm-gift-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lm-watch-recommendations {
        min-height: 100svh;
        padding: 14px 8px calc(24px + env(safe-area-inset-bottom));
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.92), #02030a 40%),
            #02030a;
        scroll-snap-align: start;
    }

    .lm-watch-recommendations .lm-section {
        border-radius: 14px;
        background: rgba(3, 7, 16, 0.72);
    }
}

@media (max-width: 380px) and (orientation: portrait) {
    .lm-watch-head__creator p:not(.lm-watch-live-label) {
        max-width: 8.7rem;
        font-size: 0.6rem;
    }

    .lm-watch-actions button,
    .lm-watch-player-controls button {
        min-height: 26px;
        padding: 0 8px;
        font-size: 0.52rem;
    }

    .lm-chat-list--rail p {
        font-size: 0.62rem;
    }

    .lm-watch-action {
        min-height: 50px;
        border-radius: 16px;
    }
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch-support-rail {
        right: 12px;
        bottom: calc(142px + env(safe-area-inset-bottom));
        left: 12px;
        height: 156px;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        gap: 4px;
    }

    .lm-watch-rail-tabs {
        display: grid !important;
        gap: 2px;
        padding: 2px;
        border-radius: 9px;
        background: rgba(0, 0, 0, 0.32);
    }

    .lm-watch-rail-tabs button {
        min-height: 22px;
        border-radius: 7px;
        font-size: 0.49rem;
    }

    .lm-watch-panel-head {
        display: flex !important;
        min-height: 18px;
    }

    .lm-watch-panel-head strong {
        font-size: 0.62rem;
    }

    .lm-watch-panel-head span {
        font-size: 0.47rem;
    }

    .lm-watch-rail-cohost {
        display: none !important;
    }

    .lm-watch-rail-panels,
    .lm-watch-support-panel.is-active {
        height: 100%;
        min-height: 0;
    }

    .lm-watch-support-panel.is-active {
        gap: 3px;
    }

    .lm-chat-list--rail {
        max-height: 106px;
    }

    .lm-top-gifters-list {
        max-height: 106px;
        gap: 3px;
        overflow-y: auto;
        padding-right: 0;
    }

    .lm-top-gifter-row {
        grid-template-columns: 24px 26px minmax(0, 1fr) auto;
        min-height: 32px;
        gap: 5px;
        padding: 3px 5px;
        border-radius: 8px;
    }

    .lm-top-gifter-avatar {
        width: 26px;
        height: 26px;
        font-size: 0.52rem;
    }

    .lm-top-gifter-main strong,
    .lm-top-gifter-points strong {
        font-size: 0.62rem;
    }

    .lm-top-gifter-main small,
    .lm-top-gifter-points small,
    .lm-top-gifter-rank {
        font-size: 0.48rem;
    }
}

/* Final mobile correction after legacy top-gifter density rules. */
@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch-player-controls,
    .lm-watch-ranking-strip,
    .lm-watch-rail-tabs,
    .lm-watch-panel-head,
    .lm-watch-rail-cohost {
        display: none !important;
    }

    .lm-watch-stage {
        height: 100svh !important;
        min-height: 100svh !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .lm-watch-support-rail {
        right: 12px !important;
        bottom: calc(150px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        width: auto !important;
        height: 142px !important;
        display: block !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .lm-watch-chat-input {
        right: 12px !important;
        bottom: calc(84px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        width: auto !important;
    }

    .lm-watch-engagement {
        right: 12px !important;
        bottom: calc(16px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        width: auto !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .lm-watch-action {
        width: 100% !important;
        min-height: 54px !important;
    }
}

/* Final Live Watch control pass: keep functional player buttons visible. */
.lm-watch-player-controls {
    display: flex !important;
    position: fixed !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 45 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.lm-watch-cohost-plan {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 2 !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 6px 8px 0 !important;
    padding: 8px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    border-radius: 12px !important;
    background: rgba(56, 189, 248, 0.06) !important;
    box-shadow: none !important;
}

.lm-watch-cohost-plan strong {
    display: block !important;
}

.lm-watch-cohost-plan__flow {
    display: flex !important;
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch-player-controls {
        display: flex !important;
        position: fixed !important;
        top: calc(env(safe-area-inset-top) + 104px);
        right: 10px;
        bottom: auto;
        left: auto;
        width: auto;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .lm-watch-player-controls label {
        display: none !important;
    }

    .lm-watch-rail-tabs {
        display: grid !important;
    }

    .lm-watch-panel-head {
        display: flex !important;
    }

    .lm-watch-support-rail {
        display: grid !important;
        grid-template-rows: auto minmax(0, 1fr) !important;
        gap: 4px !important;
        height: 156px !important;
    }

    .lm-watch-cohost-plan {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin: 8px 12px 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .lm-watch-cohost-plan__flow {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Immersive Live Watch final override: no player chrome, compact TikTok-style mobile overlays. */
.lm-watch--immersive .lm-watch-player-controls {
    display: none !important;
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch--immersive .lm-watch-player-controls,
    .lm-watch--immersive .lm-watch-ranking-strip,
    .lm-watch--immersive .lm-watch-rail-tabs,
    .lm-watch--immersive .lm-watch-panel-head,
    .lm-watch--immersive .lm-watch-rail-cohost {
        display: none !important;
    }

    .lm-watch--immersive .lm-watch-support-rail {
        right: 12px !important;
        bottom: calc(150px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        width: auto !important;
        height: 142px !important;
        display: block !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .lm-watch--immersive .lm-watch-chat-input {
        right: 12px !important;
        bottom: calc(84px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
    }

    .lm-watch--immersive .lm-watch-engagement {
        right: 12px !important;
        bottom: calc(16px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        width: auto !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}

/* Re-enable functional player controls after immersive chrome reset. */
.lm-watch--immersive .lm-watch-player-controls {
    display: flex !important;
    position: fixed !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 60 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch--immersive .lm-watch-player-controls {
        display: flex !important;
        top: calc(env(safe-area-inset-top) + 104px) !important;
        right: 10px !important;
        bottom: auto !important;
        left: auto !important;
    }

    .lm-watch--immersive .lm-watch-support-rail {
        display: grid !important;
        grid-template-rows: auto minmax(0, 1fr) !important;
        gap: 4px !important;
        height: 156px !important;
    }

    .lm-watch--immersive .lm-watch-rail-tabs {
        display: grid !important;
    }

    .lm-watch--immersive .lm-watch-panel-head {
        display: flex !important;
    }
}

/* Live Watch Final Touch: premium top chrome, viewer menu, report menu, elite gifts. */
.lm-watch--immersive .lm-watch-player-controls {
    display: none !important;
}

.lm-watch--immersive .lm-watch-overlay-top {
    align-items: flex-start;
    z-index: 92;
}

.lm-watch--immersive .lm-watch-head__creator {
    position: relative;
    z-index: 94;
    border-color: rgba(0, 255, 159, 0.22);
    background:
        linear-gradient(135deg, rgba(0, 255, 159, 0.08), rgba(255, 63, 212, 0.05)),
        rgba(0, 0, 0, 0.34);
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.34), 0 0 28px rgba(0, 255, 159, 0.1);
}

.lm-watch-creator-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.lm-watch-creator-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: rgba(244, 247, 255, 0.8);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.1;
}

.lm-watch-viewer-menu-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lm-watch-viewer-trigger {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(0, 255, 159, 0.28);
    border-radius: 999px;
    padding: 0 9px;
    color: #efffff;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 255, 159, 0.16), transparent 54%),
        rgba(0, 8, 16, 0.54);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 18px rgba(0, 255, 159, 0.08);
    cursor: pointer;
    font: inherit;
    font-size: 0.62rem;
    letter-spacing: 0;
}

.lm-watch-viewer-trigger > span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #00ff9f;
    box-shadow: 0 0 10px rgba(0, 255, 159, 0.85);
}

.lm-watch-viewer-trigger:hover,
.lm-watch-viewer-trigger:focus-visible,
.lm-watch-viewer-trigger[aria-expanded="true"] {
    outline: 0;
    border-color: rgba(255, 63, 212, 0.62);
    box-shadow: 0 0 24px rgba(255, 63, 212, 0.18), 0 0 22px rgba(0, 255, 159, 0.12);
}

.lm-watch-viewer-menu,
.lm-watch-report-menu {
    position: absolute;
    z-index: 120;
    width: min(270px, calc(100vw - 24px));
    border: 1px solid rgba(0, 255, 159, 0.3);
    border-radius: 16px;
    padding: 7px;
    color: #f7fbff;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 63, 212, 0.18), transparent 48%),
        radial-gradient(circle at 92% 100%, rgba(0, 255, 159, 0.14), transparent 42%),
        rgba(2, 4, 12, 0.86);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.58), 0 0 34px rgba(0, 255, 159, 0.14);
    backdrop-filter: blur(24px);
}

.lm-watch-viewer-menu {
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    gap: 5px;
}

.lm-watch-viewer-menu[hidden],
.lm-watch-report-menu[hidden] {
    display: none !important;
}

.lm-watch-viewer-menu button,
.lm-watch-viewer-menu a,
.lm-watch-report-menu button {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    padding: 0 11px;
    color: #f7fbff;
    background: rgba(255, 255, 255, 0.055);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.lm-watch-viewer-menu button:hover,
.lm-watch-viewer-menu button:focus-visible,
.lm-watch-viewer-menu a:hover,
.lm-watch-viewer-menu a:focus-visible,
.lm-watch-report-menu button:hover,
.lm-watch-report-menu button:focus-visible {
    outline: 0;
    border-color: rgba(255, 63, 212, 0.46);
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 63, 212, 0.24), rgba(0, 255, 159, 0.12));
    box-shadow: 0 0 18px rgba(255, 63, 212, 0.15);
}

.lm-watch--immersive .lm-watch-actions {
    gap: 6px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.24);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(20px);
}

.lm-watch-top-action {
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    border-radius: 999px !important;
    padding: 0 12px 0 8px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.lm-watch-top-action span {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #05050b;
    background: linear-gradient(135deg, #00ff9f, #38bdf8);
    box-shadow: 0 0 18px rgba(0, 255, 159, 0.32);
    font-size: 0.78rem;
    font-weight: 1000;
}

.lm-watch-top-action strong {
    font: inherit;
    font-weight: 950;
}

.lm-watch-top-action--follow {
    border-color: rgba(255, 63, 212, 0.5) !important;
    background: linear-gradient(135deg, rgba(157, 92, 255, 0.92), rgba(255, 63, 212, 0.9)) !important;
    box-shadow: 0 0 28px rgba(255, 63, 212, 0.26) !important;
}

.lm-watch-top-action--follow span {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.lm-watch-top-action--report span {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 63, 212, 0.92), rgba(255, 204, 85, 0.9));
}

.lm-watch-report-menu {
    display: grid;
    gap: 6px;
    transform: translate3d(0, 0, 0);
    animation: lmWatchMenuIn 160ms ease-out both;
}

.lm-watch-report-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 3px 5px 7px;
    color: rgba(244, 247, 255, 0.82);
    font-size: 0.62rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lm-watch-report-menu__head button {
    width: 28px;
    min-height: 28px;
    justify-content: center;
    border-radius: 999px;
    padding: 0;
    font-size: 1rem;
}

.lm-watch-report-menu button[data-lm-report-reason="other"] {
    border-color: rgba(255, 63, 212, 0.32);
    background: linear-gradient(135deg, rgba(255, 63, 212, 0.22), rgba(56, 189, 248, 0.08));
}

.lm-watch--immersive .lm-watch-gift-layer,
.lm-watch--immersive .lm-watch-pop-layer {
    overflow: visible;
}

.lm-watch-gift-burst--elite {
    width: max-content;
    min-width: 184px;
    min-height: 72px;
    display: inline-grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 215, 112, 0.58);
    border-radius: 22px;
    padding: 9px 14px 9px 9px;
    color: #fffdf6;
    background:
        linear-gradient(135deg, rgba(255, 222, 116, 0.2), rgba(255, 63, 212, 0.12) 48%, rgba(0, 255, 159, 0.08)),
        rgba(4, 3, 10, 0.78);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.58),
        0 0 42px rgba(255, 204, 85, 0.32),
        0 0 70px rgba(255, 63, 212, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform-origin: 50% 50%;
    animation: lmWatchGiftBurstElite 2100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lm-watch-gift-burst__aura,
.lm-watch-gift-burst__shine {
    position: absolute;
    pointer-events: none;
}

.lm-watch-gift-burst__aura {
    inset: -46px;
    background:
        radial-gradient(circle, rgba(255, 225, 130, 0.34), transparent 40%),
        conic-gradient(from 120deg, transparent, rgba(255, 63, 212, 0.2), transparent, rgba(0, 255, 159, 0.17), transparent);
    filter: blur(10px);
    opacity: 0.86;
    animation: lmWatchGiftAura 2100ms ease-out both;
}

.lm-watch-gift-burst__shine {
    top: -30%;
    bottom: -30%;
    left: -40%;
    width: 44%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
    transform: rotate(16deg);
    animation: lmWatchGiftShine 1500ms ease-out 120ms both;
}

.lm-watch-gift-burst__icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 17px;
    color: #fff;
    background:
        radial-gradient(circle at 32% 24%, #fff7b6, rgba(255, 204, 85, 0.92) 26%, transparent 27%),
        linear-gradient(135deg, #ffe16f, #ff3fd4 54%, #38bdf8);
    box-shadow: 0 0 28px rgba(255, 204, 85, 0.46), inset 0 0 18px rgba(255, 255, 255, 0.24);
    font-size: 1.35rem;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.72);
    transform: rotate(var(--lm-gift-tilt, 0deg));
}

.lm-watch-gift-burst__copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.lm-watch-gift-burst--elite strong {
    overflow: hidden;
    font-size: 1rem;
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-watch-gift-burst--elite small {
    color: rgba(255, 234, 175, 0.88);
    font-size: 0.58rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lm-watch-gift-ring {
    position: absolute;
    z-index: 63;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid rgba(255, 226, 128, 0.86);
    border-radius: 999px;
    box-shadow: 0 0 22px rgba(255, 204, 85, 0.42), inset 0 0 18px rgba(255, 63, 212, 0.18);
    pointer-events: none;
    animation: lmWatchGiftRingElite 1150ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lm-watch-gift-ring--2 {
    border-color: rgba(255, 63, 212, 0.7);
    animation-delay: 80ms;
}

.lm-watch-gift-ring--3 {
    border-color: rgba(0, 255, 159, 0.62);
    animation-delay: 150ms;
}

.lm-watch-gift-spark {
    z-index: 64;
    width: var(--lm-spark-size, 8px);
    height: var(--lm-spark-size, 8px);
    margin: calc(var(--lm-spark-size, 8px) / -2) 0 0 calc(var(--lm-spark-size, 8px) / -2);
    background: #ffe16f;
    box-shadow: 0 0 18px rgba(255, 225, 111, 0.88), 0 0 34px rgba(255, 63, 212, 0.32);
    animation: lmWatchGiftSparkElite 1250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lm-watch-gift-spark--coin {
    border-radius: 999px;
    background: radial-gradient(circle at 35% 30%, #fff9bf, #ffd45c 54%, #ff9b31);
}

.lm-watch-gift-spark--shard {
    border-radius: 2px;
    background: linear-gradient(135deg, #fff, #ff3fd4 52%, #9d5cff);
}

.lm-watch-gift-spark--ember {
    border-radius: 999px 999px 999px 2px;
    background: linear-gradient(135deg, #ffef9f, #ff3fd4);
}

.lm-watch-gift-spark--beam {
    width: calc(var(--lm-spark-size, 8px) * 0.46);
    height: calc(var(--lm-spark-size, 8px) * 2.4);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(56, 189, 248, 0.1));
}

@keyframes lmWatchMenuIn {
    from {
        opacity: 0;
        transform: translate3d(0, -8px, 0) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes lmWatchGiftBurstElite {
    0% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(0.34) rotate(-7deg);
        filter: saturate(1.6) brightness(1.8);
    }
    11% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale(1.12) rotate(2deg);
    }
    28% {
        transform: translate3d(-50%, -54%, 0) scale(0.96) rotate(var(--lm-gift-tilt, 0deg));
    }
    72% {
        opacity: 1;
        transform: translate3d(-50%, -78%, 0) scale(1) rotate(var(--lm-gift-tilt, 0deg));
    }
    100% {
        opacity: 0;
        transform: translate3d(-50%, -116%, 0) scale(0.82) rotate(5deg);
        filter: saturate(1.2) brightness(1.06);
    }
}

@keyframes lmWatchGiftAura {
    0% {
        opacity: 0;
        transform: scale(0.42) rotate(0deg);
    }
    18% {
        opacity: 0.95;
    }
    100% {
        opacity: 0;
        transform: scale(1.6) rotate(130deg);
    }
}

@keyframes lmWatchGiftShine {
    0% {
        opacity: 0;
        transform: translateX(0) rotate(16deg);
    }
    18% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateX(430%) rotate(16deg);
    }
}

@keyframes lmWatchGiftRingElite {
    0% {
        opacity: 0.95;
        transform: scale(0.35);
    }
    100% {
        opacity: 0;
        transform: scale(7.6);
    }
}

@keyframes lmWatchGiftSparkElite {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.45) rotate(0deg);
    }
    12% {
        opacity: 1;
    }
    72% {
        opacity: 0.92;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--lm-spark-x), var(--lm-spark-y), 0) scale(0.25) rotate(var(--lm-spark-spin));
    }
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch--immersive .lm-watch-player-controls,
    .lm-watch--immersive .lm-watch-ranking-strip,
    .lm-watch--immersive .lm-watch-rail-tabs,
    .lm-watch--immersive .lm-watch-panel-head,
    .lm-watch--immersive .lm-watch-rail-cohost {
        display: none !important;
    }

    .lm-watch--immersive .lm-watch-overlay-top {
        top: calc(env(safe-area-inset-top) + 10px) !important;
        right: 10px !important;
        left: 10px !important;
    }

    .lm-watch--immersive .lm-watch-head__creator {
        max-width: calc(100vw - 136px);
        gap: 6px;
        padding: 5px 7px 5px 5px;
        border-radius: 999px;
    }

    .lm-watch--immersive .lm-watch-head__creator h1,
    .lm-watch--immersive .lm-watch-live-label {
        display: none;
    }

    .lm-watch-creator-meta {
        gap: 4px;
        font-size: 0.56rem;
    }

    .lm-watch-creator-meta > span {
        max-width: 7rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lm-watch-viewer-trigger {
        min-height: 21px;
        padding: 0 7px;
        font-size: 0.54rem;
    }

    .lm-watch-viewer-menu {
        position: fixed;
        top: calc(env(safe-area-inset-top) + 56px);
        left: 12px;
        width: min(250px, calc(100vw - 24px));
    }

    .lm-watch--immersive .lm-watch-actions {
        display: grid;
        gap: 4px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .lm-watch-top-action {
        min-height: 29px !important;
        justify-content: flex-start !important;
        gap: 5px !important;
        padding: 0 8px 0 5px !important;
        font-size: 0.56rem !important;
    }

    .lm-watch-top-action span {
        width: 18px;
        height: 18px;
        font-size: 0.64rem;
    }

    .lm-watch-report-menu {
        width: min(258px, calc(100vw - 24px));
    }

    .lm-watch-gift-burst--elite {
        min-width: 154px;
        min-height: 58px;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px;
        border-radius: 18px;
        padding: 7px 10px 7px 7px;
    }

    .lm-watch-gift-burst__icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 1.05rem;
    }

    .lm-watch-gift-burst--elite strong {
        font-size: 0.82rem;
    }

    .lm-watch-gift-burst--elite small {
        font-size: 0.5rem;
    }
}

.lm-watch-viewer-menu--gifters {
    width: min(330px, calc(100vw - 24px));
    padding: 8px;
}

.lm-watch-viewer-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 2px 7px;
}

.lm-watch-viewer-menu__head strong {
    color: var(--lm-text);
    font-size: 0.72rem;
    font-weight: 1000;
}

.lm-watch-viewer-menu__head span {
    color: var(--lm-muted);
    font-size: 0.52rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lm-watch-viewer-menu--gifters .lm-top-gifters-list {
    max-height: min(48vh, 360px);
    padding-right: 0;
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch-viewer-menu--gifters {
        top: calc(env(safe-area-inset-top) + 108px) !important;
        left: 12px !important;
        width: min(300px, calc(100vw - 112px)) !important;
        max-height: min(58svh, 430px);
    }

    .lm-watch-viewer-menu--gifters .lm-top-gifters-list {
        max-height: min(48svh, 340px);
    }
}

/* Absolute final override: audio controls must stay usable on Watch. */
.lm-watch--immersive .lm-watch-player-controls {
    display: flex !important;
    position: fixed !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 70 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch--immersive .lm-watch-player-controls {
        display: flex !important;
        top: calc(env(safe-area-inset-top) + 104px) !important;
        right: 10px !important;
        bottom: auto !important;
        left: auto !important;
    }
}

/* Live ad break: Shadow World Cup pre-roll and 30-minute mid-roll. */
.lm-watch-live-ad {
    position: absolute;
    inset: 0;
    z-index: 110;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
    background: #03020a;
    pointer-events: auto;
}

.lm-watch-live-ad[hidden] {
    display: none !important;
}

.lm-watch-live-ad::before,
.lm-watch-live-ad::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lm-watch-live-ad::before {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(3, 2, 10, 0.18), rgba(3, 2, 10, 0.18) 42%, rgba(3, 2, 10, 0.78)),
        linear-gradient(90deg, rgba(3, 2, 10, 0.82), transparent 48%, rgba(3, 2, 10, 0.24));
}

.lm-watch-live-ad::after {
    z-index: 2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.16;
    mask-image: radial-gradient(circle at center, black 28%, transparent 84%);
}

.lm-watch-live-ad__media {
    position: absolute;
    inset: 0;
}

.lm-watch-live-ad__media::before {
    content: "";
    position: absolute;
    inset: -28px;
    background: url("../images/live/shadow-world-cup-2026-keyvisual.jpg") center / cover no-repeat;
    filter: blur(24px) saturate(0.96);
    opacity: 0.36;
    transform: scale(1.04);
}

.lm-watch-live-ad__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.06);
    transform: scale(1.03);
    animation: lmWatchLiveAdImage 9s linear both;
}

.lm-watch-live-ad__scan {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 46%, transparent 54%);
    mix-blend-mode: screen;
    transform: translateX(-120%);
    animation: lmWatchLiveAdScan 2.8s ease-in-out infinite;
}

.lm-watch-live-ad__content {
    position: relative;
    z-index: 3;
    width: min(520px, calc(100% - 48px));
    display: grid;
    gap: 10px;
    margin: 0 0 42px 34px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.72);
}

.lm-watch-live-ad__label {
    width: max-content;
    padding: 5px 8px;
    border: 1px solid rgba(255, 199, 103, 0.55);
    border-radius: 8px;
    color: #ffc767;
    background: rgba(3, 2, 10, 0.58);
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
}

.lm-watch-live-ad__content strong {
    font-family: "Bahnschrift", "Arial Narrow", "Avenir Next Condensed", sans-serif;
    font-size: 2.2rem;
    font-weight: 1000;
    line-height: 1;
    text-transform: uppercase;
}

.lm-watch-live-ad__content p {
    max-width: 34rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
}

.lm-watch-live-ad__cta {
    width: max-content;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(55, 185, 255, 0.74);
    border-radius: 8px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(90deg, rgba(242, 60, 168, 0.9), rgba(55, 185, 255, 0.9));
    box-shadow: 0 0 30px rgba(242, 60, 168, 0.32), 0 0 22px rgba(55, 185, 255, 0.22);
    font-size: 0.86rem;
    font-weight: 1000;
    text-decoration: none;
    text-transform: uppercase;
}

.lm-watch-live-ad__cta:hover,
.lm-watch-live-ad__cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

.lm-watch-live-ad__timer {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 4;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 0 11px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(3, 2, 10, 0.68);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(18px);
    font-size: 0.72rem;
    font-weight: 950;
}

.lm-watch-live-ad__timer::before {
    content: "Weiter in ";
    color: rgba(255, 255, 255, 0.62);
    font-weight: 850;
}

.lm-watch-live-ad__progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
}

.lm-watch-live-ad__progress span {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffc767, #f23ca8, #37b9ff);
    box-shadow: 0 0 18px rgba(55, 185, 255, 0.64);
    transition: width 160ms linear;
}

.lm-watch.is-live-ad-playing .lm-watch-overlay-top,
.lm-watch.is-live-ad-playing .lm-watch-ranking-strip,
.lm-watch.is-live-ad-playing .lm-watch-support-rail,
.lm-watch.is-live-ad-playing .lm-watch-engagement,
.lm-watch.is-live-ad-playing .lm-watch-chat-input,
.lm-watch.is-live-ad-playing .lm-watch-player-controls,
.lm-watch.is-live-ad-playing .lm-watch-live-metrics {
    opacity: 0.12 !important;
    pointer-events: none !important;
    transition: opacity 180ms ease;
}

body.lm-live-ad-playing .shadow-feedback-fab {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px);
}

@keyframes lmWatchLiveAdImage {
    0% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1.09);
    }
}

@keyframes lmWatchLiveAdScan {
    0% {
        opacity: 0;
        transform: translateX(-120%);
    }
    28% {
        opacity: 0.75;
    }
    58% {
        opacity: 0;
        transform: translateX(120%);
    }
    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}

@media (max-width: 900px) {
    .lm-watch-live-ad::before {
        background:
            linear-gradient(180deg, rgba(3, 2, 10, 0.12), rgba(3, 2, 10, 0.26) 44%, rgba(3, 2, 10, 0.84)),
            linear-gradient(90deg, rgba(3, 2, 10, 0.5), transparent 58%, rgba(3, 2, 10, 0.28));
    }

    .lm-watch-live-ad__content {
        width: min(440px, calc(100% - 28px));
        margin: 0 14px 34px;
    }

    .lm-watch-live-ad__content strong {
        font-size: 1.7rem;
    }

    .lm-watch-live-ad__content p {
        font-size: 0.88rem;
    }
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch-live-ad {
        align-items: end;
    }

    .lm-watch-live-ad__media {
        display: grid;
        align-items: start;
        background:
            radial-gradient(circle at 50% 18%, rgba(255, 199, 103, 0.18), transparent 11rem),
            radial-gradient(circle at 50% 70%, rgba(242, 60, 168, 0.22), transparent 13rem),
            #03020a;
    }

    .lm-watch-live-ad__media img {
        box-sizing: border-box;
        object-fit: contain;
        object-position: center top;
        padding: calc(env(safe-area-inset-top) + 52px) 10px 196px;
        transform: none;
    }

    .lm-watch-live-ad__content {
        gap: 8px;
        width: calc(100% - 24px);
        margin: 0 12px calc(24px + env(safe-area-inset-bottom));
    }

    .lm-watch-live-ad__label {
        padding: 4px 7px;
        font-size: 0.6rem;
    }

    .lm-watch-live-ad__content strong {
        font-size: 1.22rem;
        line-height: 1.08;
    }

    .lm-watch-live-ad__content p {
        max-width: 23rem;
        font-size: 0.78rem;
    }

    .lm-watch-live-ad__cta {
        min-height: 38px;
        padding: 0 14px;
        font-size: 0.76rem;
    }

    .lm-watch-live-ad__timer {
        top: calc(env(safe-area-inset-top) + 12px);
        right: 12px;
        min-height: 30px;
        padding: 0 9px;
        font-size: 0.64rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lm-watch-live-ad__media img,
    .lm-watch-live-ad__scan {
        animation: none;
    }

    .lm-watch-live-ad__progress span {
        transition: none;
    }
}

/* ShadowLive premium chrome: profile, rankings and action symbols in one top cockpit. */
.lm-watch--immersive .lm-watch-overlay-top {
    align-items: flex-start !important;
    gap: 12px !important;
}

.lm-watch-top-left {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    max-width: min(980px, calc(100% - 350px));
}

.lm-watch--immersive .lm-watch-head__creator {
    flex: 0 1 auto;
    min-height: 54px;
    border: 1px solid rgba(0, 255, 159, 0.26);
    border-radius: 18px;
    padding: 7px 11px 7px 7px;
    backdrop-filter: blur(22px);
}

.lm-watch--immersive .lm-watch-head__creator::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(0, 255, 159, 0.24), transparent 42%),
        linear-gradient(315deg, rgba(255, 63, 212, 0.2), transparent 46%);
    opacity: 0.55;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    padding: 1px;
}

.lm-watch-live-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lm-watch-live-label > span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #00ff9f;
    box-shadow: 0 0 12px rgba(0, 255, 159, 0.9);
}

.lm-watch-top-left .lm-watch-ranking-strip {
    position: static !important;
    inset: auto !important;
    flex: 0 1 auto;
    width: auto !important;
    max-width: min(620px, 46vw) !important;
    min-height: 54px;
    display: flex !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 5px !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 214, 92, 0.16), transparent 42%),
        radial-gradient(circle at 96% 80%, rgba(56, 189, 248, 0.14), transparent 46%),
        rgba(1, 3, 10, 0.48) !important;
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(24px);
}

.lm-watch-top-left .lm-watch-ranking-pill {
    min-width: 112px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px !important;
    padding: 6px 9px !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.lm-watch-top-left .lm-watch-ranking-strip .lm-watch-ranking-pill {
    display: inline-flex !important;
}

.lm-watch-top-left .lm-watch-ranking-pill > i {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #05060b;
    background: linear-gradient(135deg, #ffe16f, #00ff9f);
    box-shadow: 0 0 16px rgba(255, 225, 111, 0.28);
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 1000;
}

.lm-watch-top-left .lm-watch-ranking-pill--popular > i {
    color: #fff;
    background: linear-gradient(135deg, #ff3fd4, #9d5cff);
    box-shadow: 0 0 16px rgba(255, 63, 212, 0.32);
}

.lm-watch-top-left .lm-watch-ranking-pill--league > i {
    color: #061018;
    background: linear-gradient(135deg, #38bdf8, #00ff9f);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

.lm-watch-top-left .lm-watch-ranking-pill > span {
    min-width: 0;
    display: grid !important;
    gap: 1px !important;
    padding: 0 !important;
    background: transparent !important;
}

.lm-watch-top-left .lm-watch-ranking-strip small {
    color: rgba(244, 247, 255, 0.62);
    font-size: 0.48rem !important;
    letter-spacing: 0.08em;
}

.lm-watch-top-left .lm-watch-ranking-strip strong {
    max-width: 12rem;
    color: #fff;
    font-size: 0.66rem !important;
    line-height: 1.1;
}

.lm-watch-top-left .lm-watch-ranking-strip .lm-help-link {
    align-self: stretch;
    min-width: 30px !important;
    min-height: 0 !important;
    border-radius: 12px;
    color: #00ff9f;
    background: rgba(0, 255, 159, 0.08);
}

.lm-watch--immersive .lm-watch-actions {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(0, 0, 0, 0.28) !important;
}

.lm-watch-top-action {
    min-height: 38px !important;
}

.lm-watch-top-action span,
.lm-watch-action span {
    box-shadow: 0 0 18px rgba(0, 255, 159, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lm-watch-support-rail {
    border-color: rgba(0, 255, 159, 0.18) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 255, 159, 0.1), transparent 44%),
        rgba(2, 5, 13, 0.44) !important;
}

.lm-watch-rail-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.lm-watch-rail-tabs button::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
    opacity: 0.78;
}

.lm-chat-list--rail p {
    border: 1px solid rgba(255, 255, 255, 0.055);
    background:
        linear-gradient(135deg, rgba(0, 255, 159, 0.06), rgba(255, 63, 212, 0.035)),
        rgba(0, 0, 0, 0.24);
}

.lm-watch-action {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(0, 0, 0, 0.34) !important;
    backdrop-filter: blur(18px);
}

.lm-watch-action:hover,
.lm-watch-action:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 159, 0.38) !important;
}

@media (max-width: 980px) {
    .lm-watch-top-left {
        max-width: calc(100% - 230px);
        flex-direction: column;
        gap: 6px;
    }

    .lm-watch-top-left .lm-watch-ranking-strip {
        max-width: min(540px, 100%) !important;
        min-height: 0;
    }
}

@media (max-width: 720px) and (orientation: portrait) {
    .lm-watch--immersive .lm-watch-overlay-top {
        align-items: flex-start !important;
    }

    .lm-watch-top-left {
        width: calc(100vw - 98px);
        max-width: calc(100vw - 98px);
        gap: 5px;
    }

    .lm-watch--immersive .lm-watch-head__creator {
        width: 100%;
        max-width: none !important;
    }

    .lm-watch-top-left .lm-watch-ranking-strip {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 34px;
        overflow-x: auto;
        scrollbar-width: none;
        display: flex !important;
        gap: 3px !important;
        padding: 3px !important;
        border-radius: 14px !important;
    }

    .lm-watch-top-left .lm-watch-ranking-strip::-webkit-scrollbar {
        display: none;
    }

    .lm-watch-top-left .lm-watch-ranking-pill {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: inline-flex !important;
        gap: 5px !important;
        border-radius: 11px !important;
        padding: 4px 5px !important;
    }

    .lm-watch-top-left .lm-watch-ranking-pill > i {
        width: 19px;
        height: 19px;
        flex-basis: 19px;
        font-size: 0.58rem;
    }

    .lm-watch-top-left .lm-watch-ranking-strip small {
        font-size: 0.42rem !important;
    }

    .lm-watch-top-left .lm-watch-ranking-strip strong {
        max-width: 5rem;
        font-size: 0.52rem !important;
    }

    .lm-watch-top-left .lm-watch-ranking-strip .lm-help-link {
        flex: 0 0 22px !important;
        min-width: 22px !important;
        display: inline-flex !important;
    }
}
