/* Overnight r26 — senior readability, tap targets, light contrast, mobile, calm, print. Every block tagged /* r26 #NNN */. Magenta/cyan/gold only; no green. */

/* r26 #779 seniors: Contact terminal form body larger + airy line-height */
.ct-term,.ct-term-list,.ct-term-list dd,.ct-term-list dt,.ct-term-link{
  font-size:1.12rem!important;line-height:1.65!important;
}
.ct-term-cmd{font-size:clamp(1.05rem,2.5vw,1.25rem)!important;line-height:1.45!important}

/* r26 #780 seniors: Contact page lead + form labels readable */
body[data-page="contact"] .page-head .lead,
body[data-page="contact"] .form-h,
#contact-form label{
  font-size:1.18rem!important;line-height:1.6!important;
}
#contact-form .hint{font-size:1rem!important;line-height:1.45}

/* r26 #781 seniors: Refer Player 2 lead + body copy */
body[data-page="refer"] .page-head .lead,
body[data-page="refer"] .ref-box p,
body[data-page="refer"] .ref-steps li,
body[data-page="refer"] .ref-rewards p,
body[data-page="refer"] .refer-text-hint{
  font-size:1.18rem!important;line-height:1.65!important;
}

/* r26 #782 seniors: About + seniors page leads */
body[data-page="about"] .page-head .lead,
body[data-page="seniors"] .page-head .lead,
body[data-page="about"] .lead,
body[data-page="seniors"] .lead{
  font-size:clamp(1.18rem,2.8vw,1.4rem)!important;line-height:1.65!important;max-width:42rem;
}

/* r26 #783 seniors: FAQ answers larger across pages */
.faq details p,
details.px-box p,
section[aria-labelledby="faq-title"] details p,
#faq details p{
  font-size:1.2rem!important;line-height:1.65!important;
}

/* r26 #784 seniors: footer columns type + line-height */
footer,.footer-cols,.footer-col,footer p,.footer-col a,footer li{
  font-size:1.12rem!important;line-height:1.55!important;
}
.footer-col h2,.footer-col h3{font-size:1.05rem!important;line-height:1.4!important;letter-spacing:.04em}

/* r26 #785 a11y: Settings toggle ≥52px tap */
#settings-toggle,.set-toggle.tool-btn{
  min-height:52px!important;min-width:52px;padding:.45rem .9rem!important;touch-action:manipulation;
}

/* r26 #786 a11y: Manage account / nav-acct ≥52px */
.nav-acct a,.acct-btn,.top-tools .acct-btn{
  min-height:52px!important;display:inline-flex!important;align-items:center!important;
  padding:.45rem .9rem!important;touch-action:manipulation;box-sizing:border-box;
}

/* r26 #787 a11y: Level Select / levelnav items ≥52px */
.levelnav a,#levelnav a,.lv-links a{
  min-height:52px!important;display:inline-flex!important;align-items:center!important;
  justify-content:center;padding:.55rem .7rem!important;touch-action:manipulation;box-sizing:border-box;
}

/* r26 #788 a11y: bottom dock / fx-dock items ≥52px */
.fx-dock a,.fx-dock .btn,.fx-dock.bar-v a,.fx-dock.bar-a a,.fx-dock.bar-c a,.fx-dock.bar-d a{
  min-height:52px!important;touch-action:manipulation;box-sizing:border-box;
}

/* r26 #789 a11y: Ask-q submit ≥52px full width */
.askq-send,.askq .askq-send,.askq button[type="submit"]{
  min-height:52px!important;width:100%;display:inline-flex;align-items:center;justify-content:center;
  touch-action:manipulation;font-size:1.1rem!important;
}

/* r26 #790 a11y: live-chat launcher ≥52px */
#ka-live,.ka-chat-open,#ka-live button,.ka-live-launch{
  min-height:52px!important;min-width:52px;touch-action:manipulation;
}

/* r26 #791 a11y: footer links mobile ≥52px */
@media (max-width:700px){
  .footer-col a,.footer-links a,footer nav a{
    min-height:52px!important;display:inline-flex!important;align-items:center!important;
    padding:.35rem .25rem;touch-action:manipulation;
  }
}

/* r26 #792 focus-visible gold 3px: contact form fields */
#contact-form input:focus-visible,
#contact-form textarea:focus-visible,
#contact-form select:focus-visible,
#contact-form .choice:focus-within{
  outline:3px solid #ffd23f!important;outline-offset:2px!important;
  border-color:#22e6ff!important;
}

/* r26 #793 focus-visible gold 3px: FAQ details summaries */
.faq details>summary:focus-visible,
details.px-box>summary:focus-visible,
section[aria-labelledby="faq-title"] details>summary:focus-visible{
  outline:3px solid #ffd23f!important;outline-offset:3px!important;
}

/* r26 #794 focus-visible gold 3px: dock + Level Select */
.fx-dock a:focus-visible,.fx-dock .btn:focus-visible,
.levelnav a:focus-visible,#levelnav a:focus-visible,.menu-toggle:focus-visible{
  outline:3px solid #ffd23f!important;outline-offset:3px!important;
}

/* r26 #795 focus-visible gold 3px: askq modal controls */
.askq input:focus-visible,.askq textarea:focus-visible,
.askq-send:focus-visible,.askq-x:focus-visible,
.askq button:focus-visible{
  outline:3px solid #ffd23f!important;outline-offset:2px!important;
}

/* r26 #796 focus-visible gold 3px: live chat + term links */
.ka-chat-open:focus-visible,.ct-term-link:focus-visible,#ka-live:focus-visible,#ka-live a:focus-visible,#ka-live button:focus-visible{
  outline:3px solid #ffd23f!important;outline-offset:3px!important;
}

/* r26 #797 light: quest tiles high contrast cream + magenta */
html.light .quest-btn,html.light .quest-grid .quest-btn,html.light .quest-grid>li .quest-btn{
  background:#ffffff!important;color:#1d1236!important;border-color:#c2007a!important;
  box-shadow:5px 5px 0 #f0b400!important;
}
html.light .quest-btn small{color:#3a2a5a!important}
html.light .quest-btn[aria-pressed="true"]{background:#ffd23f!important;color:#1d1236!important}

/* r26 #798 light: Press Start perk boxes readable */
html.light .ka-perks8 .ka-perk,html.light .ka-perk{
  background:#ffffff!important;color:#1d1236!important;border-color:#c2007a!important;
}
html.light .ka-perk b,html.light .ka-perk span b{color:#a3006a!important}
html.light .ka-perk span{color:#1d1236!important}

/* r26 #799 light: Refer cards / steps / rewards */
html.light .ref-box,html.light .ref-rewards,html.light body[data-page="refer"] .px-box.card{
  background:#ffffff!important;color:#1d1236!important;border-color:#c2007a!important;
  box-shadow:5px 5px 0 #f0b400!important;
}
html.light .ref-h2,html.light body[data-page="refer"] h2{color:#a3006a!important}
html.light .ref-steps li{color:#1d1236!important}

/* r26 #800 light: Contact terminal contrast */
html.light .ct-term{
  background:#ffffff!important;color:#1d1236!important;border-color:#c2007a!important;
  box-shadow:6px 6px 0 #f0b400!important;
}
html.light .ct-term-cmd,html.light .ct-term-top{color:#a3006a!important}
html.light .ct-term-list dt{color:#8a5a00!important}
html.light .ct-term-list dd,html.light .ct-term-link,html.light .ct-term-prompt{color:#1d1236!important}
html.light .ct-term-link{color:#a3006a!important}

/* r26 #801 light: footer columns readable */
html.light footer,html.light .footer-cols{
  background:#f7f2ff!important;color:#1d1236!important;border-top-color:#c2007a!important;
}
html.light .footer-col h2,html.light .footer-col h3{color:#a3006a!important}
html.light .footer-col a,html.light footer a{color:#a3006a!important}
html.light footer p,html.light .footer-col li{color:#1d1236!important}

/* r26 #802 light: acct-nudge (New here?) consistency */
html.light .acct-nudge,html.light .acct-nudge-new{
  background:rgba(255,210,63,.22)!important;color:#1d1236!important;border-left-color:#c2007a!important;
}
html.light .acct-nudge a,html.light .acct-nudge .portal-link{color:#a3006a!important;font-weight:700}

/* r26 #803 light: askq modal cream card */
html.light .askq-box,html.light .askq .px-box{
  background:#ffffff!important;color:#1d1236!important;border-color:#c2007a!important;
}
html.light .askq h2,#askq-h,html.light .askq-sub,html.light .askq-fine{color:#1d1236!important}
html.light .askq h2,#askq-h{color:#a3006a!important}
html.light .askq label{color:#1d1236!important}

/* r26 #804 mobile ≤390: nav token machine no overflow */
@media (max-width:390px){
  .nav-tok,.tok-machine{max-width:100%;box-sizing:border-box}
  .tok-machine{min-width:72px;padding:4px 6px!important}
  .tok-lbl{font-size:.58rem!important;letter-spacing:0}
  .top-tools,.statusbar{flex-wrap:wrap;max-width:100%;overflow:hidden}
}

/* r26 #805 mobile ≤390: Level Select no horizontal scroll */
@media (max-width:390px){
  #levelnav,.levelnav,.lv-links{
    max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;
    gap:.45rem!important;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box;
  }
  .levelnav a{flex:1 1 auto;min-width:0;font-size:.85rem}
  html,body{overflow-x:hidden}
}

/* r26 #806 mobile ≤390: Refer + Business cards stack */
@media (max-width:390px){
  body[data-page="refer"] .grid-2,
  body[data-page="refer"] .ref-box,
  body[data-page="business"] .biz-grid,
  body[data-page="business"] .grid-2,
  body[data-page="business"] .grid-3{
    display:grid!important;grid-template-columns:1fr!important;gap:.75rem!important;
  }
  body[data-page="refer"] .px-box,body[data-page="business"] .px-box{max-width:100%;box-sizing:border-box}
}

/* r26 #807 mobile ≤390: tighten Choose-your-quest gaps */
@media (max-width:390px){
  .quest-grid{gap:.55rem!important;margin:.55rem 0!important}
  .quest-grid>li{flex-basis:100%!important;max-width:100%!important}
  .quest-btn{min-height:96px;padding:.65rem .75rem}
}

/* r26 #808 mobile ≤390: kill leftover horizontal scroll chrome */
@media (max-width:390px){
  .wrap,main,.page-head .wrap,footer .wrap{max-width:100%;padding-left:.85rem;padding-right:.85rem;box-sizing:border-box}
  .ref-banner,.fx-dock,.cd-modal,.askq-box{max-width:100vw;box-sizing:border-box}
}

/* r26 #809 Motion OFF / calm: freeze dock ship leftovers */
html.calm .ka-ship,html.calm .ka-shot,html.calm .ka-ship-hl{display:none!important;animation:none!important}
@media (prefers-reduced-motion:reduce){
  .ka-ship,.ka-shot{display:none!important;animation:none!important}
}

/* r26 #810 Motion OFF: freeze particle / starfield intensity loops */
html.calm .fx-stars,html.calm .stars,html.calm [class*="particle"],html.calm .galaxy-bg,
html.calm body::before,html.calm body::after{
  animation:none!important;
}
@media (prefers-reduced-motion:reduce){
  .fx-stars,.stars,[class*="particle"],.galaxy-bg,body::before,body::after{animation:none!important}
}

/* r26 #811 Motion OFF: freeze any remaining coin-drop / arcade coin loops (machine stays visible) */
html.calm .arc-coin,html.calm .arc-scr,html.calm .cd-modal .cd-coin,
html.calm .tok-machine::before{
  animation:none!important;opacity:0!important;
}
html.calm .tok-machine{/* keep machine chrome visible when Motion OFF */}
@media (prefers-reduced-motion:reduce){
  .arc-coin,.arc-scr{animation:none!important;opacity:0!important}
}

/* r26 #812 Motion OFF: no hover lift on quest / refer / contact term */
html.calm .quest-btn:hover,html.calm .levelnav a:hover,html.calm .ref-box:hover,
html.calm .ct-term-link:hover,html.calm .footer-col a:hover{
  transform:none!important;filter:none!important;
}
@media (prefers-reduced-motion:reduce){
  .quest-btn:hover,.levelnav a:hover{transform:none!important}
}

/* r26 #813 print: hide chat / askq / nudge / tok chrome consistently */
@media print{
  #ka-live,.ka-nudge,.askq,.askq-back,.askq-box,.tok-machine,.nav-tok,
  .fx-dock,.ka-ship,.cd-modal,#cd-modal,.set-panel,#settings-panel,
  .ref-banner,.menu-toggle{
    display:none!important;
  }
}

/* r26 #814 print: readable Contact terminal + footer ink-safe */
@media print{
  .ct-term,footer,.footer-cols,.ref-box,.ka-perk,.quest-btn{
    background:#fff!important;color:#000!important;box-shadow:none!important;border-color:#000!important;
  }
  a{color:#000!important;text-decoration:underline}
}

/* r26 #815 account nudge: Games page matches Contact/Refer New here? style */
body[data-page="games"] .acct-nudge,
body[data-page="arcade"] .acct-nudge{
  margin-top:1rem!important;padding:.75rem 1rem;border-left:4px solid #ffd23f;
  background:rgba(255,210,63,.08);border-radius:0 10px 10px 0;font-size:1.12rem;line-height:1.5;
}
html.light body[data-page="games"] .acct-nudge{
  background:rgba(255,210,63,.22)!important;border-left-color:#c2007a;
}

/* r26 #816 account nudge: Contact form signup line tap-friendly link */
.acct-nudge a.portal-link,.acct-nudge .portal-link{
  display:inline-flex;align-items:center;min-height:48px;padding:.15rem .1rem;
  text-decoration:underline;text-underline-offset:3px;font-weight:700;
}

/* r26 #817 seniors: Refer step numbers / rewards headings */
.ref-steps,.ref-rewards h2,.ref-rewards h3,.ref-h2{
  font-size:1.2rem!important;line-height:1.5!important;
}
.ref-steps li{padding:.35rem 0}

/* r26 #818 seniors: Contact terminal CHAT/PHONE rows taller */
.ct-term-list>div{min-height:52px;align-items:center}
.ct-term-list dd,.ct-term-link,.ka-chat-open.ct-term-link{
  min-height:52px!important;display:inline-flex!important;align-items:center!important;
  padding:.25rem 0;touch-action:manipulation;
}

/* r26 #819 light: business page cards readable (stack companion) */
html.light body[data-page="business"] .px-box,
html.light body[data-page="business"] .biz-card,
html.light .biz-grid .px-box{
  background:#ffffff!important;color:#1d1236!important;border-color:#c2007a!important;
}
html.light body[data-page="business"] h2,html.light body[data-page="business"] h3{color:#a3006a!important}

/* r26 #820 focus-visible: Settings switches gold ring */
.set-sw:focus-visible,#settings-toggle:focus-visible,.set-toggle:focus-visible{
  outline:3px solid #ffd23f!important;outline-offset:3px!important;
}

/* r26 #821 mobile ≤390: statusbar Settings + Menu stay tappable without clipping */
@media (max-width:390px){
  #settings-toggle,.menu-toggle,#menu-toggle{
    min-height:52px!important;font-size:.95rem;padding:.4rem .65rem!important;
  }
  .set-txt{font-size:.9rem}
}

/* r26 #822 calm: freeze ticker / flyby / glow loops if still animating */
html.calm .fx-ticker div,html.calm .fx-flyby,html.calm .fx-glowtext,html.calm .ka-typing::after{
  animation:none!important;
}
html.calm .ka-typing::after{opacity:1}
@media (prefers-reduced-motion:reduce){
  .fx-ticker div,.fx-flyby,.fx-glowtext{animation:none!important}
}

/* r26 #823 seniors: FAQ summary tap + type reinforce */
.faq details>summary,details.px-box>summary{
  min-height:52px!important;font-size:1.18rem!important;line-height:1.45!important;
  padding-top:.7rem!important;padding-bottom:.7rem!important;touch-action:manipulation;
}

/* r26 #824 no green: utility ok/good stay cyan on r26 surfaces */
.ct-term .ok,.ref-box .ok,.faq .ok,.acct-nudge .ok,
.ct-term .good,.ref-box .good{color:#22e6ff!important}
html.light .ct-term .ok,html.light .ref-box .ok{color:#0088a8!important}

/* r26 #825 light: Level Select tiles readable */
html.light .levelnav a,html.light #levelnav a{
  background:#ffffff!important;color:#1d1236!important;border-color:#c2007a!important;
}
html.light .levelnav a[aria-current="page"],html.light #levelnav a[aria-current="page"]{
  background:#ffd23f!important;color:#1d1236!important;
}

/* r26 #826 scroll-margin: Contact terminal + Refer members + FAQ */
#ct-term-h,.ct-term-sec,#ref-members,#ask,section.ct-term-sec{
  scroll-margin-top:5.5rem;
}

/* r26 #827 mobile ≤390: askq modal fits viewport */
@media (max-width:390px){
  .askq-box{width:min(100%,360px)!important;max-width:calc(100vw - 1.2rem);padding:1rem .85rem;box-sizing:border-box}
  .askq-send{min-height:52px!important}
}

/* r26 #828 seniors: footer legal row slightly larger */
footer .legal,footer small,footer .fineprint,.footer-col small{
  font-size:1rem!important;line-height:1.5!important;
}
