:root {
  color-scheme: dark;
  --bg: #101019;
  --panel: #191823;
  --edge: #3a3749;
  --text: #f7f5ff;
  --muted: #b2adbf;
  --lime: #d3fa65;
  --lilac: #baa6fa;
  font: 16px/1.65 "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .choice-row input, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 5; background: var(--lime); color: var(--bg); padding: 10px 22px; }
.shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.topbar { background: #101019; }
.topbar-inner { min-height: 70px; display: flex; gap: 20px; align-items: center; }
.brand img { width: 104px; height: 54px; display: block; object-fit: contain; }
.brand-section { padding-left: 19px; border-left: 1px solid var(--edge); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.back { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; min-height: 44px; color: var(--muted); font-size: 13px; }
.back span { font-size: 20px; }
.banner { position: relative; isolation: isolate; overflow: hidden; background: #1a172b; border-block: 1px solid #403449; }
.banner-art { position: absolute; right: 0; top: 0; z-index: -2; width: 67%; height: 100%; object-fit: cover; object-position: 50% 29%; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #181524 0%, #201a32 29%, #231b35e6 39%, #1b172c42 57%, transparent 73%); }
.banner-copy { padding-block: 32px 36px; }
.kicker { display: flex; gap: 10px; align-items: center; margin: 0; color: var(--lime); font: 700 11px/1.5 Arial,sans-serif; letter-spacing: .19em; }
.kicker::before { content: ""; width: 21px; height: 5px; background: repeating-linear-gradient(110deg, var(--lime) 0 4px, transparent 4px 7px); }
h1 { margin: 7px 0 12px; font-size: clamp(42px, 4.5vw, 62px); line-height: 1.15; letter-spacing: -.04em; font-weight: 900; }
h1 span { color: var(--lime); }
.intro { color: #e2deed; margin: 0; font-size: 14px; line-height: 1.8; }
.content { display: grid; grid-template-columns: minmax(0, 2.18fr) minmax(225px, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; padding-block: 35px 44px; }
.panel { min-width: 0; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--edge); border-radius: 8px; background: var(--panel); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
legend, .description-heading label, summary { font-size: 16px; font-weight: 700; }
.choice-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0 23px; }
.choice-row label { position: relative; }
.choice-row span { cursor: pointer; display: block; padding: 6px 16px; border: 1px solid #474254; border-radius: 4px; color: #c7c2d3; font-size: 14px; }
.choice-row input:checked + span { color: var(--lime); border-color: var(--lime); background: #2c3222; font-weight: 700; }
.choice-row span:hover { border-color: var(--muted); }
.choice-row input:focus-visible + span { outline: 2px solid white; outline-offset: 3px; }
.description-heading, .guide-heading, .receipt-actions { display: flex; align-items: center; gap: 10px; }
.description-heading { justify-content: space-between; margin-bottom: 9px; }
small, .count { font-size: 12px; color: var(--muted); font-weight: 400; }
.description-heading small, summary small { margin-left: 5px; }
.count { font-family: ui-monospace, monospace; }
textarea, .fields input { display: block; width: 100%; border: 1px solid #484454; border-radius: 4px; padding: 11px 13px; background: #111119; color: var(--text); line-height: 1.65; }
textarea { font-size: 15px; resize: vertical; min-height: 98px; }
textarea::placeholder, .fields input::placeholder { color: #9791a4; }
.privacy { margin: 7px 0 18px; color: var(--muted); font-size: 12px; }
.more { border-block: 1px solid var(--edge); }
summary { display: flex; align-items: center; min-height: 47px; font-size: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; margin: -3px 4px 0 auto; width: 7px; height: 7px; border: solid var(--lilac); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.more[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-bottom: 20px; }
.fields label { min-width: 0; color: #d7d1e2; font-size: 13px; }
.fields input { margin-top: 6px; font-size: 14px; }
.wide { grid-column: 1/-1; }
.primary, .secondary { display: inline-flex; justify-content: center; align-items: center; gap: 27px; min-height: 44px; padding: 10px 22px; border: 1px solid transparent; border-radius: 4px; font-weight: 750; font-size: 15px; }
.primary { background: var(--lime); color: #171a10; }
.primary:hover { background: #e2ff8e; }
.primary:disabled, fieldset:disabled .primary { opacity: .65; cursor: wait; }
#submit { margin-top: 20px; }
.secondary { background: transparent; color: var(--text); border-color: var(--edge); }
.guide { padding-top: 7px; }
.guide-heading { padding-bottom: 14px; border-bottom: 1px solid var(--edge); }
.spark { color: var(--lilac); font-size: 24px; line-height: 1; }
h2 { margin: 0; font-size: 21px; }
.guide h3 { font-size: 14px; margin: 19px 0 6px; }
.guide p, #receipt p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }
.help { display: grid; gap: 2px; border-top: 1px solid var(--edge); padding-top: 15px; margin-top: 22px; }
.help > span { font-size: 12px; color: var(--muted); }
.help a { width: fit-content; color: var(--lilac); font: 600 18px/1.8 Arial,sans-serif; }
.help a span { font-size: 13px; }
.error { color: #ffb6bb; margin: 12px 0 0; }
.success-mark { display: grid; place-items: center; width: 44px; height: 44px; background: #30391f; color: var(--lime); border-radius: 50%; font-size: 24px; }
#receipt h2 { margin-block: 13px 6px; }
.receipt-id { margin-block: 20px; background: #111119; border-left: 2px solid var(--lime); padding: 12px 15px; }
.receipt-id span { display: block; font-size: 12px; color: var(--muted); }
.receipt-id strong { font: 600 16px/1.7 ui-monospace, monospace; color: var(--lime); overflow-wrap: anywhere; user-select: all; }
.receipt-actions { flex-wrap: wrap; }
#copy-status { margin-top: 8px; }
.site-footer { border-top: 1px solid var(--edge); padding-block: 22px max(24px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 12px; }
.site-footer p { margin: 5px 0 0; }
.footer-top, .footer-top nav, .footer-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
.footer-top { justify-content: flex-end; margin-bottom: 12px; }
.site-footer .healthy-play { margin-top: 14px; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .topbar-inner { min-height: 58px; gap: 13px; }
  .brand img { width: 84px; height: 44px; }
  .brand-section { padding-left: 13px; }
  .banner-copy { padding-block: 27px; }
  .banner-art { width: 78%; object-position: 52% 24%; }
  .banner::before { background: linear-gradient(90deg, #181524 1%, #201a32ee 24%, #201b32a6 54%, #201b3230 90%), linear-gradient(0deg, #1714229c, transparent 66%); }
  .content { grid-template-columns: 1fr; gap: 24px; padding-block: 22px 28px; }
  .guide { padding: 0 4px; }
  .choice-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .choice-row span { padding: 9px 0; text-align: center; font-size: 13px; }
  textarea, .fields input { font-size: 16px; }
  .intro { font-size: 13px; }
  #submit { width: 100%; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .panel { padding: 15px; }
  .choice-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
