/* ════════ Founder · auth page ════════
   Split layout: showcase on the left, the auth panel on the right.
   Colours come from variables.css so the page follows the app theme. */

:root {
  --auth-line-2: #cfd9de;
  --auth-ok: #00ba7c;
  --auth-ok-soft: rgba(0, 186, 124, .12);
  --auth-err-soft: rgba(244, 33, 46, .1);
  --auth-accent-soft: rgba(29, 155, 240, .14);
  --s1: #f4212e;
  --s2: #ffad1f;
  --s3: #8fa532;
  --s4: #00ba7c;
  /* Primary pill: black on light, white on dark — matches the app's Post button. */
  --btn-bg: #0f1419;
  --btn-fg: #ffffff;
  --f-m: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --r-pill: 999px;
}

[data-theme="dark"] {
  --auth-line-2: #383d41;
  --auth-ok-soft: rgba(0, 186, 124, .18);
  --auth-err-soft: rgba(244, 33, 46, .22);
  --auth-accent-soft: rgba(29, 155, 240, .18);
  --btn-bg: #e7e9ea;
  --btn-fg: #000000;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}

::selection { background: var(--accent); color: #fff; }
button { font-family: var(--font-sans); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

@keyframes rot { to { transform: rotate(360deg); } }
@keyframes shake { 25% { transform: translateX(6px); } 75% { transform: translateX(-6px); } }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes stepFwd { from { opacity: 0; transform: translateX(18px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-18px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes markPop { from { transform: scale(.4); opacity: 0; } }

/* ═══ theme toggle ═══ */
#themeBtn {
  position: fixed; top: 16px; right: 16px; z-index: 150;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--auth-line-2); background: var(--bg-primary); color: var(--text-secondary);
  cursor: pointer; display: grid; place-items: center;
  transition: background .15s, color .15s, border-color .25s ease;
}
#themeBtn:hover { background: var(--bg-tertiary); color: var(--text-primary); }
#themeBtn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#themeBtn .i-sun { display: none; }
[data-theme="dark"] #themeBtn .i-moon { display: none; }
[data-theme="dark"] #themeBtn .i-sun { display: block; }

/* ═══ split ═══ */
.split { min-height: 100vh; display: grid; grid-template-columns: 1.05fr minmax(430px, 540px); }
.split > * { min-width: 0; }

.showcase {
  background: var(--bg-primary); display: grid; place-items: center;
  padding: clamp(28px, 5vw, 64px); overflow: hidden;
  transition: background-color .25s ease;
}
.hero { max-width: 540px; }
.hero-mark { display: block; margin-bottom: 26px; border-radius: 12px; }
.display { font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1.03; letter-spacing: -.045em; }
.display .ital { font-style: italic; color: var(--accent); }
.display .endp { color: var(--accent); }
.sub { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--text-secondary); max-width: 34ch; }

/* ═══ auth panel ═══ */
.auth {
  display: flex; flex-direction: column; min-width: 0; background: var(--bg-primary);
  border-left: 1px solid var(--border-color); transition: background-color .25s ease;
}
.mobile-brand { display: none; }
.auth-body { flex: 1; display: flex; min-width: 0; padding: 44px 24px; }
.panel { margin: auto; width: min(380px, 100%); min-width: 0; }
.auth-foot {
  display: flex; justify-content: center; align-items: center; gap: 8px 18px; flex-wrap: wrap;
  padding: 16px; border-top: 1px solid var(--border-color);
  font-family: var(--f-m); font-size: 11px; color: var(--text-secondary);
}
.flink {
  background: none; border: 0; padding: 0; font: 500 11px var(--f-m); color: var(--text-secondary);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.flink:hover { color: var(--accent); }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 20px; color: var(--text-primary); letter-spacing: -.02em;
}
.brand img { border-radius: 6px; }

.screen { display: flex; flex-direction: column; min-width: 0; transition: opacity .16s ease, transform .16s ease; }
.screen[hidden] { display: none !important; }
.screen.leave { opacity: 0; transform: translateY(-6px); }
.screen.enter { animation: screenIn .3s cubic-bezier(.2, .8, .3, 1); }
.screen.shake { animation: shake .3s; }

h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.p-sub { margin-top: 6px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }

/* ═══ fields ═══ */
.field { margin-top: 20px; min-width: 0; }
.field > label, .field .label-row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.opt { font-size: 12px; font-weight: 400; color: var(--text-secondary); }
.control { position: relative; }
.input {
  width: 100%; height: 48px; border: 1px solid transparent; border-radius: 14px;
  background: var(--bg-secondary); padding: 0 14px; font: 500 15px var(--font-sans);
  color: var(--text-primary);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--text-secondary); font-weight: 400; }
.input:focus {
  outline: none; background: var(--bg-primary); border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--auth-accent-soft);
}
.input.mono { font-family: var(--f-m); font-size: 14px; }
.input.pw { padding-right: 48px; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 48px var(--bg-secondary) inset; -webkit-text-fill-color: var(--text-primary); }
.field.invalid .input { border-color: var(--danger); box-shadow: 0 0 0 3px var(--auth-err-soft); }
.field.valid .input { border-color: var(--auth-ok); }
.f-err { display: none; margin-top: 7px; font-size: 12.5px; color: var(--danger); font-weight: 500; }
.field.invalid .f-err { display: block; }

.tlink {
  background: none; border: 0; padding: 0; font: 600 13px var(--font-sans); color: var(--accent);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.tlink:hover { opacity: .85; }

.eye {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--text-secondary);
  cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s;
}
.eye:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.eye svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eye .i-off { display: none; }
.eye.shown .i-on { display: none; }
.eye.shown .i-off { display: block; }

/* ═══ buttons ═══ */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; height: 46px; margin-top: 20px;
  background: var(--btn-bg); color: var(--btn-fg); border: 0; border-radius: var(--r-pill);
  font: 700 15px var(--font-sans); cursor: pointer;
  transition: opacity .15s, background-color .25s ease;
}
.btn:hover:not(:disabled) { opacity: .9; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn .spin, .btn-lite .spin {
  display: none; border: 2px solid transparent; border-top-color: currentColor;
  border-radius: 50%; animation: rot .7s linear infinite;
}
.btn .spin { width: 16px; height: 16px; }
.btn.loading .spin { display: block; }
.btn.loading .arr { display: none; }

.btn-lite {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 40px; padding: 0 18px; background: var(--bg-primary);
  border: 1px solid var(--auth-line-2); border-radius: var(--r-pill);
  font: 700 13.5px var(--font-sans); color: var(--text-primary); cursor: pointer;
  transition: background .15s, border-color .25s ease;
}
.btn-lite:hover:not(:disabled) { background: var(--bg-secondary); }
.btn-lite:disabled { opacity: .55; cursor: default; }
.btn-lite svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-lite .spin { width: 15px; height: 15px; }
.btn-lite.loading .spin { display: block; }
.btn-lite.loading .pi-mark { display: none; }
.btn-wide { width: 100%; height: 46px; font-size: 15px; }
.pi-mark { color: var(--accent); }

.divider {
  display: flex; align-items: center; gap: 14px; margin: 16px 0; color: var(--text-secondary);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--auth-line-2); }

/* ═══ "signed in as" chip ═══ */
.who {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px;
  background: var(--bg-secondary); border-radius: var(--r-pill); padding: 7px 8px 7px 14px;
  font-family: var(--f-m); font-size: 13px; color: var(--text-primary); width: fit-content; max-width: 100%;
}
.who > svg { width: 14px; height: 14px; flex: none; color: var(--text-secondary); stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-x {
  width: 24px; height: 24px; flex: none; border: 0; border-radius: 50%; background: transparent;
  color: var(--text-secondary); cursor: pointer; display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.who-x:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.who-x svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }

/* ═══ password strength + match ═══ */
.strength { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.strength i { height: 4px; flex: 1; border-radius: 2px; background: var(--bg-tertiary); transition: background .25s; }
.strength .s-label { font-size: 11.5px; font-weight: 700; color: var(--text-secondary); flex: none; margin-left: 6px; }
.strength.s1 i:nth-child(1) { background: var(--s1); }
.strength.s2 i:nth-child(-n+2) { background: var(--s2); }
.strength.s3 i:nth-child(-n+3) { background: var(--s3); }
.strength.s4 i:nth-child(-n+4) { background: var(--s4); }
.strength.s1 .s-label { color: var(--s1); }
.strength.s2 .s-label { color: var(--s2); }
.strength.s3 .s-label { color: var(--s3); }
.strength.s4 .s-label { color: var(--s4); }
.p-hint { margin-top: 8px; font-size: 11.5px; color: var(--text-secondary); }
.match-note { margin-top: 8px; font-size: 12.5px; font-weight: 600; min-height: 16px; }
.match-note.ok { color: var(--auth-ok); }
.match-note.bad { color: var(--danger); }
.legal { margin-top: 16px; font-size: 12px; color: var(--text-secondary); line-height: 1.6; text-align: center; }
.legal .tlink { font-size: 12px; }

/* ═══ one-time code ═══ */
/* Grid with minmax(0,1fr): flex items keep an <input>'s intrinsic width in
   their min-content contribution, which blew the whole page out on mobile. */
.code-inputs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.code-input {
  width: 100%; min-width: 0; height: 56px;
  border-radius: 14px; border: 1px solid var(--auth-line-2);
  background: var(--bg-secondary); color: var(--text-primary);
  font: 700 22px var(--f-m); text-align: center;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.code-input:focus {
  outline: none; background: var(--bg-primary);
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--auth-accent-soft);
}
.field.invalid .code-input { border-color: var(--danger); }
.code-inputs.shake { animation: shake .3s; }

.resend-row {
  margin-top: 16px; text-align: center;
  font-size: 12.5px; color: var(--text-secondary);
}
.resend-row .tlink { font-size: 12.5px; margin-left: 4px; }
.resend-timer { margin-left: 4px; color: var(--text-secondary); }

.dev-code {
  margin-top: 16px; padding: 12px 14px; border-radius: 14px;
  background: var(--auth-ok-soft); border: 1px solid rgba(0, 186, 124, .3);
  font-size: 12.5px; line-height: 1.6; color: var(--text-primary);
}
.dev-code[hidden] { display: none; }
.dev-code b { font-weight: 700; }
.dev-code-value {
  display: block; margin-top: 6px;
  font: 700 22px var(--f-m); letter-spacing: .3em; color: var(--text-primary);
}

/* ═══ invite code ═══ */
/* The code is read off a screen or out of a message, so it is set wide and
   large — an 8-character code should never be squinted at. */
.invite-input {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.invite-input::placeholder { letter-spacing: .22em; font-weight: 600; }
.inviter {
  margin-top: 12px; padding: 12px 14px; border-radius: 14px;
  background: var(--bg-secondary); border: 1px solid var(--auth-line-2);
  display: flex; align-items: center; gap: 12px;
  animation: cardIn .3s cubic-bezier(.2, .8, .3, 1) backwards;
}
.inviter[hidden] { display: none; }
.inviter .avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.inviter .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inviter-body { min-width: 0; }
.inviter-name { font-weight: 700; font-size: 14.5px; }
.inviter-sub { font-size: 12px; color: var(--text-secondary); margin-top: 1px; }

/* ═══ Google button ═══ */
.google-slot { display: flex; justify-content: center; min-height: 44px; }
.google-slot[hidden] { display: none; }
.google-slot > div { width: 100%; display: flex; justify-content: center; }
.google-fallback[hidden] { display: none; }
.g-mark { width: 18px; height: 18px; flex: none; }

/* ═══ onboarding ═══ */
.segs { display: flex; gap: 6px; margin-bottom: 20px; }
.segs i { height: 4px; flex: 1; border-radius: 2px; background: var(--bg-tertiary); transition: background .35s; }
.segs i.on { background: var(--accent); }
.ob-count { font-family: var(--f-m); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); }
.o-step { display: none; flex-direction: column; }
.o-step.active { display: flex; }
.o-step.active.fwd { animation: stepFwd .28s cubic-bezier(.2, .8, .3, 1); }
.o-step.active.back { animation: stepBack .28s cubic-bezier(.2, .8, .3, 1); }
.o-step h2 { margin-top: 8px; font-size: 22px; }

.handle-wrap { display: flex; align-items: center; }
.handle-wrap .pre { position: absolute; left: 15px; font-family: var(--f-m); font-size: 14px; color: var(--text-secondary); pointer-events: none; }
#username, #bizHandle { padding-left: 33px; }
.u-status { display: flex; align-items: center; gap: 8px; margin-top: 9px; min-height: 18px; font-size: 12.5px; font-weight: 500; color: var(--text-secondary); }
.u-status.ok { color: var(--auth-ok); }
.u-status.bad { color: var(--danger); }
.u-status svg { width: 14px; height: 14px; flex: none; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.u-status .u-url { margin-left: auto; font-family: var(--f-m); font-size: 11.5px; color: var(--text-secondary); }
.mini-spin { width: 13px; height: 13px; flex: none; border: 2px solid var(--auth-line-2); border-top-color: var(--accent); border-radius: 50%; animation: rot .7s linear infinite; }
.sugg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.sugg:empty { margin-top: 0; }
.sugg-l { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.sugg-chip {
  font: 500 12.5px var(--f-m); padding: 6px 14px; border: 1px solid var(--auth-line-2);
  border-radius: var(--r-pill); background: var(--bg-primary); cursor: pointer; color: var(--text-primary);
  transition: border-color .15s, background .15s, color .15s;
}
.sugg-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--auth-accent-soft); }

.pv-label { margin-top: 20px; font-family: var(--f-m); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); }
.preview { margin-top: 8px; background: var(--bg-secondary); border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 13px; }
/* Onboarding draws its avatars with js/avatar.js, the same module the app
   uses, so the tile you preview here is the tile you get. The figure is an
   <svg class="avatar-figure"> inside the tile; this file only sizes it. */

.preview .avatar, .w-card .avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  font-weight: 700; font-size: 15px; flex: none;
}
.preview .avatar img, .w-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-name { font-weight: 700; font-size: 15px; }
.pv-handle { font-family: var(--f-m); font-size: 12.5px; color: var(--text-secondary); margin-top: 1px; }
.pv-role { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }

/* — avatar picker — */
.av-picker { display: flex; align-items: center; gap: 22px; margin-top: 6px; }
.av-big {
  width: 96px; height: 96px; border-radius: 50%; background: var(--bg-tertiary);
  display: grid; place-items: center; font-weight: 700; font-size: 32px; overflow: hidden;
  cursor: pointer; flex: none; transition: box-shadow .2s ease;
}
.av-big:hover { box-shadow: 0 0 0 3px var(--auth-accent-soft); }
.av-big.drag { box-shadow: 0 0 0 3px var(--accent); }
.av-big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-side { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.av-hint { font-size: 11.5px; color: var(--text-secondary); }
.av-colors { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 10px; max-width: 100%; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; flex: none; padding: 0; transition: box-shadow .15s, transform .15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.sel { box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--text-primary); }

/* — field chips: deliberately colourless; colour belongs to the badge — */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; max-height: 198px; overflow-y: auto; padding: 2px; }
.chip {
  padding: 9px 15px; border: 1px solid var(--auth-line-2); border-radius: var(--r-pill);
  background: var(--bg-primary); cursor: pointer; font: 500 13.5px var(--font-sans); color: var(--text-primary);
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { background: var(--bg-secondary); }
.chip.sel { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }

.ob-nav { display: flex; gap: 10px; margin-top: 24px; }
.ob-nav .btn { flex: 1; margin-top: 0; }
.btn-back {
  width: 46px; height: 46px; flex: none; border: 1px solid var(--auth-line-2); border-radius: var(--r-pill);
  background: var(--bg-primary); color: var(--text-secondary); cursor: pointer; display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.btn-back:hover { background: var(--bg-secondary); color: var(--text-primary); }
.btn-back svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.badge-preview { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 7px; }

/* ═══ welcome ═══ */
.welcome { text-align: center; align-items: center; }
.w-mark { border-radius: 12px; animation: markPop .5s cubic-bezier(.2, 1.4, .3, 1); }
.welcome h2 { margin-top: 14px; }
.w-sub { margin-top: 6px; font-size: 14.5px; color: var(--text-secondary); }
.w-card {
  margin-top: 22px; width: 100%; background: var(--bg-primary); border: 1px solid var(--auth-line-2);
  border-radius: 18px; padding: 20px; display: flex; gap: 14px; align-items: center; text-align: left;
  animation: cardIn .45s .15s cubic-bezier(.2, .8, .3, 1) backwards;
}
.w-card .avatar { width: 48px; height: 48px; font-size: 16px; }
.w-card-body { min-width: 0; }
.w-name { font-weight: 700; font-size: 16px; }
.w-handle { font-family: var(--f-m); font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.w-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.w-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.w-actions .btn { margin-top: 0; }

/* ═══ badges (shared look with the app) ═══ */
.tag {
  font: 600 11px var(--f-m); padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--bg-secondary); color: var(--text-secondary);
}
.founder-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font: 600 11px var(--f-m); padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--bg-tertiary); color: var(--text-primary);
}
.field-badge {
  display: inline-flex; align-items: center;
  font: 600 11px var(--f-m); padding: 4px 11px; border-radius: var(--r-pill);
  background: hsl(var(--field-hue, 205) 72% 50% / .14);
  color: hsl(var(--field-hue, 205) 72% 34%);
  border: 1px solid hsl(var(--field-hue, 205) 72% 50% / .28);
}
[data-theme="dark"] .field-badge { color: hsl(var(--field-hue, 205) 82% 68%); }

.spinner {
  display: inline-block; width: 14px; height: 14px; vertical-align: -2px;
  border: 2px solid transparent; border-top-color: currentColor; border-radius: 50%;
  animation: rot .7s linear infinite;
}

/* ═══ update modal (overlay/dialog base lives in base.css) ═══ */
.update-modal { align-items: center; }
.update-modal-dialog { max-width: 380px; }
.update-modal-content { padding: 26px; text-align: center; }
.update-modal-icon { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; background: var(--bg-tertiary); display: grid; place-items: center; }
.update-modal-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.update-modal-content h2 { font-size: 19px; }
.update-modal-content p { margin-top: 8px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.update-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.update-modal-later, .update-modal-refresh {
  flex: 1; height: 42px; border-radius: var(--r-pill); font: 700 14px var(--font-sans); cursor: pointer;
}
.update-modal-later { background: var(--bg-primary); border: 1px solid var(--auth-line-2); color: var(--text-primary); }
.update-modal-refresh { background: var(--btn-bg); border: 0; color: var(--btn-fg); }

/* ═══ responsive ═══ */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .showcase { display: none; }
  .auth { border-left: 0; }
  .mobile-brand { display: flex; flex-direction: column; gap: 7px; padding: 24px 24px 0; }
  .mb-tag { font-family: var(--f-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); }
  .auth-body { padding: 28px 24px; align-items: flex-start; }
  .panel { margin: 0 auto; }
  #themeBtn { top: 18px; }
}

@media (max-width: 520px) {
  .chips { max-height: none; }
  .av-picker { gap: 16px; }
  .av-big { width: 80px; height: 80px; font-size: 26px; }
  .code-inputs { gap: 6px; }
  .code-input { height: 50px; font-size: 19px; }
  .dev-code-value { font-size: 19px; letter-spacing: .22em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
