/* ============================================================
   NARUTO505 — Portal Theme
   Palet NARUTO (lihat docs/ARSITEKTUR.md §2):
   primary #ff6a00 · accent #ffc821 · bg #171310 · surface #241d16
   surface-2 #2f261d · line #3d3125 · text #ffffff · muted #d9cfc4
   ATURAN: tanpa !important, tanpa warna di luar palet ini.
   ============================================================ */

@import url('../fonts/icomoon/style.min.css');

:root {
    --nt-primary: #ff6a00;
    --nt-primary-dark: #e35b00;
    --nt-accent: #ffc821;
    --nt-bg: #171310;
    --nt-surface: #241d16;
    --nt-surface-2: #2f261d;
    --nt-line: #3d3125;
    --nt-text: #ffffff;
    --nt-muted: #d9cfc4;
    --nt-danger: #e02b2b;
    --nt-success: #22c55e;
    --nt-ink: #171310; /* teks di atas tombol terang */
    --nt-radius: 12px;
    --nt-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.nt-body {
    margin: 0;
    background: var(--nt-bg);
    color: var(--nt-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    padding-bottom: 0;
}

a { color: var(--nt-accent); text-decoration: none; }
a:hover { color: var(--nt-primary); }

img { max-width: 100%; }

.nt-ico {
    font-family: icomoon;
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nt-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 14px;
}

/* ---------------- Top bar ---------------- */
.nt-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--nt-bg);
    border-bottom: 1px solid var(--nt-line);
}
.nt-topbar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    max-width: 1180px;
    margin: 0 auto;
}
.nt-burger {
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    color: var(--nt-accent);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    font-size: 20px;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.nt-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: var(--nt-text);
}
.nt-logo img { height: 34px; width: auto; }
.nt-topbar__spacer { flex: 1; }
.nt-topbar__auth { display: flex; gap: 8px; }
.nt-topbar__auth .nt-btn { padding: 7px 12px; font-size: 12px; }
.nt-userchip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--nt-accent);
    font-weight: 700;
    font-size: 14px;
}
.nt-userchip .nt-coin { color: var(--nt-text); }

/* ---------------- Horizontal category nav ---------------- */
.nt-categorynav {
    background: var(--nt-surface);
    border-bottom: 1px solid var(--nt-line);
    overflow-x: auto;
    scrollbar-width: none;
}
.nt-categorynav::-webkit-scrollbar { display: none; }
.nt-categorynav__inner {
    display: flex;
    min-width: max-content;
    max-width: 1180px;
    margin: 0 auto;
}
.nt-categorynav__item {
    min-width: 96px;
    flex: 1 0 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 11px 8px 9px;
    color: var(--nt-text);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}
.nt-categorynav__item .nt-ico { color: var(--nt-accent); font-size: 27px; }
.nt-categorynav__item:hover,
.nt-categorynav__item.is-active {
    background: var(--nt-surface-2);
    border-bottom-color: var(--nt-primary);
    color: var(--nt-accent);
}

/* ---------------- Side nav ---------------- */
.nt-sidenav {
    position: fixed;
    inset: 0 auto 0 0;
    width: 272px;
    max-width: 84vw;
    background: var(--nt-surface);
    border-right: 1px solid var(--nt-line);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    z-index: 1080;
    overflow-y: auto;
    padding: 14px 0 30px;
}
.nt-sidenav.is-open { transform: translateX(0); }
.nt-sidenav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(23, 19, 16, 0.72);
    z-index: 1070;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.nt-sidenav__backdrop.is-open { opacity: 1; pointer-events: auto; }
.nt-sidenav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px 14px;
    border-bottom: 1px solid var(--nt-line);
    margin-bottom: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--nt-text);
}
.nt-sidenav__brand img {
    flex: 0 0 112px;
    width: 112px;
    height: auto;
}
.nt-sidenav__member {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-left: auto;
    font-size: 13px;
}
.nt-sidenav__member > .nt-ico {
    display: grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid var(--nt-primary);
    border-radius: 50%;
    color: var(--nt-accent);
    background: var(--nt-surface-2);
}
.nt-sidenav__member-name {
    min-width: 0;
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.nt-sidenav__label {
    padding: 12px 18px 4px;
    color: var(--nt-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.nt-sidenav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    color: var(--nt-text);
    font-weight: 600;
    border-left: 3px solid transparent;
}
.nt-sidenav__item:hover,
.nt-sidenav__item.is-active {
    background: var(--nt-surface-2);
    border-left-color: var(--nt-primary);
    color: var(--nt-accent);
}
.nt-sidenav__item .nt-ico { font-size: 18px; color: var(--nt-accent); }
.nt-sidenav__badge {
    margin-left: auto;
    background: var(--nt-accent);
    color: var(--nt-ink);
    font-size: 10px;
    font-weight: 800;
    border-radius: 6px;
    padding: 1px 6px;
}

/* ---------------- Buttons ---------------- */
.nt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 10px 18px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: filter 0.15s ease;
    text-decoration: none;
}
.nt-btn:hover { filter: brightness(1.08); color: inherit; }
.nt-btn--primary { background: var(--nt-primary); color: var(--nt-ink); }
.nt-btn--accent { background: var(--nt-accent); color: var(--nt-ink); }
.nt-btn--ghost {
    background: var(--nt-surface);
    color: var(--nt-text);
    border-color: var(--nt-line);
}
.nt-btn--block { width: 100%; }
.nt-btn--lg { padding: 13px 22px; font-size: 16px; }

/* ---------------- Login/Daftar bar (guest) ---------------- */
.nt-authbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 0 2px;
}

/* ---------------- Marquee pengumuman ---------------- */
.nt-marquee {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
    padding: 9px 12px;
    margin: 12px 0;
    overflow: hidden;
}
.nt-marquee__icon { color: var(--nt-accent); font-size: 18px; flex-shrink: 0; }
.nt-marquee__viewport { overflow: hidden; flex: 1; }
.nt-marquee__track {
    display: inline-block;
    white-space: nowrap;
    color: var(--nt-muted);
    animation: nt-marquee 22s linear infinite;
    padding-left: 100%;
}
@keyframes nt-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ---------------- Banner slider ---------------- */
.nt-banner-slider { border-radius: var(--nt-radius); overflow: hidden; box-shadow: var(--nt-shadow); }
.nt-banner-slider .swiper-slide img { width: 100%; display: block; aspect-ratio: 21/8; object-fit: cover; }
.nt-banner-slider .swiper-pagination-bullet { background: var(--nt-text); opacity: 0.5; }
.nt-banner-slider .swiper-pagination-bullet-active { background: var(--nt-accent); opacity: 1; }

/* ---------------- Shortcut tiles ---------------- */
.nt-shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
    margin: 14px 0;
}
.nt-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
    padding: 12px 6px;
    color: var(--nt-text);
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    position: relative;
}
.nt-shortcut:hover { background: var(--nt-surface-2); color: var(--nt-accent); }
.nt-shortcut .nt-ico { font-size: 26px; color: var(--nt-accent); }
.nt-shortcut__tag {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--nt-accent);
    color: var(--nt-ink);
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 6px;
}
.nt-shortcut__tag--static { position: static; }

/* ---------------- Jackpot ---------------- */
.nt-jackpot {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, var(--nt-surface), var(--nt-surface-2));
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
    padding: 12px 16px;
    margin: 6px 0 14px;
}
.nt-jackpot__coin {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--nt-accent);
    color: var(--nt-ink);
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}
.nt-jackpot__label { color: var(--nt-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.nt-jackpot__value { color: var(--nt-accent); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }

/* ---------------- Section title ---------------- */
.nt-section { margin: 18px 0; }
.nt-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: var(--nt-text);
    margin: 0 0 10px;
}
.nt-section__title::before {
    content: "";
    width: 5px;
    height: 20px;
    border-radius: 3px;
    background: var(--nt-primary);
}
.nt-section__more { margin-left: auto; font-size: 13px; font-weight: 700; }
/* ---------------- Game grid ---------------- */
.nt-games {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 10px;
}
.nt-games--catalog { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.nt-gamecard {
    position: relative;
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
    overflow: hidden;
    color: var(--nt-text);
    text-align: center;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.nt-gamecard:hover { transform: translateY(-3px); border-color: var(--nt-primary); color: var(--nt-text); }
.nt-gamecard-form { margin: 0; min-width: 0; }
.nt-gamecard--button { display: block; width: 100%; padding: 0; font: inherit; cursor: pointer; }
.nt-gamecard--maintenance { cursor: not-allowed; }
.nt-gamecard--maintenance:hover { transform: none; border-color: var(--nt-line); }
.nt-gamecard--maintenance .nt-gamecard__thumb img { transition: filter 0.15s ease; }
.nt-gamecard--maintenance:is(:hover, :focus, :active) .nt-gamecard__thumb img { filter: brightness(0.42); }
.nt-gamecard__thumb {
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 15px;
    color: var(--nt-ink);
    background: linear-gradient(140deg, var(--nt-accent), var(--nt-primary));
    padding: 8px;
    word-break: break-word;
}
.nt-gamecard__thumb--image { padding: 0; }
.nt-gamecard__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nt-gamecard__name {
    padding: 7px 6px;
    font-size: 12px;
    font-weight: 700;
    background: var(--nt-surface-2);
    color: var(--nt-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nt-gamecard__flag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--nt-accent);
    color: var(--nt-ink);
    font-size: 9px;
    font-weight: 800;
    border-radius: 6px;
    padding: 1px 6px;
    z-index: 2;
}
.nt-gamecard__flag--new { background: var(--nt-success); color: var(--nt-ink); }
.nt-gamecard__action {
    position: absolute;
    top: 44%;
    left: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 7px;
    background: rgba(23, 19, 16, 0.86);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
.nt-gamecard:is(:hover, :focus, :active) .nt-gamecard__action { opacity: 1; }
.nt-gamecard__action--maintenance { padding-inline: 8px; border-color: var(--nt-accent); color: var(--nt-accent); font-size: 10px; }

/* ---------------- Pencarian dan filter katalog ---------------- */
.nt-game-search {
    display: flex;
    gap: 8px;
    margin: 14px 0;
}
.nt-game-search .nt-input { flex: 1; min-width: 0; }
.nt-game-search .nt-btn { flex-shrink: 0; }
.nt-provider-filter {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin: 14px 0 20px;
}
.nt-provider-filter__item {
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 6px 10px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-primary);
    border-radius: 6px;
    color: var(--nt-text);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}
.nt-provider-filter__item:hover,
.nt-provider-filter__item.is-active {
    background: var(--nt-primary);
    color: var(--nt-ink);
}
.nt-provider-filter__item img {
    width: auto;
    max-height: 30px;
    object-fit: contain;
}
.nt-provider-filter__item:focus-visible,
.nt-gamecard:focus-visible {
    outline: 2px solid var(--nt-accent);
    outline-offset: 2px;
}

/* ---------------- Banner promo ---------------- */
.nt-promo-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}
.nt-promo-panel {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--nt-primary);
    border-radius: var(--nt-radius);
    background: linear-gradient(135deg, var(--nt-surface-2), var(--nt-primary-dark));
    box-shadow: var(--nt-shadow);
}
.nt-promo-panel--qris { background: linear-gradient(135deg, var(--nt-surface), var(--nt-surface-2)); }
.nt-promo-panel__eyebrow {
    color: var(--nt-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}
.nt-promo-panel h2 { margin: 5px 0; font-size: 24px; line-height: 1.2; }
.nt-promo-panel p { max-width: 520px; margin: 0 0 14px; color: var(--nt-muted); }

.nt-bonus-list { display: grid; gap: 12px; }
.nt-bonus-banner {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid var(--nt-primary);
    border-radius: var(--nt-radius);
    background: var(--nt-surface);
    box-shadow: var(--nt-shadow);
}
.nt-bonus-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nt-bonus-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 7, 6, 0.98) 0%, rgba(8, 7, 6, 0.85) 34%, rgba(8, 7, 6, 0.08) 72%);
}
.nt-bonus-banner--reverse::after { background: linear-gradient(270deg, rgba(8, 7, 6, 0.98) 0%, rgba(8, 7, 6, 0.85) 34%, rgba(8, 7, 6, 0.08) 72%); }
.nt-bonus-banner__content { position: relative; z-index: 1; width: 54%; padding: 34px; }
.nt-bonus-banner--reverse .nt-bonus-banner__content { margin-left: auto; }
.nt-bonus-banner__eyebrow { color: var(--nt-accent); font-size: 11px; font-weight: 900; letter-spacing: 1.2px; }
.nt-bonus-banner h2 { margin: 5px 0 8px; color: #ffffff; font-size: clamp(24px, 3.3vw, 40px); line-height: 1.05; }
.nt-bonus-banner p { margin: 0 0 16px; color: #f3ede7; }
.nt-bonus-detail { margin: 7px 4px 20px; color: var(--nt-muted); }

.nt-home-copy {
    margin: 20px 0;
    padding: 18px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
}
.nt-home-copy h2 { margin: 0 0 8px; color: var(--nt-accent); font-size: 20px; }
.nt-home-copy p { margin: 7px 0; color: var(--nt-muted); }

.nt-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--nt-muted);
    font-size: 13px;
}
.nt-pagination__link {
    padding: 7px 10px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-radius: 7px;
    color: var(--nt-accent);
}
.nt-pagination__link.is-disabled { color: var(--nt-muted); opacity: 0.55; }

/* ---------------- Ticker transaksi ---------------- */
.nt-tickers { display: grid; gap: 10px; }
@media (min-width: 720px) { .nt-tickers { grid-template-columns: 1fr 1fr; } }
.nt-ticker {
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
    padding: 12px;
}
.nt-ticker__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--nt-accent);
    margin-bottom: 8px;
    font-size: 14px;
}
.nt-ticker__row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-top: 1px dashed var(--nt-line);
    color: var(--nt-muted);
    font-size: 13px;
}
.nt-ticker__row:first-of-type { border-top: 0; }
.nt-ticker__row b { color: var(--nt-text); font-weight: 700; }
.nt-ticker__row .nt-plus { color: var(--nt-success); font-weight: 800; margin-left: auto; }

/* ---------------- Info boxes ---------------- */
.nt-infoboxes { display: grid; gap: 10px; }
@media (min-width: 720px) { .nt-infoboxes { grid-template-columns: repeat(3, 1fr); } }
.nt-infobox {
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
    padding: 14px;
}
.nt-infobox h3 { margin: 0 0 8px; font-size: 15px; color: var(--nt-accent); font-weight: 800; }
.nt-infobox p { margin: 0 0 6px; color: var(--nt-muted); font-size: 13.5px; }
.nt-infobox p b { color: var(--nt-text); }

/* ---------------- Togel ---------------- */
.nt-togel-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0 14px;
    padding: 22px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-left: 5px solid var(--nt-primary);
    border-radius: var(--nt-radius);
}
.nt-togel-hero--compact { align-items: center; padding: 18px 20px; }
.nt-togel-hero__eyebrow,
.nt-togel-back { display: inline-flex; align-items: center; gap: 7px; color: var(--nt-accent); font-size: 12px; font-weight: 800; }
.nt-togel-hero h1 { margin: 4px 0 2px; font-size: 28px; line-height: 1.15; font-weight: 900; }
.nt-togel-hero p { margin: 0; color: var(--nt-muted); font-size: 14px; }
.nt-togel-guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.nt-togel-guide > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--nt-surface-2);
    border: 1px solid var(--nt-line);
    border-radius: 10px;
}
.nt-togel-guide > div > b {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--nt-accent);
    color: var(--nt-ink);
}
.nt-togel-guide span { display: flex; min-width: 0; flex-direction: column; }
.nt-togel-guide strong { font-size: 13px; }
.nt-togel-guide small { color: var(--nt-muted); font-size: 11px; }
.nt-togel-markets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nt-togel-market {
    min-width: 0;
    padding: 16px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
    box-shadow: var(--nt-shadow);
}
.nt-togel-market__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nt-togel-market__head h2 { margin: 3px 0 0; color: var(--nt-text); font-size: 20px; font-weight: 900; }
.nt-togel-market__source { color: var(--nt-muted); font-size: 10px; font-weight: 800; letter-spacing: .6px; }
.nt-togel-market__source.is-auto { color: var(--nt-success); }
.nt-togel-status {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 7px;
    color: var(--nt-text);
    background: var(--nt-danger);
    font-size: 11px;
    font-weight: 900;
}
.nt-togel-status.is-open { color: var(--nt-ink); background: var(--nt-success); }
.nt-togel-schedule {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 7px;
    margin: 13px 0;
}
.nt-togel-schedule > span,
.nt-togel-summary > span,
.nt-togel-bet-history__meta > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 8px;
    background: var(--nt-surface-2);
    border-radius: 8px;
}
.nt-togel-schedule small,
.nt-togel-summary small,
.nt-togel-bet-history__meta small { color: var(--nt-muted); font-size: 9px; font-weight: 800; letter-spacing: .5px; }
.nt-togel-schedule b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.nt-togel-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding: 9px 11px;
    background: var(--nt-primary);
    color: var(--nt-ink);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}
.nt-togel-countdown--wide { margin: 0 0 14px; }
.nt-togel-result { overflow: hidden; background: var(--nt-bg); border: 1px solid var(--nt-line); border-radius: 10px; }
.nt-togel-result__title { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; color: var(--nt-muted); font-size: 10px; font-weight: 800; }
.nt-togel-result__title small { color: var(--nt-success); }
.nt-togel-prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--nt-line); }
.nt-togel-prizes span { display: flex; flex-direction: column; align-items: center; padding: 9px 4px; background: var(--nt-surface-2); }
.nt-togel-prizes small { color: var(--nt-muted); font-size: 9px; font-weight: 800; }
.nt-togel-prizes b { color: var(--nt-accent); font-size: 21px; letter-spacing: 2px; }
.nt-togel-extra { padding: 8px 10px; color: var(--nt-muted); font-size: 11px; }
.nt-togel-extra summary { color: var(--nt-accent); cursor: pointer; font-weight: 800; }
.nt-togel-extra p { margin: 7px 0 0; overflow-wrap: anywhere; }
.nt-togel-extra p b { color: var(--nt-text); }
.nt-togel-noresult { padding: 22px 12px; border: 1px dashed var(--nt-line); border-radius: 10px; color: var(--nt-muted); text-align: center; font-size: 12px; }
.nt-togel-payouts { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.nt-togel-payouts span { padding: 4px 7px; background: var(--nt-surface-2); border: 1px solid var(--nt-line); border-radius: 6px; color: var(--nt-muted); font-size: 10px; }
.nt-togel-payouts b { color: var(--nt-text); }
.nt-togel-market__actions { display: flex; align-items: flex-start; gap: 9px; }
.nt-togel-market__actions > .nt-btn { flex: 1; text-align: center; }
.nt-togel-history-mini { position: relative; flex: 1; }
.nt-togel-history-mini summary { padding: 9px 10px; border: 1px solid var(--nt-line); border-radius: 8px; color: var(--nt-accent); cursor: pointer; font-size: 11px; font-weight: 800; text-align: center; }
.nt-togel-history-mini[open] { display: grid; gap: 4px; }
.nt-togel-history-mini > span { display: flex; justify-content: space-between; padding: 5px 8px; border-bottom: 1px solid var(--nt-line); color: var(--nt-muted); font-size: 11px; }
.nt-togel-history-mini b { color: var(--nt-text); letter-spacing: 1px; }
.nt-togel-rules,
.nt-togel-payout-panel,
.nt-togel-slip,
.nt-togel-login { margin-top: 16px; padding: 16px; background: var(--nt-surface); border: 1px solid var(--nt-line); border-radius: var(--nt-radius); }
.nt-togel-rules h2 { margin: 0 0 10px; color: var(--nt-accent); font-size: 15px; }
.nt-togel-rules > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.nt-togel-rules p { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 10px; background: var(--nt-surface-2); border-radius: 8px; }
.nt-togel-rules p b { color: var(--nt-text); font-size: 12px; }
.nt-togel-rules p span { color: var(--nt-muted); font-size: 11px; }
.nt-togel-login { text-align: center; }
.nt-togel-login p { margin: 0 0 12px; color: var(--nt-muted); }
.nt-togel-login .nt-btn { margin: 0 3px; }
.nt-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.nt-section-title > span { color: var(--nt-accent); font-size: 14px; font-weight: 900; }
.nt-section-title small,
.nt-section-title a { color: var(--nt-muted); font-size: 11px; }
.nt-togel-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nt-togel-tier-grid article { display: flex; min-width: 0; flex-direction: column; padding: 10px; background: var(--nt-surface-2); border: 1px solid var(--nt-line); border-radius: 9px; }
.nt-togel-tier-grid strong { color: var(--nt-text); font-size: 12px; }
.nt-togel-tier-grid span { color: var(--nt-accent); font-size: 13px; font-weight: 800; }
.nt-togel-tier-grid small { color: var(--nt-muted); font-size: 10px; }
.nt-togel-slip { border-color: var(--nt-primary); }
.nt-togel-slip__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.nt-togel-slip__head > div { display: flex; flex-direction: column; }
.nt-togel-slip__head span { color: var(--nt-accent); font-weight: 900; }
.nt-togel-slip__head small { color: var(--nt-muted); font-size: 11px; }
.nt-togel-balance { align-items: flex-end; }
.nt-togel-balance b { color: var(--nt-text); }
.nt-togel-bet-row {
    display: grid;
    grid-template-columns: 1.1fr .8fr .8fr;
    gap: 9px;
    margin-bottom: 9px;
    padding: 11px;
    background: var(--nt-bg);
    border: 1px solid var(--nt-line);
    border-radius: 10px;
}
.nt-togel-bet-row .nt-field { margin: 0; }
.nt-togel-bet-row label { font-size: 10px; }
.nt-togel-number-field > div { display: flex; }
.nt-togel-number-field .nt-input { border-radius: 8px 0 0 8px; text-align: center; font-size: 17px; font-weight: 900; letter-spacing: 3px; }
.nt-togel-random { border: 1px solid var(--nt-line); border-left: 0; border-radius: 0 8px 8px 0; background: var(--nt-surface-2); color: var(--nt-accent); font-size: 10px; font-weight: 800; }
.nt-togel-row-result { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 10px; padding-top: 7px; border-top: 1px dashed var(--nt-line); color: var(--nt-muted); font-size: 11px; }
.nt-togel-remove { padding: 4px 7px; border: 0; background: none; color: var(--nt-danger); font-size: 10px; font-weight: 800; }
.nt-togel-slip__tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; }
.nt-togel-presets { display: flex; gap: 5px; }
.nt-togel-presets button { min-width: 38px; padding: 7px; border: 1px solid var(--nt-line); border-radius: 7px; background: var(--nt-surface-2); color: var(--nt-accent); font-size: 11px; font-weight: 800; }
.nt-togel-summary { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 8px; margin: 12px 0; }
.nt-togel-summary b { color: var(--nt-accent); font-size: 14px; }
.nt-togel-open-bets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nt-togel-open-bets article { display: flex; flex-direction: column; padding: 11px; background: var(--nt-surface); border: 1px solid var(--nt-line); border-radius: 9px; }
.nt-togel-open-bets article > b { color: var(--nt-accent); font-size: 19px; letter-spacing: 2px; }
.nt-togel-open-bets span { font-size: 11px; font-weight: 800; }
.nt-togel-open-bets small { color: var(--nt-muted); font-size: 10px; }
.nt-togel-result-list { display: grid; gap: 6px; }
.nt-togel-result-list article { display: grid; grid-template-columns: 1fr repeat(3, .7fr); align-items: center; gap: 6px; padding: 8px 10px; background: var(--nt-surface); border: 1px solid var(--nt-line); border-radius: 8px; }
.nt-togel-result-list article > span { color: var(--nt-muted); font-size: 11px; }
.nt-togel-result-list article > div { display: flex; align-items: center; gap: 5px; }
.nt-togel-result-list small { color: var(--nt-muted); font-size: 9px; }
.nt-togel-result-list b { letter-spacing: 1px; }
.nt-togel-filters { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 3px; }
.nt-togel-filters a { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--nt-line); border-radius: 7px; background: var(--nt-surface); color: var(--nt-muted); font-size: 10px; font-weight: 800; }
.nt-togel-filters a.is-active { border-color: var(--nt-primary); background: var(--nt-primary); color: var(--nt-ink); }
.nt-togel-bet-history { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nt-togel-bet-history > article { min-width: 0; padding: 13px; background: var(--nt-surface); border: 1px solid var(--nt-line); border-radius: 10px; }
.nt-togel-bet-history__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.nt-togel-bet-history__head > div { display: flex; flex-direction: column; }
.nt-togel-bet-history__head small { color: var(--nt-muted); font-size: 10px; }
.nt-togel-bet-history__head b { color: var(--nt-accent); font-size: 23px; letter-spacing: 3px; }
.nt-togel-bet-status { padding: 3px 7px; border-radius: 6px; background: var(--nt-surface-2); color: var(--nt-muted); font-size: 9px; font-weight: 900; }
.nt-togel-bet-status.is-open { background: var(--nt-accent); color: var(--nt-ink); }
.nt-togel-bet-status.is-win { background: var(--nt-success); color: var(--nt-ink); }
.nt-togel-bet-status.is-lose { background: var(--nt-danger); color: var(--nt-text); }
.nt-togel-bet-history__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 9px; }
.nt-togel-bet-history__meta b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.nt-togel-win { margin-top: 8px; padding: 7px; border-radius: 7px; background: var(--nt-success); color: var(--nt-ink); font-size: 11px; font-weight: 900; text-align: center; }
.nt-togel-bet-history__time { display: block; margin-top: 8px; color: var(--nt-muted); font-size: 9px; }
.nt-togel-pagination { margin-top: 12px; }

/* ---------------- Footer ---------------- */
.nt-footer {
    background: var(--nt-surface);
    border-top: 1px solid var(--nt-line);
    margin-top: 26px;
    padding: 22px 0 90px;
}
.nt-footer h4 { color: var(--nt-accent); font-size: 14px; font-weight: 800; margin: 0 0 10px; }
.nt-footer p { color: var(--nt-muted); font-size: 13.5px; }
.nt-paymethods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 14px;
}
.nt-paymethod {
    background: var(--nt-surface-2);
    border: 1px solid var(--nt-line);
    color: var(--nt-text);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}
.nt-footer__bottom {
    border-top: 1px solid var(--nt-line);
    margin-top: 16px;
    padding-top: 14px;
    text-align: center;
    color: var(--nt-muted);
    font-size: 12.5px;
}
.nt-footer__links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 10px 0; }
.nt-footer__links a { color: var(--nt-accent); font-size: 13px; font-weight: 700; }

/* ---------------- Bottom nav (mobile) ---------------- */
.nt-bottomnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: var(--nt-surface);
    border-top: 1px solid var(--nt-line);
    display: none;
    grid-template-columns: repeat(4, 1fr);
}
.nt-bottomnav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 4px 8px;
    color: var(--nt-muted);
    font-size: 11px;
    font-weight: 700;
    border: 0;
    background: none;
    cursor: pointer;
}
.nt-bottomnav__item .nt-ico { font-size: 20px; color: var(--nt-accent); }
.nt-bottomnav__item:hover { color: var(--nt-text); }

/* ---------------- Floating chat ---------------- */
.nt-fab-chat {
    position: fixed;
    right: 14px;
    bottom: 88px;
    z-index: 1050;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--nt-primary);
    color: var(--nt-ink);
    display: grid;
    place-items: center;
    font-size: 24px;
    box-shadow: var(--nt-shadow);
}
.nt-fab-chat:hover { color: var(--nt-ink); filter: brightness(1.08); }

/* ---------------- Forms ---------------- */
.nt-form { max-width: 460px; margin: 0 auto; }
.nt-field { margin-bottom: 14px; }
.nt-field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--nt-text); }
.nt-input {
    width: 100%;
    background: var(--nt-surface-2);
    border: 1px solid var(--nt-line);
    border-radius: 10px;
    color: var(--nt-text);
    padding: 11px 14px;
    font-size: 15px;
}
.nt-input:focus { outline: 2px solid var(--nt-primary); outline-offset: -1px; }
.nt-input::placeholder { color: var(--nt-muted); }
.nt-hint { color: var(--nt-muted); font-size: 12.5px; margin-top: 4px; }
.nt-error {
    background: var(--nt-danger);
    color: var(--nt-text);
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 14px;
}
.nt-flash {
    background: var(--nt-success);
    color: var(--nt-ink);
    font-weight: 800;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 14px;
}

/* ---------------- Misc ---------------- */
.nt-pagehead { padding: 18px 0 4px; }
.nt-pagehead h1 { font-size: 22px; font-weight: 800; margin: 0 0 4px; color: var(--nt-text); }
.nt-pagehead p { color: var(--nt-muted); margin: 0; font-size: 14px; }
.nt-empty {
    text-align: center;
    color: var(--nt-muted);
    padding: 30px 10px;
    background: var(--nt-surface);
    border: 1px dashed var(--nt-line);
    border-radius: var(--nt-radius);
}
.nt-soon {
    display: inline-block;
    background: var(--nt-accent);
    color: var(--nt-ink);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    margin-top: 8px;
}

@media (max-width: 767px) {
    body.nt-body { padding-bottom: 74px; }
    .nt-topbar__inner { gap: 8px; }
    .nt-logo img { height: 30px; }
    .nt-topbar__auth { gap: 5px; }
    .nt-topbar__auth .nt-btn { padding: 6px 8px; font-size: 11px; }
    .nt-bottomnav { display: grid; }
    .nt-games--catalog,
    .nt-provider-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nt-promo-panels { grid-template-columns: 1fr; }
    .nt-promo-panel { min-height: 0; padding: 18px; }
    .nt-promo-panel h2 { font-size: 20px; }
    .nt-bonus-banner { min-height: 205px; }
    .nt-bonus-banner__content { width: 72%; padding: 20px; }
    .nt-bonus-banner h2 { font-size: 23px; }
    .nt-bonus-banner p { font-size: 12px; margin-bottom: 12px; }
    .nt-bonus-banner .nt-btn { padding: 8px 11px; font-size: 11px; }
    .nt-pagination { gap: 6px; }
    .nt-pagination__link { padding: 6px; }
    .nt-togel-hero { align-items: flex-start; margin-top: 12px; padding: 15px; }
    .nt-togel-hero h1 { font-size: 23px; }
    .nt-togel-hero p { font-size: 12px; }
    .nt-togel-hero > .nt-btn { padding: 7px 9px; font-size: 10px; }
    .nt-togel-guide { grid-template-columns: 1fr; gap: 6px; }
    .nt-togel-guide > div { padding: 8px 10px; }
    .nt-togel-guide > div > b { flex-basis: 28px; width: 28px; height: 28px; }
    .nt-togel-markets { grid-template-columns: 1fr; }
    .nt-togel-schedule { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nt-togel-prizes b { font-size: 18px; }
    .nt-togel-rules > div { grid-template-columns: 1fr; }
    .nt-togel-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nt-togel-bet-row { grid-template-columns: 1fr 1fr; }
    .nt-togel-bet-row > .nt-field:first-child { grid-column: 1 / -1; }
    .nt-togel-slip__tools { align-items: stretch; flex-direction: column; }
    .nt-togel-slip__tools > .nt-btn { width: 100%; }
    .nt-togel-presets { display: grid; grid-template-columns: repeat(4, 1fr); }
    .nt-togel-summary { grid-template-columns: 1fr 1fr; }
    .nt-togel-summary > span:first-child { grid-column: 1 / -1; }
    .nt-togel-open-bets { grid-template-columns: 1fr 1fr; }
    .nt-togel-bet-history { grid-template-columns: 1fr; }
    .nt-togel-bet-history__meta { grid-template-columns: 1fr 1fr; }
    .nt-togel-result-list article { grid-template-columns: 1fr repeat(3, .8fr); }
}
