:root {
  --bg: #07090c;
  --panel: #0d1015;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #f4f6f8;
  --muted: #8e949d;
  --acid: #baff3d;
  --red: #ff4655;
  --cyan: #63e6ff;
  --rail: 78px;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
button, input, select { font: inherit; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--acid); color: #050608; padding: 12px 16px; }
.skip-link:focus { top: 12px; }

.scroll-progress { position: fixed; inset: 0 auto auto 0; z-index: 90; width: 0; height: 3px; background: var(--acid); box-shadow: 0 0 14px rgba(186,255,61,.65); }
.pointer-hud { position: fixed; z-index: 80; width: 28px; height: 28px; pointer-events: none; opacity: 0; border: 1px solid rgba(186,255,61,.78); transform: translate(-50%,-50%) rotate(45deg); transition: width .16s ease,height .16s ease,opacity .14s ease,border-color .16s ease; }
.pointer-hud::before { content: ""; position: absolute; inset: 8px; background: var(--acid); box-shadow: 0 0 12px rgba(186,255,61,.72); }
.pointer-hud.active { opacity: .76; }
.pointer-hud.hover { width: 38px; height: 38px; border-color: var(--red); }
.pointer-hud.hover::before { background: var(--red); }
.boot-screen { position: fixed; inset: 0; z-index: 85; display: grid; place-content: center; justify-items: center; background: #050608; transition: opacity .45s ease,visibility .45s ease; animation: bootAutoHide .45s ease 1.35s forwards; }
.boot-screen.ready { opacity: 0; visibility: hidden; }
.boot-screen strong { color: #fff; font: 900 78px/1 Arial,sans-serif; animation: bootGlitch .85s steps(2,end) infinite; }
.boot-screen > div { width: 260px; height: 3px; margin-top: 22px; overflow: hidden; background: rgba(255,255,255,.12); }
.boot-screen > div span { display: block; width: 100%; height: 100%; background: var(--acid); transform-origin: left; animation: bootLoad 1s ease both; }
.boot-screen p { margin: 12px 0 0; color: rgba(255,255,255,.42); font: 700 10px/1 monospace; }

.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--rail);
  display: grid;
  grid-template-rows: var(--header) 1fr 80px;
  background: rgba(5, 6, 8, 0.96);
  border-right: 1px solid var(--line);
}
.rail-brand, .mobile-brand {
  display: grid;
  place-items: center;
  font: 900 22px/1 Arial, sans-serif;
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.rail-brand::after, .mobile-brand::after { content: ""; width: 28px; height: 3px; margin-top: -25px; background: var(--red); }
.rail-nav { display: flex; flex-direction: column; justify-content: center; }
.rail-nav a {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 18px 4px;
  color: #707680;
}
.rail-nav a::before { content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 3px; background: transparent; }
.rail-nav a:hover, .rail-nav a.active { color: #fff; }
.rail-nav a.active::before { background: var(--acid); }
.rail-nav span { color: var(--acid); font: 700 10px/1 monospace; }
.rail-nav b { font-size: 12px; font-weight: 600; }
.rail-foot { writing-mode: vertical-rl; display: grid; place-items: center; color: var(--acid); font: 700 11px/1 monospace; border-top: 1px solid var(--line); }

.command-bar {
  position: fixed;
  top: 0; right: 0; left: var(--rail);
  z-index: 35;
  height: var(--header);
  display: grid;
  grid-template-columns: minmax(330px, 1fr) auto auto;
  align-items: stretch;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mobile-brand { display: none; }
.service-state, .system-state, .header-action { display: flex; align-items: center; gap: 18px; padding: 0 28px; border-right: 1px solid var(--line); }
.service-state { box-shadow: inset 3px 0 var(--red); }
.service-state .eyebrow, .system-state span { color: var(--acid); font: 700 11px/1 monospace; }
.service-state strong { font-size: 18px; }
.signal { width: 10px; height: 10px; flex: none; background: var(--acid); box-shadow: 0 0 16px rgba(186, 255, 61, 0.8); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.system-state { display: grid; grid-template-columns: 10px auto; column-gap: 12px; align-content: center; }
.system-state b { grid-column: 2; color: var(--muted); font: 600 10px/1 monospace; }
.header-action { min-width: 230px; justify-content: space-between; border-right: 0; font-weight: 700; }
.header-action:hover { background: var(--acid); color: #050608; }
.header-action b { font-size: 24px; }

main, footer { margin-left: var(--rail); }
.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 22px));
  padding: calc(var(--header) + 64px) clamp(34px, 7vw, 110px) 84px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(7,9,12,.96) 0%, rgba(7,9,12,.82) 37%, rgba(7,9,12,.24) 74%, rgba(7,9,12,.54) 100%), linear-gradient(0deg, rgba(7,9,12,.52), transparent 60%), url("valorant-hero.avif");
  background-size: cover;
  background-position: 55% center;
  filter: saturate(.7) contrast(1.15);
  transform: translate3d(var(--hero-x,0),var(--hero-y,0),0) scale(1.035);
  transition: transform .12s linear;
}
.hero-grid {
  position: absolute;
  inset: var(--header) 0 0;
  opacity: .22;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
  transform: translate3d(var(--grid-x,0),var(--grid-y,0),0);
  transition: transform .12s linear;
}
.scan-line { position: absolute; top: var(--header); bottom: 0; left: 2%; z-index: 1; width: 1px; background: var(--acid); opacity: .22; box-shadow: 0 0 28px 5px rgba(186,255,61,.16); animation: scanMove 7s ease-in-out infinite; }
.target-reticle { position: absolute; z-index: 2; right: 16%; top: 29%; width: 150px; height: 150px; border: 1px solid rgba(186,255,61,.52); transform: translate3d(var(--target-x,0),var(--target-y,0),0); transition: transform .12s linear; }
.target-reticle::before,.target-reticle::after,.vision-reticle::before,.vision-reticle::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(186,255,61,.55); transform: translate(-50%,-50%); }
.target-reticle::before,.vision-reticle::before { width: 210px; height: 1px; }
.target-reticle::after,.vision-reticle::after { width: 1px; height: 210px; }
.target-reticle span,.vision-reticle span { position: absolute; inset: 28px; border: 1px solid rgba(255,70,85,.72); border-radius: 50%; animation: targetPulse 2.5s ease infinite; }
.target-reticle i,.vision-reticle i { position: absolute; left: 10px; top: 10px; color: var(--acid); font: 700 8px/1 monospace; font-style: normal; }
.hero-content { position: relative; z-index: 2; width: min(820px, 75%); }
.kicker, .hero-tag, .section-intro > span, .vision-overlay > span, .download-copy > span { font: 700 12px/1 monospace; color: var(--acid); }
.hero-tag { display: inline-block; margin: 28px 0 12px; padding: 8px 10px; color: #050608; background: var(--acid); }
h1 { margin: 0; max-width: 930px; font-size: clamp(54px, 8vw, 112px); line-height: .9; font-weight: 900; }
h1.glitch { animation: titleGlitch .46s steps(2,end); }
h1 em { color: var(--red); font-style: normal; }
h1 small { display: block; margin-top: 20px; color: #c8cdd4; font-size: clamp(24px, 3vw, 42px); font-weight: 500; }
.hero h2 { margin: 28px 0 0; font-size: clamp(21px, 2.2vw, 34px); line-height: 1.25; }
.hero-copy { color: #c3c8ce; font-size: 16px; }
.quick-access { max-width: 630px; margin-top: 38px; padding: 18px 0 4px; border-top: 1px solid var(--line-strong); }
.quick-access label, #login-form label, .login-result > label { display: block; margin-bottom: 10px; color: #d7dbe0; font-size: 13px; font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr auto; min-height: 54px; }
input, select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: rgba(5, 7, 10, .82);
  color: #fff;
  padding: 0 16px;
}
input:focus, select:focus { border-color: var(--acid); box-shadow: inset 3px 0 var(--acid); }
.primary-button, .generate-button {
  border: 0;
  border-radius: 0;
  background: var(--red);
  color: #fff;
  min-width: 174px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 800;
  cursor: pointer;
}
.primary-button:hover, .generate-button:hover { background: var(--acid); color: #050608; }
button:disabled { cursor: wait; opacity: .65; }
.form-note, .terminal-message { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.form-note.error, .terminal-message.error { color: #ff8992; }
.form-note.success, .terminal-message.success { color: var(--acid); }
.hero-clock { position: absolute; z-index: 2; right: 34px; bottom: 34px; display: grid; gap: 4px; justify-items: end; }
.hero-clock span { font-weight: 700; }
.hero-clock small { color: var(--muted); font: 10px/1 monospace; }
.hero-clock time { font: 700 30px/1 monospace; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 24px; font-size: 26px; color: var(--acid); }

.ticker { margin-left: var(--rail); overflow: hidden; border-bottom: 1px solid var(--line); background: var(--acid); color: #050608; }
.ticker div { width: max-content; display: flex; gap: 24px; padding: 13px 0; font: 800 12px/1 monospace; animation: ticker 30s linear infinite; }
.ticker i { font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 112px clamp(28px, 6vw, 90px); }
.abilities { background: #0a0c10; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; margin-bottom: 54px; }
.section-intro > span { grid-column: 1 / -1; }
.section-intro h2, .vision-overlay h2, .download-copy h2 { margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: .98; }
.section-intro p { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.ability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ability-grid article { min-height: 340px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .2s, transform .2s; }
.ability-grid article:hover { background: #12161c; transform: translateY(-4px); }
.ability-head { display: flex; justify-content: space-between; align-items: center; color: var(--acid); font-family: monospace; }
.ability-head span { font-size: 26px; font-weight: 800; }
.ability-head small { color: var(--muted); }
.ability-grid h3 { margin: 48px 0 16px; font-size: 25px; }
.ability-grid p { margin: 0; color: #aab0b8; line-height: 1.8; }
.ability-grid strong { margin-top: auto; color: var(--acid); font: 800 28px/1 monospace; }
.ability-grid em { margin-top: 6px; color: var(--muted); font-size: 12px; font-style: normal; }

.vision { position: relative; min-height: 760px; margin-left: var(--rail); overflow: hidden; border-block: 1px solid var(--line); }
.vision-media { position: absolute; inset: 0; background: #0a0c10; }
.vision-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,10,.3), rgba(5,7,10,.28) 45%, rgba(5,7,10,.96) 78%); }
.vision-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .86; }
.vision-media img { animation: visionDrift 14s ease-in-out infinite alternate; }
.vision-reticle { position: absolute; z-index: 2; left: 35%; top: 40%; width: 150px; height: 150px; border: 1px solid rgba(186,255,61,.55); }
.vision-overlay { position: relative; z-index: 2; margin-left: auto; width: min(520px, 46%); min-height: 760px; padding: 110px 6vw 70px 50px; border-left: 1px solid var(--line); }
.vision-overlay h2 { margin-top: 26px; }
.vision-overlay > p { color: #bec3ca; line-height: 1.8; }
.vision-overlay dl { margin-top: 60px; }
.vision-overlay dl div { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.vision-overlay dt { color: var(--muted); }
.vision-overlay dd { margin: 0; color: var(--acid); font: 800 22px/1 monospace; }

.download { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(50px, 8vw, 130px); background: #080a0d; }
.download-copy > p { color: var(--muted); line-height: 1.8; }
.download-copy h2 { margin-top: 28px; }
.notice { margin-top: 48px; padding-left: 18px; border-left: 3px solid var(--red); }
.notice strong { display: block; margin-bottom: 14px; }
.notice p { margin: 6px 0; color: #9da3aa; font-size: 13px; line-height: 1.6; }
.access-console { align-self: start; border: 1px solid var(--line-strong); background: #0b0e13; }
.console-head { min-height: 58px; padding: 0 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.console-head span { color: var(--acid); font: 700 11px/1 monospace; }
.console-head b { margin-left: auto; font-size: 12px; }
#login-form, .login-result, .progress-block, .download-result { padding: 24px; border-bottom: 1px solid var(--line); }
.license-status { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin-bottom: 24px; }
.license-status span { color: var(--muted); font-size: 12px; }
.license-status strong { font-size: 13px; }
.login-result select { height: 52px; margin-bottom: 12px; }
.generate-button { width: 100%; min-height: 54px; background: var(--acid); color: #050608; }
.generate-button:hover { background: var(--cyan); }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13px; }
.progress-track { height: 8px; background: #252a31; overflow: hidden; }
.progress-track i { display: block; width: 0; height: 100%; background: var(--acid); transition: width .25s ease; }
.download-result strong { color: var(--acid); }
.download-result p { color: var(--muted); font-size: 13px; }
.download-result a { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding: 16px; background: var(--red); font-weight: 800; }
.download-result a:hover { background: var(--acid); color: #050608; }
.terminal-message { padding: 0 24px 22px; }

footer { min-height: 120px; padding: 28px clamp(28px, 6vw, 90px); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); background: #050608; }
footer strong { font-size: 20px; }
footer div { display: grid; gap: 6px; text-align: right; color: var(--muted); font-size: 12px; }
footer small { color: #5f6670; }

.reveal { opacity: .01; transform: translateY(28px); transition: opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes bootLoad { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bootGlitch { 0%,84%,100% { transform: translateX(0); } 87% { transform: translateX(6px); color: var(--red); } 92% { transform: translateX(-4px); } }
@keyframes bootAutoHide { to { opacity: 0; visibility: hidden; } }
@keyframes scanMove { 0%,100% { left: 2%; } 50% { left: 98%; } }
@keyframes targetPulse { 0%,100% { opacity: .28; transform: scale(.82); } 50% { opacity: 1; transform: scale(1); } }
@keyframes titleGlitch { 0%,100% { transform: translateX(0); text-shadow: none; } 25% { transform: translateX(5px); text-shadow: -5px 0 var(--cyan); } 50% { transform: translateX(-4px); text-shadow: 5px 0 var(--red); } 75% { transform: translateX(2px); } }
@keyframes visionDrift { from { transform: scale(1.015) translate3d(-5px,0,0); } to { transform: scale(1.055) translate3d(8px,-4px,0); } }

@media (max-width: 1080px) {
  .command-bar { grid-template-columns: 1fr auto; }
  .system-state { display: none; }
  .ability-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { width: 88%; }
  .download { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --rail: 0px; --header: 68px; }
  .side-rail { display: none; }
  .command-bar { left: 0; grid-template-columns: 68px 1fr auto; }
  .mobile-brand { display: grid; }
  .service-state { padding: 0 14px; gap: 10px; box-shadow: none; }
  .service-state .eyebrow, .service-state .signal { display: none; }
  .service-state strong { font-size: 12px; white-space: nowrap; }
  .header-action { min-width: 54px; padding: 0; justify-content: center; }
  .header-action span { display: none; }
  .hero { min-height: 730px; padding: 118px 20px 90px; align-items: flex-start; }
  .hero-media { background-position: 61% center; }
  .hero-content { width: 100%; }
  h1 { font-size: clamp(44px, 15vw, 68px); }
  .hero h2 { font-size: 21px; max-width: 420px; }
  .hero-copy { font-size: 14px; }
  .quick-access { margin-top: 28px; }
  .field-row { grid-template-columns: 1fr; gap: 8px; }
  input { height: 52px; }
  .primary-button { min-height: 52px; width: 100%; }
  .hero-clock { right: 20px; bottom: 22px; }
  .hero-clock time { font-size: 22px; }
  .scroll-cue { display: none; }
  .pointer-hud,.target-reticle,.vision-reticle { display: none; }
  .section { padding: 78px 20px; }
  .section-intro { grid-template-columns: 1fr; }
  .section-intro > span { grid-column: auto; }
  .ability-grid { grid-template-columns: 1fr; }
  .ability-grid article { min-height: 300px; }
  .vision { min-height: 720px; }
  .vision-media::after { background: linear-gradient(0deg, rgba(5,7,10,.98) 0%, rgba(5,7,10,.58) 68%, rgba(5,7,10,.24)); }
  .vision-media img { object-position: 35% center; }
  .vision-overlay { width: 100%; min-height: 720px; padding: 360px 20px 50px; border-left: 0; }
  .vision-overlay dl { margin-top: 34px; }
  .download { gap: 46px; }
  #login-form, .login-result, .progress-block, .download-result { padding: 20px; }
  footer { flex-direction: column; align-items: flex-start; }
  footer div { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .target-reticle,.vision-reticle,.scan-line { display: none; }
}

/* Purchase center */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(630px, 100%);
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}
.action-button {
  min-width: 218px;
  min-height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.action-button b { font-size: 20px; }
.action-primary { border-color: var(--red); background: var(--red); }
.action-ghost { background: rgba(5,7,10,.76); }
.action-button:hover { border-color: var(--acid); background: var(--acid); color: #050608; }
.sandbox-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  color: var(--muted);
  font: 700 10px/1 monospace;
}
.sandbox-note .signal { width: 7px; height: 7px; }

.plans { background: #0a0c10; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.plan-card {
  position: relative;
  min-height: 480px;
  padding: clamp(26px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0c0f14;
  overflow: hidden;
}
.plan-card::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -54px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(186,255,61,.22);
  transform: rotate(45deg);
}
.plan-card.featured { background: #10141a; box-shadow: inset 0 3px var(--acid); }
.plan-badge {
  position: absolute;
  right: 0;
  top: 0;
  padding: 9px 14px;
  background: var(--acid);
  color: #050608;
  font: 800 10px/1 monospace;
}
.plan-code {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--acid);
  font: 700 11px/1 monospace;
}
.plan-code i { color: var(--muted); font-style: normal; }
.plan-card h3 { margin: 44px 0 10px; font-size: 30px; }
.plan-price { display: flex; align-items: flex-end; min-height: 96px; }
.plan-price small { margin: 0 8px 16px 0; color: var(--acid); font: 800 24px/1 monospace; }
.plan-price strong { color: #fff; font: 900 clamp(68px, 8vw, 104px)/.86 Arial,sans-serif; }
.plan-price em { margin: 0 0 12px 14px; color: var(--muted); font-size: 13px; font-style: normal; }
.plan-card ul { display: grid; gap: 12px; margin: 34px 0; padding: 0; list-style: none; color: #b8bdc4; }
.plan-card li { display: flex; align-items: center; gap: 12px; }
.plan-card li span { color: var(--acid); font: 700 10px/1 monospace; }
.buy-button {
  width: 100%;
  min-height: 58px;
  margin-top: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 0;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.featured .buy-button { background: var(--acid); color: #050608; }
.buy-button:hover { background: var(--cyan); color: #050608; }

.loader-console-body { padding: 28px; }
.loader-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 24px;
  margin-bottom: 28px;
}
.loader-status span { color: var(--muted); font-size: 12px; }
.loader-status strong { text-align: right; font-size: 13px; }
.loader-console-body .terminal-message { padding: 0; text-align: center; }

body.modal-open { overflow: hidden; }
.payment-modal[hidden] { display: none !important; }
.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}
.payment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,4,6,.82);
  backdrop-filter: blur(10px);
}
.payment-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  padding: 32px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-top: 3px solid #07c160;
  background: #0b0e13;
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
}
.payment-dialog:focus { outline: 0; }
.payment-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}
.payment-close:hover { background: var(--red); color: #fff; }
.wechat-mark { display: flex; align-items: center; gap: 10px; padding-right: 34px; }
.wechat-mark i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #07c160;
  color: #fff;
  font-size: 14px;
  font-style: normal;
}
.wechat-mark span { font-weight: 800; }
.wechat-mark small { margin-left: auto; color: #07c160; font: 700 9px/1 monospace; }
.payment-kicker { margin: 30px 0 10px; color: var(--acid); font: 700 10px/1 monospace; }
.payment-dialog h2 { margin: 0; font-size: 34px; }
.payment-order {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.payment-order span { color: #c5cad0; }
.payment-order strong { color: var(--acid); font: 800 13px/1 monospace; }
.payment-order strong b { font-size: 28px; }
.payment-qr {
  width: min(236px, 74vw);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(25, minmax(0, 1fr));
  gap: 1px;
  background: #fff;
}
.payment-qr i { display: block; background: transparent; }
.payment-qr i.on { background: #0a0b0d; }
.payment-qr.has-image { display: grid; place-items: center; }
.payment-qr.has-image img { width: 100%; height: 100%; object-fit: contain; }
.payment-status { min-height: 38px; margin: 18px 0 12px; color: var(--muted); text-align: center; font-size: 13px; line-height: 1.6; }
.payment-status.success { color: var(--acid); }
.payment-status.error { color: #ff8992; }
.wechat-open, .mock-pay-button {
  width: 100%;
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #07c160;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.wechat-open[hidden], .mock-pay-button[hidden], .license-issued[hidden] { display: none !important; }
.wechat-open:hover, .mock-pay-button:hover { background: var(--acid); color: #050608; }
.license-issued {
  margin-top: 16px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.license-issued span { display: block; color: var(--muted); font-size: 12px; }
.license-issued strong { display: block; margin: 10px 0; color: var(--acid); font: 800 20px/1 monospace; }
.license-issued button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.license-issued button:hover { border-color: var(--acid); color: var(--acid); }
.payment-footnote { margin: 18px 0 0; color: #666d76; text-align: center; font-size: 10px; line-height: 1.5; }

@media (max-width: 720px) {
  .hero-actions { margin-top: 28px; }
  .action-button { width: 100%; min-width: 0; min-height: 52px; }
  .sandbox-note { margin-top: 14px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 440px; padding: 28px 22px; }
  .plan-card h3 { margin-top: 38px; }
  .plan-price strong { font-size: 76px; }
  .loader-status { grid-template-columns: 1fr; gap: 6px; }
  .loader-status strong { margin-bottom: 10px; text-align: left; }
  .payment-dialog { padding: 26px 20px; }
  .payment-dialog h2 { font-size: 28px; }
  .payment-qr { width: min(220px, 70vw); }
}
