:root {
  color-scheme: light;
  --bg: #eef4f8;
  --bg-layer:
    linear-gradient(135deg, rgba(18, 107, 91, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(227, 179, 65, 0.16), transparent 36%),
    linear-gradient(180deg, #f8fbfd 0%, #eaf0f5 100%);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --ink: #17202a;
  --muted: #65758a;
  --line: rgba(133, 150, 174, 0.28);
  --brand: #126b5b;
  --brand-dark: #0d4f44;
  --accent: #d39b1f;
  --danger: #c2410c;
  --ok: #14804a;
  --input: rgba(255, 255, 255, 0.78);
  --soft: rgba(237, 242, 247, 0.75);
  --shadow: 0 22px 70px rgba(25, 35, 55, 0.15);
  --glass-shadow: 0 12px 42px rgba(25, 35, 55, 0.11);
  --blur: blur(18px);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #081116;
  --bg-layer:
    linear-gradient(135deg, rgba(37, 180, 151, 0.13), transparent 34%),
    linear-gradient(315deg, rgba(227, 179, 65, 0.11), transparent 36%),
    linear-gradient(180deg, #0c151c 0%, #071015 100%);
  --panel: rgba(18, 28, 36, 0.68);
  --panel-strong: rgba(21, 32, 41, 0.92);
  --ink: #edf5f7;
  --muted: #9fb0be;
  --line: rgba(170, 190, 205, 0.18);
  --brand: #28b896;
  --brand-dark: #1b9c80;
  --accent: #f1bd4b;
  --danger: #ff9a6b;
  --ok: #62d391;
  --input: rgba(7, 16, 21, 0.48);
  --soft: rgba(31, 44, 55, 0.72);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --glass-shadow: 0 14px 44px rgba(0, 0, 0, 0.24);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  background: var(--bg-layer);
  background-attachment: fixed;
  color: var(--ink);
  transition: background 260ms ease, color 260ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 75%);
}

:root[data-theme="dark"] body::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, transparent), transparent 42%),
    linear-gradient(315deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 44%),
    var(--bg);
  color: var(--ink);
  transition: opacity 720ms ease, visibility 720ms ease;
}

.page-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 82%);
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-shell {
  position: relative;
  width: min(470px, 100%);
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel-strong) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
  animation: loaderEnter 900ms cubic-bezier(.2, .8, .2, 1) both;
  overflow: hidden;
}

.page-loader-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
}

.page-loader-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-loader-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 16px 34px color-mix(in srgb, var(--brand) 24%, transparent);
  overflow: hidden;
  animation: loaderLogo 9800ms ease-in-out infinite;
}

.page-loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-loader-brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.page-loader-brand small,
.page-loader p {
  color: var(--muted);
}

.page-loader p {
  margin: -2px 0 0;
  font-weight: 750;
}

.loader-workbench {
  display: grid;
  gap: 14px;
}

.loader-search-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-strong) 94%, transparent), color-mix(in srgb, var(--soft) 84%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  animation: loaderPanelIn 1600ms cubic-bezier(.18, .72, .2, 1) both, loaderPanelGlow 18000ms ease-in-out 2400ms infinite;
}

.loader-search-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--line) 44%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 44%, transparent) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.24;
}

.loader-window-bar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
}

.loader-window-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 58%, transparent);
}

.loader-search-line {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 66px;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  border-radius: 8px;
  background: var(--input);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--brand) 10%, transparent);
}

.loader-search-line::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderUnderline 6800ms cubic-bezier(.18, .72, .2, 1) 900ms both;
}

.loader-search-icon {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  opacity: 0.88;
}

.loader-search-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  right: -6px;
  bottom: 0;
  border-radius: 999px;
  background: var(--brand);
  transform: rotate(45deg);
}

.loader-search-line strong,
.loader-search-line b {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-size: 24px;
  line-height: 1;
}

.loader-search-line strong {
  max-width: 0;
  animation: loaderNameReveal 4600ms cubic-bezier(.18, .72, .2, 1) 900ms forwards;
}

.loader-search-line b {
  max-width: 0;
  color: var(--brand);
  animation: loaderExtReveal 2600ms cubic-bezier(.18, .72, .2, 1) 3800ms forwards;
}

.loader-chip-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.loader-chip-row span {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 7%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(8px);
  animation: loaderChipIn 1800ms ease forwards, loaderChipBreathe 14000ms ease-in-out 4200ms infinite;
}

.loader-chip-row span:nth-child(2) { animation-delay: 2100ms, 5200ms; }
.loader-chip-row span:nth-child(3) { animation-delay: 3000ms, 6200ms; }

.loader-prep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.loader-prep-grid div {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 86px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--soft) 82%, transparent);
  opacity: 0;
  transform: translateY(12px);
  animation: loaderPrepIn 1800ms ease forwards, loaderPrepGlow 16000ms ease-in-out 6200ms infinite;
}

.loader-prep-grid div:nth-child(1) { animation-delay: 4200ms, 7200ms; }
.loader-prep-grid div:nth-child(2) { animation-delay: 5100ms, 8600ms; }
.loader-prep-grid div:nth-child(3) { animation-delay: 6000ms, 10000ms; }

.loader-prep-grid span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid color-mix(in srgb, var(--brand) 36%, var(--line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.loader-prep-grid span::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-1px) rotate(-45deg) scale(0.72);
  opacity: 0.68;
  animation: loaderCheckBreathe 15000ms ease-in-out infinite;
}

.loader-prep-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
  backdrop-filter: var(--blur);
  box-shadow: 0 10px 34px rgba(25, 35, 55, 0.08);
  animation: topbarDrop 720ms cubic-bezier(.2, .8, .2, 1) both;
}

.mobile-menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  backdrop-filter: var(--blur);
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle span + span {
  margin-top: 5px;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand, .account, .search-row, .dialog-actions, .toolbar, .page-head {
  display: flex;
  align-items: center;
}

.brand { gap: 12px; }
.brand { min-width: max-content; }
.brand small { display: block; color: var(--muted); margin-top: 2px; }

.topbar-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 12px 30px rgba(18, 107, 91, 0.28);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark {
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--brand) 34%, transparent);
}

.nav {
  display: flex;
  gap: 6px;
  justify-content: flex-start;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  backdrop-filter: var(--blur);
}

.nav-link, .tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 7px;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link.active, .tab.active {
  color: var(--ink);
  background: var(--panel-strong);
  box-shadow: 0 6px 18px rgba(25, 35, 55, 0.1);
}

.nav-link:hover, .tab:hover { transform: translateY(-1px); color: var(--ink); }

.account { justify-content: flex-end; gap: 10px; position: relative; min-width: max-content; }

.status-pill, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  backdrop-filter: var(--blur);
}

.account-menu {
  position: relative;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--blur);
}

.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.wallet-chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 420ms ease;
}

.account-trigger:hover .wallet-chip img {
  transform: translateY(-1px) rotate(-5deg);
}

.account-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 4px 0 10px;
  font-weight: 900;
  white-space: nowrap;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 900;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  display: grid;
  gap: 6px;
  width: 180px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.account-dropdown-item {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  padding: 0 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
}

.account-dropdown-item:hover {
  background: var(--soft);
}

.account-dropdown-item.danger {
  color: var(--danger);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  backdrop-filter: var(--blur);
}

.language-option {
  min-width: 42px;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.language-option.active {
  background: var(--panel-strong);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(25, 35, 55, 0.12);
}

.theme-toggle {
  position: relative;
  width: 64px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.theme-toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #e7eef4);
  box-shadow: 0 4px 14px rgba(25, 35, 55, 0.22);
  transition: transform 220ms ease, background 220ms ease;
}

:root[data-theme="dark"] .theme-toggle::after {
  transform: translateX(30px);
  background: linear-gradient(135deg, #253746, #101a22);
}

.theme-sun, .theme-moon {
  position: absolute;
  top: 7px;
  z-index: 1;
  font-size: 14px;
  line-height: 1;
}

.theme-sun { left: 11px; color: #ca8a04; }
.theme-moon { right: 12px; color: #8fb6ff; }

main {
  width: min(1320px, calc(100% - 48px));
  margin: 28px auto 72px;
}

.hero {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 22px;
  padding: 44px 54px;
  text-align: center;
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(10, 45, 39, 0.92), rgba(18, 107, 91, 0.68)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=80") center/cover;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  animation: fadeUp 900ms cubic-bezier(.2, .8, .2, 1) both, heroDrift 32000ms ease-in-out 900ms infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  pointer-events: none;
}

.hero-copy, .search-box { position: relative; z-index: 1; }

.hero-copy {
  display: grid;
  justify-items: center;
  animation: slideIn 960ms cubic-bezier(.2, .8, .2, 1) 120ms both;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--accent);
  font-weight: 800;
}

h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(32px, 5vw, 58px); line-height: 1.02; letter-spacing: 0; }
h2 { margin-bottom: 6px; font-size: 24px; }
.subcopy { max-width: 620px; color: rgba(255, 255, 255, 0.84); font-size: 18px; line-height: 1.55; }

#shopView .hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(40px, 4.7vw, 76px);
  line-height: 0.98;
}

#shopView .subcopy {
  max-width: 760px;
  font-size: 19px;
}

.view:not(#shopView) {
  padding-top: 10px;
}

.view:not(#shopView) .page-head {
  min-height: 116px;
  padding: 24px 4px 20px;
  align-items: flex-start;
}

.view:not(#shopView) .page-head h1 {
  max-width: 760px;
  margin: 6px 0 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
}

.view:not(#shopView) .eyebrow {
  margin-bottom: 10px;
}

.search-box {
  width: min(860px, 100%);
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  animation: floatIn 1050ms cubic-bezier(.2, .8, .2, 1) 240ms both;
  transition: transform 360ms ease, box-shadow 360ms ease, border-color 360ms ease;
}

.search-box:hover,
.search-box:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 32%, rgba(255, 255, 255, 0.7));
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.26);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.card-actions + .btn {
  display: none;
}

.nav-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.checkout-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.checkout-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.45;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.cart-total strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
}

.shop-signals {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
}

.shop-signals span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
}

.domain-notes {
  margin: 24px 0 30px;
  padding: 42px 34px 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel-strong) 76%, transparent);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--blur);
}

.domain-notes h2 {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
}

.domain-notes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 42px 34px;
  align-items: start;
}

.domain-note {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  text-align: center;
}

.note-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 6px;
  border: 1px solid color-mix(in srgb, var(--brand) 42%, transparent);
  border-radius: 20px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 18%, transparent), transparent 72%),
    color-mix(in srgb, var(--panel-strong) 72%, transparent);
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 32px rgba(18, 107, 91, 0.1);
}

.note-icon svg {
  width: 50px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.96;
  vector-effect: non-scaling-stroke;
}

.domain-note h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.domain-note p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

:root[data-theme="dark"] .search-box {
  background: rgba(12, 26, 33, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
}

.search-box label, .dialog label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px;
  gap: 12px;
  margin-top: 8px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  outline: none;
  background: var(--input);
  color: var(--ink);
  backdrop-filter: var(--blur);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.search-box input {
  min-height: 62px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 18px;
}

.search-box .btn {
  min-height: 62px;
  font-size: 17px;
}

:root[data-theme="dark"] .search-box input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 72%, transparent); }

input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); transform: translateY(-1px); }
textarea { resize: vertical; }

.btn, .icon-btn {
  position: relative;
  border: 0;
  min-height: 43px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 12px 24px color-mix(in srgb, var(--brand) 22%, transparent); }
.btn.primary:hover { background: var(--brand-dark); }
.btn.secondary, .icon-btn { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.btn:hover, .icon-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(25, 35, 55, 0.13); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn:disabled:hover { transform: none; box-shadow: none; }

.btn.is-loading {
  opacity: 0.82;
  pointer-events: none;
  padding-left: 42px;
}

.btn.is-loading::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.9;
  animation: buttonSpin 1120ms linear infinite;
}

.btn.is-loading .btn-label {
  display: inline-block;
}

.text-action {
  width: max-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
  text-align: left;
}

.text-action:hover {
  color: var(--brand-dark);
}

.mail-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  margin: -4px 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mail-status.ok {
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 10%, transparent);
  border-color: color-mix(in srgb, var(--ok) 32%, transparent);
}

.toolbar, .page-head {
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 16px;
  animation: fadeUp 760ms cubic-bezier(.2, .8, .2, 1) 120ms both;
}

.toolbar p, .page-head p { color: var(--muted); margin-bottom: 0; }

.domain-grid {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, transparent), transparent 34%),
    var(--panel);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--blur);
}

.domain-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.domain-carousel-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.domain-carousel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.domain-carousel-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.carousel-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}

.carousel-btn:disabled {
  opacity: 0.38;
  cursor: default;
}

.domain-results-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  scroll-padding: 2px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--brand) 60%, var(--line)) transparent;
}

.domain-results-track::-webkit-scrollbar {
  height: 10px;
}

.domain-results-track::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 999px;
}

.domain-results-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.domain-card {
  position: relative;
  flex: 0 0 calc((100% - 64px) / 5);
  overflow: hidden;
  min-width: 0;
  min-height: 194px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
  scroll-snap-align: start;
  animation: cardRise 820ms cubic-bezier(.2, .8, .2, 1) both;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease, background 320ms ease;
}

.domain-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms ease;
}

:root[data-theme="dark"] .domain-card {
  background: rgba(13, 26, 34, 0.74);
}

.domain-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  box-shadow: 0 22px 58px rgba(25, 35, 55, 0.17);
}

.domain-card:hover::before {
  transform: scaleX(1);
}

.domain-card:nth-child(2n) { animation-delay: 90ms; }
.domain-card:nth-child(3n) { animation-delay: 180ms; }
.domain-card:nth-child(4n) { animation-delay: 270ms; }

.domain-card h3 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.domain-card .card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.domain-card .btn {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
}

.price { font-size: 24px; font-weight: 900; color: var(--brand); }
.muted { color: var(--muted); }
.ok { color: var(--ok); }
.bad { color: var(--danger); }
@keyframes spin { to { transform: rotate(360deg); } }
.spin {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 1.15s linear infinite;
  vertical-align: middle;
}
.whois-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.whois-label { width: 200px; padding: 6px 12px 6px 0; color: var(--muted); vertical-align: top; white-space: nowrap; }
.whois-value { padding: 6px 0; vertical-align: top; word-break: break-word; }
.whois-table tr + tr td { border-top: 1px solid var(--line); }

.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 24px;
}

.stat, .table-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
  animation: panelFloatIn 780ms cubic-bezier(.2, .8, .2, 1) both;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.stat {
  min-height: 118px;
  padding: 22px 24px;
}

.stat:hover,
.table-panel.pad-panel:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
  box-shadow: 0 18px 48px color-mix(in srgb, var(--brand) 10%, rgba(25, 35, 55, 0.08));
}

.stat span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.stat strong {
  display: block;
  margin-top: 0;
  font-size: 28px;
  line-height: 1.15;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 16px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  backdrop-filter: var(--blur);
}

.admin-tabs .tab {
  min-height: 42px;
  padding: 0 16px;
}

.admin-content {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.admin-content > .table-panel {
  min-width: 0;
}

.table-panel.chart-panel {
  overflow: hidden;
}

.admin-chart {
  display: block;
  width: 100%;
  height: 220px;
  max-width: 100%;
}

.table-panel { overflow: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th, td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

th {
  color: var(--muted);
  font-size: 13px;
  background: var(--soft);
  letter-spacing: 0;
}
td .btn { min-height: 34px; }

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 420px;
}

.row-actions .btn {
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
}

.dialog {
  width: min(440px, calc(100% - 24px));
  border: 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0;
  color: var(--ink);
  background: var(--panel-strong);
  backdrop-filter: var(--blur);
  animation: dialogIn 220ms ease both;
}

.dialog.wide { width: min(860px, calc(100% - 24px)); }
.dialog::backdrop { background: rgba(14, 20, 30, 0.5); backdrop-filter: blur(5px); }
.dialog-body { padding: 24px; display: grid; gap: 16px; }
.dialog-close { position: absolute; right: 14px; top: 12px; border: 0; background: transparent; color: var(--muted); font-size: 18px; }
.dialog[data-busy="true"] button:not(.is-loading) {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
}
.dialog-actions { gap: 10px; }

.split-actions {
  width: 100%;
}

.split-actions .spacer {
  flex: 1 1 auto;
}

.admin-user-dialog-body .form-grid label {
  min-width: 0;
}

.ticket-dialog {
  width: min(1240px, calc(100% - 40px));
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
}

.ticket-dialog .dialog-body {
  padding: 26px 30px 24px;
  gap: 16px;
}

.ticket-form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: end;
}

.ticket-form-grid label {
  grid-column: span 3;
  min-width: 0;
}

.ticket-form-grid .ticket-field-full {
  grid-column: 1 / -1;
}

.ticket-form-grid .ticket-field-message {
  grid-column: span 7;
  grid-row: span 2;
}

.ticket-form-grid .ticket-field-half {
  grid-column: span 5;
}

.ticket-form-grid input,
.ticket-form-grid select {
  min-height: 50px;
}

.ticket-form-grid textarea {
  min-height: 190px;
  height: 190px;
  resize: vertical;
}

.ticket-form-grid select,
.ticket-form-grid input,
.ticket-form-grid textarea {
  width: 100%;
}

.ticket-dialog .dialog-actions {
  justify-content: flex-start;
  margin-top: 2px;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.captcha-image {
  min-height: 58px;
  border: 1px solid rgba(133, 150, 174, 0.34);
  border-radius: 8px;
  background: #f7fbff;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.captcha-image svg {
  display: block;
  width: 100%;
  height: 58px;
  background: #f7fbff;
}

.captcha-image svg text {
  fill: #17202a !important;
}

.captcha-image svg line {
  stroke: #126b5b !important;
}

.captcha-image svg circle {
  fill: #126b5b !important;
}

.checkout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}

.qr-box {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  backdrop-filter: var(--blur);
}

.qr-box img { width: 240px; max-width: 100%; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(25, 35, 55, 0.12); }
.copy-code { padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font-weight: 900; overflow-wrap: anywhere; }

.toast-dialog {
  position: fixed;
  inset: 20px 20px auto auto;
  width: auto;
  max-width: min(420px, calc(100% - 40px));
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  pointer-events: none;
}

.toast-dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.toast {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  overflow: hidden;
  max-width: min(420px, calc(100% - 40px));
  min-width: min(360px, calc(100vw - 40px));
  padding: 16px 16px 18px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: toastIn 260ms cubic-bezier(.2, .9, .2, 1) both;
}

.toast.closing {
  animation: toastOut 160ms ease both;
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.toast-message {
  padding-top: 2px;
  line-height: 1.45;
  font-weight: 750;
}

.toast-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: currentColor;
  opacity: 0.9;
  transform-origin: left;
  animation: toastProgress 3400ms linear forwards;
}

.toast.success {
  background: linear-gradient(135deg, rgba(14, 116, 80, 0.96), rgba(11, 92, 70, 0.96));
}

.toast.error {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.97), rgba(185, 28, 28, 0.95));
}

.toast.warning {
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.97), rgba(202, 138, 4, 0.94));
}

.toast.info {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.96));
}

.empty { padding: 28px; color: var(--muted); text-align: center; }
.hidden { display: none !important; }

.pad-panel {
  padding: 24px;
}

.wallet-layout, .profile-layout, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.section-title {
  margin: 22px 0 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.form-grid + .form-grid {
  margin-top: 14px;
}

.pad-panel h2 {
  margin-bottom: 18px;
}

.form-grid textarea {
  grid-column: span 2;
}

.admin-add-user-grid .btn {
  justify-self: stretch;
}

.seller-mask-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.seller-mask-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.seller-mask-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.seller-mask-grid strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.avatar-preview {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  overflow: hidden;
}

.avatar-preview img, .mini-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-upload-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  margin: 2px 0 14px;
}

.avatar-upload-row small {
  min-width: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.avatar-upload-button {
  position: relative;
  overflow: hidden;
}

.avatar-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.avatar-crop-dialog .dialog-body {
  width: min(520px, calc(100vw - 24px));
}

.avatar-crop-stage {
  position: relative;
  width: min(320px, 72vw);
  aspect-ratio: 1;
  margin: 8px auto 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.05) 75%) 0 0 / 20px 20px,
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.05) 75%) 10px 10px / 20px 20px,
    var(--field);
  cursor: grab;
  touch-action: none;
}

.avatar-crop-stage:active {
  cursor: grabbing;
}

.avatar-crop-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}

.avatar-crop-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.avatar-crop-zoom {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 900;
}

.avatar-crop-zoom input {
  width: 100%;
  accent-color: var(--brand);
}

.mini-avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
}

.login-history-panel {
  grid-column: 1 / -1;
}

.login-history-list {
  display: grid;
  gap: 10px;
}

.login-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.login-history-item strong,
.login-history-item span,
.login-history-item time {
  display: block;
}

.login-history-item strong {
  overflow-wrap: anywhere;
}

.login-history-item span,
.login-history-item time {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.login-history-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.login-history-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-weight: 900;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.editor-toolbar select {
  width: auto;
  min-width: 150px;
}

.editor-toolbar .btn {
  min-width: 44px;
  padding: 0 12px;
}

.editor-toolbar input[type="color"] {
  width: 48px;
  height: 43px;
  padding: 6px;
}

.rich-editor, .rich-content {
  min-height: 180px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input);
  color: var(--ink);
  overflow: auto;
}

.rich-content {
  min-height: auto;
}

.qr-box p {
  margin-bottom: 6px;
}

.view:not(.hidden) { animation: fadeUp 280ms ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes topbarDrop {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDrift {
  from { background-position: center center, 50% 50%; }
  to { background-position: center center, 50% 56%; }
}

@keyframes cardRise {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes panelFloatIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(28px) translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to { opacity: 0; transform: translateX(18px) scale(0.98); }
}

@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@keyframes buttonSpin {
  to { transform: rotate(360deg); }
}

@keyframes loaderEnter {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes loaderLogo {
  0%, 100% { transform: translateY(0) scale(1); }
  20% { transform: translateY(-1px) scale(1.006); }
  44% { transform: translateY(-3px) scale(1.012); }
  70% { transform: translateY(-1px) scale(1.006); }
}

@keyframes loaderPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes loaderPanelGlow {
  0%, 100% {
    border-color: var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
  46%, 64% {
    border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 20px 52px color-mix(in srgb, var(--brand) 10%, transparent);
  }
}

@keyframes loaderUnderline {
  0% { transform: scaleX(0); opacity: 0.64; }
  34% { transform: scaleX(0.36); opacity: 0.82; }
  68% { transform: scaleX(0.78); opacity: 0.94; }
  100% { transform: scaleX(1); opacity: 1; }
}

@keyframes loaderNameReveal {
  from { max-width: 0; opacity: 0.72; }
  to { max-width: 190px; opacity: 1; }
}

@keyframes loaderExtReveal {
  from { max-width: 0; opacity: 0; }
  to { max-width: 54px; opacity: 1; }
}

@keyframes loaderChipIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderChipBreathe {
  0%, 100% {
    color: var(--muted);
    border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
  }
  48%, 62% {
    color: var(--ink);
    border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  }
}

@keyframes loaderPrepIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderPrepGlow {
  0%, 100% {
    border-color: var(--line);
    background: color-mix(in srgb, var(--soft) 82%, transparent);
  }
  44%, 62% {
    border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
    background: color-mix(in srgb, var(--brand) 7%, var(--soft));
  }
}

@keyframes loaderCheckBreathe {
  0%, 100% { transform: translateY(-1px) rotate(-45deg) scale(0.72); opacity: 0.62; }
  45%, 62% { transform: translateY(-1px) rotate(-45deg) scale(1); opacity: 1; }
}

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

@media (max-width: 1180px) {
  .domain-notes-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .domain-note {
    grid-column: span 2;
  }

  .domain-note:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .domain-note:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 920px) {
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .nav { justify-content: flex-start; overflow-x: auto; }
  .account { justify-content: flex-end; flex-wrap: nowrap; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 32px 24px; gap: 20px; }
  #shopView .hero h1 { font-size: 42px; }
  .domain-grid, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domain-card { flex-basis: calc((100% - 32px) / 3); }
  .domain-notes { padding: 34px 24px; }
  .domain-notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }
  .domain-note, .domain-note:nth-child(4), .domain-note:nth-child(5) { grid-column: auto; }
  .wallet-layout, .profile-layout, .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout { grid-template-columns: 1fr; }
  .admin-chart { height: 200px; }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
  }

  .mobile-menu-toggle {
    display: grid;
    grid-column: 1;
    grid-row: 1;
  }

  .brand {
    display: none;
  }

  .account {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    min-width: 0;
    width: 100%;
  }

  .topbar-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 10px;
    right: 10px;
    z-index: 25;
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
    backdrop-filter: var(--blur);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .topbar-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .topbar-menu .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .topbar-menu .nav-link {
    min-height: 42px;
    padding: 0 12px;
    background: var(--soft);
    border: 1px solid var(--line);
    text-align: left;
  }

  .topbar-menu .nav-link.active {
    background: var(--panel-strong);
  }

  .topbar-menu .theme-toggle {
    justify-self: start;
  }

  .topbar-menu .language-switch {
    justify-self: start;
  }

  .topbar-menu #loginOpen {
    justify-self: start;
  }

  .account-trigger {
    max-width: min(100%, 320px);
    min-height: 50px;
    gap: 10px;
    padding: 5px;
  }

  .wallet-chip {
    min-height: 38px;
    padding: 0 11px 0 7px;
  }

  .account-identity {
    min-width: 0;
    gap: 8px;
    padding-left: 8px;
  }

  #accountName {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 86px;
  }

  .account-avatar {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  main { width: min(100% - 20px, 1180px); margin-top: 16px; }
  .page-loader { padding: 14px; }
  .page-loader-shell { padding: 18px; gap: 14px; }
  .loader-search-panel { min-height: 176px; padding: 15px; }
  .loader-search-line { min-height: 58px; padding: 12px 14px; }
  .loader-search-line strong, .loader-search-line b { font-size: 20px; }
  .loader-prep-grid { grid-template-columns: 1fr; gap: 8px; }
  .loader-prep-grid div { min-height: 54px; justify-items: start; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .loader-prep-grid p { text-align: left; }
  .topbar { padding: 10px 10px; }
  .search-row { grid-template-columns: 1fr; }
  .search-box { padding: 14px; }
  .account-menu { width: 100%; display: flex; justify-content: flex-end; }
  .avatar-upload-row { grid-template-columns: 1fr; }
  .avatar-upload-button { justify-self: start; }
  .wallet-chip { min-width: 0; }
  .account-dropdown { right: 0; width: min(220px, calc(100vw - 20px)); }
  #shopView .hero h1 { font-size: 34px; }
  #shopView .subcopy { font-size: 16px; }
  .toolbar, .page-head { align-items: stretch; flex-direction: column; }
  .domain-grid, .stats { grid-template-columns: 1fr; }
  .domain-grid { padding: 12px; }
  .domain-carousel-head { align-items: flex-start; }
  .domain-carousel-head p { font-size: 13px; }
  .carousel-btn { width: 38px; height: 38px; font-size: 27px; }
  .domain-results-track { gap: 12px; }
  .domain-card { flex-basis: min(86%, 310px); min-height: 186px; }
  .domain-notes {
    margin: 20px 0 24px;
    padding: 28px 16px;
  }
  .domain-notes h2 { margin-bottom: 26px; }
  .domain-notes-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .note-icon { width: 72px; height: 72px; }
  .note-icon svg { width: 48px; height: 48px; }
  .view:not(#shopView) .page-head { min-height: auto; padding: 18px 0 12px; }
  .view:not(#shopView) .page-head h1 { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid textarea { grid-column: auto; }
  .seller-mask-grid { grid-template-columns: 1fr; }
  .chart-panel { padding: 14px; }
  .admin-chart { height: 180px; }
  h1 { font-size: 34px; }
}

.maintenance-screen {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.maintenance-card {
  width: min(620px, 100%);
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  text-align: center;
}

.maintenance-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.maintenance-card h1 { margin: 16px 0 10px; }
.maintenance-card p { color: var(--muted); line-height: 1.7; margin: 0 0 24px; }

.landing-section, .quick-contact {
  margin: 24px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--glass-shadow);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.section-heading h2, .quick-contact h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.section-heading p, .quick-contact p,
.benefit-card p, .process-grid p, .faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.benefit-grid, .process-grid, .faq-grid, .admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.benefit-card, .process-grid article, .faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  color: var(--brand);
  font-weight: 900;
}

.benefit-card h3, .process-grid h3, .faq-grid summary {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 850;
}

.process-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

.faq-grid summary { cursor: pointer; }
.faq-grid details p { padding-top: 8px; }

.quick-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, transparent), transparent 50%),
    var(--panel-strong);
}

.quick-contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.quick-contact-actions .btn {
  min-width: 132px;
}

.domain-note-cell {
  min-width: 180px;
  max-width: 320px;
  white-space: normal;
  line-height: 1.5;
}

.invoice-detail { display: grid; gap: 18px; }

.invoice-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.invoice-detail-head h2 { margin: 0; }

.invoice-total {
  color: var(--brand);
  font-size: 26px;
  font-weight: 950;
  white-space: nowrap;
}

.invoice-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 14px;
}

.invoice-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--soft);
}

.invoice-box h3 { margin: 0 0 12px; }

.invoice-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.invoice-line.total {
  border-bottom: 0;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.timeline-item > span {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--panel-strong);
}

.timeline-item.done > span {
  border-color: var(--brand);
  background: var(--brand);
}

.timeline-item strong, .timeline-item small { display: block; }
.timeline-item small { color: var(--muted); margin-top: 3px; }

.invoice-qr {
  max-width: 320px;
  justify-self: center;
}

.admin-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.rank-row:last-child { border-bottom: 0; }
.rank-row span { color: var(--muted); text-align: right; }

.dialog label.check-row,
.check-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input);
  color: var(--ink);
  font-weight: 800;
}

.dialog label.check-row input,
.check-row input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
}

.dialog label.check-row span,
.check-row span {
  line-height: 1.3;
}

.twofa-setup {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.twofa-qr {
  width: 180px;
  height: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.backup-codes-dialog {
  gap: 18px;
}

.backup-codes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.backup-codes-list code {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 1px;
}

.ticket-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.ticket-search {
  width: min(280px, 100%);
}

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

.ticket-sidebar {
  display: grid;
  gap: 22px;
}

.support-pin {
  display: grid;
  gap: 8px;
  text-align: center;
}

.support-pin span {
  color: var(--muted);
  font-size: 16px;
}

.support-pin strong {
  font-size: 26px;
  letter-spacing: 2px;
}

.support-menu {
  display: grid;
  gap: 8px;
}

.support-menu button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font: inherit;
  font-weight: 800;
}

.support-menu button.active,
.support-menu button:hover {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.ticket-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.ticket-table-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.ticket-table-toolbar span {
  font-weight: 900;
}

.ticket-table-toolbar select {
  width: auto;
  min-height: 38px;
  padding-right: 38px;
}

.ticket-table tr {
  cursor: pointer;
}

.ticket-table tr.selected td,
.ticket-table tr:hover td {
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.ticket-code {
  color: var(--brand);
}

.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.ticket-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.ticket-status.open {
  color: #0f9f78;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
}

.ticket-status.customer-reply {
  color: #d68a00;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.32);
}

.ticket-status.answered {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.32);
}

.ticket-status.processing {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.13);
  border-color: rgba(59, 130, 246, 0.3);
}

.ticket-status.closed {
  color: #7b8794;
  background: rgba(120, 130, 145, 0.13);
  border-color: rgba(120, 130, 145, 0.28);
}

.ticket-detail-grid,
.ticket-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 18px;
  align-items: start;
}

.ticket-admin-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
}

.ticket-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ticket-detail-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.ticket-compose {
  display: grid;
  gap: 12px;
  margin: 14px 0 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.ticket-messages {
  display: grid;
  gap: 16px;
}

.ticket-message {
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--panel-strong);
}

.ticket-message.admin {
  border-left-color: #3b82f6;
}

.ticket-message header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.ticket-message header strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ticket-message header span {
  justify-self: end;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.ticket-message header time {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}

.ticket-message p {
  margin: 0;
  padding: 18px 16px;
  color: var(--ink);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.ticket-info dl,
.ticket-admin-meta {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

.ticket-info dt,
.ticket-admin-meta dt {
  color: var(--muted);
  font-weight: 800;
}

.ticket-info dd,
.ticket-admin-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.ticket-admin-controls {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}

.admin-ticket-detail {
  min-height: 320px;
}

@media (max-width: 920px) {
  .benefit-grid, .process-grid, .faq-grid, .admin-dashboard-grid, .admin-insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ticket-dialog {
    width: min(860px, calc(100% - 24px));
    max-height: calc(100vh - 24px);
  }
  .ticket-form-grid label,
  .ticket-form-grid .ticket-field-message,
  .ticket-form-grid .ticket-field-half {
    grid-column: span 6;
  }
  .ticket-form-grid .ticket-field-message {
    grid-row: auto;
  }
  .ticket-form-grid .ticket-field-full {
    grid-column: 1 / -1;
  }
  .invoice-detail-grid { grid-template-columns: 1fr; }
  .ticket-layout,
  .ticket-detail-grid,
  .ticket-admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .landing-section, .quick-contact, .maintenance-card { padding: 18px; }
  .ticket-dialog .dialog-body {
    padding: 22px 16px 18px;
  }
  .ticket-form-grid {
    grid-template-columns: 1fr;
  }
  .ticket-form-grid label,
  .ticket-form-grid .ticket-field-full,
  .ticket-form-grid .ticket-field-message,
  .ticket-form-grid .ticket-field-half {
    grid-column: 1;
  }
  .ticket-form-grid textarea {
    min-height: 150px;
    height: 150px;
  }
  .benefit-grid, .process-grid, .faq-grid, .admin-dashboard-grid, .admin-insights {
    grid-template-columns: 1fr;
  }
  .quick-contact, .invoice-detail-head {
    align-items: stretch;
    flex-direction: column;
  }
  .quick-contact-actions {
    width: 100%;
    justify-content: stretch;
  }
  .quick-contact-actions .btn {
    flex: 1 1 150px;
  }
  .ticket-head-actions,
  .ticket-admin-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .ticket-search,
  .ticket-head-actions .btn,
  .ticket-admin-controls .btn,
  .ticket-admin-controls select {
    width: 100%;
  }
  .ticket-info dl,
  .ticket-admin-meta {
    grid-template-columns: 1fr;
  }
  .login-history-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .login-history-meta {
    align-items: flex-start;
    text-align: left;
  }
  .backup-codes-list {
    grid-template-columns: 1fr;
  }
  .invoice-total { font-size: 22px; }
}

*, *::before, *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
