/* DesiTableGames theme — Blogger template CSS reused verbatim.
   :root --accent:#0f5c45; --accent-2:#c27a2c; --ink:#1a1d1f;
   --muted:#5d6468; --line:#e4e7e5; --bg:#ffffff; --soft:#f5f6f2.
   TODO (after launch): re-add AdSense + GTM if wanted — not in this build. */
/* =====================================================
Desi Table Games - minimal, fast, tool-first Blogger theme
===================================================== */
:root{--accent:#0f5c45;--accent-2:#c27a2c;--ink:#1a1d1f;--muted:#5d6468;--line:#e4e7e5;--bg:#ffffff;--soft:#f5f6f2;--max:1100px;--read:880px;--r:10px}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:17px;line-height:1.7;display:flex;flex-direction:column;min-height:100vh}
body>*{flex-shrink:0;width:100%}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:var(--max);margin:0 auto;padding:0 18px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
:focus-visible{outline:3px solid var(--accent-2);outline-offset:2px}
/* Header */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:62px}
.brand .widget{margin:0}
.brand h1,.brand .title{font-size:22px;font-weight:800;line-height:1.2;letter-spacing:-.2px}
.brand h1 a,.brand .title a{color:var(--ink)}
.brand .description{display:none}
.brand img{max-height:42px;width:auto}
.main-nav ul{list-style:none;display:flex;gap:4px;flex-wrap:wrap}
.main-nav a{display:block;padding:8px 12px;border-radius:8px;color:var(--ink);font-weight:600;font-size:15.5px}
.main-nav a:hover{background:var(--soft);text-decoration:none;color:var(--accent)}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:8px;padding:6px 12px;font:inherit;font-weight:600;cursor:pointer;color:var(--ink)}
/* Hero (homepage) */
.hero{background:var(--soft);border-bottom:1px solid var(--line);padding:42px 0 34px}
.hero h1{font-size:36px;line-height:1.2;letter-spacing:-.5px;max-width:720px}
.hero p{color:var(--muted);font-size:18px;max-width:640px;margin-top:10px}
.tool-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}
.tool-cards a{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px;color:var(--ink);transition:border-color .15s,transform .15s}
.tool-cards a:hover{border-color:var(--accent);transform:translateY(-2px);text-decoration:none}
.tool-cards b{display:block;font-size:18px}
.tool-cards span{display:block;color:var(--muted);font-size:14.5px;margin-top:4px;line-height:1.5}
.tool-cards i{font-style:normal;display:inline-block;margin-top:10px;color:var(--accent);font-weight:700;font-size:14.5px}
/* Layout */
.main-area{padding-top:28px;padding-bottom:44px}
.section-title{font-size:21px;font-weight:800;margin:0 0 16px;line-height:1.3}
/* Post cards */
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.card{min-width:0;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;display:flex;flex-direction:column}
.card .thumb{display:block;position:relative;aspect-ratio:16/9;background:var(--soft);overflow:hidden}
.card .thumb img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.card .in{padding:14px 16px 16px}
.card .cat{font-size:12.5px;font-weight:700;color:var(--accent-2);text-transform:uppercase;letter-spacing:.4px}
.card h2{font-size:18px;line-height:1.4;font-weight:700;margin:4px 0 6px}
.card h2 a{color:var(--ink)}
.card p{font-size:15px;color:var(--muted);line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pager{display:flex;justify-content:space-between;margin-top:28px}
.pager a{border:1px solid var(--line);padding:8px 16px;border-radius:8px;font-weight:600;font-size:15px;color:var(--ink)}
.pager a:hover{border-color:var(--accent);text-decoration:none}
/* Single post / page: single readable column, tool gets full width */
.article{max-width:var(--read);margin:0 auto}
.breadcrumb{font-size:14px;color:var(--muted);margin-bottom:10px}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.breadcrumb li+li:before{content:"\203A";margin-right:6px;color:var(--muted)}
.article h1{font-size:34px;line-height:1.25;font-weight:800;letter-spacing:-.4px;margin-bottom:10px}
.byline{font-size:14px;color:var(--muted);margin-bottom:22px}
.byline a{color:var(--ink);font-weight:600}
.post-body{font-size:18px;line-height:1.8}
.post-body p,.post-body ul,.post-body ol,.post-body blockquote,.post-body table,.post-body figure{margin:0 0 1.1em}
.post-body h2{font-size:25px;line-height:1.35;margin:1.6em 0 .6em;letter-spacing:-.2px}
.post-body h3{font-size:20px;margin:1.3em 0 .5em}
.post-body ul,.post-body ol{padding-left:1.4em}
.post-body li{margin-bottom:.3em}
.post-body a{text-decoration:underline}
.post-body img{margin:10px auto;border-radius:8px}
.post-body blockquote{border-left:4px solid var(--accent);background:var(--soft);padding:12px 16px;border-radius:0 8px 8px 0}
.post-body table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;font-size:16px}
.post-body th{background:var(--soft);text-align:left}
.post-body td,.post-body th{border:1px solid var(--line);padding:9px 11px}
.post-body .separator a{margin:0!important}
.post-body .answer{background:#eef6f2;border:1px solid #cfe4da;border-radius:var(--r);padding:14px 16px;font-size:17px}
/* ===== Tool kit: use these classes inside posts ===== */
.tool{background:#fff;border:2px solid var(--accent);border-radius:14px;padding:18px;margin:0 0 1.4em;font-size:16px;line-height:1.5}
.tool h2,.tool h3{margin-top:0}
.tool label{display:block;font-weight:600;font-size:14.5px;margin:10px 0 4px}
.tool input,.tool select{width:100%;font:inherit;font-size:16px;padding:10px 12px;border:1px solid #cfd5d2;border-radius:8px;background:#fff;color:var(--ink)}
.tool .row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.btn{display:inline-block;font:inherit;font-weight:700;font-size:16px;padding:11px 18px;border-radius:9px;border:0;background:var(--accent);color:#fff;cursor:pointer;text-decoration:none!important;min-height:44px}
.btn:hover{filter:brightness(1.08)}
.btn.alt{background:var(--soft);color:var(--ink);border:1px solid var(--line)}
.btn.warm{background:var(--accent-2)}
.score{font-size:44px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.tool .teams{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tool .team{background:var(--soft);border-radius:10px;padding:14px;text-align:center}
/* Tags, author, related */
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0}
.tags a{background:var(--soft);border:1px solid var(--line);padding:4px 12px;border-radius:20px;font-size:14px;color:var(--ink)}
.author-box{display:flex;gap:14px;background:var(--soft);border-radius:var(--r);padding:16px;margin:24px 0}
.author-box img{width:60px;height:60px;border-radius:50%;object-fit:cover;flex:none}
.author-box b{display:block;font-size:16px}
.author-box p{font-size:14.5px;color:var(--muted);line-height:1.6}
.related{margin-top:32px}
.related ul{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.related a{display:block;border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;font-weight:600;font-size:15.5px;line-height:1.45;color:var(--ink)}
.related a:hover{border-color:var(--accent);text-decoration:none}
.comments{margin-top:30px}
/* Ad slots: reserved space reduces layout shift */
.aff-slot{margin:22px 0}
.aff-slot .widget{margin:0}
.aff-slot .widget h2,.aff-slot .widget h3{display:none}
.aff-slot:empty{display:none}
.aff-box{display:flex;gap:16px;align-items:center;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:var(--r);background:#fffdf7;padding:16px}
.aff-box img{width:110px;height:110px;object-fit:contain;border-radius:8px;background:#fff;flex:none}
.aff-box b{display:block;font-size:17px;color:var(--ink)}
.aff-box span{display:block;color:var(--muted);font-size:14.5px;margin:4px 0 10px;line-height:1.5}
.aff-box a.aff-btn{display:inline-block;background:var(--accent);color:#fff;padding:9px 16px;border-radius:8px;font-weight:700;font-size:14.5px}
.aff-box a.aff-btn:hover{background:#0b4a37;text-decoration:none}
.aff-note{font-size:12.5px;color:var(--muted);margin-top:8px}
/* No sidebar: full-width single column. .main-area is a plain block, so the
   homepage post grid uses all 1100px (3 columns) and articles use --read. */
.main-area{display:block}
.ad-slot{margin:18px auto;text-align:center}
.ad-slot .widget{margin:0}
.ad-slot .widget h2,.ad-slot .widget h3{display:none}
.ad-slot:empty{display:none}
/* Footer */
.site-footer{background:#14211c;color:#b8c2bd;font-size:14.5px;padding:32px 0 20px;margin-top:auto}
.site-footer .cols{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:30px}
.site-footer h4{color:#fff;font-size:15.5px;margin-bottom:10px}
.site-footer ul{list-style:none}
.site-footer li{padding:3px 0}
.site-footer a{color:#dbe3df}
.site-footer p{max-width:420px;line-height:1.7}
.site-footer .copy{border-top:1px solid #2a3a33;margin-top:22px;padding-top:14px;font-size:13px;text-align:center}
#navbar,#navbar-iframe,.Attribution,.blog-feeds,.post-feeds{display:none!important}
/* Responsive */
@media (max-width:900px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-cards{grid-template-columns:1fr 1fr}}
@media (max-width:720px){
body{font-size:16px}
.nav-toggle{display:block}
.main-nav{display:none;position:absolute;left:0;right:0;top:62px;background:#fff;border-bottom:1px solid var(--line);padding:8px 12px}
.main-nav.open{display:block}
.main-nav ul{flex-direction:column}
.main-nav{flex-direction:column;align-items:stretch}
.hero{padding:28px 0 24px}
.hero h1{font-size:27px}
.hero p{font-size:16.5px}
.post-grid,.tool-cards,.related ul{grid-template-columns:1fr}
.article h1{font-size:27px}
.post-body{font-size:17px}
.post-body h2{font-size:22px}
.site-footer .cols{grid-template-columns:1fr}
.score{font-size:38px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
