* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    color: #f7fbff;
    background:
        linear-gradient(90deg, rgba(2, 6, 18, 0.96) 0%, rgba(3, 9, 24, 0.86) 44%, rgba(2, 5, 16, 0.68) 100%),
        url("images/background.png") center / cover fixed no-repeat,
        #020611;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    overflow-x: hidden;
    isolation: isolate;
}

button,
a {
    font: inherit;
}

body.auth-locked .portal-shell,
body.auth-locked > .modal-layer {
    display: none;
}

body.authenticated .login-screen,
body.authenticated .auth-modal-layer {
    display: none;
}

.login-screen {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 34px 36px 24px;
    color: #fff;
}

.login-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.login-brand,
.login-secure {
    display: flex;
    align-items: center;
}

.login-brand {
    gap: 13px;
    color: #fff;
    text-decoration: none;
}

.login-divider {
    width: 1px;
    height: 35px;
    background: rgba(133, 157, 206, 0.55);
}

.login-secure {
    gap: 11px;
}

.login-secure img {
    width: 33px;
    height: 33px;
    object-fit: contain;
}

.login-secure strong,
.login-secure span {
    display: block;
    white-space: nowrap;
}

.login-secure strong {
    font-size: 12px;
    font-weight: 900;
}

.login-secure span {
    color: #c3cce1;
    font-size: 11px;
    margin-top: 4px;
}

.login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    align-items: center;
    gap: clamp(36px, 6vw, 70px);
    max-width: 1420px;
    min-height: calc(100vh - 136px);
    margin: 0 auto;
}

.login-hero {
    position: relative;
    min-height: 610px;
    padding-top: 96px;
}

.login-bank-wrap {
    position: absolute;
    top: 108px;
    right: 0;
    width: min(45%, 300px);
    pointer-events: none;
}

.login-bank {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(24, 115, 255, 0.72));
}

.login-overline,
.login-hero h1,
.login-tagline,
.login-copy {
    position: relative;
    margin: 0;
    z-index: 1;
}

.login-overline {
    color: #bdc8df;
    font-size: clamp(22px, 2vw, 30px);
    margin-bottom: 14px;
}

.login-hero h1 {
    font-size: clamp(58px, 6vw, 82px);
    line-height: 0.98;
}

.login-hero h1 span {
    color: #126cff;
}

.login-line {
    width: 70px;
    height: 3px;
    margin: 26px 0 28px;
    background: #0a6cff;
    box-shadow: 0 0 16px rgba(10, 108, 255, 0.8);
}

.login-tagline {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 32px;
}

.login-copy {
    max-width: 560px;
    color: #b9c3d8;
    font-size: 18px;
    line-height: 1.8;
}

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

.feature-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 150px;
    padding: 20px;
    border: 1px solid rgba(51, 86, 151, 0.38);
    border-radius: 9px;
    background: rgba(3, 13, 34, 0.68);
}

.feature-icon,
.login-user-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(17, 98, 225, 0.9), rgba(3, 21, 55, 0.96));
    color: #1681ff;
    box-shadow: 0 0 22px rgba(19, 105, 255, 0.24);
}

.feature-icon {
    width: 66px;
    height: 66px;
    font-size: 32px;
}

.feature-card h2 {
    margin: 0 0 10px;
    font-size: 17px;
}

.feature-card p {
    margin: 0;
    color: #b9c3d8;
    font-size: 15px;
    line-height: 1.5;
}

.login-card,
.auth-modal-card {
    border: 1px solid rgba(55, 88, 150, 0.42);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(3, 13, 34, 0.86), rgba(1, 8, 24, 0.94));
    box-shadow: inset 0 0 40px rgba(29, 96, 204, 0.08), 0 30px 90px rgba(0, 0, 0, 0.28);
}

.login-card {
    min-height: 650px;
    padding: 48px 49px 42px;
}

.login-user-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 28px;
    color: #1880ff;
    font-size: 34px;
}

.login-card h2,
.auth-modal-card h2 {
    margin: 0;
    text-align: center;
    font-size: 28px;
}

.login-card > p,
.auth-modal-card > p {
    margin: 14px 0 34px;
    color: #b9c3d8;
    text-align: center;
    font-size: 16px;
}

.auth-form {
    display: grid;
    gap: 22px;
}

.auth-form label {
    display: grid;
    gap: 10px;
    color: #d8e1f6;
    font-size: 14px;
}

.input-shell {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 8px;
    height: 58px;
    padding: 0 16px;
    border: 1px solid rgba(54, 80, 129, 0.55);
    border-radius: 7px;
    background: rgba(3, 12, 30, 0.72);
}

.input-shell > span {
    color: #8b9ab9;
    font-size: 19px;
}

.input-shell input {
    width: 100%;
    min-width: 0;
    color: #fff;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
}

.input-shell input::placeholder {
    color: #8994ac;
}

.forgot-link {
    justify-self: end;
    color: #236fff;
    text-decoration: none;
    font-size: 13px;
    margin-top: -5px;
}

.auth-error {
    min-height: 18px;
    margin: -6px 0 0;
    color: #ff5e6c;
    font-size: 13px;
    text-align: center;
}

.login-submit {
    min-height: 57px;
}

.auth-or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin: 28px 0;
    color: #8e99b1;
    font-size: 15px;
}

.auth-or span {
    height: 1px;
    background: rgba(69, 93, 137, 0.35);
}

.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 57px;
    color: #1771ff;
    border: 1px solid rgba(23, 102, 255, 0.75);
    border-radius: 7px;
    background: rgba(4, 13, 33, 0.55);
    font-weight: 800;
    cursor: pointer;
}

.login-save-note {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    margin: 32px 0 0;
    color: #bac4da;
    font-size: 15px;
    line-height: 1.55;
}

.login-save-note span {
    color: #9ba8c2;
}

.mobile-auth-actions {
    display: none;
}

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #8793aa;
    font-size: 13px;
}

.auth-modal-layer {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    place-items: center;
    padding: 18px;
}

.auth-modal-layer.is-open {
    display: grid;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 4, 14, 0.72);
    backdrop-filter: blur(10px);
}

.auth-modal-card {
    position: relative;
    width: min(430px, 100%);
    padding: 32px 22px 24px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url("images/background.png") center / cover no-repeat;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 72% 14%, rgba(23, 113, 255, 0.28), transparent 24%),
        linear-gradient(90deg, rgba(2, 6, 18, 0.96), rgba(2, 8, 22, 0.78));
}

.portal-shell {
    position: relative;
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    min-height: 100vh;
    overflow: hidden;
}

.portal-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 17%, rgba(22, 111, 255, 0.32), transparent 22%),
        radial-gradient(circle at 30% 36%, rgba(0, 149, 255, 0.1), transparent 23%),
        linear-gradient(rgba(16, 98, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 98, 255, 0.06) 1px, transparent 1px);
    background-size: auto, auto, 64px 64px, 64px 64px;
    opacity: 0.6;
}

.sidebar {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 35px 16px 28px;
    border-right: 1px solid rgba(67, 111, 187, 0.27);
    background: rgba(1, 5, 15, 0.67);
    box-shadow: 16px 0 50px rgba(0, 0, 0, 0.3);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    color: #fff;
    text-decoration: none;
    margin: 0 4px 36px;
}

.brand-logo {
    display: none;
}

.brand-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 37px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 0 20px rgba(36, 113, 255, 0.45);
}

.brand-subtitle {
    color: #2f7bff;
    font-size: 14px;
    font-weight: 800;
}

.nav-menu {
    display: grid;
    gap: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 60px;
    padding: 0 18px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid rgba(40, 88, 165, 0.5);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(8, 25, 56, 0.86), rgba(3, 12, 30, 0.92));
    box-shadow: inset 0 0 0 1px rgba(46, 115, 255, 0.06), 0 13px 30px rgba(0, 0, 0, 0.22);
}

.nav-item.active,
.nav-item:hover {
    border-color: rgba(50, 132, 255, 0.85);
    background: linear-gradient(180deg, rgba(17, 78, 164, 0.86), rgba(6, 26, 62, 0.94));
    box-shadow: inset 0 0 22px rgba(26, 110, 255, 0.23), 0 0 18px rgba(21, 97, 255, 0.23);
}

.nav-item img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    filter: drop-shadow(0 0 7px rgba(26, 110, 255, 0.8));
}

.mini-status {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 50px;
    min-height: 109px;
    padding: 20px 18px;
    border: 1px solid rgba(43, 77, 136, 0.34);
    background: rgba(2, 12, 31, 0.68);
    box-shadow: inset 0 0 25px rgba(14, 51, 108, 0.12);
}

.mini-status p,
.mini-status strong,
.mini-status small {
    display: block;
    margin: 0;
}

.mini-status p {
    color: #e7efff;
    font-size: 12px;
    margin-bottom: 12px;
}

.mini-status strong {
    color: #17d75e;
    font-size: 12px;
    margin-bottom: 12px;
}

.mini-status strong span,
.agents-online span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 999px;
    background: #13da63;
    box-shadow: 0 0 12px #13da63;
}

.mini-status small {
    color: #b8c4dc;
    font-size: 12px;
}

.dashboard {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 34px 50px 8px 42px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.welcome p,
.welcome h1,
.welcome span {
    margin: 0;
}

.welcome p {
    color: #f2f7ff;
    font-size: 14px;
    margin-bottom: 6px;
}

.welcome h1 {
    font-size: clamp(30px, 3vw, 36px);
    line-height: 1.02;
    font-weight: 700;
}

.welcome span {
    position: relative;
    display: block;
    color: #f1f4fb;
    font-size: 12px;
    margin: 12px 0 0 34px;
}

.welcome span::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 50%;
    width: 24px;
    height: 1px;
    background: #296eff;
    box-shadow: 0 0 9px #296eff;
}

.secure-wrap,
.secure {
    display: flex;
    align-items: center;
}

.secure-wrap {
    gap: 22px;
    align-self: flex-start;
}

.secure {
    gap: 10px;
    color: #fff;
}

.secure img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.secure strong,
.secure span {
    display: block;
    white-space: nowrap;
}

.secure strong {
    font-size: 10px;
    font-weight: 900;
}

.secure span {
    color: #cbd7f3;
    font-size: 10px;
    margin-top: 3px;
}

.qf-badge {
    width: 45px;
    height: 45px;
    border-radius: 999px;
    object-fit: cover;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(410px, 1.08fr) minmax(330px, 0.92fr);
    grid-template-areas:
        "liquidity action"
        "assets support";
    grid-template-rows: 300px 222px;
    gap: 20px;
    flex: none;
    min-height: 0;
}

.panel,
.warning-strip {
    border: 1px solid rgba(69, 105, 165, 0.49);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(2, 13, 34, 0.82), rgba(2, 8, 22, 0.92));
    box-shadow: inset 0 0 32px rgba(31, 101, 213, 0.08), 0 24px 60px rgba(0, 0, 0, 0.22);
}

.liquidity-panel {
    grid-area: liquidity;
    min-height: 0;
    padding: 27px 29px 16px;
}

.eyebrow {
    margin: 0 0 16px;
    color: #9fb9ff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.liquidity-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.liquidity-top strong {
    font-size: clamp(34px, 4vw, 40px);
    line-height: 1;
    letter-spacing: 0;
}

.liquidity-top img {
    width: 116px;
    max-width: 30%;
    height: auto;
    margin-top: -24px;
    filter: drop-shadow(0 0 18px rgba(26, 135, 255, 0.9));
}

.light-line {
    height: 4px;
    margin: 25px 0 24px;
    background: linear-gradient(90deg, rgba(43, 120, 255, 0.88), rgba(96, 178, 255, 0.95), rgba(43, 120, 255, 0.7));
    box-shadow: 0 0 11px #1b72ff;
}

.balance-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 18px;
}

.balance-row > div + div {
    padding-left: 24px;
    border-left: 1px solid rgba(51, 79, 126, 0.38);
}

.balance-row span,
.test-amount span {
    display: block;
    color: #b8c7e7;
    font-size: 12px;
    margin-bottom: 9px;
}

.balance-row strong {
    font-size: 24px;
    line-height: 1;
}

.blue,
.test-amount strong {
    color: #1f71ff;
    text-shadow: 0 0 13px rgba(31, 113, 255, 0.52);
}

.withdraw-btn,
.primary-btn,
.outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.withdraw-btn {
    width: 100%;
    gap: 14px;
    color: #c7d7ff;
    border: 1px solid rgba(81, 112, 164, 0.54);
    background: linear-gradient(180deg, rgba(40, 56, 80, 0.82), rgba(24, 36, 58, 0.86));
    cursor: pointer;
}

.tiny-note {
    margin: 13px 0 0;
    color: #8e9ab0;
    font-size: 11px;
}

.action-column {
    grid-area: action;
    display: grid;
    grid-template-rows: 54px 1fr;
    gap: 15px;
}

.warning-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    color: #ffdf71;
    font-size: 15px;
    font-weight: 900;
}

.warning-strip img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 197, 40, 0.58));
}

.test-panel {
    padding: 18px 22px 14px;
    overflow: hidden;
}

.test-copy {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(58, 83, 126, 0.35);
}

.test-copy img {
    width: 61px;
    height: 61px;
    object-fit: contain;
    border-radius: 999px;
    clip-path: circle(50%);
}

.test-copy h2,
.support-panel h2 {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 900;
}

.test-copy h2 span {
    color: #5b91ff;
}

.test-copy p,
.support-panel p {
    margin: 8px 0 0;
    color: #f4f7ff;
    font-size: 12px;
    line-height: 1.45;
}

.test-amount {
    margin: 10px 0 12px 82px;
}

.test-amount strong {
    display: block;
    font-size: 20px;
}

.primary-btn {
    width: 100%;
    color: #fff;
    border: 1px solid rgba(60, 130, 255, 0.9);
    background: linear-gradient(180deg, #1769ff, #0746d5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 22px rgba(23, 105, 255, 0.35);
}

.assets-panel {
    grid-area: assets;
    min-height: 0;
    padding: 15px 21px 13px;
}

.section-title,
.support-head {
    display: flex;
    align-items: center;
    gap: 13px;
}

.section-title {
    margin-bottom: 13px;
}

.section-title span {
    color: #247cff;
    font-size: 20px;
    text-shadow: 0 0 9px rgba(36, 124, 255, 0.7);
}

.section-title h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
}

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

.assets-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    font-size: 11px;
}

.assets-table th {
    color: #aab9d8;
    font-size: 9px;
    font-weight: 800;
    padding: 0 0 12px;
    text-align: left;
}

.assets-table td {
    height: 28px;
    padding: 3px 6px 3px 0;
    color: #f9fbff;
    border-top: 1px solid rgba(54, 78, 121, 0.3);
    white-space: nowrap;
}

.asset-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
}

.coin-icon {
    width: 19px;
    height: 19px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(36, 124, 255, 0.35);
}

.asset-symbol {
    color: #95a5c3;
    font-size: 9px;
    margin-left: 3px;
}

.zero {
    color: #dce6ff;
}

.positive {
    color: #42e078 !important;
}

.negative {
    color: #ff4c5f !important;
}

.loading-cell {
    color: #91a2c2 !important;
    text-align: center;
}

.view-assets-btn {
    display: none;
}

.support-panel {
    grid-area: support;
    min-height: 0;
    padding: 25px 21px 15px;
}

.support-head {
    gap: 18px;
    margin-bottom: 15px;
}

.support-head img {
    width: 56px;
    height: 56px;
    padding: 9px;
    object-fit: contain;
    border-radius: 999px;
    clip-path: none;
    background: radial-gradient(circle, rgba(19, 74, 154, 0.9), rgba(3, 18, 49, 0.96));
    filter: none;
    box-shadow: 0 0 22px rgba(22, 112, 255, 0.35);
}

.support-panel p {
    max-width: 272px;
    margin-left: 77px;
}

.outline-btn {
    width: 100%;
    margin-top: 20px;
    color: #337fff;
    border: 1px solid rgba(65, 89, 255, 0.8);
    background: rgba(6, 15, 35, 0.42);
    box-shadow: inset 0 0 16px rgba(65, 89, 255, 0.12);
    text-decoration: none;
}

.outline-btn::before {
    content: "☊";
    margin-right: 12px;
    color: currentColor;
    font-size: 22px;
    line-height: 1;
}

.agents-online {
    margin: 17px -21px -3px;
    padding-top: 15px;
    color: #367cff;
    border-top: 1px solid rgba(58, 83, 126, 0.35);
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 32px;
    color: #8390a8;
    font-size: 12px;
}

.modal-layer {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: none;
    place-items: center;
    align-items: center;
    justify-items: center;
    padding: 20px;
}

.modal-layer.is-open {
    display: grid;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 4, 14, 0.72);
    backdrop-filter: blur(10px);
}

.modal-card {
    position: relative;
    width: min(430px, 100%);
    padding: 31px 28px 25px;
    color: #fff;
    text-align: center;
    border: 1px solid rgba(64, 113, 201, 0.72);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(3, 18, 46, 0.96), rgba(1, 8, 24, 0.97)),
        rgba(2, 10, 28, 0.96);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 0 40px rgba(31, 101, 213, 0.14);
    transform: translateY(10px) scale(0.98);
    animation: modalIn 180ms ease forwards;
}

.warning-modal {
    border-color: rgba(255, 211, 88, 0.72);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 0 42px rgba(255, 194, 43, 0.09);
}

@keyframes modalIn {
    to {
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 34px;
    height: 34px;
    color: #9db6f2;
    border: 1px solid rgba(64, 113, 201, 0.5);
    border-radius: 999px;
    background: rgba(5, 16, 39, 0.82);
    cursor: pointer;
}

.modal-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 999px;
    clip-path: circle(50%);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 18px rgba(35, 122, 255, 0.55));
}

.warning-modal .modal-icon {
    filter: drop-shadow(0 0 18px rgba(255, 205, 58, 0.55));
}

.modal-kicker {
    margin: 0 0 8px;
    color: #5f98ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.warning-modal .modal-kicker {
    color: #ffd96d;
}

.modal-card h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
}

.modal-card p:not(.modal-kicker) {
    margin: 13px 0 0;
    color: #d7e2fb;
    font-size: 14px;
    line-height: 1.6;
}

.modal-summary {
    margin: 22px 0 18px;
    padding: 17px;
    border: 1px solid rgba(55, 99, 179, 0.48);
    border-radius: 8px;
    background: rgba(4, 16, 39, 0.7);
}

.modal-summary span,
.modal-details span {
    display: block;
    color: #aab9d8;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-summary strong {
    color: #2377ff;
    font-size: 28px;
    text-shadow: 0 0 18px rgba(35, 119, 255, 0.6);
}

.warning-modal .modal-summary strong {
    color: #fff;
}

.modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.modal-details div {
    padding: 14px;
    border: 1px solid rgba(55, 99, 179, 0.36);
    border-radius: 8px;
    background: rgba(1, 8, 24, 0.58);
}

.modal-details strong {
    color: #fff;
    font-size: 13px;
}

.modal-action {
    width: 100%;
}

.receive-modal-card {
    width: min(510px, 100%);
    padding: 20px 24px 22px;
    text-align: center;
}

.receive-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 30px;
    height: 30px;
    color: #1979ff;
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    text-shadow: 0 0 12px rgba(25, 121, 255, 0.7);
}

.receive-label {
    margin: 0 0 22px;
    color: #1979ff;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
}

.receive-asset {
    display: inline-grid;
    grid-template-columns: 70px auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 23px;
    text-align: left;
}

.receive-coin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    color: #fff;
    border: 6px solid rgba(74, 176, 255, 0.95);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(15, 77, 162, 0.98), rgba(2, 18, 54, 0.98));
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 0 26px rgba(25, 121, 255, 0.6);
}

.receive-asset h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.15;
}

.receive-asset p,
.receive-instructions,
.address-label,
.scan-note,
.deposit-note p {
    margin: 0;
}

.receive-asset p {
    color: #b9c8e7;
    font-size: 17px;
    margin-top: 4px;
}

.receive-instructions {
    color: #c5d0e8;
    font-size: 12px;
    line-height: 1.7;
}

.address-label {
    margin-top: 24px;
    color: #1979ff;
    font-size: 12px;
    font-weight: 900;
}

.address-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: center;
    min-height: 48px;
    margin-top: 9px;
    color: #fff;
    border: 1px solid rgba(38, 92, 183, 0.65);
    border-radius: 6px;
    background: rgba(5, 14, 36, 0.86);
    box-shadow: inset 0 0 18px rgba(25, 121, 255, 0.08);
}

.address-box span {
    overflow: hidden;
    padding: 0 15px;
    font-size: 13px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.address-box button {
    height: 100%;
    color: #4b94ff;
    border: 0;
    border-left: 1px solid rgba(38, 92, 183, 0.55);
    background: rgba(8, 22, 55, 0.8);
    cursor: pointer;
}

.qr-frame {
    width: 148px;
    height: 148px;
    margin: 20px auto 10px;
    padding: 9px;
    border: 1px solid rgba(33, 126, 255, 0.9);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 18px rgba(25, 121, 255, 0.8), 0 0 34px rgba(25, 121, 255, 0.36);
}

.qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.scan-note {
    color: #9cadc9;
    font-size: 12px;
}

.deposit-note {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    padding: 14px 17px;
    color: #adc0e2;
    border: 1px solid rgba(38, 92, 183, 0.65);
    border-radius: 6px;
    background: rgba(3, 16, 43, 0.8);
    text-align: left;
}

.deposit-note span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    color: #4a96ff;
    border: 1px solid rgba(74, 150, 255, 0.6);
    border-radius: 6px;
}

.deposit-note p {
    font-size: 12px;
    line-height: 1.55;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 1050px) {
    .portal-shell {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .dashboard {
        padding: 32px 24px 18px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "liquidity"
            "action"
            "assets"
            "support";
        grid-template-rows: auto;
        flex: 1;
    }

    .mini-status {
        left: 16px;
        right: 16px;
    }
}

@media (max-width: 1180px) {
    html,
    body {
        min-height: 100%;
    }

    body {
        background:
            linear-gradient(180deg, rgba(1, 4, 15, 0.75), rgba(1, 4, 15, 0.96)),
            url("images/background.png") center top / cover no-repeat,
            #020611;
    }

    body::after {
        background:
            radial-gradient(circle at 74% 10%, rgba(22, 104, 255, 0.22), transparent 26%),
            linear-gradient(180deg, rgba(1, 4, 15, 0.42), rgba(1, 4, 15, 0.95));
    }

    .portal-shell {
        display: block;
        min-height: 100vh;
        padding-bottom: 82px;
        overflow: visible;
    }

    .portal-shell::before {
        opacity: 0.42;
    }

    .sidebar {
        display: contents;
    }

    .brand {
        position: relative;
        z-index: 3;
        display: inline-flex;
        margin: 34px 0 16px clamp(22px, 4vw, 38px);
    }

    .brand-mark {
        font-size: clamp(37px, 5vw, 48px);
    }

    .brand-subtitle {
        font-size: 13px;
    }

    .mini-status {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        border-top: 1px solid rgba(45, 78, 138, 0.42);
        background: rgba(3, 12, 31, 0.92);
        backdrop-filter: blur(16px);
    }

    .nav-item {
        height: 58px;
        justify-content: center;
        gap: 10px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #8b95b2;
        font-size: 0;
    }

    .nav-item:nth-child(n + 3) {
        display: none;
    }

    .nav-item:nth-child(1) span::before {
        content: "Dashboard";
    }

    .nav-item:nth-child(2) span::before {
        content: "Profile";
    }

    .nav-item span {
        font-size: 12px;
        font-weight: 600;
    }

    .nav-item span {
        color: transparent;
    }

    .nav-item span::before {
        color: #8b95b2;
    }

    .nav-item.active {
        color: #2577ff;
        background: rgba(12, 42, 91, 0.46);
    }

    .nav-item.active span::before {
        color: #2577ff;
    }

    .nav-item img {
        width: 21px;
        height: 21px;
    }

    .dashboard {
        padding: 0 clamp(22px, 4vw, 38px) 0;
    }

    .topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 16px;
        margin: -2px 0 20px;
        text-align: left;
    }

    .welcome p {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .welcome h1 {
        font-size: clamp(25px, 4.8vw, 34px);
    }

    .welcome h1::after,
    .welcome::before {
        content: none;
    }

    .welcome span {
        margin: 10px 0 0;
        max-width: none;
        font-size: 13px;
        line-height: 1.35;
    }

    .welcome span::before {
        display: none;
    }

    .secure-wrap {
        position: absolute;
        top: 34px;
        right: clamp(22px, 4vw, 38px);
        z-index: 4;
        gap: 18px;
        align-items: center;
    }

    .secure {
        gap: 9px;
    }

    .secure img {
        width: 31px;
        height: 31px;
    }

    .secure strong {
        font-size: 10px;
    }

    .secure span {
        font-size: 11px;
        white-space: nowrap;
    }

    .qf-badge {
        display: block;
        width: 43px;
        height: 43px;
    }

    .content-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "action"
            "liquidity"
            "assets"
            "test"
            "support";
        grid-template-rows: auto;
        gap: 14px;
        max-width: 900px;
        margin: 0 auto;
    }

    .action-column {
        display: contents;
    }

    .warning-strip {
        grid-area: action;
        min-height: 50px;
        padding: 0 18px;
        border-color: rgba(180, 132, 28, 0.45);
        background: rgba(31, 28, 15, 0.72);
        font-size: 13px;
        order: 0;
    }

    .warning-strip span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .warning-strip img {
        width: 34px;
        height: 34px;
    }

    .panel,
    .warning-strip {
        border-radius: 9px;
        background-color: rgba(2, 12, 31, 0.78);
    }

    .liquidity-panel {
        padding: 28px 32px 21px;
    }

    .eyebrow {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .liquidity-top strong {
        font-size: clamp(45px, 8vw, 62px);
    }

    .liquidity-top img {
        display: block;
        width: clamp(120px, 20vw, 180px);
        max-width: 34%;
        margin-top: -18px;
    }

    .light-line {
        margin: 22px 0 21px;
    }

    .balance-row {
        grid-template-columns: 1fr 1fr;
    }

    .balance-row > div + div {
        padding-left: 20px;
        border-left: 1px solid rgba(51, 79, 126, 0.38);
        border-top: 0;
    }

    .withdraw-btn {
        min-height: 52px;
    }

    .assets-panel {
        padding: 20px 22px 18px;
    }

    .section-title {
        margin-bottom: 18px;
    }

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

    .assets-table {
        display: table;
        min-width: 660px;
        font-size: 12px;
    }

    .assets-table thead {
        display: table-header-group;
    }

    .assets-table tbody {
        display: table-row-group;
    }

    .assets-table tr {
        display: table-row;
        border-top: 0;
        padding: 0;
    }

    .assets-table th {
        font-size: 10px;
    }

    .assets-table td {
        display: table-cell;
        width: auto;
        height: 38px;
        padding: 5px 8px 5px 0;
        border-top: 1px solid rgba(54, 78, 121, 0.3);
        text-align: left;
        white-space: nowrap;
    }

    .assets-table td::before {
        content: none;
    }

    .view-assets-btn {
        display: block;
        margin: 15px auto 0;
        color: #247cff;
        border: 0;
        background: transparent;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.08em;
    }

    .test-panel {
        grid-area: test;
        padding: 22px 26px 20px;
    }

    .test-copy {
        grid-template-columns: 70px 1fr;
        gap: 18px;
        padding-bottom: 12px;
        border-bottom: 0;
    }

    .test-copy img {
        width: 62px;
        height: 62px;
    }

    .test-copy h2,
    .support-panel h2 {
        font-size: 16px;
    }

    .test-copy p,
    .support-panel p {
        max-width: 340px;
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.5;
    }

    .test-amount {
        margin: 10px 0 15px 88px;
    }

    .primary-btn {
        min-height: 46px;
    }

    .support-panel {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 18px;
        padding: 22px 20px;
    }

    .support-head {
        display: contents;
    }

    .support-head img {
        width: 62px;
        height: 62px;
    }

    .support-head h2 {
        align-self: end;
    }

    .support-panel p {
        grid-column: 2;
        margin: -8px 0 0;
    }

    .outline-btn {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: auto;
        min-width: 190px;
        margin: 0;
        padding: 0 24px;
        color: #fff;
        border-color: rgba(27, 229, 95, 0.6);
        border-radius: 999px;
        background: linear-gradient(180deg, #13d85c, #07a93d);
        box-shadow: 0 0 22px rgba(15, 210, 84, 0.28);
    }

    .outline-btn::before {
        content: "☊";
        margin-right: 12px;
        color: #fff;
        font-size: 24px;
        line-height: 1;
    }

    .agents-online,
    .footer {
        display: none;
    }

    .modal-layer {
        align-items: center;
        justify-items: center;
        padding: 22px;
    }

    .login-screen {
        padding: 28px 28px 24px;
    }

    .login-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 720px;
        min-height: 0;
        padding-top: 34px;
    }

    .login-hero {
        min-height: 0;
        padding-top: 0;
    }

    .login-bank-wrap {
        width: 250px;
        top: 44px;
        right: 4%;
    }

    .login-card {
        max-width: 620px;
        width: 100%;
        min-height: 0;
        margin: 0 auto;
    }

    .feature-grid {
        max-width: 620px;
        margin: 42px auto 0;
    }
}

@media (max-width: 760px) {
    html,
    body {
        min-height: 100%;
    }

    body {
        background:
            linear-gradient(180deg, rgba(1, 4, 15, 0.72), rgba(1, 4, 15, 0.94)),
            url("images/background.png") center top / cover no-repeat,
            #020611;
    }

    body::after {
        background:
            radial-gradient(circle at 50% 13%, rgba(21, 103, 255, 0.24), transparent 28%),
            linear-gradient(180deg, rgba(1, 4, 15, 0.64), rgba(1, 4, 15, 0.96));
    }

    .login-screen {
        min-height: 100vh;
        padding: 25px 28px 34px;
    }

    .login-header {
        align-items: flex-start;
    }

    .login-brand {
        gap: 10px;
    }

    .login-divider {
        display: none;
    }

    .login-secure {
        gap: 7px;
        margin-top: 4px;
    }

    .login-secure img {
        width: 30px;
        height: 30px;
    }

    .login-secure strong {
        font-size: 10px;
    }

    .login-secure span {
        font-size: 11px;
    }

    .login-layout {
        display: block;
        padding-top: 26px;
    }

    .login-hero {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .login-bank-wrap {
        position: static;
        width: 210px;
        margin: 0 auto 12px;
    }

    .login-overline {
        font-size: 28px;
        line-height: 1.08;
    }

    .login-hero h1 {
        font-size: clamp(49px, 13vw, 61px);
    }

    .login-line {
        width: 48px;
        height: 2px;
        margin: 18px auto 18px;
    }

    .login-tagline {
        max-width: 345px;
        color: #c4cede;
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 22px;
    }

    .login-copy {
        display: none;
    }

    .login-card {
        display: none;
    }

    .mobile-auth-actions {
        display: block;
        width: 100%;
        margin: 0 auto 20px;
        padding: 25px 24px;
        border: 1px solid rgba(55, 88, 150, 0.42);
        border-radius: 13px;
        background: linear-gradient(180deg, rgba(3, 13, 34, 0.86), rgba(1, 8, 24, 0.94));
    }

    .login-open-btn {
        min-height: 58px;
    }

    .mobile-auth-actions .auth-or {
        margin: 22px 0;
    }

    .mobile-auth-actions .login-save-note {
        display: block;
        margin-top: 22px;
        text-align: left;
    }

    .login-overline span {
        display: none;
    }

    .feature-grid {
        display: block;
        width: 100%;
        margin: 20px auto 0;
        border: 1px solid rgba(55, 88, 150, 0.42);
        border-radius: 13px;
        background: rgba(3, 13, 34, 0.72);
        overflow: hidden;
    }

    .feature-card {
        position: relative;
        grid-template-columns: 66px 1fr 18px;
        min-height: 0;
        padding: 18px 18px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .feature-card + .feature-card {
        border-top: 1px solid rgba(55, 88, 150, 0.28);
    }

    .feature-card::after {
        content: "›";
        align-self: center;
        color: #fff;
        font-size: 34px;
        line-height: 1;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 25px;
    }

    .feature-card h2 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 14px;
    }

    .login-footer {
        display: none;
    }

    .auth-modal-layer {
        align-items: center;
        justify-items: center;
    }

    .portal-shell {
        display: block;
        min-height: 100vh;
        overflow: visible;
    }

    .sidebar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: auto;
        padding: 22px 26px 12px;
        border-right: 0;
        border-bottom: 0;
        background: transparent;
        box-shadow: none;
    }

    .brand {
        margin: 0;
    }

    .brand-mark {
        font-size: 39px;
    }

    .nav-menu {
        grid-template-columns: repeat(4, minmax(74px, 1fr));
        gap: 8px;
        order: 3;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .nav-item {
        justify-content: center;
        min-width: 74px;
        height: 48px;
        padding: 0 8px;
        font-size: 10px;
        gap: 6px;
    }

    .nav-item img {
        width: 18px;
        height: 18px;
    }

    .mini-status {
        position: static;
        order: 4;
        min-height: auto;
        margin: 0;
        padding: 13px 15px;
        background: rgba(2, 12, 31, 0.55);
    }

    .topbar,
    .secure-wrap,
    .liquidity-top,
    .test-copy {
        align-items: flex-start;
    }

    .topbar {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        text-align: center;
        margin-bottom: 20px;
    }

    .dashboard {
        padding: 2px 26px 28px;
    }

    .welcome {
        display: grid;
        justify-items: center;
    }

    .welcome::before {
        content: "";
        width: 165px;
        height: 155px;
        margin: 0 auto 5px;
        background: url("images/bank-image-hologram.png") center / contain no-repeat;
        filter: drop-shadow(0 0 24px rgba(23, 112, 255, 0.75));
    }

    .welcome p {
        font-size: 28px;
        line-height: 1.05;
    }

    .welcome h1 {
        font-size: clamp(44px, 14vw, 58px);
        line-height: 0.98;
    }

    .welcome h1::after {
        content: " Portal";
        color: #126cff;
    }

    .welcome span {
        max-width: 300px;
        margin: 22px 0 0;
        color: #c7d2ea;
        font-size: 16px;
        line-height: 1.4;
    }

    .welcome span::before {
        left: 50%;
        top: -13px;
        transform: translateX(-50%);
        width: 48px;
    }

    .secure-wrap {
        position: fixed;
        top: 32px;
        right: 24px;
        gap: 8px;
        z-index: 5;
    }

    .secure {
        gap: 7px;
    }

    .secure img {
        width: 28px;
        height: 28px;
    }

    .secure strong {
        font-size: 9px;
    }

    .secure span {
        font-size: 10px;
    }

    .qf-badge {
        display: none;
    }

    .content-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .panel,
    .warning-strip {
        border-color: rgba(52, 96, 176, 0.5);
        background: linear-gradient(180deg, rgba(2, 13, 34, 0.76), rgba(2, 8, 22, 0.88));
    }

    .liquidity-panel {
        padding: 22px 22px 18px;
    }

    .liquidity-top img {
        display: block;
        width: 82px;
        margin-top: -14px;
    }

    .test-copy {
        grid-template-columns: 52px 1fr;
    }

    .test-copy img {
        width: 48px;
        height: 48px;
    }

    .test-amount,
    .support-panel p {
        margin-left: 0;
    }

    .support-panel,
    .assets-panel,
    .test-panel {
        padding: 20px;
    }

    .asset-table-wrap {
        overflow: visible;
    }

    .assets-table,
    .assets-table thead,
    .assets-table tbody,
    .assets-table tr,
    .assets-table td {
        display: block;
        width: 100%;
    }

    .assets-table thead {
        display: none;
    }

    .assets-table tr {
        padding: 12px 0;
        border-top: 1px solid rgba(54, 78, 121, 0.3);
    }

    .assets-table tr:first-child {
        border-top: 0;
    }

    .assets-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        height: auto;
        padding: 4px 0;
        border-top: 0;
        font-size: 12px;
        white-space: normal;
        text-align: right;
    }

    .assets-table td::before {
        content: attr(data-label);
        color: #8fa3ce;
        font-size: 10px;
        font-weight: 900;
        text-align: left;
    }

    .assets-table td:first-child {
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 5px;
    }

    .assets-table td:first-child::before {
        content: "";
        display: none;
    }

    .footer {
        padding-bottom: 16px;
    }
}

@media (max-width: 520px) {
    .dashboard {
        padding: 0 22px 28px;
    }

    .nav-menu {
        grid-template-columns: repeat(4, minmax(72px, 1fr));
    }

    .balance-row {
        gap: 18px;
        grid-template-columns: 1fr;
    }

    .balance-row > div + div {
        padding: 18px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(51, 79, 126, 0.38);
    }

    .warning-strip {
        font-size: 12px;
        padding: 0 14px;
    }

    .brand-mark {
        font-size: 36px;
    }

    .brand-subtitle {
        font-size: 13px;
    }

    .secure-wrap {
        right: 20px;
    }

    .secure span {
        max-width: 118px;
        white-space: normal;
    }

    .welcome::before {
        width: 150px;
        height: 140px;
    }

    .welcome p {
        font-size: 25px;
    }

    .welcome h1 {
        font-size: clamp(40px, 13vw, 52px);
    }

    .liquidity-top strong {
        font-size: 34px;
    }

    .modal-layer {
        align-items: end;
        padding: 14px;
    }

    .modal-card {
        padding: 28px 20px 20px;
    }
}

@media (max-width: 760px) {
    .portal-shell {
        display: block;
        padding-bottom: 82px;
    }

    .sidebar {
        display: contents;
    }

    .brand {
        display: inline-flex;
        margin: 30px 0 16px 22px;
    }

    .brand-mark {
        font-size: 39px;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0 0 env(safe-area-inset-bottom);
        overflow: visible;
        border-top: 1px solid rgba(45, 78, 138, 0.42);
        background: rgba(3, 12, 31, 0.92);
        backdrop-filter: blur(16px);
    }

    .nav-item,
    .nav-item.active {
        min-width: 0;
        height: 58px;
        justify-content: center;
        gap: 10px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-size: 0;
    }

    .nav-item:nth-child(n + 3) {
        display: none;
    }

    .nav-item:nth-child(1) span::before {
        content: "Dashboard";
    }

    .nav-item:nth-child(2) span::before {
        content: "Profile";
    }

    .nav-item span {
        font-size: 12px;
        color: transparent;
    }

    .nav-item span::before {
        color: #8b95b2;
    }

    .nav-item.active {
        background: rgba(12, 42, 91, 0.46);
    }

    .nav-item.active span::before {
        color: #2577ff;
    }

    .mini-status {
        display: none;
    }

    .dashboard {
        padding: 0 22px;
    }

    .topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 16px;
        margin: 24px 0 18px;
        text-align: left;
    }

    .welcome {
        display: block;
    }

    .welcome::before,
    .welcome h1::after,
    .welcome span::before {
        content: none;
        display: none;
    }

    .welcome p {
        width: 100%;
        font-size: 14px;
        line-height: 1.25;
        text-align: left;
    }

    .welcome h1 {
        width: 100%;
        font-size: 30px;
        line-height: 1.05;
        text-align: left;
    }

    .welcome span {
        width: 100%;
        max-width: none;
        margin: 9px 0 0;
        font-size: 13px;
        line-height: 1.35;
        text-align: left;
    }

    .secure-wrap {
        position: fixed;
        top: 32px;
        right: 22px;
        gap: 12px;
        z-index: 12;
    }

    .qf-badge {
        display: block;
        width: 42px;
        height: 42px;
    }

    .content-grid {
        grid-template-areas:
            "action"
            "liquidity"
            "assets"
            "test"
            "support";
        gap: 14px;
    }

    .action-column {
        display: contents;
    }

    .liquidity-top img {
        display: block;
    }

    .balance-row {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .balance-row > div + div {
        padding: 0 0 0 20px;
        border-left: 1px solid rgba(51, 79, 126, 0.38);
        border-top: 0;
    }

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

    .assets-table {
        display: table;
        width: 100%;
        min-width: 0;
        table-layout: fixed;
        font-size: 9px;
    }

    .assets-table thead {
        display: table-header-group;
    }

    .assets-table tbody {
        display: table-row-group;
    }

    .assets-table tr {
        display: table-row;
        padding: 0;
    }

    .assets-table td {
        display: table-cell;
        width: auto;
        height: 34px;
        padding: 4px 4px 4px 0;
        border-top: 1px solid rgba(54, 78, 121, 0.3);
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .assets-table td::before {
        content: none;
    }

    .test-amount {
        margin-left: 88px;
    }

    .test-panel {
        grid-area: test;
    }

    .support-panel {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 16px;
    }

    .support-head {
        display: contents;
    }

    .support-panel p {
        grid-column: 2;
        margin: -8px 0 0;
    }

    .outline-btn {
        grid-column: 1 / -1;
        justify-self: end;
        min-width: 190px;
    }

    .modal-layer {
        align-items: center;
        justify-items: center;
        padding: 18px;
    }
}

@media (max-width: 520px) {
    .dashboard {
        padding: 0 22px;
    }

    .warning-strip {
        min-height: 44px;
    }

    .liquidity-panel {
        padding: 24px 26px 18px;
    }

    .liquidity-top strong {
        font-size: clamp(43px, 11vw, 54px);
    }

    .liquidity-top img {
        width: 118px;
    }

    .support-panel {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .outline-btn {
        grid-column: 3;
        grid-row: 1 / span 2;
        min-width: 0;
        padding: 0 18px;
    }
}

@media (max-width: 760px) {
    .support-panel {
        grid-template-columns: 78px minmax(0, 1fr);
        align-items: center;
        gap: 16px 18px;
        padding: 22px 20px;
    }

    .support-head {
        display: contents;
    }

    .support-head img {
        width: 64px;
        height: 64px;
        padding: 10px;
        border-radius: 999px;
        clip-path: none;
        object-fit: contain;
        background: radial-gradient(circle, rgba(19, 74, 154, 0.9), rgba(3, 18, 49, 0.96));
        filter: none;
        box-shadow: 0 0 22px rgba(22, 112, 255, 0.35);
    }

    .support-head h2 {
        grid-column: 2;
        margin: 0;
        align-self: end;
        font-size: 18px;
        line-height: 1.15;
    }

    .support-panel p {
        grid-column: 2;
        margin: -6px 0 0;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.45;
        overflow-wrap: normal;
        word-break: normal;
    }

    .outline-btn {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-self: end;
        width: min(100%, 280px);
        min-width: 0;
        min-height: 48px;
        padding: 0 22px;
        white-space: nowrap;
    }
}
