/* Chooni.ir — title/person page blocks that the static comps did not cover:
   synopsis/crew/OST strip, cast grid, related titles, person filmography.
   Tokens only; no new colors. */

.title-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.title-about__synopsis p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.title-about__synopsis p[lang="en"], .quote[lang="en"], .result__line[lang="en"] { direction: ltr; text-align: left; font-family: "Bodoni Moda", Georgia, serif; font-style: italic; }
/* "More reviews coming": reviews still being translated are counted, never shown untranslated. */
.reviews__pending { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; padding: 20px 24px; border: 1px dashed var(--amber-line); border-radius: 4px; background: var(--amber-wash); }
.reviews__pending-title { color: var(--amber); font-size: 16px; font-weight: 700; }
.reviews__pending-text { color: var(--muted); font-size: 14px; line-height: 1.8; }
.crew-list, .ost-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.crew-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.crew-list a { color: var(--ink); text-decoration: none; }
.crew-list a:hover { color: var(--amber); }
.crew-list__job { color: var(--dim); font-size: 12px; direction: ltr; }
.crew-list__job--fa { direction: rtl; }
.publisher-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.publisher-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; text-decoration: none; }
.publisher-link:hover { color: var(--amber); }
.publisher-link:hover .publisher-mark { border-color: var(--amber-line); }
/* Hero: the publisher logo where a film shows its streaming badge (.hero__platform positions it). */
.hero__publisher { display: flex; align-items: center; justify-content: center; width: 132px; height: 84px; padding: 12px 16px; border-radius: 12px; background: #F3EFE7; border: 1px solid rgba(14, 11, 8, 0.12); }
.hero__publisher-img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 620px) { .hero__publisher { width: 92px; height: 58px; padding: 8px 10px; } }
.title-releases { max-width: 720px; }
.ost-list { padding-inline-start: 18px; list-style: decimal; color: var(--muted); font-size: 14px; direction: ltr; text-align: left; }

.cast-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px;
}
.cast-card a { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.cast-card__photo { display: block; aspect-ratio: 2 / 3; background: var(--panel-2); border-radius: 4px; overflow: hidden; }
.cast-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cast-card__name { font-size: 14px; font-weight: 600; direction: ltr; text-align: left; }
.cast-card__role { font-size: 12px; color: var(--muted); direction: ltr; text-align: left; }
.cast-card__eps { font-size: 11px; color: var(--dim); }

.related-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px;
}
.related-card a { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.related-card__poster { display: block; aspect-ratio: 2 / 3; background: var(--panel-2); border-radius: 4px; overflow: hidden; }
.related-card__poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.related-card a:hover .related-card__poster img { transform: scale(1.03); }
.related-card__title { font-size: 14px; font-weight: 600; }
.related-card__score { font-size: 13px; color: var(--amber); font-weight: 700; }

.review-card__source { margin-inline-start: auto; font-size: 11px; color: var(--dim); text-decoration: none; }
.review-card__source:hover { color: var(--amber); }

/* Title hero: the image is pinned to the top of its column, so a long title or quote never pushes it
   down (the shared hero centres both columns); the quote is a glance — at most six lines, the full
   review is in the reviews section. */
.hero__inner { align-items: start; }
@media (min-width: 901px) {
  .hero__media { position: sticky; top: 120px; }
}
.hero__quote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }

/* Steam review card: recommendation + hours, helpful/funny counts, awards, reviewer link */
.review-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-card__hours { font-size: 12px; color: var(--muted); }
.review-card__votes { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--dim); }
.review-awards { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.review-awards li { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px 0 4px; border-radius: 999px; background: var(--panel-2); font-size: 12px; font-weight: 600; color: var(--muted); }
.review-awards img { width: 20px; height: 20px; display: block; }
.review-card .quote.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 10; line-clamp: 10; overflow: hidden; }
.review-card__more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--amber); font: inherit; font-size: 13px; cursor: pointer; }
.review-card__name a { color: inherit; text-decoration: none; }
.review-card__name a:hover { color: var(--amber); }

/* Games: Steam recommendations (thumbs, not stars), screenshots, PC requirements, source credit */
.review-verdict { display: inline-flex; align-items: center; align-self: flex-start; height: 24px; padding: 0 10px; border-radius: 2px; font-size: 12px; font-weight: 700; }
.review-verdict--up { background: rgb(var(--teal-rgb) / 0.14); color: var(--teal); }
.review-verdict--down { background: var(--amber-wash); color: var(--amber); }
.shots-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.shots-grid a { display: block; aspect-ratio: 16 / 9; background: var(--panel-2); border-radius: 4px; overflow: hidden; }
.shots-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.shots-grid a:hover img { transform: scale(1.03); }
.shots-grid a { position: relative; cursor: zoom-in; }
.shots-grid__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(0 0 0 / 0.55); color: #fff; font-size: 26px; font-weight: 700; }

/* Screenshot slide view (shots.js): a full-screen dialog, image fitted, controls on top. */
.slides { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(8 6 5 / 0.94); color: #fff; overflow: hidden; }
.slides::backdrop { background: rgb(8 6 5 / 0.7); }
.slides[open] { display: grid; place-items: center; }
.slides__stage { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px clamp(16px, 7vw, 96px); box-sizing: border-box; }
.slides__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgb(0 0 0 / 0.5); user-select: none; }
.slides__nav, .slides__close { position: absolute; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.12); color: #fff; cursor: pointer; }
.slides__nav:hover, .slides__close:hover { background: rgb(255 255 255 / 0.25); }
.slides__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 32px; line-height: 1; }
.slides__nav--prev { right: 16px; }
.slides__nav--next { left: 16px; }
.slides__close { top: 16px; left: 16px; width: 40px; height: 40px; font-size: 18px; }
.slides__count { position: absolute; top: 24px; right: 24px; font-size: 14px; color: rgb(255 255 255 / 0.8); }
@media (max-width: 620px) {
  .slides__nav { width: 40px; height: 40px; margin-top: -20px; font-size: 24px; }
  .slides__stage { padding: 56px 8px; }
}
.game-reqs { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 16px; }
.game-reqs summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.game-reqs pre { direction: ltr; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0 0; color: var(--muted); font: 13px/1.7 ui-monospace, Consolas, monospace; }
.game-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.game-modes .chip { height: 30px; font-size: 12px; text-decoration: none; }
.game-langs { margin: 8px 0 0; font-size: 13px; line-height: 1.9; color: var(--muted); }
.game-langs [lang="en"] { direction: ltr; unicode-bidi: isolate; }
.source-credit { margin: 32px 0 0; font-size: 12px; color: var(--dim); }
.source-credit a { color: var(--muted); }
.source-credit a:hover { color: var(--amber); }

/* Person page */
.hero__media-frame--portrait { aspect-ratio: 2 / 3; max-width: 320px; margin-inline-start: auto; }
.credits-list { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-direction: column; }
.credit-row a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.credit-row a:hover .credit-row__title { color: var(--amber); }
.credit-row__poster { display: block; width: 56px; aspect-ratio: 2 / 3; background: var(--panel-2); border-radius: 3px; overflow: hidden; }
.credit-row__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credit-row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.credit-row__title { font-size: 16px; font-weight: 600; }
.credit-row__meta { font-size: 13px; color: var(--muted); }
.credit-row__score { font-size: 15px; font-weight: 700; color: var(--amber); }

@media (max-width: 900px) {
  .title-about__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__media-frame--portrait { margin-inline-start: 0; max-width: 220px; }
}
