/* atomiswave.info: the 2004 AW-NET look (sky gradients, glossy split-tone tabs, dotted blue
   section bars) on a responsive grid. Orange, from the Atomiswave logo, is the accent. */
:root {
  color-scheme: light;
  --sky-0: #f4f9fe; --sky-1: #e3f0fb; --sky-2: #c4def4; --sky-3: #8fbfe6; --sky-4: #4f93cf;
  --royal: #1c5cb0; --navy: #0c2a55; --ink: #122746; --muted: #4c6688; --line: #b9d2ea;
  --orange: #ee6a1c; --orange-2: #ffa45a; --orange-3: #c4520e;
  --paper: #ffffff;
  --display: "Exo 2", "Arial Black", Arial, sans-serif;
  --body: "M PLUS 1p", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  --r-sm: 6px; --r: 10px; --r-lg: 14px;
}
* { box-sizing: border-box }
html { background: var(--sky-1) }
body { margin: 0; background: var(--sky-1); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.7 }
img { max-width: 100%; height: auto; display: block }
a { color: var(--royal) }
a:hover { color: var(--orange-3) }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px }
h1, h2, h3 { font-family: var(--display); font-style: italic; line-height: 1.15; text-wrap: balance; color: var(--navy); margin: 0 }
p { margin: 0 }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.site { max-width: 1120px; margin: 0 auto; background: var(--sky-0); min-height: 100vh; box-shadow: 0 0 0 1px rgba(12,42,85,.08), 0 0 40px -10px rgba(12,42,85,.25) }

/* ---- masthead ---- */
.mast { position: relative; overflow: hidden; padding: 18px 22px 0; background: linear-gradient(180deg, #fff 0%, #e4f1fb 38%, #a9d0ef 100%) }
.mast::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-58deg, transparent 0 46px, rgba(255,255,255,.55) 46px 54px, transparent 54px 120px) }
.mast::after { content: ""; position: absolute; right: -60px; top: -80px; width: 420px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0)) }
.mast-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.mark { display: grid; gap: 6px; justify-items: start; text-decoration: none }
.awlogo { width: 350px; max-width: 100%; filter: drop-shadow(0 1px 0 #fff) }
.tagline { font-weight: 800; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-left: 2px }
.tagline em { font-family: var(--display); font-weight: 800; color: var(--orange); letter-spacing: .08em; text-transform: uppercase }
.search { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 5px 5px 5px 14px; width: min(100%, 320px);
  box-shadow: inset 0 2px 3px rgba(12,42,85,.18), 0 1px 0 #fff; border: 1px solid #8fb4d8 }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); outline: 0 }
.search input::placeholder { color: #7c90a8 }
.search:focus-within { outline: 3px solid var(--orange); outline-offset: 2px }
.search button { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #fff;
  border: 0; cursor: pointer; padding: 6px 14px; border-radius: 999px; background: linear-gradient(#ffa45a, #ee6a1c 55%, #d4560f); box-shadow: inset 0 1px 0 rgba(255,255,255,.6) }
.tabs { position: relative; z-index: 1; display: flex; gap: 4px; margin-top: 16px; overflow-x: auto; scrollbar-width: none }
.tab { flex: none; padding: 9px 20px 8px; border-radius: 10px 10px 0 0; text-decoration: none; line-height: 1.1;
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: .02em; color: var(--navy);
  background: linear-gradient(#fff, #dfe9f3 50%, #c6d6e7 51%, #e2ebf4); border: 1px solid #93b2d2; border-bottom: 0; box-shadow: inset 0 1px 0 #fff }
.tab:hover { color: var(--navy); background: linear-gradient(#fff, #eaf2f9 50%, #d6e4f1 51%, #eef4fa) }
.tab.on, .tab.on:hover { color: #fff; background: linear-gradient(#ffb36e, #ee6a1c 52%, #d75a12 53%, #f07a2c); border-color: var(--orange-3); text-shadow: 0 1px 0 rgba(0,0,0,.2) }
.rail { height: 6px; background: linear-gradient(var(--orange), var(--orange-3)) }

/* ---- shared pieces ---- */
.page { padding: 20px 22px 32px; display: grid; gap: 24px }
.page > * { min-width: 0 }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: relative; overflow: hidden;
  border-radius: var(--r-sm); padding: 7px 16px; color: #fff;
  background: linear-gradient(180deg, #2a74cc 0%, #1c5cb0 48%, #123f86 52%, #164b9b 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 1px 0 rgba(12,42,85,.25) }
.bar::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.4px) 0 0/6px 6px }
.bar h2 { position: relative; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(0,0,0,.35) }
.bar a { position: relative; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none }
.bar a:hover { text-decoration: underline; color: #fff }
.frame { border-radius: var(--r-lg); padding: 4px; background: linear-gradient(#fff, #b8d2ea); box-shadow: 0 0 0 1px #7fa6cd, 0 6px 14px -6px rgba(12,42,85,.45) }
.frame img { border-radius: 11px; width: 100% }
.panel { border-radius: 12px; background: var(--paper); border: 1px solid var(--line) }
.btns { display: flex; gap: 8px; flex-wrap: wrap }
.btn { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 13px; text-decoration: none; padding: 8px 16px; border-radius: 999px; color: #fff;
  background: linear-gradient(#5aa0e6, #1c5cb0 52%, #164b9b 53%, #2a6fc4); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 2px rgba(12,42,85,.4) }
.btn:hover { color: #fff; filter: brightness(1.08) }
.btn.alt { color: var(--navy); background: linear-gradient(#fff, #e6edf4 52%, #d3dfeb 53%, #eef3f8); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #9cb8d6 }
.badge { justify-self: start; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 10px; letter-spacing: .06em; color: #fff;
  padding: 1px 8px; border-radius: 999px; background: linear-gradient(#ffa45a, #ee6a1c) }
.muted { color: var(--muted) }
.small { font-size: 13px }
.foot { background: var(--navy); color: #b9cde6; padding: 14px 22px; font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between }
.foot a { color: #fff; text-decoration: none }
.foot a:hover { text-decoration: underline; color: #fff }

/* ---- home ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start }
.banner { display: grid; gap: 8px }
.banner .frame img { aspect-ratio: 500 / 372; object-fit: cover }
.chips { display: flex; gap: 4px; flex-wrap: wrap }
.chip { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 4px; text-decoration: none; background: linear-gradient(#fff, #dbe6f1); border: 1px solid #9cb8d6; color: var(--navy) }
.chip.on { background: linear-gradient(#2a74cc, #164b9b); border-color: #123f86; color: #fff }
.chip:hover { border-color: var(--orange) }
.intro { padding: 18px; display: grid; gap: 12px; box-shadow: inset 0 3px 0 var(--orange) }
.intro h1 { font-size: 24px; font-weight: 800 }
.intro p { font-size: 15px; color: var(--muted) }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.fact { border-radius: 8px; background: var(--sky-1); padding: 8px; text-align: center; display: grid; gap: 2px }
.fact b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; color: var(--royal); font-variant-numeric: tabular-nums; line-height: 1 }
.fact small { font-size: 11.5px; color: var(--muted); line-height: 1.3 }
.games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px }
.game { border-radius: 12px; overflow: hidden; background: var(--paper); text-decoration: none; color: inherit; display: grid; grid-template-rows: auto 1fr;
  box-shadow: 0 0 0 1px #9cb8d6, 0 4px 10px -6px rgba(12,42,85,.5); transition: transform .15s ease, box-shadow .15s ease }
.game:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 0 0 2px var(--orange), 0 8px 16px -8px rgba(12,42,85,.6) }
.game img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; background: #fff }
.game .cap { padding: 8px 10px 10px; display: grid; gap: 4px; align-content: start; background: linear-gradient(#fff, #eef5fb) }
.game .cap b { font-size: 14px; line-height: 1.3; color: var(--navy) }
.game .cap small { font-size: 12px; color: var(--muted) }
.shelf-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px }
.mini { border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line); text-decoration: none }
.mini:hover { box-shadow: 0 0 0 2px var(--orange) }
.mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff }
.mini span { display: block; padding: 5px 8px; font-size: 12.5px; font-weight: 700; color: var(--navy); line-height: 1.3 }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px }
.stack { display: grid; gap: 12px; align-content: start }
.lib { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
.shelf { border-radius: 12px; padding: 12px 14px; background: linear-gradient(#fff, #e8f2fb); border: 1px solid var(--line); display: grid; gap: 2px; text-decoration: none; color: inherit }
.shelf:hover { color: inherit; border-color: var(--orange) }
.shelf b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; color: var(--royal); line-height: 1; font-variant-numeric: tabular-nums }
.shelf span { font-weight: 800; font-size: 14px; color: var(--navy) }
.shelf small { font-size: 12.5px; color: var(--muted) }
.news { padding: 10px; display: grid; gap: 10px }
.news-item { display: grid; gap: 4px }
.news-item h3 { font-family: var(--body); font-style: normal; font-size: 14px; font-weight: 700; color: #fff; padding: 4px 10px; border-radius: 4px;
  background: linear-gradient(90deg, #1c5cb0, #4f93cf); box-shadow: inset 3px 0 0 var(--orange) }
.news-item h3 a { color: #fff; text-decoration: none }
.news-item h3 a:hover { text-decoration: underline }
.news-item p { font-size: 13.5px; color: var(--muted); padding: 0 10px }

/* ---- game page ---- */
.crumbs { font-size: 13px; color: var(--muted) }
.crumbs a { text-decoration: none }
.ghero { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start }
.ghead { display: grid; gap: 14px }
.ghead h1 { font-size: clamp(30px, 4.5vw, 42px); font-weight: 900 }
.ghead .lede { font-size: 17px; max-width: 60ch }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; margin: 0; border-radius: 10px; overflow: hidden; background: var(--line); border: 1px solid var(--line) }
.spec div { background: linear-gradient(#fff, #eef5fb); padding: 8px 12px; display: grid }
.spec dt { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.spec dd { margin: 0; font-weight: 700; font-size: 14px; color: var(--navy) }
.ltabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 3px solid var(--royal); background: var(--sky-0); padding-top: 6px }
.ltab { flex: none; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 8px 8px 0 0; color: var(--navy); text-decoration: none;
  background: linear-gradient(#fff, #dde8f3); border: 1px solid #a6c0dc; border-bottom: 0 }
.ltab:hover { color: #fff; background: linear-gradient(#4f93cf, #1c5cb0); border-color: #164b9b }
.ltab i { font-style: normal; font-weight: 500; opacity: .75; font-size: 12px; margin-left: 4px }
section[id] { scroll-margin-top: 56px }
.gbody { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start }
.prose { display: grid; gap: 14px }
.prose h2 { font-size: 22px; font-weight: 800; margin-top: 8px }
.prose h3 { font-size: 18px; font-weight: 800 }
.prose p, .prose ul { max-width: 66ch; margin: 0 }
.side { display: grid; gap: 12px; align-content: start }
.box { border-radius: 12px; background: var(--paper); border: 1px solid var(--line); overflow: hidden }
.box h2 { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; background: linear-gradient(#fff, #dbe7f3); border-bottom: 1px solid var(--line) }
.box .in { padding: 10px 12px; display: grid; gap: 6px; font-size: 14px }
.row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline }
.row b { font-variant-numeric: tabular-nums; color: var(--royal) }
.section { display: grid; gap: 14px }
.course { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 66ch }
.course div { border-radius: 10px; padding: 10px 14px; color: #fff; display: grid; gap: 2px }
.course .holy { background: linear-gradient(135deg, #4f93cf, #1c5cb0) }
.course .bounty { background: linear-gradient(135deg, #ffa45a, #c4520e) }
.course b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 18px }
.course small { font-size: 13px; opacity: .92 }
.cards-figure { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 20px; align-items: start }
.figure-cap { font-size: 13px; color: var(--muted); margin-top: 6px }

/* shop: one row per fighter, 13 numbered EX colours */
.prices { display: flex; gap: 10px; flex-wrap: wrap }
.price { border-radius: 10px; padding: 8px 14px; background: linear-gradient(#fff, #e8f2fb); border: 1px solid var(--line); display: grid }
.price b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 20px; color: var(--orange-3); font-variant-numeric: tabular-nums; line-height: 1.1 }
.price span { font-size: 13px; font-weight: 700; color: var(--navy) }
.scroll { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--paper) }
.grid-table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums }
.grid-table th, .grid-table td { padding: 5px 8px; border-top: 1px solid var(--sky-2); text-align: center; white-space: nowrap }
.grid-table thead th { position: sticky; top: 0; background: var(--sky-1); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 12px; color: var(--navy); border-top: 0 }
.grid-table th[scope=row] { text-align: left; font-weight: 700; color: var(--navy) }
.grid-table tbody tr:hover { background: #f6fbff }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; background: radial-gradient(circle at 35% 30%, #ffd2a8, var(--orange) 60%, var(--orange-3)) }
.tick { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; background: linear-gradient(#5aa0e6, #1c5cb0) }
.gap { color: #b9c9db }

/* rankings: boards by capture date */
.rank-table td a { display: inline-block; min-width: 28px; padding: 1px 6px; border-radius: 4px; text-decoration: none; font-weight: 700; color: #fff; background: linear-gradient(#4f93cf, #1c5cb0) }
.rank-table td a:hover { background: linear-gradient(#ffa45a, #ee6a1c); color: #fff }
.rank-table thead tr:first-child th { border-bottom: 1px solid var(--sky-2) }
.rank-table th.total { text-align: right }

/* magazines and gallery */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px }
.thumb { display: grid; gap: 6px; align-content: start; text-decoration: none; color: inherit }
.thumb img { border-radius: 8px; box-shadow: 0 0 0 1px var(--line), 0 4px 10px -6px rgba(12,42,85,.5); background: #fff; aspect-ratio: 3 / 4; object-fit: cover; object-position: top }
.thumb:hover img { box-shadow: 0 0 0 2px var(--orange) }
.thumb b { font-size: 13px; line-height: 1.35; color: var(--navy) }
.thumb small { font-size: 12px; color: var(--muted) }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px }
.gallery figure { margin: 0 }
.gallery img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line); background: #fff }
.links { margin: 0; padding-left: 20px; display: grid; gap: 4px }

@media (max-width: 900px) {
  .hero, .two, .gbody { grid-template-columns: minmax(0, 1fr) }
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .ghero { grid-template-columns: minmax(0, 1fr) }
  .ghero .frame { max-width: 360px }
}
@media (max-width: 560px) {
  .mast, .page { padding-left: 16px; padding-right: 16px }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .lib { grid-template-columns: minmax(0, 1fr) }
  .cards-figure { grid-template-columns: minmax(0, 1fr) }
  .search { width: 100% }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important } }

/* ---- articles ---- */
.article { display: grid; gap: 28px; align-items: start }
.article.with-menu { grid-template-columns: 220px minmax(0, 1fr) }
.article .prose { max-width: 72ch }
.article .prose h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 900 }
.article .prose .lede { font-size: 18px; color: var(--muted) }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 4px }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden }
.prose th, .prose td { text-align: left; padding: 7px 10px; border-top: 1px solid var(--sky-2); vertical-align: top }
.prose thead th { background: var(--sky-1); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 13px; color: var(--navy); border-top: 0 }
.prose blockquote { margin: 0; padding: 10px 16px; border-left: 4px solid var(--orange); background: var(--paper); border-radius: 0 }
.prose code { font-size: .92em; background: var(--sky-1); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere }
.prose figure { margin: 0 }
.prose .table-wrap { overflow-x: auto }
.side-menu { position: sticky; top: 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); overflow: hidden }
.side-menu h2 { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; color: #fff;
  background: linear-gradient(180deg, #2a74cc 0%, #1c5cb0 48%, #123f86 52%, #164b9b 100%) }
.side-menu ul { list-style: none; margin: 0; padding: 6px 0 }
.side-menu a { display: block; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; border-left: 3px solid transparent }
.side-menu a:hover { background: var(--sky-1) }
.side-menu a[aria-current] { border-left-color: var(--orange); background: var(--sky-1); color: var(--orange-3) }
.callout { border-radius: 12px; background: var(--paper); border: 1px solid var(--line); padding: 12px 16px; box-shadow: inset 4px 0 0 var(--orange) }
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px }
.tile { border-radius: 12px; background: linear-gradient(#fff, #eef5fb); border: 1px solid var(--line); padding: 14px 16px; display: grid; gap: 4px; align-content: start; text-decoration: none; color: inherit }
.tile:hover { border-color: var(--orange); color: inherit }
.tile b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 17px; color: var(--navy) }
.tile span { font-size: 14px; color: var(--muted) }
.tile .count { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 24px; color: var(--royal); line-height: 1 }
@media (max-width: 900px) { .article.with-menu { grid-template-columns: minmax(0, 1fr) } .side-menu { position: static } }

/* ---- source items ---- */
.item-head { display: grid; gap: 8px }
.item-head h1 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 900 }
.item-figure img { width: auto; max-height: 80vh; margin: 0 auto }
.reading { border-radius: 12px; background: var(--paper); border: 1px solid var(--line); padding: 14px 18px; display: grid; gap: 8px; font-size: 15px; max-width: 72ch; overflow-wrap: anywhere }
.reading table { font-size: 13px }
.japanese { border-radius: 12px; background: var(--paper); border: 1px solid var(--line); padding: 10px 16px; max-width: 72ch }
.japanese summary { cursor: pointer; font-weight: 700; color: var(--royal) }
.japanese div { display: grid; gap: 6px; margin-top: 10px; font-size: 14px; overflow-wrap: anywhere }
.facts-list { margin: 0; display: grid; gap: 2px }
.facts-list dt { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px }
.facts-list dd { margin: 0; overflow-wrap: anywhere }
.hash { font-size: 11px }
.article .prose.wide { max-width: none }
.thumbs.wide { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) }
.thumbs.wide .thumb img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff }
.dated { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper) }
.dated li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 7px 14px; border-top: 1px solid var(--sky-2); font-size: 14px }
.dated li:first-child { border-top: 0 }
.dated .when { color: var(--muted); font-variant-numeric: tabular-nums }
@media (max-width: 560px) { .dated li { grid-template-columns: minmax(0, 1fr); gap: 0 } }
.issues { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px }
.issues a { display: grid; gap: 3px; text-decoration: none; color: inherit }
.issues img { border-radius: 8px; box-shadow: 0 0 0 1px var(--line), 0 4px 10px -6px rgba(12,42,85,.5); aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: #fff }
.issues a:hover img { box-shadow: 0 0 0 2px var(--orange) }
.issues b { font-family: var(--display); font-style: italic; font-weight: 800; color: var(--navy) }
.issues small { font-size: 12.5px; line-height: 1.35 }
.pages-list { display: grid; gap: 16px }
.leaf { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--sky-2) }
.leaf img { border-radius: 8px; box-shadow: 0 0 0 1px var(--line) }
.leaf h2 { font-size: 19px; font-weight: 800; margin: 0 0 2px }
.leaf h2 a { text-decoration: none; color: var(--navy) }
.leaf h2 a:hover { color: var(--orange-3) }
.pager { display: flex; justify-content: space-between; gap: 12px; font-weight: 700 }
.research { display: grid; gap: 12px; overflow-wrap: anywhere }
.research h2 { font-size: 22px; margin-top: 12px }
.research h3 { font-size: 18px }
.research table { display: block; overflow-x: auto }
@media (max-width: 560px) { .leaf { grid-template-columns: 90px minmax(0, 1fr); gap: 12px } }
.game-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px }
.game-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit }
.game-row:hover { border-color: var(--orange); color: inherit }
.game-row img { width: 112px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; border-radius: 8px; background: #fff }
.game-row > span { display: grid; gap: 2px }
.game-row b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 16px; color: var(--navy); line-height: 1.2 }
.game-row small { font-size: 12.5px; color: var(--muted) }
.small-heading { font-size: 17px; font-weight: 800; margin-top: 4px }
.dot.gold { background: radial-gradient(circle at 35% 30%, #fff3c2, #e9b21c 60%, #a87708) }
.title-list { display: flex; flex-wrap: wrap; gap: 6px }
.title-list > span { border-radius: 8px; background: var(--paper); border: 1px solid var(--line); padding: 3px 10px; font-size: 13px }
.title-list i { font-style: normal; color: var(--orange-3); font-weight: 700; margin-left: 4px }
.messages { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; align-items: start }
.messages details, details.more { border-radius: 10px; background: var(--paper); border: 1px solid var(--line); padding: 6px 12px }
.messages summary, details.more summary { cursor: pointer; font-weight: 700; color: var(--navy) }
.messages ul { list-style: none; padding: 0; margin: 8px 0 4px; display: grid; gap: 8px; font-size: 13.5px }
.control { display: inline-block; font-size: 11px; font-weight: 800; color: #fff; background: var(--royal); border-radius: 4px; padding: 0 5px }
details.more { margin-top: 8px }
details.more .dated { margin-top: 8px }

/* ---- timeline ---- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 3px solid var(--sky-3); display: grid; gap: 14px; max-width: 860px }
.timeline .year span { display: inline-block; margin-left: -34px; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; color: #fff;
  padding: 2px 14px; border-radius: 999px; background: linear-gradient(#ffa45a, #ee6a1c 55%, #d4560f) }
.timeline .event { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px }
.timeline .event::before { content: ""; position: absolute; left: -26px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--royal) }
.timeline .event.big::before { background: var(--orange); border-color: var(--orange-3) }
.timeline .when { font-weight: 700; color: var(--muted); font-size: 14px; padding-top: 2px }
.timeline h2 { font-size: 18px; font-weight: 800 }
.timeline h2 a { color: var(--navy); text-decoration: none }
.timeline h2 a:hover { color: var(--orange-3) }
.timeline p { color: var(--ink); font-size: 15px }
@media (max-width: 560px) { .timeline .event { grid-template-columns: minmax(0, 1fr); gap: 2px } }
.search.big { width: 100%; max-width: 640px; padding: 7px 7px 7px 18px }
.search.big input { font-size: 16px }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 760px }
.results a { font-weight: 700; font-size: 16px }
.results p { margin-top: 2px; color: var(--muted) }
