
:root {
    --c-bg: #030101;
    --c-surface: #0a0b18;
    --c-surface-alt: #241f26;
    --c-border: #262c38;
    --c-text: #f3fef3;
    --c-text-muted: #9a8c94;
    --c-accent: #bf7f2e;
    --c-accent-hover: #d59b42;
    --c-on-accent: #010102;
    --c-purple: #c37522;
    --c-purple-hover: #d49340;
    --c-on-purple: #020108;

        --c-white: #fdf9fb;
    --c-green: #40e18b;
    --c-shadow: rgba(1, 2, 1, .35);
    --c-overlay: rgba(1, 1, 14, .7);

        --ns-header-h: 118px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.46;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img { max-width: 100%; height: auto; }

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }

svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.go-link { cursor: pointer; }

#go-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    background: var(--c-overlay, rgba(2, 1, 10, .7));
}

#go-overlay.go-overlay--visible { display: flex; }

.go-spinner {
    width: 3.5rem;
    height: 3.5rem;
    border: .3125rem solid color-mix(in srgb, var(--c-text) 20%, transparent);
    border-top-color: var(--c-accent);
    border-radius: 50%;
    animation: go-spin .8s linear infinite;
}

@keyframes go-spin { to { transform: rotate(360deg); } }

.ns-zxfha {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 21px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.ns-zxfha:hover { text-decoration: none; }
.ns-zxfha:active { transform: translateY(1px); }

.ns-rxgcm { background: var(--c-accent); color: var(--c-on-accent); }
.ns-rxgcm:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.ns-hxfvk { background: var(--c-purple); color: var(--c-on-purple); }
.ns-hxfvk:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.ns-dfrab {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--c-surface-alt);
    border-bottom: 1px solid color-mix(in srgb, var(--c-text) 6%, transparent);
}

.ns-qpajc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 8px 14px;
}

.ns-jfthe {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 48px;
}

.ns-mastr {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45px;
    height: 45px;
    padding: 10px 7px;
}

.ns-mastr span {
    display: block;
    width: 34px;
    height: 4px;
    border-radius: 2px;
    background: var(--c-text);
}

.ns-gbrcb {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ns-gbrcb:hover { text-decoration: none; }

.ns-gbrcb img { height: 44px; width: auto; }

.ns-vrcpq {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--c-text);
}

.ns-apjxr {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--c-accent);
}

.ns-kpbrm { display: none; }

.ns-vhmja {
    display: flex;
    gap: 7px;
    width: 100%;
}

.ns-vhmja .ns-zxfha { flex: 1; }

.ns-zjchp {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.ns-zjchp.ns-ckwxa { visibility: visible; }

.ns-djqgj {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, #000 60%, transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ns-zjchp.ns-ckwxa .ns-djqgj { opacity: 1; }

.ns-pcfne {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 88%;
    height: 100%;
    padding: 11px;
    overflow-y: auto;
    background: var(--c-surface-alt);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.ns-zjchp.ns-ckwxa .ns-pcfne { transform: translateX(0); }

.ns-mepce {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-on-accent);
}

.ns-fmnkb {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.ns-eybev {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px 11px 0;
}

.ns-ghefs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
    list-style: none;
}

.ns-ghefs > li {
    border-radius: 15px;
    background: color-mix(in srgb, var(--c-accent) 20%, transparent);
}

.ns-npvxp {
    position: relative;
    display: flex;
    align-items: center;
}

.ns-npvxp > a {
    flex: 1;
    min-height: 45px;
    padding: 14px 44px 13px 17px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text);
}

.ns-npvxp > a:hover { text-decoration: none; }

.ns-gedzd {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: -11px;
    border-radius: 50%;
    background: var(--c-purple);
    color: var(--c-on-purple);
    transition: transform 0.2s ease;
}

.ns-gedzd svg { width: 18px; height: 18px; }
.ns-gedzd[aria-expanded="true"] { transform: rotate(180deg); }

.ns-jzbjr {
    display: none;
    padding: 0 9px 12px;
    list-style: none;
}

.ns-jzbjr.ns-ywpnz { display: block; }

.ns-jzbjr a {
    display: block;
    padding: 8px 7px;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text);
    border-top: 1px solid var(--c-border);
}

.ns-jzbjr a:hover { color: var(--c-accent); text-decoration: none; }

.ns-aydjd {
    display: flex;
    flex-direction: column;
    padding: 0 19px;
}

.ns-sxzxy {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding: 17px 0;
}

.ns-sxzxy[id],
.ns-sxzxy :is(h2, h3, h4)[id] { scroll-margin-top: calc(var(--ns-header-h) + 14px); }

.ns-aydjd > .ns-sxzxy:not(:has(*)) { display: none; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 15px;
    padding: 0;
    font-size: 0.875rem;
    list-style: none;
    color: var(--c-text-muted);
}

.breadcrumbs li { display: flex; align-items: center; gap: 7px; }
.breadcrumbs li a { color: var(--c-text-muted); text-decoration: none; }
.breadcrumbs li a:hover { color: var(--c-accent); }
.breadcrumbs li:last-child span { color: var(--c-text); }
.breadcrumbs li + li::before { content: "/"; color: var(--c-text-muted); }

.ns-sxzxy h1,
.ns-sxzxy h2,
.ns-sxzxy h3,
.ns-sxzxy h4,
.ns-sxzxy h5,
.ns-sxzxy h6 { color: var(--c-text); }

.ns-sxzxy h1 {
    margin-bottom: 20px;
    font-size: clamp(1.781rem, 1.653rem + 0.524vw, 2.125rem);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.ns-sxzxy h2 {
    margin-bottom: 12px;
    font-size: clamp(1.646rem, 1.560rem + 0.350vw, 1.875rem);
    font-weight: 700;
    line-height: 1.05;
}

.ns-sxzxy h3 {
    margin-bottom: 9px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.ns-sxzxy h4 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.ns-sxzxy h5 {
    margin-bottom: 7px;
    font-size: 1.06rem;
    font-weight: 600;
    line-height: 1.4;
}

.ns-sxzxy h6 {
    margin-bottom: 7px;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-accent);
}

.ns-sxzxy h2:not(:first-child),
.ns-sxzxy h3:not(:first-child) { margin-top: 28px; }

.ns-sxzxy p {
    margin-bottom: 17px;
    font-size: 0.96rem;
    line-height: 1.51;
}

.ns-sxzxy ul,
.ns-sxzxy ol {
    margin: 0 0 17px 18px;
    font-size: 0.96rem;
    line-height: 1.51;
}

.ns-sxzxy li { margin-bottom: 8px; }
.ns-sxzxy li::marker { color: var(--c-accent); }

.ns-sxzxy a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.ns-sxzxy a:hover { color: var(--c-purple); }

.ns-sxzxy .ns-zxfha { text-decoration: none; }
.ns-sxzxy .ns-rxgcm, .ns-sxzxy .ns-rxgcm:hover { color: var(--c-on-accent); }
.ns-sxzxy .ns-hxfvk, .ns-sxzxy .ns-hxfvk:hover { color: var(--c-on-purple); }

.ns-sxzxy strong { font-weight: 700; }
.ns-sxzxy em { font-style: italic; }

.ns-sxzxy img { max-width: 100%; height: auto; border-radius: 12px; }

.ns-sxzxy blockquote {
    margin: 0 0 15px;
    padding: 15px 18px;
    border-left: 3px solid var(--c-accent);
    border-radius: 0 16px 16px 0;
    background: var(--c-surface);
    font-size: 0.96rem;
    font-style: italic;
    line-height: 1.51;
}

.ns-sxzxy table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 15px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    font-size: 0.96rem;
}

.ns-sxzxy th,
.ns-sxzxy td {
    padding: 7px;
    border: 1px solid var(--c-border);
    text-align: left;
    vertical-align: top;
    line-height: 1.46;
}

.ns-sxzxy th {
    background: var(--c-surface);
    font-weight: 700;
    color: var(--c-text);
}

.apa-banner {
    position: relative;
    margin: 0 0 18px;
}

.apa-media {
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 13px;
}

.apa-media img {
    width: 100%;
    aspect-ratio: 16 / 10.3;
    object-fit: cover;
    border-radius: 0;
}

.apa-box {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px;
    border-radius: 0 0 15px 16px;
    background: color-mix(in srgb, #000 45%, transparent);
    text-align: center;
}

.ns-sxzxy .apa-title {
    margin: 0;
    font-size: clamp(1.187rem, 0.931rem + 1.049vw, 1.875rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-white);
}

.ns-sxzxy .apa-cta,
.apa-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 14px 21px;
    border-radius: 15px;
    background: var(--c-accent);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: var(--c-on-accent);
    transition: background 0.2s ease;
}

.ns-sxzxy .apa-cta:hover,
.apa-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

.hzq-toc { padding: 14px 0; }

.hzq-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 45px;
    padding: 5px 13px;
    border-radius: 12px;
    background: var(--c-accent);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--c-on-accent);
}

.hzq-toggle svg { width: 20px; height: 20px; }

.hzq-panel { display: none; margin-top: 11px; }
.hzq-panel.hzq-panel--open { display: block; }

.ns-sxzxy .hzq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 11px;
    border-radius: 12px;
    background: var(--c-surface);
    list-style: none;
}

.ns-sxzxy .hzq-list li { margin: 0; }

.ns-sxzxy .hzq-list a,
.hzq-list a {
    display: block;
    padding: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-text);
    text-decoration: none;
}

.ns-sxzxy .hzq-list a:hover,
.hzq-list a:hover { color: var(--c-accent); }

.ns-recbc { padding-top: 17px; }

.ns-hhtfa {
    margin-bottom: 15px;
    padding: 17px 18px 25px;
    border-radius: 12px;
    background: var(--c-surface);
}

.ns-hhtfa h3 {
    margin: 0 0 14px;
    padding-bottom: 13px;
    border-bottom: 1px solid color-mix(in srgb, var(--c-text) 18%, transparent);
}

.ns-hhtfa p:last-child { margin-bottom: 0; }

.ns-kndpc {
    padding-bottom: 11px;
    background: color-mix(in srgb, var(--c-bg) 65%, #000);
}

.ns-zkpcp {
    max-width: 1240px;
    margin: 0 auto;
    padding: 19px 14px;
    text-align: center;
}

.ns-jttgw {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    list-style: none;
}

.ns-jttgw a {
    display: inline-block;
    min-height: 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text);
    text-decoration: none;
}

.ns-jttgw a:hover { color: var(--c-accent); }

.ns-gcvkk { display: flex; justify-content: center; margin-bottom: 19px; }
.ns-gcvkk img { height: 40px; width: auto; }

.ns-tyatn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 22px auto 0;
    border: 1px solid color-mix(in srgb, var(--c-text) 30%, transparent);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
}

.ns-vzyhf {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.ns-vzyhf a { display: flex; align-items: center; }
.ns-vzyhf img { width: 6.5rem; height: 2.2rem; object-fit: contain; }

.ns-xjfyp {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--c-text-muted);
}

.ns-xjfyp a { color: var(--c-text-muted); text-decoration: underline; }
.ns-xjfyp a:hover { color: var(--c-accent); }

.ns-qrbct {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--c-purple);
    color: var(--c-on-purple);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ns-qrbct.ns-mdxws { opacity: 1; visibility: visible; }

body:has(.nat-banner:not([hidden])) .ns-qrbct,
body:has(.nat-overlay:not([hidden])) .ns-qrbct {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nat-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: color-mix(in srgb, #000 60%, transparent);
}

.nat-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 61;
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 15px 22px;
    background: var(--c-surface-alt);
    border-top: 1px solid var(--c-border);
}

.nat-text { font-size: 0.9rem; line-height: 1.5; color: var(--c-text); }
.nat-text a { color: var(--c-accent); text-decoration: underline; }

.nat-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.nat-btn {
    flex: 1 1 auto;
    min-height: 45px;
    padding: 9px 20px;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.nat-btn--accept { background: var(--c-accent); color: var(--c-on-accent); }
.nat-btn--save { background: var(--c-purple); color: var(--c-on-purple); }

.nat-btn--reject,
.nat-btn--settings {
    background: transparent;
    border: 1px solid var(--c-border);
    color: var(--c-text);
}

.nat-modal {
    position: fixed;
    inset: 0;
    z-index: 62;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: color-mix(in srgb, #000 70%, transparent);
}

.nat-modal__inner {
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 19px;
    border-radius: 13px;
    background: var(--c-surface);
}

.nat-modal__title { margin-bottom: 12px; font-size: 1.3rem; font-weight: 700; color: var(--c-text); }
.nat-modal__desc { margin-bottom: 15px; font-size: 0.9rem; line-height: 1.5; color: var(--c-text-muted); }

.nat-categories { display: flex; flex-direction: column; gap: 13px; margin-bottom: 19px; }

.nat-cat { padding-bottom: 16px; border-bottom: 1px solid var(--c-border); }
.nat-cat:last-child { border-bottom: 0; padding-bottom: 0; }

.nat-cat__header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.nat-cat__name { font-weight: 600; color: var(--c-text); }
.nat-cat__always { font-size: 0.8rem; color: var(--c-text-muted); }
.nat-cat__desc { font-size: 0.85rem; line-height: 1.45; color: var(--c-text-muted); }

.nat-toggle { position: relative; flex: none; width: 44px; height: 24px; }
.nat-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }

.nat-toggle__slider {
    display: block;
    width: 44px;
    height: 24px;
    border-radius: 14px;
    background: var(--c-border);
    transition: background 0.2s ease;
}

.nat-toggle__slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--c-text);
    transition: transform 0.2s ease;
}

.nat-toggle input:checked + .nat-toggle__slider { background: var(--c-accent); }
.nat-toggle input:checked + .nat-toggle__slider::before { transform: translateX(20px); background: var(--c-on-accent); }

.nat-modal__actions { display: flex; flex-wrap: wrap; gap: 7px; }

@media (min-width: 768px) {
    .ns-jttgw { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 17px 33px; }
        .ns-vzyhf { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 17px 21px; }
    .apa-media img { aspect-ratio: 16 / 6.5; }
    .nat-banner { flex-direction: row; align-items: center; gap: 19px; }
    .nat-actions { flex: none; }
    .nat-btn { flex: none; }
}

@media (min-width: 1024px) {
    :root { --ns-header-h: 69px; }

    .ns-qpajc {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 20px;
    }

    .ns-jfthe { width: auto; justify-content: flex-start; }
    .ns-mastr { display: none; }
    .ns-zjchp { display: none; }

    .ns-gbrcb img { height: 36px; }

    .ns-kpbrm {
        display: flex;
        flex: 1;
        justify-content: center;
        gap: 19px;
        list-style: none;
    }

    .ns-ddfeq { position: relative; display: flex; align-items: center; gap: 6px; }

    .ns-ddfeq > a {
        font-size: 0.98rem;
        font-weight: 500;
        color: var(--c-text);
        text-decoration: none;
    }

    .ns-ddfeq > a:hover { color: var(--c-accent); }

    .ns-ddfeq > .ns-gedzd {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .ns-ddfeq > .ns-gedzd svg { width: 24px; height: 24px; }

    .ns-kpbrm .ns-jzbjr {
        position: absolute;
        top: 100%;
        left: 50%;
        min-width: 200px;
        margin-top: 8px;
        padding: 2px 10px 6px;
        border: 1px solid color-mix(in srgb, var(--c-text) 10%, transparent);
        border-radius: 16px;
        background: var(--c-surface-alt);
        transform: translateX(-50%);
    }

    .ns-kpbrm .ns-jzbjr a { white-space: nowrap; }
    .ns-kpbrm .ns-jzbjr li:first-child a { border-top: 0; }

    .ns-vhmja { width: auto; }
    .ns-vhmja .ns-zxfha { flex: none; min-width: 100px; min-height: 42px; padding: 10px 14px; }

    .ns-aydjd { padding: 0 27px; }

    .ns-sxzxy table { display: table; }

    .apa-media img { aspect-ratio: 1190 / 400; }

    .apa-box {
        top: 50%;
        right: auto;
        bottom: auto;
        left: 50%;
        width: max-content;
        max-width: 60%;
        gap: 9px;
        padding: 17px 15px;
        border-radius: 12px;
        background: var(--c-overlay);
        transform: translate(-50%, -50%);
    }

    .apa-box .apa-cta { align-self: center; min-height: 39px; }

    .ns-qrbct { right: 32px; bottom: 32px; }
}
