:root {
  color-scheme: light;
  font: 100%/1.55 system-ui, "Microsoft YaHei", sans-serif;
  color: #202124;
  background: #f5f4f9;
  --muted: #535360;
  --line: #d9d6e2;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 50rem; margin: auto; padding: 1.5rem 1.25rem 3rem; }
header, .heading, .actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
header, .heading { justify-content: space-between; }
.brand { font-weight: 750; letter-spacing: 0.025em; }
h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); margin: 1.5rem 0 0; }
h2, h3 { margin: 0 0 0.55rem; overflow-wrap: anywhere; }
p { margin: 0.5rem 0 1rem; }
section { padding: 1.25rem; margin: 1rem 0; background: #fff; border: 1px solid var(--line); border-radius: 1rem; }
.muted, dt { color: var(--muted); }
form { display: grid; gap: 0.55rem; }
label { font-weight: 600; }
button, input { font: inherit; min-height: 2.75rem; border-radius: 0.65rem; }
input { width: 100%; padding: 0.45rem 0.7rem; border: 1px solid #9894a4; }
button { padding: 0.45rem 1rem; color: #fff; background: #262430; border: 1px solid #262430; cursor: pointer; }
button.secondary { color: #262430; background: #fff; border-color: #9894a4; }
button:disabled { opacity: 0.55; cursor: default; }
:focus-visible { outline: 3px solid #6848aa; outline-offset: 3px; }
.actions, #gift, #gift button { margin-top: 0.5rem; }
#gift button { justify-self: start; }
dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 0.7rem; }
dl div, .badge { background: #f1edf8; border-radius: 0.6rem; padding: 0.45rem 0.7rem; }
dd { margin: 0; font-size: 1.25rem; font-weight: 650; }
#message[data-error="true"] { color: #a32432; }
[hidden] { display: none !important; }
