/* TeleLive Help Center — clean Kick-level polish, brand #1e56f5, no glass */
:root {
    --tl-help-brand: #1e56f5;
    --tl-help-brand-soft: rgba(30, 86, 245, 0.16);
    --tl-help-bg: #0a0b10;
    --tl-help-elev: #14161e;
    --tl-help-elev-2: #1a1d27;
    --tl-help-line: rgba(255, 255, 255, 0.09);
    --tl-help-text: #f2f3f5;
    --tl-help-muted: rgba(235, 235, 245, 0.58);
    --tl-help-font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
    --tl-help-radius: 12px;
    --tl-help-max: 1080px;
}
*,
*::before,
*::after { box-sizing: border-box; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.tl-help-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(70% 48% at 50% -8%, rgba(30, 86, 245, 0.28), transparent 58%),
        linear-gradient(180deg, #0f121a 0%, var(--tl-help-bg) 42%, #090a0f 100%);
    color: var(--tl-help-text);
    font-family: var(--tl-help-font);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}
.tl-help-body h1,
.tl-help-body h2,
.tl-help-body h3,
.tl-help-body button,
.tl-help-body input,
.tl-help-body textarea,
.tl-help-body select {
    font-family: var(--tl-help-font);
}

/* ── Header ── */
.tl-help-top {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--tl-help-line);
    background: rgba(10, 11, 16, 0.94);
}
.tl-help-top__inner {
    max-width: var(--tl-help-max);
    margin: 0 auto;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}
.tl-help-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}
.tl-help-brand__word {
    height: 30px;
    width: auto;
    max-width: min(168px, 42vw);
    object-fit: contain;
    display: block;
}
.tl-help-brand__pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: var(--tl-help-brand-soft);
    color: #bfdbfe;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}
.tl-help-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 14px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--tl-help-line);
    background: var(--tl-help-elev);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tl-help-search:focus-within {
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 3px rgba(30, 86, 245, 0.18);
}
.tl-help-search i {
    color: #93c5fd;
    font-size: 0.9rem;
    width: 1em;
    text-align: center;
    flex: 0 0 auto;
}
.tl-help-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tl-help-text);
    font-size: 0.92rem;
    font-family: inherit;
    font-weight: 500;
}
.tl-help-search input::placeholder { color: var(--tl-help-muted); }
.tl-help-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}
.tl-help-nav a {
    color: var(--tl-help-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 650;
    padding: 8px 12px;
    border-radius: 999px;
    white-space: nowrap;
    transition: color .12s ease, background .12s ease;
}
.tl-help-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.tl-help-nav a.is-active {
    color: #fff;
    background: rgba(30, 86, 245, 0.22);
}
.tl-help-nav__lang {
    min-width: 40px;
    text-align: center;
    border: 1px solid var(--tl-help-line) !important;
}

/* ── Main ── */
.tl-help-main {
    max-width: var(--tl-help-max);
    margin: 0 auto;
    padding: 28px 20px 72px;
}
.tl-help-hero { margin: 0 0 28px; }
.tl-help-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 3.2vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}
.tl-help-hero h1 .fas,
.tl-help-hero h1 .far {
    color: #93c5fd;
    font-size: 0.92em;
}
.tl-help-hero p {
    margin: 0;
    max-width: 54ch;
    color: var(--tl-help-muted);
    line-height: 1.55;
    font-size: 0.96rem;
    font-weight: 500;
}

/* Categories */
.tl-help-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.tl-help-cat {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--tl-help-radius);
    border: 1px solid var(--tl-help-line);
    background: var(--tl-help-elev);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, transform .15s ease;
}
.tl-help-cat:hover {
    border-color: rgba(91, 140, 255, 0.5);
    transform: translateY(-1px);
}
.tl-help-cat__ico {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: grid; place-items: center;
    background: var(--tl-help-brand-soft);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: #93c5fd;
    flex: 0 0 auto;
    font-size: 1rem;
}
.tl-help-cat h2 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 750;
}
.tl-help-cat p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--tl-help-muted);
    line-height: 1.4;
    font-weight: 500;
}

.tl-help-crumb {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin: 0 0 14px;
    font-size: 0.8rem;
    color: var(--tl-help-muted);
    font-weight: 500;
}
.tl-help-crumb a { color: inherit; text-decoration: none; }
.tl-help-crumb a:hover { color: #93c5fd; }

.tl-help-list { display: grid; gap: 10px; }
.tl-help-item {
    display: block;
    padding: 14px 16px;
    border-radius: var(--tl-help-radius);
    border: 1px solid var(--tl-help-line);
    background: var(--tl-help-elev);
    text-decoration: none;
    color: inherit;
}
.tl-help-item:hover { border-color: rgba(91, 140, 255, 0.45); }
.tl-help-item h2 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 750;
}
.tl-help-item p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--tl-help-muted);
    line-height: 1.45;
    font-weight: 500;
}
.tl-help-meta {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--tl-help-muted);
}

.tl-help-article__title {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.tl-help-article__body {
    margin-top: 18px;
    line-height: 1.7;
    font-size: 0.98rem;
}
.tl-help-article__body h2 {
    margin: 1.4em 0 0.5em;
    font-size: 1.15rem;
    font-weight: 750;
}
.tl-help-article__body p,
.tl-help-article__body li { color: rgba(239, 239, 241, 0.92); }
.tl-help-article__body a { color: #93c5fd; }
.tl-help-article__body .tl-blog-fig,
.tl-help-article__body figure {
    margin: 16px 0;
    border-radius: var(--tl-help-radius);
    overflow: hidden;
    border: 1px solid var(--tl-help-line);
    background: #000;
}
.tl-help-article__body img {
    display: block;
    width: 100%;
    height: auto;
}
.tl-help-article__body figcaption {
    padding: 8px 12px;
    font-size: 0.78rem;
    color: var(--tl-help-muted);
    background: var(--tl-help-elev);
}
.tl-help-note {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.1);
    color: #fde68a;
    font-weight: 500;
}
.tl-help-cta {
    margin-top: 28px;
    padding: 16px;
    border-radius: var(--tl-help-radius);
    border: 1px solid rgba(30, 86, 245, 0.4);
    background: rgba(30, 86, 245, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
.tl-help-cta p { margin: 0; color: #bfdbfe; font-weight: 650; max-width: 52ch; line-height: 1.5; }
.tl-help-cta--soft {
    border-color: var(--tl-help-line);
    background: var(--tl-help-elev);
}
.tl-help-cta--soft p { color: var(--tl-help-muted); font-weight: 500; }
.tl-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 0;
    background: var(--tl-help-brand);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}
.tl-help-btn .fas { font-size: 0.9em; }
.tl-help-btn--ghost {
    background: transparent;
    border: 1px solid var(--tl-help-line);
    color: var(--tl-help-text);
}
.tl-help-btn--ghost:hover {
    border-color: rgba(96, 165, 250, 0.45);
    color: #fff;
}
.tl-help-related { margin-top: 32px; }
.tl-help-related h3 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 750;
}
.tl-help-foot {
    border-top: 1px solid var(--tl-help-line);
    padding: 20px 20px 36px;
}
.tl-help-foot__inner {
    max-width: var(--tl-help-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    color: var(--tl-help-muted);
    font-size: 0.84rem;
    font-weight: 500;
}
.tl-help-foot__links { display: flex; flex-wrap: wrap; gap: 14px; }
.tl-help-foot a { color: #93c5fd; text-decoration: none; font-weight: 600; }
.tl-help-empty {
    padding: 28px;
    text-align: center;
    color: var(--tl-help-muted);
    border: 1px dashed var(--tl-help-line);
    border-radius: var(--tl-help-radius);
}

/* ── Tickets page: flatten glass + brand fonts ── */
.tl-help-body.tl-help-tickets {
    --line: var(--tl-help-line);
    --text: var(--tl-help-text);
    --text-muted: var(--tl-help-muted);
    --bg-elev-2: var(--tl-help-elev-2);
}
.tl-help-tickets-wrap {
    width: min(720px, 100%);
    margin: 0 auto;
}
.tl-help-body .sp-scard,
.tl-help-body .sp-asst {
    background: var(--tl-help-elev) !important;
    border: 1px solid var(--tl-help-line) !important;
    border-radius: var(--tl-help-radius) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.tl-help-body .sp-asst {
    padding: 16px;
    margin-bottom: 16px;
}
.tl-help-body .sp-asst-hd {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.tl-help-body .sp-asst-hd .ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--tl-help-brand-soft);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: #93c5fd;
    flex: 0 0 auto;
}
.tl-help-body .sp-asst-hd h2 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 750;
}
.tl-help-body .sp-asst-hd p {
    margin: 0;
    color: var(--tl-help-muted);
    font-size: 0.86rem;
    font-weight: 500;
}
.tl-help-body .sp-asst-msgs {
    border-radius: 10px;
    border: 1px solid var(--tl-help-line);
    background: #0d0f15;
    padding: 12px;
    min-height: 120px;
    margin-bottom: 10px;
}
.tl-help-body .sp-asst-foot {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.tl-help-body .sp-asst-foot textarea {
    flex: 1;
    min-height: 72px;
    resize: vertical;
    border-radius: 10px;
    border: 1px solid var(--tl-help-line);
    background: #0d0f15;
    color: var(--tl-help-text);
    padding: 12px;
    font: inherit;
    font-weight: 500;
}
.tl-help-body .btn,
.tl-help-body .btn-primary,
.tl-help-body .btn-outline,
.tl-help-body .btn-sm {
    font-family: inherit;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.tl-help-body .btn-primary,
.tl-help-body .btn.btn-primary {
    background: var(--tl-help-brand);
    border: 0;
    color: #fff;
    padding: 10px 14px;
}
.tl-help-body .btn-outline,
.tl-help-body .btn.btn-outline {
    background: transparent;
    border: 1px solid var(--tl-help-line);
    color: var(--tl-help-text);
    padding: 8px 12px;
}
.tl-help-body .sp-scard table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    font-weight: 500;
}
.tl-help-body .sp-scard th,
.tl-help-body .sp-scard td {
    padding: 12px 14px;
    text-align: start;
    border-bottom: 1px solid var(--tl-help-line);
    vertical-align: middle;
}
.tl-help-body .sp-scard th {
    color: var(--tl-help-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.tl-help-body .sp-scard tr:last-child td { border-bottom: 0; }
.tl-help-body .sp-scard tr[role="button"]:hover {
    background: rgba(255, 255, 255, 0.03);
}
.tl-help-body .st-closed { color: var(--tl-help-muted); }
.tl-help-body .st-open { color: #4ade80; }
.tl-help-body .st-answered { color: #60a5fa; }

@media (max-width: 860px) {
    .tl-help-top__inner {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }
    .tl-help-search {
        grid-column: 1 / -1;
        order: 3;
    }
    .tl-help-nav {
        justify-content: flex-end;
    }
}
@media (max-width: 560px) {
    .tl-help-nav a { padding: 7px 9px; font-size: 0.78rem; }
    .tl-help-brand__pill { display: none; }
    .tl-help-main { padding: 20px 14px 56px; }
}
