/* Register + admin */
.reg { min-height: 100svh; display: grid; grid-template-columns: 0.8fr 1.2fr; }
.reg-side { position: sticky; top: 0; height: 100svh; padding: 110px clamp(24px, 4vw, 60px) 40px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); background: radial-gradient(120% 70% at 0% 100%, rgba(214,255,75,.06), transparent 60%), #070707; overflow: hidden; }
.reg-side h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: 0.92; letter-spacing: -0.06em; margin: 22px 0 18px; font-weight: 700; }
.reg-side h1 .serif { font-weight: 400; }
.reg-side p { color: var(--ink-2); max-width: 400px; margin: 0; }
.prog { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.prog button { all: unset; cursor: pointer; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; transition: color .3s; }
.prog button:last-child { border-bottom: 1px solid var(--line); }
.prog button[disabled] { cursor: default; }
.prog .n { font-family: var(--mono); font-size: 12px; }
.prog .ck { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; transition: all .3s; }
.prog button.cur { color: var(--ink); }
.prog button.cur .ck { border-color: #fff; box-shadow: inset 0 0 0 5px #fff; }
.prog button.done { color: var(--ink-2); }
.prog button.done .ck { background: var(--accent); border-color: var(--accent); color: #000; }
.reg-badge { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 13.5px; color: var(--ink-2); }
.reg-badge b { font-size: 30px; letter-spacing: -0.05em; color: var(--accent); line-height: 1; }
.reg-main { padding: 120px clamp(20px, 5vw, 90px) 80px; display: flex; flex-direction: column; }
.bar-top { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 44px; }
.bar-top i { display: block; height: 100%; background: #fff; width: var(--w, 0%); transition: width .7s var(--ease-out); }
.pane { display: none; animation: paneIn .6s var(--ease-out); }
.pane.on { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateY(24px); } }
.pane h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.05em; line-height: 1; margin: 12px 0 10px; font-weight: 700; }
.pane h2 .serif { font-weight: 400; }
.pane > p.lead { color: var(--ink-2); margin: 0 0 36px; max-width: 560px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.grid2 .full { grid-column: 1 / -1; }
.fld { display: flex; flex-direction: column; gap: 8px; position: relative; }
.fld > span { font-size: 13.5px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.fld > span small { color: var(--muted); font-size: 12px; }
.fld input, .fld select, .fld textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #0e0e0e; border: 1px solid var(--line-2); border-radius: 14px;
  padding: 15px 16px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.fld textarea { min-height: 120px; resize: vertical; }
.fld select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' stroke='%23bdbdbd' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.fld select option { background: #111; color: #fff; }
.fld input::placeholder, .fld textarea::placeholder { color: #5a5a5a; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: rgba(255,255,255,.3); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.08); background: #111; }
.fld.err input, .fld.err select, .fld.err textarea { border-color: #ff6b6b; }
.fld .msg { font-size: 12.5px; color: #ff8a8a; min-height: 0; }
.fld .ok-tick { position: absolute; right: 14px; top: 44px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #000; font-size: 11px; display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: all .3s var(--ease-out); pointer-events: none; }
.fld.valid .ok-tick { opacity: 1; transform: none; }
.fld select ~ .ok-tick { right: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14.5px; cursor: pointer; transition: all .25s var(--ease); user-select: none; }
.chips span:hover { border-color: rgba(255,255,255,.4); }
.chips input:checked + span { background: #fff; color: #000; border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cards3 label { position: relative; }
.cards3 input { position: absolute; opacity: 0; }
.cards3 .opt { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 18px; border: 1px solid var(--line-2); cursor: pointer; transition: all .25s var(--ease); }
.cards3 .opt b { font-size: 16px; letter-spacing: -0.02em; }
.cards3 .opt small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.cards3 .opt .ico { font-size: 22px; margin-bottom: 6px; }
.cards3 input:checked + .opt { background: #fff; color: #000; border-color: #fff; transform: translateY(-2px); }
.cards3 input:checked + .opt small { color: #555; }
.cards3 input:focus-visible + .opt { outline: 2px solid var(--accent); outline-offset: 3px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; width: fit-content; }
.stepper button { width: 50px; height: 52px; border: 0; background: transparent; font-size: 20px; color: var(--ink); }
.stepper button:hover { background: rgba(255,255,255,.06); }
.stepper input { width: 70px; text-align: center; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(255,255,255,.4); margin: 0; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: "✓"; color: #000; font-size: 13px; font-weight: 800; }
.check.err { border-color: #ff6b6b; }
.nav-btns { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.nav-btns .hint { color: var(--muted); font-size: 13px; }
.review { display: flex; flex-direction: column; gap: 14px; }
.review section { border: 1px solid var(--line); border-radius: 20px; padding: 6px 20px 10px; background: rgba(255,255,255,.02); }
.review header { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 6px; }
.review header b { font-size: 16px; letter-spacing: -0.02em; }
.review header button { border: 1px solid var(--line-2); background: transparent; border-radius: 99px; padding: 6px 14px; font-size: 13px; }
.review header button:hover { background: #fff; color: #000; }
.review dl { display: grid; grid-template-columns: minmax(130px, 0.6fr) 1fr; margin: 0; }
.review dt, .review dd { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; margin: 0; }
.review dt { color: var(--muted); }
.review dd { color: var(--ink); word-break: break-word; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.server-err { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.4); color: #ffb3b3; font-size: 14px; display: none; }
.server-err.on { display: block; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0,0,0,.2); border-top-color: #000; animation: spin .7s linear infinite; }
.done-pane { text-align: left; }
.done-mark { width: 96px; height: 96px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-bottom: 30px; animation: pop .7s var(--ease-out); }
.done-mark svg { width: 46px; height: 46px; stroke: #000; stroke-width: 3; fill: none; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .4s ease forwards; }
.ref-card { margin: 30px 0; padding: 26px; border-radius: 24px; background: #fff; color: #000; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ref-card small { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #666; }
.ref-card b { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.03em; font-family: var(--mono); font-weight: 500; }
.ref-card .btn { --b: #000; --c: #fff; }
.next-list { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.next-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); }
.next-list li > span { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; }
.next-list li b { display: block; font-size: 15.5px; }
.next-list li p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }

@media (max-width: 960px) {
  .reg { grid-template-columns: 1fr; }
  .reg-side { position: relative; height: auto; padding: 100px 20px 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .reg-side .prog, .reg-side .reg-badge { display: none; }
  .reg-side h1 { font-size: 44px; margin-bottom: 12px; }
  .reg-main { padding: 32px 20px 60px; }
  .bar-top { position: sticky; top: 76px; z-index: 10; margin-bottom: 30px; }
}
@media (max-width: 600px) {
  .grid2 { grid-template-columns: 1fr; }
  .cards3 { grid-template-columns: 1fr; }
  .review dl { grid-template-columns: 1fr; }
  .review dt { border-top: 1px solid var(--line); padding-bottom: 0; }
  .review dd { border-top: 0; padding-top: 4px; }
  .nav-btns .btn { flex: 1; }
}
