/* Final site additions on top of design A: store menu, diary, drawings board, inner pages and upload form. */
:root { --hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; --wood: #B98450; --cork: #D7A46A; }

.ribbon { z-index: 1; }

/* ---------- Diary (gallery): an open hardcover book ----------
   Page paper and photos come from diario.css. With JS (site.js):
   - wide screens: faces are bound in pairs into leaves that turn over the spine (two flat pages)
   - phones: one page at a time inside the same cover
   Balam stands on the corner of the cover and turns the pages. */
.diary-heading { text-align: center; font-family: var(--hand); font-size: clamp(2.8rem, 8vw, 4.2rem); line-height: 1.1; color: var(--teal); margin: 0 0 34px; }
.diary-heading::after { content: ""; display: block; width: 2.6em; height: .22em; margin: .05em auto 0; border-radius: 99px; background: var(--sun); rotate: -2deg; }
.diary { max-width: 1120px; margin: 0 auto; }

/* The cover: teal cloth with stitching, spine down the middle, deep shadow on the table */
.book-frame {
  position: relative; margin: 0 auto; padding: clamp(10px, 1.7vw, 18px); border-radius: 16px 22px 22px 16px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #2A8A80, #1F7A72 45%, #17635C);
  box-shadow: 0 34px 60px -24px rgba(20, 50, 45, .55), 0 8px 18px rgba(20, 50, 45, .18), inset 0 0 0 2px rgba(255, 255, 255, .07), inset 0 0 40px rgba(0, 0, 0, .25);
}
.book-frame::before { content: ""; position: absolute; inset: 5px; border: 2px dashed rgba(255, 235, 170, .35); border-radius: 13px 18px 18px 13px; pointer-events: none; }
.book-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 34px; translate: -50% 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, .1) 55%, rgba(0, 0, 0, .28)); }
/* Ribbon bookmark: behind the pages, sticking out at the top and hanging below the cover */
.bookmark { position: absolute; z-index: 0; top: -8px; left: 80%; width: 20px; height: calc(100% + 44px); border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #C93A2C, #E8503F 50%, #C93A2C); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 14px), 0 100%); }
.book { position: relative; z-index: 1; }
.face { box-shadow: inset 0 0 0 1px rgba(120, 90, 40, .08); }
.face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(40, 30, 10, .05), rgba(40, 30, 10, .28)); }

/* Text on a page: sizes follow the page width; site.js shrinks it if a long note would not fit */
.page-text { position: absolute; inset: 7% 8% 10% 14%; overflow: hidden; display: flex; flex-direction: column; gap: .7em; font-size: clamp(12px, 3.5cqw, 19px); --fit: 1; font-size: calc(clamp(12px, 3.5cqw, 19px) * var(--fit)); }
.page-text h3 { margin: 0; font-size: 1.45em; line-height: 1.2; color: var(--teal); }
.diary-note { font-family: var(--hand); color: #4B3A2A; line-height: 1.9; background: repeating-linear-gradient(transparent 0 calc(1.9em - 1px), #E5DBC1 calc(1.9em - 1px) 1.9em); background-position: 0 .35em; }
.diary-note p { margin: 0 0 1.9em; }
.diary-note p:last-child { margin-bottom: 0; }
.muted-note { opacity: .4; font-size: 2em; }
.diary-num { position: absolute; bottom: 3.5%; right: 6%; font-family: var(--hand); color: var(--muted); font-size: clamp(.8rem, 2.6cqw, 1rem); }
.face-photos .diary-num { right: auto; left: 6%; }
.face-intro .page-text, .face-end .page-text { inset: 10%; align-items: center; justify-content: center; text-align: center; }
.intro-title { margin: 0; font-family: var(--hand); font-size: 3em; line-height: 1.1; color: var(--teal); rotate: -3deg; }
.intro-title.small { font-size: 2.2em; }
.intro-sub { margin: 0; color: var(--muted); font-size: 1.1em; max-width: 16em; }
.intro-hint { margin: .6em 0 0; font-weight: 800; color: var(--ink); }
.face-end .btn { font-size: max(.8em, 14px); }
.dp { cursor: zoom-in; transition: box-shadow .3s, scale .3s cubic-bezier(.34, 1.56, .64, 1); }
.dp:hover, .dp:focus-visible { scale: 1.05; z-index: 5; box-shadow: 0 2.4cqw 5cqw rgba(42, 40, 30, .35); }
.dp:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.diary-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 44px; font-weight: 700; }
.diary-nav .btn { padding: .6em 1.1em; }
.diary-nav .btn:disabled { opacity: .4; cursor: default; transform: none; box-shadow: none; }
html:not(.js) .diary-nav, html:not(.js) .diary-balam { display: none; }
html:not(.js) .book { display: grid; gap: 14px; }

/* Balam on the bottom corner of the cover, turned toward the pages; tap him to turn the page */
.diary-balam { position: absolute; z-index: 6; right: -56px; bottom: -36px; width: 176px; }
.diary-balam .balam { scale: -1 1; }
.diary-balam .balam-say { left: auto; right: 34%; translate: 0 0; }
.diary-balam .balam-say::after { left: auto; right: 14px; translate: 0 -1px; }
@media (max-width: 1240px) { .diary-balam { right: -12px; } }

/* Wide screens: open book, two flat pages, whole leaves turn over the spine */
.diary.mode-book .book { aspect-ratio: 1.6; perspective: 3000px; }
/* The whole open book (both pages) fits on the screen, also on short laptop screens */
.diary.mode-book .book-frame { width: min(100%, max(760px, calc((100vh - 230px) * 1.6 + 36px))); }
/* Pages under the leaves: endpapers, with the edges of the other pages peeking out */
.diary.mode-book .book::before, .diary.mode-book .book::after { content: ""; position: absolute; top: 0; bottom: 0; width: 50%;
  background: radial-gradient(rgba(31, 122, 114, .16) 2px, transparent 2.5px) 0 0 / 22px 22px, #E6F4F1; }
.diary.mode-book .book::before { left: 0; border-radius: 6px 0 0 6px; box-shadow: -2px 2px 0 #F4ECD6, -4px 4px 0 #E8DDC2, -6px 6px 0 #F4ECD6, -8px 8px 0 #E2D6B8, inset -20px 0 26px -18px rgba(0, 0, 0, .3); }
.diary.mode-book .book::after { right: 0; border-radius: 0 6px 6px 0; box-shadow: 2px 2px 0 #F4ECD6, 4px 4px 0 #E8DDC2, 6px 6px 0 #F4ECD6, 8px 8px 0 #E2D6B8, inset 20px 0 26px -18px rgba(0, 0, 0, .3); }
.leaf { position: absolute; z-index: 1; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d;
  transition: transform 1.05s cubic-bezier(.55, .05, .3, 1); cursor: pointer; }
.leaf.flipped { transform: rotateY(-180deg); }
.leaf > .face { position: absolute; inset: 0; aspect-ratio: auto; margin: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf > .face:first-child { border-radius: 0 6px 6px 0; box-shadow: inset 22px 0 26px -20px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(120, 90, 40, .08); }
.leaf > .face:last-child { transform: rotateY(180deg); border-radius: 6px 0 0 6px; box-shadow: inset -22px 0 26px -20px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(120, 90, 40, .08); }
/* While a leaf turns, its pages darken as they lift off the paper */
.leaf.is-turning > .face::after { animation: page-shade 1.05s ease-in-out; }
.leaf.is-turning > .face:last-child::after { animation-name: page-shade-back; }
@keyframes page-shade { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes page-shade-back { 0% { opacity: 0; } 50% { opacity: .8; } 100% { opacity: 0; } }
/* The corner of the right page curls a little: that is where Balam grabs it */
.leaf.is-top > .face:first-child::before { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; z-index: 3; transition: width .3s, height .3s;
  background: linear-gradient(315deg, transparent 50%, #E6DABD 50%, #FFFDF6 78%); box-shadow: -3px -3px 6px rgba(0, 0, 0, .08); border-radius: 0 0 6px 0; }
.leaf.is-top:hover > .face:first-child::before, .diary.is-pulling .leaf.is-top > .face:first-child::before { width: 58px; height: 58px; }

/* Phones: one page at a time, inside a single cover with the spine on the left */
.diary.mode-single .book-frame { max-width: 540px; padding-left: clamp(16px, 4vw, 22px); }
.diary.mode-single .book-frame::after { left: 6px; width: 14px; translate: 0 0; }
.diary.mode-single .bookmark { left: 72%; }
.diary.mode-single .book { display: grid; perspective: 1800px; box-shadow: 2px 2px 0 #F4ECD6, 4px 4px 0 #E8DDC2, 6px 6px 0 #F4ECD6; border-radius: 4px; }
.diary.mode-single .face { grid-area: 1 / 1; visibility: hidden; transform-origin: left center; backface-visibility: hidden; border-radius: 4px; box-shadow: inset 16px 0 20px -16px rgba(0, 0, 0, .28); }
.diary.mode-single .face.is-current, .diary.mode-single .face.is-under { visibility: visible; }
.diary.mode-single .face.is-current { z-index: 2; }
.diary.mode-single .face.is-under { z-index: 1; }
@media (max-width: 759px) { .diary-balam { width: 104px; right: -10px; bottom: -30px; } .diary-nav { margin-top: 38px; } }
@media (prefers-reduced-motion: reduce) { .leaf, .dp { transition: none; } .leaf.is-turning > .face::after { animation: none; } }

.center-actions { text-align: center; margin-top: 26px; }

/* ---------- Community board (from v2) ---------- */
.community { background: linear-gradient(180deg, var(--bg), #DDF2F5); }
.community-grid { display: grid; gap: 60px 48px; align-items: center; }
@media (min-width: 900px) { .community-grid { grid-template-columns: 1fr 1.1fr; } }
.community-grid > * { min-width: 0; }
.community .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.steps { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; color: var(--ink); font-size: 1rem; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.steps b { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); }
.safe { color: var(--muted); font-size: .95rem; margin-top: 16px; }
.board { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 34px 26px 26px; border-radius: 22px; border: 12px solid var(--wood); background: var(--cork) radial-gradient(rgba(120, 70, 20, .22) 1.2px, transparent 1.6px) 0 0 / 14px 14px; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08), 0 20px 50px rgba(42, 59, 58, .18); }
.board-balam { position: absolute; top: -104px; right: 26px; width: 130px; height: 92px; }
@media (max-width: 860px) {
  /* Phones: Balam's words go lower, so they never cover the buttons or the text above */
  .hero-balam { margin-top: 44px; }
  .diary-balam .balam-say { bottom: 34%; right: 84%; }
  .diary-balam .balam-say::after { left: 100%; right: auto; top: 50%; translate: -1px -50%; border-top-color: transparent; border-left-color: #22665E; }
}
.board-all { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 28px 22px; padding: 40px 26px 30px; }
.drawing { position: relative; margin: 0; background: var(--bg); border-radius: 6px; padding: 16px 12px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(var(--rot)); box-shadow: 0 10px 18px rgba(80, 45, 10, .28); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); background: var(--bg, #FFF9EC); }
.drawing:has(.doodle) { aspect-ratio: 1; }
.drawing:hover, .drawing:focus-within { transform: rotate(0) scale(1.06); z-index: 1; }
.drawing .doodle { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.drawing-img { width: 100%; aspect-ratio: 1; border-radius: 4px; background: #fff; }
.drawing-img img { object-fit: contain; background: #fff; }
.drawing figcaption { font-family: var(--hand); font-size: 1rem; color: #4B3A2A; margin-top: 8px; text-align: center; line-height: 1.3; }
.drawing figcaption small { display: block; font-size: .85rem; opacity: .8; }
.tape { position: absolute; top: -10px; left: 50%; width: 64px; height: 22px; margin-left: -32px; background: rgba(255, 255, 255, .6); transform: rotate(-5deg); z-index: 1; }

/* ---------- Inner pages ---------- */
.subpage > section { padding-top: 34px; }
.subpage h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.back { margin: 0 0 18px; font-weight: 700; }
.back a { text-decoration: none; }
.narrow { width: min(720px, 100% - 32px); }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal li { margin-bottom: .4em; }
.draft-banner { background: #FFF1CC; border: 2px dashed #E0A800; border-radius: 16px; padding: 12px 16px; }

/* ---------- Upload form ---------- */
.upload-form { display: grid; gap: 18px; }
.upload-form label { display: grid; gap: 6px; font-weight: 700; }
.upload-form label small { font-weight: 400; color: var(--muted); }
.upload-form input:not([type=checkbox]):not([type=file]), .upload-form select { font: inherit; padding: .75em .9em; border: 2px solid var(--teal-soft); border-radius: 14px; background: #fff; }
.upload-form input:focus, .upload-form select:focus { outline: 3px solid var(--sun); border-color: var(--teal); }
.file-drop { position: relative; display: flex !important; align-items: center; gap: 14px; flex-wrap: wrap; padding: 22px; border: 3px dashed var(--teal); border-radius: 20px; background: var(--teal-soft); cursor: pointer; }
.file-drop span { display: grid; }
.file-drop-icon { font-size: 2.4rem; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.file-preview { width: 100%; max-height: 320px; object-fit: contain; border-radius: 12px; background: #fff; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px !important; font-weight: 400 !important; background: var(--sun-soft); padding: 14px; border-radius: 16px; }
.consent input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--teal); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.big-btn { justify-content: center; font-size: 1.1rem; padding: 1em; }
.form-error { background: #FDE2DC; color: #7A1E0E; border-radius: 16px; padding: 12px 16px; font-weight: 700; }
.upload-done { text-align: center; }
.upload-done .peek { width: 150px; height: 140px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) { .drawing { transition: none; } }


/* Book library (libros.php): buy buttons go to each book's Mercado Libre listing */
.library { margin-top: 28px; }
/* Two prices: Mercado Libre in MXN with shipping, Amazon in USD (price_block() in views.php) */
.prices { display: grid; gap: 8px; margin-bottom: 10px; }
.prices .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0; line-height: 1.15; }
.prices .price-usd { font-size: 1.3rem; }
.price-note { flex-basis: 100%; font-size: .82rem; font-weight: 700; color: var(--muted); }
/* a section with only one or two books keeps book-sized cards, centered (no full-width cover) */
@media (min-width: 700px) { .grid.library { grid-template-columns: repeat(auto-fit, minmax(300px, 340px)); justify-content: center; } /* 3 × 340 fits the 1120 px page */ }
.library .book h2, .library .book h3 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 8px; }
/* Store: single books, then packs (libros.php) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shop-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.shop-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 18px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 800; text-decoration: none; box-shadow: 0 4px 14px rgba(42, 59, 58, .1); border: 2px solid #EADFC4; }
.shop-jump a:hover { border-color: var(--teal); }
.shop-jump a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.shop-jump b { background: var(--sun-soft); color: #7A5A00; border-radius: 99px; padding: 0 9px; font-size: .9rem; }
.shop-title { font-size: clamp(1.5rem, 4vw, 2rem); margin: 44px 0 0; scroll-margin-top: 110px; text-align: center; }
.packs-head { margin-top: 56px; padding-top: 34px; border-top: 3px dashed #EADFC4; scroll-margin-top: 100px; }
.packs-head .shop-title { margin-top: 0; }
.packs-head > p { max-width: 640px; margin: 8px auto 0; color: var(--muted); }
/* Collections: own section; an age-restricted one shows a notice the visitor ticks before seeing it */
.shop-jump small { font-weight: 800; color: #9B2C2C; }
.age-pill { display: inline-block; vertical-align: middle; font-size: .55em; background: #FDE2E1; color: #9B2C2C; border-radius: 99px; padding: .15em .6em; }
.age-gate { max-width: 560px; margin: 26px auto 0; padding: 26px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.age-gate p { margin: 0; }
.age-badge { font-size: 1.6rem; font-weight: 900; color: #9B2C2C; }
.age-gate .check { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-weight: 700; min-height: 44px; cursor: pointer; }
.age-gate .check input { width: 24px; height: 24px; flex: none; margin-top: 1px; accent-color: var(--teal); }
.age-gate .btn { min-height: 48px; min-width: 180px; }
.age-note { font-size: .88rem; color: var(--muted); }
.packs-grid { margin-top: 22px; }
.bundle .pack-cover { display: grid; place-items: center; font-size: 4rem; background: linear-gradient(135deg, var(--sun-soft), #FFF5D6); }
.bundle .pack-cover > img { width: 100%; height: 100%; object-fit: cover; }
.fan { position: relative; display: block; width: 100%; height: 100%; }
.bundle .fan img { position: absolute; top: 50%; left: 50%; width: 52%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; box-shadow: 0 8px 20px rgba(42, 59, 58, .28); border: 3px solid #fff; transition: transform .4s; }
.bundle .fan-1 img { transform: translate(-50%, -50%); width: 62%; }
.fan-2 img:nth-child(1) { transform: translate(-80%, -50%) rotate(-7deg); }
.fan-2 img:nth-child(2) { transform: translate(-20%, -48%) rotate(6deg); }
.fan-3 img:nth-child(1) { transform: translate(-95%, -48%) rotate(-10deg); }
.fan-3 img:nth-child(2) { transform: translate(-50%, -54%); z-index: 1; }
.fan-3 img:nth-child(3) { transform: translate(-5%, -48%) rotate(10deg); }
.bundle:hover .fan img { transform: translate(-50%, -50%); }
.bundle:hover .fan-2 img:nth-child(1) { transform: translate(-90%, -50%) rotate(-11deg); }
.bundle:hover .fan-2 img:nth-child(2) { transform: translate(-10%, -48%) rotate(10deg); }
.bundle:hover .fan-3 img:nth-child(1) { transform: translate(-105%, -48%) rotate(-14deg); }
.bundle:hover .fan-3 img:nth-child(2) { transform: translate(-50%, -57%); }
.bundle:hover .fan-3 img:nth-child(3) { transform: translate(5%, -48%) rotate(14deg); }
.pack-ribbon { background: var(--teal, #1F7A72); color: #fff; }
.pack-items { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.pack-items li { padding: 6px 10px; border-radius: 10px; background: #F6F1E4; font-size: .95rem; overflow-wrap: anywhere; }
.pack-items b { color: var(--teal, #1F7A72); }
.library .pack-deal { flex: none; margin: 2px 0 8px; font-size: .92rem; color: var(--muted); }
.pack-deal b { color: #157A4C; }
@media (prefers-reduced-motion: reduce) { .bundle .fan img { transition: none; } }
.btn-ml { background: #FFE600; color: #2D3277; box-shadow: inset 0 0 0 2px #E8CF00; }
.btn-ml:hover, .btn-ml:focus-visible { background: #FFEB33; color: #1F2466; }
/* Mercado Libre's handshake in a white circle (buttons, footer) */
.ml-mark.ico { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin: -.2em .1em -.2em -.3em; border-radius: 50%; background: #fff; font-size: .85em; line-height: 1; box-shadow: inset 0 0 0 2px #2D3277; vertical-align: middle; }
/* Store buttons: one per link the author added (libros.php) */
.btn-amz { background: #232F3E; color: #fff; box-shadow: inset 0 0 0 2px #131A22; }
.btn-amz:hover, .btn-amz:focus-visible { background: #37475A; color: #fff; }
/* Mercado Pago blue, darkened so the white text stays readable */
.btn-mp { background: #0074B7; color: #fff; box-shadow: inset 0 0 0 2px #00609A; }
.btn-mp:hover, .btn-mp:focus-visible { background: #00649E; color: #fff; }
.soon-note { margin: 12px 0 0; font-weight: 700; color: var(--muted); }
.library .book-desc { color: var(--muted); }
.library .book-desc p { flex: none; margin: 0 0 .6em; }
.library .book-buy { margin-top: auto; padding-top: 6px; }
.library .buy-row .btn { flex: 1 1 auto; justify-content: center; }
.pay-note > div p { margin: 0; }

/* "Ver más…": long texts show their first lines; the button opens the rest and the page grows (site.js) */
.js [data-more] { display: block; overflow: hidden; max-height: calc(var(--lines) * 1lh); transition: max-height .4s ease; }
@supports not (max-height: 1lh) { .js [data-more] { max-height: calc(var(--lines) * 1.6em); } }
.js [data-more].is-cut:not(.is-open) { -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.js [data-more].is-open { max-height: none; }
.more-btn {
  font: inherit; font-weight: 800; color: var(--teal); background: none; border: 0; padding: 6px 0; margin: 2px 0 8px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 40px;
}
.more-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.donate .more-btn, .contact .more-btn { color: inherit; }
.center > .more-btn, .contact .more-btn { display: block; margin-left: auto; margin-right: auto; }
.fact [data-more] p, .donate [data-more] p { margin: 0; }
.about-text p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .js [data-more] { transition: none; } }

/* Footer image: the original drawing is shown inverted on the dark footer; a replaced one keeps its colors */
.foot-img { display: inline-block; }
footer .foot-img:not(.is-default) img { filter: none; opacity: 1; border-radius: 14px; }.more-btn[hidden] { display: none !important; }.library .buy-row .btn { font-size: .95rem; padding: .7em 1.05em; line-height: 1.2; white-space: nowrap; min-height: 48px; }
@media (max-width: 1000px) and (min-width: 700px) { .library .buy-row .btn { white-space: normal; } }
