@font-face {
  font-family: Archivo;
  src: url('/fonts/archivo-latin-wght400-800.woff2') format('woff2');
  font-weight: 400 800;
  font-display: optional;
}
@font-face {
  font-family: Mono;
  src: url('/fonts/dm-mono-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-display: optional;
}
:root {
  color-scheme: light;
  --bg: #f7f4eb;
  --paper: #fffdf7;
  --panel: #eee9dd;
  --line: #d1caba;
  --ink: #242722;
  --muted: #656459;
  --accent: #ba351f;
  --pokemon: #775500;
  --pokemon-tint: #f5e5a4;
  --magic: #a33220;
  --magic-tint: #f8ddd2;
  --riftbound: #245f70;
  --riftbound-tint: #dcebee;
  --yugioh: #643b86;
  --yugioh-tint: #ebdef6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 Archivo, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 8px 12px; background: var(--ink); color: var(--paper); z-index: 10; }
.skip-link:focus { top: 8px; }
::selection { background: #f1cf70; color: var(--ink); }
.masthead, main, footer { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.masthead { padding-top: 0; border-top: 3px solid var(--accent); }
.masthead-top { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 34px; font-weight: 800; letter-spacing: -.065em; line-height: 1; }
.wordmark::before { content: ''; width: 32px; height: 34px; flex: 0 0 auto; background: url('/logo.svg') center/contain no-repeat; }
.wordmark i { display: none; }
.wordmark:hover { color: var(--ink); }
.tagline { max-width: 170px; padding-left: 25px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; }
.subscribe { margin-left: auto; background: var(--accent); color: #fffdf7; padding: 7px 10px; font-size: 12px; font-weight: 700; border: 1px solid var(--accent); white-space: nowrap; }
.subscribe:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.masthead nav { display: flex; align-items: stretch; gap: 0; border-block: 2px solid var(--ink); font-size: 12px; font-weight: 700; }
.masthead nav a { display: flex; align-items: center; gap: 8px; padding: 10px 18px; white-space: nowrap; }
.masthead nav a:hover { background: var(--panel); color: var(--ink); }
.masthead nav .active { background: var(--ink); color: var(--paper); }
.masthead nav .active:hover { background: var(--ink); color: var(--paper); }
.masthead nav a[href='/pokemon-tcg/']::before, .masthead nav a[href='/magic-the-gathering/']::before, .masthead nav a[href='/riftbound/']::before, .masthead nav a[href='/yu-gi-oh/']::before { content: ''; width: 9px; height: 12px; border: 1px solid currentColor; border-radius: 2px; background: #e9c44a; }
.masthead nav a[href='/magic-the-gathering/']::before { background: #e58261; }
.masthead nav a[href='/riftbound/']::before { background: #75b6c2; }
.nav-extra { margin-left: auto; }
.edition { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 12px 0; }
.eyebrow { color: var(--accent); font: 11px Mono, monospace; text-transform: uppercase; letter-spacing: .11em; }
h1 { font-size: 18px; font-weight: 800; line-height: 1.13; letter-spacing: -.045em; margin: 0; }
.edition .eyebrow { display: none; }
.edition>p { margin: 0 0 3px; color: var(--muted); font: 12px/1.4 Archivo, system-ui, sans-serif; text-align: right; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; align-items: start; }
.news-list { border-top: 3px solid var(--ink); }
.story { --game: var(--accent); --game-tint: var(--panel); padding: 12px 0; border-bottom: 1px solid var(--line); }
.story:has(.story-games>a[href='/pokemon-tcg/']) { --game: var(--pokemon); --game-tint: var(--pokemon-tint); }
.story:has(.story-games>a[href='/magic-the-gathering/']) { --game: var(--magic); --game-tint: var(--magic-tint); }
.story:has(.story-games>a[href='/riftbound/']) { --game: var(--riftbound); --game-tint: var(--riftbound-tint); }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; color: var(--muted); margin-bottom: 4px; }
.story-meta>a { display: inline-flex; gap: 6px; align-items: center; background: var(--game-tint); color: var(--game); padding: 2px 5px; font: 12px/1.4 Archivo, system-ui, sans-serif; }
.story-meta>a::before { content: '◆'; font-size: 8px; }
.story-meta time { margin-left: auto; font: 12px/1.4 Archivo, system-ui, sans-serif; }
.story-main { min-width: 0; }
h2 { font: 700 19px/1.3 Archivo, system-ui, sans-serif; letter-spacing: -.015em; margin: 2px 0 5px; overflow-wrap: break-word; }
h2 a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.summary { color: #4e5148; font-size: 15px; line-height: 1.5; margin: 8px 0; }
.related { margin: 4px 0 0; color: #51564b; font-size: 12px; line-height: 1.6; }
.related strong { color: var(--muted); font-size: 12px; font-weight: 400; }
.related a { text-decoration: underline; text-decoration-color: #b7b7a7; text-underline-offset: 3px; }
.aside-list { margin-bottom: 26px; }
.aside-list h3 { margin: 0 0 16px; border-top: 3px solid var(--ink); padding-top: 15px; font: 11px Mono, monospace; text-transform: uppercase; letter-spacing: .09em; }
.aside-list>a { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #505448; padding: 12px 0; font-size: 12px; border-bottom: 1px solid var(--line); }
.aside-list>a:hover { color: var(--accent); }
.aside-list p, .aside-box p { color: var(--muted); font-size: 12px; }
.aside-box { padding: 20px; margin-bottom: 25px; background: var(--panel); border-top: 3px solid var(--ink); }
.aside-box h2 { font-size: 23px; }
.aside-box>a { color: var(--accent); }
.status { color: var(--muted); font: 10px Mono, monospace; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; border-top: 2px solid var(--ink); margin-top: 55px; padding-block: 25px; color: var(--muted); font-size: 11px; }
footer>a:first-child { color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.04em; }
footer>span { margin-right: auto; }
.empty { padding: 35px 0; }
.empty p { color: var(--muted); }
.single-story, .about { max-width: 850px; margin-top: 38px; min-height: 50vh; }
.single-story>.story { border-top: 3px solid var(--ink); margin-bottom: 24px; }
.single-story h1 { font-size: 28px; line-height: 1.25; margin: 4px 0 12px; }
.single-story>a, .about a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.about h1 { margin-bottom: 25px; }
.about p { color: #4e5148; max-width: 660px; font-size: 16px; }
.archive-note { padding: 14px 18px; margin-bottom: 25px; background: var(--panel); border-left: 3px solid var(--accent); font-size: 13px; }
.archive-note a { color: var(--accent); text-decoration: underline; }
.archive-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; background: var(--panel); padding: 20px; margin: 25px 0; }
.archive-picker label { font-size: 13px; }
.archive-picker input, .archive-picker button { background: var(--paper); color: var(--ink); border: 1px solid #8c877a; padding: 10px 12px; font: inherit; max-width: 100%; }
.archive-picker button { background: var(--ink); color: var(--paper); cursor: pointer; }
.archive-picker button:hover { background: var(--accent); }
.archive-picker p { width: 100%; margin: 0; }
.archive-list { list-style: none; padding: 0; }
.archive-list li { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding: 15px 0; }
.archive-list li a:last-child { color: var(--muted); font: 11px Mono, monospace; }
.publisher { color: var(--muted); font-size: 13px; line-height: 1.4; }
@media (max-width: 1000px) {
  .tagline { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; }
}
@media (max-width: 760px) {
  .masthead, main, footer { padding-inline: 12px; }
  .masthead-top { gap: 8px; padding-block: 10px; }
  .wordmark { font-size: clamp(23px, 6.5vw, 30px); gap: 7px; }
  .wordmark::before { width: 25px; height: 28px; }
  .subscribe { padding: 5px 6px; font-size: 12px; }
  .masthead nav { display: grid; grid-template-columns: .8fr 1.1fr 1.3fr .9fr 1fr; border-block-width: 1px; }
  .masthead nav a { justify-content: center; text-align: center; white-space: normal; padding: 7px 4px; font-size: 12px; line-height: 1.25; min-height: 44px; }
  .masthead nav a::before { display: none; }
  .edition { margin: 10px 0; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
  .edition h1 { font-size: 16px; letter-spacing: -.02em; }
  .edition>p { margin: 0; text-align: left; font-size: 11px; }
  .layout { display: block; }
  .news-list { border-top-width: 1px; }
  aside { margin-top: 24px; }
  h2 { font-size: 16px; line-height: 1.3; letter-spacing: 0; }
  .story { padding-block: 9px; }
  .story-meta { gap: 4px 7px; }
  .story-meta>a { font-size: 11px; }
  .story-meta time { font-size: 11px; }
  .single-story { margin-top: 14px; }
  .single-story h1 { font-size: 23px; }
  .archive-picker { display: block; }
  .archive-picker label { display: block; margin-bottom: 10px; }
  .archive-picker button { display: block; margin-top: 12px; }
  footer { gap: 16px; }
  footer>span { width: 100%; order: 4; }
}
@media (max-width: 380px) {
  .subscribe { font-size: 11px; }
}

.layout { grid-template-columns: minmax(0, 1fr) 340px; }
.board-nav { display: flex; gap: 22px; padding: 9px 0; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--line); }
.board-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.aside-list h2 { margin: 0; border-top: 3px solid var(--ink); padding: 12px 0; font-size: 1.125rem; }
.events-list, .newest-list { margin: 0; padding: 0; list-style: none; }
.events-list li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; border-bottom: 1px solid var(--line); padding: 11px 0; font-size: 13px; line-height: 1.4; }
.event-date { color: var(--accent); font-size: 12px; }
.event-date time { display: inline-block; }
.events-list a { font-weight: 700; }
.event-location { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.newest-list li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.newest-list .publisher { display: block; font-size: 11px; margin-bottom: 5px; }
.newest-list li>a { display: block; font-size: 14px; font-weight: 700; line-height: 1.4; }
.update-time { color: var(--muted); font-size: .75rem; margin-top: 6px; }
.rail-more { font-weight: 700; }
.rail-page { max-width: 900px; min-height: 60vh; }
.rail-page .edition { margin-top: 24px; }
.rail-page .events-list li { grid-template-columns: 120px minmax(0, 1fr); font-size: 16px; padding: 16px 0; }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; } }
@media (max-width: 760px) { .layout { display: block; } .board-nav { gap: 20px; } .rail-page .events-list li { grid-template-columns: 78px minmax(0, 1fr); font-size: 14px; } }

@font-face { font-family: NewsSerif; src: url('/fonts/source-serif-4-latin-wght400-600.woff2') format('woff2'); font-weight: 400 600; font-display: optional; }
.story { padding-block: 14px; }
.story-meta { justify-content: space-between; gap: 4px 14px; margin-bottom: 6px; }
.story-meta .publisher { font: 500 .8125rem/1.4 Archivo, system-ui, sans-serif; }
.story-games { color: var(--game); font: 11px/1.4 Archivo, system-ui, sans-serif; }
.story-games a:hover { text-decoration: underline; }
.story-text { font: 400 1rem/1.5 NewsSerif, Georgia, serif; }
.story-text h2, .single-story .story-text h1 { display: inline; margin: 0; font: 600 1.25rem/1.3 NewsSerif, Georgia, serif; letter-spacing: normal; }
.story-text .summary { margin: 0; color: var(--ink); font: inherit; }
.related { margin-top: 7px; color: var(--ink); font: 400 .875rem/1.45 NewsSerif, Georgia, serif; }
.related strong { color: var(--accent); font: 600 .875rem/1.45 NewsSerif, Georgia, serif; }
.related a { text-decoration: none; }
.related a:hover { text-decoration: underline; }
.story-date { margin-top: 12px; color: var(--muted); font-size: 12px; }
.newest-list .publisher { font: 400 .75rem/1.4 Archivo, system-ui, sans-serif; }
.newest-list li>a { font: 500 1rem/1.4 NewsSerif, Georgia, serif; }
@media (max-width: 760px) {
  .story { padding-block: 12px; }
  .story-text h2, .single-story .story-text h1 { font-size: 1.125rem; }
}

.newest-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 10px; margin-bottom: 5px; }
.newest-meta .publisher { margin: 0; }
.game-tag { display: inline-block; flex-shrink: 0; padding: 2px 6px; border-radius: 3px; color: var(--muted); background: var(--panel); font: 600 .6875rem/1.4 Archivo, system-ui, sans-serif; }
.game-tag[data-game='pokemon'] { color: var(--pokemon); background: var(--pokemon-tint); }
.game-tag[data-game='magic-the-gathering'] { color: var(--magic); background: var(--magic-tint); }
.game-tag[data-game='riftbound'] { color: var(--riftbound); background: var(--riftbound-tint); }

.masthead nav a[href='/yu-gi-oh/']::before { background: #b48bcf; }
.story:has(.story-games>a[href='/yu-gi-oh/']) { --game: var(--yugioh); --game-tint: var(--yugioh-tint); }
.game-tag[data-game='yugioh'] { color: var(--yugioh); background: var(--yugioh-tint); }
