:root {
  --bg: #05070d;
  --card: rgba(8, 16, 28, 0.94);
  --ink: #03060c;
  --text: #e8f7ff;
  --muted: #9ec0d4;
  --dim: #6f8ea3;
  --line: rgba(46, 233, 255, 0.22);
  --red: #ff2d55;
  --gold: #f5c16c;
  --mint: #3dffc5;
  --cyan: #2ee9ff;
  --magenta: #ff2bd6;
  --amber: #ffb020;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(46, 233, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 233, 255, 0.045) 1px, transparent 1px),
    radial-gradient(820px 420px at 100% -10%, rgba(255, 43, 214, 0.16), transparent 58%),
    radial-gradient(640px 420px at -10% 110%, rgba(46, 233, 255, 0.1), transparent 55%),
    var(--bg);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta) 55%, var(--red));
  z-index: 30;
}

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

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--red); color: #fff; }

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 25;
  flex-wrap: wrap;
  padding: 14px 0;
  background: #05070d;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.top-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.jump {
  display: flex;
  gap: 8px;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
}

.lang button {
  height: 34px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lang button + button { border-left: 1px solid var(--line); }

.lang button.is-on {
  background: var(--cyan);
  color: #041018;
}

.jump a,
.nav-ann {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: transparent;
}

.jump a:hover,
.jump a:focus-visible,
.nav-ann:hover,
.nav-ann:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  outline: none;
}

.brand em {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.notice {
  margin: 0;
  padding: 10px 16px;
  text-align: center;
  background: #140c0c;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
}

.identity {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.identity li {
  margin: 0;
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.identity li + li { border-left: 1px solid var(--line); }

.foot-brand {
  margin: 0 0 6px;
  color: var(--text);
  font-weight: 800;
}

.mark {
  width: 12px;
  height: 12px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 43, 43, 0.16);
}

.brand-side {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.layout {
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.offer {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

h1.hero-name {
  display: block;
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.num {
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: clamp(92px, 22vw, 148px);
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.unit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.unit em {
  font-style: normal;
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0.14em;
}

.eq {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.eq b { color: var(--gold); }

.lead {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: rgba(255, 43, 43, 0.1);
  border-left: 3px solid var(--red);
  color: #ffe8e6;
  font-weight: 700;
}

.pay,
.panel {
  position: relative;
}

.pay,
.panel {
  background:
    linear-gradient(180deg, rgba(12, 28, 44, 0.96), rgba(6, 12, 22, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(46, 233, 255, 0.04);
}

.pay::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left top / 12px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) left top / 1px 12px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right bottom / 12px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right bottom / 1px 12px no-repeat;
}

.pay {
  padding: 18px;
  border-top: 3px solid var(--red);
  transition: border-color 0.2s ease;
}

.pay.is-hot { border-color: var(--mint); }

.pay-label,
.hint {
  margin: 0;
}

.pay-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.addr {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 14px 14px 16px;
  text-align: left;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--text);
}

.addr:hover,
.addr:focus-visible,
.qr-btn:focus-visible,
.copy:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.addr-text {
  display: block;
  font-family: Consolas, "Cascadia Mono", "Courier New", monospace;
  font-size: 17px;
  line-height: 1.45;
  word-break: break-all;
  user-select: text;
}

.tail {
  color: var(--gold);
  white-space: nowrap;
}

.hint {
  margin-top: 8px;
  color: #b3a79a;
  font-size: 13px;
}

.hint-center { text-align: center; }

.copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin-top: 14px;
  border: 0;
  background: var(--red);
  color: #2a0606;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.copy:hover { background: #ff4747; }

.copy:active { transform: translateY(1px); }

.copy.is-done {
  background: var(--mint);
  color: #172000;
}

.copy svg { display: block; }

.qr-btn {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  padding: 10px;
  background: #fff;
  border: 0;
}

.qr-btn img {
  display: block;
  width: 176px;
  height: 176px;
}

.panel { padding: 18px 18px 20px; }

h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.45;
}

h2 i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--red);
}

.bundle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.bundle p {
  margin: 0;
  padding: 16px;
}

.bundle p + p { border-left: 1px solid var(--line); }

.bundle b,
.alt b,
.rate b {
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.bundle b {
  display: block;
  font-size: 48px;
  color: var(--mint);
}

.bundle span,
.alt span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.fee p,
.fallback .rule {
  margin: 0;
  color: var(--muted);
}

.fee strong,
.rule strong { color: var(--text); }

.seal {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--mint);
  font-weight: 800;
}

.rate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.rate b {
  font-size: 52px;
  color: var(--gold);
}

.ask {
  margin: 0 0 10px;
  font-weight: 800;
}

.alts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.alt {
  padding: 14px;
  background: #241c12;
  border: 1px solid rgba(255, 176, 32, 0.4);
}

.alt b {
  display: block;
  font-size: 40px;
  color: var(--gold);
}

.same {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 13px;
}

.same a,
.plan-note {
  color: var(--text);
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.plan-btn {
  padding: 14px;
  text-align: left;
  background: #241c12;
  border: 1px solid rgba(255, 176, 32, 0.4);
}

.plan-btn.is-on {
  background: #3a2a12;
  border-color: var(--gold);
}

.plan-btn b {
  display: block;
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--gold);
}

.plan-btn span,
.plan-btn small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.plan-btn small { color: var(--text); font-weight: 800; }

.plan-note { margin: 14px 0 0; font-weight: 700; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.steps li:first-child { border-top: 0; padding-top: 0; }

.steps li::before {
  counter-increment: step;
  content: counter(step);
  color: var(--gold);
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.duo article {
  padding: 12px;
  background: rgba(3, 8, 16, 0.65);
  border: 1px solid var(--line);
}

.duo h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.duo b {
  display: block;
  margin-top: 6px;
  color: var(--cyan);
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 0.9;
}

.duo b small {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.duo span,
.duo em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.duo em { color: var(--mint); font-weight: 800; }

.saver-controls { display: grid; gap: 10px; }

.saver-dirs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.saver-dirs button {
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 800;
}

.qty {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 8px;
}

.qty button,
.ticks button {
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 800;
}

.qty button { height: 48px; font-size: 22px; }

.qty label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.qty input {
  width: 72px;
  border: 0;
  background: transparent;
  outline: none;
  text-align: center;
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 600;
}

.qty label span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.ticks { display: flex; flex-wrap: wrap; gap: 8px; }

.ticks button {
  min-width: 48px;
  height: 36px;
}

.ticks button.is-on,
.saver-dirs button.is-on {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #041018;
}

.saver-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

.dial {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--cyan) calc(var(--p) * 1%), rgba(46, 233, 255, 0.12) 0);
  box-shadow: 0 0 24px rgba(46, 233, 255, 0.22);
}

.dial > div {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background: #071018;
  text-align: center;
}

.dial strong {
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 32px;
  line-height: 1;
  color: var(--cyan);
}

.dial span { color: var(--muted); font-size: 12px; font-weight: 800; }

.hud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hud p {
  margin: 0;
  padding: 10px;
  background: rgba(3, 8, 16, 0.65);
  border: 1px solid var(--line);
}

.hud span,
.hud em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.hud strong {
  display: block;
  margin: 2px 0;
  color: var(--text);
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.bars { display: grid; gap: 8px; margin-top: 10px; }

.bar {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bar i {
  display: block;
  height: 8px;
  width: 0;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(46, 233, 255, 0.7);
}

.bar-burn i {
  background: var(--magenta);
  box-shadow: 0 0 12px rgba(255, 43, 214, 0.65);
}

.saver-meta {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 13px;
}

.foot {
  padding-top: 8px;
  color: var(--dim);
  font-size: 13px;
}

.foot p { margin: 0; }

#energy,
#swap,
#faq,
#calc,
#for-others { scroll-margin-top: 120px; }

#for-others {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

#swap {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

h2.swap-title {
  display: block;
  margin: 0;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.fx-label {
  margin: 22px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.fx {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 6px 0 0;
}

.fx-from {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.fx-to {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 0.9;
}

.fx b {
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: clamp(64px, 14vw, 92px);
  letter-spacing: -0.05em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.lead-gold {
  background: rgba(255, 193, 77, 0.12);
  border-left-color: var(--gold);
  color: #fff4dc;
}

.pay-swap { border-top-color: var(--gold); }

.pay-swap .copy {
  background: var(--gold);
  color: #231600;
}

.pay-swap .copy:hover { background: #ffd27a; }

.pay-swap .copy.is-done {
  background: var(--mint);
  color: #172000;
}

#swap h2 i { background: var(--gold); }

.points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.points li:first-child {
  border-top: 0;
  padding-top: 0;
}

.points li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--gold);
}

.points a {
  color: var(--gold);
  font-weight: 800;
}

.panel.warn {
  background: #2a1412;
  border-color: rgba(255, 43, 43, 0.55);
}

.warn h2 i { background: var(--red); }

.warn p {
  margin: 0;
  color: #f6d4cf;
}

.dirs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.dirs button,
.chips button {
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 800;
}

.dirs button {
  height: 42px;
}

.dirs button.is-on,
.chips button.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: #231600;
}

.calc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--ink);
  border: 1px solid var(--line);
}

.calc-row span,
.calc-row em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.calc-row em { color: var(--gold); }

.calc-row input,
.calc-result strong {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.calc-row input { outline: none; }

.calc-result strong { color: var(--gold); }

.calc-row:focus-within { border-color: var(--gold); }

.calc-min {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: #ffb4ae;
  font-size: 13px;
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chips button {
  min-width: 52px;
  height: 36px;
  padding: 0 12px;
}

.calc-rate {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.calc-go {
  width: 100%;
  height: 52px;
  margin-top: 14px;
  border: 0;
  background: var(--gold);
  color: #231600;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.calc-go:hover { background: #ffd27a; }

.faq {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

h2.faq-title {
  margin-bottom: 16px;
}

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

.qa {
  background: var(--card);
  border: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.qa[open] summary::after { content: "–"; }

.qa summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.qa p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.86);
}

.gate[hidden] { display: none; }

.splash {
  position: relative;
  width: min(980px, 100%);
  height: min(620px, calc(100vh - 36px));
  overflow: hidden;
  background: #05070d;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(46, 233, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.55);
}

.splash-hall,
.splash-coin,
.splash-veil { position: absolute; }

.splash-hall {
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
}

.splash.is-play .splash-hall { animation: hall-push 5s ease-out forwards; }

.splash-coin {
  width: min(560px, 62%);
  right: -6%;
  top: 4%;
  z-index: 1;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse at 60% 44%, #000 18%, transparent 64%);
  mask-image: radial-gradient(ellipse at 60% 44%, #000 18%, transparent 64%);
}

.splash.is-play .splash-coin { animation: coin-float 3.4s ease-in-out infinite; }

.splash-veil {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.92) 0%, rgba(5, 7, 13, 0.55) 42%, rgba(5, 7, 13, 0.12) 100%),
    linear-gradient(180deg, transparent 55%, rgba(5, 7, 13, 0.88));
  pointer-events: none;
}

.splash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  opacity: 0;
}

.splash.is-play::after { animation: scan 2.2s linear infinite; }

.splash-copy {
  position: absolute;
  left: 48px;
  right: 38%;
  top: 18%;
  z-index: 2;
}

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

.splash h2 {
  display: block;
  margin: 8px 0 0;
  text-align: left;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 900;
}

.splash h2 .line {
  display: block;
  opacity: 1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.splash.is-play h2 .line {
  animation: line-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--d);
}

.splash h2 .keep {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(46, 233, 255, 0.45);
}

.splash-foot {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  z-index: 3;
}

.splash-meter {
  height: 3px;
  background: rgba(46, 233, 255, 0.16);
  overflow: hidden;
}

.splash-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.splash-wait {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.splash-wait b {
  color: var(--cyan);
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.gate-x {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.72);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.gate-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

@keyframes hall-push {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes coin-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes line-in {
  from { transform: translateY(16px); }
  to { transform: none; }
}

@keyframes scan {
  0% { top: 8%; opacity: 0; }
  12% { opacity: 1; }
  100% { top: 88%; opacity: 0; }
}

.keep { white-space: nowrap; }

.gate-enter {
  width: 100%;
  height: 52px;
  margin-top: 18px;
  border: 0;
  background: var(--red);
  color: #2a0606;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.gate-enter:hover { background: #ff4747; }

body.is-gate { overflow: hidden; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translate(-50%, 8px);
  min-width: 140px;
  padding: 12px 18px;
  background: var(--text);
  color: #1a120c;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 960px) {
  .page { padding-top: 36px; }

  .layout {
    grid-template-columns: minmax(0, 1fr) 392px;
    column-gap: 36px;
    align-items: start;
  }

  .pay {
    grid-column: 2;
    grid-row: 1 / span 4;
    position: sticky;
    top: 76px;
  }

  .hero,
  .back,
  .fee,
  .fallback,
  .others-hero,
  .plans,
  .saver,
  .howto,
  .rules,
  .swap-hero,
  .calc,
  .swap-notes,
  .warn { grid-column: 1; }

  #for-others .pay { grid-row: 1 / span 6; }

  .num { font-size: 148px; }
}

@media (max-width: 720px) {
  .splash {
    height: auto;
    min-height: min(640px, calc(100vh - 24px));
  }
  .splash-coin {
    position: relative;
    width: 86%;
    margin: 18px auto 0;
    right: auto;
    top: auto;
    -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #000 22%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 48%, #000 22%, transparent 70%);
  }
  .splash-copy {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    padding: 0 22px;
  }
  .splash h2 { font-size: 30px; }
  .top-tools { width: 100%; }
  .lang { margin-left: auto; }
  .splash-foot {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 16px 16px 18px;
  }
  .jump { width: 100%; flex-wrap: wrap; }
  .jump a,
  .nav-ann {
    flex: 0 1 auto;
    white-space: nowrap;
    text-align: center;
    padding: 8px 8px;
  }
  .identity { grid-template-columns: 1fr 1fr; }
  .identity li:nth-child(odd) { border-left: 0; }
  .identity li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .rate,
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
  }
  .plan-grid,
  .duo { gap: 10px; }
  .duo,
  .saver-body { grid-template-columns: 1fr; }
  .dial { margin: 0 auto; }
}

@media (max-width: 380px) {
  .num { font-size: 84px; }
  .unit { font-size: 22px; }
  .bundle b,
  .rate b,
  .alt b { font-size: 36px; }
  .eq { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .splash-hall,
  .splash-coin,
  .splash h2 .line,
  .splash.is-play::after { animation: none; }
  .splash h2 .line { opacity: 1; }
  .copy,
  .pay,
  .toast { transition: none; }
}
