/* CG Nation village (prefix cgv-): the site's two counters, the page card of a tapped work, and the role /
   period / team rows. */
.cgv-nums { list-style: none; margin: 6px 0 0; padding: 12px 0 0; width: 100%; max-width: 30rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border-block-start: 1px solid var(--hair); }
.cgv-nums li { display: grid; gap: 2px; align-content: start; }
.cgv-nums b { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
html[lang='fa'] .cgv-nums b { letter-spacing: 0; line-height: 1.25; }
.cgv-nums span { font-size: 0.8125rem; line-height: 1.3; color: var(--mute); }
.cgv-facts { margin: 4px 0 0; width: 100%; max-width: 30rem; border-block-start: 1px solid var(--hair); }
.cgv-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 7px 0; border-block-end: 1px solid var(--hair); }
.cgv-facts dt { flex: none; font-size: 0.8125rem; line-height: 1.3; color: var(--mute); }
.cgv-facts dd { margin: 0; font-size: 0.9375rem; font-weight: 680; line-height: 1.3; text-align: end; }

/* The page card: the work as the site gives it a page of its own (the site's bar, the picture, where it lives). */
.cgv-card { position: absolute; z-index: 2; top: 0; left: 0; width: min(252px, calc(100vw - 48px)); pointer-events: auto; will-change: transform; }
.cgv-card[hidden] { display: none; }
@media (min-width: 900px) { .cgv-card { width: 300px; } }
.cgv-card__in { overflow: hidden; border-radius: 16px; background: #131820; color: var(--fg); text-align: start; box-shadow: 0 0 0 1px rgb(238 241 244 / 0.12), 0 30px 60px -26px rgb(0 0 0 / 0.95); opacity: 0; transform: scale(0.6); transition: transform 0.5s var(--ease-out), opacity 0.24s; }
.cgv-card.is-on .cgv-card__in { opacity: 1; transform: none; }
.cgv-card__bar { margin: 0; height: 44px; padding-inline: 12px 2px; display: flex; align-items: center; gap: 8px; }
.cgv-card__bar img { flex: none; width: auto; height: 15px; }
.cgv-card__bar span { flex: 1; min-width: 0; font-size: 0.75rem; line-height: 1; color: var(--mute); direction: ltr; text-align: end; }
html[dir='rtl'] .cgv-card__bar span { text-align: start; }
.cgv-card__x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--fg); cursor: pointer; }
.cgv-card__x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cgv-card__pic { width: 100%; background-color: #1a2029; background-repeat: no-repeat; }
.cgv-card__body { padding: 10px 14px 13px; display: grid; gap: 3px; }
.cgv-card__body p { margin: 0; }
.cgv-card__k { font-size: 0.75rem; font-weight: 650; line-height: 1.35; color: var(--mute); }
.cgv-card.is-featured .cgv-card__k { color: var(--ac); }
.cgv-card__t { font-size: 1.0625rem; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.cgv-card__b { font-size: 0.8125rem; line-height: 1.45; color: var(--mute); }
html[lang='fa'] .cgv-card__b, html[lang='fa'] .cgv-card__k { line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .cgv-card__in { transition: opacity 0.2s; transform: none; } }
