:root {
  color-scheme: light;
  --paper: #f2efe5;
  --ink: #253943;
  --ink-dark: #172b35;
  --jade: #35635f;
  --rule: #bdbbab;
  --gold: #cbad73;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", "PMingLiU", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(103,142,124,.25); }
a:focus-visible { outline: 3px solid #087f78; outline-offset: 4px; }
.wrap { width: min(100% - 84px, 1152px); margin-inline: auto; }
.masthead { min-height: 90px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 24px/1.1 var(--serif); letter-spacing: .07em; }
.seal { display: grid; place-items: center; width: 29px; height: 32px; color: #eadcc0; background: #785043; border: 1px solid #624438; box-shadow: inset 0 0 0 2px #b28a72, inset 0 0 0 3px #6a4339; }
.seal i { position: relative; width: 12px; height: 12px; border: 1.5px solid; transform: rotate(45deg); }
.seal i::before { content:""; position:absolute; inset: 2px; border: 1px solid; }
.nav-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; font-size: 14px; color: #43585a; }
.nav-link span { color: var(--jade); font: 18px/1 Georgia,serif; }
.nav-link:hover, .release-link:hover { color: #1a6b65; }
main { margin: 29px 0 58px; }
.feature { isolation: isolate; position: relative; display: grid; align-items: center; min-height: clamp(395px,39vw,491px); overflow: hidden; color: #f2eddb; background: #1b2d3b; border: 1px solid #29414b; }
.feature::after { content:""; position:absolute; z-index: 3; inset: 10px; border: 1px solid rgb(226 209 169 / 32%); pointer-events: none; }
.art { z-index: -1; position: absolute; inset: 0 0 0 29%; overflow: hidden; }
.art::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg,#1b2d3b 0%,rgb(27 45 59 / 76%) 12%,rgb(27 45 59 / 8%) 44%,transparent 65%); }
.harbor { width:100%; height:100%; display:block; object-fit:cover; object-position: 51% 79%; }
.heroine { position: absolute; z-index:1; bottom: 9%; left: 49%; width: clamp(153px,18vw,222px); height: auto; transform: translateX(-33%); }
.ground-shadow { position:absolute; z-index:1; bottom:8.6%; left:48%; width:clamp(50px,7vw,87px); height:8px; border-radius:50%; background:rgb(32 36 51 / 46%); filter:blur(2px); }
.feature-copy { position:relative; z-index:2; width:51%; padding: 48px 12px 49px clamp(35px,4.5vw,68px); }
.edition { display:flex; align-items:center; gap:10px; margin:0 0 20px; color:#eddbac; font-size:13px; font-weight:600; letter-spacing:.08em; }
.edition span { display:inline-block; width:17px; height:2px; background:var(--gold); }
.edition b { color:#9c947a; font-weight:400; }
h1,h2,h3,p { margin:0; }
h1 { color:#f9f2df; font:700 clamp(47px,5.5vw,82px)/1.12 var(--serif); letter-spacing:.065em; }
.intro { margin:22px 0 29px; color:#d6ddd6; font-size:16px; line-height:1.75; letter-spacing:.025em; }
.play { display:inline-flex; background:#ecdfbd; color:#243d3e; min-height:49px; min-width:143px; padding:0 19px; align-items:center; justify-content:space-between; gap:27px; font-size:15px; font-weight:700; letter-spacing:.055em; border:1px solid #f3e9d1; }
.play:hover { background:#fff2cd; }
.play:focus-visible { outline-color:#fbdf8b; }
.right-arrow { display:inline-block; position:relative; width:19px; height:1.5px; background:currentColor; }
.right-arrow::after { content:""; position:absolute; right:1px; top:50%; width:7px; height:7px; border:solid currentColor; border-width:1.5px 1.5px 0 0; transform:translateY(-50%) rotate(45deg); }
.directory { margin-top:45px; scroll-margin-top:18px; }
.section-heading { display:flex; align-items:center; gap:21px; margin-bottom:15px; }
.section-heading h2 { font:700 26px/1.35 var(--serif); letter-spacing:.07em; }
.section-heading span { height:1px; flex:1; background:var(--rule); }
.release-list { margin:0; padding:0; list-style:none; }
.release { display:grid; grid-template-columns:52px 1fr minmax(120px,.35fr) auto; align-items:center; column-gap:18px; min-height:86px; border-bottom:1px solid #cfccbb; padding:10px 2px 14px; }
.rune-emblem { display:grid; place-items:center; width:52px; height:52px; background:#283942; border:1px solid #6f7973; box-shadow:inset 0 0 0 3px #30454b; }
.rune-emblem i { display:block; width:38px; height:38px; background:url("./art/runes.png") 100% center/500% 100% no-repeat; image-rendering:pixelated; }
.release-name h3 { font:700 20px/1.35 var(--serif); letter-spacing:.035em; }
.release-name p,.version-id { margin-top:3px; font-size:13px; color:#526460; }
.version-id { font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace; letter-spacing:.025em; }
.release-link { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:0 12px; color:var(--jade); font-weight:650; font-size:14px; }
.release-link .right-arrow { width:15px; }
@media (max-width:760px) {
  .wrap { width:calc(100% - 44px); }
  .masthead { min-height:72px; }
  .feature { min-height:385px; }
  .feature-copy { width:54%; padding-left:26px; }
  .art { left:22%; }
  .heroine { left:63%; }
  .ground-shadow { left:62%; }
}
@media (max-width:620px) {
  .wrap { width:calc(100% - 32px); }
  .masthead { min-height:calc(65px + env(safe-area-inset-top,0px)); padding-top:env(safe-area-inset-top,0px); }
  .brand { font-size:21px; gap:9px; }
  .seal { width:25px; height:28px; }
  main { margin:16px 0 max(34px,env(safe-area-inset-bottom,0px)); }
  .feature { display:flex; flex-direction:column; align-items:stretch; min-height:0; }
  .feature::after { inset:7px; border-color:rgb(226 209 169 / 29%); }
  .art { z-index:0; position:relative; inset:auto; width:100%; height:clamp(190px,61vw,315px); }
  .harbor { object-position:51% 84%; }
  .art::after { background:linear-gradient(0deg,#1b2d3b 0%,rgb(27 45 59 / 25%) 12%,transparent 27%); }
  .heroine { width:clamp(111px,37vw,178px); left:51%; bottom:11%; }
  .ground-shadow { width:clamp(40px,11vw,63px); left:52%; bottom:10.6%; height:4px; }
  .feature-copy { width:100%; flex:1; padding:8px 23px 24px; }
  .edition { margin-bottom:10px; gap:9px; font-size:12px; }
  .edition span { width:13px; }
  h1 { font-size:clamp(41px,11.6vw,58px); }
  .intro { margin:13px 0 17px; font-size:14px; line-height:1.65; }
  .play { min-height:46px; min-width:150px; }
  .directory { margin-top:29px; }
  .section-heading { margin-bottom:8px; gap:14px; }
  .section-heading h2 { font-size:23px; }
  .release { grid-template-columns:45px minmax(0,1fr) auto; column-gap:11px; row-gap:1px; min-height:76px; padding:9px 0 12px; }
  .rune-emblem { grid-row:1 / 3; width:45px; height:45px; }
  .rune-emblem i { width:33px; height:33px; }
  .release-name { grid-column:2; }
  .release-name h3 { display:inline; font-size:17px; }
  .release-name p { display:inline; margin-left:6px; font-size:12px; }
  .version-id { grid-column:2; grid-row:2; align-self:start; margin-top:0; font-size:12px; }
  .release-link { grid-column:3; grid-row:1 / 3; padding:0 6px; }
}
@media (max-width:335px) {
  .release-name p { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
}
