:root {
  color-scheme: dark;
  --paper: #f2ead7;
  --gold: #e6c88b;
  --line: #aa8e556e;
  --muted: #cec6b0;
  --panel: #202d28;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--paper);
  background: #172823 url("swords.jpg") center top / 1024px auto;
  font: 16px/1.85 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:is(a, summary, .image-preview button):focus-visible { outline: 2px solid #fff0bc; outline-offset: 4px; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: #141b19;
}
.site-header-inner {
  width: min(1180px, 100% - 56px);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-brand { display: inline-flex; align-items: center; flex: none; }
.site-brand img { width: 148px; height: 63px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 700; }
.site-header nav a { text-decoration: none; white-space: nowrap; }
.site-header nav a:hover { color: var(--gold); }
.nav-play { padding: 5px 13px; border: 1px solid var(--line); color: var(--gold); }
.nav-play span { margin-left: 5px; }
.page {
  width: min(1180px, 100% - 56px);
  margin: 18px auto 40px;
  background: #202c28;
  border: 1px solid #9d8354;
  box-shadow: 0 15px 52px #0a110db3;
}
.skip-link { position: absolute; z-index: 3; top: 10px; left: 10px; padding: 7px 14px; color: #201d14; background: var(--gold); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.banner {
  position: relative;
  isolation: isolate;
  min-height: 314px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #ad9155;
  background:
    linear-gradient(90deg, #101e1ad9 0%, #131b1470 52%, #1c170f26),
    url("../assets/backgrounds/arena_sunset.webp") center 48% / cover;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 2;
  border: 1px solid #e6c88b78;
  pointer-events: none;
}
.banner-title {
  z-index: 1;
  width: 57%;
  padding: 12px 25px 26px;
  text-align: center;
}
.banner h1 img { width: min(400px, 100%); margin: -4px auto -10px; filter: drop-shadow(0 4px 10px #100d08); }
.banner-title p {
  color: #ffeabc;
  font: 700 clamp(17px, 2.5vw, 27px)/1.4 var(--serif);
  letter-spacing: .12em;
  text-shadow: 0 2px 7px #100d08;
}
.navi {
  position: absolute;
  top: -4%;
  right: 2%;
  width: 47%;
  max-width: 485px;
  filter: drop-shadow(0 6px 18px #10100e90);
}

.launch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 26px;
  padding: 24px clamp(24px, 6vw, 83px);
  background: linear-gradient(180deg, #354036, #26342b);
  border-bottom: 1px solid var(--line);
}
.launch-copy > p:first-child { font-weight: 700; letter-spacing: .025em; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 14px; }
.launch .actions { margin-top: 0; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 17px;
  border: 1px solid #ba9c5e;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.button small { display: block; font-size: 11px; font-weight: 500; line-height: 1.55; }
.button-arrow { flex: none; font-size: 22px; line-height: 1; }
.primary { color: #201a12; background: linear-gradient(#f2dcad, #d5ac65); box-shadow: inset 0 0 0 2px #5843223b, 0 3px 7px #131c16a6; }
.primary:hover { background: #ffe5ab; }
.secondary { color: #f2e0b6; background: #202d24; }
.secondary:hover { background: #354236; }
.availability { margin-top: 9px; font-size: 12px; color: #ded5c0; }

.section {
  max-width: 1050px;
  margin-inline: auto;
  padding: 47px clamp(20px, 5vw, 58px) 44px;
}
.section + .section { border-top: 1px solid var(--line); }
.section-title {
  margin: 0 auto 14px;
  color: #f6dfab;
  font: 700 clamp(23px, 3.2vw, 36px)/1.4 var(--serif);
  text-align: center;
  text-wrap: balance;
}
.section-title::after {
  content: "";
  display: block;
  width: min(280px, 72%);
  height: 1px;
  margin: 13px auto 0;
  background: linear-gradient(90deg, transparent, #d3ad64 45% 55%, transparent);
}
.intro { max-width: 39em; margin: 0 auto 20px; }
.overview-feature {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}
.overview-copy .section-title { margin: 0 0 18px; text-align: left; font-size: clamp(23px, 2.3vw, 31px); text-wrap: wrap; }
.overview-copy .section-title span { white-space: nowrap; }
.overview-copy .section-title::after { width: 86px; margin-inline: 0; background: linear-gradient(90deg, #d3ad64, transparent); }
.overview-copy p + p { margin-top: 12px; color: var(--muted); }
.overview-lead { font-weight: 750; }
.overview-shot .screen { padding: 5px; box-shadow: 0 9px 28px #10171080; }
.life-note {
  margin-top: 27px;
  padding: 13px 0 13px 18px;
  border-left: 2px solid var(--line);
}
.life-note h3, .story-copy h3 { color: var(--gold); font: 700 clamp(18px, 2.2vw, 25px)/1.45 var(--serif); }
.life-note p, .story-copy p { margin-top: 8px; color: var(--muted); }
.screen { display: block; padding: 4px; border: 1px solid var(--line); background: #121c17; }
.screen:hover { border-color: var(--gold); }
.screen img { width: 100%; }
.image-zoom { position: relative; display: block; cursor: zoom-in; }
.image-zoom-label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  color: #ffedc1;
  background: #151e18;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}
.image-preview {
  width: max-content;
  max-width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  color: var(--paper);
  background: #121c17;
  border: 1px solid #ba9c5e;
  border-radius: 5px;
  padding: 0;
  overscroll-behavior: contain;
}
.image-preview::backdrop { background: #080d0ce8; }
html:has(.image-preview[open]) { overflow: hidden; }
.image-preview-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
}
.image-preview-toolbar button {
  min-height: 44px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  color: var(--paper);
  font: 700 14px/1.4 var(--sans);
  cursor: pointer;
}
.image-preview-toolbar button:hover { background: #354236; }
.image-preview-media {
  max-height: calc(100vh - 86px);
  max-height: calc(100dvh - 86px);
  margin-inline: auto;
}
figcaption { margin-top: 6px; color: var(--muted); text-align: center; font-size: 13px; }
.story { margin-top: 29px; }
.story-beat {
  padding: 25px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 30px);
  border-top: 1px solid var(--line);
}
.story-shot {
  padding: 4px;
  border: 1px solid var(--line);
  background: #131d19;
  box-shadow: 0 8px 24px #0b120f61;
  justify-self: center;
  width: 100%;
}
.story-shot img { width: 100%; }
.story-shot-battle { max-width: 390px; }
.awakening .story-shot, .final-clash .story-shot { border-color: #c5a15f; }
.awakening, .final-clash { background: radial-gradient(ellipse at 25% 50%, #8e693d2e, transparent 70%); }
.final-clash h3:lang(ja) span { white-space: nowrap; }
.life-pickup {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  margin-top: 16px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--line);
  background: #171f19;
}
.life-pickup img { width: 54px; border-radius: 3px; }
.life-pickup figcaption { margin: 0; text-align: left; line-height: 1.65; }
.life-pickup strong { color: var(--gold); font-size: 1.15em; }
.awakening-visual { width: min(100%, 370px); justify-self: center; }
.awakening-comparison { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 11px; }
.awakening-comparison > span { color: var(--gold); font-size: 22px; }
.awakening-notice { width: 100%; margin-top: 10px; border-radius: 5px; }
.weapon-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 15px; }
.weapon-comparison img { width: 100%; aspect-ratio: 1.4; object-fit: contain; border: 1px solid var(--line); border-radius: 3px; background: #151c17; }
.weapon-comparison .weapon-select-shot { object-fit: cover; object-position: 50% 26%; }
.weapon-comparison figcaption { font-size: 12px; }
p.image-zoom-hint { margin-top: 6px; color: var(--muted); text-align: center; font-size: 12px; }
.story-link { display: inline-block; margin-top: 12px; color: var(--gold); text-underline-offset: .26em; font-weight: 700; }
.story-link span { margin-left: 4px; }
.deck-shot { max-width: 730px; margin-inline: auto; }
.edition-note { margin: 20px auto 0; text-align: center; font-size: 14px; color: var(--muted); }
.deck-section .actions { margin-top: 19px; }
.platform-section { text-align: center; }
.platform-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 530px;
  margin: 16px auto;
  padding: 0;
  list-style: none;
}
.platform-links > :only-child { grid-column: 1 / -1; justify-self: center; width: min(260px, 100%); }
.platform-link {
  display: grid;
  grid-template-columns: 1em minmax(0, 1fr) 1em;
  align-items: center;
  justify-items: center;
  min-height: 70px;
  padding: 9px 10px;
  color: var(--gold);
  background: #19261f;
  border: 1px solid var(--line);
  border-radius: 3px;
  text-decoration: none;
}
.platform-link:hover, .platform-link:focus-visible { border-color: var(--gold); background: #354236; }
.platform-link img { grid-column: 2; width: auto; max-width: 92%; max-height: 38px; object-fit: contain; }
.platform-link span { grid-column: 3; }
.platform-save { max-width: 45em; margin-inline: auto; color: var(--muted); font-size: 14px; }
.platform-save + .platform-save { margin-top: 6px; }
.platform-save strong { white-space: nowrap; }
.platform-save a { display: inline-block; color: var(--gold); text-underline-offset: .2em; }
.site-news { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; padding-block: 23px; }
.site-news h2 { color: var(--gold); font: 700 20px/1.45 var(--serif); }
.site-news p { font-size: 14px; }
.site-news time { margin-right: .7em; color: var(--muted); font-variant-numeric: tabular-nums; }
.site-news a { text-underline-offset: .2em; }
footer { text-align: center; border-top: 1px solid var(--line); background: #19261f; padding: 19px 20px 23px; font-size: 13px; }
footer p { font-weight: 700; color: var(--gold); margin-bottom: 6px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 19px; }
footer nav a { color: var(--muted); text-underline-offset: .2em; }
footer nav a:hover { color: var(--paper); }
.press-contact { margin-top: 6px; color: var(--muted); }
.press-contact a { color: var(--gold); text-underline-offset: .2em; }

@media (max-width: 680px) {
  .site-header-inner { width: calc(100% - 24px); min-height: 58px; gap: 8px; }
  .site-brand img { width: 105px; height: 52px; }
  .site-header nav { gap: 12px; font-size: 12px; }
  .nav-play { padding: 4px 8px; }
  .page { width: 100%; margin: 0; border-inline: 0; border-top: 0; }
  .banner { min-height: clamp(186px, 44vw, 290px); }
  .banner-title { width: 64%; padding: 12px 4px 14px 12px; }
  .banner h1 img { max-width: 320px; width: 100%; margin-block: -6px -7px; }
  .banner-title p { font-size: clamp(13px, 3.7vw, 21px); letter-spacing: 0; white-space: nowrap; }
  .banner-title p:lang(en) { white-space: normal; }
  .navi { right: -1%; top: 2%; width: 48%; }
  .launch { flex-direction: column; text-align: center; gap: 12px; padding: 19px 13px 16px; font-size: 14px; }
  .launch .actions { width: 100%; }
  .launch .button { text-align: left; }
  .launch .actions.is-stacked {
    display: grid;
    grid-template-columns: minmax(0, 348px);
    gap: 8px;
  }
  .launch .actions.is-stacked .button {
    min-height: 54px;
    padding: 7px 12px;
    font-size: 16px;
    line-height: 1.35;
  }
  .launch .actions.is-stacked .button small {
    margin-top: 2px;
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.4;
  }
  .actions { gap: 7px; }
  .button { min-height: 46px; padding-inline: 10px; gap: 6px; font-size: 12px; }
  .section { padding-top: 31px; padding-bottom: 33px; font-size: 14px; }
  .overview-feature { grid-template-columns: 1fr; gap: 16px; }
  .life-note { margin-top: 20px; }
  .story { margin-top: 21px; }
  .story-beat { grid-template-columns: 1fr; gap: 13px; padding-block: 18px; }
  .story-copy { grid-row: 1; }
  .garda .story-copy { display: contents; }
  .garda-copy { grid-row: 1; }
  .garda .life-pickup { grid-row: 3; margin-top: 0; }
}
@media (max-width: 470px) {
  .site-header .nav-overview { display: none; }
  .platform-links { grid-template-columns: 1fr; }
  .platform-link { min-height: 56px; }
}
@media (max-width: 345px) {
  .site-header nav { gap: 8px; font-size: 11px; }
  .site-brand img { width: 80px; }
}
