/*
 * Repent! Ye Foolish Gods: game theme (D-057, D-078).
 *
 * Applies to the whole page, shell included, while the route is under /repent
 * (the app sets data-game="repent" on its wrapper). It only redefines the
 * --sc-* tokens that shell-theme.css (in the Client) maps onto Radzen, so there
 * is no runtime stylesheet swapping. The warm browns, ragged cuts and grain come
 * from the design mock (docs/design); the accent is the purple of the book's
 * cover, not the mock's red. Headings use Crimson Pro, a free stand-in for the
 * Minion Pro that snarlingbadger.com uses on its Repent page (Adobe-licensed).
 */
@font-face {
    font-family: 'Crimson Pro';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/crimson-pro.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

[data-game="repent"] {
    --sc-bg: #1a1917;
    --sc-surface: #24221f;
    --sc-raised: #2a2724;
    --sc-border: #4a443d;
    --sc-muted: #6b645c;
    --sc-ink: #ece8e2;
    --sc-ink-dim: #a89f96;
    --sc-ink-faint: #9a9189;
    --sc-accent: #8e568e;
    --sc-accent-hover: #7a487a;
    --sc-accent-text: #b392c9;
    --sc-on-accent: #ffffff;

    --sc-radius: 0;
    --sc-radius-btn: 0;
    --sc-radius-card: 0;

    --sc-font-head: 'Crimson Pro', Georgia, 'Times New Roman', serif;

    --sc-grain: repeating-linear-gradient(101deg, rgba(255, 255, 255, 0.017) 0 1px, transparent 1px 5px);
    --sc-cut: polygon(0px 6px, 9% 1px, 23% 5px, 41% 0px, 58% 4px, 74% 0px, 89% 5px, 100% 1px, calc(100% - 5px) 19%, 100% 38%, calc(100% - 4px) 58%, 100% 79%, calc(100% - 3px) calc(100% - 4px), 86% 100%, 69% calc(100% - 5px), 52% 100%, 33% calc(100% - 4px), 16% 100%, 0px calc(100% - 3px), 4px 76%, 0px 55%, 5px 34%, 1px 18%);
    --sc-cut-btn: polygon(0px 2px, 18% 0px, 42% 3px, 68% 0px, 88% 3px, 100% 0px, calc(100% - 2px) 34%, 100% 66%, calc(100% - 3px) 100%, 74% calc(100% - 2px), 46% 100%, 21% calc(100% - 3px), 0px 100%, 2px 62%, 0px 30%);
    --sc-cut-chip: polygon(0px 1px, 25% 0px, 60% 2px, 100% 0px, calc(100% - 2px) 50%, 100% 100%, 62% calc(100% - 2px), 28% 100%, 0px calc(100% - 1px), 1px 50%);
    --sc-cut-strip: polygon(0 0, 100% 0, 100% calc(100% - 4px), 88% 100%, 71% calc(100% - 5px), 54% 100%, 37% calc(100% - 4px), 19% 100%, 6% calc(100% - 5px), 0 100%);
}
