/* ---------- create flow ---------- */
.create-screen { background: radial-gradient(900px 400px at 85% -100px, rgba(224, 56, 62, .12), transparent 70%); }
.cr-top h1 { font-size: 28px; }
.cr-steps { display: flex; gap: 4px; align-self: flex-start; margin-top: 8px; }
.cr-steps i { width: 18px; height: 5px; background: rgba(255, 255, 255, .12); border-radius: 1px; }
.cr-steps i.done { background: var(--chalk-2); } .cr-steps i.on { background: var(--red); width: 28px; }
.cr-wrap { max-width: 1120px; margin: 0 auto; padding: 4px 16px 24px; }
.cr-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px max(16px, var(--sr)) calc(12px + var(--sb)) max(16px, var(--sl)); border-top: 1px solid var(--line); background: rgba(8, 13, 25, .92); }
.cr-foot .btn-primary { flex: 1; max-width: 360px; margin-left: auto; }
.cr-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cr-field input { height: 50px; border-radius: 4px; border: 1px solid var(--line-2); background: #0b1324; color: var(--chalk); padding: 0 14px; font: 600 18px/1 var(--f-body); width: 100%; outline: none; }
.cr-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 194, 92, .22); }
.cr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper output { min-width: 54px; text-align: center; font-size: 26px; color: var(--chalk); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #0b1324; border: 1px solid var(--line-2); border-radius: 4px; padding: 3px; gap: 3px; }
.seg button { appearance: none; border: 0; height: 40px; border-radius: 3px; background: transparent; cursor: pointer; font: 800 16px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.seg button[aria-checked="true"] { background: var(--chalk); color: #111a2c; }
.seg button:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { appearance: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25); position: relative; }
.sw.on { box-shadow: 0 0 0 3px var(--night), 0 0 0 5px var(--chalk); }
.sw:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.hairs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.hair { appearance: none; border: 1px solid var(--line-2); background: #0b1324; border-radius: 4px; padding: 0 0 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 700 11px/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); overflow: hidden; }
.hair-face { width: 100%; aspect-ratio: 1; overflow: hidden; display: block; }
.hair-face svg { width: 170%; height: auto; margin: -16% 0 0 -35%; }
.hair.on { border-color: var(--chalk); color: var(--chalk); background: #15213a; }
.hair:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.cr-preview { display: flex; gap: 14px; align-items: flex-end; }
.cr-portrait { width: 124px; height: 136px; flex: none; box-shadow: 0 18px 30px -16px #000; }
.cr-nameplate { display: flex; gap: 12px; align-items: flex-end; min-width: 0; padding-bottom: 4px; }
.cr-num { font-size: 46px; line-height: .85; color: var(--red); -webkit-text-stroke: 1px rgba(255, 255, 255, .25); }
.cr-nameplate b { display: block; font-size: 20px; line-height: 1.08; word-break: break-word; }
.cr-nameplate div > span { display: block; margin-top: 6px; font: 600 13px/1.2 var(--f-cond); letter-spacing: .06em; color: var(--mute); text-transform: uppercase; }
.cr-you { display: grid; gap: 22px; }
@media (max-width: 420px) { .hairs { grid-template-columns: repeat(3, 1fr); } .hair-face { aspect-ratio: 1.25; } .hair-face svg { width: 150%; margin: -14% 0 0 -25%; } }
@media (min-width: 900px) and (orientation: landscape) {
  .cr-wrap { padding: 12px 32px 32px; }
  .cr-you { grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
  .cr-you .cr-preview { flex-direction: column; align-items: stretch; position: sticky; top: 0; }
  .cr-you .cr-portrait { width: 100%; height: 400px; }
  .cr-you .cr-nameplate b { font-size: 26px; }
  .cr-foot { padding-left: 32px; padding-right: 32px; }
}

/* position */
.cr-pos { display: grid; gap: 16px; }
.pos-pitch { position: relative; width: 100%; max-width: min(100%, 360px); aspect-ratio: 100 / 120; margin: 0 auto; border-radius: 6px; box-shadow: 0 20px 40px -20px #000, 0 0 0 1px rgba(255, 255, 255, .06); }
.pos-pitch .pitch { width: 100%; height: 100%; display: block; border-radius: 6px; }
.pos-mk { position: absolute; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); background: rgba(10, 17, 32, .55); color: #fff; cursor: pointer; display: grid; place-items: center; font: 800 15px/1 var(--f-display); letter-spacing: .03em; transition: transform .15s, background .15s; }
.pos-mk:hover { background: rgba(10, 17, 32, .85); }
.pos-mk.on { background: var(--red); border-color: #fff; transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 0 0 6px rgba(224, 56, 62, .3), 0 10px 20px -6px #000; }
.pos-mk:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pos-detail { padding: 18px 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 6px; }
.pos-detail.empty p { margin: 6px 0; }
.pos-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pos-head h2 { font: 900 34px/.95 var(--f-display); text-transform: uppercase; margin: 6px 0 0; }
.pos-blurb { color: var(--chalk-2); margin: 10px 0 14px; }
.pos-bars { display: grid; gap: 9px; }
.pos-bar { display: grid; grid-template-columns: 86px 1fr 28px 34px; gap: 10px; align-items: center; font: 600 14px/1 var(--f-cond); letter-spacing: .04em; }
.pos-bar b { font: 800 17px/1 var(--f-display); text-align: right; }
.pos-bar em { font-style: normal; color: var(--mute); font-size: 12px; text-align: right; }
@media (min-width: 900px) and (orientation: landscape) {
  .cr-pos { grid-template-columns: minmax(380px, 470px) 1fr; gap: 36px; align-items: center; }
  .pos-pitch { max-width: 470px; }
  .pos-detail { padding: 26px; }
  .pos-head h2 { font-size: 48px; }
}

/* hometown */
.cr-home { display: grid; gap: 16px; }
.ht-search input { font-size: 17px; }
.state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.st-tile { appearance: none; border: 1px solid var(--line); background: #0d1628; border-radius: 4px; min-height: 58px; padding: 6px 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--chalk); }
.st-tile b { font: 900 22px/1 var(--f-display); letter-spacing: .04em; }
.st-tile span { font: 600 10px/1.05 var(--f-cond); letter-spacing: .04em; color: var(--mute); text-transform: uppercase; text-align: center; }
.st-tile:hover { background: #142039; }
.st-tile.on { background: var(--chalk); color: #101828; } .st-tile.on span { color: #3a4660; }
.st-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.ht-state-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 6px; background: linear-gradient(90deg, rgba(224, 56, 62, .2), rgba(224, 56, 62, .02)); border: 1px solid rgba(224, 56, 62, .3); margin-bottom: 18px; }
.ht-state-bar b { display: block; font: 900 30px/1 var(--f-display); text-transform: uppercase; margin-top: 6px; }
.ht-state-bar em { font: 600 13px/1 var(--f-cond); letter-spacing: .08em; color: var(--chalk-2); font-style: normal; text-transform: uppercase; }
.city-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.city { appearance: none; border: 1px solid var(--line); background: #0d1628; color: var(--chalk); border-radius: 4px; min-height: 50px; padding: 0 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font: 700 16px/1.1 var(--f-cond); letter-spacing: .02em; text-align: left; }
.city .ic { width: 18px; height: 18px; color: var(--mute); }
.city.on { background: var(--chalk); color: #101828; border-color: var(--chalk); } .city.on .ic { color: var(--red); }
.city:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ht-card { border-radius: 6px; background: linear-gradient(180deg, #16233c, #0f182b); border: 1px solid var(--line); overflow: hidden; }
.ht-card.empty { padding: 18px 16px; } .ht-card.empty p { margin: 10px 0 0; }
.ht-sign { position: relative; padding: 16px 18px 14px; background: #1d5c38; border-bottom: 4px solid #f4efe3; box-shadow: inset 0 0 0 3px #1d5c38, inset 0 0 0 5px rgba(255, 255, 255, .8); }
.ht-sign span { font: 600 13px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: #d7ecdc; }
.ht-sign b { display: block; font: 900 40px/.95 var(--f-display); text-transform: uppercase; margin: 6px 0 2px; color: #fff; }
.ht-sign em { font: 700 14px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: #d7ecdc; }
.ht-list { list-style: none; margin: 0; padding: 6px 16px 10px; }
.ht-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ht-list li:last-child { border-bottom: 0; }
.ht-list b { display: block; font: 700 17px/1.2 var(--f-body); margin-top: 5px; }
.ht-list em { display: block; font: 600 13px/1.2 var(--f-cond); letter-spacing: .05em; color: var(--mute); font-style: normal; margin-top: 2px; }
.ht-colleges b { font-size: 15px; margin-top: 4px; }
.ht-ico { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gold); flex: none; }
@media (min-width: 900px) and (orientation: landscape) {
  .cr-home { grid-template-columns: 1fr 420px; gap: 32px; align-items: start; }
  .state-grid { grid-template-columns: repeat(7, 1fr); }
  .city-list { grid-template-columns: repeat(3, 1fr); }
}

/* player pass */
.cr-pass { display: grid; gap: 24px; justify-items: center; padding-top: 8px; }
.pass-card { width: min(100%, 380px); background: #f4efe3; color: #121a2c; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 50px -24px #000, 0 0 0 1px rgba(0, 0, 0, .2); transform: rotate(-1.2deg); animation: passIn .6s cubic-bezier(.2, .9, .2, 1.1) both; background-image: radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1.2px); background-size: 4px 4px; }
@keyframes passIn { from { transform: rotate(-6deg) translateY(30px); opacity: 0; } }
.pass-top { display: flex; justify-content: space-between; padding: 10px 16px; background: #c8102e; color: #fff; font: 800 13px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; }
.pass-main { display: grid; grid-template-columns: 112px 1fr auto; gap: 12px; padding: 14px 16px 10px; align-items: start; }
.pass-photo { width: 112px; height: 124px; border-radius: 3px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(0, 0, 0, .15); }
.pass-id b { font-size: 19px; line-height: 1.05; display: block; color: #13203d; }
.pass-id dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 10px 0 0; font: 600 14px/1.1 var(--f-cond); }
.pass-id dt { color: #6b7385; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; } .pass-id dd { margin: 0; font-weight: 700; }
.pass-card .ovr { --c: #c8102e; width: 58px; height: 64px; } .pass-card .ovr b { font-size: 28px; text-shadow: none; } .pass-card .ovr::before { background: #fff; } .pass-card .ovr small { color: #6b7385; }
.pass-stats { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid #13203d; border-bottom: 2px solid #13203d; margin: 4px 16px; }
.pass-stats div { text-align: center; padding: 8px 0; border-right: 1px solid rgba(19, 32, 61, .2); }
.pass-stats div:last-child { border-right: 0; }
.pass-stats b { display: block; font: 900 22px/1 var(--f-display); }
.pass-stats span { font: 700 10px/1 var(--f-cond); letter-spacing: .12em; color: #6b7385; }
.pass-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px; }
.pass-foot .label { color: #6b7385; } .pass-foot .label::before { background: #c8102e; }
.pass-foot b { display: block; font: 700 14px/1.2 var(--f-body); margin-top: 5px; }
.pass-sig { padding: 2px 16px 14px; position: relative; }
.pass-sig .sig { font: 700 32px/1 var(--f-hand); color: #1f3a8a; display: inline-block; transform: rotate(-3deg); animation: sign 1.2s .3s steps(18) both; clip-path: inset(0 100% 0 0); }
@keyframes sign { to { clip-path: inset(0 0 0 0); } }
.pass-sig i { display: block; height: 1px; background: #13203d; margin-top: 2px; }
.pass-sig em { font: 600 10px/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: #6b7385; font-style: normal; }
.pass-copy { max-width: 440px; }
.pass-copy h2 { font: 900 30px/1 var(--f-display); text-transform: uppercase; margin: 0 0 8px; }
.pass-copy p { color: var(--chalk-2); margin: 0; }
@media (min-width: 900px) and (orientation: landscape) { .cr-pass { grid-template-columns: auto 380px; justify-content: center; align-items: center; gap: 60px; padding-top: 30px; } .pass-card { width: 400px; } }

.ht-cities.wide { margin-top: 18px; }
@media (min-width: 900px) and (orientation: landscape) {
  .cr-top { max-width: 1120px; width: 100%; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
  .cr-home .state-grid { grid-template-columns: repeat(9, 1fr); gap: 5px; }
  .cr-home .st-tile { min-height: 46px; }
  .cr-home .st-tile span { display: none; }
  .cr-home .ht-search { max-width: 360px; }
}
@media (max-width: 899px), (orientation: portrait) { .pos-pitch { max-width: 300px; } .pos-mk { width: 48px; height: 48px; font-size: 14px; } }

.pos-who { display: none; }
@media (min-width: 900px) and (orientation: landscape) {
  .pos-side { display: grid; gap: 18px; }
  .pos-who { display: block; }
  .pos-who .cr-preview { align-items: center; }
  .pos-who .cr-portrait { width: 110px; height: 120px; }
  .pos-detail .ovr.sm { width: 70px; height: 76px; } .pos-detail .ovr.sm b { font-size: 34px; } .pos-detail .ovr.sm small { font-size: 10px; margin-top: 5px; }
}

/* ---------- position step v2: lit player + compact field picker ---------- */
.cr-pos2 { display: grid; gap: 14px; }
.pos-stage { position: relative; height: 430px; margin: 0 -16px; overflow: hidden; background: #060a13; }
.pos-stage .hero { position: absolute; inset: 0 0 86px 0; }
.pos-stage::after { content: ''; position: absolute; inset: auto 0 0 0; height: 150px; background: linear-gradient(180deg, transparent, rgba(6, 10, 19, .96) 58%); pointer-events: none; z-index: 1; }
.pos-hud { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.pos-title { min-width: 0; }
.pos-code { display: inline-block; font: 800 15px/1 var(--f-display); letter-spacing: .08em; color: #fff; background: var(--red); padding: 5px 8px 4px; border-radius: 2px; }
.pos-title h2 { margin: 6px 0 0; font: 900 44px/.9 var(--f-display); text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 4px 18px rgba(0, 0, 0, .6); }
.pos-plate { position: absolute; top: 12px; right: 16px; z-index: 2; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.pos-plate b { font-size: 15px; letter-spacing: .08em; color: rgba(244, 239, 227, .75); }
.pos-plate span { font-size: 54px; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 239, 227, .55); }
.pos-panel { display: grid; gap: 14px; }
.pos-pick .label { margin-bottom: 8px; }
.pos-field { position: relative; aspect-ratio: 16 / 8.6; border-radius: 6px; overflow: hidden; box-shadow: 0 16px 30px -18px #000, 0 0 0 1px rgba(255, 255, 255, .06); }
.pos-field svg { width: 100%; height: 100%; display: block; }
.pos-mk2 { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); background: rgba(8, 14, 26, .62); color: #fff; cursor: pointer; display: grid; place-items: center; font: 800 13px/1 var(--f-display); letter-spacing: .02em; transition: transform .15s, background .15s; }
.pos-mk2:hover { background: rgba(8, 14, 26, .85); }
.pos-mk2.on { background: var(--red); border-color: #fff; transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 0 0 5px rgba(224, 56, 62, .32), 0 8px 18px -6px #000; }
.pos-mk2:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pos-info { display: grid; gap: 12px; }
.pos-panel .pos-blurb { margin: 0; color: var(--chalk-2); }
@media (min-width: 900px) and (orientation: landscape) {
  .cr-pos2 { grid-template-columns: minmax(420px, 1.05fr) 1fr; gap: 32px; align-items: stretch; }
  .pos-stage { margin: 0; height: min(620px, calc(100vh - 200px)); border-radius: 8px; box-shadow: 0 30px 60px -30px #000; }
  .pos-stage .hero { bottom: 110px; }
  .pos-title h2 { font-size: 60px; }
  .pos-panel { align-content: center; gap: 22px; }
  .pos-mk2 { width: 50px; height: 50px; font-size: 15px; }
}

/* ---------- position step v3: fits the viewport, title on clean space ---------- */
.create-screen.step-position .scroll { display: flex; flex-direction: column; }
.create-screen.step-position .cr-wrap { flex: 1; display: flex; flex-direction: column; width: 100%; padding-bottom: 12px; }
.cr-pos2 { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pos-stage { flex: 1 1 auto; height: auto; min-height: 190px; margin: 0 -16px; }
.pos-stage .hero { position: absolute; inset: 0; }
.pos-stage::after { height: 34px; background: linear-gradient(180deg, transparent, var(--night)); }
.pos-panel { flex: none; display: flex; flex-direction: column; gap: 10px; }
.pos-hud { position: static; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pos-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pos-title h2 { margin: 0; font-size: 34px; line-height: .95; text-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-panel .pos-blurb { margin: -4px 0 0; font-size: 15px; line-height: 1.3; color: var(--chalk-2); }
.pos-keys { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pos-keys span { display: inline-flex; align-items: baseline; gap: 5px; height: 28px; padding: 0 9px; border-radius: 3px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font: 700 11px/28px var(--f-cond); letter-spacing: .12em; color: var(--mute); }
.pos-keys span b { font: 800 16px/28px var(--f-display); color: var(--chalk); letter-spacing: 0; }
.pos-keys em { font: 600 11px/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; color: var(--mute-2); font-style: normal; }
.pos-panel .pos-bars { display: none; }
.pos-field { aspect-ratio: 16 / 8; }
@media (max-width: 899px) and (max-height: 720px) {
  .pos-field { aspect-ratio: 16 / 7; }
  .pos-mk2 { width: 38px; height: 38px; font-size: 12px; }
  .pos-keys em { display: none; }
  .pos-title h2 { font-size: 30px; }
}
@media (min-width: 900px) and (orientation: landscape) {
  .cr-pos2 { display: grid; grid-template-columns: minmax(420px, 1.05fr) 1fr; gap: 32px; align-items: stretch; }
  .pos-stage { margin: 0; min-height: 0; height: auto; border-radius: 8px; }
  .pos-stage::after { display: none; }
  .pos-panel { justify-content: center; gap: 16px; }
  .pos-title h2 { font-size: 52px; }
  .pos-panel .pos-blurb { font-size: 17px; margin: 0; }
  .pos-keys { display: none; }
  .pos-panel .pos-bars { display: grid; }
  .create-screen.step-position .cr-wrap { padding-bottom: 24px; }
}

/* hero renders now carry their own ground shadow */

/* formation markers: keep flank markers inside the field */
.pos-field .pos-mk2 { width: 42px; height: 42px; font-size: 13px; }
@media (max-width: 899px) and (max-height: 720px) { .pos-field .pos-mk2 { width: 36px; height: 36px; font-size: 12px; } }
@media (min-width: 900px) and (orientation: landscape) { .pos-field .pos-mk2 { width: 48px; height: 48px; font-size: 14px; } }

/* ---------- position step v4: bigger player breaking over the title bar, textured lower panel ---------- */
:root { --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .075 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.pos-layers { position: absolute; inset: 0; overflow: hidden; }
.pos-layers .hl-bg, .pos-layers .hl-fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity .35s; }
.pos-layers .hl-bg { z-index: 0; }
.pos-layers .hl-fg { z-index: 6; pointer-events: none; }
.pos-layers.ready .hl-bg, .pos-layers.ready .hl-fg { opacity: 1; }
.pos-layers .hero-fallback { z-index: 0; bottom: 8px; width: min(52%, 220px); }
.pos-layers.ready .hero-fallback { opacity: 0; }
.dbg .pos-layers .hl-bg, .dbg .pos-layers .hl-fg { transition: none; }
.pos-top { left: 0; right: 0; top: 0; bottom: auto; overflow: visible; background: #0a1322; }
.pos-top::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 96px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6, 10, 19, .82), rgba(6, 10, 19, .35) 60%, rgba(6, 10, 19, 0)); }
.pos-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 7; pointer-events: none; background: linear-gradient(180deg, rgba(12, 31, 24, 0), rgba(12, 31, 24, .78) 55%, #0c1f18); }
.create-screen.step-position .cr-top { background: none; }
.create-screen.step-position { background: #0a1120; }
@media (max-width: 899px), (orientation: portrait) {
  .create-screen.step-position .pos-stage { background: none; overflow: visible; }
  .create-screen.step-position .pos-stage::after { display: none; }
  .create-screen.step-position .pos-plate { right: auto; left: 16px; top: 4px; align-items: flex-start; text-align: left; }
  .create-screen.step-position .cr-pos2 { gap: 0; }
  .create-screen.step-position .cr-wrap { padding-bottom: 0; }
  .create-screen.step-position .pos-panel { padding: 12px 0 12px; }
  .create-screen.step-position .pos-panel::after { content: ''; position: absolute; top: 0; bottom: 0; left: -16px; right: -16px; z-index: -2; pointer-events: none;
    background: var(--noise), linear-gradient(180deg, #0c1f18 0%, #0c1a1f 32%, #0a1120 78%); }
}
.pos-panel { position: relative; isolation: isolate; }
.pos-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 60% at 50% 0%, rgba(255, 232, 190, .06), transparent 70%); }
.pos-field { transform: perspective(760px) rotateX(13deg); transform-origin: 50% 100%; box-shadow: 0 22px 26px -16px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .07); }
.pos-field::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: var(--noise), radial-gradient(90% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, .38)), linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 40%); }
.pos-keys span { background: rgba(255, 255, 255, .06); backdrop-filter: blur(2px); }
.create-screen.step-position .cr-foot { background: var(--noise), linear-gradient(180deg, #0a1120, #070c17); border-top: 1px solid rgba(255, 255, 255, .06); }
@media (min-width: 900px) and (orientation: landscape) {
  .create-screen.step-position .pos-stage { overflow: hidden; }
  .create-screen.step-position .pos-panel { padding: 22px; border-radius: 10px; background: var(--noise), linear-gradient(160deg, rgba(16, 38, 28, .7), rgba(12, 20, 34, .7)); border: 1px solid rgba(255, 255, 255, .06); }
  .pos-field { transform: perspective(900px) rotateX(10deg); }
}

.pos-field .pos-mk2, .pos-mk2 { width: 44px; height: 44px; font-size: 13px; }
@media (max-width: 899px) and (max-height: 720px) { .pos-field .pos-mk2 { width: 44px; height: 44px; font-size: 12px; } .pos-field { aspect-ratio: 16 / 7.4; } }
/* keep markers >= 44px after the field's perspective tilt */
.pos-field { transform: perspective(820px) rotateX(9deg); }
.pos-field .pos-mk2, .pos-mk2 { width: 48px; height: 48px; font-size: 13px; }
@media (max-width: 899px) and (max-height: 720px) { .pos-field .pos-mk2 { width: 48px; height: 48px; } }
@media (min-width: 900px) and (orientation: landscape) { .pos-field { transform: perspective(900px) rotateX(8deg); } .pos-field .pos-mk2 { width: 50px; height: 50px; } }
/* position step v5: portrait framed fully below the header */
@media (max-width: 899px), (orientation: portrait) {
  .create-screen.step-position .pos-stage { overflow: hidden; margin: 0 -16px; min-height: 200px; }
  .create-screen.step-position .pos-stage .hero { position: absolute; inset: 0; }
  .create-screen.step-position .pos-stage::after { display: block; height: 40px; background: linear-gradient(180deg, transparent, #0c1f18); z-index: 2; }
  .create-screen.step-position .pos-plate { left: auto; right: 16px; align-items: flex-end; text-align: right; z-index: 3; }
  .create-screen.step-position .cr-top { background: var(--night); }
}

/* position step v6: compact pitch, stats in the title block, taller hero */
.pos-tblock { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pos-keys.in-title { gap: 6px; flex-wrap: nowrap; }
.pos-keys.in-title span { height: 26px; padding: 0 8px; line-height: 26px; }
.pos-keys.in-title span b { font-size: 15px; line-height: 26px; }
@media (max-width: 899px), (orientation: portrait) {
  .create-screen.step-position .pos-panel { gap: 8px; padding-top: 10px; padding-bottom: 8px; }
  .create-screen.step-position .pos-hud { align-items: flex-start; }
  .create-screen.step-position .pos-title h2 { font-size: 30px; }
  .create-screen.step-position .pos-field { aspect-ratio: 16 / 5.6; transform: none; }
  .create-screen.step-position .pos-field .pos-mk2 { width: 44px; height: 44px; font-size: 12px; }
  .create-screen.step-position .pos-panel .pos-blurb { margin: 0; font-size: 14px; }
}
@media (max-width: 899px) and (max-height: 720px) {
  .create-screen.step-position .pos-field { aspect-ratio: 16 / 5.6; }
  .create-screen.step-position .pos-field .pos-mk2 { width: 44px; height: 44px; }
  .create-screen.step-position .pos-title h2 { font-size: 27px; }
}
@media (min-width: 900px) and (orientation: landscape) { .pos-keys.in-title { display: none; } }
@media (max-width: 899px), (orientation: portrait) { .create-screen.step-position .pos-field { aspect-ratio: 16 / 6.7; } }
@media (max-width: 899px) and (max-height: 720px) { .create-screen.step-position .pos-field { aspect-ratio: 16 / 6.7; } }
