:root {
  --green: #01875f;
  --green-dark: #006c4c;
  --green-soft: #e8f5ee;
  --ink: #202124;
  --muted: #5f6368;
  --line: #e3e6e8;
  --surface: #ffffff;
  --soft: #f7f8f8;
  --warning: #9a6700;
  --warning-soft: #fff7df;
  --shadow: 0 1px 2px rgba(32, 33, 36, .08), 0 2px 8px rgba(32, 33, 36, .06);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--surface); font-family: Arial, "Noto Sans", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid rgba(1, 135, 95, .32); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--green-dark); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.header-inner { display: flex; width: min(1200px, calc(100% - 32px)); min-height: 68px; margin: 0 auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; font-weight: 700; letter-spacing: -.35px; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.primary-nav { display: flex; align-self: stretch; align-items: stretch; gap: 6px; }
.primary-nav a { position: relative; display: inline-flex; padding: 0 13px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--green-dark); text-decoration: none; }
.primary-nav a[aria-current="page"]::after { position: absolute; right: 13px; bottom: 0; left: 13px; height: 3px; border-radius: 3px 3px 0 0; background: var(--green); content: ""; }
.header-actions { display: flex; margin-left: auto; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle::before, .menu-toggle::after, .menu-toggle span { display: block; width: 21px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; content: ""; }
.button { display: inline-flex; min-height: 44px; padding: 10px 22px; border: 1px solid transparent; border-radius: 9px; align-items: center; justify-content: center; gap: 8px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.button:hover { text-decoration: none; }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: #c7cbce; color: var(--green-dark); background: #fff; }
.button-secondary:hover { border-color: var(--green); background: var(--green-soft); }
.button-small { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.page-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.breadcrumbs { display: flex; padding: 22px 0 0; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.breadcrumbs ol { display: flex; margin: 0; padding: 0; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: 8px; color: #9aa0a6; content: "/"; }
.app-layout { display: grid; padding: 40px 0 72px; grid-template-columns: minmax(0, 1fr) 304px; gap: 56px; align-items: start; }
.main-column, .sidebar { min-width: 0; }
.app-hero { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 26px; align-items: start; }
.app-icon { width: 112px; height: 112px; border-radius: 23px; box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 6px; color: var(--green-dark); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
h1, h2, h3 { margin-top: 0; line-height: 1.22; text-wrap: balance; }
h1 { margin-bottom: 8px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.2px; }
h2 { margin-bottom: 18px; font-size: clamp(22px, 2.5vw, 28px); letter-spacing: -.45px; }
h3 { margin-bottom: 8px; font-size: 18px; }
.publisher { margin: 0; color: var(--green-dark); font-weight: 700; }
.hero-summary { max-width: 680px; margin: 10px 0 0; color: var(--muted); }
.app-facts { display: grid; margin: 26px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-fact { min-width: 0; padding: 2px 16px; border-right: 1px solid var(--line); text-align: center; }
.app-fact:first-child { padding-left: 0; }
.app-fact:last-child { padding-right: 0; border-right: 0; }
.fact-value { display: block; color: var(--ink); font-weight: 700; }
.fact-label { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.app-facts, .hero-actions, .trust-note, .app-hero .status-message { grid-column: 2; }
.section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.section-heading { display: flex; margin-bottom: 18px; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { max-width: 740px; margin: -7px 0 22px; color: var(--muted); }
.rail-controls { display: flex; gap: 8px; }
.rail-button { display: inline-grid; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: var(--ink); background: #fff; cursor: pointer; }
.rail-button:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-soft); }
.screenshot-rail { display: grid; max-width: 100%; padding: 2px 2px 14px; overflow-x: auto; overscroll-behavior-inline: contain; grid-auto-columns: clamp(184px, 32vw, 242px); grid-auto-flow: column; gap: 14px; scroll-snap-type: inline mandatory; scrollbar-color: #c5c8ca transparent; }
.screenshot-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #111; aspect-ratio: 345 / 592; scroll-snap-align: start; }
.screenshot-card img { width: 100%; height: 100%; object-fit: cover; }
.prose p { margin: 0 0 15px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 12px 0 18px; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.content-grid, .card-grid, .steps-grid { display: grid; gap: 16px; }
.content-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card, .game-card, .step-card, .notice, .download-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card, .game-card, .step-card { padding: 20px; }
.info-card p, .game-card p, .step-card p { margin: 0; color: var(--muted); }
.step-number { display: grid; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; place-items: center; color: #fff; background: var(--green); font-weight: 800; }
.chip-row { display: flex; margin: 16px 0 0; padding: 0; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-flex; min-height: 32px; padding: 6px 12px; border-radius: 999px; align-items: center; color: #365b4e; background: var(--green-soft); font-size: 13px; font-weight: 700; }
.notice { padding: 18px 20px; border-color: #ead9a5; color: #5e4700; background: var(--warning-soft); }
.notice strong { color: #493800; }
.download-panel { display: grid; padding: 24px; border-color: #b9dfcf; background: linear-gradient(135deg, #f5fbf8 0%, #e8f5ee 100%); grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.download-panel h2, .download-panel h3, .download-panel p { margin-bottom: 5px; }
.download-panel p { color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-item summary { position: relative; padding: 17px 48px 17px 18px; cursor: pointer; list-style: none; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 15px; right: 18px; color: var(--green-dark); content: "+"; font-size: 22px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 18px 18px; color: var(--muted); }
.faq-answer p { margin: 0; }
.sidebar { position: sticky; top: 94px; }
.sidebar-section + .sidebar-section { margin-top: 34px; }
.sidebar h2 { margin-bottom: 16px; font-size: 22px; }
.support-list, .recommendation-list { display: grid; gap: 10px; }
.support-link { display: block; padding: 13px 14px; border-radius: 12px; color: var(--ink); }
.support-link:hover { background: var(--soft); text-decoration: none; }
.support-link strong, .support-link span { display: block; }
.support-link span { margin-top: 2px; color: var(--muted); font-size: 13px; }
.recommendation-card { display: grid; min-width: 0; padding: 10px; border-radius: 15px; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; color: var(--ink); }
.recommendation-card:hover { background: var(--soft); text-decoration: none; }
.recommendation-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.recommendation-card > span { display: block; min-width: 0; }
.recommendation-card strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recommendation-card > span > span { display: block; overflow: visible; color: var(--muted); font-size: 13px; line-height: 1.35; white-space: normal; }
.page-hero { padding: 52px 0 36px; }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 32px; align-items: center; }
.page-hero h1 { max-width: 780px; margin-bottom: 14px; }
.page-hero p { max-width: 740px; margin: 0; color: var(--muted); font-size: 18px; }
.page-hero img { width: 120px; height: 120px; border-radius: 25px; box-shadow: var(--shadow); }
.article-layout { display: grid; padding: 0 0 72px; grid-template-columns: minmax(0, 1fr) 304px; gap: 56px; align-items: start; }
.article-card { min-width: 0; }
.article-meta { display: flex; margin: 0 0 20px; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13px; }
.game-card-media { display: grid; min-height: 128px; margin: -20px -20px 18px; overflow: hidden; border-radius: 17px 17px 0 0; place-items: center; color: #fff; background: linear-gradient(135deg, #79151b, #e1303b); font-size: 22px; font-weight: 800; }
.game-card-media img { width: 100%; height: 150px; object-fit: cover; }
.game-card[hidden] { display: none; }
.filter-row { display: flex; margin: 0 0 22px; flex-wrap: wrap; gap: 9px; }
.filter-button { min-height: 40px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; cursor: pointer; }
.filter-button:hover, .filter-button[aria-pressed="true"] { border-color: #a8d8c4; color: var(--green-dark); background: var(--green-soft); }
.spec-table { width: 100%; overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; border-radius: 14px; }
.spec-table th, .spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 34%; color: var(--muted); background: var(--soft); font-size: 14px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.site-footer { padding: 38px 0 92px; border-top: 1px solid var(--line); background: var(--soft); }
.footer-inner { display: grid; width: min(1120px, calc(100% - 32px)); margin: 0 auto; grid-template-columns: 1.2fr .8fr .8fr; gap: 36px; }
.footer-brand p, .footer-note { max-width: 440px; color: var(--muted); font-size: 14px; }
.footer-links h2 { margin-bottom: 10px; font-size: 15px; }
.footer-links a { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; }
.footer-bottom { width: min(1120px, calc(100% - 32px)); margin: 30px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.mobile-install { position: fixed; z-index: 45; right: 0; bottom: 0; left: 0; display: none; padding: 10px 16px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); }
.mobile-install .button { width: 100%; }
.status-message { min-height: 22px; margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.not-found { display: grid; min-height: calc(100vh - 220px); padding: 60px 0; place-items: center; text-align: center; }
.not-found img { width: min(320px, 85vw); margin: 0 auto 24px; }
@media (max-width: 960px) {
  .app-layout, .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sidebar { position: static; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px; }
  .sidebar-section + .sidebar-section { margin-top: 0; }
  .recommendation-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header-inner { min-height: 62px; }
  .brand { font-size: 18px; }
  .brand img { width: 34px; height: 34px; }
  .menu-toggle { display: block; }
  .header-actions .button { display: none; }
  .primary-nav { position: absolute; top: 62px; right: 0; left: 0; display: none; padding: 8px 16px 14px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .primary-nav[data-open="true"] { display: grid; }
  .primary-nav a { min-height: 44px; padding: 0 12px; border-radius: 10px; }
  .primary-nav a[aria-current="page"] { background: var(--green-soft); }
  .primary-nav a[aria-current="page"]::after { display: none; }
  .app-layout { padding-top: 28px; }
  .app-hero { grid-template-columns: 84px minmax(0, 1fr); gap: 18px; }
  .app-icon { width: 84px; height: 84px; border-radius: 18px; }
  h1 { font-size: clamp(27px, 8vw, 36px); letter-spacing: -.8px; }
  .app-facts, .hero-actions, .trust-note, .app-hero .status-message { grid-column: 1 / -1; }
  .app-facts { margin: 22px 0; }
  .hero-actions .button { flex: 1 1 180px; }
  .content-grid, .card-grid, .steps-grid, .footer-inner, .sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar-section + .sidebar-section { margin-top: 8px; }
  .download-panel { grid-template-columns: minmax(0, 1fr); }
  .download-panel .button { width: 100%; }
  .page-hero { padding-top: 34px; }
  .page-hero-inner { grid-template-columns: minmax(0, 1fr) 76px; gap: 18px; }
  .page-hero img { width: 76px; height: 76px; border-radius: 17px; }
  .page-hero p { grid-column: 1 / -1; font-size: 16px; }
  .mobile-install { display: block; }
  .site-footer { padding-bottom: 110px; }
}
@media (max-width: 480px) {
  .page-shell, .header-inner, .footer-inner, .footer-bottom { width: min(100% - 24px, 1120px); }
  .app-hero { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .app-icon { width: 72px; height: 72px; border-radius: 16px; }
  .publisher { font-size: 14px; }
  .app-fact { padding: 0 9px; }
  .fact-value { font-size: 14px; }
  .fact-label { font-size: 12px; }
  .screenshot-rail { grid-auto-columns: 72vw; }
  .rail-controls { display: none; }
  .recommendation-list { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 28px 0; }
  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { padding-bottom: 4px; border-bottom: 0; }
  .spec-table td { padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
