/* 血月的工作室 · Blood Moon Studio — colors follow the blood-moon studio mark:
   flat fills, thick ink outlines, hard offset shadows (no gradients, glow or blur). */
:root {
  --bg: #F7F1EE;
  --surface: #FFFFFF;
  --surface-2: #F1E7E4;
  --ink: #2B2350;
  --ink-2: #5B5070;
  --line: #2B2350;
  --shadow: #2B2350;
  --blood: #B3122E;
  --blood-deep: #7A0E1F;
  --blood-bright: #D7263D;
  --on-blood: #FFFFFF;
  --chip: #F6DDE0;
  --chip-ink: #7A0E1F;
  --hero-bg: #B3122E;
  --hero-accent: #FFC9D0;
  /* Tiled crescents and four-point stars, flat fills only. */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%23B3122E' fill-opacity='.1'%3E%3Cpath d='M38 14a16 16 0 1 0 12 26a13 13 0 1 1-12-26z'/%3E%3Cpath d='M128 112a10 10 0 1 0 7.5 16a8 8 0 1 1-7.5-16z'/%3E%3Cpath d='M132 30l2.2 6.8 6.8 2.2-6.8 2.2-2.2 6.8-2.2-6.8-6.8-2.2 6.8-2.2z'/%3E%3Cpath d='M42 128l1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4-4.4-1.6 4.4-1.6z'/%3E%3Ccircle cx='92' cy='80' r='2.5'/%3E%3Ccircle cx='160' cy='164' r='2'/%3E%3Ccircle cx='12' cy='86' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
  --hero-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%23FFFFFF' fill-opacity='.12'%3E%3Cpath d='M38 14a16 16 0 1 0 12 26a13 13 0 1 1-12-26z'/%3E%3Cpath d='M128 112a10 10 0 1 0 7.5 16a8 8 0 1 1-7.5-16z'/%3E%3Cpath d='M132 30l2.2 6.8 6.8 2.2-6.8 2.2-2.2 6.8-2.2-6.8-6.8-2.2 6.8-2.2z'/%3E%3Cpath d='M42 128l1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4-4.4-1.6 4.4-1.6z'/%3E%3Ccircle cx='92' cy='80' r='2.5'/%3E%3Ccircle cx='160' cy='164' r='2'/%3E%3Ccircle cx='12' cy='86' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #140D1C;
    --surface: #1F1529;
    --surface-2: #2A1D37;
    --ink: #F5EEF0;
    --ink-2: #C3B6C8;
    --line: #F5EEF0;
    --shadow: #000000;
    --blood: #D7263D;
    --blood-deep: #8E1226;
    --blood-bright: #F0475C;
    --chip: #3A1622;
    --chip-ink: #FFB3BE;
    --hero-bg: #7A0E1F;
    --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%23F0475C' fill-opacity='.13'%3E%3Cpath d='M38 14a16 16 0 1 0 12 26a13 13 0 1 1-12-26z'/%3E%3Cpath d='M128 112a10 10 0 1 0 7.5 16a8 8 0 1 1-7.5-16z'/%3E%3Cpath d='M132 30l2.2 6.8 6.8 2.2-6.8 2.2-2.2 6.8-2.2-6.8-6.8-2.2 6.8-2.2z'/%3E%3Cpath d='M42 128l1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4-4.4-1.6 4.4-1.6z'/%3E%3Ccircle cx='92' cy='80' r='2.5'/%3E%3Ccircle cx='160' cy='164' r='2'/%3E%3Ccircle cx='12' cy='86' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #140D1C;
  --surface: #1F1529;
  --surface-2: #2A1D37;
  --ink: #F5EEF0;
  --ink-2: #C3B6C8;
  --line: #F5EEF0;
  --shadow: #000000;
  --blood: #D7263D;
  --blood-deep: #8E1226;
  --blood-bright: #F0475C;
  --chip: #3A1622;
  --chip-ink: #FFB3BE;
  --hero-bg: #7A0E1F;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%23F0475C' fill-opacity='.13'%3E%3Cpath d='M38 14a16 16 0 1 0 12 26a13 13 0 1 1-12-26z'/%3E%3Cpath d='M128 112a10 10 0 1 0 7.5 16a8 8 0 1 1-7.5-16z'/%3E%3Cpath d='M132 30l2.2 6.8 6.8 2.2-6.8 2.2-2.2 6.8-2.2-6.8-6.8-2.2 6.8-2.2z'/%3E%3Cpath d='M42 128l1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4-4.4-1.6 4.4-1.6z'/%3E%3Ccircle cx='92' cy='80' r='2.5'/%3E%3Ccircle cx='160' cy='164' r='2'/%3E%3Ccircle cx='12' cy='86' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg) var(--pattern) repeat;
  color: var(--ink);
  font: 16px/1.7 system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blood); text-underline-offset: 3px; }
a:hover { color: var(--blood-bright); }
:focus-visible { outline: 3px solid var(--blood-bright); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 20; padding: 8px 14px; background: var(--surface); border: 2px solid var(--line); border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 10; border-bottom: 2px solid var(--line); background: var(--surface); }
.site-head .wrap { display: flex; align-items: center; gap: 12px 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .02em; margin-right: auto; }
.brand img { width: 36px; height: 36px; }
.brand:hover { color: var(--ink); }
.brand span { line-height: 1.2; }
.brand small { display: block; font-weight: 600; font-size: 12px; color: var(--ink-2); line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 6px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.main-nav a:hover { background: var(--chip); color: var(--chip-ink); }
.main-nav a[aria-current] { background: var(--chip); color: var(--chip-ink); }
.lang { display: flex; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 14px; font-weight: 700; flex: none; }
.lang a, .lang span { padding: 4px 12px; text-decoration: none; color: var(--ink); }
.lang [aria-current] { background: var(--blood); color: var(--on-blood); }

/* ---------- Buttons, chips, badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; min-height: 46px;
  border: 2px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
  font-weight: 800; line-height: 1.3; text-decoration: none; box-shadow: 3px 3px 0 var(--shadow);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow); }
.btn.primary { background: var(--blood); color: var(--on-blood); }
.btn.primary:hover { color: var(--on-blood); background: var(--blood-bright); }
.btn.ghost { box-shadow: none; }
.btn.ghost:hover { box-shadow: 3px 3px 0 var(--shadow); }
.btn.small { min-height: 36px; padding: 5px 14px; font-size: 14px; box-shadow: 2px 2px 0 var(--shadow); }
.btn.static { box-shadow: none; cursor: default; border-style: dashed; color: var(--ink-2); }
.btn.static:hover, .btn.static:active { transform: none; box-shadow: none; }
.btn svg { flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 2px 12px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); font-size: 14px; font-weight: 700; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; border: 2px solid #2B2350; line-height: 1.5; }
.chips li.badge { padding: 0 12px; }
.badge.badge-web { background: #D7263D; color: #FFFFFF; }
.badge.badge-live { background: #2B2350; color: #FFFFFF; }
.badge.badge-dev { background: #FFFFFF; color: #2B2350; border-style: dashed; }

/* ---------- Home hero ---------- */
.hero {
  padding: 64px 0 72px;
  background: var(--hero-bg) var(--hero-pattern) repeat; color: #FFFFFF;
  border-bottom: 2px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 2px 14px; border: 2px solid #FFFFFF; border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: .08em; }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 5.2vw, 58px); line-height: 1.15; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--hero-accent); }
.hero .lead { margin: 0 0 18px; max-width: 36em; font-size: 18px; opacity: .95; }
.hero-genres { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.hero-genres li { padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .55); font-weight: 800; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn { border-color: #2B2350; box-shadow: 4px 4px 0 #2B2350; font-size: 17px; padding: 12px 24px; min-height: 52px; }
.hero .btn.primary { background: #FFFFFF; color: #7A0E1F; }
.hero .btn.primary:hover { background: #FFE6EA; color: #7A0E1F; }
.hero .btn.on-dark { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.hero .btn.on-dark:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }

.shelf { display: grid; grid-template-columns: repeat(2, 132px); gap: 22px; }
.shelf a, .shelf-moon {
  display: grid; place-items: center; width: 132px; height: 132px; border-radius: 30px;
  background: #FFFFFF; border: 2px solid #2B2350; box-shadow: 6px 6px 0 #2B2350;
  transition: transform .12s ease;
}
.shelf img { width: 104px; height: 104px; border-radius: 22px; }
.shelf-moon img { width: 96px; height: 96px; border-radius: 0; }
.shelf-0 { transform: rotate(-5deg); }
.shelf-1 { transform: rotate(4deg) translateY(18px); }
.shelf-2 { transform: rotate(3deg); }
.shelf-moon { transform: rotate(-4deg) translateY(18px); background: #FFF3F5; }
.shelf a:hover { transform: rotate(0) translateY(-4px); }

/* ---------- Sections ---------- */
.section { margin-top: 64px; margin-bottom: 64px; }
.section-head { margin-bottom: 24px; }
.section-head h2 { margin: 0 0 4px; font-size: clamp(24px, 3vw, 32px); }
.section-head p { margin: 0; color: var(--ink-2); font-size: 17px; }
.section-head.row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.section-head.row small { color: var(--ink-2); }

/* ---------- Game cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 2px solid var(--line); border-radius: 24px; box-shadow: 6px 6px 0 var(--shadow);
}
.card-cover { position: relative; display: block; border-bottom: 2px solid var(--line); background: var(--surface-2); }
.card-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.card:hover .card-cover img { transform: scale(1.03); }
.card-cover { overflow: hidden; }
.card-cover .badge { position: absolute; left: 14px; top: 14px; box-shadow: 2px 2px 0 #2B2350; }
.card-body { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 22px; flex: 1; }
.card-title { display: flex; align-items: center; gap: 14px; }
.card-title img { width: 56px; height: 56px; border-radius: 14px; border: 2px solid var(--line); flex: none; }
.card-title h3 { margin: 0; font-size: 22px; }
.card-title h3 a { color: var(--ink); text-decoration: none; }
.card-title h3 a:hover { color: var(--blood); }
.card-title p { margin: 0; color: var(--ink-2); font-weight: 700; font-size: 14px; }
.card-text { margin: 0; }
.card-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 4px; }

/* ---------- Web games ---------- */
.web-box { background: var(--surface); border: 2px solid var(--line); border-radius: 24px; box-shadow: 6px 6px 0 var(--shadow); padding: 28px; }
.web-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.web-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; background: var(--surface-2); }
.web-item img { width: 64px; height: 64px; border-radius: 16px; border: 2px solid var(--line); flex: none; }
.web-item > div { flex: 1; min-width: 0; }
.web-item b { display: block; font-size: 18px; }
.web-item small { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.web-item.soon { border: 2px dashed var(--ink-2); background: transparent; }
.soon-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; border: 2px dashed var(--ink-2); color: var(--ink-2); font-size: 30px; font-weight: 700; flex: none; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
.about-mark { display: grid; place-items: center; width: 200px; height: 200px; border-radius: 40px; background: var(--surface); border: 2px solid var(--line); box-shadow: 6px 6px 0 var(--shadow); }
.about-mark img { width: 150px; height: 150px; }
.about h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); }
.about p { margin: 0 0 12px; max-width: 46em; }
.genres { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.genres li { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; box-shadow: 4px 4px 0 var(--shadow); }
.genres b { font-size: 17px; color: var(--blood); }
.genres span { font-size: 15px; line-height: 1.6; }
.genres a { margin-top: auto; padding-top: 4px; font-weight: 800; font-size: 14px; text-decoration: none; }
.genres a span { font-size: inherit; }

/* ---------- Game page ---------- */
.game-hero { padding: 28px 0 48px; background: var(--surface); border-bottom: 2px solid var(--line); }
.back { display: inline-flex; gap: 6px; margin-bottom: 20px; font-weight: 700; text-decoration: none; color: var(--ink-2); }
.back:hover { color: var(--blood); }
.game-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.game-title { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.game-title img { width: 96px; height: 96px; border-radius: 24px; border: 2px solid var(--line); box-shadow: 4px 4px 0 var(--shadow); flex: none; }
.game-title h1 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); }
.game-title .alt { margin: 2px 0 0; color: var(--ink-2); font-weight: 700; }
.pitch { margin: 0 0 16px; font-size: 20px; font-weight: 800; color: var(--blood); }
.game-info .chips { margin-bottom: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.game-info .actions .btn.primary { font-size: 17px; padding: 12px 26px; min-height: 52px; }
.play-note { margin: 12px 0 0; color: var(--ink-2); font-size: 14px; }
.trailer { margin: 0; }
.video-frame { aspect-ratio: 16 / 9; border: 2px solid var(--line); border-radius: 20px; overflow: hidden; background: #000; box-shadow: 6px 6px 0 var(--shadow); }
.video-frame video { width: 100%; height: 100%; display: block; background: #000; }
.trailer figcaption { margin-top: 10px; color: var(--ink-2); font-size: 14px; font-weight: 700; }

.game-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.copy h2 { margin: 0 0 12px; font-size: 24px; }
.copy h2:not(:first-child) { margin-top: 32px; }
.copy p { margin: 0 0 14px; }
.features { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.features li { padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 2px solid var(--line); }
.features b { color: var(--blood); }
.where { position: sticky; top: 88px; padding: 22px; background: var(--surface); border: 2px solid var(--line); border-radius: 24px; box-shadow: 6px 6px 0 var(--shadow); }
.where h2 { margin: 0 0 8px; font-size: 20px; }
.where ul { list-style: none; margin: 0; padding: 0; }
.where li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 2px dashed var(--surface-2); }
.where li:first-child { border-top: 0; }
.where b { display: block; }
.where small { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.tag { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 13px; font-weight: 700; }

.character { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; margin-top: 28px; padding: 18px; border-radius: 18px; background: var(--surface); border: 2px solid var(--line); }
.character img { width: 140px; height: auto; }
.character h3 { margin: 0 0 6px; font-size: 20px; }
.character p { margin: 0; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 6px 16px 4px; margin: 0 -4px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.shots a { flex: none; width: 200px; scroll-snap-align: start; border: 2px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface-2); box-shadow: 4px 4px 0 var(--shadow); }
.shots img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 860px; }
.gallery a { border: 2px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 6px 6px 0 var(--shadow); }

.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mini { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; box-shadow: 4px 4px 0 var(--shadow); color: var(--ink); text-decoration: none; transition: transform .08s ease, box-shadow .08s ease; }
.mini:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--shadow); }
.mini img { width: 56px; height: 56px; border-radius: 14px; border: 2px solid var(--line); flex: none; }
.mini span:not(.arrow) { flex: 1; min-width: 0; }
.mini b { display: block; font-size: 18px; }
.mini small { display: block; color: var(--ink-2); }
.mini .arrow { font-size: 22px; font-weight: 800; color: var(--blood); }

/* ---------- Footer ---------- */
.site-foot { border-top: 2px solid var(--line); background: var(--surface); padding: 40px 0 44px; font-size: 15px; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; }
.foot-brand img { width: 40px; height: 40px; flex: none; }
.site-foot h2 { margin: 0 0 8px; font-size: 18px; }
.site-foot p { margin: 0 0 6px; color: var(--ink-2); }
.site-foot .mail { font-weight: 800; font-size: 17px; }
.site-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.site-foot .copyright { grid-column: 1 / -1; margin: 8px 0 0; font-size: 14px; }

/* ---------- 404 ---------- */
.nf { max-width: 560px; margin: 12vh auto; padding: 0 16px; text-align: center; }
.nf img { margin: 0 auto 8px; width: 120px; height: 120px; }
.nf h1 { margin: 0; font-size: 64px; color: var(--blood); }
.nf .actions { justify-content: center; margin-top: 24px; }

/* ---------- Lightbox ---------- */
dialog.lightbox { padding: 0; border: 2px solid var(--line); border-radius: 18px; background: var(--surface); max-width: 92vw; max-height: 92vh; overflow: hidden; }
dialog.lightbox::backdrop { background: rgba(20, 13, 28, .82); }
dialog.lightbox img { max-width: 92vw; max-height: calc(92vh - 4px); width: auto; height: auto; }
dialog.lightbox button {
  position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .game-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .game-body { grid-template-columns: minmax(0, 1fr); }
  .where { position: static; }
  .shelf { grid-template-columns: repeat(2, 104px); gap: 16px; }
  .shelf a, .shelf-moon { width: 104px; height: 104px; border-radius: 24px; }
  .shelf img { width: 80px; height: 80px; border-radius: 18px; }
  .shelf-moon img { width: 72px; height: 72px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 112px; }
  .site-head .wrap { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .main-nav { order: 3; width: 100%; margin: 4px -12px 0; padding-bottom: 6px; overflow-x: auto; }
  .main-nav a { padding: 4px 12px; font-size: 14px; }
  .hero { padding: 36px 0 44px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shelf { order: -1; grid-template-columns: repeat(4, minmax(0, 72px)); gap: 12px; }
  .shelf a, .shelf-moon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 4px 4px 0 #2B2350; }
  .shelf img { width: 56px; height: 56px; border-radius: 13px; }
  .shelf-moon img { width: 50px; height: 50px; }
  .shelf-1, .shelf-moon { transform: rotate(4deg); }
  .hero .lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .section { margin-top: 44px; margin-bottom: 44px; }
  .card { border-radius: 20px; box-shadow: 4px 4px 0 var(--shadow); }
  .card-body { padding: 16px 18px 18px; }
  .web-box { padding: 18px; border-radius: 20px; box-shadow: 4px 4px 0 var(--shadow); }
  .web-list { grid-template-columns: minmax(0, 1fr); }
  .web-item { flex-wrap: wrap; }
  .web-item .btn { width: 100%; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .genres { grid-template-columns: minmax(0, 1fr); }
  .hero-genres li { font-size: 14px; padding: 3px 12px; }
  .about-mark { width: 120px; height: 120px; border-radius: 28px; box-shadow: 4px 4px 0 var(--shadow); }
  .about-mark img { width: 88px; height: 88px; }
  .game-hero { padding: 16px 0 32px; }
  .back { margin-bottom: 14px; }
  .game-title img { width: 72px; height: 72px; border-radius: 18px; }
  .pitch { font-size: 17px; }
  .game-info .actions .btn { flex: 1 1 auto; }
  .game-info .actions .btn.primary { flex-basis: 100%; }
  .video-frame { border-radius: 14px; box-shadow: 4px 4px 0 var(--shadow); }
  .where { padding: 18px; border-radius: 20px; box-shadow: 4px 4px 0 var(--shadow); }
  .character { grid-template-columns: 88px 1fr; gap: 14px; }
  .character img { width: 88px; }
  .shots a { width: 150px; }
  .more { grid-template-columns: minmax(0, 1fr); }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .mini, .shelf a, .card-cover img { transition: none; }
}
