/* Google search inspired theme: white surfaces, hairline borders, blue links, four-colour accents. */
:root {
    --blue: #1a73e8;
    --blue-dark: #1558b0;
    --blue-soft: #e8f0fe;
    --red: #ea4335;
    --red-soft: #fce8e6;
    --yellow: #fbbc04;
    --yellow-soft: #fef7e0;
    --green: #34a853;
    --green-dark: #188038;
    --green-soft: #e6f4ea;
    --ink: #202124;
    --ink-2: #4d5156;
    --muted: #70757a;
    --link: #1a0dab;
    --visited: #681da8;
    --bg: #ffffff;
    --bg-2: #f8f9fa;
    --line: #dadce0;
    --line-2: #ecedef;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 6px rgba(32, 33, 36, .18);
    --shadow-sm: 0 1px 2px rgba(60, 64, 67, .2), 0 1px 3px 1px rgba(60, 64, 67, .1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Roboto, Arial, "Noto Sans Devanagari", system-ui, sans-serif; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: clamp(1.35rem, 3.6vw, 1.9rem); line-height: 1.3; font-weight: 500; margin: 22px 0 6px; color: var(--ink); }
h2 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.35; font-weight: 500; }
.center { text-align: center; }

/* ---------- Language switch: both languages are in the HTML; html[data-lang] picks one ---------- */
html[data-lang="en"] .lang-hi, html[data-lang="hi"] .lang-en { display: none !important; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.lang-switch button { border: 0; background: #fff; color: var(--ink-2); font: 500 .85rem/1 Roboto, Arial, "Noto Sans Devanagari", sans-serif; padding: 8px 12px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue-dark); }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line-2); }
.head-row { display: flex; align-items: center; gap: 20px; padding: 16px; max-width: 1120px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(1.35rem, 4vw, 1.7rem); font-weight: 500; letter-spacing: -.5px; text-decoration: none !important; white-space: nowrap; flex: none; line-height: 1; }
.logo img { width: 34px; height: 34px; flex: none; }
.logo-tail { color: #5f6368; }
.logo-tld { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; letter-spacing: 0; color: #c5221f; background: var(--red-soft); border-radius: 999px; padding: 4px 9px; }
.logo-tld i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .logo-tld i { animation: none; } }
.logo .c1 { color: #4285f4; } .logo .c2 { color: var(--red); } .logo .c3 { color: var(--yellow); }
.logo .c4 { color: #4285f4; } .logo .c5 { color: var(--green); } .logo .c6 { color: var(--red); }
.search { flex: 1; display: flex; align-items: center; gap: 8px; max-width: 640px; height: 46px; padding: 0 6px 0 16px; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: box-shadow .15s; }
.search:hover, .search:focus-within { box-shadow: var(--shadow); border-color: transparent; }
.search svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 16px Roboto, Arial, "Noto Sans Devanagari", sans-serif; color: var(--ink); background: transparent; }
.search button { border: 0; background: var(--blue); color: #fff; border-radius: 20px; height: 34px; padding: 0 16px; font: 500 .9rem Roboto, Arial, sans-serif; cursor: pointer; }
.search button:hover { background: var(--blue-dark); }
.head-row .lang-switch { margin-left: auto; }

.main-nav { display: flex; gap: 4px; max-width: 1120px; margin: 0 auto; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { color: var(--ink-2); font-size: .9rem; padding: 10px 12px 9px; border-bottom: 3px solid transparent; white-space: nowrap; text-decoration: none; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); font-weight: 500; }
.nav-bar { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line-2); }

.notice { background: var(--bg-2); border-bottom: 1px solid var(--line-2); font-size: .82rem; color: var(--muted); }
.notice p { max-width: 1120px; margin: 0 auto; padding: 7px 16px; }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 0; margin: 0; font-size: .84rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.page-meta { font-size: .86rem; color: var(--muted); margin: 0 0 18px; }
.h1-sub { margin: 0 0 6px; color: var(--ink-2); font-size: 1rem; }

/* ---------- Featured result + board ---------- */
.headline-result { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 20px; margin: 0 0 18px; background: #fff; }
.hl-label { width: 100%; font-size: .8rem; color: var(--muted); }
.hl-game { font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.hl-num { font-size: 3rem; font-weight: 400; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.hl-date { font-size: .9rem; color: var(--ink-2); margin-left: auto; }

.board { margin: 14px 0 22px; }
.board-title { font-size: 1.15rem; font-weight: 500; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.board-title .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); flex: none; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.game-box { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 16px; color: var(--ink); text-decoration: none !important; transition: box-shadow .15s, border-color .15s; position: relative; overflow: hidden; }
.game-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent, var(--blue)); }
.game-box:nth-child(4n+2) { --accent: var(--red); }
.game-box:nth-child(4n+3) { --accent: var(--yellow); }
.game-box:nth-child(4n+4) { --accent: var(--green); }
.game-box:hover { box-shadow: var(--shadow-sm); border-color: transparent; }
.game-name { font-weight: 500; font-size: 1.05rem; color: var(--link); }
.game-hi { font-size: .82rem; color: var(--muted); }
.game-time { font-size: .76rem; color: var(--green-dark); }
.game-nums { display: flex; align-items: baseline; gap: 10px; font-size: 1.7rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.game-nums .old { color: var(--muted); font-size: 1.15rem; }
.game-nums .arrow { font-size: .85rem; color: var(--line); }
.game-nums .new { color: var(--ink); font-weight: 500; }
.game-nums .new.is-wait { font-size: .8rem; font-weight: 500; color: var(--red); background: var(--red-soft); padding: 3px 10px; border-radius: 999px; align-self: center; }

.wa-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 14px 18px; margin: 14px 0; background: #fff; }
.wa-cta > div { flex: 1; min-width: 220px; }
.wa-cta-title { color: var(--ink); font-size: 1.05rem; font-weight: 500; margin: 0; }
.wa-cta-sub { color: var(--ink-2); font-size: .9rem; margin: 0; }
.wa-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--green-dark); color: #fff !important; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: .92rem; text-decoration: none !important; }
.wa-btn:hover { background: #137333; }
.wa-btn svg { width: 20px; height: 20px; flex: none; }

.intro { color: var(--ink-2); margin: 0 0 6px; }
.intro p { margin: 8px 0; }

/* ---------- Charts ---------- */
.table-title { font-size: 1.15rem; font-weight: 500; margin: 28px 0 10px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table.chart { width: 100%; border-collapse: collapse; text-align: center; font-variant-numeric: tabular-nums; }
.chart th, .chart td { border-bottom: 1px solid var(--line-2); padding: 9px 8px; white-space: nowrap; }
.chart thead th { background: var(--bg-2); color: var(--ink-2); font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; position: sticky; top: 0; border-bottom: 1px solid var(--line); }
.chart thead th a { color: var(--link); }
.chart tbody th { color: var(--ink-2); font-weight: 400; font-size: .88rem; }
.chart tbody td { font-weight: 500; font-size: 1.02rem; }
.chart tbody tr:hover td, .chart tbody tr:hover th { background: var(--bg-2); }
.chart tr.today td, .chart tr.today th { background: var(--blue-soft); }
.chart td.big { font-size: 1.3rem; color: var(--blue); }
.chart.year td { min-width: 46px; }
.chart.year td + td, .chart.year th + td { border-left: 1px solid var(--line-2); }
.wait { color: var(--red); font-size: .75rem; font-weight: 500; letter-spacing: .04em; }
.na { color: #bdc1c6; font-weight: 400; }
.pager { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0; }
.btn { display: inline-block; background: #fff; color: var(--blue); font-weight: 500; padding: 9px 20px; border-radius: 999px; text-decoration: none !important; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; }
.btn:hover { background: var(--blue-soft); border-color: var(--blue-soft); }

/* ---------- Article: each section reads like a search result ---------- */
.seo-content { display: grid; gap: 4px; margin: 30px 0; max-width: 760px; }
.card { padding: 14px 0 18px; border-bottom: 1px solid var(--line-2); }
.card:last-child { border-bottom: 0; }
.card h2 { color: var(--link); font-size: 1.25rem; margin: 0 0 6px; }
.card h3 { font-size: 1.02rem; font-weight: 500; margin: 16px 0 4px; color: var(--ink); }
.card p { color: var(--ink-2); margin: 8px 0; }
.card .note { font-size: .86rem; color: var(--muted); background: var(--bg-2); padding: 8px 12px; border-radius: var(--radius); }
.card ul { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.card ul li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 12px; color: var(--ink-2); font-size: .94rem; }
.card ul li a { font-weight: 500; }
.card ul.related li { padding: 0; }
.card ul.related li a { display: block; padding: 9px 12px; }
.card ul.related li:hover { background: var(--bg-2); }
.card ul.plain { display: block; }
.card ul.plain li { border: 0; padding: 4px 0 4px 18px; position: relative; background: none; }
.card ul.plain li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; color: var(--ink-2); background: #fff; }
.chips a:hover { background: var(--bg-2); text-decoration: none; }
.time-table { border-collapse: separate; border-spacing: 0; width: 100%; max-width: 620px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 12px 0; font-size: .94rem; }
.time-table th, .time-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line-2); }
.time-table tr:last-child td { border-bottom: 0; }
.time-table th { background: var(--bg-2); font-size: .78rem; font-weight: 500; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.time-table a { font-weight: 500; }
.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 12px 0; }
.glossary div { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.glossary dt { font-weight: 500; color: var(--ink); }
.glossary dd { margin: 2px 0 0; color: var(--ink-2); font-size: .92rem; }

/* "People also ask" */
.faq { border-bottom: 0; }
.faq h2 { color: var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 40px 14px 0; position: relative; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 0 16px; color: var(--ink-2); }
.page-text { padding: 8px 0; margin-bottom: 24px; max-width: 760px; }

/* ---------- Archive ---------- */
.archive { background: var(--bg-2); border-top: 1px solid var(--line-2); padding: 32px 0 24px; margin-top: 32px; }
.archive-head { margin-bottom: 16px; }
.archive-head h2 { margin: 0 0 4px; font-size: 1.3rem; }
.archive-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.arch-card { border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 10px 0; background: #fff; overflow: hidden; }
.arch-card[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.arch-card summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 500; }
.arch-card summary::-webkit-details-marker { display: none; }
.arch-card summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; margin: 0 4px 4px 0; }
.arch-card[open] summary::after { transform: rotate(-135deg); margin: 4px 4px 0 0; }
.arch-title { flex: 1; color: var(--link); }
.arch-count { font-size: .76rem; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; font-weight: 400; }
.arch-body { padding: 4px 18px 16px; }
.arch-main { display: inline-block; margin: 2px 0 10px; font-weight: 500; }
.arch-year { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-2); }
.yr-label { font-weight: 500; text-decoration: none !important; background: var(--blue-soft); color: var(--blue-dark); text-align: center; border-radius: 999px; padding: 4px 0; font-size: .85rem; }
a.yr-label:hover { background: var(--blue); color: #fff; }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
.months a { text-align: center; font-size: .8rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 0; text-decoration: none !important; }
.months a:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--blue-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); color: var(--muted); padding: 0 0 18px; font-size: .86rem; border-top: 1px solid var(--line); }
.site-footer .foot-top { padding: 14px 16px; border-bottom: 1px solid var(--line); max-width: 1120px; margin: 0 auto 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 1120px; margin: 0 auto 12px; padding: 0 16px; }
.site-footer a { color: var(--ink-2); }
.disclaimer, .site-footer .copy { max-width: 1120px; margin: 0 auto 8px; padding: 0 16px; line-height: 1.6; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
    .head-row { flex-wrap: wrap; gap: 12px; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .logo img { width: 28px; height: 28px; }
    .logo-tld { display: none; }
    .board-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .game-box { padding: 12px; }
    .game-nums { font-size: 1.4rem; }
    .chart th, .chart td { padding: 7px 5px; }
    .hl-num { font-size: 2.4rem; }
    .arch-year { grid-template-columns: 1fr; gap: 6px; }
    .yr-label { justify-self: start; padding: 3px 12px; }
}
.narrow { max-width: 680px; margin: 0 auto; }
