/* The tale film page (Sample\View\TaleFilmView): the film first and large, a tall 9:16 film kept within the screen. */
.tf-page { max-width: 760px; margin: 0 auto; padding: 18px 0 40px; display: flex; flex-direction: column; gap: 12px; }
.tf-crumbs a { color: var(--plum, #6b4a8f); font-weight: 700; text-decoration: none; }
.tf-crumbs a:hover { text-decoration: underline; }
.tf-title { margin: 0; line-height: 1.2; text-wrap: balance; }
.tf-when { margin: 0; color: var(--soft, #6c6076); font-weight: 700; }
.tf-player { display: flex; justify-content: center; background: #120d17; border-radius: 18px; overflow: hidden; }
.tf-video { display: block; width: auto; max-width: 100%; max-height: 78vh; aspect-ratio: 9 / 16; background: #120d17; }
.tf-tagline { margin: 4px 0 0; font-size: 1.15rem; font-weight: 700; }
.tf-lead, .tf-summary { margin: 0; line-height: 1.55; }
.tf-summary { color: var(--soft, #6c6076); }
.tf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; align-items: center; }
.tf-actions a { text-decoration: none; justify-content: center; }
@media (max-width: 520px) { .tf-video { max-height: 70vh; } .tf-actions a { flex: 1 1 100%; text-align: center; } }
/* The words the film reads, page by page (SEO check S16): calm, readable, below the film and its buttons. */
.tf-words { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border, #e6d9c8); }
.tf-words-title { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.tf-words-note { margin: 4px 0 12px; color: var(--soft, #6c6076); }
.tf-words-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tf-words-page { display: flex; flex-direction: column; gap: 2px; }
.tf-words-no { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--plum, #6b4a8f); }
.tf-words-page p { margin: 0; line-height: 1.65; font-size: 1.05rem; }
.tf-more { margin: 18px 0 0; }
.tf-more a { color: var(--plum, #6b4a8f); font-weight: 700; text-decoration: none; }
.tf-more a:hover { text-decoration: underline; }

/* Every tale's film (TaleFilmView::list): 9:16 cards, two across on a phone. */
.tfl-page { max-width: 1100px; }
.tfl-section { margin-top: 14px; }
.tfl-heading { margin: 0 0 10px; font-size: 1.3rem; }
.tfl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px 14px; }
.tfl-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.tfl-pic { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #120d17; box-shadow: 0 6px 18px rgba(40, 20, 60, .14); }
.tfl-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tfl-card:hover .tfl-pic img, .tfl-card:focus-visible .tfl-pic img { transform: scale(1.03); }
.tfl-time { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(18, 13, 23, .8); color: #fff; font-size: .82rem; font-weight: 700; }
.tfl-name { font-weight: 700; line-height: 1.3; }
.tfl-card:hover .tfl-name { text-decoration: underline; }
.tfl-end { margin-top: 26px; padding: 20px; border-radius: 18px; background: var(--cream-2, #f7efe6); display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; }
.tfl-end a { text-decoration: none; }
.tfl-end p { margin: 0; font-weight: 700; flex: 1 1 260px; }
@media (max-width: 520px) { .tfl-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; } .tfl-end a { flex: 1 1 100%; text-align: center; } }
