/* ---------- competition signup modal ---------- */
body.su-open { overflow: hidden; }
.su { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.su[hidden] { display: none; }
.su-scrim { position: absolute; inset: 0; background: rgba(11, 6, 22, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: su-fade .25s both; }
@keyframes su-fade { from { opacity: 0; } }
@keyframes su-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes su-spin { to { transform: rotate(360deg); } }
.su-box {
  position: relative; width: min(1000px, 100%); min-height: 620px; max-height: calc(100vh - 48px); overflow-y: auto;
  display: grid; grid-template-columns: 420px 1fr;
  background: var(--surface); border-radius: 28px;
  box-shadow: 0 40px 100px -30px rgba(11, 6, 22, .6), 0 0 0 1px rgba(255,255,255,.08);
  animation: su-pop .35s cubic-bezier(.2,.8,.2,1) both;
}
.su-x { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #F4F2F7; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; z-index: 2; }
.su-x:hover { color: var(--ink); }

.su .gd { background: linear-gradient(180deg, var(--lav), #FBF8FF); padding: 32px 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line-2); border-radius: 28px 0 0 28px; }
.su .gd-top img { height: 16px; width: auto; }
.su .gd-art { width: 210px; aspect-ratio: 1; margin: 18px auto 6px; mix-blend-mode: multiply; }
.su .gd-art img { width: 100%; height: 100%; object-fit: contain; }
.su .gd-step { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.su .gd h3 { font-size: 24px; margin: 6px 0 14px; }
.su .gd ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: g; }
.su .gd li { counter-increment: g; display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.su .gd li::before { content: counter(g); width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--purple-2); font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(147,51,234,.2); }
.su .gd li b { font-weight: 600; color: var(--ink); }
.su .gd code { font-family: var(--mono); font-size: 12.5px; background: #fff; padding: 2px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.su .gd-help { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--muted); }
.su .gd-help a { color: var(--purple-2); font-weight: 600; }
.su .gd-tip { font-size: 12px; color: var(--faint); }

.su .fm { padding: 32px 40px 28px; display: flex; flex-direction: column; }
.su .prog { display: flex; gap: 8px; margin: 4px 48px 28px 0; }
.su .prog i { flex: 1; height: 5px; border-radius: 99px; background: #EEEAF3; }
.su .prog i.on { background: linear-gradient(90deg, #C391FF, var(--purple)); }
.su .steps-lbl { display: flex; justify-content: space-between; margin: -18px 48px 26px 0; font-size: 12px; color: var(--faint); font-weight: 500; }
.su .steps-lbl span.on { color: var(--purple-2); font-weight: 600; }
.su .fm h2 { font-size: 28px; }
.su .su-sub { color: var(--muted); margin: 8px 0 24px; font-size: 15px; }
.su .su-sub a, .su .alt a { color: var(--purple-2); font-weight: 600; cursor: pointer; }
.su .fld { display: grid; gap: 7px; margin-bottom: 16px; }
.su .fld label { font-size: 13.5px; font-weight: 600; }
.su .hint { font-size: 12.5px; color: var(--muted); }
.su .in { height: 50px; border-radius: 12px; border: 0; padding: 0 16px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px rgba(1,13,18,.14); width: 100%; transition: box-shadow .15s; }
.su .in:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--purple), 0 0 0 4px rgba(195,145,255,.25); }
.su .in.mono { font-family: var(--mono); letter-spacing: .04em; }
.su .fld.bad .in { box-shadow: inset 0 0 0 2px var(--red); background: #FFF8F8; }
.su .fld.bad .hint { color: #B4282D; font-weight: 500; }
.su .fld.good .in { box-shadow: inset 0 0 0 1px rgba(5,182,122,.6); }
.su .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.su .pw { position: relative; }
.su .pw .in { padding-right: 76px; }
.su .pw button { position: absolute; right: 8px; top: 8px; height: 34px; padding: 0 10px; border: 0; background: #F4F2F7; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.su .meter { display: flex; gap: 5px; } .su .meter i { flex: 1; height: 4px; border-radius: 99px; background: #EEEAF3; } .su .meter i.ok { background: var(--green); }
.su .chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin: 6px 0 4px; cursor: pointer; }
.su .chk input { accent-color: var(--purple); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.su .note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #F3FBF7; box-shadow: inset 0 0 0 1px rgba(5,182,122,.2); font-size: 13.5px; color: #0B5A3F; line-height: 1.5; margin-bottom: 16px; }
.su .note svg { flex: none; width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
.su .note.purple { background: var(--lav); color: #4B1A86; box-shadow: inset 0 0 0 1px rgba(147,51,234,.15); } .su .note.purple svg { color: var(--purple); }
.su .choice { display: grid; gap: 10px; margin-bottom: 16px; }
.su .opt { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(1,13,18,.12); cursor: pointer; font-size: 15px; background: #fff; border: 0; font: inherit; text-align: left; color: var(--ink); }
.su .opt.sel { box-shadow: inset 0 0 0 2px var(--purple); background: #FCFAFF; }
.su .opt .dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(1,13,18,.2); flex: none; }
.su .opt.sel .dot { box-shadow: inset 0 0 0 6px var(--purple); }
.su .opt small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.su .err { color: #B4282D; font-size: 13.5px; font-weight: 500; margin: 4px 0 0; min-height: 1em; }
.su .acts { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.su .back { background: none; border: 0; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; padding: 10px 4px; }
.su .btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.su .lock { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); margin-top: 14px; justify-content: center; text-align: center; }
.su .lock svg { width: 13px; height: 13px; flex: none; }
.su .alt { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 12px; }

.su .res { text-align: center; margin: auto 0; padding: 10px 0; }
.su .res .badge { width: 150px; margin: 0 auto 6px; mix-blend-mode: multiply; }
.su .res h2 { font-size: 30px; }
.su .res p { color: var(--muted); max-width: 420px; margin: 10px auto 22px; }
.su .checks { text-align: left; display: grid; gap: 10px; max-width: 380px; margin: 0 auto 24px; }
.su .ck { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; background: #FAFAFB; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.su .ck .ic { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.su .ck.ok .ic { background: var(--green); } .su .ck.no .ic { background: var(--red); }
.su .ck.wait .ic { border: 2.5px solid #E6E0EE; border-top-color: var(--purple); animation: su-spin .8s linear infinite; }
.su .ck.todo { color: var(--faint); } .su .ck.todo .ic { border: 2px dashed #DCD6E4; }
.su .ck.no { background: #FFF6F6; box-shadow: inset 0 0 0 1px rgba(229,72,77,.25); }
.su .stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 420px; margin: 0 auto 24px; }
.su .stat3 div { padding: 14px 10px; border-radius: 14px; background: #FAFAFB; box-shadow: inset 0 0 0 1px var(--line); }
.su .stat3 b { display: block; font-size: 20px; letter-spacing: -.02em; } .su .stat3 span { font-size: 12px; color: var(--muted); }
.su .vchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #E9F8F1; color: #067A53; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.su .vchip svg { width: 15px; height: 15px; }
.su .vchip.bad { background: #FDECEC; color: #B4282D; }
.su .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.su .acct-links { display: flex; gap: 16px; justify-content: center; }
.su .signout { margin-top: 18px; background: none; border: 0; font: inherit; font-size: 13px; color: var(--faint); cursor: pointer; text-decoration: underline; }

.su-box.res-mode { grid-template-columns: 1fr; width: min(620px, 100%); min-height: 0; padding: 20px 10px; }
.su-box.res-mode .gd { display: none; }

.hdr-acct { font-size: 14px; font-weight: 600; color: var(--ink-2); background: none; border: 0; cursor: pointer; padding: 8px 4px; font-family: inherit; }
.hdr-acct:hover { color: var(--purple-2); }
.hdr-acct[hidden] { display: none; }
.bar .lang + .hdr-acct { margin-left: -16px; }
.bar .hdr-acct + .btn { margin-left: -20px; }

/* step 4 screenshots */
.su .gd-head-sm { margin-top: 4px; }
.su .gd-head-sm h3 { margin-bottom: 12px; }
.su .shots { display: grid; gap: 10px; }
.su .shot-img { background: #0B0B0F; border-radius: 18px; overflow: hidden; height: 300px; display: grid; place-items: center; box-shadow: 0 14px 30px -18px rgba(26,16,51,.6); }
.su .shot-img img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.su .shot-cap { display: grid; grid-template-columns: 26px 1fr; gap: 10px; margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); min-height: 63px; }
.su .shot-cap b { color: var(--ink); font-weight: 600; }
.su .shot-n { width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.su .shot-nav { display: flex; align-items: center; justify-content: space-between; }
.su .shot-nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px rgba(147,51,234,.25); color: var(--purple-2); font-size: 17px; cursor: pointer; }
.su .shot-nav button:disabled { opacity: .35; cursor: default; }
.su .shot-dots { display: flex; gap: 6px; }
.su .shot-dots i { width: 8px; height: 8px; border-radius: 99px; background: #DCD3EA; cursor: pointer; transition: width .2s; }
.su .shot-dots i.on { width: 22px; background: var(--purple); }

/* inactivity */
.su .res .badge.wide { width: 210px; }
.su .vchip.warn { background: #FFF4E0; color: #9A5B00; }
.su .idle-note { display: flex; gap: 14px; align-items: center; text-align: left; max-width: 440px; margin: -6px auto 22px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #FFF9EE; box-shadow: inset 0 0 0 1px rgba(245,165,36,.3); }
.su .idle-note img { width: 56px; height: 56px; mix-blend-mode: multiply; flex: none; }
.su .idle-note b { display: block; font-size: 14.5px; }
.su .idle-note span { font-size: 13px; color: var(--muted); }
.idle-bar { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(470px, calc(100% - 40px)); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 10px; border-radius: 18px; background: #fff; box-shadow: 0 20px 50px -18px rgba(26,16,51,.35), 0 0 0 1px var(--line); animation: su-pop .4s cubic-bezier(.2,.8,.2,1) both; }
.idle-bar img { width: 58px; height: 58px; mix-blend-mode: multiply; flex: none; }
.idle-bar .ib-txt { flex: 1; min-width: 0; line-height: 1.35; }
.idle-bar .ib-txt b { display: block; font-size: 14.5px; letter-spacing: -.01em; }
.idle-bar .ib-txt span { font-size: 13px; color: var(--muted); }
.idle-bar .ib-acts { display: flex; align-items: center; gap: 6px; flex: none; }
.idle-bar .ib-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #F4F2F7; color: var(--muted); cursor: pointer; font-size: 17px; line-height: 1; }
.idle-bar.ok { box-shadow: 0 20px 50px -18px rgba(26,16,51,.35), inset 0 0 0 1px rgba(5,182,122,.45); }
.idle-bar.warning { box-shadow: 0 20px 50px -18px rgba(26,16,51,.35), inset 0 0 0 1px rgba(245,165,36,.4); }

@media (max-width: 760px) {
  .idle-bar { right: 10px; left: 10px; bottom: 10px; width: auto; flex-wrap: wrap; }
  .idle-bar .ib-txt { flex-basis: calc(100% - 80px); }
  .idle-bar .ib-acts { width: 100%; justify-content: flex-end; }
  .su { padding: 0; place-items: end stretch; }
  .su-box { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; min-height: 0; max-height: 96vh; }
  .su .gd { padding: 22px 20px 18px; border-right: 0; border-bottom: 1px solid var(--line-2); border-radius: 24px 24px 0 0; }
  .su .gd-top, .su .gd-help { display: none; }
  .su .gd-head { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding-right: 36px; }
  .su .gd-art { width: 76px; margin: 0; }
  .su .shot-img { height: 230px; }
  .su .gd-head-sm { padding-right: 36px; }
  .su .gd h3 { font-size: 19px; margin: 2px 0 0; }
  .su .gd ol { margin-top: 14px; gap: 9px; } .su .gd li { font-size: 13.5px; }
  .su .fm { padding: 22px 20px 24px; }
  .su .prog { margin-right: 0; } .su .steps-lbl { display: none; }
  .su .fm h2 { font-size: 23px; } .su .su-sub { margin-bottom: 18px; font-size: 14px; }
  .su .row2 { grid-template-columns: 1fr; gap: 0; }
  .su-x { top: 12px; right: 12px; }
  .su .res h2 { font-size: 24px; }
  .hdr-acct { font-size: 13px; padding: 6px 2px; }
}

@media (max-width: 420px) {
  .bar { gap: 10px; }
  .logo img { height: 15px; }
  .bar .lang + .hdr-acct { margin-left: -2px; }
  .bar .hdr-acct + .btn { margin-left: -4px; padding: 0 12px; }
  .lang button { padding-inline: 8px; }
}

@media (max-width: 350px) { .hdr-acct { display: none; } }
.su .chk a { color: var(--purple-2); text-decoration: underline; text-underline-offset: 2px; }
