.lt-body {
    min-height: 100svh;
    overflow-x: hidden;
}

.lt-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.lt-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
}

.lt-glow-gold {
    width: 60vw;
    height: 60vw;
    max-width: 620px;
    max-height: 620px;
    top: -18%;
    right: -12%;
    background: radial-gradient(circle, rgba(214, 178, 131, 0.34), transparent 68%);
}

.lt-glow-violet {
    width: 62vw;
    height: 62vw;
    max-width: 640px;
    max-height: 640px;
    bottom: -22%;
    left: -16%;
    background: radial-gradient(circle, rgba(141, 142, 255, 0.24), transparent 68%);
}

.lt-shell {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 560px;
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(20px, 5vw, 42px) clamp(18px, 4vw, 28px) 46px;
}

.lt-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: clamp(28px, 6vw, 46px);
}

.lt-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.lt-chip i {
    font-size: 0.95rem;
    color: var(--accent);
}

.lt-chip:hover {
    color: var(--text);
    background: var(--panel-hover);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.lt-chip-danger:hover {
    color: #ffb4b4;
    border-color: rgba(255, 120, 120, 0.4);
}

.lt-chip-danger:hover i {
    color: #ff8a8a;
}

.lt-header {
    text-align: center;
    animation: ltRise 0.7s var(--ease) both;
}

.lt-avatar-wrap {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 0 auto 20px;
}

.lt-avatar-wrap::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent));
    animation: ltSpin 12s linear infinite;
}

.lt-avatar-wrap::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: var(--bg);
}

.lt-avatar {
    position: relative;
    z-index: 1;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0b0d15;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.lt-name {
    margin: 0 0 4px;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 6vw, 2.35rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.lt-handle {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lt-bio {
    max-width: 400px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.lt-links {
    display: grid;
    gap: 12px;
    margin: clamp(28px, 6vw, 38px) 0 0;
}

.lt-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    animation: ltRise 0.6s var(--ease) both;
    animation-delay: var(--d, 0s);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.lt-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(214, 178, 131, 0.16), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.lt-link:hover,
.lt-link:focus-visible {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    background: var(--panel-hover);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.lt-link:hover::before,
.lt-link:focus-visible::before {
    opacity: 1;
}

.lt-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.lt-link.is-accent {
    border-color: rgba(214, 178, 131, 0.36);
    background: linear-gradient(135deg, rgba(214, 178, 131, 0.14), rgba(141, 142, 255, 0.07));
}

.lt-link-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-strong);
    color: var(--accent);
    font-size: 1.15rem;
    transition: color 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.lt-link:hover .lt-link-icon {
    color: #0a0b10;
    background: var(--accent);
    border-color: transparent;
}

.lt-link-body {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.lt-link-body strong {
    display: block;
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.lt-link-body small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lt-link-arrow {
    position: relative;
    z-index: 1;
    flex: none;
    color: var(--muted);
    font-size: 0.95rem;
    opacity: 0.4;
    transition: color 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.lt-link:hover .lt-link-arrow {
    color: var(--accent);
    opacity: 1;
    transform: translate(2px, -2px);
}

.lt-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 26px 18px;
    border: 1px dashed var(--border-strong);
    border-radius: 18px;
    color: var(--muted);
    font-size: 0.86rem;
    text-align: center;
}

.lt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: clamp(30px, 7vw, 44px);
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.lt-admin {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.72rem;
    text-decoration: none;
    transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.lt-admin:hover {
    color: var(--accent);
    border-color: rgba(214, 178, 131, 0.45);
    background: var(--gold-soft);
}

.lt-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 20;
    padding: 11px 18px;
    border: 1px solid rgba(214, 178, 131, 0.4);
    border-radius: 999px;
    background: #0f121b;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 16px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.lt-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.lt-auth-body {
    display: grid;
    place-items: center;
    padding: 24px clamp(16px, 4vw, 32px);
}

.lt-auth {
    position: relative;
    z-index: 2;
    width: min(100%, 420px);
}

.lt-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}

.lt-auth-back:hover {
    color: var(--accent);
    transform: translateX(-3px);
}

.lt-auth-card {
    padding: clamp(26px, 6vw, 36px);
    border: 1px solid var(--border-strong);
    border-radius: 26px;
    background: rgba(15, 18, 27, 0.82);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
    animation: ltRise 0.7s var(--ease) both;
}

.lt-auth-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border: 1px solid rgba(214, 178, 131, 0.32);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(214, 178, 131, 0.2), rgba(141, 142, 255, 0.12));
    color: var(--accent);
    font-size: 1.55rem;
}

.lt-eyebrow {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lt-auth-card h1 {
    margin: 0 0 8px;
    font-family: var(--serif);
    font-size: 1.75rem;
    line-height: 1.15;
}

.lt-auth-sub {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.lt-auth-card .lt-form {
    margin-top: 22px;
}

.lt-auth-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.lt-auth-note i {
    margin-top: 1px;
    color: var(--accent);
}

.lt-form {
    display: grid;
    gap: 13px;
}

.lt-field {
    display: grid;
    gap: 6px;
}

.lt-field > span {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.lt-field input,
.lt-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #0a0c13;
    color: var(--text);
    font-family: var(--sans);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.lt-field textarea {
    resize: vertical;
    min-height: 80px;
}

.lt-field input::placeholder,
.lt-field textarea::placeholder {
    color: #5d687b;
}

.lt-field input:focus,
.lt-field textarea:focus {
    outline: none;
    border-color: rgba(214, 178, 131, 0.6);
    background: #0d1018;
    box-shadow: 0 0 0 4px rgba(214, 178, 131, 0.1);
}

.lt-pin-input {
    padding: 12px 8px 12px 18px !important;
    font-size: 1.55rem !important;
    font-weight: 600;
    letter-spacing: 0.55em;
    text-align: center;
}

.lt-field-row {
    display: grid;
    gap: 13px;
}

.lt-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 2px 0;
}

.lt-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    cursor: pointer;
}

.lt-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.lt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-family: var(--sans);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.lt-btn-primary {
    background: var(--accent);
    color: #0a0b10;
}

.lt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(214, 178, 131, 0.28);
}

.lt-flashes {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
}

.lt-flash {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.lt-flash-success {
    border-color: rgba(120, 220, 160, 0.35);
    background: rgba(120, 220, 160, 0.1);
    color: #a8f0c4;
}

.lt-flash-error {
    border-color: rgba(255, 120, 120, 0.35);
    background: rgba(255, 120, 120, 0.1);
    color: #ffb2b2;
}

.lt-flash-info {
    border-color: rgba(141, 142, 255, 0.35);
    background: rgba(141, 142, 255, 0.1);
    color: #c3c4ff;
}

.lt-admin-body {
    padding: 0 clamp(16px, 3vw, 32px) 64px;
}

.lt-admin-top {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 0;
}

.lt-admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.lt-admin-logo {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(214, 178, 131, 0.35);
    border-radius: 14px;
    background: var(--gold-soft);
    color: var(--accent);
    font-size: 1.25rem;
}

.lt-admin-brand strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.1;
    color: #fff;
}

.lt-admin-brand small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lt-admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lt-admin-main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.lt-admin-main > .lt-flashes {
    margin: 0 0 16px;
}

.lt-admin-grid {
    display: grid;
    gap: 18px;
    align-items: start;
}

.lt-admin-col {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.lt-card {
    padding: clamp(18px, 2.5vw, 26px);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(15, 18, 27, 0.72);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
    animation: ltRise 0.6s var(--ease) both;
}

.lt-card-head h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-family: var(--serif);
    font-size: 1.12rem;
    line-height: 1.2;
    color: #fff;
}

.lt-card-head h2 i {
    color: var(--accent);
    font-size: 1rem;
}

.lt-card-head p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.55;
}

.lt-card-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.lt-mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--panel);
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.lt-mini-btn:hover {
    color: var(--accent);
    border-color: rgba(214, 178, 131, 0.42);
    background: var(--gold-soft);
}

.lt-profile-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--panel);
}

.lt-profile-preview img {
    width: 64px;
    height: 64px;
    border: 2px solid rgba(214, 178, 131, 0.55);
    border-radius: 50%;
    object-fit: cover;
}

.lt-profile-preview strong {
    display: block;
    color: #fff;
    font-size: 0.94rem;
    line-height: 1.3;
}

.lt-profile-preview small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.74rem;
}

.lt-card .lt-form {
    margin-top: 16px;
}

.lt-links-admin {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.lt-link-admin {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s var(--ease);
}

.lt-link-admin:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.05);
}

.lt-link-admin.is-off {
    opacity: 0.55;
}

.lt-link-admin-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lt-link-admin-ic {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--panel-strong);
    color: var(--accent);
    font-size: 1rem;
}

.lt-link-admin-title {
    flex: 1;
    min-width: 0;
}

.lt-link-admin-title strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.35;
}

.lt-link-admin-title small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lt-link-admin-tools {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lt-link-admin-tools form {
    margin: 0;
}

.lt-icon-btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--panel);
    color: var(--muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lt-icon-btn:hover:not(:disabled) {
    color: var(--text);
    background: var(--panel-hover);
    border-color: var(--border);
}

.lt-icon-btn.is-active {
    color: var(--accent);
    background: var(--gold-soft);
}

.lt-icon-btn:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

.lt-icon-danger:hover:not(:disabled) {
    color: #ff9a9a;
    background: rgba(255, 120, 120, 0.12);
    border-color: rgba(255, 120, 120, 0.3);
}

.lt-link-edit {
    margin-top: 10px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.lt-link-edit summary {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.77rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color 0.3s var(--ease);
}

.lt-link-edit summary::-webkit-details-marker {
    display: none;
}

.lt-link-edit summary:hover,
.lt-link-edit[open] summary {
    color: var(--accent);
}

.lt-link-edit form {
    margin-top: 13px;
}

@media (min-width: 560px) {
    .lt-field-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .lt-admin-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    }
}

@media (max-width: 480px) {
    .lt-shell {
        justify-content: flex-start;
        padding-top: 22px;
    }

    .lt-topbar {
        margin-bottom: 26px;
    }

    .lt-chip span {
        display: none;
    }

    .lt-chip {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
    }

    .lt-admin-actions .lt-chip span {
        display: none;
    }

    .lt-admin-actions .lt-chip {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
    }

    .lt-link-admin-head {
        flex-wrap: wrap;
    }

    .lt-link-admin-tools {
        width: 100%;
        justify-content: flex-start;
        padding-left: 52px;
    }
}

@keyframes ltRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ltSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lt-header,
    .lt-link,
    .lt-auth-card,
    .lt-card,
    .lt-avatar-wrap::before {
        animation: none !important;
    }

    .lt-link,
    .lt-chip,
    .lt-btn,
    .lt-auth-back {
        transition: none !important;
    }
}
