/* Career mode: sign-up (G1.D4), from studies/signup.html. */
.page { max-width: 1120px; }
.prog { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text2); white-space: nowrap; }
.prog .bar { width: clamp(70px, 16vw, 180px); height: 6px; border-radius: 9px; background: var(--night3); overflow: hidden; }
.prog .bar i { display: block; height: 100%; width: var(--pg, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--crimson), var(--ember), var(--brass)); transition: width .8s var(--ease); }
.agent p { font-size: clamp(21px, 2.9vw, 33px); }
.su { overflow: clip; overflow-clip-margin: 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.panel { background: rgba(17, 23, 41, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(18px, 3vw, 32px); position: relative; min-height: 300px; min-width: 0; }
.panel:focus { outline: none; }
.panel::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--crimson), var(--ember), var(--brass), transparent); }
.panel.swap > * { animation: stepin .5s var(--ease) both; } .panel.swap > :nth-child(2) { animation-delay: .06s; } .panel.swap > :nth-child(3) { animation-delay: .12s; } .panel.swap > :nth-child(n+4) { animation-delay: .18s; }
@keyframes stepin { from { opacity: 0; transform: translateY(16px); } }
h1 { font: 400 clamp(26px, 4vw, 36px)/1.08 var(--serif); margin: 0 0 8px; text-wrap: balance; }
h1:focus { outline: none; }
.lead { color: var(--text2); margin: 0 0 20px; font-size: 15px; max-width: 54ch; }
.small { font-size: 13px; margin: 14px 0 0; }
.nav { display: flex; gap: 12px; align-items: center; margin-top: 24px; } .nav .btn { flex: 1; }
.field { display: block; margin-bottom: 16px; } .field > span { display: block; font-weight: 600; font-size: 13px; color: var(--text2); margin-bottom: 7px; }
.field input, .field select { width: 100%; height: 52px; border-radius: 13px; border: 1px solid var(--rule2); background: rgba(255,255,255,.05); padding: 0 15px; font-size: 16px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #B9B2C4 50%), linear-gradient(135deg, #B9B2C4 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text2); }
.err { color: #F7A8B4; font-size: 13px; margin: 8px 0 0; }
.ticket { display: grid; grid-template-columns: 1fr auto; margin: 0 0 22px; transform: rotate(-1.2deg); max-width: 440px; }
.ticket > div { padding: 16px 18px; } .ticket .stub { border-left: 2px dashed rgba(27,21,34,.3); display: grid; place-items: center; font: 400 30px/1 var(--serif); color: var(--crimson2); padding: 16px 20px; }
.ticket b { display: block; font: 400 24px/1.1 var(--serif); } .ticket span { font-size: 13px; color: var(--ink2); }
.three { display: grid; gap: 10px; margin: 0 0 4px; padding: 0; list-style: none; counter-reset: s; }
.three li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-size: 15px; }
.three li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 400 17px var(--serif); color: #2A0E1B; background: radial-gradient(circle at 35% 30%, #FBE7B5, #DDAA4B 70%); }
.touch { width: 100%; display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 20px; border: 1px solid var(--rule2); background: rgba(255,255,255,.04); position: relative; overflow: hidden; }
.touch .fp { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #F0563B, #9E1230 72%); box-shadow: 0 10px 24px -10px #D01F3C; color: #FFE9CC; position: relative; }
.touch .fp svg { width: 40px; height: 40px; } .touch b { display: block; font: 400 22px/1.15 var(--serif); color: var(--text); } .touch > span > span { font-size: 13.5px; color: var(--text2); }
.touch.scan .fp::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--brass2); animation: spinb .7s linear infinite; }
.touch.ok .fp { background: radial-gradient(circle at 35% 30%, #BFF0CB, #3E9A5A 72%); color: #0E2A16; box-shadow: 0 10px 24px -10px #3E9A5A; }
.alt { margin-top: 14px; display: grid; grid-template-columns: 148px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--rule); background: rgba(255,255,255,.03); }
.alt .qr { width: 148px; height: 148px; background: var(--cream); border-radius: 10px; padding: 9px; display: grid; place-items: center; } .alt .qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.alt p { margin: 0 0 10px; font-size: 14px; }
.keytxt { font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; color: var(--brass2); overflow-wrap: anywhere; }
@media (max-width: 480px) { .alt { grid-template-columns: 1fr; justify-items: start; } }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; padding: 14px; list-style: none; border-radius: 14px; }
.codes li { font: 600 15px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; padding: 6px 8px; border-radius: 8px; background: rgba(27,21,34,.06); text-align: center; }
.tick { display: flex; gap: 10px; align-items: center; margin: 12px 0 0; font-size: 14.5px; }
.tick input { width: 22px; height: 22px; accent-color: var(--ember); }
.fuel { display: grid; gap: 12px; margin-bottom: 18px; }
.fuel div { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; } .fuel svg { margin-top: 3px; color: var(--brass2); }
.capbox { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--rule); } .capbox b { font: 400 26px/1 var(--serif); min-width: 78px; text-align: center; }
.capbox button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule2); background: none; font-size: 20px; flex: none; } .capbox span { font-size: 13px; color: var(--text2); flex: 1; }
.okline { display: flex; gap: 9px; align-items: center; color: var(--done); font-weight: 600; margin-top: 14px; }
.drop { width: 100%; border: 2px dashed var(--rule2); border-radius: 20px; padding: 34px 18px; text-align: center; background: rgba(255,255,255,.03); display: grid; gap: 6px; justify-items: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop.over { border-color: var(--brass2); background: rgba(246,218,154,.08); }
.drop b { font: 400 24px/1.1 var(--serif); } .drop span { color: var(--text2); font-size: 13.5px; } .drop svg { width: 46px; height: 46px; color: var(--brass2); margin-bottom: 4px; }
.drop:focus-within { outline: 2px solid var(--needs); outline-offset: 3px; }
.reading { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; min-height: 190px; }
.sheetdoc { width: 120px; height: 156px; padding: 14px 12px; position: relative; overflow: hidden; transform: rotate(-3deg); }
.sheetdoc i { display: block; height: 5px; border-radius: 3px; background: rgba(27,21,34,.22); margin-bottom: 8px; } .sheetdoc i:nth-child(3n) { width: 62%; } .sheetdoc i:first-child { height: 9px; width: 70%; background: rgba(27,21,34,.5); margin-bottom: 12px; }
.sheetdoc::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; top: 0; background: linear-gradient(180deg, transparent, rgba(242, 112, 29, .55)); border-bottom: 2px solid #F2701D; animation: scan 1.1s ease-in-out infinite alternate; } @keyframes scan { to { top: 130px; } }
.count b { display: block; font: 400 64px/.9 var(--serif); color: var(--brass2); } .count span { color: var(--text2); } .count p { margin: 10px 0 0; font-size: 13.5px; color: var(--text); min-height: 2.8em; overflow-wrap: anywhere; }
.facts { display: grid; gap: 7px; max-height: min(46vh, 380px); overflow-y: auto; margin: 0 -4px; padding: 2px 4px 14px; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
.fact { display: grid; grid-template-columns: 1fr 44px; gap: 10px; align-items: center; padding: 10px 8px 10px 13px; border-radius: 12px; background: linear-gradient(170deg, #FBF4E8, #EFE4D1); color: var(--ink); font-size: 14px; line-height: 1.3; border-left: 4px solid var(--crimson); transition: opacity .25s, filter .25s; overflow-wrap: anywhere; }
.fact small { display: block; color: var(--ink2); font-size: 12px; margin-top: 2px; } .fact.off { opacity: .55; filter: grayscale(1); } .fact.off span b { text-decoration: line-through; font-weight: 400; } .fact span b { font-weight: 500; }
.tog { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #1F7A3D; color: #fff; display: grid; place-items: center; } .tog svg { width: 18px; height: 18px; } .fact.off .tog { background: rgba(27,21,34,.3); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chip { min-height: 44px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--rule2); background: none; font-weight: 500; font-size: 14px; transition: background .2s, color .2s, transform .12s; overflow-wrap: anywhere; text-align: left; } .chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); font-weight: 600; } .chip[aria-pressed="true"]::before { content: "\2713\00a0"; }
.sub2 { font-weight: 600; font-size: 13px; color: var(--text2); margin: 0 0 9px; }
.floor { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; } .floor b { font: 400 40px/1 var(--serif); color: var(--brass2); } .floor span { color: var(--text2); font-size: 13.5px; }
input[type=range] { width: 100%; height: 34px; margin: 0 0 18px; accent-color: #F2701D; }
.pips { display: flex; gap: 6px; margin-bottom: 18px; } .pips i { height: 5px; flex: 1; border-radius: 4px; background: var(--night3); transition: background .3s; } .pips i.on { background: linear-gradient(90deg, var(--ember), var(--brass)); }
.q { font: 400 clamp(24px, 3.6vw, 32px)/1.15 var(--serif); margin: 0 0 18px; text-wrap: balance; min-height: 2.3em; }
.q:focus { outline: none; }
.opts { display: grid; gap: 10px; } .opts .btn { justify-content: flex-start; text-align: left; min-height: 56px; font-size: 16px; }
.opts .btn[aria-pressed="true"] { border-color: var(--brass2); background: rgba(246,218,154,.1); }
.qcard { animation: qin .4s var(--ease) both; } @keyframes qin { from { opacity: 0; transform: translateX(28px); } }
.qnav { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--text3); }
.sum { display: grid; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; } .sum li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 13px; border-radius: 11px; background: rgba(255,255,255,.05); font-size: 14px; } .sum li b { font-weight: 600; text-align: right; }
.sum button { background: none; border: 0; color: var(--text2); text-decoration: underline; font-size: 12.5px; padding: 0 0 0 8px; }
.deal { padding: 22px 22px 18px; transform: rotate(-.8deg); max-width: 560px; position: relative; }
.deal h2 { font: 400 30px/1.1 var(--serif); margin: 0 0 16px; min-height: 72px; display: flex; align-items: center; padding-right: 96px; }
.deal ol { margin: 0 0 6px; padding: 0 0 0 20px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.38; }
.deal ol b { font-weight: 600; }
.sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 46px; } .sigs > div { border-top: 1.5px solid var(--ink); padding-top: 6px; font-size: 12px; color: var(--ink2); position: relative; }
.sigs svg { position: absolute; left: 0; bottom: 16px; width: min(100%, 170px); height: auto; overflow: visible; }
.sigs .mine path { stroke: var(--ink); } .signed2 .mine path { animation: write 1.2s cubic-bezier(.5, 0, .3, 1) forwards; }
.rstamp { position: absolute; right: 14px; top: 10px; width: 92px; height: 92px; transform: rotate(12deg) scale(3); opacity: 0; }
.signed2 .rstamp { transform: rotate(12deg) scale(1); opacity: .9; transition: transform .2s cubic-bezier(.7, 0, 1, .5) 1.2s, opacity .08s 1.2s; }
.launch { text-align: center; padding: 10px 0 4px; } .launch .big { font: 400 clamp(54px, 12vw, 88px)/.9 var(--serif); color: var(--brass2); } .launch p { color: var(--text2); margin: 8px 0 22px; min-height: 1.5em; }
.backs { display: flex; justify-content: center; gap: 10px; margin: 0 0 22px; perspective: 800px; }
.backs i { width: 54px; height: 76px; border-radius: 8px; box-shadow: inset 0 0 0 3px #2A0E1B, inset 0 0 0 4px rgba(246, 218, 154, .7), 0 14px 22px -12px #000; animation: riffle 1.2s var(--ease) infinite; animation-delay: calc(var(--n) * .12s); }
@keyframes riffle { 50% { transform: translateY(-12px) rotateY(24deg); } }
.backs.done i { animation: none; background: linear-gradient(170deg, #FBF4E8, #EFE4D1); box-shadow: 0 14px 22px -12px #000; display: grid; place-items: center; font: 400 26px/1 var(--serif); color: var(--crimson2); font-style: normal; }
.problem { border: 1px solid rgba(246, 196, 83, .4); border-radius: 14px; padding: 14px; background: rgba(40, 26, 12, .5); margin: 0 0 16px; }
.problem p { margin: 0 0 6px; } .problem ul { margin: 6px 0 0; padding-left: 18px; color: var(--text2); font-size: 14px; }
/* the card being built */
.tc-wrap { width: min(330px, 82vw); }
.tc.setup { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .12s linear; cursor: default; }
.tc.setup .side-f { position: relative; }
.tc.setup .stat { grid-template-columns: 82px minmax(24px, 1fr) auto; font-size: 12px; }
.tc.setup h3 { font-size: 30px; }
.dock { position: fixed; z-index: 20; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 14px; align-items: center; padding: 8px 14px 8px 12px; border-radius: 16px; background: rgba(10, 13, 26, .94); border: 1px solid var(--rule2); text-align: left; }
.dock .thumb { width: 38px; height: 53px; border-radius: 7px; flex: none; display: grid; place-items: center; font: 400 15px var(--serif); color: #FBE7B5; transform: rotate(-6deg); background: linear-gradient(160deg, #7A1730, #1D0F26 60%, #12142A); box-shadow: inset 0 0 0 1.5px rgba(246,218,154,.8), 0 8px 14px -8px #000; }
.dock.bump .thumb { animation: bump .6s var(--spring); } .dock b { display: block; font-weight: 600; font-size: 13.5px; } .dock span span { font-size: 12.5px; color: var(--text2); }
.cardcol { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(5, 6, 12, .92); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .3s, visibility 0s .3s; padding: 20px; }
.showcard .cardcol { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .3s; }
.cardcol p { text-align: center; color: var(--text2); font-size: 12.5px; margin: 14px 0 0; }
.closecard { display: flex; margin: 14px auto 0; }
@media (min-width: 960px) {
  .su { grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
  .dock, .closecard { display: none !important; }
  .cardcol { position: sticky; top: 20px; inset: auto; z-index: 1; display: block; background: none; opacity: 1; pointer-events: auto; visibility: visible; padding: 0; }
  .tc-wrap { width: 330px; } .page { padding-bottom: 60px; }
}
.tc.setup .side-f { padding: 24px 22px 20px; }
.tc.setup h3 { flex: none; margin: 16px 0 4px; }
.tc.setup .line { flex: none; }
.tc.setup .best { min-height: 0; padding: 10px 0; flex: none; }
.tc.setup .best b { font-size: 38px; }
.tc.setup .stats { gap: 8px; }
.tc.setup .repd { margin-top: 12px; padding-top: 10px; }
.su.one { grid-template-columns: minmax(0, 720px); }
form.alt { grid-template-columns: 148px 1fr; }
form.alt .full { grid-column: 1 / -1; }
form.alt .full .field { margin-bottom: 12px; }
@media (max-width: 480px) { form.alt { grid-template-columns: 1fr; } }
.keepname { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; margin: 0 0 10px; }
.keepname small { grid-column: 1; font-size: 12px; color: var(--ink2); } .keepname b { grid-column: 1; font: 600 18px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; overflow-wrap: anywhere; }
.keepname .copy { grid-column: 2; grid-row: 1 / span 2; color: var(--ink); border-color: rgba(27,21,34,.3); }
/* G1.D9: the front door */
.ticket.void b { color: var(--crimson2); }
.ticket.void .stub { color: var(--ink2); }
.login .su.one { grid-template-columns: minmax(0, 560px); justify-content: center; }
.login .agent { max-width: 560px; margin-inline: auto; }
.login .touch { margin: 4px 0 18px; }
.sub2.or { margin: 4px 0 12px; }
#other { margin-top: 16px; }

/* third review: pages that are forms and links (game/addon.html, game/gone.html) */
.plain .panel { min-height: 0; }
.plain .row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }
.plain .row .btn, .pairform .btn { min-width: 200px; }
.plain .agent p { min-height: 0; }
.pairform { margin: 0 0 26px; }
.paired h2 { font: 400 22px/1.2 var(--serif); margin: 0 0 12px; }
.pairlist { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.pairlist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border: 1px solid var(--rule); border-radius: 13px; background: rgba(255, 255, 255, .03); }
.pairlist li span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.pairlist small { color: var(--text3); font-size: 12.5px; }
.pairlist form { flex: none; margin: 0; }
.pairstatus { color: var(--text); }

/* the lock step asked for again: no sign-up progress, no card being built */
.relock .prog, .relock #dock { display: none; }

/* the link by email (fourth review) */
.sub2.sent:empty { display: none; }
.sub2.sent { color: var(--text); margin: 0 0 12px; }
/* ---------- fix round 1: the sign-in page fits one screen, tightened not hidden ---------- */
.login .page { padding-bottom: 16px; }
.login .top { padding: 12px 0 4px; }
/* fix round 1's review, note 1: on a phone the horns came within 20px of the wordmark */
@media (max-width: 600px) { .login .top { padding-bottom: 22px; } }
.login .agent { grid-template-columns: clamp(56px, 6vw, 72px) 1fr; margin: 0 auto 14px; }
.login .agent p { min-height: 0; font-size: clamp(19px, 2.3vw, 26px); }
.login .panel { min-height: 0; padding: clamp(16px, 2.4vw, 26px); }
.login #lh { font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 10px; }
.login .touch { grid-template-columns: 52px 1fr; gap: 12px; padding: 10px 14px; margin: 0 0 12px; border-radius: 16px; }
.login .touch .fp { width: 52px; height: 52px; } .login .touch .fp svg { width: 28px; height: 28px; }
.login .touch b { font-size: 18px; } .login .touch > span > span { font-size: 12.5px; }
.login .sub2.or { margin: 0 0 8px; }
.login .field { margin-bottom: 10px; } .login .field > span { margin-bottom: 4px; }
.login .field input { height: 44px; } .login .field small { margin-top: 3px; font-size: 12px; }
.login .btn.go.wide { min-height: 46px; }
.login #other { margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; font-size: 13.5px; }
.login #other { align-items: baseline; }
.login #other > * { white-space: nowrap; font: inherit; }
.login #other .sep { padding: 0 9px; color: var(--text3); }
@media (max-width: 420px) { .login #other .sep:last-of-type { display: none; } .login #other > a { flex-basis: 100%; text-align: center; } }
@media (max-height: 760px) {
  .login .agent { grid-template-columns: 46px 1fr; margin-bottom: 10px; }
  .login .agent p { font-size: 18px; }
  .login .agent small { margin-bottom: 2px; }
}
.link.quiet { display: block; margin-top: 10px; }
/* the deal with ten lines (fix round 1, ruling 66): numbers in their own column, right-aligned */
.deal ol { list-style: none; padding: 0; counter-reset: none; }
.deal ol li { display: grid; grid-template-columns: 2.1ch minmax(0, 1fr); column-gap: .6ch; text-wrap: pretty; }
.deal ol .n { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink2, #5A4E5F); }
.deal.long { max-width: 680px; }
.deal.long ol { gap: 7px; font-size: 14px; line-height: 1.36; }
