/* Pass It On — "zine" theme, layered over shared/css/app.css.
   A two-colour risograph zine: fluorescent pink and riso blue inks on newsprint, yellow
   highlighter, halftone dots, a slight mis-registration (a shadow in the other ink), and
   cut-out cards held on with tape. The path is the zine's contents page.
   Bowlby One over Libre Franklin (OFL, fonts/). */
:root {
  --pink: #FF48B0; --pink-d: #D6157F; --riso: #0067A6; --yel: #FFE800; --news: #FAFAF7;
  --blue: #0078BF; --blue-d: #00629C; --blue-l: #4FA3D6; --zen: #B8D6EA;
  --ink: #1C1C1F; --ink2: #3A3A40; --mute: #5E5E66; --line: #9FC6E0; --line2: #D6E8F4;
  --paper: #FAFAF7; --coconut: #FFF0F8; --sand: #FFF7B3; --graphite: #1C1C1F; --night: #1C1C1F;
  --crimson: #D6157F; --canopy: #3A3A40; --gold: #FFE800; --navy: #0078BF; --plum: #D6157F; --lime: #FFE800; --ocean: #0078BF; --tangerine: #FF48B0;
  --good: #0078BF; --good-bg: #FFF7A8; --bad: #D6157F; --bad-bg: #FFE0F0;
  --accent: #FF48B0;
  --display: 'Bowlby One', 'Arial Black', sans-serif;
  --font: 'Libre Franklin', -apple-system, 'Segoe UI', Arial, sans-serif;
  --r: 0px; --top: 66px;
  --shadow: 6px 6px 0 rgba(0, 120, 191, .85);
  --star: #FFE800; --star-ink: #1C1C1F;
  --tape: rgba(255, 232, 0, .72);
  /* engine hooks: text on the action colour, the hotspot ring and pulse, the selection glow */
  --on-blue: #fff; --hs-ring: rgba(28, 28, 31, .85); --hs-pulse: rgba(255, 72, 176, .35); --sel-glow: rgba(255, 72, 176, .35);
}
body[data-theme="zine"] {
  background-color: var(--news);
  /* halftone: pink dots, with a sparser blue screen a half-step off */
  background-image: radial-gradient(rgba(255, 72, 176, .16) 1.3px, transparent 1.8px), radial-gradient(rgba(0, 120, 191, .09) 1.3px, transparent 1.8px);
  background-size: 16px 16px, 16px 16px; background-position: 0 0, 8px 8px;
}
[data-theme="zine"] h1, [data-theme="zine"] h2, [data-theme="zine"] h3, [data-theme="zine"] h4 { font-family: var(--display); font-stretch: 100%; font-weight: 400; letter-spacing: 0; line-height: 1.05; }
[data-theme="zine"] .main { overflow-x: clip; }
/* focus rings, each at least 3:1 against the surface behind it: dark pink on paper, white and yellow (4.3:1),
   white on the riso-blue cover (4.7:1), ink on the yellow masthead (13.6:1) */
[data-theme="zine"] :focus-visible { outline: 3px solid var(--pink-d); outline-offset: 2px; }
[data-theme="zine"] .hero :focus-visible, [data-theme="zine"] .boss :focus-visible { outline-color: #fff; }
[data-theme="zine"] .top :focus-visible { outline-color: var(--ink); }
[data-theme="zine"] ::selection { background: var(--yel); }

/* buttons: square, printed, with an offset shadow in the other ink */
[data-theme="zine"] .btn { border-radius: 0; font-weight: 800; transition: transform .1s, box-shadow .1s, background .15s; }
[data-theme="zine"] .btn.primary { background: var(--pink); color: var(--ink); box-shadow: 4px 4px 0 var(--riso); }
[data-theme="zine"] .btn.primary:hover { background: #FF66BF; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--riso); }
[data-theme="zine"] .btn.primary:disabled { background: #E9E9E4; color: #77777E; box-shadow: none; transform: none; }
[data-theme="zine"] .btn.dark { background: var(--riso); color: #fff; box-shadow: 4px 4px 0 var(--pink); }
[data-theme="zine"] .btn.dark:hover { background: var(--blue-d); }
[data-theme="zine"] .btn.dark:disabled { background: #E9E9E4; color: #77777E; box-shadow: none; }
[data-theme="zine"] .btn.ghost { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
[data-theme="zine"] .btn.ghost:hover { background: var(--yel); }
[data-theme="zine"] .btn.big { border-radius: 0; }
[data-theme="zine"] .linkbtn { border-radius: 0; color: var(--ink); }
[data-theme="zine"] .linkbtn:hover { background: var(--yel); }

/* top bar: the masthead, printed on yellow */
[data-theme="zine"] .top { background: var(--yel); backdrop-filter: none; border-bottom: 3px solid var(--ink); box-shadow: 0 4px 0 var(--pink); }
[data-theme="zine"] .brand b { font: 400 20px/1.15 var(--display); color: var(--riso); text-shadow: 2px 2px 0 rgba(255, 72, 176, .75); }
[data-theme="zine"] .brand small { color: var(--ink2); font-weight: 600; }
[data-theme="zine"] .iconbtn { border-radius: 0; }
[data-theme="zine"] .iconbtn:hover { background: rgba(28, 28, 31, .08); }
[data-theme="zine"] .xp { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); border-radius: 0; }
[data-theme="zine"] .xp .lv { background: var(--pink); color: var(--ink); border-radius: 0; font: 400 16px var(--display); transform: rotate(-4deg); }
[data-theme="zine"] .xp .meta small { color: var(--ink2); }
[data-theme="zine"] .xp .track { background: var(--line2); border-radius: 0; }
[data-theme="zine"] .xp .track i { background: var(--riso); }
[data-theme="zine"] .xp .plus { color: var(--pink-d); }
[data-theme="zine"] .combo { background: var(--riso); color: #fff; border-radius: 0; transform: rotate(-2deg); }
[data-theme="zine"] .menu { border-radius: 0; box-shadow: 5px 5px 0 var(--pink), 0 0 0 2px var(--ink); }
[data-theme="zine"] .menu label { border-radius: 0; }
[data-theme="zine"] .menu label:hover { background: var(--yel); }
[data-theme="zine"] .menu input { accent-color: var(--riso); }

/* the path: the zine's contents page, with dotted leaders and page numbers */
[data-theme="zine"] .rail { background: #fff; border-right: 3px dashed var(--ink); padding: 26px 22px 30px; }
[data-theme="zine"] .rail h3 { margin-bottom: 4px; font: 400 32px/1 var(--display); color: var(--riso); text-shadow: 3px 2px 0 rgba(255, 72, 176, .8); }
[data-theme="zine"] .rail .sub { color: var(--ink2); }
[data-theme="zine"] .path::before { display: none; }
[data-theme="zine"] .path li { margin-bottom: 4px; }
[data-theme="zine"] .path button { align-items: flex-end; gap: 10px; padding: 9px 6px 8px; border-radius: 0; }
[data-theme="zine"] .path button > span:last-child { order: 1; flex: 1; min-width: 0; padding-bottom: 7px; background: radial-gradient(circle, var(--ink) 1.1px, transparent 1.5px) left bottom / 7px 4px repeat-x; }
[data-theme="zine"] .path .dot { order: 2; width: auto; min-width: 30px; height: auto; background: none; box-shadow: none; border-radius: 0; font: 400 24px/1 var(--display); color: var(--riso); text-align: right; display: block; padding-bottom: 2px; }
[data-theme="zine"] .path .done .dot { background: none; color: var(--pink-d); box-shadow: none; }
[data-theme="zine"] .path .cur button { background: var(--yel); transform: rotate(-.8deg); box-shadow: 3px 3px 0 var(--pink); }
[data-theme="zine"] .path .cur .dot { background: none; color: var(--ink); box-shadow: none; }
[data-theme="zine"] .path .t { font-weight: 800; font-size: 16px; }
[data-theme="zine"] .path .m { color: var(--ink2); }
[data-theme="zine"] .path button:hover .t { color: var(--pink-d); }
[data-theme="zine"] .trophies { border-top: 2px solid var(--ink); }
[data-theme="zine"] .trophies h4 { color: var(--ink2); font-weight: 700; }
[data-theme="zine"] .badge { background: #fff; border-radius: 0; box-shadow: inset 0 0 0 2px var(--line); }
[data-theme="zine"] .badge:nth-child(odd) { transform: rotate(-3deg); } [data-theme="zine"] .badge:nth-child(even) { transform: rotate(2deg); }
[data-theme="zine"] .badge.on { box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--pink); }
[data-theme="zine"] .rail .meta, [data-theme="zine"] .rail .reset { color: var(--ink2); }

/* activity cards: a cut-out page taped down, printed slightly off-register */
[data-theme="zine"] .card { position: relative; background: #fff; padding: clamp(22px, 3vw, 38px); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--riso); margin: 10px 8px 0 0; }
[data-theme="zine"] .card::before, [data-theme="zine"] .card::after { content: ""; position: absolute; top: -13px; width: 96px; height: 28px; background: var(--tape); }
[data-theme="zine"] .card::before { left: 22px; transform: rotate(-4deg); }
[data-theme="zine"] .card::after { right: 26px; transform: rotate(3deg); }
[data-theme="zine"] .card:has(.hero) { background: none; border: 0; padding: 0; box-shadow: none; margin: 0; }
[data-theme="zine"] .card:has(.hero)::before, [data-theme="zine"] .card:has(.hero)::after { display: none; }
[data-theme="zine"] .eyebrow { color: var(--pink-d); font-weight: 800; }
[data-theme="zine"] .eyebrow i { background: var(--yel); box-shadow: 2px 2px 0 var(--riso); border-radius: 0; transform: rotate(8deg); width: 12px; height: 12px; }
[data-theme="zine"] .beathead h2 { font-size: clamp(32px, 4vw, 48px); color: var(--riso); text-shadow: 3px 2px 0 rgba(255, 72, 176, .85); max-width: 24ch; }
[data-theme="zine"] .lede { color: var(--ink2); }
[data-theme="zine"] .footerbar { border-top: 2px dashed var(--ink); }
[data-theme="zine"] .steps i { border-radius: 0; height: 7px; background: var(--line2); }
[data-theme="zine"] .steps i.done { background: var(--riso); } [data-theme="zine"] .steps i.on { background: var(--pink); }
[data-theme="zine"] .hint { color: var(--ink2); }
[data-theme="zine"] .panel { border-radius: 0; background: var(--coconut); }
[data-theme="zine"] .panel.white { background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--yel); }
[data-theme="zine"] .panel.white.bad { box-shadow: inset 0 0 0 2px var(--pink-d), 4px 4px 0 var(--bad-bg); }
[data-theme="zine"] .kicker { color: var(--ink2); font-weight: 700; }
[data-theme="zine"] .chip { border-radius: 0; }

/* the guide: a speech balloon cut from a page */
[data-theme="zine"] .coach .ava { border-radius: 50%; background: var(--sand); box-shadow: 3px 3px 0 var(--pink), inset 0 0 0 2px var(--ink); }
[data-theme="zine"] .coach .say { position: relative; border-radius: 2px 22px 22px 22px; background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 5px 5px 0 var(--yel); transform: rotate(-.5deg); }
[data-theme="zine"] .coach.good .say { box-shadow: inset 0 0 0 3px var(--riso), 5px 5px 0 var(--yel); }
[data-theme="zine"] .coach.bad .say { box-shadow: inset 0 0 0 3px var(--pink-d), 5px 5px 0 var(--bad-bg); }
[data-theme="zine"] .coach.ok .say { box-shadow: inset 0 0 0 3px var(--ink), 5px 5px 0 var(--zen); }
[data-theme="zine"] .coach .name { color: var(--riso); font-weight: 800; }
[data-theme="zine"] .hear { background: var(--yel); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); }

/* landing: the zine's cover */
[data-theme="zine"] .hero { border-radius: 0; background-color: var(--riso); background-image: radial-gradient(rgba(255, 72, 176, .55) 2px, transparent 2.6px); background-size: 18px 18px; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--pink); margin: 4px 12px 0 0; }
[data-theme="zine"] .hero .copy { background: linear-gradient(90deg, var(--riso) 72%, rgba(0, 120, 191, 0)); }
[data-theme="zine"] .hero h1 { font: 400 clamp(54px, 8vw, 108px)/.92 var(--display); color: var(--news); text-shadow: 5px 4px 0 var(--pink); }
[data-theme="zine"] .hero .kicker { color: var(--yel) !important; font-weight: 800; }
[data-theme="zine"] .hero .lede { color: var(--news); font-size: 20px; }
[data-theme="zine"] .hero .meta .chip { background: var(--yel); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); border-radius: 0; font-weight: 800; }
[data-theme="zine"] .hero .meta .chip:nth-child(odd) { transform: rotate(-2deg); } [data-theme="zine"] .hero .meta .chip:nth-child(even) { transform: rotate(1.5deg); }
[data-theme="zine"] .hero .namebox input { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 0; }
[data-theme="zine"] .hero .namebox input::placeholder { color: var(--mute); }
[data-theme="zine"] .hero small.fine { color: var(--news); opacity: .9; }
[data-theme="zine"] .hero .art { background: var(--news); padding: 0; border-left: 3px solid var(--ink); }
[data-theme="zine"] .hero .art img { max-height: none; height: 100%; width: 100%; object-fit: cover; }
[data-theme="zine"] .landing-below { margin-top: 34px; }
[data-theme="zine"] .landing-below .kicker { margin-bottom: 14px; font: 400 32px var(--display); color: var(--riso) !important; text-shadow: 3px 2px 0 rgba(255, 72, 176, .8); }
[data-theme="zine"] .modcard { background: #fff; border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--zen); }
[data-theme="zine"] .modcard:nth-child(odd) { transform: rotate(-.7deg); } [data-theme="zine"] .modcard:nth-child(even) { transform: rotate(.6deg); }
[data-theme="zine"] .modcard:hover { background: var(--yel); transform: none; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--pink); }
[data-theme="zine"] .modcard b { font: 400 20px/1.1 var(--display); color: var(--ink); text-wrap: balance; }
[data-theme="zine"] .modcard small { color: var(--ink2); }

/* activities */
[data-theme="zine"] .flips[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-theme="zine"] .flip:nth-child(odd) { transform: rotate(-.8deg); } [data-theme="zine"] .flip:nth-child(even) { transform: rotate(.7deg); }
[data-theme="zine"] .flip .f { background: #fff; border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink), 5px 5px 0 var(--pink); }
[data-theme="zine"] .flip .f b { font: 400 24px/1.08 var(--display); color: var(--riso); }
[data-theme="zine"] .flip .f small { color: var(--ink2); margin-top: auto; padding-top: 10px; }
[data-theme="zine"] .flip:not(.on):hover .f { box-shadow: inset 0 0 0 2px var(--ink), 5px 5px 0 var(--riso); background: #FFFCE0; }
[data-theme="zine"] .flip .b { background: var(--riso); color: #fff; border-radius: 0; box-shadow: 5px 5px 0 var(--pink); font-size: 16px; }
[data-theme="zine"] .flip .b b { color: var(--yel); font-size: 14px; }
[data-theme="zine"] .tray { border-radius: 0; background: var(--coconut); border: 2px dashed var(--pink-d); }
[data-theme="zine"] .tok { border-radius: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--zen); font-weight: 600; }
[data-theme="zine"] .tok:hover { box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--pink); }
[data-theme="zine"] .tok.sel { background: var(--yel); box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--pink); }
[data-theme="zine"] .tok.good { background: var(--good-bg); box-shadow: inset 0 0 0 2px var(--riso); }
[data-theme="zine"] .tok.bad { background: var(--bad-bg); }
[data-theme="zine"] .bin { border-radius: 0; border: 2px dashed var(--ink); background: #fff; }
[data-theme="zine"] .bin h4 { font: 400 20px var(--display); }
[data-theme="zine"] .bin h4 i { border-radius: 0; transform: rotate(8deg); }
[data-theme="zine"] .bin p { color: var(--ink2); }
[data-theme="zine"] .bin.hot, [data-theme="zine"] .bin:hover { background: #FFFCE0; border-color: var(--pink-d); }
[data-theme="zine"] .bins[data-n="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
[data-theme="zine"] .bins[data-n="5"] .bin { padding: 10px; }
[data-theme="zine"] .bins[data-n="5"] .bin .tok { font-size: 14px; padding: 7px 8px; }
[data-theme="zine"] .pair { border-radius: 0; box-shadow: inset 0 0 0 2px var(--riso); }
[data-theme="zine"] .choice { border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink); }
[data-theme="zine"] .choice:hover:not(:disabled) { background: #FFFCE0; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--pink); }
[data-theme="zine"] .choice .k { border-radius: 0; background: var(--pink); color: var(--ink); font-weight: 800; }
[data-theme="zine"] .choice.picked { box-shadow: inset 0 0 0 3px var(--riso); background: #F0F7FC; }
[data-theme="zine"] .choice.right { background: var(--good-bg); box-shadow: inset 0 0 0 3px var(--riso); }
[data-theme="zine"] .choice.wrong { background: var(--bad-bg); box-shadow: inset 0 0 0 3px var(--pink-d); }
[data-theme="zine"] .qhead { font: 800 clamp(19px, 2.2vw, 23px)/1.35 var(--font); border-left: 6px solid var(--pink); padding-left: 14px; }
[data-theme="zine"] .fb { border-radius: 0; }
[data-theme="zine"] .fb.good { background: var(--good-bg); border-left: 5px solid var(--riso); }
[data-theme="zine"] .fb.bad { background: var(--bad-bg); border-left: 5px solid var(--pink-d); }
[data-theme="zine"] .swcard { border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink), 8px 8px 0 var(--pink); }
[data-theme="zine"] .swcard .txt { font: 800 clamp(20px, 2.5vw, 26px)/1.25 var(--font); }
[data-theme="zine"] .swcard .stamp { border-radius: 0; font: 400 16px var(--display); transform: rotate(-8deg); border-width: 3px; }
[data-theme="zine"] .swcard .stamp.l { color: var(--pink-d); } [data-theme="zine"] .swcard .stamp.r { color: var(--riso); transform: rotate(7deg); }
[data-theme="zine"] .deckcount { color: var(--ink2); }
[data-theme="zine"] .orow, [data-theme="zine"] .orow .mv, [data-theme="zine"] .slot, [data-theme="zine"] .slot .n { border-radius: 0; }
[data-theme="zine"] .player { border-radius: 0; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); }
[data-theme="zine"] .player .screen { background: var(--news); }
[data-theme="zine"] .player .title { border-radius: 0; background: var(--yel); box-shadow: 2px 2px 0 var(--ink); font-weight: 800; }
[data-theme="zine"] .player .bigplay { background: rgba(0, 120, 191, .35); }
[data-theme="zine"] .player .bigplay span { background: var(--pink); color: var(--ink); border-radius: 0; box-shadow: 6px 6px 0 var(--ink); transform: rotate(-3deg); }
[data-theme="zine"] .player .bigplay em { background: var(--ink); border-radius: 0; }
[data-theme="zine"] .player .bar i { background: var(--pink); }
[data-theme="zine"] .player .ctrl button { border-radius: 0; }
[data-theme="zine"] .hotwrap, [data-theme="zine"] .huntwrap { border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 var(--zen); }
[data-theme="zine"] .huntable { border-radius: 0; }
[data-theme="zine"] .huntable:hover { background: #FFFCE0; }
[data-theme="zine"] .huntable.caught { background: var(--yel); box-shadow: inset 0 -3px 0 var(--pink); }
[data-theme="zine"] .huntable.caught::after { background: var(--pink-d); border-radius: 0; }
[data-theme="zine"] .hs { background: var(--pink); color: var(--ink); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ink); }
[data-theme="zine"] .found { color: var(--ink2); }
[data-theme="zine"] .chat { border-radius: 0; background-color: var(--coconut); box-shadow: inset 0 0 0 2px var(--ink); }
[data-theme="zine"] .msg .bub { border-radius: 0 16px 16px 16px; box-shadow: inset 0 0 0 2px var(--ink); }
[data-theme="zine"] .msg.me .bub { background: var(--riso); border-radius: 16px 0 16px 16px; box-shadow: 3px 3px 0 var(--pink); }
[data-theme="zine"] .msg.me .ava { background: var(--yel); box-shadow: inset 0 0 0 2px var(--ink); }
[data-theme="zine"] .msg.note .bub { box-shadow: none; color: var(--ink2); }
[data-theme="zine"] .typing { box-shadow: inset 0 0 0 2px var(--ink); }
[data-theme="zine"] .meter .track { border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
[data-theme="zine"] .meter .track i { background: linear-gradient(90deg, var(--pink) 0 34%, var(--yel) 34% 67%, var(--riso) 67%); background-size: 1060px 100%; }
[data-theme="zine"] .boss { border-radius: 0; background: var(--riso); box-shadow: 6px 6px 0 var(--pink); }
[data-theme="zine"] .boss img { border-radius: 50%; background: var(--yel); }
[data-theme="zine"] .boss b { font: 400 24px var(--display); }
[data-theme="zine"] .boss small { color: #fff; }
[data-theme="zine"] .lightning .clock .t, [data-theme="zine"] .stat b, [data-theme="zine"] .result .big { font-family: var(--display); font-stretch: 100%; font-weight: 400; }
[data-theme="zine"] .lightning .clock .track { border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
[data-theme="zine"] .lightning .clock .track i { background: var(--riso); }
[data-theme="zine"] .lightning .clock.low .track i { background: var(--pink); }
[data-theme="zine"] .stat { border-radius: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--yel); }
[data-theme="zine"] .stat small { color: var(--ink2); }
[data-theme="zine"] .result .big { font-size: 76px; color: var(--riso); text-shadow: 4px 3px 0 var(--pink); }
[data-theme="zine"] .qprog i { border-radius: 0; height: 8px; }
[data-theme="zine"] .qprog i.on { background: var(--yel); box-shadow: inset 0 0 0 2px var(--ink); } [data-theme="zine"] .qprog i.g { background: var(--riso); } [data-theme="zine"] .qprog i.b { background: var(--pink); }
[data-theme="zine"] .preview { border-radius: 0; box-shadow: 6px 6px 0 var(--pink), 0 0 0 2px var(--ink); }
[data-theme="zine"] .namebox input, [data-theme="zine"] .field { border-radius: 0; border: 2px solid var(--ink); }
[data-theme="zine"] .toast { border-radius: 0; border-left: 6px solid var(--yel); box-shadow: 6px 6px 0 var(--pink); }
[data-theme="zine"] .toast .medal { border-radius: 0; }
[data-theme="zine"] .toast .lvmedal { background: var(--pink); color: var(--ink); border-radius: 0; font: 400 24px var(--display); }
[data-theme="zine"] .foot-note { border-top: 2px dashed var(--ink); color: var(--ink2); }

/* shared bits for the custom activities */
.tape { position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: var(--tape); transform: rotate(-3deg); }

/* two pitches, one win */
.duel .clips { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; margin-top: 8px; }
.clip { position: relative; background: #fff; padding: 24px 22px 18px; box-shadow: inset 0 0 0 2px var(--ink); }
.clip.facts { transform: rotate(-1deg); box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 var(--zen); }
.clip.story { transform: rotate(.8deg); box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 var(--pink); }
.clip h4 { text-wrap: balance; font: 400 24px var(--display); color: var(--riso); margin-bottom: 12px; }
.clip ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.55; }
.clip p { font-size: 16px; line-height: 1.6; }
.predict { margin-top: 28px; padding: 18px 20px; background: var(--coconut); box-shadow: inset 0 0 0 2px var(--ink); }
.predict .pq { font-weight: 800; font-size: 16px; }
.pbtns { display: flex; gap: 12px; flex-wrap: wrap; }
.pbtns .btn.on { background: var(--yel); box-shadow: inset 0 0 0 3px var(--ink), 4px 4px 0 var(--pink); }
.pout { margin-top: 14px; }

/* the memory check */
.recall .rintro { font-size: 16px; }
.rqs { display: grid; gap: 14px; margin-top: 10px; }
.rq { background: #fff; padding: 14px 16px; box-shadow: inset 0 0 0 2px var(--ink); }
.rq p { font-weight: 800; display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.rq .n { font: 400 20px var(--display); color: var(--pink-d); }
.ropts { display: flex; gap: 8px; flex-wrap: wrap; }
.ropts .tok { cursor: pointer; }
.ropts .tok:disabled { cursor: default; opacity: .75; }
.ropts .tok.good { opacity: 1; }
.ropts .tok.miss { background: var(--bad-bg); box-shadow: inset 0 0 0 2px var(--pink-d); opacity: 1; }
.rfb { font-size: 14px; color: var(--ink2); margin-top: 8px; min-height: 1em; }
.rout { margin-top: 16px; }
.rout .again { margin-top: 12px; }

/* the persona dial */
.dialtop { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.knob { position: relative; width: 230px; height: 230px; flex: none; }
.knob::before { content: ""; position: absolute; inset: 40px; border-radius: 50%; background: radial-gradient(rgba(255, 72, 176, .5) 1.6px, transparent 2px) 0 0 / 9px 9px, #fff; box-shadow: inset 0 0 0 3px var(--ink), 5px 5px 0 var(--riso); }
.knob .hub { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--yel); box-shadow: inset 0 0 0 3px var(--ink); }
.knob .needle { position: absolute; left: 50%; top: 50%; width: 6px; height: 70px; margin-left: -3px; margin-top: -70px; background: var(--ink); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.knob .pos { position: absolute; border: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); font: 800 14px/1.1 var(--font); padding: 6px 8px; cursor: pointer; text-align: center; z-index: 2; }
.knob .pos em { display: block; font-style: normal; font-weight: 700; font-size: 14px; color: var(--riso); }
.knob .pos em:empty { display: none; }
.knob .pos.on { background: var(--pink); box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--ink); }
.knob .p0 { left: 50%; top: 0; transform: translateX(-50%); }
.knob .p1 { right: 0; top: 50%; transform: translateY(-50%); }
.knob .p2 { left: 50%; bottom: 0; transform: translateX(-50%); }
.knob .p3 { left: 0; top: 50%; transform: translateY(-50%); }
.dialinfo { flex: 1; min-width: 240px; }
.dialinfo .who { font: 400 24px var(--display); color: var(--riso); margin-bottom: 8px; }
.dialinfo .listens { font-size: 16px; }
.srows { display: grid; gap: 8px; }
.srow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); transition: background .2s, box-shadow .2s; }
.srow .stxt { font-size: 16px; line-height: 1.45; }
.srow .stxt small { display: block; font-size: 14px; font-weight: 800; color: var(--pink-d); }
.srow .why { display: block; font-size: 14px; font-weight: 700; margin-top: 4px; }
.srow .why:empty { display: none; }
.srow .star { width: 38px; height: 38px; border: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font-size: 20px; color: var(--mute); cursor: pointer; }
.srow .kc { border: 0; min-width: 64px; padding: 8px 10px; font-weight: 800; font-size: 14px; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); cursor: pointer; }
.srow.lead { background: #FFFCE0; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--yel); }
.srow.lead .star { background: var(--yel); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.srow.cut .stxt { text-decoration: line-through; text-decoration-color: var(--pink-d); text-decoration-thickness: 2px; color: var(--mute); }
.srow.cut .kc { background: var(--pink); }
.srow.right { box-shadow: inset 0 0 0 3px var(--riso); }
.srow.right .why { color: var(--riso); }
.srow.wrong { box-shadow: inset 0 0 0 3px var(--pink-d); background: var(--bad-bg); }
.srow.wrong .why { color: var(--pink-d); }
.dialfoot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.dout { margin-top: 14px; display: grid; gap: 12px; justify-items: start; }

/* story for the moment */
.mcard { position: relative; background: var(--yel); padding: 20px 22px; box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 var(--pink); transform: rotate(-.6deg); margin-bottom: 22px; }
.mstage { font-weight: 800; color: var(--riso); }
.mwho { font: 400 20px/1.15 var(--display); margin: 4px 0 10px; }
.msay { font-size: 20px; font-weight: 600; margin: 0; }
.mlab { font-weight: 800; margin-bottom: 14px; }
.lib { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.libcard { position: relative; border: 0; background: #fff; text-align: left; padding: 22px 14px 14px; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--zen); cursor: pointer; display: flex; flex-direction: column; gap: 6px; font: inherit; color: var(--ink); }
.libcard:nth-child(odd) { transform: rotate(-1deg); } .libcard:nth-child(even) { transform: rotate(.8deg); }
.libcard b { font: 400 16px/1.1 var(--display); color: var(--riso); text-wrap: balance; }
.libcard i { font-style: normal; font-weight: 800; font-size: 14px; }
.libcard small { font-size: 14px; color: var(--ink2); line-height: 1.45; }
.libcard:hover:not(:disabled) { background: #FFFCE0; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--pink); }
.libcard.tried { opacity: .5; cursor: default; }
.libcard.picked { background: var(--good-bg); box-shadow: inset 0 0 0 3px var(--riso), 4px 4px 0 var(--pink); }
.libcard:disabled { cursor: default; }
.mout { margin-top: 18px; display: grid; gap: 12px; justify-items: start; }

/* elevator rounds */
.rounds { display: flex; gap: 10px; margin-bottom: 12px; }
.rnd { font: 400 20px var(--display); padding: 6px 14px; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); color: var(--mute); }
.rnd.on { background: var(--pink); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--riso); transform: rotate(-2deg); }
.rnd.done { color: var(--riso); }
.rnd { white-space: nowrap; }
.erule { font-size: 16px; }
.meter2 { display: flex; gap: 14px; align-items: center; margin: 6px 0 16px; }
.mtrack { position: relative; flex: 1; height: 22px; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.mtrack i { position: absolute; left: 2px; top: 2px; bottom: 2px; background: var(--riso); transition: width .3s; max-width: calc(100% - 4px); }
.mtrack.over i { background: var(--pink); }
.mtrack .limit { position: absolute; top: -6px; bottom: -6px; width: 4px; margin-left: -2px; background: var(--ink); }
.meter2 .secs { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.meter2 .secs.over { color: var(--pink-d); }
.parts { display: grid; gap: 8px; }
.part { padding: 10px 12px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.part .plab { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.part .plab b { font: 400 16px var(--display); color: var(--riso); }
/* neutral row labels: the learner spots which line is which step; the star picks the CEO round's opener */
.part .lab { display: flex; align-items: center; gap: 8px; }
.part .star { width: 34px; height: 34px; border: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font-size: 20px; color: var(--mute); cursor: pointer; }
.part .star[aria-pressed="true"] { background: var(--yel); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.part.lead { background: #FFFCE0; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--yel); }
.part .seg { display: flex; }
.part .seg button { border: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); padding: 6px 12px; font-weight: 800; font-size: 14px; cursor: pointer; margin-left: -2px; }
.part .seg button.on { background: var(--yel); }
.part .seg button[data-o="cut"].on { background: var(--pink); }
.part .ptxt { margin: 6px 0 0; font-size: 16px; line-height: 1.45; }
.part.cut .ptxt { text-decoration: line-through; text-decoration-color: var(--pink-d); color: var(--mute); }
.elev .say { margin-top: 16px; padding: 14px 16px; background: var(--coconut); box-shadow: inset 0 0 0 2px var(--ink); }
.elev .say small { font-weight: 800; color: #BE1272; }
.elev .say p { margin: 4px 0 0; font-size: 16px; }
.efoot { margin-top: 16px; }
.eout { margin-top: 14px; display: grid; gap: 12px; justify-items: start; }
.eout ul { margin: 6px 0 0; padding-left: 20px; }

/* the capstone */
.capgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.caprow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.caprow label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.caprow small { font-weight: 600; color: var(--mute); }
.capform .box { position: relative; display: grid; gap: 4px; margin-bottom: 14px; padding: 14px 14px 12px; background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--zen); }
.capform .box.b1, .capform .box.b3 { box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--pink); }
.capform .bk { font: 400 20px var(--display); color: var(--riso); display: flex; gap: 10px; align-items: center; }
.capform .bk b { width: 28px; height: 28px; display: grid; place-items: center; background: var(--yel); color: var(--ink); font: 400 16px var(--display); box-shadow: inset 0 0 0 2px var(--ink); }
.capform .bq { font-size: 14px; color: var(--ink2); font-weight: 600; }
.capform textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 0; resize: vertical; min-height: 84px; background: var(--news); color: var(--ink); }
.rub { position: sticky; top: calc(var(--top) + 20px); background: var(--yel); padding: 20px 20px 16px; box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 var(--pink); transform: rotate(.6deg); }
.rub h4 { font: 400 24px var(--display); margin-bottom: 10px; }
.rub ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rub li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 16px; color: var(--ink2); }
.rub li i { width: 22px; height: 22px; flex: none; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); position: relative; }
.rub li.on { color: var(--ink); }
.rub li.on i { background: var(--riso); }
.rub li.on i::after { content: ""; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.rub .secs2 { font-size: 14px; margin: 12px 0 6px; min-height: 1em; }
.capbtns { display: flex; gap: 4px; flex-wrap: wrap; margin-left: -8px; }
.exbox { margin-top: 10px; background: #fff; padding: 12px 14px; font-size: 14px; line-height: 1.5; box-shadow: inset 0 0 0 2px var(--ink); }

/* the draft story to hunt in */
.draft { padding: 0 0 6px; font-size: 16px; line-height: 1.85; color: var(--ink); background: #fff; }
.draft .dhead { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; background: var(--riso); color: #fff; margin-bottom: 14px; }
.draft .dhead b { font: 400 16px var(--display); }
.draft .dhead span { font-size: 14px; opacity: .9; }
.draft p { padding: 0 20px; }
.draft .huntable { padding: 1px 2px; margin: -1px -2px; }

/* certificate (1650 x 1275): a riso poster */
.zcert { width: 1650px; height: 1275px; position: relative; overflow: hidden; background: #FAFAF7; color: #1C1C1F; font-family: var(--font); display: flex; flex-direction: column; }
.zcert .dots { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='11' cy='11' r='2.6' fill='%23FF48B0' fill-opacity='.22'/%3E%3C/svg%3E"); }
.zcert .blob { position: absolute; right: -300px; top: 300px; width: 720px; height: 720px; border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='13' cy='13' r='8' fill='%230078BF'/%3E%3C/svg%3E"); opacity: .9; }
.zcert .tp { position: absolute; width: 230px; height: 62px; background: rgba(255, 232, 0, .8); z-index: 3; }
.zcert .tp.t1 { left: -40px; top: 38px; transform: rotate(-32deg); }
.zcert .tp.t2 { right: -40px; bottom: 54px; transform: rotate(-32deg); }
.zcert .zhead { position: relative; display: flex; align-items: center; gap: 26px; padding: 54px 96px 40px; border-bottom: 6px solid #1C1C1F; margin: 0 60px; }
.zcert .zhead .mk { width: 96px; height: 96px; } .zcert .zhead .mk svg { width: 100%; height: 100%; }
.zcert .zhead .org { font: 400 52px var(--display); color: #0078BF; text-shadow: 4px 3px 0 #FF48B0; }
/* The offset shadows are a real element (i.sh) behind each piece: html2canvas drops box-shadows on rotated elements. */
.zcert .sh { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.zcert .zhead .date { position: relative; margin-left: auto; transform: rotate(2deg); }
.zcert .zhead .date .sh { left: 4px; top: 4px; background: #1C1C1F; }
.zcert .zhead .date > span { position: relative; display: block; font: 800 25px var(--font); background: #FFE800; padding: 10px 18px; }
.zcert .zbody { position: relative; flex: 1; padding: 64px 156px 0; }
.zcert .k { display: inline-block; font: 800 30px var(--font); background: #FF48B0; color: #1C1C1F; padding: 8px 18px; transform: rotate(-1.5deg); }
.zcert .nm { font: 400 150px/1 var(--display); color: #0078BF; text-shadow: 8px 6px 0 #FF48B0; margin-top: 30px; overflow-wrap: anywhere; max-width: 1300px; }
.zcert .nm.long { font-size: 112px; } .zcert .nm.longer { font-size: 82px; }
.zcert .line { font-size: 31px; line-height: 1.5; max-width: 960px; margin-top: 36px; background: rgba(250, 250, 247, .92); padding: 6px 0; }
.zcert .stickers { display: flex; gap: 30px; margin-top: 44px; }
.zcert .stickers > div { position: relative; min-width: 200px; }
.zcert .stickers .sh { left: 7px; top: 7px; background: #0078BF; }
.zcert .stickers > div > span { position: relative; display: block; background: #fff; padding: 16px 24px; border: 4px solid #1C1C1F; }
.zcert .stickers .s1 { transform: rotate(-2deg); } .zcert .stickers .s1 > span { background: #FFE800; } .zcert .stickers .s2 { transform: rotate(1.5deg); } .zcert .stickers .s3 { transform: rotate(-1deg); } .zcert .stickers .s3 .sh { background: #FF48B0; } .zcert .stickers .s4 { transform: rotate(2deg); }
.zcert .stickers small { display: block; font: 800 21px var(--font); color: #3A3A40; }
.zcert .stickers b { font: 400 48px var(--display); white-space: nowrap; }
.zcert .fine { position: relative; padding: 0 156px 52px; font-size: 18px; line-height: 1.45; color: #3A3A40; }

/* story card (portrait, 1275 x 1650) */
.ztake { width: 1275px; height: 1650px; position: relative; background: #FAFAF7; color: #1C1C1F; font-family: var(--font); padding: 0 0 56px; display: flex; flex-direction: column; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='2.2' fill='%23FF48B0' fill-opacity='.16'/%3E%3C/svg%3E"); }
.ztake .zth { position: relative; display: flex; align-items: center; gap: 24px; padding: 46px 76px 34px; background: #FFE800; border-bottom: 5px solid #1C1C1F; }
.ztake .zth::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 8px; background: #FF48B0; }
.ztake .zth .mk { width: 84px; height: 84px; } .ztake .zth .mk svg { width: 100%; height: 100%; }
.ztake .zth b { font: 400 62px/1 var(--display); color: #0078BF; text-shadow: 4px 3px 0 #FF48B0; display: block; }
.ztake .zth span { font-size: 22px; font-weight: 600; }
.ztake .zth .who { margin-left: auto; text-align: right; font-size: 20px; }
.ztake .zth .who b { font: 800 28px var(--font); color: #1C1C1F; text-shadow: none; }
.ztake .mycard { position: relative; margin: 54px 70px 0; background: #fff; padding: 30px 36px 26px; border: 4px solid #1C1C1F; border-right-width: 12px; border-bottom-width: 12px; border-right-color: #0078BF; border-bottom-color: #0078BF; transform: rotate(-.6deg); }
.ztake .tp { position: absolute; width: 170px; height: 44px; background: rgba(255, 232, 0, .85); top: -20px; }
.ztake .tp.t1 { left: 40px; transform: rotate(-5deg); } .ztake .tp.t2 { right: 40px; transform: rotate(4deg); }
.ztake .mch { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 3px dashed #1C1C1F; padding-bottom: 16px; margin-bottom: 20px; }
.ztake .mch b { font: 400 38px/1.1 var(--display); color: #0078BF; min-width: 0; overflow-wrap: anywhere; }
.ztake .mch b.longwho { font-size: 30px; }
.ztake .mch span { font: 800 22px var(--font); background: #FF48B0; padding: 6px 14px; white-space: nowrap; }
.ztake .steps4 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.ztake .st b { display: flex; gap: 12px; align-items: center; font: 400 26px var(--display); margin-bottom: 6px; }
.ztake .st b span { width: 38px; height: 38px; display: grid; place-items: center; background: #FFE800; border: 3px solid #1C1C1F; font-size: 20px; }
.ztake .st2 b, .ztake .st4 b { color: #D6157F; } .ztake .st1 b, .ztake .st3 b { color: #0078BF; }
.ztake .st p { font-size: 21px; line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
.ztake .mycard.dense .st p { font-size: 18px; line-height: 1.4; }
.ztake .mycard.denser .st p { font-size: 16px; line-height: 1.38; }
.ztake .mycard.denser .steps4 { gap: 14px 24px; }
.ztake .st em { font-style: normal; color: #5E5E66; }
.ztake .empty { margin: 16px 0 0; font-size: 18px; color: #3A3A40; }
.ztake .cheat { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; padding: 64px 76px 0; flex: 1 1 auto; min-height: 0; overflow: hidden; align-content: start; }
.ztake h4 { font: 400 34px var(--display); color: #0078BF; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 4px solid #FF48B0; }
.ztake li { font-size: 23px; line-height: 1.45; margin-bottom: 9px; }
.ztake ul { margin: 0; padding-left: 24px; }
.ztake .fine { flex: none; font-size: 16px; color: #3A3A40; padding: 12px 76px 0; }
.ztake .mycard, .ztake .zth { flex: none; }

/* welcome objectives (inside the landing lede) */
.hero .lede .objs { display: block; margin-top: 12px; }
.hero .lede .objs > span { display: block; position: relative; padding-left: 28px; margin-top: 6px; font-size: 16px; }
.hero .lede .objs > span::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 13px; background: var(--yel); box-shadow: 2px 2px 0 var(--pink); }

/* hear it told */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 8px; }
.mtell { position: relative; background: #fff; padding: 24px 22px 18px; box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 var(--zen); }
.mtell + .mtell { box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 var(--pink); }
.mtell h4 { font: 400 24px var(--display); color: var(--riso); margin-bottom: 12px; }
.mplay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.clock2 { font: 400 24px var(--display); font-variant-numeric: tabular-nums; color: var(--mute); }
.clock2.on { color: var(--pink-d); }
.mtell .notice { margin: 12px 0 4px; font-size: 16px; }
.mtell .mtxt { margin: 8px 0 0; font-size: 16px; line-height: 1.5; background: var(--coconut); padding: 10px 12px; }

/* say it out loud (capstone) */
.aloud { margin-top: 6px; padding: 16px 16px 12px; background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--yel); }
.aloud h4 { font: 400 24px var(--display); color: var(--riso); margin-bottom: 6px; }
.aloud p { font-size: 16px; margin: 0 0 10px; }
.watch { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.watch .sw.on { background: var(--pink); color: var(--ink); }
.swt { font: 400 20px var(--display); font-variant-numeric: tabular-nums; }
.saychk { display: grid; gap: 8px; }
.saychk label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 16px; cursor: pointer; }
.saychk input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--riso); flex: none; }

/* the certificate names the story told; the takeaway prints the learner's own answers */
.zcert .told { margin-top: 30px; max-width: 1080px; background: #fff; border: 4px solid #1C1C1F; border-left: 14px solid #FF48B0; padding: 16px 26px; }
.zcert .told small { display: block; font: 800 21px var(--font); color: #3A3A40; }
.zcert .told p { margin: 6px 0 0; font-size: 27px; line-height: 1.4; }
.zcert .told p span { font-weight: 800; color: #0078BF; white-space: nowrap; }
.zcert.hastold .line { margin-top: 26px; font-size: 28px; }
.zcert.hastold .nm { font-size: 124px; } .zcert.hastold .nm.long { font-size: 100px; } .zcert.hastold .nm.longer { font-size: 76px; }
.zcert.hastold .stickers { margin-top: 30px; }
.ztake .mine { flex: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 40px; margin: 40px 70px 0; padding: 20px 28px 16px; background: #fff; border: 4px solid #1C1C1F; }
.ztake .mine h4 { font-size: 28px; margin-bottom: 8px; }
.ztake .mine p { font-size: 19px; line-height: 1.42; margin: 0 0 8px; overflow-wrap: anywhere; }
.ztake .mine em { font-style: normal; color: #5E5E66; }
.ztake.hasmine .cheat { padding-top: 34px; gap: 26px 48px; }
.ztake.hasmine li { font-size: 20px; line-height: 1.4; margin-bottom: 6px; }
.ztake.hasmine h4 { font-size: 30px; }
.ztake.tight .mine { margin-top: 28px; }
.ztake.tight .cheat { padding-top: 24px; gap: 14px 44px; }
.ztake.tight li { font-size: 18px; line-height: 1.36; margin-bottom: 4px; }
.ztake.tight .cheat h4 { font-size: 26px; margin-bottom: 8px; }

@media (max-width: 1000px) {
  [data-theme="zine"] .rail { border-right: 3px dashed var(--ink); }
  .lib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-theme="zine"] .bins[data-n="5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  [data-theme="zine"] .card { padding: 22px 16px 18px; margin-right: 6px; box-shadow: 6px 6px 0 var(--riso); }
  [data-theme="zine"] .main { padding: 18px 12px 32px; }
  [data-theme="zine"] .brand b { font-size: 20px; }
  [data-theme="zine"] .hero { margin-right: 8px; box-shadow: 7px 7px 0 var(--pink); }
  [data-theme="zine"] .hero .copy { background: var(--riso); }
  [data-theme="zine"] .hero .art { border-left: 0; border-bottom: 3px solid var(--ink); max-height: 240px; }
  [data-theme="zine"] .hero .art img { max-height: 240px; }
  [data-theme="zine"] .flips[data-n="6"] { grid-template-columns: 1fr; }
  [data-theme="zine"] .bins[data-n="5"] { grid-template-columns: 1fr; }
  .duel .clips, .capgrid, .caprow, .models { grid-template-columns: 1fr; }
  .lib { grid-template-columns: 1fr; }
  .knob { margin: 0 auto; }
  .srow { grid-template-columns: auto minmax(0, 1fr); }
  .srow .kc { grid-column: 2; justify-self: start; }
  .rub { position: static; transform: none; }
  .part .plab { flex-wrap: wrap; }
  .rnd { font-size: 16px; padding: 5px 10px; }
}
