:root {
  --bg: #f5f9fd;
  --surface: #fff;
  --surface-2: #e8f2fc;
  --blue: #1a73e8;
  --blue-deep: #0b3a82;
  --ink: #14233a;
  --muted: #52637a;
  --line: #d3e2f2;
  --cta: #1565d8;
  --warn-bg: #fff8e8;
  --warn: #8a5a00;
  --danger: #b42318;
  --ok: #0e7a45;
  --shadow: 0 8px 24px rgba(18, 48, 86, .06);
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", "Noto Sans", sans-serif;
  --bar: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
  overflow-wrap: break-word;
}
html[lang^="hi"] body { line-height: 1.75; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .55em; font-weight: 750; }
h1 { font-size: clamp(1.7rem, 5.4vw, 2.7rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.3rem, 3.6vw, 1.75rem); margin-top: 1.4em; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
a { color: var(--blue-deep); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.skip {
  position: fixed; left: 8px; top: 8px; z-index: 70;
  background: var(--cta); color: #fff; padding: 10px 14px; border-radius: 8px;
  font-weight: 700; text-decoration: none; white-space: nowrap;
  transform: translateY(-150%);
}
.skip:focus {
  top: 74px; transform: none;
}
.skip:focus-visible {
  top: 74px; transform: none;
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 2px solid var(--blue);
}
.site-head .wrap { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.05rem;
  min-height: 48px; white-space: nowrap;
}
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.nav { display: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; flex: none; }
.lang a {
  display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 8px;
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: .9rem;
}
.lang [aria-current="true"] { background: var(--surface-2); color: var(--blue-deep); }
.menu-btn, .menu-close {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
}
.menu-btn svg, .menu-close svg { width: 22px; height: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 18px; border-radius: 12px;
  font: 700 1rem/1.2 var(--font); text-decoration: none; border: 1px solid transparent;
  cursor: pointer; text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 8px 18px -12px rgba(21, 101, 216, .9); }
.btn-ghost { background: #fff; color: var(--blue-deep); border-color: #b9d4f5; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1rem; }

.hero { display: grid; gap: 22px; padding: 28px 0 8px; }
.lede, .lead { color: var(--muted); font-size: 1.05rem; max-width: 42rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.chips li {
  background: var(--surface-2); color: var(--blue-deep); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 650;
}
.hero-shot { justify-self: center; }
.hero-shot img, figure.shot img {
  width: min(260px, 72vw); border-radius: 28px; border: 1px solid var(--line);
  box-shadow: 0 24px 40px -22px rgba(21, 101, 216, .45); background: #fff; margin-inline: auto;
}
figure { margin: 0 0 1.1rem; }
figure.shot { display: grid; justify-items: center; }

.crumbs { font-size: .875rem; color: var(--muted); margin: 0 0 8px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 6px; margin: 0; padding: 8px 0 0; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; padding-block: 8px; }
.page-head { padding: 8px 0 4px; }
.page-body > section { padding-block: 8px 12px; }
.page-body :is(p, ul, ol, .callout, .faq, .table-wrap, .toc, .takeaways) { max-width: 46rem; }
.page-body a:not(.btn) { text-underline-offset: 3px; }
.note { font-size: .875rem; color: var(--muted); }
.callout {
  background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 12px; padding: 14px 16px; margin: 0 0 1rem;
}
.callout--warn { background: var(--warn-bg); border-color: #f0e0b8; border-left-color: var(--warn); }
.callout > :last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
ol.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 10px; }
ol.steps > li {
  counter-increment: step; position: relative; padding: 14px 14px 14px 60px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0;
}
ol.steps > li::before {
  content: counter(step); position: absolute; left: 12px; top: 12px;
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--cta); color: #fff; font-weight: 800;
}
ul.checklist { list-style: none; padding: 0; }
ul.checklist li { position: relative; padding-left: 28px; }
ul.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px;
  border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg);
}
.cards { display: grid; gap: 12px; margin: 0 0 1rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; max-width: none; }
table { width: 100%; border-collapse: collapse; min-width: 420px; font-size: .95rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-size: .88rem; }
tr:last-child > * { border-bottom: 0; }
table.info-table { min-width: 0; }
.info-table th { width: 42%; }

.filters, .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.chip, .tag-row a, .tag {
  min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font: 650 .9rem/1 var(--font); cursor: pointer;
  display: inline-grid; place-items: center; text-decoration: none;
}
.chip[aria-pressed="true"], .tag-row a[aria-current="true"] { background: var(--cta); color: #fff; border-color: transparent; }
.tag { min-height: 0; padding: 3px 10px; font-size: .75rem; background: var(--surface-2); color: var(--blue-deep); }

.game-grid {
  list-style: none; padding: 0; margin: 0 0 1rem; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none;
}
.game-grid.is-clipped .game-card.is-more { display: none; }
.game-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 8px 12px; margin: 0; box-shadow: var(--shadow);
}
.game-card img { width: 100%; border-radius: 10px; background: var(--surface-2); }
.game-card h3, .game-name { font-size: .95rem; margin: 8px 4px 4px; }
.game-card p { font-size: .8rem; color: var(--muted); margin: 0 4px; line-height: 1.45; }

.post-grid { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 14px; max-width: none; }
.post-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; margin: 0; box-shadow: var(--shadow);
}
.post-card .thumb { aspect-ratio: 16/10; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.post-card .thumb img.phone { width: auto; height: 100%; object-fit: contain; }
.post-card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.post-card h3 { font-size: 1.02rem; margin: 0; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.post-hero {
  display: grid; place-items: center; margin: 0 0 16px; padding: 16px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); max-width: 46rem;
}
.post-hero img { max-height: 240px; width: auto; border-radius: 16px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: .85rem; margin: 0 0 12px; }
.takeaways, .toc {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 0 0 16px;
}
.takeaways { border-left: 4px solid var(--blue); }
.takeaways h2, .toc h2 { font-size: 1.05rem; margin: 0 0 .4em; }
.toc a { color: var(--ink); }

.faq { display: grid; gap: 8px; margin: 0 0 1rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
  cursor: pointer; min-height: 52px; padding: 12px 44px 12px 14px; position: relative;
  font-weight: 700; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: #b9d4f5; }
.faq .answer { padding: 0 14px 12px; }
.faq .answer p { margin: 0; }

.cta-panel {
  margin: 28px 0; padding: 26px 16px; text-align: center;
  background: var(--surface-2); border: 1px solid #c5daf3; border-radius: 20px; max-width: none;
}
.answer-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 16px; padding: 16px 16px 8px; margin: 0 0 20px; max-width: 46rem;
}
.answer-card h2 { font-size: 1.05rem; margin: 0 0 .35em; }
.answer-card > p { margin: 0 0 .75em; }
.fact-list { display: grid; gap: 6px; margin: 0 0 .8em; max-width: none; }
.fact-list div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 8px; align-items: baseline; }
.fact-list dt { font-weight: 750; color: var(--ink); }
.fact-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .fact-list div { grid-template-columns: 1fr; gap: 0; }
}
.cta-panel h2 { margin-top: 0; }
.cta-panel p { margin-inline: auto; }
.cta-panel .btn-row { justify-content: center; }

.site-foot { margin-top: 36px; background: var(--surface-2); border-top: 1px solid var(--line); padding: 28px 0 20px; color: var(--muted); font-size: .92rem; }
.foot-grid { display: grid; gap: 18px; }
.foot-grid h2 { font-size: 1rem; margin: 0 0 .3em; color: var(--ink); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid a:not(.btn) { color: var(--ink); text-decoration: none; display: inline-block; padding-block: 8px; }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.disclaimer p { margin: 0; }
.age {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 2px solid var(--danger); color: var(--danger); border-radius: 50%; font-weight: 800; font-size: .85rem;
}
.copy { margin: 14px 0 0; font-size: .8rem; }

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
}
.action-bar .btn { min-height: 48px; padding: 8px 10px; }
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(20, 35, 58, .46); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
  background: #fff; padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  overflow: auto; display: flex; flex-direction: column; gap: 4px;
}
.drawer-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.drawer-panel nav { display: flex; flex-direction: column; }
.drawer-panel nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 10px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 650;
}
.drawer-panel nav a[aria-current="page"] { background: var(--surface-2); color: var(--blue-deep); }
.no-scroll { overflow: hidden; }
.err { padding: 48px 0 64px; text-align: center; }
.err .btn-row { justify-content: center; }
.link-cols { display: grid; gap: 4px 24px; max-width: none; }
.link-cols ul { list-style: none; padding: 0; margin: 0; }
.link-cols a { display: inline-block; padding-block: 8px; }

@media (min-width: 600px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .link-cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .hero { grid-template-columns: 1.3fr .7fr; align-items: center; padding-block: 48px 20px; }
  .hero-shot { justify-self: end; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .nav { display: flex; gap: 2px; margin-right: 8px; }
  .nav a {
    display: grid; place-items: center; min-height: 44px; padding: 0 8px;
    color: var(--ink); text-decoration: none; font-weight: 650; font-size: .88rem; border-radius: 10px;
    white-space: nowrap;
  }
  .nav a[aria-current="page"], .nav a:hover { background: var(--surface-2); color: var(--blue-deep); }
  .drawer { display: none; }
}
.dl-wait {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: 24px; background: rgba(20, 35, 58, .46);
}
.dl-card {
  width: min(340px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 28px 22px 22px; text-align: center; box-shadow: var(--shadow);
}
.dl-label { margin: 0; color: var(--muted); font-weight: 650; }
.dl-num { margin: 8px 0 16px; font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--blue-deep); }
.dl-cancel { min-width: 140px; }

@media (hover: hover) {
  .game-card, .post-card, .btn { transition: transform .2s ease, border-color .2s ease; }
  .game-card:hover, .post-card:hover { transform: translateY(-2px); border-color: #b9d4f5; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
