/* Yellowbox case-study shell · Magazine Rail · v23 (Sep 26, 2026)
   v23: hardening pass from the Sep 26 systems audit, no new features.
   - Content-missing indicator (CASESTUDY-MISSING-01, new section at the bottom): styles for the
     small, muted, dashed-outline "⚠ missing: <field>" marker rail-shell.js's new `missing()`
     helper appends when a required CMS field/block is empty or absent.
   - Static runtime-injected CSS folded in (CASESTUDY-CSS-FOLD-01, new sections at the bottom):
     the v31 photo-loop, v28 credits-columns, and v30 gate-prompt styles used to be built and
     injected at runtime via `style#ybr-*-css` in rail-shell.js (v32 and earlier). They were
     static — identical byte-for-byte on every page load — so they're now here instead, and the
     matching JS injection code (and its call sites) has been removed as of rail-shell-v33.js.
     No visual change on any page.
   v21 (Sep 14, 2026)
   v21: N-option vote engine — text-option cards (info-grid strategy vote) and a "Shipped" reveal
   badge in the tally, shared with the existing image-option vote (boards). Vote option grid goes
   auto-fit instead of a fixed two columns, so 2 image options and 4+ text options both lay out
   correctly; unchanged for the 2-option case already live elsewhere. CASESTUDY-LEAGUE-VOTE-N-01.
   v20: Strategy option grid (name · tagline · rationale, winner badged) for info-grid blocks whose
   Strategy Options field is filled. CASESTUDY-STRATEGY-01.
   v19: On this page chips stick just under the real site header (--ybr-hh, measured live in JS) instead of at top:0, which was letting the header render over the chip row on phone/tablet.
   v18: mobile card/room interleave — .ybr-rail / .ybr-main go display:contents under 992px so their children share one grid and can be reordered with `order` (set in JS) instead of the whole rail stacking before the rooms.
   v17: gallery lightbox — dark full-screen viewer for any .ybr-gal / .ybr-pair image, arrows + counter + caption, X/Esc/backdrop to close.
   v16: vote option cards align bottom labels.
   v15: Pick a direction block.
   v14: On this page chips, phone and tablet only.
   v13: See it live card: illo beside label + host.
   v12: button anchors never underline; live-card fine print in full ink.
   v11: See it live card (green, Hello World illo).
   v10: board card.
   v9: branded lightbox (yellow header, UFO float + beam, lift-off on success); Start card on yellow with illo 53.
   v8: rail cards box-sized so buttons and inputs never overflow the rail.
   v7: full rail cards (quote, start, share, Made) + the lightbox (bottom sheet on phones).
   v6: type cards show specimens + alphabets in the brand faces.
   v5: body links in ink with a highlight underline · body after a gallery gets breathing room · rail link cards (Keep reading / From the market).
   v3: strip tiles show the whole thumbnail (square box, contain) instead of a 16:10 crop.
   v2: on tablet and phone the hero shows the key image at native ratio (no crop); desktop keeps the hand-chosen cover crop.
   Rules: no block crops the work; galleries are justified rows at native ratio; pairs share a height.
   Colours: YBX palette only. Canvas #FAFAFA · ink #191718 · lilac #CDB3FF · yellow #FBD305 · aqua #72F7E4 · green #86FF83 · pink #FF9FE2 · orange #FF8048 · subtle #F2F2F2. */
html.yb-rail-on .sections_wrapper.custom > *:not(.section-next){display:none !important}
html.yb-rail-on #case-header-united{display:none !important}
.ybr-hero-img{display:none}
@media screen and (max-width:991px){html.yb-rail-on .case-studie-hero{height:auto !important;min-height:0 !important;background-image:none !important;background-attachment:scroll !important;padding-top:88px}html.yb-rail-on .ybr-hero-img{display:block;width:100%;height:auto}}
.ybr{--ink:#191718;--canvas:#FAFAFA;--card:#FFFFFF;--subtle:#F2F2F2;--line:#E6E4E1;--mute:#6B6866;--lilac:#CDB3FF;--yellow:#FBD305;--aqua:#72F7E4;--green:#86FF83;--pink:#FF9FE2;--orange:#FF8048;--hl:var(--lilac);
  color:var(--ink);background:var(--canvas);font-family:inherit;line-height:1.5}
.ybr *{box-sizing:border-box}
.ybr-wrap{max-width:1440px;margin:0 auto;padding:0 80px}
.ybr-band{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);margin:0}
.ybr-band>div{padding:28px 24px 30px;border-right:1px solid var(--ink)}
.ybr-band>div:last-child{border-right:0}
.ybr-l{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--mute);margin-bottom:10px}
.ybr-band .ybr-v{font-size:20px;line-height:1.3}
.ybr-cols{display:grid;grid-template-columns:320px minmax(0,1fr);gap:64px;padding:64px 0 24px}
.ybr-rail{position:sticky;top:96px;align-self:start;display:grid;gap:14px}
.ybr-card{min-width:0;overflow-wrap:anywhere;box-sizing:border-box;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:20px;font-size:15px;line-height:1.5}
.ybr-card b{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--mute);margin-bottom:8px;font-weight:600}
.ybr-card a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.ybr-card a.cur{text-decoration:none;font-weight:600}
.ybr-card a.ybr-btn{text-decoration:none}
.ybr-card .ybr-rl{display:block;text-decoration:none;font-weight:600;margin-top:4px}
.ybr-card .ybr-rl:hover{text-decoration:underline}
.ybr-card .ybr-rl+small{display:block;font-size:13px;line-height:1.45;color:var(--mute);margin-bottom:10px}
.ybr-card small:last-child{margin-bottom:0}
.ybr-card .ybr-q{font-size:16px;line-height:1.45;margin:0 0 8px;font-style:italic}
.ybr-card>div>small{display:block;font-size:13px;line-height:1.45;color:var(--mute)}
.ybr-card>div>p{margin:0 0 6px;font-size:14.5px;line-height:1.45}
.ybr-mini{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:0 0 10px;font-size:14px;line-height:1.4}
.ybr-mini dt{color:var(--mute);font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding-top:2px}.ybr-mini dd{margin:0}
.ybr-btn{box-sizing:border-box;max-width:100%;display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border-radius:999px;border:1.5px solid var(--ink);background:var(--ink);color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer;text-decoration:none}
.ybr-btn:hover{background:var(--hl);color:var(--ink)}
.ybr-btn.line{background:var(--card);color:var(--ink)}.ybr-btn.line:hover{background:var(--hl)}
.ybr-start{background:var(--yellow);border-color:transparent;position:relative;overflow:hidden;padding-top:24px}.ybr-start .ybr-btn{width:100%;margin-bottom:8px}.ybr-start small{color:var(--ink);opacity:.8}
.ybr-start-illo{display:block;width:104px;height:auto;margin:0 auto 12px;transform:translateX(6px)}
.ybr-start:hover{background:var(--lilac)}
.ybr-board .ybr-btn{width:100%;margin-bottom:8px}
.ybr-live{background:var(--green);border-color:transparent}
.ybr-live-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.ybr-live-top>div{min-width:0}
.ybr-live-top b{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);font-weight:600;margin-bottom:4px}
.ybr-live-illo{flex:0 0 auto;display:block;width:96px;height:auto}
.ybr-live-host{font-size:18px;line-height:1.2;font-weight:700;letter-spacing:-.01em;overflow-wrap:anywhere}
.ybr-live .ybr-btn{width:100%;margin-bottom:10px;background:var(--ink);color:#fff}.ybr-live .ybr-btn:hover{background:var(--canvas);color:var(--ink)}
.ybr-live .ybr-rl{margin-bottom:6px}.ybr-live>div>small,.ybr-start>div>small{color:var(--ink);opacity:.85}
.ybr-live:hover{background:var(--aqua)}
.ybr-acts{display:flex;gap:8px;margin-bottom:10px}.ybr-acts .ybr-btn{flex:1;height:40px;padding:0 10px;font-size:14px}
.ybr-made{display:flex;gap:6px;margin-bottom:8px}.ybr-made input[type=email]{box-sizing:border-box;flex:1;min-width:0;height:44px;border:1.5px solid var(--line);border-radius:999px;padding:0 14px;font:inherit;font-size:15px;background:var(--card);color:var(--ink)}
.ybr-made input:focus{outline:2px solid var(--hl);outline-offset:1px;border-color:var(--ink)}.ybr-made .ybr-btn{padding:0 16px;height:44px}.ybr-made.busy{opacity:.6;pointer-events:none}
.ybr-hp,.ybr-sr{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.ybr-card small.err{color:#B3261E}.ybr-msg{font-size:14.5px;line-height:1.45;margin:0}
/* lightbox — Yellowbox branded: yellow header, the UFO over the form, beam-up on success */
html.ybr-lock{overflow:hidden}
.ybr-modal{position:fixed;inset:0;z-index:9999;display:none;font-family:Circular,sans-serif}.ybr-modal.on{display:block}
.ybr-modal-bg{position:absolute;inset:0;background:rgba(25,23,24,.55)}
.ybr-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(580px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;background:var(--canvas,#FAFAFA);color:var(--ink,#191718);border-radius:18px;padding:0;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.ybr-dialog-h{position:relative;background:var(--yellow,#FBD305);padding:30px 220px 22px 28px;min-height:150px;box-sizing:border-box;overflow:hidden}
.ybr-dialog-h .ybr-eb{background:var(--ink,#191718);color:var(--yellow,#FBD305);margin-bottom:12px}
.ybr-dialog-b{padding:22px 28px 26px}
.ybr-ufo{position:absolute;right:58px;top:12px;width:160px;height:auto;pointer-events:none}
.ybr-ufo img,.ybr-ufo svg{display:block;width:100%;height:auto}
.ybr-ufo .ufo-ship{transform-box:fill-box;transform-origin:center;animation:ybr-float 4.2s ease-in-out infinite}
.ybr-ufo .ufo-beam path,.ybr-ufo .ufo-beam ellipse{fill:var(--aqua,#72F7E4)!important;opacity:1!important}
.ybr-ufo .ufo-beam{transform-box:fill-box;transform-origin:50% 0;animation:ybr-beam 2.4s ease-in-out infinite}
.ybr-modal.sent .ybr-ufo .ufo-ship{animation:ybr-lift 1.1s cubic-bezier(.2,.8,.2,1) forwards}
.ybr-modal.sent .ybr-ufo .ufo-beam{animation:ybr-beam-off .9s ease-in forwards}
.ybr-modal.sent .ybr-dialog-b{padding-top:18px}
@keyframes ybr-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(2deg)}}
@keyframes ybr-beam{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.92)}}
@keyframes ybr-lift{to{transform:translate(40px,-140px) scale(.55);opacity:0}}
@keyframes ybr-beam-off{to{transform:scaleY(0);opacity:0}}
@media (prefers-reduced-motion:reduce){.ybr-ufo .ufo-ship,.ybr-ufo .ufo-beam,.ybr-modal.sent .ybr-ufo .ufo-ship,.ybr-modal.sent .ybr-ufo .ufo-beam{animation:none}}
.ybr-dialog-h h3{font-size:26px;line-height:1.15;margin:8px 0 6px;letter-spacing:-.01em}.ybr-dialog-h p{margin:0 0 18px;font-size:15px;line-height:1.45;color:var(--mute,#6B6866)}
.ybr-x{position:absolute;right:12px;top:10px;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:var(--ink,#191718);color:#fff;font-size:24px;line-height:1;cursor:pointer}.ybr-x:hover{background:var(--lilac,#CDB3FF);color:var(--ink,#191718)}
.ybr-dialog .w-form{margin:0}.ybr-dialog form{display:flex;flex-direction:column;gap:6px}
.ybr-dialog .ybr-lab{font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;color:var(--mute,#6B6866);margin:8px 0 2px}
.ybr-dialog .w-input,.ybr-dialog input[type=text],.ybr-dialog input[type=email],.ybr-dialog textarea{width:100%;box-sizing:border-box;height:46px;border:1.5px solid var(--line,#E6E4E1);border-radius:10px;padding:0 14px;font:inherit;font-size:16px;background:#fff;color:inherit;margin:0}
.ybr-dialog textarea{height:auto;min-height:110px;padding:12px 14px;resize:vertical}
.ybr-dialog .w-input:focus,.ybr-dialog textarea:focus{outline:2px solid var(--hl,#CDB3FF);outline-offset:1px;border-color:var(--ink,#191718)}
.ybr-dialog .w-button,.ybr-dialog input[type=submit]{margin-top:14px;height:48px;border-radius:999px;border:0;background:var(--ink,#191718);color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.ybr-dialog .w-form-done,.ybr-dialog .w-form-fail{margin-top:12px;padding:14px;border-radius:10px;font-size:15px}
.ybr-dialog .w-form-done{background:var(--green,#86FF83);font-size:17px;line-height:1.45;padding:18px}.ybr-dialog .w-form-fail{background:#FFE5E2}
@media (max-width:767px){.ybr-dialog{left:0;top:auto;bottom:0;transform:none;width:100%;max-height:92vh;border-radius:18px 18px 0 0;padding:0}.ybr-dialog-h{padding:22px 150px 18px 18px;min-height:128px}.ybr-ufo{width:108px;right:48px;top:22px}.ybr-dialog-h .ybr-eb{font-size:10px;letter-spacing:.12em;padding:5px 10px;margin-bottom:10px}.ybr-dialog-h h3{font-size:22px}.ybr-dialog-b{padding:18px 18px calc(18px + env(safe-area-inset-bottom))}}
.ybr-main{display:grid;gap:56px;min-width:0}
.ybr-block{min-width:0}
.ybr-eb{display:inline-block;font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;background:var(--hl);color:var(--ink);padding:6px 12px;border-radius:999px;margin-bottom:18px}
.ybr-h2{font-size:34px;line-height:1.15;letter-spacing:-.01em;margin:0 0 14px;font-weight:700}
.ybr-body p{font-size:19px;line-height:1.55;margin:0 0 12px;max-width:720px}
.ybr-body a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--hl);text-decoration-thickness:2px;text-underline-offset:3px}
.ybr-body a:hover{text-decoration-color:var(--ink)}
.ybr-gal+.ybr-body{margin-top:22px}
.ybr-body ul,.ybr-body ol{font-size:18px;line-height:1.6;max-width:720px;padding-left:22px}
.ybr-call{background:var(--hl);border-radius:12px;padding:32px}
.ybr-call .ybr-eb{background:var(--ink);color:#fff}
.ybr-call .ybr-body p{font-size:22px;line-height:1.45;max-width:none}
.ybr-gal{display:block}
.ybr-row{display:flex;gap:12px;margin-bottom:12px;align-items:flex-start}
.ybr-row:last-child{margin-bottom:0}
.ybr-fig{flex:none;margin:0;min-width:0}
.ybr-fig img{display:block;width:100%;height:auto;border-radius:6px;background:var(--subtle)}
.ybr-cap{font-size:13px;color:var(--mute);margin-top:8px;line-height:1.35}
.ybr-pair{display:flex;gap:14px;align-items:flex-start}
.ybr-pair .ybr-fig{flex:none}
.ybr-quote{border-left:4px solid var(--yellow);padding-left:24px}
.ybr-quote p{font-size:30px;line-height:1.3;font-style:italic;margin:0 0 10px;max-width:820px}
.ybr-quote .ybr-cap{font-size:15px}
.ybr-swatches{display:flex;gap:10px;flex-wrap:wrap}
.ybr-swatch{flex:1 1 90px;min-width:90px;height:76px;border-radius:6px;padding:8px;font-size:12px;line-height:1.2;border:1px solid var(--line);display:flex;flex-direction:column;justify-content:flex-end;gap:2px}
.ybr-swatch small{opacity:.75;font-size:11px}
.ybr-fonts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.ybr-font{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:18px}
.ybr-font .ybr-l{margin-bottom:6px}
.ybr-font .ybr-spec{font-size:44px;line-height:1.05;margin:2px 0 14px;overflow-wrap:anywhere}
.ybr-font .ybr-spec .ybr-acc{font-size:1.05em}
.ybr-font .ybr-alpha{font-size:17px;line-height:1.4;color:var(--ink);opacity:.85;margin-bottom:8px;overflow-wrap:anywhere}
.ybr-font .ybr-spec-text{font-size:20px;line-height:1.45;margin:0 0 14px;max-width:34ch}
.ybr-font .ybr-cap{margin-top:8px}
@media (max-width:767px){.ybr-font .ybr-spec{font-size:34px}}
.ybr-kv{display:grid;grid-template-columns:max-content 1fr;gap:8px 24px;font-size:16px;max-width:720px}
.ybr-kv dt{color:var(--mute)}
.ybr-kv dd{margin:0}
.ybr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}
.ybr-stat{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:20px}
.ybr-stat b{display:block;font-size:40px;line-height:1;margin-bottom:6px;font-weight:700}
.ybr-door{background:var(--ink);color:#fff;border-radius:12px;padding:32px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;text-decoration:none}
.ybr-door b{font-size:26px;line-height:1.2}
.ybr-door small{display:block;font-size:13px;letter-spacing:.12em;text-transform:uppercase;opacity:.7;margin-bottom:6px}
.ybr-door span{background:var(--yellow);color:var(--ink);padding:12px 18px;border-radius:999px;font-weight:600;white-space:nowrap}
.ybr-door:hover span{background:var(--lilac)}
.ybr-strip{border-top:1px solid var(--ink);padding:40px 0 64px}
.ybr-strip h3{font-size:13px;letter-spacing:.16em;text-transform:uppercase;margin:0 0 6px;font-weight:600}
.ybr-strip .ybr-line{font-size:24px;line-height:1.3;margin:0 0 22px;max-width:900px}
.ybr-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ybr-tile{background:var(--card);border:1px solid var(--line);border-radius:8px;overflow:hidden;color:var(--ink);text-decoration:none;display:block}
.ybr-tile.cur{outline:3px solid var(--hl);outline-offset:-3px}
.ybr-tile img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:var(--subtle)}
.ybr-tile div{padding:12px 14px;font-size:15px;line-height:1.3}
.ybr-tile small{display:block;color:var(--mute);font-size:12px;margin-top:3px}
.ybr-tile:hover{border-color:var(--ink)}
.ybr-embed{max-width:100%;overflow:auto}
.ybr-video{position:relative;aspect-ratio:16/9;background:var(--ink);border-radius:8px;overflow:hidden}
.ybr-video iframe,.ybr-video video{position:absolute;inset:0;width:100%;height:100%;border:0}
@media screen and (max-width:991px){.ybr-wrap{padding:0 40px}.ybr-cols{grid-template-columns:1fr;gap:32px;padding-top:40px}.ybr-rail,.ybr-main{display:contents}.ybr-band{grid-template-columns:1fr}.ybr-band>div{border-right:0;border-bottom:1px solid var(--ink)}.ybr-band>div:last-child{border-bottom:0}.ybr-tiles{grid-template-columns:repeat(2,1fr)}.ybr-h2{font-size:30px}}
@media screen and (max-width:767px){.ybr-wrap{padding:0 20px}.ybr-rail{grid-template-columns:1fr}.ybr-body p{font-size:17px}.ybr-quote p{font-size:24px}.ybr-door{flex-direction:column;align-items:flex-start}.ybr-fonts{grid-template-columns:1fr}.ybr-row{flex-wrap:wrap}.ybr-row .ybr-fig{flex:1 1 100% !important;width:auto !important}.ybr-pair{flex-wrap:wrap}.ybr-pair .ybr-fig{flex:1 1 100% !important;width:auto !important}}
@media (prefers-reduced-motion:reduce){.ybr *{transition:none !important}}

/* v14 · On this page chips (phone/tablet only) */
.ybr-chips{display:none}
@media screen and (max-width:991px){.ybr-chips{display:flex;gap:8px;align-items:center;overflow-x:auto;scrollbar-width:none;position:sticky;top:var(--ybr-hh,0px);z-index:4;background:var(--canvas);padding:10px 0;margin:8px 0 0;border-bottom:1px solid var(--ink)}.ybr-chips::-webkit-scrollbar{display:none}.ybr-chips-l{flex:0 0 auto;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;margin-right:4px}.ybr-chip{flex:0 0 auto;border:1px solid var(--ink);border-radius:999px;padding:6px 12px;font-size:12.5px;font-weight:600;text-decoration:none;color:var(--ink);background:var(--white);white-space:nowrap}.ybr-chip:active{background:var(--yellow)}html{scroll-padding-top:64px}}

/* v15 · Pick a direction */
.ybr-vote-opts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:6px}.ybr-vote-opt{display:flex;flex-direction:column;justify-content:flex-end;border:2px solid transparent;background:var(--white);padding:0;cursor:pointer;text-align:left;font:inherit;color:var(--ink);transition:box-shadow .15s,border-color .15s}.ybr-vote-opt:hover{border-color:var(--ink)}.ybr-vote-opt.on{border-color:var(--ink);box-shadow:5px 5px 0 var(--yellow)}.ybr-vote-opt[disabled]{cursor:default}.ybr-vote-opt .ybr-fig{margin:0;width:100% !important;flex:none}.ybr-vote-opt figcaption{display:none}.ybr-vote-opt .ybr-fig img{width:100%;height:auto;display:block}.ybr-vote-lab{display:block;padding:10px 12px;font-weight:700;font-size:13px;letter-spacing:.02em}.ybr-vote-q{font-size:18px;font-weight:600;margin:18px 0 6px}.ybr-vote-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px;position:relative}.ybr-vote-form input[type=text]{width:120px;border:1px solid var(--ink);background:var(--white);padding:11px 12px;font:inherit;font-weight:600;text-transform:uppercase;letter-spacing:.1em}.ybr-vote-form .ybr-btn{width:auto;padding:11px 18px}.ybr-vote-note{display:block;margin-top:8px;font-size:12.5px;color:var(--ink);opacity:.8}.ybr-tally{margin-top:16px;display:grid;gap:8px}.ybr-tally-row{display:grid;grid-template-columns:150px minmax(0,1fr) 52px;align-items:center;gap:10px;font-size:14px}.ybr-tally-row b{text-align:right}.ybr-tally-bar{height:14px;background:var(--subtle);border:1px solid var(--ink)}.ybr-tally-bar i{display:block;height:100%;background:var(--lilac);transition:width .4s}.ybr-tally-row.mine .ybr-tally-bar i{background:var(--yellow)}.ybr-vote-cell{display:flex;flex-direction:column;gap:8px}.ybr-vote-expand{align-self:flex-start;border:1px solid var(--ink);background:transparent;color:var(--ink);font:inherit;font-size:12px;font-weight:700;letter-spacing:.03em;padding:7px 12px;cursor:pointer;transition:background .15s,color .15s}.ybr-vote-expand:hover{background:var(--ink);color:var(--white)}.ybr-vote-expand:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}@media(max-width:767px){.ybr-vote-opts{grid-template-columns:1fr}.ybr-tally-row{grid-template-columns:110px minmax(0,1fr) 48px}}
/* v17 · gallery lightbox: click any gallery/pair image to view it full size and step through */
.ybr-gal .ybr-fig img,.ybr-pair .ybr-fig img{cursor:zoom-in}
.ybr-lb{position:fixed;inset:0;z-index:9999;display:none;background:rgba(25,23,24,.94)}
.ybr-lb.on{display:flex;flex-direction:column}
.ybr-lb-stage{flex:1;display:flex;align-items:center;justify-content:center;padding:64px 96px;min-height:0}
.ybr-lb-stage figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:12px}
.ybr-lb-img{display:block;max-width:100%;max-height:calc(100vh - 160px);width:auto;height:auto;object-fit:contain;border-radius:4px}
.ybr-lb-cap{color:#FAFAFA;font-size:14px;line-height:1.4;text-align:center;max-width:640px;opacity:.85}
.ybr-lb-x,.ybr-lb-prev,.ybr-lb-next{position:absolute;border:0;background:rgba(250,250,250,.14);color:#FAFAFA;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%}
.ybr-lb-x:hover,.ybr-lb-prev:hover,.ybr-lb-next:hover{background:var(--yellow,#FBD305);color:var(--ink,#191718)}
.ybr-lb-x{top:20px;right:20px;width:44px;height:44px;font-size:26px;line-height:1}
.ybr-lb-prev,.ybr-lb-next{top:50%;transform:translateY(-50%);width:52px;height:52px;font-size:26px}
.ybr-lb-prev{left:20px}.ybr-lb-next{right:20px}
.ybr-lb-count{align-self:center;color:#FAFAFA;font-size:13px;opacity:.7;padding-bottom:20px}
@media(max-width:767px){.ybr-lb-stage{padding:24px 12px}.ybr-lb-prev,.ybr-lb-next{width:40px;height:40px;font-size:20px}.ybr-lb-prev{left:6px}.ybr-lb-next{right:6px}.ybr-lb-x{top:12px;right:12px;width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.ybr-lb *{transition:none!important}}

/* v20 (Sep 14, 2026): Strategy option grid — info-grid block + Strategy Options field. CASESTUDY-STRATEGY-01 */
.ybr-strategy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:8px}
.ybr-strategy-card{position:relative;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:20px}
.ybr-strategy-card.is-winner{border-color:var(--ink);box-shadow:6px 6px 0 var(--yellow)}
.ybr-strategy-badge{position:absolute;top:-11px;right:16px;background:var(--yellow);color:var(--ink);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:999px;border:1px solid var(--ink)}
.ybr-strategy-name{font-size:20px;font-weight:700;margin-bottom:4px}
.ybr-strategy-tag{font-style:italic;color:var(--mute);margin-bottom:10px;font-size:14px}
.ybr-strategy-why{font-size:14px;line-height:1.5}
@media(max-width:767px){.ybr-strategy-grid{grid-template-columns:1fr}}

/* v21 (Sep 14, 2026): N-option vote engine — auto-fit grid (was a fixed 2-col), text-option cards,
   shipped reveal badge. Shared by boards (image options) and info-grid (text options). The 2-option
   image vote already live elsewhere keeps the same look: auto-fit at this minmax still renders
   exactly 2 columns when there are exactly 2 options in a container this wide. CASESTUDY-LEAGUE-VOTE-N-01 */
.ybr-vote-opts{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.ybr-vote-opt-text{padding:20px;gap:0;justify-content:flex-start;align-items:flex-start;border:2px solid var(--line);border-radius:8px;background:var(--card)}
.ybr-vote-opt-text:hover{border-color:var(--ink)}
.ybr-vote-opt-text.on{border-color:var(--ink);box-shadow:5px 5px 0 var(--yellow)}
.ybr-vote-opt-text[disabled]{cursor:default}
.ybr-vote-opt-text .ybr-strategy-name{font-size:18px;margin-bottom:4px}
.ybr-vote-opt-text .ybr-strategy-tag{margin-bottom:8px}
.ybr-vote-opt-text .ybr-strategy-why{color:var(--ink);opacity:.85}
.ybr-tally-badge{display:inline-block;margin-left:8px;background:var(--yellow);color:var(--ink);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:2px 8px;border-radius:999px;border:1px solid var(--ink);vertical-align:middle}
.ybr-tally-row.shipped span{font-weight:700}
@media(max-width:767px){.ybr-vote-opts{grid-template-columns:1fr}}

/* v23 (Sep 26, 2026): content-missing indicator — appended by rail-shell.js's render functions
   when a required CMS field/block is empty or absent, instead of the block silently rendering
   nothing. Small, muted, unobtrusive; sits at the end of the block's own content (its bottom
   corner) so it never disturbs a normal, fully-populated block's layout. CASESTUDY-MISSING-01 */
.ybr-missing{display:inline-block;margin-top:10px;padding:5px 10px;border:1px dashed var(--mute,#6B6866);border-radius:4px;background:transparent;max-width:100%}
.ybr-missing small{display:block;font-size:10.5px;line-height:1.3;letter-spacing:.02em;color:var(--mute,#6B6866);opacity:.75}

/* v23 (Sep 26, 2026): folded in from rail-shell.js's runtime style#ybr-loop-css (added v31,
   removed from the JS as of v33 — static, identical on every page load). Photo crossfade loop:
   image-pair block + meta `motion: loop`. CASESTUDY-PHOTOLOOP-01 / CASESTUDY-CSS-FOLD-01 */
.ybr-loop{position:relative;max-width:640px;overflow:hidden;border-radius:2px;background:var(--subtle,#F2F2F2)}
.ybr-loop-img{display:block;width:100%}
.ybr-loop-a{height:auto}
.ybr-loop-b{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.1s ease}
.ybr-loop.is-b .ybr-loop-b{opacity:1}
.ybr-loop-dot{position:absolute;right:14px;bottom:14px;display:flex;gap:6px;z-index:2}
.ybr-loop-dot i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.55);display:block}
.ybr-loop.is-a .ybr-loop-dot i:first-child,.ybr-loop.is-b .ybr-loop-dot i:last-child{background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.15)}
@media (prefers-reduced-motion:reduce){.ybr-loop-b{transition:none}}

/* v23 (Sep 26, 2026): folded in from rail-shell.js's runtime style#ybr-credits-css (added v28,
   removed from the JS as of v33 — static, identical on every page load). Credits two-column
   layout: facts left, team avatar stack + role rows right. CASESTUDY-CREDITS-02 / CASESTUDY-CSS-FOLD-01 */
.ybr-credits{display:grid;grid-template-columns:1fr 1fr;gap:28px 40px;max-width:760px;align-items:start}
.ybr-credits .ybr-kv{max-width:none;align-content:start}
.ybr-team-stack{display:flex;margin:2px 0 14px}
.ybr-team-stack img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;border:3px solid var(--canvas,#FAFAFA);margin-left:-12px;background:var(--subtle,#F2F2F2)}
.ybr-team-stack img:first-child{margin-left:0}
.ybr-roles{font-size:15px;gap:6px 18px}
@media (max-width:720px){.ybr-credits{grid-template-columns:1fr;gap:22px}}

/* v23 (Sep 26, 2026): folded in from rail-shell.js's runtime style#ybr-gate-css (added v30,
   removed from the JS as of v33 — static, identical on every page load). Gated-block prompt:
   meta `gate: affiliation=<slug> | <Label>`. CASESTUDY-GATE-01 / CASESTUDY-CSS-FOLD-01 */
.ybr-gate{max-width:640px}.ybr-gate .ybr-body p{margin:0 0 14px}
.ybr-gate-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ybr-gate-undo{font-size:.8125rem;opacity:.7;margin-top:18px}.ybr-gate-undo a{text-decoration:underline;cursor:pointer}
