/* Quizooly — replicates yourapk.com detail-page layout system (blue/slate, white cards) */
:root {
  --bg: #f8fafc;            /* ink-50 page background */
  --surface: #ffffff;
  --ink: #0f172a;           /* ink-900 */
  --ink-soft: #475467;      /* ink-600 */
  --ink-400: #98a2b3;
  --line: #f1f5f9;          /* ink-100 card borders */
  --line-strong: #e2e8f0;
  --accent: #2563eb;        /* primary-600 */
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-ink: #1d4ed8;
  --emerald: #10b981;
  --emerald-hover: #059669;
  --amber: #F59E0B;
  --good: #10b981;
  --bad: #ef4444;
  --radius: 16px;
  --maxw: 1180px;
  --shadow-card: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-size: 0.9em; background: var(--line); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

/* ---------------------------------------------------------------- header */
.site-head { border-bottom: 1px solid var(--line-strong); background: var(--surface); position: sticky; top: 0; z-index: 40; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.site-nav { display: flex; gap: 20px; margin-left: auto; }
.site-nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.93rem; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav .nav-search-link { display: inline-flex; align-items: center; justify-content: center; }
.site-nav .nav-search-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 10px; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
/* header live search (desktop) */
.head-search { position: relative; margin-left: auto; display: none; width: 260px; }
@media (min-width: 900px) { .head-search { display: block; } .site-nav { margin-left: 0; } }
@media (min-width: 900px) { .site-nav .nav-search-link { display: none; } }
.head-search input { width: 100%; height: 38px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--bg); padding: 0 16px; font-size: 0.9rem; color: var(--ink); }
.head-search input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.hs-results { position: absolute; left: 0; right: 0; top: 46px; z-index: 70; max-height: 420px; overflow-y: auto;
  border: 1px solid var(--line); background: var(--surface); border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.12); padding: 4px; }
.hs-results a { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px; }
.hs-results a:hover { background: var(--bg); text-decoration: none; }
.hs-results a b { min-width: 0; flex: 1; text-align: left; font-size: 0.9rem; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-results a span { font-size: 0.75rem; color: var(--ink-400); flex: none; }
.hs-empty { padding: 16px; text-align: center; font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 720px) {
  .site-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line-strong); flex-direction: column; gap: 0; padding: 8px 20px 14px; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---------------------------------------------------------------- hero / home */
.hero { padding: 48px 0 32px; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 720px; }
.hero p.lede { margin-top: 14px; font-size: 1.08rem; color: var(--ink-soft); max-width: 640px; }
.hero .hero-links { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 20px; border-radius: 24px; font-weight: 500; font-size: 0.98rem; transition: all .3s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,.3); text-decoration: none; }
.btn-ghost { border: 1px solid #bfdbfe; color: var(--accent); background: var(--surface); }
.btn-ghost:hover { background: var(--accent-soft); transform: translateY(-1px); text-decoration: none; }

.section { padding: 22px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { font-size: 1.3rem; letter-spacing: -0.2px; font-weight: 600; }
.section-head a { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }

/* app cards (home/category/reviews) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-card); transition: all .2s; }
.app-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,23,42,.08); text-decoration: none; }
.app-card .row { display: flex; gap: 12px; align-items: center; }
.app-icon { width: 48px; height: 48px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; color: #fff; }
.app-card h3 { font-size: 1rem; color: var(--ink); line-height: 1.3; font-weight: 600; }
.app-card .dev { font-size: 0.8rem; color: var(--ink-soft); }
.app-card .tagline { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.card-type { align-self: flex-start; border-radius: 999px; background: var(--accent-soft); padding: 2px 9px; color: var(--accent-ink); font-size: .7rem; font-weight: 700; }
.app-card .meta { display: flex; gap: 10px; font-size: 0.78rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 10px; }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); border-radius: 6px; padding: 1px 8px; font-size: 0.78rem; font-weight: 600; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: 0.9rem; color: var(--ink); background: var(--surface); }
.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ---------------------------------------------------------------- detail layout (yourapk parity) */
.page { padding: 24px 0 60px; }
@media (min-width: 640px) { .page { padding: 32px 0 60px; } }
.page-narrow { max-width: 800px; }
.crumbs { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 16px; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent); }

.detail-wrap { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) { .detail-wrap { flex-direction: row; } }
.detail-main { flex: 1; min-width: 0; max-width: 840px; display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 640px) { .detail-main { gap: 40px; } }
.detail-side { width: 100%; }
@media (min-width: 1024px) { .detail-side { width: 300px; flex: none; } }

.detail-panel { position: relative; border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-card); border-radius: var(--radius); padding: 1rem; overflow: hidden; }
@media (min-width: 640px) { .detail-panel { padding: 1.25rem; } }
@media (min-width: 768px) { .detail-panel { padding: 1.5rem; } }

.content-label { position: absolute; right: 0; top: 0; z-index: 1; border-radius: 0 0 0 8px; padding: 5px 10px; color: #fff; font-size: 11px; font-weight: 700; line-height: 14px; }
.content-label--editorial { background: #2563eb; }
.content-label--catalogue { background: #64748b; }

/* app header: icon + title + stars */
.app-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
@media (min-width: 640px) { .app-head { flex-direction: row; align-items: flex-start; gap: 20px; text-align: left; } }
.app-head .app-icon-lg { width: 80px; height: 80px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 2rem; color: #fff; }
@media (min-width: 640px) { .app-head .app-icon-lg { width: 100px; height: 100px; border-radius: 20px; font-size: 2.5rem; } }
.app-head h1 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
@media (min-width: 640px) { .app-head h1 { font-size: 1.5rem; } }
@media (min-width: 768px) { .app-head h1 { font-size: 26px; } }
.app-head .head-body { min-width: 0; flex: 1; padding-top: 4px; }
.stars { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 0.875rem; color: var(--ink-400); }
@media (min-width: 640px) { .stars { justify-content: flex-start; } }
.stars .rating-val { margin-left: 6px; font-weight: 500; color: var(--ink-soft); }

/* ad units — same wrapper structure as reference layout */
.ads { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 100%; min-height: 0; overflow: hidden; margin: 14px 0 !important; }
.adsense-display-label { color: #d7d7d7; text-align: center; margin: 0; font-size: 12px; line-height: normal; }
.ads .adsbygoogle { width: 100%; height: auto; min-height: 0; display: block; }
.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.adsHeight { min-height: 100px; }
.ad-placeholder { width: 100%; min-height: 100px; border: 1px dashed var(--line-strong); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #d7d7d7; font-size: 13px; background: #fcfcfd; }

/* real icon images (fetched) — fallback letter avatars keep the colored background */
.has-img { background: none !important; overflow: hidden; }
.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.app-icon.has-img, .app-icon-sm.has-img, .app-icon-lg.has-img { border-radius: inherit; }
.app-icon.has-img { border-radius: 12px; }
.app-icon-lg.has-img { border-radius: 16px; }
@media (min-width: 640px) { .app-icon-lg.has-img { border-radius: 20px; } }
.app-icon-sm.has-img { border-radius: 16px; }
@media (min-width: 640px) { .app-icon-sm.has-img { border-radius: 18px; } }

/* screenshots strip — same dimensions as reference layout (108/126/144px, horizontal scroll) */
.detail-screenshot-scroll { margin: 0 -4px; display: flex; gap: 12px; overflow-x: auto;
  padding-bottom: 8px; scrollbar-width: none; }
.detail-screenshot-scroll::-webkit-scrollbar { display: none; }
.detail-screenshot-item { width: 108px; height: 192px; flex-shrink: 0; border-radius: 12px;
  border: 1px solid var(--line); overflow: hidden; background: var(--bg); }
@media (min-width: 640px) { .detail-screenshot-item { width: 126px; height: 224px; } }
@media (min-width: 768px) { .detail-screenshot-item { width: 144px; height: 256px; } }
.detail-screenshot-item img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* info grid */
.detail-info-grid { border-top: 1px solid rgba(15,23,42,.06); display: grid; grid-template-columns: 1fr;
  gap: 10px 0; margin-top: 20px; padding-top: 16px; }
@media (min-width: 640px) { .detail-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; } }
@media (min-width: 768px) { .detail-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 32px; } }
.detail-info-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; }
.detail-info-label { color: var(--ink-soft); white-space: nowrap; flex-shrink: 0; font-size: 14px; font-weight: 500; line-height: 22px; }
.detail-info-value { text-align: left; text-overflow: ellipsis; white-space: nowrap; color: var(--ink);
  flex-shrink: 0; width: 120px; font-size: 14px; font-weight: 600; line-height: 22px; overflow: hidden; }
@media (min-width: 640px) { .detail-info-value { width: 140px; } }

/* section titles inside panels */
.detail-section-title { color: var(--ink); letter-spacing: -0.2px; margin: 0 0 16px; font-size: 22px; font-weight: 600; line-height: 32px; }

/* article text inside panels */
.detail-panel article p, .detail-panel p.body-text { margin: 10px 0; color: #334155; font-size: 15.5px; line-height: 1.7; }
.detail-panel h3 { font-size: 17px; font-weight: 600; margin: 18px 0 6px; color: var(--ink); }
.detail-panel ul.plain { margin: 10px 0 0; list-style: none; }
.detail-panel ul.plain li { margin: 8px 0; padding-left: 22px; position: relative; color: #334155; font-size: 15px; }
.detail-panel ul.plain li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.detail-panel ul.plain.neutral li::before { background: var(--ink-400); }

/* download buttons (detail page) */
.detail-download-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .detail-download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.detail-download-btn { color: #fff; cursor: pointer; background: var(--accent); border-radius: 24px;
  display: flex; justify-content: center; align-items: center; gap: 15px; padding: 9px 0;
  font-size: 18px; font-weight: 500; line-height: 26px; text-decoration: none; transition: all .3s; }
.detail-download-btn:hover { background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,.3); text-decoration: none; }
.detail-download-btn--secondary { color: var(--accent); background: #fff; border: 1px solid #bfdbfe; }
.detail-download-btn--secondary:hover { background: var(--accent-soft); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.1); }

/* recommend grids (Similar Apps / More from / Top Download) */
.page_recommend_list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .page_recommend_list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 16px; } }
@media (min-width: 768px) { .page_recommend_list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 22px; } }
.page_recommend_item { min-width: 0; display: flex; height: 160px; flex-direction: column; align-items: center;
  border-radius: 16px; background: rgba(248,250,252,.7); padding: 12px 10px; transition: all .2s; cursor: pointer; }
@media (min-width: 640px) { .page_recommend_item { height: 176px; border-radius: 20px; padding: 16px 12px; } }
.page_recommend_item:hover { transform: translateY(-2px); background: var(--bg); box-shadow: var(--shadow-card); text-decoration: none; }
.page_recommend_item .app-icon-sm { width: 64px; height: 64px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.6rem; color: #fff; }
@media (min-width: 640px) { .page_recommend_item .app-icon-sm { width: 80px; height: 80px; border-radius: 18px; } }
.page_recommend_item_title { margin-top: 12px; width: 100%; padding: 0 4px; text-align: center;
  font-size: 12px; font-weight: 600; line-height: 18px; color: var(--ink);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
@media (min-width: 640px) { .page_recommend_item_title { font-size: 13px; } }
.page_recommend_item_category { margin-top: 6px; text-align: center; font-size: 12px; line-height: 18px; color: var(--ink-400);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
@media (min-width: 640px) { .page_recommend_item_category { margin-top: 8px; font-size: 14px; line-height: 20px; } }

/* sidebar top-download list */
.side-panel { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card);
  border-radius: var(--radius); padding: 1rem; }
@media (min-width: 640px) { .side-panel { padding: 1.25rem; } }
.side-list { list-style: none; display: flex; flex-direction: column; }
.side-list a { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 12px; }
.side-list a:hover { background: var(--bg); text-decoration: none; }
.side-list .rank { width: 20px; text-align: center; font-weight: 700; color: var(--ink-400); font-size: 14px; flex: none; }
.side-list .app-icon { width: 44px; height: 44px; border-radius: 11px; font-size: 1.1rem; }
.side-list .t { min-width: 0; }
.side-list .t b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 20px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-list .t span { font-size: 12px; color: var(--ink-400); }

/* version page download buttons */
.version_download_list { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 640px) { .version_download_list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; } }
.version_download_item { display: flex; height: 44px; align-items: center; justify-content: center; gap: 12px;
  border-radius: 24px; padding: 0 16px; font-size: 16px; font-weight: 500; line-height: 26px; transition: all .2s; }
@media (min-width: 640px) { .version_download_item { font-size: 18px; } }
.version_download_item.is-disabled { background: rgba(241,245,249,.6); color: var(--ink-400); cursor: not-allowed; }
.version_download_item.is-play { background: var(--emerald); color: #fff; cursor: pointer; }
.version_download_item.is-play:hover { background: var(--emerald-hover); transform: translateY(-1px); text-decoration: none; }
.version_download_item.is-apk { background: var(--accent); color: #fff; cursor: pointer; }
@media (min-width: 640px) { .version_download_item.is-apk { grid-column: span 2; } }
.version_download_item.is-apk:hover { background: var(--accent-hover); transform: translateY(-1px); text-decoration: none; }
.version_download_tip { margin-top: 16px; text-align: center; }
.version_download_tip.hidden { display: none; }
.version_download_tip_status { font-size: 14px; color: var(--ink-soft); }
.version_download_tip_hint { margin-top: 4px; font-size: 12px; color: var(--ink-400); }

/* pros/cons inside assessment panel */
.pros-cons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pc-box { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: rgba(248,250,252,.5); }
.pc-box h3 { margin: 0 0 10px; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pc-box.pros h3 { color: var(--good); }
.pc-box.cons h3 { color: var(--bad); }
.pc-box ul { margin: 0 0 0 18px; }
.pc-box li { margin: 7px 0; font-size: 0.92rem; color: #334155; }

.faq-item { border: 1px solid var(--line); border-radius: 12px; background: rgba(248,250,252,.5); padding: 14px 16px; margin: 10px 0; }
.faq-item h3 { margin: 0 0 6px !important; font-size: 1rem; }
.faq-item p { margin: 0 !important; color: var(--ink-soft); font-size: 0.94rem; }

.verdict-box { border: 1px solid #bfdbfe; border-radius: 12px; padding: 16px 18px; margin-top: 4px; background: var(--accent-soft); }
.verdict-box .k { font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-ink); margin-bottom: 8px; }
.verdict-box p { margin: 0 !important; }

/* ---------------------------------------------------------------- blog / pages */
.post-meta { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 24px; }
.post-list { display: grid; gap: 14px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-card); }
.post-card:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,23,42,.08); text-decoration: none; }
.post-card h3 { color: var(--ink); font-size: 1.08rem; margin-bottom: 6px; font-weight: 600; }
.post-card p { color: var(--ink-soft); font-size: 0.92rem; }
.post-card .date { font-size: 0.78rem; color: var(--ink-400); margin-top: 10px; display: block; }
.sources { border-top: 1px solid var(--line-strong); margin-top: 32px; padding-top: 16px; font-size: 0.9rem; }
.sources h2 { font-size: 1rem; margin: 0 0 8px; }

article h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 32px 0 12px; font-weight: 600; }
article h3 { font-size: 1.06rem; margin: 22px 0 8px; }
article p { margin: 12px 0; }
article ul { margin: 12px 0 12px 22px; }
article li { margin: 6px 0; }

.search-box { width: 100%; padding: 12px 16px; font-size: 1rem; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); margin: 8px 0 20px; }
.search-box:focus { outline: none; border-color: var(--accent); }

/* ---------------------------------------------------------------- footer */
.site-foot { border-top: 1px solid #334155; margin-top: 60px; padding: 36px 0 24px; background: #1f2937; }
.foot-compact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.foot-brand { color: #fff !important; font-size: 1.15rem !important; font-weight: 750; }
.foot-about { max-width: 580px; margin-top: 8px; color: #cbd5e1; font-size: 0.88rem; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.site-foot a { color: #dbe4ee; font-size: 0.86rem; }
.site-foot a:hover { color: #fff; text-decoration: none; }
.foot-legal { margin-top: 26px; padding-top: 16px; border-top: 1px solid #475569; font-size: 0.76rem; color: #94a3b8; }
@media (max-width: 720px) {
  .foot-compact { grid-template-columns: 1fr; gap: 24px; }
  .foot-links { justify-content: flex-start; }
}

.muted { color: var(--ink-soft); }
.small { font-size: 0.85rem; }

/* ---------------------------------------------------------------- shared homepage components */
.home-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .home-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .home-wrap { padding: 0 32px; } }
.home-sec { padding: 56px 0; }
@media (min-width: 640px) { .home-sec { padding: 64px 0; } }
.bg-soft { background: var(--bg); }
.home-sec:not(.bg-soft):not(.bg-tint):not(.cta-dark) { background: var(--surface); }
.bg-tint { background: linear-gradient(90deg, #eff6ff, #f5f3ff); }
.hs-title { letter-spacing: -0.025em; color: var(--ink); font-size: 1.875rem; font-weight: 700; line-height: 1.25; }
@media (min-width: 640px) { .hs-title { font-size: 2.25rem; } }
.hs-sub { color: #64748b; margin-top: 12px; font-size: 1rem; max-width: 640px; }
@media (min-width: 640px) { .hs-sub { font-size: 1.125rem; } }
.home-sec [style*="text-align:center"] .hs-sub { margin-left: auto; margin-right: auto; }

/* hero */
.hero-section { color: #fff; background-image: linear-gradient(90deg, #3b82f6, #4f46e5);
  position: relative; overflow: hidden; padding: 56px 0; }
@media (min-width: 640px) { .hero-section { padding: 80px 0; } }
@media (min-width: 1024px) { .hero-section { padding: 96px 0; } }
.hero-grid { display: grid; align-items: center; gap: 40px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; } }
.hero-section h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
@media (min-width: 640px) { .hero-section h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-section h1 { font-size: 3.75rem; } }
.hero-sub { margin-top: 18px; font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,.85); max-width: 560px; }
@media (min-width: 640px) { .hero-sub { font-size: 1.125rem; } }
@media (min-width: 1024px) { .hero-sub { font-size: 1.25rem; } }
.hero-btns { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero-btns { flex-direction: row; gap: 16px; } }
.hero-btn-primary { display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: #fff; color: #2563eb; border-radius: 999px; padding: 12px 28px; font-weight: 700;
  font-size: 1rem; box-shadow: var(--shadow-card); transition: all .2s; }
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,23,42,.12); text-decoration: none; }
.hero-btn-outline { display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  color: #fff; border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; padding: 12px 28px;
  font-weight: 700; font-size: 1rem; backdrop-filter: blur(4px); transition: all .2s; }
.hero-btn-outline:hover { transform: translateY(-2px); background: rgba(255,255,255,.2); text-decoration: none; }
.hero-panel { border-radius: 24px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1);
  padding: 20px; backdrop-filter: blur(20px); box-shadow: 0 10px 40px rgba(15,23,42,.2); }
@media (min-width: 640px) { .hero-panel { padding: 24px; } }
.hero-panel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .hero-panel-grid { gap: 12px; } }
.hero-app-card { min-width: 0; text-align: center; padding: 12px; border-radius: 16px; backdrop-filter: blur(12px);
  transition: all .2s; cursor: pointer; }
.hero-app-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.25); text-decoration: none; }
.hero-app-icon { display: block; width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15,23,42,.25); overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.3rem; }
.hero-app-card h3 { font-size: 0.75rem; font-weight: 600; color: #fff; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 640px) { .hero-app-card h3 { font-size: 0.85rem; } }

/* editorial spotlights */
.spotlight-grid { margin-top: 40px; display: grid; gap: 24px; }
@media (min-width: 1024px) { .spotlight-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.spotlight-big { position: relative; display: block; min-height: 280px; border-radius: 24px; padding: 24px;
  color: #fff; overflow: hidden; transition: transform .2s; }
@media (min-width: 640px) { .spotlight-big { min-height: 360px; padding: 40px; } }
.spotlight-big:hover { transform: translateY(-3px); text-decoration: none; }
.spotlight-minis { display: grid; gap: 16px; }
@media (min-width: 640px) { .spotlight-minis { gap: 20px; } }
.spotlight-mini { position: relative; display: block; min-height: 92px; border-radius: 20px; padding: 20px;
  color: #fff; overflow: hidden; transition: transform .2s; }
@media (min-width: 640px) { .spotlight-mini { min-height: 104px; padding: 24px; } }
.spotlight-mini:hover { transform: translateY(-3px); text-decoration: none; }
.sg-a { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.sg-b { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.sg-c { background: linear-gradient(135deg, #0f766e, #0891b2); }
.sg-d { background: linear-gradient(135deg, #9d174d, #db2777); }
.sp-eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4em;
  color: rgba(255,255,255,.75); }
.spotlight-big h3 { margin-top: 20px; font-size: 1.5rem; font-weight: 700; line-height: 1.2; max-width: 560px; }
@media (min-width: 640px) { .spotlight-big h3 { margin-top: 28px; font-size: 2rem; } }
.spotlight-mini h3 { margin-top: 10px; font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.sp-teaser { margin-top: 14px; font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,.85); max-width: 540px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.sp-more { display: inline-block; margin-top: 22px; font-size: 0.9rem; font-weight: 700; color: #fff; }

/* home app cards */
.hac-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .hac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .hac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-app-card { min-width: 0; position: relative; display: block; border: 1px solid var(--line); background: var(--surface);
  border-radius: 16px; padding: 16px; box-shadow: var(--shadow-card); transition: all .2s; overflow: hidden; }
@media (min-width: 640px) { .home-app-card { padding: 24px; } }
.home-app-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(15,23,42,.08),
  0 2px 4px rgba(15,23,42,.06); text-decoration: none; }
.hac-row { display: flex; gap: 14px; }
.hac-icon { width: 56px; height: 56px; border-radius: 16px; flex: none; box-shadow: 0 3px 8px rgba(15,23,42,.12);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.5rem; overflow: hidden; }
@media (min-width: 640px) { .hac-icon { width: 64px; height: 64px; } }
.hac-body { min-width: 0; flex: 1; }
.hac-body h3 { font-size: 1.125rem; font-weight: 600; color: var(--ink); line-height: 1.55;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.hac-cat { margin-top: 4px; font-size: 0.875rem; font-weight: 500; color: #64748b; }
.hac-stat { margin-top: 4px; font-size: 0.875rem; font-weight: 500; color: var(--ink-400); }
.hac-teaser { margin-top: 14px; font-size: 0.875rem; line-height: 1.6; color: #475569;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.home-app-card.is-ranked .hac-body h3, .home-app-card.is-ranked .hac-cat { padding-right: 48px; }
.rank-card-number { position: absolute; top: 14px; right: 18px; font-size: 1.5rem; font-weight: 800;
  color: #dbeafe; line-height: 1; }
@media (min-width: 640px) { .rank-card-number { font-size: 1.9rem; } }

/* compact ranking rows */
.rank-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 8px 24px; }
@media (min-width: 640px) { .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rank-row { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; transition: background .15s; }
.rank-row:hover { background: var(--bg); text-decoration: none; }
.rr-num { width: 26px; text-align: center; font-weight: 800; color: var(--ink-400); font-size: 0.95rem; flex: none; }
.rank-row:nth-child(-n+3) .rr-num { color: var(--accent); }
.rr-icon { width: 44px; height: 44px; border-radius: 11px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.rr-t { min-width: 0; }
.rr-t b { display: block; font-size: 0.92rem; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-t span { font-size: 0.78rem; color: var(--ink-400); }

/* dark CTA */
.cta-dark { background: #0f172a; color: #fff; }
.cta-dark .hs-title { color: #fff; }
.cta-dark .hs-sub { color: #cbd5e1; margin-left: auto; margin-right: auto; }
.last-app-card { display: block; max-width: 768px; margin: 36px auto 0; border-radius: 24px; padding: 24px;
  background: linear-gradient(135deg, #db2777, #7c3aed); text-align: left; transition: transform .2s;
  box-shadow: 0 16px 48px rgba(124,58,237,.35); }
@media (min-width: 768px) { .last-app-card { padding: 32px; } }
.last-app-card:hover { transform: translateY(-3px); text-decoration: none; }
.lac-row { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
@media (min-width: 768px) { .lac-row { flex-direction: row; gap: 28px; text-align: left; } }
.lac-icon { width: 80px; height: 80px; border-radius: 22px; flex: none; overflow: hidden;
  box-shadow: 0 8px 24px rgba(15,23,42,.3); display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 2rem; }
@media (min-width: 640px) { .lac-icon { width: 96px; height: 96px; } }
.lac-body { flex: 1; color: #fff; }
.lac-body h3 { font-size: 1.5rem; font-weight: 700; }
@media (min-width: 768px) { .lac-body h3 { font-size: 1.9rem; } }
.lac-cat { margin-top: 6px; font-size: 0.95rem; color: #fbcfe8; }
.lac-stat { margin-top: 10px; font-size: 0.98rem; font-weight: 600; color: #fce7f3; }
.lac-star { color: #fde047; }
.lac-teaser { margin-top: 10px; font-size: 0.9rem; color: rgba(255,255,255,.85);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lac-btn { flex: none; }

/* category cards */
.category-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; text-align: left; }
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.category-card { position: relative; display: block; border: 1px solid var(--line); background: var(--surface);
  border-radius: 16px; padding: 18px; box-shadow: var(--shadow-card); transition: all .2s; }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(15,23,42,.08); text-decoration: none; }
.cc-arrow { position: absolute; top: 14px; right: 16px; color: var(--ink-400); font-weight: 700;
  transition: all .2s; }
.category-card:hover .cc-arrow { color: var(--accent); transform: translateX(3px); }
.cc-icon { display: flex; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); align-items: center; justify-content: center; }
.cc-icon svg { width: 22px; height: 22px; }
.category-card h3 { margin-top: 12px; font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.category-card p { margin-top: 2px; font-size: 0.8rem; color: var(--ink-400); }

/* ---------------------------------------------------------------- Quizooly editorial homepage */
body.home-page {
  --home-forest: #153d35;
  --home-forest-dark: #0d2a25;
  --home-sage: #dce9e2;
  --home-cream: #f6f1e7;
  --home-paper: #fffdf8;
  --home-amber: #e8a63a;
  --home-ink: #18231f;
  --home-muted: #64716b;
  background: var(--home-cream);
  color: var(--home-ink);
}
.home-page .site-head {
  position: sticky;
  border-color: rgba(255,255,255,.12);
  background: var(--home-forest-dark);
}
.home-page .site-head .wrap { max-width: 1240px; height: 68px; }
.home-page .site-head .brand { color: #fffaf0; }
.home-page .site-head .brand svg { filter: none; opacity: 1; }
.home-page .site-head .brand svg rect { fill: #fffaf0; }
.home-page .site-head .brand svg path:first-of-type { fill: #e8a63a; }
.home-page .site-head .brand svg path:last-of-type { stroke: #0d2a25; }
.home-page .site-nav a { color: #d8e6df; }
.home-page .site-nav a:hover { color: #f3bd61; }
.home-page .head-search input {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.home-page .head-search input::placeholder { color: #afc5bb; }
.home-page .head-search input:focus { border-color: #f3bd61; background: rgba(255,255,255,.12); }
.home-page .nav-toggle { border-color: rgba(255,255,255,.25); color: #fff; }
.home-page .home-shell { overflow: hidden; background: var(--home-cream); }
.home-page .home-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.home-page .home-sec { padding: 86px 0; }
.home-page .hs-title {
  max-width: 760px;
  color: var(--home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.home-page .hs-sub { max-width: 650px; margin-top: 14px; color: var(--home-muted); font-size: 1rem; line-height: 1.7; }
.section-kicker,
.hero-eyebrow,
.proof-label,
.review-lead-kicker,
.note-label {
  color: #9b650c;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Homepage masthead */
.research-hero {
  position: relative;
  padding: 88px 0 112px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 20%, rgba(232,166,58,.2) 0 7%, transparent 7.2%),
    radial-gradient(circle at 83% 20%, transparent 0 15%, rgba(255,255,255,.07) 15.2% 15.5%, transparent 15.7%),
    var(--home-forest-dark);
}
.research-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -240px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.research-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) 340px; gap: 92px; align-items: end; }
.research-hero-copy { max-width: 790px; }
.research-hero .hero-eyebrow { color: #f3bd61; }
.research-hero h1 {
  max-width: 760px;
  margin-top: 22px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 5.7vw, 5.35rem);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.045em;
}
.research-hero .hero-sub { max-width: 680px; margin-top: 26px; color: #c4d6ce; font-size: 1.08rem; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.home-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 22px;
  font-size: .95rem;
  font-weight: 750;
  transition: transform .18s, background .18s, color .18s;
}
.home-btn:hover { transform: translateY(-2px); text-decoration: none; }
.home-btn-primary { background: var(--home-amber); color: #1d2924; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.home-btn-primary:hover { background: #f0b858; color: #10261f; }
.home-btn-text { padding-right: 0; padding-left: 0; color: #e9f0ed; }
.home-btn-text:hover { color: #f3bd61; }
.research-proof {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px 18px 4px 18px;
  background: #f0dfb9;
  padding: 26px;
  box-shadow: 18px 18px 0 rgba(232,166,58,.13);
}
.research-proof .proof-label { color: #7b510d; }
.proof-list { margin-top: 14px; }
.proof-point { display: grid; grid-template-columns: 34px 1fr; gap: 12px; border-top: 1px solid rgba(24,35,31,.15); padding: 18px 0; }
.proof-point:first-child { border-top: 0; }
.proof-point > span { padding-top: 2px; color: #8f641c; font-family: Georgia, "Times New Roman", serif; font-size: .92rem; }
.proof-point p { color: #4f5b55; font-size: .82rem; line-height: 1.55; }
.proof-point b { display: block; margin-bottom: 3px; color: #17362f; font-size: .9rem; }
.proof-stat { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(24,35,31,.15); }
.proof-stat strong { color: #17362f; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 600; letter-spacing: -.04em; }
.proof-stat span { color: #4f5b55; font-size: .85rem; line-height: 1.4; }
.proof-note { margin-top: 18px; color: #405048; font-size: .82rem; line-height: 1.65; }

/* Search dock and quick links */
.discovery-dock { padding: 0 0 50px; background: #ebe5d9; }
.discovery-dock .home-wrap { position: relative; transform: translateY(-34px); }
.home-finder {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 28px;
  align-items: center;
  border: 1px solid #ded7c9;
  border-radius: 16px;
  background: var(--home-paper);
  padding: 22px 24px;
  box-shadow: 0 18px 45px rgba(50,61,55,.12);
}
.home-finder label { color: #24332d; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.home-finder > div { display: flex; gap: 10px; }
.home-finder input { width: 100%; min-width: 0; height: 48px; border: 1px solid #ccd5cf; border-radius: 9px; background: #fff; padding: 0 15px; color: var(--home-ink); font-size: .92rem; }
.home-finder input:focus { outline: 2px solid rgba(21,61,53,.16); border-color: var(--home-forest); }
.home-finder button { flex: none; height: 48px; border: 0; border-radius: 9px; background: var(--home-forest); padding: 0 20px; color: #fff; font-weight: 750; cursor: pointer; }
.home-finder button:hover { background: #20584c; }
.discovery-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; margin-top: 26px; }
.discovery-app { display: flex; min-width: 0; align-items: center; gap: 12px; border-bottom: 1px solid #d2ccbf; padding: 10px 4px 14px; color: var(--home-ink); }
.discovery-app:hover { border-color: var(--home-forest); text-decoration: none; }
.discovery-app .hero-app-icon { width: 42px; height: 42px; margin: 0; flex: none; border-radius: 11px; box-shadow: none; }
.discovery-app > span { min-width: 0; }
.discovery-app b,
.discovery-app small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discovery-app b { color: #24332d; font-size: .9rem; }
.discovery-app small { margin-top: 2px; color: #7a857f; font-size: .72rem; }

/* Shortlist */
.home-shortlist { background: var(--home-paper) !important; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-link { flex: none; border-bottom: 1px solid #9aa9a1; padding-bottom: 4px; color: var(--home-forest); font-size: .88rem; font-weight: 700; }
.section-link:hover { border-color: var(--home-forest); text-decoration: none; }
.shortlist-layout { display: grid; grid-template-columns: .8fr 1.55fr; gap: 38px; margin-top: 38px; }
.review-lead { display: flex; min-height: 100%; flex-direction: column; border-radius: 4px 24px 24px 24px; background: var(--home-forest); padding: 30px; color: #fff; }
.review-lead:hover { background: #1b4b41; text-decoration: none; }
.review-lead-kicker { color: #f3bd61; }
.review-lead-head { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.review-lead-icon { display: flex; width: 76px; height: 76px; flex: none; align-items: center; justify-content: center; overflow: hidden; border-radius: 18px; color: #fff; font-size: 1.4rem; font-weight: 700; }
.review-lead-icon img { width: 100%; height: 100%; object-fit: cover; }
.review-lead h3 { color: #fff; font-size: 1.45rem; line-height: 1.25; }
.review-lead-head p { margin-top: 4px; color: #bcd1c8; font-size: .82rem; }
.review-lead-copy { margin-top: 26px; color: #dce8e3; font-size: .92rem; line-height: 1.7; }
.review-lead-meta { display: flex; gap: 18px; margin-top: auto; padding-top: 30px; color: #f2cc86; font-size: .78rem; }
.review-lead-link { margin-top: 18px; color: #fff; font-size: .9rem; font-weight: 750; }
.review-line-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.review-line { display: flex; min-width: 0; align-items: center; gap: 13px; border-top: 1px solid #e2ded5; padding: 17px 4px; color: var(--home-ink); }
.review-line:nth-child(-n+2) { border-top: 0; }
.review-line:hover { text-decoration: none; }
.review-line:hover .review-line-arrow { transform: translateX(4px); color: var(--home-forest); }
.review-line-icon { display: flex; width: 52px; height: 52px; flex: none; align-items: center; justify-content: center; overflow: hidden; border-radius: 13px; color: #fff; font-weight: 700; }
.review-line-icon img { width: 100%; height: 100%; object-fit: cover; }
.review-line-copy { min-width: 0; flex: 1; }
.review-line-copy b,
.review-line-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-line-copy b { color: #26342e; font-size: .91rem; }
.review-line-copy small { margin-top: 4px; color: #7b8781; font-size: .7rem; }
.review-line-arrow { flex: none; color: #a1aaa5; transition: transform .18s, color .18s; }

/* Editorial notes */
.home-notes { background: var(--home-sage) !important; }
.notes-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 58px; margin-top: 36px; }
.note-feature { min-height: 360px; border-radius: 20px 4px 20px 20px; background: #efd39b; padding: 38px; color: #21312b; }
.note-feature:hover { background: #f3dcae; text-decoration: none; }
.note-label { color: #80540d; }
.note-feature h3 { max-width: 560px; margin-top: 70px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.note-feature .sp-teaser { max-width: 580px; margin-top: 20px; color: #5a5d4d; font-size: .92rem; line-height: 1.7; }
.note-feature .sp-more { margin-top: 28px; color: #183b33; }
.note-list { border-top: 1px solid rgba(24,35,31,.22); }
.note-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 18px; align-items: center; border-bottom: 1px solid rgba(24,35,31,.22); padding: 27px 0; color: var(--home-ink); }
.note-row:hover { text-decoration: none; }
.note-number { color: #75837c; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.note-copy { min-width: 0; }
.note-copy small,
.note-copy b { display: block; }
.note-copy small { color: #6e7b75; font-size: .66rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.note-copy b { margin-top: 6px; color: #21312b; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: 1.35; }
.note-arrow { color: #547167; transition: transform .18s; }
.note-row:hover .note-arrow { transform: translateX(5px); }

/* Catalogue board */
.home-catalogue { background: #17241f !important; }
.catalogue-board { display: grid; grid-template-columns: minmax(0, 1.55fr) 340px; gap: 54px; align-items: start; }
.catalogue-featured .section-kicker { color: #e8b65f; }
.catalogue-featured .hs-title { color: #fffaf0; }
.catalogue-featured .hs-sub { color: #aebfb7; }
.home-page .catalogue-featured .hac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.home-page .home-app-card { border: 1px solid #dfe2db; border-radius: 14px; background: var(--home-paper); box-shadow: none; }
.home-page .home-app-card:hover { border-color: #9cb4a9; box-shadow: 0 14px 28px rgba(17,39,32,.1); }
.home-page .catalogue-featured .home-app-card { border-color: rgba(255,255,255,.1); background: #22332c; }
.home-page .catalogue-featured .home-app-card:hover { border-color: rgba(243,189,97,.5); box-shadow: none; }
.home-page .catalogue-featured .hac-body h3 { color: #fff; }
.home-page .catalogue-featured .hac-cat { color: #b7c8c0; }
.home-page .catalogue-featured .hac-stat { color: #e3bc76; }
.home-page .catalogue-featured .hac-teaser { color: #aebfb7; }
.catalogue-ranking { border-radius: 4px 22px 22px 22px; background: #f0dfb9; padding: 28px; }
.catalogue-ranking .section-kicker { color: #83570f; }
.catalogue-ranking h2 { margin-top: 8px; color: #1e312a; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1.15; }
.catalogue-ranking > p:not(.section-kicker) { margin-top: 10px; color: #667068; font-size: .82rem; line-height: 1.55; }
.home-page .catalogue-ranking .rank-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 22px; }
.home-page .catalogue-ranking .rank-row { border-top: 1px solid rgba(24,35,31,.13); border-radius: 0; padding: 10px 0; }
.home-page .catalogue-ranking .rank-row:first-child { border-top: 0; }
.home-page .catalogue-ranking .rank-row:hover { background: transparent; }
.home-page .rr-num { width: 22px; color: #856329; }
.home-page .rr-icon { width: 38px; height: 38px; border-radius: 9px; }
.home-page .rr-t b { color: #27362f; }
.home-page .rr-t span { color: #758078; }

/* Highest-rated and category index */
.home-top-rated { background: var(--home-cream) !important; }
.home-page .home-top-rated .hac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.home-page .rank-card-number { color: #c4a76f; font-family: Georgia, "Times New Roman", serif; }
.home-categories { background: var(--home-paper) !important; }
.home-page .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 38px; border-top: 1px solid #dcded8; }
.home-page .category-card { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; min-height: 86px; border: 0; border-bottom: 1px solid #dcded8; border-radius: 0; background: transparent; padding: 14px 16px 14px 0; box-shadow: none; }
.home-page .category-card:hover { background: #f4f1e9; box-shadow: none; transform: none; text-decoration: none; }
.home-page .category-card:nth-child(4n+1),
.home-page .category-card:nth-child(4n+2),
.home-page .category-card:nth-child(4n+3) { border-right: 1px solid #dcded8; }
.home-page .cc-icon { width: 38px; height: 38px; border-radius: 50%; background: #e0ebe5; color: var(--home-forest); }
.home-page .category-card h3 { margin: 0; color: #27352f; font-size: .88rem; }
.home-page .category-card p { grid-column: 2; margin: -8px 0 0; color: #8a938e; font-size: .7rem; }
.home-page .cc-arrow { position: static; grid-column: 3; grid-row: 1 / span 2; color: #8c9892; }

/* Closing recommendation and footer */
.home-closing { background: #ebe5d9 !important; padding: 60px 0 86px !important; }
.home-page .last-app-card { max-width: none; margin: 0; border: 1px solid #cfd7d1; border-left: 8px solid var(--home-forest); border-radius: 3px 18px 18px 3px; background: var(--home-paper); padding: 30px 34px; box-shadow: none; }
.home-page .last-app-card:hover { box-shadow: 0 14px 30px rgba(32,50,42,.09); }
.home-page .lac-row { text-align: left; }
.home-page .lac-icon { width: 82px; height: 82px; border-radius: 18px; box-shadow: none; }
.home-page .lac-body { color: var(--home-ink); }
.home-page .lac-body .section-kicker { color: #95620e; }
.home-page .lac-body h3 { margin-top: 5px; color: var(--home-ink); font-family: Georgia, "Times New Roman", serif; }
.home-page .lac-cat { color: #718078; }
.home-page .lac-stat { color: #506158; }
.home-page .lac-teaser { color: #718078; }
.home-page .site-foot { margin-top: 0; border-color: #2e443b; background: var(--home-forest-dark); }
.home-page .site-foot h4,
.home-page .site-foot a,
.home-page .foot-about { color: #c0d1c9; }
.home-page .site-foot a:hover { color: #f3bd61; }
.home-page .foot-legal { border-color: #2e443b; color: #82988e; }

@media (max-width: 1100px) {
  .research-hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .catalogue-board { grid-template-columns: 1fr; }
  .catalogue-ranking { display: grid; grid-template-columns: 240px 1fr; column-gap: 28px; }
  .catalogue-ranking .rank-grid { grid-column: 2; grid-row: 1 / span 4; }
  .home-page .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .category-card:nth-child(4n+1),
  .home-page .category-card:nth-child(4n+2),
  .home-page .category-card:nth-child(4n+3) { border-right: 0; }
  .home-page .category-card:nth-child(3n+1),
  .home-page .category-card:nth-child(3n+2) { border-right: 1px solid #dcded8; }
}

@media (max-width: 760px) {
  .home-page .site-head .wrap { height: 60px; }
  .home-page .site-nav { top: 60px; border-color: #29483f; background: var(--home-forest-dark); }
  .home-page .site-nav a { border-color: #29483f; }
  .home-page .home-wrap { padding: 0 16px; }
  .home-page .home-sec { padding: 64px 0; }
  .research-hero { padding: 62px 0 78px; }
  .research-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .research-hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .research-proof { max-width: none; box-shadow: 10px 10px 0 rgba(232,166,58,.13); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .home-btn-text { justify-content: flex-start; }
  .discovery-dock .home-wrap { transform: translateY(-22px); }
  .home-finder { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .home-finder > div { align-items: stretch; flex-direction: column; }
  .discovery-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 18px; }
  .shortlist-layout { grid-template-columns: 1fr; }
  .review-line-grid { grid-template-columns: 1fr; }
  .review-line:nth-child(2) { border-top: 1px solid #e2ded5; }
  .notes-layout { grid-template-columns: 1fr; gap: 38px; }
  .note-feature { min-height: 330px; padding: 28px; }
  .note-feature h3 { margin-top: 48px; }
  .home-page .catalogue-featured .hac-grid,
  .home-page .home-top-rated .hac-grid { grid-template-columns: 1fr; }
  .catalogue-ranking { display: block; }
  .home-page .catalogue-ranking .rank-grid { margin-top: 22px; }
  .home-page .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .category-card:nth-child(3n+1),
  .home-page .category-card:nth-child(3n+2) { border-right: 0; }
  .home-page .category-card:nth-child(odd) { border-right: 1px solid #dcded8; }
  .home-page .last-app-card { padding: 26px 22px; }
  .home-page .lac-row { align-items: flex-start; }
  .home-page .lac-btn { width: 100%; }
}

@media (max-width: 460px) {
  .research-hero h1 { font-size: 2.7rem; }
  .research-hero .hero-sub { font-size: .98rem; }
  .proof-stat { grid-template-columns: 82px 1fr; }
  .discovery-app { gap: 9px; }
  .discovery-app .hero-app-icon { width: 38px; height: 38px; }
  .review-lead { padding: 24px; }
  .home-page .category-card { grid-template-columns: 34px 1fr auto; gap: 8px; padding-right: 8px; }
  .home-page .cc-icon { width: 32px; height: 32px; }
  .home-page .category-card h3 { font-size: .8rem; }
}

/* ---------------------------------------------------------------- fresh consumer homepage */
body.fresh-home {
  --fresh-ink: #302b3d;
  --fresh-muted: #716b7d;
  --fresh-purple: #7467db;
  --fresh-lilac: #e8e2ff;
  --fresh-mint: #dcf5e9;
  --fresh-peach: #ffe2d3;
  --fresh-pink: #ffe1ec;
  --fresh-yellow: #fff1c6;
  background: #fffdfd;
  color: var(--fresh-ink);
}
.fresh-home .site-head { position: sticky; border-color: #eee9f5; background: rgba(255,253,255,.94); backdrop-filter: blur(14px); }
.fresh-home .site-head .wrap { max-width: 1200px; }
.fresh-home .brand { color: #403950; }
.fresh-home .site-nav a { color: #5d5768; }
.fresh-home .site-nav a:hover { color: var(--fresh-purple); }
.fresh-home .head-search input { border-color: #ebe6f2; background: #f8f5fb; }
.fresh-home main { overflow: hidden; }
.fresh-home .home-wrap { max-width: 1200px; }

.fresh-hero { position: relative; overflow: hidden; padding: 78px 0 72px; background: linear-gradient(135deg, #faf2ff 0%, #fff6f8 55%, #f2fbf7 100%); }
.fresh-hero::before,
.fresh-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.fresh-hero::before { width: 310px; height: 310px; right: -80px; top: -120px; background: rgba(255,208,226,.62); }
.fresh-hero::after { width: 240px; height: 240px; left: 42%; bottom: -170px; background: rgba(199,239,223,.62); }
.fresh-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 76px; align-items: center; }
.fresh-kicker { display: inline-flex; border-radius: 999px; background: var(--fresh-yellow); padding: 7px 13px; color: #82651a; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fresh-hero h1 { max-width: 610px; margin-top: 20px; color: var(--fresh-ink); font-size: clamp(3rem, 5.6vw, 5rem); font-weight: 800; line-height: .98; letter-spacing: -.055em; }
.fresh-hero-copy > p { margin-top: 20px; color: var(--fresh-muted); font-size: 1.08rem; }
.fresh-search { display: flex; max-width: 590px; margin-top: 30px; border: 1px solid #ebe5ef; border-radius: 16px; background: #fff; padding: 7px; box-shadow: 0 18px 45px rgba(76,60,95,.1); }
.fresh-search input { min-width: 0; height: 46px; flex: 1; border: 0; background: transparent; padding: 0 14px; color: var(--fresh-ink); font-size: .95rem; }
.fresh-search input:focus { outline: 0; }
.fresh-search button { height: 46px; border: 0; border-radius: 11px; background: var(--fresh-purple); padding: 0 24px; color: #fff; font-weight: 750; cursor: pointer; }
.fresh-search button:hover { background: #6357ca; }
.fresh-actions { display: flex; gap: 20px; margin-top: 22px; }
.fresh-actions a { color: var(--fresh-purple); font-size: .9rem; font-weight: 750; }
.fresh-actions a::after { content: " \2192"; }
.fresh-actions a:hover { text-decoration: none; color: #554ab8; }
.fresh-hero-cloud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fresh-hero-app { display: flex; min-width: 0; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: var(--fresh-lilac); padding: 15px; box-shadow: 0 12px 30px rgba(72,58,93,.08); transition: transform .18s, box-shadow .18s; }
.fresh-hero-app:nth-child(2), .fresh-hero-app:nth-child(5) { background: var(--fresh-mint); }
.fresh-hero-app:nth-child(3), .fresh-hero-app:nth-child(6) { background: var(--fresh-peach); }
.fresh-hero-app:nth-child(even) { transform: translateY(20px); }
.fresh-hero-app:hover { box-shadow: 0 16px 32px rgba(72,58,93,.13); text-decoration: none; }
.fresh-hero-app:nth-child(odd):hover { transform: translateY(-3px); }
.fresh-hero-app:nth-child(even):hover { transform: translateY(17px); }
.fresh-hero-icon { display: flex; width: 50px; height: 50px; flex: none; align-items: center; justify-content: center; overflow: hidden; border-radius: 13px; color: #fff; font-weight: 800; }
.fresh-hero-icon img { width: 100%; height: 100%; object-fit: cover; }
.fresh-hero-app > span { min-width: 0; }
.fresh-hero-app b, .fresh-hero-app small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fresh-hero-app b { color: #393346; font-size: .88rem; }
.fresh-hero-app small { margin-top: 4px; color: #81798b; font-size: .69rem; }

.fresh-section { padding: 72px 0; }
.fresh-section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.fresh-section-head h2 { color: var(--fresh-ink); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; }
.fresh-section-head a { flex: none; color: var(--fresh-purple); font-size: .88rem; font-weight: 750; }
.fresh-section-head a:hover { text-decoration: none; color: #554ab8; }
.fresh-popular { background: #fffdfd; }
.fresh-app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fresh-app-card { display: grid; min-width: 0; grid-template-columns: 52px minmax(0, 1fr); gap: 0 13px; align-items: center; border: 1px solid #eee9f2; border-radius: 18px; background: #fff; padding: 16px; box-shadow: 0 8px 25px rgba(77,61,94,.05); transition: transform .18s, border-color .18s, box-shadow .18s; }
.fresh-app-card:hover { transform: translateY(-3px); border-color: #dcd3ed; box-shadow: 0 14px 28px rgba(77,61,94,.1); text-decoration: none; }
.fresh-app-icon { display: flex; width: 52px; height: 52px; grid-row: 1 / span 2; align-items: center; justify-content: center; overflow: hidden; border-radius: 14px; color: #fff; font-weight: 800; }
.fresh-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.fresh-app-copy { min-width: 0; }
.fresh-app-copy b, .fresh-app-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fresh-app-copy b { color: #393346; font-size: .88rem; }
.fresh-app-copy small { margin-top: 3px; color: #898292; font-size: .68rem; }
.fresh-app-rating { grid-column: 2; margin-top: 6px; color: #8a6b12; font-size: .7rem; font-weight: 750; }

.fresh-featured { background: #f7f4ff; }
.fresh-feature-layout { display: grid; grid-template-columns: .95fr 1.25fr; gap: 18px; }
.fresh-feature-main { position: relative; display: flex; min-height: 330px; flex-direction: column; align-items: flex-start; overflow: hidden; border-radius: 28px; background: linear-gradient(145deg, #ded8ff, #eeeaff); padding: 32px; color: var(--fresh-ink); }
.fresh-feature-main::after { content: ""; position: absolute; width: 210px; height: 210px; right: -85px; bottom: -105px; border-radius: 50%; background: rgba(255,255,255,.52); }
.fresh-feature-main:hover { text-decoration: none; }
.fresh-feature-label { border-radius: 999px; background: rgba(255,255,255,.72); padding: 6px 11px; color: #6559c7; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.fresh-feature-icon { display: flex; width: 74px; height: 74px; margin-top: 26px; align-items: center; justify-content: center; overflow: hidden; border-radius: 19px; color: #fff; font-weight: 800; }
.fresh-feature-icon img { width: 100%; height: 100%; object-fit: cover; }
.fresh-feature-main h3 { margin-top: 18px; font-size: 1.5rem; }
.fresh-feature-main p { max-width: 430px; margin-top: 8px; color: #6d6680; font-size: .86rem; line-height: 1.55; }
.fresh-feature-main small { margin-top: 14px; color: #6d5eb5; font-size: .75rem; font-weight: 700; }
.fresh-feature-main > b { margin-top: auto; padding-top: 20px; color: #5146a9; font-size: .86rem; }
.fresh-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fresh-feature-list .fresh-app-card:nth-child(1), .fresh-feature-list .fresh-app-card:nth-child(4) { background: #fff8d9; }
.fresh-feature-list .fresh-app-card:nth-child(2), .fresh-feature-list .fresh-app-card:nth-child(5) { background: #e9f8f0; }
.fresh-feature-list .fresh-app-card:nth-child(3) { background: #fff0f5; }

.fresh-guides { background: #fffdfd; }
.fresh-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.fresh-guide-card { display: flex; min-height: 205px; flex-direction: column; border-radius: 22px; padding: 24px; color: var(--fresh-ink); transition: transform .18s; }
.fresh-guide-card:hover { transform: translateY(-4px); text-decoration: none; }
.fresh-pastel-1 { background: var(--fresh-peach); }
.fresh-pastel-2 { background: var(--fresh-mint); }
.fresh-pastel-3 { background: var(--fresh-lilac); }
.fresh-pastel-4 { background: var(--fresh-yellow); }
.fresh-guide-card > span { color: #746c7d; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fresh-guide-card h3 { margin-top: 22px; font-size: 1.05rem; line-height: 1.35; }
.fresh-guide-card b { margin-top: auto; padding-top: 20px; color: #5d52ba; font-size: .78rem; }

.fresh-ranking { background: #f5fbf8; }
.fresh-rank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.fresh-rank-row { display: grid; min-width: 0; grid-template-columns: 28px 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid #e2eee8; border-radius: 16px; background: rgba(255,255,255,.9); padding: 12px 15px; }
.fresh-rank-row:hover { border-color: #c9e2d6; text-decoration: none; }
.fresh-rank-num { color: #978ea0; font-size: .78rem; font-weight: 800; }
.fresh-rank-icon { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; color: #fff; font-weight: 800; }
.fresh-rank-icon img { width: 100%; height: 100%; object-fit: cover; }
.fresh-rank-row > span:not(.fresh-rank-num) { min-width: 0; }
.fresh-rank-row b, .fresh-rank-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fresh-rank-row b { color: #393346; font-size: .86rem; }
.fresh-rank-row small { margin-top: 3px; color: #88818e; font-size: .67rem; }
.fresh-rank-row em { color: #8b6b12; font-size: .72rem; font-style: normal; font-weight: 750; }

.fresh-categories { background: #fff8f4; }
.fresh-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fresh-category { display: grid; grid-template-columns: 38px 1fr auto; gap: 11px; align-items: center; border: 1px solid #f0e3dc; border-radius: 15px; background: rgba(255,255,255,.75); padding: 13px; }
.fresh-category:hover { background: #fff; text-decoration: none; }
.fresh-category > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: var(--fresh-pink); color: #9b5c77; }
.fresh-category:nth-child(3n+2) > span { background: var(--fresh-mint); color: #417966; }
.fresh-category:nth-child(3n) > span { background: var(--fresh-lilac); color: #6457bd; }
.fresh-category svg { width: 18px; height: 18px; }
.fresh-category b { color: #494252; font-size: .82rem; }
.fresh-category i { color: #a49aa9; font-size: .82rem; font-style: normal; }
.fresh-home .site-foot { margin-top: 0; border-color: #4f4863; background: #403a55; }
.fresh-home .foot-legal { border-color: #5d566e; }

@media (max-width: 980px) {
  .fresh-hero-grid { grid-template-columns: 1fr 390px; gap: 38px; }
  .fresh-app-grid, .fresh-guide-grid, .fresh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fresh-feature-layout { grid-template-columns: 1fr; }
  .fresh-feature-main { min-height: 300px; }
}

@media (max-width: 720px) {
  .fresh-home .site-nav { background: #fffdfd; }
  .fresh-home .site-nav a { border-color: #eee9f5; }
  .fresh-hero { padding: 52px 0 58px; }
  .fresh-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .fresh-hero h1 { font-size: clamp(2.65rem, 13vw, 3.7rem); }
  .fresh-hero-copy > p { font-size: .98rem; }
  .fresh-hero-cloud { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .fresh-hero-app { min-width: 0; flex-direction: column; gap: 8px; padding: 12px 8px; text-align: center; }
  .fresh-hero-app:nth-child(even) { transform: none; }
  .fresh-hero-app:nth-child(even):hover { transform: translateY(-3px); }
  .fresh-hero-app small { display: none; }
  .fresh-hero-icon { width: 44px; height: 44px; }
  .fresh-hero-app b { font-size: .72rem; }
  .fresh-section { padding: 58px 0; }
  .fresh-feature-list { grid-template-columns: 1fr; }
  .fresh-rank-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .fresh-search { flex-direction: column; }
  .fresh-search button { width: 100%; }
  .fresh-actions { gap: 15px; }
  .fresh-app-grid, .fresh-guide-grid { grid-template-columns: 1fr; }
  .fresh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fresh-category { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  .fresh-category > span { width: 34px; height: 34px; }
  .fresh-category i { display: none; }
  .fresh-feature-main { min-height: 340px; padding: 26px; }
  .fresh-rank-row { grid-template-columns: 24px 42px minmax(0, 1fr); gap: 9px; }
  .fresh-rank-icon { width: 42px; height: 42px; }
  .fresh-rank-row em { display: none; }
}

/* ---------------------------------------------------------------- Appstorez-parity detail layout */
body.reference-detail {
  background: #fbfbfb;
  color: #333;
  font-family: "Instrument Sans", Arial, sans-serif;
}
.reference-detail .reference-head {
  position: static;
  height: 64px;
  border-bottom: 1px solid #f2f5f9;
  background: #fff;
}
.reference-detail .reference-head .wrap {
  width: 100%;
  max-width: 1180px;
  height: 64px;
  padding: 0;
}
.reference-detail .reference-head .brand {
  gap: 7px;
  color: #c7c7c7;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.reference-detail .reference-head .brand svg {
  width: 25px;
  height: 25px;
  filter: grayscale(1);
  opacity: .62;
}
.reference-detail main { background: #fbfbfb; }
.reference-detail-page {
  width: 100%;
  padding-top: 20px;
  background: #fbfbfb;
}
.reference-detail-content {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.reference-detail-main { width: 840px; min-width: 0; }
.reference-detail-side { width: 310px; flex: none; }

/* Header card */
.reference-header-card {
  position: relative;
  padding: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 14px rgba(0,0,0,.03);
}
.reference-header-card .content-label { top: 0; right: 0; }
.reference-header-card .app-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  text-align: left;
}
.reference-header-card .app-head .app-icon-lg {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  font-size: 40px;
}
.reference-header-card .app-head .head-body { padding: 0; }
.reference-header-card .app-head h1 {
  overflow: hidden;
  color: #2d2d2d;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reference-header-card .stars {
  justify-content: flex-start;
  gap: 2px;
  margin-top: 19px;
  color: #9d9d9d;
  font-size: 14px;
}
.reference-header-card .stars .rating-val {
  margin-left: 4px;
  color: #9d9d9d;
  font-weight: 400;
}
.reference-mobile-summary { display: none; }
.reference-header-card .ads,
.reference-detail-main > .ads,
.reference-detail-side > .ads {
  position: relative;
  margin: 20px 0 !important;
}
.reference-header-card .detail-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 40px;
  margin-top: 14px;
  padding: 0;
  border: 0;
}
.reference-header-card .detail-info-item { padding: 0; }
.reference-header-card .detail-info-label,
.reference-header-card .detail-info-value {
  font-family: "Hind Siliguri", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}
.reference-header-card .detail-info-label { color: #343434; }
.reference-header-card .detail-info-value { width: 120px; color: #9d9d9d; }

/* Screenshot rail */
.reference-detail-main > section:not([class]) .detail-section-title {
  margin: 40px 0 20px;
  color: #2d2d2d;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: .2px;
}
.reference-detail-main .detail-screenshot-scroll {
  height: 280px;
  gap: 0;
  margin: 0;
  padding: 0;
}
.reference-detail-main .detail-screenshot-item {
  width: 120px;
  min-width: 120px;
  height: 280px;
  margin-right: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.reference-detail-main .detail-screenshot-item:last-child { margin-right: 0; }
.reference-detail-main .detail-screenshot-item img {
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Long-form content */
.reference-section { margin-top: 30px; }
.reference-about { margin-top: 20px; }
.reference-section .detail-section-title,
.reference-recommend-panel .detail-section-title {
  margin: 0 0 16px;
  color: #2d2d2d;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: .2px;
}
.reference-section article p,
.reference-section p.body-text {
  margin: 16px 0 0;
  color: #333;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 32px;
}
.reference-section article p:first-child { margin-top: 0; }
.reference-section article h3 {
  display: flex;
  align-items: center;
  margin: 30px 0 0;
  color: #333;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: .17px;
}
.reference-section article h3::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 8px;
  border-right: 5px solid transparent;
  border-bottom: 8px solid #9d9d9d;
  border-left: 5px solid transparent;
  opacity: .7;
}
.reference-section ul.plain { margin: 16px 0 0; list-style: none; }
.reference-section ul.plain li {
  position: relative;
  margin: 10px 0;
  padding-left: 22px;
  color: #646464;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 28px;
}
.reference-section ul.plain li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #217dff;
}
.reference-advantages ul.plain li {
  display: flex;
  margin-top: 16px;
  padding: 6px 12px 6px 44px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.reference-advantages ul.plain li::before {
  top: 13px;
  left: 16px;
  width: 12px;
  height: 7px;
  border: 0;
  border-bottom: 2px solid #68737a;
  border-left: 2px solid #68737a;
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg);
}
.reference-assessment .verdict-box {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(33,125,255,.18);
  border-radius: 8px;
  background: #eef6ff;
}
.reference-assessment .verdict-box p { margin: 0 !important; font-size: 16px; line-height: 28px; }
.reference-assessment .pros-cons { gap: 20px; margin-top: 16px; }
.reference-assessment .pc-box,
.reference-faq .faq-item {
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.reference-assessment .pc-box { padding: 16px 20px; }
.reference-assessment .pc-box li { color: #646464; font-size: 14px; line-height: 22px; }
.reference-faq .faq-item { margin: 10px 0; padding: 14px 16px; }
.reference-faq .faq-item h3 { color: #2d2d2d; font-size: 16px; line-height: 24px; }
.reference-faq .faq-item p { color: #646464; font-size: 15px; line-height: 26px; }

/* Store buttons */
.reference-download .detail-section-title { margin-bottom: 20px; }
.reference-download .detail-download-grid {
  grid-template-columns: minmax(0, 360px);
  gap: 15px;
  margin: 0;
}
.reference-download .detail-download-btn {
  gap: 15px;
  padding: 9px 0;
  border: 0;
  border-radius: 24px;
  background: #217dff;
  color: #fff;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}
.reference-download .detail-download-btn:hover {
  background: #57beff;
  box-shadow: none;
  transform: none;
}
.reference-download .detail-download-btn svg { color: #fff; }
.reference-download .detail-download-btn svg path { stroke: currentColor; }
.reference-download .detail-download-btn.is-disabled {
  cursor: not-allowed;
  background: #f0f0f0;
  color: #bababa;
}
.reference-download .detail-download-btn.is-disabled svg path { fill: currentColor; stroke: none; }

/* Top-download sidebar */
.reference-mobile-side { display: none; }
.reference-side-panel {
  width: 100%;
  padding: 20px 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 14px rgba(0,0,0,.03);
}
.reference-side-panel h2 {
  color: #2d2d2d;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: .2px;
}
.reference-side-list { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
.reference-side-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.reference-side-item:hover { text-decoration: none; }
.reference-side-icon {
  display: flex;
  width: 80px;
  height: 80px;
  flex: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 14px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.reference-side-icon img { width: 100%; height: 100%; object-fit: cover; }
.reference-side-copy { width: calc(100% - 124px); margin: 0 10px 0 14px; min-width: 0; }
.reference-side-copy b {
  display: block;
  overflow: hidden;
  color: #343434;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reference-side-rating {
  display: block;
  margin: 8px 0 5px;
  color: #f5b31b;
  font-size: 12px;
  line-height: 14px;
}
.reference-side-category {
  display: block;
  overflow: hidden;
  color: #9d9d9d;
  font-size: 13px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reference-side-arrow { flex: none; color: #9d9d9d; font-size: 24px; font-weight: 300; }

/* Similar-app grid */
.reference-recommend-panel {
  width: 100%;
  margin: 40px 0;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 14px rgba(0,0,0,.03);
}
.reference-recommend-panel .detail-section-title { margin-bottom: 20px; }
.reference-recommend-panel .page_recommend_list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 22px;
}
.reference-recommend-panel .page_recommend_item {
  width: 100%;
  height: auto;
  min-height: 154px;
  padding: 16px 10px;
  border-radius: 20px;
  background: #f6f6f6;
}
.reference-recommend-panel .page_recommend_item:hover {
  background: #f6f6f6;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.reference-recommend-panel .app-icon-sm {
  display: flex;
  width: 90px;
  height: 90px;
  flex: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  outline: 1px solid #f2f2f2;
  border-radius: 14px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.reference-recommend-panel .app-icon-sm img { width: 100%; height: 100%; object-fit: cover; }
.reference-recommend-panel .page_recommend_item_title {
  margin: 6px 0 4px;
  padding: 0;
  color: #343434;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.reference-recommend-panel .page_recommend_item_category {
  margin: 0;
  color: #9d9d9d;
  font-size: 13px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

/* Dark reference footer */
.reference-footer {
  display: flex;
  width: 100%;
  padding: 30px 0 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #3e3e3e;
}
.reference-footer-content {
  display: flex;
  width: 100%;
  max-width: 1180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.reference-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
}
.reference-footer-brand:hover { text-decoration: none; }
.reference-footer-brand svg { width: 30px; height: 30px; }
.reference-footer-content > p {
  max-width: 560px;
  margin: 20px 0;
  color: #e2e2e2;
  text-align: center;
  font-size: 14px;
  line-height: 28px;
}
.reference-footer-links { display: flex; align-items: center; gap: 100px; }
.reference-footer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #e2e2e2;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: .26px;
}
.reference-footer-link:hover { color: #fff; text-decoration: none; opacity: .8; }
.reference-footer-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border: 2px solid #e2e2e2;
  border-radius: 50%;
}
.reference-footer-icon::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e2e2;
}
.reference-footer-copyright {
  width: 100%;
  margin-top: 20px;
  padding: 8px 0;
  border-top: 1px solid #787878;
  color: #e2e2e2;
  text-align: center;
  font-size: 14px;
  line-height: 28px;
}

@media (max-width: 1200px) {
  .reference-detail .reference-head .wrap { padding: 0 24px; }
  .reference-detail-content { display: block; }
  .reference-detail-main { width: 100%; }
  .reference-detail-side { display: none; }
  .reference-section { padding: 0 16px; }
  .reference-detail-main > section:not([class]) .detail-section-title { padding: 0 14px; }
  .reference-detail-main .detail-screenshot-scroll { padding-left: 16px; }
  .reference-mobile-side { display: block; margin-top: 40px; }
  .reference-mobile-side .reference-side-panel { border-radius: 0; }
  .reference-mobile-side .reference-side-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
  }
  .reference-recommend-panel {
    margin: 0;
    padding: 20px 16px 50px;
    border-radius: 0;
    box-shadow: none;
  }
  .reference-recommend-panel .page_recommend_list { gap: 9px; }
}

@media (max-width: 767px) {
  .reference-detail .reference-head,
  .reference-detail .reference-head .wrap { height: 50px; }
  .reference-detail .reference-head .wrap { padding: 0 12px; }
  .reference-detail .reference-head .brand { font-size: 16px; }
  .reference-detail .reference-head .brand svg { width: 22px; height: 22px; }
  .reference-detail-page { padding-top: 12px; }
  .reference-header-card {
    padding: 0;
    border-radius: 0;
    background: #fbfbfb;
    box-shadow: none;
  }
  .reference-header-card .app-head {
    gap: 12px;
    padding: 16px 12px 0;
    background: #fff;
  }
  .reference-header-card .app-head .app-icon-lg {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    font-size: 30px;
  }
  .reference-header-card .app-head h1 { font-size: 18px; line-height: 30px; }
  .reference-header-card .stars { margin-top: 9px; font-size: 12px; }
  .reference-header-card .stars svg { width: 12px; height: 12px; }
  .reference-mobile-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px 0;
    background: #fff;
  }
  .reference-mobile-summary span {
    display: flex;
    min-width: 70px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: "Hind Siliguri", Arial, sans-serif;
  }
  .reference-mobile-summary b { color: #343434; font-size: 15px; font-weight: 400; line-height: 20px; }
  .reference-mobile-summary small { color: #9d9d9d; font-size: 14px; line-height: 20px; }
  .reference-mobile-summary i { width: 1px; height: 30px; margin: 0 20px; background: #dbdbdb; }
  .reference-header-card .ads,
  .reference-detail-main > .ads { margin: 14px 0 !important; }
  .reference-header-card .detail-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
    padding: 0 12px 16px;
    background: #fff;
  }
  .reference-header-card .detail-info-value { width: 220px; max-width: 220px; }
  .reference-detail-main > section:not([class]) .detail-section-title {
    margin: 40px 0 20px;
    padding: 0 12px;
  }
  .reference-detail-main .detail-screenshot-scroll { padding-left: 12px; }
  .reference-section { padding: 0 12px; }
  .reference-section article p,
  .reference-section p.body-text { font-size: 16px; }
  .reference-assessment .pros-cons { grid-template-columns: 1fr; }
  .reference-download .detail-download-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .reference-download .detail-download-btn { gap: 10px; font-size: 16px; }
  .reference-mobile-side .reference-side-panel { padding: 20px 12px; }
  .reference-mobile-side .reference-side-list { grid-template-columns: 1fr; gap: 14px 20px; }
  .reference-recommend-panel { padding: 20px 12px 50px; }
  .reference-recommend-panel .page_recommend_list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .reference-recommend-panel .page_recommend_item {
    min-height: 144px;
    padding: 16px 10px;
  }
  .reference-recommend-panel .app-icon-sm { width: 80px; height: 80px; }
  .reference-footer-content > p { max-width: 303px; }
  .reference-footer-links { gap: 20px; }
  .reference-footer-brand { font-size: 22px; }
}

/* Quizooly: task-led homepage. Detail-page geometry stays with the shared baseline. */
.quizooly-home{background:#f7f6ef;color:#203d34}.q-home{max-width:1180px;margin:auto;padding:0 28px}.q-hero{display:grid;grid-template-columns:1.65fr 1fr;gap:68px;padding:76px 0 62px;align-items:center}.q-eyebrow,.q-heading small{font-size:11px;letter-spacing:2px;font-weight:750}.q-hero h1{font-size:clamp(40px,5.2vw,66px);letter-spacing:-2.5px;line-height:1.08;margin:22px 0}.q-hero h1 i{font-family:Georgia,serif;font-weight:400;color:#658154}.q-intro{max-width:540px;line-height:1.8;color:#53645b;font-size:17px}.q-search{display:flex;background:white;border:1px solid #ccd4c4;border-radius:10px;padding:6px;margin:28px 0 15px;gap:6px}.q-search input{min-width:0;flex:1;border:0;background:transparent;padding:13px;font:inherit}.q-search button{border:0;border-radius:6px;background:#214737;color:white;padding:12px 20px;font-weight:700;white-space:nowrap}.q-links{font-size:12px;line-height:1.8}.q-links a{text-decoration:underline}.q-note{background:#e5edc5;border-radius:4px 54px 4px 4px;padding:34px;transform:rotate(2deg);box-shadow:10px 12px 0 #eeeddf}.q-note>span{font-size:11px;letter-spacing:2px}.q-note h2{font-size:40px;line-height:1.05;font-family:Georgia,serif;font-weight:400;margin:24px 0}.q-note p,.q-note li{font-size:14px}.q-note ol{padding-left:20px;line-height:2.3;margin:24px 0}.q-note a{font-size:13px;font-weight:700}.q-section{padding:36px 0 48px;border-top:1px solid #dce0d4}.q-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.q-heading h2{font-size:28px;letter-spacing:-.7px;margin:9px 0 0}.q-heading>a,.q-heading>p{font-size:13px}.q-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.q-categories>a{display:flex;align-items:center;gap:12px;border:1px solid #dce0d4;background:#fffef9;padding:16px;border-radius:8px;font-size:13px}.q-categories svg{width:23px;height:23px}.q-categories b{margin-left:auto}.q-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.q-card{display:flex;align-items:start;gap:18px;padding:25px;border:1px solid #dce0d4;background:white;border-radius:12px}.q-icon{width:64px;height:64px;object-fit:cover;border-radius:14px;flex-shrink:0}.q-card-copy{flex:1;min-width:0}.q-card small{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#697963}.q-card h3{font-size:17px;margin:6px 0 10px}.q-card p{font-size:13px;color:#667269;line-height:1.65;margin:0}.q-ranks{display:grid;grid-template-columns:repeat(3,1fr);gap:0 28px}.q-rank{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #e0e4d9;min-width:0}.q-number{font-family:Georgia,serif;color:#899478;font-size:17px}.q-small-icon{width:40px;height:40px;border-radius:9px;object-fit:cover}.q-rank>span:not(.q-number){flex:1;min-width:0}.q-rank b{display:block;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.q-rank small{display:block;font-size:10px;color:#788172;margin-top:5px}.q-rank em{font-size:11px;font-style:normal;white-space:nowrap}.q-guides{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.q-guide{padding:28px;background:#ebeede;display:flex;flex-direction:column;border-radius:9px;min-height:200px}.q-guide:nth-child(2){background:#ede5d7}.q-guide:nth-child(3){background:#e0e9e4}.q-guide small{font-size:9px;letter-spacing:1.5px}.q-guide h3{font:24px/1.3 Georgia,serif;margin:22px 0}.q-guide>span{font-size:12px;margin-top:auto}.q-card:hover,.q-categories>a:hover{border-color:#64815c}.q-home a:focus-visible,.q-home button:focus-visible,.q-home input:focus-visible{outline:3px solid #527e45;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:800px){.q-hero{grid-template-columns:1fr;gap:30px;padding-top:40px}.q-note{transform:none;padding:28px}.q-note h2 br{display:none}.q-note h2{font-size:30px}.q-categories{grid-template-columns:repeat(3,1fr)}.q-ranks{grid-template-columns:repeat(2,1fr)}.q-guides{grid-template-columns:1fr}.q-guide{min-height:160px}}@media(max-width:520px){.q-home{padding:0 18px}.q-hero h1{font-size:43px}.q-cards{grid-template-columns:1fr}.q-categories{grid-template-columns:repeat(2,1fr)}.q-categories>a{padding:12px;font-size:11px;gap:8px}.q-ranks{grid-template-columns:1fr}.q-card{padding:18px}.q-heading{align-items:start}.q-heading h2{font-size:24px}.q-heading>a{white-space:nowrap}.q-heading>p{display:none}.q-search button{padding:10px 12px}.q-search input{font-size:13px;padding:10px}.q-icon{width:52px;height:52px}}
.q-home a{color:inherit}.q-icon,.q-small-icon{display:block;flex-shrink:0}.q-rank>.q-small-icon{flex:0 0 40px!important}.q-home .q-guide:hover h3,.q-home .q-card:hover h3{text-decoration:underline}.quizooly-home .brand{color:#203d34}

/* Visual discovery homepage: real app artwork and compact first-screen picks. */
.q-hero{grid-template-columns:1fr 1.15fr;gap:38px;padding:38px 0 44px}.q-hero h1{font-size:clamp(38px,4vw,54px);margin:16px 0;letter-spacing:-2px}.q-hero .q-intro{font-size:15px;margin:0}.q-hero .q-search{margin:22px 0 0}.q-hero-picks{background:#e9edda;border:1px solid #dce3cd;border-radius:24px;padding:22px}.q-hero-picks-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:10px;letter-spacing:1.5px;font-weight:750}.q-hero-picks-head a{font-size:11px;letter-spacing:0}.q-hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.q-discover-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;background:#fff;border:1px solid #e2e5da;border-radius:16px;padding:20px 12px;min-width:0;transition:transform .18s,box-shadow .18s}.q-discover-card:hover{transform:translateY(-4px);box-shadow:0 10px 22px #193d3210}.q-discover-icon{display:block;width:68px;height:68px;flex-shrink:0;border-radius:17px}.q-discover-card b{font-size:12px;line-height:1.4;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.q-discover-card small{font-size:11px;color:#6d7d63}.q-moods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.q-mood{display:block;position:relative;padding:25px 25px 20px;border-radius:20px;overflow:hidden;min-height:232px;transition:transform .2s}.q-mood:hover{transform:translateY(-4px)}.q-mood-0{background:#e0ebd9}.q-mood-1{background:#eee0ed}.q-mood-2{background:#f5e5bc}.q-mood-3{background:#dce7f3}.q-mood-4{background:#f4ded2}.q-mood-5{background:#dcebe7}.q-mood-label{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;font-weight:700}.q-mood h3{font:27px/1.12 Georgia,serif;letter-spacing:-.7px;margin:14px 0 8px}.q-mood p{font-size:12px;margin:0;color:#506454}.q-mood-art{display:flex;align-items:center;margin:25px 0 0 6px;gap:9px}.q-mood-icon{display:block;flex-shrink:0;width:60px;height:60px;border:4px solid #ffffffc9;border-radius:17px;box-shadow:0 5px 12px #193d3212;transform:rotate(-12deg)}.q-mood-icon:nth-child(2){transform:translateY(-8px) rotate(5deg)}.q-mood-icon:nth-child(3){transform:rotate(13deg)}.q-mood-go{position:absolute;right:20px;bottom:22px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#ffffff85}.q-all-categories{margin-top:18px;border-bottom:1px solid #dce0d4}.q-all-categories summary{cursor:pointer;padding:14px 3px;font-size:13px;list-style:none;display:flex;justify-content:space-between}.q-all-categories>div{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0 22px}.q-all-categories a{background:white;border:1px solid #dce0d4;border-radius:25px;padding:8px 14px;font-size:12px}.q-discover-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.q-play-banner,.q-create-banner{position:relative;display:flex;justify-content:space-between;align-items:center;overflow:hidden;border-radius:22px;padding:34px 42px;margin-bottom:20px;gap:20px}.q-play-banner{background:#203e39;color:#f1f2d8}.q-play-banner:before{content:'';position:absolute;width:320px;height:320px;border:1px solid #ffffff20;border-radius:50%;right:40px;pointer-events:none}.q-play-banner span,.q-create-banner span:not(.q-banner-icon){font-size:10px;letter-spacing:1.8px}.q-play-banner h3{font:38px/1.1 Georgia,serif;margin:15px 0 22px}.q-play-banner a{font-size:12px;border:1px solid #c9d5b980;padding:10px 18px;border-radius:24px;display:inline-block}.q-play-art,.q-create-art{display:flex;align-items:center;padding:10px 20px}.q-banner-icon{display:block;width:106px;height:106px;border-radius:26px;flex-shrink:0;box-shadow:0 10px 20px #0002;transform:rotate(-12deg)}.q-banner-icon:nth-child(2){transform:translateY(-14px) rotate(5deg);z-index:1;margin:0 10px}.q-banner-icon:nth-child(3){transform:rotate(14deg)}.q-create-banner{background:#eedfd4}.q-create-banner h3{font:32px/1.15 Georgia,serif;max-width:350px;margin:14px 0}.q-create-banner p{font-size:13px;margin:0}.q-create-art .q-banner-icon{width:86px;height:86px;border-radius:21px}.q-card p{display:none}.q-card{align-items:center}.q-card h3{margin-bottom:0}.q-hero .q-discover-card{padding:14px 8px;gap:6px}.q-hero .q-discover-icon{width:58px;height:58px;border-radius:14px}
@media(max-width:800px){.q-hero{grid-template-columns:1fr;gap:22px;padding:26px 0 30px}.q-hero h1{font-size:40px;margin:10px 0}.q-hero h1 br{display:none}.q-hero .q-search{margin-top:16px}.q-hero-picks{padding:16px}.q-moods{grid-template-columns:repeat(2,minmax(0,1fr))}.q-discover-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.q-play-banner,.q-create-banner{padding:26px}.q-banner-icon{width:75px;height:75px;border-radius:20px}.q-create-art .q-banner-icon{width:60px;height:60px;border-radius:16px}.q-play-art,.q-create-art{padding:10px 0}.q-play-banner h3{font-size:30px}}
@media(max-width:520px){.q-hero{padding-top:20px;gap:18px}.q-eyebrow{font-size:9px;letter-spacing:1.4px;margin:0}.q-hero h1{font-size:34px;line-height:1.05;letter-spacing:-1.2px;max-width:320px}.q-hero .q-intro{font-size:12px}.q-hero-picks{padding:13px;border-radius:18px}.q-hero-picks-head{margin-bottom:10px;font-size:9px}.q-hero-grid{gap:8px}.q-hero .q-discover-card{padding:10px 5px;gap:5px;border-radius:12px}.q-hero .q-discover-icon{width:49px;height:49px;border-radius:12px}.q-discover-card b{font-size:10px}.q-hero .q-discover-card small{font-size:10px}.q-moods{gap:10px}.q-mood{padding:18px 14px;min-height:208px;border-radius:16px}.q-mood-label{font-size:8px;letter-spacing:1px}.q-mood h3{font-size:23px;min-height:50px;margin-top:12px}.q-mood p{font-size:10px;min-height:26px}.q-mood-art{margin:16px 0 0;gap:3px}.q-mood-icon{width:37px;height:37px;border-width:2px;border-radius:11px}.q-mood-go{right:10px;bottom:12px;width:22px;height:22px;font-size:12px}.q-play-banner,.q-create-banner{padding:24px;display:block}.q-play-banner h3{font-size:34px;margin-bottom:16px}.q-play-art,.q-create-art{justify-content:center;margin-top:24px}.q-banner-icon{width:77px;height:77px}.q-create-art .q-banner-icon{width:70px;height:70px}.q-create-banner h3{font-size:30px}.q-discover-grid{gap:9px}.q-discover-card{padding:16px 8px;border-radius:13px}.q-discover-icon{width:58px;height:58px;border-radius:15px}.q-heading>a{font-size:11px}.q-section{padding:30px 0 36px}}
@media(prefers-reduced-motion:reduce){.q-discover-card,.q-mood{transition:none}.q-discover-card:hover,.q-mood:hover{transform:none}}

/* Readable independence, download-source and rating disclosures. */
.independence-note{font-size:13px;line-height:1.65;color:#405647;margin:18px 0 8px}.foot-independence{max-width:640px}.site-foot .foot-independence,.reference-footer .foot-independence{color:#d9e3dd;font-size:12px;line-height:1.65}.download-source-note{font-size:12px;line-height:1.65;color:#626b65;margin:8px 0 14px;max-width:720px}.rating-stars{display:inline-block;position:relative;white-space:nowrap;font-size:17px;line-height:1.2;letter-spacing:2px;vertical-align:middle}.rating-stars-base{color:#d5d8d6}.rating-stars-fill{position:absolute;left:0;top:0;overflow:hidden;color:#ed9b12;white-space:nowrap}.reference-mobile-summary b{white-space:normal}.reference-download .independence-note{padding-top:8px}
