/* ============ L2Spot — новый дизайн (превью) ============ */
/* Изолированный стиль для страницы /new-design.
   Переопределяет общие классы .home-dash / .smart-search / .flow-scheme
   только внутри .nd-page — на основной сайт не влияет. */

/* ---------- HEADER (только на /new-design) ---------- */
body.nd-body .toggled {
    height: auto !important;
    min-height: 0 !important;
}
body.nd-body::after {
    background: rgba(0, 0, 0, 0.42);
}
body.nd-body header {
    width: calc(100% - 24px);
    max-width: 1150px;
    margin: 10px auto 0;
    height: 64px;
    padding: 8px 18px;
    border-radius: .7rem;
    border: 1px solid rgba(254,124,0,.28);
    background: rgba(14,12,18,.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0,0,0,.45);
}
body.nd-body header .logo img {
    height: 42px !important;
    max-width: 170px;
}
body.nd-body nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
}
body.nd-body nav ul li {
    margin-right: 0;
}
body.nd-body nav ul li a {
    height: auto;
    line-height: 1.2;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(245,240,232,.88);
    background: transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
body.nd-body nav ul li a:hover {
    transform: none;
    background: rgba(255,255,255,.06);
    border-color: rgba(254,124,0,.35);
    color: #ffb45c;
}
body.nd-body .nav-quick-add-link {
    background: linear-gradient(180deg, #ff9a2f, #fe7c00) !important;
    border-color: rgba(255,180,92,.55) !important;
    color: #1a120c !important;
    box-shadow: 0 0 16px rgba(254,124,0,.28);
}
body.nd-body .nav-quick-add-link:hover {
    background: linear-gradient(180deg, #ffad4d, #ff8a14) !important;
    color: #1a120c !important;
}
body.nd-body .qa-badge {
    background: rgba(0,0,0,.28) !important;
    color: #fff2e2 !important;
}
body.nd-body header.scrolled {
    background: rgba(14,12,18,.9);
}

.nd-page {
    margin-top: 8px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---------- HERO: текст прямо на фоне сайта, без своей «коробки» ---------- */
.nd-hero {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: visible;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0 18px;
    background: none !important;
    border: none;
    box-shadow: none;
}
.nd-hero__bg,
.nd-hero__vignette {
    display: none !important;
}
.nd-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
    background: none !important;
    border: none;
    box-shadow: none;
}
.nd-hero__title {
    font-family: Montserrat, serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.22;
    letter-spacing: .01em;
    color: #f5f0e8;
    margin: 0 0 12px;
    text-shadow: 0 2px 18px rgba(0,0,0,.9), 0 0 40px rgba(0,0,0,.45);
}
.nd-hero__title span {
    display: inline;
    color: #ff9a2f;
    text-shadow: 0 2px 18px rgba(0,0,0,.85), 0 0 24px rgba(254,124,0,.35);
}
.nd-hero__subtitle {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(245,240,232,.88);
    margin: 0 auto;
    max-width: 520px;
    text-shadow: 0 1px 12px rgba(0,0,0,.9);
}

/* ---------- AI SEARCH (по центру) ---------- */
.nd-search {
    padding: 8px 0 4px;
}
.nd-search__inner {
    position: relative;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}
.nd-search .smart-search {
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
}
.nd-search .smart-search__glow { display: none; }
.nd-search .smart-search__head { display: none; }
.nd-search .smart-search__form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10,9,14,.85);
    border: 1px solid rgba(254,124,0,.6);
    border-radius: 999px;
    padding: 9px 9px 9px 60px;
    box-shadow: 0 0 26px rgba(254,124,0,.16), inset 0 0 0 1px rgba(254,124,0,.08);
}
.nd-search__bot {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 28%, #d8dbe1, #7a7e88 55%, #35373e 100%);
    border: 1px solid rgba(255,180,92,.55);
    box-shadow: 0 0 8px rgba(254,124,0,.4), inset 0 1px 2px rgba(255,255,255,.35);
    z-index: 2;
}
.nd-search__bot svg {
    width: 17px;
    height: 17px;
    color: #ff9a2f;
    filter: drop-shadow(0 0 3px rgba(254,124,0,.8));
}
.nd-search .smart-search__input {
    flex: 1;
    background: none;
    border: none;
    resize: none;
    overflow: hidden;
    min-height: 24px;
    max-height: 24px;
    padding: 9px 4px;
    font-size: 13px;
    line-height: 1.35;
    color: #f0f0f0;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.nd-search .smart-search__input:focus {
    outline: none;
    box-shadow: none;
    white-space: normal;
    max-height: 46px;
}
.nd-search .smart-search__btn {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 9px 20px;
    background: linear-gradient(180deg, #ff9a2f, #fe7c00);
    border: none;
    color: #1a120c;
    font-weight: 700;
    font-family: Montserrat, serif;
}
.nd-search .smart-search__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.nd-search .smart-search__results,
.nd-search .smart-search__reply {
    max-width: 760px;
    margin: 10px auto 0;
    text-align: left;
}

/* ---------- HOW IT WORKS (reused flow-scheme, restyled) ---------- */
.nd-flow .flow-scheme {
    margin: 0;
}
.nd-flow .flow-scheme__icon {
    box-shadow: 0 0 0 4px rgba(254,124,0,.08), 0 0 16px rgba(254,124,0,.35);
}

/* ---------- STATS + TOP3 (reused home-dash) ---------- */
.nd-stats .home-dash { margin: 0; }
.nd-stats .home-dash__stat {
    display: grid;
    grid-template-columns: 26px 1fr;
    column-gap: 10px;
    align-items: center;
    text-align: left;
    padding: 12px 10px;
}
.nd-stats .home-dash__icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 22px;
    height: 22px;
    margin: 0;
}
.nd-stats .home-dash__num {
    grid-column: 2;
    grid-row: 1;
    font-size: 19px;
}
.nd-stats .home-dash__label {
    grid-column: 2;
    grid-row: 2;
    margin-top: 1px;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: .04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nd-stats .home-dash__stat:nth-child(1) .home-dash__icon { color: #ff6b9d; }
.nd-stats .home-dash__stat:nth-child(2) .home-dash__icon { color: #7ea6ff; }
.nd-stats .home-dash__stat:nth-child(5) .home-dash__icon { color: #3ddbc4; }
.nd-stats .home-dash__stat:nth-child(6) .home-dash__icon { color: #ffd76a; }

/* ---------- DASHBOARD LAYOUT ---------- */
.nd-dash {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 18px;
    align-items: start;
}
.nd-sidebar {
    border-radius: .65rem;
    border: 1px solid rgba(254,124,0,.22);
    background: rgb(25 23 38 / 56%);
    padding: 14px;
}
.nd-sidebar .sidebar {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding-top: 0;
}
.nd-sidebar .bookmark-window {
    width: 100%;
    margin-bottom: 12px;
}
.nd-sidebar .bookmark-window button {
    background: transparent;
    border: 1px dashed rgba(255,255,255,.16);
    color: rgba(236,236,236,.5);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 6px 8px;
}
.nd-sidebar .bookmark-window button:hover {
    border-color: rgba(254,124,0,.5);
    color: #ffb45c;
    background: transparent;
}
.nd-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 14px;
}
.nd-sidebar__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Montserrat, serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffb45c;
    margin: 0;
}
.nd-sidebar__title svg {
    width: 16px;
    height: 16px;
    color: #ffb45c;
}
.nd-sidebar__reset {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(236,236,236,.5);
    text-decoration: none;
    transition: color .15s ease;
}
.nd-sidebar__reset svg { width: 12px; height: 12px; }
.nd-sidebar__reset:hover { color: #ffb45c; }

/* ---------- FILTER FORM ---------- */
.nd-filter-form { margin-bottom: 6px; }
.nd-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}
.nd-filter-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.nd-filter-field label {
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(236,236,236,.45);
}
.nd-sidebar select.chron_filter,
.nd-sidebar select.rate_filter {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    color-scheme: dark;
    background-color: #1a1218;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffb45c" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    border: 1px solid rgba(254,124,0,.35);
    border-radius: .4rem;
    padding: 7px 26px 7px 9px;
    font-size: 12px;
    color: #ececec;
    font-family: inherit;
    box-sizing: border-box;
}
.nd-sidebar select.chron_filter:focus,
.nd-sidebar select.rate_filter:focus {
    outline: none;
    border-color: rgba(254,124,0,.75);
    background-color: #22161c;
}
.nd-sidebar select.chron_filter option,
.nd-sidebar select.rate_filter option {
    background-color: #1a1218;
    color: #ececec;
}
.nd-sidebar select.chron_filter option:checked,
.nd-sidebar select.rate_filter option:checked,
.nd-sidebar select.chron_filter option:hover,
.nd-sidebar select.rate_filter option:hover {
    background-color: #3a2418;
    color: #ffb45c;
}
.nd-sidebar .btn_filter {
    width: 100%;
    border: none;
    border-radius: .4rem;
    padding: 9px;
    background: linear-gradient(180deg, #ff9a2f, #fe7c00);
    color: #1a120c;
    font-weight: 700;
    font-family: Montserrat, serif;
    font-size: 12px;
    cursor: pointer;
    margin-bottom: 4px;
}

/* ---------- CHRONICLE CHIPS (denser grid) ---------- */
.nd-sidebar .chronicles-title {
    text-align: left;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(236,236,236,.45);
    margin: 14px 0 8px;
}
.nd-sidebar .mini-block-chron {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding-top: 0;
}
.nd-sidebar .alert-chron {
    border-radius: .35rem;
    height: 24px;
}
.nd-sidebar .server-date-chron {
    font-size: 11px;
}
.nd-sidebar .mini-block-chron-rate {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding-top: 0;
    margin-bottom: 8px;
}
.nd-sidebar .rates-toggle {
    width: 100%;
    margin: 4px 0 10px;
    padding: 7px 10px;
    border-radius: 6px;
    border: 1px solid rgba(254,124,0,.3);
    background: transparent;
    color: #ffb45c;
    font-size: 12px;
    cursor: pointer;
}
.nd-filter-banner {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: .5rem;
    border: 1px solid rgba(254,124,0,.35);
    background: rgba(254,124,0,.12);
    color: #ffb45c;
    font-weight: 700;
    font-size: 14px;
}

.nd-banner-frame {
    position: relative;
    margin-top: 18px;
    padding: 8px;
    border: 1px solid rgba(254,124,0,.35);
    border-radius: .4rem;
}
.nd-banner-frame__label {
    text-align: center;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(236,236,236,.35);
    margin-bottom: 6px;
}
.nd-banner-frame::before,
.nd-banner-frame::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #ffb45c;
    opacity: .85;
}
.nd-banner-frame::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}
.nd-banner-frame::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}
.nd-banner-frame .sidebar-ad,
.nd-banner-frame img {
    display: block;
    width: 100%;
}
.nd-main {
    border-radius: .65rem;
    border: 1px solid rgba(254,124,0,.22);
    background: rgb(25 23 38 / 40%);
    padding: 14px 16px 18px;
    min-height: 400px;
}

/* ---------- TABS ---------- */
.nd-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 10px;
}
.nd-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: .5rem;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.03);
    color: rgba(236,236,236,.75);
    font-family: Montserrat, serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s ease;
}
.nd-tab.is-active {
    border-color: rgba(254,124,0,.55);
    background: rgba(254,124,0,.14);
    color: #ffb45c;
}
.nd-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-size: 11px;
    color: rgba(236,236,236,.8);
}
.nd-tab.is-active .nd-tab__count {
    background: rgba(254,124,0,.35);
    color: #fff2e2;
}

.nd-tabpanel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nd-tabpanel[hidden] {
    display: none;
}

/* ---------- BUCKET ---------- */
.nd-bucket {
    border-radius: .55rem;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
    overflow: hidden;
}
.nd-bucket__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(254,124,0,.08);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.nd-bucket__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #ffb45c;
}
.nd-bucket__icon svg { width: 100%; height: 100%; }
.nd-bucket__title {
    flex: 1;
    font-family: Montserrat, serif;
    font-weight: 700;
    font-size: 13px;
    color: #f0e6d8;
}
.nd-bucket__count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(254,124,0,.25);
    color: #ffd9a8;
    font-size: 11px;
    font-weight: 700;
}
.nd-bucket__body {
    padding: 4px 6px;
}
.nd-bucket__body--scroll {
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(254,124,0,.55) rgba(255,255,255,.06);
}
.nd-bucket__empty {
    padding: 14px 8px;
    text-align: center;
    font-size: 12px;
    color: rgba(236,236,236,.4);
}

/* ---------- TABLE HEADER ---------- */
.nd-thead {
    display: grid;
    grid-template-columns: 26px minmax(0,1.4fr) 110px 72px 48px 88px 64px;
    align-items: center;
    gap: 10px;
    padding: 0 14px 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(254,124,0,.2);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,180,92,.55);
}
.nd-thead[hidden] { display: none !important; }
.nd-thead span:nth-child(3),
.nd-thead span:nth-child(4),
.nd-thead span:nth-child(5) { text-align: center; }
.nd-thead span:nth-child(6),
.nd-thead span:nth-child(7) { text-align: right; }

/* ---------- ROW ---------- */
.nd-row {
    display: grid;
    grid-template-columns: 26px minmax(0,1.4fr) 110px 72px 48px 88px 64px;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: .35rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .12s ease;
}
.nd-row:last-child { border-bottom: none; }
.nd-row:hover { background: rgba(255,255,255,.04); }
.nd-row__num {
    font-size: 11px;
    font-weight: 700;
    color: rgba(236,236,236,.35);
    text-align: center;
}
.nd-row__chron-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}
.nd-row__anns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(236,236,236,.75);
}
.nd-row__anns svg {
    width: 12px;
    height: 12px;
    color: #ffb45c;
}
.nd-row__anns-vip {
    color: #ff9a2f;
    font-size: 10px;
}
.nd-row__ai {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 2px 6px;
    border-radius: .3rem;
    font-size: 12px;
    font-weight: 800;
    font-family: Montserrat, serif;
    color: rgba(236,236,236,.45);
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.2);
    text-align: center;
}
.nd-row__ai--mid {
    color: #ffb45c;
    border-color: rgba(254,124,0,.4);
    background: rgba(254,124,0,.12);
}
.nd-row__ai--high {
    color: #ffd76a;
    border-color: rgba(255,215,106,.5);
    background: rgba(255,215,106,.12);
}
.nd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: .3rem;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
}
.nd-badge--vip {
    background: rgba(254,124,0,.22);
    color: #ffb45c;
    border: 1px solid rgba(254,124,0,.5);
}
.nd-badge--open {
    background: rgba(70,190,120,.16);
    color: #7fd9a0;
    border: 1px solid rgba(70,190,120,.4);
}
.nd-row__name {
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nd-row__name:hover { color: #ffb45c; }
.nd-row__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: .3rem;
    font-size: 10px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nd-row__tag--chron {
    color: #a9c6ff;
    background: rgba(90,140,255,.12);
    border: 1px solid rgba(90,140,255,.28);
}
.nd-row__tag--rate {
    color: #ffb45c;
    background: rgba(254,124,0,.12);
    border: 1px solid rgba(254,124,0,.3);
}
.nd-row__icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}
.nd-row__icon { width: 16px; height: 16px; object-fit: contain; }
.nd-row__icon--wide { width: 22px; height: 16px; }
.nd-row__date {
    font-size: 14px;
    font-weight: 800;
    font-family: Montserrat, serif;
    color: #ffb45c;
    text-align: right;
    white-space: nowrap;
    letter-spacing: .02em;
    text-shadow: 0 0 10px rgba(254,124,0,.35);
}

/* ---------- AI RANKING TAB ---------- */
.nd-rank {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: visible;
}
.nd-rank__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    font-family: Montserrat, serif;
    font-weight: 700;
    font-size: 15px;
    color: #ffb45c;
}
.nd-rank__hint {
    font-size: 11px;
    font-weight: 500;
    color: rgba(236,236,236,.45);
    letter-spacing: .02em;
}
.nd-rank__thead {
    display: grid;
    grid-template-columns: 36px minmax(0,1.5fr) 90px 70px 70px 100px;
    gap: 10px;
    padding: 0 12px 8px;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,180,92,.55);
    border-bottom: 1px solid rgba(254,124,0,.2);
}
.nd-rank__row {
    display: grid;
    grid-template-columns: 36px minmax(0,1.5fr) 90px 70px 70px 100px;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: .45rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: background .12s ease, border-color .12s ease;
    overflow: visible;
    position: relative;
}
.nd-rank__row:hover {
    background: rgba(254,124,0,.08);
    border-color: rgba(254,124,0,.28);
}
.nd-rank__pos {
    font-family: Montserrat, serif;
    font-weight: 800;
    font-size: 14px;
    color: rgba(236,236,236,.4);
    text-align: center;
}
.nd-rank__pos--top { color: #ffb45c; }
.nd-rank__name-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nd-rank__name {
    font-weight: 700;
    font-size: 13px;
    color: #f0f0f0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nd-rank__why {
    font-size: 11px;
    color: rgba(236,236,236,.45);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nd-rank__budget {
    font-size: 12px;
    font-weight: 700;
    color: #9ad0ff;
    text-align: center;
}
.nd-budget {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    z-index: 1;
}
.nd-budget__main {
    border-bottom: 1px dotted rgba(154,208,255,.55);
}
.nd-budget__pop {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    min-width: 168px;
    padding: 10px 12px;
    border-radius: .5rem;
    border: 1px solid rgba(90,180,255,.45);
    background: linear-gradient(160deg, rgba(24,28,40,.98), rgba(16,18,28,.98));
    box-shadow: 0 12px 28px rgba(0,0,0,.45);
    z-index: 40;
    text-align: left;
    pointer-events: none;
}
.nd-budget:hover,
.nd-budget:focus-within { z-index: 50; }
.nd-budget:hover .nd-budget__pop,
.nd-budget:focus-within .nd-budget__pop { display: block; }
.nd-budget__pop-title {
    display: block;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(154,208,255,.7);
    margin-bottom: 6px;
}
.nd-budget__pop-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 12px;
    color: #e8eef8;
    padding: 2px 0;
}
.nd-budget__pop-row b {
    color: rgba(154,208,255,.9);
    font-weight: 700;
    min-width: 36px;
}
.nd-budget__pop-note {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    color: rgba(236,236,236,.4);
}
.nd-rank__score-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.nd-rank__score {
    font-family: Montserrat, serif;
    font-weight: 800;
    font-size: 16px;
    color: #ffd76a;
}
.nd-rank__bar {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}
.nd-rank__bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #fe7c00, #ffd76a);
}

@media (max-width: 900px) {
    body.nd-body header {
        width: calc(100% - 16px);
        margin: 8px auto 0;
        height: auto;
        min-height: 56px;
        flex-wrap: wrap;
        padding: 8px 12px;
    }
    .nd-page { margin-top: 12px; }
    .nd-dash { grid-template-columns: 1fr; }
    .nd-hero__title { font-size: 26px; }
    .nd-thead { display: none; }
    .nd-row {
        grid-template-columns: 18px 1fr auto auto;
        row-gap: 4px;
    }
    .nd-row__anns, .nd-row__icons, .nd-row__ai { display: none; }
    .nd-rank__thead { display: none; }
    .nd-rank__row {
        grid-template-columns: 28px 1fr auto;
    }
    .nd-rank__row .nd-row__tag--chron,
    .nd-rank__row .nd-row__anns,
    .nd-rank__budget { display: none; }
}
