/* Small-screen reading: short headers, usable contents, readable comparison tables. */
.header-language{display:none}
.article-toc summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;font-weight:700;color:var(--brand-wine);cursor:pointer;list-style:none}
.article-toc summary::-webkit-details-marker{display:none}
.article-toc summary::after{content:'+';font-size:22px;font-weight:400;flex:none}
.article-toc details[open]>summary::after{content:'−'}
.article-toc ol{margin-top:12px}
.article-toc li>a{display:block;padding-block:8px;line-height:1.55}
.page-jump{max-width:1072px;width:calc(100% - 48px);margin:24px auto}
.page-jump ol{display:flex;flex-wrap:wrap;gap:8px 32px}
.table-scroll-hint{font-size:13px;line-height:1.5;color:var(--ink-muted);margin:16px 0 8px}
.table-scroll-hint[hidden]{display:none}
.table-scroll-hint:not([hidden])+.guide-table-scroll,.table-scroll-hint:not([hidden])+.table-wrap{margin-top:0}
.guide-table-scroll,.table-wrap{overscroll-behavior-x:contain}
/* Only one expand indicator, including FAQs retained from the reference template. */
.faq summary .plus,.faq-lg summary .plus{display:none}
.correction-panel .report-form .btn{background:var(--brand-gold);color:var(--deep-wine)}
@media(max-width:900px){
  .site-header .container{padding:8px 16px;min-height:64px;gap:8px}
  .site-header .brand{flex:1;gap:8px}
  .site-header .brand-mark{width:40px;height:40px}
  .site-header .brand-product{font-size:21px}
  .site-header .brand-prefix{font-size:10px}
  .header-language{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:4px;color:var(--brand-wine);font-size:14px;font-weight:700;border-radius:8px}
  .site-header .nav-language{display:none!important}
  .site-header.nav-ready .nav-toggle{width:44px;min-height:44px;padding:10px;flex:none}
  .nav-toggle>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .site-header .nav{border-top:1px solid var(--line);max-height:calc(100dvh - 80px);overscroll-behavior:contain}
  .site-header .nav>a:not(.btn){border-bottom:1px solid var(--line);border-radius:0}
}
@media(max-width:640px){
  html{scroll-padding-top:76px}
  h1,.h1,.h1-hero,.h1-game{font-size:30px;line-height:1.25;letter-spacing:-.025em}
  .h1-hero{font-size:32px}
  .page-hero .container,.page-hero-lg .container{padding-block:24px}
  .page-hero .eyebrow{margin-bottom:12px;font-size:11px}
  .page-hero .crumbs{padding-bottom:16px}
  .crumbs ol{font-size:12px;line-height:1.5}
  .lede,.lede-hero{margin-bottom:16px}
  .byline{font-size:13px;line-height:1.6;margin-block:12px 20px}
  .section,.section-mid{padding-block:32px}
  .section-tight{padding-block:28px}
  .section-head{margin-bottom:24px}
  .card,.feature,.team-card{padding:20px}
  .page-quality p,.body,.guide-section p.body{line-height:1.75}
  html[lang='hi-IN'] .page-quality p,html[lang='hi-IN'] .guide-section p.body{line-height:1.9}
  .guide-answer{margin:20px 0;padding:16px}
  .guide-answer p{font-size:16px;line-height:1.75}
  .article-toc{margin-block:20px;padding:8px 16px}
  .article-toc ol{padding-left:20px;margin-bottom:8px;gap:0}
  .article-toc li>a{min-height:44px}
  .article-toc summary{min-height:48px}
  .page-jump{width:calc(100% - 32px)}
  .page-jump ol{display:block}
  .article-body .guide-section{margin-top:32px}
  .article-body .guide-section h2,.page-quality :is(h2,h3){scroll-margin-top:88px}
  .guide-table th,.guide-table td{padding:12px;min-width:110px;line-height:1.65}
  .rank-table{min-width:0;width:100%;table-layout:fixed}
  .rank-table th:first-child{width:34%}
  .rank-table td,.rank-table th{padding:12px;font-size:14px;overflow-wrap:break-word}
  .editorial-guide-grid .text{padding:20px}
  .editorial-guide-grid .h3{font-size:21px;margin-block:8px 12px}
  .editorial-guide-grid .thumb{aspect-ratio:16/9}
  .editorial-guide-grid .text p{margin-bottom:12px}
  .related a{min-height:52px;padding:14px 16px;line-height:1.5}
  .faq summary,.faq-lg summary{padding:16px 48px 16px 16px}
  .faq summary::after,.faq-lg summary::after{right:16px}
  .foot-grid{gap:24px 16px}
  .foot-grid li>a{font-size:14px;min-height:44px}
  .socials{flex-wrap:wrap;gap:8px}
  .socials a{flex:1;justify-content:center;padding-inline:12px}
  body[data-page='download'] .page-hero .side{display:none}
  body[data-page='download'] .dl-panel{padding:16px;margin-top:16px!important}
  body[data-page='download'] .dl-meta{margin-top:16px;gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden}
  body[data-page='download'] .dl-meta>div{border:0;border-radius:0;padding:10px 12px}
  body[data-page='download'] .dl-meta>div:nth-child(odd){border-right:1px solid var(--line)}
  body[data-page='download'] .dl-meta>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  body[data-page='download'] .dl-meta strong{font-size:16px}
  body[data-page='download'] .dl-meta span{font-size:11px;margin-top:2px}
  body[data-page='download'] .qr-card{display:none}
  body[data-page='how-to-play'] .game-hero{min-height:0;aspect-ratio:16/9;max-height:220px}
  .hero-art{max-width:360px;margin-inline:auto}
  .hero-art .float{display:none}
}
@media(max-width:359px){
  .site-header .brand-product{font-size:18px}
  .site-header .brand-mark{width:36px;height:36px}
  .site-header .container{gap:6px}
  h1,.h1,.h1-hero,.h1-game{font-size:28px}
}

/* Full-size diagram access keeps fine card details available on small screens. */
.article-figure .image-fullsize{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;color:#792747;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.article-figure .image-fullsize:focus-visible{outline:2px solid #792747;outline-offset:4px;border-radius:3px}
