/* ar10 ("make the game a 10", Nov 23 2026): small-phone fit, desktop scale, welcome hint, payoff, haptics hooks. Loaded after demo.css. */
/* --- welcome: Begin works from the first second --- */
.begin-any{margin:10px 0 0;font-size:.86rem;color:var(--cream-dim,#d9ccb3);letter-spacing:.02em}
.begin-any b{color:#ffd68c;font-weight:600}
.has-gate #intro-go,.has-gate .begin-any{position:relative;z-index:21}
/* ar10b: no-autoplay first load: a compact play chip over the "Hear your welcome" button; nothing else is covered or blurred */
.welcome-gate{background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;pointer-events:none;align-items:flex-start;justify-content:center;padding-top:var(--wg-top,150px)}
.welcome-gate .wg-btn{pointer-events:auto;flex-direction:row;gap:10px;max-width:92%;min-height:48px;padding:8px 18px 8px 10px;border-radius:999px;background:#1d1a33;box-shadow:0 6px 22px rgba(0,0,0,.45)}
.welcome-gate .wg-ic{width:32px;height:32px;flex:none}
.welcome-gate .wg-ic::after{left:12px;top:8px;border-left-width:12px;border-top-width:8px;border-bottom-width:8px}
.welcome-gate .wg-t{font-size:1rem}
.welcome-gate .wg-s{display:none}
#intro-go{animation:ar10beg 2.6s ease-in-out 1.2s infinite}
@keyframes ar10beg{0%,100%{box-shadow:0 0 0 0 rgba(255,214,140,0)}50%{box-shadow:0 0 0 6px rgba(255,214,140,.22),0 0 26px rgba(255,200,120,.35)}}
/* --- tap targets: at least 44 px everywhere --- */
.topic-chip{min-height:44px!important}
.linkish{min-height:44px}
/* --- end screen: one option open at a time, so every button is on screen without scrolling --- */
.end-opts.ar-acc .end-opt.ar-closed .eo-b > :not(.ar-head){display:none!important}
.end-opts.ar-acc .end-opt:not(.is-primary) .mail-card > .eo-h,.end-opts.ar-acc .tip-jar > .tip-h{display:none}
.ar-head{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:0 14px;border-radius:14px;border:1px solid rgba(244,236,220,.16);background:rgba(244,236,220,.05);color:var(--cream,#f4ecdc);font:inherit;font-size:.95rem;text-align:left;cursor:pointer}
.ar-head:after{content:"";width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .25s ease;opacity:.7}
.is-open > .eo-b > .ar-head:after{transform:rotate(-135deg) translateY(-2px)}
.ar-head:focus-visible{outline:3px solid #fff;outline-offset:2px}
.end-opts.ar-acc .end-opt{margin-bottom:6px}
.end-opts.ar-acc .end-opt.is-open .eo-b > :not(.ar-head){animation:arOpen .3s ease both}
@keyframes arOpen{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* --- small phones (SE 375x667, 360x640): compact rating list, next step and re-rate --- */
@media (max-height:700px) and (max-width:480px){
  :root{--hud-h:104px}
  .screen{padding-bottom:calc(66px + var(--safe-b))}
  #s-rate .eyebrow,#s-rerate .eyebrow{display:none}
  #s-rate h2,#s-rerate h2{font-size:1.05rem}
  #s-rate .card,#s-rerate .card{padding:6px 8px 4px}
  .rate-list{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(6,44px);grid-auto-flow:column;gap:4px 6px;overflow:visible;flex:none;padding:0;margin-top:6px}
  .rate-list.can-scroll{mask-image:none;-webkit-mask-image:none}
  .rate-list .rate-opt{margin:0;min-height:44px;height:44px;padding:0 6px;gap:6px;align-items:center}
  .rate-list .rate-opt .n{width:20px;font-size:1.1rem;text-align:center}
  .rate-list .rate-opt .w{display:none}
  .rate-list .rate-opt .ws{display:block;flex:1;font-size:.76rem;line-height:1.15;color:var(--cream-dim)}
  .rate-list .rate-opt[aria-checked=true] .ws{color:var(--cream)}
  .rate-now .rn-full{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .rate-now .rn-short{display:inline}
  #s-rate .rate-foot,#s-rerate:not(.is-done) .rate-foot{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}
  #s-rate .rate-foot .rate-now,#s-rerate:not(.is-done) .rate-foot .rate-now{text-align:left;margin:0;font-size:.78rem;line-height:1.25}
  #s-rerate:not(.is-done) .rate-foot .kind-note,#s-rerate:not(.is-done) .rate-foot #rerate-crisis{grid-column:1/-1}
  .next-opt .nd{display:none}
  .next-opt{min-height:48px;padding:8px 12px}
  .next-opt .ni{width:28px;height:28px;font-size:.95rem}
  .next-list{gap:6px;margin-top:8px}
  #s-next .next-lead{font-size:.82rem;margin-top:4px}
  #s-next h2{font-size:1.12rem}
  #s-next .eyebrow{display:none}
  #s-next .card{padding-top:12px;padding-bottom:10px}
  #s-next .next-row{margin-top:10px}
  #s-end .end-sub{display:none}
  #s-end .card{padding-top:12px}
  #s-end h2{font-size:1.15rem;margin-bottom:6px}
  #s-end .eo-why{display:none}
}
/* --- worry meter payoff --- */
.ar-pop{position:absolute;left:50%;top:-6px;transform:translateX(-50%);font-weight:700;font-size:1rem;color:#ffe2a6;text-shadow:0 0 12px rgba(255,214,140,.8);pointer-events:none;white-space:nowrap;animation:arPop 1.6s ease-out forwards;z-index:5}
@keyframes arPop{0%{opacity:0;transform:translate(-50%,6px) scale(.8)}15%{opacity:1;transform:translate(-50%,0) scale(1.12)}100%{opacity:0;transform:translate(-50%,-34px) scale(1)}}
.ar-glow{animation:arGlow 1.2s ease-out}
@keyframes arGlow{0%{filter:drop-shadow(0 0 0 rgba(255,214,140,0))}30%{filter:drop-shadow(0 0 14px rgba(255,214,140,.9))}100%{filter:drop-shadow(0 0 0 rgba(255,214,140,0))}}
.ar-burst{position:fixed;inset:0;pointer-events:none;z-index:60;overflow:hidden}
.ar-burst i{position:absolute;left:var(--x);top:var(--y);width:8px;height:8px;border-radius:50%;background:radial-gradient(circle,#fff6dc 0,#ffd68c 45%,rgba(255,214,140,0) 70%);animation:arSpark 1.8s ease-out forwards;animation-delay:var(--d)}
@keyframes arSpark{0%{opacity:0;transform:translate(0,0) scale(.4)}20%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1.4)}}
.ar-letgo{position:fixed;left:50%;top:38%;transform:translate(-50%,-50%);z-index:61;pointer-events:none;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(1.55rem,6vw,2.4rem);color:#fff1cf;text-shadow:0 0 24px rgba(255,214,140,.85);animation:arLet 2.6s ease-out forwards;white-space:nowrap}
@keyframes arLet{0%{opacity:0;transform:translate(-50%,-40%) scale(.92)}20%{opacity:1;transform:translate(-50%,-50%) scale(1)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-58%)}}
@media (prefers-reduced-motion:reduce){
  #intro-go{animation:none}
  .ar-pop,.ar-letgo{animation:arFade 1.6s linear forwards}
  .ar-burst{display:none}
  .ar-glow{animation:none}
  .end-opts.ar-acc .end-opt.is-open .eo-b > :not(.ar-head){animation:none}
  @keyframes arFade{0%{opacity:0}15%{opacity:1}80%{opacity:1}100%{opacity:0}}
}
html.ar-desk body{background-attachment:fixed}
.end-opts.ar-acc .end-opt .eo-b > span.eo-h{display:none!important}

/* inline 988 links: 44 px tap area without changing the line height */
.us988 a{display:inline-block;padding:14px 6px;margin:-14px 0;line-height:16px}
/* end screen: tighter rows so all five options and the footer fit */
.end-opts.ar-acc{gap:6px;margin-top:8px}
.end-opts.ar-acc .end-opt{padding:6px 8px;align-items:center;margin-bottom:0}
.end-opts.ar-acc .end-opt.is-open{align-items:flex-start}
.end-opts.ar-acc .end-opt .eo-b{gap:6px}
.end-opts.ar-acc .end-opt.is-primary .eo-why{display:none}
/* ar10f (review r6 item 4): taller phones (390x844) too, so the copyright clears the 988 bar */
@media (max-height:900px) and (max-width:480px){
  #s-end .eyebrow{display:none}
  #s-end > .card > .us988{display:none} /* the always-on bar below says the same, "If you're in the US: Call or text 988" */
  #s-end .disc{font-size:.68rem;margin:6px 0 2px}
  #s-end .copy{font-size:.62rem;margin:2px 0 0}
  .ar-head{min-height:44px;font-size:.9rem}
  .end-opts.ar-acc .end-opt .btn{min-height:44px}
}
/* desktop: wider card and a two-column 0-10 scale, so nothing scrolls */
html.ar-desk .card{max-width:680px}
html.ar-desk #s-rate .card,html.ar-desk #s-rerate .card{max-width:820px}
html.ar-desk .rate-list{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:column;grid-template-rows:repeat(6,auto);gap:6px 8px;overflow:visible;flex:none;max-width:none;mask-image:none;-webkit-mask-image:none}
html.ar-desk .rate-list .rate-opt{margin:0;align-items:center;min-height:52px}
html.ar-desk .scroll-hint{display:none!important}
/* win: Jamie's speech bubble already gives the check-in steps, so the duplicate box goes and "How is it now?" never covers text */
#s-win .win-check{display:none}
#s-win #win-go{margin-top:10px}
@media (max-height:700px){#s-win .win-comp .wc-photo{width:min(84px,calc(var(--vwu,1vw)*24))}}
/* next step on phones: details show for the picked idea only, the two buttons share a row, so nothing scrolls */
@media (max-width:480px){
  .next-opt .nd{display:none}
  .next-opt[aria-checked=true] .nd{display:block}
  .next-opt{padding:9px 12px;min-height:52px}
  .next-opt .nm{margin-top:2px}
  .next-list{gap:8px}
  #s-next .next-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
  #s-next .next-row .btn{width:100%;min-width:0;margin:0;padding-left:8px;padding-right:8px;font-size:.92rem}
  #s-next #next-skip{margin-top:6px}
}
@media (max-height:700px) and (max-width:480px){
  #s-next .next-lead{display:none}
  .next-opt .nm{display:none}
}
@media (max-height:700px) and (max-width:480px){
  .topic-chips{gap:6px!important}
  .topic-chip{min-height:44px!important;height:auto;padding-top:4px;padding-bottom:4px}
  .topic-own{margin-top:8px!important}
  .topic-privacy{margin-top:3px!important;font-size:.72rem!important}
  .topic-row{margin-top:8px!important}
  .topic-card h2{margin-bottom:6px}
  .topic-card{padding-top:10px!important;padding-bottom:10px!important}
}
#again-go{min-height:48px}
@media (max-height:760px) and (max-width:480px){
  #end-step{padding:6px 10px!important;margin:4px 0 2px!important;font-size:.86rem;line-height:1.25}
  #end-step .k{display:inline!important;margin:0 6px 0 0!important;font-size:.66rem}
  #end-step .nm{display:none}
  #s-end .maker,#s-end .cchip{margin-bottom:2px}
  #s-end h2{margin:4px 0!important;font-size:1.05rem}
  .end-opts.ar-acc{gap:5px;margin-top:6px}
  .end-opts.ar-acc .end-opt{padding:3px 8px}
  #s-end .disc{margin-top:4px}
}
.end-opts.ar-acc .ar-head{min-height:46px!important}
/* ar10b: before/after screen fits short phones with no scroll, Finish clear of the 988 bar */
.rr-988{margin:6px 0 0;text-align:center;font-size:.9rem}
@media (max-height:760px) and (max-width:480px){
  #s-rerate.is-done .card{padding:8px 10px 8px}
  #s-rerate.is-done .card > h2{margin:2px 0 0;font-size:1rem}
  #s-rerate.is-done .rerate-face{width:64px!important;height:64px;margin:4px auto 2px!important}
  #s-rerate.is-done .rerate-face svg,#s-rerate.is-done .rerate-face img{width:64px;height:64px}
  #s-rerate.is-done .compare{margin-top:4px;padding:6px 10px}
  #s-rerate.is-done .compare p{margin:2px 0;font-size:.84rem;line-height:1.3}
  #s-rerate.is-done .compare .k{display:inline;margin:0 6px 0 0;font-size:.66rem}
  #s-rerate.is-done .kind-note{margin:6px 0 0;font-size:.84rem;line-height:1.35}
  #s-rerate.is-done .rr-back{display:none}
  #s-rerate.is-done .rate-foot{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;align-items:stretch;padding:4px 0 0}
  #s-rerate.is-done .rate-foot > :not(.btn){grid-column:1/-1}
  #s-rerate.is-done .rate-foot .btn{margin:6px 0 0!important;min-height:48px;padding-left:8px;padding-right:8px;font-size:.95rem;width:100%}
  #s-rerate.is-done .rate-foot #end-go:only-of-type,#s-rerate.is-done[data-dir="down"] .rate-foot #end-go{grid-column:1/-1}
  #s-rerate.is-done .rr-988{margin:4px 0 0}
}
/* ar10b: end screen: room below the last option for the 988 bar; an opened option scrolls into view */
#s-end{scroll-padding-bottom:calc(var(--foot-h,62px) + 8px)}
#s-end .card{margin-bottom:calc(var(--foot-h,62px) - 56px)}
/* ar10b: the 988 bar's own links are full 44 px tap targets */
.hud-foot .help988 a,.hud-foot .help988 button,#hud-foot a,#btn-help{display:inline-flex!important;align-items:center;min-height:44px!important;padding:0 8px!important}
.hud-foot{padding-top:0!important;padding-bottom:calc(0px + var(--safe-b,0px))!important}
/* ar10b: the win screen's decoration never makes the screen scroll */
#s-win{overflow-x:hidden}
.ar-win-deco{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
@media (max-height:700px) and (max-width:480px){
  #s-topic .eyebrow{display:none}
  #s-topic .card > h2{margin-top:2px}
  #s-topic .topic-chips{margin-top:6px!important}
}
/* ar10b: big desktops: keep the last screens inside the window */
html.ar-desk #s-end .card,html.ar-desk #s-next .card{padding-top:12px;padding-bottom:12px}
@media (max-height:660px) and (max-width:480px){ #s-topic .topic-chips{gap:5px!important} #s-topic .card{padding-bottom:6px} }
/* r3: every 988 link is a 44x44 tap target */
.us988 a,.win-988 a,.rr-988 a,.hud-foot .help988 a,.hud-foot .help988 button,#hud-foot a,#btn-help{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px!important;min-height:44px!important;padding:0 6px!important;margin:0!important;line-height:1.1;vertical-align:middle;box-sizing:border-box}
.us988,.win-988,.rr-988{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:2px;row-gap:0}
.us988[hidden],.win-988[hidden],.rr-988[hidden]{display:none!important}
#s-rerate .rr-988{margin:0 0 8px!important}
/* r3: short desktop windows - the end screen fits without scrolling (the bar below already carries the 988 line) */
@media (min-width:900px) and (max-height:860px){
  html.ar-desk #s-end > .card > .us988{display:none}
  html.ar-desk #s-end .end-sub{margin:2px auto 6px}
  html.ar-desk #s-end .end-opt{padding-top:8px;padding-bottom:8px}
}
/* r3: tall desktop windows - keep the room photo, echo line and choices above the 988 bar */
@media (min-width:1100px) and (min-height:1000px){
  html.ar-desk #s-ground .obj-grid{width:min(100%,430px,max(256px,calc((calc(var(--vhu,1dvh)*100) - 412px) * .75)))}
}
/* ar10d (review r4 item 1): compact layout for short desktop windows (laptops, height up to ~820 px).
   The before/after, next-step and end screens keep every button above the 988 bar with no scroll. */
@media (min-width:900px) and (max-height:820px){
  html.ar-desk #ui > .screen{padding-top:6px;padding-bottom:8px}
  /* before/after */
  html.ar-desk #s-rerate.is-done .card{padding:8px 14px 10px}
  html.ar-desk #s-rerate.is-done .cchip{margin-bottom:2px}
  html.ar-desk #s-rerate.is-done .eyebrow{display:none}
  html.ar-desk #s-rerate.is-done .card > h2{margin:2px 0 0;font-size:1.35rem}
  html.ar-desk #s-rerate.is-done .rerate-face{display:none!important}
  html.ar-desk #s-rerate.is-done .compare{margin-top:6px;padding:6px 12px}
  html.ar-desk #s-rerate.is-done .compare p{margin:2px 0;font-size:.9rem;line-height:1.3}
  html.ar-desk #s-rerate.is-done .compare .k{display:inline;margin:0 8px 0 0;font-size:.68rem}
  html.ar-desk #s-rerate.is-done .kind-note{margin:8px auto 0;line-height:1.35;text-align:center;max-width:560px}
  html.ar-desk #s-rerate.is-done .kind-note p{margin:2px 0}
  html.ar-desk #s-rerate.is-done .rr-crisis .lead{margin:4px 0;font-size:.88rem;line-height:1.35}
  html.ar-desk #s-rerate.is-done .rr-crisis .crisis-actions{margin:6px 0 2px}
  html.ar-desk #s-rerate.is-done .rate-foot{display:grid!important;grid-template-columns:1fr 1fr;column-gap:10px;row-gap:0;align-items:stretch;padding:2px 0 0;max-width:560px;margin:0 auto;width:100%}
  html.ar-desk #s-rerate.is-done .rate-foot > :not(.btn){grid-column:1/-1}
  html.ar-desk #s-rerate.is-done .rate-foot .btn{margin:8px 0 0!important;min-height:48px;max-width:none;width:100%;font-size:1rem;padding-left:10px;padding-right:10px}
  html.ar-desk #s-rerate.is-done .rate-foot #end-go:only-of-type,
  html.ar-desk #s-rerate.is-done[data-dir="down"] .rate-foot #end-go,
  html.ar-desk #s-rerate.is-done .rate-foot #try-again[hidden] + #end-go{grid-column:1/-1;justify-self:center;max-width:280px}
  html.ar-desk #s-rerate.is-done .rr-988{margin:6px 0 0!important}
  /* win: the companion, card, share and "How is it now?" fit above the bar, also on the 9-10 path with its 988 line */
  html.ar-desk #s-win .win-comp .wc-photo{width:64px!important}
  html.ar-desk #s-win .win-comp .wc-say{margin-top:4px;font-size:.86rem;line-height:1.3;padding:5px 12px}
  html.ar-desk #s-win .win-card{padding:8px 16px 10px;margin-top:6px}
  html.ar-desk #s-win .win-meta{margin:0}
  html.ar-desk #s-win .win-card .win-title{margin:2px 0 0;font-size:1.2rem}
  html.ar-desk #s-win .win-card .ok-beat{margin:2px 0 0;line-height:1.15}
  html.ar-desk #s-win .win-card .ok-line{margin:2px 0 0}
  html.ar-desk #s-win .win-card .affirm{margin:2px 0 0}
  html.ar-desk #s-win .win-988{margin:2px 0 0}
  html.ar-desk #s-win .share-wrap{margin:4px 0 0}
  html.ar-desk #s-win .share-btn{min-height:44px}
  html.ar-desk #s-win #win-go{margin-top:8px;min-height:46px}
  html.ar-desk #s-topic .card{padding-top:8px;padding-bottom:8px}
  /* next step */
  html.ar-desk #s-next .card{padding-top:8px;padding-bottom:6px}
  html.ar-desk #s-next .eyebrow{display:none}
  html.ar-desk #s-next h2{margin:4px 0 0;font-size:1.4rem}
  html.ar-desk #s-next .next-lead{margin:2px auto 0;font-size:.88rem;line-height:1.35}
  html.ar-desk #s-next .next-list{gap:6px;margin:8px 0 2px}
  html.ar-desk #s-next .next-list > *{padding-top:6px!important;padding-bottom:6px!important}
  html.ar-desk #s-next .next-row{margin-top:8px}
  html.ar-desk #s-next .next-row .btn{min-height:46px}
  html.ar-desk #s-next #next-skip{margin-top:2px;min-height:44px}
  /* end */
  html.ar-desk #s-end .card{padding-top:8px;padding-bottom:8px;margin-bottom:0}
  html.ar-desk #s-end .eyebrow{display:none}
  html.ar-desk #s-end .card > h2{margin:2px 0 0;font-size:1.4rem}
  html.ar-desk #s-end .end-sub{margin:0 auto 4px}
  html.ar-desk #s-end .end-step{margin:2px auto 6px;max-width:600px;padding:5px 14px;line-height:1.35}
  html.ar-desk #s-end .end-opts{gap:5px}
  html.ar-desk #s-end .end-opt{padding-top:3px!important;padding-bottom:3px!important}
  html.ar-desk #s-end .end-opts.ar-acc .ar-head{min-height:44px!important}
  html.ar-desk #s-end #again-go{min-height:46px}
  html.ar-desk #s-end .disc{margin-top:4px;line-height:1.3}
  html.ar-desk #s-end .copy{margin-top:2px}
}
/* ar10d (review r4 item 3): crisis screen keeps a clear 12 px+ gap between the 988 buttons and "Continue the practice" */
#s-crisis .crisis-actions{margin-bottom:14px!important}
#s-crisis #crisis-go{margin-top:0!important}

/* ar10f (review r6): Skip for now is a full 44 px target everywhere */
#s-next #next-skip{min-height:44px}
/* ar10f (review r6 item 2): win screen tightens step by step on short phones so "How is it now?" never covers Share */
#s-win.ar-t1 .win-comp .wc-photo{width:64px!important}
#s-win.ar-t1 .win-comp .wc-say{font-size:.8rem;line-height:1.25;padding:5px 10px;margin-top:4px;min-height:0}
#s-win.ar-t2 .win-card{padding-top:8px;padding-bottom:8px}
#s-win.ar-t2 .win-card .ok-beat{font-size:1.18rem!important;margin-top:2px}
#s-win.ar-t2 .win-card .win-title{margin:2px 0 0}
#s-win.ar-t3 .win-card .ok-line{display:none}
#s-win.ar-t3 .win-comp .wc-photo{width:52px!important}
/* ar10f (review r6 item 3): the compact desktop layout now starts at 900x560; on short windows the rating lists,
   topic and end screens tighten further so nothing scrolls and every button stays above the 988 bar */
@media (max-height:700px){
  html.ar-desk .rate-list{gap:4px 8px}
  html.ar-desk .rate-list .rate-opt{min-height:44px;padding-top:3px!important;padding-bottom:3px!important}
  html.ar-desk #s-rate .eyebrow,html.ar-desk #s-rerate .eyebrow{display:none}
  html.ar-desk #s-rate .card > h2,html.ar-desk #s-rerate .card > h2{margin:0;font-size:1.3rem}
  html.ar-desk #s-rate .cchip,html.ar-desk #s-rerate .cchip{margin-bottom:2px}
}
@media (max-height:700px){
  html.ar-desk #s-topic .topic-chips{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  html.ar-desk #s-ground .obj-grid{width:min(100%,430px,max(240px,calc((calc(var(--vhu,1dvh)*100) - 430px) * .75)))}
}
@media (max-height:640px){
  html.ar-desk .worry-wrap .face-box{width:100px}
  html.ar-desk #s-intro .disc{margin-top:2px;margin-bottom:2px}
  html.ar-desk #s-intro #intro-go{margin-top:6px}
  html.ar-desk #s-end .end-opts{gap:4px}
  html.ar-desk #s-end .card > h2{font-size:1.25rem}
  html.ar-desk #s-end .end-step{margin:0 auto 4px}
}
/* ar10g: step-down fit for topic and end when a long caption wraps */
#s-topic.ar-f1 .cchip-say,#s-end.ar-f1 .cchip-say{font-size:.8rem;line-height:1.25;padding-top:5px;padding-bottom:5px}
#s-topic.ar-f1 .cchip,#s-end.ar-f1 .cchip{margin-bottom:6px}
#s-topic.ar-f2 .card,#s-end.ar-f2 .card{padding-top:6px;padding-bottom:6px}
#s-topic.ar-f2 .topic-chips{gap:5px!important}
#s-end.ar-f2 .card > h2{font-size:1.2rem;margin-top:0}
#s-topic.ar-f3 .cchip-ph,#s-end.ar-f3 .cchip-ph{width:40px;height:40px}
#s-topic.ar-f3 .topic-text{min-height:40px;padding-top:6px;padding-bottom:6px}
#s-end.ar-f3 .end-opts{gap:4px}

/* ar10h (review r7 N1/N4/N5): fit levels for every scrolling screen; each level only appears when the screen overflows */
.topic-text,#s-topic.ar-f3 .topic-text{min-height:44px!important}
a[href^="/privacy"]{display:inline-flex;align-items:center;min-height:44px;margin:-15px 0;padding:0 4px;vertical-align:middle}
.share-opt{min-height:44px!important}
/* intro */
#s-intro.ar-f1 #intro-go{margin-top:8px!important}
#s-intro.ar-f1 .maker{margin-bottom:6px}
#s-intro.ar-f1 .begin-any{margin-top:6px}
#s-intro.ar-f2 h1{font-size:clamp(1.7rem,9vw,2.2rem)}
#s-intro.ar-f2 .disc{font-size:.7rem;line-height:1.3}
#s-intro.ar-f2 .cchip-say{font-size:.8rem;line-height:1.25;padding-top:5px;padding-bottom:5px}
#s-intro.ar-f3 .cchip-ph{width:40px;height:40px}
#s-intro.ar-f3 .lead{margin-top:2px;margin-bottom:4px}
#s-intro.ar-f3 .card{padding-top:8px;padding-bottom:8px}
#s-intro.ar-f4 .lead{font-size:.86rem;line-height:1.35}
#s-intro.ar-f4 .ages{margin:2px 0}
#s-intro.ar-f4 .begin-any{font-size:.8rem}
/* topic: three chip columns at the last level, and Continue/Skip stay in a row above the 988 bar */
#s-topic.ar-f4 .topic-chips{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
#s-topic.ar-f4 .topic-chips > *{font-size:.8rem;line-height:1.15;padding-left:4px;padding-right:4px;min-height:44px}
#s-topic.ar-f4 .topic-row{position:sticky;bottom:0;z-index:3;margin-top:6px!important;padding:4px 0 2px;background:linear-gradient(rgba(6,11,26,0),rgba(6,11,26,.96) 30%)}
/* worry */
#s-worry.ar-f1 .eyebrow{margin-bottom:2px}
#s-worry.ar-f1 .worry-cue{margin-top:0}
#s-worry.ar-f1 .worry-skip{margin-top:2px}
#s-worry.ar-f2 .worry-sky{height:176px!important}
#s-worry.ar-f3 h2{font-size:1.25rem}
#s-worry.ar-f4 .worry-sky{height:160px!important}
/* ground */
#s-ground.ar-f1 .room-wrap{margin-top:4px}
#s-ground.ar-f1 .obj-btns{margin-top:2px}
#s-ground.ar-f2 .cchip-ph{width:40px;height:40px}
#s-ground.ar-f3 .ground-prompt{margin-top:0}
/* next */
#s-next.ar-f1 .cchip{margin-bottom:4px}
#s-next.ar-f1 .next-list{margin-top:4px}
#s-next.ar-f1 .next-row{margin-top:6px}
#s-next.ar-f1 .next-skip{margin-top:2px}
#s-next.ar-f2 .cchip-ph{width:40px;height:40px}
#s-next.ar-f3 h2{font-size:1.15rem}
/* rerate */
#s-rerate.ar-f1 .cchip{margin-bottom:4px}
#s-rerate.ar-f2 .cchip-ph{width:40px;height:40px}
#s-rerate.ar-f3 .cchip-say{font-size:.8rem;line-height:1.25}
/* end */
#s-end.ar-f1 .end-sub{margin-bottom:2px}
#s-end.ar-f1 .end-opts{margin-top:4px}
#s-end.ar-f3 .end-opts.ar-acc .end-opt{padding-top:2px!important;padding-bottom:2px!important}
#s-end.ar-f4 .disc{font-size:.64rem;line-height:1.25;margin-top:2px}
#s-end.ar-f4 .copy{font-size:.62rem;line-height:1.2}
#s-end.ar-f4 .cchip-ph{width:36px;height:36px}
#s-ground.ar-f3 .cchip{margin-bottom:0}
#s-end.ar-f1 #end-step .k{display:inline!important;margin:0 6px 0 0!important;font-size:.66rem}
#s-end.ar-f1 #end-step{padding-top:4px!important;padding-bottom:4px!important;margin-bottom:4px!important}
#s-end.ar-f2 .end-sub{display:none}
#s-end.ar-f4 #end-step{font-size:.8rem;line-height:1.25}
#s-end.ar-f4 .end-opts.ar-acc .end-opt.is-primary{padding-top:2px!important;padding-bottom:2px!important}
#s-end.ar-f3 .end-opts.ar-acc .ar-head{min-height:44px!important}
#s-end.ar-f4 .end-opts.ar-acc .ar-head{font-size:.84rem;line-height:1.15;padding-left:10px;padding-right:10px}
#s-end.ar-f4 .end-opts.ar-acc .end-opt{margin-bottom:0!important}
#s-end.ar-f4 .end-opts{gap:3px!important}
#s-end.ar-f4 .end-opts .btn{min-height:44px!important}
#s-end.ar-f4 .card > h2{font-size:1.1rem}
#s-end.ar-f3{padding-top:4px!important}
#s-end.ar-f3 .cchip{margin-bottom:2px!important}
#s-end.ar-f3 .card > h2{margin-bottom:2px!important}
#s-end.ar-f4{padding-bottom:6px!important}
#s-end.ar-f4 .cchip-say{font-size:.76rem;line-height:1.2;padding-top:4px;padding-bottom:4px}
#s-end.ar-f4 .disc,#s-end.ar-f4 .copy{margin-top:1px!important;margin-bottom:0!important}
#s-ground.ar-f4 .ground-prompt{line-height:1.1}
#s-ground.ar-f4{padding-bottom:10px!important}
#s-ground.ar-f4 .room-wrap{margin-top:2px!important}
#s-ground.ar-f4 .obj-btns{margin-top:0!important}
#s-end.ar-f4 .disc{line-height:1.15!important}
#s-end.ar-f4 #end-step{font-size:.76rem;padding-top:3px!important;padding-bottom:3px!important}
#s-end.ar-f4 .cchip-ph{width:34px;height:34px}
#s-ground.ar-f4 .ground-prompt{font-size:.95em}
#s-ground.ar-f4 .obj-btns{margin-bottom:-2px}
#s-end.ar-f4 .end-opts{margin-bottom:3px!important}
#s-ground.ar-f2 .tap-echo{margin-top:0!important}
