/* The Collector App - desktop & tablet shell (>= 768px).
   Loaded only when body.tcx is set (see _desktop_shell.php) and only for
   viewports of 768px and up, so the phone / app layout is never touched.
   Everything is driven by the existing theme variables. */

/* ============================================================
   1. Page frame
   ============================================================ */
body.tcx {
    --tcx-max: 1240px;
    --tcx-gut: 32px;
    --tcx-pad: max(var(--tcx-gut), calc((100vw - var(--tcx-max)) / 2));
    --tcx-head-h: 68px;
    --tcx-stick: var(--tcx-head-h);
    --tcx-on-brand: #fff;
    --maxw: 100%;
    --sidenav-w: 0px;
    --nav-h: 0px;
    --tca-topnav-h: 0px;
    max-width: none;
    margin: 0;
    padding: var(--tcx-head-h) var(--tcx-pad) 0;
    min-height: 100vh;
}
/* Text that sits on the brand gradient: dark on the light-gradient themes. */
body.tcx:is([data-nu-theme="monster_green"], [data-nu-theme="tonies_red"], [data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) { --tcx-on-brand: #1f1a12; }
/* Prime Black ships a near-black brand colour (#0d0d0f) on a black ground, which
   makes every accent link, kicker and percentage invisible. Use its silver end. */
body.tcx[data-nu-theme="prime_black"] {
    --brand-1: #c4c7d1;
    --grad: linear-gradient(110deg, #9a9da8 0%, #b8bbc6 55%, #dfe1e8 100%);
    --tcx-on-brand: #0d0d0f;
    --on-brand: #0d0d0f;
}
@media (max-width: 1023px) { body.tcx { --tcx-gut: 24px; } }
@media (min-width: 1680px) { body.tcx { --tcx-max: 1360px; } }

/* ============================================================
   2. Header
   ============================================================ */
body.tcx .tcx-header {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--tcx-head-h);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    backdrop-filter: saturate(150%) blur(18px);
    border-bottom: 1px solid var(--stroke);
    font-family: "Outfit", "Segoe UI", sans-serif;
}
body.tcx .tcx-header-in {
    height: 100%;
    padding: 0 var(--tcx-pad);
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Brand lock-up */
.tcx-brand {
    display: grid;
    justify-items: center;
    gap: 2px;
    flex: 0 0 auto;
    color: #f3f7ff;
    white-space: nowrap;
    line-height: 1;
}
.tcx-brand-mark {
    display: block;
    width: auto;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgb(61 153 244 / 25%));
}
.tcx-brand-name {
    color: #dceeff;
    font: 800 9.5px/1 "Outfit", "Segoe UI", sans-serif;
    letter-spacing: .06em;
}
.tcx-brand-name strong { color: #73cce9; }

/* Navigation */
.tcx-nav { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.tcx-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    font: 600 15px/1 "Outfit", "Segoe UI", sans-serif;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.tcx-nav-link::-webkit-details-marker { display: none; }
.tcx-nav-link:hover,
.tcx-drop[open] > .tcx-nav-link { color: var(--text); background: var(--surface); }
.tcx-nav-link.is-active { color: var(--text); background: var(--grad-soft); border-color: var(--stroke-brand); }
.tcx-nav-link svg,
.tcx-account svg { width: 14px; height: 14px; flex: 0 0 auto; opacity: .7; transition: transform .15s ease; }
.tcx-drop[open] > summary svg { transform: rotate(180deg); }
.tcx-nav-link:focus-visible,
.tcx-btn:focus-visible,
.tcx-zach:focus-visible,
.tcx-account > summary:focus-visible,
.tcx-brand:focus-visible,
.tcx-drop-panel a:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 2px; }

/* Dropdowns */
.tcx-drop { position: relative; }
.tcx-drop > summary { list-style: none; }
.tcx-drop > summary::-webkit-details-marker { display: none; }
.tcx-drop-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 120;
    display: grid;
    gap: 2px;
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--stroke-strong);
    border-radius: 16px;
    background: var(--bg-2);
    box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .6);
}
.tcx-drop-panel--end { left: auto; right: 0; }
.tcx-drop-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--text);
    font: 600 14px/1.2 "Outfit", "Segoe UI", sans-serif;
}
.tcx-drop-panel a:hover { background: var(--surface-2); }
.tcx-drop-sep { display: block; height: 1px; margin: 6px 4px; background: var(--stroke); }
.tcx-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--grad);
    color: var(--tcx-on-brand);
    font: 800 11px/20px "Outfit", sans-serif;
    text-align: center;
}

/* Search */
.tcx-search { position: relative; flex: 1 1 200px; min-width: 150px; max-width: 340px; margin-left: auto; }
.tcx-search svg {
    position: absolute;
    left: 14px; top: 50%;
    width: 18px; height: 18px;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.tcx-search input {
    width: 100%;
    height: 42px;
    padding: 0 16px 0 42px;
    border: 1px solid var(--stroke-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font: 500 15px/1 "Source Sans 3", "Segoe UI", sans-serif;
    -webkit-appearance: none;
    appearance: none;
    outline: 0;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.tcx-search input::placeholder { color: var(--faint); text-overflow: ellipsis; }
.tcx-search input:focus {
    border-color: var(--stroke-brand-strong);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-1) 24%, transparent);
}
.tcx-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Actions */
.tcx-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tcx-zach {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px 0 13px;
    border: 1px solid var(--stroke-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: 600 14px/1 "Outfit", "Segoe UI", sans-serif;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease;
}
.tcx-zach svg { width: 18px; height: 18px; color: var(--brand-2); }
.tcx-zach:hover { background: var(--surface-2); border-color: var(--stroke-brand); }
.tcx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 700 14px/1 "Outfit", "Segoe UI", sans-serif;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.tcx-btn--ghost { border-color: var(--stroke-strong); color: var(--text); }
.tcx-btn--ghost:hover { background: var(--surface-2); }
.tcx-btn--primary { background: var(--grad); color: var(--tcx-on-brand); box-shadow: 0 10px 22px -12px var(--shadow-brand-xl); }
.tcx-btn--primary:hover { transform: translateY(-1px); }
.tcx-icons { display: flex; align-items: center; gap: 6px; }
.tcx-icons .nu-iconbtn { width: 40px; height: 40px; border-radius: 50%; }
.tcx-account > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 12px 0 5px;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.tcx-account > summary:hover,
.tcx-account[open] > summary { background: var(--surface-2); border-color: var(--stroke-strong); }
.tcx-avatar {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--grad);
    color: var(--tcx-on-brand);
    font: 800 15px/1 "Outfit", sans-serif;
}
.tcx-account-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 600 14px/1 "Outfit", "Segoe UI", sans-serif;
}

/* Header at narrower widths: the Ask Zach pill collapses to an icon, then the
   search field gives way to the Browse page, then the nav tightens up. */
@media (max-width: 1679px) {
    .tcx-account-name { display: none; }
    .tcx-account > summary { padding: 0 10px 0 5px; gap: 6px; }
}
@media (max-width: 1359px) {
    .tcx-zach { width: 40px; padding: 0; justify-content: center; }
    .tcx-zach span { display: none; }
    body.tcx .tcx-header-in { gap: 18px; }
}
@media (max-width: 1199px) {
    .tcx-search { display: none; }
    .tcx-nav { margin-right: auto; }
}
@media (max-width: 1023px) {
    body.tcx .tcx-header-in { gap: 14px; }
    .tcx-nav-link { padding: 0 12px; font-size: 14.5px; }
    .tcx-nav-link[href="/watchlist"] { display: none; }
    .tcx-brand-mark { height: 34px; }
    .tcx-btn { padding: 0 16px; }
    .tcx-actions { gap: 8px; }
}

/* ============================================================
   3. Footer
   ============================================================ */
body.tcx .tcx-footer {
    display: block;
    margin: 72px calc(-1 * var(--tcx-pad)) 0;
    border-top: 1px solid var(--stroke);
    background: color-mix(in srgb, var(--bg-2) 72%, transparent);
    color: var(--muted);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
.tcx-footer-in {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 52px var(--tcx-pad) 40px;
}
.tcx-footer-brand p { max-width: 320px; margin: 16px 0 0; font-size: 15px; line-height: 1.55; }
.tcx-brand--footer { justify-items: start; }
.tcx-footer-col { display: grid; align-content: start; gap: 4px; }
.tcx-footer-col h2 {
    margin: 0 0 10px;
    color: var(--text);
    font: 700 13px/1 "Outfit", "Segoe UI", sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.tcx-footer-col a,
.tcx-footer-link {
    display: block;
    width: fit-content;
    padding: 5px 0;
    border: 0;
    background: none;
    color: var(--muted);
    font: 500 15px/1.3 "Source Sans 3", "Segoe UI", sans-serif;
    text-align: left;
    cursor: pointer;
}
.tcx-footer-col a:hover,
.tcx-footer-link:hover { color: var(--text); }
.tcx-footer-bar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px var(--tcx-pad) 26px;
    border-top: 1px solid var(--stroke);
    font-size: 13.5px;
}

@media (max-width: 1023px) {
    .tcx-footer-in { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 28px; padding-top: 44px; }
    .tcx-footer-brand { grid-column: 1 / -1; }
    .tcx-footer-brand p { max-width: 460px; }
}

/* Light themes: the logo artwork is white-edged, so the header and footer stay
   as dark brand bands (like the app's top bar) and only the page goes light. */
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) :is(.tcx-header, .tcx-footer) {
    --bg: #0c1d3e;
    --bg-2: #13284f;
    --text: #eef3fc;
    --muted: #b3c3e0;
    --faint: #8a9cc0;
    --surface: rgb(255 255 255 / 7%);
    --surface-2: rgb(255 255 255 / 12%);
    --stroke: rgb(255 255 255 / 13%);
    --stroke-strong: rgb(255 255 255 / 22%);
}
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .tcx-header { background: var(--bg); }
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .tcx-footer { background: var(--bg); border-top-color: transparent; }
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .tcx-header .nu-iconbtn {
    background: var(--surface);
    border-color: var(--stroke);
    color: var(--text);
}

/* Light themes: a few cards in the shared phone stylesheet are hard-coded navy,
   which leaves the theme's dark text unreadable. Use the theme's own surface,
   and swap the pale rarity colours for readable ones. */
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) :is(.nu-feed-card, .nu-browse-card) { background: var(--surface-2); border-color: var(--stroke); }
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .nf-product { background: var(--surface); border-color: var(--stroke); }
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .nu-chip.r-common:not(.t-ov-rarity):not(.m-badge) { color: #66708f; border-color: rgb(102 112 143 / 45%); }
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .nu-chip.r-rare:not(.t-ov-rarity):not(.m-badge) { color: #1d5fd6; }
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .nu-chip.r-epic:not(.t-ov-rarity):not(.m-badge) { color: #7a3fe0; }
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .nu-chip.r-legendary:not(.t-ov-rarity):not(.m-badge) { color: #a85b08; }
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .nf-ava-fb { color: var(--text); }
body.tcx:is([data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) .nf-pill { color: #8a5a00; background: rgb(245 185 66 / 22%); }

/* Brand-gradient controls: dark lettering wherever the gradient is light. */
body.tcx:is([data-nu-theme="monster_green"], [data-nu-theme="tonies_red"], [data-nu-theme="sonny_angel_pink"], [data-nu-theme="au_vodka_gold"]) :is(
    .nu-btn:not(.secondary):not(.ghost):not(.danger), .nu-filter.is-active, .nu-filter-chip.is-active,
    .nu-feed-product-tab.is-active, .nu-item-v-chip.is-active,
    .nu-pref-card .pc-seg-btn.is-active, .nu-browse-shortcuts a.is-active, .nu-coll-filter-count,
    .nu-avatar-fallback, .nu-profile-head .ph-avatar-fb, .nu-activity .a-ava, .sf-avatar-fb,
    .nu-result .res-add, .nu-tile .t-check.owned, .nu-level-current .ln-chip, .nu-watch-card .wc-match-badge,
    .nu-thread-row .tr-unread, .nu-chat-compose button, .nf-comment-form button, .nu-mission-next .mn-icon
) { color: var(--tcx-on-brand); }

/* ============================================================
   4. Legacy phone chrome that has no place on desktop / tablet
   ============================================================ */
/* Bottom tab bar / side rail: only the + button survives, pinned to the
   bottom centre of the window. */
body.tcx .nu-bottomnav { display: contents; }
body.tcx .nu-navitem { display: none; }
body.tcx .nu-fab,
body.tcx .nu-fab:hover,
body.tcx .nu-fab:active {
    position: fixed;
    left: 50%;
    bottom: 28px;
    margin: 0;
    width: 64px;
    height: 64px;
    z-index: 55;
    color: var(--tcx-on-brand);
    box-shadow: 0 0 0 5px var(--bg), 0 14px 32px -8px var(--shadow-brand-xl);
}
body.tcx .nu-fab { transform: translateX(-50%); }
body.tcx .nu-fab:hover { transform: translateX(-50%) scale(1.05); }
body.tcx .nu-fab:active { transform: translateX(-50%) scale(.96); }
/* Toasts sit above the + button instead of behind it. */
body.tcx .nu-toast { bottom: 108px; }

/* Phone-style headers: the shell header replaces them. */
body.tcx .nu-dashboard-topbar,
body.tcx .nu-auth-top { display: none; }

/* Inner-page title bars become plain page headings. */
body.tcx .nu-topbar {
    position: static;
    min-height: 0;
    padding: 34px 0 10px;
    gap: 14px;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.tcx .nu-topbar-actions { display: none; }
body.tcx .nu-topbar-titles h1 { font-size: 34px; letter-spacing: -.02em; }
body.tcx .nu-topbar-titles p { font-size: 15px; }

/* ============================================================
   5. Gutters
   The body padding is the one and only page gutter on desktop, so the
   20px / 28px insets that individual phone components carry are removed.
   (:not(#tcx) lifts specificity above page-level rules.)
   ============================================================ */
body.tcx:not(#tcx) :is(
    .nu-profile-public-link, .nu-profile-private-note, .nu-overview, .nu-new-products-filters,
    .nu-level, a.nu-level-link, .nu-cd-hero, .nu-push-banner, .nu-push-status, .tca-push-flash,
    .nu-item-barcodes, .nu-kv, .nu-profile-stats, .nu-earned-badges, .nu-collector-watch-banner,
    .nu-search-box, .nu-settings-block, .nu-league-hero, .nu-league-controls, .nu-league-you,
    .nu-league-block, .nu-missions-hero, .nu-mission-next, .nu-missions-fuel, .nu-watchlist-banner,
    .nu-flash, .nu-inbox-hint, .nu-inbox-context, .nu-inbox-product, .nu-hub-panel,
    .nu-geek-hero, .nu-geek-spotlight, .nu-page-intro
) {
    margin-left: 0;
    margin-right: 0;
}
body.tcx:not(#tcx) :is(
    .nu-wrap, .nu-greeting, .nu-hscroll, .nu-filters, .nu-coll-toolbar, .nu-grid, .nu-item-hero,
    .nu-item-meta, .nu-profile-head, .nu-collector-actions, .nu-tabs, .nu-scan-outcomes,
    .nu-scan-cam-row, .nu-scan-manual, .nu-scan-tools, .nu-loadmore, .nu-settings-foot,
    .nu-feed-stream, .nu-feed-compose, .nu-watch-grid, .nu-thread-list, .nu-compose-form,
    .nu-chat, .nu-notif-actions, .nu-hub-actions, .nu-faq-list, .nu-faq-foot, .nu-geek-filters,
    .nu-geek-foot, .nu-browse-search, .nu-browse-grid, .nu-mission-list, .nu-browse-shortcuts,
    .nu-dashboard, .nu-collector-home .nu-home
) {
    padding-left: 0;
    padding-right: 0;
}
body.tcx:not(#tcx) .nu-dashboard { max-width: none; margin: 0; padding-top: 28px; padding-bottom: 0; }
/* Phone / tablet pages cap and centre their own content (980 / 1160 / 820px
   columns). The shell container does that job now, so every page fills it. */
body.tcx:not(#tcx) :is(
    .nu-wrap, .nu-browse-grid, .nu-browse-search, .nu-browse-shortcuts, .nu-page-intro,
    .nu-feed-stream, .nu-feed-filters, .nu-feed-intro, .nu-feed-spotlight-wrap, .nu-faq-list
) {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* ============================================================
   6. Home - guest
   ============================================================ */
body.tcx.nu-guest-dashboard .tcx-search { display: none; }
body.tcx.nu-guest-dashboard .tcx-nav { margin-right: auto; }

body.tcx.nu-guest-dashboard .nu-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 32px;
}
body.tcx.nu-guest-dashboard .nu-dashboard > * { margin: 0; min-width: 0; }

/* Welcome card */
body.tcx.nu-guest-dashboard .nu-start {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    max-width: none;
    padding: 40px 36px;
    border: 1px solid var(--stroke-strong);
    border-radius: 24px;
    background: var(--hero-panel);
    box-shadow: var(--shadow);
    text-align: left;
}
body.tcx.nu-guest-dashboard .nu-start::before { display: block; left: 36px; }
body.tcx.nu-guest-dashboard .nu-start-eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
body.tcx.nu-guest-dashboard .nu-start-title {
    max-width: 13ch;
    font-size: clamp(38px, 3.9vw, 54px);
    line-height: 1.04;
    letter-spacing: -.03em;
}
body.tcx.nu-guest-dashboard .nu-start-sub {
    max-width: 38ch;
    margin: 16px 0 28px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.5;
}
body.tcx.nu-guest-dashboard .nu-start-input {
    min-height: 60px;
    padding-left: 52px;
    border-radius: 16px;
    font-size: 17px;
}
body.tcx.nu-guest-dashboard .nu-start-search-ico { left: 18px; }

/* Discovery deck */
body.tcx.nu-guest-dashboard .nu-feature-panel { display: flex; flex-direction: column; border-radius: 24px; }
body.tcx.nu-guest-dashboard .nu-feature-heading { padding: 24px 30px 0; font-size: 12px; }
body.tcx.nu-guest-dashboard .nu-feature-heading a { font-size: 13px; }
body.tcx.nu-guest-dashboard .nu-feature-title {
    margin: 14px 30px 0;
    font-size: clamp(22px, 2.1vw, 28px);
    letter-spacing: -.02em;
}
body.tcx.nu-guest-dashboard .nu-feature-slides { flex: 1 1 auto; display: flex; align-items: center; }
body.tcx.nu-guest-dashboard .nu-feature-main {
    flex: 1 1 auto;
    min-height: 0;
    padding: 18px 30px;
    gap: 28px;
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
}
body.tcx.nu-guest-dashboard .nu-feature-art { height: 230px; max-width: none; margin: 0; }
body.tcx.nu-guest-dashboard .nu-feature-art img { height: 208px; max-width: calc(100% - 16px); }
body.tcx.nu-guest-dashboard .nu-feature-kicker { font-size: 13px; }
body.tcx.nu-guest-dashboard .nu-feature-copy strong {
    margin: 12px 0 20px;
    font-size: clamp(20px, 1.9vw, 26px);
    letter-spacing: -.02em;
    -webkit-line-clamp: 4;
}
body.tcx.nu-guest-dashboard .nu-feature-action { font-size: 14px; }
body.tcx.nu-guest-dashboard .nu-feature-controls { margin: 0 30px; min-height: 60px; }
body.tcx.nu-guest-dashboard .nu-feature-count { font-size: 12px; }

/* Quick links */
body.tcx.nu-guest-dashboard .nu-dashboard-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    overflow: visible;
}
body.tcx.nu-guest-dashboard .nu-dashboard-tile {
    flex: none;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas: "icon num" "icon label" "icon sub";
    column-gap: 16px;
    align-content: center;
    align-items: center;
    min-height: 0;
    padding: 20px 24px;
    border-radius: 20px;
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
body.tcx.nu-guest-dashboard .nu-dashboard-tile:hover { transform: translateY(-2px); border-color: var(--stroke-brand); }
body.tcx.nu-guest-dashboard .nu-dashboard-tile::after { top: 50%; right: 20px; transform: translateY(-50%); font-size: 26px; }
body.tcx.nu-guest-dashboard .nu-dashboard-tile-icon { grid-area: icon; width: 52px; height: 52px; font-size: 24px; }
body.tcx.nu-guest-dashboard .nu-dashboard-tile strong { grid-area: num; margin: 0; font-size: 26px; }
body.tcx.nu-guest-dashboard .nu-dashboard-tile > span:not(.nu-dashboard-tile-icon) { grid-area: label; margin-top: 4px; font-size: 15px; }
body.tcx.nu-guest-dashboard .nu-dashboard-tile small { grid-area: sub; margin-top: 3px; font-size: 13px; }
body.tcx.nu-guest-dashboard .nu-dashboard-rail-note { display: none; }

/* Fresh across collections */
body.tcx.nu-guest-dashboard .nu-guest-new { padding-top: 14px; }
body.tcx.nu-guest-dashboard .nu-guest-new .nu-section-head { margin-bottom: 20px; }
body.tcx.nu-guest-dashboard .nu-guest-new .nu-section-head h2 { font-size: 28px; letter-spacing: -.02em; }
body.tcx.nu-guest-dashboard .nu-guest-new .nu-section-head a { font-size: 15px; }
body.tcx.nu-guest-dashboard .nu-guest-new-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    overflow: visible;
}
body.tcx.nu-guest-dashboard .nu-guest-new-card {
    padding: 12px;
    border-radius: 18px;
    transition: transform .15s ease, border-color .15s ease;
}
body.tcx.nu-guest-dashboard .nu-guest-new-card:hover { transform: translateY(-3px); border-color: var(--stroke-brand); }
body.tcx.nu-guest-dashboard .nu-guest-new-card .gn-img { border-radius: 13px; }
body.tcx.nu-guest-dashboard .nu-guest-new-card .gn-body { margin: 12px 4px 4px; }
body.tcx.nu-guest-dashboard .nu-guest-new-card .gn-name { font-size: 15px; }
body.tcx.nu-guest-dashboard .nu-guest-new-card .gn-coll { margin-top: 5px; font-size: 13px; }
body.tcx.nu-guest-dashboard .nu-guest-new-card:nth-child(n+9) { display: none; }

@media (max-width: 1023px) {
    body.tcx.nu-guest-dashboard .nu-dashboard-rail { gap: 12px; }
    body.tcx.nu-guest-dashboard .nu-dashboard-tile {
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 12px;
        padding: 16px 30px 16px 16px;
    }
    body.tcx.nu-guest-dashboard .nu-dashboard-tile-icon { width: 40px; height: 40px; font-size: 19px; }
    body.tcx.nu-guest-dashboard .nu-dashboard-tile strong { font-size: 22px; }
    body.tcx.nu-guest-dashboard .nu-dashboard-tile > span:not(.nu-dashboard-tile-icon) { font-size: 14px; }
    body.tcx.nu-guest-dashboard .nu-dashboard-tile small { font-size: 12.5px; }
    body.tcx.nu-guest-dashboard .nu-dashboard-tile::after { right: 12px; font-size: 22px; }
}
@media (min-width: 1024px) {
    body.tcx.nu-guest-dashboard .nu-dashboard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
    body.tcx.nu-guest-dashboard .nu-dashboard-rail,
    body.tcx.nu-guest-dashboard .nu-guest-new { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
    body.tcx.nu-guest-dashboard .nu-guest-new-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    body.tcx.nu-guest-dashboard .nu-guest-new-card:nth-child(n+9) { display: flex; }
    body.tcx.nu-guest-dashboard .nu-guest-new-card:nth-child(n+11) { display: none; }
}

/* ============================================================
   7. Inner pages
   Body classes tcx-p-<page> come from nu_tcx_page_key().
   ============================================================ */
body.tcx .nu-page-intro { margin-top: 28px; }

/* ---------- Browse ---------- */
body.tcx.tcx-p-browse .nu-topbar,
body.tcx.tcx-p-feed .nu-topbar { display: none; }
body.tcx.tcx-p-browse .tcx-search { display: none; }
body.tcx.tcx-p-browse .tcx-nav { margin-right: auto; }
body.tcx.tcx-p-browse .nu-browse-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 8px;
}
@media (min-width: 1024px) {
    body.tcx.tcx-p-browse .nu-browse-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
}

/* ---------- Feed ---------- */
body.tcx.tcx-p-feed .nu-feed-filters { padding-top: 18px; }
body.tcx.tcx-p-feed .nu-feed-stream { gap: 16px; padding-top: 16px; padding-bottom: 28px; }
body.tcx.tcx-p-feed .nu-feed-card { padding: 20px 22px; border-radius: 20px; }
body.tcx.tcx-p-feed .nu-feed-compose { margin-top: 16px; }
body.tcx.tcx-p-feed .nf-product-img { width: 84px; height: 84px; }
body.tcx.tcx-p-feed .nf-product-name { font-size: 16.5px; }
body.tcx.tcx-p-feed .nu-loadmore { display: flex; justify-content: center; padding: 0 0 8px; }
body.tcx.tcx-p-feed .nu-loadmore .nu-btn { width: auto; min-width: 260px; }

/* From 900px the "Latest products" strip becomes a sticky side column. */
@media (min-width: 900px) {
    body.tcx.tcx-p-feed:has(> .nu-feed-spotlight-wrap) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        column-gap: 28px;
        row-gap: 0;
        align-content: start;
    }
    body.tcx.tcx-p-feed:has(> .nu-feed-spotlight-wrap) > * { grid-column: 1; min-width: 0; }
    body.tcx.tcx-p-feed:has(> .nu-feed-spotlight-wrap) > .tcx-footer { grid-column: 1 / -1; }
    body.tcx.tcx-p-feed:has(> .nu-feed-spotlight-wrap) > .nu-feed-spotlight-wrap {
        grid-column: 2;
        grid-row: 1 / span 99;
        align-self: start;
        position: sticky;
        top: calc(var(--tcx-stick) + 20px);
        margin-top: 28px;
        max-height: calc(100vh - var(--tcx-stick) - 44px);
        overflow-y: auto;
        padding: 18px 14px 12px;
        border: 1px solid var(--stroke-strong);
        border-radius: 20px;
        background: var(--surface);
        scrollbar-width: thin;
    }
    body.tcx.tcx-p-feed .nu-feed-spotlight-wrap .nu-wrap { padding-bottom: 0; }
    body.tcx.tcx-p-feed .nu-feed-spotlight-wrap .nu-section-head { margin: 0 0 10px; padding: 0 4px; }
    body.tcx.tcx-p-feed .nu-feed-spotlight-wrap .nu-section-head h2 { font-size: 19px; letter-spacing: -.01em; }
    body.tcx.tcx-p-feed .nu-feed-spotlight-head { margin-top: 0 !important; }
    body.tcx.tcx-p-feed .nu-feed-product-tab { padding: 6px 12px; font-size: 12.5px; }
    body.tcx.tcx-p-feed .nu-feed-spotlight {
        flex-direction: column;
        gap: 2px;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }
    body.tcx.tcx-p-feed .nu-feed-spotlight .nu-mini {
        flex: none;
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        grid-template-rows: 1fr 1fr;
        column-gap: 12px;
        align-items: center;
        padding: 7px;
        border-radius: 14px;
        transition: background-color .15s ease;
    }
    body.tcx.tcx-p-feed .nu-feed-spotlight .nu-mini:hover { background: var(--surface-2); }
    body.tcx.tcx-p-feed .nu-feed-spotlight .nu-mini .m-img { grid-row: 1 / span 2; width: 54px; height: 54px; border-radius: 10px; }
    body.tcx.tcx-p-feed .nu-feed-spotlight .nu-mini:nth-child(n+9) { display: none; }
    body.tcx.tcx-p-feed .nu-feed-spotlight .m-badge,
    body.tcx.tcx-p-feed .nu-feed-spotlight .m-flag { display: none; }
    body.tcx.tcx-p-feed .nu-feed-spotlight .nu-mini .m-name { align-self: end; margin: 0; font-size: 14px; }
    body.tcx.tcx-p-feed .nu-feed-spotlight .nu-mini .m-coll { align-self: start; margin: 2px 0 0; font-size: 12.5px; }
}
@media (min-width: 1100px) {
    body.tcx.tcx-p-feed:has(> .nu-feed-spotlight-wrap) { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 36px; }
}

/* ---------- FAQ ---------- */
body.tcx.tcx-p-faq .nu-topbar > .nu-iconbtn,
body.tcx.tcx-p-league .nu-topbar > .nu-iconbtn,
body.tcx.tcx-p-stats .nu-topbar > .nu-iconbtn,
body.tcx.tcx-p-notifications .nu-topbar > .nu-iconbtn,
body.tcx.tcx-p-missions .nu-topbar > .nu-iconbtn,
body.tcx.tcx-p-settings .nu-topbar > .nu-iconbtn,
body.tcx.tcx-p-scan .nu-topbar > .nu-iconbtn,
body.tcx.tcx-p-inbox:not(:has(> #nuChat, > .nu-compose-form)) .nu-topbar > .nu-iconbtn { display: none; }

body.tcx:not(#tcx).tcx-p-faq :is(.nu-topbar, .nu-faq-list, .nu-faq-foot) {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
body.tcx.tcx-p-faq .nu-topbar { padding: 44px 0 18px; }
body.tcx.tcx-p-faq .nu-topbar-titles h1 { font-size: 40px; }
body.tcx.tcx-p-faq .nu-topbar-titles p { margin-top: 6px; font-size: 17px; }
body.tcx.tcx-p-faq .nu-faq-list { gap: 12px; padding-top: 6px; }
body.tcx.tcx-p-faq .nu-faq-item { border-radius: 16px; transition: border-color .15s ease; }
body.tcx.tcx-p-faq .nu-faq-item:hover { border-color: var(--stroke-brand); }
body.tcx.tcx-p-faq .nu-faq-item summary { position: relative; gap: 6px; padding: 20px 64px 20px 24px; }
body.tcx.tcx-p-faq .nu-faq-item summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 28px;
    width: 9px;
    height: 9px;
    margin-top: -7px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
body.tcx.tcx-p-faq .nu-faq-item[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
body.tcx.tcx-p-faq .nu-faq-item .fq-title { font-size: 18px; line-height: 1.35; }
body.tcx.tcx-p-faq .nu-faq-item .fq-excerpt { font-size: 14.5px; line-height: 1.45; }
body.tcx.tcx-p-faq .nu-faq-item[open] .fq-excerpt { display: none; }
body.tcx.tcx-p-faq .nu-faq-item .fq-body { padding: 0 24px 26px; font-size: 16px; line-height: 1.65; }
body.tcx.tcx-p-faq .nu-faq-item .fq-body p { margin-bottom: 14px; }

/* ---------- League ---------- */
body.tcx.tcx-p-league .nu-topbar { padding-bottom: 20px; }
body.tcx.tcx-p-league .nu-league-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr auto auto auto 1fr auto;
    column-gap: 32px;
    margin-top: 0;
    padding: 26px 30px;
}
body.tcx.tcx-p-league .nu-league-hero > .lh-kicker { grid-column: 1; grid-row: 2; }
body.tcx.tcx-p-league .nu-league-hero > .lh-title { grid-column: 1; grid-row: 3; }
body.tcx.tcx-p-league .nu-league-hero > .lh-sub { grid-column: 1; grid-row: 4; }
body.tcx.tcx-p-league .nu-league-hero .lh-kicker { font-size: 12px; }
body.tcx.tcx-p-league .nu-league-hero .lh-title { margin: 8px 0 6px; font-size: 32px; }
body.tcx.tcx-p-league .nu-league-hero .lh-sub { font-size: 15.5px; }
body.tcx.tcx-p-league .nu-league-hero > .nu-league-stats {
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: center;
    grid-template-columns: repeat(3, 124px);
    gap: 12px;
    margin: 0;
}
body.tcx.tcx-p-league .nu-league-hero > p.nu-muted { grid-column: 1 / -1; grid-row: 6; margin: 18px 0 0 !important; font-size: 15px; }
body.tcx.tcx-p-league .nu-league-stats .ls { padding: 16px 8px; border-radius: 14px; }
body.tcx.tcx-p-league .nu-league-stats .ls-v { font-size: 26px; letter-spacing: -.02em; }
body.tcx.tcx-p-league .nu-league-stats .ls-l { margin-top: 4px; font-size: 12.5px; }
body.tcx.tcx-p-league .nu-league-controls { margin-top: 16px; }

body.tcx.tcx-p-league [data-nu-tour="league-board"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}
body.tcx.tcx-p-league [data-nu-tour="league-board"] > .nu-league-you,
body.tcx.tcx-p-league [data-nu-tour="league-board"] > .nu-empty { grid-column: 1 / -1; }
body.tcx.tcx-p-league .nu-league-block { margin-top: 0; padding: 18px; }
body.tcx.tcx-p-league .nu-league-block .lb-head { margin-bottom: 14px; }
body.tcx.tcx-p-league .nu-league-block .lb-title { font-size: 17px; }
body.tcx.tcx-p-league .nu-league-block .lb-sub { font-size: 13px; }
body.tcx.tcx-p-league .nu-league-block .lb-count { font-size: 12.5px; }
body.tcx.tcx-p-league .nu-league-rows { gap: 6px; }
body.tcx.tcx-p-league .nu-league-row {
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
    column-gap: 14px;
    padding: 11px 14px;
    transition: border-color .15s ease, background-color .15s ease;
}
body.tcx.tcx-p-league .nu-league-row:hover { border-color: var(--stroke-brand); background: var(--surface-2); }
body.tcx.tcx-p-league .nu-league-row .lr-rank { font-size: 14px; }
body.tcx.tcx-p-league .nu-league-row .lr-name { font-size: 15px; }
body.tcx.tcx-p-league .nu-league-row .lr-name em { font-size: 11px; }
body.tcx.tcx-p-league .nu-league-row .lr-owned { min-width: 66px; font-size: 13px; text-align: right; }
body.tcx.tcx-p-league .nu-league-row .lr-owned::after { content: " owned"; }
body.tcx.tcx-p-league .nu-league-row .lr-pts { min-width: 74px; font-size: 14px; text-align: right; }
body.tcx.tcx-p-league .nu-league-row .lr-pts::after { content: " pts"; font-weight: 600; opacity: .8; }
body.tcx.tcx-p-league .nu-league-you { margin-top: 0; padding: 20px 22px; }
body.tcx.tcx-p-league .nu-league-you .ly-main { gap: 16px; }
body.tcx.tcx-p-league .nu-league-you .ly-rank { width: 54px; height: 54px; border-radius: 14px; font-size: 17px; }
body.tcx.tcx-p-league .nu-league-you .ly-name { font-size: 18px; }
body.tcx.tcx-p-league .nu-league-you .ly-tier { font-size: 14px; }
body.tcx.tcx-p-league .nu-league-you .ly-metrics { gap: 12px; margin-top: 16px; }
body.tcx.tcx-p-league .nu-league-you .ly-metrics div { padding: 12px 6px; }
body.tcx.tcx-p-league .nu-league-you .ly-metrics strong { font-size: 20px; }
body.tcx.tcx-p-league .nu-league-you .ly-metrics span { font-size: 12px; }

/* Tablet and up: the 50-odd collections become a sticky list beside the tables. */
@media (min-width: 900px) {
    body.tcx.tcx-p-league:has(> .nu-league-controls) {
        display: grid;
        grid-template-columns: 250px minmax(0, 1fr);
        column-gap: 28px;
        row-gap: 0;
        align-content: start;
    }
    body.tcx.tcx-p-league:has(> .nu-league-controls) > * { grid-column: 2; min-width: 0; }
    body.tcx.tcx-p-league:has(> .nu-league-controls) > .nu-topbar,
    body.tcx.tcx-p-league:has(> .nu-league-controls) > .tcx-footer { grid-column: 1 / -1; }
    body.tcx.tcx-p-league:has(> .nu-league-controls) > .nu-league-controls {
        grid-column: 1;
        grid-row: 2 / span 99;
        align-self: start;
        position: sticky;
        top: calc(var(--tcx-stick) + 20px);
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - var(--tcx-stick) - 44px);
        margin-top: 0;
        padding: 18px 12px 12px;
    }
    body.tcx.tcx-p-league .nu-league-controls .lc-label { order: 0; margin: 0 6px 10px; font-size: 12px; }
    body.tcx.tcx-p-league .nu-league-controls .nu-league-toggle {
        order: 1;
        margin: 0 6px 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--stroke);
        font-size: 14px;
    }
    body.tcx.tcx-p-league .nu-league-controls .nu-league-pills {
        order: 2;
        flex: 1 1 auto;
        min-height: 0;
        flex-direction: column;
        gap: 2px;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0 4px 0 0;
        scrollbar-width: thin;
    }
    body.tcx.tcx-p-league .nu-league-pill {
        flex: none;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
        padding: 9px 12px;
        border-radius: 10px;
        border-color: transparent;
        background: none;
        transition: background-color .15s ease;
    }
    body.tcx.tcx-p-league .nu-league-pill:hover { background: var(--surface-2); }
    body.tcx.tcx-p-league .nu-league-pill.is-active { border-color: var(--stroke-brand); background: var(--grad-soft); }
    body.tcx.tcx-p-league .nu-league-pill .lp-name { max-width: none; font-size: 14.5px; font-weight: 600; }
    body.tcx.tcx-p-league .nu-league-pill.is-active .lp-name { font-weight: 800; }
    body.tcx.tcx-p-league .nu-league-pill .lp-count { font-size: 12.5px; }
}
@media (min-width: 1240px) {
    body.tcx.tcx-p-league:has(> .nu-league-controls) { grid-template-columns: 270px minmax(0, 1fr); column-gap: 32px; }
    body.tcx.tcx-p-league [data-nu-tour="league-board"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Stats for geeks ---------- */
body.tcx.tcx-p-stats .nu-topbar { padding-bottom: 20px; }
body.tcx.tcx-p-stats .nu-geek-filters {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 0 0 18px;
}
body.tcx.tcx-p-stats .nu-geek-filters .gf-label { font-size: 14px; }
body.tcx.tcx-p-stats .nu-geek-filters .sf-input { flex: 0 1 420px; width: auto; min-width: 240px; }
body.tcx.tcx-p-stats .nu-geek-filters .gf-check { margin-left: 6px; font-size: 14.5px; cursor: pointer; }
body.tcx.tcx-p-stats .nu-geek-hero { margin-top: 0; padding: 26px 32px; }
body.tcx.tcx-p-stats .nu-geek-hero .gh-grid { gap: 24px; }
body.tcx.tcx-p-stats .nu-geek-hero .gh-val { font-size: 34px; }
body.tcx.tcx-p-stats .nu-geek-hero .gh-lbl { margin-top: 4px; font-size: 14px; }
body.tcx.tcx-p-stats .nu-geek-spotlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 32px;
    margin-top: 16px;
    padding: 20px 32px;
    font-size: 15px;
    line-height: 1.5;
}
body.tcx.tcx-p-stats .nu-geek-spotlight p { margin: 0; }
body.tcx.tcx-p-stats .nu-geek-spotlight strong { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
body.tcx.tcx-p-stats .nu-geek-spotlight .gh-meta { grid-column: 1 / -1; margin-top: 4px; font-size: 13px; }
body.tcx.tcx-p-stats [data-nu-tour="geek-tables"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 28px;
    align-items: start;
    margin-top: 34px;
}
body.tcx.tcx-p-stats [data-nu-tour="geek-tables"] > .nu-section { margin: 0; }
body.tcx.tcx-p-stats .nu-section-head { margin-bottom: 12px; }
body.tcx.tcx-p-stats .nu-section-head h2 { font-size: 22px; }
body.tcx.tcx-p-stats .nu-geek-table { padding: 6px 0; }
body.tcx.tcx-p-stats .nu-geek-table .gt-row { gap: 16px; padding: 12px 20px; }
body.tcx.tcx-p-stats .nu-geek-table .gt-label { font-size: 15px; }
body.tcx.tcx-p-stats .nu-geek-table .gt-val { font-size: 15px; }
body.tcx.tcx-p-stats .nu-geek-foot { padding: 34px 0 0; font-size: 13px; }

/* ---------- Collection ---------- */
body.tcx.tcx-p-collection .nu-topbar > .nu-iconbtn { display: none; }
body.tcx.tcx-p-collection:has(> .nu-cd-hero) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 36px;
    row-gap: 0;
    align-content: start;
}
body.tcx.tcx-p-collection:has(> .nu-cd-hero) > * { grid-column: 1 / -1; min-width: 0; }
body.tcx.tcx-p-collection:has(> .nu-cd-hero) > .nu-topbar { grid-column: 1; grid-row: 1; align-self: center; }
body.tcx.tcx-p-collection:has(> .nu-cd-hero) > .nu-cd-hero { grid-column: 2; grid-row: 1; align-self: center; }
body.tcx.tcx-p-collection .nu-topbar { padding: 30px 0 16px; }
body.tcx.tcx-p-collection .nu-topbar-titles h1 { font-size: 40px; line-height: 1.1; }
body.tcx.tcx-p-collection .nu-topbar-titles p { margin-top: 6px; font-size: 16px; }

/* Progress overview */
body.tcx.tcx-p-collection .nu-cd-hero {
    align-items: center;
    gap: 26px;
    margin-top: 22px;
    padding: 18px 34px 18px 22px;
    border-radius: 20px;
}
body.tcx.tcx-p-collection .nu-cd-statline { flex: 0 0 auto; grid-template-columns: repeat(3, auto); gap: 14px 40px; }
body.tcx.tcx-p-collection .nu-cd-statline .v { font-size: 24px; line-height: 1.1; }
body.tcx.tcx-p-collection .nu-cd-statline .l { margin-top: 4px; font-size: 13px; }

/* Controls */
body.tcx.tcx-p-collection .nu-coll-toolbar { gap: 20px; padding-top: 20px; }
body.tcx.tcx-p-collection .nu-filters { gap: 10px; }
body.tcx.tcx-p-collection .nu-filter { box-sizing: border-box; height: 42px; padding: 0 20px; font-size: 14px; transition: border-color .15s ease, color .15s ease; }
body.tcx.tcx-p-collection .nu-filter:not(.is-active):hover { color: var(--text); border-color: var(--stroke-brand); }
body.tcx.tcx-p-collection .nu-coll-toolbar-actions { gap: 12px; }
body.tcx.tcx-p-collection .nu-coll-view-toggle { box-sizing: border-box; height: 42px; }
body.tcx.tcx-p-collection .nu-coll-view-btn { height: 34px; padding: 0 15px; font-size: 13.5px; cursor: pointer; }
body.tcx.tcx-p-collection .nu-coll-filter-btn { box-sizing: border-box; height: 42px; padding: 0 20px; font-size: 14px; cursor: pointer; transition: border-color .15s ease; }
body.tcx.tcx-p-collection .nu-coll-filter-btn:hover { border-color: var(--stroke-brand); }
body.tcx.tcx-p-collection .nu-coll-search { margin-top: 14px; }
body.tcx.tcx-p-collection .nu-coll-search input { padding: 15px 18px 15px 48px; font-size: 16px; }
body.tcx.tcx-p-collection .nu-coll-search svg { left: 17px; }

/* Cards */
body.tcx.tcx-p-collection .nu-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
    padding-top: 22px;
}
body.tcx.tcx-p-collection .nu-tile { transition: transform .15s ease, border-color .15s ease; }
body.tcx.tcx-p-collection .nu-tile:hover { transform: translateY(-3px); border-color: var(--stroke-brand); }
body.tcx.tcx-p-collection .nu-tile .t-ov { padding: 10px; }
body.tcx.tcx-p-collection .nu-tile .t-ov-name { font-size: 13.5px; }
body.tcx.tcx-p-collection .nu-tile .t-ov-rarity { padding: 4px 8px; font-size: 10.5px; }
body.tcx.tcx-p-collection .nu-tile .t-ov-stat { font-size: 11px; }
body.tcx.tcx-p-collection .nu-tile .t-body { padding: 10px 14px 12px; }
body.tcx.tcx-p-collection .nu-tile .t-name { font-size: 14px; }
body.tcx.tcx-p-collection .nu-tile .t-state { font-size: 13px; }

/* Series view: each series becomes a labelled grid (no sideways scrolling) */
body.tcx.tcx-p-collection .nu-coll-series { --coll-gutter: 0px; gap: 40px; padding-top: 26px; }
body.tcx.tcx-p-collection .nu-coll-series-head { align-items: center; padding: 0 0 14px; }
body.tcx.tcx-p-collection .nu-coll-series-title { font-size: 22px; letter-spacing: -.015em; }
body.tcx.tcx-p-collection .nu-coll-series-count {
    padding: 4px 12px;
    border: 1px solid var(--stroke);
    border-radius: 99px;
    background: var(--surface);
    font-size: 13px;
}
body.tcx.tcx-p-collection .nu-coll-series-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
}
body.tcx.tcx-p-collection .nu-coll-series-scroll > .nu-tile,
body.tcx.tcx-p-collection .nu-coll-series-scroll .nu-tile {
    width: auto;
    max-width: none;
    margin: 0;
}

/* Load more + about */
body.tcx.tcx-p-collection .nu-loadmore { display: flex; justify-content: center; padding-top: 34px; }
body.tcx.tcx-p-collection .nu-loadmore .nu-btn { width: auto; min-width: 280px; padding: 14px 32px; cursor: pointer; }
body.tcx.tcx-p-collection .nu-collection-seo { margin-top: 36px; }
body.tcx.tcx-p-collection .nu-collection-seo-body { max-width: 860px; font-size: 16px; line-height: 1.65; }

/* Filters: a centred dialog instead of a bottom sheet */
body.tcx .nu-filter-sheet { z-index: 150; }
body.tcx .nu-filter-sheet-panel {
    display: flex;
    flex-direction: column;
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: min(620px, calc(100vw - 48px));
    max-width: none;
    max-height: min(86vh, 760px);
    margin: 0;
    padding: 28px 30px 24px;
    overflow: hidden;
    border: 1px solid var(--stroke-strong);
    border-radius: 22px;
    box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .75);
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px));
    transition: transform .22s ease, opacity .2s ease;
}
body.tcx .nu-filter-sheet.is-open .nu-filter-sheet-panel { opacity: 1; transform: translate(-50%, -50%); }
body.tcx .nu-filter-sheet-close { top: 20px; right: 22px; cursor: pointer; }
body.tcx .nu-filter-sheet-title { font-size: 22px; }
body.tcx .nu-filter-sheet-sub { margin-bottom: 18px; font-size: 14.5px; }
body.tcx .nu-filter-sheet-body { flex: 1 1 auto; min-height: 0; gap: 22px; padding-right: 6px; margin-right: -6px; overflow-y: auto; scrollbar-width: thin; }
body.tcx .nu-filter-group h3 { margin-bottom: 10px; font-size: 12px; }
body.tcx .nu-filter-chip { padding: 8px 14px; font-size: 13.5px; cursor: pointer; }
body.tcx .nu-filter-chip:not(.is-active):hover { border-color: var(--stroke-brand); }
body.tcx .nu-filter-sheet-actions { flex: 0 0 auto; grid-template-columns: 1fr 1.6fr; }
body.tcx .nu-filter-sheet-actions .nu-btn { width: auto; cursor: pointer; }

/* ---------- Item ---------- */
body.tcx.tcx-p-item .nu-topbar { display: none; }
body.tcx.tcx-p-item:has(> .nu-item-hero) {
    display: grid;
    grid-template-columns: clamp(250px, 32vw, 440px) minmax(0, 1fr);
    column-gap: clamp(32px, 4.5vw, 64px);
    row-gap: 0;
    align-content: start;
}
body.tcx.tcx-p-item:has(> .nu-item-hero) > * { grid-column: 2; min-width: 0; }
body.tcx.tcx-p-item:has(> .nu-item-hero) > .nu-item-hero {
    grid-column: 1;
    grid-row: 1 / span 99;
    align-self: start;
    position: sticky;
    top: calc(var(--tcx-stick) + 28px);
    margin-top: 40px;
    padding: 0;
}
body.tcx.tcx-p-item:has(> .nu-item-hero) > .tcx-footer { grid-column: 1 / -1; }
body.tcx.tcx-p-item .nu-item-hero .ih-img { width: 100%; max-width: none; border-radius: 24px; }

body.tcx.tcx-p-item .nu-item-meta { order: -2; padding: 40px 0 0; }
body.tcx.tcx-p-item .nu-item-meta .im-coll { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; }
body.tcx.tcx-p-item .nu-item-meta .im-coll::before { content: "\2039"; margin-top: -3px; font-size: 22px; line-height: 1; }
body.tcx.tcx-p-item .nu-item-meta .im-coll:hover { text-decoration: underline; }
body.tcx.tcx-p-item .nu-item-meta .im-name { margin: 10px 0 6px; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -.025em; }
body.tcx.tcx-p-item .nu-item-meta .im-variant { font-size: 17px; }
body.tcx.tcx-p-item .nu-item-chips { gap: 10px; margin-top: 18px; }
body.tcx.tcx-p-item .nu-item-chips .nu-chip { font-size: 13px; }
body.tcx.tcx-p-item .nu-item-source-btn { margin-top: 20px; padding: 12px 22px; font-size: 14.5px; cursor: pointer; }

body.tcx.tcx-p-item .nu-actions-row--item {
    order: -1;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    padding: 26px 0 0;
}
body.tcx.tcx-p-item .nu-actions-row--item .nu-actions-span { grid-column: auto; }
body.tcx.tcx-p-item .nu-actions-row--item .nu-btn { cursor: pointer; }
@media (max-width: 1099px) {
    body.tcx.tcx-p-item .nu-actions-row--item { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.tcx.tcx-p-item .nu-actions-row--item > :first-child { grid-column: 1 / -1; }
}

body.tcx.tcx-p-item:not(#tcx) .nu-item-variants { margin-left: 0; margin-right: 0; }
body.tcx.tcx-p-item > section[style] { margin-left: 0 !important; margin-right: 0 !important; }
body.tcx.tcx-p-item > div[style*="padding:0 20px"] { margin-top: 22px; padding-left: 0 !important; padding-right: 0 !important; }
body.tcx.tcx-p-item > div[style*="padding:0 20px"] .nu-btn { width: auto; padding: 13px 26px; cursor: pointer; }
body.tcx.tcx-p-item > section[style] > p { font-size: 15.5px !important; line-height: 1.6 !important; }

body.tcx.tcx-p-item .nu-item-variants { margin-top: 26px; padding: 22px 24px; }
body.tcx.tcx-p-item .nu-item-variants-label { font-size: 12px; }
body.tcx.tcx-p-item .nu-item-v-chip { padding: 10px 15px; font-size: 14px; }
body.tcx.tcx-p-item .nu-item-barcodes { margin-top: 20px; padding: 22px 24px; }
body.tcx.tcx-p-item .nu-item-barcodes-title { font-size: 12px; }
body.tcx.tcx-p-item .nu-item-barcodes-sub { font-size: 14px; }
body.tcx.tcx-p-item .nu-item-barcode-row { padding: 16px; }
body.tcx.tcx-p-item .nu-item-barcode-svg { max-width: 320px; }
body.tcx.tcx-p-item .nu-kv { margin-top: 20px; padding: 6px 0; }
body.tcx.tcx-p-item .nu-kv .kv-row { padding: 15px 24px; }
body.tcx.tcx-p-item .nu-kv .kv-k,
body.tcx.tcx-p-item .nu-kv .kv-v { font-size: 15px; }

/* ---------- Login / Register ---------- */
body.tcx:is(.tcx-p-login, .tcx-p-register) .nu-auth-main {
    max-width: 460px;
    margin: 44px auto 76px;
    padding: 36px 40px 32px;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    border: 1px solid var(--stroke);
    border-radius: 26px;
    box-shadow: 0 34px 80px -44px rgba(0, 0, 0, .7);
}
body.tcx:is(.tcx-p-login, .tcx-p-register) .nu-auth-brand { margin: 0 0 24px; }
body.tcx:is(.tcx-p-login, .tcx-p-register) .nu-auth-title { font-size: 30px; }
body.tcx:is(.tcx-p-login, .tcx-p-register) .nu-auth-sub { font-size: 15px; }
body.tcx:is(.tcx-p-login, .tcx-p-register) .nu-auth-google-cta { cursor: pointer; }
body.tcx:is(.tcx-p-login, .tcx-p-register) .nu-auth-field { font-size: 13px; }
body.tcx:is(.tcx-p-login, .tcx-p-register) .nu-auth-field input { font-size: 16px; }
body.tcx:is(.tcx-p-login, .tcx-p-register) .nu-auth-submit { cursor: pointer; }

/* ---------- Collector profile ---------- */
body.tcx.tcx-p-collector:has(> .nu-profile-head) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 0;
    align-content: start;
    padding-top: calc(var(--tcx-head-h) + 36px);
}
body.tcx.tcx-p-collector:has(> .nu-profile-head) > * { grid-column: 1 / -1; min-width: 0; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-topbar { display: none; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-profile-head { grid-column: 1; order: 1; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-collector-actions { grid-column: 2; order: 2; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-collector-stats { grid-column: 1; order: 3; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-earned-badges { grid-column: 2; order: 4; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-collector-collections { grid-column: 1; order: 5; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-collector-collection-hero { grid-column: 2; order: 6; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-filters { order: 7; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-collector-watch-banner { order: 8; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-grid { order: 9; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-empty { order: 10; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-loadmore { order: 11; }
body.tcx.tcx-p-collector:has(> .nu-profile-head) > .tcx-footer { order: 99; }
body.tcx.tcx-p-collector:has(> .nu-profile-head):not(:has(> .nu-earned-badges)) > .nu-collector-stats { grid-column: 1 / -1; }
body.tcx.tcx-p-collector:has(> .nu-profile-head):not(:has(> .nu-collector-collection-hero)) > .nu-collector-collections { grid-column: 1 / -1; }
@media (max-width: 899px) {
    body.tcx.tcx-p-collector:has(> .nu-profile-head) { grid-template-columns: minmax(0, 1fr); }
    body.tcx.tcx-p-collector:has(> .nu-profile-head) > * { grid-column: 1 / -1 !important; }
    body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-collector-actions { justify-content: flex-start; padding-top: 18px; }
    body.tcx.tcx-p-collector:has(> .nu-profile-head) > .nu-collector-collection-hero { justify-self: stretch; justify-content: center; margin-top: 20px; }
}

/* Identity */
body.tcx.tcx-p-collector .nu-profile-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 24px;
    align-content: center;
    align-items: center;
    justify-items: start;
    text-align: left;
    padding: 0;
}
body.tcx.tcx-p-collector .nu-profile-head .ph-avatar,
body.tcx.tcx-p-collector .nu-profile-head .ph-avatar-fb { grid-row: 1 / span 3; width: 104px; height: 104px; }
body.tcx.tcx-p-collector .nu-profile-head .ph-avatar-fb { font-size: 42px; }
body.tcx.tcx-p-collector .nu-profile-head .ph-name { align-self: end; margin: 0; font-size: 36px; line-height: 1.1; letter-spacing: -.02em; }
body.tcx.tcx-p-collector .nu-profile-head .ph-handle { align-self: start; margin-top: 5px; font-size: 15px; }
body.tcx.tcx-p-collector .nu-collector-badges { justify-content: flex-start; align-self: start; margin: 10px 0 0; padding: 0; }
body.tcx.tcx-p-collector .nu-collector-actions { align-self: center; justify-content: flex-end; gap: 12px; padding: 0; }
body.tcx.tcx-p-collector .nu-collector-actions .nu-btn {
    flex: 0 0 auto;
    min-width: 124px;
    max-width: none;
    width: auto;
    height: 46px;
    padding: 0 24px;
    font-size: 15px;
    cursor: pointer;
}

/* Stats + badges */
body.tcx.tcx-p-collector .nu-collector-stats { align-self: stretch; align-content: center; align-items: center; margin-top: 28px; padding: 20px 8px; gap: 8px; }
body.tcx.tcx-p-collector .nu-collector-stats .pv { font-size: 26px; line-height: 1.1; }
body.tcx.tcx-p-collector .nu-collector-stats .pl { margin-top: 5px; font-size: 13px; }
body.tcx.tcx-p-collector .nu-earned-badges { align-self: stretch; margin-top: 28px; padding: 18px 20px; }
body.tcx.tcx-p-collector .nu-earned-badges .eb-head { margin-bottom: 12px; font-size: 15px; }
body.tcx.tcx-p-collector .nu-earned-badges .eb-head span { font-size: 13px; }
body.tcx.tcx-p-collector .nu-earned-badges .eb-strip { flex-wrap: wrap; overflow: visible; gap: 8px; }
body.tcx.tcx-p-collector .nu-earned-badges .eb-chip { width: 48px; height: 48px; padding: 5px; border-radius: 13px; }
body.tcx.tcx-p-collector .nu-earned-badges .eb-chip img,
body.tcx.tcx-p-collector .nu-earned-badges .eb-chip .eb-icon { width: 32px; height: 32px; }

/* Collection picker + progress */
body.tcx.tcx-p-collector .nu-collector-collections {
    flex-wrap: wrap;
    align-content: center;
    align-self: center;
    gap: 10px;
    margin-top: 28px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
}
body.tcx.tcx-p-collector .nu-collector-collections .nu-coll-pick {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 20px 7px 7px;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    background: var(--surface);
    transition: border-color .15s ease, background-color .15s ease;
}
body.tcx.tcx-p-collector .nu-collector-collections .nu-coll-pick:hover { border-color: var(--stroke-brand); }
body.tcx.tcx-p-collector .nu-collector-collections .nu-coll-pick.is-active { border-color: var(--stroke-brand-strong); background: var(--grad-soft); }
body.tcx.tcx-p-collector .nu-collector-collections .nu-coll-pick .m-img { width: 48px; height: 48px; border-radius: 11px; }
body.tcx.tcx-p-collector .nu-collector-collections .nu-coll-pick .m-img img { object-fit: contain; padding: 3px; box-sizing: border-box; }
body.tcx.tcx-p-collector .nu-collector-collections .nu-coll-pick .m-name { display: block; margin: 0; font-size: 15px; }
body.tcx.tcx-p-collector .nu-collector-collection-hero {
    align-items: center;
    align-self: center;
    justify-self: end;
    gap: 22px;
    margin: 28px 0 0;
    padding: 14px 32px 14px 18px;
    border-radius: 18px;
}
body.tcx.tcx-p-collector .nu-collector-collection-hero .nu-cd-statline { flex: 0 0 auto; grid-template-columns: repeat(3, auto); gap: 8px 34px; }
body.tcx.tcx-p-collector .nu-collector-collection-hero .nu-cd-statline .v { font-size: 22px; line-height: 1.1; }
body.tcx.tcx-p-collector .nu-collector-collection-hero .nu-cd-statline .l { margin-top: 4px; font-size: 13px; }

/* Filters + items */
body.tcx.tcx-p-collector .nu-filters { gap: 10px; padding-top: 28px; padding-bottom: 0; overflow: visible; }
body.tcx.tcx-p-collector .nu-filter { box-sizing: border-box; height: 42px; padding: 0 22px; font-size: 14px; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
body.tcx.tcx-p-collector .nu-filter:not(.is-active):hover { color: var(--text); border-color: var(--stroke-brand); }
body.tcx.tcx-p-collector .nu-collector-watch-banner { margin-top: 18px; }
body.tcx.tcx-p-collector .nu-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; padding-top: 22px; }
body.tcx.tcx-p-collector .nu-tile { transition: transform .15s ease, border-color .15s ease; }
body.tcx.tcx-p-collector .nu-tile:hover { transform: translateY(-3px); border-color: var(--stroke-brand); }
body.tcx.tcx-p-collector .nu-tile .t-ov { padding: 10px; }
body.tcx.tcx-p-collector .nu-tile .t-ov-name { font-size: 13.5px; }
body.tcx.tcx-p-collector .nu-tile .t-ov-rarity { padding: 4px 8px; font-size: 10.5px; }
body.tcx.tcx-p-collector .nu-tile .t-ov-stat { font-size: 11px; }
body.tcx.tcx-p-collector .nu-tile .t-body { padding: 10px 14px 12px; }
body.tcx.tcx-p-collector .nu-tile .t-name { font-size: 14px; }
body.tcx.tcx-p-collector .nu-public-tile .t-pub-badge { font-size: 10px; }
body.tcx.tcx-p-collector .nu-public-tile .t-body { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
body.tcx.tcx-p-collector .nu-public-tile .t-name { min-height: 0; }
body.tcx.tcx-p-collector .nu-public-tile .t-pub-coll { max-width: 100%; margin-top: 0; font-size: 12.5px; }
body.tcx.tcx-p-collector .nu-loadmore { display: flex; justify-content: center; padding-top: 34px; }
body.tcx.tcx-p-collector .nu-loadmore .nu-btn { width: auto; min-width: 280px; padding: 14px 32px; cursor: pointer; }

/* ============================================================
   8. Signed-in pages
   ============================================================ */

/* ---------- Home (signed in) ---------- */
body.tcx.nu-collector-home .nu-topbar { display: none; }
body.tcx.nu-collector-home .nu-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 44px;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 32px 0 0;
}
body.tcx.nu-collector-home .nu-home > * { margin-top: 0; min-width: 0; }
body.tcx.nu-collector-home .nu-home-welcome { padding: 36px 40px; border-radius: 26px; }
body.tcx.nu-collector-home .nu-home-welcome::before { width: 360px; height: 360px; right: -110px; top: -170px; }
body.tcx.nu-collector-home .nh-avatar { width: 52px; height: 52px; border-radius: 17px; font-size: 22px; }
body.tcx.nu-collector-home .nh-identity span { font-size: 12px; }
body.tcx.nu-collector-home .nh-identity strong { font-size: 19px; }
body.tcx.nu-collector-home .nh-level { padding: 9px 14px; font-size: 12.5px; }
body.tcx.nu-collector-home .nh-welcome-copy { max-width: 680px; margin-top: 34px; }
body.tcx.nu-collector-home .nh-welcome-copy h1 { max-width: 640px; font-size: 52px; }
body.tcx.nu-collector-home .nh-welcome-copy > p:last-child { max-width: 520px; margin-top: 14px; font-size: 17px; }
body.tcx.nu-collector-home .nh-primary-actions { gap: 12px; margin-top: 28px; }
body.tcx.nu-collector-home .nh-primary-actions a { min-height: 48px; padding: 0 22px; border-radius: 13px; font-size: 14.5px; transition: transform .15s ease, border-color .15s ease; }
body.tcx.nu-collector-home .nh-primary-actions a:hover { transform: translateY(-1px); }
body.tcx.nu-collector-home .nh-action-alt:hover { border-color: var(--stroke-brand-strong); }

body.tcx.nu-collector-home .nh-section-head { margin-bottom: 16px; }
body.tcx.nu-collector-home .nh-section-head h2 { font-size: 26px; }
body.tcx.nu-collector-home .nh-kicker { font-size: 11px; }
body.tcx.nu-collector-home .nh-section-head > a { font-size: 14px; }
body.tcx.nu-collector-home .nh-section-head > a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.tcx.nu-collector-home .nh-carousel-position { font-size: 13px; }
body.tcx.nu-collector-home .nh-carousel-controls { gap: 8px; }
body.tcx.nu-collector-home .nh-carousel-controls button { width: 38px; height: 38px; border-radius: 12px; font-size: 26px; transition: border-color .15s ease, background .15s ease; }
body.tcx.nu-collector-home .nh-carousel-controls button:not(:disabled):hover { border-color: var(--stroke-brand-strong); background: var(--surface-2); }
body.tcx.nu-collector-home .nh-carousel-hint { display: none; }

body.tcx.nu-collector-home .nh-focus-rail { gap: 20px; padding: 0 0 6px; }
body.tcx.nu-collector-home .nh-focus-card { flex: 0 0 min(620px, 100%); grid-template-columns: 190px minmax(0, 1fr); border-radius: 24px; }
body.tcx.nu-collector-home .nh-focus-card:only-child { flex-basis: min(620px, 100%); }
body.tcx.nu-collector-home .nh-focus-art { min-height: 230px; }
body.tcx.nu-collector-home .nh-focus-art img { max-height: 196px; }
body.tcx.nu-collector-home .nh-focus-body { display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; }
body.tcx.nu-collector-home .nh-focus-body h3 { margin: 8px 0 14px; font-size: 26px; }
body.tcx.nu-collector-home .nh-focus-overline { font-size: 11px; }
body.tcx.nu-collector-home .nh-progress-copy strong { font-size: 26px; }
body.tcx.nu-collector-home .nh-progress-copy span { font-size: 14px; }
body.tcx.nu-collector-home .nh-progress { height: 7px; }
body.tcx.nu-collector-home .nh-focus-actions { gap: 10px 20px; margin-top: 18px; }
body.tcx.nu-collector-home .nh-focus-actions a { font-size: 14px; }
body.tcx.nu-collector-home .nh-focus-actions a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.tcx.nu-collector-home .nh-first { padding: 36px 40px; border-radius: 26px; }
body.tcx.nu-collector-home .nh-first h2 { font-size: 32px; }

body.tcx.nu-collector-home .nh-now-grid { gap: 16px; }
body.tcx.nu-collector-home .nh-now-card { min-height: 96px; padding: 18px 20px; border-radius: 18px; transition: transform .15s ease, border-color .15s ease; }
body.tcx.nu-collector-home .nh-now-card:hover { transform: translateY(-2px); border-color: var(--stroke-brand); }
body.tcx.nu-collector-home .nh-now-icon { width: 44px; height: 44px; border-radius: 14px; }
body.tcx.nu-collector-home .nh-now-text strong { font-size: 16px; }
body.tcx.nu-collector-home .nh-now-text small { font-size: 13px; }

body.tcx.nu-collector-home .nh-recent-rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; gap: 24px 18px; overflow: visible; padding: 0; }
body.tcx.nu-collector-home .nh-recent-art { height: auto; aspect-ratio: 1; border-radius: 18px; transition: transform .15s ease, border-color .15s ease; }
body.tcx.nu-collector-home .nh-recent-item:hover .nh-recent-art { transform: translateY(-3px); border-color: var(--stroke-brand); }
body.tcx.nu-collector-home .nh-recent-item strong { margin: 10px 0 3px; font-size: 14.5px; }
body.tcx.nu-collector-home .nh-recent-item small { font-size: 12.5px; }

body.tcx.nu-collector-home .nh-collection-list { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
body.tcx.nu-collector-home .nh-collection { gap: 16px; padding: 14px 18px; border-radius: 18px; transition: transform .15s ease, border-color .15s ease; }
body.tcx.nu-collector-home .nh-collection:hover { transform: translateY(-2px); border-color: var(--stroke-brand); }
body.tcx.nu-collector-home .nh-collection-art { width: 64px; height: 64px; border-radius: 14px; }
body.tcx.nu-collector-home .nh-collection-main { gap: 5px; }
body.tcx.nu-collector-home .nh-collection-main strong { font-size: 16px; }
body.tcx.nu-collector-home .nh-collection-main small { font-size: 13px; }
body.tcx.nu-collector-home .nh-collection > b { font-size: 18px; }

body.tcx.nu-collector-home .nh-footer-links { gap: 10px 28px; margin-top: 0; padding-top: 24px; }
body.tcx.nu-collector-home .nh-footer-links a { font-size: 14px; }
body.tcx.nu-collector-home .nh-footer-links a:hover { color: var(--text); }

@media (min-width: 1024px) {
    body.tcx.nu-collector-home .nu-home { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
    body.tcx.nu-collector-home .nu-home > * { grid-column: 1 / -1; }
    body.tcx.nu-collector-home .nu-home > .nu-home-welcome { grid-column: 1 / span 2; grid-row: 1; }
    body.tcx.nu-collector-home .nu-home > .nh-now {
        grid-column: 3;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        padding: 26px 24px 24px;
        border: 1px solid var(--stroke);
        border-radius: 26px;
        background: var(--surface);
    }
    body.tcx.nu-collector-home .nh-now .nh-section-head { margin-bottom: 16px; }
    body.tcx.nu-collector-home .nh-now .nh-section-head h2 { font-size: 22px; }
    body.tcx.nu-collector-home .nh-now-grid { flex: 1; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
    body.tcx.nu-collector-home .nh-now-card { min-height: 0; background: var(--surface-2); }
    body.tcx.nu-collector-home .nh-focus-card { flex-basis: calc((100% - 20px) / 2); }
    body.tcx.nu-collector-home .nh-focus-card:only-child { flex-basis: calc((100% - 20px) / 2); }
    body.tcx.nu-collector-home .nh-recent-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    body.tcx.nu-collector-home .nh-collection-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    body.tcx.nu-collector-home .nh-now-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.tcx.nu-collector-home .nh-focus-card { flex-basis: min(620px, calc(100% - 60px)); }
    body.tcx.nu-collector-home .nh-focus-card:only-child { flex-basis: 100%; }
}

/* ---------- Profile ---------- */
body.tcx.tcx-p-profile:has(> .nu-greeting) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
    align-content: start;
    padding-top: calc(var(--tcx-head-h) + 36px);
}
body.tcx.tcx-p-profile:has(> .nu-greeting) > * { grid-column: 1 / -1; min-width: 0; }
body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-topbar { display: none; }
body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-greeting { grid-column: 1; order: 1; }
body.tcx.tcx-p-profile:has(> .nu-greeting) > a.nu-level-link { grid-column: 1 / -1; order: 3; }
body.tcx.tcx-p-profile:has(> .nu-greeting) > a.nu-profile-public-link { grid-column: 1; order: 4; }
body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-wrap:not(.nu-profile-account):not(:has(.nu-coll-list)) { order: 6; margin-top: 20px; margin-bottom: -8px; }
body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-hscroll,
body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-empty { order: 7; margin: 0; }
body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-wrap:has(.nu-coll-list) { order: 8; margin-top: 20px; }
body.tcx.tcx-p-profile:has(> .nu-greeting) > .tcx-footer { order: 99; }
/* Account block: its Settings link joins the card band, Log out moves up beside the greeting. */
body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-profile-account,
body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-profile-account > .nu-section { display: contents; }
body.tcx.tcx-p-profile .nu-profile-account .nu-section-head { display: none; }
body.tcx.tcx-p-profile:has(> .nu-greeting) .nu-profile-account .nu-profile-public-link { grid-column: 2; order: 5; }
body.tcx.tcx-p-profile:has(> .nu-greeting) .nu-profile-logout {
    grid-column: 2;
    order: 2;
    justify-self: end;
    align-self: center;
    width: auto;
    height: 44px;
    margin: 0;
    padding: 0 24px;
    font-size: 14.5px;
    cursor: pointer;
}
body.tcx.tcx-p-profile:has(> .nu-greeting) .nu-profile-account .nu-profile-public-link,
body.tcx.tcx-p-profile:has(> .nu-greeting) .nu-profile-logout { min-width: 0; }
@media (min-width: 1200px) {
    body.tcx.tcx-p-profile:has(> .nu-greeting) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-greeting { grid-column: 1 / span 2; }
    body.tcx.tcx-p-profile:has(> .nu-greeting) > a.nu-level-link { grid-column: 1; }
    body.tcx.tcx-p-profile:has(> .nu-greeting) > a.nu-profile-public-link { grid-column: 2; }
    body.tcx.tcx-p-profile:has(> .nu-greeting) .nu-profile-account .nu-profile-public-link { grid-column: 3; }
    body.tcx.tcx-p-profile:has(> .nu-greeting) .nu-profile-logout { grid-column: 3; }
}

/* Greeting */
body.tcx.tcx-p-profile .nu-greeting { align-items: center; align-self: center; gap: 22px; margin: 0; padding: 0; }
body.tcx.tcx-p-profile .nu-greeting .nu-avatar,
body.tcx.tcx-p-profile .nu-greeting .nu-avatar-fallback { width: 84px; height: 84px; }
body.tcx.tcx-p-profile .nu-greeting .nu-avatar-fallback { font-size: 34px; color: var(--tcx-on-brand); }
body.tcx.tcx-p-profile .nu-greeting .g-name { font-size: 36px; line-height: 1.1; letter-spacing: -.02em; }
body.tcx.tcx-p-profile .nu-greeting .g-sub { margin-top: 7px; font-size: 16px; }

/* Card band: level, public profile, settings */
body.tcx.tcx-p-profile a.nu-level-link { display: flex; margin: 0; }
body.tcx.tcx-p-profile a.nu-level-link .nu-level { flex: 1; padding: 22px 24px; gap: 18px; }
body.tcx.tcx-p-profile .nu-level .lv-badge { width: 58px; height: 58px; border-radius: 17px; font-size: 29px; }
body.tcx.tcx-p-profile .nu-level .lv-row { align-items: center; }
body.tcx.tcx-p-profile .nu-level .lv-title { font-size: 18px; }
body.tcx.tcx-p-profile .nu-level .lv-lvl { font-size: 14px; }
body.tcx.tcx-p-profile .nu-level .nu-bar { height: 9px; margin-top: 12px; }
body.tcx.tcx-p-profile .nu-level .lv-sub { margin-top: 10px; font-size: 13.5px; }
body.tcx.tcx-p-profile .nu-profile-public-link {
    box-sizing: border-box;
    margin: 0;
    padding: 22px 24px;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    box-shadow: 0 12px 32px -24px rgba(0, 0, 0, .8);
    transition: transform .15s ease;
}
body.tcx.tcx-p-profile .nu-profile-public-link.nu-card { transition: border-color .15s ease, transform .15s ease; }
body.tcx.tcx-p-profile .nu-profile-public-link:hover,
body.tcx.tcx-p-profile a.nu-level-link:hover .nu-level { border-color: var(--stroke-brand); }
body.tcx.tcx-p-profile .nu-profile-public-link:hover { transform: translateY(-2px); }
body.tcx.tcx-p-profile .nu-profile-public-link .ppl-ico { width: 52px; height: 52px; border-radius: 15px; }
body.tcx.tcx-p-profile .nu-profile-public-link .ppl-ico svg { width: 24px; height: 24px; }
body.tcx.tcx-p-profile .nu-profile-public-link strong { font-size: 17px; }
body.tcx.tcx-p-profile .nu-profile-public-link small { margin-top: 4px; font-size: 14px; }
body.tcx.tcx-p-profile .nu-profile-public-link .ppl-arrow { font-size: 22px; }

/* Section headings */
body.tcx.tcx-p-profile:has(> .nu-greeting) > .nu-wrap { padding-bottom: 0; }
body.tcx.tcx-p-profile .nu-wrap > .nu-section { margin-top: 0; }
body.tcx.tcx-p-profile .nu-wrap .nu-section-head { margin-bottom: 0; }
body.tcx.tcx-p-profile .nu-wrap .nu-section-head h2 { font-size: 26px; letter-spacing: -.02em; }
body.tcx.tcx-p-profile .nu-wrap .nu-section-head a { font-size: 15px; }
body.tcx.tcx-p-profile .nu-wrap .nu-section-head a:hover { text-decoration: underline; }
body.tcx.tcx-p-profile .nu-wrap .nu-section-head + .nu-coll-list { margin-top: 20px; }

/* Recent additions */
body.tcx.tcx-p-profile .nu-hscroll {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 26px 18px;
    overflow: visible;
    padding-top: 0;
    padding-bottom: 0;
    scroll-snap-type: none;
}
body.tcx.tcx-p-profile .nu-hscroll .nu-mini { flex: none; min-width: 0; transition: transform .15s ease; }
body.tcx.tcx-p-profile .nu-hscroll .nu-mini:hover { transform: translateY(-3px); }
body.tcx.tcx-p-profile .nu-hscroll .nu-mini:hover .m-img { border-color: var(--stroke-brand); }
body.tcx.tcx-p-profile .nu-hscroll .nu-mini .m-img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 16px; transition: border-color .15s ease; }
body.tcx.tcx-p-profile .nu-hscroll .nu-mini .m-name { margin-top: 11px; font-size: 14.5px; }
body.tcx.tcx-p-profile .nu-hscroll .nu-mini .m-coll { margin-top: 3px; font-size: 12.5px; }

/* Collection cards (profile + catalogue) */
body.tcx:is(.tcx-p-profile, .tcx-p-collections) .nu-coll-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body.tcx:is(.tcx-p-profile, .tcx-p-collections) .nu-coll { gap: 18px; padding: 16px; transition: border-color .15s ease, transform .15s ease; }
body.tcx:is(.tcx-p-profile, .tcx-p-collections) .nu-coll:hover { border-color: var(--stroke-brand); transform: translateY(-2px); }
body.tcx:is(.tcx-p-profile, .tcx-p-collections) .nu-coll .c-img { width: 88px; height: 88px; border-radius: 16px; }
body.tcx:is(.tcx-p-profile, .tcx-p-collections) .nu-coll .c-name { font-size: 17px; }
body.tcx:is(.tcx-p-profile, .tcx-p-collections) .nu-coll .c-meta { margin-top: 4px; font-size: 13.5px; }
body.tcx:is(.tcx-p-profile, .tcx-p-collections) .nu-coll .c-bar { height: 8px; margin-top: 12px; }
body.tcx:is(.tcx-p-profile, .tcx-p-collections) .nu-coll .c-pct { font-size: 22px; }

/* Empty states on signed-in pages: a centred card instead of a phone-width block. */
body.tcx:is(.tcx-p-collections, .tcx-p-watchlist, .tcx-p-newprod, .tcx-p-notifications, .tcx-p-missions, .tcx-p-inbox) .nu-empty {
    box-sizing: border-box;
    justify-self: center;
    width: min(560px, 100%);
    margin: 36px auto 0;
    padding: 56px 40px;
    border: 1px solid var(--stroke);
    border-radius: 24px;
    background: var(--surface);
}
body.tcx:is(.tcx-p-collections, .tcx-p-watchlist, .tcx-p-newprod, .tcx-p-notifications, .tcx-p-missions, .tcx-p-inbox) .nu-empty .e-ico { width: 72px; height: 72px; margin-bottom: 20px; border-radius: 22px; }
body.tcx:is(.tcx-p-collections, .tcx-p-watchlist, .tcx-p-newprod, .tcx-p-notifications, .tcx-p-missions, .tcx-p-inbox) .nu-empty h3 { font-size: 22px; letter-spacing: -.01em; }
body.tcx:is(.tcx-p-collections, .tcx-p-watchlist, .tcx-p-newprod, .tcx-p-notifications, .tcx-p-missions, .tcx-p-inbox) .nu-empty p { max-width: 400px; margin: 0 auto 24px; font-size: 15.5px; line-height: 1.5; }
body.tcx:is(.tcx-p-collections, .tcx-p-watchlist, .tcx-p-newprod, .tcx-p-notifications, .tcx-p-missions, .tcx-p-inbox) .nu-empty .nu-btn { padding: 14px 28px; font-size: 15px; }
body.tcx:is(.tcx-p-collections, .tcx-p-watchlist, .tcx-p-newprod, .tcx-p-notifications, .tcx-p-missions, .tcx-p-inbox) .nu-empty p:last-child { margin-bottom: 0; }

/* ---------- Catalogue ---------- */
body.tcx.tcx-p-collections:has(> .nu-catalogue-search) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    column-gap: 24px;
    align-content: start;
}
body.tcx.tcx-p-collections:has(> .nu-catalogue-search) > * { grid-column: 1 / -1; min-width: 0; }
body.tcx.tcx-p-collections:has(> .nu-catalogue-search) > .nu-topbar { grid-column: 1; order: 1; }
body.tcx.tcx-p-collections:has(> .nu-catalogue-search) > .nu-catalogue-search { grid-column: 2; order: 2; align-self: end; margin: 0 0 12px; }
body.tcx.tcx-p-collections:has(> .nu-catalogue-search) > .nu-overview { order: 3; }
body.tcx.tcx-p-collections:has(> .nu-catalogue-search) > .nu-wrap { order: 4; }
body.tcx.tcx-p-collections:has(> .nu-catalogue-search) > .nu-empty { order: 5; }
body.tcx.tcx-p-collections:has(> .nu-catalogue-search) > .tcx-footer { order: 99; }
body.tcx.tcx-p-collections .nu-catalogue-search input { height: 48px; padding-top: 0; padding-bottom: 0; border-radius: 99px; font-size: 15.5px; }
body.tcx.tcx-p-collections .nu-catalogue-search input:focus { outline: 0; border-color: var(--stroke-brand-strong); }
body.tcx.tcx-p-collections .nu-overview { margin: 0; padding: 26px 30px; border-radius: 20px; }
body.tcx.tcx-p-collections .nu-overview .nu-stats-grid { gap: 0; }
body.tcx.tcx-p-collections .nu-overview .nu-stat { padding: 0 30px; border-left: 1px solid var(--stroke); }
body.tcx.tcx-p-collections .nu-overview .nu-stat:first-child { padding-left: 0; border-left: 0; }
body.tcx.tcx-p-collections .nu-overview .nu-stat .s-val { margin-top: 0; font-size: 34px; letter-spacing: -.025em; }
body.tcx.tcx-p-collections .nu-overview .nu-stat .s-lbl { margin-top: 6px; font-size: 14.5px; }
body.tcx.tcx-p-collections .nu-wrap > .nu-section { margin-top: 24px !important; }
body.tcx.tcx-p-collections .nu-coll-list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

/* ---------- Collections hub ---------- */
body.tcx.tcx-p-hub .nu-flash { margin-top: 6px; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
body.tcx.tcx-p-hub .nu-hub-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 14px;
    padding-bottom: 0;
}
@media (min-width: 1100px) {
    body.tcx.tcx-p-hub .nu-hub-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
body.tcx.tcx-p-hub .nu-hub-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px;
    border-radius: 20px;
    transition: border-color .15s ease, transform .15s ease;
}
body.tcx.tcx-p-hub .nu-hub-action:hover { border-color: var(--stroke-brand); transform: translateY(-3px); }
body.tcx.tcx-p-hub .nu-hub-action[aria-expanded="true"] { border-color: var(--stroke-brand-strong); background: var(--grad-soft); }
body.tcx.tcx-p-hub .nu-hub-action .ha-ico { width: 54px; height: 54px; border-radius: 16px; }
body.tcx.tcx-p-hub .nu-hub-action .ha-ico svg { width: 26px; height: 26px; }
body.tcx.tcx-p-hub .nu-hub-action .ha-body strong { font-size: 18px; }
body.tcx.tcx-p-hub .nu-hub-action .ha-body small { margin-top: 8px; font-size: 14.5px; line-height: 1.45; }
body.tcx.tcx-p-hub .nu-hub-panel { box-sizing: border-box; max-width: 720px; margin-top: 22px; padding: 30px 32px; border-radius: 20px; }
body.tcx.tcx-p-hub .nu-hub-panel .hp-title { margin-bottom: 8px; font-size: 22px; letter-spacing: -.01em; }
body.tcx.tcx-p-hub .nu-hub-panel .hp-desc { margin-bottom: 22px; font-size: 15.5px; line-height: 1.5; }
body.tcx.tcx-p-hub .nu-hub-panel .nu-settings-form { gap: 8px; }
body.tcx.tcx-p-hub .nu-hub-panel .sf-label { margin-top: 6px; font-size: 14px; }
body.tcx.tcx-p-hub .nu-hub-panel .sf-input { padding: 14px 16px; border-radius: 14px; font-size: 16px; }
body.tcx.tcx-p-hub .nu-hub-panel .nu-btn { align-self: flex-start; width: auto; margin-top: 14px; padding: 14px 28px; }

/* ---------- Watchlist + New products ---------- */
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 0;
}
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card { min-height: 0; border-radius: 18px; transition: border-color .15s ease, transform .15s ease; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card:hover { border-color: var(--stroke-brand); transform: translateY(-3px); }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-body { padding: 14px 16px 16px; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-name { min-height: 38px; font-size: 15px; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-name:hover { color: var(--brand-2); }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-meta { margin-top: 10px; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-coll { margin-top: 8px; font-size: 13px; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-foot { gap: 10px; padding-top: 14px; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-owner-label,
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-owned { font-size: 13px; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-none { font-size: 12.5px; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-msg-btn { padding: 11px 12px; font-size: 13.5px; cursor: pointer; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-msg-btn:disabled { cursor: default; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .wc-match-badge { top: 12px; left: 12px; padding: 5px 10px; font-size: 11px; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .t-check { top: 12px; right: 12px; width: 34px; height: 34px; }
body.tcx:is(.tcx-p-watchlist, .tcx-p-newprod) .nu-watch-card .t-check svg { width: 16px; height: 16px; }
body.tcx.tcx-p-watchlist .nu-watchlist-banner { margin-top: 4px; padding: 20px 26px; border-radius: 18px; }
body.tcx.tcx-p-watchlist .nu-watchlist-banner strong { margin-bottom: 6px; font-size: 17px; }
body.tcx.tcx-p-watchlist .nu-watchlist-banner p { font-size: 15px; line-height: 1.5; }
body.tcx.tcx-p-newprod .nu-new-products-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 20px;
    margin-top: 4px;
    padding: 22px 26px;
    border-radius: 18px;
}
body.tcx.tcx-p-newprod .nu-new-products-filters > .npf-label { grid-column: 1; order: 1; margin: 0; font-size: 12.5px; }
body.tcx.tcx-p-newprod .nu-new-products-filters > .npf-actions { grid-column: 2; order: 2; flex-wrap: nowrap; margin: 0; }
body.tcx.tcx-p-newprod .nu-new-products-filters > .nu-filter-chips { grid-column: 1 / -1; order: 3; gap: 10px; }
body.tcx.tcx-p-newprod .nu-new-products-filters .nu-filter-chip { padding: 9px 18px; font-size: 14px; transition: border-color .15s ease; }
body.tcx.tcx-p-newprod .nu-new-products-filters .nu-filter-chip:not(.is-active):hover { border-color: var(--stroke-brand); }
body.tcx.tcx-p-newprod .nu-new-products-filters .npf-btn { width: auto; padding: 9px 18px; font-size: 13.5px; cursor: pointer; }

/* ---------- Push prompts (css/tca-push.css is not loaded by the shell) ---------- */
body.tcx .tca-push-banner:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 0;
    padding: 18px 22px;
    border: 1px solid var(--stroke-brand);
    border-radius: 16px;
    background: var(--grad-soft);
}
body.tcx .tca-push-banner__text { flex: 1 1 auto; margin: 0; font-size: 15px; line-height: 1.5; }
body.tcx .tca-push-banner__actions { display: flex; flex: 0 0 auto; gap: 10px; }
body.tcx .tca-push-banner__actions .nu-btn { width: auto; padding: 11px 20px; font-size: 14.5px; white-space: nowrap; cursor: pointer; }
body.tcx .tca-push-status:not([hidden]) { margin-top: 10px; margin-bottom: 0; font-size: 14px; }
body.tcx .tca-push-flash:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    margin-top: 12px;
    margin-bottom: 0;
    padding: 14px 18px;
    border: 1px solid var(--stroke-brand);
    border-radius: 14px;
    font-size: 14.5px;
}

/* ---------- Notifications ---------- */
body.tcx.tcx-p-notifications {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(760px, 100%) minmax(0, 1fr);
    align-content: start;
}
body.tcx.tcx-p-notifications > * { grid-column: 2; min-width: 0; }
body.tcx.tcx-p-notifications > .tcx-footer { grid-column: 1 / -1; order: 99; }
body.tcx.tcx-p-notifications > .nu-topbar { grid-row: 1; }
body.tcx.tcx-p-notifications > .nu-notif-actions {
    grid-row: 1;
    align-self: end;
    justify-self: end;
    padding-top: 0;
    padding-bottom: 12px;
}
body.tcx.tcx-p-notifications .nu-notif-actions .nu-btn { width: auto; padding: 10px 20px; font-size: 14.5px; cursor: pointer; }
body.tcx.tcx-p-notifications .nu-notif-actions .nu-btn:hover { border-color: var(--stroke-brand); }
body.tcx.tcx-p-notifications .nu-flash { margin-top: 12px; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
body.tcx.tcx-p-notifications > [data-nu-tour="notifications-list"] { margin-top: 18px; }
body.tcx.tcx-p-notifications [data-nu-tour="notifications-list"] > .nu-section { margin-top: 0; padding-bottom: 0; }
body.tcx.tcx-p-notifications .nu-notif-list { gap: 12px; }
body.tcx.tcx-p-notifications .nu-notif-row .nr-hit {
    align-items: center;
    gap: 18px;
    padding: 15px 22px;
    border-radius: 18px;
    transition: border-color .15s ease;
}
body.tcx.tcx-p-notifications .nu-notif-row .nr-hit:hover { border-color: var(--stroke-brand); }
body.tcx.tcx-p-notifications .nu-notif-row.is-unread .nr-hit:hover { border-color: var(--stroke-brand-strong); }
body.tcx.tcx-p-notifications .nu-notif-row .nr-ico { width: 46px; height: 46px; border-radius: 14px; }
body.tcx.tcx-p-notifications .nu-notif-row .nr-ico svg { width: 22px; height: 22px; }
body.tcx.tcx-p-notifications .nu-notif-row .nr-body { gap: 4px; }
body.tcx.tcx-p-notifications .nu-notif-row .nr-title { font-size: 15.5px; }
body.tcx.tcx-p-notifications .nu-notif-row .nr-msg { font-size: 14.5px; line-height: 1.45; }
body.tcx.tcx-p-notifications .nu-notif-row .nr-time { margin-top: 2px; font-size: 12.5px; }
body.tcx.tcx-p-notifications .nu-notif-row .nr-dot { width: 10px; height: 10px; margin-top: 0; }
body.tcx.tcx-p-notifications > .nu-section {
    order: 90;
    display: flex;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    margin-top: 28px;
    padding: 18px 22px;
    border: 1px dashed var(--stroke-strong);
    border-radius: 16px;
}
body.tcx.tcx-p-notifications > .nu-section .nu-btn { flex: 0 0 auto; width: auto !important; padding: 11px 20px; font-size: 14.5px; cursor: pointer; }
body.tcx.tcx-p-notifications > .nu-section > p { flex: 1 1 auto; margin: 0 !important; font-size: 14px !important; line-height: 1.45; }

/* ---------- Inbox ---------- */
body.tcx.tcx-p-inbox {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(760px, 100%) minmax(0, 1fr);
    align-content: start;
}
body.tcx.tcx-p-inbox > * { grid-column: 2; min-width: 0; }
body.tcx.tcx-p-inbox > .tcx-footer { grid-column: 1 / -1; order: 99; }
body.tcx.tcx-p-inbox .nu-flash { margin-top: 12px; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
body.tcx.tcx-p-inbox .nu-inbox-hint { margin-top: 6px; padding: 18px 22px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
body.tcx.tcx-p-inbox .nu-inbox-hint p { margin: 0; }
body.tcx.tcx-p-inbox .nu-inbox-hint a { margin-top: 10px; }
body.tcx:not(#tcx).tcx-p-inbox .nu-thread-list { gap: 12px; padding-top: 18px; padding-bottom: 0; }
body.tcx.tcx-p-inbox .nu-thread-row { gap: 18px; padding: 16px 22px; border-radius: 18px; transition: border-color .15s ease; }
body.tcx.tcx-p-inbox .nu-thread-row:hover { border-color: var(--stroke-brand); }
body.tcx.tcx-p-inbox .nu-thread-row .tr-ava { width: 52px; height: 52px; font-size: 18px; }
body.tcx.tcx-p-inbox .nu-thread-row .tr-name { font-size: 16px; }
body.tcx.tcx-p-inbox .nu-thread-row .tr-time { font-size: 13px; }
body.tcx.tcx-p-inbox .nu-thread-row .tr-preview { margin-top: 4px; font-size: 14.5px; }
body.tcx.tcx-p-inbox .nu-thread-row .tr-unread { min-width: 26px; height: 26px; font-size: 12.5px; }

/* Conversation: one card, messages scroll inside it, compose bar attached underneath. */
body.tcx.tcx-p-inbox .nu-inbox-context { margin-top: 6px; margin-bottom: 14px; padding: 12px 18px; border-radius: 14px; font-size: 14.5px; }
body.tcx:not(#tcx).tcx-p-inbox .nu-chat {
    box-sizing: border-box;
    gap: 14px;
    height: clamp(320px, calc(100vh - 470px), 660px);
    min-height: 0;
    max-height: none;
    padding: 26px 28px;
    border: 1px solid var(--stroke);
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    background: var(--surface);
}
body.tcx.tcx-p-inbox .nu-bubble { max-width: 72%; padding: 12px 16px; border-radius: 18px; }
body.tcx.tcx-p-inbox .nu-bubble .b-user { margin-bottom: 5px; font-size: 12.5px; }
body.tcx.tcx-p-inbox .nu-bubble .b-text { font-size: 15.5px; line-height: 1.5; }
body.tcx.tcx-p-inbox .nu-bubble .b-time { margin-top: 7px; font-size: 11.5px; }
body.tcx.tcx-p-inbox .nu-chat-compose {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    box-sizing: border-box;
    width: auto;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--stroke);
    border-radius: 0 0 20px 20px;
    background: var(--surface-2);
}
body.tcx.tcx-p-inbox .nu-chat-compose input { padding: 14px 20px; border-radius: 99px; font-family: inherit; font-size: 15.5px; }
body.tcx.tcx-p-inbox .nu-chat-compose input:focus { outline: 0; border-color: var(--stroke-brand-strong); }
body.tcx.tcx-p-inbox .nu-chat-compose button { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; }

/* New message */
body.tcx.tcx-p-inbox .nu-inbox-product { margin-top: 6px; padding: 22px 26px; border-radius: 18px; }
body.tcx.tcx-p-inbox .nu-inbox-product .ip-label { font-size: 12px; }
body.tcx.tcx-p-inbox .nu-inbox-product a { margin: 8px 0; font-size: 19px; }
body.tcx.tcx-p-inbox .nu-inbox-product p { font-size: 15px; line-height: 1.5; }
body.tcx:not(#tcx).tcx-p-inbox .nu-compose-form { gap: 10px; padding-top: 22px; padding-bottom: 8px; }
body.tcx.tcx-p-inbox .nu-compose-form .cf-label { font-size: 14px; }
body.tcx.tcx-p-inbox .nu-compose-form textarea { box-sizing: border-box; min-height: 200px; padding: 16px 18px; border-radius: 16px; font-family: inherit; font-size: 16px; }
body.tcx.tcx-p-inbox .nu-compose-form textarea:focus { outline: 0; border-color: var(--stroke-brand-strong); }
body.tcx.tcx-p-inbox .nu-compose-form .nu-btn { align-self: flex-start; width: auto; margin-top: 8px; padding: 14px 32px; cursor: pointer; }

/* ---------- Missions ---------- */
body.tcx.tcx-p-missions {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-content: start;
}
body.tcx.tcx-p-missions > * { grid-column: 1 / -1; min-width: 0; }
body.tcx.tcx-p-missions > .tcx-footer { order: 99; }
body.tcx.tcx-p-missions > .nu-topbar { grid-row: 1; }
body.tcx.tcx-p-missions > .nu-missions-hero { grid-row: 2; margin-top: 6px; }
body.tcx.tcx-p-missions > .nu-mission-next { grid-row: 3; margin-top: 24px; }
body.tcx.tcx-p-missions > .nu-missions-fuel { grid-row: 4; margin-top: 24px; }
@media (min-width: 1000px) {
    body.tcx.tcx-p-missions > .nu-missions-hero { grid-column: 1 / span 7; grid-row: 2 / span 2; margin-top: 6px; }
    body.tcx.tcx-p-missions > .nu-mission-next { grid-column: 8 / -1; grid-row: 2; margin-top: 6px; }
    body.tcx.tcx-p-missions > .nu-missions-fuel { grid-column: 8 / -1; grid-row: 3; margin-top: 24px; }
    body.tcx.tcx-p-missions:not(:has(> .nu-mission-next)) > .nu-missions-fuel { grid-row: 2 / span 2; align-self: start; margin-top: 6px; }
}
body.tcx.tcx-p-missions .nu-missions-hero { box-sizing: border-box; padding: 30px 32px; border-radius: 22px; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-top { align-items: center; gap: 20px; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-badge { width: 68px; height: 68px; border-radius: 20px; font-size: 34px; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-kicker { font-size: 12px; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-title { margin: 6px 0; font-size: 32px; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-sub { font-size: 15px; line-height: 1.45; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-ring-wrap .nu-ring { width: 92px !important; height: 92px !important; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-ring-wrap .nu-ring svg { width: 100%; height: 100%; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-ring-wrap .ring-num { font-size: 19px; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-copy { margin-top: 22px; font-size: 15.5px; }
body.tcx.tcx-p-missions .nu-missions-stats { gap: 14px; margin-top: 20px; }
body.tcx.tcx-p-missions .nu-missions-stats .ms { padding: 16px 10px; border-radius: 16px; }
body.tcx.tcx-p-missions .nu-missions-stats .ms-v { font-size: 26px; letter-spacing: -.02em; }
body.tcx.tcx-p-missions .nu-missions-stats .ms-l { margin-top: 4px; font-size: 13px; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-next { margin-top: 20px; padding-top: 18px; font-size: 14px; }
body.tcx.tcx-p-missions .nu-missions-hero .mh-next strong { font-size: 16px; }
body.tcx.tcx-p-missions .nu-mission-next { box-sizing: border-box; padding: 26px 28px; border-radius: 22px; }
body.tcx.tcx-p-missions .nu-mission-next .mn-label { margin-bottom: 14px; font-size: 12px; }
body.tcx.tcx-p-missions .nu-mission-next .mn-row { gap: 18px; }
body.tcx.tcx-p-missions .nu-mission-next .mn-icon { width: 52px; height: 52px; border-radius: 15px; }
body.tcx.tcx-p-missions .nu-mission-next h3 { margin-bottom: 6px; font-size: 19px; }
body.tcx.tcx-p-missions .nu-mission-next p { margin-bottom: 12px; font-size: 15px; line-height: 1.45; }
body.tcx.tcx-p-missions .nu-mission-next .mn-meta { margin-bottom: 4px; font-size: 13.5px; }
body.tcx.tcx-p-missions .nu-missions-fuel { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding: 22px 26px; border-radius: 22px; }
body.tcx.tcx-p-missions .nu-missions-fuel .mf-title { margin-bottom: 14px; font-size: 16px; }
body.tcx.tcx-p-missions .nu-missions-fuel .mf-grid { gap: 12px; }
body.tcx.tcx-p-missions .nu-missions-fuel .mf-grid div { padding: 14px 6px; border-radius: 14px; }
body.tcx.tcx-p-missions .nu-missions-fuel strong { font-size: 22px; letter-spacing: -.02em; }
body.tcx.tcx-p-missions .nu-missions-fuel span { margin-top: 3px; font-size: 13px; }

body.tcx.tcx-p-missions > .nu-wrap { padding-bottom: 0; }
body.tcx.tcx-p-missions > .nu-wrap > .nu-section { margin-top: 44px; }
body.tcx.tcx-p-missions > .nu-wrap .nu-section-head { margin-bottom: 18px; }
body.tcx.tcx-p-missions > .nu-wrap .nu-section-head h2 { font-size: 24px; letter-spacing: -.02em; }
body.tcx.tcx-p-missions > .nu-wrap .nu-section-head .nu-chip { margin-left: 14px; padding: 5px 12px; font-size: 13px; }
body.tcx.tcx-p-missions > .nu-wrap .nu-section-head:has(.nu-chip) { justify-content: flex-start; }
body.tcx.tcx-p-missions .nu-mission-list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); display: grid; gap: 16px; }
body.tcx.tcx-p-missions .nu-mission-card { gap: 16px; padding: 20px 22px; border-radius: 18px; }
body.tcx.tcx-p-missions .nu-mission-card .mc-icon { width: 46px; height: 46px; border-radius: 14px; }
body.tcx.tcx-p-missions .nu-mission-card .mc-title { font-size: 16.5px; }
body.tcx.tcx-p-missions .nu-mission-card .mc-desc { margin-top: 4px; font-size: 14px; line-height: 1.4; }
body.tcx.tcx-p-missions .nu-mission-card .mc-meta { margin-top: 14px; font-size: 13px; }
body.tcx.tcx-p-missions .nu-mission-card .mc-bar { margin-top: 8px; }
body.tcx.tcx-p-missions .nu-mission-card .mc-state { padding-top: 3px; font-size: 13px; }
body.tcx.tcx-p-missions .nu-mission-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
@media (max-width: 860px) {
  body.tcx.tcx-p-missions .nu-mission-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.tcx.tcx-p-missions .nu-mission-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
body.tcx.tcx-p-missions .nu-mission-action { gap: 16px; padding: 18px 22px; border-radius: 18px; transition: border-color .15s ease; }
body.tcx.tcx-p-missions .nu-mission-action:hover { border-color: var(--stroke-brand); }
body.tcx.tcx-p-missions .nu-mission-action.is-done:hover { border-color: rgba(16, 185, 129, 0.6); }
body.tcx.tcx-p-missions .nu-mission-action .ma-ico { width: 48px; height: 48px; border-radius: 14px; }
body.tcx.tcx-p-missions .nu-mission-action strong { font-size: 16px; }
body.tcx.tcx-p-missions .nu-mission-action small { margin-top: 3px; font-size: 14px; }
body.tcx.tcx-p-missions .nu-mission-action .ma-done { font-size: 12px; }
body.tcx:not(#tcx).tcx-p-missions .nu-level-road {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
    padding-top: 0;
    padding-bottom: 0;
}
body.tcx.tcx-p-missions .nu-level-node { min-height: 0; padding: 20px 20px 22px; border-radius: 18px; }
body.tcx.tcx-p-missions .nu-level-node .ln-chip { top: 14px; right: 14px; padding: 4px 10px; font-size: 10.5px; }
body.tcx.tcx-p-missions .nu-level-node .ln-icon { margin-top: 4px; font-size: 34px; }
body.tcx.tcx-p-missions .nu-level-node .ln-name { margin-top: 14px; font-size: 13px; }
body.tcx.tcx-p-missions .nu-level-node .ln-title { margin-top: 3px; font-size: 18px; }
body.tcx.tcx-p-missions .nu-level-node .ln-meta { margin-top: 8px; font-size: 13px; }
body.tcx.tcx-p-missions > .nu-level-road { margin-bottom: 8px; }

/* ---------- Settings ---------- */
body.tcx.tcx-p-settings .nu-flash { margin-top: 12px; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
body.tcx.tcx-p-settings .nu-settings { padding-top: 18px; }
@media (min-width: 900px) {
    body.tcx.tcx-p-settings .nu-settings { column-count: 2; column-gap: 24px; }
}
body.tcx.tcx-p-settings .nu-settings-block { box-sizing: border-box; break-inside: avoid; margin-bottom: 24px; padding: 26px 28px 28px; border-radius: 20px; }
body.tcx.tcx-p-settings #nuCollectionPrefs { column-span: all; }
body.tcx.tcx-p-settings .nu-settings-block .sb-title { margin-bottom: 8px; font-size: 19px; letter-spacing: -.01em; }
body.tcx.tcx-p-settings .nu-settings-block .sb-desc { margin-bottom: 18px; font-size: 14.5px; line-height: 1.5; }
body.tcx.tcx-p-settings .nu-settings-block .sb-title + .nu-settings-form { margin-top: 14px; }
body.tcx.tcx-p-settings .nu-settings-form { gap: 8px; }
body.tcx.tcx-p-settings .nu-settings-form .sf-label { font-size: 13.5px; }
body.tcx.tcx-p-settings .nu-settings-form .sf-label:not(:first-child) { margin-top: 6px; }
body.tcx.tcx-p-settings .nu-settings-form .sf-row { gap: 14px; }
body.tcx.tcx-p-settings .nu-settings-form .sf-row .sf-label { display: block; margin: 0 0 8px; }
body.tcx.tcx-p-settings .sf-input { box-sizing: border-box; padding: 13px 15px; border-radius: 12px; font-family: inherit; font-size: 15px; }
body.tcx.tcx-p-settings .nu-settings-form .nu-btn,
body.tcx.tcx-p-settings .nu-settings-block > .nu-btn { align-self: flex-start; width: auto; margin-top: 10px; padding: 12px 26px; border-radius: 13px; font-size: 14.5px; }
body.tcx.tcx-p-settings .sf-avatar { width: 96px; height: 96px; margin: 0 0 8px; }
body.tcx.tcx-p-settings .sf-avatar-fb { font-size: 34px; }
body.tcx.tcx-p-settings .sf-avatar-btn { padding: 18px 4px 6px; font-size: 10px; }
body.tcx.tcx-p-settings .nu-settings-textlink { margin-top: 16px; font-size: 14.5px; }
body.tcx.tcx-p-settings .nu-settings-link { padding: 16px 18px; border-radius: 14px; }
body.tcx.tcx-p-settings .nu-settings-link .sl-body strong { font-size: 15.5px; }
body.tcx.tcx-p-settings .nu-settings-link .sl-body small { margin-top: 4px; font-size: 13.5px; }
body.tcx.tcx-p-settings .nu-theme-preview { gap: 10px; margin-bottom: 12px; }
body.tcx.tcx-p-settings .nu-theme-preview .tp-chip { height: 34px; border-radius: 12px; }
body.tcx.tcx-p-settings .nu-pref-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
body.tcx.tcx-p-settings .nu-pref-card { padding: 16px 18px; border-radius: 16px; }
body.tcx.tcx-p-settings .nu-pref-card .pc-name { font-size: 15.5px; }
body.tcx.tcx-p-settings .nu-pref-card .pc-meta { margin-top: 4px; font-size: 13px; }
body.tcx.tcx-p-settings .nu-pref-card .pc-seg { gap: 8px; margin-top: 14px; }
body.tcx.tcx-p-settings .nu-pref-card .pc-seg-btn { padding: 10px 12px; border-radius: 11px; font-size: 13.5px; }
body.tcx.tcx-p-settings .nu-hidden-list { gap: 10px; }
body.tcx.tcx-p-settings .nu-hidden-list li { padding: 10px 12px 10px 16px; border-radius: 14px; font-size: 15px; }
body.tcx.tcx-p-settings .nu-settings-inline { margin: 0; }
body.tcx.tcx-p-settings .nu-settings-block > .nu-settings-inline { margin-bottom: 14px; }
body.tcx.tcx-p-settings .nu-settings-inline .nu-btn { width: auto; padding: 8px 18px; border-radius: 11px; font-size: 13.5px; }
body.tcx.tcx-p-settings .nu-settings-foot { column-span: all; margin: 16px 0 8px; padding: 0; }
body.tcx.tcx-p-settings .nu-settings-foot .nu-btn { width: auto; padding: 12px 30px; border-radius: 13px; font-size: 14.5px; }

/* ---------- Scan / add an item ---------- */
body.tcx.tcx-p-scan .nu-scan-page { display: flex; flex-direction: column; box-sizing: border-box; max-width: 820px; margin: 0 auto; padding-top: 10px; }
body.tcx.tcx-p-scan .nu-scan-page.has-search .nu-search-box { order: 1; margin-top: 0; }
body.tcx.tcx-p-scan .nu-scan-page.has-search .nu-scan-outcomes { order: 2; padding-top: 18px; }
body.tcx.tcx-p-scan .nu-scan-manual { padding: 0 0 18px; gap: 12px; }
body.tcx.tcx-p-scan .nu-scan-manual-input { box-sizing: border-box; padding: 15px 18px; border-radius: 14px; font-family: inherit; font-size: 16px; }
body.tcx.tcx-p-scan .nu-scan-manual .nu-btn { min-width: 124px; padding: 0 26px; border-radius: 14px; font-size: 15px; }
body.tcx.tcx-p-scan .nu-scan-stage { height: clamp(300px, 46vh, 430px); max-height: none; border: 1px solid var(--stroke); border-radius: 22px; box-shadow: var(--shadow); }
body.tcx.tcx-p-scan .nu-scan-status { bottom: 22px; font-size: 14px; }
body.tcx.tcx-p-scan .nu-scan-cam-row { padding: 18px 0 0; }
body.tcx.tcx-p-scan .nu-scan-cam-btn { min-width: 200px; padding: 13px 28px; border-radius: 14px; font-size: 15px; }
body.tcx.tcx-p-scan .nu-search-box { margin: 28px 0 0; }
body.tcx.tcx-p-scan .nu-search-box input { box-sizing: border-box; padding: 15px 18px 15px 48px; border-radius: 14px; font-family: inherit; font-size: 16px; }
body.tcx.tcx-p-scan .nu-search-box svg { left: 17px; }
body.tcx.tcx-p-scan .nu-scan-tip { margin-top: 20px; }
body.tcx.tcx-p-scan .nu-scan-tip p { font-size: 14px; line-height: 1.6; }
body.tcx.tcx-p-scan .nu-scan-outcomes { padding-top: 0; }
body.tcx.tcx-p-scan #nuResults > .nu-result { margin-bottom: 12px; padding: 14px 16px; gap: 16px; border-radius: 16px; }
body.tcx.tcx-p-scan .nu-result .res-img { width: 60px; height: 60px; border-radius: 14px; }
body.tcx.tcx-p-scan .nu-result .res-name { font-size: 15.5px; }
body.tcx.tcx-p-scan .nu-result .res-coll { margin-top: 3px; font-size: 13.5px; }
body.tcx.tcx-p-scan .nu-result .res-add { width: 44px; height: 44px; border-radius: 13px; cursor: pointer; }
body.tcx.tcx-p-scan .nu-scan-search-empty { padding: 28px 10px 20px; }
body.tcx.tcx-p-scan .nu-scan-search-empty h3 { font-size: 18px; }
body.tcx.tcx-p-scan .nu-scan-search-empty p { margin-bottom: 0; font-size: 15px; }

/* Match / miss / multi cards */
body.tcx.tcx-p-scan .nu-scan-hit { box-sizing: border-box; padding: 28px 30px 30px; border-radius: 22px; }
body.tcx.tcx-p-scan .nu-scan-hit--multi { padding: 0; }
body.tcx.tcx-p-scan .nu-scan-hit__badge { margin-bottom: 18px; padding: 7px 13px; font-size: 12.5px; }
body.tcx.tcx-p-scan .nu-scan-hit__main { gap: 22px; margin-bottom: 22px; }
body.tcx.tcx-p-scan .nu-scan-hit__img { width: 132px; height: 132px; border-radius: 20px; padding: 10px; }
body.tcx.tcx-p-scan .nu-scan-hit__name { font-size: 25px; }
body.tcx.tcx-p-scan .nu-scan-hit__coll { margin-top: 8px; font-size: 15px; }
body.tcx.tcx-p-scan .nu-scan-hit__meta { margin-top: 5px; font-size: 14px; }
body.tcx.tcx-p-scan .nu-scan-hit__lead { margin-bottom: 18px; font-size: 15px; line-height: 1.5; }
body.tcx.tcx-p-scan .nu-scan-hit .nu-btn { width: auto; padding: 13px 24px; border-radius: 14px; font-size: 15px; }
body.tcx.tcx-p-scan .nu-scan-hit__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.tcx.tcx-p-scan .nu-scan-hit__actions .nu-btn { width: 100%; }
body.tcx.tcx-p-scan .nu-scan-diff { margin-top: 22px; padding-top: 22px; }
body.tcx.tcx-p-scan .nu-scan-diff__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
body.tcx.tcx-p-scan .nu-scan-diff__tabs .nu-btn { width: 100%; }
body.tcx.tcx-p-scan .nu-scan-request { gap: 10px; margin-top: 10px; }
body.tcx.tcx-p-scan .nu-scan-diff .nu-scan-request { margin-top: 0; }
body.tcx.tcx-p-scan .nu-scan-request__label { margin-top: 6px; font-size: 13.5px; }
body.tcx.tcx-p-scan .nu-scan-request__select,
body.tcx.tcx-p-scan .nu-scan-request input.nu-scan-manual-input { box-sizing: border-box; padding: 13px 16px; border-radius: 13px; font-family: inherit; font-size: 15.5px; }
body.tcx.tcx-p-scan .nu-scan-request__status { font-size: 14px; }
body.tcx.tcx-p-scan .nu-scan-request > .nu-btn { justify-self: start; margin-top: 8px; }
body.tcx.tcx-p-scan .nu-scan-request__file { font-family: inherit; font-size: 14.5px; color: var(--muted); }
body.tcx.tcx-p-scan .nu-scan-request__file::file-selector-button { margin-right: 14px; padding: 9px 18px; border: 1px solid var(--stroke-strong); border-radius: 11px; background: var(--surface-2); color: var(--text); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
body.tcx.tcx-p-scan .nu-scan-link-hint { margin: -4px 0 2px; font-size: 13.5px; }
body.tcx.tcx-p-scan .nu-scan-link-search { gap: 12px; }
body.tcx.tcx-p-scan .nu-scan-link-search .nu-btn { min-width: 110px; padding: 0 22px; }
body.tcx.tcx-p-scan .nu-scan-link-results { gap: 10px; max-height: 300px; padding: 2px 0; }
body.tcx.tcx-p-scan .nu-scan-link-empty { padding: 14px 8px; font-size: 14.5px; }
body.tcx.tcx-p-scan .nu-scan-link-pick { gap: 14px; padding: 11px 14px; border-radius: 14px; cursor: pointer; }
body.tcx.tcx-p-scan .nu-scan-link-pick img { width: 50px; height: 50px; }
body.tcx.tcx-p-scan .nu-scan-link-pick strong { font-size: 15px; }
body.tcx.tcx-p-scan .nu-scan-link-pick small { font-size: 13px; }
body.tcx.tcx-p-scan .nu-scan-new-toggle { margin-top: 18px; }
body.tcx.tcx-p-scan .nu-scan-new-panel { margin-top: 14px; padding-top: 6px; }
body.tcx.tcx-p-scan .nu-scan-miss .nu-scan-again,
body.tcx.tcx-p-scan .nu-scan-hit--multi .nu-scan-again { margin-top: 14px; }
body.tcx.tcx-p-scan .nu-scan-hit--multi .nu-scan-hit__list { gap: 12px; margin-bottom: 14px; }

/* ============================================================
   9. Overlays: Zach chat panel and the guest sign-up dialog
   ============================================================ */
/* Zach is a corner chat panel rather than a phone bottom sheet. */
body.tcx .nu-agent-backdrop { background: rgb(4 10 24 / 38%); }
body.tcx .nu-agent-sheet {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: min(420px, calc(100vw - 48px));
    height: min(620px, calc(100dvh - var(--tcx-head-h) - 40px));
    max-height: none;
    padding-bottom: 0;
    border: 1px solid var(--stroke-brand);
    border-radius: 20px;
    box-shadow: 0 28px 70px -28px rgb(0 0 0 / 60%);
    transform: translateY(calc(100% + 48px));
}
body.tcx .nu-agent-root.is-open .nu-agent-sheet,
body.tcx .nu-agent-root.is-keyboard-open .nu-agent-sheet { transform: none; border-radius: 20px; }
body.tcx .nu-agent-log { min-height: 0; }
body.tcx .nu-agent-form button[type="submit"] { color: var(--tcx-on-brand); }
body.tcx .nu-agent-form input,
body.tcx .nu-agent-form input::placeholder { text-overflow: ellipsis; }

/* Sign-up prompt for guests: a centred dialog. */
body.tcx .nu-guest-gate { align-items: center; padding: 24px; }
body.tcx .nu-guest-gate-sheet {
    width: min(100%, 460px);
    padding: 28px 28px 22px;
    border: 1px solid var(--stroke-brand-soft);
    border-radius: 22px;
    box-shadow: 0 28px 70px -28px rgb(0 0 0 / 60%);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(14px);
}
body.tcx .nu-guest-gate.is-open .nu-guest-gate-sheet { transform: none; }
body.tcx .nu-guest-gate-handle { display: none; }
body.tcx .nu-guest-gate-close { top: 16px; right: 16px; }
body.tcx .nu-guest-gate-title { font-size: 1.5rem; }
body.tcx .nu-guest-gate-copy { font-size: 15px; }

/* Variant picker, ownership evidence and badge details: centred dialogs too. */
body.tcx :is(.nu-evidence-sheet, .nu-variant-sheet, .nu-badge-sheet) {
    align-items: center;
    padding: 24px;
}
body.tcx :is(.nu-evidence-panel, .nu-variant-panel, .nu-badge-sheet-panel) {
    width: min(100%, 480px);
    max-height: min(720px, calc(100dvh - 48px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--stroke-brand-soft);
    border-radius: 22px;
    box-shadow: 0 28px 70px -28px rgb(0 0 0 / 60%);
    transform: translateY(14px);
}
body.tcx .nu-badge-sheet-panel { width: min(100%, 420px); }
body.tcx :is(.nu-evidence-sheet, .nu-variant-sheet, .nu-badge-sheet).is-open
    :is(.nu-evidence-panel, .nu-variant-panel, .nu-badge-sheet-panel) { transform: none; }
body.tcx :is(.nu-evidence-close, .nu-variant-close, .nu-badge-sheet-close) { top: 16px; right: 16px; cursor: pointer; }
body.tcx .nu-evidence-file::file-selector-button { margin-right: 14px; padding: 7px 16px; border: 1px solid var(--stroke-strong); border-radius: 10px; background: var(--surface-2); color: var(--text); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }

/* Short landscape windows (a phone turned sideways): the header scrolls away
   with the page instead of eating a sixth of the screen. */
@media (max-height: 520px) {
    body.tcx { --tcx-stick: 0px; }
    body.tcx .tcx-header { position: absolute; }
    body.tcx .nu-fab,
    body.tcx .nu-fab:hover,
    body.tcx .nu-fab:active { bottom: 14px; width: 54px; height: 54px; }
    body.tcx .nu-toast { bottom: 82px; }
    body.tcx .nu-agent-sheet { height: min(620px, calc(100dvh - 48px)); }
    body.tcx .nu-guest-gate-sheet { padding: 22px 24px 18px; }
}
