:root {
  --bg: #f7f5ef;
  --surface: #fffefa;
  --ink: #20201f;
  --muted: #74746b;
  --border: #242421;
  --orange: #ff803d;
  --yellow: #ffdd57;
  --mint: #c6ead8;
  --line: #e5e2d9;
  --shadow: 4px 4px 0 var(--border);
  --radius: 4px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #171918;
  --surface: #232623;
  --ink: #f3f1e7;
  --muted: #b0b7ac;
  --border: #d7dbcc;
  --orange: #ff965b;
  --yellow: #f2d46e;
  --mint: #a8cdbb;
  --line: #3a4039;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  margin-bottom: 13px;
  font-weight: 850;
}
h2 {
  font-size: 24px;
  margin-bottom: 18px;
  font-weight: 800;
}
h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
p {
  line-height: 1.7;
}
small,
.tiny {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: ui-monospace, SFMono-Regular, monospace;
  overflow-wrap: anywhere;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.orange-text {
  color: var(--orange);
}
.orange {
  background: var(--orange) !important;
  color: #20201f;
}
.yellow {
  background: var(--yellow) !important;
  color: #20201f;
}
.mint {
  background: var(--mint) !important;
  color: #20201f;
}
.positive {
  color: #20804c;
  font-weight: 750;
}
html[data-theme="dark"] .positive {
  color: #9fdec1;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  background: var(--yellow);
  color: #20201f;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
}
.wordmark:hover {
  text-decoration: none;
}
.brand-symbol {
  position: relative;
  display: inline-flex;
  background: var(--orange);
  color: #20201f;
  width: 39px;
  height: 40px;
  border: 2px solid var(--border);
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 2px 2px 0 var(--border);
  font-style: italic;
  letter-spacing: -8px;
  padding-right: 5px;
}
.brand-symbol > span {
  font-size: 23px;
  transform: translateY(-2px);
}
.brand-otp {
  font-size: 12px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  letter-spacing: -0.3px;
  margin-left: 5px;
  padding: 2px 4px;
  vertical-align: middle;
}
.wordmark small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.6px;
  margin-top: 8px;
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 21px;
  min-height: 46px;
  background: var(--orange);
  color: #20201f;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 3px 3px 0 var(--border);
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  line-height: 1.4;
}
.button:hover {
  text-decoration: none;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--border);
}
.button:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--border);
}
.button.small {
  padding: 9px 13px;
  min-height: 37px;
  font-size: 12px;
}
.button.full {
  width: 100%;
}
.button.secondary {
  background: var(--surface);
  color: var(--ink);
}
.button.danger {
  background: #ffd0ca;
  color: #70261a;
}
.button.dark-button {
  background: #242421;
  color: #fff9eb;
  border-color: #242421;
  box-shadow: 3px 3px 0 #625137;
}
.text-link {
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.icon-btn {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 8px 11px;
  border-radius: 4px;
  min-height: 36px;
  line-height: 1;
}
.avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--yellow);
  color: #20201f;
  border: 2px solid var(--border);
  border-radius: 50%;
  font-weight: 800;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 235px;
  background: var(--surface);
  border-right: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 30px 18px 18px;
  z-index: 90;
}
.sidebar > .wordmark {
  padding-left: 8px;
  margin-bottom: 34px;
}
.sidebar-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--muted);
  font-weight: 700;
  margin: 0 11px 12px;
}
.sidebar nav {
  flex: 1;
  overflow: auto;
  scrollbar-width: thin;
  padding: 0 4px 15px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1.5px solid transparent;
  padding: 9px 11px;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 650;
  border-radius: 3px;
  line-height: 1.5;
}
.nav-item > span:first-child {
  font-size: 17px;
  width: 18px;
  text-align: center;
  line-height: 1;
}
.nav-item:hover {
  background: var(--bg);
  text-decoration: none;
}
.nav-item.selected {
  background: var(--orange);
  color: #20201f;
  border-color: var(--border);
  box-shadow: 2px 2px 0 var(--border);
  font-weight: 850;
}
.nav-dot {
  width: 6px;
  height: 6px;
  background: #57ae76;
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding: 13px 8px 0;
}
.subtle-link {
  font-size: 11px;
  display: block;
  margin-bottom: 13px;
}
.logout {
  background: transparent;
  border: 0;
  color: var(--ink);
  padding: 0;
  font-size: 12px;
  font-weight: 650;
}
.sidebar-bottom .tiny {
  font-size: 8px;
  margin-top: 15px;
}
.workspace {
  margin-left: 235px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.app-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  border-bottom: 1.5px solid var(--line);
  background: var(--surface);
  gap: 15px;
}
.breadcrumbs {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumbs span {
  margin: 0 12px;
  color: var(--muted);
}
.breadcrumbs strong {
  color: var(--ink);
  font-weight: 600;
}
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.connection {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.connection:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #c19c45;
  border-radius: 50%;
}
.connection.online:before {
  background: #429968;
}
.sound-toggle {
  font-size: 13px;
}
.sound-toggle span {
  font-size: 9px;
  margin-left: 4px;
}
.menu-toggle {
  display: none;
}
.main {
  padding: 34px 35px 25px;
  max-width: 1550px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  min-width: 0;
}
.workspace-footer {
  padding: 20px 35px;
  font-size: 9px;
  color: var(--muted);
  display: flex;
  gap: 15px;
  justify-content: space-between;
}
.wib-clock {
  margin-left: 15px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 2px 0 29px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 0;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
}
.page-spark {
  font-size: 62px;
  line-height: 1;
  color: var(--orange);
  text-shadow: 2px 2px 0 var(--border);
  margin-right: 15px;
}
.panel {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 23px;
  min-width: 0;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 18px;
  letter-spacing: -0.5px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.panel-heading h2 {
  margin-bottom: 0;
}
.panel-heading a {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}
.count {
  font-size: 9px;
  font-weight: 700;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 5px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
}
.balance-card {
  background: var(--orange);
  color: #20201f;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.card-overline {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-overline > span {
  font-size: 19px;
}
.balance-amount {
  font-size: 39px;
  font-weight: 850;
  letter-spacing: -1.7px;
  display: block;
  line-height: 1.2;
  margin: 9px 0 15px;
}
.balance-details {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 17px;
  font-size: 9px;
}
.balance-details strong {
  display: block;
  font-size: 10px;
}
.stat-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex-direction: column;
}
.stat-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  box-shadow: 2px 2px 0 var(--border);
  font-size: 23px;
}
.stat-card > div {
  display: flex;
  flex-direction: column;
}
.stat-card > div > span {
  font-size: 11px;
  color: var(--muted);
}
.stat-card strong {
  font-size: 37px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -1.5px;
  margin: 6px 0;
}
.stat-card strong small {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
.stat-card a {
  font-size: 10px;
  font-weight: 750;
  margin-top: 4px;
}
.mini-metrics {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 25px 0 28px;
  flex-wrap: wrap;
}
.mini-metrics > div {
  padding-right: 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mini-metrics span {
  color: var(--muted);
  font-size: 10px;
}
.mini-metrics strong {
  font-size: 15px;
  font-weight: 800;
}
.mini-metrics small {
  font-size: 8px;
}
.mini-metrics > a {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
}
.split-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
  gap: 22px;
  align-items: start;
}
.stack {
  min-width: 0;
}
.tip-card {
  position: relative;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 22px;
  overflow: hidden;
}
.tip-card h3 {
  font-size: 27px;
  line-height: 1.15;
}
.tip-card p {
  font-size: 11px;
  position: relative;
  z-index: 1;
  max-width: 240px;
}
.tip-spark {
  position: absolute;
  right: 10px;
  top: 24px;
  font-size: 85px;
  opacity: 0.2;
  line-height: 1;
  transform: rotate(15deg);
}
.announcement p {
  font-size: 11px;
  color: var(--muted);
}
.announcement article {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 20px;
  gap: 6px;
}
.empty h3 {
  font-size: 17px;
  margin: 9px 0 3px;
}
.empty p {
  font-size: 11px;
  color: var(--muted);
  max-width: 320px;
}
.empty-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 28px;
  box-shadow: 3px 3px 0 var(--border);
  border-radius: 5px;
  transform: rotate(-6deg);
  margin-bottom: 9px;
}
.empty.compact {
  padding: 28px 10px;
}
.order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.order-row:hover {
  text-decoration: none;
  background: var(--bg);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  color: #20201f;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  width: 35px;
  height: 35px;
  font-size: 19px;
  font-weight: 850;
  flex-shrink: 0;
  overflow: hidden;
}
.service-icon img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}
.service-icon.large {
  width: 49px;
  height: 49px;
  border-radius: 11px;
  box-shadow: 2px 2px 0 var(--border);
}
.order-summary {
  flex: 1;
  min-width: 0;
}
.order-summary strong {
  display: block;
  font-size: 12px;
}
.order-summary > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.order-meta {
  text-align: right;
}
.order-meta strong {
  display: block;
  font-size: 11px;
  margin-bottom: 5px;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.status-waiting,
.status-creating,
.status-pending,
.status-queued {
  background: #fff0bd;
  border-color: #d7be76;
  color: #6b5015;
}
.status-otp_received,
.status-completed,
.status-paid {
  background: #d4efdf;
  border-color: #a4cab1;
  color: #23593a;
}
.status-failed,
.status-canceled,
.status-expired {
  background: #efdfdd;
  color: #79352b;
  border-color: #cdafaa;
}
.status-reconciling,
.status-expiry_verifying,
.status-canceling {
  background: #f5dec9;
  color: #795024;
  border-color: #cea77e;
}
.row-arrow {
  font-size: 18px;
  padding-left: 7px;
}
.flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
  flex-shrink: 0;
}
.notice {
  border: 1.5px solid #b07631;
  background: #fff0c9;
  color: #63461d;
  border-radius: 4px;
  padding: 13px 16px;
  font-size: 11px;
  margin-bottom: 22px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.notice.neutral {
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
}
.notice p:last-child {
  margin-bottom: 0;
}
.notice strong {
  color: inherit;
}
.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  background: var(--surface);
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.filter-bar > label {
  font-size: 9px;
  font-weight: 700;
  flex: 1;
  min-width: 120px;
}
.filter-bar .search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 2;
  align-self: flex-end;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  font-size: 22px;
}
.search-input input {
  border: 0;
  min-width: 0;
  outline-offset: 0;
}
.filter-bar > input {
  flex: 1;
  min-width: 120px;
}
.filter-bar.compact {
  padding: 0;
  border: 0;
  gap: 7px;
}
.filter-bar.compact > * {
  min-width: 0;
  flex: 1;
}
input,
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 4px;
  padding: 11px 12px;
  min-width: 0;
  line-height: 1.5;
  font-size: 12px;
}
input[readonly] {
  background: var(--bg);
  color: var(--muted);
}
textarea {
  resize: vertical;
  min-height: 95px;
}
select {
  padding-right: 25px;
}
label > input,
label > select,
label > textarea {
  display: block;
  margin-top: 6px;
}
label {
  font-size: 11px;
  font-weight: 650;
}
label.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--orange);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 23px;
}
.product-card {
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--border);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.favorite {
  background: none;
  border: 1px solid var(--line);
  width: 29px;
  height: 29px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 18px;
  padding: 0;
}
.favorite.is-favorite {
  color: #ca8c00;
  background: #fff2b0;
}
.product-card h2 {
  font-size: 19px;
  margin-bottom: 11px;
  letter-spacing: -0.6px;
}
.country-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  flex-wrap: wrap;
}
.stock {
  margin-left: auto;
  color: #28784d;
  font-size: 9px;
  white-space: nowrap;
}
.stock.low {
  color: #a4761c;
}
.product-price {
  border-top: 1px solid var(--line);
  margin: 18px 0;
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-price span {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.product-price strong {
  display: block;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -1px;
  margin-top: 2px;
}
.product-card form:last-child {
  margin-top: auto;
}
.stock-warning {
  font-size: 9px;
  background: #fff0c9;
  color: #805b19;
  padding: 9px;
  border-radius: 4px;
  margin-bottom: 15px;
}
.featured-unavailable {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.featured-unavailable h3 {
  margin-top: 15px;
}
.favorite-index {
  margin-top: 25px;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 10px;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.5;
}
.chip:hover {
  background: var(--bg);
  text-decoration: none;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}
.service-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.service-heading h2 {
  font-size: 25px;
  margin: 0 0 7px;
}
.number-box {
  padding: 20px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.number-box > span,
.otp-box > div > span:first-child {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.number-box strong {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.otp-box {
  background: var(--yellow);
  color: #20201f;
  border: 2px solid var(--border);
  border-radius: 4px;
  margin: 18px 0;
  padding: 19px;
  box-shadow: 3px 3px 0 var(--border);
}
.otp-box.received {
  background: var(--mint);
}
.otp-box > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.otp-box [data-countdown] {
  font-size: 10px;
}
.otp-box > strong {
  display: block;
  font-size: clamp(25px, 4vw, 43px);
  font-weight: 850;
  letter-spacing: 4px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.otp-box p {
  color: #6c6038;
  font-size: 10px;
  margin: 0;
}
.sms-box {
  border: 1px solid var(--line);
  padding: 15px;
  background: var(--bg);
  border-radius: 4px;
  margin-top: 22px;
}
.sms-box p {
  font-size: 12px;
  margin-bottom: 0;
}
.detail-list {
  margin: 20px 0;
}
.detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  font-weight: 700;
  text-align: right;
  margin: 0;
  overflow-wrap: anywhere;
  max-width: 65%;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.timeline {
  list-style: none;
  padding: 5px 0 0 13px;
  margin: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 23px 22px;
  border-left: 1.5px solid var(--line);
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li:before {
  content: "";
  position: absolute;
  top: 2px;
  left: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  border: 1px solid var(--border);
}
.timeline strong {
  font-size: 11px;
}
.timeline p {
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0;
}
.timeline small {
  font-size: 8px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.form-stack > .button {
  align-self: flex-start;
}
.two-col,
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  min-width: 0;
}
.settings-grid {
  gap: 20px 25px;
}
.amount-presets {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.deposit-row,
.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.deposit-row:hover,
.ticket-row:hover {
  text-decoration: none;
}
.deposit-row small,
.ticket-row small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
.deposit-row strong {
  font-size: 13px;
}
.qr-panel {
  text-align: center;
}
.qr-panel > h2 {
  font-size: 43px;
  letter-spacing: -2px;
  margin: 15px 0;
}
.qr-panel > .eyebrow {
  overflow-wrap: anywhere;
}
.qr-image {
  background: white;
  width: 280px;
  max-width: 100%;
  margin: 25px auto;
  border: 2px solid #20201f;
  padding: 10px;
  border-radius: 5px;
}
.qr-image img {
  width: 100%;
  height: auto;
  display: block;
}
.qr-panel form {
  margin: 18px 0;
}
.qr-panel > .text-link {
  display: block;
  margin: 15px 0;
}
.payment-success {
  width: 80px;
  height: 80px;
  background: var(--mint);
  color: #20201f;
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  font-size: 52px;
  margin: 30px auto;
  border-radius: 50%;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  text-align: left;
  white-space: nowrap;
}
th {
  background: var(--bg);
  font-weight: 800;
  padding: 12px;
  border-bottom: 1.5px solid var(--border);
  font-size: 9px;
}
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  max-width: 260px;
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 90px;
}
td small {
  display: block;
  margin-top: 5px;
  font-size: 8px;
}
td pre {
  max-width: 300px;
}
table tr:last-child td {
  border-bottom: 0;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 11px;
  margin: 24px 0;
}
.pagination a {
  font-weight: 700;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}
.stats-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric {
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 3px 3px 0 var(--border);
  min-width: 0;
}
.metric > span {
  display: block;
  font-size: 10px;
  margin-bottom: 12px;
}
.metric > strong {
  font-size: 27px;
  letter-spacing: -1px;
  line-height: 1.3;
  display: block;
  overflow-wrap: anywhere;
}
.metric > small {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  color: inherit;
  opacity: 0.7;
}
.referral-link {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  background: var(--yellow);
  color: #20201f;
}
.referral-link h2 {
  font-size: 35px;
  margin: 8px 0;
}
.referral-link > div {
  flex: 1;
  min-width: 0;
}
.referral-link input {
  background: #ffffff88;
  border: 1px solid #20201f;
  color: #20201f;
  font-size: 12px;
}
.tabs {
  display: inline-flex;
  gap: 5px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 5px;
  margin-bottom: 22px;
  background: var(--surface);
  max-width: 100%;
}
.tabs > a {
  padding: 9px 17px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  white-space: nowrap;
}
.tabs > a.selected {
  background: var(--orange);
  color: #20201f;
  border: 1px solid #20201f;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.rank-row:last-child {
  border: 0;
}
.rank {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 12px;
}
.rank.first {
  background: var(--yellow);
  color: #20201f;
  border: 1.5px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
}
.rank-name {
  flex: 1;
  min-width: 0;
}
.rank-name > strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.rank-name > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.rank-row > strong:last-child {
  font-size: 16px;
}
.balance-chip {
  font-size: 9px;
  color: var(--muted);
  border: 1.5px solid var(--border);
  padding: 10px 16px;
  background: var(--surface);
}
.balance-chip strong {
  display: block;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -1px;
}
.message {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 15px;
  margin: 17px 0;
  background: var(--bg);
}
.message.mine {
  border-left: 4px solid var(--orange);
}
.message.internal {
  background: #fff0c9;
  color: #5d421c;
  border: 1px dashed #a97e3d;
}
.message > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
}
.message > div > span {
  font-size: 9px;
  color: var(--muted);
}
.message p {
  font-size: 12px;
  margin: 12px 0;
}
.rule {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  margin-bottom: 15px;
}
.rule > strong {
  font-size: 11px;
}
.rule > p {
  font-size: 10px;
  color: var(--muted);
  margin: 9px 0;
}
.admin-badge {
  background: var(--yellow);
  color: #20201f;
  border: 1px solid var(--border);
}
.admin-note {
  border: 1.5px dashed var(--border);
}
details {
  margin: 13px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
}
details > p {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0 5px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 13px;
  font-size: 10px;
  max-width: 100%;
}
.sales-chart {
  width: 100%;
  height: auto;
  margin: 25px 0 5px;
}
.chart-bar {
  fill: var(--orange);
  stroke: var(--border);
  stroke-width: 1;
}
.chart-axis {
  stroke: var(--border);
  fill: none;
}
.sales-chart text {
  font:
    10px ui-monospace,
    monospace;
  fill: var(--muted);
}
.mobile-nav {
  display: none;
}
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--orange);
  border-radius: 4px;
  padding: 13px 20px;
  font-size: 12px;
  z-index: 300;
  max-width: min(90vw, 500px);
  display: none;
}
.toast.visible {
  display: block;
}
dialog {
  background: var(--surface);
  color: var(--ink);
  width: min(490px, calc(100% - 36px));
  padding: 27px;
  border: 2px solid var(--border);
  border-radius: 5px;
  box-shadow: 6px 6px 0 var(--border);
}
dialog::backdrop {
  background: #1118;
  backdrop-filter: blur(3px);
}
#confirm-body {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-line;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}
.dialog-actions .button {
  font-size: 11px;
  padding: 12px;
}
.dialog-checkbox {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
}
.dialog-checkbox input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.error-page {
  min-height: 55vh;
  justify-content: center;
}
.error-page h1 {
  font-size: 33px;
}
.error-page .button {
  margin-top: 20px;
}
.big-spark {
  font-size: 80px;
  color: var(--orange);
  line-height: 1;
  text-shadow: 2px 2px 0 var(--border);
}
/* Public pages */
.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1260px;
  margin: auto;
  padding: 26px 38px;
  border-bottom: 1.5px solid var(--border);
  gap: 18px;
}
.public-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  font-weight: 700;
}
.public-main {
  max-width: 1260px;
  margin: auto;
  padding: 0 38px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 55px;
  padding: 85px 0 80px;
  align-items: center;
}
.pill {
  display: inline-block;
  border: 1.5px solid var(--border);
  background: var(--yellow);
  color: #20201f;
  font-size: 9px;
  padding: 6px 10px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 2px 2px 0 var(--border);
  transform: rotate(-1deg);
}
.hero h1 {
  font-size: clamp(48px, 5.8vw, 76px);
  line-height: 1.03;
  letter-spacing: -4px;
  margin: 25px 0 24px;
  font-weight: 900;
}
.hero h1 > span {
  display: inline-block;
  position: relative;
  z-index: 0;
}
.hero h1 > span:after {
  content: "";
  position: absolute;
  left: -4px;
  right: -6px;
  bottom: 0;
  height: 28%;
  background: var(--orange);
  z-index: -1;
  transform: rotate(-1deg);
}
.hero p {
  font-size: 14px;
  max-width: 410px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 30px 0 26px;
}
.hero-footnote {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.tiny-square {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: var(--orange);
  border: 1px solid var(--border);
}
.hero-art {
  position: relative;
  padding: 24px 10px;
}
.art-window {
  border: 2px solid var(--border);
  box-shadow: 7px 7px 0 var(--border);
  background: var(--surface);
  border-radius: 5px;
  transform: rotate(2deg);
  padding: 0 23px 19px;
}
.window-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border);
  padding: 11px 0;
  font-size: 9px;
  margin-bottom: 23px;
}
.window-bar > span:first-child {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--orange);
  text-shadow: 1px 1px 0 var(--border);
}
.window-bar > span:nth-child(2) {
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 800;
}
.window-bar > span:last-child {
  font-size: 19px;
}
.art-card {
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 17px;
  position: relative;
  box-shadow: 3px 3px 0 var(--border);
  border-radius: 3px;
}
.art-number {
  font-size: 15px;
  font-weight: 850;
  border: 1.5px solid var(--border);
  padding: 8px;
  background: var(--surface);
  color: var(--ink);
}
.art-card h3 {
  font-size: 20px;
  letter-spacing: -0.8px;
  margin-bottom: 7px;
}
.art-card p {
  font-size: 10px;
  margin: 0;
  color: inherit;
  opacity: 0.7;
}
.art-connector {
  text-align: center;
  line-height: 1;
  padding: 9px;
  font-size: 25px;
}
.art-label {
  font-size: 7px;
  letter-spacing: 1.5px;
  text-align: center;
  margin: 23px 0 0;
  color: var(--muted);
}
.sticker {
  position: absolute;
  top: -6px;
  right: -3px;
  background: var(--orange);
  color: #20201f;
  border: 2px solid var(--border);
  padding: 12px 17px;
  box-shadow: 3px 3px 0 var(--border);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.3;
  transform: rotate(9deg);
  z-index: 1;
}
.art-star {
  position: absolute;
  right: -20px;
  bottom: -20px;
  color: #ff8e45;
  font-size: 65px;
  line-height: 1;
  text-shadow: 1px 1px 0 #20201f;
}
.doodle-star {
  font-size: 92px;
  position: absolute;
  left: -40px;
  bottom: -12px;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--border);
  line-height: 1;
  transform: rotate(-8deg);
}
.service-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  padding: 25px 0;
}
.service-strip > span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  max-width: 85px;
}
.service-strip > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.service-strip > p {
  margin: 0 0 0 auto;
  max-width: 170px;
  font-size: 9px;
  color: var(--muted);
}
.section {
  padding: 80px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}
.section-heading h2 {
  font-size: 34px;
  margin-bottom: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  border-radius: 4px;
  padding: 27px;
  min-height: 280px;
  overflow: hidden;
}
.feature-number {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.feature-card h3 {
  font-size: 27px;
  line-height: 1.1;
  margin: 30px 0 16px;
  max-width: 200px;
}
.feature-card p {
  font-size: 11px;
  max-width: 210px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.feature-mark {
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  position: absolute;
  bottom: 5px;
  right: 15px;
  opacity: 0.2;
}
.deposit-banner {
  background: var(--orange);
  color: #20201f;
  border: 2px solid var(--border);
  box-shadow: 5px 5px 0 var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 40px;
}
.deposit-banner h2 {
  font-size: 40px;
  margin-bottom: 15px;
}
.deposit-banner p {
  max-width: 580px;
  font-size: 12px;
  margin-bottom: 0;
}
.deposit-banner .button {
  white-space: nowrap;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.faq h2 {
  font-size: 40px;
}
.faq details {
  padding: 20px 0;
  border-bottom: 1.5px solid var(--line);
  margin: 0;
}
.faq summary {
  font-size: 13px;
  list-style-position: outside;
  padding-right: 15px;
}
.public-footer {
  max-width: 1260px;
  padding: 40px 38px 30px;
  margin: auto;
  border-top: 1.5px solid var(--border);
}
.public-footer > .wordmark {
  font-size: 26px;
}
.public-footer p {
  color: var(--muted);
  font-size: 11px;
  margin: 18px 0;
}
.public-footer > div {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 11px;
  margin: 25px 0;
}
.public-footer > small {
  font-size: 9px;
}
.login-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  max-width: 950px;
  margin: 75px auto;
  align-items: center;
}
.login-card {
  border: 2px solid var(--border);
  box-shadow: 5px 5px 0 var(--border);
  background: var(--surface);
  padding: 40px;
}
.login-card h1 {
  font-size: 48px;
  margin: 18px 0;
}
.login-card p {
  font-size: 12px;
  color: var(--muted);
}
.login-card .eyebrow {
  margin-top: 25px;
  font-size: 8px;
}
.google-button {
  width: 100%;
  background: var(--yellow);
  font-size: 12px;
  margin: 17px 0 20px;
}
.google-g {
  background: white;
  color: #4285f4;
  border: 1px solid #20201f;
  padding: 0 6px;
  font-size: 19px;
  font-weight: 800;
}
.login-card p.tiny {
  font-size: 9px;
  line-height: 1.8;
}
.login-note > span {
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 800;
}
.login-note h2 {
  font-size: 40px;
  margin: 20px 0;
}
.login-note p {
  font-size: 12px;
  color: var(--muted);
}
.login-note a {
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
}
.content-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 60px;
  padding-bottom: 70px;
}
.public-main > .page-heading {
  margin-top: 55px;
}
.content-toc {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-top: 2px solid var(--border);
  padding-top: 20px;
}
.content-toc a {
  font-size: 11px;
  font-weight: 650;
}
.prose section {
  margin-bottom: 45px;
  scroll-margin-top: 25px;
}
.prose h2 {
  font-size: 25px;
}
.prose p {
  font-size: 13px;
  max-width: 730px;
  color: var(--muted);
}
@media (min-width: 1550px) {
  .main {
    padding-top: 45px;
  }
  .dashboard-grid {
    gap: 25px;
  }
  .stat-card {
    flex-direction: row;
    align-items: center;
  }
  .balance-amount {
    font-size: 45px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding: 25px 12px 15px;
  }
  .workspace {
    margin-left: 210px;
  }
  .main {
    padding: 28px 24px;
  }
  .app-header {
    padding: 0 24px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 13px;
  }
  .balance-card {
    padding: 18px;
  }
  .balance-amount {
    font-size: 31px;
  }
  .stat-card {
    padding: 18px;
    gap: 12px;
  }
  .stats-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-art {
    padding: 20px 0;
  }
  .hero-actions {
    gap: 18px;
  }
  .feature-card {
    padding: 22px;
  }
  .feature-card h3 {
    font-size: 24px;
  }
  .service-strip {
    gap: 25px;
  }
}
@media (max-width: 960px) {
  .connection {
    display: none;
  }
  .sound-toggle span {
    display: none;
  }
  .split-content {
    grid-template-columns: 1fr;
  }
  .split-content > .stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid > .stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .detail-grid > .stack > .notice {
    grid-column: 1/-1;
  }
  .hero {
    padding: 65px 0;
    gap: 25px;
  }
  .hero h1 {
    font-size: 53px;
    letter-spacing: -3px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero .button {
    font-size: 11px;
    padding: 13px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .art-card {
    padding: 16px 12px;
    gap: 10px;
  }
  .art-card h3 {
    font-size: 17px;
  }
  .art-card p {
    font-size: 9px;
  }
  .art-window {
    padding: 0 15px 16px;
  }
  .doodle-star {
    font-size: 70px;
    left: -25px;
  }
  .hero-footnote {
    font-size: 8px;
  }
  .feature-grid {
    gap: 17px;
  }
  .feature-card {
    padding: 19px;
    min-height: 275px;
  }
  .feature-card h3 {
    font-size: 23px;
  }
  .feature-card p {
    font-size: 10px;
  }
  .deposit-banner {
    padding: 28px;
    align-items: flex-start;
  }
  .deposit-banner h2 {
    font-size: 32px;
  }
  .faq {
    gap: 35px;
  }
  .faq h2 {
    font-size: 33px;
  }
  .public-header,
  .public-main,
  .public-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .public-header nav {
    gap: 18px;
  }
  .login-wrap {
    gap: 35px;
  }
  .login-card {
    padding: 25px;
  }
  .login-card h1 {
    font-size: 39px;
  }
  .login-note h2 {
    font-size: 33px;
  }
  .content-layout {
    gap: 30px;
    grid-template-columns: 190px 1fr;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-105%);
    transition: transform 0.2s;
    width: 255px;
    box-shadow: 6px 0 0 #0004;
    padding-bottom: 90px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar .nav-item {
    font-size: 12px;
    padding: 10px 12px;
  }
  .workspace {
    margin-left: 0;
  }
  .app-header {
    height: 64px;
    padding: 0 18px;
    gap: 12px;
  }
  .menu-toggle {
    display: inline-block;
  }
  .breadcrumbs {
    flex: 1;
    font-size: 10px;
  }
  .breadcrumbs span {
    margin: 0 6px;
  }
  .breadcrumbs > strong {
    max-width: 100px;
  }
  .header-actions {
    gap: 7px;
  }
  .header-actions .icon-btn {
    padding: 8px 9px;
  }
  .header-actions .avatar {
    width: 30px;
    height: 30px;
  }
  .main {
    padding: 25px 19px 20px;
  }
  .workspace-footer {
    padding: 15px 19px 95px;
    font-size: 8px;
  }
  .wib-clock {
    display: none;
  }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    background: var(--surface);
    border-top: 2px solid var(--border);
    padding: 9px 6px calc(9px + env(safe-area-inset-bottom));
    z-index: 100;
    box-shadow: 0 -4px 20px #00000005;
  }
  .mobile-nav a,
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 22px;
    font-weight: 500;
    background: transparent;
    color: var(--muted);
    border: 0;
    line-height: 1;
    width: 20%;
    padding: 4px;
    border-radius: 4px;
  }
  .mobile-nav span {
    font-size: 8px;
    font-weight: 700;
    line-height: 1.3;
  }
  .mobile-nav .selected {
    color: #20201f;
    background: var(--orange);
    border: 1.5px solid var(--border);
    box-shadow: 2px 2px 0 var(--border);
  }
  .page-heading {
    margin-bottom: 24px;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading > .button {
    font-size: 10px;
    padding: 10px 11px;
    min-height: 37px;
  }
  .page-spark {
    font-size: 45px;
    margin-right: 0;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .balance-card {
    grid-column: 1/-1;
    padding: 23px;
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .card-overline {
    grid-column: 1/-1;
  }
  .balance-amount {
    font-size: 41px;
    grid-column: 1/-1;
    margin: 10px 0 15px;
  }
  .balance-details {
    margin: 0;
  }
  .balance-card .button {
    align-self: center;
  }
  .stat-card {
    padding: 17px;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .stat-card > div > span {
    font-size: 9px;
  }
  .stat-card strong {
    font-size: 28px;
    margin: 5px 0;
  }
  .stat-card strong small {
    font-size: 11px;
  }
  .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 21px;
    flex-shrink: 0;
  }
  .mini-metrics {
    gap: 18px;
    padding: 24px 0;
  }
  .mini-metrics > div {
    padding-right: 18px;
  }
  .mini-metrics > a {
    margin-left: 0;
    font-size: 10px;
  }
  .panel {
    padding: 19px;
  }
  .split-content > .stack {
    gap: 16px;
  }
  .tip-card {
    padding: 20px;
  }
  .tip-card h3 {
    font-size: 24px;
  }
  .tip-card p {
    font-size: 10px;
  }
  .catalog-grid {
    gap: 16px;
  }
  .product-card {
    padding: 17px;
  }
  .product-price strong {
    font-size: 22px;
  }
  .product-card h2 {
    font-size: 18px;
  }
  .country-line {
    font-size: 9px;
  }
  .product-price > .badge {
    font-size: 7px;
  }
  .product-top {
    margin-bottom: 17px;
  }
  .stats-grid {
    gap: 14px;
  }
  .metric {
    padding: 18px;
  }
  .metric > strong {
    font-size: 24px;
  }
  .metric > span {
    font-size: 9px;
  }
  .table-wrap {
    margin: 0 -4px;
  }
  .public-header {
    padding: 22px;
  }
  .public-main {
    padding: 0 22px;
  }
  .public-header > .wordmark {
    font-size: 23px;
  }
  .public-header nav {
    gap: 15px;
  }
  .public-header nav > a:not(.button) {
    display: none;
  }
  .public-header nav .button {
    font-size: 10px;
    padding: 9px 11px;
    min-height: 35px;
  }
  .public-header nav .icon-btn {
    font-size: 15px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 45px 0 50px;
  }
  .hero-copy {
    max-width: 560px;
  }
  .hero h1 {
    font-size: 65px;
    letter-spacing: -3.5px;
    margin: 26px 0 24px;
  }
  .hero p {
    font-size: 13px;
    max-width: 420px;
  }
  .hero-actions {
    margin: 27px 0 25px;
    gap: 25px;
  }
  .hero .button {
    font-size: 12px;
    padding: 14px 20px;
  }
  .hero .text-link {
    font-size: 11px;
  }
  .hero-footnote {
    font-size: 9px;
  }
  .hero-art {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    padding: 15px 7px;
  }
  .art-window {
    padding: 0 20px 18px;
  }
  .art-card h3 {
    font-size: 21px;
  }
  .art-card p {
    font-size: 11px;
  }
  .art-card {
    padding: 18px 15px;
    gap: 15px;
  }
  .doodle-star {
    left: -10px;
    font-size: 80px;
  }
  .sticker {
    right: 4px;
    top: -15px;
  }
  .service-strip {
    flex-wrap: wrap;
    gap: 20px;
    padding: 22px 0;
  }
  .service-strip > span {
    max-width: none;
    width: 100%;
    font-size: 8px;
  }
  .service-strip > div {
    font-size: 12px;
  }
  .service-strip > p {
    font-size: 8px;
    max-width: 120px;
  }
  .section {
    padding: 55px 0;
  }
  .section-heading {
    align-items: flex-start;
    gap: 20px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading > .text-link {
    display: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-card {
    padding: 25px;
    min-height: 0;
  }
  .feature-card h3 {
    font-size: 26px;
    max-width: 300px;
    margin: 22px 0 15px;
  }
  .feature-card p {
    font-size: 12px;
    max-width: 300px;
    margin-bottom: 0;
  }
  .feature-mark {
    font-size: 95px;
    right: 20px;
  }
  .deposit-banner {
    flex-direction: column;
    padding: 26px;
    gap: 24px;
  }
  .deposit-banner h2 {
    font-size: 34px;
  }
  .deposit-banner p {
    font-size: 11px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq h2 {
    font-size: 34px;
  }
  .faq h2 br {
    display: none;
  }
  .public-footer {
    padding: 30px 22px;
  }
  .public-footer > div {
    gap: 16px;
    font-size: 10px;
  }
  .login-wrap {
    grid-template-columns: 1fr;
    margin: 40px auto;
    gap: 45px;
    max-width: 480px;
  }
  .login-card {
    padding: 30px;
  }
  .login-card h1 {
    font-size: 45px;
  }
  .login-note {
    padding: 0 12px;
  }
  .content-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .content-toc {
    display: none;
  }
  .public-main > .page-heading {
    margin-top: 35px;
  }
  .prose p {
    font-size: 12px;
  }
  .toast {
    bottom: 90px;
  }
  .settings-grid {
    gap: 18px;
  }
  .qr-panel > .eyebrow {
    font-size: 8px;
  }
  .qr-panel > h2 {
    font-size: 39px;
  }
}
@media (max-width: 460px) {
  .breadcrumbs {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .app-header > .menu-toggle {
    margin-right: auto;
  }
  .main {
    padding: 23px 16px 15px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading > .button {
    max-width: 120px;
    gap: 5px;
  }
  .balance-card {
    padding: 21px 18px;
    grid-template-columns: 1fr;
  }
  .balance-details {
    margin-bottom: 20px;
    font-size: 9px;
    gap: 30px;
  }
  .balance-card .button {
    justify-self: start;
  }
  .balance-amount {
    font-size: 39px;
  }
  .stat-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .stat-card > div > span {
    font-size: 9px;
  }
  .stat-card a {
    font-size: 9px;
  }
  .mini-metrics {
    gap: 17px;
  }
  .mini-metrics > div {
    padding-right: 17px;
  }
  .mini-metrics strong {
    font-size: 13px;
  }
  .mini-metrics small {
    font-size: 7px;
  }
  .mini-metrics > a {
    font-size: 9px;
  }
  .panel {
    padding: 17px;
  }
  .panel-heading h2 {
    font-size: 16px;
  }
  .split-content > .stack {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .order-row {
    gap: 9px;
  }
  .order-summary strong {
    font-size: 11px;
  }
  .order-summary > span {
    font-size: 8px;
  }
  .order-meta strong {
    font-size: 10px;
  }
  .order-meta .badge {
    font-size: 7px;
    padding: 3px 5px;
  }
  .row-arrow {
    display: none;
  }
  .service-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .filter-bar {
    gap: 10px;
    padding: 13px;
  }
  .filter-bar > label {
    min-width: 100px;
  }
  .filter-bar .search-input {
    flex-basis: 100%;
    min-width: 100%;
  }
  .filter-bar > .button {
    flex-basis: 100%;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    padding: 21px;
  }
  .product-top {
    margin-bottom: 16px;
  }
  .product-card h2 {
    font-size: 23px;
  }
  .country-line {
    font-size: 10px;
  }
  .stock {
    font-size: 10px;
  }
  .product-price strong {
    font-size: 28px;
  }
  .product-price > .badge {
    font-size: 9px;
  }
  .product-price > div > span {
    font-size: 10px;
  }
  .stock-warning {
    font-size: 10px;
  }
  .featured-unavailable {
    grid-template-columns: 1fr;
  }
  .detail-grid > .stack {
    display: block;
  }
  .two-col,
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid > .metric:last-child {
    grid-column: 1/-1;
  }
  .stats-grid.four > .metric:last-child {
    grid-column: auto;
  }
  .metric {
    padding: 16px;
  }
  .stats-grid.four .metric > strong {
    font-size: 20px;
  }
  .metric > strong {
    font-size: 26px;
  }
  .referral-link {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 20px;
  }
  .referral-link h2 {
    font-size: 31px;
  }
  .tabs {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .tabs > a {
    font-size: 9px;
    padding: 9px 10px;
  }
  .rank-row {
    gap: 10px;
    padding: 18px 0;
  }
  .rank-row .avatar {
    width: 27px;
    height: 27px;
    font-size: 11px;
  }
  .rank {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }
  .rank-name > strong {
    font-size: 11px;
  }
  .rank-name > span {
    font-size: 8px;
  }
  .rank-row > strong:last-child {
    font-size: 12px;
  }
  .rank-row {
    gap: 9px;
  }
  .page-heading .balance-chip {
    padding: 8px 10px;
    white-space: nowrap;
  }
  .balance-chip strong {
    font-size: 18px;
  }
  .balance-chip {
    font-size: 8px;
  }
  .workspace-footer {
    font-size: 7px;
  }
  .dialog-actions {
    gap: 8px;
  }
  .dialog-actions .button {
    font-size: 10px;
    padding: 10px 12px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero .pill {
    font-size: 7px;
  }
  .hero-art {
    max-width: 100%;
    padding: 10px 2px;
  }
  .art-window {
    padding: 0 13px 15px;
    box-shadow: 5px 5px 0 var(--border);
  }
  .art-card {
    padding: 16px 10px;
    gap: 10px;
  }
  .art-card h3 {
    font-size: 18px;
  }
  .art-card p {
    font-size: 9px;
  }
  .art-number {
    font-size: 12px;
    padding: 6px;
  }
  .window-bar > span:nth-child(2) {
    font-size: 7px;
  }
  .sticker {
    font-size: 8px;
    padding: 10px 13px;
    top: -10px;
  }
  .doodle-star {
    font-size: 65px;
    left: -7px;
    bottom: -5px;
  }
  .art-star {
    font-size: 50px;
    right: -12px;
  }
  .service-strip {
    gap: 18px;
  }
  .service-strip > div {
    font-size: 11px;
    gap: 7px;
  }
  .service-strip > p {
    max-width: none;
    width: 100%;
    margin: 0;
    font-size: 9px;
  }
  .public-header {
    padding: 20px 18px;
    gap: 12px;
  }
  .public-header nav {
    gap: 10px;
  }
  .public-header .brand-symbol {
    width: 30px;
    height: 34px;
    font-size: 29px;
  }
  .public-header .wordmark {
    font-size: 22px;
    gap: 9px;
  }
  .public-header .brand-otp {
    font-size: 9px;
    margin-left: 4px;
  }
  .public-header nav .button {
    font-size: 9px;
    padding: 9px;
  }
  .public-main {
    padding: 0 20px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero .button {
    font-size: 11px;
    padding: 13px 16px;
  }
  .hero .text-link {
    font-size: 10px;
  }
  .hero-footnote {
    font-size: 8px;
  }
  .login-card {
    padding: 25px;
  }
  .login-card h1 {
    font-size: 42px;
  }
  .public-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .public-footer > div {
    gap: 14px;
  }
  .featured-unavailable .panel {
    margin-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
html[data-theme="dark"] .stock {
  color: #addcc1;
}
html[data-theme="dark"] .stock.low {
  color: #f2d46e;
}
