/* Arcade — the Resources landing page (Resources/index.php + style.css).
 *
 * Entries with a Table carry the game-tone hooks (Includes/GameTone.php), so
 * under Arcade their accent bar, kicker and initials wear the game's colour
 * snapped to the screen; entries without one fall back to the screen's link
 * colour. The manifest's own hex accent is a default-look value only.
 *
 * Scoped to .resource-library: this file loads on every page. */

html[data-theme="arcade"] .resource-library .resource-tool,
html[data-theme="arcade"] .resource-library .resource-row {
    --resource-accent: rgb(var(--game-rgb, var(--arc-link-rgb)));
}

html[data-theme="arcade"] .resource-library .resource-row::before {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 0;
    width: 3px;
    background: var(--resource-accent);
}

html[data-theme="arcade"] .resource-library .resource-art {
    box-shadow: 0 0 0 1px rgba(var(--game-rgb, var(--arc-link-rgb)), 0.45);
}

html[data-theme="arcade"] .resource-library .resource-engine {
    color: var(--arc-wild);
    border-color: rgba(var(--arc-wild-rgb), 0.5);
}

/* Small print stays at the audited 0.8rem floor for the VT323 face. */
html[data-theme="arcade"] .resource-library :is(
    .resource-kicker, .resource-row-process, .resource-stat small, .resource-engine,
    .resource-updated, .resource-row-updated, .resource-filter-count, .resource-table-link
) {
    font-size: 0.8rem;
}
