:root {
  --ink: #111827;
  --muted: #607083;
  --line: #d9e0e7;
  --line-strong: #b8c4cf;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --panel-2: #eef4f6;
  --brand: #0e6b64;
  --brand-dark: #093f3b;
  --accent: #d86835;
  --accent-2: #2d73b9;
  --danger: #a8324a;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.1);
}

/* Compact product template used by selected product pages. */
.product-compact-template {
  background: #f3f6f8;
}

.product-compact-template .india-hero {
  padding: 30px 0 34px;
  color: #17252d;
  background: linear-gradient(135deg, #eef8f4 0%, #f8f1e5 100%);
  border-bottom: 1px solid #dce7e2;
}

.product-compact-template .india-product-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid #d7e3de;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(24, 56, 49, 0.1);
}

.product-compact-template .product-icon {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(20, 62, 50, 0.16);
}

.product-compact-template .product-hero-copy h1 {
  margin: 7px 0 10px;
  color: #173b32;
  font-size: clamp(30px, 3.2vw, 48px);
}

.product-compact-template .product-hero-actions {
  display: grid;
  gap: 10px;
}

.product-compact-template .product-hero-actions .button {
  width: 100%;
  text-align: center;
}

.product-compact-template main > .wrap {
  padding-top: 34px;
}

.product-compact-template article > section,
.product-compact-template article > details,
.product-compact-template aside .card {
  border: 1px solid #dde5e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 53, 48, 0.06);
}

.product-accordion {
  overflow: hidden;
  padding: 0 !important;
}

.product-accordion summary {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px 54px 20px 22px;
  cursor: pointer;
  list-style: none;
}

.product-accordion summary::-webkit-details-marker {
  display: none;
}
.product-accordion summary span {
  color: #708078;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-accordion summary strong {
  color: #183b32;
  font-size: 22px;
}
.product-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  translate: 0 -50%;
  color: #08745b;
  font-size: 30px;
  font-weight: 400;
}
.product-accordion[open] summary::after {
  content: "−";
}
.product-accordion[open] summary {
  border-bottom: 1px solid #e4ebe8;
}
.product-accordion-body {
  padding: 4px 22px 22px;
}

@media (max-width: 760px) {
  .product-compact-template .india-product-hero {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }
  .product-compact-template .product-icon {
    width: 76px;
    height: 76px;
    border-radius: 16px;
  }
  .product-compact-template .product-hero-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
  .product-compact-template .product-hero-copy h1 {
    font-size: 28px;
  }
}

/* Mobile app shell */
.mobile-app-bar,
.mobile-bottom-nav,
.mobile-category-layer,
.mobile-icon-sprite {
  display: none;
}

.mobile-app-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  html {
    background: #edf2f3;
    overflow-x: clip;
  }

  body {
    min-width: 0;
    overflow-x: clip;
    padding-top: 58px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    background: #f3f6f6;
    background-image: none;
  }

  body.mobile-categories-open {
    overflow: hidden;
  }

  body.admin-screen {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.admin-screen .mobile-app-bar,
  body.admin-screen .mobile-bottom-nav,
  body.admin-screen .mobile-category-layer {
    display: none;
  }

  .site-header {
    display: none;
  }

  .mobile-app-bar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    min-height: 58px;
    padding: 7px 12px;
    border-bottom: 1px solid #d7e0e2;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 5px 18px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(16px);
  }

  .mobile-app-bar > strong {
    min-width: 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 16px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-app-leading,
  .mobile-app-home-mark,
  .mobile-app-back {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
  }

  .mobile-app-leading img,
  .mobile-app-home-mark img {
    width: 45px;
    height: 45px;

    object-fit: contain;
  }

  .mobile-app-home-mark img {
    width: 30px;
    height: 30px;
  }

  .mobile-app-back {
    color: var(--ink);
    border-radius: 8px;
  }

  .mobile-app-back:active {
    background: #e7f0ef;
  }

  .mobile-bottom-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: 5px 4px env(safe-area-inset-bottom);
    border-top: 1px solid #d3dddf;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.1);
    backdrop-filter: blur(16px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 56px;
    padding: 5px 2px;
    border-radius: 6px;
    color: #64727e;
    background: transparent;
    font: inherit;
    text-decoration: none;
  }

  .mobile-bottom-nav span {
    max-width: 100%;
    overflow: hidden;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav .active {
    color: var(--brand);
  }

  .mobile-bottom-nav .active::before {
    content: "";
    position: absolute;
    inset: 0 22% auto;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--brand);
  }

  .mobile-category-layer {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-category-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    opacity: 0;
    background: rgba(10, 20, 27, 0.54);
    transition: opacity 0.2s ease;
  }

  .mobile-category-drawer {
    position: absolute;
    inset: auto 0 0;
    max-height: min(78vh, 620px);
    padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 8px 8px 0 0;
    background: #fff;
    box-shadow: 0 -18px 46px rgba(17, 24, 39, 0.2);
    transform: translateY(105%);
    transition: transform 0.24s ease;
  }

  .mobile-categories-open .mobile-category-layer {
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-categories-open .mobile-category-overlay {
    opacity: 1;
  }

  .mobile-categories-open .mobile-category-drawer {
    transform: translateY(0);
  }

  .mobile-category-handle {
    width: 38px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #cbd5d8;
  }

  .mobile-category-drawer > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
  }

  .mobile-category-drawer h2,
  .mobile-category-drawer small {
    margin: 0;
  }

  .mobile-category-drawer h2 {
    font-size: 22px;
  }

  .mobile-category-drawer small {
    color: var(--brand);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-category-drawer > header button {
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    border: 1px solid var(--line);
    background: #f6f9f8;
  }

  .mobile-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .mobile-category-grid a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 1px 10px;
    align-items: center;
    min-height: 68px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #f7faf9;
    text-decoration: none;
  }

  .mobile-category-grid a > span {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--brand);
    border-radius: 8px;
    background: #e3f0ed;
  }

  .mobile-category-grid strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-category-grid small {
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
  }

  .wrap {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero::after {
    display: none;
  }

  .hero .wrap {
    min-height: 224px;
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: 27px;
  }

  .hero .lead {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
    padding: 5px 8px;
  }

  main .wrap {
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .section {
    margin-top: 20px;
  }

  h2 {
    font-size: 22px;
  }

  .card,
  .app-row,
  .faq details,
  .spec-table,
  .noindex-note {
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.055);
  }

  .card {
    padding: 14px;
  }

  .app-list {
    gap: 9px;
  }

  .app-row {
    padding: 11px;
  }

  .button,
  button,
  input[type="submit"] {
    min-height: 44px;
  }

  .footer {
    padding-bottom: 22px;
  }

  .product-alt-template {
    padding-bottom: calc(142px + env(safe-area-inset-bottom));
  }

  .product-alt-template .mobile-download-bar {
    right: 8px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    left: 8px;
    z-index: 95;
  }

  .mobile-categories-open .mobile-download-bar {
    visibility: hidden;
  }

  .home-comments,
  .home-comment-card,
  .home-comment-card > div,
  .home-comment-meta {
    min-width: 0;
    max-width: 100%;
  }

  .home-comments {
    grid-template-columns: 1fr;
  }

  .home-comment-meta > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .home-comment-stars {
    white-space: nowrap;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(
      90deg,
      rgba(14, 107, 100, 0.08) 0,
      rgba(14, 107, 100, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(180deg, #fbfaf6 0%, #f3f6f4 100%);
  background-size:
    42px 42px,
    auto;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

a {
  color: #0c5d9e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: 268px;
  z-index: 50;
  color: #fff;
  background: linear-gradient(180deg, var(--brand-dark), #102a35);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 12px 0 34px rgba(17, 24, 39, 0.16);
}

.topbar {
  min-height: 100vh;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.brand {
  position: relative;
  display: grid;
  min-height: 56px;
  padding: 4px 8px;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: #fff9e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.08;
  text-align: left;
  letter-spacing: -0.02em;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand::before {
  content: "RUMMY • ANDROID GUIDES";
  position: absolute;
  left: 55px;
  bottom: 8px;
  color: #e8c874;
  font:
    800 8px/1 Arial,
    sans-serif;
  letter-spacing: 0.1em;
}

.brand::after {
  display: none;
}

.brand img {
  width: 45px;
  height: 45px;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  transform: none;
}

.brand:hover {
  text-decoration: none;
}

.nav-toggle,
.nav-toggle-button {
  display: none;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.055);
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  text-decoration: none;
}

.hero,
main,
.footer {
  margin-left: 268px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(9, 63, 59, 0.13), rgba(17, 24, 39, 0.3)),
    url("banners/teen-patti-hero.webp") center/cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 36px 28px auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(12deg);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  min-height: 430px;
  padding-top: 58px;
  padding-bottom: 58px;
  display: grid;
  align-content: center;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 10px;
  color: #ffdebc;
  border: 1px solid rgba(255, 222, 188, 0.45);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.1vw, 54px);
}

h2 {
  margin-bottom: 16px;
  font-size: 27px;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lead {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-pills,
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pills span,
.meta span,
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-pills span {
  padding: 7px 10px;
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.14);
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
}

.search-box input,
textarea,
.select,
input[type="text"],
input[type="search"],
input[type="file"] {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.search-box input {
  min-height: 50px;
  padding: 13px 15px;
}

textarea {
  min-height: 210px;
  padding: 13px 14px;
  resize: vertical;
}

.select,
input[type="file"] {
  padding: 10px 12px;
}

main .wrap {
  padding-top: 38px;
  padding-bottom: 56px;
}

.section {
  margin-top: 34px;
}

.grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  overflow-x: auto;
  padding-bottom: 8px;
}

.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  align-items: start;
}

.card,
.app-row,
.faq details,
.spec-table,
.noindex-note {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}

.card {
  padding: 18px;
}

.category-card {
  min-height: 100%;
  display: grid;
  gap: 12px;
  border-top: 5px solid var(--accent);
}

.category-thumb {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.category-card strong {
  color: var(--ink);
  font-size: 18px;
}

.category-card span,
.category-card small,
.app-row small,
.crumbs,
.footer,
.meta {
  color: var(--muted);
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--line);
}

.toolbar h2 {
  margin-bottom: 12px;
}

.app-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.app-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 13px;
}

.app-row > .button,
.app-row > button {
  grid-column: 2;
  width: fit-content;
}

.latest-page .app-row {
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
}

.latest-page .app-row > span {
  min-width: 0;
}

.latest-page .app-row > .button,
.latest-page .app-row > button {
  grid-column: 3;
  width: auto;
  min-width: 102px;
  white-space: nowrap;
}

.icon-img,
.icon,
.product-icon,
.question-apk-icon {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.1);
}

.question-apk-card {
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
}

.question-apk-card > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.question-apk-card strong,
.question-apk-card span span {
  display: block;
}

.question-apk-card .question-apk-icon {
  width: 58px;
  height: 58px;
}

.icon {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.meta {
  margin-top: 5px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta span,
.badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 4px 8px;
  background: #e9f1f0;
  color: #285a56;
}

.badge.warn {
  color: #8a3545;
  background: #fff0f3;
}

.button,
button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 11px 15px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button:hover,
button:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.button.secondary {
  background: #24313a;
}

.button.light,
button.light {
  color: var(--brand);
  background: #edf5f3;
  border: 1px solid #bdd7cd;
}

.button.saffron,
button.saffron {
  background: var(--accent);
}

.crumbs {
  margin-bottom: 16px;
  font-size: 14px;
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 12px 13px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  width: 34%;
  color: #405060;
  background: #eef4f6;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.product-hero,
.india-product-hero {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.screens {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen {
  min-height: 190px;
  padding: 18px;
  display: flex;
  align-items: end;
  color: #fff;
  font-weight: 900;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f2f43, #d86835);
}

.faq details {
  padding: 13px 15px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.disclaimer,
.noindex-note {
  padding: 14px 16px;
  color: #57303a;
  border-left: 5px solid var(--danger);
  background: #fff7f6;
}

.footer {
  padding: 30px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.admin-actions,
.batch-toolbar,
.filter-toolbar,
.regen-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body.admin-screen {
  min-height: 100vh;
  background:
    linear-gradient(
      90deg,
      rgba(14, 107, 100, 0.08) 0,
      rgba(14, 107, 100, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      0deg,
      rgba(14, 107, 100, 0.08) 0,
      rgba(14, 107, 100, 0.08) 1px,
      transparent 1px
    ),
    #f7f7f4;
  background-size: 42px 42px;
}

body.admin-screen .site-header {
  display: none;
}

body.admin-screen .footer,
body.admin-screen .hero {
  margin-left: 0;
}

.admin-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  display: flex;
  width: 248px;
  flex-direction: column;
  padding: 22px 16px 18px;
  background: #103f3d;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 12px 0 34px rgba(17, 24, 39, 0.14);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 5px 18px;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.admin-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.admin-brand b {
  padding: 3px 8px;
  border-radius: 999px;
  color: #103f3d;
  background: #d9f2e9;
  font-size: 12px;
}

.admin-nav {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  padding: 14px 0 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-nav a,
.admin-logout {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #d8e9e7;
  background: transparent;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: #102b2a;
  background: #fff;
  text-decoration: none;
}

.admin-nav .admin-logout {
  margin-top: auto;
  color: #ffd8dd;
  background: rgba(168, 50, 74, 0.24);
  border-color: rgba(255, 216, 221, 0.18);
}

.admin-shell {
  width: auto;
  max-width: none;
  margin: 0 0 0 248px;
  padding: 34px clamp(22px, 3vw, 48px) 62px;
}

.admin-main {
  width: min(100%, 1480px);
  min-width: 0;
  margin: 0 auto;
}

.admin-footer {
  max-width: none;
  margin: 0 0 0 248px;
  padding: 22px 20px 40px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 960px) {
  .admin-header {
    position: sticky;
    inset: auto;
    width: 100%;
    padding: 10px 14px 0;
    background: #103f3d;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.16);
  }

  .admin-brand {
    min-height: 42px;
    padding: 0 0 9px;
  }

  .admin-brand img {
    width: 32px;
    height: 32px;
  }

  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 10px;
  }

  .admin-nav a,
  .admin-logout {
    min-height: 38px;
    flex: 0 0 auto;
    padding: 8px 11px;
    white-space: nowrap;
  }

  .admin-nav .admin-logout {
    margin-top: 0;
    margin-left: auto;
  }

  .admin-shell,
  .admin-footer {
    margin-left: 0;
  }

  .admin-shell {
    padding: 24px 16px 48px;
  }
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.template-thumb {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.template-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th {
  background: #eef4f6;
}

.json-output {
  min-height: 320px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

h1,
h2,
h3,
.lead,
.card,
.app-row,
.spec-table td,
.brand {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .app-list {
    grid-template-columns: 1fr;
  }

  .two-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    inset: 0;
    width: auto;
    background: #fff;
    color: var(--ink);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  }

  .topbar {
    min-height: 62px;
    padding: 8px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    min-height: 0;
    padding: 4px 10px 4px 6px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 7px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    text-align: left;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .brand img {
    width: 45px;
    height: 45px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    clip-path: none;
    transform: none;
  }

  .brand::before,
  .brand::after {
    display: none;
  }

  .nav-toggle-button {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }

  .nav-toggle-button span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
  }

  .nav-toggle-button b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 10px;
  }

  .nav-toggle:checked ~ .nav {
    display: grid;
  }

  .nav a {
    min-height: 40px;
    justify-content: center;
    color: var(--ink);
    background: #f7faf9;
    border-color: var(--line);
  }

  .hero,
  .product-alt-template .product-alt-hero,
  main,
  .footer {
    margin-left: 0;
  }

  .hero .wrap {
    min-height: 360px;
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .category-grid,
  .three-grid,
  .screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 28px;
  }

  .lead {
    font-size: 16px;
  }

  .search-box,
  .category-grid,
  .three-grid,
  .screens,
  .nav {
    grid-template-columns: 1fr;
  }

  .app-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .app-row > .button,
  .app-row > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .latest-page .app-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .latest-page .app-row > .button,
  .latest-page .app-row > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .product-hero,
  .india-product-hero {
    grid-template-columns: 1fr;
  }

  .product-hero-actions .button {
    flex: 1 1 150px;
  }

  .spec-table {
    display: block;
    overflow-x: auto;
  }
}

/* Category pages: image-led banner and directory template */
.category-template .hero {
  background:
    linear-gradient(135deg, rgba(9, 63, 59, 0.13), rgba(17, 24, 39, 0.3)),
    url("banners/teen-patti-hero.webp") center/cover;
}

.category-teen-patti .hero {
  background:
    linear-gradient(135deg, rgba(9, 63, 59, 0.13), rgba(17, 24, 39, 0.3)),
    url("banners/teen-patti-hero.webp") center/cover;
}

.category-3patti .hero {
  background:
    linear-gradient(135deg, rgba(9, 63, 59, 0.13), rgba(17, 24, 39, 0.3)),
    url("banners/3patti-hero.webp") center/cover;
}

.category-rummy .hero {
  background:
    linear-gradient(135deg, rgba(9, 63, 59, 0.13), rgba(17, 24, 39, 0.3)),
    url("banners/rummy-hero.webp") center/cover;
}

.category-yono .hero {
  background:
    linear-gradient(135deg, rgba(9, 63, 59, 0.13), rgba(17, 24, 39, 0.3)),
    url("banners/yono-hero.webp") center/cover;
}

.category-slot .hero {
  background:
    linear-gradient(135deg, rgba(9, 63, 59, 0.13), rgba(17, 24, 39, 0.3)),
    url("banners/slot-hero.webp") center/cover;
}

.category-template main .wrap > .section:first-child {
  margin-top: 0;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.category-template .app-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-template .app-row {
  min-height: 100%;
  align-content: start;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 13px;
  overflow: visible;
  border-top: 4px solid var(--brand);
}

.category-template .app-row .icon-img {
  display: block;
  width: 74px;
  height: 74px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.category-template .app-row > span {
  display: block;
  padding: 0;
}

.category-template .app-row > .button,
.category-template .app-row > button {
  grid-column: 2;
  width: 100%;
  margin: 0;
}

/* Product detail pages: dossier template */
.product-template .hero {
  background:
    linear-gradient(120deg, rgba(12, 30, 42, 0.96), rgba(9, 63, 59, 0.86)),
    url("banners/rummy-hero.webp") center/cover;
}

.product-template.category-teen-patti .hero {
  background:
    linear-gradient(120deg, rgba(12, 30, 42, 0.94), rgba(9, 63, 59, 0.78)),
    url("banners/teen-patti-hero.webp") center/cover;
}

.product-template.category-3patti .hero {
  background:
    linear-gradient(120deg, rgba(12, 30, 42, 0.94), rgba(9, 63, 59, 0.78)),
    url("banners/3patti-hero.webp") center/cover;
}

.product-template.category-rummy .hero {
  background:
    linear-gradient(120deg, rgba(12, 30, 42, 0.94), rgba(9, 63, 59, 0.78)),
    url("banners/rummy-hero.webp") center/cover;
}

.product-template.category-yono .hero {
  background:
    linear-gradient(120deg, rgba(12, 30, 42, 0.94), rgba(9, 63, 59, 0.78)),
    url("banners/yono-hero.webp") center/cover;
}

.product-template.category-slot .hero {
  background:
    linear-gradient(120deg, rgba(12, 30, 42, 0.94), rgba(9, 63, 59, 0.78)),
    url("banners/slot-hero.webp") center/cover;
}

.product-template .product-hero {
  max-width: 980px;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.product-template .hero .wrap {
  min-height: 560px;
  padding-top: 54px;
  padding-bottom: 54px;
}

.product-template .product-hero h1 {
  max-width: 760px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
}

.product-template .product-hero .lead {
  max-width: 720px;
}

.product-template .product-hero-actions {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  margin-top: 22px;
  min-width: 0;
}

.product-template .product-hero-actions .button {
  min-width: 154px;
  min-height: 54px;
  padding: 14px 20px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
}

.product-template .product-hero-actions .button.light {
  color: var(--brand-dark);
  background: #f0f7f5;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.product-template .product-icon {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3);
}

.product-template main .two-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.product-template article {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-template article > section {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
}

.product-template article > section:first-child,
.product-template article > section:nth-child(2),
.product-template article > #comments,
.product-template article > .faq {
  grid-column: 1 / -1;
}

.product-template article > section h2 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.product-template .spec-table {
  box-shadow: none;
}

.product-template aside {
  position: sticky;
  top: 22px;
}

.product-template .india-side-card {
  border-top: 5px solid var(--accent);
}

.product-template #comments {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf9 100%);
}

.product-template #comments .comment-list {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 34px;
}

.product-template #comments .comment-list::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

.comment-card {
  position: relative;
  margin: 0 0 14px;
  padding: 0 0 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.comment-card::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 14px;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow:
    0 0 0 2px var(--accent-2),
    0 7px 16px rgba(17, 24, 39, 0.16);
}

.comment-card:nth-child(even)::before {
  background: var(--accent);
  box-shadow:
    0 0 0 2px var(--accent),
    0 7px 16px rgba(17, 24, 39, 0.16);
}

.comment-head {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: #eef5f7;
}

.comment-head strong {
  color: var(--brand-dark);
}

.comment-stars {
  color: var(--accent);
  font-weight: 900;
}

/* Alternate product dossier template */
.product-alt-template .product-alt-hero {
  margin-left: 268px;
  padding: 44px 0 18px;
  color: var(--ink);
  background:
    linear-gradient(
      90deg,
      rgba(14, 107, 100, 0.08) 0,
      rgba(14, 107, 100, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(180deg, #f9fbf8 0%, #eef5f2 100%);
  background-size:
    42px 42px,
    auto;
  border-bottom: 1px solid var(--line);
}

.product-alt-template .product-alt-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
  margin-top: 18px;
}

.product-alt-template .product-alt-intro,
.product-alt-template .product-alt-download {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-alt-template .product-alt-intro {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  border-top: 6px solid var(--brand);
}

.product-alt-template .product-alt-intro .product-icon {
  width: 112px;
  height: 112px;
  border-radius: 18px;
}

.product-alt-template .product-alt-intro h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.18;
}

.product-alt-template .product-alt-intro .lead {
  max-width: 760px;
  color: #314152;
}

.product-alt-template .product-alt-intro .eyebrow {
  color: var(--brand-dark);
  border-color: rgba(14, 107, 100, 0.28);
  background: #edf8f5;
}

.product-alt-template .product-alt-intro .hero-pills span {
  color: var(--brand-dark);
  background: #eef5f3;
  border: 1px solid rgba(14, 107, 100, 0.12);
}

.product-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.product-stat-grid span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(14, 107, 100, 0.14);
  border-radius: 8px;
  background: #eef5f3;
}

.product-stat-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.product-stat-grid strong {
  color: var(--brand-dark);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.product-alt-template .product-alt-download {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border-top: 6px solid var(--accent);
}

.product-alt-template .product-alt-download h2 {
  margin: 0;
  font-size: 28px;
}

.product-alt-template .product-alt-download p {
  margin: 0 0 6px;
  color: var(--muted);
}

.product-alt-template .product-alt-download .button {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}

.product-download-meta,
.download-mini-checks,
.product-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-download-meta > span:last-child,
.download-mini-checks span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-download-actions {
  display: grid;
  gap: 9px;
}

.download-mini-checks {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.download-mini-checks span {
  padding: 5px 8px;
  border-radius: 6px;
  background: #f2f6f5;
}

.product-jump-nav {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

.product-jump-nav > span {
  padding: 6px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-jump-nav a {
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.product-jump-nav a:hover {
  background: #edf8f5;
}

.product-alt-template .product-alt-main .wrap {
  padding-top: 28px;
}

.product-template article > #details,
.product-template article > .product-fit,
.product-template article > .product-reviews {
  grid-column: 1 / -1;
}

.section-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-section-head h2 {
  margin: 0;
}

.fit-status,
.review-count {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #e7f3f0;
  font-size: 12px;
  font-weight: 800;
}

.section-intro {
  color: var(--muted);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fit-grid > div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  background: #f2f7f5;
}

.fit-grid strong {
  color: var(--brand-dark);
}

.fit-grid span {
  color: var(--muted);
  font-size: 14px;
}

.comment-more {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.comment-more > summary {
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand-dark);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.comment-more[open] > summary {
  margin-bottom: 16px;
  background: #edf8f5;
}

.side-text-link {
  display: block;
  margin-top: 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.product-topic-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.product-topic-list .badge {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f2f7f5;
  text-decoration: none;
}

.product-topic-list .badge::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.product-topic-list .badge:hover {
  border-color: var(--brand);
  background: #e7f3f0;
}

.mobile-download-bar {
  display: none;
}

.comment-head .meta {
  margin: 0;
  color: var(--muted);
}

.comment-card p {
  max-width: 760px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0 8px 8px 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.home-comments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-comment-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
}

.home-comment-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.14);
  background: #eef4f6;
}

.home-comment-avatar.fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 900;
}

.home-comment-card strong {
  display: block;
  color: var(--ink);
}

.home-comment-card p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #34495a;
}

.home-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.home-comment-stars {
  color: var(--accent);
  font-weight: 900;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(16, 42, 67, 0.06);
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #edf5f3;
}

.review-avatar.fallback {
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  font-weight: 900;
}

.review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.review-date,
.review-target {
  color: var(--muted);
  font-size: 13px;
}

.review-card p {
  margin: 10px 0;
}

.review-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

a.review-target {
  color: var(--brand);
  font-weight: 800;
}

.admin-comment-card .inline-form {
  margin-top: 10px;
}

.inline-form {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 680px) {
  .review-card {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 14px;
  }

  .review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }
}

/* Question pages: knowledge-base template */
.question-index-template .hero {
  background:
    linear-gradient(135deg, rgba(15, 47, 67, 0.94), rgba(121, 68, 39, 0.78)),
    url("../uploads/templates/slot/slot-slot-11-fb5f44e232.webp") center/cover;
}

.question-index-template main .wrap > section:first-child,
.question-index-template main .wrap > .grid:first-child {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.question-index-template .category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
}

.question-index-template .category-card {
  position: relative;
  padding-left: 52px;
  border-top: 0;
  border-left: 5px solid var(--accent-2);
}

.question-index-template .category-card::before {
  content: "?";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--accent-2);
  font-weight: 900;
}

.question-hub-hero {
  background:
    linear-gradient(135deg, rgba(7, 35, 39, 0.92), rgba(16, 77, 68, 0.74)),
    url("banners/teen-patti-hero.webp") center/cover;
}

.question-hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.question-hub-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 800;
}

.question-hub-stats strong {
  color: #ffdebc;
}

.question-hub .wrap {
  padding-top: 28px;
  padding-bottom: 34px;
}

.question-hub-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.question-hub-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 22px;
  padding: clamp(18px, 2.4vw, 28px);
}

.question-hub-feature h2,
.question-hub-side h2 {
  margin-bottom: 10px;
}

.question-hub-feature p {
  max-width: 720px;
  margin-bottom: 14px;
  color: #405166;
}

.question-hub-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.question-hub-intents a,
.question-hub-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.question-hub-intents a {
  padding: 8px 11px;
  color: var(--brand-dark);
  background: #edf8f5;
  border: 1px solid rgba(14, 107, 100, 0.18);
}

.question-hub-feature aside {
  padding: 16px;
  border-radius: 8px;
  background: #f7fbfa;
  border: 1px solid var(--line);
}

.question-hub-links,
.question-hub-list,
.question-hub-apks {
  display: grid;
  gap: 10px;
}

.question-hub-links a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  line-height: 1.35;
}

.question-hub-links a:last-child {
  border-bottom: 0;
}

.question-hub-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.question-hub-cat {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-top: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.06);
}

.question-hub-cat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
}

.question-hub-cat span {
  font-weight: 900;
}

.question-hub-cat strong {
  min-width: 32px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.question-hub-cat em,
.question-hub-item em,
.question-hub-apk em {
  grid-column: 1 / -1;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.question-hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  gap: 18px;
}

.question-hub-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent-2);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.question-hub-item strong {
  font-size: 18px;
  line-height: 1.35;
}

.question-hub-tag {
  width: fit-content;
  padding: 5px 8px;
  color: #174b6f;
  background: #eaf3fb;
}

.question-hub-side {
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.question-hub-apk {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.question-hub-apk img,
.question-hub-apk > span {
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

.question-hub-apk > span {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.question-hub-apk strong,
.question-hub-apk em {
  min-width: 0;
}

.question-detail-template main {
  background:
    linear-gradient(
      90deg,
      rgba(216, 104, 53, 0.08) 0,
      rgba(216, 104, 53, 0.08) 1px,
      transparent 1px
    ),
    #fbfaf6;
  background-size: 34px 34px;
}

.question-detail-template .question-page {
  max-width: 1020px;
  padding-top: 44px;
}

.question-detail-template .question-page > article {
  margin-top: 0;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.question-detail-template .question-page h1 {
  max-width: 880px;
  font-size: clamp(30px, 4vw, 46px);
}

.question-detail-template .question-answer {
  display: grid;
  gap: 14px;
  max-width: 850px;
}

.question-detail-template .question-answer p,
.question-detail-template .question-answer ul,
.question-detail-template .question-answer ol {
  margin: 0;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
}

.question-detail-template .question-answer ul,
.question-detail-template .question-answer ol {
  padding-left: 38px;
}

.question-detail-template .question-answer h2 {
  margin: 18px 0 0;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.question-detail-template .question-page > .section:last-child .category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: visible;
}

.question-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.question-download-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 112px;
  padding: 16px 18px;
  gap: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent-2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
}

.question-download-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.question-download-card p {
  margin: 2px 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.question-download-card .button {
  white-space: nowrap;
}

.question-download-icon .question-apk-icon,
.question-download-icon .icon {
  width: 68px;
  height: 68px;
}

.related-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-question-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.related-question-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}

.related-question-card span {
  color: var(--muted);
  font-size: 14px;
}

/* Informational footer pages */
.legal-page main .wrap {
  max-width: 1060px;
}

.legal-page article.section {
  margin-top: 0;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.legal-page article.section > p:first-child {
  margin-top: 0;
  padding: 16px 18px;
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  background: #eef7f5;
  color: #24333c;
  font-size: 17px;
}

.legal-page article.section h2 {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.legal-page article.section h3 {
  margin-top: 18px;
}

.legal-page article.section ul,
.legal-page article.section ol {
  padding-left: 24px;
}

.legal-page article.section li + li {
  margin-top: 8px;
}

.legal-page .info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.legal-page .info-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
}

.legal-page .info-box h3 {
  margin-top: 0;
}

@media (max-width: 640px) {
  .legal-page .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .category-template .app-list,
  .question-index-template .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .question-hub-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .question-hub-feature,
  .question-hub-layout {
    grid-template-columns: 1fr;
  }

  .question-hub-side {
    position: static;
  }

  .product-template .product-hero {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .product-alt-template .product-alt-panel {
    grid-template-columns: 1fr;
  }

  .product-template .product-icon {
    width: 82px;
    height: 82px;
  }

  .product-template .product-hero-actions {
    grid-column: 2;
    flex-direction: row;
    justify-content: flex-start;
  }

  .product-template .product-hero-actions .button {
    width: auto;
    min-width: 132px;
  }

  .product-template main .two-grid {
    grid-template-columns: 1fr;
  }

  .product-template aside {
    position: static;
  }
}

@media (max-width: 900px) {
}

@media (max-width: 640px) {
  .category-template .app-list,
  .product-template article,
  .product-template #comments .comment-list,
  .question-index-template .category-grid,
  .question-detail-template .question-page > .section:last-child .category-grid,
  .question-download-grid,
  .related-question-grid {
    grid-template-columns: 1fr;
  }

  .product-template .product-hero {
    grid-template-columns: 1fr;
  }

  .question-hub-cat-grid {
    grid-template-columns: 1fr;
  }

  .question-hub-feature {
    padding: 18px;
  }

  .question-hub-intents a,
  .question-hub-stats span {
    width: 100%;
  }

  .question-hub-item strong {
    font-size: 16px;
  }

  .product-alt-template .product-alt-hero {
    margin-left: 0;
    padding-top: 26px;
    overflow-x: hidden;
  }

  .product-alt-template .product-alt-main,
  .product-alt-template .footer {
    margin-left: 0;
  }

  .product-alt-template .product-alt-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }

  .product-alt-template .product-alt-intro {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding: 14px;
    border-left-width: 1px;
    border-top-width: 5px;
  }

  .product-alt-template .product-alt-intro .eyebrow {
    margin-bottom: 8px;
    color: var(--brand-dark);
    background: #eef7f5;
    border-color: var(--line);
    font-size: 11px;
  }

  .product-alt-template .product-alt-intro h1 {
    font-size: 22px;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  .product-alt-template .product-alt-intro .lead {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .product-alt-template .product-alt-intro .product-icon {
    width: 72px;
    height: 72px;
  }

  .product-alt-template .product-alt-intro .product-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    margin-top: 12px;
  }

  .product-alt-template .product-alt-intro .product-stat-grid span {
    width: 100%;
    min-height: 48px;
    padding: 7px 9px;
    color: var(--brand-dark);
    background: #eef5f3;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-align: left;
  }

  .product-alt-template .product-alt-download {
    gap: 8px;
    padding: 14px;
  }

  .product-alt-template .product-alt-download h2 {
    font-size: 23px;
  }

  .product-alt-template .product-alt-download .button {
    min-height: 46px;
  }

  .product-jump-nav {
    top: 6px;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .product-jump-nav > span {
    display: none;
  }

  .product-alt-template .product-alt-main .wrap {
    padding-top: 16px;
  }

  .product-section-head {
    align-items: flex-start;
  }

  .fit-grid {
    grid-template-columns: 1fr;
  }

  .product-template .product-desktop-side {
    display: none;
  }

  .product-template #comments .comment-list {
    padding-left: 24px;
  }

  .product-template #comments .comment-list::before {
    left: 7px;
  }

  .comment-card::before {
    left: -24px;
  }

  .comment-card p {
    padding: 12px;
    font-size: 14px;
  }

  .product-alt-template {
    padding-bottom: 70px;
  }

  .mobile-download-bar {
    position: fixed;
    right: 8px;
    bottom: 8px;
    left: 8px;
    z-index: 70;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 8px 8px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.22);
  }

  .mobile-download-bar div {
    min-width: 0;
  }

  .mobile-download-bar small,
  .mobile-download-bar strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-download-bar small {
    color: var(--muted);
    font-size: 11px;
  }

  .mobile-download-bar strong {
    color: var(--ink);
    font-size: 13px;
  }

  .mobile-download-bar .button {
    min-height: 42px;
    padding: 9px 14px;
  }

  .product-template .product-icon {
    width: 86px;
    height: 86px;
  }

  .product-template .hero .wrap {
    min-height: 430px;
  }

  .product-template .product-hero h1 {
    font-size: 34px;
  }

  .product-template .product-hero-actions {
    grid-column: auto;
    width: 100%;
  }

  .product-template .product-hero-actions .button {
    width: 100%;
  }

  .question-download-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .question-download-card .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .question-download-icon .question-apk-icon,
  .question-download-icon .icon {
    width: 58px;
    height: 58px;
  }

  .question-index-template .category-card {
    padding-left: 48px;
  }
}

/* Keep app-shell rules after the legacy responsive blocks. */
@media (max-width: 768px) {
  html {
    background: #edf2f3;
  }

  body {
    min-width: 0;
    padding-top: 58px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    background: #f3f6f6;
    background-image: none;
  }

  body.admin-screen {
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header {
    display: none;
  }

  .mobile-app-bar {
    display: grid;
  }

  .mobile-bottom-nav {
    display: grid;
  }

  .wrap {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero .wrap {
    min-height: 224px;
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: 27px;
  }

  .hero .lead {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
  }

  main .wrap {
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .section {
    margin-top: 20px;
  }

  .card {
    padding: 14px;
  }

  .app-list {
    gap: 9px;
  }

  .app-row {
    padding: 11px;
  }

  .button,
  button,
  input[type="submit"] {
    min-height: 44px;
  }

  .product-alt-template {
    padding-bottom: calc(142px + env(safe-area-inset-bottom));
  }

  .product-alt-template .mobile-download-bar {
    right: 8px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    left: 8px;
    z-index: 95;
  }

  .mobile-categories-open .mobile-download-bar {
    visibility: hidden;
  }
}

/* PlidxHub India theme — 2026 refresh */
@font-face {
  font-family: "Plidx Sans";
  src: local("Noto Sans"), local("Arial");
  font-display: swap;
}

:root {
  --ink: #17221d;
  --muted: #65716a;
  --line: #eadfca;
  --line-strong: #d8c39d;
  --paper: #fffaf0;
  --panel: #ffffff;
  --panel-2: #f8f1df;
  --brand: #08783f;
  --brand-dark: #064c2a;
  --accent: #f28c18;
  --accent-2: #7e2f8e;
  --shadow: 0 18px 45px rgba(67, 46, 19, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Plidx Sans", "Noto Sans", Arial, sans-serif;
  background-color: var(--paper);
  background-image:
    radial-gradient(
      circle at 7% 11%,
      rgba(242, 140, 24, 0.09) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 93% 18%,
      rgba(8, 120, 63, 0.08) 0 2px,
      transparent 3px
    );
  background-size:
    32px 32px,
    38px 38px;
}

.site-header {
  position: sticky;
  top: 0;
  inset: 0 0 auto;
  width: 100%;
  z-index: 80;
  border-bottom: 0;
  color: #fff;
  background: linear-gradient(100deg, #043f25, #08783f 58%, #0c5c35);
  box-shadow: 0 8px 28px rgba(5, 63, 37, 0.2);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ff9933 0 33.33%,
    #fff 33.33% 66.66%,
    #138808 66.66%
  );
}

.topbar {
  min-height: 78px;
  padding: 9px 28px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 45px;
  height: 45px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(2, 45, 26, 0.28);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}
.nav a {
  position: relative;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 7px;
  color: #e7f8ed;
  font-size: 13px;
  font-weight: 800;
}
.nav a::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 4px;
  left: 5px;
  height: 2px;
  border-radius: 2px;
  background: #ffd36f;
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}
.nav a:hover::after {
  transform: scaleX(1);
}
.nav a.is-active {
  color: #17301f;
  background: linear-gradient(135deg, #ffe29a, #f7b940);
  box-shadow: 0 5px 14px rgba(31, 25, 4, 0.2);
}
.nav a.is-active::after {
  display: none;
}

/* Shared question cards used by home and category pages. */
.home-question-section {
  padding: 28px;
  border: 1px solid #dce6e1;
  border-radius: 20px;
  background: linear-gradient(135deg, #f2f8f5, #fffdf7);
  box-shadow: 0 12px 34px rgba(27, 64, 53, 0.07);
}
.home-question-section .toolbar {
  margin-bottom: 18px;
}
.home-question-section h2 {
  margin: 3px 0 0;
}
.home-question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.home-question-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 112px;
  padding: 16px 18px;
  border: 1px solid #dce5e1;
  border-radius: 14px;
  color: #183b32;
  background: #fff;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.home-question-row:hover {
  transform: translateY(-2px);
  border-color: #7db39d;
  box-shadow: 0 10px 24px rgba(24, 59, 50, 0.1);
  text-decoration: none;
}
.home-question-index {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #08745b, #0b956d);
  font-weight: 900;
}
.home-question-row > span:nth-child(2) {
  min-width: 0;
}
.home-question-row small,
.home-question-row strong {
  display: block;
}
.home-question-row small {
  margin-bottom: 5px;
  color: #75837d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.home-question-row strong {
  overflow-wrap: anywhere;
  color: #183b32;
  font-size: 16px;
  line-height: 1.4;
}
.home-question-row > b {
  color: #08745b;
  font-size: 22px;
}
@media (max-width: 820px) {
  .home-question-list {
    grid-template-columns: 1fr;
  }
  .home-question-section {
    padding: 20px;
  }
  .home-question-row {
    min-height: 0;
  }
}

/* Product version-history pages */
.versions-page-main .wrap {
  max-width: 1040px;
}
.versions-page .versions-intro {
  max-width: 780px;
  color: #50615b;
  line-height: 1.7;
}
.old-version-table-wrap {
  overflow-x: auto;
  border: 1px solid #d9e3dd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 59, 50, 0.08);
}
.old-version-table {
  table-layout: fixed;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.old-version-table th {
  width: auto;
  color: #23463c;
  background: #eef6f2;
  font-weight: 900;
}
.old-version-table th:nth-child(1) {
  width: 18%;
}
.old-version-table th:nth-child(2) {
  width: 22%;
}
.old-version-table th:nth-child(3) {
  width: 17%;
}
.old-version-table th:nth-child(4) {
  width: 18%;
}
.old-version-table th:nth-child(5) {
  width: 25%;
}
.old-version-table td {
  color: #172d27;
  vertical-align: middle;
}
.old-version-table th:nth-child(2),
.old-version-table td:nth-child(2),
.old-version-table th:nth-child(4),
.old-version-table td:nth-child(4) {
  white-space: nowrap;
  overflow-wrap: normal;
}
.old-version-table th:last-child,
.old-version-table td:last-child {
  text-align: right;
}
.old-version-table .button {
  min-width: 104px;
  padding: 10px 15px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .versions-page-main {
    padding-top: 22px;
  }
  .versions-page-main h1 {
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1.12;
  }
  .versions-page .versions-intro {
    margin: 0 0 18px;
    padding: 14px 15px;
    border-left: 4px solid #0b8a62;
    border-radius: 0 12px 12px 0;
    color: #354e45;
    background: #eef7f2;
    font-size: 14px;
    line-height: 1.65;
  }
  .old-version-table th,
  .old-version-table td {
    padding: 11px 7px;
    font-size: 13px;
    overflow-wrap: normal;
    word-break: normal;
  }
  .old-version-table th:nth-child(1) {
    width: 17%;
  }
  .old-version-table th:nth-child(2) {
    width: 23%;
  }
  .old-version-table th:nth-child(3) {
    width: 16%;
  }
  .old-version-table th:nth-child(4) {
    width: 17%;
  }
  .old-version-table th:nth-child(5) {
    width: 27%;
  }
  .old-version-table .button {
    min-width: 0;
    padding: 9px 10px;
    font-size: 13px;
  }
}

.hero,
main,
.footer {
  margin-left: 0;
}

.hero,
.india-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      circle at 80% 18%,
      rgba(255, 210, 94, 0.28),
      transparent 18%
    ),
    radial-gradient(
      circle at 92% 84%,
      rgba(255, 153, 51, 0.2),
      transparent 25%
    ),
    linear-gradient(120deg, #052f1e 0%, #07663a 52%, #0a8650 100%);
}

.hero::before,
.india-hero::before {
  content: "♦";
  position: absolute;
  right: max(4vw, 30px);
  top: 50%;
  color: rgba(255, 205, 84, 0.18);
  font:
    700 280px/1 Georgia,
    serif;
  transform: translateY(-50%) rotate(8deg);
}

.hero::after {
  content: "♠  ♥  ♦  ♣";
  position: absolute;
  right: 8%;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.5);
  font:
    700 28px/1 Georgia,
    serif;
  letter-spacing: 10px;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  min-height: 360px;
  padding-top: 68px;
  padding-bottom: 70px;
}
.hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero .lead {
  max-width: 760px;
  color: #e8f5ec;
  font-size: 18px;
  line-height: 1.72;
}
.eyebrow {
  display: inline-flex;
  padding: 7px 13px;
  border: 1px solid rgba(255, 207, 112, 0.55);
  border-radius: 999px;
  color: #ffdc8c;
  background: rgba(1, 41, 22, 0.3);
  letter-spacing: 0.12em;
}
.hero-pills {
  gap: 9px;
}
.hero-pills span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff6dd;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

main .wrap {
  padding-top: 42px;
  padding-bottom: 70px;
}
h2 {
  color: #17301f;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}
.section {
  margin-top: 38px;
}
.toolbar {
  padding-bottom: 12px;
  border-bottom: 2px solid #f1dfbb;
}
.toolbar h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 9px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff9933, #138808);
}

.card,
.app-row,
.question-download-card,
.related-question-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(62, 43, 18, 0.07);
}

.card:hover,
.app-row:hover {
  border-color: #e0b86b;
  box-shadow: 0 18px 38px rgba(62, 43, 18, 0.13);
  transform: translateY(-3px);
}
.category-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 24px;
}
.category-card::after {
  content: "♦";
  position: absolute;
  right: 12px;
  bottom: -20px;
  color: rgba(242, 140, 24, 0.09);
  font:
    700 86px/1 Georgia,
    serif;
}
.category-card strong {
  color: #075d34;
  font-size: 18px;
}
.category-card span {
  color: var(--muted);
  line-height: 1.55;
}

.app-list {
  gap: 22px;
}
.app-row {
  padding: 16px 18px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.icon-img,
.icon {
  border: 2px solid #f0d69f;
  border-radius: 16px;
  background: #fffaf0;
}
.app-row strong a {
  color: #123b27;
  font-size: 17px;
}
.meta span {
  border-radius: 999px;
  color: #5d625e;
  background: #f7f1e4;
}

.button,
button,
input[type="submit"] {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f49a20, #df6f08);
  box-shadow: 0 8px 18px rgba(223, 111, 8, 0.23);
  font-weight: 900;
  letter-spacing: 0.01em;
}
.button:hover,
button:hover,
input[type="submit"]:hover {
  color: #fff;
  background: linear-gradient(135deg, #08783f, #07542f);
  transform: translateY(-1px);
}
.badge {
  border-color: #e7c98e;
  border-radius: 999px;
  color: #075d34;
  background: #fff8e8;
}

.footer {
  position: relative;
  border-top: 0;
  color: #d9eee1;
  background: #042e1d;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ff9933, #fff 50%, #138808);
}
.footer a {
  color: #ffcf70;
}

/* Product pages follow the new warm Indian card-room visual. */
.product-alt-template .product-alt-hero {
  margin-left: 0;
  padding: 46px 0 24px;
  color: var(--ink);
  border-bottom: 1px solid #ead7ae;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(242, 140, 24, 0.17),
      transparent 24%
    ),
    radial-gradient(circle at 10% 100%, rgba(8, 120, 63, 0.1), transparent 28%),
    linear-gradient(145deg, #fffdf7 0%, #fff8e8 58%, #f7edda 100%);
  background-size: auto;
}

.product-alt-template .product-alt-hero .wrap {
  position: relative;
}
.product-alt-template .product-alt-hero .crumbs {
  color: #6a756e;
}
.product-alt-template .product-alt-hero .crumbs a {
  color: #08783f;
  font-weight: 800;
}

.product-alt-template .product-alt-panel {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
}
.product-alt-template .product-alt-intro,
.product-alt-template .product-alt-download {
  overflow: hidden;
  border: 1px solid #ead6ae;
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(67, 46, 19, 0.12);
}

.product-alt-template .product-alt-intro {
  border-top: 0;
  background:
    linear-gradient(90deg, #ff9933 0 34%, #fff 34% 67%, #138808 67%) top/100%
      5px no-repeat,
    rgba(255, 255, 255, 0.97);
}

.product-alt-template .product-alt-intro .product-icon {
  border: 3px solid #f3c86e;
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(66, 40, 12, 0.18);
}

.product-alt-template .product-alt-intro h1 {
  color: #17301f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.035em;
}

.product-alt-template .product-alt-intro .lead {
  color: #526159;
  line-height: 1.65;
}
.product-alt-template .product-alt-intro .eyebrow {
  border-color: #e8c477;
  color: #08783f;
  background: #fff8e7;
}
.product-alt-template .product-alt-intro .hero-pills span,
.product-stat-grid span {
  border-color: #ead9b8;
  border-radius: 12px;
  color: #174c31;
  background: #fff8e9;
}

.product-alt-template .product-alt-download {
  position: relative;
  border-top: 0;
  color: #fff;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 205, 92, 0.24),
      transparent 33%
    ),
    linear-gradient(150deg, #043c24, #08783f);
}
.product-alt-template .product-alt-download::after {
  content: "♦";
  position: absolute;
  right: -15px;
  bottom: -30px;
  color: rgba(255, 205, 92, 0.12);
  font:
    700 125px/1 Georgia,
    serif;
  pointer-events: none;
}
.product-alt-template .product-alt-download > * {
  position: relative;
  z-index: 1;
}
.product-alt-template .product-alt-download h2 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}
.product-alt-template .product-alt-download p,
.product-alt-template .product-download-meta > span:last-child {
  color: #d9eee1;
}
.product-alt-template .product-alt-download .badge {
  border: 1px solid rgba(255, 215, 128, 0.35);
  color: #ffdf97;
  background: rgba(255, 255, 255, 0.09);
}
.product-alt-template .product-alt-download .button {
  background: linear-gradient(135deg, #ffad32, #e9780d);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}
.product-alt-template .product-alt-download .button.light {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.product-alt-template .download-mini-checks span {
  color: #eaf6ee;
  background: rgba(255, 255, 255, 0.11);
}

.product-jump-nav {
  top: 88px;
  padding: 10px 12px;
  border-color: #ead6ae;
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 10px 28px rgba(67, 46, 19, 0.09);
  backdrop-filter: blur(12px);
}
.product-jump-nav a {
  border-radius: 999px;
  color: #08783f;
}
.product-jump-nav a:hover {
  color: #fff;
  background: #08783f;
}
.product-alt-template .product-alt-main {
  background: linear-gradient(180deg, #fffaf0, #fffdf8);
}
.product-alt-template .product-alt-main article > section,
.product-alt-template .product-desktop-side .card {
  border-color: #ead6ae;
  border-radius: 18px;
}

@media (max-width: 768px) {
  html,
  body {
    background-color: #fffaf0;
  }
  body {
    background-image: none;
  }
  .mobile-app-bar {
    border-bottom: 0;
    background: linear-gradient(100deg, #054326, #08783f);
    box-shadow: 0 5px 18px rgba(5, 63, 37, 0.22);
  }
  .mobile-app-bar > strong {
    color: #fff;
  }
  .mobile-app-back {
    color: #fff;
  }
  .mobile-app-leading img,
  .mobile-app-home-mark img {
    border: 0;
  }
  .mobile-bottom-nav {
    border-top-color: #eadfca;
    background: rgba(255, 253, 247, 0.98);
  }
  .mobile-bottom-nav .active {
    color: #08783f;
  }
  .mobile-bottom-nav .active::before {
    background: linear-gradient(90deg, #ff9933, #138808);
  }
  .mobile-category-drawer {
    border-radius: 24px 24px 0 0;
    background: #fffdf8;
  }
  .hero .wrap {
    min-height: 330px;
    padding-top: 42px;
    padding-bottom: 45px;
  }
  .hero h1 {
    max-width: 92%;
    font-size: 40px;
    line-height: 1.05;
  }
  .hero .lead {
    font-size: 15px;
    line-height: 1.65;
  }
  .hero::before {
    right: -40px;
    font-size: 190px;
  }
  .hero::after {
    display: none;
  }
  main .wrap {
    padding-top: 25px;
  }
  .card,
  .app-row {
    border-radius: 15px;
  }
  .app-row {
    padding: 13px;
  }
  .product-alt-template .product-alt-hero {
    padding-top: 22px;
  }
  .product-alt-template .product-alt-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .product-alt-template .product-alt-intro,
  .product-alt-template .product-alt-download {
    border-radius: 18px;
  }
  .product-alt-template .product-alt-intro h1 {
    font-size: 32px;
  }
  .product-jump-nav {
    top: 66px;
    overflow-x: auto;
  }
}
