/**
 * Individual card detail page — "The Reliquary Plate".
 * =============================================================================
 * ART DIRECTION
 *   Each card is presented as its authoritative registry record. The art is
 *   enshrined in a rarity-charged relic frame (double hairline, corner
 *   registration ticks, a certified seal), set beside a typographic dossier —
 *   a dramatic Oswald name, a class line, refined stat plates, a real
 *   "registry circulation" spectrum, inscribed ability/attack panels, and the
 *   full catalogue ledger. A huge ghosted initial watermarks the composition.
 *
 *   Signature elements (functional, not decorative):
 *     · the reliquary frame — rarity glow + corner ticks + certified crest,
 *       communicating "this is the canonical, verified record";
 *     · the circulation spectrum — a branded data-viz placing this card's
 *       population against the whole registry's real min/max.
 *
 * Extends "The Vault Ledger": global :root tokens from theme.css. Namespaced
 * .tovc-* (clear of the plugin's .tov-* and theme chrome's .tovt-*).
 * --tovc-rarity is set inline on .tovc-page and inherits to every child.
 * =============================================================================
 */

/* ---------------------------------------------------------------------------
 * Page shell + rarity aura
 * ------------------------------------------------------------------------- */
.tovc-page {
	position: relative;
}

/* A soft rarity-tinted glow crowning the page — the card's color bleeds into
   the room. Fixed + cheap; sits behind everything, never intercepts input. */
.tovc-page::before {
	content: "";
	position: fixed;
	inset: 0 0 auto 0;
	height: 60vh;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(80% 55% at 50% -8%, color-mix(in srgb, var(--tovc-rarity, #d4a24e) 16%, transparent), transparent 70%);
	opacity: 0.7;
}

.tovc-wrap {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 24px 32px;
}

/* ---------------------------------------------------------------------------
 * Masthead top bar — back link + registry position (Phase C)
 * ------------------------------------------------------------------------- */
.tovc-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.tovc-record {
	margin: 0;
	font-family: var(--tov-font-display);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tov-text-dim);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ---------------------------------------------------------------------------
 * Back link
 * ------------------------------------------------------------------------- */
.tovc-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 0;
	font-family: var(--tov-font-display);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tov-text-muted);
	transition: color 0.15s var(--tov-ease), gap 0.15s var(--tov-ease);
}
.tovc-back svg {
	transition: transform 0.15s var(--tov-ease);
}
.tovc-back:hover {
	color: var(--tov-gold);
	gap: 10px;
}
.tovc-back:hover svg {
	transform: translateX(-2px);
}
.tovc-back:focus-visible {
	outline: 2px solid var(--tov-focus);
	outline-offset: 4px;
	border-radius: 3px;
}

/* ---------------------------------------------------------------------------
 * The record — two-column relic layout
 * ------------------------------------------------------------------------- */
.tovc {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
	gap: 52px;
	align-items: start;
}

/* Ghosted initial watermark — editorial depth behind the dossier. */
.tovc-watermark {
	position: absolute;
	top: -0.32em;
	right: -0.04em;
	z-index: 0;
	font-family: var(--tov-font-display);
	font-weight: 700;
	font-size: clamp(16rem, 34vw, 30rem);
	line-height: 0.8;
	color: color-mix(in srgb, var(--tovc-rarity, #d4a24e) 8%, transparent);
	letter-spacing: -0.04em;
	pointer-events: none;
	user-select: none;
}

/* ---------------------------------------------------------------------------
 * LEFT — the enshrined art plate
 * ------------------------------------------------------------------------- */
.tovc-plate {
	position: relative;
	z-index: 1;
	position: sticky;
	top: calc(var(--tov-header-h, 68px) + 20px);
}

.tovc-plate__frame {
	position: relative;
	padding: 12px;
	background:
		linear-gradient(160deg, var(--tov-surface-2), var(--tov-bg-2));
	border: 1px solid var(--tov-line-strong);
	border-radius: 12px;
	box-shadow:
		inset 0 0 0 1px rgba(0, 0, 0, 0.5),
		0 40px 80px -40px rgba(0, 0, 0, 0.95),
		0 0 60px -18px color-mix(in srgb, var(--tovc-rarity, #d4a24e) 55%, transparent);
}

/* rarity-charged top edge across the frame */
.tovc-plate__frame::before {
	content: "";
	position: absolute;
	top: 0;
	left: 22px;
	right: 22px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, transparent, var(--tovc-rarity, var(--tov-gold)), transparent);
	opacity: 0.9;
}

/* corner registration ticks — the "mounted relic" signature */
.tovc-tick {
	position: absolute;
	width: 14px;
	height: 14px;
	z-index: 3;
	pointer-events: none;
	border: 0 solid color-mix(in srgb, var(--tovc-rarity, #d4a24e) 70%, transparent);
}
.tovc-tick--tl { top: 5px; left: 5px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 4px; }
.tovc-tick--tr { top: 5px; right: 5px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 4px; }
.tovc-tick--bl { bottom: 5px; left: 5px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 4px; }
.tovc-tick--br { bottom: 5px; right: 5px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 4px; }

.tovc-plate__art {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 6px;
	background: linear-gradient(160deg, var(--tov-surface-3), var(--tov-bg-2));
}
.tovc-plate__art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* scrim so pips stay legible over bright art */
.tovc-plate__art::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 20%, transparent 78%, rgba(0, 0, 0, 0.45) 100%);
}

/* no-art fallback (plugin emits .tov-card__noart) */
.tovc-plate__art .tov-card__noart {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	gap: 10px;
	text-align: center;
	color: var(--tov-text-dim);
	background:
		radial-gradient(80% 60% at 50% 40%, color-mix(in srgb, var(--tovc-rarity, #d4a24e) 10%, transparent), transparent),
		var(--tov-bg-2);
}
.tovc-plate__art .tov-card__noart svg {
	width: 44px;
	height: 44px;
	margin: 0 auto;
	opacity: 0.5;
}
.tovc-plate__art .tov-card__noart span {
	font-family: var(--tov-font-display);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* pips over the art */
.tovc-pips {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	z-index: 2;
}
.tovc-pip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	font-family: var(--tov-font-display);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--tov-text);
	background: rgba(10, 10, 11, 0.72);
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	white-space: nowrap;
}
.tovc-pip--season { color: var(--tov-gold-bright); }
.tovc-pip--rarity {
	margin-left: auto;
	color: var(--tovc-rarity, var(--tov-text));
	border-color: color-mix(in srgb, var(--tovc-rarity, #8c8c94) 45%, transparent);
}
.tovc-pip--hero {
	color: var(--tov-bg);
	background: linear-gradient(135deg, var(--tov-gold-bright), var(--tov-gold));
	border-color: transparent;
	box-shadow: 0 0 12px -2px rgba(212, 162, 78, 0.6);
}
.tovc-pip--hero .tovc-crown {
	width: 1.15em;
	height: 1.15em;
	margin: -1px 0;
	flex: 0 0 auto;
}
.tovc-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tovc-rarity, var(--tov-text-dim));
	box-shadow: 0 0 6px var(--tovc-rarity, transparent);
}

/* certified seal beneath the plate */
.tovc-cert {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	padding: 12px 16px;
	background: var(--tov-surface);
	border: 1px solid var(--tov-line);
	border-radius: 8px;
}
.tovc-cert__crest {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--tovc-rarity, var(--tov-gold));
}
.tovc-cert__crest svg { width: 26px; height: 26px; }
.tovc-cert__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	font-size: 12px;
	line-height: 1.35;
	color: var(--tov-text-dim);
}
.tovc-cert__text b {
	font-family: var(--tov-font-display);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tov-text-muted);
}

/* ---------------------------------------------------------------------------
 * RIGHT — the dossier
 * ------------------------------------------------------------------------- */
.tovc-dossier {
	position: relative;
	z-index: 1;
	min-width: 0;
	padding-top: 4px;
}

.tovc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 10px;
	font-family: var(--tov-font-display);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--tovc-rarity, var(--tov-gold));
}
.tovc-eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: linear-gradient(90deg, var(--tovc-rarity, var(--tov-gold)), transparent);
}

.tovc-name {
	margin: 0 0 12px;
	font-family: var(--tov-font-display);
	font-weight: 700;
	font-size: clamp(2.4rem, 5.2vw, 3.9rem);
	line-height: 0.98;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	color: var(--tov-text);
}

.tovc-classline {
	margin: 0 0 26px;
	font-size: 15px;
	letter-spacing: 0.02em;
	color: var(--tov-text-muted);
}

/* stat plates */
.tovc-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
}
.tovc-stat {
	position: relative;
	overflow: hidden;
	flex: 1 1 130px;
	max-width: 200px;
	padding: 16px 18px 13px;
	background:
		linear-gradient(180deg, var(--tov-surface), var(--tov-surface-2));
	border: 1px solid var(--tov-line);
	border-radius: 9px;
}
.tovc-stat::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--tov-gold);
	opacity: 0.7;
}
.tovc-stat__v {
	display: block;
	font-family: var(--tov-font-display);
	font-weight: 700;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--tov-gold);
	font-variant-numeric: tabular-nums;
}
.tovc-stat__k {
	display: block;
	margin-top: 5px;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tov-text-dim);
}

/* ---------------------------------------------------------------------------
 * Registry circulation spectrum (branded data-viz signature)
 * ------------------------------------------------------------------------- */
.tovc-circ {
	margin-bottom: 28px;
	padding: 18px 20px 16px;
	background: var(--tov-bg-2);
	border: 1px solid var(--tov-line);
	border-radius: 10px;
}
.tovc-circ__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}
/* The "so what" line — how scarce this card is, in rank terms (A1). */
.tovc-circ__headline {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--tov-text-muted);
}
.tovc-circ__headline b {
	color: var(--tovc-rarity, var(--tov-gold));
	font-weight: 700;
}
.tovc-circ__label {
	font-family: var(--tov-font-display);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tov-text-muted);
}
.tovc-circ__pop {
	font-family: var(--tov-font-display);
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--tovc-rarity, var(--tov-gold));
	font-variant-numeric: tabular-nums;
}
.tovc-circ__track {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background:
		linear-gradient(90deg,
			color-mix(in srgb, var(--tovc-rarity, #d4a24e) 45%, transparent),
			var(--tov-surface-3) 60%);
	border: 1px solid var(--tov-line);
}
/* the fill grows from the scarce (left) end up to the card's position */
.tovc-circ__fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: var(--tovc-pct, 50%);
	border-radius: 999px 0 0 999px;
	background: linear-gradient(90deg, color-mix(in srgb, var(--tovc-rarity, #d4a24e) 70%, transparent), var(--tovc-rarity, var(--tov-gold)));
}
.tovc-circ__marker {
	position: absolute;
	top: 50%;
	width: 15px;
	height: 15px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--tov-text);
	border: 3px solid var(--tovc-rarity, var(--tov-gold));
	box-shadow: 0 0 0 3px var(--tov-bg-2), 0 0 14px -1px var(--tovc-rarity, transparent);
}
.tovc-circ__scale {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 9px;
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--tov-text-dim);
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
 * Inscribed blocks — ability / attacks
 * ------------------------------------------------------------------------- */
.tovc-block {
	margin-bottom: 24px;
}
.tovc-block__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	font-family: var(--tov-font-display);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tov-gold);
}
.tovc-block__title::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(90deg, var(--tov-line-strong), transparent);
}

.tovc-attack {
	position: relative;
	padding: 13px 16px 13px 18px;
	margin-bottom: 10px;
	background: var(--tov-surface);
	border: 1px solid var(--tov-line);
	border-left: 2px solid var(--tovc-rarity, var(--tov-gold-deep));
	border-radius: 0 8px 8px 0;
}
.tovc-attack:last-child { margin-bottom: 0; }
.tovc-attack__name {
	display: block;
	font-family: var(--tov-font-display);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.03em;
	color: var(--tov-text);
}
.tovc-attack__fx {
	display: block;
	margin-top: 3px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--tov-text-muted);
}

.tovc-ability {
	padding: 16px 18px;
	background: var(--tov-surface);
	border: 1px solid var(--tov-line);
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
	font-size: 15px;
	line-height: 1.65;
	color: var(--tov-text);
}
.tovc-ability p { margin: 0 0 10px; }
.tovc-ability p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
 * The ledger — full catalogue record
 * ------------------------------------------------------------------------- */
.tovc-ledger {
	margin: 28px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--tov-line);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--tov-line);
	border: 1px solid var(--tov-line);
	border-radius: 8px;
	overflow: hidden;
}
.tovc-ledger__row {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 16px;
	background: var(--tov-bg-2);
}
.tovc-ledger dt {
	font-family: var(--tov-font-display);
	font-weight: 600;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tov-gold-deep);
}
.tovc-ledger dd {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--tov-text);
}

/* ---------------------------------------------------------------------------
 * Registry navigation — prev/next neighbours (A5). No dead ends.
 * ------------------------------------------------------------------------- */
.tovc-nav {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 44px;
	padding-top: 26px;
	border-top: 1px solid var(--tov-line);
}
.tovc-nav__link {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 15px 18px;
	background: var(--tov-surface);
	border: 1px solid var(--tov-line);
	border-radius: 10px;
	transition: border-color 0.15s var(--tov-ease), background 0.15s var(--tov-ease), transform 0.15s var(--tov-ease);
}
/* next always sits in the right column, so a missing prev leaves the left empty
   (non-wrapping) rather than shoving next to the left. */
.tovc-nav__link--next {
	grid-column: 2;
	justify-content: flex-end;
	text-align: right;
}
.tovc-nav__link:hover {
	border-color: var(--tov-line-strong);
	background: var(--tov-surface-2);
}
.tovc-nav__link--prev:hover { transform: translateX(-3px); }
.tovc-nav__link--next:hover { transform: translateX(3px); }
.tovc-nav__link:focus-visible {
	outline: 2px solid var(--tov-focus);
	outline-offset: 3px;
}
.tovc-nav__arrow {
	flex: 0 0 auto;
	font-family: var(--tov-font-display);
	font-size: 20px;
	line-height: 1;
	color: var(--tovc-rarity, var(--tov-gold));
}
.tovc-nav__side {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.tovc-nav__link--next .tovc-nav__side { align-items: flex-end; }
.tovc-nav__dir {
	font-family: var(--tov-font-display);
	font-weight: 500;
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tov-text-dim);
}
.tovc-nav__name {
	max-width: 100%;
	font-family: var(--tov-font-display);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.01em;
	color: var(--tov-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---------------------------------------------------------------------------
 * Related records — compact mini-plates (A5), the tile language in miniature.
 * ------------------------------------------------------------------------- */
.tovc-related {
	position: relative;
	z-index: 1;
	margin-top: 44px;
	padding-top: 26px;
	border-top: 1px solid var(--tov-line);
}
.tovc-related__title {
	margin: 0 0 18px;
	font-family: var(--tov-font-display);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tov-gold);
}
.tovc-related__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.tovc-related__plate {
	display: flex;
	flex-direction: column;
	background: var(--tov-surface);
	border: 1px solid var(--tov-line);
	border-radius: 9px;
	overflow: hidden;
	transition: transform 0.18s var(--tov-ease), border-color 0.18s var(--tov-ease), box-shadow 0.18s var(--tov-ease);
}
.tovc-related__plate:hover {
	transform: translateY(-4px);
	border-color: var(--tov-line-strong);
	box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.95),
		0 0 26px -14px color-mix(in srgb, var(--tovc-rarity, #d4a24e) 60%, transparent);
}
.tovc-related__plate:focus-visible {
	outline: 2px solid var(--tov-focus);
	outline-offset: 3px;
}
.tovc-related__edge {
	height: 3px;
	background: var(--tovc-rarity, var(--tov-gold));
	opacity: 0.85;
}
.tovc-related__art {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: linear-gradient(160deg, var(--tov-surface-3), var(--tov-bg-2));
}
.tovc-related__art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--tov-ease);
}
.tovc-related__plate:hover .tovc-related__art img { transform: scale(1.05); }
.tovc-related__art .tov-card__noart {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	gap: 8px;
	text-align: center;
	color: var(--tov-text-dim);
	background: var(--tov-bg-2);
}
.tovc-related__art .tov-card__noart svg { width: 26px; height: 26px; margin: 0 auto; opacity: 0.5; }
.tovc-related__art .tov-card__noart span {
	font-family: var(--tov-font-display);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.tovc-related__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 11px 13px 13px;
}
.tovc-related__name {
	font-family: var(--tov-font-display);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.15;
	color: var(--tov-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tovc-related__rarity {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tovc-rarity, var(--tov-text-dim));
}

/* ---------------------------------------------------------------------------
 * Orchestrated entrance (one sequence; transform/opacity only)
 * ------------------------------------------------------------------------- */
@keyframes tovc-plate-in {
	from { opacity: 0; transform: translateX(-16px) scale(0.985); }
	to   { opacity: 1; transform: none; }
}
@keyframes tovc-rise {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}
@keyframes tovc-fill {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

.tovc-plate {
	animation: tovc-plate-in 0.6s var(--tov-ease) both;
}
.tovc-dossier > * {
	animation: tovc-rise 0.55s var(--tov-ease) both;
}
.tovc-eyebrow   { animation-delay: 0.08s; }
.tovc-name      { animation-delay: 0.14s; }
.tovc-classline { animation-delay: 0.20s; }
.tovc-stats     { animation-delay: 0.26s; }
.tovc-circ      { animation-delay: 0.32s; }
.tovc-block     { animation-delay: 0.36s; }
.tovc-ledger    { animation-delay: 0.42s; }

/* the circulation fill sweeps in from the scarce end */
.tovc-circ__fill {
	transform-origin: left center;
	animation: tovc-fill 0.7s var(--tov-ease) 0.5s both;
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 980px) {
	.tovc {
		grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
		gap: 36px;
	}
	.tovc-watermark { font-size: clamp(12rem, 26vw, 20rem); }
}

@media (max-width: 760px) {
	.tovc {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.tovc-plate {
		position: static;
		max-width: 400px;
	}
	.tovc-watermark {
		top: auto;
		bottom: 8%;
		font-size: 40vw;
		opacity: 0.6;
	}
	.tovc-name { font-size: clamp(2.1rem, 9vw, 3rem); }
	.tovc-stat { flex-basis: 110px; }
	.tovc-stat__v { font-size: 2rem; }
	.tovc-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tovc-nav,
	.tovc-related { margin-top: 36px; }
}

@media (max-width: 440px) {
	.tovc-wrap { padding: 8px 16px 24px; }
	.tovc-ledger { grid-template-columns: 1fr; }
	.tovc-stat { max-width: none; }
	.tovc-circ__head { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------------------
 * Reduced motion — clean, immediate; nothing moves
 * ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.tovc-plate,
	.tovc-dossier > *,
	.tovc-circ__fill {
		animation: none !important;
	}
	.tovc-back,
	.tovc-back svg {
		transition: none;
	}
	.tovc-nav__link:hover,
	.tovc-related__plate:hover {
		transform: none;
	}
	.tovc-related__plate:hover .tovc-related__art img {
		transform: none;
	}
}
