:root {
  color-scheme: dark;
  --page: #180f38;
  --page-soft: #28164d;
  --panel: #2c1a58;
  --panel-strong: #3a2268;
  --input: #20113a;
  --ink: #fdf7ff;
  --ink-bright: #ffffff;
  --soft: #e9d8ff;
  --muted: #bbaeda;
  --line: rgba(231, 214, 255, 0.24);
  --line-strong: rgba(231, 214, 255, 0.5);
  --violet: #b08aff;
  --violet-deep: #7f5cff;
  --yellow: #ffd84d;
  --yellow-soft: #fff6a3;
  --pink: #ff7bc4;
  --cyan: #5be6ff;
  --orange: #ffb55d;
  --cream: #fef7d2;
  --green: #82ffca;
  --red: #ff8191;
  --shadow: 0 24px 56px rgba(12, 4, 28, 0.5);
  --panel-glow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 20px 48px rgba(7, 0, 35, 0.38);
  --soft-glow: 0 0 28px rgba(148, 120, 255, 0.25);
  --sprinkle: rgba(255, 232, 95, 0.19);
  --sprinkle-soft: rgba(255, 123, 196, 0.22);
  --playful-glow: 0 16px 36px rgba(255, 184, 89, 0.32);
  --playful-wobble: 0 12px 28px rgba(130, 255, 202, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  font-size: 15px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 440px at 12% 10%, rgba(255, 200, 95, 0.34) 0%, rgba(255, 200, 95, 0) 66%),
    radial-gradient(1050px 440px at 88% 84%, rgba(130, 255, 202, 0.3) 0%, rgba(130, 255, 202, 0) 66%),
    radial-gradient(760px 330px at 16% 102%, rgba(255, 123, 196, 0.26) 0%, rgba(255, 123, 196, 0) 67%),
    radial-gradient(1280px 700px at 52% 50%, rgba(178, 138, 255, 0.24) 0%, rgba(178, 138, 255, 0) 72%),
    linear-gradient(136deg, #3f2c70 0%, #1d0f36 48%, var(--page) 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: transparent;
  mix-blend-mode: normal;
  opacity: 0;
  filter: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: -26%;
  pointer-events: none;
  background: transparent;
  filter: none;
  opacity: 0;
  animation: none;
  z-index: 0;
}

body::selection {
  color: #160d21;
  background: var(--yellow-soft);
}

@keyframes swirl-clouds {
  0% {
    transform: translate3d(-2%, 1%, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, -1%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-1%, 0.5%, 0) scale(0.98);
  }
}

button,
input,
select {
  font-family: "Oxanium", "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.is-hidden {
  display: none !important;
}

.chog-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 0%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 60%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0, rgba(255, 255, 255, 0) 78%),
    var(--page);
  position: relative;
}

.chog-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
  background-image: none;
  opacity: 0;
  mix-blend-mode: normal;
  filter: none;
}

.chog-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
  background-image: none;
  animation: none;
  mix-blend-mode: normal;
  opacity: 0;
}

.chog-page::before,
.chog-page::after {
  animation-play-state: paused;
  will-change: auto;
}

@keyframes drift-fun {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-0.7%, 1%, 0) scale(1.02);
  }
  100% {
    transform: translate3d(0.9%, -1%, 0) scale(0.98);
  }
}

.chog-header {
  width: min(1160px, calc(100% - 44px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 8px;
  padding: 7px 10px;
  background:
    linear-gradient(120deg, rgba(53, 30, 95, 0.96), rgba(22, 8, 39, 0.9)),
    radial-gradient(circle at 0% 20%, rgba(255, 232, 95, 0.35), rgba(255, 232, 95, 0) 58%),
    radial-gradient(circle at 100% 70%, rgba(130, 255, 202, 0.2), rgba(130, 255, 202, 0) 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), var(--panel-glow), 0 0 24px rgba(130, 255, 202, 0.16);
  position: relative;
  overflow: hidden;
  animation: card-float 9s ease-in-out infinite alternate;
}

.chog-header::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0.75;
}

.chog-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 95, 0.35), rgba(255, 232, 95, 0));
  opacity: 0.95;
  animation: twinkle 3.2s ease-in-out infinite;
}

@keyframes card-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-2px); }
}

@keyframes twinkle {
  0%, 100% { transform: scale(0.96); opacity: .4; }
  50% { transform: scale(1.07); opacity: .85; }
}

.chog-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cream);
  font: 800 1.46rem/1 "Bricolage Grotesque", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.chog-brand img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 35%;
  box-shadow: 0 0 0 3px rgba(141, 104, 255, 0.25);
  transform: rotate(-3deg);
  transition: transform 150ms ease;
}

.chog-brand img:hover,
.chog-brand img:focus-visible {
  transform: rotate(0deg) scale(1.05);
}

.chog-brand strong {
  color: var(--yellow);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

.chog-header-policy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font: 700 0.88rem/1 "Oxanium", Arial, sans-serif;
  text-transform: uppercase;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(10, 6, 22, 0.65);
  backdrop-filter: none;
}

.chog-header-policy i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
}

.chog-hero {
  position: relative;
  height: 204px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 227, 79, 0.38);
  border-radius: 8px;
  background-image:
    linear-gradient(90deg, rgba(22, 13, 55, 0.72) 0%, rgba(48, 22, 83, 0.62) 38%, rgba(18, 12, 44, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 12, 22, 0.78) 0%, transparent 50%),
    url("/assets/chog/chog-crowd-banner.jpg");
  background-position: center, center, center 46%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.32) contrast(1.18);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 28px rgba(7, 2, 28, 0.35);
}

.chog-hero::before,
.chog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: transparent;
  animation: none;
  mix-blend-mode: normal;
}

@keyframes hero-sheen {
  0% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(-10px); opacity: 0.95; }
  100% { transform: translateX(0); opacity: 0.6; }
}

@keyframes hero-bob {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

.chog-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 44px));
  height: 100%;
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.chog-hero-inner > p,
.swap-kicker {
  margin: 0;
  color: var(--yellow);
  font: 800 0.96rem/1.2 "Oxanium", Arial, sans-serif;
  text-transform: uppercase;
}

.chog-hero h1 {
  margin: 6px 0 0;
  color: #ffffff;
  font: 800 4.35rem/0.94 "Bricolage Grotesque", Arial, sans-serif;
  text-shadow: 0 5px 0 rgba(82, 42, 168, 0.85), 0 0 28px rgba(130, 255, 202, 0.6), 0 0 58px rgba(255, 232, 95, 0.3), 0 1px 0 rgba(0, 0, 0, 0.22);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chog-hero-inner > strong {
  max-width: 650px;
  margin-top: 7px;
  color: var(--cream);
  font: 700 1.12rem/1.35 "Bricolage Grotesque", Arial, sans-serif;
  text-shadow: 0 1px 9px rgba(0, 0, 0, 0.4);
  position: relative;
}

.chog-hero-inner > strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  border-bottom: 1px dotted rgba(255, 232, 95, 0.5);
}

.swap-shell {
  position: relative;
  z-index: 2;
  width: min(870px, calc(100% - 44px));
  margin: -18px auto 0;
  padding: 0;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.34));
}

.swap-shell::before,
.swap-shell::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  filter: none;
  opacity: 0;
  animation: none;
  background: transparent;
  z-index: -1;
}

.swap-shell::after {
  box-shadow: 0 0 0 1px rgba(255, 232, 95, 0.08), 0 0 24px rgba(255, 123, 196, 0.12);
}

.swap-tool {
  position: relative;
  overflow: hidden;
  padding: 30px 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(165deg, rgba(42, 30, 80, 0.95), rgba(29, 14, 53, 0.94));
  box-shadow: var(--shadow), var(--soft-glow), var(--playful-glow), 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: shell-float 10s ease-in-out infinite;
  backdrop-filter: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.swap-tool:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 232, 95, 0.22), 0 20px 44px rgba(255, 184, 89, 0.16), 0 0 40px rgba(130, 255, 202, 0.15);
}

.swap-tool::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.swap-heading,
.order-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.swap-heading h2,
.order-heading h2 {
  margin: 5px 0 0;
  color: var(--ink-bright);
  font: 800 1.94rem/1.15 "Bricolage Grotesque", Arial, sans-serif;
  letter-spacing: 0.004em;
}

.swap-heading-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
}

.swap-availability,
.order-state {
  min-height: 30px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(18, 9, 32, 0.92), rgba(14, 8, 25, 0.92));
  font: 700 0.98rem/1 "Oxanium", Arial, sans-serif;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.swap-availability i,
.order-state i {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: currentColor;
}

.swap-availability.is-ready {
  color: var(--green);
  border-color: rgba(124, 255, 209, 0.34);
  background: linear-gradient(165deg, rgba(16, 35, 24, 0.78), rgba(10, 14, 18, 0.65));
}

.swap-availability.is-ready i {
  box-shadow: 0 0 10px rgba(124, 255, 209, 0.72);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.swap-availability.is-warn {
  color: var(--yellow);
}

.swap-trust {
  min-height: 30px;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(19, 11, 34, 0.9), rgba(14, 8, 23, 0.9));
  color: var(--muted);
  font: 700 0.97rem/1.1 "Oxanium", Arial, sans-serif;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.swap-trust.is-ready {
  color: var(--green);
  border-color: rgba(124, 255, 209, 0.34);
  background: linear-gradient(165deg, rgba(16, 35, 24, 0.72), rgba(10, 14, 18, 0.65));
}

.swap-trust.is-ready i {
  box-shadow: 0 0 10px rgba(124, 255, 209, 0.72);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.swap-trust.is-warn {
  color: var(--yellow);
}

.swap-trust i {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: currentColor;
}

.swap-help-button {
  min-height: 32px;
  min-width: 90px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 232, 95, 0.45);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 232, 95, 0.16), rgba(255, 196, 90, 0.08));
  color: var(--cream);
  font: 700 0.85rem/1 "Oxanium", Arial, sans-serif;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.11), 0 6px 16px rgba(255, 232, 95, 0.14);
  transition: transform 130ms ease, border-color 130ms ease, box-shadow 130ms ease;
}

.swap-help-button:hover,
.swap-help-button:focus-visible {
  outline: none;
  border-color: var(--yellow);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 232, 95, 0.45), 0 8px 18px rgba(255, 232, 95, 0.18);
}

.swap-mode-hint {
  margin: 10px 0 0;
  color: var(--soft);
  font: 600 1rem/1.45 "Oxanium", Arial, sans-serif;
}

.swap-help-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.swap-help-dialog.is-hidden {
  display: none;
}

.swap-help-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 10, 0.74);
  backdrop-filter: blur(2px);
}

.swap-help-dialog-card {
  position: relative;
  width: min(440px, calc(100% - 20px));
  max-width: 440px;
  padding: 18px 16px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 232, 95, 0.3);
  background:
    linear-gradient(145deg, rgba(22, 11, 40, 0.96), rgba(17, 9, 32, 0.94)),
    radial-gradient(circle at 80% 0%, rgba(130, 255, 202, 0.16), rgba(130, 255, 202, 0));
  color: var(--soft);
  box-shadow: var(--shadow), 0 18px 42px rgba(0, 0, 0, 0.32);
}

.swap-help-dialog-card h3 {
  margin: 0 0 10px;
  color: var(--ink-bright);
  font: 800 1.16rem/1.16 "Bricolage Grotesque", Arial, sans-serif;
}

.swap-help-dialog-card ul {
  margin: 0;
  padding-left: 18px;
}

.swap-help-dialog-card li {
  margin: 9px 0;
  font-size: 0.99rem;
  line-height: 1.45;
  color: var(--soft);
}

.swap-help-close {
  position: absolute;
  top: 10px;
  right: 9px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 232, 95, 0.2), rgba(255, 196, 90, 0.08));
  color: var(--cream);
  font: 700 1.1rem/1 "Oxanium", Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1px;
}

.swap-help-close:hover,
.swap-help-close:focus-visible {
  outline: none;
  border-color: var(--yellow);
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 1; }
}

.swap-mode {
  min-height: 72px;
  margin-top: 16px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 10, 30, 0.9), rgba(13, 8, 21, 0.88));
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.swap-mode button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, color 140ms ease;
}

.swap-mode button:hover,
.swap-mode button:focus-visible {
  color: var(--yellow-soft);
  outline: 0;
  border-color: rgba(255, 232, 95, 0.34);
  outline-offset: -2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

@keyframes shell-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.swap-mode button[data-direction="coin_to_chog"].is-active {
  color: var(--ink-bright);
  border-color: rgba(130, 255, 202, 0.95);
  background:
    linear-gradient(180deg, rgba(130, 255, 202, 0.26), rgba(130, 255, 202, 0.04) 68%),
    radial-gradient(circle at 50% 30%, rgba(130, 255, 202, 0.33), rgba(130, 255, 202, 0));
  box-shadow:
    inset 0 0 0 1px rgba(130, 255, 202, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12),
    inset 0 0 20px rgba(130, 255, 202, 0.24),
    0 0 0 1px rgba(130, 255, 202, 0.4),
    0 0 24px rgba(130, 255, 202, 0.3);
}

.swap-mode button[data-direction="chog_to_coin"].is-active {
  border-color: rgba(255, 129, 145, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 129, 145, 0.26), rgba(255, 129, 145, 0.04) 68%),
    radial-gradient(circle at 50% 30%, rgba(255, 129, 145, 0.33), rgba(255, 129, 145, 0));
  box-shadow:
    inset 0 0 0 1px rgba(255, 129, 145, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12),
    inset 0 0 20px rgba(255, 129, 145, 0.24),
    0 0 0 1px rgba(255, 129, 145, 0.4),
    0 0 24px rgba(255, 129, 145, 0.3);
}

.swap-mode span,
.swap-mode small {
  display: block;
}

.swap-mode span {
  font: 800 1.15rem/1.12 "Oxanium", Arial, sans-serif;
}

.swap-mode small {
  margin-top: 5px;
  color: var(--muted);
  font: 600 0.84rem/1.1 "Oxanium", Arial, sans-serif;
}

.swap-mode-icon {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
  transform: translateY(2px);
}

.swap-mode-icon--lg {
  width: 25px;
  height: 25px;
  margin: 0 6px;
}

.swap-mode-icon--xs {
  width: 16px;
  height: 16px;
  margin: 0 4px;
}

.swap-mode button[data-direction="coin_to_chog"].is-active small {
  color: var(--green);
}

.swap-mode button[data-direction="chog_to_coin"].is-active small {
  color: var(--red);
}

.swap-step {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  margin-top: 4px;
}

.swap-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  left: 3px;
  right: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.swap-step-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.swap-step-heading > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 232, 95, 0.94);
  border-radius: 50%;
  color: var(--page);
  background: linear-gradient(160deg, #ffef6f, var(--yellow));
  font: 800 0.98rem/1 "Oxanium", Arial, sans-serif;
  box-shadow: 0 3px 18px rgba(255, 232, 95, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  transition: transform 180ms ease;
  transform-origin: center;
}

.swap-step-heading > span:hover {
  transform: scale(1.03) rotate(-4deg);
}

.swap-step-heading > span {
  animation: bounce-kid 5s ease-in-out infinite;
}

@keyframes bounce-kid {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-1px); }
}

.swap-step-heading > div {
  min-width: 0;
}

.swap-step-heading strong {
  display: block;
  color: var(--cream);
  font: 700 1.21rem/1.24 "Oxanium", Arial, sans-serif;
}

.swap-step-heading small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}

.coin-picker,
.address-field {
  margin-top: 16px;
  display: block;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font: 700 0.9rem/1.1 "Oxanium", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.coin-picker-main {
  position: relative;
  min-height: 76px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(28, 18, 61, 0.98), rgba(15, 8, 35, 0.96)),
    radial-gradient(circle at 82% 12%, rgba(255, 232, 95, 0.2), rgba(255, 232, 95, 0) 48%);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: border-color 160ms ease, background 160ms ease;
}

.coin-picker-main:hover,
.coin-picker-main:focus-within {
  border-color: var(--yellow);
  background: linear-gradient(180deg, rgba(49, 34, 88, 0.98), rgba(26, 14, 48, 0.96));
  box-shadow: 0 0 0 4px rgba(255, 232, 95, 0.07);
  transform: translateY(-1px);
}

.coin-picker-current {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.coin-picker-current > img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  object-fit: contain;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.28));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
  padding: 3px;
  transform: rotate(-5deg);
}

.coin-picker-copy {
  min-width: 0;
  display: block;
}

.coin-picker-copy strong,
.coin-picker-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-picker-copy strong {
  color: var(--ink-bright);
  font: 800 1.18rem/1.2 "Oxanium", Arial, sans-serif;
}

.coin-picker-copy small {
  margin-top: 4px;
  color: var(--muted);
  font: 600 0.94rem/1.2 "Oxanium", Arial, sans-serif;
}

.coin-options {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  align-items: stretch;
  gap: 8px;
  padding: 0;
}

.coin-option {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, background 140ms ease;
}

.coin-option img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.28);
  padding: 2px;
  flex: 0 0 38px;
  flex-basis: 38px;
}

.coin-option span {
  display: inline-block;
  font: 700 0.94rem/1 "Oxanium", Arial, sans-serif;
  white-space: nowrap;
}

.coin-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 232, 95, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 232, 95, 0.4);
}

.coin-option:focus-visible {
  outline: 2px solid rgba(130, 255, 202, 0.85);
  outline-offset: 2px;
}

.coin-option.is-active {
  border-color: var(--yellow);
  background: rgba(255, 232, 95, 0.12);
  color: var(--yellow-soft);
  box-shadow: 0 0 0 1px rgba(255, 232, 95, 0.68), 0 0 12px rgba(255, 232, 95, 0.3);
}

.coin-option:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  background: rgba(255, 255, 255, 0.03);
}

.coin-option.is-disabled {
  color: var(--muted);
}

.address-input {
  height: 74px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(28, 18, 55, 0.95), rgba(16, 9, 42, 0.95)),
    radial-gradient(circle at 90% 24%, rgba(130, 255, 202, 0.2), rgba(130, 255, 202, 0) 46%);
  border-radius: 8px;
  transition: border-color 160ms ease, background 160ms ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: none;
  position: relative;
}

.address-input::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid transparent;
  pointer-events: none;
}

.address-input:focus-within {
  border-color: var(--yellow);
  background: linear-gradient(180deg, rgba(49, 34, 88, 0.98), rgba(28, 18, 55, 0.95));
  box-shadow: 0 0 0 4px rgba(255, 232, 95, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.address-field.is-invalid .address-input {
  border-color: var(--red);
}

.address-input input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink-bright);
  background: transparent;
  font: 600 1.02rem/1.2 "Space Grotesk", Arial, sans-serif;
}

.address-input input::placeholder {
  color: #756d7e;
}

.address-input b {
  flex: 0 0 auto;
  max-width: 142px;
  overflow: hidden;
  color: var(--yellow);
  font: 800 0.88rem/1 "Oxanium", Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.field-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.45;
}

.field-help-important {
  color: var(--yellow-soft);
}

.order-route {
  min-height: 68px;
  margin: 14px 0 0;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--soft);
  background:
    linear-gradient(180deg, rgba(15, 8, 24, 0.6), rgba(10, 7, 19, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(255, 123, 196, 0.17), rgba(255, 123, 196, 0) 52%);
  font: 700 1.02rem/1.24 "Oxanium", Arial, sans-serif;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  animation: stripe-pop 1.8s ease both;
  background-size: 240% 100%;
  background-position: 0% 50%;
}

.order-route::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 38%, rgba(141, 104, 255, 0.18), rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
  opacity: 0.22;
}

.order-route i {
  color: var(--pink);
  font-style: normal;
  font-size: 1.16rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 10px rgba(255, 112, 184, 0.45);
}

.order-route strong {
  color: var(--yellow);
  text-align: right;
  position: relative;
  z-index: 1;
}

.order-route {
  min-width: 0;
  overflow-wrap: anywhere;
}

@keyframes stripe-pop {
  0% { filter: saturate(0.94); background-position: 0% 50%; }
  50% { filter: saturate(1.08); background-position: 80% 50%; }
  100% { filter: saturate(0.98); background-position: 100% 50%; }
}


.swap-submit {
  width: 100%;
  min-height: 64px;
  margin-top: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--yellow);
  border-radius: 9px;
  color: #171018;
  background:
    linear-gradient(90deg, #ffe85f 0, #ffc451 50%, #ff8fb6 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  font: 800 1.08rem/1.1 "Oxanium", Arial, sans-serif;
  box-shadow: 0 10px 28px rgba(255, 227, 79, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 0 22px rgba(255, 233, 95, 0.22);
  transition: transform 150ms ease, filter 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.swap-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.38) 50%, transparent 74%);
  transform: translateX(-120%);
  transition: transform 280ms ease;
}

.swap-submit:focus-visible {
  outline: 2px solid rgba(255, 232, 95, 0.6);
  outline-offset: 2px;
}

.swap-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 120px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 50%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.swap-submit:hover:not(:disabled),
.swap-submit:focus-visible:not(:disabled) {
  color: #ffffff;
  border-color: var(--pink);
  outline: none;
  background: linear-gradient(90deg, #ffb35a 0, #ff70b8 52%, #8d68ff 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 130, 180, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  filter: saturate(1.06);
}

.swap-submit:hover:not(:disabled)::before,
.swap-submit:focus-visible:not(:disabled)::before {
  transform: translateX(120%);
}

.swap-submit:hover:not(:disabled)::after,
.swap-submit:focus-visible:not(:disabled)::after {
  opacity: 1;
}

.swap-submit:disabled {
  cursor: not-allowed;
  color: #6f6876;
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 232, 95, 0.2) 0, rgba(255, 196, 81, 0.2) 50%, rgba(255, 143, 182, 0.2) 100%),
    linear-gradient(180deg, rgba(22, 16, 28, 0.9), rgba(17, 12, 22, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.swap-submit b {
  font-size: 1.14rem;
  position: relative;
}

.swap-submit span {
  position: relative;
  z-index: 1;
}

.form-status {
  margin: 9px 0 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-status {
  min-height: 18px;
  color: var(--soft);
}

.form-status.is-bad {
  color: var(--red);
}

.form-status.is-good {
  color: var(--green);
}

.order-panel {
  margin-top: 3px;
}

.order-heading {
  align-items: center;
}

.order-heading > img {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border: 2px solid rgba(255, 232, 95, 0.88);
  border-radius: 7px;
  object-fit: cover;
  object-position: 50% 34%;
  box-shadow: 0 0 0 5px rgba(255, 232, 95, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.order-heading > div {
  min-width: 0;
  margin-right: auto;
}

.order-heading h2 {
  font-size: 1.82rem;
}

.order-heading > div > p:last-child {
  max-width: 470px;
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-state.is-good {
  color: var(--green);
  border-color: rgba(101, 239, 170, 0.36);
}

.order-state.is-bad {
  color: var(--red);
  border-color: rgba(255, 113, 129, 0.36);
}

.deposit-section {
  margin-top: 16px;
  border: 1px solid rgba(255, 232, 95, 0.46);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 232, 95, 0.03), rgba(255, 255, 255, 0));
}

.deposit-command {
  min-height: 68px;
  padding: 12px 14px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(38, 29, 61, 0.95), rgba(17, 9, 31, 0.95));
  position: relative;
}

.deposit-command::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.deposit-command span,
.deposit-command small {
  color: var(--muted);
  font: 700 0.98rem/1.2 "Oxanium", Arial, sans-serif;
  text-transform: uppercase;
}

.deposit-command strong {
  color: var(--yellow);
  font: 800 1.31rem/1.2 "Oxanium", Arial, sans-serif;
}

.deposit-command small {
  margin-left: auto;
  text-align: right;
  text-transform: none;
}

.deposit-layout {
  padding: 14px;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 12px;
  background:
    linear-gradient(170deg, rgba(17, 10, 28, 0.92), rgba(10, 7, 20, 0.94)),
    radial-gradient(circle at 28% 12%, rgba(130, 255, 202, 0.12), rgba(130, 255, 202, 0)),
    radial-gradient(circle at 85% 78%, rgba(255, 123, 196, 0.1), rgba(255, 123, 196, 0));
}

.deposit-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.deposit-qr img {
  width: 148px;
  height: 148px;
  display: block;
  border: 6px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
  opacity: 0.32;
}

.deposit-qr img.is-ready {
  opacity: 1;
}

.deposit-qr span,
.deposit-address > span {
  color: var(--muted);
  font: 700 0.92rem/1.2 "Oxanium", Arial, sans-serif;
  text-transform: uppercase;
}

.deposit-address {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deposit-address code {
  width: 100%;
  margin-top: 8px;
  padding: 9px;
  overflow-wrap: anywhere;
  border-left: 3px solid var(--pink);
  color: var(--cream);
  background: linear-gradient(180deg, rgba(29, 20, 41, 0.92), rgba(12, 8, 24, 0.94));
  font: 600 1.02rem/1.38 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.deposit-address code.deposit-address-value.is-copyable {
  cursor: pointer;
  color: var(--cyan);
  border-left-color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(91, 230, 255, 0.44), 0 0 12px rgba(91, 230, 255, 0.16);
}

.deposit-address code.deposit-address-value.is-copyable:hover,
.deposit-address code.deposit-address-value.is-copyable:focus-visible {
  color: #ddf6ff;
  background: linear-gradient(180deg, rgba(34, 30, 72, 0.96), rgba(9, 6, 26, 0.95));
  box-shadow: inset 0 0 0 1px rgba(91, 230, 255, 0.76), 0 0 16px rgba(91, 230, 255, 0.34);
  outline: none;
}

.deposit-address button,
.order-actions button {
  min-height: 50px;
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(31, 23, 49, 0.95), rgba(15, 10, 22, 0.96));
  font: 700 1rem/1 "Oxanium", Arial, sans-serif;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
  position: relative;
  overflow: hidden;
}

.deposit-address button:hover:not(:disabled),
.deposit-address button:focus-visible:not(:disabled),
.order-actions button:hover:not(:disabled),
.order-actions button:focus-visible:not(:disabled) {
  border-color: var(--yellow);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 232, 95, 0.18);
}

.deposit-address button:disabled,
.order-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.deposit-extra {
  margin: 7px 0 0;
  color: var(--yellow-soft);
  font-size: 0.94rem;
}

.order-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 15, 35, 0.8), rgba(16, 11, 24, 0.88));
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.order-facts > div {
  min-width: 0;
  min-height: 70px;
  padding: 10px;
  position: relative;
}

.order-facts > div + div {
  border-left: 1px solid var(--line);
}

.order-facts span,
.order-facts strong {
  display: block;
}

.order-facts span {
  color: var(--muted);
  font-size: 0.94rem;
}

.order-facts strong {
  margin-top: 5px;
  overflow: hidden;
  color: var(--cream);
  font: 700 1.06rem/1.24 "Oxanium", Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-message {
  margin-top: 14px;
  padding: 11px 12px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.order-message b {
  padding: 5px 6px;
  border-radius: 4px;
  color: var(--page);
  background: var(--green);
  font: 800 0.9rem/1 "Oxanium", Arial, sans-serif;
}

.order-message p {
  margin: 0;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.48;
}

.progress-heading,
.section-heading {
  margin-top: 17px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-left: 3px solid rgba(255, 232, 95, 0.6);
  padding-left: 10px;
}

.progress-heading span,
.section-heading span {
  color: var(--cream);
  font: 800 0.95rem/1 "Oxanium", Arial, sans-serif;
  text-transform: uppercase;
}

.progress-heading small,
.section-heading small {
  color: var(--muted);
  font-size: 0.93rem;
}

.order-timeline {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.timeline-row {
  min-height: 54px;
  padding: 10px 6px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  position: relative;
}

.timeline-row i {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 2px solid #625a69;
  border-radius: 50%;
}

.timeline-row.is-current {
  color: var(--cream);
}

.timeline-row.is-current i {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 227, 79, 0.11);
}

.timeline-row.is-done {
  color: var(--green);
}

.timeline-row i::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 100%;
  transform: translateY(1px);
  width: 2px;
  height: 10px;
  background: linear-gradient(180deg, rgba(101, 239, 170, 0.34), rgba(101, 239, 170, 0));
  opacity: 0;
}

.timeline-row:not(:last-child).is-done i::after {
  opacity: 1;
}

.timeline-row.is-done i {
  border-color: var(--green);
  background: var(--green);
}

.settlement-evidence > div:last-child,
.transactions > div:last-child {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.evidence-row {
  min-height: 54px;
  padding: 10px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.evidence-row span {
  color: var(--muted);
  font-size: 0.98rem;
}

.evidence-row strong {
  color: var(--cream);
  font: 700 1.04rem/1.2 "Oxanium", Arial, sans-serif;
  text-align: right;
  overflow-wrap: anywhere;
}

.transactions a,
.transactions #transactionLinks > span {
  min-height: 52px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font: 600 0.98rem/1.3 "Oxanium", Arial, sans-serif;
  overflow-wrap: anywhere;
}

.transactions a::after {
  content: "Open";
  flex: 0 0 auto;
  color: var(--yellow);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.transactions a:hover,
.transactions a:focus-visible {
  color: var(--yellow-soft);
  outline: none;
}

.order-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.order-actions button {
  margin-top: 0;
}

@keyframes ribbon-swoop {
  0%, 100% { transform: scaleX(0.94) translateY(-2px); opacity: .3; }
  50% { transform: scaleX(1.04) translateY(1px); opacity: .7; }
}

@keyframes bounce-tag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.chog-footer {
  width: min(1160px, calc(100% - 44px));
  min-height: 102px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  border-top: 1px solid var(--line);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-radius: 10px 10px 0 0;
  padding: 14px 12px 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.chog-footer::after {
  content: "";
  position: absolute;
  inset: auto 0 6px 0;
  margin: 0 auto;
  width: 132px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 196, 106, 0), rgba(255, 196, 106, 0.88), rgba(255, 196, 106, 0));
  filter: blur(0.3px);
}

.chog-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.chog-brand-small {
  font-size: 1.2rem;
}

.chog-brand-small img {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.chog-footer-copy {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
}

.chog-footer-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.chog-footer-copy small {
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.chog-telegram-link {
  min-width: 188px;
  min-height: 52px;
  padding: 8px 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  border: 1px solid rgba(91, 230, 255, 0.55);
  border-radius: 8px;
  background: rgba(91, 230, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: "Oxanium", "Space Grotesk", Arial, sans-serif;
  transition: transform 130ms ease, border-color 130ms ease, background 130ms ease, box-shadow 130ms ease;
}

.chog-telegram-link span {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.chog-telegram-link strong {
  color: var(--cyan);
  font-size: 0.98rem;
}

.chog-telegram-link:hover,
.chog-telegram-link:focus-visible {
  outline: none;
  border-color: var(--cyan);
  background: rgba(91, 230, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(91, 230, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  html {
    font-size: 15px;
  }

  .chog-header {
    width: min(100% - 28px, 1160px);
    min-height: 56px;
  }

  .chog-brand img {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .chog-hero {
    height: 208px;
    background-position: center, center, 61% 48%;
  }

  .chog-hero-inner {
    width: min(100% - 28px, 1160px);
    padding-bottom: 34px;
  }

  .chog-hero h1 {
    font-size: 3rem;
  }

  .chog-hero-inner > strong {
    max-width: 440px;
    font-size: 1rem;
  }

  .swap-shell {
    width: min(100% - 24px, 840px);
    margin-top: -24px;
  }

  .swap-tool {
    padding: 30px 24px 24px;
  }

  .swap-heading h2 {
    font-size: 1.78rem;
  }

  .swap-availability {
    min-height: 36px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .swap-heading-actions {
    gap: 6px;
    justify-content: flex-end;
  }

  .swap-help-button {
    min-width: 78px;
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .order-heading {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .order-heading > img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .order-heading .order-state {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .deposit-layout {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .deposit-qr img {
    width: 122px;
    height: 122px;
  }

}

@media (max-width: 520px) {
  html {
    font-size: 14.6px;
  }

  .chog-header-policy {
    gap: 3px;
    font-size: 0.88rem;
  }

  .chog-hero {
    height: 182px;
  }

  .chog-hero h1 {
    font-size: 2.7rem;
  }

  .chog-hero-inner > strong {
    max-width: 310px;
    font-size: 0.95rem;
  }

  .swap-shell {
    width: calc(100% - 14px);
  }

  .swap-tool {
    padding: 24px 16px 20px;
  }

  .swap-heading {
    align-items: flex-start;
  }

  .swap-heading h2 {
    font-size: 1.6rem;
  }

  .swap-availability {
    max-width: 112px;
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .swap-heading-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .swap-trust {
    width: 100%;
  }

  .swap-help-button {
    min-width: 0;
    width: auto;
    padding: 7px 9px;
  }

  .swap-mode {
    height: 70px;
    margin-top: 16px;
  }

  .swap-mode button {
    padding: 8px 10px;
  }

  .swap-mode span {
    font-size: 1.0rem;
  }

  .swap-mode small {
    font-size: 0.88rem;
  }

  .swap-mode-icon {
    width: 19px;
    height: 19px;
  }

  .swap-mode-icon--lg {
    width: 21px;
    height: 21px;
    margin: 0 6px;
  }

  .swap-mode-icon--xs {
    width: 14px;
    height: 14px;
    margin: 0 4px;
  }

  .swap-step {
    padding: 18px 0;
  }

  .swap-step-heading {
    align-items: flex-start;
  }

  .swap-step-heading strong {
    font-size: 1.12rem;
  }

  .swap-step-heading small {
    font-size: 0.96rem;
  }

  .coin-picker-main {
    min-height: 70px;
    padding: 10px 10px;
    gap: 8px;
  }

  .coin-picker-current > img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .coin-options {
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  }

  .coin-option {
    min-height: 48px;
    border-radius: 11px;
    padding: 0 10px;
    gap: 8px;
  }

  .coin-option img {
    width: 26px;
    height: 26px;
    flex-basis: 28px;
  }

  .coin-option span {
    font-size: 0.94rem;
  }

  .address-input {
    height: 60px;
    padding: 0 11px;
    gap: 10px;
  }

  .address-input input {
    font-size: 0.96rem;
  }

  .address-input b {
    max-width: 84px;
    font-size: 0.88rem;
  }

  .order-route {
    gap: 8px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 0.94rem;
  }

  .order-route i {
    font-size: 1rem;
  }

  .order-route strong {
    font-size: 0.94rem;
  }

  .deposit-command {
    min-height: 72px;
    flex-wrap: wrap;
    align-content: center;
  }

  .deposit-command small {
    width: 100%;
    margin-left: 0;
    text-align: left;
    margin-top: 2px;
  }

  .deposit-layout {
    grid-template-columns: 1fr;
  }

  .deposit-qr img {
    width: 132px;
    height: 132px;
  }

  .order-facts {
    grid-template-columns: 1fr;
  }

  .order-facts > div {
    min-height: 60px;
    padding: 10px;
  }

  .order-facts > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .order-facts strong {
    white-space: normal;
  }

  .chog-footer {
    width: calc(100% - 28px);
    min-height: 0;
    flex-direction: column;
    padding: 16px 12px 20px;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
  }

  .chog-footer-copy {
    margin-left: 0;
    align-items: flex-start;
    text-align: left;
  }

  .chog-telegram-link {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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