@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #0c231c;
  --forest: #063c29;
  --green: #086547;
  --muted: #4c6259;
  --paper: #faf9f5;
  --white: #fff;
  --mint: #e6f7ee;
  --mint-strong: #d7f0e4;
  --line: #dae7df;
  --lime: #beff5e;
  --radius: 18px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 16px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { min-width: 320px; margin: 0; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: .18em; }
a:hover { color: var(--green); }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #168755; outline-offset: 4px; }
h1, h2, h3 { color: var(--forest); margin: 0; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 750; }
p { margin: 0 0 .8rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-inline-start: 1.35rem; }

.shell { width: min(calc(100% - 48px), 1320px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; inset: 8px auto auto 8px; transform: translateY(-150%); background: var(--white); padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: var(--white); border-bottom: 1px solid #aee4c7; }
.header-inner { display: flex; align-items: center; min-height: 80px; gap: clamp(.8rem, 2vw, 1.9rem); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--forest); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand-logo { flex-shrink: 0; width: 44px; height: 44px; object-fit: contain; }
.brand-mark { font-family: Georgia, serif; font-size: 3.65rem; font-weight: 700; line-height: .82; }
.brand-text { display: grid; align-content: center; line-height: 1.15; }
.brand-name { font-size: clamp(1.15rem, 2.45vw, 1.9rem); font-weight: 800; letter-spacing: -.048em; }
.brand-tagline { font-size: clamp(.64rem, 1.22vw, .98rem); font-weight: 500; white-space: nowrap; margin-top: .2rem; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; margin-left: auto; gap: clamp(.7rem, 1.9vw, 1.7rem); }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 750; white-space: nowrap; padding: .6rem 0 .42rem; border-bottom: 3px solid transparent; }
.site-nav a:is(:hover, [aria-current="page"]) { border-color: #25bf58; color: var(--forest); }
.header-search { width: clamp(106px, 15vw, 195px); flex-shrink: 0; }
.search-box { display: flex; position: relative; align-items: center; }
.search-box input { width: 100%; min-height: 42px; padding: .43rem .75rem .43rem 2.55rem; color: var(--ink); border: 1px solid var(--line); background: var(--white); border-radius: 11px; }
.search-box input::placeholder { color: var(--muted); opacity: 1; }
.header-search input { padding-left: 2.45rem; border-color: var(--forest); border-radius: 100px; }
.search-submit { position: absolute; display: grid; place-items: center; padding: 0; background: transparent; border: 0; color: var(--forest); width: 37px; height: 37px; border-radius: 50%; margin-left: 3px; }
.icon-search::before { content: ""; display: block; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; transform: translate(-1px, -1px); }
.icon-search::after { content: ""; position: absolute; display: block; width: 7px; height: 2px; background: currentColor; border-radius: 1px; transform: translate(6px, 6px) rotate(46deg); }
.search-submit .icon-search { display: grid; place-items: center; position: relative; }
.mobile-menu { display: none; margin-left: auto; padding: .48rem .7rem; border: 1px solid var(--line); border-radius: 9px; color: var(--forest); background: var(--white); font-size: .85rem; font-weight: 700; }
.mobile-menu[aria-expanded="true"] { background: var(--mint); }

main { padding-block: 14px 38px; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #def4e8; border-radius: var(--radius); }
.hero-art { position: absolute; right: 0; top: 0; height: 100%; width: 100%; object-fit: cover; object-position: center right; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #e5f8ee 3%, #e5f8ee 23%, rgba(229,248,238,.96) 34%, rgba(229,248,238,.65) 50%, rgba(229,248,238,0) 69%); }
.home-hero { min-height: clamp(306px, 31vw, 407px); padding: clamp(1.8rem, 3.1vw, 3.3rem) clamp(1.8rem, 5vw, 4.3rem); display: flex; align-items: center; }
.hero-copy { position: relative; max-width: 64%; }
.home-hero h1 { max-width: 12ch; }
.hero-tagline { margin: .55rem 0 0; font-size: clamp(1.05rem, 2.25vw, 1.65rem); line-height: 1.25; letter-spacing: -.025em; }
.hero-intro { max-width: 38ch; margin: .6rem 0 1.25rem; color: #294e40; font-size: .98rem; line-height: 1.4; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 46px; border: 1px solid transparent; border-radius: 12px; padding: .58rem 1.18rem; background: var(--forest); color: var(--white); text-decoration: none; font-weight: 800; line-height: 1.2; }
.button:hover { background: #085638; color: var(--white); }
.button--lime { padding-inline: 1.25rem; color: #133312; background: linear-gradient(#d6ff90, #aaff42); border-color: #a7ea52; box-shadow: 0 3px 8px #3c8b2233; }
.button--lime:hover { background: #d6ff90; color: #133312; }
.button--secondary { color: var(--forest); background: var(--white); border-color: var(--line); }
.button--secondary:hover { color: var(--forest); background: var(--mint); }
.button--unavailable { color: #3c5045; background: #e0eae3; border-color: #cadad0; box-shadow: none; }
.button-arrow { font-size: 1.27em; font-weight: 450; line-height: 1; white-space: nowrap; }

.section { margin-top: clamp(1.65rem, 3vw, 2.65rem); }
.section-title { margin-bottom: .85rem; }
.section-lead { max-width: 66ch; color: var(--muted); margin-bottom: 1.2rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .8rem 1rem; margin-bottom: .85rem; }
.section-heading .search-box { width: min(100%, 360px); }
.section-heading h1 { font-size: clamp(2.25rem, 4.5vw, 3.9rem); }
.catalog-section { scroll-margin-top: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.05rem; }
.tab { display: inline-flex; align-items: center; justify-content: center; background: var(--mint); border: 1px solid transparent; border-radius: 30px; min-height: 34px; padding: .22rem .9rem; font-size: .9rem; font-weight: 700; text-decoration: none; }
.tab:hover { background: var(--mint-strong); color: var(--forest); }
.tab[aria-current="true"] { background: var(--green); color: var(--white); }
.catalog-count, .empty-message { color: var(--muted); }
.catalog-count { margin-bottom: .7rem; font-size: .86rem; }
.empty-message { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(.42rem, 1vw, .8rem); list-style: none; padding: 0; }
.catalog-grid > li { min-width: 0; display: flex; }
.catalog-card { display: flex; width: 100%; position: relative; flex-direction: column; align-items: center; justify-content: flex-start; gap: .46rem; padding: .54rem .44rem .7rem; color: var(--ink); background: var(--white); border: 1px solid #ecf0ea; border-radius: 13px; text-align: center; text-decoration: none; box-shadow: 0 2px 6px #0d432808; }
.catalog-card:hover { border-color: #9bd7b7; color: var(--forest); box-shadow: 0 4px 14px #15462b14; }
.serial { align-self: flex-start; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .74rem; line-height: 1; }
.card-title { font-size: clamp(.7rem, 1.2vw, .94rem); font-weight: 800; line-height: 1.18; overflow-wrap: anywhere; }
.app-icon { display: block; position: relative; width: min(100%, 96px); aspect-ratio: 1; object-fit: cover; border-radius: 16%; overflow: hidden; }
.app-icon--placeholder { display: flex; flex-direction: column; gap: .3em; align-items: center; justify-content: center; color: #fff8de; box-shadow: inset 0 0 0 1px #ffffff30, 0 3px 7px #0b35251c; padding: .3em; font-size: clamp(.58rem, 1vw, .93rem); font-weight: 800; line-height: 1.04; text-align: center; text-transform: uppercase; letter-spacing: -.03em; background: radial-gradient(ellipse at 25% 12%, var(--app-light, #1d9360), var(--app-dark, #032d22) 78%); }
.app-icon--placeholder span:first-child { display: block; color: #f2d690; font-family: Georgia, serif; font-size: 2.15em; line-height: .75; }
.app-icon--placeholder span + span { max-width: 9ch; overflow-wrap: anywhere; }
.icon-tone-0 { --app-light: #ae1688; --app-dark: #410d39; }
.icon-tone-1 { --app-light: #d6254f; --app-dark: #650a26; }
.icon-tone-2 { --app-light: #862ca7; --app-dark: #30104a; }
.icon-tone-3 { --app-light: #1d9360; --app-dark: #032d22; }
.icon-tone-4 { --app-light: #c32f23; --app-dark: #4d140f; }
.icon-tone-5 { --app-light: #9e561e; --app-dark: #422010; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.pagination .button { min-height: 40px; }
.load-status { margin: .6rem 0 0; text-align: center; font-size: .88rem; color: var(--muted); }

.feature-banner { display: flex; gap: clamp(.9rem, 2.4vw, 2rem); align-items: center; min-height: 144px; background: radial-gradient(ellipse at 14% 20%, #075337, #003b27 60%, #043222); border-radius: var(--radius); color: var(--white); padding: clamp(1rem, 2vw, 1.35rem) clamp(1.15rem, 3.5vw, 2.5rem); }
.feature-icon { width: clamp(64px, 10vw, 112px); flex-shrink: 0; }
.feature-icon .app-icon { width: 100%; font-size: clamp(.72rem, 1.7vw, 1.25rem); }
.feature-copy { padding-left: clamp(.75rem, 2.2vw, 1.8rem); border-left: 1px solid #92baa8; }
.feature-copy h2 { color: var(--white); }
.feature-label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; color: #d4ff7d; margin-bottom: .18rem; }
.feature-copy p { margin: .35rem 0 0; }
.feature-actions { flex-shrink: 0; display: grid; justify-items: stretch; gap: .45rem; margin-left: auto; text-align: center; }
.feature-actions > a:not(.button) { color: #f4fff9; font-size: .9rem; }
.feature-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; list-style: none; padding: 0; }
.feature-card { display: grid; gap: .6rem; align-content: start; min-width: 0; padding: .85rem; border: 1px solid var(--line); background: var(--white); border-radius: 13px; }
.feature-game-link { display: flex; align-items: center; gap: .58rem; color: var(--forest); text-decoration: none; }
.feature-game-link .app-icon { width: 40px; flex-shrink: 0; }
.feature-game-link .app-icon--placeholder { font-size: .5rem; gap: .15rem; }
.feature-game-link strong { overflow-wrap: anywhere; }
.feature-card dl { display: grid; gap: .25rem; margin: 0; color: var(--muted); font-size: .8rem; }
.feature-card dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .4rem; }
.feature-card dd { margin: 0; color: var(--ink); font-weight: 700; }
.feature-card .button { min-height: 35px; font-size: .85rem; }

.guide-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, 1fr); align-items: start; gap: clamp(1.2rem, 3vw, 2.65rem); }
.prose { max-width: 75ch; }
.prose p { margin-bottom: .88rem; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { margin: 1.4rem 0 .55rem; font-size: clamp(1.4rem, 2.55vw, 2rem); }
.prose h3 { margin: 1.05rem 0 .4rem; }
.prose ul, .prose ol { margin: .5rem 0 1.05rem; }
.checklist { padding: clamp(1rem, 2vw, 1.5rem); border-radius: 16px; background: linear-gradient(125deg, #ecf9f1, #def4e9); }
.checklist h2 { margin-bottom: .45rem; font-size: clamp(1.4rem, 2.6vw, 2.12rem); }
.check-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .85rem; align-items: start; padding: .75rem 0; }
.check-row + .check-row { border-top: 1px solid #d4ebdf; }
.check-row:last-child { padding-bottom: 0; }
.check-row h3 { margin: .1rem 0 .22rem; }
.check-row p { line-height: 1.38; font-size: .94rem; }
.check-icon { min-height: 46px; display: grid; place-items: center; position: relative; border-radius: 11px; color: var(--forest); background: #d5f9b8; font-size: 1.35rem; font-weight: 700; line-height: 1; }
.check-icon--phone::before { content: ""; width: 15px; height: 23px; border: 2px solid currentColor; border-radius: 3px; }
.check-icon--phone::after { content: ""; width: 3px; height: 2px; position: absolute; background: currentColor; border-radius: 1px; transform: translateY(7px); }
.check-icon--privacy::before { content: ""; width: 20px; height: 23px; border: 2px solid currentColor; border-radius: 4px 4px 10px 10px; }
.check-icon--privacy::after { content: "✓"; position: absolute; font-size: 13px; }
.check-icon--download::before { content: "↓"; position: absolute; font-size: 27px; transform: translateY(-3px); }
.check-icon--download::after { content: ""; position: absolute; width: 19px; height: 7px; border: solid currentColor; border-width: 0 2px 2px; border-radius: 0 0 3px 3px; transform: translateY(7px); }
.faq { display: grid; gap: .35rem; }
.faq details { border-radius: 10px; background: var(--mint); color: var(--ink); }
.faq summary { cursor: pointer; display: flex; justify-content: space-between; gap: .75rem; align-items: center; font-weight: 700; list-style: none; padding: .57rem .8rem; min-height: 39px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; border: solid currentColor; border-width: 0 1.75px 1.75px 0; padding: 3px; transform: rotate(45deg); margin: 0 .18rem .2rem 0; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: .32rem; }
.faq details p { padding: 0 .8rem .75rem; color: #365448; }

.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .32rem; font-size: .86rem; line-height: 1.2; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { font-weight: 750; }
.crumb-arrow { color: var(--green); font-size: 1.18rem; line-height: 1; }
.game-hero { padding: .8rem clamp(1rem, 2.5vw, 2.1rem) 1.15rem; }
.game-hero::after { background: linear-gradient(90deg, #e5f8ee 30%, rgba(229,248,238,.98) 43%, rgba(229,248,238,.7) 55%, rgba(229,248,238,0) 72%); }
.game-hero .breadcrumbs { position: relative; }
.game-lead { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2rem); min-height: clamp(192px, 21vw, 245px); padding: .8rem 0 .2rem; }
.game-lead > .app-icon { width: clamp(108px, 15vw, 180px); flex-shrink: 0; }
.game-lead > .app-icon--placeholder { font-size: clamp(.85rem, 2vw, 1.65rem); }
.game-intro { max-width: min(60%, 620px); padding-left: clamp(.85rem, 2vw, 1.8rem); border-left: 1px solid #aacdbb; }
.game-intro h1 { font-size: clamp(2rem, 4.1vw, 3.9rem); }
.game-intro p { max-width: 36ch; margin: .45rem 0 .7rem; line-height: 1.4; }
.game-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.game-chip { display: inline-flex; align-items: center; border: 1px solid #bcdccc; border-radius: 50px; padding: .12rem .45rem; color: var(--forest); background: #f5fff8; font-size: .77rem; font-weight: 750; }
.download-links { display: flex; flex-wrap: wrap; gap: .4rem .65rem; }
.aux-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .85rem; font-size: .86rem; font-weight: 700; }
.download-links .button--lime { animation: download-glow 3.5s ease-in-out infinite; }
@keyframes download-glow { 50% { box-shadow: 0 0 19px #91da42a0; } }
.preview-note { background: #fff1c8; border: 1px solid #e5c966; border-radius: 10px; padding: .6rem .85rem; margin-bottom: .7rem; }
.info-layout { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.25fr); gap: clamp(1rem, 3vw, 2.1rem); align-items: start; }
.app-info { width: 100%; border-spacing: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 13px; line-height: 1.32; }
.app-info th, .app-info td { text-align: left; padding: .53rem .64rem; vertical-align: top; overflow-wrap: anywhere; }
.app-info tr + tr > * { border-top: 1px solid #e9efe9; }
.app-info th { width: 48%; font-weight: 750; }
.info-label { display: flex; align-items: flex-start; gap: .35rem; }
.info-symbol { display: inline-grid; place-items: center; flex: 0 0 25px; height: 23px; background: #e3f8d5; color: var(--forest); border-radius: 7px; font-size: .8rem; line-height: 1; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(.45rem, 1.1vw, .85rem); }
.screenshot-grid a { display: block; border: 1px solid var(--line); border-radius: 14px; padding: .23rem; background: var(--white); box-shadow: 0 3px 9px #123a2815; }
.screenshot-grid img { width: 100%; max-height: 375px; aspect-ratio: 9 / 17; object-fit: contain; border-radius: 10px; background: #f0f5f0; }
.screenshot-caption { color: var(--muted); margin-top: .5rem; font-size: .85rem; }
.screenshot-empty { display: grid; align-content: center; min-height: 88px; background: #f5faf6; }
.information-block + .information-block { margin-top: 1.4rem; }
.features-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0; list-style: none; }
.features-list li { background: var(--white); padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 10px; }
.features-list h3 { font-size: 1.02rem; margin-bottom: .22rem; }
.features-list p { font-size: .9rem; }
.install-steps { counter-reset: steps; list-style: none; padding: 0; display: grid; gap: .3rem; }
.install-steps li { counter-increment: steps; display: flex; align-items: baseline; gap: .55rem; border-radius: 9px; padding: .47rem .65rem; background: #edf6ef; }
.install-steps li::before { content: counter(steps); display: inline-grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; background: #cff6ab; color: var(--forest); font-size: .83rem; font-weight: 750; }
.account-panel { background: var(--mint); padding: .85rem 1rem; border-radius: 12px; }
.account-panel > div + div { border-top: 1px solid #cfe9d9; margin-top: .62rem; padding-top: .62rem; }
.account-panel h3 { margin-bottom: .2rem; }
.money-note { display: flex; align-items: flex-start; gap: .65rem; padding: .75rem .9rem; background: #fff7e9; border: 1px solid #f0e6cd; border-radius: 12px; color: #513d19; }
.age-badge { display: inline-block; flex-shrink: 0; font-size: .87rem; font-weight: 800; border: 1px solid #9c7740; border-radius: 6px; padding: .05rem .34rem; }
.related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.related-grid .catalog-card { padding-top: .65rem; }
.game-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(1rem, 3vw, 2rem); }

.page-hero { background: linear-gradient(115deg, #e4f7eb, #d6f0e4); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 3rem); }
.page-hero :is(h1, p) { max-width: 70ch; }
.page-hero h1 { margin-top: .65rem; font-size: clamp(2.3rem, 4.7vw, 4.15rem); }
.page-hero p { margin: .65rem 0 0; color: #2f5748; }
.page-hero .button { margin-top: .95rem; }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; list-style: none; padding: 0; }
.link-card { display: block; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 13px; padding: 1rem 1.1rem; text-decoration: none; }
.link-card:hover { border-color: #8ac8a9; }
.link-card p { margin: .35rem 0 0; color: var(--muted); }
.text-page { width: min(100%, 80ch); }
.text-page + .text-page { margin-top: 1.25rem; }
.payment-prose { margin-bottom: .75rem; }

.site-footer { background: radial-gradient(ellipse at 7% 7%, #084a33, #043b29 63%, #032f21); color: #e6f2eb; padding: 1.5rem 0 1rem; }
.footer-inner { display: grid; grid-template-columns: minmax(235px, 1.5fr) repeat(3, minmax(100px, .8fr)); gap: clamp(1rem, 4vw, 2.6rem); }
.footer-brand { display: flex; align-items: start; padding-right: 1rem; border-right: 1px solid #538474; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-name { font-size: clamp(1.1rem, 2vw, 1.55rem); }
.site-footer .brand-tagline { font-size: clamp(.66rem, 1.28vw, .93rem); }
.site-footer .brand-mark { font-size: 2.65rem; }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: .52rem; letter-spacing: -.02em; }
.site-footer ul { list-style: none; display: grid; gap: .17rem; padding: 0; }
.site-footer a:not(.brand) { color: #eef8f1; font-size: .89rem; text-decoration: none; }
.site-footer a:not(.brand):hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: #d4ff7d; }
.footer-bottom { border-top: 1px solid #3e6e5c; padding-top: .65rem; margin-top: 1rem; font-size: .82rem; color: #d2e5dc; }

@media (max-width: 1050px) {
  .header-inner { min-height: 70px; }
  .header-search { width: 128px; }
  .site-nav a { font-size: .87rem; }
  .brand-mark { font-size: 3.05rem; }
}

@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; min-height: 64px; padding-block: .55rem; gap: .55rem .75rem; }
  .brand-name { font-size: clamp(1.1rem, 3.3vw, 1.45rem); }
  .brand-tagline { font-size: clamp(.66rem, 1.75vw, .8rem); }
  .brand-mark { font-size: 2.8rem; }
  .js .mobile-menu { display: block; }
  .site-nav { flex: 1 0 100%; justify-content: flex-start; flex-wrap: wrap; gap: .25rem .95rem; margin: 0; }
  .site-nav a { padding-block: .3rem .15rem; }
  .header-search { width: min(100%, 320px); }
  .js .site-nav, .js .header-search { display: none; }
  .js .header-inner[data-menu-open="true"] .site-nav { display: flex; }
  .js .header-inner[data-menu-open="true"] .header-search { display: block; }
  .game-hero .hero-art { width: 55%; }
  .game-hero::after { background: linear-gradient(90deg, #e5f8ee 28%, rgba(229,248,238,.95) 43%, rgba(229,248,238,.65) 63%, rgba(229,248,238,0) 91%); }
  .info-symbol { display: none; }
}

@media (max-width: 700px) {
  main { padding-block: 11px 28px; }
  .catalog-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-layout, .info-layout, .game-bottom { grid-template-columns: minmax(0, 1fr); }
  .home-hero { min-height: 280px; }
  .hero-copy { max-width: 67%; }
  .hero-intro { font-size: .89rem; }
  .game-intro { max-width: 75%; }
  .info-symbol { display: inline-grid; }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(3, minmax(75px, 1fr)); }
  .footer-brand { grid-column: 1 / -1; border: 0; }
  .screenshot-grid { max-width: 580px; }
}

@media (max-width: 490px) {
  :root { --radius: 14px; }
  .shell { width: calc(100% - 24px); }
  .home-hero { min-height: 345px; align-items: flex-start; padding: 1.12rem 1rem 5.4rem; }
  .hero-copy { max-width: 100%; }
  .home-hero h1 { max-width: 11ch; font-size: clamp(2.15rem, 9.2vw, 2.8rem); }
  .home-hero .hero-art { width: 78%; top: auto; bottom: 0; height: 56%; object-position: 73% bottom; }
  .home-hero::after { background: linear-gradient(180deg, #e5f8ee 1%, #e5f8ee 39%, rgba(229,248,238,.98) 53%, rgba(229,248,238,.52) 73%, rgba(229,248,238,0) 97%), linear-gradient(90deg, #e5f8ee 13%, rgba(229,248,238,.94) 29%, rgba(229,248,238,0) 68%); }
  .hero-tagline { font-size: 1.04rem; }
  .hero-intro { max-width: 29ch; margin: .45rem 0 .92rem; }
  .button { min-height: 42px; padding-inline: .8rem; }
  .section-heading .search-box { width: 100%; }
  .tabs { gap: .3rem; }
  .tab { font-size: .76rem; min-height: 32px; padding-inline: .63rem; }
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-icon--placeholder { font-size: clamp(.54rem, 2.4vw, .68rem); }
  .feature-banner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; }
  .feature-actions { margin-left: 0; grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-copy p { font-size: .86rem; line-height: 1.3; }
  .game-hero { padding-bottom: .95rem; }
  .game-hero .hero-art { width: 57%; height: 49%; object-position: right center; }
  .game-hero::after { background: linear-gradient(0deg, #e5f8ee 47%, rgba(229,248,238,.95) 61%, rgba(229,248,238,.56) 76%, rgba(229,248,238,.22) 100%), linear-gradient(90deg, #e5f8ee 39%, rgba(229,248,238,.99) 48%, rgba(229,248,238,0) 83%); }
  .game-lead { display: grid; gap: .65rem; align-items: start; min-height: 0; }
  .game-lead > .app-icon { width: 80px; }
  .game-intro { padding: 0; border: 0; max-width: none; }
  .game-intro h1 { font-size: clamp(1.8rem, 7.6vw, 2.35rem); }
  .game-intro p { font-size: .91rem; }
  .breadcrumbs { font-size: .77rem; }
  .download-links { display: grid; justify-items: start; }
  .site-footer { padding-top: 1.15rem; }
  .footer-inner { gap: .8rem; }
  .site-footer a:not(.brand) { font-size: .8rem; }
  .features-list { gap: .5rem; }
}

@media (max-width: 355px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
