:root {
  --bg-color: #140a0d;
  --text-color: #efe9e6;            /* soft warm white — easier on the eyes than pure #fff */
  --text-bright: #ffffff;           /* reserved for moments that need to pop */
  --accent-color: #e85d4a;
  --accent-glow: rgba(232, 93, 74, 0.45);
  --accent-color-rgb: 232, 93, 74;
  --accent-soft: #f2a08f;
  --accent-surface-hi: #8f1a24;    /* oxblood button fills — white labels clear WCAG AA (~9-11:1) */
  --accent-surface: #7a1220;
  --accent-surface-lo: #5e0e18;
  --cta-ks: #05ce78;          /* Kickstarter green — the ONLY non-red accent, confined to the KS CTA */
  --cta-ks-ink: #06231a;
  --accent-hue: 4;
  --card-bg: #1c1c1c;
  --border-color: #333;
  --nav-color: #c0c0c0;
  --nav2-color: white;
  --text-color-rgb: 239, 233, 230;
  --background-image: url("../assets/hero-bg.webp");
  --page-base: #100d0d; /* near-black page (team-picked); the art has transparent edges, so it blends on any colour */
  --nav-border-color: rgba(255, 255, 255, 0.1);
  --body-padding-top: clamp(120px, 12vh, 180px);
  --footer-bg: rgba(53, 50, 50, 0.8);
  --footer-text-color: var(--nav-color);
  --footer-link-color: var(--nav2-color);
  --footer-border-color: var(--nav-border-color);

  /* --- Refined design tokens (elegance pass) --- */
  --ink-dim: rgba(239, 233, 230, 0.66);          /* secondary copy */
  --surface: rgba(18, 12, 14, 0.55);             /* glass card fill */
  --surface-2: rgba(18, 12, 14, 0.74);           /* denser card fill */
  --surface-border: rgba(255, 255, 255, 0.09);
  --surface-border-strong: rgba(232, 93, 74, 0.40);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 22px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* --- Type + motion system (Tier 0 foundation) --- */
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Gentium Book Basic', Georgia, serif;
  --fs-eyebrow: clamp(0.7rem, 0.66rem + 0.2vw, 0.82rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  --fs-h2: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem);
  --fs-display: clamp(2.2rem, 1.4rem + 3.4vw, 3.4rem);
  --fs-hero: clamp(3rem, 1.8rem + 6vw, 6rem);
  --tracking-eyebrow: 0.26em;
  --tracking-title: 0.03em;
  --tracking-hero: 0.1em;
  --leading-body: 1.7;
  --dur-tap: 0.12s;
  --dur-hover: 0.22s;
  --dur-move: 0.4s;
}


html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Page settles into a solid dark colour; the hero image lives on body::before
     and only covers the first viewport (see below). */
  background: var(--page-base);
}

body {
  /* Background lives on <html> only (it propagates to the canvas); avoids a double full-screen paint. */
  font-family: 'Gentium Book Basic', serif;
  color: var(--text-color);
  text-align: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  transition: background-color 0.3s ease, color 0.3s ease, background 0.3s ease;
  padding-top: var(--body-padding-top);
  font-size: 1rem;
  line-height: 1.6;
}

/* Display-face baseline — any heading without a more specific rule (orphan
   headings like item <h4> or #popup-title previously fell back to Times). */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

/* One canonical eyebrow label: small tracked caps above a section title. */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent-color);
  margin: 0 0 0.6rem;
  display: block;
}

/* Hero backdrop: the hellscape image fills only the first viewport (100vh),
   then fades into the solid page colour. Keeping the image off the full (very
   tall, especially on mobile) page stops `cover` from upscaling it into a blur,
   and adds a readability scrim so the hero type stays crisp. */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  /* Image stays clearly visible behind the title, then fades 42% -> 100% into
     the page colour; only a light scrim at the top keeps the type legible. */
  background:
    linear-gradient(180deg, rgba(16, 13, 13, 0) 42%, var(--page-base) 100%),
    linear-gradient(180deg, rgba(9, 5, 7, 0.30) 0%, rgba(9, 5, 7, 0.12) 45%, rgba(9, 5, 7, 0) 65%),
    var(--background-image) center center / cover no-repeat;
}

/* Pages whose own banner already shows the hero art (Kickstarter) skip the
   background image and sit on the plain grey page colour. */
body.plain-bg::before { display: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}
  
/* Hide EmailOctopus Badge Container */
div[eo-block="powered-by"] {
  display: none !important;
  visibility: hidden !important;
}



/* Centering container (WIDTH WRAPPER ONLY - NOT flex!)
   This prevents nav/footer from being forced into flex-column layout. */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: min(1200px, 95vw);
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;

  /* IMPORTANT: remove these if you had them */
  /* display: flex; */
  /* flex-direction: column; */
  /* align-items: center; */
  /* position: relative; */
}


.coming {
    font-size: clamp(11px, 1.68vw, 15px);
    color: #dbdbdb;
    /* Adjusted margin for better vertical centering within banner */
    margin: 0;
    line-height: 30px; /* Align text vertically in banner */
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.72);
    text-align: center;
    z-index: 999;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nav-border-color);
    height: clamp(50px, 6vh, 70px); /* Scales nav height across devices */
    padding: 0 clamp(10px, 4vw, 40px); /* Responsive horizontal padding */
    box-sizing: border-box;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.nav-left, .nav-right {
    flex: 1;                   /* Allow left and right to take equal space */
    display: flex;
    align-items: center;       /* Vertically align items within */
}

.nav-left {
    justify-content: flex-start; /* Align logo to the left */
}

.nav-right {
    justify-content: flex-end;  /* Align potential future content to the right */
    /* This empty div helps center the .nav-links */
}

.nav-left img.nav-logo { /* Target nav logo specifically */
    height: clamp(25px, 3vh, 35px); /* Responsive height */
    width: auto;
    max-height: 40px; /* Prevent excessive height */
}

.nav-links {                 /* Keep this centered */
    display: flex;
    align-items: center;       /* Vertically center links */
    justify-content: center;   /* Horizontally center links */
    gap: clamp(15px, 3vw, 40px);/* Responsive gap */
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0; /* Prevent links from shrinking too much */
}

.nav-links li a {
    font-family: 'Cinzel', serif; /* Ensure font is applied */
    font-weight: 700; /* only Cinzel 700 is loaded — without this the nav falls back to Georgia */
    font-size: clamp(13px, 1.6vw, 16px); /* Adjusted responsive font size */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--nav-color);
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent links from wrapping */
}

/*.nav-links li a {
    font-size: clamp(13px, 1.6vw, 18px);
    padding: 0.3em 0.8em;
    white-space: nowrap;
}*/

.nav-links li a:hover {
    color: var(--nav2-color);
}

/* Full-width wrappers used by the rewritten HTML */
.site-header,
.site-footer {
  width: 100%;
}

/* Keep nav content wider than main container if you want */
.nav-content.container {
  max-width: 1400px;
}


.site-footer {
  background-color: var(--footer-bg, rgba(53, 50, 50, 0.8));
  border-top: 1px solid var(--footer-border-color, var(--nav-border-color));
  margin-top: clamp(50px, 8vh, 100px);
  color: var(--footer-text-color, var(--nav-color));
  font-size: clamp(13px, 1vw, 15px);
  box-sizing: border-box;
  padding: clamp(20px, 4vw, 40px);
}

.site-footer .footer-content {
  /* your existing footer-content styles are fine */
  max-width: 1100px;
  margin: 0 auto;
}

/* *** NAV FIXES END *** */


.logo {
    max-width: clamp(200px, 40vw, 500px); /* Responsive width */
    width: 100%;
    height: auto;
    margin: clamp(4vh, 8vh, 10vh) auto clamp(2rem, 5vh, 5rem);
    display: block;
}

.nav-links a.kickstarter {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: clamp(12px, 1.5vw, 15px);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cta-ks-ink);
    background: var(--cta-ks);
    padding: 0.5em 1.15em;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition: filter 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

/* Kickstarter's own wordmark inside the green pill (replaces the plain text). */
.nav-links a.kickstarter .ks-wordmark {
    display: block;
    height: 1.15em;
    width: auto;
    max-width: none;
}

.nav-links a.kickstarter:hover {
    color: var(--cta-ks-ink);
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 206, 120, 0.35);
}

/* Mobile drawer: a centred pill with room around it */
.mobile-nav a.kickstarter {
    display: block;
    width: fit-content;
    margin: 12px auto 4px;
    padding: 0.6em 1.6em;
}

.nav-links li a.nav-active {
    color: var(--accent-color);
    text-shadow: 0 0 12px var(--accent-glow);
}

/* KICKSTARTER pill stays (and glows) green when it is the active page,
   rather than taking the red active colour like the other nav items. */
.nav-links li a.kickstarter.nav-active {
    color: var(--cta-ks-ink);
    text-shadow: none;
    filter: brightness(1.12);
    box-shadow: 0 0 20px rgba(5, 206, 120, 0.55);
}

.tagline {
    font-size: clamp(15px, 2vw, 20px); /* Responsive font */
    max-width: 750px;
    text-align: center;
    margin: 0 auto clamp(3rem, 6vh, 5rem);
    line-height: 1.7;
    color: var(--text-color);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
    padding: 0 clamp(10px, 5vw, 30px); /* Responsive horizontal spacing */
}

.newsletter {
    font-size: clamp(12px, 1.9vw, 15px); /* Slightly larger base size */
    margin-bottom: 15px; /* Increased spacing */
    font-style: italic;
    color: #929292;
}

/* Email Form - Assuming .wishlist-form wraps the script */
.wishlist-form {
     margin-bottom: 8rem; /* Add space below form */
     width: 100%;
     max-width: 450px; /* Limit form width */
     margin-left: auto;
     margin-right: auto;
}

.gamebox-container{
    position: absolute;
    top: 70px;
    left: 6vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-box{
    display: block;
    justify-self: center;
    width: 400px;
}

.game-box-two{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.game-box-three{
    display: block;
    justify-self: center;
    width: 160px;
    border-radius: 3px;
}

.kickstarter-banner{
    display: block;
    width: 160px;
    margin: 1rem 0 8rem;
}

.kickstarter-landing {
    width: min(980px, calc(100% - 24px));
    margin: clamp(1.5rem, 4vh, 3rem) auto clamp(3rem, 7vh, 5rem);
    padding: clamp(1.25rem, 3vw, 2rem);
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    text-align: left;
    background: rgba(8, 12, 10, 0.72);
    border: 1px solid rgba(5, 206, 120, 0.28);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), inset 0 0 24px rgba(5, 206, 120, 0.04);
    box-sizing: border-box;
}

.kickstarter-landing.compact {
    margin-top: 0;
}

.kickstarter-mark {
    display: flex;
    justify-content: center;
}

.kickstarter-mark img {
    width: min(160px, 100%);
}

.kickstarter-copy .section-subtitle {
    margin: 0 0 0.35rem;
    color: #05ce78;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kickstarter-copy h2 {
    margin: 0 0 0.45rem;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.1rem, 2.6vw, 1.65rem);
    line-height: 1.25;
    font-weight: 700;
}

.kickstarter-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.55;
}

.kickstarter-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    min-width: 170px;
}

.kickstarter-actions .game-button {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    text-decoration: none;
    background-color: #05a866;
}

.kickstarter-actions .game-button:hover {
    background-color: #09c779;
}

.kickstarter-actions span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: center;
}


/* Watchers Section */
#watchers {
    text-align: center;
    padding: 0 20px 80px 20px;
    background-color: transparent;
    color: var(--text-color);
    width: 100%; /* Ensure section takes width */
    box-sizing: border-box;
}

#watchers h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem); /* Responsive font size */
    margin-bottom: 10px;
    line-height: 1.2; /* Adjust line height for multiline h2 */
}

.section-divider {
    width: 90%; /* Use percentage */
    max-width: 480px; /* Keep max width */
    height: auto;
    margin: 0 auto 50px auto; /* Adjusted margin */
    display: block;
}

.highlight {
    color: var(--accent-color);
    font-size: clamp(2rem, 6vw, 3rem);
    display: block;
    margin: 0 0 clamp(1rem, 2.5vw, 2rem);
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(124, 10, 2, 0.25);
}



.highlight2 {
    color: var(--accent-color);
}

.watcher-description,
.hellscape-description,
.contracts-description,
.battles-description,
.story-paragraph,
.story-intro {
    max-width: 800px;
    margin: 0 auto clamp(2rem, 5vw, 4rem);
    font-size: clamp(15px, 2.2vw, 18px); /* Responsive text */
    line-height: 1.7;
    color: var(--text-color);
    padding: 0 clamp(10px, 5vw, 30px); /* Responsive horizontal padding */
    text-align: center; /* Centered for readability */
}


.component-grid picture { display: block; width: 100%; max-width: 760px; justify-self: center; }
.watcher-grid,
.cardbox {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  max-width: 1120px;
  margin: 1.6rem auto 0;
  padding: 0 clamp(10px, 3vw, 24px);
  justify-items: stretch;
  align-items: start;
}
.cardbox .tiltcard { width: 100%; height: auto; }
/* Card boxes cap each card at 260px on mobile; centre them in their cells so
   they sit on the middle of the background rather than hugging the left. */
.cardbox { justify-items: center; justify-content: center; }
.component-grid {
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(400px, 1fr); /* much bigger box + wide text column */
    gap: clamp(20px, 3vw, 46px);
    align-items: center;
    justify-items: center;
    justify-content: center;
    max-width: 1440px;
    margin: 0 auto 5rem auto; /* Center and space from other sections */
    padding: 0 clamp(12px, 2vw, 24px);
    box-sizing: border-box;
}
@media (max-width: 760px) {
    .component-grid { grid-template-columns: 1fr; }
}

.watcher {
    /* Removed fixed width, let grid handle it */
    background-color: rgba(80, 80, 80, 0.2); /* Adjusted transparency */
    backdrop-filter: blur(15px); /* Slightly softer blur */
    border-radius: 10px; /* Slightly larger radius */
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease; /* Added filter/shadow */
    text-align: center;
    cursor: pointer;
    filter: grayscale(70%); /* Slightly more grayscale */
    overflow: hidden; /* Ensure image stays within rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Add subtle shadow */
}

/* Watchers come alive on hover/focus */
.watcher:hover,
.watcher:focus-within {
    filter: grayscale(0);
}



.watcher p {
    font-size: clamp(1rem, 2vw, 1.1rem); /* Responsive */
    margin: 10px auto 12px; /* Adjusted margin */
    background: none;
    padding: 0 5px; /* Add slight horizontal padding */
    border-radius: 0;
    color: var(--text-color);
    font-weight: normal; /* Make name stand out */
}

.watcher:hover {
    transform: scale(1.08); /* Adjusted hover scale */
    filter: none;
    box-shadow: 0 6px 20px rgba(var(--accent-color-rgb, 124, 10, 2), 0.4); /* Glow effect on hover */
}




.watcher.selected {
    border: 3px solid var(--accent-color);
    transform: scale(1.05); /* Slightly smaller scale when selected */
    background-color: rgba(var(--accent-color-rgb), 0.3); /* Use accent color bg */
    filter: none;
    box-shadow: 0 0 15px var(--accent-color); /* Stronger glow when selected */
}



/* Sections: Hellscape, Contracts, Battles */
#hellscape, #contracts, #battles, #game, #team, #story, #glance, #faq {
    text-align: center;
    padding: 40px 20px; /* Consistent padding */
    color: var(--text-color);
    width: 100%;
    box-sizing: border-box;
}

/* Adjust padding for sections that have subtitles or different spacing needs */
#contracts { padding-bottom: 100px; }
#battles { padding-top: 60px; padding-bottom: 60px; } /* Reduced padding */
#game { padding-top: 60px; }

/* Shared Section Heading Styles with THE highlight */
#hellscape h2.highlight,
#contracts h2.highlight,
#battles h2.highlight,
#game h2.highlight,
#team h2.highlight,
#story h2.highlight {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 10px;
    line-height: 1.2;
}
/* Shared Section Heading Styles */
#hellscape h2, #contracts h2, #battles h2, #game h2, #team h2, #story h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Shared Section Description Styles */

.story-intro { margin-bottom: 30px; font-style: italic; }
.hellscape-description { margin-bottom: 20px; } /* Specific adjustment */

.section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 0; /* Reduced margin */
}

/* Shared Section Image Styles */
/* Kickstarter hero banner (kickstarter.html) */
.ks-banner-pic {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: clamp(20px, 4vw, 36px) auto 0;
}
.ks-banner-pic img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--surface-border, #6a2530);
}

/* Watcher chooser placeholder (temporary single image) */
.watchers-placeholder { margin: 1.5rem auto 0; padding: 0 16px; }
.watchers-placeholder img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

/* Duel-disk 3D stack (click to cycle) + 3D dice (#battles) */
.duel-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 72px);
  flex-wrap: wrap;
  margin: 2.6rem auto 0;
  padding: 0 clamp(12px, 4vw, 24px);
  /* Interactive controls (click to flip / roll): never text-selectable, so a
     stray drag can't paint the red ::selection highlight over the images. */
  user-select: none;
  -webkit-user-select: none;
}
.duel-stack {
  position: relative;
  width: min(520px, 82vw);
  aspect-ratio: 1.69;
  perspective: 1300px;
  cursor: pointer;
  margin-top: 34px;
}
.duel-card {
  position: absolute;
  inset: 0;
  transform:
    translate3d(calc(var(--depth) * 7%), calc(var(--depth) * -13%), calc(var(--depth) * -140px))
    scale(calc(1 - var(--depth) * 0.05))
    rotateX(9deg);
  z-index: calc(20 - var(--depth));
  opacity: calc(1 - var(--depth) * 0.12);
  transition: transform 0.55s cubic-bezier(0.22, 0.85, 0.3, 1), opacity 0.55s ease;
  pointer-events: none;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.5));
}
.duel-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  /* No border: the mats have their own shape and transparent edges, and the
     drop-shadow on .duel-card follows that shape. */
}
.duel-card.is-front { filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.72)); }
.duel-stack:hover .duel-card.is-front { transform: translateZ(26px) rotateX(7deg) scale(1.02); }
.duel-hint, .dice-hint {
  position: absolute;
  left: 50%; bottom: -30px;
  transform: translateX(-50%);
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(var(--text-color-rgb), 0.72);
  white-space: nowrap; pointer-events: none;
}
/* A touch more air between the dice and the "Roll the dice" label. */
.dice-hint { bottom: -50px; }
.duel-stack:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 6px; border-radius: 12px; }

.dice-tray {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 3vw, 30px);
  position: relative;
  isolation: isolate;
  cursor: pointer;
  user-select: none; -webkit-user-select: none;
}
.dice-tray:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 8px; border-radius: 14px; }
/* Real 3D dice: a preserve-3d cube of 6 image faces that tumbles on roll.
   NB: never put `filter` on .die-cube — a filter flattens preserve-3d and the
   cube collapses to a flat sliver. Hover cues go on the .die wrapper instead. */
.die {
  --die: clamp(58px, 8vw, 78px);
  width: var(--die);
  height: var(--die);
  flex-shrink: 0;
  perspective: 420px;
  transition: transform 0.25s ease;
}
.dice-tray:hover .die { transform: translateY(-5px); }
.die-cube {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(-25deg) rotateY(-32deg);
  transition: transform 0.95s cubic-bezier(0.18, 0.7, 0.3, 1);
  will-change: transform;
}
.die-face {
  position: absolute;
  top: 0; left: 0;
  width: var(--die); height: var(--die);
  background-size: cover; background-position: center;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 18px rgba(0, 0, 0, 0.5);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.f-front  { background-image: url('../assets/dice/die-front.png');  transform: translateZ(calc(var(--die) / 2)); }
.f-back   { background-image: url('../assets/dice/die-back.png');   transform: rotateY(180deg) translateZ(calc(var(--die) / 2)); }
.f-right  { background-image: url('../assets/dice/die-right.png');  transform: rotateY(90deg)  translateZ(calc(var(--die) / 2)); }
.f-left   { background-image: url('../assets/dice/die-left.png');   transform: rotateY(-90deg) translateZ(calc(var(--die) / 2)); }
.f-top    { background-image: url('../assets/dice/die-top.png');    transform: rotateX(90deg)  translateZ(calc(var(--die) / 2)); }
.f-bottom { background-image: url('../assets/dice/die-bottom.png'); transform: rotateX(-90deg) translateZ(calc(var(--die) / 2)); }
@media (prefers-reduced-motion: reduce) {
  .duel-card { transition: none; }
  .die-cube { transition-duration: 0.01s; }
}

/* ── "Do you dare?" summon reveal (game.html demons + archons) ── */
.summon { position: relative; margin: 0.4rem auto 0; }
/* The cards start hidden. `.cardbox { display:grid }` would otherwise beat the
   plain [hidden] attribute, so force it off until JS clears `hidden` on reveal. */
.summon-cards[hidden] { display: none !important; }
.summon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(15px, 2.3vw, 20px);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #ffdcc6;
  padding: 0.95em 2.4em;
  background: radial-gradient(120% 130% at 50% 130%, rgba(150, 32, 20, 0.55), rgba(20, 7, 7, 0.95) 62%);
  border: 1px solid rgba(232, 93, 74, 0.55);
  border-radius: 12px;
  cursor: pointer;
  text-shadow: 0 1px 12px rgba(255, 110, 50, 0.5);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), inset 0 0 24px rgba(232, 93, 74, 0.18);
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease, opacity 0.4s ease;
  z-index: 2;
}
.summon-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), 0 0 34px rgba(232, 93, 74, 0.5), inset 0 0 34px rgba(232, 93, 74, 0.32);
}
.summon-btn:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 4px; }
.summon-btn.is-gone { opacity: 0; transform: scale(0.86); pointer-events: none; }

.summon-fire {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 94%); height: 240px;
  pointer-events: none; opacity: 0; z-index: 3;
}
.summon.is-summoning .summon-fire { animation: summonGlow 1.05s ease-out forwards; }
@keyframes summonGlow { 0%, 100% { opacity: 0; } 18%, 60% { opacity: 1; } }
.summon-fire .flame {
  position: absolute; bottom: 26%;
  height: 70%;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(50% 62% at 50% 88%,
      rgba(255, 236, 150, 0.95) 0%, rgba(255, 150, 40, 0.9) 32%,
      rgba(214, 44, 22, 0.6) 58%, rgba(120, 16, 10, 0) 78%);
  filter: blur(10px);
  mix-blend-mode: screen;
  transform: translateY(60%) scale(0.4);
  opacity: 0;
}
.summon.is-summoning .flame { animation: flameRise 0.95s ease-out forwards; }
.summon-fire .flame:nth-child(1) { left: 6%;  width: 34%; animation-delay: 0.02s; }
.summon-fire .flame:nth-child(2) { left: 26%; width: 44%; height: 84%; animation-delay: 0s; }
.summon-fire .flame:nth-child(3) { left: 50%; width: 34%; animation-delay: 0.08s; }
.summon-fire .flame:nth-child(4) { left: 16%; width: 26%; height: 60%; animation-delay: 0.12s; }
.summon-fire .flame:nth-child(5) { left: 60%; width: 26%; height: 62%; animation-delay: 0.06s; }
@keyframes flameRise {
  0%   { transform: translateY(60%) scaleY(0.4) scaleX(1);    opacity: 0; }
  22%  { opacity: 1; }
  55%  { transform: translateY(-6%) scaleY(1.18) scaleX(0.86); opacity: 0.95; }
  100% { transform: translateY(-64%) scaleY(0.55) scaleX(0.6); opacity: 0; }
}
/* Archons reveal in black smoke instead of fire. */
.summon--smoke .summon-fire .flame {
  background: radial-gradient(50% 60% at 50% 78%,
      rgba(186, 184, 196, 0.42) 0%, rgba(96, 94, 106, 0.5) 42%,
      rgba(40, 38, 46, 0.34) 66%, rgba(18, 18, 22, 0) 82%);
  filter: blur(15px);
  mix-blend-mode: normal;
}
.summon--smoke.is-summoning .summon-fire { animation-duration: 1.2s; }
.summon--smoke.is-summoning .flame { animation: smokeRise 1.1s ease-out forwards; }
@keyframes smokeRise {
  0%   { transform: translateY(60%) scaleY(0.5) scaleX(0.8);   opacity: 0; }
  25%  { opacity: 0.85; }
  60%  { transform: translateY(-24%) scaleY(1.3) scaleX(1.15); opacity: 0.6; }
  100% { transform: translateY(-92%) scaleY(1.6) scaleX(1.55); opacity: 0; }
}
/* Watchers reveal in a soft ethereal light. */
.summon--light .summon-fire .flame {
  background: radial-gradient(50% 60% at 50% 74%,
      rgba(255, 250, 235, 0.9) 0%, rgba(216, 224, 255, 0.6) 38%,
      rgba(154, 152, 236, 0.32) 64%, rgba(120, 120, 220, 0) 80%);
  filter: blur(11px);
}
/* Hellscape reveal in drifting embers instead of a fire flare. */
.summon--embers .summon-fire .flame {
  width: 9px !important;
  height: 9px !important;
  bottom: 20% !important;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 150, 0.95) 0%, rgba(255, 146, 48, 0.85) 45%, rgba(200, 60, 20, 0) 72%);
  filter: blur(0.5px);
  mix-blend-mode: screen;
  box-shadow:
    16px 34px 2px rgba(255, 186, 92, 0.55),
    -22px 66px 2px rgba(255, 150, 60, 0.5),
    34px 104px 3px rgba(255, 205, 120, 0.42),
    -38px 26px 1px rgba(255, 168, 74, 0.55),
    12px 132px 2px rgba(255, 196, 96, 0.4),
    -8px 88px 2px rgba(255, 178, 84, 0.45);
}
.summon--embers.is-summoning .summon-fire { animation-duration: 1.2s; }
.summon--embers.is-summoning .flame { animation: emberRise 1.1s ease-out forwards; }
@keyframes emberRise {
  0%   { transform: translateY(80%) translateX(0) scale(0.5);   opacity: 0; }
  15%  { opacity: 1; }
  55%  { transform: translateY(-30%) translateX(7px) scale(1);  opacity: 0.9; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(-130%) translateX(-9px) scale(0.4); opacity: 0; }
}
.summon-cards.is-revealed > * { animation: cardSummon 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
@keyframes cardSummon {
  from { opacity: 0; transform: translateY(26px) scale(0.94); filter: brightness(1.6) saturate(0.6); }
  to   { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .summon.is-summoning .summon-fire,
  .summon.is-summoning .flame { animation: none; }
  .summon-cards.is-revealed > * { animation: none; }
}
/* The label is a full sentence now, so let it wrap and stay centred on narrow screens. */
.summon-btn { max-width: min(92vw, 34rem); text-align: center; line-height: 1.3; }

/* Mobile: give the duel stack, its hint and the dice room to breathe. */
@media (max-width: 768px) {
  .duel-stage { gap: 40px; margin-top: 1.6rem; }
  .duel-stack { margin-top: 72px; }
  .dice-tray { margin-top: 2px; }
}

/* Desktop: centre every card grid, including a partial final row. CSS grid's
   auto-fill stretches columns to fill the width (partial rows hug the left), so
   on desktop we lay the cards out with flex wrap + justify-content: center. */
@media (min-width: 769px) {
  .cardbox,
  .watcher-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }
  .cardbox > .tiltcard { width: clamp(150px, 13.5vw, 176px); height: auto; }
  .watcher-grid > .watcher { width: clamp(150px, 13.5vw, 176px); }
}

@media (prefers-reduced-motion: reduce) {
  .battle-cards-inner { animation: none; }
}

.hellscape-img, .section-img, .story-img {
    width: 100%;
    max-width: 1100px; /* Slightly increased max-width */
    height: auto; /* *** REMOVED FIXED HEIGHT *** */
    display: block;
    margin: 30px auto; /* Consistent margin */
    border-radius: 12px; /* Consistent radius */
    
}

.hellscape-img {
    margin-top: 40px; /* Adjusted negative margin */
    max-width: 1000px; /* Keep specific max-width if needed */
}
.story-img {
    max-width: 700px; /* Keep specific max-width */
}



.team-grid {
    display: flex; /* Changed from grid to flex for easier wrapping */
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px; /* Reduced gap */
    margin-top: 80px; /* Reduced margin */
    max-width: 1200px; /* Limit overall width */
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    max-width: 220px;
    text-align: center;
    flex: 1 1 200px; /* Allow flex grow/shrink with a base */
}

.team-member img {
    max-width: 160px;
    width: 100%;
    height: auto; /* Let the aspect ratio adjust */
    aspect-ratio: 1 / 1; /* Enforces circle if height removed */
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto; /* ✅ centers horizontally + adds space below */
    display: block; /* ✅ ensures margin auto works */
    border: 3px solid rgba(var(--text-color-rgb, 255, 255, 255), 0.2);
}



.team-member h3 {
    font-size: 1.3rem; /* Slightly larger */
    font-weight: normal; /* normal name */
    margin-bottom: 5px;
}

.team-member .role {
    font-size: 0.9rem; /* Slightly smaller */
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 1px; /* Add letter spacing */
}

.team-member p:not(.role) { /* Target description paragraph */
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--nav-color); /* Use nav color for less emphasis */
}

footer {
    background-color: var(--footer-bg, rgba(53, 50, 50, 0.8));
    padding: clamp(20px, 4vw, 40px);
    width: 100%;
    color: var(--footer-text-color, var(--nav-color));
    font-size: clamp(13px, 1vw, 15px);
    margin-top: clamp(50px, 8vh, 100px);
    border-top: 1px solid var(--footer-border-color, var(--nav-border-color));
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: clamp(10px, 3vw, 30px);
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo-img {
    height: clamp(28px, 4vh, 38px);
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.contact-us a {
    font-weight: normal;
    text-decoration: none;
    color: var(--footer-link-color, var(--nav2-color));
    transition: color 0.3s ease;
}

.contact-us a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}


.footer-logo {
    flex-basis: 100%; /* Take full width on small screens */
    text-align: center; /* Center logo when wrapped */
    order: 1; /* Default order */
}

@media (min-width: 768px) { /* Adjust layout on larger screens */
    .footer-logo {
        flex-basis: auto; /* Reset basis */
        order: 2; /* Move logo to middle */
    }
    .contact-us { order: 1; }
    .social-icons { order: 3; }
}




.contact-us {
    text-align: center; /* Center text */
    font-size: 0.9rem;
    flex: 1; /* Allow flex grow/shrink */
    min-width: 180px; /* Prevent excessive shrinking */
}
@media (min-width: 768px) {
    .contact-us { text-align: left; } /* Align left on larger screens */
}

.contact-us a {
    text-decoration: none;
    color: var(--footer-link-color, var(--nav2-color)); /* Default to brighter nav hover color */
    font-weight: normal;
}
.contact-us a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center; /* Center icons */
    gap: 20px; /* Increased gap */
    flex: 1; /* Allow flex grow/shrink */
    min-width: 180px; /* Prevent excessive shrinking */
}
@media (min-width: 768px) {
    .social-icons { justify-content: flex-end; } /* Align right on larger */
}


/* Inline currentColor SVG glyphs — crisp at any resolution and theme-aware. */
.social-icons a {
    display: inline-flex;
    color: rgba(var(--text-color-rgb), 0.82);
    transition: transform var(--dur-hover, 0.3s) ease, color var(--dur-hover, 0.3s) ease;
}

.social-icons svg {
    width: 26px;
    height: 26px;
    display: block;
}

.social-icons a:hover,
.social-icons a:focus-visible {
    transform: scale(1.15);
    color: var(--text-color); /* full-strength on hover/focus */
}


/* =========================
   SCROLLER (FULL BLEED)
   ========================= */

.scroll-container{
  margin-top: 8rem;
  margin-bottom: 100px;
  overflow: hidden;
  position: relative;

  /* FULL BLEED */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  box-sizing: border-box;

  /* Soft fade at both edges instead of a hard cut */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* keep this (prevents sideways scrollbar) */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}


.scroll-content{
  display: flex;
  align-items: center;
  padding: 10px 0;
  width: max-content;
  animation: scrollLeft 45s linear infinite;
  will-change: transform;
}

.scroll-track {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 16px);
  flex-shrink: 0;
}

/* <picture> wrappers must not become the flex item — let the inner <img>
   remain the direct flex child so the .scroll-track img sizing rules apply. */
.scroll-track picture { display: contents; }

/* Pause on hover (desktop) */
@media (hover: hover) {
  .scroll-container:hover .scroll-content {
    animation-play-state: paused;
  }
}

/* Images */
.scroll-track img{
  flex-shrink: 0;
  width: auto;
  height: clamp(180px, 26vh, 280px);
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.scroll-track img:hover{
  transform: translateY(-5px);
  box-shadow: 7px 10px 20px rgba(0, 0, 0, 0.5);
}

/* Two identical tracks in HTML — seamless loop, 24 unique image URLs (browser cache) */
@keyframes scrollLeft{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#scrollText{
  text-align: center;
  font-size: 13px;
  font-style: italic;
  margin-top: 20px;
  opacity: 0.7;
}


/* Game Button */
.button-container {
    text-align: center;
    margin-top: 40px; /* Reduced margin */
}

.game-button {
    display: inline-block;
    text-decoration: none;
    background-color: var(--accent-surface);
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: clamp(14px, 2vw, 18px); /* Scales for all devices */
    font-weight: normal;
    padding: clamp(10px, 1.5vw, 14px) clamp(25px, 4vw, 50px); /* Responsive padding */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    margin-bottom: clamp(40px, 10vh, 100px);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.game-button:hover {
    background-color: hsl(var(--accent-hue, 4), 90%, 40%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.game-button:active {
    background-color: hsl(var(--accent-hue, 4), 90%, 35%);
    transform: translateY(0px);
    transition: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.game-button:focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 3px;
}





/* #scrollText is defined once, in the SCROLLER section above. */


/* --- MOBILE OPTIMIZATION --- */

@media (max-width: 768px) {

    .gamebox-container{
    position: static;
    margin: 10px auto 0;
  }

  .kickstarter-banner{
    width: 140px;
    margin: 10px auto 20px;
  }

  .kickstarter-landing {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 24px));
    margin: 0 auto clamp(2.5rem, 8vh, 4rem);
    padding: 1.1rem;
    text-align: center;
    gap: 0.9rem;
  }

  .kickstarter-mark img {
    width: 132px;
  }

  .kickstarter-actions {
    width: 100%;
    min-width: 0;
  }

  .kickstarter-actions .game-button {
    width: min(100%, 280px);
  }

    /* (Hero image is a 100vh body::before layer now, so no html background
       attachment to tune here for mobile.) */

    body {
        padding-top: clamp(90px, 14vh, 120px);
        /* Override variable if needed, or adjust clamp values in :root */
        /* --body-padding-top: 220px; */
    }

    /* Adjust Nav for Mobile */
    .main-nav {
        height: 56px;
        padding: 0; /* Consistent padding */
        /* Recalculate position based on banner */
    }

    .nav-content {
        flex-direction: row;
        gap: 0;
        width: 100%;
        align-items: center;   /* Center items horizontally */
    }

    .nav-left, .nav-right {
        flex: none;            /* Reset flex */
        width: auto;
        justify-content: center; /* Center content (logo) */
        padding-left: 0;       /* Reset padding */
    }
     .nav-right {
        display: none; /* Hide empty right div on mobile */
     }

    .nav-left img.nav-logo {
        height: 32px; /* Slightly larger logo */
    }

    .nav-links {
        flex-direction: column; /* Stack links */
        gap: 12px;             /* Adjust gap */
        width: 100%;           /* Take full width */
        text-align: center;    /* Center link text */
    }

    .nav-links li a {
        font-size: 16px; /* Slightly larger fixed size */
        display: block; /* Make link take full width for easier tapping */
        padding: 8px 0; /* Add padding for tap area */
    }




    /* General Section Adjustments */
    #watchers, #hellscape, #contracts, #battles, #game, #team, #story, #faq {
        padding: 48px 10px; /* Reduce padding */
    }
    #contracts { padding-bottom: 80px; }
    #battles { padding-top: 40px; padding-bottom: 40px; }
    #game { padding-top: 40px; }

    
    

    .watcher-description, .hellscape-description, .contracts-description, .battles-description, .story-paragraph, .story-intro {
        font-size: 15px; /* Adjust font size */
        padding: 0 5px; /* Reduce padding */
        margin-bottom: 30px;
    }

    /* Watchers Grid */
    .watcher-grid {
        /* Use 2 columns, maybe 1 on very small screens */
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        padding: 0;
    }
    /* Single column for very small screens if needed */
    @media (max-width: 400px) {
      .watcher-grid {
        grid-template-columns: 1fr;
      }
    }

  

    /* Responsive Images */
    .logo {
      max-width: 85%;
      margin-top: 30px;
    }

    .cards-section img {
      width: 95%; /* Slightly more width */
    }

    /* Remove !important if possible - specificity should work */
    .cards-section img,
    .hellscape-img,
    .section-img,
    .story-img {
        width: 100%; /* Use 100% within padded sections */
        max-width: 100%; /* Ensure it doesn't overflow */
        border-radius: 10px; /* Consistent radius */
    }


    /* Scroll images shorter for mobile */
    .scroll-track img {
        flex-shrink: 0;
        width: auto;
        height: clamp(150px, 22vh, 220px);
        object-fit: cover;
        border-radius: 10px;
    }
      

    /* Team section layout */
    .team-grid {
        flex-direction: column; /* Stack team members */
        align-items: center; /* Center them */
        gap: 40px; /* Adjust gap */
        margin-top: 50px;
    }

    .team-member {
      max-width: 250px; /* Allow slightly wider cards when stacked */
      flex-basis: auto; /* Reset flex-basis */
    }

    .team-member img {
      max-width: 140px; /* Adjust image size */
      height: 140px;
    }

    /* Footer Adjustments */
    footer {
        padding: 30px 15px;
    }
    .footer-content {
      flex-direction: column; /* Stack footer items */
      gap: 25px; /* Adjust gap */
      text-align: center; /* Center all text */
    }
    .footer-logo { order: 1; margin-bottom: 10px; } /* Logo first */
    .contact-us { order: 2; text-align: center; }
    .social-icons { order: 3; justify-content: center; }

    .footer-logo-img {
      margin: 0; /* Reset margin */
    }

    /* Buttons */
    .game-button {
      width: 90%; /* More width */
      padding: 12px 20px; /* Adjust padding */
      font-size: 15px;
    }

    /* Story Section Mobile */
     #story .highlight { font-size: 1.8rem; }
     .story-img { max-width: 100%; }

} /* End of @media (max-width: 768px) */

/* .featured-watchers, .featured-watcher and .featured-info are defined once, in the
   consolidated block further down (the one with the responsive image rules). */

.featured-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.featured-info p {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.featured-info blockquote {
    font-style: italic;
    opacity: 0.8;
    padding-left: 15px;
    margin: 10px 0;
    font-size: 0.95rem;
}

.hellscape-entries, .contract-entries {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.6;
    color: var(--text-color);
    
}

.hellscape-entries h3, .contract-entries h3 {
    margin-top: 30px;
    font-size: 1.3rem;
    color: var(--accent-color);
}

.hellscape-entries ul, .contract-entries ul {
    padding-left: 20px;
}

.hellscape-entries li, .contract-entries li {
    margin-bottom: 10px;
}

.creature-section {
    margin-top: 40px;
}

.creature-category {
    color: var(--accent-color);
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: center;
}

.creature-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 0;
    text-align: left;
}



.creature-card h4 {
    font-size: 1.4rem;
    margin: 0 0 2rem;
    font-weight: normal;
    color: var(--accent-color);
}

.creature-card p {
    font-size: 1rem;
    margin-top: 8px;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 500px;
}

@media (max-width: 768px) {
    .creature-card,
    .creature-card.reverse {
        flex-direction: column;
        text-align: center;
    }

    img{
        cursor: auto;
    }
}


/* COMPONENTS SECTION */
.game-components {
    padding: 80px 20px;
    color: var(--text-color);
    text-align: center;
  }
  
  .component-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: clamp(16px, 2vw, 18px);
    font-style: italic;
    opacity: 0.85;
  }
  
  

  
  .component-grid ul {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.8;
    background: rgba(50, 50, 50, 0.15);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
  }
  
  .component-grid li strong {
    color: var(--accent-color);
    font-weight: normal;
  }

  

/* =========================
   POPUP (Unified, Single)
   ========================= */

/* Overlay */
.popup-overlay {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  padding: 2rem;
  overflow-y: auto;
}

/* Content container */
.popup-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.75rem;
  width: min(1040px, 92vw);
  max-height: 90vh;
  background: #13010c;
  border: 1px solid var(--surface-border, #6a2530);
  border-radius: var(--radius, 14px);
  box-shadow: var(--shadow-2, 0 24px 60px rgba(0, 0, 0, 0.6));
  padding: 1.5rem;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  animation: fadeIn 0.18s ease-out;
}

/* Left media */
.popup-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.popup-left img {
  width: auto;
  max-width: min(46vw, 460px);
  max-height: 76vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

.popup-right {
  flex: 1 1 auto;
  max-width: 460px;
  margin: 0;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-color, #efe9e6);
  text-align: left;
}

.popup-right p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto;
}

.popup-right h2 {
  font-size: 1.5rem;
  color: var(--accent-soft);
  margin: 0 0 15px;
}



/* Close button (single definition) */
.close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--accent-soft);
  background: rgba(9, 5, 7, 0.5);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  user-select: none;
  transition: background var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}

.close-btn:hover {
  background: rgba(9, 5, 7, 0.72);
  color: var(--text-bright);
}

/* Mobile popup layout */
@media (max-width: 768px) {
  .popup-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }

  .popup-left,
  .popup-right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .popup-left img {
    max-width: min(80vw, 340px);
    max-height: 52vh;
  }

  .popup-right {
    padding: 0.25rem 0.5rem 0.5rem;
    text-align: center;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}


/* =========================
   WATCHERS + CARDS
   ========================= */

.watcher img {
  width: 100%;
  height: auto;
  aspect-ratio: 500 / 698;
  object-fit: cover;
  border-radius: 10px;
}

/* Tilt cards (monsters/demons) */
.tiltcard {
  width: auto;
  height: 300px;
  border-radius: 6px;
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* Normal cards (contracts/items) */
.card {
  width: auto;
  height: 300px;
  border-radius: 6px;
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.3);
}





/* =========================
   GAME HERO
   ========================= */
/* =========================
   TEXT OUTLINE FOR HEADINGS
   ========================= */




.theGame {
  color: var(--text-color);
  margin: 15vh 0;
}

.theGame h3 {
  font-size: 1rem;
}

.theGame h2 {
  font-size: 3rem;
  margin-top: -1rem;
  color: var(--accent-color);
  margin-bottom: 5rem;
}


/* =========================
   NEWS + MAIL
   ========================= */

.news-page .news-empty {
  margin: clamp(2rem, 6vh, 4rem) auto clamp(3rem, 10vh, 6rem);
}



/* =========================
   MOBILE NAV (Fix display logic)
   ========================= */

#menu-toggle {
  position: fixed;
  top: 4px;
  right: 15px;
  z-index: 1200;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  color: rgb(241, 241, 241);
  cursor: pointer;
  display: none;
}

/* Three bars that morph into an X when the drawer is open */
.burger,
.burger::before,
.burger::after {
  position: absolute;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.28s var(--ease), top 0.28s var(--ease), background 0.2s ease;
}
.burger {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.burger::before,
.burger::after {
  content: "";
  left: 0;
}
.burger::before { top: -7px; }
.burger::after  { top: 7px; }

#menu-toggle[aria-expanded="true"] .burger { background: transparent; }
#menu-toggle[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
#menu-toggle[aria-expanded="true"] .burger::after  { top: 0; transform: rotate(-45deg); }

/* Keep the fixed hamburger from floating over an open card popup (it overlapped the close button). */
body.popup-open #menu-toggle {
  display: none;
}

#mobile-nav.hidden {
  display: none;
}

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  .desktop-nav {
    display: none;
  }
}

/* Hide mobile nav on desktop */
@media (min-width: 769px) {
  #mobile-nav {
    display: none;
  }
}

.mobile-nav {
  background-color: rgba(15, 15, 15, 0.95);
  position: fixed;      /* instead of absolute */
  top: clamp(50px, 6vh, 70px);
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 2000;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.mobile-nav a {
  color: var(--nav-color);
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  padding: 14px 20px;
  text-align: center;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--accent-color);
}


.language-switcher,
.mobile-language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--nav-color);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  line-height: 1;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lang-btn:hover {
  color: var(--nav2-color);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn.active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.flag-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  margin-right: 0.45rem;
  vertical-align: middle;
  flex-shrink: 0;
}

.lang-text {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.mobile-language-switcher {
  justify-content: center;
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}


.mobile-language-switcher {
  display: none;
}

@media (max-width: 768px) {
  .language-switcher {
    display: none;
  }

  .mobile-language-switcher {
    display: flex;
  }
}


.featured-watchers {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 40px auto;
}

.featured-watcher {
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.featured-watcher > img {
    width: 260px !important;
    height: auto !important;
    aspect-ratio: 500 / 698;
    min-width: 200px !important;
    max-width: 260px !important;
    object-fit: cover !important;
    border-radius: 10px;
    flex-shrink: 0 !important;
    display: block;
    background: rgba(0, 0, 0, 0.25);
}

.featured-info {
    flex: 1 1 auto;
    text-align: left;
    color: var(--text-color);
}

/* =========================
   ENHANCEMENTS — motion, reveal, polish
   ========================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-content { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .logo.hero-logo { animation: none !important; }
  .main-nav.nav-scrolled { transition: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Cinematic home hero: focused vignette + generous negative space */
.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(440px, 68vh, 620px);
}
.home-hero .logo {
  margin-top: 0;
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
}
/* Teaser line under the logo: "Watcher, are you worthy of Hell's throne?" */
.hero-teaser {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 2.1vw, 22px);
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.75);
  margin: calc(clamp(1.5rem, 4vh, 3rem) * -0.55) auto clamp(1rem, 2.6vh, 1.8rem);
  padding: 0 16px;
}
/* The hero art is brighter now, so give the tagline a firmer shadow for legibility. */
.home-hero .tagline { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 18px rgba(0, 0, 0, 0.75); }
/* "Play on Tabletopia" call to action. */
.tabletopia-cta { margin: 2.2rem auto 0; text-align: center; }
.tabletopia-cta .game-button { display: inline-block; text-decoration: none; }
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(58% 50% at 50% 44%, rgba(122, 18, 32, 0.20), transparent 72%);
}

/* One-time settle-in instead of an endless pulse; a calm resting glow remains. */
.logo.hero-logo {
  animation: heroSettle 1.6s var(--ease) both;
  filter: drop-shadow(0 0 16px rgba(232, 93, 74, 0.26));
}

@keyframes heroSettle {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.main-nav.nav-scrolled {
  background: rgba(0, 0, 0, 0.82);
  border-bottom-color: rgba(232, 93, 74, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

body.popup-open {
  overflow: hidden;
}

.section-divider {
  opacity: 0.9;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.watcher:hover,
.tiltcard:hover {
  outline: 1px solid rgba(232, 93, 74, 0.35);
}

.popup-overlay {
}

.popup-content {
  border-color: rgba(232, 93, 74, 0.55);
  box-shadow: 0 0 50px rgba(232, 93, 74, 0.15), 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Blog (moved from inline styles) */
/* =========================
   BLOG — professional article layout
   ========================= */

.blog-progress {
  position: fixed;
  top: clamp(50px, 6vh, 70px);
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 998;
  pointer-events: none;
}

.blog-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-color), #ff9a8b);
  transition: width 0.12s ease-out;
}

.blog-page {
  position: relative;
  padding-bottom: 4rem;
}

.blog-page .theGame {
  margin: clamp(4rem, 10vh, 7rem) auto 2rem;
}

.blog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--nav-color);
  letter-spacing: 0.04em;
}

.blog-series-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  border: 1px solid rgba(232, 93, 74, 0.45);
  background: rgba(232, 93, 74, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.blog-lead {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: left;
}

.blog-lead-card {
  background: rgba(20, 12, 14, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.blog-lead-card .story-paragraph {
  text-align: left;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.blog-lead-card .story-paragraph:last-child {
  margin-bottom: 0;
}

.blog-lead-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nav-color);
  margin: 0 0 1rem;
}

.blog-chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.chapter-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  text-decoration: none;
  color: inherit;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.chapter-card:hover {
  border-color: rgba(232, 93, 74, 0.5);
  background: rgba(232, 93, 74, 0.08);
  transform: translateY(-2px);
}

.chapter-card-num {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  opacity: 0.9;
}

.chapter-card-title {
  font-family: 'Gentium Book Basic', serif;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-color);
}

.chapter-card-badge {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nav-color);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

.chapter-card--soon {
  opacity: 0.85;
}

.blog-article {
  margin-top: 2rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(10px, 3vw, 20px);
}

.blog-sidebar {
  position: sticky;
  top: calc(clamp(50px, 6vh, 70px) + 24px);
}

.blog-toc-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin: 0 0 1.25rem;
  text-align: left;
}

.blog-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.blog-toc li {
  margin-bottom: 0.35rem;
  counter-increment: toc;
}

.blog-toc a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  color: var(--nav-color);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: left;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.blog-toc a::before {
  content: counter(toc, decimal-leading-zero) ". ";
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  color: rgba(232, 93, 74, 0.7);
  margin-right: 0.25rem;
}

.blog-toc a:hover,
.blog-toc a.is-active {
  color: #fff;
  background: rgba(232, 93, 74, 0.12);
  border-left-color: var(--accent-color);
}

.blog-content.prose {
  max-width: 42rem;
  text-align: left;
}

.blog-chapter {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-chapter:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-chapter-header {
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  scroll-margin-top: calc(clamp(50px, 6vh, 70px) + 20px);
}

.blog-chapter-num {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.blog-chapter-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0;
  text-align: left;
}

.blog-chapter-body p {
  margin: 0 0 1.35rem;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.blog-chapter-body p:last-child {
  margin-bottom: 0;
}

.blog-pullquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: rgba(232, 93, 74, 0.08);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-color);
  text-align: left;
}

.blog-chapter--tbc .blog-chapter-body {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.blog-chapter--tbc em {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--nav-color);
  font-style: normal;
  letter-spacing: 0.06em;
}

.blog-back-top {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-back-top:hover {
  color: #fff;
}

.blog-page .mail {
  margin-top: 5rem;
}

@media (max-width: 960px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    order: -1;
    margin-bottom: 1rem;
  }

  .blog-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .blog-toc li {
    margin-bottom: 0;
  }

  .blog-toc a {
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.82rem;
  }

  .blog-toc a::before {
    display: none;
  }

  .blog-content.prose {
    max-width: 100%;
  }
}

/* =========================
   SITE-WIDE POLISH
   ========================= */

::selection {
  background: rgba(232, 93, 74, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--accent-color);
  color: #fff;
  font-family: 'Cinzel', serif;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

.nav-logo-link {
  display: inline-flex;
  line-height: 0;
}

.wishlist-form {
  display: flex;
  justify-content: center;
  width: 100%;
}

.wishlist-form center {
  display: block;
  width: 100%;
}

.mail,
.newsletter-block {
  margin: clamp(4rem, 10vh, 6rem) auto 2rem;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  max-width: 720px;
  background: rgba(15, 10, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.mail .highlight,
.newsletter-block .highlight {
  margin-bottom: 0.75rem;
}

.page-hero,
.theGame.page-hero {
  margin: clamp(3rem, 8vh, 6rem) auto clamp(2rem, 5vh, 3rem);
}

.page-hero .hellscape-description {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  text-align: center;
}

.story-prose,
#story.story-prose {
  max-width: 42rem;
  margin: 0 auto;
  text-align: left;
}

.story-prose .story-intro {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.story-prose .story-paragraph {
  text-align: left;
  margin-bottom: 1.5rem;
}

.story-prose .story-img {
  margin: 2.5rem auto;
  /* No box-shadow: the images have transparent torn edges, so a shadow would
     draw a visible rectangle around them ("dropped shadow" seam). */
}

.news-page {
  min-height: 50vh;
}

.news-empty {
  margin: clamp(6rem, 18vh, 12rem) auto;
  max-width: 520px;
  padding: 2.5rem 2rem;
  background: rgba(20, 12, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
}

.news-empty-icon {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.news-empty p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--nav-color);
  margin: 0 0 1.5rem;
}

.news-empty-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
}

.news-empty-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(232, 93, 74, 0.4);
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.news-empty-links a:hover {
  background: rgba(232, 93, 74, 0.15);
  color: #fff;
}

.footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(192, 192, 192, 0.6);
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.kickstarter-strip-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.kickstarter-strip-link:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px rgba(5, 206, 120, 0.35));
}

body.mobile-nav-open {
  overflow: hidden;
}

#menu-toggle[aria-expanded="true"] {
  color: var(--accent-color);
}

.popup-overlay[aria-hidden="true"] {
  display: none;
}

.popup-overlay[aria-hidden="false"] {
  display: flex;
}

/* Consolidate duplicate mobile nav rules */
@media (min-width: 769px) {
  #mobile-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #menu-toggle {
    top: 9px;
    right: 12px;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-nav {
    top: 56px;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }

  .featured-watchers {
    gap: 24px;
    margin: 28px auto;
  }

  .featured-watcher {
    flex-direction: column !important;
    align-items: center;
    gap: 16px;
    padding: 14px;
  }

  .featured-watcher > img,
  .featured-watcher img {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 360px !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  .featured-info {
    text-align: center;
  }

  .cardbox,
  .component-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0;
    margin-bottom: 3rem;
  }

  .tiltcard,
  .card {
    width: auto;
    max-width: min(78vw, 260px);
    height: auto;
    max-height: 340px;
  }

  .creature-card {
    gap: 16px;
    padding: 0;
  }

  .creature-card p {
    max-width: 100%;
    padding: 0 0.25rem;
  }

  .game-components {
    padding: 48px 10px;
  }

  .component-grid ul {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .popup-overlay {
    align-items: flex-start;
    padding: 64px 10px 18px;
  }

  .popup-content {
    width: 100%;
    max-height: calc(100vh - 82px);
    padding: 0.75rem;
  }

  .popup-left video {
    max-height: 46vh;
  }

  .popup-right p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .mail,
  .newsletter-block {
    width: min(100%, calc(100vw - 24px));
    box-sizing: border-box;
    border-radius: 8px;
  }
}

@media (max-width: 420px) {
  body {
    padding-top: 78px;
  }

  .highlight {
    font-size: clamp(1.75rem, 11vw, 2.35rem);
  }

  .tagline {
    padding: 0;
  }

  .watcher p {
    font-size: 0.95rem;
  }
}

/* =========================================================================
   ELEGANCE REFINEMENTS — appended last so this intentional polish layer wins.
   A cohesive "refined infernal" pass: carved Cinzel display caps, quieter
   glass surfaces, warmer light, calmer motion. Tuned to the dark theme.
   ========================================================================= */

/* ---- Section headings: small carved label + glowing accent word ---- */
#watchers h2,
#hellscape h2,
#contracts h2,
#battles h2,
#game h2,
#team h2,
#story h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  font-size: clamp(0.74rem, 1.5vw, 0.9rem);
  margin-bottom: 14px;
}

.highlight {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-shadow: 0 0 26px var(--accent-glow), 0 0 70px rgba(124, 10, 2, 0.16);
}

/* Page-hero titles (THE / GAME · STORY BEHIND / DAEMONIA …) */
.theGame h3,
.page-hero h3 {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--ink-dim);
  font-size: clamp(0.72rem, 1.5vw, 0.85rem);
  margin-bottom: 0.4rem;
}

.theGame h2,
.page-hero h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: var(--tracking-hero);
  font-size: clamp(2.2rem, 9vw, 3.25rem);
  text-shadow: 0 0 32px var(--accent-glow), 0 0 80px rgba(124, 10, 2, 0.16);
}

/* True eyebrow labels only (FULFILL · DEFEAT OPPONENTS IN · FEATURED) */
#contracts > .section-subtitle,
#battles > .section-subtitle,
#items > .section-subtitle {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(0.7rem, 1.4vw, 0.82rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-color);
  opacity: 0.9;
  margin-bottom: 0.55rem;
}

/* Delicate dividers */
.section-divider {
  width: min(68%, 340px);
  opacity: 0.5;
  margin: clamp(20px, 3.5vh, 30px) auto clamp(26px, 5vh, 42px);
  filter: drop-shadow(0 0 5px var(--accent-glow));
}

/* Tagline legibility over the busy backdrop */
.tagline {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}

/* ---- Navigation: animated underline + CTA pill ---- */
.nav-links.desktop-nav li a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links.desktop-nav li a:not(.kickstarter)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.nav-links.desktop-nav li a:not(.kickstarter):hover::after,
.nav-links.desktop-nav li a.nav-active::after {
  transform: scaleX(1);
}

.nav-links.desktop-nav a.kickstarter {
  border: 1px solid rgba(5, 206, 120, 0.5);
  border-radius: 999px;
  padding: 6px 15px;
}

/* Stay a solid, brighter green on hover so the dark label stays readable. */
.nav-links.desktop-nav a.kickstarter:hover {
  background: #22e295;
  color: var(--cta-ks-ink);
  box-shadow: 0 0 18px rgba(5, 206, 120, 0.45);
}

/* ---- Buttons ---- */
.game-button {
  background: linear-gradient(180deg, var(--accent-surface-hi) 0%, var(--accent-surface) 58%, var(--accent-surface-lo) 100%);
  border-radius: 8px;
  letter-spacing: 0.09em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.game-button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 22px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Keep the Kickstarter CTA green (overrides the red button gradient) */
.kickstarter-actions .game-button {
  background: linear-gradient(180deg, #08c97d 0%, #05a866 58%, #048a54 100%);
}

.kickstarter-actions .game-button:hover {
  filter: brightness(1.07);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 22px rgba(5, 206, 120, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* ---- Unified card surfaces ---- */
.watcher {
  background-color: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.watcher:hover {
  border-color: var(--surface-border-strong);
  box-shadow: var(--shadow-2), 0 0 26px rgba(var(--accent-color-rgb), 0.26);
}

.team-member img {
  border: 2px solid var(--surface-border);
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.team-member:hover img {
  border-color: var(--surface-border-strong);
  transform: scale(1.04);
  box-shadow: var(--shadow-2);
}

.team-member .role {
  letter-spacing: 0.16em;
}

.mail,
.newsletter-block,
.news-empty,
.blog-lead-card {
  background: var(--surface-2);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

/* ---- Scroller frames ---- */
.scroll-track img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1);
}

.scroll-track img:hover {
  border-color: var(--surface-border-strong);
  box-shadow: var(--shadow-2);
}

/* ---- Footer ---- */
.site-footer {
  background-color: rgba(10, 7, 9, 0.72);
}

/* ---- Small-screen tuning for the new Cinzel display caps ---- */
@media (max-width: 480px) {
  .highlight {
    font-size: clamp(1.5rem, 9vw, 2.05rem);
    letter-spacing: 0.01em;
  }

  .theGame h2,
  .page-hero h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.5rem);
  }

  .nav-links.desktop-nav a.kickstarter {
    padding: 5px 12px;
  }
}

/* =========================================================================
   MOBILE BUG FIXES — from the cross-session diagnosis
   (1) carousel seam · (2) featured-watcher spacing · (3) blog text safety
   ========================================================================= */

/* (2) Featured "main" watchers: the <h3> title carried a browser-default
   ~1em top margin, leaving a big empty gap below the image. Remove it. */
.featured-info h3 {
  margin-top: 0;
}

/* Don't let a grid row stretch its cards to the tallest one (which would
   leave dead space below shorter images). Cards size to their content. */
.watcher-grid,
.cardbox {
  align-items: start;
}
/* The box image and its contents list sit centred on the same line. */
.component-grid { align-items: center; }

@media (max-width: 768px) {
  .featured-watcher {
    gap: 10px;
  }
  /* Let the featured image fill its 4:3 box instead of being capped to a
     180px letterbox by the inherited `.watcher img` max-height. */
  .featured-watcher > img,
  .featured-watcher img {
    max-height: none !important;
  }
}

/* (1) Carousel: the loop itself is a seamless 45s translate, but the seam
   between the two duplicated tracks had no gap (0px) while every other
   image pair had ~16px — a subtle hitch once per cycle. A trailing gap on
   each track makes the spacing uniform across the wrap point. */
.scroll-track {
  padding-right: clamp(8px, 2vw, 16px);
}

/* (3) Blog: defensive — a long word or URL can never push body text past
   the right edge on a narrow screen. */
.blog-content.prose,
.blog-chapter-body p,
.blog-lead-card p {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ═══════════════ Demon / Archon reveal drawers + Archon worship ═══════════════ */
/* A grouped set of cards that stays collapsed until its toggle opens it.
   Uses :not(.is-open) so the underlying .cardbox grid layout is preserved when shown. */
.reveal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.2rem auto 2.2rem;
  padding: 0.72rem 1.6rem;
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3e7e2;
  background: linear-gradient(180deg, rgba(64, 17, 21, 0.9), rgba(26, 8, 11, 0.92));
  border: 1px solid var(--surface-border, #6a2530);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--ease, 0.25s ease), border-color var(--ease, 0.25s ease),
    transform var(--ease, 0.25s ease), box-shadow var(--ease, 0.25s ease);
}
.reveal-toggle:hover {
  background: linear-gradient(180deg, rgba(122, 27, 31, 0.95), rgba(46, 12, 15, 0.95));
  border-color: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
.reveal-toggle:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}
.reveal-toggle .chevron {
  font-size: 0.7em;
  transition: transform var(--ease, 0.25s ease);
}
.reveal-toggle.is-open .chevron {
  transform: rotate(180deg);
}

.card-drawer:not(.is-open) {
  display: none;
}
.card-drawer.is-open {
  animation: fadeIn 0.32s ease-out;
}

/* ═══════════════ FAQ accordion (reuses the .reveal-toggle JS + .card-drawer hide) ═══════════════ */
.faq-list {
  max-width: 760px;
  margin: 0.5rem auto 0;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid var(--surface-border, #6a2530);
}
.faq-item:first-child {
  border-top: 1px solid var(--surface-border, #6a2530);
}
/* Retarget the pill-shaped .reveal-toggle into a full-width FAQ row */
.faq-list .reveal-toggle {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1.15rem 0.4rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.35;
  color: var(--text-color);
  text-align: left;
  transition: color var(--dur-hover, 0.25s) ease;
}
.faq-list .reveal-toggle:hover,
.faq-list .reveal-toggle.is-open {
  background: transparent;
  border: 0;
  transform: none;
  box-shadow: none;
  color: var(--accent-soft);
}
.faq-list .reveal-toggle .chevron {
  color: var(--accent-color);
  flex-shrink: 0;
  font-size: 0.9em;
}
.faq-a {
  padding: 0 0.4rem 1.3rem;
}
.faq-a p {
  margin: 0;
  max-width: 68ch;
  color: rgba(var(--text-color-rgb), 0.82);
  line-height: var(--leading-body, 1.7);
}

/* ═══════════════ News feed ═══════════════ */
.news-feed { max-width: 760px; margin: 2rem auto 0; text-align: left; }
.news-post {
  padding: clamp(1.4rem, 4vw, 2.3rem);
  background: linear-gradient(180deg, rgba(30, 12, 15, 0.5), rgba(18, 8, 10, 0.55));
  border: 1px solid var(--surface-border, #6a2530);
  border-radius: var(--radius-md, 14px);
  box-shadow: var(--shadow-1, 0 6px 18px rgba(0, 0, 0, 0.35));
}
.news-post-date {
  font-family: var(--font-display, "Cinzel", Georgia, serif);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-soft);
  margin: 0 0 0.5rem;
}
.news-post-title {
  font-size: clamp(1.35rem, 4.2vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 1.1rem;
}
.news-post-body p {
  margin: 0 0 1rem;
  color: rgba(var(--text-color-rgb), 0.84);
  line-height: var(--leading-body, 1.7);
}
.news-post-body p:last-child { margin-bottom: 0; }
.news-post-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--surface-border, #6a2530);
}
.news-post-links a {
  color: var(--accent-soft);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color var(--dur-hover, 0.25s) ease;
}
.news-post-links a:hover,
.news-post-links a:focus-visible { color: var(--text-color); }

.archon-note {
  max-width: 640px;
  margin: 0.2rem auto 0.6rem;
  color: var(--ink-dim, #b9a9a4);
  font-style: italic;
  line-height: 1.6;
}

/* Quiet trust line under the newsletter form */
.newsletter-fineprint {
  margin: 0.9rem auto 0;
  max-width: 42ch;
  font-size: 0.8rem;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
}

/* How You Play — 3-step explainer */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 26px);
  max-width: 1000px;
  margin: 0 auto;
}
.how-step {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: clamp(1.3rem, 2.5vw, 2rem) clamp(1.1rem, 2vw, 1.6rem);
  text-align: center;
}
.how-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: 0.6rem;
}
.how-step h3 {
  font-size: var(--fs-h3);
  letter-spacing: 0.02em;
  margin: 0 0 0.6rem;
  color: var(--text-color);
}
.how-step p {
  color: var(--ink-dim);
  line-height: 1.6;
  font-size: 0.98rem;
  margin: 0;
}
.how-win {
  max-width: 640px;
  margin: clamp(1.6rem, 3vh, 2.4rem) auto 0;
  color: var(--text-color);
  font-style: italic;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* At-a-glance spec strip (shared by the homepage and the Kickstarter page) */
.ksl-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.ksl-facts li {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 18px 10px;
  text-align: center;
}
.ksl-facts b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--accent-color);
}
.ksl-facts span {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.ksl-center { text-align: center; }
.ksl-note { font-size: 13px; color: var(--ink-dim); font-style: italic; margin-top: 16px; }
@media (max-width: 760px) {
  .ksl-facts { grid-template-columns: repeat(2, 1fr); }
}

/* What's-in-the-box list: two tidy columns beside the box image */
.box-contents {
  columns: 2;
  column-gap: 1.6rem;
}
.box-contents li { white-space: nowrap; }
.box-contents li { break-inside: avoid; }
@media (max-width: 640px) {
  .box-contents { columns: 1; }
}

/* KS campaign-video placeholder shown while the old boardtable render is retired */
.video-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px dashed var(--surface-border, #6a2530);
  border-radius: var(--radius, 14px);
  background: radial-gradient(circle at 50% 42%, rgba(60, 16, 20, 0.5), rgba(10, 6, 8, 0.72));
  color: var(--ink-dim, #b9a9a4);
}
.video-soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
  color: #f3e7e2;
  font-size: 1.15rem;
}
.video-soon p {
  margin: 0;
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* ══════════════════════════════════════════════════════════════════════
   CARD GALLERY (game.html) — TCG-style grid + spotlight
   Big art-only cards in a centred grid; each card is a 3D flip (front art /
   set-coloured card back) with a pointer-tracking tilt + shine. Clicking one
   flies it into the spotlight dialog, spins it through its back and lets you
   browse the rest of the set. Namespaced .dg-* so the old .cardbox/.watcher
   layers do not reach it. Never put filter/opacity on a preserve-3d node:
   it flattens the flip and both faces show.
   ══════════════════════════════════════════════════════════════════════ */
[data-set="watcher"] { --set-rgb: 214, 219, 230; --back: url("../assets/cards/backs/watcher.webp"); --ar: 640 / 872; }
[data-set="demon"]   { --set-rgb: 226, 64, 90;   --back: url("../assets/cards/backs/demon.webp"); }
[data-set="archon"]  { --set-rgb: 230, 184, 78;  --back: url("../assets/cards/backs/archon.webp"); }
[data-set="hellscape"] { --set-rgb: 232, 120, 70; }
[data-region="asphodel"] { --set-rgb: 210, 170, 128; --back: url("../assets/cards/backs/asphodel.webp"); }
[data-region="avernus"]  { --set-rgb: 236, 96, 66;   --back: url("../assets/cards/backs/avernus.webp"); }
[data-region="styx"]     { --set-rgb: 84, 188, 214;  --back: url("../assets/cards/backs/styx.webp"); }
[data-region="hermon"]   { --set-rgb: 224, 230, 240; --back: url("../assets/cards/backs/hermon.webp"); }

.dg-grid {
  --cols: 2;
  --gap: clamp(12px, 2.2vw, 26px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
  width: 100%;
  max-width: 1180px;
  margin: 2.2rem auto 0;
  padding: 0 16px;
  box-sizing: border-box;
}
@media (min-width: 640px)  { .dg-grid { --cols: 3; } }
@media (min-width: 1024px) { .dg-grid { --cols: 4; } }

.dg-card {
  --rx: 0deg; --ry: 0deg; --px: 50%; --py: 50%; --shine: 0; --lift: 0px;
  position: relative;
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  max-width: 270px;
  aspect-ratio: var(--ar, 630 / 880);
  display: block;
  margin: 0; padding: 0; border: 0;
  background: none; color: inherit; font: inherit;
  cursor: pointer;
  perspective: 900px;
  -webkit-tap-highlight-color: transparent;
}
.dg-card__tilt,
.dg-card__flip {
  position: absolute; inset: 0;
  display: block;
  transform-style: preserve-3d;
}
.dg-card__tilt {
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.55s var(--ease);
}
.dg-card.is-tracking .dg-card__tilt { transition: transform 0.1s linear; }
.dg-card__flip { transition: transform 0.9s cubic-bezier(0.3, 1.3, 0.45, 1); }
.dg-card.is-down .dg-card__flip { transform: rotateY(180deg); }
.dg-card.is-lifted .dg-card__tilt,
.featured-card.is-lifted { visibility: hidden; }

.dg-face {
  position: absolute; inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 4.6% / 3.3%;
  background: #0d0b0c;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.35s var(--ease);
}
.dg-face--back {
  transform: rotateY(180deg);
  background: #0d0b0c var(--back) center / 100% 100% no-repeat;
}
.dg-face img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* Pointer-following sheen (grid + spotlight) */
.dg-shine {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--px) var(--py), rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.14) 24%, transparent 56%);
  mix-blend-mode: soft-light;
  opacity: var(--shine);
  transition: opacity 0.45s var(--ease);
}
@media (hover: hover) {
  .dg-card:hover { --lift: -8px; }
  .dg-card:hover .dg-face--front {
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(var(--set-rgb), 0.5), 0 0 34px rgba(var(--set-rgb), 0.3);
  }
}
.dg-card:focus { outline: none; }
.dg-card:focus-visible { outline: 2px solid transparent; outline-offset: 4px; }
.dg-card:focus-visible .dg-face--front {
  box-shadow: 0 0 0 2px rgba(var(--set-rgb), 0.95), 0 0 30px rgba(var(--set-rgb), 0.45);
}
/* Revealed by a summon button: rise in, then flip face-up one by one (JS).
   Overrides the generic cardSummon animation, whose filter would flatten the flip. */
.dg-grid.is-revealed > .dg-card { animation: dgDeal 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
@keyframes dgDeal {
  from { opacity: 0; transform: translateY(34px) scale(0.92); }
  to   { opacity: 1; transform: none; }
}

/* Featured Watchers (Samyaza, Azazel) open the spotlight too */
.featured-card { cursor: zoom-in; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
@media (hover: hover) {
  .featured-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(214, 219, 230, 0.22); }
}
.featured-card:focus { outline: none; }
.featured-card:focus-visible { outline: 2px solid transparent; outline-offset: 4px; box-shadow: 0 0 0 2px rgba(214, 219, 230, 0.9), 0 0 26px rgba(214, 219, 230, 0.35); }

/* ── Spotlight dialog ── */
html.spot-open { overflow: hidden; scrollbar-gutter: stable; }
.dg-spot {
  --rx: 0deg; --ry: 0deg; --px: 50%; --py: 50%; --shine: 0;
  position: fixed; inset: 0;
  z-index: 3000;
  display: flex;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.dg-spot[hidden] { display: none !important; }
.dg-spot__backdrop {
  position: fixed; inset: 0;
  background:
    radial-gradient(55% 50% at 50% 42%, rgba(var(--set-rgb, 232, 93, 74), 0.16), transparent 72%),
    rgba(6, 4, 5, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.dg-spot.is-open .dg-spot__backdrop { opacity: 1; }
.dg-spot__layout {
  position: relative;
  margin: auto;            /* centres when it fits, scrolls from the top when it does not */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.6vh, 26px);
  width: 100%;
  max-width: 1080px;
  pointer-events: none;
}
.dg-spot__layout > * { pointer-events: auto; }
.dg-spot__card {
  position: relative;
  width: min(80vw, calc(56vh * 0.716), 400px);
  aspect-ratio: var(--ar, 630 / 880);
  perspective: 1400px;
  touch-action: pan-y;
}
.dg-spot__stage,
.dg-spot__tilt {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
}
.dg-spot__tilt {
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease);
}
.dg-spot__card.is-tracking .dg-spot__tilt { transition: transform 0.1s linear; }
.dg-spot .dg-face--front,
.dg-spot .dg-face--back {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(var(--set-rgb), 0.35), 0 0 70px rgba(var(--set-rgb), 0.22);
}
.dg-foil {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
      transparent 30%, rgba(var(--set-rgb), 0.28) 43%, rgba(255, 255, 255, 0.4) 50%,
      rgba(var(--set-rgb), 0.28) 57%, transparent 70%);
  background-size: 260% 260%;
  background-position: var(--px) var(--py);
  mix-blend-mode: overlay;
  opacity: calc(var(--shine) * 0.7);
  transition: opacity 0.45s var(--ease);
}
.dg-spot__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 34rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s 0.3s var(--ease), transform 0.45s 0.3s var(--ease);
}
.dg-spot.is-open .dg-spot__info { opacity: 1; transform: none; }
.dg-spot.is-open.is-swapping .dg-spot__info { opacity: 0; transform: translateY(6px); transition-delay: 0s; transition-duration: 0.18s; }
.dg-spot__eyebrow {
  display: flex;
  gap: 0.9em;
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgb(var(--set-rgb, 232, 93, 74));
}
.dg-spot__count { color: var(--ink-dim); letter-spacing: 0.12em; }
.dg-spot .dg-spot__name {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: var(--tracking-title);
  text-transform: none;
  color: var(--text-bright);
  text-shadow: 0 0 32px rgba(var(--set-rgb, 232, 93, 74), 0.35);
}
.dg-spot__chip {
  margin: 0.8rem 0 0;
  padding: 0.32em 1em;
  border: 1px solid rgba(var(--set-rgb), 0.5);
  border-radius: 999px;
  background: rgba(var(--set-rgb), 0.08);
  color: rgb(var(--set-rgb));
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.dg-spot__chip[hidden] { display: none; }
.dg-spot__lore {
  margin: 1rem 0 0;
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
}
.dg-spot__controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}
@media (min-width: 900px) and (min-aspect-ratio: 1 / 1) {
  .dg-spot__layout { flex-direction: row; justify-content: center; gap: clamp(36px, 5vw, 80px); }
  .dg-spot__card { width: min(calc(78vh * 0.716), 470px); flex: 0 0 auto; }
  .dg-spot__info { align-items: flex-start; text-align: left; max-width: 26rem; }
  .dg-spot__controls { justify-content: flex-start; }
}

/* Small pill controls (spotlight) — same family as the site-wide pill buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 44px;
  padding: 0 1.3em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(12, 8, 9, 0.6);
  color: var(--text-color);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color var(--dur-hover) ease, border-color var(--dur-hover) ease,
              box-shadow 0.3s ease, transform var(--dur-tap) ease;
}
.pill-btn--icon { width: 44px; padding: 0; }
.pill-btn[hidden] { display: none; }
.pill-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(var(--set-rgb, 232, 93, 74), 0.65);
  box-shadow: 0 0 20px rgba(var(--set-rgb, 232, 93, 74), 0.28);
}
.pill-btn:active { transform: scale(0.95); }
.pill-btn:focus-visible { outline: 2px solid rgb(var(--set-rgb, 232, 93, 74)); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .dg-card__tilt, .dg-card__flip, .dg-spot__tilt,
  .dg-spot__backdrop, .dg-spot__info, .featured-card { transition: none !important; }
  .dg-grid.is-revealed > .dg-card { animation: none; }
}

/* Spotlight: tap/click the big card to turn it over and see its set's back */
.dg-spot__card { cursor: pointer; }
.dg-spot__card.is-flipped .dg-spot__tilt { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + 180deg)); }
.dg-spot__card.is-turning .dg-spot__tilt { transition: transform 0.7s cubic-bezier(0.3, 1.25, 0.45, 1); }
.dg-spot__card.no-anim .dg-spot__tilt { transition: none; }
.dg-face img { cursor: inherit; -webkit-user-drag: none; user-select: none; }

/* Featured Watchers no longer carry the shared .watcher class (it greyed them out
   and scaled the whole block on hover), so their surface lives here. */
.featured-watcher {
  background-color: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.featured-info p { margin-top: 10px; padding: 0 5px; }
.dg-spot__hint {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-dim);
}

/* ══════════════════════════════════════════════════════════════════════
   BUTTONS — "infernal pill" system (site-wide)
   One look for every real button: a molten pill inside a thin ember ring
   (a conic-gradient border) that starts to turn on hover, an outer glow,
   lava light from below and a light sweep. Variants are just custom
   properties: summon buttons (one ring per set + idle breathing),
   Kickstarter green, language chips. Visual properties only: the earlier
   layers keep their margins, widths and layout.
   Excluded on purpose: nav Kickstarter wordmark, #menu-toggle, FAQ rows,
   duel mats/dice, cards.
   ══════════════════════════════════════════════════════════════════════ */
@property --btn-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.game-button,
.kickstarter-actions .game-button,
.summon-btn,
.wishlist-form .emailoctopus-form input[type="submit"].btn {
  --btn-top: #a3212f;
  --btn-mid: #70101c;
  --btn-bot: #3a0610;
  --btn-lava: 255, 128, 64;
  --btn-ring-1: #ffc09a;
  --btn-ring-2: #e85d4a;
  --btn-ring-3: #3e0810;
  --btn-glow: 232, 93, 74;
  --btn-ink: #fff4ee;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
  padding: 0.95em 2.2em;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    radial-gradient(90% 120% at 50% 135%, rgba(var(--btn-lava), 0.42), transparent 62%) padding-box,
    linear-gradient(180deg, var(--btn-top) 0%, var(--btn-mid) 55%, var(--btn-bot) 100%) padding-box,
    conic-gradient(from var(--btn-angle, 0deg), var(--btn-ring-1), var(--btn-ring-2) 20%, var(--btn-ring-3) 42%,
      var(--btn-ring-1) 58%, var(--btn-ring-2) 76%, var(--btn-ring-3) 92%, var(--btn-ring-1)) border-box;
  color: var(--btn-ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(var(--btn-glow), 0.55), 0 1px 1px rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 218, 0.3),
    inset 0 -12px 22px rgba(0, 0, 0, 0.3),
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(var(--btn-glow), 0.3);
  filter: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease), opacity 0.4s ease;
}
/* Light sweep across the pill on hover (above the fill, below the label) */
.game-button::after,
.summon-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 240, 228, 0.42) 48%, rgba(255, 255, 255, 0.06) 56%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}
.game-button:hover,
.kickstarter-actions .game-button:hover,
.summon-btn:hover,
.wishlist-form .emailoctopus-form input[type="submit"].btn:hover {
  transform: translateY(-2px);
  filter: none;
  animation: btnRing 2.6s linear infinite;
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 218, 0.36),
    inset 0 -12px 22px rgba(0, 0, 0, 0.24),
    0 14px 34px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(var(--btn-glow), 0.55),
    0 0 72px rgba(var(--btn-glow), 0.22);
}
.game-button:hover::after,
.summon-btn:hover::after { transform: translateX(130%); }
.game-button:active,
.kickstarter-actions .game-button:active,
.summon-btn:active,
.wishlist-form .emailoctopus-form input[type="submit"].btn:active {
  transform: translateY(0) scale(0.97);
  transition: transform 0.08s var(--ease), box-shadow 0.35s var(--ease), opacity 0.4s ease;
}
.game-button:focus-visible,
.summon-btn:focus-visible,
.wishlist-form .emailoctopus-form input[type="submit"].btn:focus-visible {
  outline: 2px solid rgba(var(--btn-glow), 0.95);
  outline-offset: 4px;
}
@keyframes btnRing { to { --btn-angle: 360deg; } }

/* Kickstarter: same pill in Kickstarter green with dark ink (white on green fails contrast) */
.kickstarter-actions .game-button,
.game-button.kickstarter-cta {
  --btn-top: #2cf3a6;
  --btn-mid: #05ce78;
  --btn-bot: #038c52;
  --btn-lava: 210, 255, 236;
  --btn-ring-1: #eafff5;
  --btn-ring-2: #3dffb0;
  --btn-ring-3: #035f38;
  --btn-glow: 5, 206, 120;
  --btn-ink: var(--cta-ks-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Summon buttons: a slow breathing glow invites the click; each set has its own ring */
.summon-btn {
  --btn-ring-1: #ffd08a;
  --btn-ring-2: #ff5a2e;
  --btn-ring-3: #4a0a0a;
  --btn-glow: 255, 92, 46;
  animation: btnBreathe 3.2s ease-in-out infinite;
}
.summon--embers .summon-btn {
  --btn-top: #8e2e12;
  --btn-mid: #5c1b0b;
  --btn-bot: #2a0b05;
  --btn-lava: 255, 170, 70;
  --btn-ring-1: #ffe2a6;
  --btn-ring-2: #ff9a3c;
  --btn-ring-3: #3a1606;
  --btn-glow: 255, 150, 60;
}
.summon--smoke .summon-btn {
  --btn-top: #3d3944;
  --btn-mid: #221f28;
  --btn-bot: #0e0c12;
  --btn-lava: 214, 186, 112;
  --btn-ring-1: #f0dc9c;
  --btn-ring-2: #8f8a9c;
  --btn-ring-3: #131117;
  --btn-glow: 214, 196, 150;
  --btn-ink: #f6f1e6;
}
.summon--light .summon-btn {
  --btn-top: #3c4152;
  --btn-mid: #232735;
  --btn-bot: #0f111a;
  --btn-lava: 200, 214, 255;
  --btn-ring-1: #ffffff;
  --btn-ring-2: #b6c4ff;
  --btn-ring-3: #262b40;
  --btn-glow: 186, 202, 255;
  --btn-ink: #f5f7ff;
}
@keyframes btnBreathe {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255, 232, 218, 0.3), inset 0 -12px 22px rgba(0, 0, 0, 0.3),
      0 10px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(var(--btn-glow), 0.25);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 232, 218, 0.3), inset 0 -12px 22px rgba(0, 0, 0, 0.3),
      0 10px 28px rgba(0, 0, 0, 0.45), 0 0 34px rgba(var(--btn-glow), 0.55), 0 0 64px rgba(var(--btn-glow), 0.18);
  }
}

/* Newsletter submit (EmailOctopus injects its own salmon Bootstrap button) */
.wishlist-form .emailoctopus-form input[type="submit"].btn {
  font-size: 0.85rem;
  line-height: 1.2;
  padding: 0.9em 1.8em;
  height: auto;
}
.wishlist-form .emailoctopus-form input.form-control:not([type="submit"]) {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 6, 8, 0.6);
  color: var(--text-color);
  font-family: var(--font-body);
  padding-left: 1.2em;
  padding-right: 1.2em;
}
.wishlist-form .emailoctopus-form input.form-control:not([type="submit"])::placeholder { color: var(--ink-dim); }
.wishlist-form .emailoctopus-form input.form-control:not([type="submit"]):focus {
  border-color: rgba(232, 93, 74, 0.7);
  box-shadow: 0 0 0 3px rgba(232, 93, 74, 0.18);
  outline: none;
}

/* Language chips: same glow language, kept compact for the nav */
.lang-btn {
  transition: border-color var(--dur-hover) ease, background-color var(--dur-hover) ease, box-shadow 0.3s ease;
}
.lang-btn:hover {
  border-color: rgba(232, 93, 74, 0.55);
  box-shadow: 0 0 14px rgba(232, 93, 74, 0.22);
}
.lang-btn.active {
  border-color: rgba(232, 93, 74, 0.8);
  background: rgba(232, 93, 74, 0.14);
  box-shadow: inset 0 0 10px rgba(232, 93, 74, 0.22), 0 0 14px rgba(232, 93, 74, 0.28);
}

/* Spotlight pills: a set-coloured ember ring on hover */
.pill-btn:hover {
  background:
    linear-gradient(rgba(20, 12, 14, 0.85), rgba(20, 12, 14, 0.85)) padding-box,
    linear-gradient(135deg, rgba(var(--set-rgb, 232, 93, 74), 0.95), rgba(var(--set-rgb, 232, 93, 74), 0.2)) border-box;
  border-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .game-button, .summon-btn, .wishlist-form .emailoctopus-form input[type="submit"].btn { animation: none !important; }
  .game-button::after, .summon-btn::after { display: none; }
}
/* Keep the summon sentence on one line on desktop; it still wraps on phones */
.summon-btn { max-width: min(92vw, 46rem); letter-spacing: 0.14em; }
/* Phones: the grid breaks out of the section padding so two cards fill the screen */
@media (max-width: 639px) {
  .dg-grid {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 14px;
    --gap: 12px;
  }
}
/* While a card flies in/out from far down the page its transform would add scroll area */
.dg-spot.is-flying { overflow: hidden; }
/* Kickstarter column buttons are width-capped: tighter tracking keeps one line */
.kickstarter-actions .game-button,
.game-button.kickstarter-cta { padding-left: 1.1em; padding-right: 1.1em; letter-spacing: 0.1em; }

/* Review fixes */
/* The summon exit state must beat the later hover rule (sticky :hover after a tap) */
.summon-btn.is-gone,
.summon-btn.is-gone:hover { transform: scale(0.86); animation: none; }
/* The dialog itself takes focus when you click inside it (keeps keys working) */
.dg-spot:focus { outline: none; }
/* The big card is a toggle button (turn over) */
.dg-spot__card:focus { outline: none; }
.dg-spot__card:focus-visible { outline: 2px solid rgba(var(--set-rgb, 232, 93, 74), 0.95); outline-offset: 6px; border-radius: 4.6% / 3.3%; }
/* Screen-reader announcement when browsing the set */
.dg-spot__status {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Featured Watchers are spotlight triggers now: show the whole card, so the
   flying card starts from the same shape (was a 4:3 crop on phones) */
.featured-watcher > img.featured-card { aspect-ratio: 640 / 872; }
@media (max-width: 768px) {
  .featured-watcher > img.featured-card { aspect-ratio: 640 / 872; max-width: 240px !important; }
}


/* ######################################################################
   POLISH PASS (2026-10-12): premium dark-fantasy finish, from the design audit
   ###################################################################### */
/* ======================================================================
   POLISH 1 · Nav — Marcellus SC titling caps on a forged bar
   ====================================================================== */
:root { --font-ui: 'Marcellus SC', 'Cinzel', Georgia, serif; }

.main-nav,
.main-nav.nav-scrolled {
  background: linear-gradient(180deg, rgba(12, 7, 8, 0.95) 0%, rgba(12, 7, 8, 0.80) 100%);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 10px 28px rgba(0, 0, 0, 0.35);
}
.main-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 93, 74, 0.45) 30%, rgba(232, 93, 74, 0.45) 70%, transparent 100%);
}
.nav-links li a {
  font-family: var(--font-ui);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(var(--text-color-rgb), 0.78);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.nav-links.desktop-nav li a:not(.kickstarter) {
  font-size: clamp(13px, 0.55rem + 0.5vw, 15px);
}
.nav-links li a:hover { color: var(--text-bright); }
.nav-links li a.nav-active { color: var(--accent-color); text-shadow: none; }
/* active / hover underline tapers out instead of a hard 1px bar */
.nav-links.desktop-nav li a:not(.kickstarter)::after {
  background: linear-gradient(90deg, transparent, currentColor 20%, currentColor 80%, transparent);
}
/* mobile drawer: same face, readable size, same warm black */
.mobile-nav {
  background-color: rgba(12, 7, 8, 0.97);
  border-bottom: 1px solid rgba(232, 93, 74, 0.25);
}
.mobile-nav .nav-links li a {
  font-size: 17px;
  letter-spacing: 0.2em;
}

/* ======================================================================
   POLISH 2 · Kickstarter nav item (text, ghost pill) + EN · SL switch
   ====================================================================== */
.nav-links a.kickstarter,
.nav-links.desktop-nav a.kickstarter {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--cta-ks);
  background: rgba(5, 206, 120, 0.08);
  border: 1px solid rgba(5, 206, 120, 0.55);
  border-radius: 999px;
  padding: 0.62em 1.2em 0.56em 1.38em; /* extra left pad offsets trailing tracking */
  box-shadow: inset 0 0 12px rgba(5, 206, 120, 0.08);
  text-shadow: none;
  filter: none;
  transform: none;
  transition: background-color var(--dur-hover) ease, color var(--dur-hover) ease,
              border-color var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
}
.nav-links a.kickstarter:hover,
.nav-links a.kickstarter:focus-visible,
.nav-links.desktop-nav a.kickstarter:hover,
.nav-links.desktop-nav a.kickstarter:focus-visible,
.nav-links li a.kickstarter.nav-active {
  background: var(--cta-ks);
  border-color: var(--cta-ks);
  color: var(--cta-ks-ink);
  box-shadow: 0 0 18px rgba(5, 206, 120, 0.4);
  filter: none;
  transform: none;
}
.mobile-nav .nav-links li a.kickstarter { font-size: 15px; }

/* Language: plain EN · SL codes, underline marks the active one */
.language-switcher,
.mobile-language-switcher { gap: 0; }
.lang-btn,
.lang-btn:hover,
.lang-btn.active {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.lang-btn {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  padding: 0 8px;
  font-family: var(--font-ui);
  color: rgba(var(--text-color-rgb), 0.6);
  transition: color var(--dur-hover) ease;
}
.lang-btn .flag-icon { display: none; }
.lang-btn::after {
  content: attr(data-lang);
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 0 4px 0.16em;
  border-bottom: 1px solid transparent;
}
.lang-btn:hover,
.lang-btn.active { color: var(--text-color); }
.lang-btn.active::after { border-bottom-color: var(--accent-color); }
.lang-btn + .lang-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  margin-top: -7px;
  background: rgba(255, 255, 255, 0.18);
}
.lang-btn:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; }

/* ======================================================================
   POLISH 3 · Section + page titles — molten fill, no halo
   ====================================================================== */
.highlight {
  letter-spacing: 0.05em;
  text-wrap: balance;
}
@media (max-width: 480px) {
  .highlight { letter-spacing: 0.02em; }
}
/* fallback for engines without background-clip:text */
.highlight,
.theGame h2,
.page-hero h2 {
  line-height: 1.2;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 0 18px rgba(232, 93, 74, 0.2);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .highlight,
  .theGame h2,
  .page-hero h2 {
    background: linear-gradient(180deg, #ffd0be 0%, #f27c63 42%, #d24e3c 100%) 0 0 / 100% 1.2em repeat-y;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(232, 93, 74, 0.22));
  }
}
@media (forced-colors: active) {
  .highlight,
  .theGame h2,
  .page-hero h2 {
    background: none;
    -webkit-text-fill-color: CanvasText;
    color: CanvasText;
    filter: none;
  }
}

/* ======================================================================
   POLISH 4 · Atmosphere — warm charcoal, grain, vignette
   ====================================================================== */
/* Page base is the team-picked near-black (--page-base, #100d0d); depth comes from grain + vignette only. */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.4) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E") 0 0 / 240px 240px repeat;
  /* Overlay: the mid-grey noise adds texture without lifting the average, so the
     page still reads as the exact --page-base; the black vignette still darkens edges. */
  mix-blend-mode: overlay;
}

/* ======================================================================
   POLISH 5 · Label tier — one eyebrow style + page-hero spacing
   ====================================================================== */
:root {
  --fs-eyebrow: clamp(0.76rem, 0.72rem + 0.2vw, 0.88rem);
  --tracking-eyebrow: 0.3em;
}
main .eyebrow,
#contracts > .section-subtitle,
#battles > .section-subtitle,
#items > .section-subtitle,
.theGame h3,
.page-hero h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1.3;
  text-transform: uppercase;
  color: rgba(var(--text-color-rgb), 0.74);
  opacity: 1;
  margin-bottom: 0.7rem;
}
main .eyebrow::before,
main .eyebrow::after,
#contracts > .section-subtitle::before,
#contracts > .section-subtitle::after,
#battles > .section-subtitle::before,
#battles > .section-subtitle::after,
#items > .section-subtitle::before,
#items > .section-subtitle::after,
.theGame h3::before,
.theGame h3::after,
.page-hero h3::before,
.page-hero h3::after {
  content: "";
  flex: 0 1 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 74, 0.85));
}
main .eyebrow::after,
#contracts > .section-subtitle::after,
#battles > .section-subtitle::after,
#items > .section-subtitle::after,
.theGame h3::after,
.page-hero h3::after {
  transform: scaleX(-1);
  margin-left: calc(var(--tracking-eyebrow) * -1); /* cancel trailing letter-space */
}

/* page heroes: no more negative pull-up into the label */
.theGame h2,
.page-hero h2 { margin-top: 0; }

/* kickstarter.html: AT A / WHAT IS / PLEDGE become eyebrows, the span stays the title */
h2.ksl-center {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1.5;
  color: rgba(var(--text-color-rgb), 0.74);
}
h2.ksl-center .highlight { margin-top: 0.55rem; }

/* small meta labels share the face */
.team-member .role,
.news-post-date,
.blog-lead-heading,
.blog-toc-heading,
.blog-chapter-num {
  font-family: var(--font-ui);
  font-weight: 400;
  letter-spacing: 0.22em;
}

/* ======================================================================
   POLISH 6 · Section divider — forged ember ornament (assets/divider.svg)
   ====================================================================== */
.section-divider {
  width: min(70%, 320px);
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(232, 93, 74, 0.35));
  margin: clamp(14px, 2.5vh, 22px) auto clamp(26px, 5vh, 40px);
}

/* ======================================================================
   POLISH 7 · Reading typography
   ====================================================================== */
:root { --font-body: 'Gentium Plus', 'Gentium Book Basic', Georgia, serif; }
body {
  font-family: var(--font-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.chapter-card-title { font-family: var(--font-body); }

/* centred section copy: shorter measure, softer ink, no orphans */
.watcher-description,
.hellscape-description,
.contracts-description,
.battles-description {
  max-width: 40rem;
  color: rgba(var(--text-color-rgb), 0.86);
  text-wrap: pretty;
}
@media (max-width: 768px) {
  .watcher-description,
  .hellscape-description,
  .contracts-description,
  .battles-description { font-size: 16px; }
}
.story-paragraph,
.story-intro,
.tagline,
.component-intro,
.how-win,
.faq-a p,
.news-post-body p { text-wrap: pretty; }
h2, h3, .news-post-title { text-wrap: balance; }

/* FAQ: sentence-case questions in the text face, drawn chevron, roomier rows */
.faq-list .reveal-toggle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  letter-spacing: 0;
  padding: 1.2rem 1rem;
  text-wrap: balance;
}
.faq-list .reveal-toggle:hover { background: rgba(232, 93, 74, 0.05); }
.faq-a { padding: 0 1rem 1.3rem; }
.faq-list .reveal-toggle .chevron {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  font-size: 0;
  border-right: 1.5px solid var(--accent-color);
  border-bottom: 1.5px solid var(--accent-color);
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur-move) var(--ease);
}
.faq-list .reveal-toggle.is-open .chevron { transform: translateY(2px) rotate(225deg); }
@media (prefers-reduced-motion: reduce) {
  .faq-list .reveal-toggle .chevron { transition: none; }
}

/* News titles are sentences: editorial bold, not small caps */
.news-post-title {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1.2;
}

/* In the box: counts in a right-aligned tabular column */
.box-contents li { line-height: 1.9; }
.box-contents strong {
  display: inline-block;
  min-width: 1.6em;
  margin-right: 0.5em;
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
}
.box-contents li:not(:has(strong)) { padding-left: 2.1em; }
@media (max-width: 768px) {
  .component-grid ul {
    text-align: left;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
}

/* ======================================================================
   POLISH 8 · Panels — one forged frame
   ====================================================================== */
:root {
  --ember-line: rgba(232, 93, 74, 0.55);
  --panel-fill: linear-gradient(180deg, rgba(38, 24, 27, 0.84) 0%, rgba(17, 11, 13, 0.92) 100%);
  --panel-corners:
    linear-gradient(var(--ember-line), var(--ember-line)) left top / 16px 1px no-repeat,
    linear-gradient(var(--ember-line), var(--ember-line)) left top / 1px 16px no-repeat,
    linear-gradient(var(--ember-line), var(--ember-line)) right top / 16px 1px no-repeat,
    linear-gradient(var(--ember-line), var(--ember-line)) right top / 1px 16px no-repeat,
    linear-gradient(var(--ember-line), var(--ember-line)) left bottom / 16px 1px no-repeat,
    linear-gradient(var(--ember-line), var(--ember-line)) left bottom / 1px 16px no-repeat,
    linear-gradient(var(--ember-line), var(--ember-line)) right bottom / 16px 1px no-repeat,
    linear-gradient(var(--ember-line), var(--ember-line)) right bottom / 1px 16px no-repeat;
}
.how-step,
.featured-watcher,
.news-post,
.news-empty,
.mail,
.newsletter-block,
.blog-lead-card,
.component-grid ul,
.ksl-facts li {
  border: 1px solid rgba(232, 93, 74, 0.14);
  border-radius: 3px;
  background: var(--panel-corners), var(--panel-fill);
  background-origin: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 214, 196, 0.06), 0 18px 44px rgba(0, 0, 0, 0.45);
}
.kickstarter-landing,
.chapter-card { border-radius: 3px; }

/* ======================================================================
   POLISH 9 · Rhythm & collisions
   ====================================================================== */
.game-button { margin-bottom: 0; }                 /* was clamp(40px,10vh,100px) under every CTA */
p.ksl-center:has(> .game-button) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
}
.scroll-container {
  margin-top: clamp(48px, 6vw, 80px);               /* was 8rem */
  margin-bottom: clamp(40px, 6vw, 72px);            /* was 100px */
}
#contracts { padding-bottom: 40px; }               /* was 100px (80px mobile) */

/* newsletter card: kill the legacy 8rem hole */
.mail .wishlist-form,
.newsletter-block .wishlist-form { margin-bottom: 0; }
.newsletter-fineprint { margin-top: 1.1rem; }

/* news posts no longer touch */
.news-feed {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
}

/* duel mats + dice: room for the absolute hint labels */
.duel-stage {
  row-gap: clamp(52px, 9vw, 64px);
  padding-bottom: 52px;
}
#battles .tabletopia-cta { margin-top: 1rem; }

/* featured Watchers: text centred against the card, flush with its heading */
@media (min-width: 769px) {
  .featured-watcher { align-items: center; }
}
.featured-info p { padding: 0; }
.blog-lead-card .story-paragraph { padding-inline: 0; }

/* ======================================================================
   POLISH 10 · Edges & finish
   ====================================================================== */
.site-footer {
  position: relative;
  border-top: 0;
  background:
    radial-gradient(55% 140% at 50% 100%, rgba(122, 18, 32, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(10, 7, 8, 0) 0, rgba(10, 7, 8, 0.92) 120px);
  padding-top: clamp(48px, 7vw, 80px);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 74, 0.5), transparent);
}
.footer-copyright {
  color: rgba(var(--text-color-rgb), 0.6);           /* ~6:1, was ~4.45:1 */
  border-top-color: rgba(255, 255, 255, 0.05);
}

/* Kickstarter banner: feather the edges like the rest of the art */
.ks-banner-pic img {
  border: 0;
  border-radius: 0;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 6%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 6%, #000 97%, transparent 100%);
  mask-composite: intersect;
}

/* Team portraits as coin medallions */
.team-member img {
  border: 0;
  box-shadow:
    0 0 0 1px rgba(232, 93, 74, 0.45),
    0 0 0 5px rgba(14, 10, 11, 0.92),
    0 0 0 6px rgba(255, 255, 255, 0.08),
    0 14px 32px rgba(0, 0, 0, 0.6);
}
.team-member:hover img {
  box-shadow:
    0 0 0 1px rgba(232, 93, 74, 0.9),
    0 0 0 5px rgba(14, 10, 11, 0.92),
    0 0 0 6px rgba(232, 93, 74, 0.3),
    0 18px 40px rgba(0, 0, 0, 0.65);
}

/* kickstarter.html re-declares .ksl-facts li in an inline <style> after this sheet;
   one extra type selector lets the forged panel win there too. */
ul.ksl-facts li {
  border: 1px solid rgba(232, 93, 74, 0.14);
  border-radius: 3px;
  background: var(--panel-corners), var(--panel-fill);
  background-origin: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 214, 196, 0.06), 0 18px 44px rgba(0, 0, 0, 0.45);
}
/* Eyebrows inside a centred flex column (404 hero) would shrink to min-content and wrap */
main .eyebrow,
.theGame h3,
.page-hero h3 { align-self: stretch; }

/* "Click to flip through the mats" sat under the duel cards' drop-shadows (~3.4:1);
   lift it above the cards (z 17-20) inside the .duel-stack stacking context. */
.duel-hint { z-index: 21; }

/* Touch: a pressed card tilts toward the finger (phones have no hover) and lifts a little */
.dg-card.is-pressing { --lift: -6px; }
.dg-card.is-pressing .dg-card__tilt,
.dg-spot__card.is-pressing .dg-spot__tilt { transition: transform 0.25s var(--ease); }
.dg-card.is-pressing .dg-face--front {
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(var(--set-rgb), 0.5), 0 0 30px rgba(var(--set-rgb), 0.3);
}
/* Spotlight on phones: the card follows the phone's tilt smoothly */
.dg-spot__card.is-gyro .dg-spot__tilt { transition: transform 0.15s linear; }

/* Contract + Powerful Item cards (game.html) use the same gallery card + spotlight.
   Contract back is parchment, items are Emporium cards with the teal back. */
[data-set="contract"] { --set-rgb: 214, 186, 138; --back: url("../assets/cards/backs/contract.webp"); }
[data-set="emporium"] { --set-rgb: 92, 172, 178; --back: url("../assets/cards/backs/emporium.webp"); }
/* In the rows the card sits beside its text instead of in a grid */
.creature-card > .dg-card {
  flex: 0 0 auto;
  width: clamp(200px, 21vw, 268px);
  max-width: 100%;
}
@media (max-width: 768px) {
  .creature-card > .dg-card { width: min(70vw, 260px); margin: 0 auto; }
}

/* ======================================================================
   Nav: "Play now" (Tabletopia) item + fit 7 items on narrow desktops.
   769–1099px: gap, type size and tracking ease down linearly so they meet
   the regular values exactly at 1100px (no jump); fits SL at 769px.
   The equal side padding keeps the links centred while there is room and
   lets them slide off-centre (never into the EN · SL switch) when tight.
   ====================================================================== */
@media (min-width: 769px) {
  .nav-left { padding-right: 18px; }
  .nav-right { padding-left: 18px; }
}
@media (min-width: 769px) and (max-width: 1099px) {
  .nav-links.desktop-nav {
    gap: clamp(13px, calc(5.74vw - 30.1px), 33px);
  }
  .nav-links.desktop-nav li a:not(.kickstarter) {
    font-size: clamp(12px, calc(0.695vw + 6.66px), 14.3px);
    letter-spacing: clamp(1.2px, calc(0.329vw - 1.33px), 2.3px);
  }
  .nav-links.desktop-nav a.kickstarter {
    font-size: clamp(12px, calc(0.604vw + 7.35px), 14px);
    letter-spacing: clamp(1.44px, calc(0.326vw - 1.07px), 2.52px);
  }
}

/* ======================================================================
   "Join the Underworld": replaces the newsletter panel with one button to
   the prelaunch reservation page. Keeps id="newsletter" so the "Get launch
   alert" / "Join the newsletter" anchors still land on it; the scroll
   margin parks the button mid-screen instead of under the fixed nav.
   ====================================================================== */
.underworld-cta {
  display: flex;
  justify-content: center;
  margin: clamp(4rem, 10vh, 6rem) auto 2rem;
  padding: 0 16px;
  scroll-margin-top: 35vh;
}
.underworld-cta .underworld-cta__btn {
  font-size: clamp(16px, 0.85rem + 0.5vw, 20px);
  padding: 1.05em 2.6em;
  text-align: center;
}
/* phones: one line in both languages down to 320px (the legacy mobile
   .game-button rule forces width: 90% and small padding) */
@media (max-width: 768px) {
  .underworld-cta .underworld-cta__btn {
    width: auto;
    white-space: nowrap;
    font-size: clamp(13px, 3.9vw, 16px);
    letter-spacing: 0.12em;
    padding: 1.05em 1.7em;
  }
}

/* News: balance patch notes (summary list + "Show all" drawer; reuses .reveal-toggle / .card-drawer) */
.news-post { scroll-margin-top: calc(clamp(50px, 6vh, 70px) + 20px); }
.patch-summary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.patch-summary li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(var(--text-color-rgb), 0.84);
  line-height: 1.6;
}
.patch-summary li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.68em;
  width: 5px;
  height: 5px;
  background: var(--accent-color);
  transform: rotate(45deg);
}
.patch-summary b { color: var(--text-color); }
.news-post .patch-toggle { margin: 1.5rem 0 0; }
.patch-toggle.is-open .patch-toggle-more,
.patch-toggle:not(.is-open) .patch-toggle-less { display: none; }
.patch-notes { margin-top: 1.6rem; }
.patch-group {
  font-family: var(--font-ui);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--accent-soft);
  margin: 2rem 0 0.7rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(232, 93, 74, 0.18);
}
.patch-group:first-child { margin-top: 0; }
.patch-why {
  margin: 0 0 1.3rem;
  font-style: italic;
  color: rgba(var(--text-color-rgb), 0.72);
  line-height: var(--leading-body, 1.7);
  text-wrap: pretty;
}
.patch-card { margin: 0 0 1.4rem; }
.patch-card-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  margin: 0 0 0.55rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}
.patch-tag {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  border: 1px solid rgba(232, 93, 74, 0.38);
  border-radius: 999px;
  padding: 0.25em 0.75em;
}
.patch-changes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.patch-changes li {
  padding-left: 0.9rem;
  border-left: 2px solid rgba(232, 93, 74, 0.35);
  line-height: 1.6;
}
.patch-cost {
  display: block;
  margin-bottom: 0.1rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.patch-old {
  display: block;
  color: rgba(var(--text-color-rgb), 0.5);
  text-decoration: line-through;
  text-decoration-color: rgba(232, 93, 74, 0.75);
}
.patch-new {
  display: block;
  color: var(--text-color);
  text-decoration: none;
}
.patch-old + .patch-new::before {
  content: "→\00a0";
  content: "→\00a0" / "";
  color: var(--accent-color);
}
.patch-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.patch-signoff {
  margin: 1.6rem 0 0;
  color: rgba(var(--text-color-rgb), 0.84);
}
