/* The account sheet: one look for Sign In, Create Account, the age and email questions, Buy The Game and the receipt.
   Scoped to .sup.acct so the Contact and Bug Report dialogs (plain .sup) are untouched. Loaded after style.css. */
.sup.acct {
  --ac-navy: #0b2340; --ac-navy2: #12335a; --ac-gold: #ffd45a; --ac-gold-hi: #ffd45a;
  --ac-teal: #0f7a63; --ac-teal-dk: #0f7a63; --ac-link: #0b5cad; --ac-mint: #eaf7f2; --ac-ink: #14243a; --ac-muted: #44596f;
  --ac-line: #d6e0ea; --ac-bad: #a8211a; --ac-bad-bg: #fdeceb; --ac-focus: #0b5cad;
  padding: 0; border-radius: 18px; max-width: 520px; background: #fff; color: var(--ac-ink);
  box-shadow: 0 18px 60px rgba(4, 14, 28, .6), 0 0 0 1px rgba(255, 212, 90, .35);
  display: flex; flex-direction: column; overflow: hidden; max-height: min(92vh, 92dvh); font-size: 1rem; line-height: 1.5;
}
.ac-back { backdrop-filter: blur(3px); }

/* Header: diamond, title, close */
.sup.acct .ac-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 20px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--ac-navy) 0%, var(--ac-navy2) 100%); border-bottom: 3px solid var(--ac-gold); }
.sup.acct .ac-logo { flex: 0 0 auto; display: block; }
.sup.acct .ac-head h2 { margin: 0; flex: 1 1 auto; min-width: 0; color: #fff; font-size: 1.25rem; line-height: 1.25; letter-spacing: .01em; overflow-wrap: anywhere; }
.sup.acct .ac-head h2:focus { outline: none; }
.sup.acct .ac-head h2:focus-visible { outline: 3px solid var(--ac-gold-hi); outline-offset: 4px; border-radius: 4px; }
.sup.acct .ac-head .x { flex: 0 0 auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.sup.acct .ac-head .x:hover { background: rgba(255, 255, 255, .22); }
.sup.acct .ac-head .x:focus-visible { outline-color: #ffd45a; }

/* Step path */
.sup.acct .ac-path { flex: 0 0 auto; padding: 14px 20px 12px; background: #f6f9fc; border-bottom: 1px solid var(--ac-line); }
.sup.acct .ac-path[hidden] { display: none; }
.ac-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.ac-step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; position: relative; }
.ac-step + .ac-step::before { content: ''; position: absolute; top: 13px; right: calc(50% + 17px); width: calc(100% - 34px); height: 2px; background: var(--ac-line); }
.ac-step.done + .ac-step::before, .ac-step.now::before { background: var(--ac-teal); }
.ac-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; border: 2px solid #aebdcc; background: #fff; color: var(--ac-muted); position: relative; z-index: 1; }
.ac-step.now .ac-dot { background: var(--ac-navy); border-color: var(--ac-navy); color: #fff; box-shadow: 0 0 0 3px rgba(255, 212, 90, .55); }
.ac-step.done .ac-dot { background: var(--ac-teal); border-color: var(--ac-teal); color: #fff; }
.ac-tick { width: 14px; height: 14px; }
.ac-lbl { font-size: .75rem; line-height: 1.2; font-weight: 700; color: var(--ac-muted); }
.ac-step.now .ac-lbl { color: var(--ac-navy); }
.ac-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Body */
.sup.acct .ac-body { padding: 20px; overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; }
.sup.acct .ac-body > :first-child { margin-top: 0; }
.sup.acct p { margin: 0 0 12px; }
.sup.acct .ac-lead { color: var(--ac-muted); font-size: 1rem; }
.sup.acct .note { color: var(--ac-muted); font-size: .875rem; }
.sup.acct .note:empty, .sup.acct .ac-ferr:empty { display: none; }
.sup.acct a { color: var(--ac-link); font-weight: 700; text-underline-offset: 3px; }
.sup.acct a:hover { color: var(--ac-navy); }

/* Fields */
.sup.acct .fld { display: block; margin: 0 0 16px; font-weight: 400; }
.sup.acct .fld > label, .sup.acct label.fld { display: block; font-weight: 700; font-size: .9375rem; color: var(--ac-navy); }
.sup.acct .fld > label + * { margin-top: 6px; }
.sup.acct input:not([type=checkbox]):not([type=radio]), .sup.acct select, .sup.acct textarea {
  display: block; width: 100%; min-height: 48px; margin-top: 6px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ac-ink);
  background: #fff; border: 2px solid #9db0c4; border-radius: 12px; box-sizing: border-box; }
.sup.acct .fld > label + input, .sup.acct .fld > label + select { margin-top: 6px; }
.sup.acct input[aria-invalid=true], .sup.acct select[aria-invalid=true] { border-color: var(--ac-bad); background: #fffafa; }
.sup.acct .ac-hint { margin: 6px 0 0; color: var(--ac-muted); font-size: .875rem; }
.sup.acct .ac-ferr { margin: 6px 0 0; color: var(--ac-bad); font-size: .875rem; font-weight: 700; }
.sup.acct .ac-ferr::before { content: '! '; font-weight: 900; }
.sup.acct .ac-pair { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 440px) { .sup.acct .ac-pair { grid-template-columns: 1fr 1fr; } }
.sup.acct :is(input, select, textarea, button, a, summary):focus-visible { outline: 3px solid var(--ac-focus); outline-offset: 2px; }
.sup.acct input:not([type=checkbox]):not([type=radio]):focus, .sup.acct select:focus { border-color: var(--ac-focus); }

/* Form-level error (server refusals), kept apart from per-field errors */
.sup.acct p.note[role=alert]:not(:empty) { color: var(--ac-bad); background: var(--ac-bad-bg); border-left: 4px solid var(--ac-bad); border-radius: 8px; padding: 10px 12px; font-weight: 700; margin: 0 0 14px; }

/* Checkbox rows */
.sup.acct .ac-chk { display: flex; gap: 12px; align-items: flex-start; min-height: 48px; padding: 12px; margin: 0 0 12px; border: 2px solid var(--ac-line); border-radius: 12px; background: #f6f9fc; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--ac-ink); }
.sup.acct .ac-chk:has(input:checked) { border-color: var(--ac-teal); background: var(--ac-mint); }
.sup.acct .ac-chk input { flex: 0 0 auto; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--ac-teal); cursor: pointer; }
.sup.acct .ac-chk:has(input:focus-visible) { outline: 3px solid var(--ac-focus); outline-offset: 2px; }
.sup.acct .ac-chk a { white-space: nowrap; }
.sup.acct .ac-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 14px; font-size: .9375rem; }
.sup.acct .ac-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.sup.acct .ac-fine { background: #f6f9fc; border-radius: 12px; padding: 12px; font-size: .875rem; color: var(--ac-muted); margin: 0 0 14px; }

/* Month chips */
.sup.acct fieldset.ac-months { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.sup.acct .ac-months legend { padding: 0; font-weight: 700; font-size: .9375rem; color: var(--ac-navy); margin-bottom: 8px; }
.ac-mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ac-mgrid label { position: relative; }
.ac-mgrid input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ac-mgrid span { display: grid; place-items: center; min-height: 48px; border: 2px solid #9db0c4; border-radius: 12px; font-weight: 700; color: var(--ac-ink); background: #fff; transition: background-color .15s ease-out, border-color .15s ease-out; }
.ac-mgrid input:hover + span { border-color: var(--ac-teal); background: var(--ac-mint); }
.ac-mgrid input:checked + span { background: var(--ac-navy); border-color: var(--ac-navy); color: #fff; box-shadow: inset 0 -3px 0 var(--ac-gold); }
.ac-mgrid input:focus-visible + span { outline: 3px solid var(--ac-focus); outline-offset: 2px; }
.ac-mgrid.bad span { border-color: var(--ac-bad); }

/* Buttons: one primary per view, everything else quiet */
.sup.acct .row { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; align-items: stretch; }
.sup.acct .bt { min-height: 48px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--ac-navy); background: #fff; color: var(--ac-navy); font: inherit; font-weight: 600; cursor: pointer; text-align: center; touch-action: manipulation; transition: background-color .15s ease-out, border-color .15s ease-out; }
.sup.acct .bt:hover { background: #eef3f8; }
/* The main button: flat gold, the same on every Prosperity Builders screen (style standard, 2026-11-20). One per view. */
.sup.acct .bt.pri { background: #ffd45a; border-color: #ffd45a; color: #3a2a00; font-size: 1.0625rem; font-weight: 800; }
.sup.acct .bt.pri:hover { background: #ffe38f; border-color: #ffe38f; }
.sup.acct .bt.pri:active { background: #ffc21f; border-color: #ffc21f; }
.sup.acct .bt:active { transform: translateY(1px); }
.sup.acct .bt:disabled { opacity: .55; cursor: not-allowed; }
.sup.acct .bt[aria-busy=true] { cursor: progress; }
/* Second buttons are white with a thin navy border. Only Cancel-type actions (Cancel, Not Now, Forgot Password) and the small in-line helpers
   (Show Password, Paste) are underlined text with no box: they carry the class quiet. */
.sup.acct .bt.quiet { background: transparent; border-color: transparent; color: var(--ac-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.sup.acct .bt.quiet:hover { background: #eef3f8; }
.sup.acct .bt.outline { border: 1px solid var(--ac-navy); text-decoration: none; }
.sup.acct form > .bt.quiet { margin: -4px 0 12px; padding: 4px 12px; min-height: 44px; }

/* Buy The Game price card */
.ac-price { border-radius: 14px; background: linear-gradient(145deg, var(--ac-navy) 0%, var(--ac-navy2) 100%); color: #fff; padding: 20px; margin: 0 0 16px; border: 1px solid rgba(255, 212, 90, .55); }
.ac-price .kind { margin: 0; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-gold); }
.ac-price .amt { margin: 4px 0 0; font-size: 2.5rem; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
.ac-price .amt small { font-size: 1rem; font-weight: 600; color: #cfe0f0; margin-left: 8px; }
.ac-price .why { margin: 10px 0 0; color: #e2edf8; font-size: .9375rem; }
.ac-gets { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.ac-gets li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ac-ico { width: 24px; height: 24px; flex: 0 0 auto; color: var(--ac-teal); }
.ac-trust { display: flex; gap: 10px; align-items: flex-start; background: var(--ac-mint); border: 1px solid #bfe4d8; border-radius: 12px; padding: 12px; margin: 0 0 12px; color: #0b4a3c; font-size: .9375rem; }
.ac-trust .ac-ico { color: var(--ac-teal-dk); }
.ac-trust p { margin: 0; }
.ac-credits { color: var(--ac-muted); font-size: .875rem; }

/* Status and receipt screens */
.ac-hero { text-align: center; padding: 4px 0 8px; }
.ac-hero h3 { margin: 12px 0 4px; font-size: 1.5rem; color: var(--ac-navy); line-height: 1.2; }
.sup.acct .ac-hero p { color: var(--ac-muted); margin: 0 auto; max-width: 36ch; text-wrap: balance; }
.ac-check { width: 80px; height: 80px; display: block; margin: 0 auto; }
.ac-check-ring { fill: var(--ac-mint); stroke: var(--ac-teal); stroke-width: 3; }
.ac-check-tick { stroke: var(--ac-teal); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ac-draw .45s .1s ease-out both; }
.ac-alert .ac-check-ring { fill: #fff5e0; stroke: #b7791f; }
.ac-wait .ac-check-ring { fill: #eef3f8; stroke: var(--ac-navy2); }
.ac-alert-mark { stroke: #8a5a0c; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ac-wait .ac-alert-mark { stroke: var(--ac-navy2); }
.ac-bad .ac-check-ring { fill: var(--ac-bad-bg); stroke: var(--ac-bad); }
.ac-bad .ac-alert-mark { stroke: var(--ac-bad); }
@keyframes ac-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.ac-spin { animation: ac-turn 1.4s linear infinite; transform-origin: 32px 32px; }
@keyframes ac-turn { to { transform: rotate(360deg); } }
.ac-receipt { margin: 16px 0 0; border: 1px solid var(--ac-line); border-radius: 14px; overflow: hidden; }
.ac-receipt > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--ac-line); align-items: baseline; }
.ac-receipt > div:first-child { border-top: 0; }
.ac-receipt dt { font-weight: 700; color: var(--ac-muted); font-size: .875rem; flex: 0 0 auto; }
.ac-receipt dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.ac-receipt dd.tot { font-variant-numeric: tabular-nums; }
.ac-help { text-align: center; color: var(--ac-muted); font-size: .875rem; margin: 14px 0 0; }
.ac-help a { display: inline-flex; align-items: center; min-height: 44px; }
.ac-status { text-align: center; min-height: 1.5em; }

/* Account summary (Account dialog) */
.ac-summary { margin: 0 0 8px; border: 1px solid var(--ac-line); border-radius: 14px; overflow: hidden; }
.ac-summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--ac-line); align-items: baseline; }
.ac-summary > div:first-child { border-top: 0; }
.ac-summary dt { font-weight: 700; color: var(--ac-muted); font-size: .875rem; }
.ac-summary dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; min-width: 0; }

/* The 5 digit code reads better big and spaced */
.sup.acct input[autocomplete=one-time-code] { font-size: 1.5rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

@media (max-width: 420px) {
  .sup-back.ac-back { padding: 8px; align-items: flex-end; }
  .sup.acct .ac-body { padding: 16px; }
  .sup.acct .ac-head { padding-left: 16px; }
  .sup.acct .ac-path { padding: 12px 8px 10px; }
  .ac-lbl { font-size: .75rem; }
  .ac-price .amt { font-size: 2.125rem; }
  .ac-mgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ac-check-tick, .ac-spin { animation: none; }
  .sup.acct .bt, .ac-mgrid span { transition: none; }
  .sup.acct .bt:active { transform: none; }
}

/* The last button row of a screen stays in reach on short screens, so the one primary action is never scrolled out of sight. */
.sup.acct .ac-body > .row:last-child { position: sticky; bottom: -20px; margin: 16px -20px -20px; padding: 12px 20px 20px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 14px); z-index: 2; }
@media (max-width: 420px) { .sup.acct .ac-body > .row:last-child { bottom: -16px; margin: 16px -16px -16px; padding: 12px 16px 16px; } }
.sup.acct .ac-hero.solo p { color: var(--ac-ink); font-size: 1.0625rem; margin-top: 14px; }
.sup.acct .note { background: none; border: 0; padding: 0; }

/* ===== Purchase gate (requirePurchase flag): the full-screen "Get Prosperity Builders" page shown before the game starts ===== */
/* Everything else on the page is hidden (not just covered) so the map cannot be reached; account dialogs (.sup-back) still open on top. */
html.pb-gated body > :not(.pbg):not(.sup-back) { display: none !important; }
html.pb-gated, html.pb-gated body { background: #0b2340; }
.pbg { position: fixed; inset: 0; z-index: 350; display: flex; padding: 16px; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(rgba(6, 18, 36, .5), rgba(6, 18, 36, .82)), #0b2340 url('media/worlds/hero.webp') center / cover no-repeat; }
.pbg .sup.acct { margin: auto; width: min(520px, 100%); max-height: none; overflow: visible; }
.pbg .sup.acct .ac-body { overflow: visible; }
.pbg.pbg-checking .sup.acct { visibility: hidden; } /* an owner on a good connection never sees this page, only the game */
.pbg .sup.acct .ac-body > .row:last-child { position: static; margin: 16px 0 0; padding: 0; background: none; }
@media (prefers-reduced-motion: no-preference) { .pbg .sup.acct { animation: pbg-in .35s ease-out both; } }
@keyframes pbg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) { .pbg { padding: 8px; } }

/* ---- Christmas gift upsell (design board screen 11). Drawn only for players the server's gift flag is on for. ---- */
/* A. "Who Is It For?" at the top of Buy The Game: three radio rows, the chosen one outlined in green. */
.sup.acct .ac-who { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px; }
.sup.acct .ac-who legend { padding: 0; margin: 0 0 12px; color: #50657d; font-size: 1rem; font-weight: 400; }
.sup.acct .ac-who-opt { display: flex; align-items: center; gap: 14px; min-height: 60px; margin: 0; padding: 15px 16px; border: 1px solid #b7c6d6; border-radius: 14px; background: #fff; color: #14243a; font-weight: 400; cursor: pointer; }
.sup.acct .ac-who-opt:has(input:checked) { border: 2px solid #0f7a63; padding: 14px 15px; background: #eaf7f2; }
.sup.acct .ac-who-opt:has(input:focus-visible) { outline: 3px solid var(--ac-focus); outline-offset: 2px; }
.sup.acct .ac-who-opt:has(input:disabled) { opacity: .6; cursor: progress; }
.sup.acct .ac-who-opt input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #0f7a63; }
.sup.acct .ac-who-opt .t { flex: 1 1 auto; min-width: 0; }
.sup.acct .ac-who-opt .t strong { display: block; font-size: 1.125rem; line-height: 1.3; }
.sup.acct .ac-who-opt .t .d { display: block; color: #50657d; }
.sup.acct .ac-who-opt .t .sv { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: #ffd45a; color: #3a2a00; font-size: .875rem; font-weight: 700; }
.sup.acct .ac-who-opt .p { flex: none; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
/* The choice's buttons as the board draws them: Cancel on the left, the gold button on the right. On a phone they stack, button first. */
.sup.acct .row.ac-who-row .bt.pri { font-size: 1.125rem; padding: 10px 26px; }
.sup.acct .row.ac-who-row .bt:not(.pri) { min-height: 48px; }
@media (min-width: 480px) {
  .sup.acct .row.ac-who-row { flex-direction: row-reverse; justify-content: space-between; align-items: center; }
}

/* B. The gift card above the receipt's button: navy, with the gold ribbon down its right side. */
.sup.acct .ac-gift { position: relative; overflow: hidden; margin: 16px 0 0; padding: 22px 70px 22px 22px; border-radius: 14px; background: #12335a; color: #f2f7fb; text-align: left; }
.sup.acct .ac-gift .rib { position: absolute; top: 0; bottom: 0; right: 44px; width: 10px; background: #ffd45a; }
.sup.acct .ac-gift .k { margin: 0 0 6px; font-size: .9375rem; font-weight: 700; color: #36c9a4; }
.sup.acct .ac-gift h3 { margin: 0 0 8px; max-width: 380px; font-size: 1.5rem; line-height: 1.15; color: #f2f7fb; }
.sup.acct .ac-gift .d { margin: 0 0 14px; max-width: 380px; color: #a9bfd3; }
.sup.acct .ac-gift .faces { display: flex; margin: 0 0 16px; }
.sup.acct .ac-gift .faces img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #ffd45a; background: #0b2340; }
.sup.acct .ac-gift .faces img + img { margin-left: -12px; }
.sup.acct .ac-gift .go { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 24px; border-radius: 12px; background: #ffd45a; color: #3a2a00; font-size: 1.0625rem; font-weight: 800; text-decoration: none; text-align: center; }
.sup.acct .ac-gift .go:hover { background: #ffe38f; }
.sup.acct .ac-gift .go:active { background: #ffc21f; }
.sup.acct .ac-gift .go:focus-visible { outline: 3px solid #ffd45a; outline-offset: 2px; }
@media (max-width: 420px) {
  .sup.acct .ac-who-opt { gap: 10px; padding: 13px 12px; }
  .sup.acct .ac-who-opt:has(input:checked) { padding: 12px 11px; }
  .sup.acct .ac-gift { padding: 18px 44px 18px 18px; }
  .sup.acct .ac-gift .rib { right: 16px; }
  .sup.acct .ac-gift h3 { font-size: 1.3125rem; }
}
@media (max-width: 420px) { .sup.acct .ac-who-opt .p { font-size: 1.125rem; } }
/* With the gift card on it, the receipt takes the board's shape: no step path, the tick beside the words, so the card is in view. */
.sup.acct:has(.ac-gift) .ac-path { display: none; }
.sup.acct .ac-body:has(> .ac-gift) > .ac-hero { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: center; text-align: left; padding: 0 0 14px; }
.sup.acct .ac-body:has(> .ac-gift) > .ac-hero .ac-check { width: 52px; height: 52px; grid-row: 1 / span 2; }
.sup.acct .ac-body:has(> .ac-gift) > .ac-hero h3 { margin: 0; font-size: 1.5rem; }
.sup.acct .ac-body:has(> .ac-gift) > .ac-hero p { margin: 0; max-width: none; text-wrap: wrap; }
.sup.acct .ac-gift { scroll-margin-bottom: 88px; }

/* Password boxes: an eye inside the right edge shows or hides the password. */
.sup.acct .ac-pw { position: relative; margin-top: 6px; }
.sup.acct .ac-pw input { margin-top: 0; padding-right: 54px; }
.sup.acct .ac-eye { position: absolute; top: 0; right: 0; width: 52px; height: 100%; min-height: 48px; display: grid; place-items: center; padding: 0; background: none; border: 0; border-radius: 0 12px 12px 0; color: var(--ac-navy); cursor: pointer; }
.sup.acct .ac-eye[aria-pressed=true] { color: var(--ac-link); }

/* Compact sheet (2026-11-27): the Save Your City step was taller than a laptop window and hid its button, so the sheet is tighter everywhere
   and the step path and header give back their height. Short windows tighten once more. */
.sup.acct { max-height: min(96vh, 96dvh); }
.sup.acct .ac-head { padding: 8px 10px 8px 16px; gap: 10px; }
.sup.acct .ac-head h2 { font-size: 1.125rem; }
.sup.acct .ac-head .x { width: 40px; height: 40px; font-size: 1.4rem; }
.sup.acct .ac-path { padding: 8px 16px 6px; }
.ac-step { gap: 2px; }
.ac-dot { width: 24px; height: 24px; font-size: .75rem; }
.ac-step + .ac-step::before { top: 11px; right: calc(50% + 15px); width: calc(100% - 30px); }
.ac-lbl { font-size: .6875rem; }
.sup.acct .ac-body { padding: 14px 16px; }
.sup.acct p { margin: 0 0 8px; }
.sup.acct .ac-lead { font-size: .9375rem; }
.sup.acct .fld { margin: 0 0 10px; }
.sup.acct .fld > label, .sup.acct label.fld { font-size: .875rem; }
.sup.acct input:not([type=checkbox]):not([type=radio]), .sup.acct select, .sup.acct textarea { min-height: 42px; padding: 7px 12px; margin-top: 4px; }
.sup.acct .fld > label + * { margin-top: 4px; }
.sup.acct .ac-pw { margin-top: 4px; }
.sup.acct .ac-eye { width: 46px; min-height: 42px; }
.sup.acct .ac-eye:focus-visible { outline-offset: -3px; border-radius: 10px; }
.sup.acct .ac-pw input { padding-right: 48px; }
.sup.acct .ac-hint { margin: 3px 0 0; font-size: .8125rem; }
.sup.acct .ac-chk { min-height: 40px; padding: 8px 10px; margin: 0 0 8px; gap: 10px; }
.sup.acct .row { gap: 6px; margin: 10px 0 0; }
.sup.acct .bt { min-height: 42px; padding: 8px 16px; }
.sup.acct .bt.quiet { min-height: 38px; }
.sup.acct .ac-legal { margin: 0 0 8px; }
.sup.acct .ac-legal a { min-height: 36px; }
.sup.acct .ac-fine { padding: 8px 10px; margin: 0 0 8px; }
.ac-price { padding: 14px; margin: 0 0 10px; }
.ac-price .amt { font-size: 2rem; }
.ac-gets { gap: 6px; margin: 0 0 10px; }
.ac-mgrid span { min-height: 40px; }
.ac-check { width: 64px; height: 64px; }
@media (max-height: 720px) {
  .sup.acct .ac-path { padding: 5px 16px 4px; }
  .ac-lbl { display: none; }
  .sup.acct .ac-body { padding: 10px 14px; }
  .sup.acct .fld { margin: 0 0 6px; }
  .sup.acct input:not([type=checkbox]):not([type=radio]), .sup.acct select { min-height: 38px; padding-top: 5px; padding-bottom: 5px; }
  .sup.acct .ac-eye { min-height: 38px; }
  .sup.acct .bt { min-height: 40px; }
}

@media (min-width: 440px) {
  .sup.acct .row { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .sup.acct .row .bt.pri { flex: 1 1 auto; }
}
.sup.acct .ac-pair .ac-hint { display: none; }
.sup.acct .ac-help { margin: 4px 0 0; font-size: .875rem; }
/* The sticky button row cancels the body's padding, so it follows the compact padding above. */
.sup.acct .ac-body > .row:last-child { bottom: -14px; margin: 10px -16px -14px; padding: 8px 16px 14px; }
@media (max-height: 720px) { .sup.acct .ac-body > .row:last-child { bottom: -10px; margin: 8px -14px -10px; padding: 6px 14px 10px; } }
