:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --ink-soft: #a7acb8;
  --paper: #03060b;
  --paper-bright: #0b1019;
  --gold: #e2ad2c;
  --gold-deep: #9d6906;
  --blue: #65b5d3;
  --xch-metal-blue: linear-gradient(176deg, #25465c 5%, #7eb3ce 32%, #d8edf6 48%, #5085a2 57%, #18384e 88%);
  --line: rgba(255, 255, 255, 0.12);
  --header-height: 96px;
  --page-pad: clamp(24px, 4.4vw, 76px);
  --coin-login-label-size: clamp(30px, 2.6vw, 40px);
  --coin-go-label-size: clamp(38px, 3.2vw, 50px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* This interface already has its own mobile type scale. Prevent Android
     browsers/WebViews from enlarging only the glyphs without enlarging boxes. */
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background: #020409;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  background: #111;
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  background: var(--paper);
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 38%, rgba(24, 81, 111, 0.12), transparent 34%),
    radial-gradient(circle at 29% 70%, rgba(142, 84, 8, 0.08), transparent 30%),
    #020409;
}

.ambient-glow {
  position: fixed;
  z-index: -1;
  width: 34vw;
  aspect-ratio: 1;
  pointer-events: none;
  filter: blur(100px);
  border-radius: 50%;
  opacity: 0.12;
}

.ambient-glow--gold {
  top: 6vh;
  right: 8vw;
  background: #b97906;
}

.ambient-glow--blue {
  right: 0;
  bottom: -18vw;
  background: #126b91;
  opacity: 0.12;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 var(--page-pad);
  background: linear-gradient(to bottom, rgba(2, 4, 9, 0.9), rgba(2, 4, 9, 0.26) 68%, transparent);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: #050a12;
  border: 1px solid rgba(226, 173, 44, 0.54);
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(226, 173, 44, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.brand-name {
  display: block;
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1;
  word-break: keep-all;
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 0 0 auto;
  padding: 5px;
  background: rgba(5, 9, 15, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.nav-link {
  position: relative;
  min-width: 78px;
  padding: 11px 18px;
  overflow: hidden;
  color: rgba(245, 241, 232, 0.62);
  font-size: 14px;
  font-weight: 640;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link span {
  position: relative;
  z-index: 1;
}

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

.nav-link.is-active {
  color: #181204;
  background: linear-gradient(135deg, #f0c14d, #c88a0d);
  box-shadow: 0 6px 20px rgba(206, 142, 13, 0.24);
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  background: #020409;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 3, 8, 0.72) 0%, rgba(1, 3, 8, 0.34) 30%, transparent 55%),
    linear-gradient(to top, rgba(1, 3, 8, 0.42), transparent 34%),
    linear-gradient(to bottom, rgba(1, 3, 8, 0.3), transparent 24%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  filter: saturate(0.9) brightness(0.74) contrast(1.08);
  transform: scale(1.01);
  transform-origin: center;
  animation: art-arrive 900ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.cosmic-mark {
  --mark-opacity: 0.18;
  position: absolute;
  top: 7%;
  left: 18%;
  z-index: 2;
  width: min(72vw, 980px);
  height: auto;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: var(--mark-opacity);
  filter: saturate(0.72) brightness(0.72);
  transform: rotate(-2deg);
  animation: mark-arrive 1100ms 160ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero-mascot {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: block;
  width: max(100vw, 150vh);
  height: auto;
  aspect-ratio: 3 / 2;
  pointer-events: none;
  opacity: 0;
  filter:
    drop-shadow(-24px 20px 42px rgba(0, 0, 0, 0.52))
    drop-shadow(-5px 0 22px rgba(33, 121, 161, 0.1));
  transform: translateX(-50%) translateX(18px) scale(1.012);
  transform-origin: center top;
  transition: opacity 520ms ease, transform 820ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hero-mascot.is-ready {
  opacity: 1;
  transform: translateX(-50%) translateX(0) scale(1.012);
}

.hero-copy {
  position: absolute;
  top: 34%;
  left: var(--page-pad);
  z-index: 6;
  width: min(33vw, 500px);
  pointer-events: none;
  animation: copy-arrive 800ms 120ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero-copy h1 {
  margin: 0;
  font-weight: 500;
}

.slogan-cn {
  display: block;
  margin-bottom: clamp(14px, 2vh, 24px);
  color: #f5f1e8;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(38px, 4.5vw, 76px);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.72);
}

.slogan-doge {
  display: flex;
  align-items: center;
  width: min-content;
  color: #e0aa2b;
  font-size: clamp(46px, 5.7vw, 92px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-shadow:
    0 0 26px rgba(212, 148, 18, 0.2),
    0 10px 28px rgba(0, 0, 0, 0.58);
}

.slogan-doge i {
  margin: 0 0.11em;
  color: rgba(151, 192, 210, 0.42);
  font-size: 0.28em;
  font-style: normal;
  font-weight: 400;
}

.slogan-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin-top: clamp(24px, 3vh, 36px);
  background: linear-gradient(90deg, var(--gold), rgba(226, 173, 44, 0));
  box-shadow: 0 0 16px rgba(226, 173, 44, 0.28);
  border-radius: 999px;
}

.coin-cluster {
  position: absolute;
  top: 54%;
  left: 21.5%;
  z-index: 7;
  width: clamp(232px, 18vw, 304px);
  height: 164px;
  pointer-events: none;
  animation: coins-arrive 850ms 380ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.coin {
  position: absolute;
  display: grid;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  pointer-events: auto;
  cursor: pointer;
  border-radius: 50%;
  -webkit-font-smoothing: antialiased;
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 220ms ease;
}

.coin::before,
.coin::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: inherit;
}

.coin::before {
  inset: 5px;
  z-index: 1;
  border: 1px solid currentColor;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.26),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  opacity: 0.34;
}

.coin::after {
  top: 8%;
  left: 16%;
  z-index: 3;
  width: 52%;
  height: 27%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(7px);
  opacity: 0.72;
  transform: rotate(-30deg);
}

.coin--login {
  top: 0;
  left: 0;
  width: clamp(92px, 7.4vw, 118px);
  color: #1b1a17;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  perspective: 720px;
  transform: rotate(-7deg);
}

.coin--login::before,
.coin--login::after {
  display: none;
}

.coin-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform;
  animation: silver-coin-flip 7.2s 1.1s cubic-bezier(0.55, 0.08, 0.28, 0.96) infinite both;
}

.coin-face {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  color: #1b1a17;
  background:
    radial-gradient(circle at 29% 22%, rgba(255, 255, 255, 0.98) 0 8%, transparent 28%),
    radial-gradient(circle at 72% 76%, rgba(78, 87, 91, 0.2), transparent 39%),
    repeating-conic-gradient(from 18deg, rgba(255, 255, 255, 0.16) 0deg 3deg, rgba(91, 99, 102, 0.045) 3deg 7deg),
    linear-gradient(145deg, #ffffff 0%, #f1f2ef 38%, #c8cbc8 74%, #f8f8f4 100%);
  border: 1px solid rgba(238, 241, 238, 0.84);
  border-radius: 50%;
  box-shadow:
    inset -10px -11px 18px rgba(64, 71, 73, 0.17),
    inset 7px 7px 14px rgba(255, 255, 255, 0.96),
    inset 0 0 0 2px rgba(85, 93, 96, 0.11),
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 18px 40px rgba(0, 0, 0, 0.46),
    0 0 28px rgba(164, 205, 220, 0.14);
  place-items: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.coin-face::before,
.coin-face::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: inherit;
}

.coin-face::before {
  inset: 5px;
  z-index: 1;
  border: 1px solid currentColor;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.26),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  opacity: 0.34;
}

.coin-face::after {
  top: 8%;
  left: 16%;
  z-index: 3;
  width: 52%;
  height: 27%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(7px);
  opacity: 0.72;
  transform: rotate(-30deg);
}

.coin-face--front {
  transform: translateZ(2px);
}

.coin-face--back {
  background:
    radial-gradient(circle at 69% 22%, rgba(255, 255, 255, 0.94) 0 8%, transparent 28%),
    radial-gradient(circle at 28% 76%, rgba(73, 82, 86, 0.22), transparent 39%),
    repeating-conic-gradient(from -18deg, rgba(255, 255, 255, 0.15) 0deg 3deg, rgba(91, 99, 102, 0.05) 3deg 7deg),
    linear-gradient(215deg, #ffffff 0%, #eceeeb 40%, #c3c6c3 75%, #f6f7f3 100%);
  transform: rotateY(180deg) translateZ(2px);
}

.coin--login:hover .coin-spinner,
.coin--login:focus-visible .coin-spinner,
.coin--login.is-dialog-open .coin-spinner,
.coin--login.is-offscreen .coin-spinner,
.coin--login.is-page-hidden .coin-spinner {
  animation-play-state: paused;
}

.coin--login:hover {
  box-shadow: none;
}

.coin--login .coin-label {
  font-size: var(--coin-login-label-size);
}

.coin--login .coin-label--account {
  display: none;
}

.coin--login.is-authenticated .coin-label--guest {
  display: none;
}

.coin--login.is-authenticated .coin-label--account {
  display: block;
  padding-left: 0.04em;
  color: #7eb3ce;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-indent: 0.04em;
  background-image: var(--xch-metal-blue);
  background-position: center;
  background-size: 100% 135%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: saturate(1.28) contrast(1.08) drop-shadow(0 2px 1px rgba(222, 244, 252, 0.26)) drop-shadow(0 5px 7px rgba(9, 47, 70, 0.52));
  text-shadow:
    0 1px 0 rgba(221, 244, 252, 0.5),
    0 -1px 0 rgba(11, 45, 65, 0.72),
    0 4px 9px rgba(25, 93, 127, 0.38);
}

.coin--login.is-authenticated .coin-face {
  background:
    radial-gradient(circle at 29% 22%, rgba(255, 255, 255, 0.98) 0 8%, transparent 28%),
    radial-gradient(circle at 72% 76%, rgba(40, 104, 136, 0.2), transparent 39%),
    repeating-conic-gradient(from 18deg, rgba(255, 255, 255, 0.16) 0deg 3deg, rgba(62, 96, 112, 0.05) 3deg 7deg),
    linear-gradient(145deg, #ffffff 0%, #e6eff1 38%, #b9cbd1 74%, #f8fbfb 100%);
}

.coin--login.is-authenticated .coin-face--back {
  background:
    radial-gradient(circle at 69% 22%, rgba(255, 255, 255, 0.96) 0 8%, transparent 28%),
    radial-gradient(circle at 28% 76%, rgba(38, 101, 134, 0.22), transparent 39%),
    repeating-conic-gradient(from -18deg, rgba(255, 255, 255, 0.15) 0deg 3deg, rgba(59, 94, 111, 0.055) 3deg 7deg),
    linear-gradient(215deg, #ffffff 0%, #e5eef0 40%, #b5c8ce 75%, #f5fafb 100%);
}

.coin--login .coin-rim {
  pointer-events: none;
}

.coin--login .coin-face--back .coin-label {
  letter-spacing: 0.04em;
  text-indent: 0.04em;
}

.coin--login .coin-face--back .coin-rim {
  opacity: 0.34;
}

.coin--login .coin-face--back::after {
  left: 32%;
  transform: rotate(30deg);
}

.coin--go {
  right: 0;
  bottom: 0;
  width: clamp(104px, 8.5vw, 136px);
  color: #1b1505;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  perspective: 760px;
  transform: rotate(8deg);
}

.coin--go::before,
.coin--go::after {
  display: none;
}

.gold-coin-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform;
  animation: gold-coin-flip 5s linear infinite both;
}

.gold-coin-face {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  background: #090b10;
  border: 0;
  border-radius: 50%;
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(222, 158, 21, 0.2);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.gold-coin-face::after {
  position: absolute;
  top: 8%;
  left: 16%;
  z-index: 3;
  width: 52%;
  height: 27%;
  content: "";
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(7px);
  border-radius: 50%;
  opacity: 0.68;
  transform: rotate(-30deg);
}

.gold-coin-face--front {
  transform: translateZ(2px);
}

.gold-coin-face--back {
  background: #b99a3e;
  transform: rotateX(180deg) translateZ(2px);
}

.gold-coin-face img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.gold-coin-face--front img {
  width: 106%;
  max-width: none;
  height: 106%;
  image-rendering: pixelated;
}

.gold-coin-face--back img {
  padding: 0;
  object-fit: cover;
  background: transparent;
}

.hero[hidden],
.store-section[hidden],
.friends-section[hidden],
.wallet-section[hidden] {
  display: none !important;
}

.coin--go.is-page-hidden .gold-coin-spinner {
  animation-play-state: paused;
}

.coin-rim {
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  opacity: 0.3;
}

.coin-label {
  position: relative;
  z-index: 2;
  display: block;
  font-size: var(--coin-login-label-size);
  font-weight: 860;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-indent: 0.04em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 -1px 0 rgba(0, 0, 0, 0.16),
    0 3px 7px rgba(0, 0, 0, 0.16);
}

.coin--go .coin-label {
  font-size: var(--coin-go-label-size);
  letter-spacing: 0;
}

.coin-arrow {
  position: absolute;
  right: 23%;
  bottom: 16%;
  z-index: 2;
  font-size: 13px;
  font-weight: 750;
  opacity: 0.62;
  text-shadow: 0 1px 0 rgba(255, 238, 167, 0.5);
}

.coin:hover {
  box-shadow:
    inset -8px -9px 16px rgba(71, 68, 58, 0.12),
    inset 5px 5px 12px rgba(255, 255, 255, 0.72),
    0 26px 48px rgba(0, 0, 0, 0.54),
    0 0 34px rgba(222, 158, 21, 0.22);
}

.coin--login:hover {
  transform: translateY(-8px) rotate(-3deg) scale(1.035);
}

.coin--go:hover {
  box-shadow: none;
  transform: translateY(-9px) rotate(3deg) scale(1.04);
}

.coin:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible,
.dialog-close:focus-visible,
.auth-tab:focus-visible,
.account-identity button:focus-visible,
.form-submit:focus-visible,
.product-invite-button:focus-visible,
.acquisition-copy:focus-visible,
.wallet-expand:focus-visible,
.movement-actions button:focus-visible,
.asset-table-row:focus-visible,
.movement-table-row:focus-visible,
.wallet-submit:focus-visible {
  outline: 3px solid rgba(91, 180, 214, 0.58);
  outline-offset: 4px;
}

.friends-message-button:focus-visible,
.friends-qr-link:focus-visible,
.friends-chat-send:focus-visible {
  outline: 3px solid rgba(91, 180, 214, 0.58);
  outline-offset: 4px;
}

.palm-light {
  position: absolute;
  top: 70%;
  left: 23%;
  z-index: 4;
  width: 19vw;
  max-width: 300px;
  aspect-ratio: 2.5;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(219, 163, 28, 0.25), transparent 68%);
  filter: blur(17px);
  opacity: 0.82;
}

.store-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: calc(var(--header-height) + 28px) var(--page-pad) clamp(56px, 7vw, 96px);
  overflow: hidden;
  place-items: center;
  scroll-margin-top: 0;
  background:
    radial-gradient(circle at 20% 48%, rgba(194, 126, 12, 0.13), transparent 31%),
    radial-gradient(circle at 84% 24%, rgba(54, 118, 146, 0.13), transparent 28%),
    linear-gradient(155deg, #02050a 0%, #080b11 50%, #020408 100%);
}

.store-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.store-section::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(72vw, 1100px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(226, 173, 44, 0.68), transparent);
  box-shadow: 0 0 24px rgba(226, 173, 44, 0.22);
  transform: translateX(-50%);
}

.store-orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(226, 173, 44, 0.08);
  border-radius: 50%;
}

.store-orbit--one {
  top: 6%;
  right: -13vw;
  width: 48vw;
  aspect-ratio: 1;
  transform: rotate(-18deg);
}

.store-orbit--two {
  bottom: -22vw;
  left: -10vw;
  width: 42vw;
  aspect-ratio: 1;
  border-color: rgba(101, 181, 211, 0.07);
}

.store-shell {
  position: relative;
  z-index: 2;
  width: min(1220px, 100%);
}

.store-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 8px 20px;
}

.store-kicker {
  color: rgba(226, 173, 44, 0.76);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.24em;
}

.store-heading p {
  margin: 0;
  color: rgba(245, 241, 232, 0.5);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(440px, 1.1fr);
  min-height: clamp(530px, 66vh, 650px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.055), transparent 25%),
    linear-gradient(145deg, rgba(31, 35, 42, 0.98), rgba(11, 14, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.28),
    0 42px 100px rgba(0, 0, 0, 0.52),
    0 0 80px rgba(191, 126, 13, 0.07);
}

.product-card::before {
  position: absolute;
  inset: 10px;
  z-index: 3;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 26px;
}

.product-card::after {
  position: absolute;
  top: 0;
  left: 7%;
  z-index: 4;
  width: 28%;
  height: 2px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #e2ad2c, transparent);
  box-shadow: 0 0 18px rgba(226, 173, 44, 0.42);
}

.product-visual {
  position: relative;
  min-width: 0;
  margin: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(212, 151, 29, 0.16), transparent 36%),
    linear-gradient(155deg, #171a20, #080b10 78%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    inset 0 0 58px rgba(0, 0, 0, 0.38),
    0 24px 50px rgba(0, 0, 0, 0.28);
}

.product-index {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 3;
  color: rgba(245, 241, 232, 0.34);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.24em;
}

.product-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.32;
  background:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
}

.product-mascot {
  position: absolute;
  inset: 2% 2% 0;
  z-index: 2;
  width: 96%;
  height: 98%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.46));
  opacity: 0;
  transform: translateY(3%) scale(0.96);
  transition: opacity 520ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.product-mascot.is-ready {
  opacity: 1;
  transform: translateY(1%) scale(0.98);
}

.product-visual-glow {
  position: absolute;
  right: 12%;
  bottom: -8%;
  z-index: 1;
  width: 68%;
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(226, 173, 44, 0.18), transparent 66%);
  filter: blur(18px);
}

.product-info {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: clamp(44px, 5vw, 78px) clamp(42px, 5.4vw, 82px) clamp(34px, 4vw, 58px);
  flex-direction: column;
}

.product-title-row {
  display: flex;
  gap: clamp(32px, 4vw, 58px);
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: clamp(26px, 3vh, 38px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-title-row > div {
  min-width: 0;
  flex: 0 1 auto;
}

.product-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: rgba(245, 241, 232, 0.42);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.24em;
}

.product-title-row h2 {
  margin: 0;
  color: #f8f5ed;
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 0.96;
  white-space: nowrap;
  word-break: keep-all;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
}

.product-stats {
  display: grid;
  margin: 0;
  flex: 1;
  align-content: center;
}

.product-stat {
  display: grid;
  grid-template-columns: clamp(78px, 7vw, 112px) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: clamp(18px, 2.4vh, 28px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-stat dt,
.product-stat dd {
  margin: 0;
}

.product-stat dt {
  color: rgba(248, 245, 237, 0.94);
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 660;
  letter-spacing: 0.14em;
  white-space: nowrap;
  word-break: keep-all;
}

.product-stat dd {
  color: #e2ad2c;
  font-size: clamp(22px, 2.05vw, 31px);
  font-weight: 560;
  letter-spacing: 0.04em;
  line-height: 1.46;
  white-space: nowrap;
  word-break: keep-all;
  text-shadow: 0 0 24px rgba(226, 173, 44, 0.12);
}

.product-stat dd strong {
  color: #f0c95f;
  font-weight: 820;
}

.product-stat--price dd {
  font-size: clamp(26px, 2.35vw, 36px);
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  color: rgba(245, 241, 232, 0.28);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.24em;
}

.product-invite-button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 94px;
  padding: 17px clamp(26px, 3vw, 42px);
  margin: 20px 8px 0;
  overflow: hidden;
  align-items: center;
  gap: 24px;
  color: #f7e7b9;
  text-decoration: none;
  isolation: isolate;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.14), transparent 22%, transparent 68%, rgba(255, 215, 124, 0.07)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 5px),
    linear-gradient(180deg, #413723 0%, #1f1c16 10%, #111317 55%, #080a0d 100%);
  border: 1px solid rgba(235, 200, 118, 0.48);
  border-radius: 21px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.8),
    inset 0 0 0 4px rgba(0, 0, 0, 0.22),
    0 18px 46px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(226, 173, 44, 0.09);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-invite-button::before {
  position: absolute;
  top: -80%;
  left: -18%;
  z-index: -1;
  width: 38%;
  height: 260%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 230, 169, 0.19), transparent);
  transform: rotate(17deg);
  transition: left 620ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.product-invite-button::after {
  position: absolute;
  inset: 6px;
  z-index: -1;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 235, 187, 0.09);
  border-radius: 15px;
}

.product-invite-button:hover {
  color: #fff3cf;
  border-color: rgba(250, 219, 145, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.88),
    inset 0 0 0 4px rgba(0, 0, 0, 0.2),
    0 22px 54px rgba(0, 0, 0, 0.44),
    0 0 45px rgba(226, 173, 44, 0.16);
  transform: translateY(-2px);
}

.product-invite-button:hover::before {
  left: 92%;
}

.product-invite-button__copy {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 18px;
}

.product-invite-button__copy small {
  grid-column: 1 / -1;
  color: rgba(245, 218, 153, 0.5);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.28em;
}

.product-invite-button__copy strong {
  color: inherit;
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 830;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(226, 173, 44, 0.18);
}

.product-invite-button__copy > span {
  overflow: hidden;
  color: rgba(236, 229, 210, 0.58);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-invite-button__arrow {
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  color: #f8d77d;
  border: 1px solid rgba(247, 216, 137, 0.38);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 233, 178, 0.14), rgba(0, 0, 0, 0.22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px rgba(0, 0, 0, 0.28);
  font-size: 22px;
  transition: transform 180ms ease;
}

.product-invite-button:hover .product-invite-button__arrow {
  transform: translate(2px, -2px);
}

.product-invite-button__rivet {
  position: absolute;
  top: 50%;
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #b89a57;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.44), 0 1px 3px #000;
  transform: translateY(-50%);
}

.product-invite-button__rivet--left { left: 12px; }
.product-invite-button__rivet--right { right: 12px; }

.product-invite-button--acquire {
  width: calc(100% - 16px);
  cursor: pointer;
  font: inherit;
  text-align: left;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.18), transparent 24%, transparent 67%, rgba(169, 199, 216, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0, rgba(255, 255, 255, 0.022) 1px, transparent 1px, transparent 5px),
    linear-gradient(180deg, #3c454c 0%, #20262d 11%, #11151b 56%, #080b0f 100%);
  border-color: rgba(173, 198, 213, 0.5);
  color: #d9e7ee;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.82),
    inset 0 0 0 4px rgba(0, 0, 0, 0.2),
    0 18px 46px rgba(0, 0, 0, 0.36),
    0 0 36px rgba(100, 174, 205, 0.08);
}

.product-invite-button--acquire .product-invite-button__copy small { color: rgba(195, 218, 229, 0.54); }
.product-invite-button--acquire .product-invite-button__arrow { color: #b9dce9; border-color: rgba(171, 207, 222, 0.4); }
.product-invite-button--acquire .product-invite-button__rivet { background: #9baeb9; }
.product-invite-button--acquire:hover { color: #f0f9fc; border-color: rgba(194, 226, 239, 0.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.86), inset 0 0 0 4px rgba(0,0,0,.18), 0 22px 54px rgba(0,0,0,.44), 0 0 45px rgba(100,174,205,.16); }

.acquisition-dialog { width: min(94vw, 620px); }
.acquisition-dialog::backdrop { background: rgba(4, 7, 10, 0.68); backdrop-filter: blur(14px); }
.acquisition-dialog[open] { animation: dialog-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.acquisition-dialog-card { display: grid; gap: 18px; }
.acquisition-heading { display: flex; gap: 15px; padding-right: 44px; align-items: center; }
.acquisition-coin { width: 64px; height: 64px; flex: 0 0 64px; overflow: hidden; border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.34), 0 0 20px rgba(228,179,55,.15); }
.acquisition-coin img { display: block; width: 100%; height: 100%; object-fit: cover; }
.acquisition-heading h2 { margin: 4px 0 0; }
.acquisition-heading p { margin: 9px 0 0; color: rgba(241, 238, 229, 0.6); font-size: 13px; line-height: 1.65; }
.acquisition-platform { padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.035); }
.acquisition-platform--taobao { border-color: rgba(238, 175, 76, .3); background: linear-gradient(135deg, rgba(238,175,76,.1), rgba(255,255,255,.025) 45%, rgba(77,156,193,.055)); }
.acquisition-platform-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.acquisition-platform-heading span { display: block; color: rgba(224,232,236,.52); font-size: 10px; font-weight: 780; letter-spacing: .14em; }
.acquisition-platform-heading h3 { margin: 4px 0 0; color: #f5f0e4; font-size: 21px; letter-spacing: .04em; }
.acquisition-platform-heading em { padding: 5px 9px; color: #172016; border: 1px solid rgba(255,255,255,.48); border-radius: 999px; background: #bce6b4; font-size: 10px; font-style: normal; font-weight: 820; }
.acquisition-qr { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 17px; margin-top: 16px; align-items: center; }
.acquisition-qr img { display: block; width: 132px; height: 132px; padding: 8px; box-sizing: border-box; background: #fff; border-radius: 13px; box-shadow: 0 10px 24px rgba(0,0,0,.24); }
.acquisition-qr p { margin: 0; color: rgba(245,241,232,.7); font-size: 13px; font-weight: 650; line-height: 1.68; }
.acquisition-actions { display: grid; margin-top: 17px; }
.acquisition-copy { display: grid; min-height: 46px; place-items: center; padding: 0 14px; color: #2a1604; border: 1px solid rgba(255,235,191,.45); background: linear-gradient(135deg, #ffd17a, #ee9b31); box-shadow: inset 0 1px rgba(255,255,255,.5), 0 8px 20px rgba(222,139,34,.18); font: inherit; font-size: 13px; font-weight: 820; cursor: pointer; border-radius: 12px; transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.acquisition-copy.is-copied { color: #d8edf5; border-color: rgba(130,198,224,.34); background: rgba(92,176,208,.09); box-shadow: none; }
.acquisition-copy:hover { transform: translateY(-1px); }
.acquisition-tip,.acquisition-platform--pending > p { margin: 13px 0 0; color: rgba(234,237,234,.5); font-size: 11px; line-height: 1.7; }
.acquisition-platform--pending { display: flex; justify-content: space-between; gap: 18px; align-items: center; background: rgba(129,145,153,.045); }
.acquisition-platform--pending .acquisition-platform-heading em { color: #d8e1e4; border-color: rgba(203,220,228,.15); background: rgba(205,221,229,.08); }
.acquisition-platform--pending > p { max-width: 255px; margin: 0; }

.friends-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: calc(var(--header-height) + 34px) var(--page-pad) clamp(64px, 8vw, 112px);
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 14% 28%, rgba(79, 145, 174, 0.12), transparent 29%),
    radial-gradient(circle at 88% 72%, rgba(202, 143, 24, 0.12), transparent 31%),
    linear-gradient(150deg, #03060b 0%, #0b0d12 48%, #03050a 100%);
}

.friends-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.friends-section::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(74vw, 1120px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(101, 181, 211, 0.45), rgba(226, 173, 44, 0.5), transparent);
  box-shadow: 0 0 24px rgba(226, 173, 44, 0.18);
  transform: translateX(-50%);
}

.friends-orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(101, 181, 211, 0.065);
  border-radius: 50%;
}

.friends-orbit--one {
  top: -18vw;
  left: -16vw;
  width: 54vw;
  aspect-ratio: 1;
}

.friends-orbit--two {
  right: -12vw;
  bottom: -22vw;
  width: 48vw;
  aspect-ratio: 1;
  border-color: rgba(226, 173, 44, 0.07);
}

.friends-card {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  padding: clamp(34px, 4.7vw, 66px);
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.065), transparent 24%),
    linear-gradient(150deg, rgba(31, 35, 42, 0.98), rgba(11, 14, 19, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 42px 100px rgba(0, 0, 0, 0.5),
    0 0 74px rgba(84, 157, 187, 0.055);
}

.friends-card::before {
  position: absolute;
  inset: 10px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 27px;
}

.friends-intro {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 38px);
  align-items: start;
  padding: 4px 4px clamp(28px, 4vw, 48px);
}

.friends-brand-seal {
  display: grid;
  width: clamp(68px, 7vw, 92px);
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  background: #080c13;
  border: 1px solid rgba(226, 173, 44, 0.5);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34), 0 0 24px rgba(226, 173, 44, 0.12);
}

.friends-brand-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.friends-kicker {
  display: block;
  margin-bottom: 12px;
  color: rgba(229, 190, 88, 0.7);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.22em;
}

.friends-intro h2 {
  max-width: 860px;
  margin: 0;
  color: #f7f3ea;
  font-size: clamp(29px, 3.2vw, 45px);
  font-weight: 730;
  letter-spacing: 0.015em;
  line-height: 1.28;
}

.friends-intro p {
  max-width: 860px;
  margin: 18px 0 0;
  color: rgba(245, 241, 232, 0.58);
  font-size: clamp(18px, 1.75vw, 23px);
  line-height: 1.72;
}

.friends-intro p strong {
  color: rgba(245, 241, 232, 0.84);
  font-weight: 610;
}

.friends-message-button {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 112px;
  padding: 22px clamp(70px, 7vw, 92px) 22px clamp(24px, 3vw, 40px);
  color: #f1dfb1;
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(198, 157, 77, 0.22), rgba(94, 129, 143, 0.13));
  border: 1px solid rgba(234, 205, 139, 0.28);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.friends-message-button:hover {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(198, 157, 77, 0.29), rgba(94, 129, 143, 0.17));
  border-color: rgba(234, 205, 139, 0.42);
  transform: translateY(-2px);
}

.friends-message-button span {
  font-size: clamp(24px, 2.35vw, 33px);
  font-weight: 760;
  letter-spacing: 0.09em;
}

.friends-message-button small {
  display: block;
  color: rgba(245, 241, 232, 0.58);
  font-size: clamp(14px, 1.25vw, 17px);
  letter-spacing: 0.08em;
}

.friends-message-button i {
  position: absolute;
  top: 50%;
  right: clamp(26px, 3vw, 40px);
  color: rgba(240, 204, 111, 0.82);
  font-size: 28px;
  font-style: normal;
  transform: translateY(-50%);
}

.friends-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.friends-contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 306px;
  padding: clamp(18px, 2vw, 26px);
  overflow: hidden;
  background: rgba(6, 9, 14, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.friends-contact-card h3 {
  display: grid;
  width: 100%;
  min-height: 3em;
  margin: 0 0 16px;
  color: rgba(247, 243, 234, 0.94);
  font-size: clamp(15px, 1.35vw, 20px);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.5;
  place-items: center;
}

.friends-qr-wrap {
  width: min(228px, 100%);
  padding: 10px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.friends-qr-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 11px;
}

.friends-qr-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.friends-qr-link:hover {
  border-color: rgba(226, 190, 112, 0.32);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.site-signature {
  position: relative;
  display: grid;
  min-height: clamp(300px, 32vw, 440px);
  padding: clamp(76px, 9vw, 126px) var(--page-pad) clamp(86px, 10vw, 142px);
  overflow: hidden;
  text-align: center;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(64, 105, 130, 0.075), transparent 34%),
    radial-gradient(circle at 50% 66%, rgba(167, 119, 31, 0.045), transparent 29%),
    linear-gradient(180deg, #03050a 0%, #020409 62%, #010307 100%);
}

.site-signature::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(68vw, 920px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(139, 163, 179, 0.18), rgba(213, 171, 76, 0.2), transparent);
  transform: translateX(-50%);
}

.site-signature::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(52vw, 680px);
  aspect-ratio: 3 / 1;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(157, 178, 191, 0.035);
  border-radius: 50%;
  filter: blur(0.2px);
  transform: translate(-50%, -50%);
}

.site-signature-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(13px, 1.45vw, 20px);
  align-items: center;
}

.site-signature-lockup::before {
  width: 52px;
  height: 1px;
  margin-bottom: clamp(10px, 1vw, 15px);
  content: "";
  background: linear-gradient(90deg, transparent, rgba(220, 226, 229, 0.42), transparent);
  box-shadow: 0 0 12px rgba(152, 185, 203, 0.1);
}

.site-signature-line {
  margin: 0;
  color: rgba(221, 227, 230, 0.84);
  line-height: 1;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.site-signature-xch {
  padding-left: 0.28em;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 760;
  letter-spacing: 0.28em;
  background-image: var(--xch-metal-blue);
}

.site-signature-club {
  padding-left: 0.14em;
  font-size: clamp(20px, 2.25vw, 31px);
  font-weight: 660;
  letter-spacing: 0.14em;
  background-image: linear-gradient(176deg, #6f511e 4%, #c7a451 34%, #f0d987 48%, #a97c28 59%, #5b421d 92%);
}

.site-signature-motto {
  padding-left: 0.5em;
  font-size: clamp(15px, 1.55vw, 21px);
  font-weight: 560;
  letter-spacing: 0.5em;
  background-image: linear-gradient(176deg, #626a70 5%, #b8c0c5 34%, #eef1f2 48%, #969ea3 59%, #50575c 92%);
}

.friends-dialog {
  width: min(94vw, 680px);
  max-width: none;
  max-height: 94svh;
  padding: 0;
  color: #f6f3eb;
  background: transparent;
  border: 0;
}

.friends-dialog::backdrop {
  background: rgba(4, 6, 9, 0.68);
  backdrop-filter: blur(12px);
}

.friends-dialog[open] {
  animation: dialog-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.friends-dialog-card {
  position: relative;
  display: flex;
  height: min(78svh, 700px);
  min-height: 520px;
  max-height: 90svh;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(221, 165, 28, 0.14), transparent 32%),
    radial-gradient(circle at 0 100%, rgba(78, 145, 173, 0.09), transparent 36%),
    linear-gradient(145deg, #1a1d21, #0f1217);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.46);
}

.friends-dialog .dialog-close {
  z-index: 2;
}

.friends-chat-header {
  display: flex;
  min-height: 78px;
  padding: 17px 70px 17px 22px;
  flex: 0 0 auto;
  gap: 13px;
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.friends-chat-avatar {
  width: 44px;
  aspect-ratio: 1;
  flex: 0 0 44px;
  overflow: hidden;
  background: #c9a752;
  border: 1px solid rgba(239, 211, 138, 0.48);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.friends-chat-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friends-chat-header h2 {
  margin: 0;
  color: #f5f1e8;
  font-size: 20px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.friends-chat-log {
  display: flex;
  min-height: 0;
  padding: 26px 22px;
  overflow-y: auto;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  background:
    radial-gradient(circle at 12% 12%, rgba(106, 151, 173, 0.055), transparent 32%),
    rgba(3, 6, 10, 0.18);
}

.friends-chat-message {
  width: fit-content;
  max-width: min(82%, 470px);
  padding: 13px 16px;
  color: rgba(247, 243, 234, 0.86);
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.friends-chat-message--old-dog {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 5px 17px 17px 17px;
}

.friends-chat-message--user {
  align-self: flex-end;
  color: #1a150b;
  background: linear-gradient(135deg, #e9ca78, #c7983f);
  border-color: rgba(255, 228, 158, 0.4);
  border-radius: 17px 5px 17px 17px;
}

.friends-chat-composer {
  display: grid;
  padding: 15px 16px;
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 11px;
  align-items: end;
  background: rgba(8, 11, 15, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.friends-chat-composer textarea {
  width: 100%;
  min-height: 48px;
  max-height: 128px;
  padding: 13px 15px;
  color: #f5f1e8;
  resize: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  outline: none;
}

.friends-chat-composer textarea:focus {
  border-color: rgba(226, 173, 44, 0.52);
  box-shadow: 0 0 0 3px rgba(226, 173, 44, 0.08);
}

.friends-chat-send {
  min-width: 78px;
  min-height: 48px;
  padding: 0 18px;
  color: #171208;
  font-weight: 820;
  cursor: pointer;
  background: linear-gradient(135deg, #efcb66, #c89324);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(172, 105, 0, 0.18);
}

.friends-chat-send:disabled,
.friends-chat-composer textarea:disabled {
  cursor: wait;
  opacity: 0.58;
}

.wallet-section {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 44px) var(--page-pad) clamp(72px, 8vw, 120px);
  overflow: hidden;
  scroll-margin-top: 0;
  background:
    radial-gradient(circle at 9% 22%, rgba(75, 142, 170, 0.13), transparent 28%),
    radial-gradient(circle at 92% 43%, rgba(203, 143, 25, 0.12), transparent 31%),
    linear-gradient(150deg, #020408 0%, #090c12 46%, #03050a 100%);
}

.wallet-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.wallet-section::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(76vw, 1160px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(101, 181, 211, 0.56), rgba(226, 173, 44, 0.48), transparent);
  box-shadow: 0 0 26px rgba(94, 169, 199, 0.2);
  transform: translateX(-50%);
}

.wallet-orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(101, 181, 211, 0.06);
  border-radius: 50%;
}

.wallet-orbit--one {
  top: 8%;
  left: -22vw;
  width: 56vw;
  aspect-ratio: 1;
}

.wallet-orbit--two {
  right: -18vw;
  bottom: 1%;
  width: 48vw;
  aspect-ratio: 1;
  border-color: rgba(226, 173, 44, 0.06);
}

.wallet-shell {
  position: relative;
  z-index: 2;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.wallet-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 6px 28px;
}

.wallet-kicker {
  display: block;
  color: rgba(232, 190, 79, 0.72);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.2em;
}

.wallet-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: 0.08em;
  line-height: 1;
}

.wallet-heading p {
  max-width: 410px;
  margin: 0 0 4px;
  color: rgba(245, 241, 232, 0.44);
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.wallet-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.asset-card,
.movement-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.062), transparent 27%),
    linear-gradient(145deg, rgba(30, 34, 40, 0.98), rgba(10, 13, 18, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 32px 72px rgba(0, 0, 0, 0.34);
}

.asset-card::before,
.movement-card::before {
  position: absolute;
  inset: 8px;
  z-index: -1;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: inherit;
}

.asset-card {
  display: flex;
  min-height: 580px;
  padding: 28px 28px 20px;
  flex-direction: column;
  border-radius: 28px;
}

.asset-card--dogs::after,
.asset-card--doge::after {
  position: absolute;
  top: 0;
  left: 12%;
  width: 30%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, #e2ad2c, transparent);
  box-shadow: 0 0 18px rgba(226, 173, 44, 0.34);
}

.asset-card--doge::after {
  right: 12%;
  left: auto;
  background: linear-gradient(90deg, transparent, #78bfd8, transparent);
  box-shadow: 0 0 18px rgba(101, 181, 211, 0.34);
}

.asset-card-summary {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 128px;
  padding: 18px 22px;
  margin-bottom: 25px;
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 255, 255, 0.09), transparent 35%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 34px rgba(0, 0, 0, 0.2);
}

.asset-logo {
  display: grid;
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  overflow: hidden;
  place-items: center;
  background: #070a10;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 23px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 15px 28px rgba(0, 0, 0, 0.26);
}

.asset-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-logo--dog {
  padding: 4px;
  background: linear-gradient(145deg, #24252a, #07090e);
  border-radius: 50%;
}

.asset-logo--dog img {
  image-rendering: auto;
  border-radius: 50%;
}

.asset-logo--doge {
  padding: 5px;
  background: linear-gradient(145deg, #efe1a7, #9b7724);
  border-radius: 50%;
}

.asset-logo--doge img {
  object-fit: contain;
  border-radius: 50%;
}

.asset-card-summary > div {
  min-width: 0;
}

.asset-card-summary > div > span {
  display: block;
  margin-bottom: 5px;
  color: rgba(245, 241, 232, 0.56);
  font-size: 14px;
  font-weight: 680;
  letter-spacing: 0.08em;
}

.asset-card-summary strong {
  display: block;
  color: #efc554;
  font-size: 17px;
  font-weight: 650;
  white-space: nowrap;
}

.asset-card-summary strong b {
  margin-right: 5px;
  font-size: clamp(37px, 4vw, 54px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
}

.asset-card-summary small {
  display: block;
  margin-top: 7px;
  color: rgba(245, 241, 232, 0.4);
  font-size: 11px;
}

.asset-table {
  display: grid;
  flex: 1;
  align-content: start;
}

.asset-table-head,
.asset-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(88px, 0.78fr) minmax(78px, 0.62fr);
  gap: 14px;
  align-items: center;
}

.asset-table-head {
  min-height: 34px;
  padding: 0 8px 9px;
  color: rgba(245, 241, 232, 0.35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.asset-table-head span:nth-child(2),
.asset-table-head span:nth-child(3),
.asset-table-row > :nth-child(2),
.asset-table-row > :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.asset-table-row {
  width: 100%;
  min-height: 72px;
  padding: 11px 8px;
  color: rgba(245, 241, 232, 0.8);
  font-size: 15px;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

button.asset-table-row {
  cursor: pointer;
  border-radius: 11px;
  transition: background 180ms ease, transform 180ms ease;
}

button.asset-table-row:hover {
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(2px);
}

.asset-table-row strong {
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.dog-identity {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  font-weight: 700;
}

.dog-identity img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: cover;
  image-rendering: pixelated;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.status-text {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 14px;
  font-weight: 730;
  white-space: nowrap;
}

.status-text i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.tone-positive {
  color: #6fdfa1 !important;
}

.tone-danger {
  color: #ff776d !important;
}

.tone-neutral {
  color: rgba(248, 245, 237, 0.82) !important;
}

.tone-warning {
  color: #efc75d !important;
}

.wallet-expand {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px 0;
  color: rgba(245, 241, 232, 0.52);
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.wallet-expand i {
  color: #e5bd53;
  font-size: 20px;
  font-style: normal;
  line-height: 1;
  transition: transform 180ms ease;
}

.wallet-expand:hover i {
  transform: translateX(3px);
}

.movement-card {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(510px, 1.14fr);
  min-height: 520px;
  margin-top: 22px;
  border-radius: 30px;
}

.movement-tools,
.movement-ledger {
  min-width: 0;
  padding: clamp(30px, 3.8vw, 48px);
}

.movement-tools {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.movement-tools header,
.movement-ledger header {
  margin-bottom: 25px;
}

.movement-tools h3,
.movement-ledger h3 {
  margin: 7px 0 0;
  font-size: clamp(27px, 2.8vw, 38px);
  letter-spacing: 0.03em;
}

.movement-tools header p,
.movement-ledger header p {
  margin: 10px 0 0;
  color: rgba(245, 241, 232, 0.42);
  font-size: 12px;
  line-height: 1.65;
}

.movement-actions {
  display: grid;
  gap: 10px;
}

.movement-actions button {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 15px 16px;
  color: rgba(245, 241, 232, 0.78);
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.045), transparent 60%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.movement-actions button:hover {
  background: rgba(226, 173, 44, 0.055);
  border-color: rgba(226, 173, 44, 0.22);
  transform: translateY(-2px);
}

.movement-actions .movement-action--gold {
  background:
    linear-gradient(120deg, rgba(235, 211, 151, 0.25), rgba(167, 132, 58, 0.15) 46%, transparent 78%),
    rgba(139, 105, 39, 0.15);
  border-color: rgba(222, 194, 124, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 188, 0.22),
    inset 0 -18px 28px rgba(81, 56, 12, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.13);
}

.movement-actions .movement-action--silver {
  background:
    linear-gradient(120deg, rgba(231, 236, 238, 0.22), rgba(154, 167, 173, 0.14) 48%, transparent 78%),
    rgba(123, 136, 142, 0.14);
  border-color: rgba(216, 225, 229, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.21),
    inset 0 -18px 28px rgba(65, 78, 84, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.13);
}

.movement-actions .movement-action--bronze {
  background:
    linear-gradient(120deg, rgba(219, 174, 133, 0.24), rgba(151, 91, 52, 0.15) 48%, transparent 78%),
    rgba(125, 73, 40, 0.16);
  border-color: rgba(209, 157, 115, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 184, 0.2),
    inset 0 -18px 28px rgba(75, 39, 18, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.13);
}

.movement-actions .movement-action--gold:hover {
  background:
    linear-gradient(120deg, rgba(241, 220, 164, 0.31), rgba(174, 139, 61, 0.2) 48%, transparent 78%),
    rgba(149, 113, 42, 0.2);
  border-color: rgba(228, 202, 137, 0.48);
}

.movement-actions .movement-action--silver:hover {
  background:
    linear-gradient(120deg, rgba(239, 242, 244, 0.28), rgba(164, 177, 183, 0.2) 48%, transparent 78%),
    rgba(130, 144, 150, 0.19);
  border-color: rgba(225, 232, 235, 0.43);
}

.movement-actions .movement-action--bronze:hover {
  background:
    linear-gradient(120deg, rgba(228, 184, 144, 0.3), rgba(161, 99, 57, 0.2) 48%, transparent 78%),
    rgba(136, 80, 44, 0.21);
  border-color: rgba(219, 170, 129, 0.46);
}

.movement-action-icon {
  display: grid;
  width: 45px;
  height: 45px;
  color: #edc55a;
  font-size: 20px;
  font-weight: 800;
  background: rgba(226, 173, 44, 0.09);
  border: 1px solid rgba(226, 173, 44, 0.17);
  border-radius: 13px;
  place-items: center;
  overflow: hidden;
}

.movement-action-icon img,
.movement-action-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.movement-action-icon--dog {
  padding: 2px;
  border-radius: 50%;
}

.movement-action-icon--dog img {
  object-fit: cover;
  image-rendering: pixelated;
  border-radius: 50%;
}

.movement-action-icon--blockchain {
  color: #d4dadd;
  background: rgba(208, 218, 222, 0.075);
  border-color: rgba(213, 221, 224, 0.16);
}

.movement-action-icon--blockchain svg {
  padding: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.movement-action-icon--alipay {
  color: #d0a574;
  background: rgba(140, 87, 48, 0.12);
  border-color: rgba(201, 151, 111, 0.2);
}

.movement-action-icon--alipay svg rect {
  fill: #c89a65;
}

.movement-action-icon--alipay svg text {
  fill: #17130f;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 23px;
  font-weight: 850;
}

.movement-actions button > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.movement-actions strong {
  font-size: 15px;
}

.movement-actions small {
  color: rgba(245, 241, 232, 0.4);
  font-size: 11px;
  line-height: 1.5;
}

.movement-actions button > i {
  color: rgba(245, 241, 232, 0.32);
  font-size: 24px;
  font-style: normal;
}

.movement-ledger header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.movement-ledger header p {
  margin: 0 0 5px;
  white-space: nowrap;
}

.movement-table {
  display: grid;
}

.movement-table-head,
.movement-table-row {
  display: grid;
  grid-template-columns: minmax(100px, 1.1fr) minmax(66px, 0.7fr) minmax(76px, 0.8fr) minmax(68px, 0.7fr);
  gap: 12px;
  align-items: center;
}

.movement-table-head {
  min-height: 42px;
  padding: 0 12px;
  color: rgba(245, 241, 232, 0.34);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.movement-table-row {
  width: 100%;
  min-height: 86px;
  padding: 14px 12px;
  color: rgba(245, 241, 232, 0.72);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  transition: background 180ms ease, transform 180ms ease;
}

.movement-table-row:hover {
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(2px);
}

.movement-table-row strong {
  color: rgba(245, 241, 232, 0.88);
  font-size: 14px;
}

.movement-table-row time {
  color: rgba(245, 241, 232, 0.4);
  font-size: 13px;
}

.ledger-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
  border-radius: 999px;
}

.ledger-status--processing {
  color: #efc75d;
  background: rgba(226, 173, 44, 0.09);
  border: 1px solid rgba(226, 173, 44, 0.18);
}

.ledger-status--completed {
  color: #70dda0;
  background: rgba(78, 207, 135, 0.08);
  border: 1px solid rgba(78, 207, 135, 0.16);
}

.ledger-status--rejected {
  color: #ff7d73;
  background: rgba(255, 93, 82, 0.08);
  border: 1px solid rgba(255, 93, 82, 0.16);
}

.wallet-dialog {
  width: min(94vw, 620px);
  max-width: none;
  max-height: 94svh;
  padding: 0;
  color: #f6f3eb;
  background: transparent;
  border: 0;
  border-radius: 26px;
}

.wallet-record-dialog {
  width: min(94vw, 540px);
}

.wallet-list-dialog {
  width: min(94vw, 780px);
}

.wallet-dialog::backdrop {
  background: rgba(3, 5, 9, 0.76);
  backdrop-filter: blur(14px);
}

.wallet-dialog[open] {
  animation: dialog-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.wallet-dialog-card {
  position: relative;
  max-height: 90svh;
  padding: 36px clamp(25px, 5vw, 42px) 40px;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0, rgba(226, 173, 44, 0.16), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(73, 145, 175, 0.09), transparent 38%),
    linear-gradient(145deg, #1b1e23, #0d1015);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 38px 96px rgba(0, 0, 0, 0.48);
  scrollbar-color: rgba(231, 192, 91, 0.36) transparent;
  scrollbar-width: thin;
}

.wallet-list-dialog-card {
  display: flex;
  height: auto;
  max-height: 90svh;
  padding-bottom: 24px;
  overflow: hidden;
  flex-direction: column;
}

.wallet-list-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-right: 44px;
  margin-bottom: 22px;
  flex: 0 0 auto;
}

.wallet-list-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.02em;
}

.wallet-list-heading p {
  margin: 8px 0 0;
  color: rgba(245, 241, 232, 0.48);
  font-size: 12px;
  line-height: 1.55;
}

.wallet-dialog-logo--dog {
  padding: 3px;
  background: linear-gradient(145deg, #282a30, #07090e);
}

.wallet-dialog-logo--dog img {
  object-fit: cover;
  image-rendering: pixelated;
}

.wallet-list-scroll {
  min-height: 0;
  max-height: min(62svh, 520px);
  padding: 0 14px 2px 4px;
  overflow-x: hidden;
  overflow-y: auto;
  flex: 0 1 auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(231, 192, 91, 0.36) transparent;
  scrollbar-width: thin;
}

.wallet-list-table {
  display: grid;
  min-width: 0;
  flex: none;
}

.wallet-list-table.asset-table--dogs .asset-table-head,
.wallet-list-table.asset-table--dogs .asset-table-row {
  grid-template-columns: minmax(150px, 1.2fr) minmax(100px, 0.75fr) minmax(90px, 0.65fr);
}

.wallet-list-table.asset-table--doge .asset-table-head,
.wallet-list-table.asset-table--doge .asset-table-row {
  grid-template-columns: minmax(150px, 1.2fr) minmax(120px, 0.8fr) minmax(70px, 0.45fr);
}

.wallet-list-table .asset-table-row > * {
  min-width: 0;
}

.wallet-list-table.asset-table--doge .asset-table-row > span:first-child,
.wallet-list-table.asset-table--doge .asset-table-row > time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-list-table .asset-table-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 44px;
  padding-top: 10px;
  background: linear-gradient(to bottom, #171a20 78%, rgba(23, 26, 32, 0));
}

.wallet-list-table .asset-table-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.wallet-dialog-heading,
.wallet-record-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-right: 42px;
  margin-bottom: 26px;
}

.wallet-dialog-logo {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  padding: 4px;
  overflow: hidden;
  background: linear-gradient(145deg, #f2e0a0, #8c6b20);
  border: 1px solid rgba(255, 235, 164, 0.36);
  border-radius: 50%;
  place-items: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.wallet-dialog-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.wallet-dialog-heading h2,
.wallet-record-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.02em;
}

.wallet-dialog-heading p {
  margin: 8px 0 0;
  color: rgba(245, 241, 232, 0.5);
  font-size: 12px;
  line-height: 1.55;
}

.wallet-action-fields {
  display: grid;
  gap: 16px;
}

.wallet-action-fields[hidden] {
  display: none;
}

.wallet-field {
  display: grid;
  gap: 8px;
  color: rgba(245, 241, 232, 0.68);
  font-size: 13px;
  font-weight: 650;
}

.wallet-field input,
.wallet-field select {
  width: 100%;
  min-height: 49px;
  padding: 13px 14px;
  color: #fff;
  font: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  outline: none;
}

.wallet-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.52) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.52) 50%, transparent 50%);
  background-repeat: no-repeat;
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px;
}

.wallet-field input:focus,
.wallet-field select:focus {
  border-color: rgba(226, 173, 44, 0.62);
  box-shadow: 0 0 0 3px rgba(226, 173, 44, 0.09);
}

.wallet-field input::placeholder {
  color: rgba(255, 255, 255, 0.27);
}

.wallet-field input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.wallet-field input[type="number"]::-webkit-inner-spin-button,
.wallet-field input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.wallet-field small {
  color: rgba(245, 241, 232, 0.4);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.55;
}

.wallet-amount-field {
  position: relative;
  display: block;
}

.wallet-amount-field input {
  padding-right: 76px;
}

.wallet-amount-field i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #e9c25a;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.08em;
  transform: translateY(-50%);
}

.wallet-fee-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: rgba(245, 241, 232, 0.48);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.wallet-fee-summary strong {
  color: #70dda0;
  font-size: 13px;
}

.wallet-care-note {
  padding: 14px 16px;
  background: rgba(101, 181, 211, 0.055);
  border: 1px solid rgba(101, 181, 211, 0.13);
  border-radius: 13px;
}

.wallet-care-note--warm {
  background: rgba(226, 173, 44, 0.065);
  border-color: rgba(226, 173, 44, 0.17);
}

.wallet-care-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.wallet-care-note p {
  margin: 0;
  color: rgba(245, 241, 232, 0.48);
  font-size: 11px;
  line-height: 1.65;
}

.wallet-submit {
  width: 100%;
  min-height: 50px;
  padding: 14px;
  margin-top: 20px;
  color: #191408;
  font-size: 15px;
  font-weight: 820;
  cursor: pointer;
  background: linear-gradient(135deg, #f2ca58, #d49a12);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(172, 105, 0, 0.2);
}

.wallet-submit:disabled {
  cursor: not-allowed;
  color: rgba(25, 20, 8, 0.62);
  background: linear-gradient(135deg, #bda25d, #91752e);
  box-shadow: none;
}

.wallet-action-availability {
  margin: 0 0 18px;
  padding: 11px 13px;
  color: rgba(245, 241, 232, 0.66);
  font-size: 12px;
  line-height: 1.55;
  background: rgba(226, 173, 44, 0.07);
  border: 1px solid rgba(226, 173, 44, 0.18);
  border-radius: 12px;
}

.wallet-record-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  color: #efc75d;
  font-size: 22px;
  font-weight: 800;
  background: rgba(226, 173, 44, 0.09);
  border: 1px solid rgba(226, 173, 44, 0.19);
  border-radius: 17px;
  place-items: center;
  overflow: hidden;
}

.wallet-record-symbol [hidden] {
  display: none !important;
}

.wallet-record-symbol img,
.wallet-record-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wallet-record-symbol--dog {
  padding: 2px;
  border-radius: 50%;
}

.wallet-record-symbol--dog img {
  object-fit: cover;
  image-rendering: pixelated;
  border-radius: 50%;
}

.wallet-record-symbol--blockchain {
  color: #d5dcdf;
  background: rgba(208, 218, 222, 0.075);
  border-color: rgba(213, 221, 224, 0.17);
}

.wallet-record-symbol--blockchain svg {
  padding: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wallet-record-symbol--alipay {
  color: #d0a574;
  background: rgba(140, 87, 48, 0.13);
  border-color: rgba(201, 151, 111, 0.22);
}

.wallet-record-symbol--alipay svg rect {
  fill: #c89a65;
}

.wallet-record-symbol--alipay svg text {
  fill: #17130f;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 23px;
  font-weight: 850;
}

.wallet-record-details {
  display: grid;
  margin: 0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
}

.wallet-record-details > div {
  display: flex;
  gap: 20px;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.wallet-record-details > div:last-child {
  border-bottom: 0;
}

.wallet-record-details dt,
.wallet-record-details dd {
  margin: 0;
}

.wallet-record-details dt {
  color: rgba(245, 241, 232, 0.43);
  font-size: 14px;
}

.wallet-record-details dd {
  max-width: 70%;
  color: rgba(245, 241, 232, 0.82);
  font-size: 15px;
  font-weight: 680;
  text-align: right;
  overflow-wrap: anywhere;
}

.wallet-record-copy {
  padding: 15px 16px;
  margin: 16px 0 0;
  color: rgba(245, 241, 232, 0.54);
  font-size: 13px;
  line-height: 1.7;
  background: rgba(101, 181, 211, 0.045);
  border-left: 2px solid rgba(101, 181, 211, 0.45);
  border-radius: 0 11px 11px 0;
}

.auth-dialog {
  width: min(94vw, 680px);
  max-width: none;
  max-height: 94svh;
  padding: 0;
  color: #f6f3eb;
  background: transparent;
  border: 0;
  border-radius: 26px;
}

.auth-dialog::backdrop {
  background: rgba(10, 10, 9, 0.54);
  backdrop-filter: blur(12px);
}

.auth-dialog[open] {
  animation: dialog-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dialog-card {
  position: relative;
  max-height: min(90svh, 880px);
  padding: 36px clamp(28px, 5vw, 48px) 40px;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0, rgba(221, 165, 28, 0.16), transparent 33%),
    radial-gradient(circle at 0 100%, rgba(78, 145, 173, 0.08), transparent 36%),
    linear-gradient(145deg, #1a1c1f, #101318);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
  scrollbar-color: rgba(231, 192, 91, 0.36) transparent;
  scrollbar-width: thin;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  place-items: center;
}

.dialog-close span {
  margin-top: -3px;
  font-size: 25px;
  font-weight: 300;
}

.auth-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-right: 42px;
  margin-bottom: 26px;
}

.auth-heading-logo {
  display: block;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  margin-top: -4px;
  object-fit: cover;
  opacity: 0;
  filter: brightness(1.18) contrast(1.1) saturate(1.18) drop-shadow(0 0 9px rgba(100, 187, 255, 0.3));
  transition: opacity 180ms ease;
}

.auth-heading-logo.is-ready {
  opacity: 1;
}

.dialog-brand {
  display: block;
  margin-bottom: 8px;
  color: rgba(240, 206, 119, 0.68);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.dialog-card h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 36px);
  letter-spacing: -0.03em;
}

.dialog-intro {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.65;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.auth-tabs[hidden] {
  display: none;
}

.auth-tab {
  padding: 10px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 9px;
}

.auth-tab.is-active {
  color: #171714;
  font-weight: 720;
  background: #f1c03b;
}

.auth-panel {
  display: grid;
  gap: 18px;
}

.auth-panel[hidden],
.register-section[hidden] {
  display: none;
}

.register-section,
.recovery-section {
  display: grid;
  gap: 16px;
}

.auth-field {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.auth-field > span:first-child {
  font-weight: 650;
}

.auth-field small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.55;
}

.auth-field > input,
.password-field input {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: #fff;
  font: inherit;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  outline: none;
}

.auth-field > input:focus,
.password-field input:focus {
  border-color: rgba(241, 192, 59, 0.74);
  box-shadow: 0 0 0 3px rgba(241, 192, 59, 0.1);
}

.auth-field input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 16px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 7px;
  padding: 8px 10px;
  color: #efc75d;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  background: rgba(239, 199, 93, 0.08);
  border: 1px solid rgba(239, 199, 93, 0.1);
  border-radius: 8px;
  transform: translateY(-50%);
}

.auth-care-note,
.auth-critical-note {
  padding: 15px 16px;
  border-radius: 14px;
}

.auth-care-note strong,
.auth-critical-note strong {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.auth-care-note p,
.auth-critical-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  line-height: 1.65;
}

.auth-care-note--quiet {
  background: rgba(101, 181, 211, 0.055);
  border: 1px solid rgba(101, 181, 211, 0.13);
}

.auth-care-note--warm {
  background: rgba(226, 173, 44, 0.065);
  border: 1px solid rgba(226, 173, 44, 0.16);
}

.auth-critical-note {
  background: rgba(226, 173, 44, 0.08);
  border: 1px solid rgba(226, 173, 44, 0.24);
}

.auth-critical-note ol {
  display: grid;
  gap: 4px;
  padding-left: 20px;
  margin: 8px 0 10px;
  color: #ecd99e;
  font-size: 12px;
  line-height: 1.5;
}

.auth-critical-note--compact {
  padding: 14px 15px;
}

.account-dialog-card {
  background:
    radial-gradient(circle at 100% 0, rgba(62, 137, 177, 0.16), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(46, 92, 120, 0.1), transparent 38%),
    linear-gradient(145deg, #181c21, #0e1217);
}

.account-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  padding: 18px;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 88% 18%, rgba(122, 185, 214, 0.14), transparent 34%),
    rgba(77, 143, 172, 0.065);
  border: 1px solid rgba(101, 181, 211, 0.2);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.account-identity > div {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.account-identity span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.account-identity strong {
  overflow: hidden;
  color: #9ac9dd;
  font-size: clamp(23px, 4vw, 30px);
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  user-select: all;
  white-space: nowrap;
}

.account-identity button {
  min-height: 42px;
  padding: 10px 14px;
  color: #b9dce9;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  background: rgba(101, 181, 211, 0.09);
  border: 1px solid rgba(101, 181, 211, 0.2);
  border-radius: 10px;
}

.account-identity button:hover {
  color: #dcf3fb;
  background: rgba(101, 181, 211, 0.14);
}

.account-identity p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.6;
}

.account-tabs {
  margin-bottom: 20px;
}

.account-tab {
  min-width: 0;
  font-size: 13px;
}

.account-security-panel {
  gap: 16px;
}

.auth-options {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.auth-check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  cursor: pointer;
}

.auth-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #dfaa2b;
}

.auth-text-button,
.auth-switch-copy button,
.auth-back-button {
  padding: 0;
  color: #e8c76c;
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.auth-text-button {
  font-size: 12px;
}

.auth-switch-copy,
.auth-support-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.auth-switch-copy button {
  margin-left: 5px;
}

.auth-back-button {
  justify-self: start;
  margin-bottom: -2px;
  font-size: 12px;
}

.form-submit {
  min-height: 49px;
  margin-top: 4px;
  padding: 14px;
  color: #17140c;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #f1cb58, #d69d12);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(176, 116, 0, 0.2);
}

.form-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 18px;
  color: #fff;
  font-size: 13px;
  background: rgba(19, 19, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes art-arrive {
  from {
    opacity: 0;
    transform: scale(1.025) translateX(16px);
  }
  to {
    opacity: 1;
    transform: scale(1.01) translateX(0);
  }
}

.record-status {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
}

.record-status--completed {
  color: #70dda0 !important;
  background: rgba(78, 207, 135, 0.08);
  border: 1px solid rgba(78, 207, 135, 0.16);
}

.record-status--rejected {
  color: #ff7d73 !important;
  background: rgba(255, 93, 82, 0.08);
  border: 1px solid rgba(255, 93, 82, 0.16);
}

.record-status--processing {
  color: #efc75d !important;
  background: rgba(226, 173, 44, 0.09);
  border: 1px solid rgba(226, 173, 44, 0.18);
}

.record-status--neutral {
  color: rgba(248, 245, 237, 0.82) !important;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes mark-arrive {
  from {
    opacity: 0;
    transform: rotate(-2deg) scale(0.94);
  }
  to {
    opacity: var(--mark-opacity);
    transform: rotate(-2deg) scale(1);
  }
}

@keyframes copy-arrive {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes coins-arrive {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes silver-coin-flip {
  0%,
  32% {
    transform: rotateY(0deg);
  }
  43%,
  75% {
    transform: rotateY(180deg);
  }
  86%,
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes gold-coin-flip {
  0%,
  40% {
    transform: rotateX(0deg);
  }

  50%,
  90% {
    transform: rotateX(180deg);
  }

  100% {
    transform: rotateX(360deg);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-aspect-ratio: 17 / 10) {
  .hero-backdrop {
    background-position: center center;
  }

  .coin-cluster {
    top: 57%;
  }

  .palm-light {
    top: 75%;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
    --page-pad: clamp(18px, 4vw, 32px);
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .brand-mark {
    width: 38px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 17px;
  }

  .main-nav {
    gap: 1px;
    padding: 4px;
  }

  .nav-link {
    min-width: auto;
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero {
    height: max(100svh, 760px);
    min-height: 760px;
  }

  .hero-mascot {
    top: auto;
    right: -26vw;
    bottom: -3%;
    left: auto;
    width: 126vw;
    transform: none;
  }

  .hero-mascot.is-ready {
    transform: none;
  }

  .cosmic-mark {
    --mark-opacity: 0.2;
    top: 28%;
    left: 35%;
    width: min(84vw, 820px);
    opacity: var(--mark-opacity);
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(1, 3, 8, 0.7), rgba(1, 3, 8, 0.18) 70%, transparent),
      linear-gradient(to bottom, rgba(1, 3, 8, 0.42), transparent 34%);
  }

  .hero-copy {
    top: 14%;
    left: var(--page-pad);
    width: 76vw;
  }

  .slogan-cn {
    font-size: clamp(34px, 7vw, 48px);
  }

  .slogan-doge {
    font-size: clamp(45px, 10.8vw, 68px);
  }

  .coin-cluster {
    top: 57%;
    left: 10%;
    width: clamp(215px, 53vw, 270px);
  }

  .palm-light {
    top: 74%;
    left: 14%;
    width: 40vw;
  }

  .wallet-section {
    padding-top: calc(var(--header-height) + 30px);
  }

  .wallet-overview-grid,
  .movement-card {
    grid-template-columns: 1fr;
  }

  .asset-card {
    min-height: 0;
  }

  .movement-tools {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .friends-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .store-section {
    min-height: max(100svh, 760px);
    padding-top: calc(var(--header-height) + 22px);
    padding-bottom: 34px;
  }

  .store-heading {
    margin-bottom: 16px;
  }

  .product-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 28px;
  }

  .product-visual {
    height: clamp(280px, 38vh, 340px);
    margin: 12px 12px 0;
    border-radius: 20px;
  }

  .product-index {
    top: 18px;
    left: 18px;
  }

  .product-mascot {
    inset: 1% 5% 0;
    width: 90%;
    height: 99%;
  }

  .product-info {
    padding: 26px 26px 22px;
  }

  .product-title-row {
    padding-bottom: 20px;
  }

  .product-title-row h2 {
    font-size: clamp(40px, 8vw, 52px);
  }

  .product-stat {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
  }

  .product-stat dt {
    font-size: 18px;
  }

  .product-stat dd {
    font-size: clamp(20px, 4.3vw, 25px);
    line-height: 1.38;
  }

  .product-stat--price dd {
    font-size: clamp(23px, 5vw, 29px);
  }

  .product-card-footer {
    padding-top: 16px;
  }

  .product-invite-button {
    margin: 16px 0 0;
  }

  .friends-section {
    padding: calc(var(--header-height) + 24px) 24px 44px;
  }

  .friends-card {
    padding: 30px;
    border-radius: 28px;
  }

  .friends-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 8px;
    align-items: center;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: 34px;
  }

  .brand-name {
    font-size: 15px;
    letter-spacing: 0.07em;
    line-height: 1;
    white-space: nowrap;
  }

  .main-nav {
    min-width: 0;
    background: rgba(4, 8, 14, 0.82);
  }

  .nav-link {
    min-width: 0;
    padding: 8px 9px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hero-copy {
    top: 15%;
  }

  .slogan-cn {
    letter-spacing: 0.16em;
  }

  .hero-mascot {
    top: auto;
    right: -35vw;
    bottom: 0;
    width: 160vw;
    transform: none;
  }

  .hero-mascot.is-ready {
    transform: none;
  }

  .cosmic-mark {
    --mark-opacity: 0.16;
    top: 37%;
    left: 24%;
    width: 116vw;
    opacity: var(--mark-opacity);
  }

  .coin-cluster {
    top: 58.5%;
    left: 6%;
    width: 205px;
    height: 146px;
  }

  .coin--login {
    width: 84px;
  }

  .coin--login .coin-label {
    font-size: 30px;
  }

  .coin--go {
    width: 98px;
  }

  .palm-light {
    top: 76%;
    left: 7%;
    width: 44vw;
  }

  .dialog-card {
    max-height: 92svh;
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .auth-field input,
  .password-field input,
  .wallet-field input,
  .wallet-field select,
  .friends-chat-composer textarea {
    font-size: 16px;
  }

  .auth-dialog {
    width: 96vw;
  }

  .auth-heading {
    gap: 12px;
    padding-right: 36px;
    margin-bottom: 20px;
  }

  .auth-heading-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    margin-top: -3px;
  }

  .dialog-brand {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .dialog-card h2 {
    font-size: 27px;
  }

  .dialog-intro {
    margin-top: 6px;
    font-size: 12px;
  }

  .auth-tabs {
    margin-bottom: 18px;
  }

  .auth-panel,
  .register-section,
  .recovery-section {
    gap: 14px;
  }

  .auth-care-note,
  .auth-critical-note {
    padding: 13px 14px;
  }

  .auth-options {
    gap: 10px;
  }

  .account-identity {
    gap: 8px 10px;
    padding: 15px;
    margin-bottom: 18px;
  }

  .account-identity strong {
    font-size: 22px;
  }

  .account-identity button {
    padding-inline: 11px;
  }

  .account-tab {
    padding-inline: 5px;
    font-size: 12px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
  }

  .store-section {
    min-height: max(100svh, 780px);
    padding: calc(var(--header-height) + 16px) 16px 28px;
  }

  .store-heading {
    margin: 0 4px 14px;
  }

  .store-heading p {
    display: none;
  }

  .store-kicker {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .product-card {
    border-radius: 24px;
  }

  .product-card::before {
    inset: 7px;
    border-radius: 18px;
  }

  .product-visual {
    height: 284px;
    margin: 10px 10px 0;
    border-radius: 17px;
  }

  .product-info {
    padding: 22px 20px 18px;
  }

  .friends-section {
    min-height: max(100svh, 780px);
    padding: calc(var(--header-height) + 18px) 14px 28px;
  }

  .friends-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .friends-card::before {
    inset: 7px;
    border-radius: 18px;
  }

  .friends-intro {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding: 2px 2px 24px;
  }

  .friends-brand-seal {
    width: 54px;
    border-radius: 16px;
  }

  .friends-kicker {
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .friends-intro h2 {
    font-size: 24px;
    line-height: 1.38;
  }

  .friends-intro p {
    grid-column: 1 / -1;
    margin-top: 14px;
    font-size: 17px;
  }

  .friends-message-button {
    gap: 6px;
    min-height: 94px;
    padding: 18px 58px 18px 20px;
    border-radius: 17px;
  }

  .friends-message-button span {
    font-size: 23px;
  }

  .friends-message-button small {
    font-size: 13px;
  }

  .friends-message-button i {
    right: 21px;
  }

  .friends-contact-grid {
    gap: 12px;
    margin-top: 14px;
  }

  .friends-contact-card {
    min-height: 0;
    padding: 12px;
    border-radius: 18px;
  }

  .friends-contact-card h3 {
    min-height: 3.2em;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .friends-qr-wrap {
    width: 100%;
    padding: 6px;
    margin: 0 auto;
    border-radius: 13px;
  }

  .site-signature {
    min-height: 294px;
    padding: 70px 20px 82px;
  }

  .site-signature::before {
    width: 76vw;
  }

  .site-signature::after {
    width: 82vw;
  }

  .site-signature-lockup {
    gap: 14px;
  }

  .site-signature-xch {
    font-size: 34px;
  }

  .site-signature-club {
    font-size: 21px;
  }

  .site-signature-motto {
    font-size: 16px;
  }

  .friends-dialog {
    width: 96vw;
  }

  .friends-dialog-card {
    height: min(84svh, 680px);
    min-height: 470px;
    border-radius: 22px;
  }

  .friends-chat-header {
    min-height: 70px;
    padding: 13px 60px 13px 16px;
  }

  .friends-chat-avatar {
    width: 40px;
    flex-basis: 40px;
  }

  .friends-chat-log {
    padding: 20px 15px;
  }

  .friends-chat-message {
    max-width: 88%;
    font-size: 13px;
  }

  .friends-chat-composer {
    padding: 11px;
    gap: 8px;
  }

  .friends-chat-send {
    min-width: 64px;
    padding: 0 13px;
  }

  .product-title-row {
    display: block;
    padding-bottom: 17px;
  }

  .product-eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .product-title-row h2 {
    font-size: 36px;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
  }

  .product-stat {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
  }

  .product-stat dt {
    font-size: 16px;
  }

  .product-stat dd {
    min-width: 0;
    font-size: 18px;
    line-height: 1.42;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .product-stat--price dd {
    font-size: 21px;
    white-space: nowrap;
  }

  .product-card-footer {
    padding-top: 14px;
    font-size: 8px;
  }

  .product-invite-button {
    min-height: 88px;
    padding: 14px 18px;
    margin: 13px 0 0;
    gap: 12px;
    border-radius: 17px;
  }

  .product-invite-button--acquire { width: 100%; }

  .product-invite-button::after {
    inset: 5px;
    border-radius: 12px;
  }

  .product-invite-button__copy {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .product-invite-button__copy small {
    font-size: 7px;
    letter-spacing: 0.22em;
  }

  .product-invite-button__copy strong {
    font-size: 23px;
    letter-spacing: 0.12em;
  }

  .product-invite-button__copy > span {
    font-size: 10px;
    line-height: 1.4;
    white-space: normal;
  }

  .product-invite-button__arrow {
    width: 44px;
    font-size: 19px;
  }

  .acquisition-dialog { width: min(96vw, 620px); }
  .acquisition-dialog-card { padding: 31px 20px 25px; }
  .acquisition-heading { gap: 12px; padding-right: 34px; }
  .acquisition-coin { width: 52px; height: 52px; flex-basis: 52px; }
  .acquisition-heading h2 { font-size: 25px; }
  .acquisition-heading p { font-size: 11px; }
  .acquisition-platform { padding: 15px; border-radius: 15px; }
  .acquisition-qr { grid-template-columns: 110px minmax(0, 1fr); gap: 13px; }
  .acquisition-qr img { width: 110px; height: 110px; }
  .acquisition-qr p { font-size: 11px; }
  .acquisition-actions { grid-template-columns: 1fr; }
  .acquisition-platform--pending { display: block; }
  .acquisition-platform--pending > p { margin-top: 10px; }

  .wallet-section {
    padding: calc(var(--header-height) + 22px) 14px 44px;
  }

  .wallet-heading {
    align-items: flex-start;
    margin: 0 5px 18px;
    flex-direction: column;
  }

  .wallet-heading h2 {
    font-size: 36px;
  }

  .wallet-heading p {
    margin-top: 10px;
    font-size: 11px;
    text-align: left;
  }

  .wallet-overview-grid {
    gap: 14px;
  }

  .asset-card {
    padding: 18px 14px 12px;
    border-radius: 23px;
  }

  .asset-card-summary {
    gap: 14px;
    min-height: 104px;
    padding: 14px 16px;
    margin-bottom: 17px;
    border-radius: 19px;
  }

  .asset-logo {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
    border-radius: 18px;
  }

  .asset-logo--dog,
  .asset-logo--doge {
    border-radius: 50%;
  }

  .asset-card-summary > div > span {
    font-size: 12px;
  }

  .asset-card-summary strong {
    font-size: 13px;
  }

  .asset-card-summary strong b {
    font-size: 36px;
  }

  .asset-table-head,
  .asset-table-row {
    grid-template-columns: minmax(0, 1.16fr) minmax(70px, 0.72fr) minmax(65px, 0.62fr);
    gap: 7px;
  }

  .asset-table-head {
    padding-inline: 5px;
    font-size: 11px;
  }

  .asset-table-row {
    min-height: 64px;
    padding: 10px 5px;
    font-size: 13px;
  }

  .asset-table-row strong {
    font-size: 13px;
  }

  .dog-identity {
    gap: 7px;
  }

  .dog-identity img {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 8px;
  }

  .status-text {
    gap: 5px;
    font-size: 12px;
  }

  .wallet-expand {
    min-height: 39px;
    font-size: 11px;
  }

  .movement-card {
    margin-top: 14px;
    border-radius: 23px;
  }

  .movement-tools,
  .movement-ledger {
    padding: 26px 18px;
  }

  .movement-tools h3,
  .movement-ledger h3 {
    font-size: 28px;
  }

  .movement-actions button {
    grid-template-columns: 42px minmax(0, 1fr) 14px;
    gap: 11px;
    min-height: 98px;
    padding: 14px 12px;
  }

  .movement-action-icon {
    width: 42px;
    height: 42px;
  }

  .movement-actions strong {
    font-size: 14px;
  }

  .movement-actions small {
    font-size: 12px;
  }

  .movement-ledger header {
    align-items: flex-start;
    flex-direction: column;
  }

  .movement-ledger header p {
    margin-top: 8px;
  }

  .movement-table-head {
    display: none;
  }

  .movement-table-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    min-height: 88px;
    padding: 14px 8px;
  }

  .movement-table-row strong,
  .movement-table-row time {
    align-self: end;
  }

  .movement-table-row > span {
    color: rgba(245, 241, 232, 0.55);
    font-size: 13px;
  }

  .movement-table-row .ledger-status {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
  }

  .wallet-dialog {
    width: 96vw;
  }

  .wallet-dialog-card {
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .wallet-dialog-heading,
  .wallet-record-heading,
  .wallet-list-heading {
    gap: 12px;
    padding-right: 34px;
    margin-bottom: 21px;
  }

  .wallet-list-heading {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    align-items: center;
  }

  .wallet-list-heading > div {
    min-width: 0;
  }

  .wallet-dialog-logo {
    width: 55px;
    height: 55px;
    flex-basis: 55px;
  }

  .wallet-dialog-heading h2,
  .wallet-record-heading h2,
  .wallet-list-heading h2 {
    font-size: 25px;
    line-height: 1.12;
  }

  .wallet-list-heading h2 {
    letter-spacing: -0.03em;
    white-space: nowrap;
  }

  .wallet-dialog-heading p,
  .wallet-list-heading p {
    font-size: 11px;
  }

  .wallet-list-dialog-card {
    height: auto;
    padding-bottom: 16px;
  }

  .wallet-list-scroll {
    max-height: min(66svh, 540px);
    padding: 0 12px 2px 6px;
  }

  .wallet-list-table .asset-table-head,
  .wallet-list-table .asset-table-row {
    gap: 8px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .wallet-list-table.asset-table--dogs .asset-table-head,
  .wallet-list-table.asset-table--dogs .asset-table-row {
    grid-template-columns: minmax(0, 1fr) 68px 54px;
  }

  .wallet-list-table.asset-table--doge .asset-table-head,
  .wallet-list-table.asset-table--doge .asset-table-row {
    grid-template-columns: minmax(0, 1fr) 82px 38px;
  }

  .wallet-list-table.asset-table--doge .asset-table-row > time {
    font-variant-numeric: tabular-nums;
  }

  .wallet-list-table.asset-table--doge .asset-table-row > strong {
    font-size: 14px;
  }

  .wallet-record-symbol {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .wallet-record-details dd {
    max-width: 64%;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.is-motion-preview) .coin-spinner {
    transform: rotateY(0deg) !important;
  }

  html:not(.is-motion-preview) .gold-coin-spinner {
    transform: rotateX(0deg) !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.is-motion-preview .coin-spinner {
    animation-duration: 7.2s !important;
    animation-iteration-count: infinite !important;
  }

  html.is-motion-preview .gold-coin-spinner {
    animation-duration: 5s !important;
    animation-iteration-count: infinite !important;
  }
}
