:root {
  color-scheme: dark;
  --bg: #0b0d0e;
  --panel: #141718;
  --panel2: #191d1e;
  --border: #292d2c;
  --ink: #f3f6f2;
  --muted: #9ba29f;
  --dim: #858d88;
  --lime: #b4f66d;
  --lime-dark: #27331e;
  --radius: 19px;
  --font: Inter, "Segoe UI", Arial, sans-serif;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 300px;
  background: var(--bg);
}
button,
input,
select {
  font: inherit;
}
button,
a.btn {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.48;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
button {
  touch-action: manipulation;
}
a {
  color: var(--lime);
}
.icon {
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.topbar {
  background: #101213;
  border-bottom: 1px solid #262929;
}
.top-inner {
  max-width: 1512px;
  padding: 0 clamp(22px, 4.55vw, 78px);
  margin: auto;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  white-space: nowrap;
}
.brand span {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -1px;
}
.brand b {
  color: var(--lime);
  font-weight: 800;
}
.brand img {
  margin-right: 2px;
  object-fit: contain;
}
.desktop-nav,
.header-end {
  display: flex;
  align-items: center;
  gap: 5px;
}
.desktop-nav {
  padding: 4px;
  background: #171a1b;
  border: 1px solid #292d2d;
  border-radius: 13px;
}
.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 550;
  color: #a4aaa6;
  white-space: nowrap;
}
.nav-btn[aria-current="page"] {
  background: #2c3328;
  color: var(--lime);
}
.nav-btn:hover {
  color: #e5f4db;
}
.header-end {
  gap: 17px;
}
.test-chip,
.status,
.subtle-chip {
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  white-space: nowrap;
}
.test-chip {
  background: #1b1f1d;
  border: 1px solid #353b35;
  color: #c4c9c3;
  padding: 6px 10px;
}
.test-chip i,
.status i,
.ledger-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}
.profile-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #252b25;
  border: 1px solid #3d463b;
  border-radius: 50%;
  color: #c7d8bf;
}
.container {
  max-width: 1512px;
  margin: 0 auto;
  padding: 31px clamp(22px, 4.55vw, 78px) 29px;
}
.crumbs {
  font-size: 12px;
  letter-spacing: 0.1px;
  color: #a7aea9;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.crumbs span:first-child {
  color: #818985;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.page-heading h1 {
  font-size: clamp(34px, 3.4vw, 51px);
  line-height: 1.1;
  margin: 0;
  font-weight: 650;
  letter-spacing: -2.3px;
}
.date,
.inline-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a3aaa4;
  font-size: 13px;
}
.date .icon {
  color: #90998f;
}
.hero-row,
.lower-row {
  display: grid;
  grid-template-columns: minmax(0, 1.92fr) minmax(275px, 1fr);
  gap: 16px;
}
.panel,
.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.connection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 254px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 25px 29px 27px;
  background: #131a14;
  border-color: #3a4132;
}
.connection:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("./assets/bibizyan.webp") 75% 50% / cover no-repeat;
}
.connection:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(11, 20, 15, 0.86),
      rgba(10, 17, 12, 0.36) 55%,
      rgba(6, 8, 5, 0.02)
    ),
    linear-gradient(0deg, rgba(6, 12, 7, 0.39), transparent 55%);
}
.hero-top,
.section-head,
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hero-top {
  width: 100%;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c1cabb;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 690;
  text-transform: uppercase;
}
.eyebrow .icon {
  color: var(--lime);
}
.status {
  background: #192b1c;
  color: #b8f887;
  border: 1px solid #486d37;
  padding: 5px 9px;
  font-size: 12px;
}
.status.off {
  border-color: #605446;
  color: #e3b58c;
  background: #29231e;
}
.status.off i {
  background: #e3b58c;
}
.connection .status {
  background: rgba(13, 30, 13, 0.86);
}
.connection .main-country {
  margin: 23px 0;
}
.country-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.country-title h2 {
  font-size: clamp(34px, 3.2vw, 51px);
  letter-spacing: -2px;
  line-height: 1.07;
  margin: 0;
  font-weight: 640;
}
.flag {
  display: inline-block;
  position: relative;
  flex: none;
  width: 29px;
  height: 21px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #ffffff18;
  background: #40494c;
  vertical-align: middle;
}
.country-title .flag {
  width: 39px;
  height: 29px;
  border-radius: 5px;
}
.flag.CH {
  background: #e83741;
}
.flag.CH:before,
.flag.CH:after {
  content: "";
  position: absolute;
  background: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.flag.CH:before {
  height: 60%;
  width: 14%;
}
.flag.CH:after {
  width: 46%;
  height: 18%;
}
.flag.DE {
  background: linear-gradient(
    #18191b 33.3%,
    #d7323a 33.3% 66.6%,
    #f8c647 66.6%
  );
}
.flag.NL {
  background: linear-gradient(#bb3447 33.3%, #fff 33.3% 66.6%, #3251a0 66.6%);
}
.flag.FI {
  background:
    linear-gradient(0deg, transparent 38%, #294588 38% 59%, transparent 59%),
    linear-gradient(90deg, white 28%, #294588 28% 44%, white 44%);
}
.flag.SE {
  background:
    linear-gradient(0deg, transparent 38%, #f8cc3e 38% 59%, transparent 59%),
    linear-gradient(90deg, #2c71a0 28%, #f8cc3e 28% 44%, #2c71a0 44%);
}
.country-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c2cbbe;
  font-size: 14px;
  margin-top: 10px;
}
.country-meta b {
  font-weight: 500;
}
.sep-dot {
  height: 3px;
  width: 3px;
  background: #96a18f;
  border-radius: 50%;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #24282a;
  border: 1px solid #373d3b;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn:hover,
.icon-btn:hover {
  background: #303631;
  border-color: #586650;
}
.btn.primary {
  color: #182010;
  background: linear-gradient(105deg, #bff884, #a7ef5e);
  border-color: #b6ef78;
}
.btn.primary:hover {
  background: #cbff95;
}
.connection .btn.secondary {
  background: rgba(27, 34, 25, 0.87);
  border-color: #535d48;
}
.btn.full {
  width: 100%;
}
.btn.text {
  background: transparent;
  border: 0;
}
.btn.danger {
  color: #ffaaa4;
  background: #352323;
  border-color: #63342f;
}
.wallet-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 100% 0%, #252d22 -30%, transparent 65%), #151819;
  position: relative;
  overflow: hidden;
}
.wallet-card .wallet-icon,
.emblem {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: #25301f;
  color: var(--lime);
  border: 1px solid #38482f;
  border-radius: 11px;
}
.wallet-card .line-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9e0d4;
  font-size: 15px;
  font-weight: 600;
}
.icon-btn {
  border: 1px solid var(--border);
  background: #1b1f20;
  padding: 7px;
  border-radius: 8px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn.ghost {
  color: var(--muted);
  border: 0;
  background: transparent;
}
.balance-number {
  font-size: clamp(46px, 4.6vw, 69px);
  line-height: 1;
  font-weight: 580;
  letter-spacing: -3px;
  margin: 16px 0 5px;
}
.balance-number span {
  color: #979e95;
  font-size: 0.72em;
  font-weight: 470;
  margin-left: 3px;
}
.micro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.wallet-card .btn {
  margin-top: 19px;
  background: #292f28;
  border-color: #3c4638;
  color: #e2efd8;
}
.wallet-card .btn .icon {
  color: var(--lime);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 113px;
  padding: 21px 22px;
}
.stat-icon,
.device-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: #232a22;
  border: 1px solid #363d32;
  color: #b8ce9f;
}
.stat-copy {
  min-width: 0;
}
.stat-label {
  color: #a6ada7;
  font-size: 13px;
  line-height: 1.3;
}
.stat-value {
  font-size: 26px;
  font-weight: 620;
  letter-spacing: -1px;
  margin: 4px 0 3px;
  line-height: 1.1;
}
.stat-note {
  font-size: 12px;
  color: #8d958f;
}
.lower-row {
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 1fr);
}
.devices-card,
.traffic-card,
.wide-panel {
  padding: 23px 24px;
}
.section-title,
.modal h2,
.section-head h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.7px;
  font-weight: 620;
}
.section-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}
.counter,
.subtle-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #252a26;
  border: 1px solid #383e37;
  color: #c2cbbd;
  font-size: 12px;
  font-weight: 500;
}
.counter {
  border-radius: 7px;
  min-width: 22px;
  height: 21px;
  padding: 0 5px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #b6c0b2;
  padding: 5px 0;
}
.text-button:hover {
  color: var(--lime);
}
.device-list {
  display: flex;
  flex-direction: column;
  margin-top: 13px;
}
.device-row {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid #2a2e2c;
  text-align: left;
}
.device-row:last-child {
  border-bottom: 0;
}
.device-row .device-icon {
  color: #c6ceca;
  background: #222729;
  border-color: #343a39;
  width: 42px;
  height: 42px;
}
.device-row .device-info {
  flex: 1;
  min-width: 0;
}
.device-name {
  display: block;
  font-size: 15px;
  font-weight: 560;
  overflow-wrap: anywhere;
  letter-spacing: -0.2px;
}
.device-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 12px;
  color: #a2aba2;
  margin-top: 4px;
}
.device-status {
  font-size: 12px;
  color: #b2cfa2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.device-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #97c76e;
}
.device-row .row-icon {
  color: #849080;
  margin-left: 4px;
}
.device-bottom {
  border-top: 1px solid #2a2e2c;
  margin-top: 0;
  padding-top: 12px;
}
.add-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--lime);
  font-size: 13px;
  font-weight: 550;
  padding: 5px 0;
}
.period {
  font-size: 12px;
  border: 1px solid var(--border);
  color: #b6beb5;
  padding: 5px 8px;
  border-radius: 7px;
  background: #1d2020;
}
.transfer-total {
  margin: 15px 0 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.transfer-total strong {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 620;
}
.transfer-total span {
  font-size: 17px;
  color: #a2ada1;
}
.chart {
  width: 100%;
  height: 68px;
  margin-top: 0;
  display: block;
  overflow: visible;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8a938b;
}
.traffic-card .micro {
  margin-top: 5px;
}
.chart-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: #939c93;
  font-size: 12px;
}
.chart-key {
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 0 0;
}
.footer-links .text-button {
  gap: 8px;
}
.footer-right {
  display: flex;
  gap: 22px;
}
.back-btn {
  font-size: 13px;
  color: var(--muted);
  padding: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mobile-nav {
  display: none;
}
.loading,
.empty {
  padding: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wide-panel {
  margin-bottom: 16px;
}
.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  align-items: start;
}
.wide-panel .section-head {
  margin-bottom: 14px;
}
.summary-list {
  display: grid;
  gap: 0;
  margin: 14px 0;
}
.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.summary-line span {
  color: var(--muted);
}
.summary-line b {
  font-weight: 550;
  text-align: right;
}
.wide-panel p,
.modal-body p,
.muted {
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}
.row-tools {
  display: flex;
  align-items: center;
  gap: 5px;
}
.servers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 14px;
}
.country-card {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 20px;
  border-radius: 14px;
  background: #1a1f1d;
  border: 1px solid #30382f;
}
.country-card.selected,
.choice.selected {
  border-color: #718c54;
  background: #222d20;
}
.country-card .country-copy,
.choice .choice-copy {
  flex: 1;
}
.country-card small,
.choice small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.country-card .icon {
  color: var(--lime);
}
.transaction-amount {
  font-size: 16px;
  font-weight: 600;
}
.positive {
  color: var(--lime);
}
.negative {
  color: #e7d2b4;
}
.transaction-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.transaction-row:last-child {
  border: 0;
}
.transaction-row .transaction-copy {
  flex: 1;
}
.modal-body {
  padding: 25px;
}
.modal-body h2 {
  font-size: 24px;
  margin: 0 40px 17px 0;
  letter-spacing: -0.8px;
}
.modal-body h3 {
  font-size: 16px;
  margin: 13px 0 5px;
}
dialog {
  inset: auto;
  margin: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 32px));
  max-height: 85dvh;
  padding: 0;
  background: #171b1b;
  color: var(--ink);
  border: 1px solid #414940;
  border-radius: 20px;
  box-shadow: 0 26px 100px #0009;
}
dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(5px);
}
.close-modal {
  position: absolute;
  right: 16px;
  top: 16px;
}
.modal-body .actions {
  margin-top: 17px;
}
.modal-body .eyebrow {
  margin: 0 0 13px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 55px;
  padding: 12px 14px;
  background: #222725;
  border: 1px solid #353c35;
  border-radius: 11px;
  text-align: left;
  margin: 7px 0;
}
.choice:hover {
  border-color: #69775f;
}
.choice.selected > .icon:last-child {
  color: var(--lime);
}
.fields {
  display: grid;
  gap: 13px;
  margin: 16px 0;
}
label.field {
  display: grid;
  gap: 7px;
  color: #c7cec6;
  font-size: 14px;
}
input,
select,
.copy-field {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #444e43;
  background: #101412;
  border-radius: 9px;
  color: var(--ink);
  font-size: 16px;
}
.quick-amounts {
  display: flex;
  gap: 7px;
}
.quick-amounts button {
  background: #252c24;
  border: 1px solid #3a4535;
  border-radius: 8px;
  color: #d3e8c5;
  padding: 6px 12px;
  font-size: 13px;
}
.modal-actions {
  display: grid;
  gap: 9px;
  margin-top: 19px;
}
.inline-error {
  color: #ffc5a3 !important;
  line-height: 1.45;
  font-size: 14px;
}
.qr-box {
  display: block;
  width: min(240px, 100%);
  background: white;
  padding: 12px;
  border-radius: 10px;
  margin: 12px auto;
}
.help-list li {
  padding: 3px 0;
  color: #cdd3ca;
  line-height: 1.5;
}
.help-list {
  padding-left: 22px;
}
details {
  border-bottom: 1px solid #333a33;
  margin-bottom: 7px;
  padding: 10px 0;
}
details summary {
  cursor: pointer;
  color: #dee4db;
  font-size: 15px;
}
.note {
  font-size: 13px !important;
  padding: 11px 13px;
  border-radius: 10px;
  background: #232a21;
  border: 1px solid #354032;
  color: #bdcdb1 !important;
}
.modal-body .loading {
  padding: 14px 0;
}
.text-link {
  color: var(--lime);
  font-size: 14px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.qr-wrap {
  text-align: center;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.metric-mini {
  background: #202522;
  padding: 12px;
  border-radius: 9px;
}
.metric-mini span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.metric-mini b {
  font-size: 15px;
  font-weight: 550;
}
#notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  color: var(--ink);
  border: 1px solid #536a46;
  border-radius: 11px;
  background: #222e20;
  box-shadow: 0 10px 36px #0006;
  padding: 10px 16px;
  max-width: 90vw;
  width: max-content;
  font-size: 14px;
}
#notice:empty {
  display: none;
}
.support-box {
  margin-top: 16px;
}
.full-count {
  font-size: 31px;
  letter-spacing: -1.4px;
}
.key-sub {
  display: block;
  color: var(--lime);
  font-size: 12px;
  padding: 3px 0;
  margin-top: 3px;
  text-align: left;
}
.token-input {
  font-size: 13px;
  cursor: text;
  line-height: 1.45;
}
.grid-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.show-mobile {
  display: none;
}
@media (min-width: 1550px) {
  .connection {
    min-height: 284px;
  }
  .chart {
    height: 80px;
  }
  .device-row {
    padding: 17px 0;
  }
}
@media (max-width: 1100px) {
  .nav-btn {
    padding: 9px 10px;
    gap: 6px;
  }
  .top-inner,
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero-row {
    grid-template-columns: 1.8fr 1fr;
  }
  .stat-card {
    padding: 18px 16px;
    gap: 12px;
  }
  .header-end {
    gap: 9px;
  }
  .section-head h2 {
    font-size: 19px;
  }
  .device-status {
    display: none;
  }
}
@media (max-width: 850px) {
  .desktop-nav .icon {
    display: none;
  }
  .top-inner {
    height: 67px;
  }
  .wallet-card,
  .devices-card,
  .traffic-card,
  .wide-panel {
    padding: 20px;
  }
  .connection {
    padding: 22px;
  }
  .test-chip {
    font-size: 11px;
  }
  .top-inner,
  .container {
    padding-left: 19px;
    padding-right: 19px;
  }
  .stat-icon {
    width: 32px;
    height: 32px;
  }
  .lower-row {
    grid-template-columns: 1.15fr 1fr;
  }
  .hero-row {
    grid-template-columns: minmax(0, 1.55fr) minmax(220px, 1fr);
  }
  .country-title h2 {
    font-size: 37px;
  }
  .actions {
    gap: 7px;
  }
  .connection .btn {
    font-size: 13px;
    padding: 10px 11px;
  }
  .stat-value {
    font-size: 22px;
  }
}
@media (max-width: 700px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    position: fixed;
    z-index: 6;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #333932;
    background: #121615f7;
    backdrop-filter: blur(10px);
    padding: 5px 5px max(6px, env(safe-area-inset-bottom));
  }
  .mobile-nav .nav-btn {
    flex: 1;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    padding: 8px 4px;
    border-radius: 9px;
  }
  .mobile-nav .nav-btn[aria-current="page"] {
    background: none;
  }
  .container {
    padding-top: 23px;
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
  .top-inner {
    height: 62px;
  }
  .brand span {
    font-size: 19px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .brand {
    gap: 6px;
  }
  .profile-avatar {
    height: 34px;
    width: 34px;
  }
  .header-end {
    gap: 10px;
  }
  .hero-row,
  .lower-row,
  .split {
    grid-template-columns: 1fr;
  }
  .page-heading {
    margin-bottom: 17px;
  }
  .page-heading h1 {
    font-size: 34px;
    letter-spacing: -1.6px;
  }
  .date {
    font-size: 12px;
    gap: 5px;
  }
  .date .icon {
    width: 14px;
    height: 14px;
  }
  .crumbs {
    margin-bottom: 8px;
  }
  .connection {
    min-height: 237px;
  }
  .hero-row,
  .lower-row,
  .split,
  .stats {
    gap: 11px;
  }
  .wallet-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "label button" "balance button";
    align-items: center;
    gap: 6px;
    padding: 17px 19px;
  }
  .wallet-card > .row-between {
    grid-area: label;
  }
  .wallet-card .line-label {
    font-size: 12px;
    color: #b6beb6;
    gap: 6px;
  }
  .wallet-card .wallet-icon {
    width: 17px;
    height: 17px;
    background: none;
    border: 0;
  }
  .wallet-card .wallet-icon .icon {
    width: 16px;
    height: 16px;
  }
  .wallet-card .row-between > .icon-btn {
    display: none;
  }
  .wallet-card .balance-wrap {
    grid-area: balance;
  }
  .wallet-card .balance-number {
    margin: 0;
    font-size: 34px;
    letter-spacing: -1.6px;
  }
  .wallet-card .balance-wrap .micro {
    display: none;
  }
  .wallet-card > .btn {
    grid-area: button;
    margin: 0;
    min-height: 38px;
    font-size: 13px;
  }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 11px 0;
  }
  .stat-card {
    display: block;
    padding: 14px 11px;
    min-height: 113px;
  }
  .stat-icon {
    width: 24px;
    height: 24px;
    border: 0;
    background: none;
    display: flex;
    margin-bottom: 6px;
  }
  .stat-icon .icon {
    width: 19px;
    height: 19px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-value {
    font-size: 18px;
    letter-spacing: -0.65px;
    margin: 5px 0;
  }
  .stat-note {
    font-size: 10px;
  }
  .device-status {
    display: inline-flex;
  }
  .devices-card,
  .traffic-card,
  .wide-panel {
    padding: 18px;
  }
  .lower-row .chart {
    height: 87px;
  }
  .footer-links {
    padding: 14px 0 0;
  }
  .footer-right {
    gap: 12px;
  }
  #notice {
    bottom: 90px;
  }
  .show-mobile {
    display: block;
  }
}
@media (max-width: 390px) {
  .top-inner {
    gap: 6px;
  }
  .brand span {
    font-size: 18px;
  }
  .container,
  .top-inner {
    padding-left: 13px;
    padding-right: 13px;
  }
  .connection {
    padding: 19px 16px;
  }
  .header-end {
    gap: 7px;
  }
  .test-chip {
    padding: 5px 7px;
  }
  .country-title h2 {
    font-size: 33px;
  }
  .country-title {
    gap: 10px;
  }
  .date {
    display: none;
  }
  .stat-card {
    padding: 12px 8px;
  }
  .stat-note {
    font-size: 10px;
  }
  .footer-links {
    gap: 8px;
    flex-wrap: wrap;
  }
  .device-status {
    display: none;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .wallet-card .btn {
    font-size: 12px;
    padding: 8px 9px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .row-tools {
    gap: 3px;
  }
  .icon-btn {
    min-width: 28px;
    padding: 6px;
  }
  .modal-body {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.stat-value small {
  font-size: 0.64em;
  color: #afb8aa;
  font-weight: 470;
  letter-spacing: -0.3px;
}
.device-name:first-letter {
  text-transform: uppercase;
}
