/* ==========================================================================
   88DD - Appyn reference clone (body class: rounded sidg aprm-2 full-width)
   Layout, radii and metrics follow the measured reference spec.
   Accent system is this site's own: jade hue 127.
   ========================================================================== */

:root{
  /* accent - the 88DD logo blue, replacing the reference #cc1ca8 everywhere */
  --accent:#2070C0;          /* logo pill blue, white label  5.07:1 */
  --accent-hover:#1A5A9E;
  --accent-ink:#1A5A9E;      /* links / text on white        7.00:1 */
  --accent-bright:#5297E0;   /* chrome + borders on #1d222d  5.20:1 */
  --accent-soft:#E9F2FB;
  --accent-deep:#09233E;     /* CTA band                    15.89:1 white */

  /* reference chrome */
  --page:#e6e9ef;
  --surface:#fff;
  --tint:#f7f8fa;
  --chrome:#1d222d;
  --chrome-deep:#13161d;
  --ink:#4c4c4c;
  --muted:#767676;           /* reference uses #a7a7a7 (2.4:1) - raised for AA */
  --line:#eaeaea;
  --shadow:2px 2px 2px 0 #e3e3e3;

  /* fixed button colours from the reference */
  --go:#5edd1f;  --go-ink:#0c2a05;
  --tg:#006fa7;

  --r-card:20px;             /* cards, boxes, widgets, buttons, chips, tables */
  --r-pill:50px;             /* search field + button, VIEW MORE, pagination */
  --r-icon:25px;             /* single-page app icon */
  --measure:1220px;          /* shared container cap - see the ad-gutter note */
  --side:300px;              /* sidebar */
  --gap:20px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--page); color:var(--ink);
  font:400 13px/25px 'Open Sans',Arial,Helvetica,sans-serif;
}
img{max-width:100%; height:auto; border:0}
a{color:var(--accent-ink); text-decoration:none; cursor:pointer}
a:hover{text-decoration:underline}
button,input,select{font-family:inherit}
button,[role=button],summary,label[for]{cursor:pointer}
:focus-visible{outline:3px solid var(--accent-bright); outline-offset:2px; border-radius:4px}
.skip{position:absolute;inset-inline-start:0;top:0;z-index:100;background:#fff;color:var(--accent-ink);
  padding:10px 16px;border-radius:0 0 var(--r-card) 0;transform:translateY(-200%)}
.skip:focus{transform:translateY(0)}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---- shared measure: header, content, footer and disclaimer all match ---- */
.container{
  width:100%; max-width:var(--measure); margin:0 auto; padding:0 10px;
  display:flex; gap:var(--gap); align-items:flex-start;
}
.container.is-block{display:block}

/* Urdu runs render left-to-right like the source, with an Urdu-capable face */
[lang=ur]{font-family:'Noto Naskh Arabic','Noto Nastaliq Urdu',serif; line-height:1.95; text-align:start}
h1[lang=ur],h2[lang=ur],h3[lang=ur]{font-family:'Noto Nastaliq Urdu','Noto Naskh Arabic',serif; line-height:1.9}

/* ============================ HEADER (60px) ============================ */
.site-head{background:var(--chrome); border-bottom:2px solid var(--accent-bright)}
.site-head .container{height:60px; align-items:center; justify-content:space-between; gap:12px}
.brand{display:flex; align-items:center; gap:10px; flex:0 0 auto}
.brand img{height:40px; width:auto; object-fit:contain; display:block}
.nav{display:flex; align-items:center; gap:4px; flex-wrap:nowrap}
.nav a{
  color:#d8dde6; font-size:13px; padding:7px 11px; border-radius:var(--r-card);
  white-space:nowrap; transition:background .2s ease,color .2s ease;
}
.nav a:hover{background:rgba(255,255,255,.08); color:#fff; text-decoration:none}
.nav a.is-active{color:#fff; background:rgba(82,151,224,.24)}
.nav a.cta{background:var(--accent); color:#fff}
.nav a.cta:hover{background:var(--accent-hover); color:#fff}
.burger{display:none; background:none; border:0; padding:8px; color:#fff}
.burger svg{display:block}

/* ============================== HERO =============================== */
.hero{position:relative; background:#000; padding:90px 0 40px; overflow:hidden; text-align:center}
.hero .imgbg{position:absolute; inset:0; overflow:hidden}
.hero .imgbg img{width:120%; height:100%; object-fit:cover; opacity:.3; margin-left:-10%}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.25) 45%,rgba(0,0,0,.75) 100%)}
.hero .subcontainer{position:relative; z-index:2; max-width:730px; margin:0 auto; padding:0 10px}
.hero h1{margin:0 0 6px; font-size:40px; line-height:46px; font-weight:300; color:#fff}
.hero h2{margin:0 0 22px; font-size:16px; line-height:30px; font-weight:300; color:#e4e8ef}

/* search box - 600px, pill */
.searchbox{max-width:600px; margin:0 auto; display:flex}
.searchbox input{
  flex:1 1 auto; height:44px; border:0; background:#f2f2f2; font-size:16px;
  padding:0 20px; border-radius:var(--r-pill) 0 0 var(--r-pill); color:#333; min-width:0;
}
.searchbox input::placeholder{color:#6b6b6b}
.searchbox button{
  width:70px; height:44px; border:0; background:var(--accent); color:#fff;
  border-radius:0 var(--r-pill) var(--r-pill) 0; display:grid; place-items:center;
  transition:background .2s ease;
}
.searchbox button:hover{background:var(--accent-hover)}
.search-results{max-width:600px;margin:10px auto 0;text-align:start}
.search-results:empty{display:none}
.search-results a{
  display:flex;align-items:center;gap:10px;background:#fff;padding:8px 12px;
  border-radius:var(--r-card);margin-bottom:6px;box-shadow:var(--shadow);color:var(--ink)
}
.search-results a:hover{text-decoration:none;background:var(--accent-soft)}
.search-results img{width:34px;height:34px;border-radius:8px}
.search-empty{color:#e4e8ef;font-size:13px;padding:6px 2px}

/* category icon row - 40x40 circles at .5 opacity */
.cats{position:relative; z-index:2; display:flex; justify-content:center; flex-wrap:wrap; gap:18px; margin-top:26px}
.cats a{display:flex; flex-direction:column; align-items:center; gap:7px; color:#e4e8ef; font-size:12px}
.cats a:hover{text-decoration:none; color:#fff}
.cats .ci{width:40px; height:40px; border-radius:50%; opacity:.5; display:grid; place-items:center; color:#fff; transition:opacity .2s ease}
.cats a:hover .ci{opacity:1}

/* ============================ SECTIONS ============================= */
#main-site{padding:20px 0 30px}
.main-col{flex:1 1 auto; min-width:0}
.title-section{
  font-size:22px; font-weight:400; color:#3b3b3b; margin:3px 10px 10px;
  padding-bottom:8px; border-bottom:1px solid var(--line);
}
.title-section .sec-accent{display:inline-block;width:34px;height:3px;background:var(--accent);vertical-align:middle;margin-inline-end:10px}

/* grids: 6-up latest (.bav1), 3-up featured rail (.bav2) */
.bav1,.bav2{display:flex; flex-wrap:wrap; margin:0 0 18px}
.bav1>*{width:16.6666%; padding:10px}
.bav2>*{width:33.3333%; padding:10px}

.appcard{
  display:block; background:var(--surface); border-radius:var(--r-card);
  box-shadow:var(--shadow); border-bottom:2px solid var(--accent);
  overflow:hidden; height:100%; transition:transform .2s ease, box-shadow .2s ease;
}
.appcard:hover{transform:translateY(-2px); box-shadow:2px 4px 10px 0 #d7dbe2; text-decoration:none}
.appcard .thumb{padding:15px 15px 12px; display:grid; place-items:center}
.appcard .thumb img{width:100%; max-width:110px; aspect-ratio:1; object-fit:cover; border-radius:16px; display:block}
/* these are <span>s - they must be block or the padding, centring and the
   ellipsis truncation below all silently do nothing */
.appcard .cbody{display:block; padding:0 14px; text-align:center}
.appcard .ctitle{
  display:block; font-size:14px; font-weight:600; color:#444; line-height:20px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.appcard .cmeta{
  display:block; margin-top:3px; font-size:12px; line-height:18px; color:var(--muted);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.appcard .cbtn{
  display:block; background:var(--accent); color:#fff; text-align:center;
  font-size:12px; font-weight:600; letter-spacing:.3px; padding:10px 8px;
  border-radius:0 0 var(--r-card) var(--r-card); margin-top:14px; transition:background .2s ease;
}
.appcard:hover .cbtn{background:var(--accent-hover)}

/* wide featured tile */
.widecard{display:flex; align-items:center; gap:12px; background:var(--surface); border-radius:var(--r-card);
  box-shadow:var(--shadow); border-bottom:2px solid var(--accent); padding:15px; height:100%;
  transition:transform .2s ease, box-shadow .2s ease}
.widecard:hover{transform:translateY(-2px); box-shadow:2px 4px 10px 0 #d7dbe2; text-decoration:none}
.widecard img{width:74px; height:74px; border-radius:16px; flex:0 0 auto; object-fit:cover}
.widecard .wt{display:block; min-width:0}
.widecard .ctitle{display:block;font-size:14px;font-weight:600;color:#444;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.widecard .cmeta{margin-top:2px;font-size:12px;line-height:18px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.viewmore{display:block; width:225px; margin:4px auto 26px; line-height:40px; text-align:center;
  background:var(--accent); color:#fff; border-radius:var(--r-pill); text-transform:uppercase;
  font-size:12px; font-weight:700; letter-spacing:.6px; transition:background .2s ease}
.viewmore:hover{background:var(--accent-hover); color:#fff; text-decoration:none}

/* ============================ SIDEBAR ============================== */
.sidebar{flex:0 0 var(--side); width:var(--side); position:sticky; top:20px; align-self:flex-start}
.widget{background:var(--surface); border-radius:var(--r-card); box-shadow:var(--shadow); padding:15px; margin-bottom:20px}
.widget-title{font-size:17px; font-weight:600; color:#3b3b3b; margin:0 0 12px; text-transform:uppercase; letter-spacing:.4px}
.widget-title::after{content:"";display:block;width:34px;height:3px;background:var(--accent);margin-top:7px}
.wlist{list-style:none;margin:0;padding:0}
.wlist li{border-bottom:1px solid var(--line)}
.wlist li:last-child{border-bottom:0}
.wlist a{display:flex;align-items:center;gap:10px;padding:8px 0;color:var(--ink)}
.wlist a:hover{text-decoration:none;color:var(--accent-ink)}
.wlist img{width:40px;height:40px;border-radius:10px;flex:0 0 auto}
.wlist .wn{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-block;background:var(--accent-soft);color:var(--accent-ink);border:1px solid #c3dbf2;
  border-radius:var(--r-card);padding:5px 12px;font-size:12px}
.chip:hover{background:var(--accent);color:#fff;text-decoration:none;border-color:var(--accent)}

/* ========================= SINGLE / STATIC ========================= */
.app-s{padding:20px 0 30px}
.box{background:var(--surface); border-radius:var(--r-card); box-shadow:var(--shadow); padding:20px 25px; margin-bottom:20px}
.breadcrumb{font-size:12px;color:var(--muted);margin:0 0 10px}
.breadcrumb a{color:var(--accent-ink)}
.cat-label{font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin:0 0 4px}
h1.main-box-title{font-size:38px; line-height:48px; font-weight:700; color:var(--ink); margin:0 0 6px}
.source-tag{font-size:12px;color:var(--muted);margin:0 0 14px}
.tagrow{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.shortdesc{margin:0 0 16px}

/* app icon column - emitted AFTER the title block in source order, floated left */
.s-flex{display:flex;gap:25px;align-items:flex-start}
.s1{order:-1; flex:0 0 150px; width:150px; text-align:center}
.s1 .appicon{width:150px;height:150px;border-radius:var(--r-icon);object-fit:cover;display:block;margin-bottom:12px}
.s2{flex:1 1 auto;min-width:0}

.btn-dl,.btn-tg{
  display:flex; align-items:center; min-height:33px; border-radius:var(--r-card);
  font-size:12px; font-weight:700; padding:8px 5px 8px 38px; position:relative;
  margin-bottom:8px; text-align:center; justify-content:center; transition:filter .2s ease;
}
.btn-dl{background:var(--go); color:var(--go-ink)}      /* white on this lime is 1.77:1 */
.btn-tg{background:var(--tg); color:#fff}
.btn-dl:hover,.btn-tg:hover{filter:brightness(.93); text-decoration:none}
.btn-dl .bi,.btn-tg .bi{position:absolute; left:0; top:0; bottom:0; width:30px;
  background:rgba(0,0,0,.1); border-radius:var(--r-card) 0 0 var(--r-card); display:grid; place-items:center}
.btn-dl .bi{color:var(--go-ink)} .btn-tg .bi{color:#fff}
.report{font-size:12px;color:var(--muted);display:inline-block;margin-top:4px}

/* info table - 3 cells per row at 33.33% */
.da-s{display:flex;flex-wrap:wrap;border-radius:var(--r-card);overflow:hidden;background:var(--tint);margin:0 0 16px}
.da-s .dc{width:33.3333%;padding:11px 14px;border-bottom:1px solid #e7e9ee}
.da-s .dc .dk{font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);display:block}
.da-s .dc .dv{font-size:13px;font-weight:600;color:#3b3b3b;display:block;overflow-wrap:anywhere}

/* share row - 104px buttons */
.share{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}
.share a{width:104px;min-height:31px;border-radius:var(--r-card);display:flex;align-items:center;
  justify-content:center;gap:6px;font-size:11px;font-weight:600;color:#fff}
.share a:hover{filter:brightness(.92);text-decoration:none}
.s-fb{background:#1877f2}.s-tw{background:#111}.s-pi{background:#bd081c}
.s-tg{background:#229ed9}.s-wa{background:#1da851}

/* section label inside a box */
.box-title{font-size:17px; text-transform:uppercase; color:var(--muted); margin:0 0 14px; font-weight:700; letter-spacing:.5px}
.box-title::after{content:"";display:block;width:34px;height:3px;background:var(--accent);margin-top:8px}

/* ====================== EDITORIAL / ARTICLE BODY =================== */
.entry{font-size:14px;line-height:26px}
.entry p{margin:0 0 15px}
.entry a{color:var(--accent-ink)}
.entry h2:not(.box-title):not(.title-section){
  font-size:21px; line-height:30px; font-weight:700; color:#3b3b3b;
  text-align:start; margin:26px 0 12px; padding-bottom:8px; border-bottom:1px solid var(--line);
}
.entry h3{font-size:16px;line-height:26px;font-weight:700;color:#3b3b3b;margin:18px 0 8px}
.entry ul{margin:0 0 15px; padding-inline-start:20px}
.entry li{margin-bottom:7px}
.entry table{width:100%;border-collapse:collapse;border-radius:var(--r-card);overflow:hidden;margin:0 0 18px;background:var(--tint)}
.entry th,.entry td{padding:10px 12px;font-size:13px;text-align:start;border-bottom:1px solid #e7e9ee}
.entry th{background:var(--accent);color:#fff;font-weight:700}
.lede{font-size:15px;line-height:28px}

/* C11 card grid - cards are tinted so they do not vanish on the white box */
.cgrid{display:grid; gap:14px; margin:0 0 20px}
.cgrid.c4{grid-template-columns:repeat(4,1fr)}
.cgrid.c3{grid-template-columns:repeat(3,1fr)}
.ccard{background:var(--tint); outline:1px solid #e7e9ee; border-radius:var(--r-card); padding:16px}
.ccard .cic{width:34px;height:34px;border-radius:var(--r-card);background:var(--accent-soft);color:var(--accent-ink);
  display:grid;place-items:center;margin-bottom:10px}
.ccard h3{margin:0 0 6px;font-size:15px;line-height:24px}
.ccard p:last-child{margin-bottom:0}

/* C11 CTA band - every rule here out-specifies .entry p / .entry h2 */
.ecta{
  border-radius:var(--r-card); padding:34px 28px; margin:24px 0;
  text-align:center; position:relative; overflow:hidden; isolation:isolate;
  background:
    radial-gradient(ellipse 70% 120% at 12% -10%, rgba(82,151,224,.38), transparent 60%),
    radial-gradient(ellipse 60% 110% at 88% 110%, rgba(32,112,192,.34), transparent 62%),
    linear-gradient(135deg, #123A66 0%, #0C2A49 38%, #09233E 68%, #061829 100%);
}
/* a soft diagonal sheen over the gradient */
.ecta::before{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 42%);
}
/* hairline inner edge so the panel reads as a lifted surface */
.ecta::after{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  border-radius:inherit; box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
}
/* Out-specify .entry h2:not(.box-title):not(.title-section), which is (0,3,1):
   without the matching :not() pair the article heading wins and paints this
   dark-on-dark with an underline. */
.entry .ecta h2:not(.box-title):not(.title-section), .ecta h2{
  color:#fff; border:0; padding:0; margin:0 0 12px; text-align:center;
  font-size:24px; line-height:34px; font-weight:700;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.entry .ecta p, .ecta p{color:#E4EDF7; margin:0 auto 18px; position:relative}
.ecta-btns{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;position:relative}
.entry a.hx-btn, a.hx-btn{display:inline-block;padding:11px 26px;border-radius:var(--r-pill);
  font-size:13px;font-weight:700;transition:background .2s ease,color .2s ease}
.entry a.hx-btn.primary, a.hx-btn.primary{background:var(--go);color:var(--go-ink)}
.entry a.hx-btn.primary:hover, a.hx-btn.primary:hover{background:#6ff02a;text-decoration:none}
.entry a.hx-btn.ghost, a.hx-btn.ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.entry a.hx-btn.ghost:hover, a.hx-btn.ghost:hover{background:rgba(255,255,255,.14);color:#fff;text-decoration:none}

/* C11 FAQ accordion - native details/summary */
.faq{margin:0 0 20px}
.faq details{background:var(--tint); outline:1px solid #e7e9ee; border-radius:var(--r-card);
  margin-bottom:10px; overflow:hidden}
.faq summary{list-style:none; padding:14px 46px 14px 18px; position:relative; font-weight:700; color:#3b3b3b}
.faq summary::-webkit-details-marker{display:none}
.faq summary h3{margin:0; font-size:15px; line-height:24px; font-weight:700; display:inline}
.faq summary::after{
  content:""; position:absolute; right:18px; top:50%; width:9px; height:9px; margin-top:-6px;
  border-right:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:rotate(45deg); transition:transform .2s ease;
}
.faq details[open] summary::after{transform:rotate(-135deg); margin-top:-2px}
.faq .fa{padding:0 18px 14px}
.faq .fa p:last-child{margin-bottom:0}

/* related row - 5 across, filling the full measure */
.rlat{display:flex;flex-wrap:wrap;margin:0 -10px}
.rlat>*{width:20%;padding:10px}

/* ======================== FOOTER / DISCLAIMER ====================== */
.promo{background:var(--chrome); border-top:2px solid var(--accent-bright); color:#c8cfda; padding:34px 0 26px; margin-top:10px}
.promo .container{display:flex; flex-wrap:wrap; gap:30px; align-items:flex-start}
.promo h2{color:#fff;font-size:18px;margin:0 0 12px;font-weight:600}
.fcol{flex:1 1 220px; min-width:0}
.fcol ul{list-style:none;margin:0;padding:0}
.fcol li{margin-bottom:7px}
.promo a{color:#c8cfda}
.promo a:hover{color:#fff}
.pbtns{display:flex;flex-wrap:wrap;gap:10px}
.pbtn{display:inline-block;background:rgba(255,255,255,.08);border-radius:var(--r-card);padding:8px 16px;font-size:12px;color:#dfe5ee}
.pbtn:hover{background:var(--accent);color:#fff;text-decoration:none}
.disclaimer{background:var(--chrome-deep); color:#8e97a6; font-size:12px; line-height:21px; padding:18px 0}
.disclaimer .container{display:block}
.disclaimer strong{color:#c8cfda}
.totop{position:fixed;right:18px;bottom:76px;width:42px;height:42px;border-radius:50%;background:var(--accent);
  color:#fff;border:0;display:none;place-items:center;z-index:40;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.totop.show{display:grid}

/* floating gradient CTA pill */
.floatcta{position:fixed; left:50%; transform:translateX(-50%); bottom:16px; z-index:45;
  background:linear-gradient(135deg,#00c6ff,#0072ff,#8e2de2,#ff0080);
  background-size:300% 300%; animation:fcta 8s ease infinite;
  border-radius:var(--r-pill); padding:2px; box-shadow:0 4px 18px rgba(0,0,0,.28)}
.floatcta a{display:flex;align-items:center;gap:8px;background:rgba(10,12,18,.84);color:#fff;
  border-radius:var(--r-pill);padding:10px 22px;font-size:13px;font-weight:700;white-space:nowrap}
.floatcta a:hover{text-decoration:none;background:rgba(10,12,18,.7)}
@keyframes fcta{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

/* ============================ RESPONSIVE =========================== */
@media (max-width:1439px){ .bav1>*{width:20%} }
@media (max-width:1200px){ .bav1>*{width:25%} .rlat>*{width:25%} }
@media (max-width:1023px){
  /* both wrappers must stack, or the main column collapses to 0px */
  #main-site .container,.app-s .container{display:block}
  .sidebar{position:static; width:100%; flex-basis:auto; margin-top:10px}
  .bav1>*{width:33.3333%}
  .bav2>*{width:50%}
  .rlat>*{width:33.3333%}
  .cgrid.c4{grid-template-columns:repeat(3,1fr)}
  .hero h1{font-size:32px;line-height:40px}
  h1.main-box-title{font-size:30px;line-height:40px}
}
@media (max-width:767px){
  body{font-size:16px; line-height:27px}          /* C10: >=16px body on mobile */
  .entry{font-size:16px; line-height:28px}
  .appcard .ctitle,.widecard .ctitle{font-size:15px}
  .appcard .cmeta,.widecard .cmeta{font-size:13px}
  .nav{
    display:none; position:absolute; top:60px; left:0; right:0; background:var(--chrome-deep);
    flex-direction:column; align-items:stretch; padding:10px; gap:4px; z-index:50;
    border-bottom:2px solid var(--accent-bright);
  }
  .nav.open{display:flex}
  .nav a{font-size:16px; padding:11px 14px}
  .burger{display:block}
  .bav1>*,.bav2>*{width:50%}
  .rlat>*{width:50%}
  .cgrid.c4,.cgrid.c3{grid-template-columns:repeat(2,1fr)}
  .s-flex{display:block}
  .s1{width:100%;flex-basis:auto;margin-bottom:18px}
  .s1 .appicon{margin:0 auto 12px}
  .da-s .dc{width:50%}
  .hero{padding:50px 0 30px}
  .hero h1{font-size:26px;line-height:34px}
  .box{padding:18px 16px}
  .share a{flex:1 1 104px}
}
@media (max-width:519px){
  .bav1>*,.bav2>*{width:100%}
  .rlat>*{width:50%}            /* C5: related stays 2-up on mobile */
  .cgrid.c4,.cgrid.c3{grid-template-columns:1fr}
  .da-s .dc{width:100%}
  .floatcta{left:10px;right:10px;transform:none}
  .floatcta a{justify-content:center}
}
@media (max-width:374px){ .hero h1{font-size:22px;line-height:30px} }

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important}
  .appcard:hover,.widecard:hover{transform:none}
}

/* ==== compact search band on single / static pages (radius 0 0 20 20) ==== */
.searchband{background:var(--chrome); padding:16px 0 20px}
.searchband .container{border-radius:0 0 var(--r-card) var(--r-card)}
.searchband .searchbox{margin:0 auto}

/* New / Hot badges on the detail page are static, never absolute (C7) */
.badge-new,.badge-hot{position:static; color:#fff; border:0; font-weight:700}
.badge-new{background:var(--accent)}
.badge-hot{background:#b03a13}

/* all-games listing */
.listhead{margin:0 0 6px}
.listnote{color:var(--muted); margin:0 0 14px}
.empty{background:var(--tint); outline:1px solid #e7e9ee; border-radius:var(--r-card);
  padding:26px; text-align:center}
.empty p{margin:0 0 14px}

/* 404 */
.nf{text-align:center; padding:50px 10px}
.nf h1{font-size:64px; line-height:1; margin:0 0 10px; color:var(--accent)}
.nf h2{font-size:22px; margin:0 0 14px; font-weight:600}

