/* testament.games home v5 (branch hub-rebuild, 2026-11-14; Aaron topic 18584 16:27 "Go with all your recommendations. And build it.").
   Loaded after home.css (replaces the v3/v4 prototype's home-v3.css). REVIEW.md top 10:
   navy + gold frame around big real game art, ONE UI typeface (Atkinson Hyperlegible Next; chunky type only inside the game logos),
   hero = lead game + a rail of all five, dark Forts of Zarahemla band, Parents section, two age lanes. Contrast AA on every text. */

body.v5{--bom-font-heading:var(--bom-font-body);--night:#0B1A2A;--night-2:#10243A;--gold:#F2C14E;--gold-hi:#FCCA46;--ink5:#13283D;background:var(--bom-cream)}
body.v5 button{font-family:var(--bom-font-body)}
.v5 h2,.v5 h3{font-family:var(--bom-font-body)}

/* ---------- promo banner (config-driven, same height in both states: no layout shift) ---------- */
.promo{position:relative;z-index:4;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:6px;min-height:52px;
  padding:4px max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left));background:var(--gold-hi);color:var(--ink5);border-bottom:2px solid var(--night)}
.promo[hidden]{display:none}
.promo-msg{grid-column:2;justify-self:center;display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:4px 10px;min-height:44px;
  color:var(--ink5);text-decoration:none;font:700 clamp(.95rem,.88rem + .3vw,1.12rem)/1.25 var(--bom-font-body);text-align:center;text-wrap:balance}
.promo-msg:hover span:not(.promo-new){text-decoration:underline}
.promo-new{background:var(--night);color:var(--gold-hi);border-radius:6px;padding:2px 8px;font-size:.8em;letter-spacing:.06em;text-transform:uppercase}
.promo-short{display:none}
@media (max-width:600px){ .promo-long{display:none} .promo-short{display:inline} }
@media (max-width:900px){ .promo-arrow{display:none} }
img[data-lazy],img[data-src]{visibility:hidden} /* not loaded yet (below the fold / after the load event): no empty-image outline */
.promo-x{grid-column:3;width:44px;height:44px;padding:0;display:grid;place-items:center;background:transparent;border:0;border-radius:var(--bom-radius-sm);color:var(--ink5)}
.promo-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.promo-x:hover{background:rgba(11,26,42,.12)}

/* ---------- header: logo, music, Parents + the promise ---------- */
.mast5{background:var(--night);padding-bottom:0;border-bottom:0}
.mast5 .logo .crest{width:clamp(150px,22vw,240px)}
@media (min-width:700px) and (min-height:501px){ .mast5 .logo .crest{width:clamp(170px,16vw,230px)} }
.mast5 .mast-top{align-items:center}
.mast5 .music-btn{margin-top:0}
.mast5 .grownups{margin-top:0;border-color:rgba(242,193,78,.65);font-family:var(--bom-font-body);font-weight:700}
.promise5{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 24px;
  padding:clamp(8px,1vw,14px) max(clamp(20px,4.2vw,60px),env(safe-area-inset-right)) clamp(12px,1.2vw,16px) max(clamp(20px,4.2vw,60px),env(safe-area-inset-left))}
.h1-5{margin:0;color:#fff;font:800 clamp(1.3rem,1rem + 1.3vw,2.15rem)/1.12 var(--bom-font-body);letter-spacing:-.01em;text-wrap:balance}
.trust{display:flex;flex-wrap:wrap;gap:4px 0;margin:0;padding:0;list-style:none;color:var(--gold);font:700 clamp(.95rem,.88rem + .25vw,1.1rem)/1.3 var(--bom-font-body)}
/* Separators sit before every item; the list is pulled 1.2em left and that strip is clipped, so the dot that starts a wrapped line is hidden (320 px phones). */
.trust{margin-left:-1.2em;clip-path:inset(0 0 0 1.2em)}
.trust li{white-space:nowrap}
.trust li::before{content:"·";display:inline-block;width:1.2em;text-align:center;color:#fff;opacity:.8}

/* ---------- hero: lead slide + rail ---------- */
.hero5{--railh:150px;position:relative;overflow:hidden;background:var(--night);color:#fff;isolation:isolate;height:clamp(480px,calc(100svh - 230px),780px)}
.hero5 .h3-slides{position:absolute;inset:0;touch-action:pan-y}
.h3-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility 0s linear .7s}
.h3-slide.on{opacity:1;visibility:visible;transition:opacity .7s ease,visibility 0s}
.h3-art,.h3-art img{position:absolute;inset:0;width:100%;height:100%}
.h3-art img{object-fit:cover;object-position:var(--pos,50% 50%);user-select:none;-webkit-user-select:none}
.h3-slide::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(7,16,27,.86) 0,rgba(7,16,27,.6) 30%,rgba(7,16,27,0) 56%),linear-gradient(0deg,rgba(7,16,27,.85) 0,rgba(7,16,27,0) 34%)}
.h3-copy{position:absolute;z-index:2;left:max(clamp(20px,5vw,84px),env(safe-area-inset-left));top:0;bottom:calc(var(--railh,150px) + 12px);width:min(500px,42%);
  display:flex;flex-direction:column;justify-content:center;gap:clamp(10px,1.4vw,18px)}
.h3-title{margin:0}
.h3-logo{display:block;width:100%;max-width:min(440px,100%);max-height:clamp(120px,26vh,260px);height:auto;object-fit:contain;object-position:left center;filter:drop-shadow(0 6px 14px rgba(0,0,0,.5))}
.h3-low{display:flex;flex-direction:column;gap:clamp(10px,1.2vw,14px);align-items:flex-start}
.h3-tag,.sd-chip.tag-37,.sd-chip.tag-8plus,.f5-tag{display:inline-flex;align-items:center;gap:8px;margin:0;padding:3px 14px 3px 3px;border-radius:999px;
  font:700 clamp(.875rem,.82rem + .2vw,1rem)/1.2 var(--bom-font-body);color:#fff;background:rgba(7,16,27,.72);border:2px solid rgba(242,193,78,.7)}
.tmark{display:inline-grid;place-items:center;flex:none;width:clamp(30px,2.6vw,36px);height:clamp(30px,2.6vw,36px)}
.tmark img{width:100%;height:100%;border-radius:50%;background:#fff;border:2px solid var(--night);object-fit:contain}
.tmark .libmark{width:100%;height:100%;display:block}
.h3-pitch{margin:0;font:600 clamp(1.05rem,.9rem + .55vw,1.4rem)/1.35 var(--bom-font-body);text-wrap:balance;text-shadow:0 2px 6px rgba(0,0,0,.7);max-width:32ch}
.h3-ctas{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.h3-play{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:0 clamp(26px,2.6vw,38px);border-radius:12px;
  background:var(--gold-hi);color:var(--night);border:0;box-shadow:0 4px 0 #9A7420,0 8px 20px rgba(0,0,0,.35);
  font:800 clamp(1.15rem,1rem + .5vw,1.45rem)/1 var(--bom-font-body);letter-spacing:.02em;text-decoration:none;transition:transform .12s ease,box-shadow .12s ease}
.h3-play svg{width:.85em;height:.85em;fill:currentColor}
.h3-play:hover{transform:translateY(-2px);box-shadow:0 6px 0 #9A7420,0 10px 24px rgba(0,0,0,.4)}
.h3-play:active{transform:translateY(3px);box-shadow:0 1px 0 #9A7420}
.h3-more{min-height:56px;padding:0 22px;border-radius:12px;border:2px solid rgba(255,255,255,.9);background:rgba(7,16,27,.55);color:#fff;font:700 clamp(1rem,.92rem + .25vw,1.15rem)/1 var(--bom-font-body)}
.h3-more:hover{background:rgba(7,16,27,.8)}
:where(.v5) :focus-visible{outline:3px solid var(--gold-hi);outline-offset:3px}

/* the rail: all five games, always visible (desktop: across the bottom of the hero) */
.h5-rail-wrap{position:absolute;z-index:4;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:center;gap:12px;
  padding:0 max(16px,env(safe-area-inset-right)) 16px max(16px,env(safe-area-inset-left))}
.h5-rail{display:flex;gap:clamp(8px,1vw,14px);min-width:0}
.h5-card{position:relative;display:block;flex:none;width:clamp(130px,11.5vw,196px);aspect-ratio:4/3;padding:0;border-radius:12px;overflow:hidden;cursor:pointer;
  border:2px solid rgba(255,255,255,.45);background:var(--night-2);box-shadow:0 6px 18px rgba(0,0,0,.45);transition:transform .15s ease,border-color .15s ease}
.h5-card .th{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.78;transition:opacity .15s ease}
.h5-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,16,27,.85) 0,rgba(7,16,27,0) 62%)}
.h5-card .lg{position:absolute;z-index:1;left:8%;right:8%;bottom:9%;width:84%;height:46%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 2px 4px rgba(0,0,0,.7))}
.h5-card:hover{transform:translateY(-3px);border-color:#fff}.h5-card:hover .th{opacity:1}
.h5-card[aria-selected="true"]{border:3px solid var(--gold-hi);transform:translateY(-4px)}
.h5-card[aria-selected="true"] .th{opacity:1}
.h5-bar{position:absolute;z-index:2;left:0;right:0;bottom:0;height:5px;background:rgba(255,255,255,.25);display:none}
.h5-bar i{display:block;height:100%;width:100%;background:var(--gold-hi);transform-origin:left;transform:scaleX(0)}
.h5-auto .h5-card[aria-selected="true"] .h5-bar{display:block}
.h5-auto .h5-card[aria-selected="true"] .h5-bar i{animation:h5fill var(--dur,8s) linear forwards}
.h5-auto.h3-paused .h5-card[aria-selected="true"] .h5-bar i{animation-play-state:paused}
@keyframes h5fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.h3-pause{flex:none;align-self:center;width:48px;height:48px;border-radius:50%;border:2px solid #fff;background:rgba(7,16,27,.7);color:#fff;display:grid;place-items:center;padding:0}
.h3-pause[hidden]{display:none}
.h3-pause svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.h3-pause .i-play{display:none;fill:currentColor;stroke-width:1.5}
.h3-pause[aria-pressed="true"] .i-play{display:inline}.h3-pause[aria-pressed="true"] .i-pause{display:none}

/* phones + portrait tablets: 9:16 art, logo at the top, copy at the bottom; the rail sits UNDER the art as a swipeable row (3 + a peek) */
@media (orientation:portrait) and (max-width:1100px){
  .hero5{height:auto;overflow:visible}
  .hero5 .h3-slides{position:relative;inset:auto;height:clamp(380px,calc(100svh - 440px),900px);overflow:hidden}
  .h3-art img{object-position:var(--tpos,50% 50%)}
  .h3-slide::after{background:linear-gradient(180deg,rgba(7,16,27,.5) 0,rgba(7,16,27,0) 26%),linear-gradient(0deg,rgba(7,16,27,.95) 0,rgba(7,16,27,.8) 24%,rgba(7,16,27,0) 50%)}
  .h3-copy{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));width:auto;top:10px;bottom:14px;justify-content:space-between;align-items:center;text-align:center}
  .h3-logo{max-width:min(64vw,360px);max-height:var(--tlogo,17svh);object-position:center top;margin:0 auto}
  .h3-low{align-items:center}
  .h3-pitch{max-width:34ch;font-size:clamp(1rem,.92rem + .4vw,1.15rem)}
  .h3-ctas{justify-content:center}
  .h3-play,.h3-more{min-height:52px}
  .h5-rail-wrap{position:static;display:block;padding:12px 0 14px;background:var(--night)}
  .h5-rail{overflow-x:auto;scroll-snap-type:x mandatory;padding:4px max(16px,env(safe-area-inset-left)) 6px;scroll-padding-inline:16px;scrollbar-width:none}
  .h5-rail::-webkit-scrollbar{display:none}
  .h5-card{width:calc((100vw - 32px - 5 * 10px) / 6);max-width:200px;scroll-snap-align:start} /* six rail cards (Road to Bethlehem added, msg 21948) */
  .h5-rail{justify-content:center}
  .h3-pause{display:none}
}
/* phones: three cards and a peek of the fourth (swipe for the rest); a little more art */
@media (orientation:portrait) and (max-width:600px){
  .hero5 .h3-slides{height:clamp(380px,calc(100svh - 365px),700px)}
  .h5-card{width:calc((100vw - 32px - 2 * 10px) / 3.3)}
  .h5-rail{justify-content:flex-start}
}
/* short landscape phones */
@media (max-height:500px) and (orientation:landscape){
  .hero5{height:calc(100svh - 40px);min-height:330px;--railh:96px}
  .h3-logo{max-height:28svh}
  .h3-pitch{display:none}
  .h5-card{width:clamp(96px,13vw,130px)}
  .h3-copy{bottom:calc(var(--railh,110px) + 4px);width:min(420px,52%)}
  .h5-rail-wrap{padding-bottom:8px}
}
@media (prefers-reduced-motion:reduce){
  .h3-slide,.h3-slide.on{transition:none}
  .h5-card,.h5-card .th{transition:none}
}

/* ---------- games: two lanes ---------- */
.featured.lanes{padding:clamp(28px,3.6vw,52px) 0 clamp(24px,3vw,44px);background:var(--bom-cream)}
.sec-title{margin:0 0 clamp(14px,1.8vw,22px);color:var(--ink5);font:800 clamp(1.6rem,1.1rem + 1.5vw,2.4rem)/1.08 var(--bom-font-body);letter-spacing:-.01em}
.lane+.lane{margin-top:clamp(26px,3vw,40px)}
.lane-h{display:flex;align-items:center;gap:12px;margin:0 0 clamp(12px,1.4vw,18px);font:700 clamp(1.2rem,1rem + .7vw,1.6rem)/1.15 var(--bom-font-body);color:var(--ink5)}
.lane-h b{font-weight:800}
.lane-age{display:inline-block;margin-left:6px;padding:2px 10px;border-radius:999px;background:var(--ink5);color:#fff;font-size:.72em;font-weight:700;vertical-align:.12em}
.fgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(clamp(100px,11.6vw,168px),1fr));gap:clamp(14px,2vw,26px) clamp(10px,1.6vw,22px);margin:0;padding:0;list-style:none}
@media (max-width:480px){ .fgrid{grid-template-columns:repeat(3,minmax(0,1fr))} }
.fitem{min-width:0}
.fcard{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--ink5);border-radius:var(--bom-radius-sm)}
.ftile.stile{flex:none;width:100%;box-shadow:0 4px 0 var(--bom-navy-700)}
.fcard:hover .ftile{transform:translateY(-4px)}
.fcard:active .ftile{transform:scale(.96)}
.ftag{display:flex;align-items:center;gap:6px;min-width:0}
.ftag .tmark{width:clamp(26px,2.4vw,32px);height:clamp(26px,2.4vw,32px)}
.ftag-t{display:flex;flex-direction:column;min-width:0;font:600 clamp(.75rem,.68rem + .25vw,.9rem)/1.2 var(--bom-font-body)}
.ftag-t b{font-weight:800;line-height:1.1}
.ftag-t span{color:var(--bom-ink-muted)}
@media (max-width:480px){ .ftag .tmark{width:22px;height:22px} .ftag{gap:4px;align-items:flex-start} }

/* ---------- Forts of Zarahemla band ---------- */
.forts5{position:relative;overflow:hidden;background:var(--night);color:#fff;padding:clamp(36px,5vw,72px) 0 clamp(32px,4vw,60px);isolation:isolate}
.f5-bg{position:absolute;inset:0;z-index:-1}
.f5-bg img{width:100%;height:100%;object-fit:cover;object-position:60% 20%;opacity:.28}
.f5-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--night) 0,rgba(11,26,42,.82) 45%,rgba(11,26,42,.6) 100%),linear-gradient(0deg,var(--night) 0,rgba(11,26,42,0) 40%)}
.f5-in{width:min(1240px,100% - 40px);margin:0 auto;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(24px,3.4vw,52px);align-items:center}
@media (max-width:900px){ .f5-in{grid-template-columns:1fr} }
.f5-copy{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.f5-title{margin:0}
.f5-title img{display:block;width:min(400px,80vw);height:auto;filter:drop-shadow(0 6px 14px rgba(0,0,0,.5))}
.f5-pitch{margin:0;font:600 clamp(1.05rem,.95rem + .45vw,1.3rem)/1.4 var(--bom-font-body);max-width:40ch;color:#fff}
.f5-points{margin:0;padding:0;list-style:none;display:grid;gap:8px;color:#E9EEF3;font-size:clamp(.98rem,.94rem + .2vw,1.08rem)}
.f5-points li{position:relative;padding-left:26px}
.f5-points li::before{content:"";position:absolute;left:2px;top:.42em;width:12px;height:12px;background:var(--gold-hi);transform:rotate(45deg);border-radius:2px}
.f5-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:6px}
.gp-badge{display:inline-flex;align-items:center;min-height:48px}
.gp-badge[hidden]{display:none}
.gp-badge img{display:block;height:64px;width:auto} /* official artwork, unmodified; its own padding = the required clear space */
.f5-video{margin:0}
.f5-frame{position:relative;border-radius:14px;overflow:hidden;border:2px solid rgba(242,193,78,.55);box-shadow:0 14px 40px rgba(0,0,0,.5);background:#000;aspect-ratio:16/9}
.f5-frame video{display:block;width:100%;height:100%;object-fit:cover}
.f5-pause{position:absolute;right:12px;bottom:12px;width:48px;height:48px;border-radius:50%;border:2px solid #fff;background:rgba(7,16,27,.75);color:#fff;display:grid;place-items:center;padding:0}
.f5-pause[hidden]{display:none}
.f5-pause svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.f5-pause .i-play{display:none;fill:currentColor;stroke-width:1.5}
.f5-pause[aria-pressed="true"] .i-play{display:inline}.f5-pause[aria-pressed="true"] .i-pause{display:none}
.f5-video figcaption{margin-top:8px;color:#C9D3DD;font-size:.9rem;text-align:right}
.f5-gallery{width:min(1240px,100% - 40px);margin:clamp(28px,3.4vw,48px) auto 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,20px)}
.f5-shot{display:flex;flex-direction:column;gap:8px;width:100%;padding:0;border:0;background:none;color:#fff;text-align:left;cursor:zoom-in}
.f5-shot img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:10px;border:2px solid rgba(255,255,255,.25);transition:border-color .15s ease}
.f5-shot:hover img{border-color:var(--gold-hi)}
.f5-shot b{font-weight:700;font-size:1rem;line-height:1.25}
.f5-shot span{color:var(--gold);font-size:.9rem;font-weight:700}
@media (max-width:760px){
  .f5-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;width:100%;padding:0 20px 6px;scroll-padding-inline:20px;scrollbar-width:none}
  .f5-gallery::-webkit-scrollbar{display:none}
  .f5-gallery li{flex:0 0 78vw;scroll-snap-align:start}
}
.f5-dlg{max-width:min(1200px,94vw);width:100%;padding:0;border:0;border-radius:14px;background:var(--night);color:#fff}
.f5-dlg::backdrop{background:rgba(5,10,18,.85)}
.f5-dlg figure{margin:0}
.f5-dlg img{display:block;width:100%;height:auto;max-height:80vh;object-fit:contain;background:#000}
.f5-dlg figcaption{padding:14px 64px 16px 18px;font-weight:700;line-height:1.35}
.f5-dlg figcaption span{color:var(--gold);margin-left:8px}
.f5-dlg-x{position:absolute;right:10px;bottom:8px;width:48px;height:48px;border-radius:50%;border:2px solid #fff;background:rgba(7,16,27,.8);color:#fff;display:grid;place-items:center;padding:0}
.f5-dlg-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}

/* ---------- Parents ---------- */
.parents5{padding:clamp(32px,4vw,60px) 0 clamp(20px,3vw,36px);background:#FFFDF7;border-top:4px solid var(--gold-hi)}
.parents5 .wrap{width:min(1180px,100% - 40px)}
.p5-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,24px)}
@media (max-width:900px){ .p5-grid{grid-template-columns:1fr} }
.p5-card{background:#fff;border:2px solid var(--ink5);border-radius:14px;padding:clamp(16px,1.8vw,24px);color:var(--ink5);box-shadow:0 4px 0 var(--ink5)}
.p5-card h3{margin:0 0 10px;font:800 clamp(1.15rem,1rem + .5vw,1.4rem)/1.2 var(--bom-font-body)}
.p5-card p{margin:0 0 10px}
.p5-card ul{margin:0 0 10px;padding-left:1.1em;display:grid;gap:6px}
.p5-indep{padding:10px 12px;border-radius:10px;background:var(--bom-cream);border-left:4px solid var(--gold-hi)}
.p5-more{margin-top:12px}
.p5-more a{color:#1D4F7A;font-weight:700;display:inline-flex;align-items:center;min-height:44px}
.parents5 .vq-mission{margin-top:clamp(18px,2.4vw,28px);color:var(--ink5)}

/* footer + legacy bands on the cream page */
.v5 .foot{background:var(--night)}
.v5 .flinks a{color:var(--gold-hi);font-family:var(--bom-font-body)}
.v5 .more{background:var(--bom-cream)}

/* Learn more card */
.info-dlg .sd-art .art{filter:none}
.info-dlg .sd-in{position:relative}
.info-dlg .sd-x{position:absolute;top:8px;right:8px;z-index:2;width:44px;height:44px;display:grid;place-items:center;border-radius:999px;border:3px solid var(--bom-navy);background:var(--bom-paper,#FFFDF7);color:var(--bom-navy-700,#1C313F);cursor:pointer}
.info-dlg .sd-x svg{width:18px;height:18px;stroke:currentColor;stroke-width:3;stroke-linecap:round;fill:none}
.info-dlg .sd-x:focus-visible,.info-dlg .sd-next:focus-visible{outline:3px solid var(--bom-orange);outline-offset:3px}
.info-dlg .sd-art{margin-top:40px}
.info-dlg .sd-btns{margin-top:12px}
.info-dlg .sd-next{display:inline-flex;align-items:center;gap:6px;font:inherit;font-family:var(--bom-font-heading);font-weight:700;font-size:1.05rem;min-height:52px;min-width:132px;padding:0 20px;border:3px solid var(--bom-navy);border-radius:999px;background:var(--bom-paper,#FFFDF7);color:var(--bom-navy-700,#1C313F);cursor:pointer;justify-content:center}
.info-dlg .sd-next svg{width:16px;height:16px;stroke:currentColor;stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.info-dlg .sd-title{margin-top:14px}
.info-dlg .sd-pill{display:inline-flex;align-items:center;gap:8px;margin:8px 0 10px;padding:3px 14px 3px 4px;border-radius:999px;background:var(--bom-sand,#FFF6E2);color:var(--bom-navy-700,#1C313F);border:2px solid var(--bom-navy);font-weight:700;font-size:.95rem}
.info-dlg .sd-pill .pbook{display:inline-grid;width:30px;height:30px}
.info-dlg .sd-pill .pbook svg{width:100%;height:100%}
.info-dlg .sd-line{text-align:left}
.sd-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.sd-btns .h3-play{min-height:52px}

.v5 .legal a{min-width:44px;justify-content:center;padding:0 4px}

/* ---------- lane tiles: badges, players, the tile as a button (Aaron topic 14030 msg 21941, 2026-11-25) ---------- */
/* testament.games tiles are <button>s that open the Learn-more popup (or the Coming-soon card); the playtest list keeps links. */
button.fcard{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;width:100%;text-align:left;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}
.fcard{position:relative}
.fcard:focus-visible{outline:3px solid var(--bom-orange,#FE7F2D);outline-offset:4px}
/* one small ribbon at the top left of the picture (NEW orange, POPULAR navy + flame, COMING SOON sand + dashed edge); never on the hero */
.fbadge{position:absolute;z-index:3;top:-7px;left:-7px;display:inline-flex;align-items:center;gap:3px;max-width:calc(100% + 2px);padding:3px 9px 3px 7px;
  border-radius:6px 999px 999px 3px;font:800 clamp(.6rem,.54rem + .22vw,.76rem)/1.15 var(--bom-font-body);letter-spacing:.04em;text-transform:uppercase;
  white-space:nowrap;overflow:hidden;box-shadow:0 2px 0 rgba(15,30,38,.35);pointer-events:none}
.fbadge svg{width:1.2em;height:1.2em;flex:none}
.fb-new{background:var(--bom-orange,#FE7F2D);color:#1C313F;border:2px solid var(--bom-navy,#233D4D)}
.fb-pop{background:var(--bom-navy,#233D4D);color:#FFFDF7;border:2px solid #FCCA46}
.fb-pop svg path:first-child{fill:#FE7F2D}
/* Featured game (index.html #tgFeature, date-driven): gold with a navy star. On the lead hero slide (.h3-feat, above the pitch) and on the playtest list's card (.fb-feat). */
.fb-feat{background:#FCCA46;color:#14305A;border:2px solid #14305A;white-space:normal;border-radius:6px 14px 14px 3px} /* wraps on a narrow card instead of cutting off */
.fb-feat svg path{fill:#14305A}
.h3-feat{display:inline-flex;align-items:center;gap:6px;margin:0;padding:5px 14px 5px 10px;border-radius:999px;background:#FCCA46;color:#14305A;border:2px solid #14305A;
  font:800 clamp(.72rem,.66rem + .25vw,.9rem)/1.1 var(--bom-font-body);letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.35)}
.h3-feat svg{width:1.25em;height:1.25em;flex:none}
.h3-feat svg path{fill:#14305A}
/* while a game is featured, the static lead slide (Forts) never shows: js/home.js builds the hero with the featured game first */
html[data-feat] #h3Slides .h3-slide[data-static]{visibility:hidden}
.fb-soon{background:var(--bom-sand,#FFF6E2);color:#1C313F;border:2px dashed var(--bom-navy,#233D4D);box-shadow:none}
/* players: a person icon + how many (+ two phones / pass & play / one device icons); the words are in the popup and for screen readers */
.ftag-t .fppl{display:inline-flex;align-items:center;gap:2px;margin-top:2px;color:var(--bom-ink-muted);font-weight:700;white-space:nowrap}
.fppl svg{flex:none}
.fppl .pi{width:.95em;height:.95em;fill:currentColor}
.fppl .hi{width:1.3em;height:.95em;margin-left:3px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.fppl .hi circle{fill:currentColor;stroke:none}
.info-dlg .sd-ppl{margin-left:6px;padding:3px 14px 3px 10px;gap:6px}
.info-dlg .sd-ppl .pi{width:18px;height:18px;fill:currentColor}
.info-dlg .sd-ppl:empty{display:none}

/* ---------- Recommended for kids & teens (2026-12-03, Aaron topic 14030 msg 22450; js/recs.js + /recs/links.json) ---------- */
.recs5{padding:clamp(30px,4vw,58px) 0 clamp(26px,3.4vw,48px);background:#FFF1D2;border-top:4px solid var(--gold-hi);border-bottom:4px solid var(--gold-hi)}
.recs5[hidden]{display:none}
.recs5 .wrap{width:min(1240px,100% - 40px)}
.rs-head{display:flex;flex-direction:column;gap:10px;margin-bottom:clamp(16px,2vw,26px)}
.rs-head .sec-title{margin:0}
.rs-lede{margin:0;max-width:62ch;color:var(--ink5);font:600 clamp(1rem,.94rem + .3vw,1.18rem)/1.4 var(--bom-font-body)}
.rs-week{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;align-self:flex-start;margin:0;padding:8px 16px;border-radius:14px;background:var(--night);color:#fff;
  font:600 clamp(.92rem,.88rem + .2vw,1.05rem)/1.3 var(--bom-font-body);box-shadow:0 3px 0 #9A7420}
.rs-week:empty{display:none}
.rw-when{color:var(--gold-hi);font-weight:800;letter-spacing:.02em}
.rw-title{font-weight:800}
.rw-books{color:#D6DEE6}
.rs-h{margin:clamp(14px,1.8vw,22px) 0 clamp(10px,1.2vw,14px);color:var(--ink5);font:800 clamp(1.15rem,1rem + .6vw,1.5rem)/1.15 var(--bom-font-body)}
.rs-h[hidden]{display:none}
.rgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.8vw,22px);margin:0;padding:0;list-style:none}
@media (max-width:1100px){ .rgrid{grid-template-columns:repeat(2,minmax(0,1fr))} }
.rc-item{min-width:0;display:flex}
.rcard{position:relative;display:flex;flex-direction:column;width:100%;overflow:hidden;border-radius:14px;background:#fff;border:2px solid var(--ink5);box-shadow:0 4px 0 var(--ink5);
  color:var(--ink5);text-decoration:none;transition:transform .12s ease,box-shadow .12s ease}
.rcard:hover{transform:translateY(-3px);box-shadow:0 7px 0 var(--ink5)}
.rcard:active{transform:translateY(2px);box-shadow:0 2px 0 var(--ink5)}
.rcard:focus-visible{outline:3px solid var(--bom-orange,#FE7F2D);outline-offset:4px}
.rc-thumb{position:relative;display:block;aspect-ratio:16/9;background:var(--night-2);border-bottom:2px solid var(--ink5);overflow:hidden}
.rc-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.rc-thumb.rc-icon{display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#FFFDF7 0,#FCE7B8 62%,#F6D58B 100%)}
.rc-thumb.rc-icon img{width:auto;height:62%;aspect-ratio:1;border-radius:22%;box-shadow:0 6px 16px rgba(19,40,61,.28);object-fit:cover}
.rc-podcast .rc-thumb.rc-icon img{border-radius:12px}
.rc-kind{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:5px;padding:3px 10px 3px 7px;border-radius:999px;background:rgba(11,26,42,.88);color:#fff;
  font:700 .8rem/1.2 var(--bom-font-body)}
.rc-kind svg{width:14px;height:14px;fill:currentColor;stroke:currentColor;stroke-width:0}
.rc-podcast .rc-kind svg,.rc-app .rc-kind svg,.rc-printable .rc-kind svg{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.rc-body{display:flex;flex-direction:column;gap:6px;flex:1;padding:clamp(12px,1.2vw,16px)}
.rc-week{align-self:flex-start;padding:2px 10px;border-radius:8px;background:var(--gold-hi);color:var(--ink5);border:2px solid var(--ink5);font:800 .8rem/1.25 var(--bom-font-body)}
.rc-title{font:800 clamp(1.05rem,.98rem + .3vw,1.2rem)/1.2 var(--bom-font-body);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rc-src{color:var(--bom-ink-muted,#4A5A68);font:700 .9rem/1.3 var(--bom-font-body)}
.rc-ages{display:inline-block;margin-left:4px;padding:0 8px;border-radius:999px;background:var(--ink5);color:#fff;font-style:normal;font-size:.78rem;vertical-align:.05em}
.rc-line{font-size:.98rem;line-height:1.4}
.rc-now{padding:4px 10px;border-left:4px solid var(--gold-hi);background:var(--bom-cream);border-radius:0 8px 8px 0;font:700 .9rem/1.35 var(--bom-font-body)}
.rc-go{margin-top:auto;padding-top:4px;display:inline-flex;align-items:center;gap:6px;min-height:36px;color:#1D4F7A;font:800 .98rem/1.2 var(--bom-font-body)}
.rc-go svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.rcard:hover .rc-go{text-decoration:underline}
.rc-store{margin-top:auto;padding-top:6px;display:flex;align-items:center;min-height:44px}
.rc-store img{display:block;height:40px;width:auto} /* Apple's official badge artwork, unmodified */
/* apps with an Android version: two badge links (the card itself is not a link) */
.rcard.rc-multi:hover,.rcard.rc-multi:active{transform:none;box-shadow:0 4px 0 var(--ink5)}
.rc-stores{flex-wrap:wrap;gap:2px 8px}
.rc-badge{display:inline-flex;align-items:center;min-height:44px;border-radius:9px}
.rc-badge:focus-visible{outline:3px solid var(--bom-orange,#FE7F2D);outline-offset:2px}
.rc-badge:hover img{filter:brightness(1.12)}
.rc-store .rc-gp img{height:58px;margin:-9px -8px} /* Google's official badge artwork, unmodified; its own padding = the clear space, so its visible badge matches Apple's 40px */
.rc-website .rc-kind svg{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rc-wide .rc-thumb{background:#fff}
.rc-wide .rc-thumb img{object-fit:contain;padding:0 6%;box-sizing:border-box}
/* a wide card (the We Believe Foundation website) takes a whole row on tablets + desktop: picture left, words right */
@media (min-width:641px){
  .rc-item.rc-wide{grid-column:1 / -1}
  .rc-wide .rcard{flex-direction:row}
  .rc-wide .rc-thumb{flex:0 0 clamp(240px,30%,360px);border-bottom:0;border-right:2px solid var(--ink5)}
  .rc-wide .rc-body{justify-content:center}
  .rc-wide .rc-go{margin-top:6px}
}
.rs-note{display:flex;align-items:flex-start;gap:10px;margin:clamp(18px,2.2vw,28px) 0 0;padding:12px 14px;border-radius:12px;background:#fff;border:2px dashed var(--ink5);color:var(--ink5);font-size:.95rem;line-height:1.45}
.rs-note svg{flex:none;width:22px;height:22px;margin-top:1px;fill:none;stroke:var(--ink5);stroke-width:2.2;stroke-linejoin:round}
/* phones: each row swipes sideways (one card + a peek), like the Forts gallery */
@media (max-width:640px){
  .recs5 .wrap{width:100%}
  .rs-head,.rs-h,.rs-note{margin-left:20px;margin-right:20px}
  .rgrid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 20px 12px;scroll-padding-inline:20px;scrollbar-width:none}
  .rgrid::-webkit-scrollbar{display:none}
  .rc-item{flex:0 0 min(78vw,320px);scroll-snap-align:start}
}
@media (prefers-reduced-motion:reduce){ .rcard{transition:none} .rcard:hover,.rcard:active{transform:none} }
/* the grown-up check + leaving note */
.rg-dlg{width:min(440px,calc(100vw - 32px));padding:0;border:3px solid var(--ink5);border-radius:18px;background:#FFFDF7;color:var(--ink5);box-shadow:0 6px 0 var(--ink5),0 20px 50px rgba(0,0,0,.35)}
.rg-dlg::backdrop{background:rgba(5,10,18,.72)}
.rg-in{display:flex;flex-direction:column;align-items:center;gap:12px;padding:clamp(20px,4vw,28px);text-align:center}
.rg-dlg #rgTitle:focus,.rg-dlg #rgTitle:focus-visible{outline:none;box-shadow:none !important} /* focused only so no answer is pre-selected */
.rg-in h2{margin:0;font:800 clamp(1.35rem,1.2rem + .6vw,1.7rem)/1.15 var(--bom-font-body)}
.rg-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--gold-hi);border:3px solid var(--ink5);font:800 1.8rem/1 var(--bom-font-body)}
.rg-sub,.rg-note{margin:0;line-height:1.45}
.rg-q{margin:4px 0 0;font:800 1.3rem/1.25 var(--bom-font-body)}
.rg-ans{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}
.rg-a{min-height:58px;border-radius:12px;border:3px solid var(--ink5);background:#fff;color:var(--ink5);font:800 1.4rem/1 var(--bom-font-body);box-shadow:0 3px 0 var(--ink5);cursor:pointer}
.rg-a:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink5)}
.rg-again{min-height:1.3em;margin:0;font-weight:700;color:#8A4B00}
.rg-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;width:100%}
.rg-back{min-height:52px;padding:0 22px;border-radius:12px;border:3px solid var(--ink5);background:transparent;color:var(--ink5);font:700 1.05rem/1 var(--bom-font-body);cursor:pointer}
.rg-go{display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:0 22px;border-radius:12px;background:var(--gold-hi);color:var(--night);text-decoration:none;
  border:3px solid var(--ink5);box-shadow:0 3px 0 var(--ink5);font:800 1.08rem/1 var(--bom-font-body)}
.rg-go svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
