/* One tale's page (Catalog\View\TaleView), mock-up A v3 approved by the owner on 2026-11-15:
   the example book's pictures on top (edge to edge on a phone), the free preview and one button
   beside them, then how it works, the lessons, the finished book, its film, the family, the
   questions, one last invitation and the tale itself, folded. The site header and the tale's bottom
   dock stay in reach. Tokens: assets/styles.css :root. */
:root { --tale-action-gradient: linear-gradient(120deg, #bf405e, var(--premium-rose)); }
.tale-v3 {
  --tint-plum: #f3edf9; --tint-gold: #fdf3df; --tint-mint: #e7f6f0; --tint-coral: #fdeeea;
  --tv-pad: 20px; --tv-max: 1120px;
  /* One radius scale on the site's --radius and one card shadow (both reviewers, 2026-11-15: eight radii were in use). */
  --tv-r-s: 10px; --tv-r-m: var(--radius); --tv-r-l: 28px;
  --tv-card-shadow: 0 1px 2px rgba(51, 40, 59, .04), 0 6px 18px rgba(51, 40, 59, .06);
  display: block; color: var(--ink); font-size: 17px; line-height: 1.6; padding-bottom: 56px;
}
.tale-v3 h1, .tale-v3 h2, .tale-v3 h3 { font-family: var(--display); line-height: 1.15; margin: 0; color: var(--ink); }
.tale-v3 h2 { font-size: 28px; }
.tale-v3 h3 { font-size: 19px; }
.tale-v3 p { margin: 0; }
.tale-v3 img { display: block; max-width: 100%; }
.tv-wrap { max-width: var(--tv-max); margin: 0 auto; padding: 0 var(--tv-pad); }
.tv-section { padding-top: 56px; scroll-margin-top: 70px; }
.tv-head { margin-bottom: 24px; }
.tv-head p { margin-top: 8px; color: var(--ink-soft); }
.tv-eyebrow { display: block; margin-bottom: 6px; font: 800 13px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--plum); }

/* Buttons and the price line */
.tv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 10px 28px; border: 0; border-radius: 999px; font: 800 17px/1.25 var(--body); text-align: center; text-decoration: none; cursor: pointer; }
.tv-btn-primary { background: linear-gradient(135deg, #ff8a6b, #ff6f7d); color: #fff; box-shadow: 0 10px 24px rgba(255, 111, 125, .35); }
.tv-btn-primary:hover { filter: brightness(1.04); }
.tv-btn-soft { background: var(--tint-plum); color: var(--plum-dark); }
.tv-btn-block { width: 100%; }
.tv-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.tale-v3 .tv-price { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); text-align: center; }
.tv-price b { color: var(--ink); }
.tale-v3 .tp-badge { margin-top: 10px; }

/* Lines that broke with one word alone on the last (both reviewers). */
.tv-title, .tv-kind, .tale-v3 h2, .tale-v3 .tv-price, .tv-final p { text-wrap: balance; }

/* The gallery: swiped on a phone, thumbnails on a wide screen (assets/tale.js).
   Left to right in every language, so the script's arithmetic holds; the tags keep their own direction. */
.tv-gal { position: relative; }
.tv-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; direction: ltr; overscroll-behavior-x: contain; outline: 0; }
.tv-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .tv-track { scroll-behavior: smooth; } }
.tv-slide { position: relative; flex: 0 0 100%; aspect-ratio: 6 / 5; overflow: hidden; scroll-snap-align: start; background: var(--cream-2); }
.tv-slide > img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.tv-slide-emoji { display: grid; place-items: center; font-size: 96px; }
/* The gallery's lower edge carries the example book and the film (.tv-pills, below). */
.tv-stage { position: relative; }
.tv-tag { position: absolute; left: 12px; top: 12px; z-index: 3; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 13px; font-weight: 800; line-height: 1.3; color: var(--plum-dark); }
[dir="rtl"] .tv-tag { direction: rtl; left: auto; right: 12px; }
.tv-polaroid { position: absolute; left: 12px; bottom: 30px; z-index: 2; width: 31%; margin: 0; padding: 5px 5px 0; border-radius: var(--tv-r-s); background: #fff;
  transform: rotate(-6deg); box-shadow: 0 14px 30px rgba(40, 25, 55, .35); }
.tv-polaroid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.tv-polaroid figcaption { direction: inherit; }
[dir="rtl"] .tv-polaroid figcaption { direction: rtl; }
.tv-polaroid b { display: block; padding: 6px 2px 9px; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; font: italic 700 15px/1.2 var(--display); color: var(--ink); }
.tv-polaroid small { display: block; padding: 1px 4px 8px; text-align: center; font-size: 11px; line-height: 1.25; color: var(--ink-soft); text-wrap: balance; hyphens: none; }
[dir="rtl"] .tv-polaroid b { font-style: normal; }   /* the Arabic display face has no italic: the browser slanted it */
.tv-arrow { position: absolute; left: 0; top: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55)); }
.tv-arrow path { vector-effect: non-scaling-stroke; }
.tv-arrow-d { display: none; }
/* The hero's face on the left half: the photo goes to the right (TaleView::gallery()). */
.tv-slide-hero.is-right .tv-polaroid { left: auto; right: 12px; transform: rotate(6deg); }
.tv-slide-film { background: radial-gradient(circle at 50% 30%, #4a3560, #241a30); }
.tv-slide-lessons > img { filter: blur(3px) saturate(.9) brightness(.62); transform: scale(1.06); }
/* The gallery's last slide (TaleView::gallery(), owner 2026-11-17: "masal bitti, izleri kaldı"): the lessons'
   sentences over the book's last page, darkened — words, not a drawn picture, so a changed lesson needs no new one. */
.tv-slide-lessons::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, rgba(29, 20, 48, .25), rgba(29, 20, 48, .7)); }
.tv-lessons-card { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 22px 26px; text-align: center; color: #fff; }
.tv-lessons-orn { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: #f5d58a; font-size: 13px; line-height: 1; }
.tv-lessons-orn span { width: 40px; height: 1px; background: linear-gradient(90deg, transparent, #f5d58a); }
.tv-lessons-orn span:last-child { background: linear-gradient(90deg, #f5d58a, transparent); }
.tv-lessons-title { margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 5.4vw, 30px); line-height: 1.12;
  text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.tv-lessons-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 440px; }
.tv-lessons-list li { padding: 8px 14px; border-radius: 12px; background: rgba(255, 253, 249, .12); border: 1px solid rgba(245, 213, 138, .45);
  font-size: clamp(13.5px, 3.4vw, 15.5px); font-weight: 700; line-height: 1.3; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); text-wrap: balance; }
.tv-lessons-list li::before { content: "✦ "; color: #f5d58a; }
.tv-lessons-more { margin-top: 12px; color: #f5d58a; font-size: 13px; font-weight: 800; text-decoration: none; }
.tv-lessons-more:hover { text-decoration: underline; }
.tv-thumb-lessons { position: absolute; inset: 0; display: grid; place-items: center; color: #f5d58a; font-size: 22px; background: rgba(29, 20, 48, .55); }
/* The film in the gallery (owner, 2026-11-18: "çok dar bir gösterim"): a tall film in a wide window was a strip a
   third of the window wide. Until it plays, its first picture fills the window; playing, the window itself grows to
   the film's height on a phone (tale.js, .tv-gal.is-film) — on a wide screen the window is tall already. */
.tv-vbox { position: absolute; inset: 0; }
.tv-vbox video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; background: #1d1430; }
.tv-slide-film.playing .tv-vbox video { object-fit: contain; }
@media (max-width: 959px) {
  .tv-gal.is-film .tv-slide-film { aspect-ratio: 9 / 16; max-height: calc(100svh - 132px); }
  .tv-gal.is-film .tv-count { display: none; }
}
.tv-play { display: none; position: absolute; inset: 0; z-index: 2; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.tv-gal.is-ready .tv-play { display: grid; }
.tv-play span { display: grid; place-items: center; width: 76px; height: 76px; padding-left: 6px; border-radius: 50%; background: rgba(255, 255, 255, .95); font-size: 28px; color: var(--plum); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.tv-slide-film.playing .tv-play, .tv-slide-film.playing .tv-tag { display: none; }
/* Which picture of how many, in the corner (a phone: a wide screen has the thumbnails). It was a row of dots on the
   lower edge, where the two buttons now are. */
.tv-count { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(29, 20, 48, .62);
  color: #fff; font: 800 12px/1.3 var(--body); letter-spacing: .04em; direction: ltr; pointer-events: none; }
.tv-thumbs { display: none; }

/* Beside the pictures: name, free preview, button, price, facts, the way down to the tale */
.tv-info { padding: 18px var(--tv-pad) 8px; }
.tv-crumb { display: none; font-size: 15px; font-weight: 700; color: var(--plum); text-decoration: none; }
[dir="rtl"] .tv-crumb span { display: inline-block; transform: scaleX(-1); }
.tale-v3 .tv-h1 { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
/* The name a size smaller than v3's first cut, smaller again when it is long (owner, 2026-11-15: "çok mu büyük?"). */
.tv-title { font-size: 34px; line-height: 1.1; letter-spacing: -.01em; }
.tv-title.is-long { font-size: 30px; }
/* Fraunces has no Arabic: the display fallback joins its letters, so no negative tracking and a little more room. */
[dir="rtl"] .tv-title { letter-spacing: 0; line-height: 1.25; }
.tv-kind { font: 400 15px/1.45 var(--body); color: var(--ink-soft); }   /* one line on a phone (owner) */
/* What the book is, at first glance: its pages, the read-aloud, the film (owner, 2026-11-15). */
.tv-readlink { display: inline-block; margin: 16px 0 0; font: 700 15px/1.35 var(--body); color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.tv-readlink span { display: inline-block; margin-left: 6px; text-decoration: none; }
[dir="rtl"] .tv-readlink span { margin: 0 6px 0 0; }
.tv-feats-box { margin: 0 0 16px; }
.tale-v3 .tv-feats-label { margin: 0 0 6px; font: 700 12px/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #2f8a6d; }
.tv-feats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font: 700 14px/1.3 var(--body); color: var(--ink); }
.tv-feats li { display: inline-flex; }
.tv-feat { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 2px 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.tv-feat-name { text-decoration: underline dotted; text-decoration-color: #c9b8a6; text-underline-offset: 4px; }
.tv-feat[aria-expanded="true"] .tv-feat-name { color: var(--plum); text-decoration-color: var(--plum); }
@media (max-width: 400px) { .tv-feats { gap: 6px 8px; font-size: 13px; } .tv-feat { gap: 3px; } .tale-v3 .tv-feats .tv-feat-icon { font-size: 17px; } }
.tale-v3 .tv-feat-link { font-weight: 800; color: var(--plum); white-space: nowrap; }
.tale-v3 .tv-feat-note { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--tint-plum); font: 400 14px/1.45 var(--body); color: var(--ink); }
.tale-v3 .tv-feat-icon { font-size: 19px; color: var(--plum); }
/* A returning reader: the read-aloud and the film with their extra credits, small, on the same line and baseline
   as the name (and after the line in the digital book's list). */
.tv-feat-text { display: block; white-space: nowrap; }
.tale-v3 .tv-extra { font: 700 11px/1 var(--body); color: #9a6a12; white-space: nowrap; }
.tv-feat-text .tv-extra { margin-inline-start: 4px; }
/* The free preview as one premium card, the button in it (owner, 2026-11-15: "daha premium/elite"). */
.tv-offer { position: relative; margin: 0 0 4px; padding: 16px; border: 1px solid rgba(201, 150, 60, .38); border-radius: var(--tv-r-m);
  background: linear-gradient(160deg, #eef9f4 0%, #fbfdf9 48%, #fffdf9 100%); box-shadow: var(--tv-card-shadow); }
.tv-offer-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.tv-offer-fan { position: relative; flex: none; width: 76px; height: 66px; }
.tv-offer-fan img { position: absolute; top: 6px; width: 36px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border: 2px solid #fff; border-radius: 5px; box-shadow: 0 4px 10px rgba(51, 40, 59, .22); }
.tv-offer-fan img:nth-child(1) { left: 0; transform: rotate(-10deg); }
.tv-offer-fan img:nth-child(2) { left: 13px; transform: rotate(-4deg); }
.tv-offer-fan img:nth-child(3) { left: 26px; transform: rotate(2deg); }
.tv-offer-fan img:nth-child(4) { left: 39px; transform: rotate(8deg); }
.tv-offer-text { min-width: 0; }
.tv-offer-eyebrow { display: block; font: 800 11px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #2f8a6d; }
.tv-offer-eyebrow span { color: #c8923a; }
.tv-offer-title { display: block; margin-top: 4px; font: 700 17px/1.3 var(--display); color: var(--ink); text-wrap: balance; }
.tv-btn-spark { font-size: 15px; }
.tale-v3 .tv-offer .tv-price { margin-top: 10px; }
/* The example book and the film: two buttons half on the gallery's lower edge, half under it, one at each end
   (TaleView::heroPills(); owner, 2026-11-18). Nothing sits on the picture but the child's photo. */
.tv-pills { position: absolute; left: 12px; right: 12px; bottom: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 10px; transform: translateY(50%); pointer-events: none; }
.tv-pills > * { pointer-events: auto; min-width: 0; }
.tv-pills .tv-readex { flex: 0 1 auto; }
.tv-pills .tv-watch { flex: none; margin-inline-start: auto; }
.tv-gal.is-film .tv-pills { display: none; }
/* Room under the edge for the half that hangs out, and the dots and the child's photo clear of the half that is in. */
.tv-gal.has-pills { margin-bottom: 18px; }
.tv-gal.has-pills .tv-polaroid { bottom: 36px; }
.tv-readex, .tv-watch { display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; background: var(--tale-action-gradient);
  color: #fff; font: 800 14px/1.2 var(--body); white-space: nowrap; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 2px #fff, 0 10px 24px rgba(0, 0, 0, .32); }
.tv-readex > span:last-child, .tv-watch > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.tv-readex:hover, .tv-watch:hover { color: #fff; filter: brightness(1.05); }
/* The example book pill nudges four times before resting (owner, 2026-11-18). */
@media (prefers-reduced-motion: no-preference) {
  .tale-v3 .tv-readex { animation: tv-nudge 4.5s ease-in-out 1.5s 4; }
}
@keyframes tv-nudge {
  0%, 70%, 100% { transform: none; box-shadow: 0 0 0 2px #fff, 0 10px 24px rgba(0, 0, 0, .32), 0 0 0 2px rgba(255, 255, 255, 0); }
  74% { transform: rotate(-3deg) scale(1.05); box-shadow: 0 0 0 2px #fff, 0 10px 24px rgba(0, 0, 0, .32), 0 0 0 3px rgba(255, 255, 255, .75); }
  79% { transform: rotate(3deg) scale(1.05); }
  84% { transform: rotate(-2deg) scale(1.03); }
  89% { transform: rotate(1deg); box-shadow: 0 0 0 2px #fff, 0 10px 24px rgba(0, 0, 0, .32), 0 0 0 14px rgba(255, 255, 255, 0); }
}
.tv-watch-short { display: none; }
/* A narrow phone: both a size down, so the two still share the edge without the book's words being cut. */
@media (max-width: 379px) {
  .tale-v3 .tv-pills .tv-readex, .tale-v3 .tv-pills .tv-watch { padding: 5px 12px 5px 5px; font-size: 12.5px; gap: 6px; }
  .tale-v3 .tv-pills .tv-watch-icon { width: 28px; height: 28px; font-size: 18px; }
  .tv-pills { left: 8px; right: 8px; gap: 6px; }
}
@media (max-width: 339px) { .tv-watch-short.is-timed { display: none; } }
@media (max-width: 899px) {
  .tv-watch-long { display: none; }
  .tv-watch-short { display: inline; }
}
.tale-v3 .tv-watch-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--premium-rose); font-size: 20px; }
[dir="rtl"] .tv-watch > span:last-child, [dir="rtl"] .tv-readex > span:last-child { direction: rtl; }
.tv-facts { display: grid; gap: 10px; margin: 14px 0 4px; padding: 14px 16px; border-radius: var(--tv-r-m); background: var(--paper); box-shadow: var(--tv-card-shadow); list-style: none; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.tv-facts > li { display: flex; gap: 10px; align-items: flex-start; }
/* The digital book's formats under it: the e-book, the video, the PDF (owner, 2026-11-15). */
.tv-formats { display: grid; gap: 3px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.45; letter-spacing: -.005em; }
.tv-formats li { display: block; position: relative; padding-inline-start: 12px; }
/* Small phones (360 px): one line each still (owner, 2026-11-15: "mümkün olduğunca tek satırda"). */
@media (max-width: 380px) { .tv-facts { padding-inline: 12px; } .tv-formats { font-size: 12.3px; letter-spacing: -.01em; } }
.tv-formats li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--plum); opacity: .7; }
.tale-v3 .tv-fact-icon { flex: none; width: 20px; font-size: 20px; line-height: 1.45; color: var(--plum); }
.tv-facts b { color: var(--ink); }

/* How it works: three small drawn steps */
.tv-how { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tv-step { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--tv-r-m); background: var(--paper); box-shadow: var(--tv-card-shadow); }
.tv-art { position: relative; display: grid; place-items: center; width: 96px; height: 96px; overflow: hidden; border-radius: var(--tv-r-s); }
.tv-step:nth-child(1) .tv-art { background: var(--tint-gold); }
.tv-step:nth-child(2) .tv-art { background: var(--tint-mint); }
.tv-step:nth-child(3) .tv-art { background: var(--tint-plum); }
.tv-step.is-free { background: #f2fbf7; box-shadow: inset 0 0 0 2px #bfe8d8, var(--tv-card-shadow); }
.tv-step-text b { display: flex; align-items: flex-start; gap: 8px; font: 700 18px/1.25 var(--display); }
.tv-step-text b i { flex: none; margin-top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 12px var(--body); font-style: normal; }
.tv-step-text > span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.tv-ribbon { position: absolute; top: 6px; right: 6px; padding: 2px 6px; border-radius: 6px; background: #2f8a6d; color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tv-phone { display: grid; place-items: center; width: 50px; height: 78px; padding: 3px; border: 3px solid #2f2638; border-radius: 10px; background: #fff; box-shadow: 0 6px 14px rgba(60, 40, 80, .2); }
.tv-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.tv-phone-icon { font-size: 26px; color: var(--plum); }
.tv-mini { display: flex; align-items: center; gap: 3px; direction: ltr; }
.tv-mini-photo { width: 30px; padding: 2px 2px 6px; border-radius: 4px; background: #fff; transform: rotate(-6deg); box-shadow: 0 4px 8px rgba(60, 40, 80, .2); }
.tv-mini-photo img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.tv-mini-arrow { font-size: 12px; font-weight: 900; color: #2f8a6d; }
.tv-mini-stack { position: relative; width: 46px; height: 62px; }
.tv-mini-stack img { position: absolute; width: 38px; aspect-ratio: 2 / 3; object-fit: cover; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 4px 10px rgba(60, 40, 80, .22); }
.tv-mini-stack img:nth-child(1) { left: 0; top: 4px; transform: rotate(-7deg); }
.tv-mini-stack img:nth-child(2) { left: 8px; top: 0; transform: rotate(5deg); }
.tv-tablet { position: relative; width: 74px; aspect-ratio: 4 / 3; overflow: hidden; border: 3px solid #2f2638; border-radius: 8px; background: #000; box-shadow: 0 6px 14px rgba(60, 40, 80, .22); }
.tv-tablet img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.tv-tablet-play { position: absolute; inset: 0; display: grid; place-items: center; }
.tv-tablet-play b { display: grid; place-items: center; width: 20px; height: 20px; padding-left: 2px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--plum); font-size: 9px; }

/* The finished example book, page by page: swiped on a phone */
.tv-pages { display: flex; gap: 12px; margin: 0 calc(-1 * var(--tv-pad)); padding: 4px var(--tv-pad) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tv-pages::-webkit-scrollbar { display: none; }
.tv-pages figure { flex: 0 0 72%; margin: 0; scroll-snap-align: center; }
.tv-pages img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--tv-r-s); box-shadow: 0 6px 18px rgba(51, 40, 59, .10); }
.tv-pages figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.tv-pages figcaption b { color: var(--plum); }
.tale-v3 .tv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
[dir="rtl"] .tv-actions .tv-btn span { display: inline-block; transform: scaleX(-1); }
.tale-v3 .tv-others-heading { margin: 32px 0 12px; }
.tv-others { display: grid; gap: 10px; }
.tv-other { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--tv-r-m); background: var(--paper); box-shadow: var(--tv-card-shadow); scroll-margin-top: 80px; }
.tv-other-cover img { width: 60px; height: 90px; object-fit: cover; border-radius: 6px; }
.tv-other > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ink-soft); }
.tv-other-title { font-weight: 800; color: var(--plum-dark); text-decoration: none; font-size: 16px; }
.tv-other-film { color: var(--plum); text-decoration: none; }

/* The film */
.tv-film { display: grid; gap: 20px; align-items: center; }
.tv-film .tale-film-player { width: 100%; max-width: min(360px, calc(72vh * 9 / 16)); margin: 0 auto; }
.tv-film .tale-film-video { max-width: none; border-radius: var(--tv-r-l); }
.tale-film-player.is-ready .tv-play { display: grid; }
.tale-film-player.playing .tv-play { display: none; }
.tv-when { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--tint-plum); color: var(--plum-dark); font-size: 13px; font-weight: 800; }
.tale-v3 .tv-note { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* The family's parts */
.tv-parts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tv-part { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--tv-r-m); background: var(--paper); box-shadow: var(--tv-card-shadow); }
.tv-part-face { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 28px; box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(51, 40, 59, .12); }
.tv-part-0 .tv-part-face { background: var(--tint-gold); color: #a7701a; }
.tv-part-1 .tv-part-face { background: var(--tint-plum); color: var(--plum); }
.tv-part-2 .tv-part-face { background: var(--tint-mint); color: #2f8a6d; }
.tv-part-3 .tv-part-face { background: var(--tint-coral); color: #c4513f; }
.tv-part b { display: block; font-size: 17px; line-height: 1.3; }
.tv-part b + span { display: block; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
/* Each relation named opens its own stories page (/stories/for-grandfathers, owner 2026-11-16). */
.tv-part b + span a { color: var(--plum); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.tv-part b + span a:hover { color: var(--plum-dark); }

/* A note for this store's readers above what the child learns (db/tale-store-notes.php). */
.tv-store-note-wrap { padding-top: 40px; }
.tv-store-note { max-width: 46em; padding: 14px 18px; border-radius: var(--tv-r-m); background: var(--tint-gold); color: var(--ink); font-size: 15px; line-height: 1.55; }
.tv-store-note-wrap + .tv-lessons { padding-top: 24px; }

/* Under the example book: more tales like this one — its special days, its interest (TaleView::more()). */
.tv-anchor { display: block; height: 0; scroll-margin-top: 70px; }
.tv-more .tv-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 22px; }
.tv-more-lead { flex: 0 0 auto; margin-inline-end: 2px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
/* Quieter than the book's own "Read all pages" (no fill): a way on, not a second main button. */
.tv-more-link { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 5px 13px; border: 1px solid #e3d8ef; border-radius: 999px; background: var(--paper); color: var(--plum-dark); font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.tv-more-link:hover { border-color: var(--plum); }
.tv-more-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* What the child learns (Lesson\View\LessonView): one card style — paper, a gold numeral, no borders */
.tv-lessons .tale-lessons { margin: 0; }
.tv-lessons .story-detail-sub { margin: 0; font: 700 28px/1.15 var(--display); color: var(--ink); }
.tv-lessons .tale-lessons > .step-hint { margin: 8px 0 24px; font-size: inherit; line-height: 1.6; color: var(--ink-soft); }
.tv-lessons .tale-lessons-list { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
.tv-lessons .tale-lesson { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 18px; border: 0; border-radius: var(--tv-r-m); background: var(--paper); box-shadow: var(--tv-card-shadow); }
.tv-lessons .tale-lesson-mark { width: auto; height: auto; border-radius: 0; background: none; color: #d9a13b; font: 700 30px/1 var(--display); justify-content: flex-start; }
.tv-lessons .tale-lesson h3 { margin: 0 0 4px; font-size: 17px; }
.tv-lessons .tale-lesson p { font-size: 15px; line-height: 1.5; }
.tv-lessons .tale-lesson-scene p { font-size: 14px; }
/* Shorter on a phone (owner, 2026-11-18): the first sentence, then "Continue reading" (tale.js shows the button and
   sets .is-folding; without scripts nothing is hidden). The text stays in the page; a wide screen shows it all. */
.tale-lesson-more { display: inline; margin: 0; padding: 0; border: 0; background: none; font: 700 14px/1.5 var(--body); color: var(--plum);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; cursor: pointer; }
.tale-lesson-more[hidden] { display: none; }
.tale-lesson-more:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 860px) {
  .tv-lessons .is-folding .tale-lesson:not(.is-open) .tale-lesson-rest { display: none; }
  .tv-lessons .tale-lesson.is-open .tale-lesson-more { display: none; }
}
@media (min-width: 861px) { .tv-lessons .tale-lesson-more { display: none; } }
.tv-lessons .tale-reviews { margin-top: 16px; }
.tv-lessons .tale-review { border: 0; background: var(--tint-mint); }
.tv-modules .adventure-tale { margin: 0; border: 0; border-radius: var(--tv-r-m); background: var(--tint-plum); }
/* A vector compass stays an icon even when the optional icon font fails to load. */
.tv-modules .adventure-tale-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; font-size: 0; }
.tv-modules .adventure-tale-icon::before { content: ""; display: block; width: 28px; height: 28px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B4A8C' stroke-width='1.7' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m16 8-2.5 5.5L8 16l2.5-5.5Z'/%3E%3C/svg%3E"); }
.tv-modules .adventure-tale > div { flex: 1; min-width: 0; }
.tv-modules .adventure-tale .btn-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border: 0; border-radius: 999px; background: #fff; color: var(--plum-dark); font: 800 15px/1.25 var(--body); text-decoration: none; }

/* Questions */
.tv-faq-wrap h2 { margin-bottom: 8px; }
.tv-faq details { padding: 18px 0; border-bottom: 1px solid #eadfce; }
.tv-faq summary { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; cursor: pointer; list-style: none; }
.tv-faq summary::-webkit-details-marker { display: none; }
.tv-faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--plum); }
.tv-faq details[open] summary::after { content: "–"; }
.tv-faq p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* The last invitation */
.tv-final { padding: 40px var(--tv-pad); border-radius: var(--tv-r-l); background: linear-gradient(160deg, #6b4a8f, #8a5fae); color: #fff; text-align: center; }
.tale-v3 .tv-final h2 { color: #fff; }
.tv-final p { max-width: 520px; margin: 10px auto 24px; color: rgba(255, 255, 255, .85); }
.tale-v3 .tv-final .tv-price { margin: 12px auto 0; color: rgba(255, 255, 255, .8); }
.tv-final .tv-price b { color: #fff; }

/* The tale's drawing styles (db/tale-styles.php): one line under the gallery — the looks as the hero's own face —
   that opens a sheet with the same page in each style (owner, 2026-11-19: the row of switches took a screen of a
   phone above the tale's name; "daha elite/premium"). The gallery is left alone. */
.tv-galcol { min-width: 0; }
.tv-styles { margin-top: 14px; padding: 0 var(--tv-pad, 20px); }
@media (min-width: 960px) { .tv-styles { padding: 0; } }
/* A phone has no thumbnails: the two buttons hang half under the pictures. Room for them above the line. */
@media (max-width: 959px) { .tv-gal.has-pills + .tv-styles { margin-top: 42px; } }
/* A round cut of a look's picture on the hero's face: --fx / --fy are the face's place on the page (0–1), --d the
   circle's width; the picture is 2.7 circles wide, so a face fills it. */
.tv-face { --d: 44px; --z: 2.7; flex: none; display: block; width: var(--d); height: var(--d); border-radius: 50%; background-color: var(--cream-2, #f3ece4); background-repeat: no-repeat;
  background-size: calc(var(--d) * var(--z)) auto;
  background-position: calc(var(--d) / 2 - var(--fx, .5) * var(--d) * var(--z)) calc(var(--d) / 2 - var(--fy, .3) * var(--d) * var(--z) * 1.5);
  box-shadow: 0 0 0 2px var(--paper, #fff), 0 2px 8px rgba(51, 40, 59, .22); }
.tv-styles-open { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px 10px 14px; border: 1px solid rgba(201, 162, 75, .55); border-radius: 18px; cursor: pointer; text-align: start;
  background: linear-gradient(135deg, #fffdf8, #f8f1e4); box-shadow: 0 6px 18px rgba(51, 40, 59, .08); transition: box-shadow .2s, transform .2s; }
.tv-styles-open:hover { box-shadow: 0 10px 24px rgba(51, 40, 59, .14); transform: translateY(-1px); }
.tv-styles-open:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.tv-styles-faces { flex: none; display: flex; }
.tv-styles-faces .tv-face + .tv-face { margin-inline-start: -12px; }
.tv-styles-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tv-styles-text b { font: 700 16px/1.2 var(--display); color: var(--ink); }
.tv-styles-open .tv-face { --d: 40px; }
.tv-styles-text small { font: 400 12.5px/1.35 var(--body); color: var(--ink-soft); }
.tv-styles-chev { flex: none; width: 10px; height: 10px; margin-inline: 2px 8px; border: solid var(--plum); border-width: 2.5px 2.5px 0 0; transform: rotate(45deg); }
[dir="rtl"] .tv-styles-chev { transform: rotate(-135deg); }
/* The sheet: the picture large, as tall as the screen allows, with the choices over its lower edge (a book page
   keeps that band calm for its words) and the main button under it. One shape everywhere: as wide as a page of
   that height, from the bottom on a phone, in the middle of a wide screen. */
.tv-sheet { --tv-sheet-h: 94dvh; width: min(100vw, calc((var(--tv-sheet-h) - 148px) * 2 / 3)); max-width: 100vw; height: var(--tv-sheet-h); max-height: var(--tv-sheet-h); margin: auto auto 0; padding: 0; border: 0; border-radius: 24px 24px 0 0; background: var(--paper, #fff); color: var(--ink); overflow: hidden; box-shadow: 0 -18px 50px rgba(20, 12, 30, .35); }
.tv-sheet::backdrop { background: rgba(26, 18, 38, .6); backdrop-filter: blur(3px); }
.tv-sheet[open] { display: flex; flex-direction: column; animation: tv-sheet-in .28s ease-out; }
@keyframes tv-sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tv-sheet[open] { animation: none; } }
.tv-sheet-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 9px 18px; }
.tale-v3 .tv-sheet-head h2 { font: 700 20px/1.2 var(--display); }
.tale-v3 .tv-sheet-note { margin: 1px 0 0; font: 400 12.5px/1.35 var(--body); color: var(--ink-soft); }
.tv-sheet-close { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cream-2, #f3ece4); color: var(--ink); cursor: pointer; }
.tv-sheet-close:focus-visible, .tv-sheet-toggle:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.tv-sheet-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #1b1328; }
/* Where the sheet is not exactly a page's shape the cut keeps the hero's face (--fx / --fy, the face's place). */
.tv-sheet-stage img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: calc(var(--fx, .5) * 100%) calc(var(--fy, .3) * 100%); transition: opacity .22s; }
.tv-sheet-stage.is-changing img { opacity: .25; }
.tv-sheet-tag { position: absolute; inset-inline-start: 10px; top: 10px; max-width: calc(100% - 20px); display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(26, 18, 38, .72); color: #fff; font: 700 12.5px/1.3 var(--body); backdrop-filter: blur(6px); }
.tv-sheet-tag svg { display: none; flex: none; width: 15px; height: 15px; fill: currentColor; }
/* The example book's own picture: a gold tag with the bookmark its style's choice also carries (owner, 2026-11-22:
   "As in the example book belli olmuyor"). */
.tv-sheet-tag.is-own { padding: 6px 13px 6px 10px; background: linear-gradient(135deg, #f1d48a, #c9a24b); color: #2b1d3b; font-size: 13.5px; box-shadow: 0 3px 12px rgba(0, 0, 0, .35); }
.tv-sheet-tag.is-own svg { display: block; }
.tv-sheet-stage.has-photo .tv-sheet-tag { max-width: calc(100% - 128px); }
/* The child's photo pinned to the picture's other top corner, as on the gallery's first picture. */
.tv-sheet-photo { position: absolute; inset-inline-end: 10px; top: 10px; z-index: 2; width: 23%; max-width: 100px; margin: 0; padding: 4px 4px 0; border-radius: 6px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .38); transform: rotate(3deg); }
.tv-sheet-stage .tv-sheet-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center; border-radius: 3px; }
.tv-sheet-photo figcaption { padding: 3px 0 4px; color: #33283b; font: 700 10.5px/1.2 var(--body); text-align: center; }
/* The choices: a dark glass band over the picture's lower edge; its handle hides and shows them. */
.tv-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 10px 10px; background: linear-gradient(to top, rgba(22, 14, 34, .9), rgba(22, 14, 34, .72)); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); border-radius: 18px 18px 0 0; box-shadow: 0 -1px 0 rgba(255, 255, 255, .14) inset; }
.tv-sheet-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 30px; padding: 5px 8px 4px; border: 0; background: none; color: rgba(255, 255, 255, .86); font: 700 11.5px/1.2 var(--body); letter-spacing: .02em; cursor: pointer; }
.tv-sheet-toggle-chev { width: 7px; height: 7px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.tv-sheet-panel.is-closed { left: 50%; right: auto; bottom: 12px; padding: 0 6px; transform: translateX(-50%); border-radius: 999px; background: rgba(22, 14, 34, .82); box-shadow: 0 0 0 1px rgba(201, 162, 75, .7), 0 6px 18px rgba(0, 0, 0, .35); }
.tv-sheet-panel.is-closed .tv-sheet-toggle { width: auto; min-height: 36px; padding: 6px 12px; color: #fff; white-space: nowrap; }
.tv-sheet-panel.is-closed .tv-sheet-toggle-chev { margin-top: 3px; transform: rotate(-135deg); }
.tv-sheet-panel.is-closed .tv-sheet-pick { display: none; }
.tv-styles [hidden] { display: none !important; }
/* A row of choices, each a word with a small sign of what it stands for (owner, 2026-11-19): picture style, look,
   strength. No headings here — the signs and the screen reader's labels say which row is which. */
.tv-pick + .tv-pick { margin-top: 5px; }
.tv-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .13); }
.tv-seg button { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 36px; padding: 4px 5px; border: 0; border-radius: 9px; background: none; font: 700 11.5px/1.15 var(--body); color: rgba(255, 255, 255, .86); cursor: pointer; text-align: start; }
.tv-ico { flex: none; width: 17px; height: 17px; fill: currentColor; opacity: .85; }
.tv-seg button[aria-checked="true"] { background: #fffdf8; color: var(--plum-dark, #4a2f6b); box-shadow: 0 0 0 1.5px #c9a24b, 0 2px 8px rgba(0, 0, 0, .28); }
.tv-seg button[aria-checked="true"] .tv-ico { opacity: 1; }
/* Each look's sign on a circle of its own colour, so the looks tell apart at a glance (owner, 2026-11-22: "küçük
   renkli iconlarla"); the app's sheet uses the same colours (tale_styles.dart `_lookColours`). */
.tv-seg button { position: relative; }
.tv-pick-look .tv-ico { width: 24px; height: 24px; padding: 4.5px; box-sizing: border-box; border-radius: 50%; fill: #fff; opacity: 1;
  background: radial-gradient(circle at 32% 26%, var(--look-hi, #b9a8d0), var(--look, #7a6a8f) 58%, var(--look-lo, #4a3d5c));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), inset 0 -2px 3px rgba(0, 0, 0, .2), 0 1px 3px rgba(0, 0, 0, .38); }
.tv-pick-look button[aria-checked="true"] .tv-ico { box-shadow: 0 0 0 1.5px #fffdf8, 0 0 0 3px #c9a24b, inset 0 -2px 3px rgba(0, 0, 0, .2), 0 2px 6px rgba(0, 0, 0, .3); }
/* Jewel tones: amber, amethyst, emerald, ruby, sapphire — each a light, a body and a shade. */
.tv-pick-look [data-look="cartoon"] { --look-hi: #ffd08a; --look: #f08a24; --look-lo: #b8560a; }
.tv-pick-look [data-look="digital"] { --look-hi: #d2b6ff; --look: #8e5bd9; --look-lo: #552a9e; }
.tv-pick-look [data-look="storybook"] { --look-hi: #8fe0bc; --look: #2f9e74; --look-lo: #186446; }
.tv-pick-look [data-look="painterly"] { --look-hi: #ffab9f; --look: #d65a50; --look-lo: #962b23; }
.tv-pick-look [data-look="3d"] { --look-hi: #9ccaff; --look: #2f7fd8; --look-lo: #174a92; }
.tv-own-mark { position: absolute; top: 2px; inset-inline-end: 2px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #e2bd62; box-shadow: 0 0 0 1.5px rgba(26, 18, 38, .55); }
.tv-own-mark svg { width: 9px; height: 9px; fill: #2b1d3b; }
.tv-seg button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
/* Dim unavailable looks individually where the drawn world has a known look. */
.tv-pick[aria-disabled="false"] .tv-seg button:disabled { opacity: .34; cursor: default; }
/* A row that does not apply stays in place, dimmed. */
.tv-pick[aria-disabled="true"] { opacity: .34; pointer-events: none; }
.tv-pick[aria-disabled="true"] .tv-seg button[aria-checked="true"] { background: none; box-shadow: none; color: rgba(255, 255, 255, .86); }
.tv-sheet-foot { flex: none; padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--paper, #fff); }
/* The whole example book in the chosen look (SampleStyles): a quiet link above the main button, shown by tale.js only
   for a look the book was drawn in. */
.tv-sheet-read { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 0 9px; padding: 9px 12px;
  border: 1.5px solid #C9A24B; border-radius: 999px; color: var(--plum-dark, #533872); font-weight: 700; font-size: 14px;
  text-decoration: none; background: #FFFDF8; }
.tv-sheet-read[hidden] { display: none; }
.tv-sheet-read svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.tv-sheet-read:hover, .tv-sheet-read:focus-visible { background: #F6ECDF; }
.tale-v3 .tv-sheet-yours { display: none; }
/* A phone: the whole width, whatever its height (a short one cuts the page's top and bottom a little, on the face). */
@media (max-width: 759px) { .tv-sheet { width: 100vw; } }
@media (max-width: 759px) and (max-height: 720px) { .tv-sheet { --tv-sheet-h: 100dvh; border-radius: 0; } }
@media (min-width: 760px) {
  .tv-sheet { --tv-sheet-h: 92dvh; margin: auto; border-radius: 24px; box-shadow: 0 30px 80px rgba(20, 12, 30, .5); }
}
}

/* The tale, folded, set like a book when opened */
.tv-tale { padding: 0 20px; border-radius: var(--tv-r-m); background: var(--paper); box-shadow: var(--tv-card-shadow); }
.tv-tale summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; cursor: pointer; list-style: none; }
.tv-tale summary::-webkit-details-marker { display: none; }
.tv-tale summary h2, .tv-tale.is-open h2 { font-size: 22px; }
.tv-tale summary i { flex: none; font-style: normal; font-size: 26px; color: var(--plum); transition: transform .2s; }
.tv-tale[open] summary i { transform: rotate(45deg); }
.tv-tale.is-open { padding-top: 20px; }
.tv-tale-head { display: block; }
.tv-tale-sum { display: block; margin-top: 8px; max-width: 62ch; font: 400 16px/1.5 var(--body); color: var(--ink-soft); }
.tale-v3 .tv-aka { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.tv-book { max-width: 62ch; padding: 0 0 28px; font: 400 19px/1.6 var(--display); color: var(--ink); }
.tv-book p + p, .tv-text { margin-top: 16px; }
.tv-tagline { font-style: italic; color: var(--ink-soft); }
.tv-text p + p { margin-top: 16px; }
.tv-text p:first-child::first-letter { float: left; padding: 6px 10px 0 0; font: 700 58px/.9 var(--display); color: var(--plum); }
[dir="rtl"] .tv-text p:first-child::first-letter { float: none; padding: 0; font: inherit; color: inherit; }
.tv-invite { margin: 0 0 24px; padding: 24px 20px; border-radius: var(--tv-r-m); background: var(--tint-plum); text-align: center; }
.tv-invite h3 { margin-bottom: 16px; }

/* From our blog */
.tale-v3 .tv-articles h2 { font-size: 22px; margin-bottom: 10px; }
.tv-articles ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tv-articles a { color: var(--plum-dark); font-weight: 700; text-decoration: none; }
.tv-articles a:hover { text-decoration: underline; }

/* A tablet: one column, the pictures kept to a readable size */
@media (min-width: 600px) and (max-width: 959px) {
  .tv-hero { max-width: 720px; margin: 24px auto 0; padding: 0 var(--tv-pad); }
  .tv-track { border-radius: var(--tv-r-l); }
  .tv-info { padding-left: 0; padding-right: 0; }
  .tv-polaroid { width: 26%; }
}

@media (min-width: 960px) {
  .tale-v3 { --tv-pad: 32px; font-size: 18px; padding-bottom: 88px; }
  .tale-v3 h2 { font-size: 36px; }
  .tv-section { padding-top: 88px; }
  .tv-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; max-width: var(--tv-max); margin: 32px auto 0; padding: 0 var(--tv-pad); }
  .tv-track { border-radius: var(--tv-r-l); }
  .tv-slide { aspect-ratio: 4 / 5; }
  .tv-polaroid { left: 22px; bottom: 26px; width: 26%; }
  .tv-slide-hero.is-right .tv-polaroid { left: auto; right: 22px; }
  .tv-arrow-m { display: none; }
  .tv-arrow-d { display: inline; }
  .tv-polaroid b { font-size: 18px; }
  .tv-count { display: none; }
  .tv-thumbs { display: grid; grid-template-columns: repeat(var(--tv-thumbs, 6), minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
  .tv-thumbs button { position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: var(--tv-r-s); background: var(--cream-2); cursor: pointer; outline: 3px solid transparent; outline-offset: -3px; }
  .tv-thumbs button.on { outline-color: var(--plum); }
  .tv-thumbs button:focus-visible { outline-color: var(--gold); }
  .tv-thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .tv-thumb-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(36, 26, 48, .35); color: #fff; font-size: 18px; }
  .tv-info { position: sticky; top: var(--site-header-offset); padding: 24px 0 0; }
  .tv-crumb { display: inline-block; margin-bottom: 8px; }
  .tv-title { font-size: 48px; }
  .tv-title.is-long { font-size: 42px; }
  .tv-kind { font-size: 18px; }
  .tv-offer { padding: 20px; }
  .tv-offer-title { font-size: 19px; }
  .tv-offer-fan { width: 90px; height: 76px; }
  .tv-offer-fan img { width: 42px; }
  .tv-offer-fan img:nth-child(2) { left: 15px; } .tv-offer-fan img:nth-child(3) { left: 30px; } .tv-offer-fan img:nth-child(4) { left: 45px; }
  .tv-pills { left: 20px; right: 20px; }
  .tv-gal.has-pills { margin-bottom: 0; }
  .tv-gal.has-pills .tv-thumbs { margin-top: 38px; }
  .tv-gal.has-pills .tv-polaroid { bottom: 38px; }
  .tv-how { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tv-step { grid-template-columns: 112px 1fr; align-items: start; padding: 12px; }
  .tv-art { width: 112px; height: 112px; }
  .tv-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; overflow: visible; }
  .tv-pages figure { flex: none; }
  .tv-others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-film { grid-template-columns: minmax(0, 460px) 340px; justify-content: center; gap: 72px; }
  .tv-film .tale-film-player { max-width: 340px; }
  .tv-film .tv-head { margin-bottom: 0; }
  .tv-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tv-part { grid-template-columns: 72px 1fr; padding: 16px; }
  .tv-part-face { width: 72px; height: 72px; font-size: 34px; }
  .tv-lessons .tale-lessons-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  /* Three (or six) to a row, so three lessons leave no hole beside the third (Lesson\View\LessonView). */
  .tv-lessons .tale-lessons-list.is-threes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tv-lessons .tale-lessons-list.is-one { grid-template-columns: minmax(0, 760px); }
  .tv-lessons .tale-lesson { padding: 24px; }
  .tv-lessons .is-threes .tale-lesson { grid-template-columns: 32px 1fr; gap: 10px; padding: 22px 20px; }
  .tv-lessons .story-detail-sub { font-size: 36px; }
  .tv-faq { max-width: 760px; }
  .tv-final { padding: 72px 48px; }
  .tv-tale { padding: 0 32px; }
}

/* "Play an adventure" (Adventure\Service\AdventurePage::taleSection) at the end, in the page's type scale */
.tv-modules .adventure-tale-title { margin: 0 0 4px; font-size: 22px; }
.tv-modules .adventure-tale p { margin: 0 0 12px; }

/* A family example book: who's who — the real photo, an arrow, the same person in the book (TaleView::cast()). */
.tv-cast { margin: 0 0 14px; }
.tv-cast ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.tv-cast li { display: flex; align-items: center; gap: 6px; }
.tv-cast-photo, .tv-cast-face { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(70, 50, 90, .18); background-repeat: no-repeat; background-color: var(--tint-plum); }
.tv-cast-arrow { color: var(--plum); font-weight: 800; }
.tv-cast-text { display: flex; flex-direction: column; margin-inline-start: 2px; font: 700 14px/1.2 var(--body); color: var(--ink); }
.tv-cast-text small { font: 600 12px/1.25 var(--body); color: var(--ink-soft); }
@media (max-width: 400px) { .tv-cast-photo, .tv-cast-face { width: 46px; height: 46px; } .tv-cast ul { gap: 8px 12px; } }
[dir="rtl"] .tv-cast-arrow { display: inline-block; transform: scaleX(-1); }

/* A family example book's first picture: the child's and the parent's photos as a pair in one corner (TaleView::familyPair()). */
.tv-slide-hero.is-family .tv-polaroid { left: auto; right: auto; width: 22%; bottom: 30px; padding: 4px 4px 0; }
.tv-slide-hero.is-family-right .tv-polaroid-inner { right: 26%; transform: rotate(-5deg); }
.tv-slide-hero.is-family-right .tv-polaroid-outer { right: 3%; transform: rotate(6deg); }
.tv-slide-hero.is-family-left .tv-polaroid-inner { left: 26%; transform: rotate(5deg); }
.tv-slide-hero.is-family-left .tv-polaroid-outer { left: 3%; transform: rotate(-6deg); }
.tv-slide-hero.is-family .tv-polaroid b { padding: 4px 1px 6px; font-size: 12px; }
/* Clear of the two buttons on the lower edge. The arrows start at fixed points of the window
   (TaleView::familyPair()): move these and those together. */
.tv-gal.has-pills .tv-slide-hero.is-family .tv-polaroid { bottom: 44px; }
@media (min-width: 960px) {
  .tv-slide-hero.is-family .tv-polaroid { width: 19%; bottom: 26px; }
  .tv-gal.has-pills .tv-slide-hero.is-family .tv-polaroid { bottom: 38px; }
  .tv-slide-hero.is-family-right .tv-polaroid-inner { right: 22%; }
  .tv-slide-hero.is-family-left .tv-polaroid-inner { left: 22%; }
  .tv-slide-hero.is-family .tv-polaroid b { font-size: 15px; }
}
/* How it works, for a family book: adding a family member in three short steps (TaleView::howFamily()). */
.tv-howfam { margin-top: 22px; padding: 16px 16px 6px; border-radius: var(--tv-r-s, 14px); background: var(--tint-plum); }
.tale-v3 .tv-howfam h3 { margin: 0 0 10px; font: 700 18px/1.3 var(--display); color: var(--ink); }
.tv-howfam ol { margin: 0; padding: 0; list-style: none; }
.tv-howfam li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; }
.tv-howfam li > span:last-child { display: flex; flex-direction: column; gap: 2px; font: 400 14px/1.45 var(--body); color: var(--ink-soft); }
.tv-howfam li b { font: 700 15px/1.3 var(--body); color: var(--ink); }
.tv-howfam li b i { font-style: normal; color: var(--plum); margin-inline-end: 4px; }
.tale-v3 .tv-howfam-icon { flex: none; font-size: 22px; color: var(--plum); margin-top: 1px; }

/* Under the main button (2026-11-18): the first-change-free promise, one parent's words, a Christmas tale's gift line. */
.tale-v3 .tv-promise { margin: 6px 0 0; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--plum-dark, #533872); }
.tale-v3 .tv-final .tv-promise { color: inherit; opacity: .92; }
.tale-v3 .tv-proof { display: block; margin: 12px 2px 0; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid var(--border, #e6d9c8);
  color: var(--ink, #33283b); text-decoration: none; font-size: 14px; line-height: 1.45; }
.tale-v3 .tv-proof:hover { border-color: var(--plum, #6b4a8f); }
.tale-v3 .tv-proof .review-item-stars { color: #e0a11b; letter-spacing: 1px; white-space: nowrap; }
.tale-v3 .tv-proof q { font-style: italic; }
.tale-v3 .tv-proof-by { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-soft, #6c6076); }
.tale-v3 .tv-fact-emoji { flex: 0 0 auto; width: 24px; text-align: center; font-size: 18px; line-height: 1.2; }
.tale-v3 .story-reviews-lead { margin: 2px 0 0; color: var(--ink-soft, #6c6076); }
.tale-v3 .review-item-tale { margin-top: 6px !important; color: var(--plum-dark, #533872); font-size: 13px; font-weight: 800; }
.tale-v3 .tv-proof-note { display: block; font-size: 11.5px; color: var(--ink-soft, #6c6076); opacity: .85; }

/* ---- "Make it yours" (owner, 2026-11-20; Catalog\Service\TaleChoices, TaleView::choices()) --------------------
   Three picture tiles under the gallery — Drawing, Your voice, Film & music — and the sheets of the voice and of
   the film's music. Nothing on the tiles moves. The styles' own line gives way to the Drawing tile.
   One colour for signs (owner, 2026-11-20: many different colours on the first screen tired the eye): plum on white
   — the tiles' signs and badge, the two pills on the gallery's edge. Coral is the main button's alone, green says
   "free"; the tiles' feet are white, their pictures tell them apart. */
.tv-choices { margin-top: 14px; padding: 0 var(--tv-pad, 20px); }
@media (min-width: 960px) { .tv-choices { padding: 0; } }
@media (max-width: 959px) { .tv-gal.has-pills + .tv-choices { margin-top: 42px; } .tv-gal.has-pills + .tv-choices + .tv-styles { margin-top: 0; } }
.tv-choices.has-draw + .tv-styles { margin: 0; }
.tv-choices.has-draw + .tv-styles .tv-styles-open { display: none; }
.tale-v3 .tv-ch-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 0 0 12px; }
.tale-v3 .tv-ch-label b { font: 700 21px/1.15 var(--display); color: var(--ink); }
.tale-v3 .tv-ch-label span { font: 600 13px/1.3 var(--body); color: var(--ink-soft); }
.tv-ch-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.tv-ch-tile { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; border-radius: 20px; cursor: pointer; text-align: start; color: var(--ink); font: inherit; background: #fff;
  box-shadow: 0 0 0 2px #fff, 0 10px 26px rgba(51, 40, 59, .18); transition: box-shadow .2s, transform .2s; }
.tv-ch-tile:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px #fff, 0 14px 30px rgba(51, 40, 59, .24); }
.tv-ch-tile:active { transform: scale(.97); }
.tv-ch-tile:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.tv-ch-art { position: relative; display: block; aspect-ratio: 7 / 6; border-radius: 20px 20px 0 0; overflow: hidden; background: #2a1c46 center / cover no-repeat; }
.tv-ch-tiles > :only-child .tv-ch-art, .tv-ch-tiles > :first-child:nth-last-child(2) .tv-ch-art, .tv-ch-tiles > :first-child:nth-last-child(2) ~ * .tv-ch-art { aspect-ratio: 16 / 9; }
.tv-ch-art.is-split { background-position: 50% 42%; }
.tv-ch-half { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 300% auto; }
.tv-ch-half-a { clip-path: inset(0 50% 0 0); }
.tv-ch-half-b { clip-path: inset(0 0 0 50%); }
/* The line through the child: her left half one style, her right half another. */
.tv-ch-draw .tv-ch-art::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2.5px; margin-left: -1.25px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .45); }
/* The tile made by formula (scripts/tale-style-faces.php): its slanted line is in the picture, centred, so the
   picture is centred too (a 16:9 tile crops it top and bottom, the line still through the face). Each half's look
   is named in its wide corner: bottom-left, top-right (the pencil keeps the top-left). Physical sides on purpose:
   the picture is the same on an Arabic page. */
.tv-ch-art.has-line { background-position: 50% 50%; }
.tv-ch-art.has-line::after { display: none; }
/* The left name may run to the line (nothing else in its corner); the right one keeps clear of the pencil and
   takes a second line for a long name ("Dibujo animado") rather than a cut. */
.tv-ch-chip { position: absolute; z-index: 2; padding: 2px 6px 3px; border-radius: 9px; background: rgba(22, 14, 34, .66);
  color: #fff; font: 700 10.5px/1.15 var(--body); font-style: normal; letter-spacing: .01em; text-align: center; min-width: min-content;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25); pointer-events: none; }
.tv-ch-chip-l { left: 5px; bottom: 5px; max-width: calc(100% - 10px); white-space: nowrap; }
.tv-ch-chip-r { right: 5px; top: 5px; max-width: calc(100% - 42px); }
@media (min-width: 600px) { .tv-ch-chip { padding: 3px 8px; font-size: 11.5px; } .tv-ch-chip-l { left: 7px; bottom: 7px; } .tv-ch-chip-r { right: 7px; top: 7px; } }
.tv-ch-voice .tv-ch-art { background-position: 38% 22%; background-size: 175% auto; }
.tv-ch-film .tv-ch-art { background-position: 50% 30%; }
.tv-ch-film .tv-ch-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 19, 40, .6), rgba(27, 19, 40, 0) 60%); }
.tv-ch-badge { position: absolute; z-index: 2; left: 8px; bottom: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.tv-ch-badge svg { width: 18px; height: 18px; fill: var(--plum-dark, #533872); }
.tv-ch-draw .tv-ch-badge { left: 6px; top: 6px; bottom: auto; width: 26px; height: 26px; }
.tv-ch-draw .tv-ch-badge svg { width: 15px; height: 15px; }
.tv-ch-voice .tv-ch-badge { left: 6px; bottom: 6px; width: 30px; height: 30px; }
.tv-ch-badge-note { left: 46px; }
.tv-ch-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 9px 9px 11px 11px; border-radius: 0 0 20px 20px; background: #fff; }
.tale-v3 .tv-ch-text b { font: 700 16px/1.2 var(--display); overflow-wrap: anywhere; }
.tale-v3 .tv-ch-text small { font: 600 12px/1.25 var(--body); color: var(--ink-soft); }
.tv-ch-new { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: var(--plum-dark, #533872); color: #fff; font: 800 10.5px/1.1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.tv-ch-tile > .tv-ch-new { position: absolute; z-index: 3; top: -9px; right: 8px; padding: 3px 7px; font-size: 9.5px; box-shadow: 0 2px 6px rgba(83, 56, 114, .3); }
@media (max-width: 359px) { .tale-v3 .tv-ch-text small { font-size: 11px; } }
@media (min-width: 960px) { .tv-ch-tiles { gap: 12px; } }

/* The two sheets: the page's own sheet, as tall as its content, the content scrolling inside. */
.tale-v3 .tv-ch-sheet { height: auto; }
.tale-v3 .tv-ch-film-sheet { height: var(--tv-sheet-h); }
@media (min-width: 760px) { .tale-v3 .tv-ch-sheet { width: 520px; } }
.tv-ch-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.tv-ch-foot { box-shadow: 0 -1px 0 rgba(51, 40, 59, .08); }
.tv-ch-pi { position: relative; display: inline-block; width: 10px; height: 12px; flex: none; }
.tv-ch-pi::before { content: ''; position: absolute; left: 2px; top: 0; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent currentColor; }
.is-playing > .tv-ch-pi::before { left: 1px; width: 3px; height: 12px; border: 0; background: currentColor; box-shadow: 5px 0 0 currentColor; }
.tv-ch-play { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--plum); color: #fff; cursor: pointer; box-shadow: 0 3px 10px rgba(107, 74, 143, .3); transition: transform .15s, background .15s; }
.tv-ch-play:hover { transform: scale(1.05); }
.tv-ch-play.is-playing { background: var(--coral, #ff7a6b); box-shadow: 0 0 0 5px rgba(255, 122, 107, .2); }
.tv-ch-play:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
/* One's own voice: the picture, what it is in three numbered lines, the small print. */
.tv-ch-own { position: relative; background: #1b1328; }
.tv-ch-own img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: 50% 12%; }
@media (max-height: 760px) { .tv-ch-own img { height: 240px; } }
.tv-ch-own-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px; background: linear-gradient(to top, rgba(22, 14, 34, .94) 0%, rgba(22, 14, 34, .82) 58%, rgba(22, 14, 34, 0) 100%); }
.tale-v3 .tv-ch-own-over h3 { margin: 8px 0 0; font: 700 22px/1.18 var(--display); color: #fff; }
.tale-v3 .tv-ch-steps { margin: 0; padding: 0; list-style: none; counter-reset: tvch; }
.tale-v3 .tv-ch-steps li { position: relative; margin: 0 0 10px; padding-inline-start: 38px; min-height: 28px; font: 400 15px/1.4 var(--body); color: var(--ink); counter-increment: tvch; }
.tale-v3 .tv-ch-steps li::before { content: counter(tvch); position: absolute; inset-inline-start: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--plum-dark, #533872); color: #fff; font: 800 14px/28px var(--body); text-align: center; }
.tale-v3 .tv-ch-own-steps { padding: 14px 18px 2px; background: var(--tint-gold, #fdf1dc); }
.tale-v3 .tv-ch-fine { margin: 0; padding: 2px 18px 14px; background: var(--tint-gold, #fdf1dc); font: 400 12.5px/1.45 var(--body); color: var(--ink-soft); }
.tv-ch-nars { padding: 16px 16px 12px; }
.tale-v3 .tv-ch-nars h3, .tale-v3 .tv-ch-how h3 { margin: 0; font: 700 18px/1.2 var(--display); color: var(--ink); }
.tale-v3 .tv-ch-nars-note { margin: 4px 0 12px; font: 400 14px/1.4 var(--body); color: var(--ink-soft); }
.tv-ch-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; padding: 3px; border-radius: 12px; background: var(--tint-plum, #efe8f8); }
.tv-ch-seg button { min-height: 40px; border: 0; border-radius: 9px; background: none; font: 700 13.5px/1.2 var(--body); color: var(--plum-dark, #533872); cursor: pointer; }
.tv-ch-seg button[aria-selected="true"] { background: #fffdf8; box-shadow: 0 0 0 1.5px #c9a24b, 0 2px 8px rgba(51, 40, 59, .14); }
.tale-v3 .tv-ch-nar-list { margin: 8px 0 0; padding: 0; list-style: none; }
.tv-ch-nar { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 14px; }
.tv-ch-av { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 700 17px/1 var(--display); background: linear-gradient(140deg, #f1ead9, #e6dcc6); color: var(--ink); }
.tv-ch-av-female { background: linear-gradient(140deg, #ffe3d8, #fbd0c6); color: #8a3b3b; }
.tv-ch-av-male { background: linear-gradient(140deg, #e6def5, #d3c6ec); color: var(--plum-dark, #533872); }
.tv-ch-nar-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tv-ch-nar-text b { font: 700 16px/1.2 var(--body); }
.tv-ch-nar-text span { font: 400 13px/1.3 var(--body); color: var(--ink-soft); }
/* How to use it: a book comes first. */
.tv-ch-how { margin: 6px 14px 18px; padding: 16px 16px 8px; border-radius: 18px; background: var(--tint-mint, #e7f6f0); }
.tale-v3 .tv-ch-how-lead { margin: 4px 0 12px; font: 600 15px/1.4 var(--body); color: var(--ink); }
/* The film's music: the example film (or a page of the tale) fills the sheet, the pieces lie over its lower edge. */
.tv-ch-film-sheet .tv-ch-body { display: flex; flex-direction: column; overflow: hidden; }
.tv-ch-stage { position: relative; flex: 1; min-height: 0; background: #1b1328; overflow: hidden; }
.tv-ch-stage > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tv-ch-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #120c1c; }
.tv-ch-stage.is-film .tv-ch-pieces, .tv-ch-stage.is-film .tv-ch-watch { display: none; }
.tv-ch-watch { position: absolute; z-index: 2; left: 12px; right: 12px; top: 12px; display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; border: 0; border-radius: 999px; cursor: pointer; text-align: start;
  background: rgba(255, 253, 248, .96); color: var(--ink); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); font: inherit; }
.tv-ch-watch-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--coral, #ff7a6b); color: #fff; }
.tv-ch-watch b { display: block; font: 800 15.5px/1.2 var(--body); }
.tv-ch-watch small { display: block; font: 400 12.5px/1.3 var(--body); color: var(--ink-soft); }
.tv-ch-back { position: absolute; z-index: 3; left: 10px; top: 10px; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(22, 14, 34, .82); color: #fff; font: 700 13.5px/1 var(--body); cursor: pointer; }
.tale-v3 .tv-ch-pieces { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px; list-style: none; border-radius: 18px 18px 0 0;
  background: linear-gradient(to top, rgba(22, 14, 34, .92), rgba(22, 14, 34, .78)); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.tv-ch-pieces-lead { padding: 2px 8px 6px; color: rgba(255, 255, 255, .85); font: 700 12px/1.3 var(--body); letter-spacing: .05em; text-transform: uppercase; }
.tv-ch-piece { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 12px; color: #fff; }
.tv-ch-piece + .tv-ch-piece { margin-top: 3px; }
.tv-ch-piece-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tv-ch-piece-text b { font: 700 15px/1.25 var(--body); }
.tv-ch-piece-text > span { font: 400 12.5px/1.3 var(--body); color: rgba(255, 255, 255, .78); }
.tv-ch-piece .tv-ch-play { background: rgba(255, 255, 255, .16); box-shadow: none; }
.tv-ch-piece.is-on { background: #fffdf8; color: var(--ink); box-shadow: 0 0 0 1.5px #c9a24b, 0 2px 8px rgba(0, 0, 0, .28); }
.tv-ch-piece.is-on .tv-ch-piece-text > span { color: var(--ink-soft); }
.tv-ch-piece.is-on .tv-ch-play { background: var(--plum); }
.tv-ch-piece .tv-ch-play.is-playing { background: var(--coral, #ff7a6b); }
.tv-ch-rec { display: inline-block; margin-inline-start: 4px; padding: 2px 7px; border-radius: 999px; background: #f5b544; color: #4a3108; font: 800 10px/1.4 var(--body); letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px; }
.tale-v3 .tv-ch-foot-note { margin: 0 0 9px; font: 400 13.5px/1.4 var(--body); color: var(--ink); text-align: center; }
.tale-v3 .tv-ch-text b { font-size: 15px; letter-spacing: -.01em; text-wrap: balance; }
.tv-ch-art.is-cut .tv-ch-half { background-size: 170% auto; background-position: 50% 30%; }
/* A name of two short words ("Film & music") stays on one line on a phone. */
.tv-ch-text { padding-inline: 10px 5px; }
.tale-v3 .tv-ch-text b { font-size: 14.5px; }
/* Under the own voice's steps: the way down to "How do I use this?". */
.tale-v3 .tv-ch-howlink { margin: 0; padding: 0 18px 10px 56px; background: var(--tint-gold, #fdf1dc); font: 700 14.5px/1.4 var(--body); }
[dir="rtl"] .tale-v3 .tv-ch-howlink { padding: 0 56px 10px 18px; }
.tv-ch-howlink a { color: var(--plum-dark, #533872); text-decoration: underline; text-underline-offset: 3px; }
.tv-ch-how { scroll-margin-top: 10px; }
/* The example book says it is one (owner, 2026-11-20: "more prominent"): a band in the brand's purple on the top edge
   of each example picture, never over its words. Whose place the reader's child takes, never a likeness. */
.tale-v3 .tv-example-page { position: relative; }
.tale-v3 .tv-example-band {
  position: absolute; z-index: 1; top: 0; left: 0; right: 0; padding: 6px 10px;
  background: var(--premium-rose); color: #fff; font: 600 12.5px/1.3 var(--body); text-align: center; border-radius: var(--tv-r-s, 12px) var(--tv-r-s, 12px) 0 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.tale-v3 .tv-example-band b { font-weight: 800; letter-spacing: .06em; }
/* The offer card without its own button (the bar starts the book, owner 2026-11-20): what the offer is and its price. */
.tv-offer.is-bar-only .tv-offer-top { margin-bottom: 4px; }


/* Selected tale dock: a slim strip on desktop; the phone keeps Other stories.
   Scoped to the tale page, because the sample reader has a separate focus bar. */
body.tale-page:has(.is-tale-focus) {
  --tale-dock-height: calc(84px + env(safe-area-inset-bottom, 0px));
  padding-bottom: var(--tale-dock-height);
}
html:has(body.tale-page) { scroll-padding-top: var(--site-header-offset, 76px); scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.tale-page .tale-v3 { padding-bottom: 0; }
.tale-page .site-topbar .nav-cta { display: none; }
.bottom-bar.is-tale-focus {
  display: flex; position: fixed; inset: auto 0 0; z-index: 60; transform: none; width: auto;
  height: var(--tale-dock-height); gap: 10px; align-items: center;
  padding: 12px max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  border-radius: 0; background: var(--paper); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(60, 40, 80, .07);
}
.bottom-bar.is-tale-focus > a { height: 56px; border-radius: 14px; }
.bottom-bar.is-tale-focus .focus-bar-info { display: none; }
.bottom-bar.is-tale-focus .focus-bar-other { flex: 1 1 0; gap: 2px; padding: 3px 8px; border-width: 1px; font-size: 12px; line-height: 1.1; }
.bottom-bar.is-tale-focus .focus-bar-other .material-symbols-outlined { font-size: 18px; line-height: 1; }
.bottom-bar.is-tale-focus .focus-bar-other > span:last-child { overflow-wrap: anywhere; }
.bottom-bar.is-tale-focus .focus-bar-main {
  flex: 2 1 0; padding: 8px 12px; font-size: 16px; letter-spacing: 0; text-shadow: none;
  border: 1px solid rgba(255, 255, 255, .2);
  background: var(--tale-action-gradient) !important;
  box-shadow: 0 5px 12px rgba(176, 51, 88, .16) !important;
}
.bottom-bar.is-tale-focus .focus-bar-label { overflow: visible; white-space: normal; line-height: 1.1; overflow-wrap: anywhere; text-align: center; }
.bottom-bar.is-tale-focus .focus-bar-sub { font-size: 12px; line-height: 1.15; }
.bottom-bar.is-tale-focus .btn-premium-star { color: #ffe5ac; text-shadow: none; }
.bottom-bar.is-tale-focus > a:active { transform: none; }
.bottom-bar.is-tale-focus > a:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
body.tale-page:has(.is-tale-focus) .cookie-bar { bottom: calc(var(--tale-dock-height) + 12px); }
.bottom-bar.is-tale-focus .focus-bar-main::after { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .bottom-bar.is-tale-focus .focus-bar-main::after {
    background: linear-gradient(105deg, transparent 38%, rgba(255, 245, 215, .23) 50%, transparent 62%);
    animation: tale-dock-sheen 1.1s ease-in-out 2.5s 1 both;
  }
}
@keyframes tale-dock-sheen { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@media (max-width: 860px) {
  .bottom-bar.is-tale-focus .focus-bar-main { padding: 4px 10px; font-size: 14px; }
  .bottom-bar.is-tale-focus .focus-bar-label .btn-premium-star { display: none; }
}
@media (min-width: 861px) {
  body.tale-page:has(.is-tale-focus) { --tale-dock-height: calc(54px + env(safe-area-inset-bottom, 0px)); }
  .bottom-bar.is-tale-focus {
    --tale-dock-gutter: max(24px, calc((100% - 1080px) / 2));
    height: auto; min-height: var(--tale-dock-height); gap: 16px;
    padding: 4px max(var(--tale-dock-gutter), env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(var(--tale-dock-gutter), env(safe-area-inset-left, 0px));
    box-shadow: 0 -3px 12px rgba(60, 40, 80, .08);
  }
  .bottom-bar.is-tale-focus .focus-bar-info { display: flex; flex: 1; min-width: 0; align-items: baseline; gap: 12px; }
  .bottom-bar.is-tale-focus .focus-bar-info strong { min-width: 0; font: 600 16px/1.2 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bottom-bar.is-tale-focus .focus-bar-info > span { flex-shrink: 0; font-size: 12px; color: var(--ink-soft); }
  .bottom-bar.is-tale-focus .focus-bar-other, .bottom-bar.is-tale-focus .focus-bar-sub { display: none; }
  .bottom-bar.is-tale-focus .focus-bar-main {
    flex: none; height: auto; min-height: 44px; min-width: 244px; max-width: 48%;
    padding: 5px 16px; border-radius: 9px; font-size: 14px;
  }
}
@media (max-width: 359px) {
  .bottom-bar.is-tale-focus { gap: 8px; }
  .bottom-bar.is-tale-focus .focus-bar-main { padding-inline: 8px; font-size: 15px; }
  .bottom-bar.is-tale-focus .focus-bar-label .btn-premium-star { display: none; }
}
