/* Claude Terracotta Warm Style - All Yono Games Store */
:root {
  --primary: #c96442;
  --primary-dark: #a9583e;
  --accent: #d97757;
  --secondary: #b45309;
  --gold: #c96442;
  --saffron: #c96442;
  --green: #059669;
  --red: #dc2626;
  --bg: #f5f4ed;
  --card: #faf9f5;
  --text: #141413;
  --muted: #3d3c38;
  --muted-soft: #4a4945;
  --line: #c4c0b5;
  --line-soft: #f0eee6;
  --rupee: #16a34a;
  --shadow: 0 1px 2px rgba(20, 20, 19, 0.04), 0 4px 16px rgba(20, 20, 19, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }

.container, .shell {
  width: min(100% - 16px, 1100px);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .container, .shell { width: min(100% - 40px, 1100px); }
}
.narrow { max-width: 720px; margin: 0 auto; }
.sr-only, .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.section-heading {
  margin: 16px auto 14px;
  background: var(--primary);
  color: #faf9f5;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  max-width: 880px;
  letter-spacing: 0.2px;
}
.section-heading h2 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
}
.section-desc {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 6px auto 12px;
  max-width: 560px;
  line-height: 1.45;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--primary);
  box-shadow: 0 1px 0 var(--line), var(--shadow);
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.header-top .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-brand img, .brand-mark {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: block;
}
.brand-mark {
  background: var(--card);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
}
.logo-brand strong {
  font-weight: 650;
  letter-spacing: 0.15px;
  font-size: 14.5px;
  color: #faf9f5;
  font-family: Georgia, "Times New Roman", serif;
}
.custom-logo { max-height: 34px; width: auto; }

.header-nav {
  background: #b45309;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.header-nav .tabs {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1100px;
  margin: 0 auto;
}
.header-nav .tabs::-webkit-scrollbar { display: none; }
.header-nav a, .header-nav span {
  flex: 1 0 auto;
  text-align: center;
  padding: 10px 14px;
  font-weight: 550;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, background 0.15s;
}
.header-nav a:hover, .header-nav span:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.header-nav a.active {
  color: #fff;
  border-bottom-color: #faf9f5;
}
.search-inline {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding: 4px 8px;
}
.search-inline input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 12px;
  color: #fff;
  outline: 0;
  width: 120px;
  transition: width 0.2s, background 0.2s;
}
.search-inline input::placeholder { color: rgba(255,255,255,0.5); }
.search-inline input:focus {
  background: rgba(255,255,255,0.2);
  width: 160px;
}

.main { padding-top: 96px; padding-bottom: 48px; }

.hero-intro {
  padding: 32px 14px 20px;
  text-align: center;
  background: var(--bg);
}
.hero-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.8vw, 34px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.3px;
  font-family: Georgia, "Times New Roman", serif;
}
.hero-intro p {
  margin: 0 auto 8px;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(14px, 2vw, 15.5px);
  line-height: 1.55;
}
.hero-intro h2 {
  margin: 14px 0 0;
  font-size: clamp(13px, 1.8vw, 15px);
  font-weight: 550;
  color: var(--text);
}

.home-main-banner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 12px 10px;
  position: relative;
}
.banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.banner-slider .banner-slide { display: none; width: 100%; }
.banner-slider .banner-slide.active { display: block; }
.banner-slide a { display: block; }
.banner-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.banner-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: 0.2s;
}
.banner-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(250,249,245,0.92);
  border: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.25s;
}
.banner-slider:hover .banner-arrow { opacity: 1; }
.banner-arrow.prev { left: 10px; }
.banner-arrow.next { right: 10px; }
.banner-arrow:hover { background: #fff; }

.banner-strip { padding: 18px 0 10px; background: transparent; }
.banner-strip-heading {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding: 0 12px;
}
.banner-strip-heading span {
  background: var(--bg);
  padding: 0 10px;
  display: inline-block;
}
.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 12px;
  max-width: 900px;
  margin: 0 auto;
}
.banner-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.banner-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20,20,19,0.08);
}
.banner-info {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 550;
  color: var(--text);
}

.app-list-section, .trending-section, .section {
  padding: 8px 0 16px;
}
.app-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.app-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 14px !important;
  background: var(--card) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  grid-template-columns: none !important;
  position: static !important;
  min-height: 76px !important;
}
.app-item:hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  background: #f8f6f0 !important;
}
.app-item + .app-item {
  border-top: 1px solid var(--line-soft) !important;
}

.rank-num {
  width: 24px;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--muted-soft) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  background: transparent !important;
  border-radius: 0 !important;
  align-self: center !important;
  padding: 0 !important;
  position: static !important;
}

.app-thumb {
  width: 72px !important;
  height: 72px !important;
  display: block;
  flex: none;
}
.app-thumb img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 16px !important;
  object-fit: cover !important;
  border: 1px solid var(--line) !important;
  background: var(--card) !important;
  box-shadow: 0 1px 4px rgba(20,20,19,0.05) !important;
}

.app-info {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.app-item h2, .app-item h3 {
  margin: 0 0 3px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
  font-family: Georgia, "Times New Roman", serif;
}
.app-item h2 a, .app-item h3 a { color: var(--text); }
.bonus-text {
  margin: 0 0 2px !important;
  font-size: 13px !important;
  font-weight: 550 !important;
  color: var(--muted) !important;
  line-height: 1.25 !important;
}
.bonus-text:before {
  content: "\20B9 ";
  font-weight: 700;
  color: var(--rupee);
}
.withdraw-text {
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--rupee) !important;
  line-height: 1.25 !important;
}

.btn-download {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 88px !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: var(--radius-pill) !important;
  background: var(--primary) !important;
  color: #faf9f5 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  position: static !important;
  gap: 4px !important;
  white-space: nowrap !important;
  letter-spacing: 0.2px !important;
  transition: background 0.15s, transform 0.15s !important;
}
.btn-download:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(201,100,66,0.25) !important;
}

.trending-section { background: transparent !important; border: none !important; }
.compact-grid .app-item { padding: 12px 10px !important; }

.content-sections {
  background: var(--card);
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding: 28px 0;
}

.app-hero {
  padding: 22px 14px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 0;
}
.app-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.app-identity > img {
  width: 80px; height: 80px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.app-identity h1 {
  margin: 4px 0;
  font-size: clamp(20px, 3.5vw, 30px);
  font-weight: 600;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}
.app-lead {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0;
  max-width: 620px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.hero-actions small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 550;
}
.app-layout { padding: 18px 14px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0;
}
@media (min-width: 480px) {
  .metric-grid { grid-template-columns: repeat(4, 1fr); }
}
.metric-grid > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.metric-grid strong {
  display: block;
  font-size: 17px;
  font-weight: 650;
  color: var(--primary);
  margin-top: 2px;
}
.metric-grid small {
  display: block;
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prose-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  margin: 14px 0;
  box-shadow: var(--shadow);
}
.prose-card h2 {
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}
.prose-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
  font-size: 14.5px;
}
.detail-banner {
  max-width: 380px;
  margin: 0 auto;
  padding: 0 12px;
}
.detail-banner .shell {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--primary);
  box-shadow: var(--shadow);
}
.detail-banner img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.detail-banner.is-logo-banner img {
  object-fit: contain;
  background: radial-gradient(circle at center, var(--card), var(--primary) 76%);
}
.screenshot-section { padding: 14px 0; }
.screenshot-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.screenshot-row img {
  height: 340px;
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .screenshot-row img { height: 240px; }
}

.faq-section { padding: 14px 0; }
.faq-list { display: grid; gap: 10px; margin: 10px 0; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 44px 14px 16px;
  font-weight: 550;
  font-size: 14px;
  color: var(--text);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--muted);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.play-responsibly {
  text-align: center;
  padding: 14px 12px;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.play-responsibly strong { color: var(--text); }
.page-footer {
  background: #1c1917;
  color: #a8a29e;
  padding: 28px 0 20px;
}
.page-footer .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-bottom: 18px;
}
.page-footer .btns a {
  color: #d6d3d1;
  font-size: 13px;
  font-weight: 500;
}
.page-footer .btns a:hover { color: #fff; }
.footer-info, .footer-contact, .footer-social {
  text-align: center;
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 10px;
  padding: 0 14px;
}
.footer-social a { color: var(--accent); margin: 0 6px; }
.link-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 16px auto;
  padding: 0 14px;
}
.link-columns a {
  display: block;
  font-size: 13px;
  color: #a8a29e;
  padding: 3px 0;
}
.link-columns a:hover { color: #fff; }

.archive-hero {
  padding: 28px 14px 18px;
  text-align: center;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.archive-hero .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 6px;
}
.archive-hero h1 {
  margin: 0;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
}
.hindi-line {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 480px) {
  .mini-grid { grid-template-columns: 1fr; }
}
.mini-app {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.15s;
}
.mini-app:hover { border-color: var(--primary); }
.mini-app img {
  width: 46px; height: 46px;
  border-radius: 12px;
  object-fit: cover;
}
.mini-app span {
  font-size: 13.5px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-app b {
  color: var(--primary);
  font-size: 12.5px;
  white-space: nowrap;
}

.bottom-download {
  padding: 14px;
  max-width: 560px;
  margin: 0 auto;
}
.bottom-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.bottom-box img {
  width: 50px; height: 50px;
  border-radius: 12px;
  object-fit: cover;
}
.bottom-box p {
  margin: 0;
  font-weight: 550;
  font-size: 14px;
  color: var(--text);
  flex: 1;
}
.bottom-box .claim-button,
.bottom-box .btn-download {
  width: auto;
  padding: 10px 16px;
  font-size: 13px;
}

.empty-page {
  text-align: center;
  padding: 80px 14px;
}
.empty-page h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  margin: 12px 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.app-hero-art, .category-ribbon { display: none; }

@media (max-width: 480px) {
  .container, .shell { width: min(100% - 10px, 1100px); }
  .logo-brand strong { font-size: 13px; }
  .header-nav a, .header-nav span { font-size: 12px; padding: 9px 10px; }
  .main { padding-top: 88px; }
  .hero-intro { padding: 22px 10px 14px; }
  .section-heading { font-size: 12.5px; padding: 9px 12px; max-width: 99%; }
  .app-item { padding: 12px 10px !important; min-height: 70px !important; }
  .app-item h2, .app-item h3 { font-size: 14px !important; }
  .bonus-text, .withdraw-text { font-size: 12px !important; }
  .btn-download {
    min-width: 78px !important;
    height: 34px !important;
    font-size: 12px !important;
    padding: 0 12px !important;
  }
  .rank-num { width: 20px; min-width: 20px; font-size: 12px !important; }
  .app-thumb, .app-thumb img { width: 64px !important; height: 64px !important; }
  .search-inline input { width: 90px; font-size: 11px; padding: 4px 8px; }
  .search-inline input:focus { width: 110px; }
  .banner-grid { gap: 8px; padding: 0 8px; }
  .banner-dots { bottom: 8px; }
  .banner-dot { width: 6px; height: 6px; }
  .banner-dot.active { width: 16px; }
  .banner-arrow { display: none !important; }
}

@media (min-width: 768px) {
  .app-list-section .app-grid,
  .trending-section .app-grid,
  .archive .app-grid,
  .post-type-archive-ally_app .app-grid,
  .single-ally_app .app-grid {
    max-width: 760px;
    margin: 0 auto;
  }
}

/* ===== Detail page summary & intro (fix layout) ===== */
.single-intro {
  padding: 18px 14px 8px;
  text-align: center;
}
.single-intro h1 {
  margin: 0;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  line-height: 1.25;
}
.single-summary {
  padding: 8px 14px 20px;
}
.summary-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px 16px;
  align-items: start;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}
.summary-card > img {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  grid-row: 1 / span 2;
}
.summary-card h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
}
.summary-card > div > p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.summary-card dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin: 4px 0 0;
  padding: 0;
}
.summary-card dl > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
}
.summary-card dt {
  font-size: 11px;
  font-weight: 550;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}
.summary-card dd {
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
  margin: 0;
}
.summary-card .claim-button,
.claim-button {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 6px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #faf9f5 !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none !important;
}
.summary-card .claim-button:hover,
.claim-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Author card already inline-styled; ensure spacing */
.author-card {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Guide section readability */
.guide-section {
  padding: 20px 0 28px;
}
.guide-section .shell.narrow {
  max-width: 720px;
}
.guide-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text);
  margin: 0 0 12px;
}
.guide-section h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin: 18px 0 8px;
  color: var(--text);
}
.guide-section p, .guide-section li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.guide-section ul {
  padding-left: 1.2em;
  margin: 8px 0 12px;
}
.guide-section table {
  font-size: 13px;
}

@media (max-width: 480px) {
  .summary-card {
    grid-template-columns: 72px 1fr;
    padding: 14px;
    gap: 10px 12px;
  }
  .summary-card > img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }
  .summary-card dl {
    grid-template-columns: 1fr 1fr;
  }
  .single-intro {
    padding: 14px 10px 6px;
  }
}

/* Detail page content column - reduce empty side space feel */
.single-intro .shell.narrow,
.single-summary .shell,
.author-card,
.editor-field-test,
.guide-section .shell.narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
}
.faq-item summary {
  font-size: 14px;
}
/* Prevent super-wide empty margins on desktop for detail flows */
@media (min-width: 900px) {
  .main .shell.narrow,
  .summary-card {
    max-width: 640px;
  }
}

/* ===== PC layout fix: center detail content, kill empty right void ===== */
@media (min-width: 768px) {
  .main {
    display: block;
  }
  .main > main,
  .main #content {
    max-width: 720px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
  }
  .single-summary .shell,
  .summary-card {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .section .section-heading,
  .section .app-grid,
  .faq-list,
  .author-card,
  .editor-field-test,
  .guide-section .shell.narrow,
  .prose-card,
  .shell.narrow {
    max-width: 680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Related apps list should not stretch full ultra-wide */
  .app-grid.compact-grid {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hide any leftover fixed telegram/join floats */
a[href*="t.me"],
body > div > a[style*="position: fixed"][style*="right"] {
  /* scripts disabled; extra safety */
}


/* Performance helpers */
img { max-width: 100%; height: auto; }
.app-thumb img, .app-item img { width: 56px; height: 56px; object-fit: cover; background: #f0ebe3; }




/* ===== Accessibility fixes (contrast / links / touch) ===== */
:root {
  --muted: #3d3c38;
  --muted-soft: #4a4945;
  --text: #141413;
  --bg: #f5f4ed;
  --card: #faf9f5;
  --primary: #b3532f; /* darker terracotta for AA on light bg */
  --accent: #c96442;
}

body { color: var(--text); }

/* Links: not color-only — underline in content */
.main a,
.prose-card a,
.yono-intro a,
.home-faq a,
.editor-choice-bar a,
.section a:not(.claim-button):not(.btn-download):not(.app-thumb):not(.brand):not(.banner-arrow) {
  color: #8a3d22;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.main a:hover,
.prose-card a:hover {
  color: #6b2f1a;
}

/* Nav / pills: underline on hover+focus, solid border always */
.header-nav a,
.brand-filter a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  color: #2c2b28;
}
.header-nav a:hover,
.header-nav a:focus-visible,
.brand-filter a:hover,
.brand-filter a:focus-visible {
  border-bottom-color: #8a3d22;
  color: #8a3d22;
}

/* Recently viewed / muted labels — darker */
.banner-strip,
.banner-strip p,
.eyebrow,
.section-heading p,
.bonus-text,
.rank-num,
.footer-contact,
.page-footer small,
.page-footer a {
  color: #3d3c38 !important;
}

/* Primary buttons keep solid fill — text white on darker primary */
.claim-button,
a.claim-button {
  background: #b3532f !important;
  color: #faf9f5 !important;
  text-decoration: none !important;
  min-height: 44px;
  padding: 10px 18px;
}

/* Touch targets */
.header-nav a,
.page-footer .btns a,
.footer-contact a,
.brand-filter a {
  min-height: 44px;
  min-width: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px;
}

.banner-arrow {
  min-width: 48px !important;
  min-height: 48px !important;
  width: 48px;
  height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #141413;
  background: rgba(250,249,245,0.92);
  border: 1px solid #c4c0b5;
  border-radius: 999px;
}

.banner-dot {
  width: 10px;
  height: 10px;
  padding: 12px; /* ≥24px hit box */
  margin: 0 2px;
  box-sizing: content-box;
  border-radius: 999px;
}

/* App list download / open links */
.btn-download,
a.btn-download {
  min-height: 44px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #8a3d22;
}

/* FAQ summary larger hit area */
.faq-item summary {
  min-height: 44px;
  padding: 12px 8px;
  cursor: pointer;
  color: #141413;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

/* Focus visible */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.banner-dot:focus-visible {
  outline: 3px solid #b3532f;
  outline-offset: 2px;
}

/* Rank badge contrast */
.rank-num {
  color: #141413 !important;
  font-weight: 700;
}
