/* Match each assessment and its Code entry screen, including the canvas and
   panel. Keep the payment QR black on white for scanning in every theme. */
body{
  --checkout-canvas:#10182e;--checkout-panel:#172343;--checkout-ink:#eff3ff;
  --checkout-muted:#bbc7dc;--checkout-accent:#a89fff;--checkout-line:#8d83eb66;
  --checkout-button-ink:#10182e;--checkout-header-ink:var(--checkout-ink);
  --checkout-error:#ffb2b5;--checkout-success:#83e3ce;
}
html body:has(.checkout-wrap){min-height:100vh;min-height:100svh;background:var(--checkout-canvas);background-repeat:no-repeat;color:var(--checkout-ink)}
/* html2web天赋测试复刻/static/style.css */
body:has(.checkout-wrap[data-payment-test="talent-radar"]){
  --checkout-canvas:radial-gradient(ellipse at 90% 0%,#17324780,transparent 45%),#080f1b;
  --checkout-panel:#101f31;--checkout-ink:#edf6fb;--checkout-muted:#9fb4c7;
  --checkout-accent:#83e3ce;--checkout-line:#294158;--checkout-button-ink:#080f1b
}
/* wealth.css: deep forest canvas and the report's warm gold. */
body:has(.checkout-wrap[data-payment-test="wealth"]){
  --checkout-canvas:radial-gradient(circle at 84% 14%,#cca04824,transparent 24rem),radial-gradient(circle at 12% 82%,#30876729,transparent 28rem),#081711;
  --checkout-panel:#12251d;--checkout-ink:#f5eddb;--checkout-muted:#acb6a5;
  --checkout-accent:#e0bd6d;--checkout-line:#dfbd6d40;--checkout-button-ink:#10201a
}
/* 五行城市探索复刻/static/style.css: navy, ivory and gold. */
body:has(.checkout-wrap[data-payment-test="city"]){
  --checkout-canvas:radial-gradient(ellipse at 80% 0%,#183758,transparent 60%),#0d1628;
  --checkout-panel:#f8f7f3;--checkout-ink:#101a2b;--checkout-muted:#607088;
  --checkout-accent:#a67c35;--checkout-line:#d9af6247;--checkout-button-ink:#101a2b;
  --checkout-header-ink:#e7edf5;--checkout-error:#a54748;--checkout-success:#2a7c67
}
/* The existing history and Zhenhuan Code cards have distinct dark palettes. */
body:has(.checkout-wrap[data-payment-test="history"]){
  --checkout-canvas:linear-gradient(145deg,#081e2a,#153e46 55%,#071c28);
  --checkout-panel:linear-gradient(145deg,#0d2b34f5,#051922f5);
  --checkout-ink:#f6ecd6;--checkout-muted:#afc0b9;--checkout-accent:#e8c87d;
  --checkout-line:#e8c87d52;--checkout-button-ink:#132b30
}
body:has(.checkout-wrap[data-payment-test="zhenhuan"]){
  --checkout-canvas:radial-gradient(circle at 50% 10%,#b5693340,transparent 28%),linear-gradient(145deg,#2c0908,#651c12 55%,#1b0708);
  --checkout-panel:linear-gradient(145deg,#5c140ff5,#2a0809f5);
  --checkout-ink:#fff0d5;--checkout-muted:#e3bc9d;--checkout-accent:#ffd688;
  --checkout-line:#ffd68852;--checkout-button-ink:#4b1510
}
/* 恋爱脑测试复刻/static/style.css */
body:has(.checkout-wrap[data-payment-test="love-brain"]){
  --checkout-canvas:radial-gradient(circle at 50% 0,#fff,transparent 34rem),#fff8f5;
  --checkout-panel:#fffdfc;--checkout-ink:#282021;--checkout-muted:#796b6f;
  --checkout-accent:#af3e55;--checkout-line:#eadfdd;--checkout-button-ink:#fff;
  --checkout-error:#a54748;--checkout-success:#2a7c67
}
/* like-archive.css: warm paper with rose and blue. */
body:has(.checkout-wrap[data-payment-test="like"]){
  --checkout-canvas:radial-gradient(circle at 1% 13%,#ed6e8324,transparent 20rem),radial-gradient(circle at 100% 45%,#536be721,transparent 24rem),#fbf6f0;
  --checkout-panel:#fffaf4;--checkout-ink:#20233c;--checkout-muted:#6f7181;
  --checkout-accent:#536be7;--checkout-line:#22233c29;--checkout-button-ink:#fff;
  --checkout-error:#a54748;--checkout-success:#2a7c67
}
/* animal-home.css */
body:has(.checkout-wrap[data-payment-test="animal"]){
  --checkout-canvas:radial-gradient(circle at 50% 4%,#8971291c,transparent 25%),radial-gradient(circle at 12% 55%,#24453b24,transparent 30%),linear-gradient(145deg,#101516,#090c0d 58%,#101b18);
  --checkout-panel:#141919;--checkout-ink:#f7f0de;--checkout-muted:#aaa493;
  --checkout-accent:#e8c96f;--checkout-line:#d9be6b35;--checkout-button-ink:#15140f
}
/* assessments/relationship-blindspot.css */
body:has(.checkout-wrap[data-payment-test="relationship-blindspot"]){
  --checkout-canvas:#fcf6f1;--checkout-panel:#f6e9e2;--checkout-ink:#40262c;
  --checkout-muted:#72545a;--checkout-accent:#b05260;--checkout-line:#8e59602d;
  --checkout-button-ink:#fffaf7;--checkout-error:#a54748;--checkout-success:#2a7c67
}
body:has(.checkout-wrap) .site-header .brand{color:var(--checkout-header-ink)}body:has(.checkout-wrap) .site-header .brand i{border-color:var(--checkout-accent)}
body:has(.checkout-wrap) .site-header .site-nav a,body:has(.checkout-wrap) .site-header .site-nav button{color:var(--checkout-header-ink)}
body:has(.checkout-wrap) .site-header .site-nav .nav-login{color:var(--checkout-header-ink)!important;border-color:var(--checkout-line)!important;background:transparent!important}
.checkout-wrap{display:flex;flex-direction:column;justify-content:center;max-width:436px;min-height:calc(100svh - 90px);margin:0 auto;padding:32px 18px 40px;text-align:center;color:var(--checkout-ink)}
.checkout-wrap *{box-sizing:border-box}.checkout-wrap [hidden]{display:none!important}
.checkout-panel{padding:36px 32px 28px;border:1px solid var(--checkout-line);border-radius:22px;background:var(--checkout-panel);box-shadow:0 16px 60px #00000014}
.checkout-panel h1{margin:0;font-size:24px;line-height:1.5;font-weight:600;letter-spacing:-.035em;overflow-wrap:anywhere}
.checkout-price{display:flex;justify-content:center;align-items:baseline;gap:5px;margin:22px 0 28px;line-height:1.15;font-variant-numeric:tabular-nums}
.checkout-price small{font-size:24px;font-weight:500}.checkout-price strong{font-size:60px;font-weight:600;letter-spacing:-.05em}
.checkout-pay{display:flex;align-items:center;justify-content:center;min-height:50px;width:100%;padding:12px 18px;border:0;border-radius:11px;background:var(--checkout-accent);color:var(--checkout-button-ink)!important;font:600 15px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;text-decoration:none!important;cursor:pointer}
.checkout-pay:hover{filter:brightness(1.06)}.checkout-pay:disabled{opacity:.55;cursor:wait}.checkout-pay:focus-visible,.checkout-retry:focus-visible,.checkout-back:focus-visible{outline:3px solid var(--checkout-accent);outline-offset:4px}
.checkout-entry img{display:block;width:216px;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto;padding:8px;border:1px solid #eeeff4;border-radius:12px;background:#fff}
.checkout-countdown{margin:12px 0 0;color:var(--checkout-muted);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
.checkout-hint{margin:20px 0 0;color:var(--checkout-muted);font-size:12px;line-height:1.7}
.checkout-status{margin:14px 0 0;color:var(--checkout-muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.checkout-status:empty{display:none}.checkout-status[data-kind="error"]{color:var(--checkout-error)}.checkout-status[data-kind="success"]{color:var(--checkout-success)}
.checkout-retry{min-height:44px;margin-top:6px;padding:8px 14px;border:0;border-radius:8px;background:transparent;color:var(--checkout-accent);font-size:13px;cursor:pointer}.checkout-retry:disabled{opacity:.5;cursor:wait}
.checkout-back{display:inline-flex;align-self:center;align-items:center;min-height:44px;margin-top:14px;padding:8px 12px;color:var(--checkout-header-ink);opacity:.72;font-size:12px;text-decoration:none}.checkout-back:hover{color:var(--checkout-header-ink);opacity:1}
.checkout-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:560px){.checkout-wrap{padding:24px 20px 28px}.checkout-panel{padding:30px 24px 25px;border-radius:20px}.checkout-panel h1{font-size:23px}.checkout-price{margin:20px 0 26px}.checkout-price strong{font-size:56px}}
@media(prefers-reduced-motion:reduce){.checkout-wrap *{scroll-behavior:auto;transition:none}}
