html { scroll-behavior: auto; }
.card-stories { --story-gold: #ffc989; background: #18151c; }
.card-stories .story-label { color: var(--story-accent, var(--story-gold)); font: 650 .84rem/1.4 var(--mono); letter-spacing: .065em; text-transform: uppercase; }
.card-stories .stories-heading { background: radial-gradient(ellipse at 82% 12%, #382c43 0, transparent 60%), #19151f; border-bottom: 1px solid #4d414f; }
.card-stories .story-heading-inner, .card-stories .story-layout { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, .87fr); gap: clamp(24px, 7vw, 110px); }
.card-stories .story-heading-inner { padding-block: clamp(36px, 5vw, 74px); }
.card-stories h1, .card-stories .story-copy h2, .card-stories .story-after h2 { margin: 0; font: italic 800 clamp(2.7rem, 5.3vw, 5.6rem)/.94 var(--display); letter-spacing: -.025em; }
.card-stories h1 { margin: .09em 0 .17em; font-size: clamp(3.75rem, 7.4vw, 8rem); }
.card-stories h1 em { color: var(--story-gold); }
.card-stories .story-deck { max-width: 48ch; color: #e3dae6; font-size: clamp(1.05rem, 1.55vw, 1.3rem); line-height: 1.48; }
.card-stories .story-contents { display: grid; border-bottom: 1px solid #615366; }
.card-stories .story-contents a { padding: 9px 2px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #615366; font-weight: 650; min-height: 42px; }
.card-stories .story-contents a span { color: var(--story-gold); }
.card-stories .story-contents a:is(:hover,:focus-visible) { color: var(--story-gold); }
.card-stories .story-entry, .card-stories .story-after { border-bottom: 1px solid #453e47; scroll-margin-top: 75px; }
.card-stories .story-entry { --story-accent: #ffd094; --plate: #483348; }
.card-stories .story-entry:nth-of-type(even) { background: #1c1a20; }
.card-stories .story-entry#puzzle { --story-accent: #c7dd89; --plate: #2e4145; }
.card-stories .story-entry#bulbasaur { --story-accent: #a9dfb7; --plate: #314138; }
.card-stories .story-entry#wrapper { --story-accent: #fdc784; --plate: #48342b; }
.card-stories .story-layout { padding-block: clamp(38px, 5.25vw, 82px); }
.card-stories .story-copy { max-width: 58ch; }
.card-stories .story-copy h2 { margin: .16em 0 .3em; text-wrap: balance; }
.card-stories .story-copy h2 em { color: var(--story-accent); }
.card-stories .story-copy > p:not(.story-label) { font-size: clamp(1rem, 1.3vw, 1.14rem); color: #e2dbe4; line-height: 1.5; margin-top: .75em; }
.card-stories .story-actions { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; margin-top: clamp(18px, 2vw, 29px); }
.card-stories .story-actions a { display: inline-flex; align-items: center; gap: .3em; min-height: 42px; border-radius: 3px; font-weight: 700; }
.card-stories .story-actions a:first-child { background: var(--story-accent); color: #1b191d; padding: 8px 14px; }
.card-stories .story-next, .card-stories figcaption a, .card-stories .story-after a { text-decoration: underline; text-underline-offset: .22em; }
.card-stories .story-actions a:hover, .card-stories .story-after a:hover { text-decoration: underline; }
.card-stories figure { margin: 0; min-width: 0; }
.card-stories figcaption { margin-top: 8px; font-size: .84rem; line-height: 1.5; color: #c4bec9; }
.card-stories figure img { display: block; }
.card-stories .story-plate { background: radial-gradient(ellipse at 50% 30%, var(--plate), #211e25 94%); border: 1px solid #534a55; padding: clamp(17px, 2.3vw, 35px); border-radius: 6px; }
.card-stories .story-plate-name { display: grid; justify-items: center; gap: clamp(8px, 1.15vw, 17px); }
.card-stories .story-plate-name a { display: block; width: 82%; }
.card-stories .story-front { width: 100%; height: auto; box-shadow: 0 5px 15px #151117; border-radius: 2px; }
.card-stories .name-strip { width: 65%; height: auto; }
.card-stories .story-mosaic { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: 2px; }
.card-stories .story-mosaic img { width: 100%; height: auto; aspect-ratio: 1.44; object-fit: fill; }
.card-stories .story-plate-pair { display: grid; grid-template-columns: 1fr 1fr; justify-content: center; gap: 6%; text-align: center; }
.card-stories .story-plate-pair a { display: grid; grid-template-rows: 1fr auto; justify-items: center; }
.card-stories .story-plate-pair img { width: 100%; height: 100%; max-height: 320px; object-fit: contain; }
.card-stories .story-plate-pair span { font: 600 .84rem/1.4 var(--mono); margin-top: 10px; color: var(--story-accent); }
.card-stories .story-plate-pair a:hover span { text-decoration: underline; }
.card-stories .story-plate-packs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 14px; }
.card-stories .story-plate-packs img { width: 100%; height: auto; }
.card-stories .story-after { background: #29212c; }
.card-stories .story-after-inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px, 6vw, 70px); padding-block: clamp(32px, 4vw, 65px); }
.card-stories .story-after h2 { font-size: clamp(1.95rem, 3.3vw, 3.4rem); line-height: 1.02; }
.card-stories .story-after p { color: #dad3df; margin-block: 8px; max-width: 45ch; }
.card-stories .story-after a { display: inline-flex; align-items: center; min-height: 42px; gap: .4em; color: var(--story-gold); font-weight: 700; }
@media (max-width: 720px) {
  .card-stories .story-layout, .card-stories .story-heading-inner, .card-stories .story-after-inner { grid-template-columns: 1fr; }
  .card-stories .story-layout { row-gap: 0; }
  .card-stories .story-copy { display: contents; }
  .card-stories .story-copy .story-label { grid-row: 1; }
  .card-stories .story-copy h2 { grid-row: 2; }
  .card-stories .story-layout figure { grid-row: 3; margin: 2px 0 8px; }
  .card-stories .story-copy > p:nth-of-type(2) { grid-row: 4; }
  .card-stories .story-copy > p:nth-of-type(3) { grid-row: 5; }
  .card-stories .story-actions { grid-row: 6; }
  .card-stories .story-heading-inner { gap: 18px; }
  .card-stories .story-contents { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
  .card-stories .story-contents a { align-items: flex-start; font-size: .94rem; }
  .card-stories .story-plate { max-width: 520px; }
}
@media (max-width: 420px) {
  .card-stories .bar { gap: 8px; }
  .card-stories .brand { font-size: 21px; }
}
