/* Sunny platform-adventure theme with original generated scenery and the user's
   existing dinosaur mascot; no third-party game characters or logos are used. */
:root {
  color-scheme: light;
  --bg: #bceeff;
  --mint: #167bce;
  --cream: #173a64;
  --muted: #3b607c;
  --line: #4792bc;
  --gold: #ffca3a;
  --game-blue: #1763b2;
  --game-navy: #173a64;
  --game-orange: #f37b31;
  --game-yellow: #ffcf40;
  --game-green: #68bd45;
}
body {
  background-color: #c8f0ff;
  background-image: radial-gradient(#ffffffb0 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  color: var(--game-navy);
}
.player-header { font-weight: 650; }
.wordmark { color: #17437c; font-weight: 900; }
.wordmark-divider, .guide-title { color: #3f6c8e; }
.brand-pixel {
  background: #ffcb39;
  border: 2px solid #9c6619;
  width: 18px;
  height: 18px;
  box-shadow: 2px 2px 0 #a16b26;
  border-radius: 50%;
}
.chapter-label {
  color: #195181;
  background: #fff4c8;
  border: 2px solid #275988;
  border-radius: 8px;
  padding: 7px 12px;
  box-shadow: 3px 3px 0 #76bbd7;
}
.online-dot { background: #50b842; box-shadow: none; border-radius: 50%; }
.deck {
  border: 3px solid #205586;
  border-radius: 12px;
  box-shadow: 0 8px 0 #5fadd0, 0 15px 28px #28659526;
  background: #a6e9ff;
}
.slide, .slide.light, .slide.cover, .slide.failure {
  --ink: #173a64;
  --soft: #315a77;
  --accent: #176cba;
  --rule: #73b2ca;
  background: #a2e8ff url('assets/game/game-landscape.webp') center / 100% 100% no-repeat;
  color-scheme: light;
}
.slide::before {
  background: linear-gradient(90deg, #e1f6ffe8 0%, #def6ffe8 48%, #def6ff80 62%, #def6ff00 77%);
  opacity: 1;
  z-index: -1;
}
.slide::after { display: none; }
.slide.light::before {
  background: linear-gradient(90deg, #f6f9d9f5 0%, #f6f9d9eb 49%, #eaffd877 65%, transparent 80%);
}
.slide.failure::before {
  background: linear-gradient(90deg, #fff4dcef 0%, #fff3dfef 70%, #fff0d677 100%);
}
.slide.world-map::before { background: #e1f6ffc9; }
.slide-top {
  border-bottom: 2px dashed #438eaf99;
  color: #2b6188;
  height: 6.7cqw;
}
.eyebrow { font-weight: 800; letter-spacing: .06em; }
.slide-top > .mono {
  color: #25548b;
  background: #fff7d8;
  border: .12cqw solid #3579a6;
  border-radius: .5cqw;
  padding: .45cqw .65cqw;
  box-shadow: .15cqw .18cqw 0 #78bcda;
}
.slide-footer {
  left: 0;
  right: 0;
  height: 3.6cqw;
  padding: 0 4.1cqw;
  color: #432a1b;
  border-top: .45cqw solid #6fbe47;
  background-color: #e7a66b;
  background-image: linear-gradient(90deg, #ae682e25 1px, transparent 1px);
  background-size: 4cqw 100%;
  font-weight: 600;
  box-shadow: 0 -.13cqw 0 #296e3c, inset 0 .18cqw 0 #b97737;
}
.slide-footer > .mono { color: #432a1b; }
.copy h1, .copy h2, .text-only h2 { color: #1b5ba1; font-weight: 900; }
.copy h1, .copy h2, .text-only h2 {
  text-shadow: .09cqw .12cqw 0 #fff8db;
}
h2 em, .failure em { color: #cb4f19; }
h1 em { color: #ffce38; }
p { color: var(--soft); font-weight: 500; }
strong, .subtitle, .quote { color: var(--ink); }
.subtitle { font-weight: 750; }
.metric-caption { opacity: 1; color: #406580; }
.small-label { color: #27649a; font-weight: 800; }
.shot { position: relative; z-index: 2; }
.shot img, .light .shot img {
  border: .33cqw solid #fffaf0;
  outline: .16cqw solid #2e6393;
  border-radius: .6cqw;
  box-shadow: .6cqw .65cqw 0 #43a1c070, 0 1cqw 1.8cqw #235d6930;
  background: #fffaf0;
}
.shot img:hover {
  outline-color: #ef8b29;
  box-shadow: .6cqw .65cqw 0 #ffc53c9c, 0 1cqw 1.8cqw #235d6930;
}
.shot figcaption {
  color: #234f71;
  font-weight: 650;
  background: #fff8e2ed;
  border: .1cqw solid #6cacc3;
  border-radius: .5cqw;
  padding: .28cqw .8cqw;
  white-space: normal;
}
.visual-watermark { display: none; }
.game-sprite {
  position: absolute;
  object-fit: contain;
  width: 13cqw;
  height: 15cqw;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(.15cqw .5cqw .1cqw #25625128);
}
.single-shot .game-sprite { right: -3cqw; bottom: 4.5cqw; }
.single-shot .game-sprite.sprite-left { left: -3cqw; right: auto; }
.paired-shots .game-sprite { width: 10cqw; height: 12cqw; right: -4cqw; bottom: 1.9cqw; }
.game-coin {
  position: absolute;
  width: 2.9cqw;
  height: 2.9cqw;
  border: .24cqw solid #e38e1b;
  border-radius: 50%;
  background: #ffd844;
  box-shadow: inset .18cqw .15cqw 0 #fff7ad, .15cqw .22cqw 0 #a5631d;
  color: #97611f;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .85cqw;
  z-index: 1;
  pointer-events: none;
}
.game-coin.coin-one { top: 6cqw; left: 3cqw; transform: rotate(-12deg); }
.game-coin.coin-two { top: 12cqw; right: 1cqw; transform: rotate(12deg); width: 2.3cqw; height: 2.3cqw; font-size: .7cqw; }
.paired-shots .game-coin { top: .6cqw; }
.paired-shots .coin-one { left: 5cqw; }
.paired-shots .coin-two { right: 4cqw; }
.cover::before { background: linear-gradient(90deg, #ddf7ffec 0%, #d9f7ffbd 49%, #bceeff22 73%); }
.cover h1 {
  color: #fff9dc;
  -webkit-text-stroke: .1cqw #195ca1;
  paint-order: stroke fill;
  text-shadow: .15cqw .2cqw 0 #195ca1, .25cqw .35cqw 0 #2679b9;
  letter-spacing: -.025em;
  transform: rotate(-2deg);
  transform-origin: left center;
}
.cover .overline {
  color: #256299;
  font-weight: 850;
  letter-spacing: .1em;
}
.cover .pixel-cross { color: #e78b15; }
.cover .subtitle { color: #1b588c; font-weight: 800; }
.cover .body-copy { color: #335c79; }
.start-button {
  color: #fff9e5;
  background: #eb642a;
  border: .18cqw solid #913c27;
  border-radius: .65cqw;
  box-shadow: 0 .4cqw 0 #953e26, inset 0 .15cqw 0 #ff9d50;
  padding: .85cqw 1.5cqw;
  font-weight: 850;
}
.start-button:hover { transform: translateY(-2px); box-shadow: 0 .6cqw 0 #953e26, inset 0 .15cqw 0 #ff9d50; }
.start-button:active { transform: translateY(3px); box-shadow: 0 .12cqw 0 #953e26; }
.cover-art .orbit { display: none; }
.cover-art .app-icon {
  position: absolute;
  width: 19cqw;
  height: auto;
  top: 8.5cqw;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  border: .45cqw solid #fff9df;
  outline: .18cqw solid #2268a0;
  box-shadow: .6cqw .7cqw 0 #277ca855;
  z-index: 1;
}
.cover-art .art-coordinate {
  position: absolute;
  top: 4.6cqw;
  font-size: .76cqw;
  color: #226293;
  background: #fff8dbe8;
  border: .12cqw solid #5c9ac0;
  border-radius: .5cqw;
  padding: .65cqw 1cqw;
}
.cover-art .companion-tag {
  position: absolute;
  bottom: 1.3cqw;
  margin: 0;
  border: .16cqw solid #407434;
  border-radius: .6cqw;
  background: #eff8c9;
  color: #28592a;
  box-shadow: 0 .25cqw 0 #7ebc56;
  z-index: 4;
}
.companion-tag .mono { color: #26742c; }
.cover-art .game-sprite { width: 21cqw; height: 23cqw; bottom: 3.6cqw; }
.cover-art .coin-one { top: 11cqw; left: -.5cqw; }
.cover-art .coin-two { top: 20cqw; right: -1.5cqw; }
.cover-art .pixel-spark { color: #ef9a1c; text-shadow: .12cqw .15cqw 0 #fff9ce; }
.cover-art .spark-one { right: -.3cqw; top: 5cqw; }
.cover-art .spark-two { display: none; }
.lives { color: #ec6e32; text-shadow: .12cqw .14cqw 0 #ffcf65; }
.failure-list { border: 0; margin-top: 2.1cqw; }
.failure-list article {
  padding: 1.15cqw 1.4cqw;
  margin-bottom: .65cqw;
  border: .15cqw solid #e7a453;
  border-radius: .7cqw;
  background: #fff8e8e8;
  box-shadow: .24cqw .25cqw 0 #edbe7180;
}
.failure-number { color: #de742b; }
.failure-list h3 { color: #345278; }
.failure-code { color: #8d4d20; border: .12cqw solid #dca449; background: #ffe5a4; border-radius: .45cqw; }
.turning-point { color: #1d6b8b; margin-top: 1.5cqw; font-weight: 800; }
.world-map h2 em { color: #d65920; }
.station {
  background: #fff6d5;
  border: .18cqw solid #b78429;
  border-radius: .85cqw;
  box-shadow: 0 .45cqw 0 #c5973f;
  position: relative;
}
.station-number {
  background: #ffd349;
  color: #86551e;
  border: .12cqw solid #d48a21;
  border-radius: .5cqw;
  padding: .4cqw .8cqw;
  margin-bottom: .65cqw;
  font-size: 1.5cqw;
}
.station h3 { color: #5a4728; }
.station p { color: #6b6048; }
.station:nth-of-type(2) { background: #e3f6ff; border-color: #439fca; box-shadow: 0 .45cqw 0 #439fca; }
.station:nth-of-type(2) .station-number { background: #98ddff; border-color: #55a5ca; color: #2f698b; }
.station:nth-of-type(4) { background: #ffe9df; border-color: #e29365; box-shadow: 0 .45cqw 0 #d9895e; }
.station:nth-of-type(4) .station-number { background: #ffbe8b; border-color: #e09b53; color: #86551e; }
.station:nth-of-type(5) { background: #f0e9ff; border-color: #9f8ac9; box-shadow: 0 .45cqw 0 #9f8ac9; }
.station:nth-of-type(5) .station-number { background: #d2c1ff; border-color: #a593d4; color: #685b92; }
.station.active-station { background: #e3f8b9; border-color: #54a843; box-shadow: 0 .45cqw 0 #54933f; transform: translateY(-.65cqw); }
.active-station .station-number { background: #93db59; border-color: #60b045; color: #355b26; }
.active-station h3, .active-station p { color: #335c27; }
.loop-arrow { color: #367e9d; font-weight: 900; }
.return-path { border-color: #4d95b1; border-width: 2px; }
.return-path span { background: #daf3ff; color: #2d698a; font-weight: 700; }
.chapter-road { border-color: #6bacc9; }
.chapter-road > span { color: #385c80; font-weight: 650; }
.chapter-road .current { color: #c65523; }
.chapter-road b { color: #2567a5; }
.choice-copy { border-top: 2px dashed #89b989; }
.choice-copy .small-label { color: #387b3f; }
.light h2 em { color: #268842; }
.power-display strong, .approx { color: #1976bf; text-shadow: .15cqw .2cqw 0 #ffffff; }
.power-max { color: #4a769a; }
.power-bar { border: .14cqw solid #477b40; background: #fbf3d2; border-radius: .3cqw; height: 1.05cqw; padding: .13cqw; box-shadow: 0 .2cqw 0 #6b9d5380; }
.power-bar span { background: repeating-linear-gradient(90deg,#8bdb46 0,#8bdb46 1.2cqw,#5caf3b 1.2cqw,#5caf3b 1.4cqw); }
.level-up { color: #d1631f; background: #fff1ad; border: .15cqw solid #df9b26; border-radius: .5cqw; padding: .6cqw .9cqw; transform: rotate(-3deg); box-shadow: .18cqw .22cqw 0 #e4b557; }
.level-comparison .level-word { color: #1976bf; }
.level-comparison .old-level { color: #568299; }
.level-arrow { color: #e38729; }
.countdown > strong { color: #e57629; text-shadow: .15cqw .2cqw 0 #fff9d7; }
.countdown > div .mono { color: #a25d23; }
.quest-road { border-top: .25cqw solid #5aaa65; }
.quest-road li::before { background: #ffc839; width: .8cqw; height: .8cqw; border: .12cqw solid #927129; border-radius: 50%; top: -.48cqw; }
.quest-road .mono { color: #317b4a; }
.streak-highlight strong { color: #e67929; text-shadow: .15cqw .2cqw 0 #fff6d2; }
.streak-highlight > div .mono { color: #b86523; }
.support-note { border-color: #55a345; padding-top: .6cqw; padding-bottom: .6cqw; background: #f2fbd3bd; border-radius: 0 .6cqw .6cqw 0; }
.support-note h3 { color: #367934; }
.practice-rule { border-top: 2px dashed #71a9c5; border-bottom: 2px dashed #71a9c5; }
.practice-rule b { color: #226dad; }
.session-time > .mono { color: #e27325; text-shadow: .15cqw .15cqw 0 #fff5c3; }
.legend { color: #345f54; }
.target-stats strong { color: #d86822; text-shadow: .12cqw .14cqw 0 #fff8dd; }
.speed-note { border-color: #75b3cb; }
.speed-note strong { color: #d25528; }
.speed-note b { color: #2c8745; }
.weekly-metrics { border-top: 2px dashed #6caacc; border-bottom: 2px dashed #6caacc; }
.weekly-metrics strong { color: #2778b9; text-shadow: .15cqw .2cqw 0 white; }
.weekly-metrics strong span { color: #5c8dad; }
.report-statement .small-label { color: #2b7b46; }
.pro-label { color: #855121; border: .14cqw solid #c59732; background: #ffdf6e; border-radius: .4cqw; box-shadow: 0 .2cqw 0 #d5a747; font-weight: 850; }
.journal-stats { border-top: 2px dashed #7daec6; border-bottom: 2px dashed #7daec6; }
.journal-stats b { color: #216faf; }
.empty-check { border-color: #5f9639; border-radius: .25cqw; background: #fcfadd; box-shadow: .12cqw .14cqw 0 #bad387; }
.mission-list li { border-color: #95b885; }
.mission-signoff em { color: #e1792b; }
.achievement-kicker { color: #a46613; background: #ffe9a0; border: .13cqw solid #d6a243; padding: .5cqw .8cqw; display: inline-block; border-radius: .5cqw; transform: rotate(-2deg); }
.achievement-names > span { color: #725222; border-color: #d7bb76; background: #fff5d590; padding-left: .8cqw; }
.achievement-names b { color: #c18324; }
.achievements .quote em { color: #b1691f; }
.next-chapter { color: #bd5d22; background: #fff1b4; border: .13cqw solid #e0ae40; padding: .6cqw .8cqw; border-radius: .5cqw; transform: rotate(-2deg); }
.next-world { border-color: #ed922d; }
.next-world strong { color: #216fb3; }
.download-callout > b { color: #df6a24; }
.player-controls { color: #315e85; }
.tool-button { color: #315e85; font-weight: 750; border-radius: 8px; }
.tool-button:hover { background: #fdf2be; color: #9e5d24; }
.control-separator { border-color: #7eb8ce; }
.keyboard-hint { color: #426e8d; }
.arrow-button { color: #7a4c22; border: 2px solid #99601e; border-radius: 8px; background: #ffd24a; box-shadow: 0 3px 0 #b87b26; font-weight: 800; }
.arrow-button:hover:enabled { color: #68461c; background: #ffdf75; transform: translateY(-1px); }
.arrow-button:active:enabled { transform: translateY(2px); box-shadow: 0 1px 0 #b87b26; }
.arrow-button:disabled { opacity: .35; }
.page-counter > b { color: #255481; }
.page-counter > span { color: #5683a0; }
.deck-progress { background: #89cbd9; height: 4px; }
.deck-progress span { background: #f69a26; }
.toast { background: #fff1b9; color: #5a421f; border: 2px solid #c59641; border-radius: 8px; box-shadow: 0 4px 0 #c5a253; }
button:focus-visible,a:focus-visible,img[data-zoom]:focus-visible { outline-color: #d96920; }
dialog { background: #edf9ff; color: #244e7b; border: 3px solid #3f7ead; border-radius: 14px; box-shadow: 0 10px 0 #175c8099, 0 24px 100px #173a6444; }
dialog::backdrop { background: #24546d99; backdrop-filter: blur(7px); }
.dialog-heading h2 { color: #236db3; font-weight: 900; }
.dialog-heading .small-label { color: #49829f; }
.close-button { color: #fff5dd; background: #ee8138; border: 2px solid #ae572b; border-radius: 8px; box-shadow: 0 3px 0 #b6612f; }
.close-button:hover { background: #ff9c50; }
.overview-item { background: #fff8da; color: #385271; border: 2px solid #d7af54; border-radius: 8px; box-shadow: 0 4px 0 #d5b476; }
.overview-item:nth-child(4n+2) { background: #e4f3d4; border-color: #94be73; box-shadow: 0 4px 0 #a1bd83; }
.overview-item:nth-child(4n+3) { background: #ffe9d8; border-color: #e7a673; box-shadow: 0 4px 0 #d7a582; }
.overview-item:nth-child(4n+4) { background: #e8e7ff; border-color: #aaa2d3; box-shadow: 0 4px 0 #ada2d5; }
.overview-item:hover, .overview-item[aria-current=true] { background: #fff1a1; border-color: #cf8c21; transform: translateY(-2px); box-shadow: 0 6px 0 #dcac4d; }
.overview-item strong { color: #254972; }
.overview-item .mono { color: #b27421; }
.overview-item small { color: #5b7393; }
.overview-item img { opacity: .18; }
.dialog-tip { color: #4f7792; }
#notes-slide-title { color: #c77124; }
#notes-copy, #notes details p { color: #385b77; }
#notes details { border-color: #88b4cc; }
#notes summary { color: #276fa8; }
#lightbox, .lightbox-toolbar { background: #ecf7ff; }
#lightbox { border-color: #619ac0; }
.lightbox-toolbar { border-color: #abcadd; }
#lightbox-title, #lightbox > p { color: #2e628c; }
.is-active .game-sprite { animation: companion-bob 3.6s ease-in-out infinite; }
.is-active .game-coin { animation: coin-entrance .65s cubic-bezier(.2,.8,.3,1.2) both; }
.is-active .coin-two { animation-delay: .12s; }
@keyframes companion-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -.5cqw; } }
@keyframes coin-entrance { from { opacity: 0; translate: 0 1.2cqw; scale: .6; } to { opacity: 1; translate: 0 0; scale: 1; } }
@media(max-width:680px) and (orientation:portrait) {
  .chapter-label { border-width: 1px; border-radius: 5px; padding: 5px 6px; box-shadow: 2px 2px 0 #76bbd7; }
  .deck { border-width: 2px; border-radius: 8px; box-shadow: 0 5px 0 #5fadd0; }
  .slide, .slide.light, .slide.cover, .slide.failure { background-size: auto 100%; background-position: center bottom; }
  .slide::before, .slide.light::before, .slide.failure::before, .cover::before { background: linear-gradient(#e5f8fff2 0%,#e6f8ffe0 65%,#d4f4ff77 100%); }
  .slide.light::before { background: linear-gradient(#f8f9dcf2 0%,#eff9dde0 65%,#e8f7cb77 100%); }
  .slide-top { height: 17cqw; border-width: 1px; }
  .slide-top > .mono { border-width: 1px; padding: 1.3cqw 1.7cqw; border-radius: 1.4cqw; box-shadow: .6cqw .6cqw 0 #78bcda; }
  .slide-footer { left: -6cqw; right: auto; width: calc(100% + 12cqw); min-height: 12cqw; height: auto; padding: 2cqw 6cqw; margin-bottom: 0; border-top-width: 1.2cqw; background-size: 10cqw 100%; }
  .copy h1, .copy h2, .text-only h2 { text-shadow: .25cqw .35cqw 0 #fff8db; }
  .cover h1 { -webkit-text-stroke: .3cqw #195ca1; text-shadow: .4cqw .55cqw 0 #195ca1, .7cqw .85cqw 0 #2679b9; }
  .visual::before { display: none; }
  .shot img, .light .shot img { border-width: 1cqw; outline-width: .4cqw; border-radius: 1.8cqw; box-shadow: 1.4cqw 1.6cqw 0 #43a1c070, 0 2cqw 5cqw #235d6920; }
  .shot figcaption { border-width: 1px; border-radius: 1.4cqw; padding: 1cqw 2.2cqw; max-width: 83cqw; }
  .game-sprite { width: 28cqw; height: 33cqw; }
  .single-shot .game-sprite { right: -5cqw; bottom: 8cqw; }
  .single-shot .game-sprite.sprite-left { left: -5cqw; right: auto; }
  .paired-shots .game-sprite { width: 22cqw; height: 26cqw; bottom: 3cqw; right: -6cqw; }
  .game-coin { width: 7cqw; height: 7cqw; border-width: .6cqw; font-size: 2cqw; box-shadow: inset .5cqw .4cqw 0 #fff7ad, .4cqw .55cqw 0 #a5631d; }
  .game-coin.coin-one { top: 9cqw; left: -1cqw; }
  .game-coin.coin-two { top: 23cqw; right: -3cqw; width: 5.5cqw; height: 5.5cqw; font-size: 1.7cqw; }
  .paired-shots .game-coin { top: -3cqw; }
  .paired-shots .coin-one { left: 8cqw; }
  .paired-shots .coin-two { right: 10cqw; }
  .cover-art { height: 94cqw; }
  .cover-art .app-icon { width: 43cqw; top: 12cqw; border-width: 1cqw; outline-width: .5cqw; box-shadow: 1.5cqw 1.7cqw 0 #277ca855; }
  .cover-art .art-coordinate { top: 1cqw; padding: 1.8cqw 2.5cqw; font-size: 2cqw; border-width: 1px; border-radius: 1.3cqw; }
  .cover-art .game-sprite { width: 45cqw; height: 51cqw; bottom: 7cqw; }
  .cover-art .companion-tag { bottom: 0; border-width: 1px; border-radius: 1.5cqw; box-shadow: 0 .8cqw 0 #7ebc56; }
  .cover-art .coin-one { top: 20cqw; left: -1cqw; }
  .cover-art .coin-two { top: 32cqw; right: -1cqw; }
  .cover-art .spark-one { top: 4cqw; right: 0; }
  .start-button { border-width: 2px; border-radius: 8px; padding: 2.5cqw 4.5cqw; box-shadow: 0 1.2cqw 0 #953e26, inset 0 .4cqw 0 #ff9d50; }
  .failure-list { margin-top: 7cqw; }
  .failure-list article { padding: 4cqw 3cqw; margin-bottom: 3cqw; border-width: 1px; border-radius: 2cqw; box-shadow: 1cqw 1cqw 0 #edbe7180; grid-template-columns: 8cqw 1fr; }
  .turning-point { margin-top: 6cqw; }
  .station { border-width: 2px; border-radius: 2.5cqw; box-shadow: 0 1.2cqw 0 #c5973f; }
  .station-number { font-size: 4.5cqw; padding: 2cqw; border-width: 1px; border-radius: 1.5cqw; margin: 0; }
  .station.active-station { transform: none; }
  .power-bar { height: 2.8cqw; padding: .35cqw; border-width: 1px; border-radius: 1cqw; }
  .power-bar span { background: repeating-linear-gradient(90deg,#8bdb46 0,#8bdb46 3cqw,#5caf3b 3cqw,#5caf3b 3.5cqw); }
  .level-up { padding: 2cqw 3cqw; border-width: 1px; border-radius: 1.5cqw; }
  .quest-road { border-top-width: 2px; }
  .quest-road li::before { width: 2.3cqw; height: 2.3cqw; top: -2.5cqw; border-width: 1px; }
  .support-note { padding-top: 2cqw; padding-bottom: 2cqw; border-radius: 0 2cqw 2cqw 0; }
  .pro-label { border-width: 1px; border-radius: 1cqw; }
  .achievement-kicker { padding: 1.5cqw 2.5cqw; border-width: 1px; border-radius: 1.5cqw; }
  .achievement-names > span { padding-left: 2.5cqw; }
  .next-chapter { padding: 2cqw 2.5cqw; border-width: 1px; border-radius: 1.5cqw; }
  .empty-check { border-radius: .7cqw; }
}
@media(prefers-reduced-motion:reduce) {
  .is-active .game-sprite, .is-active .game-coin { animation: none; }
}
@media print {
  body { background: white; }
  .deck { border: 0; border-radius: 0; box-shadow: none; }
  .slide { border-radius: 0; }
  .game-sprite, .game-coin { animation: none!important; }
}

/* The user's existing green dinosaur is the sole lead character. */
.cover-art .mascot-sprite {
  width: 32cqw;
  height: 35cqw;
  left: 50%;
  right: auto;
  bottom: 3.8cqw;
  transform: translateX(-50%);
  z-index: 2;
}
.cover-art .app-icon {
  top: 6.8cqw;
  left: 3.5cqw;
  width: 9cqw;
  transform: rotate(-8deg);
  z-index: 3;
}
.cover-art .art-coordinate { top: 3cqw; right: 1cqw; }
.cover-art .coin-one { top: 16cqw; left: -1.5cqw; }
.cover-art .coin-two { top: 7cqw; right: 1cqw; }
.cover-art .companion-tag { bottom: 1.2cqw; }
.text-slide-mascot { right: 3.8cqw; top: 7.8cqw; width: 12cqw; height: 12cqw; }
.failure .lives { visibility: hidden; }
.world-map .text-slide-mascot { top: 7.1cqw; right: 4cqw; width: 9cqw; height: 9cqw; }
.single-shot .mascot-sprite { width: 12cqw; height: 13cqw; right: -3.1cqw; bottom: 4.8cqw; }
.single-shot .mascot-sprite.sprite-left { left: -3.1cqw; right: auto; }
.paired-shots .mascot-sprite { width: 8cqw; height: 9cqw; right: -3cqw; bottom: 3.3cqw; }
.shot img, .light .shot img { border-radius: 0; }
@media(max-width:680px) and (orientation:portrait) {
  .cover-art { height: 100cqw; }
  .cover-art .mascot-sprite { width: 77cqw; height: 82cqw; left: 50%; bottom: 8cqw; }
  .cover-art .app-icon { top: 14cqw; left: -1cqw; width: 20cqw; }
  .cover-art .art-coordinate { top: 3cqw; right: 0; }
  .cover-art .coin-one { top: 42cqw; left: -3cqw; }
  .cover-art .coin-two { top: 11cqw; right: 4cqw; }
  .cover-art .companion-tag { bottom: 0; }
  .text-slide-mascot { width: 21cqw; height: 22cqw; top: 24cqw; right: 0; }
  .failure .section-heading h2 { max-width: 65cqw; }
  .world-map .text-slide-mascot { width: 19cqw; height: 20cqw; top: 58cqw; right: 2cqw; }
  .visual.single-shot, .visual.paired-shots { padding-bottom: 23cqw; }
  .single-shot .mascot-sprite, .single-shot .mascot-sprite.sprite-left,
  .paired-shots .mascot-sprite {
    width: 23cqw;
    height: 24cqw;
    bottom: -1cqw;
    right: 0;
    left: auto;
  }
}

/* Keep the reading lane equally clear when the screenshot sits on the left. */
.slide:has(.split.reverse)::before {
  background: linear-gradient(270deg, #e1f6fff0 0%, #def6ffe8 48%, #def6ff80 62%, #def6ff00 77%);
}
.game-coin { color: #754813; }

/* Page 6 uses the full width: evidence, explanation, then a mascot celebration. */
.growth .content.split.reverse {
  grid-template-columns: 25cqw minmax(0, 1fr) 21cqw;
  gap: 2.8cqw;
}
.growth .shot figcaption { max-width: 25cqw; }
.growth .visual .coin-one { left: -.8cqw; top: 7cqw; }
.growth .visual .coin-two { right: -.7cqw; top: 14cqw; }
.growth-companion { position: relative; height: 100%; }
.growth-companion .mascot-sprite {
  width: 24cqw;
  height: 27cqw;
  left: 50%;
  bottom: 7cqw;
  transform: translateX(-50%);
}
.growth-reward {
  position: absolute;
  top: 8.5cqw;
  left: 50%;
  transform: translateX(-50%) rotate(6deg);
  color: #965721;
  background: #ffdd62;
  border: .2cqw solid #c78528;
  border-radius: .7cqw;
  padding: .7cqw 1.4cqw;
  font-size: 2cqw;
  white-space: nowrap;
  box-shadow: .25cqw .35cqw 0 #e9ac48;
}
.growth-platform {
  position: absolute;
  left: 1.5cqw;
  right: 1.5cqw;
  bottom: 7.4cqw;
  height: 2.3cqw;
  border-top: .6cqw solid #72c84b;
  border-radius: .5cqw .5cqw .8cqw .8cqw;
  background: #e49b57;
  box-shadow: 0 .3cqw 0 #b57537, 0 -.12cqw 0 #458d3c;
}
@media(max-width:680px) and (orientation:portrait) {
  .slide:has(.split.reverse)::before { background: linear-gradient(#e5f8fff2 0%,#e6f8ffe0 65%,#d4f4ff77 100%); }
  .text-slide-mascot { display: none; }
  .growth .visual.single-shot { padding-bottom: 0; }
  .growth .shot figcaption { max-width: 83cqw; }
  .growth .visual .coin-one { left: -1cqw; top: 9cqw; }
  .growth .visual .coin-two { right: -3cqw; top: 23cqw; }
  .growth-companion { height: 48cqw; width: 54cqw; align-self: center; }
  .growth-companion .mascot-sprite { width: 39cqw; height: 43cqw; bottom: 3cqw; }
  .growth-reward { top: 0; left: auto; right: -2cqw; transform: rotate(6deg); font-size: 4cqw; border-width: 1px; padding: 1.5cqw 2cqw; border-radius: 1.5cqw; }
  .growth-platform { left: 10cqw; right: 10cqw; bottom: 1cqw; height: 3.5cqw; border-top-width: 1cqw; border-radius: 1cqw; }
}

/* Presentation-sized copy, with explicit room for the denser feature pages. */
.tool-button { font-size: 14px; }
.keyboard-hint { font-size: 12px; }
@media (min-width:681px), (orientation:landscape) {
  .eyebrow { font-size: 1.08cqw; }
  .slide-top > .mono { font-size: .9cqw; }
  .slide-footer, .slide-footer > .mono { font-size: .9cqw; }
  p { font-size: 1.6cqw; line-height: 1.65; }
  .subtitle, .dual .subtitle, .attributes .subtitle,
  .roadmap .subtitle, .cover .subtitle, .world-map .subtitle {
    font-size: 1.8cqw;
    line-height: 1.55;
    margin: 1.1cqw 0 1.3cqw;
  }
  .small-label, .report-statement .small-label { font-size: 1.08cqw; }
  .metric-caption { font-size: 1.08cqw!important; }
  .shot figcaption, .paired-shots figcaption { font-size: 1.12cqw; line-height: 1.5; }
  .paired-shots figcaption .mono { font-size: 1cqw; }
  .cover .body-copy { font-size: 1.5cqw; line-height: 1.8; }
  .cover .body-copy br { display: none; }
  .cover .overline { font-size: 1.25cqw; }
  .start-button { font-size: 1.5cqw; }
  .start-button .mono { font-size: 1cqw; }
  .cover-art .art-coordinate { font-size: .9cqw; }
  .companion-tag { font-size: 1.2cqw; }
  .companion-tag .mono { font-size: .85cqw; }
  .failure-list h3 { font-size: 2cqw; }
  .failure-list p { font-size: 1.5cqw; }
  .failure-code { font-size: .95cqw; }
  .failure-list article { padding-top: 1cqw; padding-bottom: 1cqw; }
  .station p { font-size: 1.3cqw; }
  .return-path span { font-size: 1.1cqw; }
  .world-map .map-intro { font-size: 1.5cqw; }
  .chapter-road > span { font-size: 1.15cqw; line-height: 1.65; }
  .chapter-road b { font-size: 1cqw; }
  .dual p { font-size: 1.5cqw; line-height: 1.6; }
  .choice-copy h3 { font-size: 1.65cqw; }
  .choice-copy { padding-top: .8cqw; margin-top: 1cqw; }
  .choice-copy p { line-height: 1.6; }
  .level-up { font-size: 1.15cqw; }
  .countdown > div .mono { font-size: 1.05cqw; }
  .countdown p { font-size: 1.5cqw; }
  .quest-road { margin-bottom: 1.5cqw; }
  .quest-road .mono { font-size: .95cqw; }
  .quest-road b { font-size: 1.35cqw; }
  .quest-road small { font-size: 1.05cqw; }
  .roadmap .copy > p:not(.subtitle):not(.metric-caption) { font-size: 1.5cqw; line-height: 1.6; }
  .streak-highlight strong { font-size: 6.3cqw; line-height: 1.2; }
  .streak-highlight > div .mono { font-size: 1.2cqw; }
  .streak-highlight div > span:last-child { font-size: 1.5cqw; }
  .support-note { margin: 1.1cqw 0; }
  .support-note h3 { font-size: 1.7cqw; }
  .practice-rule span { font-size: 1.5cqw; }
  .session-time > span:last-child { font-size: 1.5cqw; }
  .session-time small { font-size: 1.25cqw; }
  .attribute-list { font-size: 1.5cqw; }
  .legend { font-size: 1.25cqw; }
  .target-stats > div > span { font-size: 1.2cqw; }
  .target-stats { margin-top: 1cqw; }
  .target-stats strong { line-height: 1.3; }
  .speed-note { margin: 1cqw 0 .8cqw; padding: .5cqw 0; }
  .speed-note > div { font-size: 1.5cqw; }
  .weekly-metrics small { font-size: 1.35cqw; }
  .report-statement h3 { font-size: 1.8cqw; }
  .pro-label { font-size: 1.05cqw; }
  .journal-stats span { font-size: 1.25cqw; }
  .journal-stats { margin: 1.5cqw 0; }
  .mission-list li { font-size: 1.7cqw; }
  .achievement-kicker { font-size: 1.05cqw; }
  .achievement-names b { font-size: 1.05cqw; }
  .next-chapter { font-size: 1.15cqw; }
  .next-world span { font-size: 1.5cqw; }
  .finale p:not(.subtitle) { font-size: 1.5cqw; line-height: 1.6; }
  .download-callout > span { font-size: 1.35cqw; }
  .finale .download-callout { margin-top: 1.3cqw; }
}
@media(max-width:680px) and (orientation:portrait) {
  p, .dual p, .cover .body-copy, .failure-list p, .world-map .map-intro,
  .countdown p, .roadmap .copy > p:not(.subtitle):not(.metric-caption),
  .finale p:not(.subtitle) { font-size: max(16px, 4.35cqw); line-height: 1.75; }
  .subtitle, .dual .subtitle, .attributes .subtitle, .roadmap .subtitle,
  .cover .subtitle, .world-map .subtitle { font-size: max(18px, 4.9cqw); }
  .small-label, .report-statement .small-label, .quest-road .mono,
  .quest-road small, .chapter-road b, .chapter-road > span, .legend,
  .countdown > div .mono, .streak-highlight > div .mono,
  .journal-stats span, .weekly-metrics small, .target-stats > div > span,
  .session-time small, .next-chapter, .achievement-kicker, .pro-label,
  .download-callout > span, .paired-shots figcaption .mono {
    font-size: max(12px, 3.3cqw);
  }
  .metric-caption { font-size: max(12px, 3.3cqw)!important; }
  .shot figcaption, .paired-shots figcaption { font-size: max(13px, 3.6cqw); }
  .station p, .streak-highlight div > span:last-child,
  .attribute-list, .next-world span { font-size: max(15px, 4.1cqw); }
  .eyebrow { font-size: max(11px, 3cqw); }
  .slide-top > .mono { font-size: max(9px, 2.45cqw); }
  .slide-footer, .slide-footer > .mono { font-size: max(10px, 2.75cqw); }
  .companion-tag { font-size: max(13px, 3.6cqw); }
  .companion-tag .mono { font-size: 10px; }
}

/* A comic defeat screen: lost lives, a worried mascot, and a clear continue. */
.slide.failure {
  --ink: #fff7d6;
  --soft: #f0e8ff;
  --accent: #ffe16b;
  background-color: #493176;
}
.slide.failure::before {
  background: linear-gradient(110deg, #443069f7 0%, #633873f5 60%, #9b4a8bcf 100%);
}
.failure .slide-top { color: #f1d7ff; border-color: #c8a1d666; }
.failure .slide-top > .mono { color: #583066; background: #ffe391; border-color: #eebd6a; box-shadow: .18cqw .2cqw 0 #2d174e; }
.failure .text-only { padding-top: 1.6cqw; }
.is-active.failure .text-only { animation: none; }
.failure .section-heading { align-items: flex-start; }
.failure .game-over-title {
  font-size: 4.4cqw;
  line-height: 1.12;
  letter-spacing: -.05em;
  color: #ffcb68;
  text-shadow: .15cqw .2cqw 0 #ce586a, .3cqw .4cqw 0 #2f1b4e;
  transform: rotate(-1deg);
  transform-origin: left center;
  margin-bottom: .6cqw;
}
.failure h2 { font-size: 2.55cqw; color: #fff6db; text-shadow: .12cqw .15cqw 0 #302246; }
.failure h2 em { color: #ffb5ab; }
.failure .subtitle { font-size: 1.55cqw; color: #f0dafa; margin: .55cqw 0 0; line-height: 1.5; }
.failure .text-slide-mascot { width: 10.8cqw; height: 11.5cqw; top: auto; bottom: 1.8cqw; right: 3cqw; }
.defeat-aside { position: relative; margin-top: 9.5cqw; width: 18cqw; text-align: center; display: flex; align-items: center; justify-content: center; gap: .65cqw; }
.defeat-aside > span:last-child { font-size: 1.08cqw; color: #ffe4a3; font-weight: 700; white-space: nowrap; }
.empty-lives { font-size: 1.6cqw; color: #ffbdb9; white-space: nowrap; }
.failure .failure-list { margin-top: 1.35cqw; }
.failure .failure-list article {
  grid-template-columns: 5.2cqw 1fr auto;
  background: #fff8e8;
  border: .2cqw solid #edb686;
  border-radius: .65cqw;
  box-shadow: .32cqw .35cqw 0 #2f1b4e;
  padding: .7cqw 1.4cqw;
  margin-bottom: .65cqw;
}
.failure .failure-list article:nth-child(2) { background: #fff0df; border-color: #f29b92; }
.failure .failure-list article:nth-child(3) { background: #ffebe9; border-color: #ef939b; }
.failure .failure-list h3 { color: #553558; font-size: 2.1cqw; line-height: 1.45; }
.failure .failure-list p { color: #6e4a6d; font-size: 1.55cqw; line-height: 1.5; margin-top: .25cqw; }
.failure .failure-number { display: flex; flex-direction: column; align-items: center; gap: .2cqw; color: #a34e64; font-size: .9cqw; }
.lost-heart { position: relative; font-family: var(--sans); font-size: 2.6cqw; line-height: 1; color: #ef786e; text-shadow: .12cqw .16cqw 0 #bd515f; }
.lost-heart::after { content: '×'; color: #fff5dc; position: absolute; inset: 0; font-size: 1.7cqw; line-height: 1.35; text-align: center; font-weight: 900; text-shadow: .05cqw .07cqw 0 #9f4459; }
.failure .failure-code { color: #9a4d66; background: #f9dbe0; border-color: #d38da4; font-size: .9cqw; }
.revive-prompt { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; margin-top: 1.25cqw; }
.failure .turning-point { color: #ffeb9a; font-size: 1.5cqw; line-height: 1.5; margin: 0; }
.revive-button { display: inline-flex; align-items: center; gap: .9cqw; padding: .7cqw 1.2cqw; color: #423451; background: #ffdd64; border: .2cqw solid #ffc484; border-radius: .65cqw; box-shadow: 0 .35cqw 0 #a95860; font-size: 1.3cqw; font-weight: 850; white-space: nowrap; }
.revive-button > span:first-child { font-size: 2cqw; line-height: 1; }
.revive-button .mono { font-size: .8cqw; }
.revive-button:hover { background: #ffe992; transform: translateY(-2px); }
.revive-button:active { transform: translateY(2px); box-shadow: 0 .1cqw 0 #a95860; }
@media(max-width:680px) and (orientation:portrait) {
  .failure .text-only { padding-top: 7cqw; }
  .failure .game-over-title { font-size: 9.6cqw; margin-bottom: 3cqw; }
  .failure .section-heading { display: block; }
  .failure .section-heading h2 { font-size: 6.8cqw; max-width: none; }
  .failure .subtitle { font-size: max(16px, 4.35cqw); margin-top: 3cqw; }
  .failure .text-slide-mascot { display: block; width: 25cqw; height: 26cqw; right: 0; top: auto; bottom: 0; }
  .defeat-aside { margin: 5cqw 0 4cqw; width: 100%; min-height: 26cqw; align-items: flex-start; flex-direction: column; gap: 1cqw; }
  .defeat-aside > span:last-child { font-size: max(14px, 3.8cqw); }
  .empty-lives { font-size: 7cqw; }
  .failure .failure-list { margin-top: 4cqw; }
  .failure .failure-list article { grid-template-columns: 9cqw 1fr; padding: 4cqw 3cqw; margin-bottom: 3cqw; border-width: 2px; border-radius: 2cqw; box-shadow: 1cqw 1cqw 0 #2f1b4e; }
  .failure .failure-list h3 { font-size: max(17px, 4.65cqw); }
  .failure .failure-list p { font-size: max(16px, 4.35cqw); line-height: 1.7; margin-top: 2cqw; }
  .failure .failure-number { font-size: 3cqw; gap: 1cqw; }
  .lost-heart { font-size: 7cqw; }
  .lost-heart::after { font-size: 4.6cqw; }
  .revive-prompt { flex-direction: column; align-items: stretch; gap: 4cqw; margin-top: 6cqw; }
  .failure .turning-point { font-size: max(16px, 4.35cqw); }
  .revive-button { justify-content: center; padding: 3cqw 5cqw; gap: 3cqw; border-width: 2px; border-radius: 2cqw; font-size: max(17px, 4.65cqw); box-shadow: 0 1cqw 0 #a95860; }
  .revive-button > span:first-child { font-size: 6cqw; }
  .revive-button .mono { font-size: 3cqw; }
}
