* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy-950: #05080d;
    --navy-900: #071522;
    --navy-800: #0b2540;
    --navy-700: #123b60;
    --gold: #c89232;
    --gold-soft: #e5bd69;
    --ink: #f4f7f8;
    --muted: #8d9ba6;
    --canvas: #07111a;
    --white: #0b1620;
    --line: #1a2a36;
    --shadow: 0 18px 45px rgba(0, 0, 0, .3);
}

html { scroll-behavior: smooth; }
body { min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 78% 0%, #102538 0%, #050a0f 34%, #020507 100%); font-family: Inter, Aptos, "Segoe UI", system-ui, sans-serif; line-height: 1.5; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(229,189,105,.45); outline-offset: 3px; }
[hidden] { display: none !important; }

.wallet-access-gate {
    display: grid;
    place-items: center;
    width: min(1440px, calc(100% - 32px));
    min-height: calc(100vh - 108px);
    margin: 0 auto 18px;
    padding: 42px 20px;
    overflow: hidden;
    border: 1px solid #142531;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 18%, rgba(24,61,85,.22), transparent 35%),
        linear-gradient(155deg, #08141e, #020507 72%);
    box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.wallet-access-card { display: grid; justify-items: center; width: min(470px,100%); text-align: center; }
.wallet-access-brand { position: relative; display: grid; place-items: center; width: 82px; height: 82px; margin-bottom: 25px; }
.wallet-access-brand > span { display: block; width: 76px; height: 76px; padding: 5px; overflow: hidden; border: 1px solid rgba(229,189,105,.26); border-radius: 25px; background: rgba(255,255,255,.035); box-shadow: 0 22px 45px rgba(0,0,0,.38); }
.wallet-access-brand img { width: 100%; height: 100%; border-radius: 20px; object-fit: cover; }
.wallet-access-brand > i { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 29px; height: 29px; border: 4px solid #050b10; border-radius: 50%; color: #090b0d; background: var(--gold-soft); font-size: .58rem; }
.wallet-access-kicker { color: var(--gold-soft); font-size: .6rem; font-weight: 900; letter-spacing: .18em; }
.wallet-access-card h1 { margin: 8px 0 10px; color: #f8fafb; font-size: clamp(1.85rem,5vw,2.7rem); letter-spacing: -.045em; }
.wallet-access-card > p { max-width: 440px; color: #81919d; font-size: .76rem; line-height: 1.75; }
.wallet-access-loader { display: flex; gap: 6px; margin: 26px 0 22px; }
.wallet-access-loader i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); animation: walletAccessPulse 1.2s ease-in-out infinite; }
.wallet-access-loader i:nth-child(2) { animation-delay: .14s; }
.wallet-access-loader i:nth-child(3) { animation-delay: .28s; }
@keyframes walletAccessPulse { 0%,100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.wallet-access-actions { display: grid; width: min(330px,100%); gap: 9px; margin: 25px 0 22px; }
.wallet-access-actions a { display: grid; place-items: center; min-height: 46px; padding: 10px 16px; border-radius: 13px; text-decoration: none; font-size: .7rem; font-weight: 850; }
.wallet-access-primary { color: #090b0d; background: linear-gradient(135deg,#efd28e,#c89232); box-shadow: 0 12px 25px rgba(200,146,50,.12); }
.wallet-access-secondary { color: #b8c3ca; border: 1px solid #1d303d; background: rgba(255,255,255,.025); }
.wallet-access-card > small { display: flex; align-items: center; gap: 7px; color: #536572; font-size: .58rem; }
.wallet-access-card > small i { color: #9db4c2; }

.product-switcher { margin-bottom: 10px; }
.bank-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); width: min(1440px, calc(100% - 32px)); min-height: calc(100vh - 108px); margin: 0 auto 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 24px 70px rgba(0,0,0,.32); }

.bank-sidebar { display: flex; flex-direction: column; min-height: 100%; padding: 22px 16px 18px; color: #fff; background: linear-gradient(165deg, #081725, #020507 72%); }
.bank-brand { display: flex; align-items: center; gap: 11px; margin: 0 8px 34px; color: inherit; text-decoration: none; }
.bank-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; border: 1px solid rgba(155,196,217,.55); border-radius: 14px; color: var(--gold-soft); background: rgba(255,255,255,.05); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.bank-brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bank-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.bank-brand small { color: rgba(255,255,255,.44); font-size: .56rem; font-weight: 800; letter-spacing: .14em; }
.bank-brand strong { margin-top: 3px; font: 600 1.18rem Georgia, serif; }
.bank-nav { display: grid; gap: 5px; }
.bank-nav button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 13px; border: 0; border-radius: 13px; color: rgba(255,255,255,.62); background: transparent; cursor: pointer; font-size: .78rem; font-weight: 700; text-align: left; }
.bank-nav button span { display: grid; place-items: center; width: 25px; color: var(--gold-soft); font-size: 1rem; }
.bank-nav button:hover { color: #fff; background: rgba(255,255,255,.05); }
.bank-nav button.active { color: #fff; background: rgba(255,255,255,.11); box-shadow: inset 3px 0 var(--gold); }
.bank-sidebar-spacer { flex: 1; min-height: 40px; }
.bank-integration-card { padding: 16px; border: 1px solid rgba(155,196,217,.2); border-radius: 18px; background: rgba(255,255,255,.05); }
.bank-integration-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 11px; border-radius: 10px; color: var(--navy-950); background: var(--gold-soft); font-size: .63rem; font-weight: 900; }
.bank-integration-card strong { font-size: .76rem; }
.bank-integration-card p { margin: 5px 0 13px; color: rgba(255,255,255,.45); font-size: .66rem; }
.bank-integration-card a { color: var(--gold-soft); text-decoration: none; font-size: .68rem; font-weight: 800; }
.bank-integration-card a span { margin-left: 4px; }
.bank-sidebar-foot { margin: 16px 4px 0; color: rgba(255,255,255,.28); font-size: .58rem; }

.bank-main { min-width: 0; padding: 24px clamp(22px, 3vw, 38px) 36px; background: var(--canvas); }
.bank-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; margin-bottom: 18px; }
.bank-kicker { color: var(--muted); font-size: .7rem; font-weight: 700; }
.bank-topbar h1 { margin-top: 2px; color: var(--ink); font-size: clamp(1.28rem, 2vw, 1.65rem); letter-spacing: -.025em; }
.bank-account { display: flex; align-items: center; gap: 10px; }
.bank-account-dot { width: 7px; height: 7px; border-radius: 50%; background: #98a2b3; box-shadow: 0 0 0 5px rgba(152,162,179,.1); }
.bank-account-dot.online { background: #279568; box-shadow: 0 0 0 5px rgba(39,149,104,.1); }
.bank-account > div { display: flex; flex-direction: column; min-width: 135px; line-height: 1.15; text-align: right; }
.bank-account strong { color: var(--ink); font-size: .72rem; }
.bank-account small { max-width: 210px; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.bank-account > a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #0f1d28; text-decoration: none; font-size: .66rem; font-weight: 800; }
.bank-avatar { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; color: #fff; background: var(--navy-800); font-size: .75rem; font-weight: 800; }

.wallet-panel { display: none; }
.wallet-panel.active { display: block; animation: panelIn .25s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.account-hero { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(20px, 4vw, 54px); align-items: center; min-height: 252px; padding: clamp(26px, 3vw, 36px); overflow: hidden; border: 1px solid #1b2b38; border-radius: 19px; color: #fff; background: radial-gradient(circle at 87% 20%, rgba(200,146,50,.12), transparent 30%), linear-gradient(140deg, #0d2233, #030609 75%); box-shadow: 0 18px 40px rgba(0,0,0,.27); }
.account-balance-label { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.63); font-size: .78rem; font-weight: 700; }
.account-balance-label button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; color: var(--gold-soft); background: rgba(255,255,255,.07); cursor: pointer; font-size: .68rem; }
.account-balance > strong { display: block; margin: 7px 0 5px; font-size: clamp(2.5rem, 5vw, 3.9rem); font-weight: 450; letter-spacing: -.055em; }
.account-balance > strong small { color: var(--gold-soft); font-size: .18em; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.account-balance > p { color: rgba(255,255,255,.48); font-size: .7rem; }
.account-balance > p b { color: #fff; }
.account-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.69); background: rgba(255,255,255,.05); font-size: .62rem; font-weight: 700; }
.account-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.wallet-coin-art { position: relative; width: min(390px, 100%); aspect-ratio: 1.5; margin-left: auto; isolation: isolate; }
.wallet-coin-art img { position: absolute; inset: 50% auto auto 50%; z-index: 2; width: 115%; max-width: none; transform: translate(-50%,-50%); filter: drop-shadow(0 22px 24px rgba(0,0,0,.42)); -webkit-mask-image: radial-gradient(ellipse 58% 68% at 50% 50%, #000 56%, transparent 86%); mask-image: radial-gradient(ellipse 58% 68% at 50% 50%, #000 56%, transparent 86%); animation: walletCoinFloat 4.5s ease-in-out infinite; }
.wallet-coin-art::before { content: ''; position: absolute; inset: 16% 12%; z-index: -1; border-radius: 50%; background: rgba(200,146,50,.17); filter: blur(28px); animation: walletCoinGlow 4.5s ease-in-out infinite; }
.wallet-coin-orbit { position: absolute; inset: 11% 5%; z-index: 1; border: 1px solid rgba(229,189,105,.2); border-radius: 50%; transform: rotate(-12deg); animation: walletCoinOrbit 8s linear infinite; }
.wallet-coin-orbit::after { content: ''; position: absolute; top: 48%; left: -3px; width: 6px; height: 6px; border-radius: 50%; background: #f0cf88; box-shadow: 0 0 14px #d9a94e; }
.wallet-coin-shadow { position: absolute; left: 22%; right: 22%; bottom: 3%; height: 16px; z-index: 0; border-radius: 50%; background: rgba(0,0,0,.65); filter: blur(10px); animation: walletCoinShadow 4.5s ease-in-out infinite; }
@keyframes walletCoinFloat { 0%,100% { transform: translate(-50%,-50%) rotate(-1.5deg) scale(1); } 50% { transform: translate(-50%,calc(-50% - 10px)) rotate(1.5deg) scale(1.02); } }
@keyframes walletCoinGlow { 0%,100% { opacity: .68; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes walletCoinOrbit { to { transform: rotate(348deg); } }
@keyframes walletCoinShadow { 0%,100% { opacity: .58; transform: scaleX(1); } 50% { opacity: .32; transform: scaleX(.78); } }

.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 12px 0; }
.wallet-admin-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wallet-admin-overview { grid-template-columns: 1.35fr .85fr; }
.admin-receiver-summary > p,
.admin-security-summary > p { margin: 14px 0 20px; color: var(--muted); line-height: 1.65; }
.wallet-admin-mode [data-wallet-student-only] { display: none !important; }
.quick-actions > a, .quick-actions > button { display: grid; grid-template-columns: 39px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-height: 68px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #0c1924; box-shadow: none; cursor: pointer; text-align: left; text-decoration: none; }
.quick-actions > a:hover, .quick-actions > button:hover { border-color: rgba(57,125,167,.6); transform: translateY(-1px); }
.quick-actions > * > span { grid-row: 1 / 3; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: var(--gold-soft); background: #06111a; font-size: 1rem; }
.quick-actions strong { align-self: end; font-size: .76rem; }
.quick-actions small { align-self: start; color: var(--muted); font-size: .61rem; }

.overview-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 12px; margin-bottom: 12px; }
.overview-grid.secondary { grid-template-columns: 1fr; }
.bank-surface { padding: clamp(19px, 2.5vw, 24px); border: 1px solid var(--line); border-radius: 16px; background: #0c1924; box-shadow: none; }
.surface-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.surface-heading > div > span, .auction-preview > div > span, .page-heading > div > span { color: var(--gold); font-size: .62rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.surface-heading h2, .auction-preview h2 { margin-top: 4px; color: var(--ink); font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: -.02em; }
.surface-heading > a { color: var(--gold-soft); text-decoration: none; font-size: .66rem; font-weight: 800; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.hours-grid article { padding: 17px; border-radius: 15px; background: var(--canvas); }
.hours-grid span { color: var(--muted); font-size: .66rem; font-weight: 700; }
.hours-grid strong { display: block; margin: 3px 0; color: var(--ink); font-size: 1.6rem; }
.hours-grid small { color: #98a2b3; font-size: .59rem; }
.integration-flow { display: flex; align-items: center; gap: 9px; margin-top: 17px; color: var(--muted); font-size: .61rem; font-weight: 700; }
.integration-flow span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; }
.integration-flow span.active { color: var(--gold-soft); border-color: rgba(200,146,50,.45); background: rgba(200,146,50,.08); }
.integration-flow i { color: #b5bdc9; font-style: normal; }
.statement-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.statement-list strong { color: var(--ink); }
.statement-list strong.positive { color: #247c59; }
.statement-list .statement-total { margin-top: 5px; padding-top: 15px; border-bottom: 0; color: var(--ink); font-weight: 800; }
.statement-total strong { font-size: 1.15rem; }
.text-button { margin-top: 13px; border: 0; color: var(--gold-soft); background: transparent; cursor: pointer; font-size: .66rem; font-weight: 800; }

.auction-preview { display: flex; align-items: center; gap: 18px; }
.auction-preview-icon { display: grid; flex: 0 0 auto; place-items: center; width: 52px; height: 52px; border-radius: 17px; color: var(--gold-soft); background: var(--navy-900); font-size: 1.35rem; }
.auction-preview > div { flex: 1; }
.auction-preview p { max-width: 560px; margin-top: 5px; color: var(--muted); font-size: .67rem; }
.auction-preview button { flex: 0 0 auto; padding: 10px 14px; border: 0; border-radius: 999px; color: var(--navy-950); background: var(--gold-soft); cursor: pointer; font-size: .67rem; font-weight: 800; }
.data-status { display: flex; align-items: center; gap: 15px; background: #0a1721; border-color: #26333c; box-shadow: none; }
.data-status-mark { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(229,189,105,.35); border-radius: 50%; color: var(--gold-soft); font: 700 1rem Georgia,serif; }
.data-status strong { color: var(--ink); font-size: .75rem; }
.data-status p { margin-top: 4px; color: #536b78; font-size: .62rem; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; min-height: 155px; padding: 12px 0 30px; }
.page-heading.simple { justify-content: flex-start; }
.page-heading h1 { margin: 4px 0 6px; color: var(--ink); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; }
.page-heading p { color: var(--muted); font-size: .75rem; }
.page-balance { min-width: 230px; padding: 19px 22px; border-radius: 18px; color: #fff; background: var(--navy-900); }
.page-balance > span { color: rgba(255,255,255,.55); font-size: .63rem; }
.page-balance strong { display: block; margin-top: 3px; font-size: 1.75rem; }
.page-balance small { color: var(--gold-soft); font-size: .33em; text-transform: uppercase; }
.mobile-back { display: none; }
.stage-chip { padding: 7px 10px; border-radius: 999px; color: var(--navy-900); background: #dfeef4; font-size: .56rem; font-weight: 900; letter-spacing: .08em; }
.auction-empty { display: grid; justify-items: center; min-height: 320px; padding: 55px 20px; text-align: center; }
.auction-empty > span { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 18px; border-radius: 21px; color: var(--gold-soft); background: var(--navy-900); font-size: 1.65rem; }
.auction-empty h3 { color: var(--ink); font-size: 1.1rem; }
.auction-empty p { max-width: 570px; margin-top: 7px; color: var(--muted); font-size: .72rem; }
.auction-rules { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-top: 17px; }
.auction-rules article { display: grid; min-height: 135px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #0c1924; }
.auction-rules b { color: var(--gold); font: 600 1.25rem Georgia,serif; }
.auction-rules strong { align-self: end; color: var(--ink); font-size: .75rem; }
.auction-rules p { margin-top: 4px; color: var(--muted); font-size: .63rem; }
.history-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.history-toolbar > span { color: var(--muted); font-size: .66rem; }
.history-filters { display: flex; gap: 6px; }
.history-filters button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #0c1924; cursor: pointer; font-size: .65rem; font-weight: 700; }
.history-filters button.active { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.history-empty { display: grid; justify-items: center; min-height: 430px; padding: 70px 25px; text-align: center; }
.history-empty > span { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 18px; color: var(--gold-soft); background: var(--navy-900); font-size: 1.35rem; }
.history-empty h2 { color: var(--ink); font-size: 1.15rem; }
.history-empty p { max-width: 570px; margin-top: 7px; color: var(--muted); font-size: .7rem; }
.history-empty a { margin-top: 18px; color: var(--gold-soft); text-decoration: none; font-size: .68rem; font-weight: 800; }
.mobile-bank-nav { display: none; }

.transfer-heading { align-items: center; }
.simulation-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(229,189,105,.3); border-radius: 999px; color: var(--gold-soft); background: rgba(200,146,50,.08); font-size: .56rem; font-weight: 900; letter-spacing: .07em; white-space: nowrap; }
.transfer-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr); gap: 12px; }
.transfer-card { min-height: 570px; }
.transfer-progress { display: flex; align-items: center; gap: 7px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: #60707c; font-size: .58rem; font-weight: 800; }
.transfer-progress span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.transfer-progress span b { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid #2b3b46; border-radius: 50%; font-size: .55rem; }
.transfer-progress span.active { color: var(--gold-soft); }
.transfer-progress span.active b { color: #05080d; border-color: var(--gold-soft); background: var(--gold-soft); }
.transfer-progress > i { flex: 1; min-width: 10px; height: 1px; background: #263642; }
.transfer-recipient { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; margin: 24px 0; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #08131d; }
.transfer-recipient-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--gold-soft); background: #102334; }
.transfer-recipient > div { display: flex; flex-direction: column; }
.transfer-recipient small { color: var(--muted); font-size: .58rem; }
.transfer-recipient strong { margin: 2px 0; font-size: .78rem; }
.transfer-recipient > div > span { color: #68b994; font-size: .56rem; font-weight: 700; }
.transfer-recipient > b { padding: 5px 7px; border-radius: 999px; color: #8ea0ad; background: #101f2a; font-size: .5rem; letter-spacing: .08em; }
#itacaTransferForm { display: grid; }
#itacaTransferForm > label, .transfer-confirm-step > label { margin: 11px 0 7px; color: #c8d0d6; font-size: .67rem; font-weight: 700; }
#itacaTransferForm > label small { color: var(--muted); font-weight: 500; }
.transfer-amount-field { display: flex; align-items: baseline; gap: 9px; padding: 5px 0 9px; border-bottom: 1px solid #344552; }
.transfer-amount-field > span { color: var(--gold-soft); font: 700 1.4rem Georgia,serif; }
.transfer-amount-field input { min-width: 0; width: 100%; border: 0; outline: 0; color: #fff; background: transparent; font-size: clamp(2rem,5vw,3.3rem); font-weight: 500; letter-spacing: -.05em; }
.transfer-amount-field input::placeholder { color: #3e4c57; }
.transfer-amount-field small { color: var(--muted); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.transfer-balance-note { margin: 7px 0 10px; color: var(--muted); font-size: .61rem; }
.transfer-balance-note strong { color: #cbd4da; }
.transfer-note-input { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: #08131d; font-size: .7rem; }
.transfer-note-input:focus { border-color: rgba(229,189,105,.5); box-shadow: 0 0 0 3px rgba(200,146,50,.08); }
.transfer-message { min-height: 20px; margin-top: 8px; color: #e5bd69; font-size: .62rem; }
.transfer-primary, .transfer-secondary { width: 100%; min-height: 43px; border-radius: 12px; cursor: pointer; font-size: .68rem; font-weight: 900; }
.transfer-primary { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; color: #090b0d; background: linear-gradient(135deg,#efd28e,#c89232); }
.transfer-primary:disabled { color: #73808a; background: #182630; cursor: not-allowed; }
.transfer-secondary { margin-top: 7px; border: 1px solid var(--line); color: #c7d0d6; background: transparent; }
.transfer-preview-label { display: inline-flex; margin: 25px 0 9px; padding: 6px 9px; border-radius: 999px; color: var(--gold-soft); background: rgba(200,146,50,.09); font-size: .55rem; font-weight: 900; text-transform: uppercase; }
.transfer-confirm-step h2 { font-size: 1.3rem; }
.transfer-review { display: grid; margin: 20px 0; border-top: 1px solid var(--line); }
.transfer-review > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .7rem; }
.transfer-review span { color: var(--muted); }
.transfer-review strong { text-align: right; }
.transfer-pin-field { display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; color: #677782; background: #08131d; }
.transfer-pin-field input { width: 100%; padding: 12px 0; border: 0; outline: 0; color: #8b99a3; background: transparent; }
.transfer-lock-note { display: flex; gap: 7px; margin: 8px 0 18px; color: var(--muted); font-size: .58rem; }
.transfer-receipt-step { padding-top: 34px; text-align: center; }
.transfer-receipt-step > p { margin: 7px auto 3px; max-width: 440px; color: var(--muted); font-size: .65rem; }
.receipt-success { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 5px; border-radius: 50%; color: #06110d; background: #68b994; box-shadow: 0 0 0 8px rgba(104,185,148,.09); font-size: 1.1rem; }
.transfer-security { display: grid; align-content: start; gap: 12px; }
.security-readiness { display: flex; align-items: center; gap: 14px; }
.security-readiness.is-ready { border-color: rgba(104,185,148,.3); background: linear-gradient(145deg,rgba(8,28,29,.96),rgba(8,19,29,.96)); }
.security-readiness.is-ready .security-shield { color: #91d2b4; background: rgba(104,185,148,.12); box-shadow: inset 0 0 0 1px rgba(104,185,148,.16); }
.security-shield { display: grid; flex: 0 0 auto; place-items: center; width: 45px; height: 45px; border-radius: 14px; color: var(--gold-soft); background: #102334; font-size: 1.1rem; }
.security-readiness > div > span { color: var(--gold); font-size: .56rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.security-readiness h2 { margin: 2px 0; font-size: 1rem; }
.security-readiness p { color: var(--muted); font-size: .62rem; }
.security-list { display: grid; padding-block: 10px; }
.security-list article { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.security-list article:last-child { border-bottom: 0; }
.security-list article > i { color: var(--gold-soft); text-align: center; }
.security-list article div { display: flex; flex-direction: column; }
.security-list strong { font-size: .68rem; }
.security-list p { margin-top: 2px; color: var(--muted); font-size: .57rem; }
.security-list article > span { color: #8b99a3; font-size: .48rem; font-weight: 900; letter-spacing: .06em; }
.security-list article > span.active { color: #68b994; }
.security-list article.is-active > i { color: #91d2b4; }
.security-list article.is-active { background: linear-gradient(90deg,rgba(104,185,148,.035),transparent 68%); }
.pin-setup > span { color: var(--gold); font-size: .56rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pin-setup h2 { margin: 3px 0 5px; font-size: 1rem; }
.pin-setup > p { margin-bottom: 13px; color: var(--muted); font-size: .61rem; line-height: 1.55; }
.pin-setup form { display: grid; }
.pin-setup label { margin: 7px 0 5px; color: #c8d0d6; font-size: .62rem; font-weight: 700; }
.pin-setup input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: #08131d; letter-spacing: .16em; }
.pin-setup input:focus { border-color: rgba(229,189,105,.5); box-shadow: 0 0 0 3px rgba(200,146,50,.08); }
.history-list { display: grid; padding-block: 8px; }
.history-entry { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 3px; border-bottom: 1px solid var(--line); }
.history-entry:last-child { border-bottom: 0; }
.history-entry-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #d8a94e; background: rgba(216,169,78,.1); }
.history-entry-icon.credit { color: #68b994; background: rgba(104,185,148,.1); }
.history-entry > div { display: flex; min-width: 0; flex-direction: column; }
.history-entry strong { overflow: hidden; color: var(--ink); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.history-entry small { margin-top: 3px; color: var(--muted); font-size: .55rem; }
.history-entry > b { color: #d8a94e; font-size: .72rem; }
.history-entry > b.positive { color: #68b994; }

@media (max-width: 1050px) {
    .bank-shell { grid-template-columns: 205px minmax(0,1fr); }
    .account-hero { grid-template-columns: 1fr; padding-right: 175px; }
    .wallet-coin-art { position: absolute; top: 50%; right: 18px; width: 160px; transform: translateY(-50%); }
    .quick-actions { grid-template-columns: repeat(2,1fr); }
    .overview-grid, .overview-grid.secondary { grid-template-columns: 1fr; }
    .transfer-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    body { padding-bottom: 80px; }
    .product-switcher { margin-bottom: 11px; }
    .wallet-access-gate { width: calc(100% - 22px); min-height: calc(100vh - 175px); padding-inline: 18px; border-radius: 18px; }
    .bank-shell { display: block; width: 100%; min-height: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
    .bank-sidebar { display: none; }
    .bank-topbar { align-items: flex-start; margin-bottom: 21px; }
    .bank-account-dot, .bank-account > div, .bank-account > a { display: none; }
    .bank-avatar { width: 42px; height: 42px; }
    .account-hero { min-height: 235px; padding: 25px 118px 25px 21px; border-radius: 18px; }
    .wallet-coin-art { right: 5px; width: 130px; }
    .account-balance > strong { margin-top: 12px; }
    .quick-actions { grid-template-columns: repeat(4, minmax(84px,1fr)); gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .quick-actions::-webkit-scrollbar { display: none; }
    .quick-actions > a, .quick-actions > button { grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: center; min-height: 106px; padding: 12px 8px; text-align: center; }
    .quick-actions > * > span { grid-row: auto; width: 42px; height: 42px; margin-bottom: 5px; }
    .quick-actions strong { font-size: .68rem; }
    .quick-actions small { display: none; }
    .bank-surface { padding: 21px 18px; border-radius: 18px; }
    .surface-heading { flex-direction: column; gap: 8px; }
    .hours-grid { grid-template-columns: 1fr 1fr; }
    .integration-flow { overflow-x: auto; }
    .integration-flow span { flex: 0 0 auto; }
    .auction-preview { align-items: flex-start; flex-wrap: wrap; }
    .auction-preview button { margin-left: 70px; }
    .page-heading { align-items: flex-start; flex-direction: column; min-height: 0; padding: 8px 0 22px; }
    .page-heading > div { width: 100%; }
    .page-balance { min-width: 0; }
    .mobile-back { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #0c1924; cursor: pointer; }
    .auction-rules { grid-template-columns: 1fr; }
    .auction-rules article { min-height: 110px; }
    .history-toolbar { align-items: flex-start; flex-direction: column; }
    .history-filters { width: 100%; overflow-x: auto; }
    .mobile-bank-nav { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50; display: grid; grid-template-columns: repeat(4,1fr); min-height: 64px; padding: 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(4,16,31,.96); box-shadow: 0 18px 45px rgba(0,0,0,.28); backdrop-filter: blur(16px); }
    .transfer-heading { align-items: flex-start; }
    .simulation-pill { white-space: normal; }
    .transfer-card { min-height: 0; }
    .transfer-progress { overflow-x: auto; padding-bottom: 14px; }
    .transfer-progress > i { min-width: 15px; }
    .mobile-bank-nav button, .mobile-bank-nav a { display: grid; justify-items: center; align-content: center; gap: 2px; border: 0; border-radius: 14px; color: rgba(255,255,255,.55); background: transparent; cursor: pointer; text-decoration: none; font-size: .56rem; font-weight: 700; }
    .mobile-bank-nav span { color: var(--gold-soft); font-size: .95rem; }
    .mobile-bank-nav button.active { color: #fff; background: rgba(255,255,255,.09); }
}

@media (max-width: 430px) {
    .hours-grid { grid-template-columns: 1fr; }
    .account-balance > strong { font-size: 2.75rem; }
    .data-status { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .wallet-coin-art img, .wallet-coin-art::before, .wallet-coin-orbit, .wallet-coin-shadow, .wallet-access-loader i { animation: none; }
}
