/* Shared chrome for TeleLive account / legal / info pages */
.tl-page {
    --tl-page-max: 920px;
    width: min(var(--tl-page-max), 96vw);
    margin: 0 auto;
    padding: 22px 0 56px;
}
.tl-page--wide { --tl-page-max: 1140px; }

.tl-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 26px;
    padding: clamp(22px, 3.5vw, 32px);
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.16);
    background: rgba(22, 22, 26, 0.22);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: tl-page-in 0.55s ease both;
}
.tl-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: inherit;
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    pointer-events: none;
}
.tl-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(90% 70% at 10% 0%, rgba(30, 86, 245, 0.2), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 55%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .tl-page-hero { background: rgba(24, 24, 27, 0.96); }
}

.tl-page-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #93c5fd;
    background: rgba(30, 86, 245, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.28);
}
.tl-page-hero__brand {
    margin: 0 0 6px;
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #fff;
}
.tl-page-hero__brand span { color: var(--brand-soft, #5280ff); }
.tl-page-hero__title {
    margin: 0 0 10px;
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tl-page-hero__title i { color: var(--brand-soft, #5280ff); }
.tl-page-hero__lead {
    margin: 0;
    max-width: 46rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.tl-page-panel {
    position: relative;
    isolation: isolate;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.15);
    background: rgba(22, 22, 26, 0.2);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
.tl-page-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .tl-page-panel { background: rgba(24, 24, 27, 0.96); }
}

@keyframes tl-page-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .tl-page-hero { animation: none; }
}

[data-theme="light"] .tl-page-hero,
[data-theme="light"] .tl-page-panel {
    background: rgba(252, 252, 253, 0.82);
    border-color: rgba(0, 0, 0, 0.08);
    border-top-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
[data-theme="light"] .tl-page-hero__brand { color: var(--text); }
