@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-display: swap; src: url(../fonts/atkinson-hyperlegible-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-display: swap; src: url(../fonts/atkinson-hyperlegible-latin-700-normal.woff2) format('woff2'); }

:root {
  --navy: #1f2a44; --ink: #22262e; --cream: #f7f1e3; --paper: #fffdf7; --line: #d9ceb4;
  --green: #2e7d4f; --green-d: #1f5c39; --red: #b3372b; --gold: #d99a1e; --sky: #dcecf5;
  --r: 14px; --shadow: 0 3px 0 rgba(31, 42, 68, .18);
  --fs: clamp(18px, 1.1vw + 13px, 22px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
.big-text { --fs: clamp(21px, 1.2vw + 16px, 26px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 var(--fs)/1.45 'Atkinson Hyperlegible', system-ui, sans-serif;
  overscroll-behavior: none;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
#app { max-width: 1080px; margin: 0 auto; padding: 16px clamp(14px, 3vw, 32px) 40px; }
h1, h2 { color: var(--navy); line-height: 1.15; margin: .4em 0 .3em; outline: none; }
h1 { font-size: clamp(28px, 3vw + 14px, 44px); }
h2 { font-size: clamp(22px, 1.6vw + 14px, 30px); }
.lead { font-size: 1.08em; margin: .2em 0 .8em; }
.hint, .note { font-size: .88em; color: #5a5f6b; }
img { image-rendering: pixelated; image-rendering: crisp-edges; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 4px solid var(--gold); outline-offset: 2px; }

.card { background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); padding: clamp(16px, 2.4vw, 28px); box-shadow: var(--shadow); margin: 16px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px 26px; border: 0; border-radius: 12px;
  background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 4px 0 var(--green-d); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-d); }
.btn.big { width: 100%; font-size: 1.1em; margin-top: 14px; }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.link { background: none; border: 0; color: var(--navy); text-decoration: underline; font-weight: 700; padding: 10px 4px; min-height: 48px; }
.link.danger { color: var(--red); }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.bar { display: flex; align-items: center; gap: 12px; min-height: 52px; flex-wrap: wrap; }
.back { background: var(--paper); border: 2px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 14px; min-height: 48px; font-weight: 700; color: var(--navy); }
.back::before { content: '\2039'; margin-right: 8px; font-size: 1.2em; }
.bar .link { margin-left: auto; }
.prog { font-weight: 700; color: var(--navy); }
.shoes { margin-left: auto; display: flex; gap: 6px; }
.shoe { width: 28px; height: 30px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 15' shape-rendering='crispEdges'%3E%3Cpath fill='%23b8862b' d='M2 0h3v2H4v6h1v2h4V8h1V2H9V0h3v2h1v7h-1v3h-1v2H3v-2H2V9H1V2h1z'/%3E%3Cpath fill='%23fff3' d='M2 1h2v1H2zM10 1h2v1h-2z'/%3E%3C/svg%3E"); }
.shoe.lost { opacity: .18; filter: grayscale(1); }

/* Players */
.brand { display: flex; align-items: center; gap: 18px; margin: 10px 0 18px; }
.brand-pony { width: clamp(120px, 18vw, 200px); height: auto; }
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.player { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; background: var(--paper);
  border: 2px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-height: 170px; justify-content: center; }
.player img { width: 90px; height: 90px; }
.pname { font-weight: 700; font-size: 1.1em; color: var(--navy); }
.pmeta { font-size: .8em; color: #5a5f6b; }
.player.add { border-style: dashed; box-shadow: none; }
.plus { font-size: 54px; line-height: 1; color: var(--green); font-weight: 700; }
.foot { margin-top: 28px; text-align: center; }

/* New player */
.form label, .form .label { display: block; font-weight: 700; color: var(--navy); margin-top: 8px; }
.form input:not([type=checkbox]) { width: 100%; font: inherit; font-size: 1.2em; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; margin-top: 6px; background: #fff; }
.ponies { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 8px; }
.pony { display: flex; flex-direction: column; align-items: center; padding: 10px; border: 3px solid var(--line); border-radius: 12px; background: #fff; }
.pony img { width: 100%; max-width: 150px; height: auto; }
.pony span { font-weight: 700; }
.pony small { color: #5a5f6b; font-size: .78em; }
.pony.sel { border-color: var(--green); background: #eef7f0; }

/* Home */
.hello { display: flex; align-items: center; gap: 16px; }
.hello-pony { width: clamp(110px, 16vw, 180px); height: auto; flex: none; }
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 10px; }
.module { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto; gap: 4px 14px; text-align: left; padding: 12px;
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); align-items: start; }
.thumb { grid-row: 1 / 3; width: 112px; aspect-ratio: 16/9; border-radius: 8px; background: center/cover no-repeat; image-rendering: pixelated; border: 2px solid var(--navy); }
.mtitle { display: block; font-weight: 700; color: var(--navy); font-size: 1.08em; }
.mblurb { display: block; font-size: .85em; color: #4b505c; }
.resting { display: inline-block; margin-top: 4px; font-size: .8em; font-weight: 700; background: #fde9c8; color: #7a4b00; padding: 2px 10px; border-radius: 999px; }
.slots { grid-column: 2; display: flex; gap: 6px; align-items: center; }
.slot { width: 26px; height: 34px; border: 2px dashed var(--line); border-radius: 50% 50% 4px 4px; }
.rosette.sm { width: 28px; height: auto; }
.rosette.xs { width: 22px; height: auto; vertical-align: middle; }
.badges ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badge { padding: 8px 16px; border-radius: 999px; border: 2px dashed var(--line); color: #8a8f99; font-weight: 700; font-size: .9em; }
.badge.got { border: 2px solid var(--gold); background: #fff4dc; color: #6b4600; }
.badge.got::before { content: '\2605  '; color: var(--gold); }

/* Scenes */
.scene { width: 100%; aspect-ratio: 16/9; background: center/cover no-repeat; image-rendering: pixelated; border-radius: var(--r); border: 3px solid var(--navy); position: relative; }

/* Module */
.scr-module .scene { max-width: min(100%, calc(42vh * 16 / 9)); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tier { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 0 16px; align-items: center; text-align: left;
  padding: 14px 18px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.tier .rosette { grid-row: 1 / 3; width: 54px; height: auto; }
.rosette.ghost { opacity: .5; filter: grayscale(.8); }
.ttitle { font-weight: 700; font-size: 1.2em; color: var(--navy); }
.tsub { font-size: .85em; color: #5a5f6b; }
.tier[disabled] { opacity: .55; cursor: not-allowed; }

/* Rest, win, share */
.rest { text-align: center; }
.rest-pony { width: 180px; height: auto; filter: saturate(.85); }
.timer { font-size: 1.6em; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.teachlist li { margin-bottom: .6em; }
.win { text-align: center; padding-top: 30px; }
.rosette.big { width: 144px; height: auto; }
.pop { animation: grow .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes grow { from { transform: scale(.2) rotate(-20deg); opacity: 0 } }
.newbadge { display: inline-block; background: #fff4dc; border: 2px solid var(--gold); padding: 8px 16px; border-radius: 999px; }
.plist { list-style: none; padding: 0; margin: 0; }
.plist li { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding: 6px 0; flex-wrap: wrap; }
.plist img { width: 44px; height: 44px; }
.plist .pn { flex: 1 1 140px; font-weight: 700; color: var(--navy); }
.plist .pn small { display: block; font-weight: 400; color: #5a5f6b; font-size: .8em; }
.toggle { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.toggle input { width: 28px; height: 28px; accent-color: var(--green); }
.loading { text-align: center; padding: 20vh 0; }

/* Buttons in bars */
.snd, .gear { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); display: grid; place-items: center; padding: 0; flex: none; }
.snd { margin-left: auto; }
.snd svg, .gear svg { width: 26px; height: 26px; fill: var(--navy); stroke: var(--navy); }
.gear svg { stroke: none; }
.snd .cross { display: none; } .snd.off .cross { display: block; } .snd.off .wave { display: none; } .snd.off { opacity: .7; }
.bar .shoes + .snd { margin-left: 8px; }
img { -webkit-user-drag: none; }
.btn, .choice, .player, .module, .tier, .pony, .livery, .plan { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }

/* Dialog */
.dialog-back { position: fixed; inset: 0; background: rgba(31, 42, 68, .45); display: grid; place-items: center; padding: 20px; z-index: 10; }
.dialog { max-width: 460px; width: 100%; margin: 0; }

/* Phones in landscape: short screens. Keep the scene small so answers fit. */
@media (orientation: landscape) and (max-height: 520px) {
  body { font-size: 17px; }
  #app { padding-top: 6px; }
  .bar { min-height: 44px; }
  .back { min-height: 40px; padding: 4px 14px 4px 10px; }
  .scr-module .scene { display: none; }
}
/* Phones in portrait */
@media (max-width: 560px) {
  .module { grid-template-columns: 88px 1fr; }
  .thumb { width: 88px; }
  .brand, .hello { gap: 10px; }
  .players { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- Scene lessons (after Pony Stables): everything fits on one screen, no scrolling ---- */
body.playing { overflow: hidden; height: 100dvh; }
#app.scr-play { max-width: 640px; height: 100dvh; padding: 4px 10px 0; display: flex; flex-direction: column; overflow: hidden; }
.scr-play .bar { min-height: 44px; flex-wrap: nowrap; gap: 8px; }
.scr-play .back { min-height: 40px; padding: 4px 14px 4px 10px; }
.steps { display: flex; gap: 4px; flex-wrap: nowrap; margin-left: 2px; min-width: 0; }
.steps i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: 2px solid #b9ad92; }
.steps i.done { background: var(--green); border-color: var(--green-d); }
.scr-play .shoe { width: 22px; height: 24px; }
#scene { display: block; width: min(100%, calc((100dvh - 330px) * 200 / 140)); min-width: 240px; aspect-ratio: 200 / 140; margin: 2px auto 0;
  image-rendering: pixelated; image-rendering: crisp-edges; border: 4px solid var(--navy); border-radius: 10px; background: #000;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ppanel { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 8px;
  padding: 6px 0 max(6px, env(safe-area-inset-bottom)); }
.say { flex: none; margin: 0; background: var(--paper); border: 3px solid var(--navy); border-radius: 12px; box-shadow: 3px 3px 0 var(--navy);
  padding: 8px 12px; font-size: clamp(16px, min(4.4vw, 2.9dvh), 22px); line-height: 1.32; font-weight: 700; color: var(--navy); min-height: 3em; }
.say small { display: block; margin-top: 4px; font-size: .86em; font-weight: 400; color: #6b4a7a; }
.choices { flex: none; display: grid; grid-template-columns: 1fr; gap: 8px; }
.choices.icons { grid-template-columns: repeat(3, 1fr); }
.choices.icons.c2 { grid-template-columns: repeat(2, 1fr); }
.choices.icons.c4 { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.choices.icons.c4 .choice { padding: 6px 4px; }
.choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: clamp(52px, 8.5dvh, 84px); padding: 8px 10px;
  background: #fff6dc; border: 3px solid var(--navy); border-radius: 10px; box-shadow: inset -4px -4px 0 #e6cf95; color: var(--navy);
  font-weight: 700; font-size: clamp(15px, 3.9vw, 18px); line-height: 1.2; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.choices.text .choice { align-items: flex-start; text-align: left; padding: 10px 14px; }
.choice img { width: clamp(44px, 7dvh, 64px); height: clamp(44px, 7dvh, 64px); object-fit: contain; image-rendering: pixelated; }
.choices.icons .choice span { font-size: .85em; text-align: center; }
.choice:active { transform: translate(2px, 2px); }
.choice.right { background: #c8f2b4; box-shadow: inset -4px -4px 0 #8fd27a; }
.choice.wrong { background: #ffd0cc; box-shadow: inset -4px -4px 0 #eaa09a; opacity: .65; animation: shake .35s; }
.choice:disabled { cursor: default; }
.choice.helped { position: relative; animation: helped 1s ease-in-out infinite; box-shadow: 0 0 0 4px var(--gold), inset -4px -4px 0 #e6cf95; }
.choice.helped::after { content: '\1F446'; position: absolute; right: 8px; bottom: -6px; font-size: 28px; animation: poke 1s ease-in-out infinite; }
.choice.go { align-items: center !important; text-align: center !important; min-height: 64px; font-size: clamp(20px, 5vw, 26px);
  background: #b8f2a0; box-shadow: inset -5px -5px 0 #7fcf6a; animation: bounce 1.2s ease-in-out infinite; }
.choices.order { gap: 5px; }
.choices.order .choice { flex-direction: row; align-items: center; gap: 8px; min-height: 0; padding: 6px 10px; font-size: clamp(14px, min(3.7vw, 2.3dvh), 17px); }
.choices.order .choice em { flex: none; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; border: 2px dashed #b9ad92; font-style: normal; font-weight: 700; }
.choices.order .choice.right em { border: 2px solid var(--green-d); background: var(--green); color: #fff; }
.choices.order .choice.right { opacity: .8; }
.choices.order .choice.wrong { opacity: 1; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes bounce { 50% { transform: scale(1.03); } }
@keyframes helped { 50% { transform: scale(1.04); } }
@keyframes poke { 50% { transform: translateY(-6px); } }
@media (orientation: landscape) and (max-height: 520px) {
  #app.scr-play { max-width: none; display: grid; grid-template-columns: auto minmax(260px, 1fr); grid-template-rows: auto 1fr; column-gap: 12px;
    padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
  .scr-play .bar { grid-column: 1 / -1; }
  #scene { width: auto; height: calc(100dvh - 58px); min-width: 0; margin: 0; }
  .ppanel { padding-top: 0; }
}
@media (min-width: 900px) and (min-height: 700px) {
  #app.scr-play { max-width: 760px; }
  #scene { width: min(100%, calc((100dvh - 400px) * 200 / 140)); }
}


/* ---- The Wild Meadow Ranch: accounts, unlocking, stable, progress, handbook ---- */
.kicker { margin: 0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78em; color: var(--green-d); }
.center { text-align: center; }
.wide { width: 100%; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.who, .legal { font-size: .82em; color: #5a5f6b; }
.legal a, .card a { color: var(--navy); font-weight: 700; }
select, .form select { font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; max-width: 100%; }
label.field { display: block; font-weight: 700; color: var(--navy); margin: 12px 0 4px; }
.form .toggle { font-weight: 400; align-items: flex-start; margin-top: 14px; }
.form .toggle input { flex: none; margin-top: 2px; }
details > summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 10px 0; min-height: 44px; }
.btn.danger { background: var(--red); box-shadow: 0 4px 0 #7d2219; }
.toast { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; background: var(--navy); color: #fff;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: zoomin .2s; max-width: calc(100vw - 32px); text-align: center; }
@keyframes zoomin { from { transform: translateX(-50%) scale(.85); opacity: 0 } }

.chip { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 2px solid var(--line); border-radius: 999px; padding: 4px 16px 4px 4px; min-height: 48px; font-weight: 700; color: var(--navy); }
.chip img { width: 38px; height: 38px; }
.chip::after { content: '\25BE'; margin-left: 2px; color: #8a8f99; }

.lock { width: 1em; height: 1em; fill: currentColor; vertical-align: -.12em; }
.module.is-locked .thumb { filter: grayscale(.7) brightness(.85); display: grid; place-items: center; color: #fff; }
.module.is-locked .thumb .lock { width: 34px; height: 34px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.4)); }
.module.is-locked .mtitle, .module.is-locked .mblurb { opacity: .75; }
.slot.locked { border-style: solid; border-color: #c9bfa8; display: grid; place-items: center; color: #9a917c; }
.slot.locked .lock { width: 14px; height: 14px; }
.free { font-style: normal; font-size: .7em; background: var(--green); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: .15em; }
.tier.paid { border-style: dashed; }
.tier.paid .ttitle .lock { color: #8a8f99; }
.unlock-banner { display: flex; align-items: center; gap: 12px; width: 100%; margin: 12px 0 4px; padding: 12px 16px; border: 2px solid var(--gold); border-radius: var(--r);
  background: linear-gradient(90deg, #fff4dc, #fffdf7); color: var(--navy); text-align: left; box-shadow: var(--shadow); }
.unlock-banner .lock { width: 30px; height: 30px; color: var(--gold); flex: none; }
.unlock-banner strong, .unlock-banner small { display: block; }
.unlock-banner small { color: #6b5a3a; font-size: .8em; }
.unlock { text-align: center; }
.locked-list { list-style: none; padding: 0; margin: 12px auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; max-width: 640px; text-align: left; }
.locked-list li { display: flex; gap: 10px; align-items: center; background: #f3eddc; border-radius: 10px; padding: 8px 12px; font-weight: 700; color: var(--navy); font-size: .9em; }
.locked-list .lock { color: #9a917c; flex: none; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border: 3px solid var(--line); border-radius: 12px; background: #fff; text-align: left; }
.plan strong { font-size: 1.5em; color: var(--navy); }
.plan span { color: #4b505c; font-size: .9em; }
.plan em { font-style: normal; font-weight: 700; font-size: .8em; color: #fff; background: var(--gold); border-radius: 999px; padding: 2px 10px; margin-top: 6px; }
.plan.sel { border-color: var(--green); background: #eef7f0; }
.kids { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
.kid { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 12px; padding: 6px 14px 6px 10px; background: #fff; font-weight: 700; color: var(--navy); min-height: 52px; cursor: pointer; }
.kid input { width: 24px; height: 24px; accent-color: var(--green); }
.kid img { width: 34px; height: 34px; }
.kid:has(input:checked) { border-color: var(--green); background: #eef7f0; }
.sum { font-size: 1.05em; margin: 12px 0 0; }
.tag { font-style: normal; font-size: .72em; background: #e6f4ea; color: var(--green-d); border-radius: 999px; padding: 2px 8px; margin-left: 4px; vertical-align: .1em; }
.tag.off { background: #f3eddc; color: #7a6a4a; }

.liveries { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.livery { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border: 3px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; color: var(--navy); }
.livery .sw { width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(var(--a) 0 33%, var(--b) 0 66%, var(--c) 0); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.livery.sel { border-color: var(--green); background: #eef7f0; }

.progress .stats { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.progress .badges { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.learned { border-top: 1px solid var(--line); margin-top: 10px; }
.learned-body h3, .printable h3 { color: var(--navy); margin: .8em 0 .3em; font-size: 1.05em; }
.learned-body small, .printable h3 small { font-weight: 400; color: #5a5f6b; font-size: .8em; }
.learned-body li, .printable li { margin-bottom: .4em; }

.hb-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.hb-nav a { background: var(--paper); border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; color: var(--navy); text-decoration: none; }
.hb-module { background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); padding: clamp(14px, 2vw, 24px); margin: 14px 0; box-shadow: var(--shadow); }
.hb-module h2 { margin-top: 0; }
.hb-blurb { color: #4b505c; margin-top: 0; }
.hb-tier summary h3 { display: inline; color: var(--navy); font-size: 1.1em; }
.hb-tier dl { margin: 4px 0 10px; }
.hb-tier dt { font-weight: 700; color: var(--navy); margin-top: 12px; }
.hb-tier dd { margin: 4px 0 0; }

.printable header { display: flex; align-items: center; gap: 16px; border-bottom: 3px solid var(--navy); padding-bottom: 10px; }
.printable header .hello-pony { width: 110px; }
@media print {
  body { background: #fff; font-size: 12pt; }
  .noprint, .toast { display: none !important; }
  #app { padding: 0; max-width: none; }
  .printable section { break-inside: avoid; }
}
@media (max-width: 560px) {
  .brand-pony { width: 96px; }
  .chip span { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
