@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #242334;
  --ink-deep: #1c1b2c;
  --muted: #625f70;
  --paper: #fffcfc;
  --panel: #fffafa;
  --pink: #f33d65;
  --pink-deep: #ba2047;
  --pink-soft: #fde7ec;
  --purple: #8956bd;
  --purple-soft: #f1e8f7;
  --line: #e5dce2;
  --gold: #ffca41;
  --radius: 16px;
  --shadow: 0 3px 12px #44334412, 0 1px 3px #331d3310;
  --shell: 1232px;
  --gutter: clamp(16px, 2.05vw, 29px);
  --heading: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  font: 16px/1.65 var(--sans);
  color: var(--ink);
  background: #faf6f8;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 14px; }
body {
  min-width: 280px;
  margin: 0;
  background:
    radial-gradient(ellipse 45% 330px at 0% 110px, #ffdb9359, transparent 85%),
    radial-gradient(ellipse 43% 310px at 95% 100px, #e7d9f48a, transparent 95%),
    linear-gradient(180deg, #fff7f5 0, #fffafb 290px, #fcf6f6 650px, #faf6f8);
  min-height: 100vh;
}
a { color: inherit; text-decoration-color: #bcaab8; text-underline-offset: .2em; }
a:hover { color: var(--pink-deep); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #5a3ca0; outline-offset: 3px;
}
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, summary, select, input[type="submit"], input[type="checkbox"], input[type="radio"] { cursor: pointer; }
button { color: inherit; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .6; }
img, video { max-width: 100%; vertical-align: middle; }
svg.icon { width: 1.22em; height: 1.22em; flex: 0 0 auto; vertical-align: -.18em; color: inherit; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 900; line-height: 1.28; overflow-wrap: anywhere; }
:where(p, li, dd, td, th) { overflow-wrap: anywhere; }
.wrap, .header-inner, .footer-inner {
  width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--gutter);
}
.skip-link { position: absolute; left: 10px; top: -5rem; z-index: 10; background: white; color: var(--ink); padding: 8px 18px; }
.skip-link:focus { top: 8px; }
.sr-only, .visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* The compact, dark masthead anchors every page. */
.site-header {
  color: white; position: relative; z-index: 2;
  background: linear-gradient(115deg, #242333 0%, #1f1e31 67%, #292839 100%);
  border-bottom: 1px solid #131222; box-shadow: 0 3px 10px #251b3c26;
}
.header-inner { min-height: 65px; display: flex; align-items: center; gap: clamp(12px, 1.65vw, 24px); }
.brand {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .16em;
  color: #fff; line-height: 1.1; font: 950 clamp(24px, 3.05vw, 42px)/1.1 var(--heading);
  letter-spacing: -.075em; text-decoration: none; white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand-mark { color: var(--pink); width: 1.29em; height: 1.18em; position: relative; display: grid; place-items: center; }
.brand-mark .icon { width: 100%; height: 100%; }
.brand-mark::after {
  content: ""; position: absolute; top: -.04em; right: -.02em; width: .26em; height: .21em;
  background: #ffd047; transform: rotate(8deg);
  clip-path: polygon(0 23%,35% 48%,62% 0,72% 49%,100% 22%,88% 100%,8% 100%);
}
.brand-text { display: inline-flex; align-items: baseline; }
.brand-text::after {
  content: ""; width: .24em; height: .24em; margin-inline: .055em .01em;
  border: .078em solid var(--pink); border-radius: 50%; transform: translateY(.018em);
}
.brand-text:has(i)::after { display: none; }
.brand-text i {
  display: inline-block; overflow: hidden; width: .28em; height: .28em;
  margin-inline: .045em .005em; border: .082em solid var(--pink); border-radius: 50%;
  color: transparent !important; line-height: 2; transform: translateY(.025em);
}
.tagline {
  max-width: 17em; padding-inline-start: clamp(12px, 1.7vw, 24px); border-inline-start: 1px solid #ffffff63;
  font-size: clamp(10px, 1.04vw, 14px); font-weight: 750; line-height: 1.45; letter-spacing: .02em;
}
.main-nav { margin-inline-start: auto; display: flex; align-items: center; gap: clamp(5px, 1.1vw, 17px); }
.main-nav a, .main-nav button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 42px; padding: 5px .55em;
  color: white; font-size: clamp(13px, 1.25vw, 16px); font-weight: 800; line-height: 1.25;
  text-decoration: none; white-space: nowrap; background: transparent; border: 0;
}
.main-nav a:hover, .main-nav button:hover { color: #ffd1dc; }
.main-nav .nav-primary { border-radius: 999px; padding-inline: 1em; background: var(--pink); --icon-cutout: var(--pink); }
.main-nav .nav-primary:hover { background: #dd3055; color: white; }
.main-nav :is(.nav-search,.search-link) { width: 43px; padding: 0; border-radius: 50%; background: #ffffff17; }
.main-nav .icon { width: 1.28em; height: 1.28em; }
.breadcrumb {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .42em;
  padding: 11px 5px 6px; color: #454151; font-size: .81rem; line-height: 1.5; font-weight: 650;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb .icon { width: 1.04em; height: 1.04em; }
.breadcrumb :is(ol,ul) { display: flex; align-items: center; flex-wrap: wrap; gap: .48em; list-style: none; padding: 0; margin: 0; }

/* Title, store scores and tags stay in the same reading order on small devices. */
.game-hero {
  isolation: isolate; position: relative; display: grid;
  grid-template-columns: clamp(108px, 13vw, 156px) minmax(0, 1fr) 26.5%;
  align-items: start; column-gap: clamp(14px, 1.9vw, 24px);
  min-height: 202px; padding: 9px 6px 18px; margin-block-end: 4px;
}
.game-hero::before, .home-hero::before {
  content: ""; position: absolute; z-index: -1; inset: -22px 0 -5px; pointer-events: none;
  background:
    radial-gradient(ellipse at 2% 30%, #ffce686e 0%, transparent 31%),
    radial-gradient(ellipse at 74% 28%, #ffd6dd7d 0%, transparent 40%),
    radial-gradient(ellipse at 95% 65%, #e9dbf28c 0%, transparent 38%);
}
.game-hero::after, .home-hero::after {
  content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: 36%; height: 100%; pointer-events: none;
  background: radial-gradient(#dda5ba80 .8px, transparent 1.2px) 0 0/5px 5px;
  -webkit-mask-image: radial-gradient(ellipse, black, transparent 73%); mask-image: radial-gradient(ellipse, black, transparent 73%);
}
.game-hero::before {
  inset: -27px calc(-1 * var(--gutter)) -14px;
  background: radial-gradient(ellipse at 3% 38%,#ffd27d6e,transparent 30%),
    radial-gradient(ellipse at 78% 23%,#ffb9ca77,transparent 37%),
    radial-gradient(ellipse at 99% 70%,#dcd0ed8c,transparent 40%);
  mask-image: linear-gradient(transparent,black 16%,black 78%,transparent);
}
.game-icon, .icon-fallback {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22%;
  border: 2px solid #ffffffcf; box-shadow: 0 6px 15px #76513630, 0 1px 5px #402e222b;
}
.icon-fallback { display: grid; place-items: center; background: linear-gradient(145deg,#ffecc9,#f5c99b); color: #664236; font-weight: 900; }
.hero-copy { position: relative; z-index: 1; min-width: 0; grid-column: 2; }
.game-hero:not(:has(> .game-icon)) .hero-copy { grid-column: 1 / 3; }
.hero-copy h1, .home-hero h1 { margin: -.025em 0 .015em; font-size: clamp(30px, 3.45vw, 48px); letter-spacing: -.055em; line-height: 1.22; }
.english { color: #514d60; margin: 0 0 .45em; font-weight: 630; line-height: 1.45; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: .35em .85em; margin-block: .4em .5em; font-size: .89rem; font-weight: 730; }
.platforms > span { display: inline-flex; align-items: center; gap: .32em; }
.platforms .icon:has(use[href$="#android"]) { color: #4cae33; }
.hero-mascot {
  position: absolute; z-index: 0; width: 34.5%; height: calc(100% + 50px); right: -4px; bottom: -8px;
  object-fit: contain; object-position: center bottom; pointer-events: none;
  filter: drop-shadow(0 3px 0 #fff) drop-shadow(0 3px 4px #46364d30);
}
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 7px; margin-block: 5px; }
.chip, .chips > a {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: 24px;
  padding: .19em .75em; border: 1px solid #d7d3e9; border-bottom-color: #bfb7d8; border-radius: 999px;
  color: #48435f; background: linear-gradient(#fff,#f1effc); box-shadow: 0 1px 2px #3f2b6614;
  font-size: .77rem; line-height: 1.4; font-weight: 725; text-decoration: none;
}
.chips .chip.genre { color: #c62c51; border-color: #f197a8; background: linear-gradient(#fff,#fff0f3); }
.chips .chip.condition { color: #4d4768; background: linear-gradient(#fff,#f0effc); }
.game-hero .chips:first-of-type .chip, .game-hero .chip.genre {
  padding-inline: .82em; font-size: .86rem; font-weight: 800;
}
.chips .chip.lead { background: var(--pink); color: white; border-color: var(--pink); }
.chip:hover, .chips > a:hover { border-color: var(--pink); color: #a92346; background: #fff0f3; }
.page-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(242px, 1fr); align-items: start; gap: clamp(16px, 2.2vw, 27px); }
.main-column, .sidebar { min-width: 0; }
.store-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; width: 100%; max-width: 100%; min-height: 48px;
  margin-block: 0 17px; padding: 6px 12px 6px 8px; border: 1px solid #dcd6e4; border-radius: 17px;
  background: #fffefe; box-shadow: 0 1px 3px #392d4d17; font-size: .9rem;
}
.strip-label { padding: .28em 1em; border-radius: 999px; background: var(--ink); color: white; font-size: .85em; font-weight: 800; white-space: nowrap; }
.store-item { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .28em; font-weight: 800; line-height: 1.4; text-decoration: none; }
.store-strip .store-item { flex: 1 1 auto; justify-content: center; }
.store-item + .store-item { padding-inline-start: .9rem; border-inline-start: 1px solid var(--line); }
.store-item .icon:has(use[href$="#star"]), .star { color: #ffbc27; }
.store-item strong { font-size: 1.25em; font-weight: 900; }
.store-item small { font-size: .8em; font-weight: 550; color: var(--muted); }
.store-meta, .meta, .muted { color: var(--muted); font-size: .82rem; }

/* The scored sheet groups the circular score, quote, four indicators and images. */
.section, .panel, .prose, .review-form, .filter-form, .empty-state {
  min-width: 0; margin: 0 0 15px; padding: clamp(15px, 1.75vw, 23px);
  background: linear-gradient(135deg,#fffdfd,#fff9fa); border: 1px solid #ecdee4; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section { --section-color: var(--pink); --section-tint: var(--pink-soft); padding: 0 0 12px; }
.section.negative, .section.purple { --section-color: var(--purple); --section-tint: var(--purple-soft); }
.section-title {
  display: flex; align-items: center; gap: .48em; min-height: 34px; padding-right: .6rem;
  margin: 0 0 7px; border-radius: var(--radius) var(--radius) var(--radius) 0;
  background: linear-gradient(90deg, var(--section-tint,#fde7ec),color-mix(in srgb,var(--section-tint,#fde7ec) 75%,white));
  color: var(--ink-deep); font-size: clamp(19px, 2.05vw, 27px); line-height: 1.33;
  letter-spacing: -.04em;
}
.section-title > :is(b,strong,em,.section-no) {
  align-self: stretch; display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; padding: .045em .8em .085em .49em; min-width: 2.75em;
  clip-path: polygon(0 0,100% 0,84% 100%,0 100%); border-radius: var(--radius) 0 0 0;
  background: linear-gradient(120deg,var(--section-color,var(--pink)),color-mix(in srgb,var(--section-color,var(--pink)) 87%,white));
  color: white; font-family: Arial,var(--sans); font-size: 1.25em; font-style: italic; font-weight: 900; letter-spacing: -.035em;
}
.section-title > span { padding-block: .12em; }
.verdict-body {
  display: grid; grid-template-columns: clamp(125px, 14.6vw, 183px) minmax(0,1fr) minmax(150px,23%);
  align-items: center; gap: clamp(9px, 1.4vw, 20px); padding: 5px clamp(12px,1.45vw,20px) 2px;
}
.score-ring {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1; width: 100%; border-radius: 50%; color: var(--ink); text-align: center;
  background: conic-gradient(from -12deg, var(--pink) calc(var(--score,0)*1%), #eadce2 0);
}
.score-ring::before { position: absolute; z-index: -1; content: ""; inset: 6.5%; border-radius: 50%; background: #fffafc; }
.score-ring small { display: block; font-size: clamp(.65rem, 1.05vw, .88rem); line-height: 1.4; font-weight: 850; color: #8c344e; }
.score-ring strong { display: block; max-width: 95%; color: var(--pink); font: italic 900 clamp(2.7rem,6.5vw,5.7rem)/1.08 Arial,var(--heading); letter-spacing: -.065em; }
.score-ring em { font-family: Arial,var(--sans); font-size: clamp(.78rem,1.35vw,1.05rem); line-height: 1.4; font-weight: 800; }
.score-ring:is(.unrated,.is-unrated) strong, .score-ring strong.unrated { font: 900 clamp(1.25rem,2.8vw,2.35rem)/1.5 var(--heading); color: #a04c69; letter-spacing: -.065em; }
.verdict-copy { min-width: 0; }
.verdict-copy h3, .analysis-copy h3 { margin: .47em 0 .22em; font-size: clamp(21px, 2.2vw, 31px); letter-spacing: -.045em; }
.verdict-copy p, .analysis-copy p { margin: .3em 0; line-height: 1.66; }
.rank-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: .32em; width: fit-content; padding: .18em .75em .25em;
  transform: skewX(-8deg); background: linear-gradient(105deg,#303044,#171727); border-radius: 4px;
  color: #ffce4b; font-weight: 900; font-size: clamp(.88rem,1.35vw,1.15rem); line-height: 1.5;
  box-shadow: inset 3px 0 var(--rank-color,transparent);
}
.rank-badge[style*="--rank-color"] { color: color-mix(in srgb,var(--rank-color) 55%,white); }
.rank-badge .icon { width: 1.55em; height: 1.55em; }
.verdict-mascot { min-height: 188px; align-self: stretch; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: end; }
.verdict-mascot img { width: 100%; height: clamp(114px, 13vw, 162px); object-fit: contain; object-position: center bottom; }
.bubble {
  display: block; position: relative; align-self: stretch; width: fit-content; max-width: 100%; margin: 0 auto 4px;
  padding: .53em .9em; border: 2px solid #2a2938; border-radius: 38% 43% 32% 42% / 36% 44% 36% 45%;
  background: white; color: var(--ink-deep); font: 850 clamp(.79rem,1.35vw,1.1rem)/1.37 var(--heading);
  text-align: center; overflow-wrap: anywhere;
}
.bubble::after {
  content: ""; position: absolute; bottom: -7px; left: 55%; width: 12px; height: 12px;
  border-bottom: 2px solid #2a2938; border-right: 2px solid #2a2938;
  background: white; transform: skewY(31deg) rotate(17deg);
}
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(6px,.75vw,11px); margin: 9px clamp(10px,1.2vw,16px) 12px; }
.metric {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .17em .2em;
  padding: .45em .65em .58em; border: 1px solid #f2d9df; border-radius: 12px;
  background: #fffafa; box-shadow: 0 2px 5px #602d3c13; font-size: clamp(11px, 1.07vw, 15px);
}
.metric label, .metric > span { font-weight: 820; }
.metric strong { color: var(--pink); line-height: 1.1; font-weight: 900; font-size: 1.5em; }
.metric progress, .metric .meter { width: 100%; display: block; appearance: none; height: 8px; margin: .3em 0 0; border: 0; border-radius: 999px; overflow: hidden; accent-color: var(--pink); background: #e5d9de; }
.metric progress::-webkit-progress-bar { border-radius: inherit; background: #e5d9de; }
.metric progress::-webkit-progress-value { border-radius: inherit; background: var(--pink); }
.metric progress::-moz-progress-bar { border-radius: inherit; background: var(--pink); }
.metric .meter > i { display: block; height: 100%; border-radius: inherit; background: var(--pink); }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 0 5px; margin: 10px 0 0; }
.gallery :where(a,button,figure) { display: block; min-width: 0; height: 100%; margin: 0; padding: 0; overflow: hidden; border: 0; background: transparent; border-radius: 9px; }
.gallery img { display: block; width: 100%; aspect-ratio: 1.84; object-fit: cover; border-radius: 9px; }
.gallery a:hover img, .gallery button:hover img { filter: brightness(1.05); }
.gallery figcaption, .credit { color: var(--muted); font-size: .74rem; }
.analysis-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(110px,24%); align-items: end; padding: 0 clamp(13px,1.8vw,26px); gap: 10px; }
.analysis-copy h3 { margin: .13em 0 .18em; }
.analysis-copy p { font-size: .95rem; line-height: 1.65; }
.analysis-body .reaction { max-height: 178px; width: 100%; object-fit: contain; object-position: bottom; }
.points { border-radius: 14px; background: var(--section-tint,var(--pink-soft)); margin: .65em 0 0; padding: .55em .9em; font-size: .86rem; font-weight: 650; }
.points li::marker { color: var(--section-color,var(--pink)); }
.points > strong {
  display: inline-flex; flex: 0 0 auto; align-items: center; gap: .35em;
  color: color-mix(in srgb,var(--section-color,var(--pink)) 88%,#6a2847);
  font-size: clamp(.8rem,1.23vw,1.1rem); font-weight: 900; line-height: 1.35;
}
.points strong .icon {
  display: inline-block; box-sizing: content-box; width: 1.24em; height: 1.24em; padding: .43em;
  border-radius: 50%; color: white; background: var(--section-color,var(--pink));
}
.analysis-copy .points ul { list-style: none; padding: 0; }
.points li { position: relative; padding-inline-start: 1.43em; line-height: 1.47; }
.points li::before {
  content: ""; position: absolute; top: .32em; left: .16em; width: .54em; height: .78em;
  border: solid var(--section-color,var(--pink)); border-width: 0 .19em .19em 0; transform: rotate(43deg);
}
.analysis-copy .points li { font-size: .78rem; }
.section > :where(p,details,table,dl,form,.facts,.reader-box,.review-list,.meta,.actions) { margin-inline: clamp(13px,1.7vw,24px); }
.section > table { width: calc(100% - 2 * clamp(13px,1.7vw,24px)); }

.sidebar { display: grid; gap: clamp(16px,2vw,26px); padding-top: 16px; }
.side-card {
  overflow: hidden; min-width: 0; border: 1px solid #ded5df; border-radius: var(--radius);
  background: linear-gradient(130deg, #fffdfd, #fbf8fb); box-shadow: var(--shadow);
}
.side-card > :is(h2,h3,.side-title) {
  display: flex; align-items: center; gap: .5em; margin: 0; padding: .52em .86em;
  background: linear-gradient(105deg,#373443,#252436); color: white; font-size: 1.1rem; font-weight: 850; letter-spacing: -.035em;
}
.toc { list-style: none; padding: 4px 14px; margin: 0; }
.toc > a, .toc li > a {
  display: flex; align-items: center; gap: .65em; min-height: 42px; padding: 6px 2px;
  border-bottom: 1px solid #e6e0e7; font-size: .92rem; font-weight: 780; line-height: 1.4; text-decoration: none;
}
.toc > :last-child, .toc li:last-child > a { border-bottom: 0; }
.toc > a::after, .toc li > a::after { content: "›"; color: #605e72; margin-left: auto; font-size: 1.35em; font-weight: 500; }
.toc :is(b,strong,.num) { flex: 0 0 auto; min-width: 1.22em; white-space: nowrap; color: var(--pink); font: italic 900 1.32em/1 Arial,var(--heading); }
.toc li > a { column-gap: .5em; font-size: clamp(.79rem,1.14vw,.91rem); letter-spacing: -.035em; }
.toc li:is(:nth-child(2),:nth-child(3)) > a::after { content: none; }
.facts { width: 100%; margin: 0; border-collapse: collapse; font-size: .9rem; }
.facts :is(th,td), .facts > div { padding: .52em .2em; border-bottom: 1px solid #e5dfe4; }
.facts tr:last-child :is(th,td), .facts > div:last-child { border-bottom: 0; }
.facts th { text-align: left; font-weight: 670; }
.facts td { text-align: right; font-weight: 740; }
.facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: .75em; }
.facts dt { flex: 0 1 auto; color: #514c59; }
.facts dd { min-width: 0; margin: 0; text-align: end; font-weight: 750; }
.facts .price { color: var(--pink); font: italic 900 1.45em/1 Arial,var(--heading); }
.side-card > .facts, .side-card > table { margin: 0 14px 8px; width: calc(100% - 28px); }
.reader-box { padding: 12px 15px; text-align: center; }
.reader-box p { margin: .32em 0; }
.reader-box strong { font-size: 1.35em; }
.reader-box .button { width: 100%; margin-block: .75em .4em; }
.side-card .reader-box > p:first-child { font-weight: 820; }
.side-card .reader-box > strong { display: block; margin: .12em auto; font-size: 1.48rem; font-weight: 900; }
.reader-box img { display: block; width: min(85%,190px); max-height: 180px; margin: 3px auto -12px; object-fit: contain; object-position: bottom; }

/* Reusable discovery cards, forms and editorial pages. */
.button, button.primary, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 43px;
  padding: .53em 1.08em; border: 1px solid transparent; border-radius: 9px; background: var(--pink); color: white;
  font-weight: 820; font-size: .94rem; line-height: 1.4; text-decoration: none; cursor: pointer;
}
.button:hover, button.primary:hover, input[type="submit"]:hover { background: #d92f56; color: white; }
.button.secondary, .button.subtle { background: white; border-color: #dfcfd8; color: #653d50; }
.button.secondary:hover, .button.subtle:hover { background: var(--pink-soft); border-color: #e2a0b2; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: .8em; }
.home-hero {
  isolation: isolate; position: relative; min-height: 250px; margin: 12px 0 20px;
  display: grid; align-content: center; justify-items: start; padding: clamp(22px,3.2vw,43px) 35% clamp(22px,3.2vw,43px) clamp(18px,2.6vw,38px);
  border: 1px solid #f1d9df; border-radius: 20px; background: #fff9f9; box-shadow: var(--shadow); overflow: hidden;
}
.home-hero::before { inset: 0; }
.home-hero .hero-mascot, .home-hero > img:last-child { position: absolute; width: 34%; height: 98%; right: 1%; bottom: 0; object-fit: contain; object-position: center bottom; }
.home-hero p { margin: .55em 0; }
.home-hero .search-bar { margin-top: 14px; }
.search-bar { display: flex; align-items: stretch; max-width: 590px; width: 100%; gap: 5px; }
.search-bar input { flex: 1; min-width: 0; }
.search-bar button {
  display: inline-grid; place-items: center; flex: 0 0 48px; min-height: 44px;
  border: 0; border-radius: 9px; background: var(--pink); color: white;
}
.search-bar button:hover { background: var(--pink-deep); }
.wrap > h1 { font-size: clamp(1.65rem,3.2vw,2.6rem); margin-block: .32em .6em; letter-spacing: -.055em; }
.section-bar h2, .wrap > section:not(.panel,.prose,.section,.home-section) > h2 {
  margin: .5em 0; padding-inline-start: .5em; border-inline-start: .23em solid var(--pink);
  font-size: clamp(1.2rem,2.15vw,1.65rem); letter-spacing: -.04em;
}
.section-bar a { color: #9d2e52; text-decoration: none; font-size: .87rem; }
.section-bar a:hover { text-decoration: underline; }
.catalog-title, .page-title { margin: .5em 0 .55em; font-size: clamp(1.7rem,3.1vw,2.6rem); letter-spacing: -.06em; }
.section-head, .list-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4em 1em; margin-block: 24px 12px; }
.section-head :is(h2,h3), .list-heading :is(h2,h3) { margin: 0; font-size: clamp(1.2rem,2.15vw,1.65rem); }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,260px),1fr)); gap: 14px; margin: 12px 0 21px; }
.home-section .game-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,252px),1fr)); }
.game-card {
  position: relative; min-width: 0; overflow: hidden; display: block;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); background: #fffdfd; text-decoration: none;
}
.game-card:hover { border-color: #dca6b8; }
.card-cover { display: block; width: 100%; aspect-ratio: 1.94; object-fit: cover; }
.card-icon { width: 56px; height: 56px; object-fit: cover; border-radius: 13px; }
.card-body { padding: 13px 15px; min-width: 0; }
.card-body > .card-icon { float: left; width: 44px; height: 44px; margin: 1px 9px 7px 0; border: 1px solid #eadce2; border-radius: 10px; }
.card-body > .chips { clear: both; }
.card-body > small { color: var(--muted); font-size: .75rem; }
.game-card h3 { margin: 0 0 3px; font-size: 1.12rem; }
.game-card p { margin: 4px 0; font-size: .88rem; }
.game-card a { text-decoration: none; }
.game-card .chips { gap: 4px; }
.game-card .chip { font-size: .69rem; }
.game-card .rank-badge { font-size: .75rem; }
.section .game-grid { padding-inline: 12px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 6px; margin-block: 20px; }
.pagination :is(a,span) { padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; background: white; text-decoration: none; }
.pagination [aria-current] { background: var(--ink); color: white; }
.form-grid, .filter-form { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,178px),1fr)); gap: 12px; align-items: start; }
.form-grid .wide, .filter-form .wide, .form-grid fieldset { grid-column: 1/-1; }
.filter-form:has(details) {
  grid-template-columns: minmax(180px,1.8fr) minmax(150px,1fr) max-content; align-items: end;
}
.filter-form > details { grid-column: 1/-1; grid-row: 2; padding: .45rem .7rem; background: #fcf6f9; border: 1px solid var(--line); border-radius: 8px; }
.filter-form details > summary { padding: 4px 0; color: #5e4053; font-size: .87rem; font-weight: 750; }
.filter-form details[open] > summary { margin-bottom: .65rem; }
.filter-form > button, .form-grid > button { align-self: end; }
.form-grid > :is(label:has(textarea),p,small) { grid-column: 1/-1; }
.form-grid > label:has(input[type="checkbox"]) { align-self: center; }
.form-grid > button:not(.button), .consent button, .library-item button, #lightbox [data-close], .panel form button:not(.button) {
  min-height: 39px; padding: .45em .88em; border: 1px solid #d7c6d1; border-radius: 8px;
  background: #fff; color: #633d51; font-size: .87rem; font-weight: 780;
}
.form-grid > button:not(.button):hover, .consent button:hover, .library-item button:hover, #lightbox [data-close]:hover, .panel form button:not(.button):hover {
  border-color: #cb8fa3; background: #fff0f4;
}
.admin-nav.chips { gap: 6px; }
.admin-nav.chips .chip { min-height: 34px; }
.prose pre, .prose textarea[name="payload"] { font: .81rem/1.65 Consolas,"BIZ UDGothic",monospace; }
.prose pre { padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8f3f7; }
.empty { margin: 9px 0 15px; padding: .7em .9em; border: 1px solid var(--line); border-radius: 9px; background: #fffbfd; color: var(--muted); font-size: .88rem; }
#lightbox [data-close] { display: block; margin: 0 0 8px auto; }
#lightbox p { text-align: center; color: var(--muted); font-size: .85rem; }
form label { display: block; color: var(--ink); font-size: .89rem; font-weight: 700; }
form :where(input:not([type="checkbox"],[type="radio"],[type="range"],[type="hidden"],[type="submit"],[type="button"]),select,textarea) {
  max-width: 100%; width: 100%; min-height: 43px; padding: .54em .72em; color: var(--ink);
  line-height: 1.45; border: 1px solid #cfc2ce; border-radius: 8px; background: white; box-shadow: inset 0 1px 2px #32233409;
}
form label > :where(input,select,textarea) { margin-top: 3px; }
form :is(input[type="checkbox"],input[type="radio"],input[type="range"]) { accent-color: var(--pink-deep); }
form textarea { min-height: 7em; resize: vertical; }
form fieldset { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
form legend { padding-inline: .3em; font-weight: 800; }
.empty-state { padding: 12px 15px; background: #fffafc; font-size: .9rem; }
.notice, .flash, .error {
  padding: .72em .95em; border: 1px solid #dccfe5; border-inline-start: 4px solid var(--purple); border-radius: 8px;
  background: #fbf7ff; margin-block: 12px;
}
.error { border-color: #edbac6; border-inline-start-color: var(--pink-deep); background: #fff3f5; }
.prose { padding: clamp(18px,2.2vw,31px); }
.prose :is(h1,h2,h3):first-child { margin-top: 0; }
.prose h2 { margin: 1.3em 0 .5em; font-size: clamp(1.2rem,2.15vw,1.62rem); }
.prose p, .prose li { line-height: 1.85; }
.prose a { color: #9f244c; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll table, .admin table, .prose table { width: 100%; border-collapse: collapse; }
.table-scroll :is(th,td), .prose :is(th,td), .admin :is(th,td) { border-bottom: 1px solid var(--line); text-align: left; padding: .58em .7em; }
.table-scroll th, .prose th, .admin th { background: #fbf1f5; }
.review-list { padding: 0; list-style: none; }
.review-list > * { padding-block: 10px; border-bottom: 1px solid var(--line); }
dialog { width: min(94vw,820px); max-height: 90dvh; padding: 14px; border: 1px solid #d1bfce; border-radius: 16px; color: var(--ink); background: #fffafb; box-shadow: 0 14px 45px #16091c40; }
dialog::backdrop { background: #201c30bd; }
dialog img { max-height: 75dvh; width: 100%; object-fit: contain; }
.site-footer { clear: both; margin-top: 32px; background: linear-gradient(110deg,#292739,#211f30); color: #f5eef4; }
.footer-inner, .site-footer > .wrap { padding-block: 23px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .55em 1.25em; margin-block: 10px; }
.site-footer a { color: #f4edf4; font-size: .82rem; text-decoration: none; }
.site-footer a:hover { color: #ffbfd0; text-decoration: underline; }
.site-footer small { color: #cfbfd0; }

@media (min-width: 1280px) {
  .game-hero { min-height: 215px; }
}
@media (max-width: 1040px) {
  .tagline { font-size: .71rem; }
  .page-grid { grid-template-columns: minmax(0, 2.85fr) minmax(218px, 1fr); }
  .game-hero { grid-template-columns: clamp(100px,13vw,135px) minmax(0,1fr) 25%; min-height: 186px; }
  .verdict-body { grid-template-columns: clamp(110px,13.5vw,140px) minmax(0,1fr) 20%; }
  .verdict-mascot { min-height: 153px; }
  .store-strip { column-gap: .6rem; font-size: .8rem; }
  .store-item + .store-item { padding-inline-start: .6rem; }
  .toc { padding-inline: 10px; }
  .toc > a, .toc li > a { font-size: .83rem; }
}
@media (max-width: 850px) {
  .tagline { display: none; }
  .header-inner { min-height: 58px; }
  .brand { font-size: clamp(25px,4vw,35px); }
  .main-nav { gap: 6px; }
  .main-nav a, .main-nav button { font-size: .82rem; }
  .page-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .sidebar { grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 12px; padding-top: 0; align-items: start; }
  .game-hero { min-height: 170px; }
  .hero-mascot { height: calc(100% + 20px); }
  .verdict-body { grid-template-columns: clamp(115px,18vw,155px) minmax(0,1fr) 22%; }
  .store-strip { font-size: .9rem; }
  .metric { font-size: .81rem; }
}
@media (max-width: 600px) {
  :root { --gutter: 13px; --radius: 13px; }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 3px; min-height: 0; padding-block: 7px 5px; }
  .brand { font-size: 1.78rem; }
  .main-nav {
    flex: 1 0 100%; min-width: 0; max-width: 430px; display: grid; align-items: center; justify-content: center;
    grid-template-columns: minmax(0,1.4fr) minmax(0,1.13fr) minmax(0,.66fr) minmax(0,.98fr) 30px;
    margin: 0; gap: 2px;
  }
  .main-nav a, .main-nav button { min-width: 0; min-height: 36px; padding: 4px 1px; gap: .22em; font-size: clamp(.66rem,3.03vw,.78rem); }
  .main-nav .nav-primary { padding-inline: 1px; }
  .main-nav :is(.nav-search,.search-link) { width: 30px; min-height: 30px; }
  .main-nav .icon { width: 1.08em; height: 1.08em; }
  .breadcrumb { padding: 9px 0 6px; font-size: .71rem; gap: .2em; }
  .game-hero { grid-template-columns: clamp(58px,16vw,84px) minmax(0,1fr); column-gap: 10px; min-height: 0; padding: 7px 0 6px; }
  .game-hero .hero-copy { display: contents; }
  .hero-copy h1 { grid-column: 2; grid-row: 1; font-size: clamp(21px,5vw,29px); line-height: 1.27; align-self: start; }
  .hero-copy .english { grid-column: 2; grid-row: 2; align-self: start; margin: 0 0 .13em; font-size: .75rem; }
  .game-icon { grid-row: 1 / 3; align-self: start; }
  .hero-copy > :not(h1,.english), .game-hero > .chips { grid-column: 1/-1; }
  .game-hero .hero-mascot { width: 31%; height: 77px; bottom: 1px; right: -2px; object-position: right bottom; }
  .game-hero .hero-copy > .chips { padding-inline-end: 27%; }
  .game-hero:not(:has(> .game-icon)) .hero-copy :is(h1,.english) { grid-column: 1 / -1; padding-right: 23%; }
  .platforms { margin-block: 7px 1px; font-size: .76rem; }
  .chips { gap: 5px; margin-block: 4px; }
  .chips > a, .chip { min-height: 27px; padding: .18em .63em; font-size: .72rem; }
  .game-hero .chip.genre { min-height: 27px; font-size: .76rem; }
  .store-strip { display: grid; grid-template-columns: max-content minmax(0,1fr); width: 100%; min-height: 0; margin-bottom: 10px; padding: 6px 8px; gap: 3px 8px; border-radius: 11px; font-size: .77rem; }
  .strip-label { grid-column: 1; grid-row: 1/3; padding-inline: .7em; font-size: .73em; }
  .store-strip .store-item { grid-column: 2; justify-content: start; }
  .store-item { gap: .17em; }
  .store-item + .store-item { padding-inline-start: 0; border: 0; }
  .store-item strong { font-size: 1.12em; }
  .section { margin-bottom: 10px; }
  .section-title { font-size: clamp(16px,4vw,20px); min-height: 31px; margin-bottom: 6px; gap: .32em; }
  .verdict-body { grid-template-columns: minmax(79px,26%) minmax(0,1fr); align-items: center; gap: 7px 12px; padding: 4px 11px; }
  .score-ring small { font-size: .58rem; }
  .score-ring strong { font-size: clamp(2rem,9vw,3.4rem); }
  .score-ring em { font-size: .72rem; }
  .score-ring:is(.unrated,.is-unrated) strong, .score-ring strong.unrated { font-size: clamp(1rem,4.6vw,1.6rem); }
  .rank-badge { font-size: .72rem; }
  .verdict-copy h3, .analysis-copy h3 { font-size: clamp(17px,4.55vw,23px); }
  .verdict-copy p, .analysis-copy p { font-size: .86rem; }
  .verdict-mascot { grid-column: 1/-1; min-height: 0; display: flex; flex-direction: row; align-items: center; justify-content: end; padding-top: 1px; }
  .verdict-mascot img { flex: 0 0 auto; width: 87px; height: 79px; }
  .verdict-mascot .bubble { align-self: center; margin: 0 7px 7px 0; font-size: .76rem; }
  .verdict-body:has(.is-unrated):not(:has(.bubble)) { grid-template-columns: 26% minmax(0,1fr) 20%; gap: 6px; padding-inline: 9px; }
  .verdict-body:has(.is-unrated):not(:has(.bubble)) .verdict-mascot { grid-row: 1; grid-column: 3; align-self: end; }
  .verdict-body:has(.is-unrated):not(:has(.bubble)) .verdict-mascot img { width: 100%; height: auto; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin: 5px 9px 8px; }
  .metric { border-radius: 9px; font-size: .74rem; padding: .4em .6em; }
  .metric progress, .metric .meter { height: 6px; margin-top: 0; }
  .gallery { gap: 4px; padding: 0 5px; }
  .gallery img, .gallery :where(a,button,figure) { border-radius: 6px; }
  .gallery figcaption { font-size: .65rem; }
  .analysis-body { grid-template-columns: minmax(0,1fr) minmax(58px,22%); padding-inline: 11px; gap: 4px; }
  .analysis-body .reaction { max-height: 100px; }
  .points { font-size: .78rem; }
  .analysis-copy .points > strong { margin-bottom: .22em; }
  .analysis-copy .points strong .icon { width: .95em; height: .95em; padding: .33em; }
  .analysis-copy .points li { font-size: .72rem; }
  .sidebar { grid-template-columns: minmax(0,1fr); }
  .side-card > :is(h2,h3,.side-title) { font-size: 1rem; }
  .toc > a, .toc li > a { min-height: 43px; font-size: .92rem; }
  .home-hero { min-height: 180px; padding: 19px 15px; margin-block: 8px 14px; }
  .home-hero > :not(img,.hero-mascot,.search-bar) { max-width: 70%; }
  .home-hero h1 { font-size: 1.63rem; }
  .home-hero .hero-mascot, .home-hero > img:last-child { width: 32%; height: 68%; top: 0; bottom: auto; }
  .search-bar { font-size: .88rem; }
  .button, button.primary { min-height: 42px; font-size: .86rem; }
  .facts { font-size: .82rem; }
  .game-grid { gap: 9px; grid-template-columns: repeat(auto-fit,minmax(min(100%,156px),1fr)); }
  .home-section .game-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,156px),1fr)); }
  .card-body { padding: 10px; }
  .game-card h3 { font-size: 1rem; }
  .game-card p { font-size: .78rem; }
  .filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .filter-form:has(details) { grid-template-columns: 1fr 1fr; }
  .filter-form:has(details) > label:first-child { grid-column: 1 / -1; }
  .filter-form > details { grid-row: 3; }
  form :where(input:not([type="checkbox"],[type="radio"]),select,textarea) { font-size: 16px; }
  .site-footer { margin-top: 22px; }
}
@media (max-width: 380px) {
  :root { --gutter: 10px; }
  .main-nav { gap: 2px; }
  .main-nav a, .main-nav button { padding-inline: 1px; }
  .store-strip { gap: 4px 6px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-contrast: more) {
  :root { --muted: #453e4e; --pink: #bf1947; --purple: #64388d; --line: #9f879a; }
  .main-nav .nav-primary, .button { background: #ad1640; }
  .chip, .chips > a, .metric, .side-card, .section, .panel { border-color: #9e8797; }
  .score-ring::before { background: white; }
}
@media print {
  body { background: white; }
  .site-header, .site-footer, .main-nav, .sidebar, form, .actions, dialog { display: none; }
  .page-grid { display: block; }
  .wrap { width: 100%; padding: 0; }
  .section, .panel, .prose { box-shadow: none; break-inside: avoid; }
}
