* {
    box-sizing: border-box;
}

:root {
    --bg: #050907;
    --panel: #0a110d;
    --panel-2: #0d1711;
    --border: #1a2b21;
    --border-soft: #132019;
    --text: #eef8f1;
    --muted: #8da297;
    --muted-2: #63776c;
    --accent: #46f58b;
    --accent-2: #1ecb68;
    --accent-soft: rgba(70, 245, 139, .10);
    --positive: #61d77a;
    --negative: #ff756b;
    --amber: #ffc861;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at 50% -10%, #10261a 0, #050907 35%);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body {
    min-width: 0;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

.app-shell {
    min-height: 100vh;
}

/* =========================
   CRYPTO RADAR NAVIGATION
   ========================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 max(28px, calc((100vw - 1500px) / 2));
    border-bottom: 1px solid var(--border);
    background: rgba(5, 9, 7, .92);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}

.brand b {
    color: var(--accent);
    font-size: 11px;
}

.radar {
    color: var(--accent);
    font-size: 24px;
    line-height: 1;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 0 auto;
    white-space: nowrap;
}

.desktop-nav a {
    position: relative;
    padding: 25px 0 23px;
    color: #a9b9b0;
    text-decoration: none;
    font-size: 13px;
    transition: color .15s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #fff;
}

.desktop-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(70, 245, 139, .45);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.market-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(70, 245, 139, .72);
}

.mobile-menu-button {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0b120e;
    color: #d9e7df;
    font-size: 21px;
}

.mobile-nav {
    display: none;
}

/* =========================
   PAGE
   ========================= */

.content {
    width: min(1500px, calc(100% - 56px));
    margin: 0 auto;
    padding: 42px 0 54px;
}

.hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.hero-kicker {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.15px;
}

.hero h1 {
    margin: 0;
    color: #f5fff8;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -1.2px;
}

.hero p {
    max-width: 690px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.universe {
    min-width: 185px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(10, 17, 13, .72);
    text-align: right;
}

.universe span {
    display: block;
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.universe strong {
    display: block;
    margin-top: 5px;
    color: #e9f7ee;
    font-size: 13px;
}

/* =========================
   TOOLBAR
   ========================= */

.toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(10, 17, 13, .92);
    box-shadow: 0 14px 45px rgba(0, 0, 0, .14);
}

.setup-controls {
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
}

.setup-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
}

.setup-select {
    width: 180px;
    height: 40px;
    padding: 0 32px 0 11px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background: #07100b;
    color: var(--text);
    font-size: 12px;
}

.setup-select:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 2px rgba(70, 245, 139, .07);
}

.setup-save-button,
.setup-menu-button {
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #0b120e;
    color: var(--text);
    font-size: 12px;
}

.setup-save-button {
    padding: 0 13px;
}

.setup-save-button:hover,
.setup-menu-button:hover {
    border-color: #2b6543;
    background: var(--accent-soft);
}

.setup-menu-wrap {
    position: relative;
}

.setup-menu-button {
    width: 40px;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}

.toolbar-divider {
    width: 1px;
    height: 28px;
    margin: 0 3px;
    background: var(--border);
}

.search-box {
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #07100b;
}

.search-icon {
    color: var(--muted);
}

.search-box input {
    width: 100%;
    height: 38px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 12px;
}

.search-box input::placeholder {
    color: var(--muted-2);
}

.filter-button,
.reset-button {
    height: 40px;
    border-radius: 8px;
    padding: 0 15px;
}

.filter-button {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #021107;
    font-size: 12px;
    font-weight: 800;
}

.filter-button:hover {
    background: #5bfa99;
}

.reset-button {
    margin-left: auto;
    border: 1px solid var(--border);
    background: #0b120e;
    color: #c4d3ca;
    font-size: 12px;
}

.reset-button:hover {
    border-color: #345441;
    color: #fff;
}

/* =========================
   ACTIVE FILTERS
   ========================= */

.active-filters {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 11px 2px;
}

.filter-label {
    margin-right: 3px;
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .75px;
}

.empty-filter-state {
    color: var(--muted-2);
    font-size: 11px;
}

#filterChips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px 6px 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--panel-2);
    font-size: 10px;
}

.filter-chip span {
    color: var(--muted);
}

.filter-chip strong {
    font-weight: 650;
}

.filter-chip em {
    padding: 2px 5px;
    border-radius: 4px;
    background: var(--accent-soft);
    color: var(--accent);
    font-style: normal;
}

.filter-chip button {
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: var(--muted-2);
}

.configured-chip {
    max-width: 460px;
}

.configured-chip span {
    overflow: hidden;
    color: #c9d8cf;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================
   RESULTS
   ========================= */

.results-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(10, 17, 13, .94);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .16);
}

.results-header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
}

.results-header strong {
    color: #f0faf3;
    font-size: 13px;
}

.results-header span {
    margin-left: 8px;
    color: var(--muted);
    font-size: 10px;
}

.results-note {
    color: var(--muted-2);
    font-size: 10px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    white-space: nowrap;
}

th {
    height: 42px;
    padding: 0 14px;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 9, 7, .32);
    color: var(--muted-2);
    text-align: left;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
}

td {
    height: 64px;
    padding: 0 14px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 12px;
}

tbody tr {
    transition: background .15s ease;
}

tbody tr:hover {
    background: rgba(70, 245, 139, .025);
}

tbody tr:last-child td {
    border-bottom: 0;
}

.symbol-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid #24402f;
    border-radius: 50%;
    background: #0d1b12;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
}

.symbol-cell strong {
    display: block;
    font-size: 12px;
}

.symbol-cell span {
    display: block;
    margin-top: 2px;
    color: var(--muted-2);
    font-size: 9px;
}

.number {
    font-variant-numeric: tabular-nums;
}

.positive {
    color: var(--positive);
}

.negative {
    color: var(--negative);
}

.indicator-state {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
}

.indicator-state.bullish {
    background: rgba(97, 215, 122, .11);
    color: var(--positive);
}

.indicator-state.bearish {
    background: rgba(255, 117, 107, .11);
    color: var(--negative);
}

td small {
    margin-left: 5px;
    color: var(--muted-2);
    font-size: 9px;
}

/* =========================
   SETUP MENU
   ========================= */

.setup-menu {
    position: absolute;
    z-index: 90;
    top: 46px;
    right: 0;
    width: 155px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--panel-2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}

.setup-menu.hidden,
.hidden {
    display: none !important;
}

.setup-menu button {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text);
    text-align: left;
    font-size: 12px;
}

.setup-menu button:hover {
    background: var(--accent-soft);
}

.setup-menu button.danger {
    color: var(--negative);
}

/* =========================
   FILTER DRAWER
   ========================= */

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, .66);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 110;
    width: min(520px, 94vw);
    height: 100vh;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
    background: #08100b;
    box-shadow: -24px 0 70px rgba(0, 0, 0, .48);
    transform: translateX(102%);
    transition: transform .2s ease;
}

.filter-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.drawer-header h2 {
    margin: 0;
    font-size: 18px;
}

.drawer-header p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #0d1711;
    color: var(--muted);
    font-size: 20px;
}

.drawer-close:hover {
    border-color: #345441;
    color: #fff;
}

.drawer-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 20px 24px;
}

.filter-search {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #050b07;
    color: var(--muted);
}

.filter-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 12px;
}

.filter-category {
    margin-bottom: 22px;
}

.category-title {
    margin: 0 0 8px 4px;
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.category-items {
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 9px;
    background: #0b140e;
}

.catalog-filter {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    border: 0;
    border-bottom: 1px solid var(--border-soft);
    background: transparent;
    color: #d7e5dc;
    text-align: left;
    font-size: 11px;
}

.catalog-filter:last-child {
    border-bottom: 0;
}

.catalog-filter:hover {
    background: var(--accent-soft);
    color: #fff;
}

.catalog-filter b {
    color: #5f7668;
    font-size: 17px;
    font-weight: 400;
}

.config-back {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-size: 11px;
}

.config-heading {
    margin: 24px 0 26px;
}

.config-heading span {
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.config-heading h3 {
    margin: 6px 0 5px;
    font-size: 20px;
}

.config-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.config-field {
    margin-bottom: 18px;
}

.config-field > label {
    display: block;
    margin-bottom: 7px;
    color: #91a59a;
    font-size: 10px;
    font-weight: 650;
}

.config-field select,
.config-field input[type="number"] {
    width: 100%;
    height: 42px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: 0;
    background: #050b07;
    color: var(--text);
    font-size: 12px;
}

.config-field select:focus,
.config-field input[type="number"]:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 2px rgba(70, 245, 139, .06);
}

.value-with-unit {
    position: relative;
}

.value-with-unit input {
    padding-right: 72px !important;
}

.value-unit {
    position: absolute;
    top: 50%;
    right: 12px;
    color: var(--muted-2);
    font-size: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    margin: 0 !important;
    cursor: pointer;
}

.checkbox-row input {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
}

.age-panel {
    margin: -4px 0 20px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0b140e;
}

.age-panel .config-field:last-child {
    margin-bottom: 0;
}

.config-preview {
    margin-top: 26px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0b140e;
}

.config-preview span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.config-preview strong {
    display: block;
    color: #dbe9e0;
    font-size: 11px;
    line-height: 1.5;
}

.preview-error {
    color: var(--negative) !important;
}

.drawer-footer {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding: 13px 20px;
    border-top: 1px solid var(--border);
    background: #07100b;
}

.cancel-config,
.add-config {
    height: 40px;
    padding: 0 17px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.cancel-config {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
}

.add-config {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #021107;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1250px) {
    .desktop-nav {
        gap: 15px;
    }

    .desktop-nav a {
        font-size: 12px;
    }

    .market-status span:last-child {
        display: none;
    }
}

@media (max-width: 1050px) {
    .desktop-nav {
        display: none;
    }

    .topbar {
        justify-content: space-between;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        padding: 10px 16px 16px;
        border-bottom: 1px solid var(--border);
        background: rgba(5, 9, 7, .98);
        box-shadow: 0 18px 35px rgba(0, 0, 0, .35);
    }

    .mobile-nav.open {
        display: grid;
    }

    .mobile-nav a {
        padding: 12px 10px;
        border-bottom: 1px solid var(--border-soft);
        color: #a9b9b0;
        text-decoration: none;
        font-size: 13px;
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
    }

    .mobile-nav a.active {
        color: var(--accent);
        font-weight: 700;
    }

    .toolbar {
        flex-wrap: wrap;
    }

    .setup-controls {
        width: 100%;
    }

    .setup-select {
        flex: 1;
        width: auto;
    }

    .toolbar-divider {
        display: none;
    }
}

@media (max-width: 800px) {
    .topbar {
        min-height: 64px;
        padding: 0 16px;
    }

    .brand {
        gap: 5px;
        font-size: 12px;
    }

    .brand b {
        font-size: 9px;
    }

    .radar {
        font-size: 21px;
    }

    .mobile-nav {
        top: 64px;
    }

    .content {
        width: calc(100% - 24px);
        padding: 26px 0 38px;
    }

    .hero {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero p {
        font-size: 12px;
    }

    .universe {
        min-width: 0;
        width: 100%;
        text-align: left;
    }

    .toolbar {
        align-items: stretch;
        flex-direction: column;
        padding: 10px;
    }

    .setup-controls {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        width: 100%;
    }

    .setup-select {
        width: 100%;
        min-width: 0;
    }

    .search-box {
        width: 100%;
        min-width: 0;
    }

    .filter-button,
    .reset-button {
        width: 100%;
        margin-left: 0;
    }

    .results-header {
        padding: 0 12px;
    }

    .results-note {
        display: none;
    }

    .active-filters {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .configured-chip {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .market-status {
        display: none;
    }

    .brand-main {
        letter-spacing: .02em;
    }

    .filter-drawer {
        width: 100%;
    }

    .drawer-header {
        min-height: 70px;
        padding: 14px 15px;
    }

    .drawer-body {
        padding: 15px 15px 22px;
    }

    .drawer-footer {
        padding: 12px 15px;
    }

    .cancel-config,
    .add-config {
        flex: 1;
    }

    table {
        min-width: 820px;
    }

    th,
    td {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 430px) {
    .brand {
        font-size: 11px;
    }

    .brand b {
        font-size: 8px;
    }

    .setup-controls {
        grid-template-columns: 1fr auto auto;
    }

    .setup-label {
        grid-column: 1 / -1;
    }

    .hero h1 {
        font-size: 28px;
    }
}

/* ==========================================================
   PREMIUM / TRIAL UNLOCK MODAL
   Preview visitor-access experience
   ========================================================== */

.premium-unlock-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.premium-unlock-overlay.hidden {
    display: none;
}

.premium-unlock-modal {
    position: relative;
    width: min(100%, 520px);
    padding: 34px 30px 30px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(70, 245, 139, 0.28);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(70, 245, 139, 0.13),
            transparent 42%
        ),
        #0a110d;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.62),
        0 0 45px rgba(70, 245, 139, 0.07);
}

.premium-unlock-close {
    position: absolute;
    top: 13px;
    right: 15px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8da297;
    font-size: 27px;
    line-height: 34px;
    cursor: pointer;
}

.premium-unlock-close:hover {
    color: #eef8f1;
    background: rgba(255, 255, 255, 0.05);
}

.premium-unlock-icon {
    margin-bottom: 13px;
    font-size: 34px;
}

.premium-unlock-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 15px;
    padding: 5px 11px;
    border: 1px solid rgba(70, 245, 139, 0.28);
    border-radius: 999px;
    background: rgba(70, 245, 139, 0.08);
    color: #46f58b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.premium-unlock-modal h2 {
    margin: 0 0 12px;
    color: #eef8f1;
    font-size: clamp(25px, 4vw, 32px);
    line-height: 1.15;
}

.premium-unlock-modal p {
    max-width: 430px;
    margin: 0 auto;
    color: #a9b9b0;
    font-size: 15px;
    line-height: 1.65;
}

.premium-unlock-modal .premium-unlock-subtext {
    margin-top: 8px;
    color: #eef8f1;
    font-weight: 650;
}

.premium-unlock-actions {
    display: flex;
    gap: 11px;
    margin-top: 25px;
}

.premium-unlock-primary,
.premium-unlock-secondary {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition:
        transform 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.premium-unlock-primary {
    border: 1px solid #46f58b;
    background: #46f58b;
    color: #041008;
}

.premium-unlock-primary:hover {
    transform: translateY(-1px);
    background: #63f79d;
}

.premium-unlock-secondary {
    border: 1px solid #294235;
    background: #0d1711;
    color: #eef8f1;
}

.premium-unlock-secondary:hover {
    transform: translateY(-1px);
    border-color: #46f58b;
}

body.premium-modal-open {
    overflow: hidden;
}

@media (max-width: 560px) {
    .premium-unlock-modal {
        padding: 31px 20px 22px;
        border-radius: 18px;
    }

    .premium-unlock-actions {
        flex-direction: column;
    }

    .premium-unlock-primary,
    .premium-unlock-secondary {
        width: 100%;
    }
}

/* ==========================================================
   VISITOR PREMIUM FILTER LOCKS
   ========================================================== */

.catalog-filter.premium-filter-locked {
    position: relative;
    padding-right: 54px;
    cursor: pointer;
}

.catalog-filter.premium-filter-locked::after {
    content: "Premium";
    position: absolute;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
    color: #46f58b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.catalog-filter.premium-filter-locked:hover::after {
    opacity: 0.78;
}

.premium-filter-lock {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(70, 245, 139, 0.20);
    border-radius: 7px;
    background: rgba(70, 245, 139, 0.06);
    font-size: 12px;
}

.catalog-filter.premium-filter-locked:hover {
    border-color: rgba(70, 245, 139, 0.24);
    background: rgba(70, 245, 139, 0.035);
}

@media (max-width: 600px) {
    .catalog-filter.premium-filter-locked::after {
        display: none;
    }

    .catalog-filter.premium-filter-locked {
        padding-right: 48px;
    }
}


/* ==========================================================
   SCREENER ACCOUNT CONTROLS
   ========================================================== */

.screener-account-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.screener-account-actions a,
.screener-account-actions button {
    font: inherit;
}

.account-login,
.account-link {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.account-login:hover,
.account-link:hover {
    color: var(--green);
}

.account-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid var(--green);
    border-radius: 9px;
    background: var(--green);
    color: #041008;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.account-logout-form {
    display: inline-flex;
    margin: 0;
}

.account-logout {
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    min-height: 38px;
    padding: 0 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.account-logout:hover {
    border-color: var(--green);
    color: var(--green);
}

.screener-mobile-account-actions {
    display: none;
}

@media (max-width: 900px) {
    .screener-account-actions {
        display: none;
    }

    .screener-mobile-account-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px solid var(--line);
    }

    .screener-mobile-account-actions .account-trial {
        min-height: 36px;
    }

    .screener-mobile-account-actions .account-logout {
        min-height: 36px;
    }
}


/* ==========================================================
   SCREENER ACCOUNT CONTROLS
   ========================================================== */

.screener-account-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.screener-account-actions a,
.screener-account-actions button {
    font: inherit;
}

.account-login,
.account-link {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.account-login:hover,
.account-link:hover {
    color: var(--green);
}

.account-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid var(--green);
    border-radius: 9px;
    background: var(--green);
    color: #041008;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.account-logout-form {
    display: inline-flex;
    margin: 0;
}

.account-logout {
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    min-height: 38px;
    padding: 0 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.account-logout:hover {
    border-color: var(--green);
    color: var(--green);
}

.screener-mobile-account-actions {
    display: none;
}

@media (max-width: 900px) {
    .screener-account-actions {
        display: none;
    }

    .screener-mobile-account-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px solid var(--line);
    }

    .screener-mobile-account-actions .account-trial {
        min-height: 36px;
    }

    .screener-mobile-account-actions .account-logout {
        min-height: 36px;
    }
}



/* WEBSITE_HEADER_PREVIEW_V1 */
.cr-site-nav{
  position:sticky;
  top:0;
  z-index:100;
  height:72px;
  min-height:72px;
  display:flex;
  align-items:center;
  gap:34px;
  padding:0 max(28px,calc((100vw - 1240px)/2));
  background:rgba(5,9,7,.9);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}

.cr-site-nav .brand{
  display:flex;
  align-items:center;
  gap:7px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.04em;
  white-space:nowrap;
}

.cr-site-nav .brand b{
  color:var(--green);
}

.cr-site-nav .radar{
  color:var(--green);
}

.cr-site-nav nav{
  display:flex;
  align-items:center;
  gap:25px;
  margin-left:auto;
}

.cr-site-nav nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.cr-site-nav nav a:hover,
.cr-site-nav nav a.active{
  color:#fff;
}

.cr-site-nav .actions{
  display:flex;
  align-items:center;
  gap:9px;
  white-space:nowrap;
}

.cr-site-nav .actions a,
.cr-site-nav .actions button{
  font:inherit;
}

.cr-site-nav .ghost,
.cr-site-nav .primary,
.cr-site-nav .linkbtn,
.cr-site-nav .account-login,
.cr-site-nav .account-trial,
.cr-site-nav .account-link,
.cr-site-nav .account-logout{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 14px;
  border-radius:8px;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.cr-site-nav .ghost,
.cr-site-nav .account-login,
.cr-site-nav .account-link{
  color:#eef8f1;
  border:1px solid #294034;
  background:#0b120e;
}

.cr-site-nav .primary,
.cr-site-nav .account-trial,
.cr-site-nav .account-logout{
  color:#031008;
  border:1px solid var(--green);
  background:var(--green);
}

.cr-site-nav .inlineform,
.cr-site-nav .account-form{
  display:inline;
  margin:0;
}

.cr-site-nav .mobile-menu-btn{
  display:none;
}

@media(max-width:1100px){
  .cr-site-nav nav{
    display:none;
  }

  .cr-site-nav .mobile-menu-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left:auto;
    width:42px;
    height:42px;
    flex:0 0 42px;
    padding:0;
    border:1px solid var(--line);
    border-radius:9px;
    background:#0b120e;
    color:#fff;
    font-size:23px;
    cursor:pointer;
  }

  .cr-site-nav>.actions{
    display:none;
  }

  .cr-site-nav.mobile-open{
    height:auto;
    min-height:72px;
    flex-wrap:wrap;
    padding-bottom:14px;
  }

  .cr-site-nav.mobile-open nav{
    display:flex;
    order:3;
    width:100%;
    margin:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    border-top:1px solid var(--line);
  }

  .cr-site-nav.mobile-open nav a{
    display:block;
    padding:11px 4px;
    border-bottom:1px solid var(--line);
  }

  .cr-site-nav.mobile-open>.actions{
    display:grid;
    order:4;
    width:100%;
    grid-template-columns:1fr 1fr;
    gap:9px;
    padding-top:10px;
  }

  .cr-site-nav.mobile-open>.actions>a,
  .cr-site-nav.mobile-open>.actions>form,
  .cr-site-nav.mobile-open>.actions button{
    width:100%;
  }
}

@media(max-width:700px){
  .cr-site-nav{
    min-height:64px;
    height:64px;
    padding:0 14px;
    gap:8px;
  }

  .cr-site-nav .brand{
    font-size:12px;
    gap:5px;
  }

  .cr-site-nav .brand b{
    display:none;
  }

  .cr-site-nav .radar{
    font-size:21px;
  }

  .cr-site-nav .mobile-menu-btn{
    width:40px;
    height:40px;
    flex-basis:40px;
    font-size:21px;
  }

  .cr-site-nav.mobile-open{
    padding-bottom:12px;
    box-shadow:0 14px 30px rgba(0,0,0,.35);
  }

  .cr-site-nav.mobile-open nav a{
    padding:12px 4px;
    font-size:14px;
  }
}
/* WEBSITE_HEADER_PREVIEW_V1_END */

/* SCREENER_PAGINATION_V1_BEGIN */

.screener-pagination{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:16px 18px;
    border-top:1px solid rgba(70,245,139,.10);
    background:#09110c;
    flex-wrap:wrap;
}

.screener-pagination-size{
    display:flex;
    align-items:center;
    gap:9px;
    color:#8da297;
    font-size:13px;
    font-weight:700;
}

.screener-pagination-size select{
    min-width:68px;
    height:38px;
    padding:0 28px 0 11px;
    border:1px solid #1a2b21;
    border-radius:9px;
    background:#07100b;
    color:#eef8f1;
    font:inherit;
    cursor:pointer;
}

.screener-pagination-info{
    color:#8da297;
    font-size:13px;
    white-space:nowrap;
}

.screener-pagination-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    flex-wrap:wrap;
}

.screener-page-button{
    min-width:38px;
    height:38px;
    padding:0 11px;
    border:1px solid #1a2b21;
    border-radius:9px;
    background:#07100b;
    color:#c9d8cf;
    font-weight:700;
    cursor:pointer;
    transition:
        border-color .16s ease,
        background .16s ease,
        color .16s ease;
}

.screener-page-button:hover:not(:disabled){
    border-color:rgba(70,245,139,.45);
    color:#46f58b;
}

.screener-page-button.active{
    background:#46f58b;
    border-color:#46f58b;
    color:#041008;
}

.screener-page-button:disabled{
    opacity:.35;
    cursor:default;
}

.screener-page-ellipsis{
    color:#6f8277;
    padding:0 3px;
}

@media(max-width:700px){

    .screener-pagination{
        align-items:stretch;
        padding:14px;
        gap:12px;
    }

    .screener-pagination-size{
        order:1;
    }

    .screener-pagination-info{
        order:2;
        margin-left:auto;
        display:flex;
        align-items:center;
    }

    .screener-pagination-nav{
        order:3;
        width:100%;
        justify-content:center;
    }

    .screener-page-button{
        min-width:36px;
        height:38px;
        padding:0 9px;
    }
}

/* SCREENER_PAGINATION_V1_END */
