:root {
    color-scheme: dark;
    --lt-bg: #080b18;
    --lt-bg-soft: #10162a;
    --lt-surface: rgba(17, 24, 45, 0.82);
    --lt-surface-strong: rgba(18, 25, 49, 0.96);
    --lt-surface-soft: rgba(255, 255, 255, 0.055);
    --lt-border: rgba(255, 255, 255, 0.11);
    --lt-border-strong: rgba(255, 255, 255, 0.18);
    --lt-text: #f8faff;
    --lt-muted: rgba(230, 235, 255, 0.62);
    --lt-faint: rgba(230, 235, 255, 0.36);
    --lt-purple: #8b5cf6;
    --lt-purple-light: #c4b5fd;
    --lt-pink: #ec4899;
    --lt-cyan: #22d3ee;
    --lt-green: #4ade80;
    --lt-danger: #fb7185;
    --lt-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    --lt-radius-xl: 28px;
    --lt-radius-lg: 22px;
    --lt-radius-md: 16px;
    --lt-safe-top: env(safe-area-inset-top, 0px);
    --lt-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--lt-bg);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-width: 280px;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    color: var(--lt-text);
    background: var(--lt-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
}

button,
input,
summary {
    font: inherit;
}

button,
summary,
input[type="range"] {
    touch-action: manipulation;
}

button,
summary {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.7);
    outline-offset: 3px;
}

button {
    border: 0;
}

.hidden {
    display: none !important;
}

.lt-app-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% -20%, rgba(109, 40, 217, 0.18), transparent 52%),
        linear-gradient(180deg, #0d1022 0%, #080b18 48%, #070914 100%);
    pointer-events: none;
}

.lt-orb {
    position: absolute;
    display: block;
    border-radius: 999px;
    filter: blur(78px);
    opacity: 0.27;
    animation: ltDrift 14s ease-in-out infinite alternate;
}

.lt-orb-one {
    top: -12rem;
    left: -10rem;
    width: 28rem;
    height: 28rem;
    background: #7c3aed;
}

.lt-orb-two {
    right: -13rem;
    bottom: -9rem;
    width: 31rem;
    height: 31rem;
    background: #db2777;
    animation-delay: -4s;
}

.lt-orb-three {
    top: 38%;
    left: 45%;
    width: 18rem;
    height: 18rem;
    background: #0891b2;
    opacity: 0.14;
    animation-delay: -8s;
}

.lt-grid {
    position: absolute;
    inset: 0;
    opacity: 0.055;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 70%);
}

@keyframes ltDrift {
    to { transform: translate3d(3rem, 2rem, 0) scale(1.08); }
}

.lt-app-frame {
    width: min(100%, 680px);
    min-height: 100dvh;
    margin: 0 auto;
    padding-bottom: calc(0.75rem + var(--lt-safe-bottom));
}

.lt-app-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(70px + var(--lt-safe-top));
    padding: calc(0.9rem + var(--lt-safe-top)) 1rem 0.75rem;
    background: linear-gradient(180deg, rgba(8, 11, 24, 0.94), rgba(8, 11, 24, 0.66) 78%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lt-logo-link {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    text-decoration: none;
}

.lt-logo {
    display: block;
    width: min(64vw, 245px);
    height: auto;
    max-height: 32px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 8px 24px rgba(139, 92, 246, 0.2));
}

.lt-language-menu {
    position: relative;
    flex: 0 0 auto;
}

.lt-language-menu > summary {
    display: flex;
    min-width: 68px;
    min-height: 42px;
    padding: 0.55rem 0.7rem;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    list-style: none;
    border: 1px solid var(--lt-border);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.lt-language-menu > summary::-webkit-details-marker {
    display: none;
}

.lt-language-menu[open] > summary {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.15);
}

.lt-language-globe {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--lt-purple-light);
    font-size: 0.68rem;
}

.lt-language-chevron {
    color: var(--lt-faint);
    transition: transform 160ms ease;
}

.lt-language-menu[open] .lt-language-chevron {
    transform: rotate(180deg);
}

.lt-language-popover {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(230px, calc(100vw - 2rem));
    padding: 0.55rem;
    border: 1px solid var(--lt-border-strong);
    border-radius: 18px;
    background: rgba(16, 22, 42, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform-origin: top right;
    animation: ltMenuIn 150ms ease-out;
}

@keyframes ltMenuIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.97); }
}

.lt-language-title {
    padding: 0.55rem 0.7rem 0.45rem;
    color: var(--lt-faint);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.lt-language-popover a {
    display: flex;
    min-height: 44px;
    padding: 0.65rem 0.7rem;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 750;
}

.lt-language-popover a:hover,
.lt-language-popover a.is-active {
    color: #fff;
    background: rgba(139, 92, 246, 0.15);
}

.lt-language-popover a.is-active::before {
    content: '';
    width: 7px;
    height: 7px;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: var(--lt-cyan);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.75);
}

.lt-language-popover a.is-active span {
    margin-right: auto;
}

.lt-language-popover small {
    color: var(--lt-faint);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.lt-shell {
    width: 100%;
    padding: 0 1rem 1rem;
}

.lt-join-view {
    display: grid;
    gap: 1.15rem;
    padding: clamp(0.3rem, 3vh, 1.5rem) 0 0.5rem;
}

.lt-hero-copy {
    padding: 0.5rem 0.2rem 0;
}

.lt-kicker,
.lt-eyebrow {
    color: var(--lt-cyan);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.lt-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lt-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lt-green);
    box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.1), 0 0 18px rgba(74, 222, 128, 0.65);
    animation: ltLivePulse 1.8s ease-in-out infinite;
}

@keyframes ltLivePulse {
    50% { opacity: 0.55; transform: scale(0.84); }
}

.lt-hero-copy h1 {
    max-width: 560px;
    margin: 0.65rem 0 0.7rem;
    font-size: clamp(2.35rem, 11vw, 4.7rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 0.94;
    text-wrap: balance;
}

.lt-hero-copy p {
    max-width: 520px;
    margin: 0;
    color: var(--lt-muted);
    font-size: clamp(0.92rem, 3vw, 1.03rem);
    line-height: 1.6;
}

.lt-card {
    border: 1px solid var(--lt-border);
    border-radius: var(--lt-radius-xl);
    background: linear-gradient(145deg, rgba(25, 33, 62, 0.88), rgba(13, 18, 36, 0.88));
    box-shadow: var(--lt-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.lt-join-card {
    position: relative;
    padding: clamp(1.15rem, 5vw, 1.75rem);
    overflow: hidden;
}

.lt-join-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 68%);
    pointer-events: none;
}

.lt-join-card form {
    position: relative;
    display: grid;
    gap: 1rem;
}

.lt-field-group {
    display: grid;
    gap: 0.52rem;
}

.lt-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.lt-field-group label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    font-weight: 850;
}

.lt-inline-action {
    padding: 0.25rem 0.1rem;
    color: var(--lt-purple-light);
    background: transparent;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 850;
}

.lt-code-field-wrap,
.lt-name-field-wrap {
    position: relative;
}

.lt-code-field-wrap input,
.lt-name-field-wrap input,
.lt-text-guess-input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.lt-code-field-wrap input:focus,
.lt-name-field-wrap input:focus,
.lt-text-guess-input:focus {
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lt-code-field-wrap input::placeholder,
.lt-name-field-wrap input::placeholder,
.lt-text-guess-input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.lt-code-input {
    height: 78px;
    padding: 0.85rem 3rem 0.85rem 1rem;
    border-radius: 19px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    font-weight: 950;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
}

.lt-name-field-wrap input,
.lt-text-guess-input {
    min-height: 58px;
    padding: 0.85rem 3rem 0.85rem 1rem;
    border-radius: 17px;
    font-size: 1rem;
}

.lt-field-icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 10px;
    color: var(--lt-faint);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.82rem;
    font-weight: 900;
    pointer-events: none;
}

.lt-field-help {
    color: var(--lt-faint);
    font-size: 0.68rem;
    line-height: 1.4;
}

.lt-form-error,
.lt-guess-error {
    min-height: 1.05rem;
    margin: -0.1rem 0 0;
    color: #fecdd3;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.4;
}

.lt-primary-button,
.lt-leave-button,
.lt-year-step {
    min-height: 54px;
    border-radius: 17px;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    transition: transform 130ms ease, filter 130ms ease, opacity 130ms ease;
}

.lt-primary-button {
    width: 100%;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #7c3aed 0%, #9f4fe2 46%, #ec4899 100%);
    box-shadow: 0 14px 34px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.lt-join-button {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.96rem;
}

.lt-button-arrow {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.lt-primary-button:active,
.lt-leave-button:active,
.lt-year-step:active,
.lt-active-code:active {
    transform: scale(0.98);
}

.lt-primary-button:hover {
    filter: brightness(1.08);
}

.lt-primary-button:disabled,
.lt-year-step:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

[aria-busy="true"] .lt-primary-button {
    cursor: progress;
}

.lt-privacy-note {
    margin: 0;
    color: var(--lt-faint);
    font-size: 0.68rem;
    line-height: 1.5;
    text-align: center;
}

.lt-game {
    display: grid;
    gap: 0.85rem;
    animation: ltViewIn 240ms ease-out;
}

@keyframes ltViewIn {
    from { opacity: 0; transform: translateY(10px); }
}

.lt-session-strip {
    display: flex;
    min-height: 58px;
    padding: 0.35rem 0.2rem 0.35rem 0.35rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.lt-session-meta {
    min-width: 0;
}

.lt-session-meta > small {
    display: block;
    margin-bottom: 0.1rem;
    color: var(--lt-faint);
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lt-active-code {
    display: inline-flex;
    padding: 0;
    align-items: center;
    gap: 0.45rem;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.lt-copy-icon {
    color: var(--lt-faint);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 0.9rem;
    letter-spacing: normal;
}

.lt-leave-button {
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(251, 113, 133, 0.18);
    color: #fda4af;
    background: rgba(251, 113, 133, 0.08);
    font-size: 0.74rem;
}

.lt-player-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.82rem 0.9rem;
    border: 1px solid var(--lt-border);
    border-radius: var(--lt-radius-lg);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.lt-avatar,
.lt-mini-avatar {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(139, 92, 246, 0.48));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    font-weight: 950;
}

.lt-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.05rem;
}

.lt-player-copy {
    min-width: 0;
}

.lt-player-copy span,
.lt-player-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-player-copy span {
    font-size: 0.92rem;
    font-weight: 900;
}

.lt-player-copy small,
.lt-score-block small {
    margin-top: 0.18rem;
    color: var(--lt-muted);
    font-size: 0.67rem;
}

.lt-score-block {
    min-width: 58px;
    text-align: right;
}

.lt-score-block strong {
    display: block;
    margin-top: -0.05rem;
    font-size: 1.85rem;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
    line-height: 1;
}

.lt-phase-card {
    position: relative;
    min-height: 340px;
    padding: clamp(1rem, 5vw, 1.5rem);
    overflow: hidden;
}

.lt-phase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.11), transparent 42%);
    pointer-events: none;
}

.lt-phase-card > div {
    position: relative;
}

.lt-phase-enter {
    animation: ltPhaseIn 280ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes ltPhaseIn {
    from { opacity: 0.55; transform: scale(0.985) translateY(6px); }
}

.lt-phase-center,
.lt-reveal-layout {
    display: grid;
    min-height: 305px;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.lt-phase-center h2,
.lt-guess-layout h2,
.lt-reveal-layout h2 {
    margin: 0.42rem 0 0.55rem;
    font-size: clamp(1.6rem, 7.5vw, 2.7rem);
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1.04;
    text-wrap: balance;
}

.lt-phase-center p,
.lt-guess-layout p,
.lt-reveal-layout p {
    max-width: 430px;
    margin: 0;
    color: var(--lt-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.lt-vinyl {
    position: relative;
    display: grid;
    width: 118px;
    height: 118px;
    margin-bottom: 1.2rem;
    place-items: center;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at center, rgba(255,255,255,0.05) 0 2px, transparent 2px 9px),
        radial-gradient(circle at 34% 27%, rgba(255,255,255,0.25), rgba(139,92,246,0.26) 34%, rgba(7,9,20,0.96) 67%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.11), 0 0 52px rgba(139, 92, 246, 0.23);
    animation: ltSpin 8s linear infinite;
}

.lt-vinyl::before {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lt-cyan), var(--lt-purple), var(--lt-pink));
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.45);
}

.lt-vinyl span {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(8, 11, 24, 0.88);
}

@keyframes ltSpin {
    to { transform: rotate(360deg); }
}

.lt-listening-bars {
    display: flex;
    height: 30px;
    margin-top: 1.1rem;
    align-items: center;
    gap: 4px;
}

.lt-listening-bars i {
    display: block;
    width: 4px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(to top, var(--lt-purple), var(--lt-cyan));
    animation: ltBars 900ms ease-in-out infinite alternate;
}

.lt-listening-bars i:nth-child(2),
.lt-listening-bars i:nth-child(4) { animation-delay: -300ms; }
.lt-listening-bars i:nth-child(3) { animation-delay: -600ms; }

@keyframes ltBars {
    to { height: 27px; }
}

.lt-success-orbit,
.lt-points-burst {
    display: grid;
    width: 104px;
    height: 104px;
    margin-bottom: 1.15rem;
    place-items: center;
    border: 1px solid rgba(74, 222, 128, 0.28);
    border-radius: 50%;
    color: #dcfce7;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.22), rgba(74, 222, 128, 0.05) 58%, transparent 60%);
    box-shadow: 0 0 48px rgba(74, 222, 128, 0.16);
    font-size: 2.6rem;
    font-weight: 950;
    animation: ltSuccessIn 420ms cubic-bezier(0.18, 0.82, 0.25, 1.25);
}

.lt-points-burst {
    border-color: rgba(196, 181, 253, 0.35);
    color: #ede9fe;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.34), rgba(236, 72, 153, 0.08) 62%, transparent 64%);
    box-shadow: 0 0 58px rgba(139, 92, 246, 0.25);
    font-size: 2rem;
}

@keyframes ltSuccessIn {
    from { opacity: 0; transform: scale(0.65) rotate(-10deg); }
}

.lt-guess-layout {
    display: grid;
    min-height: 305px;
    gap: 0.95rem;
    align-content: center;
    text-align: center;
}

.lt-phase-heading {
    display: grid;
    justify-items: center;
}

.lt-year-display {
    margin: 0.15rem 0 -0.05rem;
    color: #fff;
    font-size: clamp(4.7rem, 23vw, 8.4rem);
    font-weight: 950;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.075em;
    line-height: 0.86;
    text-shadow: 0 0 34px rgba(34, 211, 238, 0.17);
}

.lt-year-controls {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 50px;
    gap: 0.65rem;
    align-items: center;
}

.lt-year-step {
    min-height: 50px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-size: 1.4rem;
}

.lt-year-slider {
    --lt-slider-progress: 50%;
    width: 100%;
    height: 50px;
    margin: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
}

.lt-year-slider::-webkit-slider-runnable-track {
    height: 11px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, var(--lt-cyan), var(--lt-purple), var(--lt-pink)) 0 / var(--lt-slider-progress) 100% no-repeat,
        rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.35);
}

.lt-year-slider::-webkit-slider-thumb {
    width: 38px;
    height: 38px;
    margin-top: -13.5px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--lt-purple);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.45), 0 0 0 5px rgba(139, 92, 246, 0.18);
    appearance: none;
    -webkit-appearance: none;
}

.lt-year-slider::-moz-range-track {
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.lt-year-slider::-moz-range-progress {
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lt-cyan), var(--lt-purple), var(--lt-pink));
}

.lt-year-slider::-moz-range-thumb {
    width: 32px;
    height: 32px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--lt-purple);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.45), 0 0 0 5px rgba(139, 92, 246, 0.18);
}

.lt-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: -0.78rem;
    padding: 0 3.7rem;
    color: var(--lt-faint);
    font-size: 0.63rem;
    font-weight: 800;
}

.lt-locked-year,
.lt-points-chip {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.62rem 0.85rem;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 999px;
    color: #cffafe;
    background: rgba(34, 211, 238, 0.08);
    font-size: 0.78rem;
    font-weight: 900;
}

.lt-points-chip {
    border-color: rgba(196, 181, 253, 0.22);
    color: #ede9fe;
    background: rgba(139, 92, 246, 0.11);
}

.lt-text-layout {
    gap: 1.4rem;
}

.lt-text-guess-form {
    display: grid;
    gap: 0.75rem;
    width: 100%;
}

.lt-text-guess-input {
    padding-right: 1rem;
    text-align: center;
}

.lt-reveal-layout {
    padding: 0.5rem 0;
}

.lt-reveal-year {
    margin: 0.15rem 0 0;
    font-size: clamp(5rem, 24vw, 8.8rem);
    font-weight: 950;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.08em;
    line-height: 0.88;
    background: linear-gradient(135deg, #fff 15%, #a5f3fc 52%, #c4b5fd 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 28px rgba(34, 211, 238, 0.12));
}

.lt-reveal-divider {
    width: 48px;
    height: 3px;
    margin: 1.25rem 0 0.7rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lt-cyan), var(--lt-purple), var(--lt-pink));
}

.lt-reveal-layout h2 {
    margin-bottom: 0.35rem;
}

.lt-reveal-artist {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.96rem !important;
    font-weight: 750;
}

.lt-leaderboard-card {
    overflow: hidden;
}

.lt-leaderboard-card > summary {
    list-style: none;
}

.lt-leaderboard-card > summary::-webkit-details-marker {
    display: none;
}

.lt-section-heading {
    display: flex;
    min-height: 66px;
    padding: 0.85rem 1rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
}

.lt-section-heading-copy {
    display: grid;
    gap: 0.15rem;
}

.lt-section-heading strong {
    font-size: 0.92rem;
    font-weight: 900;
}

.lt-section-heading small {
    color: var(--lt-muted);
    font-size: 0.68rem;
}

.lt-summary-chevron {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    color: var(--lt-faint);
    background: rgba(255, 255, 255, 0.045);
    transition: transform 160ms ease;
}

.lt-leaderboard-card[open] .lt-summary-chevron {
    transform: rotate(180deg);
}

.lt-leaderboard {
    display: grid;
    gap: 0.42rem;
    padding: 0 0.75rem 0.75rem;
}

.lt-leader-row {
    display: grid;
    grid-template-columns: 28px 34px minmax(0, 1fr) auto;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0.45rem 0.65rem;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.lt-leader-row.is-me {
    border-color: rgba(34, 211, 238, 0.2);
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.09), rgba(139, 92, 246, 0.07));
}

.lt-leader-rank {
    color: var(--lt-faint);
    font-size: 0.72rem;
    font-weight: 900;
    text-align: center;
}

.lt-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    font-size: 0.75rem;
}

.lt-leader-name {
    min-width: 0;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-leader-name small {
    color: var(--lt-cyan);
    font-size: 0.66rem;
    font-weight: 800;
}

.lt-leader-score {
    font-size: 1rem;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

.lt-empty-scoreboard {
    padding: 1.1rem;
    color: var(--lt-muted);
    font-size: 0.78rem;
    text-align: center;
}

.lt-network-status {
    position: fixed;
    top: calc(0.6rem + var(--lt-safe-top));
    left: 50%;
    z-index: 50;
    display: flex;
    max-width: calc(100vw - 2rem);
    padding: 0.52rem 0.78rem;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    transform: translate(-50%, calc(-100% - 1.5rem));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(12, 17, 34, 0.97);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.38);
    font-size: 0.7rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: transform 180ms ease;
}

.lt-network-status.is-visible {
    transform: translate(-50%, 0);
}

.lt-network-status.is-offline {
    color: #fecdd3;
    border-color: rgba(251, 113, 133, 0.28);
}

.lt-network-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--lt-green);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.65);
}

.lt-network-status.is-offline .lt-network-dot {
    background: var(--lt-danger);
    box-shadow: 0 0 10px rgba(251, 113, 133, 0.65);
}

.lt-toast {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + var(--lt-safe-bottom));
    left: 1rem;
    z-index: 60;
    max-width: 520px;
    margin: 0 auto;
    padding: 0.9rem 1rem;
    transform: translateY(calc(100% + 2rem));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    color: #fff;
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
    font-size: 0.8rem;
    font-weight: 850;
    text-align: center;
    transition: transform 180ms ease;
}

.lt-toast.is-visible {
    transform: translateY(0);
}

.lt-toast.is-error {
    color: #fecdd3;
    border-color: rgba(251, 113, 133, 0.25);
}

.lt-footer {
    padding: 0.7rem 1rem 0.25rem;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.62rem;
    font-weight: 650;
    text-align: center;
}

body.lt-in-game .lt-footer {
    display: none;
}

@media (min-width: 560px) {
    .lt-app-frame {
        padding-bottom: calc(1.5rem + var(--lt-safe-bottom));
    }

    .lt-app-bar,
    .lt-shell {
        padding-right: 1.35rem;
        padding-left: 1.35rem;
    }

    .lt-join-view {
        padding-top: clamp(1rem, 6vh, 4rem);
    }

    .lt-join-card {
        padding: 1.7rem;
    }

    .lt-game {
        gap: 1rem;
    }

    .lt-phase-card {
        min-height: 390px;
    }

    .lt-phase-center,
    .lt-reveal-layout,
    .lt-guess-layout {
        min-height: 350px;
    }
}

@media (min-width: 760px) {
    body {
        padding: 1.25rem 0;
    }

    .lt-app-frame {
        min-height: calc(100dvh - 2.5rem);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 34px;
        background: rgba(8, 11, 24, 0.5);
        box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
        overflow: clip;
    }

    .lt-app-bar {
        top: 1.25rem;
    }
}

@media (max-height: 720px) {
    .lt-app-bar {
        min-height: calc(62px + var(--lt-safe-top));
        padding-top: calc(0.65rem + var(--lt-safe-top));
        padding-bottom: 0.55rem;
    }

    .lt-logo {
        max-height: 27px;
    }

    .lt-join-view {
        padding-top: 0;
        gap: 0.8rem;
    }

    .lt-hero-copy h1 {
        font-size: clamp(2rem, 9vw, 3.3rem);
    }

    .lt-hero-copy p {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .lt-phase-card {
        min-height: 285px;
    }

    .lt-phase-center,
    .lt-reveal-layout,
    .lt-guess-layout {
        min-height: 250px;
    }

    .lt-vinyl,
    .lt-success-orbit,
    .lt-points-burst {
        width: 82px;
        height: 82px;
        margin-bottom: 0.8rem;
    }

    .lt-year-display {
        font-size: clamp(4rem, 18vw, 6rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* v11 sequential-turn states */
.lt-turn-waiting .lt-waiting-visual{margin-bottom:1rem}.lt-turn-chip{display:inline-flex;margin-top:1rem;padding:.55rem .72rem;border:1px solid rgba(34,211,238,.18);border-radius:999px;color:#a5f3fc;background:rgba(34,211,238,.07);font-size:.68rem;font-weight:800;line-height:1.3}.lt-phase-card:has(.lt-turn-waiting){border-color:rgba(34,211,238,.14)}
