:root {
  color-scheme: light;
  --page: #fafbfc;
  --surface: #ffffff;
  --soft: #f6f8fa;
  --text: #172029;
  --muted: #6c7885;
  --border: #e6eaf0;
  --blue: #0784c3;
  --blue-hover: #05689b;
  --yellow: #f0b90b;
  --green: #17805b;
  --red: #cf4056;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--page); font: 14px/1.6 "Open Sans", sans-serif; -webkit-font-smoothing: antialiased; letter-spacing: 0; }
button, input, select { font: inherit; letter-spacing: 0; color: inherit; }
button, summary, select { cursor: pointer; }
button { border: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
button, a, summary, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #0784c366; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
svg.lucide { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 1.7; vertical-align: middle; }
[hidden], .hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.container { width: min(100% - 64px, 1700px); margin-inline: auto; }
.wide-container { width: min(100% - 64px, 1840px); margin-inline: auto; }
.market-bar { background: var(--soft); border-bottom: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.market-bar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
[data-bnb-price], [data-gas-price] { color: var(--blue); font-weight: 600; }
[data-bnb-change].negative { color: var(--red); }
[data-bnb-change].positive { color: var(--green); }
.site-header { position: sticky; top: 0; z-index: 30; background: #fffffffa; border-bottom: 1px solid var(--border); }
.header-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand-symbol { width: 39px; height: 39px; display: grid; place-items: center; color: white; background: #20252a; border-bottom: 6px solid var(--yellow); border-radius: 50%; }
.brand-symbol svg { width: 26px; height: 26px; stroke-width: 2.5; }
.brand-wordmark { font-size: 25px; line-height: 1.05; font-weight: 700; }
.brand-wordmark small { display: block; margin-top: 5px; font-size: 9px; font-weight: 600; }
.primary-nav { display: flex; align-items: center; gap: 30px; white-space: nowrap; }
.primary-nav a, .primary-nav summary { color: var(--text); }
.primary-nav a:hover, .primary-nav summary:hover, .primary-nav .nav-home { color: var(--blue); }
.primary-nav summary { display: flex; align-items: center; gap: 7px; list-style: none; padding-block: 22px; }
summary::-webkit-details-marker { display: none; }
.nav-dropdown { position: relative; }
.nav-dropdown summary svg { width: 14px; height: 14px; transition: transform 160ms; }
.nav-dropdown[open] summary svg { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% - 4px); left: -16px; min-width: 220px; padding: 9px; background: white; border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 8px 24px #18263214; }
.nav-dropdown:last-of-type .dropdown-menu { left: auto; right: 0; }
.dropdown-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; font-size: 13px; }
.dropdown-menu a:hover { background: var(--soft); }
.dropdown-menu svg { width: 13px; height: 13px; }
.nav-signin { display: inline-flex; align-items: center; gap: 9px; }
.icon-button { width: 36px; height: 36px; flex: 0 0 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; color: var(--muted); }
.icon-button:hover { color: var(--blue); background: #edf7fc; }
.icon-button:disabled { opacity: .5; cursor: default; }
.nav-toggle { display: none; }
.explorer-intro { padding-top: 28px; padding-bottom: 30px; }
.market-summary { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 13px; }
.market-summary > span { display: inline-flex; align-items: center; gap: 6px; }
.market-summary strong { color: var(--text); }
.market-summary svg { width: 16px; height: 16px; }
.page-heading { text-align: center; padding: 24px 0 28px; animation: enter-page 450ms ease-out both; }
.page-heading h1 { font-size: 36px; line-height: 1.3; font-weight: 700; }
.page-heading p { font-size: 16px; color: var(--muted); margin-top: 10px; }
.action-workspace { background: var(--surface); padding: 24px 40px 40px; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 22px #17202914; }
.search-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.search-tabs button { background: transparent; color: var(--muted); border-bottom: 3px solid transparent; padding: 13px 20px; min-height: 56px; }
.search-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.search-tabs button:hover { color: var(--blue); }
.transfer-toolbar { display: flex; gap: 20px; align-items: stretch; }
.explorer-search { display: flex; flex: 1; min-width: 0; margin: 0; }
.search-field { display: flex; align-items: center; flex: 1; min-width: 0; gap: 12px; padding: 0 20px; min-height: 70px; border: 1px solid #c7cdd3; border-radius: 5px; color: var(--muted); background: var(--surface); }
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #0784c316; }
.search-field > svg { width: 23px; height: 23px; }
.search-field input { flex: 1; min-width: 0; width: 100%; min-height: 68px; font-size: 18px; border: 0; outline: none; background: transparent; }
.search-field input::placeholder { color: #92979d; }
.search-error { color: var(--red); font-size: 12px; }
.search-error:not(:empty) { margin-top: 10px; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; border-radius: 6px; padding: 11px 18px; text-align: center; font-weight: 600; line-height: 1.4; }
.primary-action { background: var(--blue); color: white; border: 1px solid var(--blue); transition: background 160ms, box-shadow 160ms; }
.primary-action:hover { background: var(--blue-hover); color: white; box-shadow: 0 3px 9px #0784c322; }
.primary-action:disabled { opacity: .65; cursor: wait; }
.secondary-action { background: #e9edf1; color: var(--text); border: 1px solid transparent; font-weight: 500; }
.secondary-action:hover { background: #dce3e9; color: var(--text); }
.address { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.transfer-button { width: 140px; min-width: 140px; min-height: 58px; flex-shrink: 0; gap: 7px; padding: 10px 12px; font-size: 13px; white-space: nowrap; }
.hero-primary-mobile { display: none; }
.is-danger { color: var(--red) !important; }
.is-success { color: var(--green) !important; }
.is-pending { color: #957210 !important; }
.chain-section { padding-block: 28px 72px; }
.chain-overview { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: center; gap: 24px; padding: 20px 0 24px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.chain-name { display: flex; align-items: center; gap: 12px; }
.chain-name img { flex: 0 0 36px; }
.chain-name strong, .chain-stat strong { display: block; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chain-stat { border-left: 1px solid var(--border); padding-left: 24px; }
.eyebrow { display: block; color: var(--muted); font-size: 10px; margin-bottom: 3px; }
.feed-controls { display: flex; align-items: center; gap: 8px; }
.feed-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; padding-right: 8px; min-width: 102px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #a0a7af; flex: 0 0 7px; }
.feed-status[data-state="live"] { color: var(--green); }
.feed-status[data-state="live"] .status-dot { background: var(--green); animation: live-pulse 2s ease-in-out infinite; }
.feed-status[data-state="error"] { color: var(--red); }
.feed-status[data-state="error"] .status-dot { background: var(--red); }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.activity-panel { min-width: 0; scroll-margin-top: 110px; border-block: 1px solid var(--border); background: var(--surface); }
.panel-heading { min-height: 65px; padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-heading h2 { font-size: 15px; font-weight: 600; }
.row-control { display: flex; align-items: center; gap: 5px; color: var(--muted); border: 1px solid var(--border); border-radius: 5px; padding: 5px 7px; font-size: 12px; flex-shrink: 0; }
.row-control svg { width: 14px; height: 14px; }
.row-control select { border: 0; background: transparent; max-width: 90px; font-size: 11px; min-height: 22px; }
.activity-list { padding-inline: 20px; min-height: 552px; }
.activity-row { display: grid; grid-template-columns: 44px minmax(100px, .82fr) minmax(100px, 1.2fr) auto; gap: 13px; align-items: center; height: 92px; border-bottom: 1px solid var(--border); }
.activity-row:last-child { border-bottom: 0; }
.row-icon { display: grid; place-items: center; background: var(--soft); color: var(--muted); border-radius: 8px; width: 44px; height: 48px; }
.row-icon svg { width: 22px; height: 22px; stroke-width: 1.3; }
.row-primary, .row-details { min-width: 0; }
.row-primary > a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.row-age, .row-secondary { display: block; font-size: 11px; color: var(--muted); }
.row-details p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.row-value { font-size: 10px; padding: 3px 7px; border: 1px solid #d8dde2; border-radius: 6px; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-enter { animation: row-arrive 700ms ease-out both; }
.panel-footer { display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--soft); color: var(--muted); border-top: 1px solid var(--border); min-height: 48px; font-size: 11px; text-transform: uppercase; }
.panel-footer:hover { color: var(--blue); background: #eef5f9; }
.panel-footer svg { width: 15px; height: 15px; }
.feed-placeholder { display: flex; min-height: 552px; align-items: center; justify-content: center; gap: 12px; color: var(--muted); text-align: center; font-size: 13px; padding: 24px; }
.loading-spinner { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--blue); border-radius: 50%; animation: spin 900ms linear infinite; }
.feed-note { font-size: 11px; color: var(--muted); margin-top: 14px; text-align: right; }
.site-footer { background: var(--soft); border-top: 1px solid var(--border); }
.footer-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding: 23px 0; gap: 16px; }
.footer-top a { display: inline-flex; gap: 7px; align-items: center; color: var(--text); font-size: 13px; }
.footer-columns { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.1fr; gap: 46px; padding: 42px 0; }
.footer-columns > div { min-width: 0; }
.footer-columns h3 { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer-columns > div > a:not(.secondary-action) { display: flex; align-items: center; gap: 7px; margin-bottom: 13px; font-size: 12px; color: var(--text); }
.footer-columns > div > a:hover { color: var(--blue); }
.footer-columns a svg { width: 13px; height: 13px; color: var(--muted); }
.footer-brand h2 { display: flex; gap: 10px; align-items: center; font-size: 19px; font-weight: 500; line-height: 1.4; }
.footer-brand img { flex: 0 0 32px; }
.footer-brand p { margin-top: 13px; font-size: 12px; }
.footer-brand .independence-note { font-size: 11px; color: var(--muted); }
.footer-brand .secondary-action { font-size: 12px; margin-top: 17px; padding: 8px 11px; min-height: 36px; }
.footer-bottom { border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; font-size: 11px; color: var(--muted); }
body.modal-open { overflow: hidden; }
.checkout-modal-backdrop { position: fixed; inset: 0; z-index: 100; background: #1a243b66; backdrop-filter: blur(3px); }
.checkout-modal { position: fixed; z-index: 101; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 32px; background: var(--surface); border-radius: var(--radius); box-shadow: 0 24px 70px #17202933; }
.modal-close { position: absolute; top: 12px; right: 12px; }
.modal-symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); color: var(--blue); background: #e9f6fd; margin-bottom: 20px; }
.modal-symbol svg { width: 25px; height: 25px; }
.modal-symbol.warning { color: #967200; background: #fff5d3; }
.modal-symbol.success { color: var(--green); background: #e3f4ec; }
.modal-symbol.danger { color: var(--red); background: #fbe4e8; }
.checkout-modal-centered { text-align: center; }
.checkout-modal-centered .modal-symbol { margin-inline: auto; }
.checkout-modal-centered h2 { padding-right: 0; font-size: 24px; }
.modal-symbol-lg { width: 64px; height: 64px; }
.modal-symbol-lg svg { width: 32px; height: 32px; }
.modal-value-block { margin: 22px 0 6px; }
.modal-value-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.modal-value-amount { display: block; font-size: 28px; font-weight: 700; color: var(--green); overflow-wrap: anywhere; }
#success-modal-subheading { font-size: 14px; }
.modal-actions-stacked { flex-direction: column; margin-top: 26px; }
.modal-actions-stacked .primary-action { flex: 1 1 auto; width: 100%; font-size: 14px; }
.balance-box { background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin: 22px 0 24px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.balance-box-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); }
.balance-box-row strong { font-size: 14px; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.action-accent-green { background: var(--green); border-color: var(--green); }
.action-accent-green:hover { background: #126347; border-color: #126347; }
.security-check-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.security-check-heading .modal-symbol { margin-bottom: 0; }
.security-check-heading h2 { margin-bottom: 0; }
.security-balance-line { margin-top: 8px; }
.security-balance-line strong { color: var(--text); }
.checkout-modal h2 { font-size: 21px; margin-bottom: 10px; padding-right: 12px; }
.modal-copy { color: var(--muted); font-size: 12px; }
.receipt-details { margin: 24px 0; }
.receipt-details > div { border-bottom: 1px solid var(--border); padding: 10px 0; }
.receipt-details dt { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.receipt-details dd { margin: 0; font-size: 13px; font-weight: 600; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.modal-actions .primary-action { flex: 1; font-size: 12px; }
.modal-actions .secondary-action { font-size: 12px; }
@keyframes enter-page { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes row-arrive { from { background-color: #e8f6fe; opacity: .4; transform: translateY(-8px); } to { background-color: transparent; opacity: 1; transform: translateY(0); } }
@keyframes live-pulse { 50% { opacity: .4; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) {
  body { font-size: 16px; }
  .market-bar { font-size: 14px; }
  .page-heading h1 { font-size: 40px; }
  .primary-nav { gap: 36px; }
  .activity-row { grid-template-columns: 54px minmax(130px, 1fr) minmax(150px, 1.5fr) auto; height: 101px; gap: 16px; }
  .row-icon { width: 54px; height: 60px; }
  .row-primary > a { font-size: 16px; }
  .row-details p { font-size: 15px; }
  .row-age, .row-secondary { font-size: 13px; }
  .row-value { font-size: 11px; }
  .activity-list, .feed-placeholder { min-height: 606px; }
  .panel-heading h2 { font-size: 17px; }
}
@media (max-width: 1399px) {
  .primary-nav { gap: 18px; font-size: 13px; }
}
@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { min-height: 68px; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 14px 20px; box-shadow: 0 10px 18px #1720290c; max-height: calc(100dvh - 110px); overflow-y: auto; }
  .primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; font-size: 14px; }
  .primary-nav > a, .primary-nav summary { padding: 11px 0; }
  .primary-nav summary { justify-content: space-between; }
  .dropdown-menu { position: static; border: 0; border-left: 2px solid var(--border); box-shadow: none; border-radius: 0; margin-bottom: 8px; }
  .activity-row { grid-template-columns: 34px minmax(78px, .8fr) minmax(95px, 1.2fr); gap: 10px; height: 96px; position: relative; padding-bottom: 18px; }
  .row-icon { width: 34px; height: 42px; }
  .row-value { position: absolute; right: 0; bottom: 9px; font-size: 9px; padding-block: 1px; }
  .activity-list, .feed-placeholder { min-height: 576px; }
  .row-primary > a { font-size: 12px; }
  .row-details p { font-size: 11px; }
  .chain-overview { gap: 15px; grid-template-columns: 1.2fr .8fr .9fr auto; }
  .chain-stat { padding-left: 15px; }
  .chain-name strong, .chain-stat strong { font-size: 13px; }
  .footer-columns { gap: 25px; }
}
@media (max-width: 900px) {
  .container, .wide-container { width: calc(100% - 40px); }
  .chain-overview { grid-template-columns: 1.3fr 1fr; gap: 20px; }
  .chain-stat { border-left: 0; padding-left: 0; }
  .feed-controls { justify-content: flex-end; }
  .activity-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .activity-row { grid-template-columns: 44px minmax(100px, .9fr) minmax(120px, 1.2fr) auto; height: 88px; padding-bottom: 0; gap: 14px; }
  .row-icon { width: 44px; height: 48px; }
  .row-value { position: static; font-size: 10px; padding-block: 3px; }
  .row-primary > a { font-size: 14px; }
  .row-details p { font-size: 13px; }
  .activity-list, .feed-placeholder { min-height: 528px; }
  .footer-columns { grid-template-columns: 1.3fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 80px; }
  .container, .wide-container { width: calc(100% - 32px); }
  .market-bar { font-size: 13px; }
  .brand-wordmark { font-size: 23px; }
  .brand-wordmark small { font-size: 8px; }
  .explorer-intro { padding-top: 18px; padding-bottom: 22px; }
  .market-summary { font-size: 14px; gap: 8px 14px; }
  .market-summary > span { gap: 4px; }
  .market-summary svg { width: 16px; height: 16px; }
  .page-heading { padding-block: 25px 23px; text-align: center; }
  .page-heading h1 { font-size: 25px; white-space: nowrap; }
  .page-heading p { font-size: 16px; }
  .action-workspace { padding: 10px 12px 14px; }
  .search-tabs { gap: 0; margin-bottom: 12px; }
  .search-tabs button { font-size: 12px; flex: 1; padding: 9px 5px; min-height: 44px; }
  .transfer-toolbar { flex-direction: column; gap: 8px; }
  .search-field { padding: 0 10px; min-height: 50px; gap: 8px; }
  .search-field > svg { width: 18px; height: 18px; }
  .search-field input { min-height: 48px; font-size: 16px; }
  .transfer-button { min-height: 44px; width: 100%; }
  .hero-primary-mobile { display: inline; }
  .hero-primary-desktop { display: none; }
  .chain-section { padding-block: 15px 42px; }
  .chain-overview { gap: 18px 12px; padding-block: 16px 20px; }
  .chain-name { gap: 8px; }
  .chain-name img { width: 28px; height: 28px; flex-basis: 28px; }
  .chain-name strong, .chain-stat strong { font-size: 12px; }
  .eyebrow { font-size: 9px; }
  .feed-controls { gap: 5px; }
  .feed-status { min-width: 0; padding-right: 3px; font-size: 10px; gap: 5px; }
  .feed-controls .icon-button { width: 30px; height: 32px; flex-basis: 30px; }
  .feed-controls svg { width: 15px; height: 15px; }
  .panel-heading { min-height: 60px; padding: 12px 8px; gap: 6px; }
  .panel-heading h2 { font-size: 13px; }
  .row-control { padding: 3px 4px; gap: 2px; }
  .row-control svg { width: 12px; height: 12px; }
  .row-control select { font-size: 10px; }
  .activity-list { padding-inline: 8px; }
  .activity-row { grid-template-columns: 30px minmax(76px, .8fr) minmax(100px, 1.2fr); gap: 8px; height: 100px; padding-bottom: 17px; }
  .row-icon { width: 30px; height: 40px; }
  .row-icon svg { width: 19px; height: 19px; }
  .row-primary > a { font-size: 12px; }
  .row-details p { font-size: 11px; }
  .row-age, .row-secondary { font-size: 10px; }
  .row-value { position: absolute; bottom: 9px; right: 0; font-size: 9px; padding: 1px 5px; }
  .activity-list, .feed-placeholder { min-height: 600px; }
  .feed-note { font-size: 10px; text-align: left; }
  .footer-top { padding-block: 20px; }
  .footer-top a { font-size: 12px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; padding-block: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand h2 { font-size: 18px; }
  .footer-columns h3 { font-size: 12px; }
  .footer-columns > div > a:not(.secondary-action) { font-size: 11px; gap: 5px; align-items: baseline; }
  .footer-bottom { flex-direction: column; gap: 7px; font-size: 10px; }
  .checkout-modal { padding: 26px 22px; }
  .checkout-modal h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}