/* r22b: account button in top bar, equal-height boxes, quest spacing, LIGHT MODE */
.top-tools{display:flex;align-items:center;gap:.6rem}
.acct-btn{display:inline-flex;align-items:center;gap:.35rem;text-decoration:none;white-space:nowrap}
@media(max-width:640px){.acct-txt{display:none}.acct-btn{padding:.45rem .6rem}}
/* tighter header: nav sits right under the top bar */
header.site .topbar{padding-bottom:.35rem}header.site .levelnav{margin-top:0;padding-top:.2rem}
/* equal-height, fuller grids on desktop */
.grid-3,.grid-2,.who-grid,.biz-grid,.how-steps,.city-cards,.ka-perks8,.bk-choices,.quest-grid,.about-expect,.contact-grid{align-items:stretch}
.grid-3>*,.grid-2>*,.who-grid>*,.biz-grid>*,.how-steps>*,.city-cards>*,.bk-choices>*,.quest-grid>*,.about-expect>*{height:100%;box-sizing:border-box;margin-top:0;margin-bottom:0}
@media(min-width:900px){.grid-3,.biz-grid,.how-steps,.city-cards{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:1.2rem!important}
 .grid-2,.about-expect{display:grid!important;grid-template-columns:1fr 1fr!important;gap:1.2rem!important}
 .biz-box,.v5-card,.how-steps>li{display:flex;flex-direction:column}.biz-box .biz-small,.v5-card p:last-child{margin-top:auto}}
@media(max-width:899px){.grid-3,.biz-grid,.how-steps,.city-cards,.grid-2,.about-expect{grid-template-columns:1fr!important}}
/* Choose your quest: tighter */
.quest-grid{gap:.7rem!important;margin:.8rem 0!important}
.quest-btn{padding:.75rem .9rem!important;min-height:0!important}
.task-hub{margin-top:.8rem!important}.task-hub .task{margin:.35rem 0!important}
.who-landing{margin:.8rem 0!important;padding:1rem!important}
/* ---------- LIGHT MODE (html.light): cream/white, magenta + gold accents, no green ---------- */
html.light{color-scheme:light}
html.light body{background:#fbf7ff!important;color:#1d1236!important}
html.light canvas#v5-stars,html.light .v5-stars,html.light .stars,html.light .scene .sc-far{opacity:.0!important}
html.light .v5-hero,html.light .hero,html.light .page-head,html.light section,html.light .v5-sec{background:#fbf7ff!important;color:#1d1236!important}
html.light section.alt,html.light .v5-sec.alt{background:#f3ebff!important}
html.light header.site,html.light .topbar,html.light .levelnav{background:#ffffff!important;color:#1d1236!important;border-color:#ff3fb4!important}
html.light .statusbar{background:#2a1450!important}
html.light .px-box,html.light .card,html.light .v5-card,html.light .ka-perk,html.light details,html.light .biz-box,html.light .bk-choice,html.light .bk-card,html.light .ct-card,html.light .quest-btn,html.light .task,html.light .set-panel,html.light .cd-box{background:#ffffff!important;color:#1d1236!important;border-color:#c2007a!important;box-shadow:4px 4px 0 #f0b400!important}
html.light h1,html.light h2,html.light h3,html.light .v5-h{color:#a3006a!important;text-shadow:none!important}
html.light .label,html.light .bk-tag,html.light dt{color:#8a5a00!important}
html.light p,html.light li,html.light dd,html.light span,html.light summary,html.light .lead{color:inherit;text-shadow:none!important}
html.light .ka-perks8 .ka-perk b,html.light .bk-steps b,html.light .bk-price{color:#1d1236!important}
html.light .ka-perks8 .ka-perk span{color:#3a2a5a!important}
html.light a{color:#a3006a}
html.light .btn{color:#1d1236;background:#fff;border-color:#c2007a}
html.light .btn-primary,html.light .btn-gold{background:#ffd23f!important;color:#1d1236!important;border-color:#a3006a!important}
html.light .btn-navy{background:#a3006a!important;color:#fff!important}
html.light .levelnav a{background:#fff!important;color:#1d1236!important;border-color:#c2007a!important}
html.light .levelnav a[aria-current]{background:#ffd23f!important}
html.light .logo{color:#a3006a!important;text-shadow:none!important}
html.light .tool-btn{background:#fff!important;color:#1d1236!important;border-color:#c2007a!important}
html.light footer,html.light footer.site{background:#2a1450!important;color:#fff!important}
html.light footer h2,html.light footer h3{color:#ffd23f!important}html.light footer a{color:#fff!important}
html.light input,html.light textarea,html.light select{background:#fff!important;color:#1d1236!important;border-color:#a3006a!important}
html.light .v5-pix{filter:drop-shadow(2px 2px 0 #a3006a)}
html.light .sc-ground{opacity:.35}
html.light body *:not(canvas):not(svg):not(rect){-webkit-text-fill-color:currentColor}
html.light .v5-lead,html.light .lead{color:#2a1a48!important;opacity:1!important}
html.light .btn-primary,html.light .btn-primary *{color:#1d1236!important}
html.light .loc-pill{color:#fff!important;background:#a3006a!important}
html.light .statusbar,html.light .statusbar *{color:#fff}html.light .statusbar .tb-btn{color:#1d1236!important}
html.light .comet::before,html.light .comet::after{opacity:.35}
html.light .callbar-fixed,html.light .sticky-call{background:#fff!important;color:#1d1236!important}
@media(min-width:900px){.v5-card p:last-child{margin-top:.4rem!important}.v5-card h3{min-height:2.6em}}
@media(max-width:480px){.acct-btn{display:none}}
/* r22c: Contact page terminal (from page-styles contact-D), senior-readable, no blinking */
.ct-term-sec{padding:1.2rem 0 .4rem}
.ct-term{max-width:900px;margin:0 auto;background:#05051a;border:4px solid #22e6ff;box-shadow:6px 6px 0 #ff3fb4;padding:1.2rem 1.4rem;font-family:"Courier New",Courier,monospace;color:#ffd23f}
.ct-term-top{margin:0 0 .6rem;font-size:.95rem;color:#c9c2ff;letter-spacing:.06em}.ct-term-top span{display:inline-block;width:12px;height:12px;margin-right:6px;background:#ff3fb4}.ct-term-top span:nth-child(2){background:#ffd23f}.ct-term-top span:nth-child(3){background:#22e6ff}
.ct-term-cmd{font-family:"Courier New",Courier,monospace!important;font-size:1.5rem!important;color:#ff3fb4!important;margin:.2rem 0 .8rem!important;text-shadow:none!important;letter-spacing:.04em}
.ct-term-list{margin:0;display:grid;gap:.15rem;font-size:1.22rem;line-height:1.5}
.ct-term-list>div{display:grid;grid-template-columns:11rem 1fr;gap:.8rem;padding:.45rem 0;border-bottom:1px dashed rgba(34,230,255,.35)}
.ct-term-list dt{color:#22e6ff;font-weight:700}.ct-term-list dt::after{content:" ....."; color:#4a4f8a}
.ct-term-list dd{margin:0;color:#fff}.ct-term-list a,.ct-term-link{color:#ffd23f;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0;cursor:pointer;min-height:44px}
.ct-term-prompt{margin:.7rem 0 0;color:#ff3fb4;font-size:1.2rem}
@media(max-width:600px){.ct-term{padding:1rem}.ct-term-list>div{grid-template-columns:1fr;gap:0}.ct-term-list dt::after{content:""}.ct-term-cmd{font-size:1.25rem!important}}
html.light .ct-term,html.light .ct-term *{-webkit-text-fill-color:initial}
html.light .ct-term{background:#05051a!important}html.light .ct-term-list dd{color:#fff!important}
.ct-term-list dt{white-space:nowrap}.ct-term-list>div{align-items:baseline}@media(min-width:601px){.ct-term-list>div{grid-template-columns:12.5rem 1fr}}
