:root {
  --ink: #1b1030; --paper: #fffaf0; --pink: #ff4fa0; --purple: #a66bff; --cyan: #3fd6ff; --yellow: #ffe14f; --muted: #5a4a7a;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #2a1650 radial-gradient(ellipse at top, #5a2ca8, #2a1650 70%) fixed;
  color: var(--ink); font: 16px/1.6 ui-rounded, 'Segoe UI', system-ui, -apple-system, sans-serif;
  padding: 16px;
}
.page {
  max-width: 820px; margin: 24px auto; background: var(--paper); border: 4px solid var(--ink);
  border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); padding: 22px 28px 28px;
}
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { font: 900 30px/1 Impact, 'Arial Black', sans-serif; letter-spacing: .03em; color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); text-decoration: none; }
.play { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 3px solid var(--ink); border-radius: 14px;
  background: var(--pink); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 var(--ink); }
h1 { font: 900 36px/1.1 Impact, 'Arial Black', sans-serif; color: var(--pink); margin: 18px 0 4px; letter-spacing: .02em; }
h2 { font-size: 21px; margin: 26px 0 6px; color: var(--ink); border-bottom: 3px dashed #e4dcef; padding-bottom: 4px; }
h3 { font-size: 17px; margin: 18px 0 4px; }
p, li { color: #2c2245; }
.lead { color: var(--muted); font-weight: 600; }
.meta { color: var(--muted); font-size: 14px; }
.box { border: 3px solid var(--ink); border-radius: 16px; padding: 12px 16px; background: #fff; margin: 12px 0; }
.kid { background: #fff6c9; }
table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 8px 0; }
th, td { border: 2px solid #e4dcef; padding: 6px 8px; text-align: left; vertical-align: top; }
th { background: #f3eefb; }
a { color: #6b2fd6; font-weight: 600; }
nav.links { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-top: 26px; padding-top: 14px; border-top: 3px dashed #e4dcef; font-size: 15px; }
nav.links a { display: inline-flex; align-items: center; min-height: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 3px solid var(--ink);
  border-radius: 14px; background: var(--purple); color: #fff; font-family: inherit; font-weight: 800; font-size: 17px; cursor: pointer; box-shadow: 0 4px 0 var(--ink); }
.btn.secondary { background: #fff; color: var(--ink); }
.btn:disabled { opacity: .6; cursor: wait; }
form { display: grid; gap: 14px; margin-top: 12px; }
label.field { display: grid; gap: 4px; font-weight: 700; }
input[type=text], input[type=email], select, textarea {
  font-family: inherit; font-size: 16px; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 150px; resize: vertical; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; min-height: 44px; }
label.check input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--pink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 10px 14px; font-weight: 700; }
.notice.ok { background: #d9ffe3; border: 3px solid #1f8a44; }
.notice.err { background: #ffe0e8; border: 3px solid #c2185b; }
.small { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .page { padding: 16px; margin: 8px auto; } h1 { font-size: 28px; } }
