:root {
  --black: #151515;
  --ink: #202020;
  --muted: #6f6f6a;
  --line: #e4e4df;
  --paper: #fff;
  --soft: #f6f6f2;
  --yellow: #ffd400;
  --yellow-deep: #e7b800;
  --green: #199b5b;
  --red: #b84b4b;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body.drawer-open { overflow: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(255, 212, 0, .55); outline-offset: 2px; }
.is-hidden { display: none !important; }

.public-view { min-height: 100vh; background: var(--paper); }
.site-header, .topbar { min-height: 72px; padding: 0 clamp(20px, 5vw, 76px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 30px; background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 20; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--black); text-decoration: none; font-size: 13px; font-weight: 850; letter-spacing: .08em; white-space: nowrap; }
.brand-glyph { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--black); font-size: 16px; font-weight: 900; letter-spacing: 0; }
.site-nav, .main-nav { display: flex; align-items: stretch; gap: 23px; margin-left: auto; height: 72px; }
.site-nav-button, .nav-button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 0; font-size: 12px; font-weight: 700; white-space: nowrap; }
.site-nav-button span { margin-left: 4px; color: #9b9b95; font-size: 15px; }
.site-nav-button:hover, .site-nav-button.is-active, .nav-button:hover, .nav-button.is-active { color: var(--black); border-bottom-color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 15px; margin-left: 12px; }
.wallet-button, .quiet-button { border: 0; background: transparent; color: var(--black); padding: 9px 0; font-size: 12px; font-weight: 700; white-space: nowrap; }
.wallet-button:hover, .quiet-button:hover { color: var(--yellow-deep); }
.yellow-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--black); border-radius: 5px; background: var(--yellow); color: var(--black); padding: 0 14px; font-size: 12px; font-weight: 850; transition: background .16s ease, transform .16s ease; }
.yellow-button:hover { background: #ffe04d; transform: translateY(-1px); }
.yellow-button span { font-size: 18px; font-weight: 400; line-height: 1; }
.yellow-button.large { min-height: 48px; padding: 0 18px; font-size: 13px; }
.yellow-button.compact { min-height: 38px; font-size: 11px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--black); padding: 4px; font-size: 20px; }

.pool-home { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 90px; }
.pool-hero { min-height: 440px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 50px; align-items: center; padding: 76px 0 62px; border-bottom: 1px solid var(--line); }
.hero-copy { max-width: 640px; }
.hero-kicker, .section-eyebrow, .eyebrow { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 25px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25,155,91,.12); }
.new-chip { display: inline-flex; align-items: center; width: fit-content; border-radius: 3px; background: var(--yellow); color: var(--black); padding: 4px 6px; font-size: 9px; font-weight: 900; line-height: 1; letter-spacing: .05em; }
.new-chip.dark { margin-left: 8px; background: var(--black); color: var(--yellow); }
.hero-copy h1 { margin: 0 0 20px; font-size: clamp(50px, 7vw, 90px); line-height: .93; letter-spacing: -.075em; font-weight: 850; }
.hero-copy h1 span { color: var(--muted); }
.hero-subtitle { margin: 0 0 14px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.hero-body { max-width: 510px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.text-button { border: 0; background: transparent; color: var(--black); padding: 8px 0; font-size: 12px; font-weight: 750; }
.text-button:hover { color: var(--yellow-deep); }
.text-button span { margin-left: 8px; font-size: 17px; font-weight: 400; }
.hero-orbit { min-height: 310px; position: relative; display: grid; place-items: center; }
.pearl-badge { width: 174px; height: 174px; display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 50%; background: var(--yellow); color: var(--black); box-shadow: 18px 18px 0 var(--black); transform: rotate(-8deg); position: relative; z-index: 2; }
.pearl-badge strong { font-size: 43px; letter-spacing: -.08em; }
.pearl-badge span { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.orbit-line { width: 410px; height: 120px; position: absolute; border: 1px solid #cfcfc8; border-radius: 50%; transform: rotate(-23deg); }
.orbit-line-b { width: 360px; height: 205px; border-color: #e3c21e; transform: rotate(43deg); }
.orbit-stat { position: absolute; display: grid; gap: 3px; z-index: 3; background: var(--paper); padding: 6px 8px; }
.orbit-stat strong { font-size: 20px; letter-spacing: -.04em; }
.orbit-stat span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.stat-top { top: 12px; right: 12%; }
.stat-bottom { bottom: 18px; left: 8%; }

.pool-list-section { padding: 52px 0 30px; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-eyebrow { margin: 0 0 8px; }
.section-title-row h2 { margin: 0; font-size: 31px; letter-spacing: -.05em; }
.section-summary { display: flex; align-items: baseline; gap: 9px; color: var(--muted); font-size: 10px; }
.section-summary strong { color: var(--black); font-size: 12px; }
.section-summary span:not(:first-child) { margin-left: 14px; }
.pool-table-wrap { border-top: 1px solid var(--black); }
.pool-table-head, .pool-row { display: grid; grid-template-columns: 2.2fr 1.3fr 1.2fr 1.2fr 1fr 1.1fr; gap: 15px; align-items: center; }
.pool-table-head { min-height: 43px; color: var(--muted); font-size: 10px; font-weight: 800; }
.pool-row { min-height: 88px; border-top: 1px solid var(--line); font-size: 12px; }
.pool-row > div:not(.pool-name) { display: grid; gap: 5px; }
.pool-row strong { font-size: 12px; }
.pool-row small, .pool-table-foot { color: var(--muted); font-size: 10px; }
.pool-row-featured { background: var(--soft); border-bottom: 1px solid var(--line); }
.pool-name { display: flex; align-items: center; min-width: 0; }
.pool-name > div { display: grid; gap: 5px; min-width: 0; }
.coin-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--black); border-radius: 50%; background: var(--yellow); color: var(--black); font-size: 18px; font-weight: 900; margin-right: 12px; }
.enabled-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; }
.enabled-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.row-start-button { width: fit-content; display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--black); padding: 7px 0; font-size: 12px; font-weight: 850; }
.row-start-button:hover { color: var(--yellow-deep); }
.row-start-button span { font-size: 16px; font-weight: 400; }
.pool-table-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 16px; }
.pool-table-foot strong { color: var(--black); font-size: 10px; }
.pool-table-foot span:nth-of-type(2) { margin-left: 16px; }
.api-link { margin-left: 16px; color: var(--black); font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.api-link:hover { color: var(--yellow-deep); }
.demo-label { margin-left: auto; }
.pool-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.pool-benefits article { min-height: 182px; padding: 26px 26px 22px 0; border-right: 1px solid var(--line); }
.pool-benefits article + article { padding-left: 26px; }
.pool-benefits article:last-child { border-right: 0; }
.benefit-icon { display: block; width: 30px; height: 30px; margin-bottom: 20px; color: var(--black); font-size: 24px; }
.pool-benefits h3 { margin: 0 0 9px; font-size: 15px; letter-spacing: -.02em; }
.pool-benefits p { max-width: 290px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.auth-drawer { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: flex-end; }
.auth-drawer-backdrop { position: absolute; inset: 0; background: rgba(21,21,21,.42); }
.auth-card { width: min(430px, 100%); min-height: 100%; position: relative; z-index: 1; overflow-y: auto; background: var(--paper); padding: 74px clamp(24px, 6vw, 48px) 40px; box-shadow: -20px 0 60px rgba(0,0,0,.12); }
.drawer-close { position: absolute; top: 22px; right: 25px; border: 0; background: transparent; color: var(--muted); padding: 4px; font-size: 28px; font-weight: 300; line-height: 1; }
.drawer-close:hover { color: var(--black); }
.auth-heading h2 { margin: 0 0 8px; font-size: 34px; letter-spacing: -.06em; }
.auth-heading p:not(.section-eyebrow) { margin: 0 0 28px; color: var(--muted); font-size: 13px; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.switch-button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 12px 0; font-size: 12px; font-weight: 800; text-align: left; }
.switch-button + .switch-button { text-align: right; }
.switch-button.is-active { border-bottom-color: var(--yellow-deep); color: var(--black); }
.auth-form { display: grid; gap: 17px; }
.auth-form label, .withdrawal-form label, .settings-form label { display: grid; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 800; }
input { width: 100%; border: 1px solid #cfcfc9; border-radius: 5px; background: var(--paper); color: var(--black); padding: 13px 14px; font-size: 13px; transition: border .15s ease, background .15s ease; }
input::placeholder { color: #9c9c96; }
input:focus { border-color: var(--black); background: var(--soft); outline: 0; }
.form-submit { width: 100%; margin-top: 5px; }
.auth-note { margin: 24px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.app-view { min-height: 100vh; background: var(--soft); }
.topbar { background: var(--paper); }
.topbar .main-nav { margin-left: auto; }
.topbar .nav-button { height: 72px; }
.topbar-user { display: flex; align-items: center; gap: 18px; min-width: 150px; justify-content: flex-end; }
#topbar-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 700; }
.page-view { width: min(1220px, calc(100% - 48px)); margin: 0 auto; padding: 58px 0 90px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.eyebrow { margin: 0 0 12px; }
.page-heading h2 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 49px); line-height: 1; letter-spacing: -.065em; }
.page-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; }
.heading-actions { display: flex; align-items: center; gap: 15px; }
.online-chip, .operator-chip, .sla-label, .period-label, .method-tag { display: inline-flex; align-items: center; white-space: nowrap; padding: 7px 9px; border-radius: 3px; font-size: 10px; font-weight: 800; }
.online-chip { background: #e5f6ec; color: #147b49; }
.operator-chip { background: var(--yellow); color: var(--black); }
.sla-label { background: #f7efbf; color: #765e00; }
.period-label { border: 1px solid var(--line); color: var(--muted); }
.outline-button { border: 1px solid var(--black); border-radius: 5px; background: transparent; color: var(--black); padding: 9px 12px; font-size: 11px; font-weight: 800; }
.outline-button:hover { background: var(--black); color: var(--paper); }
.stat-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
.stat-card { min-height: 143px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 20px; position: relative; }
.stat-primary { border-color: var(--black); background: var(--black); color: var(--paper); }
.stat-label { display: block; margin-bottom: 21px; color: var(--muted); font-size: 10px; font-weight: 800; }
.stat-primary .stat-label, .stat-primary small { color: #b9b9b2; }
.stat-card strong { display: block; font-size: clamp(27px, 3vw, 39px); letter-spacing: -.07em; line-height: 1; }
.stat-card small { display: block; margin-top: 11px; color: var(--muted); font-size: 10px; }
.stat-mark { position: absolute; top: 19px; right: 20px; color: var(--yellow); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.dashboard-grid, .lower-grid, .admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.lower-grid { grid-template-columns: 1.05fr .95fr; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 24px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.panel-heading .eyebrow { margin-bottom: 8px; }
.panel h3 { margin: 0; font-size: 23px; line-height: 1.1; letter-spacing: -.055em; }
.panel-copy { max-width: 580px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.method-tag { border: 1px solid #e1c20a; background: #fff7bf; color: #725a00; }
.method-rate { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 17px 0; margin-top: 25px; }
.method-rate span { display: block; color: var(--muted); font-size: 10px; }
.method-rate strong { display: block; margin-top: 6px; font-size: 15px; }
.rate-arrow { color: var(--yellow-deep) !important; font-size: 23px !important; }
.progress-track { height: 5px; margin-top: 26px; overflow: hidden; background: #ededE7; }
.progress-track span { display: block; height: 100%; width: 46%; background: var(--yellow); }
.method-foot { display: flex; justify-content: space-between; margin-top: 9px; color: var(--muted); font-size: 9px; }
.forecast-bars { height: 170px; display: flex; align-items: end; gap: 9px; padding-top: 22px; border-bottom: 1px solid var(--line); }
.forecast-bar-wrap { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; text-align: center; }
.forecast-bar { width: 100%; min-height: 8px; background: #f3dc45; transition: height .35s ease; }
.forecast-bar.is-current { background: var(--black); }
.forecast-bar-wrap small { color: var(--muted); font-size: 9px; }
.forecast-legend { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; color: var(--muted); font-size: 10px; }
.forecast-legend strong { color: var(--black); font-size: 10px; }
.legend-dot { display: inline-block; width: 7px; height: 7px; background: var(--yellow); margin-right: 6px; }
.withdrawal-form { display: grid; gap: 15px; }
.amount-input { position: relative; }
.amount-input input { padding-right: 70px; }
.amount-input span { position: absolute; top: 50%; right: 13px; transform: translateY(-50%); color: var(--muted); font-size: 10px; font-weight: 800; }
.withdrawal-actions { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: 3px; color: var(--muted); font-size: 10px; }
.withdrawal-actions strong { display: block; margin-top: 5px; color: var(--black); font-size: 11px; }
.activity-list { display: grid; }
.activity-item { display: grid; grid-template-columns: 9px 1fr auto; gap: 11px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.activity-item:first-child { padding-top: 0; border-top: 0; }
.activity-dot { width: 7px; height: 7px; margin-top: 4px; background: var(--yellow-deep); }
.activity-item p { margin: 0; color: var(--ink); font-size: 11px; line-height: 1.4; }
.activity-item time { color: var(--muted); font-size: 9px; white-space: nowrap; }
.table-panel { padding-bottom: 7px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { padding: 0 13px 13px 0; color: var(--muted); text-align: left; font-size: 10px; font-weight: 700; white-space: nowrap; }
td { padding: 15px 13px 15px 0; border-top: 1px solid var(--line); color: var(--ink); vertical-align: middle; white-space: nowrap; }
td:last-child, th:last-child { padding-right: 0; }
.table-muted { color: var(--muted); font-size: 10px; }
.status-badge { display: inline-flex; padding: 5px 7px; border-radius: 2px; font-size: 9px; font-weight: 800; }
.status-pending { background: #fff5c4; color: #795f00; }
.status-paid { background: #e3f6eb; color: #147b49; }
.status-declined { background: #f8e8e8; color: var(--red); }
.empty-state { padding: 23px 0; color: var(--muted); font-size: 11px; }
.admin-grid { grid-template-columns: .9fr 1.1fr; }
.settings-panel { border-color: var(--black); background: var(--black); color: var(--paper); }
.settings-panel .eyebrow, .settings-panel .panel-copy { color: #b9b9b2; }
.settings-panel h3 { color: var(--paper); }
.settings-symbol { color: var(--yellow); font-size: 21px; }
.settings-form { display: grid; gap: 18px; }
.settings-form label { color: var(--paper); }
.settings-form input { border-color: #4a4a46; background: #252525; color: var(--paper); }
.settings-form input:disabled { color: #b9b9b2; }
.settings-form small { color: #a6a69f; font-size: 10px; font-weight: 400; line-height: 1.4; }
.settings-panel .yellow-button { border-color: var(--yellow); }
.full-button { width: 100%; margin-top: 16px; border-color: #656560; color: var(--paper); }
.full-button:hover { border-color: var(--yellow); background: var(--yellow); color: var(--black); }
.operator-note { background: #f3f3ef; }
.operator-note h3 { max-width: 390px; font-size: 29px; }
.operator-note p:not(.eyebrow) { max-width: 550px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.formula, .formula-example { display: flex; justify-content: space-between; gap: 15px; margin-top: 25px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.formula strong { color: var(--black); font-size: 10px; }
.formula-example { margin-top: 11px; }
.formula-example strong { color: #a37a00; font-size: 19px; letter-spacing: -.04em; }
.admin-table-panel { margin-bottom: 10px; }
.token-result { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; margin: -4px 0 20px; padding: 12px 14px; border-left: 3px solid var(--yellow); background: #fff8cf; font-size: 11px; }
.token-result code { min-width: 0; overflow: hidden; color: var(--black); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.token-result small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.table-action { border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--black); padding: 6px 8px; font-size: 10px; font-weight: 800; }
.table-action:hover { border-color: var(--black); background: var(--black); color: var(--paper); }
.table-action.danger:hover { border-color: var(--red); background: var(--red); color: var(--paper); }
select { border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--black); padding: 7px 8px; font-size: 10px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 60; max-width: min(360px, calc(100vw - 44px)); border-left: 3px solid var(--yellow); background: var(--black); color: var(--paper); padding: 13px 15px; font-size: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.18); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.is-error { border-left-color: var(--red); }

@media (max-width: 980px) {
  .site-nav { gap: 15px; }
  .pool-hero { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-orbit { min-height: 250px; max-width: 570px; }
  .section-summary { display: none; }
  .pool-table-head, .pool-row { grid-template-columns: 2fr 1.2fr 1.1fr 1fr; }
  .pool-table-head span:nth-child(5), .pool-table-head span:nth-child(6), .pool-row > div:nth-child(5), .pool-row > div:nth-child(6) { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-primary { grid-column: span 2; }
}

@media (max-width: 700px) {
  .site-header, .topbar { min-height: 64px; padding: 0 18px; gap: 12px; }
  .site-nav, .header-actions .wallet-button { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: block; }
  .pool-home { width: min(100% - 32px, 1240px); }
  .pool-hero { min-height: 0; padding: 45px 0 38px; gap: 20px; }
  .hero-copy h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-subtitle { font-size: 17px; }
  .hero-body { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
  .hero-orbit { min-height: 245px; transform: scale(.82); transform-origin: center; margin: -15px 0 -35px; }
  .pool-list-section { padding-top: 38px; }
  .pool-table-head { display: none; }
  .pool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 12px; padding: 20px 0; }
  .pool-row > div:nth-child(5), .pool-row > div:nth-child(6) { display: grid; }
  .pool-row > div:nth-child(5) { grid-column: 1; }
  .pool-row > div:nth-child(6) { grid-column: 2; grid-row: 3; }
  .pool-table-foot { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pool-table-foot span:nth-of-type(2) { margin-left: 0; margin-top: 8px; }
  .api-link { margin-left: 0; margin-top: 8px; }
  .demo-label { margin-left: 0; margin-top: 8px; }
  .pool-benefits { grid-template-columns: 1fr; }
  .pool-benefits article, .pool-benefits article + article { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pool-benefits article:last-child { border-bottom: 0; }
  .page-view { width: min(100% - 32px, 1220px); padding-top: 40px; }
  .topbar .main-nav { margin-left: auto; gap: 12px; height: 64px; }
  .topbar .nav-button { height: 64px; font-size: 10px; }
  .topbar-user { min-width: auto; }
  #topbar-name { display: none; }
  .page-heading { display: block; margin-bottom: 28px; }
  .heading-actions { margin-top: 20px; justify-content: space-between; }
  .stat-grid, .dashboard-grid, .lower-grid, .admin-grid { grid-template-columns: 1fr; }
  .stat-primary { grid-column: auto; }
  .stat-card { min-height: 132px; }
  .panel { padding: 20px 17px; }
  .withdrawal-actions { align-items: end; }
  .withdrawal-actions > span { max-width: 130px; }
  .operator-note h3 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
