:root {
  --paper: #f4f6f8;
  --paper-2: #e7ebf0;
  --ink: #121417;
  --muted: #5c6570;
  --line: rgba(18, 20, 23, 0.12);
  --teal: #0e5c52;
  --lime: #dff25a;
  --coral: #b64028;
  --rose: #f6ddd6;
  --white: #ffffff;
  --shadow: 0 24px 50px rgba(18, 20, 23, 0.08);
  --serif: "Manrope", "Segoe UI", sans-serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --radius: 22px;
  --chevron: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.2 6 8 10.6 12.8 6' fill='none' stroke='%23121417' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 280px at 50% -120px, #ffffff 0%, transparent 70%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

button, input, select { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; }

.ribbon {
  margin: 0;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 640;
  letter-spacing: -0.03em;
}

.logo__mark {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  display: block;
}
.was {
  margin-right: 6px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: line-through;
}
.price-tag b { font-weight: 700; color: var(--ink); }
.off {
  margin-left: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 6px;
  margin-left: 12px;
}

.nav button,
.icon-btn,
.linkish {
  background: transparent;
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav button[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px 8px 16px;
}

.cart-btn span,
.badge {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 0 6px;
}

#view {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 28px;
  flex: 1 0 auto;
}

.hero h1 {
  margin: 12px 0 14px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.lede {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow--icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.shield {
  display: block;
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: -1px;
}

.search {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  max-width: 720px;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 18px;
  outline: none;
}

.search--compact {
  max-width: none;
  box-shadow: none;
  margin-bottom: 22px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.btn:hover:not(:disabled) {
  background: #2a3036;
  box-shadow: 0 10px 22px rgba(18, 20, 23, 0.16);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--teal { background: var(--teal); color: white; }

.chips, .filters, .stats, .zone-grid, .steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips { margin: 16px 0 34px; }
form[data-bulk] .bulk-actions { margin-top: 12px; }
form[data-bulk] .chips { margin: 14px 0 8px; }

.chip, .filter {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 12px;
  transition: transform .12s ease, background .15s ease;
}

.btn:active, .chip:active, .filter:active, .zone-chip:active, .nav button:active, .cart-btn:active, .support-btn:active, .lang-current:active, .lang-menu button:active, .channel-row button:active {
  transform: scale(0.97);
}

.btn--ghost:hover, .chip:hover, .filter:hover, .zone-chip:hover, .nav button:hover, .cart-btn:hover, .asset:hover, .lang-current:hover, .lang-menu button:hover, .tabs button:hover, .topup-btn:hover, .profile-btn:hover, .icon-btn:hover {
  border-color: var(--ink);
  box-shadow: 0 8px 18px rgba(18, 20, 23, 0.1);
  transform: translateY(-1px);
}

.nav button:hover:not([aria-current="page"]) { background: rgba(18, 20, 23, 0.06); }
.nav button[aria-current="page"]:hover { background: #2a3036; color: #fff; transform: translateY(-1px); }
.chip[aria-pressed="true"], .filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.stats { margin-bottom: 48px; }

.stat, .step, .zone, .panel, .result-wrap, .account-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat, .step { padding: 18px 18px 16px; }

.stat { min-width: 180px; flex: 1; }

.stat b, .zone b, .sum strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 640;
  letter-spacing: -0.03em;
}

.stat span, .zone span, .muted { color: var(--muted); }

.section-title {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.03em;
}

.steps { align-items: stretch; }
.step { flex: 1; min-width: 220px; }
.step em {
  font-family: var(--serif);
  font-style: normal;
  font-size: 28px;
}

.zone-grid { margin-top: 8px; }
.zone {
  width: 240px;
  padding: 16px;
}
.zone b { font-size: 26px; }

.head-row, .result, .cart-row, .domain-row, .sum-row {
  display: grid;
  gap: 12px;
  align-items: center;
}

.head-row {
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-bottom: 18px;
}

.head-row h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.filters { margin: 0 0 12px; }

.result-wrap { overflow: hidden; }

.result, .domain-row {
  grid-template-columns: minmax(0, 1.5fr) auto auto auto;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.result:first-child, .domain-row:first-child { border-top: 0; }

.result--taken { color: var(--muted); }

.name {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  background: var(--lime);
  width: max-content;
}
.domain-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.domain-head .section-title { margin: 8px 0; }

.pill--taken { background: var(--rose); color: var(--coral); }
.pill--on { background: #e4f3d8; color: #1d6b32; }
.pill--off { background: var(--rose); color: var(--coral); }
.pill--on::before, .pill--off::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
}
.pill--premium { background: transparent; border: 1px solid var(--line); margin-left: 8px; }
.price { font-weight: 700; text-align: right; }

.suggest { margin-top: 28px; }

.empty {
  padding: 28px;
  text-align: center;
}
.domains-empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  margin: 0;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.panel { padding: 22px; }
.panel h2, .drawer__head h2 { margin: 0; font-family: var(--serif); font-weight: 640; }

.fields { display: grid; gap: 12px; margin-top: 16px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 12px 14px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}
.form-error { color: var(--coral); min-height: 1.2em; margin: 8px 0 0; }
.note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(223, 242, 90, 0.45);
  font-size: 14px;
}

.sum-row, .cart-row {
  grid-template-columns: 1fr auto;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.sum { margin-top: 8px; }
.total { font-size: 18px; }

.drawer[hidden], .modal[hidden] { display: none; }
.drawer, .modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}
.drawer__backdrop, .modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(22, 20, 16, 0.35);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--paper);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.drawer__head, .modal__card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.icon-btn { font-size: 28px; line-height: 1; padding: 0 8px; }
#cart-body { overflow: auto; }
.cart-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.modal { display: grid; place-items: center; padding: 20px; }
.modal__card {
  position: relative;
  width: min(520px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.whois-list { margin: 16px 0 0; display: grid; gap: 8px; }
.whois-list div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.whois-list dt { color: var(--muted); }
.whois-list dd { margin: 0; font-weight: 650; text-align: right; }

.success h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 10px 0;
}

.account-card { overflow: hidden; }
.domain-row { grid-template-columns: minmax(0, 1.4fr) auto auto; }

.foot {
  width: 100%;
  margin-top: auto;
  padding-top: 72px;
  border-top: 0;
  background: #fff;
  color: var(--muted);
}
.foot-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr minmax(120px, 0.8fr);
  gap: 28px 40px;
  align-items: start;
  border-top: 1px solid var(--line);
}
.foot-brand strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.03em;
}
.foot-brand strong img { width: 22px; height: 22px; object-fit: contain; display: block; }
.foot-brand p { max-width: 360px; margin: 10px 0 0; }
.foot-mail { margin: 16px 0 0; }
.foot-mail a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.foot-mail a:hover { text-decoration: underline; }
.foot-label {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot-links { display: grid; align-content: start; gap: 0; }
.foot-links button {
  justify-self: start;
  border: 0;
  background: transparent;
  padding: 6px 0;
  color: var(--muted);
  font-weight: 600;
  text-align: left;
}
.foot-links button:hover { color: var(--ink); }
.foot-copy {
  margin: 0;
  justify-self: end;
  text-align: right;
  color: var(--muted);
  white-space: nowrap;
}

.skel {
  height: 72px;
  margin: 8px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, transparent, rgba(22, 20, 16, 0.06), transparent);
  background-size: 200% 100%;
  animation: shine 1s linear infinite;
}

@keyframes shine {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
}

.profile-btn--icon {
  padding: 0;
  border: 0;
  background: transparent;
}

.tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  font-weight: 700;
}

.plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.zone-row, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zone-row { margin: 18px 0 36px; }

.zone-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  width: auto;
  min-width: 168px;
  flex: none;
  min-height: 64px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 16px;
  padding: 10px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.zone-chip--all { width: auto; }
.zone-chip b { font-size: 16px; letter-spacing: -0.03em; }
.zone-chip span { color: var(--muted); font-size: 13px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zone-chip .was { font-size: 11px; margin-right: 4px; }

.zone-chip[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.zone-chip--all {
  color: var(--muted);
  font-weight: 700;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
}

.feature b { display: block; margin-bottom: 6px; }
.feature p { margin: 0; }

.auth {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}

.auth-card { width: min(480px, 100%); }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msg-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.msg-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
.msg-list { display: grid; gap: 8px; align-content: start; }
.msg-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
}
.msg-row span, .msg-row time { color: var(--muted); font-size: 13px; }
.msg-row time { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.msg-row.is-new strong { color: var(--teal); }
.msg-row.is-open { border-color: var(--ink); }
.auth-card .section-title { font-size: 34px; }
.auth-card > .btn { margin-top: 14px; }
.auth-card > .btn--ghost { margin-left: 8px; }

.auth-switch { color: var(--muted); }
.auth-switch .linkish { padding: 0; color: var(--teal); font-weight: 700; }

.captcha-img { display: block; border-radius: 12px; background: #f4f6f8; }
.captcha {
  display: flex;
  align-items: center;
  gap: 10px;
}

#captcha {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f4f6f8;
}

.mail { width: min(340px, 100%); }
.mail .code {
  margin: 8px 0;
  font-size: 32px;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.profile-hero .section-title { margin: 0; font-size: 32px; }
.profile-hero .avatar { width: 72px; height: 72px; font-size: 28px; }
.profile-hero .pill { margin-top: 8px; }

.account-side .inline-actions { margin-top: 16px; }

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.profile-card .avatar {
  width: 64px;
  height: 64px;
  font-size: 26px;
}

.balance-btn,
.topup-btn strong { font-weight: 700; }

.cart-btn { margin-left: 0; }

.tabs, .inline-actions, .bar, .asset-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.inline-actions label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tabs { margin: 8px 0 18px; }

.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.bulk {
  width: 100%;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 14px;
  resize: vertical;
}
.bulk-compose { display: grid; gap: 8px; margin-top: 12px; }
.bulk-compose-row { display: flex; gap: 8px; align-items: center; }
.bulk-compose-row input { flex: 1; min-width: 0; width: auto; }
.bulk-list {
  list-style: none;
  margin: 14px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.bulk-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.bulk-list button {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
}
.bulk-empty { color: var(--muted); border-style: dashed; }

.faq { margin-top: 56px; max-width: 760px; }
.faq h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.03em;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
  margin-top: 10px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after,
.support-faq summary::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background: center / 16px 16px no-repeat var(--chevron);
}
.faq-item[open] summary::after,
.support-faq details[open] summary::after { transform: rotate(180deg); }
.faq-item p, .faq-item li { color: var(--muted); }
.faq-item p { margin: 0 0 14px; }
.faq-item ul { margin: 0 0 14px; padding-left: 18px; }

.policy { max-width: 720px; }
.policy p { color: var(--muted); }

.pay-screen { display: flex; justify-content: center; }
.pay-screen .panel { width: min(560px, 100%); display: grid; gap: 8px; align-content: start; }
.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.copy-row .muted { display: block; font-size: 13px; }
.copy-row .btn { flex: none; }

.table-wrap { overflow-x: auto; }

.sheet { width: 100%; border-collapse: collapse; }

.sheet th, .sheet td {
  text-align: left;
  padding: 12px 10px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.sheet th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 0;
}

.sheet .btn { padding: 8px 12px; }

.bar, .switch {
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(251, 250, 246, 0.8);
}

.switch { display: flex; gap: 16px; margin-top: 10px; }

.ns-grid, .contact-grid, .split-3 { display: grid; gap: 12px; }

.ns-grid, .contact-grid { grid-template-columns: 1fr 1fr; }

.split-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }

.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 12px; margin: 0; }

.kv div { display: contents; }

.kv dt { color: var(--muted); }

.kv dd { margin: 0; }

.pay-card { display: grid; gap: 8px; }
.pay-left { font-variant-numeric: tabular-nums; font-weight: 700; }

.mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 14px;
  word-break: break-all;
}

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.asset {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 16px;
  padding: 12px 14px;
  width: 156px;
  min-height: 98px;
  flex: none;
  text-align: left;
}

.zone-chip:hover, .asset:hover { transform: none; }

.asset[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.back {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--teal);
  font-weight: 700;
}

.scene {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  width: min(1040px, 68vw);
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
}

.scene::before,
.scene::after {
  content: "";
  position: absolute;
  inset: -12% -4% -12% -36%;
  background: url("bg-globe.jpg") right center / cover no-repeat;
}

.scene::before {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.18) 54%, rgba(0, 0, 0, 0.55) 68%, #000 82%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.18) 54%, rgba(0, 0, 0, 0.55) 68%, #000 82%);
}

.scene::after {
  filter: blur(80px);
  opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.55) 46%, #000 60%, transparent 82%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.55) 46%, #000 60%, transparent 82%);
}

#view.view-in { animation: page-in .42s ease; }

@keyframes page-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.ribbon, #view, .foot { position: relative; z-index: 1; }

.lang-wrap { position: relative; }

.lang-current, .lang-menu button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 5px 8px 5px 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.lang-current { justify-content: flex-start; width: auto; }
.lang-current span, .lang-menu button span { flex: none; }
.caret {
  display: inline-block;
  flex: none;
  margin-left: 2px;
  width: 12px;
  height: 12px;
  background: center / 12px 12px no-repeat var(--chevron);
}
.lang-current[aria-expanded="true"] .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  width: max-content;
  min-width: 0;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.lang-menu button { width: auto; border: 0; background: transparent; justify-content: flex-start; }
.lang-menu button[aria-selected="true"] { background: var(--paper); }

.flag {
  height: 14px;
  width: 21px;
  flex: none;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .2);
  display: block;
  overflow: hidden;
}
.flag--uk { width: 28px; }
.price-next {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
.price-next .price-tag b { font-size: 12px; }
.zone-prices {
  display: grid;
  gap: 6px;
  margin: 10px 0 2px;
}
.zone-prices div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}
.zone-prices dt { color: var(--muted); font-weight: 650; }
.zone-prices dd { margin: 0; text-align: right; }
.zone-prices .price-tag { white-space: nowrap; }

.recaptcha { min-height: 78px; }

.support {
  position: fixed;
  right: 22px;
  bottom: 56px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.support-btn {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px var(--lime), 0 16px 34px rgba(18, 20, 23, 0.28);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.support-btn:hover {
  background: #2a3036;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 0 5px var(--lime), 0 18px 38px rgba(18, 20, 23, 0.34);
}

.support-panel {
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.support-panel header { display: flex; justify-content: space-between; align-items: center; }
.support-title { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; }
.support-title svg { width: 22px; height: 22px; }
.support-faq { display: grid; gap: 8px; margin: 12px 0; }
.support-faq details { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.support-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.support-faq summary::-webkit-details-marker { display: none; }
.support-faq p, .support-msg p { margin: 6px 0 0; color: var(--muted); }
.support-thread { display: grid; gap: 8px; }
.support-msg {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  align-items: start;
  background: var(--paper);
  border-radius: 12px;
  padding: 8px 10px;
}
.support-msg.you { background: #e7f0ee; }
.support-msg .who {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
}
.coin { width: 28px; height: 28px; display: block; }
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 18px; }
.ledger div { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 4px; }
.ledger span { color: var(--muted); font-size: 13px; }
.support-panel textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  resize: vertical;
  background: var(--white);
}
.support-panel form { display: grid; gap: 8px; margin-top: 12px; }
.support-panel input { width: 100%; }

.channel-row { display: flex; gap: 8px; margin: 12px 0; }
.channel-row button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.channel-row button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  #view.view-in, .btn, .chip, .filter, .zone-chip { animation: none; transition: none; }
}

[hidden] { display: none !important; }

@media (max-width: 800px) {
  .top { flex-wrap: wrap; padding: 12px; gap: 8px; }
  .nav { order: 3; width: 100%; margin: 0; flex-wrap: wrap; }
  .tools { margin-left: auto; }
  .head-row, .layout, .foot-grid, .result, .domain-row, .ns-grid, .contact-grid, .split-3, .kv, .feature-grid, .auth { grid-template-columns: 1fr; display: grid; }
  .auth { display: grid; }
  .name-row { grid-template-columns: 1fr; }
  .kv div { display: block; }
  .search { border-radius: 24px; flex-direction: column; }
  .price { text-align: left; }
  .result .btn, .domain-row span { justify-self: start; }
  .scene { width: 100%; height: 42vh; top: auto; bottom: 0; }
  .name-row { grid-template-columns: 1fr; }
  .support { right: 12px; bottom: 44px; }
  .copy-row { flex-direction: column; align-items: stretch; }
}
