/* Shared look for the pages under the Totochie front page. Same colours, type and sticker style. */
@font-face { font-family: "Fredoka"; src: url("/home/fonts/Fredoka.ttf") format("truetype"); font-weight: 300 700; font-style: normal; font-display: swap; }
:root {
  --ink: #17131f; --paper: #fffdf9; --sky: #9bdcf1; --sky-deep: #62c3e0; --grass: #4f9a63; --purple: #7e5192; --purple-soft: #f1e8f6;
  --orange: #f6992f; --cream: #fff4e0; --muted: #4a4458;
  --round: "Fredoka", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", "Nunito", "Varela Round", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--round); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 1.9rem); }
p { margin: 0; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border: 3px solid var(--ink); border-radius: 12px; z-index: 10; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--round); font-weight: 600; font-size: 1.1rem; text-decoration: none; padding: 13px 24px; border: 3px solid var(--ink); border-radius: 999px; background: var(--orange); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn.white { background: #fff; }
header.top { background: linear-gradient(var(--sky), var(--sky-deep)); border-bottom: 3px solid var(--ink); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
header.top img { width: 150px; }
nav { display: flex; gap: clamp(12px, 3vw, 28px); flex-wrap: wrap; }
nav a { font-family: var(--round); font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; padding-bottom: 2px; }
nav a:hover, nav a[aria-current] { border-bottom-color: var(--ink); }
main { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 68px); padding-block: clamp(22px, 4vw, 40px) clamp(48px, 8vw, 88px); }
.crumbs { font-size: 0.95rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-underline-offset: 3px; }
.lead { font-size: clamp(1.12rem, 2vw, 1.3rem); line-height: 1.45; max-width: 52ch; margin-top: 14px; }
.two { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 60px); align-items: start; }
.preview img { border: 3px solid var(--ink); border-radius: 16px; box-shadow: 7px 7px 0 var(--ink); background: #fff; }
.text { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.text p, .text li { max-width: 60ch; }
.get { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.facts { font-size: 0.98rem; color: var(--muted); }
.block { display: flex; flex-direction: column; gap: 10px; }
.block ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.verse { font-family: var(--round); font-weight: 500; font-size: 1.12rem; line-height: 1.55; background: var(--purple-soft); border: 3px solid var(--ink); border-radius: 18px; padding: 16px 20px; max-width: 34em; }
.more { display: flex; flex-direction: column; gap: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px 22px; }
.sheet { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.sheet img { border: 3px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); background: #fff; transition: transform .14s ease; }
.sheet:hover img { transform: rotate(-1.5deg) translateY(-3px); }
.sheet b { font-family: var(--round); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.sheet span { font-size: 0.95rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 34px 26px; }
.cards .sheet p { font-size: 0.98rem; }
.cards .sheet em { font-style: normal; font-family: var(--round); font-weight: 600; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.book { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--cream); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: clamp(18px, 3vw, 28px); }
.book img { border: 3px solid var(--ink); border-radius: 8px; transform: rotate(-3deg); }
.book div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.book p { max-width: 58ch; }
.note { display: flex; flex-direction: column; gap: 10px; }
.note ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; max-width: 66ch; }
.lost { text-align: center; align-items: center; }
.lost img { width: min(240px, 60vw); }
.lost .links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
footer { background: var(--ink); color: #f3eef8; padding-block: 34px; font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; }
footer nav a { font-family: var(--body); font-weight: 500; border: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0, 1fr); } .preview { max-width: 420px; } .book { grid-template-columns: minmax(0, 1fr); } .book img { max-width: 130px; } }
@media (max-width: 480px) { body { font-size: 17px; } header.top img { width: 124px; } }
@media (prefers-reduced-motion: reduce) { .btn, .sheet img { transition: none; } }
