:root {
  color-scheme: dark;
  --page: #101512;
  --surface: #192219;
  --ink: #f6f5e9;
  --muted: #b2bca9;
  --line: #4c5b3f;
  --accent: #c5f45a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; scroll-behavior: smooth; }
body { margin: 0; background: #1b221c; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { color: #101512; background: var(--accent); }
.catalog-page { padding: 12px; }
.site-shell { max-width: 1480px; margin: 0 auto; overflow: clip; border: 1px solid #ffffff12; border-radius: 22px; background: var(--page); box-shadow: 0 18px 80px #00000026; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-180%); padding: 12px 18px; border-radius: 8px; background: var(--accent); color: #101512; }
.skip:focus { transform: none; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); }
.header-row { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; font-size: 24px; font-weight: 750; letter-spacing: -.8px; line-height: 1.2; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 550; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; transition: color .18s ease; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--accent); }
.main-nav .language { min-width: 48px; margin-left: 2px; padding-left: 28px; border-left: 1px solid #69765d; font-weight: 450; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 4px 0; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.fallback-nav { display: none; }
.catalog-main { padding-bottom: 40px; }
.home-intro { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 160px; padding-block: 18px; }
.intro-copy { position: relative; z-index: 2; }
.home-intro h1 { margin: 0; font-size: clamp(32px, 3.2vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.home-intro h1 span { color: var(--accent); }
.home-intro p { margin: 10px 0 0; color: #e1e5d5; font-size: 14px; line-height: 1.65; }
.intro-art { position: absolute; z-index: -1; right: -10px; bottom: -8px; width: min(52%, 540px); height: 180px; object-fit: contain; object-position: right bottom; pointer-events: none; }
.home-intro::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, #101512 8%, #101512ed 31%, #10151200 66%); pointer-events: none; }
.games-section { scroll-margin-top: 28px; }
.catalog-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.catalog-heading h2 { margin: 0; flex-shrink: 0; font-size: clamp(25px, 2.2vw, 29px); font-weight: 750; line-height: 1.3; letter-spacing: -.04em; }
.total-count { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 9px; background: #2a3822; color: var(--accent); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.heading-rule { height: 1px; margin-left: 8px; flex: 1; background: #ffffff18; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.catalog-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.product-card { display: flex; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color .18s ease; }
.product-link { display: flex; flex: 1; min-width: 0; flex-direction: column; overflow: hidden; border-radius: inherit; }
.product-link:focus-visible { outline-offset: -3px; }
.product-art { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 2 / 1; width: 100%; overflow: hidden; background: #182522; }
.cover-image { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.responsive-image { display: block; width: 100%; height: 100%; }
@media (hover: hover) {
  .product-card:hover { border-color: #788671; }
  .product-link:hover .cover-image { transform: scale(1.035); }
  .product-link:hover .product-title { color: var(--accent); }
}
.art-label { position: absolute; top: 16px; left: 16px; padding: 6px 9px; border: 1px solid #ffffff26; border-radius: 6px; color: #f6f5e9; background: #101512d9; font-size: 10px; line-height: 1.25; font-weight: 650; letter-spacing: .06em; }
.art-placeholder { display: grid; place-items: center; height: 100%; font-size: 32px; color: var(--accent); }
.product-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 15px; }
.product-title { margin: 0; font-size: clamp(17px, 1.55vw, 21px); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.product-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 7px 0 12px; color: #c6cebf; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin-top: auto; }
.product-category { padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.game-card-metrics { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 11px; color: var(--ink); font-size: 13px; font-weight: 550; line-height: 1.4; font-variant-numeric: tabular-nums; }
.game-card-metric { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.game-card-metric svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 18px; max-width: 100%; min-height: 44px; padding: 11px 18px; border: 1px solid #c5f45a; border-radius: 9px; background: var(--accent); color: #10180a; font-size: 13px; line-height: 1.5; font-weight: 650; text-align: center; transition: background-color .18s ease, transform .18s ease; }
.primary-action:hover { border-color: #d9ff88; background: #d9ff88; transform: translateY(-1px); }
.primary-action:active { transform: translateY(0); }
.arrow { font-size: 21px; font-weight: 450; line-height: 1; }
.availability-note { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 13px; }
.site-footer .container { border-top: 1px solid #ffffff18; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 23px; }
.footer-note { display: flex; flex-shrink: 0; flex-direction: column; gap: 6px; }
.footer-note strong { font-size: 14px; font-weight: 650; }
.footer-note > span { color: var(--muted); font-size: 11px; }
.footer-row nav { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 23px; font-size: 12px; }
.footer-row nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-row nav a:hover { color: var(--accent); }
.footer-email { overflow-wrap: anywhere; }
.empty404 { max-width: 680px; min-height: 50vh; margin: 0 auto; padding: 72px 24px; text-align: center; }
.empty404 h1 { margin: 20px 0; font-size: 80px; color: var(--accent); }
.empty404 p { color: var(--muted); line-height: 1.8; }
.empty404 .button { display: inline-flex; margin-top: 20px; padding: 15px 24px; border-radius: 9px; color: #101512; background: var(--accent); }
.game-main { max-width: 1040px; padding-block: 26px 44px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs a:hover, .game-related a:hover, .game-return a:hover { color: var(--accent); }
.game-intro { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 48px; padding-block: 28px 40px; }
.game-eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.game-overview { min-width: 0; }
.game-overview h1 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: anywhere; }
.game-lead { max-width: 48ch; margin: 18px 0 24px; color: #c6cebf; font-size: 16px; line-height: 1.8; }
.game-cover { width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 16px; }
.game-picture { display: block; min-width: 0; }
.game-related { display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.game-related a { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; }
.game-features, .game-guide, .game-screenshots, .game-faq { max-width: 860px; margin-inline: auto; }
.game-features { display: block; padding-block: 28px; border-block: 1px solid #ffffff18; }
.game-main h2 { margin: 0; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.35; letter-spacing: -.025em; text-wrap: balance; }
.game-features ul { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 18px 0 0; padding: 0; list-style: none; color: #dce4d4; font-size: 14px; line-height: 1.8; }
.game-features li::before { content: "•"; margin-right: 10px; color: var(--accent); }
.game-screenshots { padding-top: 40px; }
.screenshot-grid { display: flex; justify-content: center; align-items: flex-start; gap: 24px; margin: 24px auto 0; }
.game-screenshot { flex: 0 1 300px; min-width: 0; max-width: calc(50% - 12px); margin: 0; }
.game-screenshot--wide { flex-basis: 520px; max-width: 100%; }
.screenshot-grid--mixed { flex-wrap: wrap; }
.game-screenshot a, .responsive-screenshot { display: block; width: 100%; }
.screenshot-grid img { width: 100%; height: auto; border-radius: 12px; }
.game-faq { display: block; padding-top: 40px; }
.game-faq > div { margin-top: 18px; }
.game-faq details { border-bottom: 1px solid #ffffff18; }
.game-faq summary { padding-block: 18px; cursor: pointer; font-size: 15px; line-height: 1.6; }
.game-faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.game-faq p { margin: 0 0 20px; color: #b2bca9; font-size: 14px; line-height: 1.8; }
.game-guide { display: block; padding-top: 32px; }
.game-guide ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 40px; margin: 24px 0 0; padding-inline-start: 24px; }
.game-guide li::marker { color: var(--accent); font-size: 13px; font-variant-numeric: tabular-nums; }
.game-guide h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.game-guide p { margin: 0; color: #b2bca9; font-size: 14px; line-height: 1.8; }
.game-return { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; color: var(--muted); font-size: 13px; }
.game-return a { display: inline-flex; align-items: center; min-height: 44px; }
.information-main { padding-block: 24px 64px; }
.information-heading { max-width: 760px; margin-block: 20px 40px; }
.information-heading h1 { margin: 0 0 20px; font-size: clamp(30px, 4vw, 48px); line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.information-heading > p { color: #c3cebc; font-size: 18px; line-height: 1.8; }
.information-content { max-width: 800px; }
.information-content section { padding-block: 28px; border-top: 1px solid #ffffff20; }
.information-content h2 { margin: 0 0 16px; font-size: 23px; line-height: 1.4; }
.information-content p { margin: 0; color: #b2bca9; line-height: 1.9; overflow-wrap: anywhere; }
.information-games { display: grid; gap: 24px; margin: 24px 0 0; padding-inline-start: 24px; }
.information-games li::marker { color: var(--accent); }
.information-games h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.5; }
.information-games h3 a { text-underline-offset: 5px; }
.information-contact { display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid #ffffff20; padding-top: 28px; font-size: 14px; }
.information-contact a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
@media (max-width: 599px) { .information-heading > p { font-size: 16px; } .information-heading { margin-bottom: 24px; } }
@media (max-width: 900px) {
  .game-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 20px 28px; }
  .game-cover { max-width: 680px; }
  .game-overview h1 { max-width: 20ch; }
  .game-features { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .game-faq, .game-guide { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .game-lead { font-size: 15px; }
}
@media (max-width: 600px) {
  .game-guide ol { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .screenshot-grid { gap: 12px; }
  .game-screenshot { max-width: calc(50% - 6px); }
  .game-screenshot--wide { max-width: 100%; }
  .screenshot-grid--mixed .game-screenshot:not(.game-screenshot--wide) { max-width: 260px; }
}
@media (min-width: 1600px) { .home-intro { min-height: 164px; } }
@media (max-width: 1100px) {
  .catalog-page { padding: 12px; }
  .container { width: calc(100% - 64px); }
  .home-intro { min-height: 150px; }
  .home-intro h1 { font-size: 40px; }
  .product-grid { gap: 24px; }
  .footer-row { flex-wrap: wrap; gap: 8px 28px; }
  .footer-row nav { gap: 3px 22px; }
}
@media (max-width: 760px) {
  .catalog-page { padding: 0; background: var(--page); }
  .site-shell { border: 0; border-radius: 0; box-shadow: none; }
  .container { width: calc(100% - 40px); }
  .header-row { min-height: 64px; flex-wrap: wrap; gap: 0 16px; }
  .brand { gap: 10px; font-size: 22px; letter-spacing: -.6px; }
  .brand-mark { width: 32px; height: 32px; }
  .main-nav { gap: 24px; width: 100%; padding-block: 4px 10px; font-size: 14px; }
  .main-nav .language { padding-left: 22px; }
  .js .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 63px; left: 0; right: 0; padding: 16px 20px; border-bottom: 1px solid #536244; background: #151e16; box-shadow: 0 18px 28px #00000040; }
  .js .main-nav.is-open { display: flex; }
  .fallback-nav { display: flex; align-items: center; gap: 24px; padding-block: 8px; }
  .fallback-nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; }
  .home-intro { min-height: 132px; padding-block: 14px; }
  .home-intro h1 { font-size: clamp(30px, 5.9vw, 36px); letter-spacing: -.045em; }
  .home-intro p { max-width: 350px; margin-top: 8px; font-size: 13px; }
  .intro-art { right: -10px; width: 55%; max-width: 330px; height: 128px; opacity: .55; }
  .home-intro::after { background: linear-gradient(90deg, #101512 0%, #101512ed 27%, #10151240 70%); }
  .catalog-heading { gap: 12px; margin-bottom: 14px; }
  .catalog-heading h2 { font-size: 26px; }
  .total-count { min-width: 33px; height: 28px; padding-inline: 6px; border-radius: 7px; font-size: 16px; }
  .heading-rule { margin-left: 3px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .product-copy { padding: 12px; }
  .primary-action { min-height: 46px; padding: 11px 16px; font-size: 13px; }
  .art-label { top: 12px; left: 12px; }
  .catalog-main { padding-bottom: 36px; }
  .footer-row { display: block; padding-block: 25px; }
  .footer-note strong { font-size: 13px; }
  .footer-note > span { font-size: 11px; }
  .footer-row nav { display: flex; gap: 0 25px; margin-top: 12px; font-size: 12px; }
  .footer-row .footer-email { flex-basis: 100%; min-height: 44px; }
}
@media (max-width: 389px) {
  .container { width: calc(100% - 32px); }
  .home-intro { min-height: 128px; }
  .home-intro h1 { font-size: 30px; }
  .home-intro p { max-width: 285px; font-size: 12px; }
  .intro-art { right: -18px; width: 56%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .product-link:hover .cover-image, .primary-action:hover { transform: none; }
}

[data-game="emoji-gacha"] .product-art { background: #19142e; }
@media (min-width: 761px) and (max-height: 720px) {
  .home-intro { min-height: 144px; padding-block: 14px; }
  .home-intro h1 { font-size: 38px; }
  .intro-art { height: 156px; }
}

/* Game discovery: keep navigation compact; guides stay after the game cards. */
.discovery-links{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px;font-size:14px;font-weight:650}
.discovery-links a{display:inline-flex;align-items:center;gap:10px;min-height:32px;text-underline-offset:4px}
.cooking-help{max-width:1040px;margin:48px auto 0;padding-top:28px;border-top:1px solid var(--line,#344034)}
.cooking-help h2{font-size:clamp(22px,3vw,30px);margin:0 0 20px}
.cooking-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:32px;margin-bottom:32px}
.cooking-help h3{font-size:18px;line-height:1.5;margin:0 0 10px}
.cooking-help p{line-height:1.85;color:var(--muted,#aeb7a7);margin:0}
.cooking-faq details{padding:16px 0;border-top:1px solid var(--line,#344034)}
.cooking-faq summary{cursor:pointer;font-weight:650;line-height:1.6}
.cooking-faq p{padding-top:12px}
@media(max-width:640px){.cooking-comparison{grid-template-columns:1fr;gap:24px}.cooking-help{margin-top:32px}.discovery-links{margin-bottom:18px}}
