/* Dusty Tweaks - the booking window (four steps: package, your PC, games and goals, check and book).
   Left: a rail with the steps as a vertical line and the chosen package as a receipt. Right: the step itself,
   a progress line on top, the buttons in a bar at the bottom. Phone: the rail becomes a slim bar with four segments. */

.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) var(--gut-r) max(16px, env(safe-area-inset-bottom, 0px)) var(--gut); }
.modal .shade { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, rgba(14,14,18,.9), rgba(3,3,5,.96)); }
/* while a window is open, the page behind it holds still (its animations, see also bg.js and the CTA dust) */
body.locked *, body.locked *::before, body.locked *::after { animation-play-state: paused !important; }
body.locked #modal *, body.locked #modal *::before, body.locked #modal *::after, body.locked #lb * { animation-play-state: running !important; }

.sheet {
  position: relative; width: min(1120px, 100%); height: min(90vh, 760px);
  display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; border-radius: 28px;
  border: 1px solid transparent;
  background: linear-gradient(#0d0d10, #0d0d10) padding-box,
              linear-gradient(160deg, rgba(255,255,255,.32), rgba(255,255,255,.04) 38%, rgba(255,255,255,.03) 70%, rgba(255,255,255,.16)) border-box;
  box-shadow: 0 50px 110px -40px #000, 0 0 0 1px rgba(0,0,0,.6);
}

/* ---------- rail ---------- */
.rail {
  position: relative; display: flex; flex-direction: column; gap: 26px; min-height: 0; overflow-y: auto;
  padding: 28px 22px 22px; border-right: 1px solid var(--line);
  background: radial-gradient(140% 40% at 0% 0%, rgba(232,235,242,.075), transparent 60%), linear-gradient(180deg, #0b0b0e, #09090b);
}
.rail-brand { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.rail-brand img { width: 34px; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.rail-brand span { font: 600 15px/1.15 var(--display); letter-spacing: -.01em; }
.rail-brand small { display: block; margin-top: 3px; font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

.rail-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rail-steps li { position: relative; }
.rail-steps li + li::before { content: ""; position: absolute; left: 21px; top: -12px; width: 1px; height: 24px; background: var(--line-2); transition: background .4s; }
.rail-steps li.done + li::before, .rail-steps li.on::before { background: linear-gradient(var(--chrome), rgba(232,235,242,.35)); }
.rail-steps button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 8px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: default; color: var(--faint); transition: background .3s, color .3s; }
.rail-steps li.done button { cursor: pointer; }
.rail-steps li.done button:hover { background: rgba(255,255,255,.035); color: var(--soft); }
.rail-steps i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: #0d0d10; font: 600 11.5px/1 var(--display); font-style: normal; color: var(--faint); transition: color .3s, background .3s, border-color .3s; }
.rail-steps i svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; display: none; }
.rail-steps b { display: block; font: 500 14px/1.2 var(--sans); color: inherit; }
.rail-steps small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.2; color: var(--faint); }
.rail-steps li.on button { color: var(--text); }
.rail-steps li.on i { background: linear-gradient(180deg, #fff, #d6dae2); color: var(--on-chrome); border-color: transparent; box-shadow: 0 0 0 5px rgba(232,235,242,.08), 0 8px 22px -6px rgba(232,235,242,.5); }
.rail-steps li.done button { color: var(--soft); }
.rail-steps li.done i { color: var(--chrome); border-color: rgba(232,235,242,.38); }
.rail-steps li.done i svg { display: block; }
.rail-steps li.done i span { display: none; }

/* the receipt */
.rail-pkg { margin-top: auto; position: relative; display: grid; gap: 12px; padding: 18px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); overflow: hidden; }
.rail-pkg::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
.rail-pkg .k { font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.rail-pkg .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.rail-pkg h4 { font: 500 17px/1.2 var(--display); }
.rail-pkg .t { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 12px; color: var(--dim); }
.rail-pkg .t svg { width: 13px; height: 13px; }
.rail-pkg .pr { font: 600 30px/1 var(--display); letter-spacing: -.03em; color: #fff; text-shadow: 0 0 24px rgba(232,235,242,.25); }
.rail-pkg ul { margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--line-2); list-style: none; display: grid; gap: 7px; font-size: 12.5px; color: var(--dim); }
.rail-pkg li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.rail-pkg li svg { width: 13px; height: 13px; flex: none; margin-top: 2px; fill: none; stroke: var(--chrome); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rail-pkg.empty { place-items: center; text-align: center; min-height: 120px; color: var(--faint); font-size: 13px; border-style: dashed; background: none; }
.rail-pkg.empty::before { display: none; }
.rail-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(88,101,242,.07); border: 1px solid rgba(88,101,242,.2); font-size: 12px; line-height: 1.5; color: var(--dim); }
.rail-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; fill: #8b95ff; }

/* ---------- main ---------- */
.main { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; background: radial-gradient(70% 40% at 100% 0%, rgba(232,235,242,.04), transparent 70%); }
.mprog { position: absolute; inset: 0 0 auto; height: 2px; background: rgba(255,255,255,.05); }
.mprog span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(.25); background: linear-gradient(90deg, rgba(232,235,242,.2), #fff); transition: transform .6s var(--ease); }
.main .mh { padding: 30px 92px 4px 40px; display: grid; gap: 7px; }
.main .mh small { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.main .mh small b { color: var(--soft); font-weight: 600; }
.main .mh h3 { font-size: 30px; letter-spacing: -.03em; }
.main .mh p { margin: 0; color: var(--dim); font-size: 14.5px; }
.main .xbtn { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--dim); font-size: 0; cursor: pointer; transition: color .2s, border-color .2s, background .2s, transform .3s var(--ease); }
.main .xbtn::before, .main .xbtn::after { content: ""; position: absolute; width: 14px; height: 1.6px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.main .xbtn::after { transform: rotate(-45deg); }
.main .xbtn:hover { color: var(--text); border-color: var(--line-3); background: rgba(255,255,255,.07); transform: rotate(90deg); }
.mb { contain: layout paint; overflow-y: auto; padding: 20px 40px 28px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(236,238,244,.18) transparent; }
.mf { display: flex; align-items: center; gap: 14px; padding: 16px 24px 16px 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(0,0,0,.2)); }
.mf .total { margin-left: auto; display: grid; justify-items: end; gap: 3px; font-size: 12px; color: var(--faint); line-height: 1; }
.mf .total span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.mf .total b { font: 600 22px/1 var(--display); letter-spacing: -.02em; color: var(--text); }
.mf .btn { height: 50px; border-radius: 14px; }
.mf #mBack { padding: 0 18px 0 14px; color: var(--dim); background: none; }
.mf #mBack:hover { color: var(--text); }
.mf #mBack svg { transform: scaleX(-1); }
.mf #mBack:hover svg.si { transform: scaleX(-1) translateX(2px); }
.mf #mNext { min-width: 168px; }
.mf #mGo { padding: 0 24px; box-shadow: 0 12px 30px -10px rgba(88,101,242,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.mf #mGo svg { width: 20px; height: 20px; }

/* ---------- shared pieces ---------- */
.pane { display: grid; gap: 22px; align-content: start; }
.grp { display: grid; gap: 12px; }
.grp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.grp-h span { white-space: nowrap; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.grp-h i { text-align: right; font-style: normal; font-size: 12.5px; color: var(--faint); }
.grp-h i b { color: var(--text); font-weight: 600; }
.grp.err .grp-h span, .fld.err .lbl { color: var(--bad); }
.msgline { margin: -12px 0 0; font-size: 12.5px; color: var(--bad); display: none; }
.err > .msgline, .msgline.show { display: block; }
.tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-3); transition: background .25s, border-color .25s, transform .35s var(--ease); }
.tick svg { width: 12px; height: 12px; fill: none; stroke: var(--on-chrome); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.4); transition: .3s var(--ease); }
:checked ~ .tick, :checked ~ * .tick { background: linear-gradient(180deg, #fff, #d6dae2); border-color: transparent; box-shadow: 0 4px 14px -4px rgba(232,235,242,.6); }
:checked ~ .tick svg, :checked ~ * .tick svg { opacity: 1; transform: none; }
.vh { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- step 1: packages ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pk { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 17px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); cursor: pointer; transition: border-color .25s, background-color .25s, translate .3s var(--ease); }
.pk:hover { border-color: var(--line-3); translate: 0 -3px; }
.pk:has(input:focus-visible) { outline: 2px solid var(--chrome); outline-offset: 3px; }
.pk:has(input:checked) { border-color: rgba(232,235,242,.6); background: radial-gradient(120% 60% at 50% 0%, rgba(232,235,242,.1), transparent 60%), #141419; box-shadow: 0 0 0 4px rgba(232,235,242,.06), 0 26px 50px -30px rgba(232,235,242,.35); }
.pk-top { display: flex; align-items: center; gap: 8px; }
.pk-no { font: 600 11px/1 var(--display); letter-spacing: .12em; color: var(--faint); }
.pk-tag { padding: 5px 9px; border-radius: 999px; font: 600 10.5px/1 var(--sans); letter-spacing: .02em; color: var(--on-chrome); background: linear-gradient(180deg, #fff, #cfd3db); }
.pk-top .tick { margin-left: auto; }
.pk-name { font: 600 17px/1.2 var(--display); letter-spacing: -.015em; }
.pk-price { display: flex; align-items: baseline; gap: 10px; }
.pk-price em { font: 600 34px/1 var(--display); font-style: normal; letter-spacing: -.035em; color: #fff; }
.pk-price small { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.pk-price small svg { width: 12px; height: 12px; }
.pk-line { font-size: 13px; line-height: 1.45; color: var(--dim); }
.pk-f { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 12.5px; color: var(--soft); }
.pk-f li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
.pk-f li svg { width: 13px; height: 13px; flex: none; margin-top: 2px; fill: none; stroke: var(--chrome); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pk-f li.plus { color: var(--faint); font-size: 12px; }
.pk.top { border-color: rgba(232,235,242,.26); }
.singles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pk.one { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
.pk-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #1d1d23, #121216); color: var(--soft); transition: color .3s, background .3s, border-color .3s; }
.pk-ico svg { width: 22px; height: 22px; }
.pk.one:has(input:checked) .pk-ico { background: linear-gradient(180deg, #fff, #d4d8e0); color: var(--on-chrome); border-color: transparent; }
.pk-mid { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pk-mid b { font: 600 15px/1.2 var(--display); }
.pk-mid span { font-size: 12.5px; line-height: 1.4; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk.one .pk-price em { font-size: 24px; }

/* ---------- step 2: your PC ---------- */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spec-f { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); cursor: text; transition: border-color .25s, background-color .25s; }
.spec-f:hover { border-color: var(--line-3); }
.spec-f:focus-within { border-color: rgba(232,235,242,.6); background: #141419; box-shadow: 0 0 0 4px rgba(232,235,242,.07), 0 20px 40px -28px rgba(232,235,242,.4); }
.spec-f .ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #1d1d23, #121216); color: var(--dim); transition: color .3s, background .3s, border-color .3s; }
.spec-f .ico svg { width: 24px; height: 24px; }
.spec-f:focus-within .ico, .spec-f.ok .ico { color: var(--on-chrome); background: linear-gradient(180deg, #fff, #d4d8e0); border-color: transparent; box-shadow: 0 8px 20px -8px rgba(232,235,242,.55); }
.spec-f .tx { flex: 1; min-width: 0; display: grid; gap: 4px; }
.spec-f .sl { font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.spec-f input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 500 15.5px var(--sans); padding: 0; height: 24px; }
.spec-f input::placeholder { color: #4f535b; font-weight: 400; }
.spec-f .msg { display: none; font-size: 11.5px; color: var(--bad); }
.spec-f.err { border-color: rgba(255,122,122,.7); }
.spec-f.err .msg { display: block; }
.spec-f.err .sl { color: var(--bad); }
.spec-f .ok-b { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #fff, #d6dae2); opacity: 0; transform: scale(.3); transition: .35s var(--ease); }
.spec-f .ok-b svg { width: 11px; height: 11px; fill: none; stroke: var(--on-chrome); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.spec-f.ok .ok-b { opacity: 1; transform: none; }

.fld { display: grid; gap: 10px; min-width: 0; align-content: start; }
.fld .lbl { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.fld .lbl i { font: 400 12px var(--sans); letter-spacing: 0; text-transform: none; font-style: normal; color: var(--faint); }
.inp { width: 100%; min-width: 0; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); color: var(--text); font: 400 15px var(--sans); padding: 0 16px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
textarea.inp { height: auto; min-height: 96px; padding: 13px 16px; resize: vertical; line-height: 1.5; }
.inp:hover { border-color: var(--line-3); }
.inp:focus { border-color: rgba(232,235,242,.55); background: #141419; box-shadow: 0 0 0 4px rgba(232,235,242,.07); }
.inp::placeholder { color: #4f535b; }
.count { justify-self: end; margin-top: -4px; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* option tiles (Windows now, remote app) */
.opts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; padding: 5px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.25); }
.opt { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 11px; font: 500 13.5px var(--sans); color: var(--dim); cursor: pointer; text-align: center; transition: color .2s, background .25s, box-shadow .3s; }
.opt:hover { color: var(--text); background: rgba(255,255,255,.04); }
.opt svg { width: 16px; height: 16px; flex: none; fill: currentColor; }
.opt svg.si { fill: none; }
.opt .dmark { width: 14px; height: auto; flex: none; }
.opt:has(input:checked) .dmark { filter: invert(1) brightness(.2); }
.opt:has(input:checked) { color: var(--on-chrome); background: linear-gradient(180deg, #fff, #d6dae2); box-shadow: 0 8px 20px -10px rgba(232,235,242,.6), inset 0 1px 0 #fff; }
.opt:has(input:focus-visible) { outline: 2px solid var(--chrome); outline-offset: 2px; }

.hintline { display: flex; gap: 12px; align-items: center; margin: 0; padding: 13px 16px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--dim); font-size: 13px; line-height: 1.45; }
.hintline svg { width: 18px; height: 18px; flex: none; color: var(--soft); }

/* ---------- step 3: games and goals ---------- */
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gm { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 9px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); cursor: pointer; font: 500 13px/1.2 var(--sans); color: var(--soft); transition: border-color .2s, background .2s, color .2s, translate .3s var(--ease); }
.gm:hover { border-color: var(--line-3); color: var(--text); translate: 0 -2px; }
.gm img { width: 30px; height: 30px; flex: none; border-radius: 8px; filter: saturate(.85); transition: filter .25s, transform .35s var(--ease); }
.gm .gn { flex: 1; min-width: 0; line-height: 1.25; }
.gm .tick { width: 18px; height: 18px; border-width: 1.2px; }
.gm .tick svg { width: 10px; height: 10px; }
.gm:has(input:checked) { border-color: rgba(232,235,242,.6); background: #16161b; color: var(--text); box-shadow: 0 0 0 3px rgba(232,235,242,.05); }
.gm:has(input:checked) img { filter: none; transform: scale(1.06); }
.gm:has(input:focus-visible), .goal:has(input:focus-visible) { outline: 2px solid var(--chrome); outline-offset: 2px; }
.other { position: relative; }
.other svg { position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--faint); pointer-events: none; }
.other .inp { padding-left: 42px; height: 46px; }
.goals { display: flex; flex-wrap: wrap; gap: 8px; }
.goal { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font: 500 13px var(--sans); color: var(--dim); cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.goal svg { width: 15px; height: 15px; flex: none; }
.goal:hover { color: var(--text); border-color: var(--line-3); }
.goal:has(input:checked) { color: var(--on-chrome); border-color: transparent; background: linear-gradient(180deg, #fff, #d6dae2); box-shadow: 0 8px 20px -10px rgba(232,235,242,.6); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.grid2 .wide { grid-column: 1 / -1; }

/* ---------- step 4: check and book ---------- */
.rv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rv-c { display: grid; align-content: start; gap: 12px; padding: 16px 18px 18px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); min-width: 0; }
.rv-c.wide { grid-column: 1 / -1; }
.rv-c header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rv-c header span { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.rv-c header span svg { width: 15px; height: 15px; color: var(--dim); }
.edit { border: 0; background: none; padding: 4px 2px; font: 500 12.5px var(--sans); color: var(--dim); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; transition: color .2s; }
.edit:hover { color: var(--text); text-decoration-color: currentColor; }
.rv-pk { display: flex; align-items: center; gap: 14px; }
.rv-pk .pk-ico { width: 48px; height: 48px; background: linear-gradient(180deg, #fff, #d4d8e0); color: var(--on-chrome); border-color: transparent; }
.rv-pk div { flex: 1; min-width: 0; display: grid; gap: 4px; }
.rv-pk b { font: 600 17px/1.2 var(--display); }
.rv-pk small { font-size: 12.5px; color: var(--dim); }
.rv-pk em { font: 600 28px/1 var(--display); font-style: normal; letter-spacing: -.03em; }
.rv dl { margin: 0; display: grid; gap: 0; }
.rv dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.rv dl div:first-child { border-top: 0; padding-top: 0; }
.rv dt { color: var(--faint); }
.rv dd { margin: 0; color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.ticks { display: grid; gap: 10px; }
.ticks label { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 15px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); cursor: pointer; font-size: 13.5px; line-height: 1.5; color: var(--soft); transition: border-color .2s, background .2s; }
.ticks label:hover { border-color: var(--line-3); }
.ticks label .tick { border-radius: 7px; margin-top: 0; }
.ticks label:has(input:checked) { border-color: rgba(232,235,242,.4); background: #141419; }
.ticks label:has(input:focus-visible) { outline: 2px solid var(--chrome); outline-offset: 2px; }
.ticks label.err { border-color: rgba(255,122,122,.7); animation: shake .4s; }
.ticks b { color: var(--text); font-weight: 600; }
@keyframes shake { 20%, 60% { translate: -4px 0; } 40%, 80% { translate: 4px 0; } }
.next3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: n; }
.next3 li { counter-increment: n; display: grid; gap: 6px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.02); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; color: var(--dim); }
.next3 li::before { content: "0" counter(n); font: 600 11px/1 var(--display); letter-spacing: .12em; color: var(--faint); }
.next3 b { font: 500 14px var(--sans); color: var(--text); }
.sent { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 26px 20px; border-radius: 20px; border: 1px solid rgba(88,101,242,.45); background: radial-gradient(80% 120% at 50% 0%, rgba(88,101,242,.18), transparent 70%), #111117; animation: sentIn .6s var(--ease); }
.sent svg { width: 40px; height: 40px; fill: #fff; }
.sent b { font: 500 18px var(--display); }
.sent p { margin: 0; color: var(--dim); font-size: 14px; max-width: 46ch; }
@keyframes sentIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .sheet { grid-template-columns: 250px minmax(0, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .pk.tier .pk-f { display: none; }
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .modal { padding: 0; }
  .sheet { width: 100%; height: 100%; border-radius: 0; border: 0; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .rail { flex-direction: row; align-items: center; gap: 14px; padding: calc(14px + env(safe-area-inset-top, 0px)) 66px 14px 16px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .rail-brand { padding: 0; }
  .rail-brand span, .rail-pkg, .rail-note { display: none; }
  .rail-brand img { width: 28px; }
  .rail-steps { display: flex; gap: 6px; flex: 1; }
  .rail-steps li { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; transition: background .4s; }
  .rail-steps li::before, .rail-steps li + li::before { display: none; }
  .rail-steps button { display: none; }
  .rail-steps li.on, .rail-steps li.done { background: var(--chrome); }
  .mprog { display: none; }
  .main .xbtn { position: fixed; top: calc(8px + env(safe-area-inset-top, 0px)); right: 12px; }
  .main .mh { padding: 22px 18px 4px; }
  .main .mh h3 { font-size: 24px; }
  .main .mh p { font-size: 13.5px; }
  .mb { padding: 16px 18px 24px; }
  .mf { padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); flex-wrap: wrap; gap: 10px; }
  .mf .total { order: -1; width: 100%; grid-auto-flow: column; justify-content: space-between; align-items: center; margin: 0 0 2px; }
  .mf .btn { flex: 1; }
  .mf #mNext { min-width: 0; }
  .singles, .specs, .grid2, .rv, .next3 { grid-template-columns: 1fr; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk.tier { padding: 16px; }
  .rv dl div { grid-template-columns: 1fr; gap: 2px; }
}
