/* =============================================================
   Pak Rummy - pakistanrummy.com
   Appyn reference clone (body class: rounded sidg aprm-2 full-width).
   Palette "JADE COURT": the reference accent #cc1ca8 is substituted
   for jade #0C7A63 everywhere it appears. Everything else - the radius
   system, the measures, the component anatomy - matches the reference.
   ============================================================= */

:root {
  /* --- surfaces (reference values, unchanged) --- */
  --page:        #e6e9ef;
  --card:        #ffffff;
  --tint:        #f7f8fa;
  --line:        #eaeaea;
  --line-2:      #e3e3e3;
  --chrome:      #1d222d;
  --chrome-deep: #13161d;
  --ink:         #4c4c4c;
  --ink-strong:  #444444;
  --muted:       #a7a7a7;
  --muted-2:     #ababab;

  /* --- accent: jade, replacing the reference magenta --- */
  --acc:        #0C7A63;  /* fills carrying white text            5.28:1 */
  --acc-ink:    #0A6151;  /* accent text on white / tint          7.39:1 */
  --acc-bright: #2FC4A4;  /* borders + chrome on #1d222d          7.24:1 */
  --acc-hover:  #0A6E59;  /* hover fill, darker                   6.20:1 */
  --acc-soft:   #e6f4f0;  /* tint panel */

  /* --- action colours --- */
  --dl:    #46820C;  /* Download APK. The reference lime #5edd1f is 1.77:1 */
  --dl-hv: #3C7009;
  --tg:    #006fa7;  /* Telegram, reference value kept             5.48:1 */
  --tg-hv: #005b8a;
  --star:  #f9bd00;

  /* --- radius system (reference) --- */
  --r-card: 20px;
  --r-pill: 50px;
  --r-icon: 25px;

  --shadow: 2px 2px 2px 0 var(--line-2);
  --measure: 1220px;
  --sidebar: 300px;
  --gap: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 25px;
  color: var(--ink);
  background: var(--page);
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--acc-ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--acc); }
button { font: inherit; }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--acc); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--r-card) 0;
}
.skip:focus { left: 0; color: #fff; }

/* -------------------------------------------------------------
   One measure. Header, content, footer and the disclaimer band all
   share this width and centring, so every column lines up on one
   vertical edge (D1 / C11).
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 10px;
}

/* The flex row that carries the sidebar. */
#main-site > .container {
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
}
/* Long blocks continue below the sidebar row, on the same measure,
   so no dead sidebar-shaped gutter is left beside them. */
#main-site > .container.is-block { display: block; }

.col-main { flex: 1 1 auto; min-width: 0; }

#sidebar {
  flex: 0 0 var(--sidebar);
  width: var(--sidebar);
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

/* =============================================================
   HEADER - 60px dark bar, logo left, nav right
   ============================================================= */
#header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 60px;
  background: var(--chrome);
  border-bottom: 2px solid var(--acc);
}
.hd { display: flex; align-items: center; justify-content: space-between; height: 60px; }

#logo { display: flex; align-items: center; flex: 0 0 auto; }
#logo img { height: 44px; width: auto; object-fit: contain; display: block; }

#menu ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
#menu a {
  display: block; padding: 8px 12px;
  color: #d7dbe4; font-size: 13px; font-weight: 600;
  border-radius: var(--r-pill);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
#menu a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
#menu a.active { color: var(--chrome); background: var(--acc-bright); }
#menu .nav-cta a {
  background: var(--acc); color: #fff; padding: 8px 18px;
  border: 1px solid var(--acc);
}
#menu .nav-cta a:hover { background: var(--acc-hover); border-color: var(--acc-hover); color: #fff; }
#menu .nav-cta a.active { background: var(--acc-bright); color: var(--chrome); border-color: var(--acc-bright); }

.navtoggle {
  display: none; cursor: pointer;
  background: transparent; border: 0; color: #d7dbe4; padding: 6px;
}
.navtoggle:hover { color: #fff; }

#main-site { padding-top: 60px; }

/* =============================================================
   HERO - dark band, art at opacity .3, centred copy + pill search
   ============================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 40px;
  background: #000;
  text-align: center;
}
.hero .imgbg { position: absolute; inset: 0; overflow: hidden; }
.hero .imgbg img {
  position: absolute; top: 50%; left: 50%;
  width: 120%; transform: translate(-50%, -50%);
  opacity: .3; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .40) 45%, rgba(0, 0, 0, .78) 100%);
}
.hero .subcontainer { position: relative; z-index: 2; max-width: 730px; margin: 0 auto; padding: 0 10px; }
.hero h1, .hero .hero-title { margin: 0 0 6px; font-size: 40px; line-height: 46px; font-weight: 300; color: #fff; }
.hero h2, .hero .hero-sub { margin: 0 0 22px; font-size: 16px; line-height: 30px; font-weight: 300; color: #e2e6ee; }

.sb_search { position: relative; width: 600px; max-width: 100%; margin: 0 auto; }
.sb_search input {
  width: 100%; height: 44px;
  border: 0; border-radius: var(--r-pill);
  background: #f2f2f2; color: #43454b;
  font-size: 16px; font-family: inherit;
  padding: 0 84px 0 20px;
}
.sb_search input::placeholder { color: #85888f; }
.sb_search button {
  position: absolute; top: 0; right: 0;
  width: 70px; height: 44px;
  border: 0; border-radius: var(--r-pill);
  background: var(--acc); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s var(--ease);
}
.sb_search button:hover { background: var(--acc-hover); }

.sb_results {
  position: absolute; z-index: 20; top: 50px; left: 0; right: 0;
  background: #fff; border-radius: var(--r-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  text-align: left; overflow: hidden; display: none;
}
.sb_results.on { display: block; }
.sb_results a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; color: var(--ink); border-bottom: 1px solid var(--line);
}
.sb_results a:last-child { border-bottom: 0; }
.sb_results a:hover { background: var(--acc-soft); }
.sb_results img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.sb_results .none { padding: 12px 14px; color: var(--muted); }

/* category icon row */
.cats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 26px auto 0; }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #e2e6ee; font-size: 12px; }
.cats .ci {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; opacity: .5;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.cats a:hover { color: #fff; }
.cats a:hover .ci { opacity: 1; transform: translateY(-2px); }

/* =============================================================
   SECTION HEADS + CARD GRIDS
   ============================================================= */
.sections { padding: 20px 0 0; }

.title-section {
  margin: 3px 10px 10px;
  padding: 0 0 10px;
  font-size: 22px; font-weight: 400; line-height: 31px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.title-section .tag {
  display: inline-block; vertical-align: middle;
  margin-left: 10px; padding: 2px 12px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: #fff; background: var(--acc); border-radius: var(--r-pill);
}

/* 6-up grid, 146.7px cells on the 880px main column */
.bav1 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0 0 20px; }
.bav1 > * { padding: 10px; }

.px-post {
  display: flex; flex-direction: column; align-items: stretch;
  height: 100%;
  background: var(--card);
  border-radius: var(--r-card);
  border-bottom: 2px solid var(--acc);
  box-shadow: var(--shadow);
  padding: 15px 15px 0;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.px-post:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(29, 34, 45, .16); }
.px-postimg { display: block; width: 100%; }
.px-postimg img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.px-posttitle { margin: 10px 0 0; font-size: 14px; font-weight: 600; line-height: 20px; }
.px-posttitle a { color: var(--ink-strong); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-posttitle a:hover { color: var(--acc); }
.px-postmeta {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; margin: 2px 0 0; min-height: 18px;
  font-size: 12px; line-height: 18px; color: var(--muted);
  border-radius: 0 0 var(--r-card) var(--r-card);
}
.px-btn {
  display: block; width: auto; margin: auto -15px 0; padding: 8px 6px;
  white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
  color: #fff; background: var(--acc);
  border-radius: 0 0 18px 18px;
  transition: background-color .2s var(--ease);
}
.px-post:hover .px-btn, .px-btn:hover { background: var(--acc-hover); color: #fff; }

/* star glyphs: decorative, the numeric rating sits beside them */
.stars { display: inline-flex; gap: 1px; }
.stars i {
  width: 11px; height: 11px; display: block;
  background: #d8dbe1;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m12 2 3 6.6 7.2 1-5.2 5 1.2 7.2L12 18.4 5.8 21.8 7 14.6 1.8 9.6l7.2-1Z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m12 2 3 6.6 7.2 1-5.2 5 1.2 7.2L12 18.4 5.8 21.8 7 14.6 1.8 9.6l7.2-1Z'/></svg>") center/contain no-repeat;
}
.stars i.on { background: var(--star); }
.stars i.half { background: linear-gradient(90deg, var(--star) 50%, #d8dbe1 50%); }
.px-postmeta .rt, .px-widemeta .rt { font-weight: 600; color: var(--acc-ink); }
.px-widemeta .vt { color: var(--muted); }

/* 3-up wide rail (top rated) */
.bav2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 20px; }
.bav2 > * { padding: 10px; }
.px-wide {
  display: flex; gap: 14px; height: 100%;
  background: var(--card); border-radius: var(--r-card);
  border-bottom: 2px solid var(--acc); box-shadow: var(--shadow);
  padding: 15px; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.px-wide:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(29, 34, 45, .16); }
.px-wideimg { flex: 0 0 auto; }
.px-wideimg img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
.px-widebody { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.px-widetitle { margin: 0; font-size: 15px; font-weight: 600; line-height: 21px; }
.px-widetitle a { color: var(--ink-strong); }
.px-widetitle a:hover { color: var(--acc); }
.px-widemeta { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 18px; }
.px-widedesc {
  margin: 4px 0 10px; font-size: 12px; line-height: 19px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.px-wide .px-btn {
  margin: auto 0 0; align-self: flex-start;
  width: auto; padding: 7px 18px; border-radius: var(--r-pill);
  font-size: 12px; text-transform: uppercase; letter-spacing: .03em;
}

/* VIEW MORE pill */
.vermas { text-align: center; margin: 4px 0 24px; }
.vermas a {
  display: inline-block; width: 225px; max-width: 100%;
  line-height: 40px; border-radius: var(--r-pill);
  background: var(--acc); color: #fff;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  transition: background-color .2s var(--ease);
}
.vermas a:hover { background: var(--acc-hover); color: #fff; }

/* =============================================================
   SIDEBAR
   ============================================================= */
.widget {
  background: var(--card); border-radius: var(--r-card);
  box-shadow: var(--shadow); padding: 15px 18px 18px;
  margin: 10px 0 20px;
}
.widget .wt {
  margin: 0 0 12px; padding: 0 0 8px;
  font-size: 15px; font-weight: 600; color: var(--ink-strong);
  border-bottom: 1px solid var(--line);
}
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget .sl a { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--ink); }
.widget .sl img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.widget .sl-t { flex: 1 1 auto; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.widget .sl-r { font-size: 12px; font-weight: 600; color: var(--acc-ink); }
.widget .sl a:hover .sl-t { color: var(--acc); }
.widget .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.widget .chips a {
  padding: 5px 14px; border-radius: var(--r-pill);
  background: var(--acc-soft); color: var(--acc-ink);
  font-size: 12px; font-weight: 600;
}
.widget .chips a:hover { background: var(--acc); color: #fff; }
.widget .wnote { margin: 0; font-size: 12px; line-height: 20px; color: var(--muted); }

/* =============================================================
   EDITORIAL - white box on the grey ground, tinted cards inside
   ============================================================= */
.box {
  background: var(--card);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 20px 25px;
  margin: 10px 0 20px;
}

.entry { font-size: 14px; line-height: 26px; }
.entry > :first-child { margin-top: 0; }
.entry p { margin: 0 0 16px; }
.entry a { color: var(--acc-ink); text-decoration: underline; text-underline-offset: 2px; }
.entry a:hover { color: var(--acc); }
.entry h2 {
  margin: 28px 0 12px; padding: 0 0 8px;
  font-size: 21px; font-weight: 700; line-height: 30px;
  color: var(--ink); text-align: start;
  border-bottom: 1px solid var(--line);
}
.entry h3 { margin: 20px 0 8px; font-size: 16px; font-weight: 700; line-height: 25px; color: var(--ink-strong); }
.entry h4 { margin: 16px 0 6px; font-size: 14px; font-weight: 700; color: var(--ink-strong); }
.entry ul { margin: 0 0 16px; padding: 0 0 0 4px; list-style: none; }
.entry ul li { position: relative; padding: 0 0 0 22px; margin: 0 0 7px; }
.entry ul li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--acc); transform: rotate(45deg);
}
.is-ur .entry ul li { padding: 0 22px 0 0; }
.is-ur .entry ul li::before { left: auto; right: 2px; }

.lede { font-size: 15px; line-height: 28px; }
.lede h1, .entry > h1 { margin: 0 0 14px; font-size: 30px; line-height: 40px; font-weight: 700; color: var(--ink); }

.ed-sec { margin: 0 0 10px; }
.ed-head {
  margin: 30px 0 14px; padding: 0 0 10px;
  font-size: 21px; font-weight: 700; line-height: 30px; color: var(--ink);
  text-align: start;
  background: linear-gradient(90deg, var(--acc) 0 48px, var(--line) 48px 100%) left bottom / 100% 2px no-repeat;
}

.ed-grid { display: grid; gap: 14px; margin: 16px 0 6px; }
.ed-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ed-card {
  background: var(--tint);
  border: 1px solid #e7eaef;
  border-radius: var(--r-card);
  padding: 16px 18px 14px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.ed-card:hover { border-color: var(--acc); transform: translateY(-2px); }
.ed-badge {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--acc-soft); color: var(--acc-ink);
  margin: 0 0 10px;
}
.ed-card-t { margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 23px; color: var(--ink-strong); }
.ed-card-b { font-size: 13px; line-height: 23px; }
.ed-card-b p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  margin: 30px 0 6px; padding: 30px 28px;
  background: linear-gradient(135deg, var(--chrome) 0%, var(--chrome-deep) 100%);
  border-radius: var(--r-card);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 360px; height: 360px;
  top: -200px; right: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 196, 164, .30) 0%, rgba(47, 196, 164, 0) 70%);
}
.cta-band > * { position: relative; }
/* .entry h2 sets text-align:start, so the band's centring has to be
   re-stated on the heading itself. */
.cta-band .cta-title {
  margin: 0 0 12px; padding: 0; border: 0; background: none;
  font-size: 23px; line-height: 32px; font-weight: 700;
  color: #fff; text-align: center;
}
.cta-band .cta-copy { color: #ccd3e0; font-size: 14px; line-height: 26px; }
.cta-band .cta-copy p:last-child { margin-bottom: 0; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 20px 0 0; }

/* Scoped past the `.entry a` accent colour, or the label renders invisible. */
.entry .hx-btn, a.hx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700; letter-spacing: .03em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.entry .hx-btn-primary, a.hx-btn-primary { background: var(--acc-bright); color: var(--chrome); border: 2px solid var(--acc-bright); }
.entry .hx-btn-primary:hover, a.hx-btn-primary:hover { background: #4FD8BB; border-color: #4FD8BB; color: var(--chrome); }
.entry .hx-btn-solid, a.hx-btn-solid { background: var(--acc); color: #fff; border: 2px solid var(--acc); }
.entry .hx-btn-solid:hover, a.hx-btn-solid:hover { background: var(--acc-hover); border-color: var(--acc-hover); color: #fff; }
.entry .hx-btn-ghost, a.hx-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .45); }
.entry .hx-btn-ghost:hover, a.hx-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* =============================================================
   FAQ accordion - native <details>, answers stay in the DOM
   ============================================================= */
.faq-head {
  margin: 30px 0 14px; padding: 0 0 10px;
  font-size: 21px; font-weight: 700; line-height: 30px; color: var(--ink); text-align: start;
  background: linear-gradient(90deg, var(--acc) 0 48px, var(--line) 48px 100%) left bottom / 100% 2px no-repeat;
}
.faq { border-radius: var(--r-card); overflow: hidden; border: 1px solid #e7eaef; }
.faq-item { background: var(--tint); border-bottom: 1px solid #e7eaef; }
.faq-item:last-child { border-bottom: 0; }
.faq-item > summary {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; cursor: pointer; list-style: none;
  transition: background-color .2s var(--ease);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ""; }
.faq-item > summary:hover { background: var(--acc-soft); }
.faq-item > summary h3, .faq-item > summary h4 {
  margin: 0; flex: 1 1 auto;
  font-size: 14px; font-weight: 700; line-height: 23px; color: var(--ink-strong);
}
.faq-chev {
  flex: 0 0 auto; width: 11px; height: 11px;
  border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc);
  transform: rotate(45deg); margin-bottom: 4px;
  transition: transform .25s var(--ease);
}
.faq-item[open] > summary { background: var(--acc-soft); }
.faq-item[open] .faq-chev { transform: rotate(-135deg); margin: 4px 0 0; }
.faq-a { padding: 0 18px 14px; font-size: 13px; line-height: 24px; }
.faq-a > :last-child { margin-bottom: 0; }
.is-ur .faq-chev { border-right: 0; border-left: 2px solid var(--acc); transform: rotate(-45deg); }
.is-ur .faq-item[open] .faq-chev { transform: rotate(135deg); }

/* =============================================================
   APK SINGLE PAGE
   ============================================================= */
.searchband {
  background: var(--chrome);
  border-radius: 0 0 var(--r-card) var(--r-card);
  padding: 18px 0 20px;
  margin: 0 0 16px;
}
.searchband .sb_search input { background: #f2f2f2; }

.crumbs { font-size: 12px; color: var(--muted); margin: 0 0 10px; padding: 0 10px; }
.crumbs a { color: var(--acc-ink); }
.crumbs span { color: var(--muted); }

.app-s { display: flex; gap: 20px; }
/* The reference emits the title block before the icon column and floats
   the icon left, so the H1 precedes the download button in the DOM. */
.app-s .s1 { order: -1; flex: 0 0 150px; text-align: center; }
.app-s .s2 { flex: 1 1 auto; min-width: 0; }

.app-icon {
  width: 150px; height: 150px; border-radius: var(--r-icon);
  object-fit: cover; display: block;
  box-shadow: 0 4px 14px rgba(29, 34, 45, .18);
}

.cat-label {
  display: inline-block; margin: 0 0 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--acc-ink);
}
h1.main-box-title { margin: 0 0 4px; font-size: 38px; line-height: 48px; font-weight: 700; color: var(--ink); }
.src-tag { font-size: 12px; color: var(--muted); margin: 0 0 12px; }

.tagchips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; padding: 0; list-style: none; }
.tagchips li a, .tagchips li span {
  display: block; padding: 4px 13px; border-radius: var(--r-pill);
  background: var(--acc-soft); color: var(--acc-ink);
  font-size: 12px; font-weight: 600;
}
.tagchips li a:hover { background: var(--acc); color: #fff; }

.shortdesc { margin: 0 0 16px; font-size: 14px; line-height: 25px; }

.box-title {
  margin: 24px 0 14px; font-size: 17px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2);
}
.box-title::after { content: ""; display: block; width: 34px; height: 3px; background: var(--acc); margin: 6px 0 0; }
.box-title:first-child, .s2 > .box-title:nth-of-type(1) { margin-top: 0; }

/* info table - three cells per row */
.da-s { display: flex; flex-wrap: wrap; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.da-s .cell { flex: 0 0 33.333%; max-width: 33.333%; padding: 11px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.da-s .cell:nth-child(3n) { border-right: 0; }
.da-s .cell .k { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.da-s .cell .v { display: block; font-size: 13px; font-weight: 600; color: var(--ink-strong); line-height: 21px; }

/* the New / Hot badge on a detail page is static, never absolute (C7) */
.badge {
  position: static; display: inline-block;
  margin: 10px 0 0; padding: 4px 14px;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: #fff;
}
.badge.hot { background: #B23A0C; }
.badge.new { background: var(--acc); }
.vbadge {
  display: inline-block; margin: 10px 0 0; padding: 4px 14px;
  border-radius: var(--r-pill); background: var(--tint); border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; color: var(--ink);
}

/* download + telegram buttons */
.dl-btn, .tg-btn {
  position: relative; display: block; width: 100%;
  min-height: 33px; margin: 12px 0 0;
  padding: 8px 5px 8px 38px;
  border-radius: var(--r-card);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: #fff; text-align: center; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.dl-btn { background: var(--dl); }
.dl-btn:hover { background: var(--dl-hv); color: #fff; }
.tg-btn { background: var(--tg); }
.tg-btn:hover { background: var(--tg-hv); color: #fff; }
.dl-btn .bi, .tg-btn .bi {
  position: absolute; left: 0; top: 0; bottom: 0; width: 30px;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .1);
  border-radius: var(--r-card) 0 0 var(--r-card);
}
.is-ur .dl-btn, .is-ur .tg-btn { padding: 8px 38px 8px 5px; }
.is-ur .dl-btn .bi, .is-ur .tg-btn .bi { left: auto; right: 0; border-radius: 0 var(--r-card) var(--r-card) 0; }

.ratingbox { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.ratingbox .big { display: block; font-size: 22px; font-weight: 700; color: var(--ink); line-height: 30px; }
.report { display: inline-flex; align-items: center; gap: 5px; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.report:hover { color: var(--acc); }

/* share row */
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.share a {
  flex: 0 0 104px; min-height: 31px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--r-card);
  font-size: 11px; font-weight: 600; color: #fff;
  transition: filter .2s var(--ease);
}
.share a:hover { filter: brightness(1.12); color: #fff; }
.share .fb { background: #1877f2; }
.share .tw { background: #14171a; }
.share .pi { background: #bd081c; }
.share .tg { background: var(--tg); }
.share .wa { background: #1da851; }

/* related row - 5 across the full measure */
.rlat { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 14px 0 0; }
.rl-item { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); border-bottom: 2px solid var(--acc); transition: transform .2s var(--ease); }
.rl-item:hover { transform: translateY(-3px); }
.rl-item a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 15px 10px; color: var(--ink-strong); text-align: center; }
.rl-item img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.rl-name { font-size: 13px; font-weight: 600; line-height: 19px; }

/* responsible-gaming note */
.rg {
  margin: 20px 0 0; padding: 16px 18px;
  background: #fff6e8; border: 1px solid #f2dcbd; border-radius: var(--r-card);
  font-size: 13px; line-height: 23px; color: #6b4a16;
}
.rg .rgh { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 6px; color: #8a5a10; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.rg-chips span { background: #fff; border: 1px solid #f2dcbd; border-radius: var(--r-pill); padding: 4px 13px; font-size: 12px; }

/* =============================================================
   FOOTER + DISCLAIMER
   ============================================================= */
#footer { background: var(--chrome); border-top: 2px solid var(--acc); color: #c7cdd9; margin: 30px 0 0; }
.ft { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; padding-top: 34px; padding-bottom: 30px; }
.ft-brand img { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; }
.ft p { margin: 10px 0 0; font-size: 13px; line-height: 23px; }
.ft-trust { display: flex; flex-wrap: wrap; gap: 14px; }
.ft-trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--acc-bright); }
.ft-h { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .05em; }
.ft ul { margin: 0; padding: 0; list-style: none; }
.ft li { margin: 0 0 8px; font-size: 13px; }
.ft a { color: #c7cdd9; }
.ft a:hover { color: var(--acc-bright); }
.ft-plain li { color: #9aa3b4; }
.ft-policy { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.ft-policy .pill {
  padding: 5px 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .22); font-size: 12px; color: #c7cdd9;
}
.ft-policy .pill:hover { background: var(--acc); border-color: var(--acc); color: #fff; }

.disclaimer { background: var(--chrome-deep); color: #8e97a8; padding: 20px 0 80px; }
.disclaimer p { margin: 0 0 8px; font-size: 12px; line-height: 21px; }
.disclaimer strong { color: var(--acc-bright); }
.disclaimer .cp { margin: 0; color: #727b8c; }

/* float CTA */
.floatcta {
  position: fixed; z-index: 90; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, #0C7A63, #0A9E80, #2FC4A4, #0C7A63);
  background-size: 300% 100%;
  color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(12, 122, 99, .42);
  animation: fshift 9s linear infinite;
}
.floatcta:hover { color: #fff; }
@keyframes fshift { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

.totop {
  position: fixed; z-index: 90; right: 18px; bottom: 76px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--acc); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease), background-color .2s var(--ease);
}
.totop.on { opacity: 1; visibility: visible; }
.totop:hover { background: var(--acc-hover); }

/* scroll-reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* 404 */
.e404 { text-align: center; padding: 50px 0; }
.e404 .big { font-size: 72px; line-height: 1; font-weight: 700; color: var(--acc); }

/* Urdu mirror */
.is-ur { font-family: 'Noto Nastaliq Urdu', 'Open Sans', Arial, sans-serif; }
.is-ur body, .is-ur .entry { line-height: 2.2; }
.is-ur .entry p, .is-ur .entry li { font-size: 15px; line-height: 2.3; }
.is-ur .hero h1, .is-ur .hero .hero-title { line-height: 1.7; }

/* =============================================================
   BREAKPOINTS - 1440 / 1024 / 768 / 519 / 375
   ============================================================= */
@media (max-width: 1100px) {
  .bav1 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ed-grid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rlat { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  #main-site > .container { display: block; }
  #sidebar { position: static; width: 100%; flex: none; }
  .bav1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bav2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-grid.cols-3, .ed-grid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero h1, .hero .hero-title { font-size: 34px; line-height: 42px; }
  h1.main-box-title { font-size: 30px; line-height: 40px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; line-height: 27px; }     /* >=16px body on mobile (C10) */
  .entry, .shortdesc { font-size: 16px; line-height: 27px; }
  .lede { font-size: 17px; line-height: 29px; }
  .lede h1, .entry > h1 { font-size: 25px; line-height: 34px; }
  .entry h2, .ed-head, .faq-head { font-size: 19px; line-height: 28px; }
  .ed-card-b, .faq-a, .px-widedesc { font-size: 15px; line-height: 25px; }

  .navtoggle { display: inline-flex; }
  #menu {
    position: fixed; inset: 60px 0 auto 0;
    background: var(--chrome-deep);
    border-bottom: 2px solid var(--acc);
    max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  #menu.open { max-height: 80vh; overflow: auto; }
  #menu ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 10px 14px; }
  #menu a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  #menu .nav-cta a { margin: 8px 0 0; text-align: center; }

  .hero { padding: 48px 0 32px; }
  .hero h1, .hero .hero-title { font-size: 27px; line-height: 36px; }
  .hero h2, .hero .hero-sub { font-size: 15px; line-height: 26px; }
  .cats { gap: 12px; }

  .bav1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bav2 { grid-template-columns: 1fr; }
  .ed-grid.cols-3, .ed-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rlat { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .box { padding: 18px 16px; }
  .app-s { display: block; }
  .app-s .s1 { margin: 0 0 16px; }
  .app-icon { margin: 0 auto; }
  h1.main-box-title { font-size: 25px; line-height: 34px; }
  .da-s .cell { flex: 0 0 50%; max-width: 50%; }
  .da-s .cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .da-s .cell:nth-child(2n) { border-right: 0; }

  .ft { grid-template-columns: 1fr 1fr; gap: 22px; }
  .share a { flex: 1 1 calc(50% - 4px); }
  .floatcta { font-size: 12px; padding: 10px 18px; max-width: calc(100% - 24px); }
  .totop { bottom: 70px; right: 12px; }
}

@media (max-width: 519px) {
  .ed-grid.cols-3, .ed-grid.cols-4 { grid-template-columns: 1fr; }
  .ft { grid-template-columns: 1fr; }
  .cta-band { padding: 24px 18px; }
  .cta-row .hx-btn { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .bav1, .rlat { grid-template-columns: 1fr; }
  .hero h1, .hero .hero-title { font-size: 24px; line-height: 33px; }
}

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