:root {
    --bg: #101214;
    --panel: #171b1f;
    --panel-2: #1e2429;
    --line: #33404a;
    --text: #f2f6f8;
    --muted: #9aa8b2;
    --cyan: #54d7e8;
    --green: #63d489;
    --amber: #e7b95e;
    --red: #f27b7b;
    --violet: #a98df2;
    --shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
    --font-ui: "Rajdhani", "Segoe UI", Arial, sans-serif;
    --font-display: "Orbitron", "Rajdhani", "Segoe UI", Arial, sans-serif;
}

.activity-content {
    gap: 22px;
}

.activity-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.activity-stat-card {
    min-height: 108px;
    padding: 17px 18px;
}

.activity-stat-card strong {
    color: #f4fbff;
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.activity-grid-small {
    align-items: start;
}

.activity-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(84, 215, 232, 0.14);
    border-radius: 8px;
    background: rgba(6, 16, 27, 0.82);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.activity-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.activity-panel h2 {
    margin: 0;
    color: #f4fbff;
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.1;
}

.activity-panel > header span {
    color: #25d3ed;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.activity-table-wrap {
    overflow-x: auto;
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
    color: #d8e6ef;
    font-size: 13px;
}

.activity-table th,
.activity-table td {
    padding: 10px 9px;
    border-bottom: 1px solid rgba(84, 215, 232, 0.09);
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.activity-table th {
    color: #8fa1b3;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.activity-table td:nth-child(5) {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-table .severity-warning td:nth-child(2),
.activity-table .severity-error td:nth-child(2) {
    color: #f5c65d;
}

.activity-list {
    display: grid;
    gap: 9px;
}

.activity-list div {
    min-height: 38px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border-radius: 7px;
    background: rgba(12, 26, 40, 0.72);
}

.activity-list strong {
    overflow: hidden;
    color: #dcecf5;
    font-size: 13px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-list span {
    color: #f5c65d;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 850;
}

.activity-list p {
    margin: 0;
    color: #8fa1b3;
}

@media (max-width: 1180px) {
    .activity-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .activity-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .activity-stat-card {
        min-height: 92px;
    }

    .activity-stat-card strong {
        font-size: 25px;
    }

    .activity-panel {
        padding: 14px;
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
}

button,
input {
    font: inherit;
}

a {
    color: var(--cyan);
}

.auth-vault-page {
    --vault-size: 33.7vw;
    --vault-center-x: 50.12vw;
    --vault-center-y: 49.73vh;
    color-scheme: dark;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #05080d;
}

.auth-vault-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
}

.auth-vault-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.vault-auth-stage {
    position: absolute;
    z-index: 1;
    top: var(--vault-center-y);
    left: var(--vault-center-x);
    width: var(--vault-size);
    height: var(--vault-size);
    border-radius: 50%;
    isolation: isolate;
    transform: translate(-50%, -50%);
}

.vault-door,
.vault-panel {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.vault-door {
    z-index: 1;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 900ms ease,
        transform 1050ms cubic-bezier(0.16, 0.86, 0.27, 1),
        filter 900ms ease;
}

.vault-panel {
    z-index: 6;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 35%, #28333f 0%, #172230 48%, #0a141f 76%, #050c15 100%);
    border: 3px solid rgba(198, 148, 60, 0.7);
    box-shadow:
        inset 0 0 70px rgba(0, 0, 0, 0.94),
        0 0 40px rgba(84, 215, 232, 0.45);
    backdrop-filter: none;
    transition:
        opacity 1000ms ease,
        transform 1150ms cubic-bezier(0.16, 0.86, 0.27, 1),
        filter 1000ms ease;
}

.vault-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 15%, rgba(130, 185, 235, 0.16), transparent 50%);
    pointer-events: none;
}

.vault-coin-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 58%, rgba(245, 177, 61, 0.08), transparent 38%),
        radial-gradient(circle at 50% 52%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42) 78%);
}

.vault-coin-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    background:
        radial-gradient(circle at 50% 52%, rgba(6, 12, 21, 0.72) 24%, rgba(6, 12, 21, 0.3) 58%, transparent 80%);
    pointer-events: none;
}

.coin-token {
    --coin-size: 16%;
    --coin-duration: 20s;
    --coin-delay: 0s;
    --coin-from-x: -4px;
    --coin-from-y: 4px;
    --coin-to-x: 4px;
    --coin-to-y: -4px;
    --coin-rotate-from: -2deg;
    --coin-rotate-to: 2deg;
    --coin-scale: 1;
    --coin-scale-to: 1.04;
    position: absolute;
    display: block;
    width: calc(var(--coin-size) * 0.8);
    aspect-ratio: 1;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
    filter:
        saturate(1.08)
        contrast(0.96)
        brightness(0.86)
        drop-shadow(0 8px 16px rgba(0, 0, 0, 0.42));
    user-select: none;
    will-change: transform;
    animation: vault-token-rain var(--coin-duration) ease-in-out infinite;
    animation-delay: var(--coin-delay);
    z-index: 1;
}

.coin-token::after {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: inherit;
    background: radial-gradient(circle at 34% 26%, rgba(255, 255, 210, 0.34), transparent 32%);
    opacity: 0.42;
    pointer-events: none;
}

.coin-token-1 {
    --coin-size: 17%;
    --coin-duration: 23s;
    --coin-from-x: -5px;
    --coin-from-y: 4px;
    --coin-to-x: 6px;
    --coin-to-y: -7px;
    --coin-rotate-from: -4deg;
    --coin-rotate-to: 3deg;
    background-image: url("../images/coins/01-bitcoin.png");
    left: 9%;
    top: 13%;
}

.coin-token-2 {
    --coin-size: 14%;
    --coin-duration: 19s;
    --coin-delay: -4s;
    --coin-from-x: 5px;
    --coin-from-y: -3px;
    --coin-to-x: -5px;
    --coin-to-y: 6px;
    --coin-rotate-from: 3deg;
    --coin-rotate-to: -3deg;
    background-image: url("../images/coins/02-ethereum.png");
    left: 38%;
    top: 8%;
}

.coin-token-3 {
    --coin-size: 16%;
    --coin-duration: 25s;
    --coin-delay: -8s;
    --coin-rotate-from: 2deg;
    --coin-rotate-to: -4deg;
    background-image: url("../images/coins/03-ripple.png");
    right: 7%;
    top: 29%;
}

.coin-token-4 {
    --coin-size: 12%;
    --coin-duration: 18s;
    --coin-delay: -2s;
    --coin-rotate-from: -3deg;
    --coin-rotate-to: 4deg;
    background-image: url("../images/coins/04-dash.png");
    left: 6%;
    top: 49%;
}

.coin-token-5 {
    --coin-size: 15%;
    --coin-duration: 21s;
    --coin-delay: -9s;
    --coin-rotate-from: 4deg;
    --coin-rotate-to: -2deg;
    background-image: url("../images/coins/07-ethereum-classic.png");
    right: 13%;
    top: 46%;
}

.coin-token-6 {
    --coin-size: 12%;
    --coin-duration: 27s;
    --coin-delay: -6s;
    --coin-rotate-from: -2deg;
    --coin-rotate-to: 3deg;
    background-image: url("../images/coins/08-ripple-globe.png");
    left: 22%;
    top: 30%;
}

.coin-token-7 {
    --coin-size: 13%;
    --coin-duration: 22s;
    --coin-delay: -11s;
    --coin-rotate-from: 3deg;
    --coin-rotate-to: -4deg;
    background-image: url("../images/coins/11-decred.png");
    right: 28%;
    top: 25%;
}

.coin-token-8 {
    --coin-size: 15%;
    --coin-duration: 24s;
    --coin-delay: -5s;
    --coin-rotate-from: -5deg;
    --coin-rotate-to: 2deg;
    background-image: url("../images/coins/12-cardano.png");
    left: 17%;
    bottom: 8%;
}

.coin-token-9 {
    --coin-size: 17%;
    --coin-duration: 26s;
    --coin-delay: -12s;
    --coin-rotate-from: 2deg;
    --coin-rotate-to: -5deg;
    background-image: url("../images/coins/14-litecoin.png");
    right: 24%;
    bottom: 6%;
}

.coin-token-10 {
    --coin-size: 13%;
    --coin-duration: 20s;
    --coin-delay: -7s;
    --coin-rotate-from: -4deg;
    --coin-rotate-to: 4deg;
    background-image: url("../images/coins/15-monero.png");
    left: 48%;
    bottom: 13%;
}

.coin-token-11 {
    --coin-size: 11%;
    --coin-duration: 17s;
    --coin-delay: -3s;
    --coin-rotate-from: 4deg;
    --coin-rotate-to: -3deg;
    background-image: url("../images/coins/18-tron.png");
    left: 53%;
    top: 18%;
}

.coin-token-12 {
    --coin-size: 11%;
    --coin-duration: 22s;
    --coin-delay: -10s;
    --coin-rotate-from: -2deg;
    --coin-rotate-to: 5deg;
    background-image: url("../images/coins/19-zcash.png");
    right: 42%;
    bottom: 26%;
}

.coin-token-13 {
    --coin-size: 13%;
    --coin-duration: 20s;
    --coin-delay: -13s;
    --coin-rotate-from: 3deg;
    --coin-rotate-to: -4deg;
    background-image: url("../images/coins/20-rocket.png");
    right: 12%;
    bottom: 24%;
}

.coin-token-soft {
    z-index: 0;
    filter:
        saturate(0.86)
        contrast(0.82)
        brightness(0.46)
        drop-shadow(0 6px 12px rgba(0, 0, 0, 0.36));
}

.coin-token-14 {
    --coin-size: 9%;
    --coin-duration: 18s;
    --coin-delay: -4s;
    --coin-from-x: -3px;
    --coin-from-y: -7px;
    --coin-to-x: 5px;
    --coin-to-y: 12px;
    --coin-rotate-from: -3deg;
    --coin-rotate-to: 4deg;
    background-image: url("../images/coins/01-bitcoin.png");
    left: 38%;
    top: 34%;
}

.coin-token-15 {
    --coin-size: 8%;
    --coin-duration: 21s;
    --coin-delay: -11s;
    --coin-from-x: 4px;
    --coin-from-y: -9px;
    --coin-to-x: -4px;
    --coin-to-y: 14px;
    --coin-rotate-from: 4deg;
    --coin-rotate-to: -5deg;
    background-image: url("../images/coins/02-ethereum.png");
    right: 37%;
    top: 39%;
}

.coin-token-16 {
    --coin-size: 10%;
    --coin-duration: 24s;
    --coin-delay: -17s;
    --coin-from-x: -2px;
    --coin-from-y: -6px;
    --coin-to-x: 3px;
    --coin-to-y: 16px;
    --coin-rotate-from: -2deg;
    --coin-rotate-to: 5deg;
    background-image: url("../images/coins/12-cardano.png");
    left: 45%;
    bottom: 34%;
}

.coin-token-17 {
    --coin-size: 8%;
    --coin-duration: 19s;
    --coin-delay: -8s;
    --coin-from-x: 3px;
    --coin-from-y: -8px;
    --coin-to-x: -3px;
    --coin-to-y: 13px;
    --coin-rotate-from: 5deg;
    --coin-rotate-to: -3deg;
    background-image: url("../images/coins/18-tron.png");
    right: 45%;
    bottom: 18%;
}

.coin-token-18 {
    --coin-size: 9%;
    --coin-duration: 22s;
    --coin-delay: -14s;
    --coin-from-x: -5px;
    --coin-from-y: -10px;
    --coin-to-x: 4px;
    --coin-to-y: 15px;
    --coin-rotate-from: -4deg;
    --coin-rotate-to: 4deg;
    background-image: url("../images/coins/20-rocket.png");
    left: 55%;
    top: 28%;
}

.vault-form-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition:
        opacity 800ms ease 450ms,
        transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1) 450ms;
}

.vault-form-content::before {
    content: none;
}

.vault-form-card {
    position: relative;
    z-index: 1;
    width: min(76%, 252px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.auth-mode-switch {
    min-height: 37px;
    padding: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin: 0 0 4px;
    border: 1px solid rgba(120, 170, 210, 0.16);
    border-radius: 10px;
    background: rgba(8, 20, 34, 0.5);
    backdrop-filter: blur(4px);
}

.auth-mode-switch button {
    min-width: 0;
    display: grid;
    place-items: center;
    color: rgba(191, 209, 216, 0.72);
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-decoration: none;
    text-transform: uppercase;
}

.auth-mode-switch button.active {
    color: #071114;
    background: var(--cyan);
    box-shadow: 0 0 16px rgba(84, 215, 232, 0.28);
}

.form-stack.auth-form-panel {
    display: none;
}

.form-stack.auth-form-panel.active {
    display: grid;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vault-auth-stage:hover .vault-door,
.vault-auth-stage.is-open .vault-door {
    opacity: 0.14;
    transform: scale(1.035);
    filter: blur(3px) saturate(0.75);
}

.vault-auth-stage:hover .vault-panel,
.vault-auth-stage.is-open .vault-panel {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.vault-auth-stage:hover .vault-form-content,
.vault-auth-stage.is-open .vault-form-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

.auth-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.auth-panel.vault-panel {
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #28333f 0%, #172230 48%, #0a141f 76%, #050c15 100%);
    border: 3px solid rgba(198, 148, 60, 0.7);
    box-shadow:
        inset 0 0 70px rgba(0, 0, 0, 0.94),
        0 0 40px rgba(84, 215, 232, 0.45);
}

.vault-panel h2 {
    margin-bottom: 4px;
    text-align: center;
    color: #eaf8ff;
    font-family: var(--font-display);
    font-size: 13px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-shadow: 0 0 14px rgba(84, 215, 232, 0.65);
    text-transform: uppercase;
}

.vault-panel .eyebrow {
    text-align: center;
}

.form-stack {
    display: grid;
    gap: 14px;
}

.form-stack label {
    position: relative;
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.form-stack input {
    width: 100%;
    min-height: 42px;
    padding: 10px 13px;
    color: var(--text);
    background: rgba(7, 11, 13, 0.84);
    border: 1px solid rgba(112, 137, 148, 0.58);
    border-radius: 8px;
    outline: none;
    backdrop-filter: blur(3px);
}

.vault-access-form {
    gap: 10px;
}

.vault-access-form label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(84, 215, 232, 0.26);
    box-shadow: 0 0 13px rgba(84, 215, 232, 0.42);
    transform: translateY(-50%);
    pointer-events: none;
}

.vault-access-form input {
    min-height: 40px;
    padding: 10px 12px 10px 36px;
    color: #eaf4ff;
    background: rgba(7, 17, 30, 0.5);
    border-color: rgba(120, 180, 220, 0.3);
    border-radius: 9px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
}

.vault-access-form input::placeholder {
    color: rgba(205, 221, 226, 0.62);
}

.form-stack input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(84, 215, 232, 0.14);
}

.primary-button,
.secondary-button,
.filter-button,
.nav-item {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

.nav-count {
    min-width: 22px;
    height: 22px;
    margin-left: auto;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
    color: #071017;
    background: var(--gold);
    font-size: 11px;
    font-weight: 900;
}

.dashboard-provision-alerts { margin-bottom: 18px; display: grid; gap: 10px; }
.dashboard-provision-alert { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(236, 193, 95, 0.34); border-radius: 8px; background: rgba(18, 26, 32, 0.94); }
.dashboard-provision-alert > div { display: grid; gap: 3px; }
.dashboard-provision-alert span { color: var(--gold); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.dashboard-provision-alert strong { font-family: var(--font-display); font-size: 17px; }
.dashboard-provision-alert p { margin: 2px 0 0; color: var(--muted); }
.dashboard-provision-alert > a { min-height: 36px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(85, 216, 232, 0.38); border-radius: 6px; color: #55d8e8; background: rgba(10, 29, 39, 0.86); font-weight: 850; text-decoration: none; white-space: nowrap; }
.dashboard-provision-alert-rejected { border-color: rgba(255, 112, 104, 0.46); }
.dashboard-provision-alert-rejected span { color: #ff8d86; }

@media (max-width: 700px) {
    .dashboard-provision-alert { align-items: stretch; flex-direction: column; }
    .dashboard-provision-alert > a { width: 100%; }
}

.primary-button {
    color: #061114;
    background: var(--cyan);
    font-weight: 800;
}

.vault-access-form .primary-button {
    min-height: 42px;
    margin-top: 3px;
    color: #061114;
    border-radius: 9px;
    background: linear-gradient(180deg, #59ddeb, #43c9d8);
    box-shadow:
        0 0 24px rgba(84, 215, 232, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.secondary-button,
.filter-button,
.nav-item {
    color: var(--text);
    background: var(--panel-2);
    border-color: var(--line);
}

.secondary-button:hover,
.filter-button:hover,
.filter-button.active,
.nav-item.active {
    border-color: var(--cyan);
    color: var(--cyan);
}

.full-width {
    width: 100%;
}

.auth-link {
    margin: 14px 0 0;
    color: var(--muted);
    text-align: center;
}

.alert,
.field-error {
    color: var(--red);
}

.alert {
    margin-bottom: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(242, 123, 123, 0.5);
    border-radius: 8px;
    background: rgba(242, 123, 123, 0.08);
}

.compact-form {
    gap: 8px;
}

.compact-form label {
    gap: 2px;
    font-size: 12px;
}

.compact-form input {
    min-height: 34px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 38px;
}

.compact-form .primary-button {
    min-height: 38px;
}

.vault-form-links {
    display: flex;
    justify-content: center;
    gap: 11px;
    margin-top: -2px;
    font-size: 12px;
    font-weight: 700;
}

.vault-form-links a {
    color: rgba(197, 221, 230, 0.78);
    text-decoration: none;
}

.vault-form-links a:hover {
    color: var(--cyan);
}

.auth-simple-page {
    display: grid;
    place-items: center;
}

.auth-simple-stage {
    position: relative;
    z-index: 2;
    width: min(520px, calc(100vw - 36px));
    display: grid;
    place-items: center;
}

.auth-simple-panel {
    width: 100%;
    padding: 28px;
    border: 1px solid rgba(198, 148, 60, 0.58);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(84, 215, 232, 0.13), transparent 44%),
        rgba(7, 17, 30, 0.88);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        0 0 36px rgba(198, 148, 60, 0.12);
    backdrop-filter: blur(14px);
    text-align: center;
}

.auth-simple-panel h1 {
    margin-bottom: 12px;
    color: #eaf8ff;
    font-family: var(--font-display);
    font-size: 23px;
    line-height: 1.1;
    text-transform: uppercase;
}

.auth-simple-panel p {
    margin: 0 0 18px;
    color: rgba(218, 235, 242, 0.86);
    font-size: 16px;
    line-height: 1.45;
}

.auth-simple-form {
    margin: 18px auto 12px;
    max-width: 340px;
}

.auth-simple-form input {
    text-align: left;
}

.auth-simple-button,
.auth-simple-link,
.debug-activation-link {
    width: fit-content;
    margin: 12px auto 0;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.auth-simple-link,
.debug-activation-link {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 800;
}

.debug-activation-link {
    display: flex;
}

.vault-panel-register {
    padding: calc(var(--vault-size) * 0.1);
}

.vault-panel-register h2 {
    margin-bottom: 0;
    font-size: 15px;
}

.vault-panel-register .eyebrow {
    margin-bottom: 4px;
    font-size: 12px;
}

.vault-panel-register .auth-link {
    margin-top: 8px;
    font-size: 12px;
}

.vault-counter-page .vault-auth-stage {
    cursor: default;
}

.vault-counter-page .vault-panel {
    background:
        radial-gradient(circle at 50% 34%, rgba(41, 59, 76, 0.98) 0%, rgba(19, 30, 45, 0.98) 46%, rgba(6, 14, 24, 0.98) 78%, #030810 100%);
}

.vault-counter-page .vault-panel::before {
    background:
        radial-gradient(circle at 50% 22%, rgba(84, 215, 232, 0.12), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 44%);
}

.vault-counter-page .vault-coin-bg::after {
    background:
        radial-gradient(circle at 50% 50%, rgba(5, 12, 20, 0.62) 22%, rgba(5, 12, 20, 0.34) 52%, rgba(5, 12, 20, 0.18) 72%, transparent 84%);
}

.vault-counter-content {
    transition:
        opacity 900ms ease 620ms,
        transform 950ms cubic-bezier(0.2, 0.8, 0.2, 1) 620ms;
}

.vault-profit-flow {
    position: relative;
    z-index: 5;
    width: min(92%, calc(var(--vault-size) * 0.84));
    min-height: calc(var(--vault-size) * 0.44);
    display: grid;
    place-items: center;
    text-align: center;
}

.vault-profit-welcome,
.vault-profit-counter {
    grid-area: 1 / 1;
}

.vault-profit-welcome {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 8px;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 650ms ease,
        transform 650ms ease,
        visibility 650ms ease;
}

.vault-profit-welcome strong {
    max-width: 100%;
    overflow: hidden;
    color: #eefaff;
    font-family: var(--font-display);
    font-size: clamp(18px, calc(var(--vault-size) * 0.046), 31px);
    font-weight: 850;
    line-height: 1.05;
    text-overflow: ellipsis;
    text-shadow:
        0 0 18px rgba(84, 215, 232, 0.34),
        0 0 26px rgba(231, 185, 94, 0.16);
    white-space: nowrap;
}

.vault-profit-welcome span {
    max-width: 82%;
    overflow: hidden;
    color: rgba(220, 235, 243, 0.72);
    font-size: clamp(11px, calc(var(--vault-size) * 0.02), 15px);
    font-weight: 650;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vault-profit-flow.is-counter-ready .vault-profit-welcome {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.96);
    pointer-events: none;
}

.vault-profit-counter {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: clamp(7px, calc(var(--vault-size) * 0.017), 12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.94);
    transition:
        opacity 760ms ease,
        transform 760ms cubic-bezier(0.16, 0.86, 0.27, 1),
        visibility 760ms ease;
    pointer-events: none;
}

.vault-profit-flow.is-counter-ready .vault-profit-counter {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 150ms;
    pointer-events: auto;
}

.vault-action-network {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--vault-size) * 3.05);
    height: calc(var(--vault-size) * 1.22);
    z-index: 4;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
    transition:
        opacity 760ms ease 240ms,
        transform 760ms cubic-bezier(0.16, 0.86, 0.27, 1) 240ms;
    pointer-events: none;
}

.vault-auth-stage.is-actions-ready .vault-action-network {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
}

.vault-counter-page .vault-action-network-desktop {
    display: block;
}

.vault-counter-page .vault-action-network-mobile {
    width: calc(var(--vault-size) * 1.16);
    height: calc(var(--vault-size) * 1.16);
    display: none;
}

.vault-counter-page,
.vault-counter-page *,
.vault-counter-page *::before,
.vault-counter-page *::after {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.vault-action-column {
    display: contents;
}

.vault-action {
    --node-x: 0;
    --node-y: 0;
    --action-delay: 0ms;
    --action-accent: 231, 185, 94;
    --action-text: #f1cf78;
    --action-fill: rgba(9, 29, 44, 0.76);
    --action-rotate: 0deg;
    position: absolute;
    left: calc(50% + (var(--node-x) * var(--vault-size)));
    top: calc(50% + (var(--node-y) * var(--vault-size)));
    width: clamp(76px, calc(var(--vault-size) * 0.2), 112px);
    min-height: clamp(22px, calc(var(--vault-size) * 0.052), 31px);
    padding: 0 clamp(8px, calc(var(--vault-size) * 0.018), 12px);
    display: inline-grid;
    place-items: center;
    color: var(--action-text);
    border: 1px solid rgba(231, 185, 94, 0.78);
    border-radius: 7px;
    background:
        linear-gradient(180deg, rgba(var(--action-accent), 0.13), rgba(var(--action-accent), 0.025)),
        linear-gradient(180deg, var(--action-fill), rgba(3, 12, 21, 0.84));
    box-shadow:
        0 0 12px rgba(var(--action-accent), 0.26),
        inset 0 0 12px rgba(var(--action-accent), 0.08);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: clamp(7px, calc(var(--vault-size) * 0.017), 11px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    opacity: 0;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(var(--action-rotate)) scale(0.72);
    transform-origin: center;
}

.vault-auth-stage.is-actions-ready .vault-action {
    animation:
        vault-action-materialize 920ms cubic-bezier(0.16, 0.86, 0.27, 1) var(--action-delay) both,
        vault-action-glow 1450ms ease calc(var(--action-delay) + 260ms) both;
    pointer-events: auto;
}

.vault-action:hover,
.vault-action:focus-visible {
    color: var(--action-text);
    border-color: rgba(248, 211, 126, 0.98);
    background:
        linear-gradient(180deg, rgba(var(--action-accent), 0.13), rgba(var(--action-accent), 0.025)),
        linear-gradient(180deg, var(--action-fill), rgba(3, 12, 21, 0.84));
    box-shadow:
        0 0 18px rgba(231, 185, 94, 0.46),
        0 0 26px rgba(var(--action-accent), 0.2),
        inset 0 0 14px rgba(231, 185, 94, 0.12);
    outline: none;
}

.vault-action span {
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.vault-action::before,
.vault-action::after {
    content: none;
}

.vault-action-column-left .vault-action-1 {
    --node-x: -1.136;
    --node-y: -0.424;
}

.vault-action-column-left .vault-action-2 {
    --node-x: -1.233;
    --node-y: -0.279;
}

.vault-action-column-left .vault-action-3 {
    --node-x: -1.249;
    --node-y: -0.085;
}

.vault-action-column-left .vault-action-4 {
    --node-x: -1.083;
    --node-y: -0.027;
}

.vault-action-column-left .vault-action-5 {
    --node-x: -1.282;
    --node-y: 0.039;
}

.vault-action-column-left .vault-action-6 {
    --node-x: -1.150;
    --node-y: 0.096;
}

.vault-action-column-left .vault-action-7 {
    --node-x: -1.131;
    --node-y: 0.288;
}

.vault-action-column-left .vault-action-8 {
    --node-x: -1.024;
    --node-y: 0.430;
}

.vault-action-column-right .vault-action-1 {
    --node-x: 1.149;
    --node-y: -0.424;
}

.vault-action-column-right .vault-action-2 {
    --node-x: 1.246;
    --node-y: -0.281;
}

.vault-action-column-right .vault-action-3 {
    --node-x: 1.264;
    --node-y: -0.085;
}

.vault-action-column-right .vault-action-4 {
    --node-x: 1.095;
    --node-y: -0.027;
}

.vault-action-column-right .vault-action-5 {
    --node-x: 1.290;
    --node-y: 0.039;
}

.vault-action-column-right .vault-action-6 {
    --node-x: 1.161;
    --node-y: 0.096;
}

.vault-action-column-right .vault-action-7 {
    --node-x: 1.139;
    --node-y: 0.288;
}

.vault-action-column-right .vault-action-8 {
    --node-x: 1.033;
    --node-y: 0.430;
}

.action-deposit {
    --action-accent: 231, 185, 94;
}

.action-withdraw {
    --action-accent: 231, 185, 94;
}

.action-balance,
.action-daily {
    --action-accent: 231, 185, 94;
}

.action-history {
    --action-accent: 231, 185, 94;
}

.action-rewards,
.action-monthly {
    --action-accent: 231, 185, 94;
}

.action-info {
    --action-accent: 231, 185, 94;
}

.action-soon {
    --action-accent: 166, 132, 70;
    --action-text: rgba(241, 207, 120, 0.66);
    --action-fill: rgba(7, 16, 25, 0.78);
}

@keyframes vault-action-materialize {
    0% {
        opacity: 0;
        filter: blur(7px) brightness(1.9);
        transform: translate(-50%, -50%) rotate(var(--action-rotate)) scale(0.58);
    }
    48% {
        opacity: 1;
        filter: blur(0) brightness(1.35);
        transform: translate(-50%, -50%) rotate(var(--action-rotate)) scale(1.08);
    }
    100% {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translate(-50%, -50%) rotate(var(--action-rotate)) scale(1);
    }
}

@keyframes vault-action-glow {
    0% {
        box-shadow:
            0 0 0 rgba(var(--action-accent), 0),
            inset 0 0 12px rgba(var(--action-accent), 0.08);
    }
    36% {
        box-shadow:
            0 0 22px rgba(var(--action-accent), 0.58),
            0 0 38px rgba(231, 185, 94, 0.18),
            inset 0 0 18px rgba(var(--action-accent), 0.16);
    }
    100% {
        box-shadow:
            0 0 12px rgba(var(--action-accent), 0.26),
            inset 0 0 12px rgba(var(--action-accent), 0.08);
    }
}

.profit-kicker {
    margin: 0;
    color: rgba(99, 212, 137, 0.82);
    font-family: var(--font-display);
    font-size: clamp(8px, calc(var(--vault-size) * 0.016), 12px);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.vault-profit-counter h2 {
    margin: 0;
    padding: clamp(5px, calc(var(--vault-size) * 0.012), 8px) clamp(14px, calc(var(--vault-size) * 0.034), 22px);
    color: #eaf8ff;
    border: 2px solid rgba(231, 185, 94, 0.74);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(10, 26, 42, 0.58), rgba(3, 11, 20, 0.76)),
        radial-gradient(circle at 50% 0%, rgba(231, 185, 94, 0.15), transparent 62%);
    box-shadow:
        0 0 18px rgba(231, 185, 94, 0.22),
        0 0 26px rgba(84, 215, 232, 0.1),
        inset 0 0 18px rgba(0, 0, 0, 0.36);
    font-size: clamp(14px, calc(var(--vault-size) * 0.034), 22px);
    letter-spacing: 0.16em;
}

.profit-counter-display {
    --profit-scale: 1;
    max-width: 96%;
    min-height: clamp(63px, calc(var(--vault-size) * 0.141), 93px);
    padding: clamp(10px, calc(var(--vault-size) * 0.022), 16px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, calc(var(--vault-size) * 0.008), 7px);
    border: 2px solid rgba(231, 185, 94, 0.74);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(10, 26, 42, 0.78), rgba(3, 11, 20, 0.9)),
        radial-gradient(circle at 50% 0%, rgba(231, 185, 94, 0.18), transparent 58%);
    box-shadow:
        0 0 22px rgba(231, 185, 94, 0.28),
        0 0 34px rgba(84, 215, 232, 0.12),
        inset 0 0 24px rgba(0, 0, 0, 0.48);
    transform: translateZ(0) scale(var(--profit-scale));
    transform-origin: center;
}

.profit-counter-display:hover .profit-digit-box {
    border-color: rgba(84, 215, 232, 0.54);
    transform: translateY(-1px);
}

.profit-currency,
.profit-decimal,
.profit-separator,
.profit-digit-box {
    font-family: var(--font-display);
    font-weight: 850;
    line-height: 1;
}

.profit-currency {
    margin-right: 3px;
    color: #e7b95e;
    font-size: clamp(27px, calc(var(--vault-size) * 0.069), 47px);
    text-shadow:
        0 0 12px rgba(231, 185, 94, 0.58),
        0 0 26px rgba(231, 185, 94, 0.24);
}

.profit-decimal,
.profit-separator {
    color: rgba(237, 247, 255, 0.72);
    font-size: clamp(24px, calc(var(--vault-size) * 0.06), 41px);
    transform: translateY(0.1em);
}

.profit-digit-box {
    position: relative;
    width: clamp(29px, calc(var(--vault-size) * 0.078), 53px);
    height: clamp(47px, calc(var(--vault-size) * 0.107), 71px);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #f4fbff;
    border: 1px solid rgba(106, 153, 178, 0.36);
    border-radius: 9px;
    background:
        linear-gradient(180deg, rgba(19, 36, 53, 0.98), rgba(4, 12, 21, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 36%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -14px 22px rgba(0, 0, 0, 0.28),
        0 8px 16px rgba(0, 0, 0, 0.26);
    font-size: clamp(27px, calc(var(--vault-size) * 0.071), 47px);
    text-shadow: 0 0 12px rgba(84, 215, 232, 0.3);
    transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
    contain: layout paint;
    perspective: 160px;
    transform-style: preserve-3d;
    will-change: transform;
}

.profit-digit-box > span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    backface-visibility: hidden;
    transform-origin: center;
    transform: translate3d(0, 0, 0);
    will-change: transform, opacity;
}

.profit-digit-reel {
    height: 3000%;
    grid-template-rows: repeat(30, 3.333333%);
    transition: transform 300ms linear;
}

.profit-digit-reel-value {
    display: grid;
    place-items: center;
    min-height: 0;
}

.profit-digit-box::before {
    content: "";
    position: absolute;
    left: 9%;
    right: 9%;
    top: 50%;
    z-index: 2;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(231, 185, 94, 0.24), transparent);
    box-shadow: 0 0 8px rgba(231, 185, 94, 0.18);
    pointer-events: none;
}

.profit-details-button {
    position: relative;
    z-index: 9;
    min-height: clamp(34px, calc(var(--vault-size) * 0.071), 44px);
    padding: 0 clamp(18px, calc(var(--vault-size) * 0.045), 30px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #061114;
    border: 1px solid rgba(180, 247, 255, 0.52);
    border-radius: 9px;
    background: linear-gradient(180deg, #66e6f3, #33c8da);
    box-shadow:
        0 0 24px rgba(84, 215, 232, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
    font-family: var(--font-display);
    font-size: clamp(10px, calc(var(--vault-size) * 0.018), 13px);
    font-weight: 850;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    outline: 0 !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    -webkit-touch-callout: none;
    pointer-events: auto;
    touch-action: manipulation;
    user-select: none;
}

.profit-details-button:focus,
.profit-details-button:hover,
.profit-details-button:focus-visible {
    outline: 0 !important;
    box-shadow:
        0 0 30px rgba(84, 215, 232, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
    transform: translateY(-1px);
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background:
        radial-gradient(circle at 88% 8%, rgba(84, 215, 232, 0.13), transparent 26%),
        radial-gradient(circle at 34% 100%, rgba(231, 185, 94, 0.1), transparent 30%),
        linear-gradient(135deg, #0d1013 0%, #111820 48%, #101214 100%);
}

.dashboard-shell {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 100vh;
    background: #030811;
    transition: grid-template-columns 260ms ease;
}

.dashboard-shell::before,
.dashboard-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.dashboard-shell::before {
    z-index: 0;
    background: url("../images/pozadina2-stitch.png") center center / cover no-repeat;
    opacity: 0.66;
    filter: brightness(0.98) saturate(0.9);
}

.dashboard-shell::after {
    z-index: 0;
    background:
        radial-gradient(ellipse 58% 34% at 56% 18%, rgba(80, 194, 255, 0.16), rgba(80, 194, 255, 0.04) 38%, transparent 68%),
        radial-gradient(ellipse 42% 30% at 78% 70%, rgba(122, 80, 255, 0.12), transparent 66%),
        radial-gradient(ellipse 36% 28% at 28% 82%, rgba(35, 210, 238, 0.08), transparent 70%),
        linear-gradient(90deg, rgba(3, 8, 17, 0.74), rgba(3, 8, 17, 0.28) 34%, rgba(3, 8, 17, 0.36) 64%, rgba(3, 8, 17, 0.62)),
        linear-gradient(180deg, rgba(3, 8, 17, 0.16), rgba(3, 8, 17, 0.34) 48%, rgba(3, 8, 17, 0.76));
}

.dashboard-shell > * {
    position: relative;
    z-index: 3;
}

.dashboard-brand-band {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--brand-band-top, 484px);
    z-index: 2;
    height: var(--brand-band-height, 331px);
    display: grid;
    place-items: center;
    overflow: hidden;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(2, 3, 5, 0.95), rgba(7, 8, 10, 0.88) 44%, rgba(2, 3, 5, 0.95)),
        radial-gradient(ellipse 62% 72% at 50% 50%, rgba(84, 215, 232, 0.055), transparent 72%);
    border-top: 2px solid rgba(231, 185, 94, 0.86);
    border-bottom: 2px solid rgba(231, 185, 94, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 238, 180, 0.18),
        inset 0 -1px 0 rgba(255, 238, 180, 0.14),
        0 0 38px rgba(0, 0, 0, 0.45);
}

.dashboard-brand-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 44% 56% at 50% 50%, rgba(84, 215, 232, 0.075), transparent 68%);
}

.dashboard-brand-band span {
    position: absolute;
    left: calc(var(--brand-chart-left, 310px) + (var(--brand-chart-width, 925px) / 2));
    top: 50%;
    transform: translate(-50%, -50%);
    width: var(--brand-text-box-width, calc(var(--brand-chart-width, 925px) * 0.78));
    max-width: calc(100vw - 24px);
    display: block;
    overflow: hidden;
    color: rgba(246, 211, 132, 0.9);
    font-family: var(--font-display);
    font-size: var(--brand-text-size, min(calc(var(--brand-band-height, 331px) * 0.48), calc(var(--brand-chart-width, 925px) * 0.05), 82px));
    font-weight: 850;
    letter-spacing: 0.02em;
    line-height: 0.95;
    text-align: center;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.72),
        0 0 22px rgba(231, 185, 94, 0.28),
        0 0 34px rgba(84, 215, 232, 0.16);
    white-space: nowrap;
}

.dashboard-shell.is-sidebar-collapsed {
    grid-template-columns: 78px minmax(0, 1fr);
}

.member-topbar {
    position: sticky;
    top: 0;
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 20;
    min-height: 70px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: minmax(285px, auto) minmax(220px, 1fr) auto;
    align-items: center;
    gap: 22px;
    font-family: var(--font-ui);
    background: rgba(5, 15, 26, 0.96);
    border-bottom: 1px solid rgba(84, 215, 232, 0.11);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.member-titlebar {
    margin: 0;
}

.member-brand-group {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sidebar-toggle {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    gap: 4px;
    border: 1px solid rgba(84, 215, 232, 0.18);
    border-radius: 8px;
    background: rgba(11, 24, 37, 0.72);
    cursor: pointer;
}

.sidebar-toggle span {
    width: 19px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #dbeff8;
    transition: transform 180ms ease, opacity 180ms ease;
}

.sidebar-toggle:hover {
    border-color: rgba(84, 215, 232, 0.42);
}

.dashboard-shell.is-sidebar-collapsed .sidebar-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.dashboard-shell.is-sidebar-collapsed .sidebar-toggle span:nth-child(2) {
    opacity: 0;
}

.dashboard-shell.is-sidebar-collapsed .sidebar-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.member-brand {
    display: inline-grid;
    grid-template-columns: 41px max-content;
    align-items: center;
    gap: 12px;
    color: #eef8ff;
    text-decoration: none;
}

.member-brand img {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 0 10px rgba(231, 185, 94, 0.48));
}

.member-brand span {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.member-topbar-center {
    position: relative;
    min-width: 0;
    min-height: 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.member-title-actions-row {
    display: contents;
}

.member-greeting {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 3px;
    color: #eaf8ff;
    text-align: center;
    animation: member-greeting-dismiss 650ms ease 30s forwards;
}

.member-greeting strong {
    overflow: hidden;
    max-width: 100%;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 850;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-greeting span {
    overflow: hidden;
    max-width: 100%;
    color: #8fa1b3;
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-tab-title {
    overflow: hidden;
    max-width: min(560px, 100%);
    color: #eaf8ff;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    text-shadow:
        0 0 18px rgba(84, 215, 232, 0.18),
        0 0 26px rgba(231, 185, 94, 0.16);
    white-space: nowrap;
}

@keyframes member-greeting-dismiss {
    to {
        opacity: 0;
        transform: translateY(-6px);
        visibility: hidden;
    }
}

@keyframes member-balance-reveal {
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
        visibility: visible;
    }
}

.member-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.member-nav a {
    min-height: 36px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #8496a8;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.member-nav a.active,
.member-nav a:hover {
    color: #04121d;
    background: #25d3ed;
    box-shadow: 0 0 18px rgba(37, 211, 237, 0.24);
}

.member-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.member-actions form {
    margin: 0;
}

.member-action-stack {
    display: contents;
}

.dashboard-orientation-toggle {
    display: none;
}

.dashboard-shell.is-vault-details-frame .member-action-stack {
    width: 62px;
    height: 44px;
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 3px;
}

.dashboard-shell.is-vault-details-frame .dashboard-orientation-toggle,
.dashboard-shell.is-vault-details-frame .member-logout {
    width: 100%;
    min-height: 0;
    height: 100%;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(84, 215, 232, 0.25);
    border-radius: 4px;
    background: rgba(8, 22, 34, 0.88);
    font-family: var(--font-display);
    font-size: 6px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
}

.dashboard-shell.is-vault-details-frame .dashboard-orientation-toggle {
    color: #f1cf78;
    border-color: rgba(231, 185, 94, 0.62);
}

.dashboard-shell.is-vault-details-frame .member-action-stack form {
    width: 100%;
    min-height: 0;
}

.member-balance {
    min-height: 41px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(84, 215, 232, 0.16);
    border-radius: 22px;
    background: rgba(7, 20, 33, 0.66);
}

.member-balance-center {
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 8px));
    animation: member-balance-reveal 650ms ease 30.3s forwards;
}

.member-balance span {
    color: #25d3ed;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-balance strong {
    color: #f4fbff;
    font-size: 16px;
    white-space: nowrap;
}

.member-balance-center {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 24px;
}

.member-balance-center strong {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1;
}

.member-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #06202a;
    background: linear-gradient(180deg, #67e8f9, #25d3ed);
    box-shadow: 0 0 22px rgba(37, 211, 237, 0.44);
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.member-logout {
    min-height: 41px;
    padding: 0 17px;
    color: #8fa1b3;
    border: 1px solid rgba(84, 215, 232, 0.16);
    border-radius: 7px;
    background: rgba(11, 24, 37, 0.72);
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 850;
}

.member-logout:hover {
    color: #eaf8ff;
    border-color: rgba(84, 215, 232, 0.42);
}

.sidebar {
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background:
        linear-gradient(180deg, rgba(23, 27, 31, 0.96), rgba(13, 17, 20, 0.98));
    border-right: 1px solid rgba(84, 215, 232, 0.12);
    box-shadow: 14px 0 38px rgba(0, 0, 0, 0.2);
    transition: padding 260ms ease;
}

.dashboard-sidebar {
    grid-column: 1;
    grid-row: 2;
}

.sidebar-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand-lockup {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 64px;
}

.brand-lockup span,
.folder-panel span,
.metric-card span,
.type-summary dt,
.bot-metrics dt,
.bot-db-strip span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-lockup strong {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: var(--text);
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-nav {
    display: grid;
    gap: 8px;
}

.dashboard-shell.is-sidebar-collapsed .sidebar {
    padding: 22px 13px;
}

.dashboard-shell.is-sidebar-collapsed .nav-item {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    padding: 0;
    font-size: 0;
}

.dashboard-shell.is-sidebar-collapsed .nav-item span {
    width: 10px;
    height: 10px;
}

.nav-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 0 13px;
    color: var(--text);
    text-align: left;
    text-decoration: none;
}

.nav-item span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(154, 168, 178, 0.45);
}

.nav-item.active span,
.nav-item:hover span {
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(84, 215, 232, 0.7);
}

.folder-panel {
    margin-top: auto;
    padding: 14px;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(84, 215, 232, 0.15);
    border-radius: 8px;
    background: rgba(10, 16, 21, 0.74);
}

.folder-panel strong {
    overflow-wrap: anywhere;
    color: #dcecf3;
    font-size: 13px;
    line-height: 1.35;
}

.folder-panel small,
.metric-card small,
.hero-subtitle,
.bot-card-header p {
    color: var(--muted);
}

.folder-panel small,
.metric-card small {
    font-size: 12px;
}

.content {
    width: 100%;
    max-width: 1480px;
    padding: 30px;
}

.dashboard-content {
    grid-column: 2;
    grid-row: 2;
    margin: 0 auto;
    padding-top: 30px;
}

.dashboard-hero,
.topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.dashboard-hero h1,
.topbar h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.05;
}

.hero-subtitle {
    max-width: 760px;
    margin: 10px 0 0;
    line-height: 1.55;
}

.hero-subtitle strong {
    color: #d9edf5;
}

.status-pill,
.type-badge,
.bot-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.status-pill {
    color: #101214;
    background: linear-gradient(180deg, #74e9a1, var(--green));
    box-shadow: 0 0 28px rgba(99, 212, 137, 0.22);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.metric-card,
.bot-card,
.empty-state,
.type-summary {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(23, 27, 31, 0.88);
    border: 1px solid rgba(84, 215, 232, 0.13);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.metric-card {
    position: relative;
    min-height: 86px;
    padding: 13px 76px 13px 18px;
    display: grid;
    align-content: space-between;
    overflow: hidden;
    animation: rise-in 520ms ease both;
}

.metric-card::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -34px;
    width: 96px;
    height: 96px;
    border: 1px solid rgba(84, 215, 232, 0.1);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(84, 215, 232, 0.08), transparent 62%);
    pointer-events: none;
}

.metric-card strong {
    position: relative;
    font-size: 29px;
    line-height: 1.1;
    z-index: 1;
}

.metric-card.primary-metric {
    border-color: rgba(231, 185, 94, 0.24);
}

.metric-card .metric-label {
    position: relative;
    max-width: 100%;
    padding-right: 4px;
    color: rgba(214, 224, 229, 0.74);
    font-size: 14.4px;
    z-index: 1;
}

.metric-token-name {
    font: inherit;
    letter-spacing: inherit;
}

.metric-token-base {
    color: #72e3a0;
    text-shadow: 0 0 12px rgba(114, 227, 160, 0.26);
}

.metric-token-quote {
    color: #55d7ff;
    text-shadow: 0 0 12px rgba(85, 215, 255, 0.28);
}

.metric-card .metric-orb {
    position: absolute;
    right: 5px;
    bottom: 1px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #f3c84f;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    z-index: 2;
}

.metric-card .metric-orb-token {
    color: #eefaff;
}

.metric-orb-token img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 4px 9px rgba(0, 0, 0, 0.42));
}

.metric-token-mark {
    color: #eefaff;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.metric-symbol-bio {
    filter: drop-shadow(0 0 12px rgba(114, 227, 160, 0.22));
}

.metric-symbol-usdc {
    filter: drop-shadow(0 0 12px rgba(52, 148, 255, 0.2));
}

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

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

.neutral {
    color: var(--text);
}

.type-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.type-summary {
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(118px, 0.78fr) minmax(0, 1.6fr);
    align-items: center;
    gap: 16px;
    animation: rise-in 560ms ease both;
}

.type-summary strong {
    display: block;
    margin-top: 10px;
    font-size: 22px;
}

.type-summary dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    gap: 10px;
}

.type-summary dd {
    margin: 6px 0 0;
    overflow: hidden;
    font-size: 15px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 6px 0 16px;
}

.dashboard-block {
    margin: 0 0 28px;
    scroll-margin-top: 22px;
}

.block-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 14px;
}

.block-heading h2 {
    margin: 0;
    font-size: 25px;
}

.centered-heading {
    align-items: center;
}

.dashboard-section-header h2 {
    margin: 0;
    font-size: 23px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.pair-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.pair-rail-block {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.pair-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 14px;
}

.pair-tile {
    min-height: 76px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(84, 215, 232, 0.13);
    border-radius: 8px;
    color: #dcecf3;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(23, 27, 31, 0.88);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    text-decoration: none;
}

.pair-tile.active {
    border-color: rgba(231, 185, 94, 0.3);
}

.pair-tile strong {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.pair-tile-icons {
    position: relative;
    width: 100px;
    height: 52px;
    flex: 0 0 100px;
}

.pair-coin {
    position: absolute;
    width: 36px;
    height: auto;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.pair-coin img {
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    transform: none;
    border-radius: 0;
}

.pair-coin b {
    color: #eefaff;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 900;
}

.pair-coin-base {
    left: 5px;
    top: 5px;
    bottom: 5px;
    z-index: 2;
}

.pair-coin-quote {
    right: 5px;
    top: 5px;
    bottom: 5px;
    z-index: 1;
}

.pair-coin-quote img {
    left: auto;
    right: 0;
    transform: scale(0.8);
    transform-origin: center center;
}

.pair-tile-add {
    justify-content: center;
    color: rgba(159, 176, 189, 0.55);
    border-style: dashed;
    letter-spacing: 0.12em;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 900;
}

.filter-button {
    padding: 0 16px;
}

.bot-overview-grid {
    display: grid;
    gap: 16px;
}

.bot-market-list {
    display: grid;
    gap: 30px;
}

.bot-market-section {
    display: grid;
    gap: 14px;
}

.bot-market-header {
    min-height: 50px;
    padding: 0 4px 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(170, 192, 205, 0.16);
}

.bot-market-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.market-add-button {
    min-width: 64px;
    min-height: 36px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(236, 193, 95, 0.72);
    border-radius: 8px;
    color: #f2c963;
    background: rgba(21, 27, 31, 0.9);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.market-add-button:hover,
.market-add-button:focus-visible {
    color: #071017;
    background: #f2c963;
}

.bot-market-identity > span:not(.market-badge) {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.market-badge {
    min-width: 108px;
    min-height: 36px;
    padding: 7px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 900;
}

.market-badge-spot {
    color: #06160d;
    border-color: rgba(143, 241, 178, 0.62);
    background: linear-gradient(180deg, #85e8ab, #43b978);
    box-shadow: 0 0 22px rgba(88, 211, 137, 0.18);
}

.market-badge-futures {
    color: #f4f8ff;
    border-color: rgba(151, 191, 255, 0.62);
    background: linear-gradient(180deg, #527fdb, #3153a6);
    box-shadow: 0 0 22px rgba(79, 140, 255, 0.2);
}

.bot-market-groups {
    display: grid;
    gap: 16px;
}

.bot-market-empty {
    min-height: 76px;
    padding: 20px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(170, 192, 205, 0.2);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(8, 14, 19, 0.42);
    font-size: 13px;
    font-weight: 800;
}

.portfolio-market-list {
    display: grid;
    gap: 28px;
    margin-bottom: 22px;
}

.portfolio-market-section {
    display: grid;
    gap: 14px;
}

.portfolio-market-header {
    min-height: 58px;
    padding: 0 4px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(170, 192, 205, 0.16);
}

@media (min-width: 821px) {
    .portfolio-market-header .bot-market-identity {
        width: 100%;
        justify-content: center;
    }
}

.portfolio-market-totals,
.portfolio-market-item dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    gap: 12px;
}

.portfolio-market-totals {
    grid-template-columns: repeat(2, minmax(112px, 1fr));
}

.portfolio-market-totals dt,
.portfolio-market-item dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.portfolio-market-totals dd,
.portfolio-market-item dd {
    margin: 5px 0 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 850;
    white-space: nowrap;
}

.portfolio-market-totals dd.positive,
.portfolio-market-item dd.positive {
    color: var(--green);
}

.portfolio-market-totals dd.negative,
.portfolio-market-item dd.negative {
    color: var(--red);
}

.portfolio-market-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
    gap: 14px;
}

.portfolio-market-item {
    min-height: 96px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: minmax(225px, 0.9fr) minmax(300px, 1.45fr);
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(84, 215, 232, 0.14);
    border-radius: 8px;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(12, 18, 23, 0.82);
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.portfolio-market-item-spot {
    grid-template-columns: minmax(315px, 1fr) minmax(390px, 1.35fr);
}

.portfolio-market-item-spot dl {
    grid-template-columns: repeat(4, minmax(78px, 1fr));
}

.portfolio-spot-mobile {
    display: none;
}

.portfolio-spot-identity {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(112px, 0.72fr) minmax(175px, 1.28fr);
    align-items: center;
    gap: 18px;
}

.portfolio-identity-block {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.portfolio-identity-block > small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.portfolio-type-badge {
    width: fit-content;
    min-height: 32px;
    padding-inline: 13px;
    font-family: var(--font-display);
    font-size: 15px;
}

.portfolio-market-item:hover {
    border-color: rgba(84, 215, 232, 0.38);
    background: rgba(10, 21, 28, 0.9);
    transform: translateY(-2px);
}

.portfolio-market-section-spot .portfolio-market-item {
    border-color: rgba(99, 212, 137, 0.2);
}

.portfolio-market-section-futures .portfolio-market-item {
    border-color: rgba(99, 147, 238, 0.24);
}

.portfolio-pair-label {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfolio-pair-label strong {
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bot-type-panel {
    padding: 18px;
    display: grid;
    gap: 16px;
    border: 1px solid rgba(84, 215, 232, 0.13);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(23, 27, 31, 0.88);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    animation: rise-in 560ms ease both;
}

.bot-type-panel-expo {
    border-color: rgba(231, 185, 94, 0.24);
}

.bot-type-panel-grid {
    border-color: rgba(84, 215, 232, 0.23);
}

.bot-type-panel-futures {
    border-color: rgba(99, 147, 238, 0.28);
}

.bot-type-panel > header,
.bot-pair-card,
.bot-pair-main,
.bot-type-totals {
    display: flex;
    align-items: center;
}

.bot-type-panel > header {
    justify-content: space-between;
    gap: 16px;
}

.bot-type-panel > header > .bot-type-totals:only-child {
    margin-left: auto;
}

.bot-type-panel h3 {
    margin: 9px 0 0;
    font-size: 23px;
    line-height: 1.1;
}

.bot-type-totals {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.bot-type-totals strong {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1;
}

.bot-type-totals span {
    font-weight: 850;
}

.bot-type-total-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
}

.bot-type-total-row small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.bot-pair-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 13px;
}

.bot-pair-card {
    min-height: 118px;
    padding: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(84, 215, 232, 0.12);
    border-radius: 8px;
    color: #dcecf3;
    background: rgba(8, 14, 19, 0.62);
    text-decoration: none;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.bot-pair-card:hover {
    border-color: rgba(84, 215, 232, 0.42);
    background: rgba(10, 21, 28, 0.82);
    transform: translateY(-2px);
}

.bot-pair-main {
    min-width: 0;
    gap: 13px;
}

.bot-pair-card .pair-tile-icons {
    width: 100px;
    height: 52px;
    flex-basis: 100px;
    border: 1px solid rgba(180, 198, 209, 0.24);
    border-radius: 8px;
    background: rgba(5, 10, 14, 0.72);
    box-shadow:
        inset 0 0 16px rgba(255, 255, 255, 0.025),
        0 7px 18px rgba(0, 0, 0, 0.24);
}

.bot-pair-card .pair-coin-base {
    left: 5px;
    top: 5px;
    bottom: 5px;
}

.bot-pair-card .pair-coin-quote {
    right: 5px;
    top: 5px;
    bottom: 5px;
}

.pair-coin.metric-symbol-beam,
.pair-coin.metric-symbol-spcx {
    overflow: visible;
    background: transparent;
}

.pair-coin.metric-symbol-beam img {
    width: auto;
    height: 100%;
    border-radius: 0;
}

.pair-coin.metric-symbol-spcx img {
    position: absolute;
    left: 0;
    right: auto;
    top: -3px;
    bottom: auto;
    width: auto;
    height: 100%;
    max-width: none;
    transform: scaleY(1.2);
    transform-origin: center center;
    border-radius: 0;
}

.pair-coin.metric-symbol-spcx {
    z-index: 3;
}

.bot-type-panel-expo .bot-pair-card .pair-tile-icons {
    border-color: rgba(231, 185, 94, 0.46);
}

.bot-type-panel-grid .bot-pair-card .pair-tile-icons {
    border-color: rgba(84, 215, 232, 0.44);
}

.bot-type-panel-futures .bot-pair-card .pair-tile-icons {
    border-color: rgba(99, 147, 238, 0.5);
}

.bot-pair-main strong {
    display: block;
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1;
}

.bot-pair-main span:not(.pair-tile-icons):not(.pair-coin) {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bot-pair-card dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(76px, auto));
    gap: 10px;
}

.bot-pair-card dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bot-pair-card dd {
    margin: 5px 0 0;
    font-weight: 850;
    white-space: nowrap;
}

.bot-status-reason {
    margin: 0;
    padding: 8px 10px;
    border: 1px solid rgba(231, 185, 94, 0.2);
    border-left-width: 3px;
    border-radius: 5px;
    color: #e7eef2;
    background: rgba(3, 10, 15, 0.58);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.bot-pair-card .bot-status-reason,
.portfolio-market-item .bot-status-reason {
    grid-column: 1 / -1;
    flex: 0 0 100%;
}

.bot-status-reason.status-need-funds {
    border-color: rgba(255, 112, 74, 0.42);
    color: #ffc4ac;
    background: rgba(66, 20, 10, 0.5);
}

.bot-status-reason.status-finished {
    border-color: rgba(231, 185, 94, 0.42);
    color: #f5dda1;
    background: rgba(55, 39, 10, 0.4);
}

.customer-bot-status-notice {
    margin-bottom: 18px;
    padding: 13px 16px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(231, 185, 94, 0.34);
    border-radius: 7px;
    background: rgba(8, 14, 19, 0.88);
}

.customer-bot-status-notice strong {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 16px;
}

.customer-bot-status-notice p {
    margin: 0;
    color: #e7eef2;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.customer-bot-status-need-funds {
    border-color: rgba(255, 112, 74, 0.42);
    background: rgba(61, 18, 10, 0.64);
}

.customer-bot-status-need-funds strong {
    color: #ff9a70;
}

.pair-option {
    min-height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(84, 215, 232, 0.16);
    border-radius: 8px;
    color: #9fb0bd;
    background: rgba(11, 18, 24, 0.76);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.pair-option:hover,
.pair-option.active {
    color: #071316;
    border-color: rgba(84, 215, 232, 0.76);
    background: linear-gradient(180deg, #6deaff, #25d3ed);
    box-shadow: 0 0 18px rgba(37, 211, 237, 0.2);
}

.bot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(340px, 1fr));
    gap: 16px;
}

.bot-card {
    min-height: 390px;
    padding: 18px;
    display: grid;
    gap: 15px;
    grid-template-rows: auto auto 1fr auto;
    overflow: hidden;
    animation: rise-in 560ms ease both;
}

.compact-bot-grid .bot-card {
    min-height: 330px;
}

.bot-card-grid {
    border-color: rgba(84, 215, 232, 0.23);
}

.bot-card-expo {
    border-color: rgba(231, 185, 94, 0.26);
}

.bot-card.is-hidden,
.bot-detail-block.is-hidden {
    display: none;
}

.bot-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.bot-card h2 {
    margin: 8px 0 0;
    font-size: 20px;
    line-height: 1.18;
}

.bot-card-header p {
    margin: 7px 0 0;
    font-size: 13px;
}

.type-badge {
    color: #111417;
    background: linear-gradient(180deg, #f2cf7a, var(--amber));
}

.type-badge-expo {
    color: #171105;
    border: 1px solid rgba(255, 225, 145, 0.7);
    background: linear-gradient(180deg, #f7d984, #d9a83d);
    box-shadow: 0 0 18px rgba(231, 185, 94, 0.2);
}

.type-badge-grid {
    color: #041619;
    border: 1px solid rgba(142, 244, 250, 0.62);
    background: linear-gradient(180deg, #83e8ee, #36b9c7);
    box-shadow: 0 0 18px rgba(84, 215, 232, 0.2);
}

.type-badge-futures {
    color: #f5f8ff;
    border: 1px solid rgba(151, 191, 255, 0.66);
    background: linear-gradient(180deg, #527fdb, #3153a6);
    box-shadow: 0 0 18px rgba(79, 140, 255, 0.22);
}

.type-badge-unknown {
    color: #e7edf0;
    border: 1px solid rgba(202, 213, 220, 0.26);
    background: linear-gradient(180deg, #697781, #424c53);
}

.bot-status.status-ready,
.bot-status.status-working {
    color: #07130b;
    background: var(--green);
}

.bot-status.status-need-funds {
    color: #1b0904;
    background: linear-gradient(180deg, #ff7a45, #d9492f);
}

.bot-status.status-finished {
    color: #171004;
    background: linear-gradient(180deg, #f6d778, #d9a62f);
}

.bot-status.status-waiting {
    color: #171004;
    background: var(--amber);
}

.bot-status.status-invalid {
    color: #1a0808;
    background: var(--red);
}

.bot-status.status-disabled {
    color: #151019;
    background: var(--violet);
}

.bot-status-line,
.bot-status-days-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.bot-status-line {
    display: block;
    line-height: 1;
}

.bot-status-line > span:first-child {
    display: inline;
    line-height: 1;
    vertical-align: baseline;
}

.bot-status-line .bot-status {
    display: inline;
    min-height: 0;
    margin-left: 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
    line-height: 1;
    vertical-align: baseline;
}

.bot-status-line .bot-status.status-ready,
.bot-status-line .bot-status.status-working {
    color: var(--green);
    background: transparent;
}

.bot-status-line .bot-status.status-need-funds {
    color: #ff714f;
    background: transparent;
}

.bot-status-line .bot-status.status-finished {
    color: var(--amber);
    background: transparent;
}

.bot-status-line > span:first-child,
.bot-status-days-row > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bot-status-metric .bot-status-days-row {
    margin: 7px 0 0;
    justify-content: center;
}

.bot-status-days-row strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.bot-message {
    margin: 0;
    color: var(--amber);
    font-size: 13px;
}

.bot-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 10px;
    margin: 0;
}

.bot-metrics div {
    min-height: 78px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: rgba(8, 13, 17, 0.46);
}

.bot-metrics dt {
    margin-bottom: 8px;
}

.bot-metrics dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 17px;
    font-weight: 800;
}

.mini-chart {
    height: 142px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    gap: 6px;
    padding: 12px 2px 0;
    border-top: 1px solid rgba(84, 215, 232, 0.13);
}

.bar-slot {
    height: 100%;
    display: grid;
    align-items: end;
    gap: 6px;
}

.bar {
    min-height: 6px;
    border-radius: 6px 6px 0 0;
    transform-origin: bottom;
    animation: grow-up 720ms ease both;
}

.bar.positive {
    background: linear-gradient(180deg, var(--green), rgba(99, 212, 137, 0.38));
}

.bar.negative {
    background: linear-gradient(180deg, var(--red), rgba(242, 123, 123, 0.38));
}

.bar-slot span {
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.bot-db-strip {
    min-height: 60px;
    padding: 12px;
    display: grid;
    align-content: center;
    gap: 6px;
    border-top: 1px solid rgba(84, 215, 232, 0.13);
}

.bot-db-strip strong {
    overflow-wrap: anywhere;
    color: #d9edf5;
    font-size: 13px;
    line-height: 1.35;
}

.three-metric-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.two-metric-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.grid-extra-metrics {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    margin-top: 16px;
}

.profit-summary-grid {
    margin-bottom: 18px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
    gap: 16px;
}

.chart-panel,
.order-summary-card {
    padding: 18px;
    border: 1px solid rgba(84, 215, 232, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.01)),
        rgba(19, 24, 29, 0.9);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.chart-panel header,
.order-summary-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.chart-panel header span,
.order-summary-card header span {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chart-panel h3,
.order-summary-card h3 {
    margin: 5px 0 0;
    font-size: 18px;
}

.chart-panel header strong {
    color: var(--green);
    font-size: 20px;
    white-space: nowrap;
}

.chart-panel header strong.negative {
    color: #ff6565 !important;
}

.chart-panel header strong.positive {
    color: var(--green);
}

.chart-panel-large {
    min-height: 300px;
}

.daily-bar-chart {
    height: 260px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14px, 1fr));
    align-items: end;
    gap: 5px;
    padding: 24px 4px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    overflow-y: hidden;
}

.daily-bar-slot {
    height: 100%;
    min-width: 0;
    display: grid;
    grid-template-rows: 1fr 28px;
    align-items: end;
    gap: 6px;
}

.daily-bar-column {
    position: relative;
    height: 100%;
    min-width: 0;
    display: flex;
    align-items: flex-end;
}

.daily-bar-value {
    position: absolute;
    left: 50%;
    bottom: calc(var(--bar-height) + 9px);
    z-index: 1;
    color: var(--text);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transform: translateX(-50%);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.95);
}

.daily-bar-value.positive {
    color: var(--green);
}

.daily-bar-value.negative {
    color: #ff6565 !important;
}

.daily-bar {
    width: 78%;
    height: var(--bar-height);
    min-height: 3px;
    margin-inline: auto;
    border-radius: 8px 8px 2px 2px;
    transform-origin: bottom;
    animation: grow-up 720ms ease both;
}

.positive-bar {
    background: linear-gradient(180deg, #63d489, rgba(99, 212, 137, 0.32));
    box-shadow: 0 0 16px rgba(99, 212, 137, 0.18);
}

.negative-bar {
    background: linear-gradient(180deg, #f27b7b, rgba(242, 123, 123, 0.3));
    box-shadow: 0 0 16px rgba(242, 123, 123, 0.18);
}

.daily-bar-date {
    overflow: hidden;
    color: var(--muted);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-overflow: clip;
}

.line-chart {
    min-height: 270px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}

.line-chart svg {
    width: 100%;
    height: 250px;
    display: block;
}

.line-series {
    fill: none;
    stroke: var(--line-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--line-color), transparent 48%));
}

.chart-axis,
.chart-grid-line {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
}

.chart-grid-line {
    stroke-dasharray: 6 8;
}

.line-tick {
    fill: rgba(210, 224, 230, 0.72);
    font-size: 18px;
    text-anchor: middle;
}

.line-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.line-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.line-chart-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line-color);
    box-shadow: 0 0 12px var(--line-color);
}

.line-chart-legend strong {
    color: var(--text);
}

.bot-detail-tabs {
    display: inline-flex;
    gap: 8px;
    margin: 0 0 16px;
    padding: 6px;
    border: 1px solid rgba(84, 215, 232, 0.16);
    border-radius: 999px;
    background: rgba(5, 12, 18, 0.72);
}

.bot-detail-tab {
    min-width: 108px;
    padding: 9px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bot-detail-tab.active {
    background: linear-gradient(135deg, rgba(84, 215, 232, 0.24), rgba(99, 212, 137, 0.14));
    color: var(--text);
    box-shadow: 0 0 18px rgba(84, 215, 232, 0.16);
}

.bot-detail-tab-panel {
    display: none;
}

.bot-detail-tab-panel.active {
    display: block;
}

.bot-detail-block.dashboard-mode [data-detail-panel="dashboard"].active {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 12px;
}

.futures-dashboard-frame {
    width: 100%;
    min-width: 1180px;
    min-height: 1180px;
    display: block;
    border: 0;
    border-radius: 18px;
    background: #08090b;
}

.dashboard-shell.futures-dashboard-focus {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(0, 1fr);
    overflow-x: hidden;
    background: #08090b;
}

.dashboard-shell.futures-dashboard-focus .member-topbar,
.dashboard-shell.futures-dashboard-focus .dashboard-sidebar,
.dashboard-shell.futures-dashboard-focus .dashboard-hero,
.dashboard-shell.futures-dashboard-focus .pair-rail-block {
    display: none !important;
}

.dashboard-shell.futures-dashboard-focus .dashboard-content {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100vw;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.dashboard-shell.futures-dashboard-focus .bot-detail-block {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    margin: 0;
    overflow-x: hidden;
}

.dashboard-shell.futures-dashboard-focus .bot-detail-tabs {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    margin: 0;
    padding: 9px 18px;
    justify-content: center;
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(8, 9, 11, 0.96);
    backdrop-filter: blur(10px);
}

.dashboard-shell.futures-dashboard-focus [data-detail-panel="overview"] {
    display: none !important;
}

.dashboard-shell.futures-dashboard-focus [data-detail-panel="dashboard"].active {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    overflow-x: auto;
    padding: 0;
}

.dashboard-shell.futures-dashboard-focus .futures-dashboard-frame {
    width: 100%;
    min-width: 1520px;
    min-height: calc(100vh - 52px);
    border-radius: 0;
}

@media (max-width: 760px) {
    .dashboard-shell.futures-dashboard-focus {
        min-height: 100svh;
        overflow-x: hidden;
    }

    .dashboard-shell.futures-dashboard-focus .bot-detail-tabs {
        gap: 8px;
        padding: 7px 10px;
    }

    .dashboard-shell.futures-dashboard-focus .bot-detail-tab {
        min-width: 0;
        padding: 8px 10px;
        font-size: 12px;
    }

    .bot-detail-block.dashboard-mode [data-detail-panel="dashboard"].active,
    .dashboard-shell.futures-dashboard-focus [data-detail-panel="dashboard"].active {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .dashboard-shell.futures-dashboard-focus .futures-dashboard-frame {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        min-height: calc(100svh - 44px);
    }
}

.futures-dashboard {
    display: grid;
    gap: 18px;
}

.futures-dashboard-header,
.futures-chart-card,
.futures-dashboard-section,
.futures-account-panel {
    border: 1px solid rgba(84, 215, 232, 0.14);
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 0%, rgba(84, 215, 232, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.futures-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

.futures-dashboard-header span,
.futures-dashboard-section h4,
.futures-chart-card header span,
.futures-account-panel summary,
.futures-stat-card span,
.futures-mini-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.futures-dashboard-header h3,
.futures-chart-card h4,
.futures-dashboard-section h4 {
    margin: 5px 0 0;
}

.futures-dashboard-status {
    display: grid;
    justify-items: end;
    gap: 4px;
    text-align: right;
}

.futures-dashboard-status strong {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(99, 212, 137, 0.26);
    border-radius: 999px;
    color: var(--green);
    background: rgba(99, 212, 137, 0.10);
}

.futures-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.futures-card-grid-primary {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.futures-performance-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.futures-stat-card,
.futures-mini-card {
    min-height: 92px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    background: rgba(8, 14, 22, 0.72);
}

.futures-stat-card strong,
.futures-mini-card strong {
    display: block;
    margin-top: 9px;
    color: var(--text);
    font-size: 25px;
    line-height: 1.08;
}

.futures-mini-card strong {
    font-size: 20px;
}

.futures-stat-card em,
.futures-mini-card em {
    margin-left: 5px;
    color: #e7b95e;
    font-size: 0.74em;
    font-style: normal;
}

.futures-pair-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.futures-compound-card {
    padding: 16px 18px;
    border: 1px solid rgba(84, 215, 232, 0.16);
    border-radius: 14px;
    background: rgba(8, 14, 22, 0.72);
}

.futures-compound-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.futures-compound-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.futures-compound-card strong {
    color: var(--cyan);
    white-space: nowrap;
}

.futures-compound-bar {
    position: relative;
    height: 30px;
    overflow: hidden;
    border: 1px solid rgba(84, 215, 232, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
}

.futures-compound-bar i {
    position: absolute;
    inset: 0 auto 0 0;
    min-width: 2px;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(84, 215, 232, 0.58), rgba(99, 212, 137, 0.72));
}

.futures-compound-bar.ready i {
    background: linear-gradient(90deg, rgba(99, 212, 137, 0.65), rgba(99, 212, 137, 0.95));
}

.futures-compound-bar b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--text);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.futures-stat-card.positive strong,
.futures-mini-card.positive strong {
    color: var(--green);
}

.futures-stat-card.negative strong,
.futures-mini-card.negative strong {
    color: #ff6f75;
}

.futures-chart-card {
    padding: 18px;
}

.futures-chart-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
}

.futures-chart-card svg {
    width: 100%;
    height: 300px;
    display: block;
}

.futures-axis,
.futures-tick {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
}

.futures-tick-label {
    fill: rgba(214, 224, 229, 0.66);
    font-size: 14px;
    font-weight: 700;
}

.futures-chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
}

.futures-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.futures-chart-legend i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--line-color);
    box-shadow: 0 0 12px var(--line-color);
}

.futures-chart-legend strong {
    color: var(--text);
}

.futures-chart-empty {
    min-height: 160px;
}

.futures-chart-empty p {
    color: var(--muted);
}

.futures-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.futures-dashboard-section {
    padding: 16px;
}

.futures-dashboard-section .futures-card-grid,
.futures-account-panel .futures-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.futures-daily-section {
    overflow: hidden;
}

.futures-daily-scroll {
    max-height: 250px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(5, 9, 14, 0.72);
}

.futures-daily-scroll table,
.futures-period-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.futures-daily-scroll th,
.futures-daily-scroll td,
.futures-period-table th,
.futures-period-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: right;
    white-space: nowrap;
}

.futures-daily-scroll th:first-child,
.futures-daily-scroll td:first-child,
.futures-period-table th:first-child,
.futures-period-table td:first-child {
    text-align: left;
}

.futures-daily-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0d1015;
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.futures-daily-scroll td span {
    color: var(--muted);
}

.futures-volume-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
}

.futures-volume-grid h4 {
    margin: 0 0 10px;
}

.futures-account-panel {
    padding: 0;
    overflow: hidden;
}

.futures-account-panel summary {
    padding: 15px 18px;
    cursor: pointer;
    background: rgba(84, 215, 232, 0.08);
}

.futures-account-panel .futures-card-grid {
    padding: 16px;
}

.futures-dashboard-local {
    gap: 0;
}

.futures-local-card {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(84, 215, 232, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.futures-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.futures-meta-primary {
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.futures-live-market-head {
    display: flex;
    align-items: center;
    justify-content: center;
}

.futures-badges {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: flex-end;
}

.futures-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.futures-badge.RUNNING,
.futures-badge.OK {
    color: var(--green);
    border-color: rgba(99, 212, 137, 0.24);
    background: rgba(99, 212, 137, 0.10);
}

.futures-badge.WARN,
.futures-badge.STALE {
    color: var(--amber);
    border-color: rgba(231, 185, 94, 0.24);
    background: rgba(231, 185, 94, 0.10);
}

.futures-badge.ERROR {
    color: var(--red);
    border-color: rgba(242, 123, 123, 0.24);
    background: rgba(242, 123, 123, 0.10);
}

.futures-summary-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.futures-summary-card,
.futures-rowbox,
.futures-ddbox {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.028);
}

.futures-summary-card {
    padding: 12px;
}

.futures-summary-card span,
.futures-rowbox > span,
.futures-ddbox > span,
.triplebox span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.futures-summary-card b {
    display: block;
    margin-top: 5px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.15;
}

.futures-summary-card.positive b,
.futures-rowbox.positive b {
    color: var(--green);
}

.futures-summary-card.negative b,
.futures-rowbox.negative b {
    color: var(--red);
}

.futures-local-chart {
    position: relative;
    margin: 10px 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: #0b0d11;
    overflow: hidden;
}

.futures-local-chart svg {
    width: 100%;
    height: 330px;
    display: block;
    padding-top: 28px;
}

.futures-chart-legend.local {
    position: absolute;
    top: 9px;
    right: 12px;
    z-index: 1;
}

.futures-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.futures-rowbox {
    padding: 10px;
}

.futures-rowbox.half-wide,
.futures-rowbox.step-center,
.futures-dd-row {
    grid-column: 1 / -1;
}

.futures-rowbox b,
.futures-ddbox b,
.triplebox b {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.25;
}

.futures-rowbox.pairbox b {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.pair-main {
    min-width: 0;
}

.pair-side {
    display: flex;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
    text-align: right;
}

.pair-side-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.futures-dd-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.futures-ddbox {
    padding: 8px;
}

.futures-ddbox b {
    font-size: 13px;
}

.triplebox {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.triplebox .triple-item:nth-child(2) {
    text-align: center;
}

.triplebox .triple-item:nth-child(3) {
    text-align: right;
}

.compound-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
}

.compound-head .eta {
    color: var(--cyan);
    font-weight: 850;
    white-space: nowrap;
}

.compoundbar {
    position: relative;
    height: 24px;
    overflow: hidden;
    margin-top: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.compoundbar .fill {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    min-width: 2px;
    border-radius: inherit;
    background: var(--cyan);
}

.compoundbar.ready .fill {
    background: var(--green);
}

.bartext {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7fbff;
    font-size: 13px;
    font-weight: 850;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.zonebar {
    position: relative;
    height: 10px;
    overflow: visible;
    margin-top: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg,
        rgba(99, 212, 137, 0.78) 0%,
        rgba(99, 212, 137, 0.78) 35%,
        rgba(231, 185, 94, 0.82) 35%,
        rgba(231, 185, 94, 0.82) 60%,
        rgba(242, 123, 123, 0.82) 60%,
        rgba(242, 123, 123, 0.82) 100%);
}

.marker {
    position: absolute;
    top: -4px;
    width: 3px;
    height: 18px;
    border-radius: 99px;
    background: #f7fbff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45), 0 0 14px rgba(255, 255, 255, 0.35);
}

.zone-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.futures-daily-scroll {
    max-height: 190px;
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    background: #07090c;
    scrollbar-width: thin;
    scrollbar-color: #252b34 #07090c;
}

.futures-daily-scroll::-webkit-scrollbar {
    width: 10px;
}

.futures-daily-scroll::-webkit-scrollbar-track {
    background: #07090c;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.futures-daily-scroll::-webkit-scrollbar-thumb {
    border: 2px solid #07090c;
    border-radius: 999px;
    background: #252b34;
}

.futures-daily-scroll table {
    margin-top: 0;
    table-layout: fixed;
}

.futures-daily-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0d1015;
}

.futures-daily-scroll th:nth-child(1),
.futures-daily-scroll td:nth-child(1) {
    width: 92px;
    padding-left: 10px;
    text-align: left;
}

.futures-daily-scroll th:nth-child(2),
.futures-daily-scroll td:nth-child(2) {
    width: 145px;
    text-align: left;
}

.futures-daily-scroll th:nth-child(7),
.futures-daily-scroll td:nth-child(7) {
    padding-right: 18px;
}

.vol-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.futures-vol-badge {
    display: inline-block;
    min-width: 112px;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
}

.futures-vol-calm {
    color: var(--cyan);
    background: rgba(84, 215, 232, 0.08);
}

.futures-vol-normal {
    color: var(--green);
    background: rgba(99, 212, 137, 0.08);
}

.pace-badge {
    opacity: 0.9;
}

.futures-local-details {
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.futures-local-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(84, 215, 232, 0.105);
    color: var(--text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    user-select: none;
}

.futures-local-details[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.debug-state {
    color: var(--green);
    font-size: 12px;
    font-weight: 850;
}

.debug-body,
.strategy-body,
.volume-body {
    padding: 10px 12px 12px;
}

.period-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.period-title {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.period-table {
    width: 100%;
    margin-top: 0;
    table-layout: fixed;
    border-collapse: collapse;
}

.period-table th,
.period-table td {
    padding: 7px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.period-table th:first-child,
.period-table td:first-child {
    width: 72px;
    color: var(--text);
    text-align: left;
}

.period-table th:nth-child(2),
.period-table td:nth-child(2) {
    width: 42%;
    text-align: left;
}

.volume-bar {
    position: relative;
    height: 8px;
    overflow: hidden;
    margin-bottom: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.volume-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), var(--green));
}

.strategy-desc {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.param-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
}

.param-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.12);
    font-size: 12px;
}

.param-row span {
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.param-row b {
    color: var(--text);
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-summary-card {
    display: grid;
    align-content: start;
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.order-row:first-of-type {
    border-top: 0;
}

.order-row strong {
    display: block;
    color: var(--text);
    font-size: 22px;
    line-height: 1.1;
}

.order-row span {
    display: block;
    margin-top: 5px;
    color: var(--green);
    font-weight: 850;
}

.order-row em {
    color: var(--cyan);
    font-size: 17px;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
}

.empty-state p {
    color: var(--muted);
}

@keyframes vault-token-rain {
    0% {
        transform:
            translate3d(var(--coin-from-x), calc(var(--coin-from-y) - 26px), 0)
            rotate(var(--coin-rotate-from))
            scale(var(--coin-scale));
    }
    50% {
        transform:
            translate3d(var(--coin-to-x), calc(var(--coin-to-y) + 46px), 0)
            rotate(var(--coin-rotate-to))
            scale(var(--coin-scale-to));
    }
    100% {
        transform:
            translate3d(var(--coin-from-x), calc(var(--coin-from-y) - 26px), 0)
            rotate(var(--coin-rotate-from))
            scale(var(--coin-scale));
    }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes grow-up {
    from {
        transform: scaleY(0.08);
    }
    to {
        transform: scaleY(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .coin-token,
    .metric-card,
    .type-summary,
    .bot-type-panel,
    .bot-card,
    .daily-bar,
    .bar,
    .sidebar-toggle span,
    .vault-profit-welcome,
    .vault-profit-counter,
    .vault-action-network,
    .vault-action,
    .profit-digit-box,
    .profit-digit-box > span {
        animation: none;
        transition: none;
    }

    .vault-profit-flow.is-counter-ready .vault-profit-counter {
        transform: none;
    }

    .vault-auth-stage.is-actions-ready .vault-action-network {
        transform: translate(-50%, -50%);
    }

    .vault-auth-stage.is-actions-ready .vault-action {
        opacity: 1;
        animation: none;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 1120px) {
    .metric-grid,
    .pair-rail,
    .type-summary-grid,
    .bot-pair-list,
    .bot-grid,
    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .type-summary {
        grid-template-columns: 1fr;
    }

    .portfolio-market-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .bot-type-panel {
        padding-right: 12px;
        padding-left: 12px;
    }

    .bot-status-line {
        white-space: nowrap;
    }

    .bot-status-line .bot-status {
        margin-left: 4px;
        font-size: 11px;
    }

    .app-shell,
    .dashboard-shell,
    .dashboard-shell.is-sidebar-collapsed {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .member-topbar {
        position: sticky;
        grid-column: 1;
        grid-row: 1;
        min-height: auto;
        padding: 12px 16px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 12px;
    }

    .member-titlebar {
        margin: 0;
    }

    .member-brand-group {
        min-width: 0;
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .member-brand {
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .member-brand img {
        width: 34px;
        height: 34px;
    }

    .member-brand span {
        overflow: visible;
        font-size: 15px;
        text-overflow: clip;
        white-space: nowrap;
    }

    .member-actions {
        grid-column: 2;
        grid-row: 1;
        position: relative;
        z-index: 24;
        height: 44px;
        min-width: max-content;
        justify-self: end;
        gap: 7px;
    }

    .member-action-stack {
        display: flex;
        align-items: center;
    }

    .member-action-stack form {
        display: block;
        width: auto;
    }

    .member-logout {
        width: auto;
        min-width: 64px;
        min-height: 38px;
        height: 38px;
        padding: 0 10px;
        display: grid;
        place-items: center;
    }

    .member-topbar-center {
        width: 100%;
        height: 44px;
        grid-column: 1;
        grid-row: 1;
        align-items: center;
        justify-items: start;
        min-height: 44px;
        padding-left: 0;
        text-align: left;
    }

    .member-title-actions-row {
        min-width: 0;
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        overflow: visible;
    }

    .member-title-actions-row .member-actions,
    .member-title-actions-row .member-avatar {
        visibility: visible;
        opacity: 1;
    }

    .member-greeting {
        justify-items: start;
    }

    .member-greeting strong {
        font-size: 18px;
    }

    .member-greeting span {
        display: none;
    }

    .member-tab-title {
        font-size: 22px;
        text-align: left;
    }

    .dashboard-page-bots .member-tab-title {
        font-size: 20px;
    }

    .member-balance-center {
        left: 0;
        min-height: 40px;
        padding: 0 16px;
        transform: translateY(calc(-50% + 8px));
    }

    .member-balance-center span {
        font-size: 12px;
    }

    .member-balance-center strong {
        font-size: 19px;
    }

    @keyframes member-balance-reveal {
        to {
            opacity: 1;
            transform: translateY(-50%);
            visibility: visible;
        }
    }

    .member-actions .member-balance {
        display: none;
    }

    .auth-vault-page {
        --vault-size: 33.7vw;
        min-height: 100svh;
    }

    .vault-panel h2 {
        font-size: 15px;
    }

    .sidebar {
        position: static;
        grid-column: 1;
        grid-row: 2;
        height: 59px;
        min-height: 59px;
        max-height: 59px;
        padding: 10px 14px;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: 0;
        border-bottom: 1px solid rgba(84, 215, 232, 0.12);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    }

    .dashboard-shell.is-sidebar-collapsed .dashboard-sidebar {
        display: none;
    }

    .side-nav {
        display: flex;
        height: 38px;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 8px;
        min-width: max-content;
    }

    .nav-item {
        flex: 0 0 auto;
        min-height: 38px;
        height: 38px;
        padding: 0 12px;
        white-space: nowrap;
    }

    .metric-grid,
    .pair-rail,
    .type-summary-grid,
    .bot-pair-list,
    .bot-grid,
    .bot-metrics,
    .detail-grid,
    .three-metric-grid,
    .two-metric-grid,
    .grid-extra-metrics {
        grid-template-columns: 1fr;
    }

    .bot-type-panel > header,
    .bot-pair-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .bot-type-totals {
        align-items: flex-start;
    }

    .bot-pair-card dl {
        width: 100%;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(92px, 1.2fr);
        gap: 6px;
    }

    .topbar,
    .dashboard-hero,
    .dashboard-section-header,
    .block-heading,
    .bot-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-content {
        grid-column: 1;
        grid-row: 3;
        padding: 22px 16px 28px;
    }

    .dashboard-shell.is-sidebar-collapsed .dashboard-content {
        grid-row: 2;
    }

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

    .toolbar {
        width: 100%;
    }

    .filter-button {
        flex: 1 1 96px;
    }

    .chart-panel,
    .order-summary-card {
        padding: 15px;
    }

    .daily-bar-chart {
        height: 230px;
        grid-template-columns: repeat(auto-fit, minmax(9px, 1fr));
        gap: 3px;
    }

    .daily-bar-date {
        font-size: 15px;
    }

    .daily-bar-value {
        font-size: 16px;
    }

    .line-chart svg {
        height: 210px;
    }

    .line-tick {
        font-size: 15px;
    }

    .bot-detail-tabs {
        width: 100%;
    }

    .bot-detail-tab {
        flex: 1;
        min-width: 0;
    }

    .futures-dashboard-header,
    .futures-chart-card header {
        flex-direction: column;
    }

    .futures-dashboard-status,
    .futures-chart-legend {
        justify-items: start;
        justify-content: flex-start;
        text-align: left;
    }

    .futures-card-grid,
    .futures-card-grid-primary,
    .futures-performance-grid,
    .futures-section-grid,
    .futures-volume-grid,
    .futures-dashboard-section .futures-card-grid,
    .futures-account-panel .futures-card-grid {
        grid-template-columns: 1fr;
    }

    .futures-chart-card svg {
        height: 240px;
    }

    .portfolio-market-header {
        flex-direction: column;
        align-items: stretch;
    }

    .portfolio-market-totals {
        width: 100%;
    }

    .portfolio-market-items {
        grid-template-columns: 1fr;
    }

    .portfolio-market-item {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .portfolio-market-item dl {
        width: 100%;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(92px, 1.2fr);
        gap: 6px;
    }

    .portfolio-market-item-spot dl {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
        row-gap: 16px;
    }

    .portfolio-spot-identity {
        grid-template-columns: minmax(105px, 0.72fr) minmax(165px, 1.28fr);
    }

    .portfolio-spot-desktop {
        display: none;
    }

    .portfolio-spot-mobile {
        display: grid;
    }

    .portfolio-spot-mobile dl {
        grid-template-columns: repeat(3, minmax(72px, 1fr));
    }
}
/* Owner-only read-only preview of a customer portal. */
.owner-preview-bar {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 10000;
    min-width: 220px;
    padding: 9px 10px 9px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(231, 185, 94, 0.72);
    border-radius: 7px;
    color: #edf7fa;
    background: rgba(4, 12, 18, 0.96);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48);
}

.owner-preview-bar span {
    display: grid;
    gap: 2px;
}

.owner-preview-bar small {
    color: #e7b95e;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.owner-preview-bar strong {
    font: 800 14px/1.1 var(--font-display);
}

.owner-preview-bar form {
    margin: 0;
}

.owner-preview-bar button {
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid rgba(85, 216, 232, 0.36);
    border-radius: 5px;
    color: #55d8e8;
    background: rgba(10, 29, 39, 0.9);
    font: 800 11px/1 var(--font-body);
    cursor: pointer;
}

@media (max-width: 820px) {
    .bot-status-reason {
        width: 100%;
        font-size: 11px;
    }

    .customer-bot-status-notice {
        grid-template-columns: 1fr;
        gap: 5px;
        margin-bottom: 14px;
        padding: 11px 13px;
    }

    .customer-bot-status-notice strong {
        font-size: 15px;
    }

    .customer-bot-status-notice p {
        font-size: 12px;
    }
}
