/*
Theme Name: Real Rummy Bonus
Theme URI: https://realrummybonus.com/
Author: Real Rummy Bonus editorial
Description: Independent in-app bonus decoder and UPI payout playbook for Indian rummy, Teen Patti, slots and colour-prediction APKs. CSV/JSON catalogue, no database app records.
Version: 1.0.5
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: realrummybonus
*/

/* -------------------------------------------------------------------------
 * Tokens
 * ---------------------------------------------------------------------- */
:root {
    --ink: #0b1220;
    --ink-2: #111c33;
    --slate: #1e293b;
    --muted: #5b6b83;
    --muted-2: #7c8aa0;
    --line: #e5e9f2;
    --line-strong: #d6dce8;
    --paper: #f7f8fc;
    --paper-2: #eef1f8;
    --white: #ffffff;
    --violet: #7c3aed;
    --violet-dark: #5b21b6;
    --violet-soft: #ede9fe;
    --violet-ink: #3b0764;
    --amber: #f59e0b;
    --amber-dark: #b45309;
    --amber-soft: #fff7e6;
    --gold: #fbbf24;
    --emerald: #0f9f6e;
    --rose: #e11d48;
    --cyan: #0891b2;
    --grad-hero: linear-gradient(135deg, #12102e 0%, #241b5e 45%, #4c1d95 100%);
    --grad-violet: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    --grad-amber: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --radius: 18px;
    --radius-lg: 26px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, .09);
    --shadow-lg: 0 30px 70px rgba(15, 23, 42, .18);
    --container: 1180px;
    --font-body: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-head: "Sora", "Manrope", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* -------------------------------------------------------------------------
 * Base
 * ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--slate);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.rrb-app-page, body.rrb-category-page, body.rrb-info-page { background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
/* The distribution partner injects floating Telegram links; keep the editorial page clean. */
a[href*="t.me/GameAdsBiz"][style*="position: fixed"],
a[href*="t.me/RummyClub_in"][style*="position: fixed"],
a[href*="t.me/RummyChat"][style*="position: fixed"] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--violet-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
    color: var(--ink);
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 3px solid rgba(124, 58, 237, .45); outline-offset: 2px; border-radius: 4px; }

.shell { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: -60px; left: 16px; z-index: 200;
    background: var(--amber); color: #3b1d00;
    padding: 10px 16px; border-radius: 0 0 10px 10px; font-weight: 800;
    transition: top .2s ease;
}
.skip-link:focus { top: 0; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 13px; line-height: 1.65; }
.dot { padding: 0 6px; color: var(--muted-2); }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.18em; }

.app-logo--fallback { display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 14px; background: linear-gradient(135deg, #4c1d95, #7c3aed); color: #fff; font-family: var(--font-head); font-weight: 800; letter-spacing: .02em; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }

.app-logo { border-radius: 22%; object-fit: contain; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }

/* -------------------------------------------------------------------------
 * Typography helpers
 * ---------------------------------------------------------------------- */
.kicker {
    display: flex; align-items: center; gap: 8px;
    margin: 0 0 10px;
    font-size: 13px; font-weight: 800; letter-spacing: .16em;
    text-transform: uppercase; color: var(--violet);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker--light { color: #c4b5fd; }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 760px; }
.byline { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.byline a { color: var(--violet-dark); font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--violet-dark); }
.text-link .icon { transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(3px); }
.section-note { color: var(--muted); font-size: 13px; max-width: 320px; margin: 0; }

/* -------------------------------------------------------------------------
 * Chips and buttons
 * ---------------------------------------------------------------------- */
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: 999px;
    background: var(--paper-2); color: var(--muted);
    font-size: 13px; font-weight: 800; line-height: 1.2; letter-spacing: .02em;
    white-space: nowrap;
}
.chip--violet { background: var(--violet-soft); color: var(--violet-dark); }
.chip--amber { background: var(--amber-soft); color: var(--amber-dark); }
.chip--soft { background: var(--paper-2); color: var(--muted); }
.chip--outline { background: #fff; border: 1px solid var(--line-strong); color: var(--muted); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 18px; border: 1px solid transparent; border-radius: 12px;
    background: var(--grad-violet); color: #fff;
    font-family: var(--font-body); font-size: 14px; font-weight: 800; line-height: 1;
    box-shadow: 0 8px 20px rgba(91, 33, 182, .22);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(91, 33, 182, .28); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn--amber { background: var(--grad-amber); color: #3b1d00; box-shadow: 0 8px 20px rgba(245, 158, 11, .26); }
.btn--amber:hover { color: #3b1d00; box-shadow: 0 12px 26px rgba(245, 158, 11, .34); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(11, 18, 32, .18); }
.btn--light:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(11, 18, 32, .2); }
.btn--dark:hover { color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink); box-shadow: none; }
.btn--lg { padding: 15px 22px; font-size: 15px; border-radius: 14px; }
.btn--sm { padding: 9px 13px; font-size: 13px; border-radius: 10px; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------------------
 * Top bar and header
 * ---------------------------------------------------------------------- */
.topbar { background: var(--ink); color: #9aa8c2; font-size: 13px; }
.topbar__inner { min-height: 36px; display: flex; align-items: center; gap: 14px; }
.topbar__badge {
    background: var(--grad-amber); color: #3b1d00;
    padding: 3px 8px; border-radius: 999px;
    font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.topbar__note { margin: 0; }
.topbar__links { margin-left: auto; display: flex; gap: 16px; }
.topbar__links a { color: #c7d2fe; font-weight: 700; }
.topbar__links a:hover { color: #fff; }

.site-header {
    position: sticky; top: 0; z-index: 80;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.header-main { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__logo { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; box-shadow: 0 6px 16px rgba(49, 46, 129, .22); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-head); font-size: 16px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.brand__text small { font-size: 13px; color: var(--muted-2); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1px; }
.main-nav a {
    padding: 9px 10px; border-radius: 9px;
    font-size: 13px; font-weight: 700; color: #3c4a61; white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}
.main-nav a:hover { background: var(--paper-2); color: var(--violet-dark); }
.main-nav a[aria-current="page"] { background: var(--violet-soft); color: var(--violet-dark); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-search {
    display: flex; align-items: center;
    width: 242px; padding: 4px 4px 4px 13px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.header-search:focus-within { background: #fff; border-color: #c4b5fd; box-shadow: 0 0 0 4px rgba(124, 58, 237, .1); }
.header-search input { width: 100%; min-width: 0; border: 0; background: transparent; font-size: 13px; color: var(--ink); outline: 0; }
.header-search input::placeholder { color: var(--muted-2); }
.header-search button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; }
.header-search button:hover { background: var(--violet-soft); color: var(--violet-dark); }
.header-search button .icon { width: 16px; height: 16px; }
.header-cta { white-space: nowrap; }
.header-cta .icon { width: 14px; height: 14px; }

.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu summary {
    list-style: none; display: flex; align-items: center; gap: 6px;
    padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px;
    background: #fff; font-size: 13px; font-weight: 800; color: var(--ink); cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary .icon { width: 18px; height: 18px; }
.mobile-menu[open] summary { border-color: #c4b5fd; color: var(--violet-dark); }
.mobile-menu__panel {
    position: absolute; right: 0; top: calc(100% + 10px);
    width: min(360px, calc(100vw - 32px));
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-lg); padding: 16px; z-index: 90;
}
.mobile-menu__panel nav { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.mobile-menu__panel nav a { padding: 10px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 700; }
.mobile-menu__panel nav a:hover { background: var(--paper); }
.mobile-menu__links { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu__links a { font-size: 13px; color: var(--muted); font-weight: 600; }
.mobile-search { display: flex; gap: 6px; background: var(--paper); border-radius: 12px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); }
.mobile-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 13px; }
.mobile-search button { width: 36px; height: 36px; border: 0; border-radius: 9px; background: var(--violet); color: #fff; display: grid; place-items: center; }

/* -------------------------------------------------------------------------
 * Home hero
 * ---------------------------------------------------------------------- */
.home-hero { position: relative; overflow: hidden; background: var(--grad-hero); color: #fff; padding: 70px 0 82px; }
.home-hero::before {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse at 30% 10%, #000 0%, transparent 68%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 10%, #000 0%, transparent 68%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-orb--one { width: 420px; height: 420px; right: -120px; top: -150px; background: radial-gradient(circle, rgba(124,58,237,.5), transparent 65%); }
.hero-orb--two { width: 360px; height: 360px; left: -160px; bottom: -180px; background: radial-gradient(circle, rgba(245,158,11,.22), transparent 65%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 54px; align-items: center; }
.hero-copy h1 {
    color: #fff;
    font-size: clamp(2.25rem, 3.55vw, 3.55rem);
    line-height: .99;
    letter-spacing: -.045em;
    max-width: 780px;
    margin: 0 0 22px;
}
.hero-copy h1 .accent {
    white-space: nowrap;
    background: linear-gradient(92deg, #fde68a 0%, #fbbf24 45%, #f59e0b 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: #c7d2fe; font-size: 16.5px; line-height: 1.68; max-width: 650px; margin: 0 0 26px; }
.hero-search {
    display: flex; align-items: center; gap: 6px;
    max-width: 620px; padding: 6px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
    position: relative;
}
.hero-search__icon { position: absolute; left: 20px; color: var(--muted-2); display: grid; place-items: center; pointer-events: none; }
.hero-search__icon .icon { width: 18px; height: 18px; }
.hero-search input {
    flex: 1; min-width: 0; height: 48px;
    border: 0; background: transparent; outline: 0;
    padding: 0 10px 0 38px; font-size: 14.5px; color: var(--ink);
}
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search .btn { height: 48px; border-radius: 11px; padding-inline: 22px; }
.hero-search--compact { max-width: 620px; margin-top: 20px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.hero-pills a {
    display: inline-flex; padding: 7px 12px;
    border: 1px solid rgba(196, 181, 253, .32); border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #dbe4ff; font-size: 13px; font-weight: 700;
    transition: background .18s ease, border-color .18s ease;
}
.hero-pills a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(253, 230, 138, .55); color: #fff; }
.hero-stats { display: flex; gap: 36px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(196, 181, 253, .2); }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-family: var(--font-head); font-size: 23px; letter-spacing: -.03em; color: #fff; }
.hero-stats span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #a5b4fc; font-weight: 700; }
.hero-note { margin: 22px 0 0; font-size: 13px; line-height: 1.55; color: #a5b4fc; max-width: 560px; }

.decoder-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 28px;
    padding: 26px 26px 24px;
    box-shadow: var(--shadow-lg);
}
.decoder-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 28px 28px 0 0; background: var(--grad-amber); }
.decoder-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.decoder-card__year { font-size: 13px; font-weight: 800; color: var(--muted-2); letter-spacing: .12em; }
.decoder-card h2 { font-size: 25px; margin: 16px 0 8px; letter-spacing: -.04em; }
.decoder-card__lead { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0 0 4px; }
.decoder-list { margin: 8px 0 0; }
.decoder-list li {
    display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px;
    padding: 13px 0 12px; border-top: 1px dashed var(--line);
}
.decoder-list__step { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--muted-2); font-size: 13px; font-weight: 900; }
.decoder-list__label { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.decoder-list__label strong { font-size: 13px; color: var(--ink); }
.decoder-list__label small { font-size: 13px; color: var(--muted-2); }
.decoder-list__amount { font-size: 13px; font-weight: 800; color: var(--violet-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.decoder-bar { grid-column: 2 / -1; height: 5px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.decoder-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-amber); }
.decoder-bar--amber i { background: linear-gradient(90deg, #f59e0b, #fb923c); }
.decoder-bar--violet i { background: var(--grad-violet); }
.decoder-card__foot { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; }
.decoder-card__foot p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0 0 8px; }
.decoder-card__stamp {
    position: absolute; right: 20px; bottom: 18px;
    border: 2px dashed rgba(245, 158, 11, .68); border-radius: 8px;
    color: var(--amber-dark); font-size: 13px; font-weight: 900; letter-spacing: .12em;
    line-height: 1.15; text-align: center; padding: 7px 6px; transform: rotate(-11deg); opacity: .8;
}

/* -------------------------------------------------------------------------
 * Sections
 * ---------------------------------------------------------------------- */
.site-main { min-height: 50vh; }
.section { padding: 78px 0; }
.section--tight { padding-top: 34px; }
.section--soft { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); letter-spacing: -.04em; }
.section-head--tight { margin-bottom: 16px; }
.section-intro { font-size: 14.5px; line-height: 1.7; color: var(--muted); max-width: 800px; margin: 0 0 18px; }

/* -------------------------------------------------------------------------
 * Bonus board and app rows
 * ---------------------------------------------------------------------- */
.board-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-pill {
    padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
    background: #fff; color: var(--muted); font-size: 13px; font-weight: 800;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.filter-pill:hover { border-color: #c4b5fd; color: var(--violet-dark); }
.filter-pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.board { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; }
.board-head, .app-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1.55fr) repeat(3, minmax(84px, .62fr)) 40px;
    align-items: center; gap: 14px;
    padding: 18px 20px;
}
.board-head {
    background: var(--paper); border-bottom: 1px solid var(--line);
    font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2);
}
.app-list { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-direction: column; gap: 10px; }
.app-row { margin: 0 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.app-row:hover { background: #fafbff; border-color: #ddd6fe; box-shadow: 0 6px 18px rgba(76, 29, 149, .06); }
.app-row__stats { display: contents; }
.app-row__rank { font-size: 13px; font-weight: 900; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.app-row__id { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; }
.app-row__id:hover { color: inherit; }
.app-logo--row { width: 46px; height: 46px; flex: 0 0 46px; }
.app-row__name { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.app-row__name strong { font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row__name small { font-size: 13px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row__stat { display: flex; flex-direction: column; gap: 1px; }
.app-row__stat small { font-size: 13px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted-2); font-weight: 800; }
.app-row__stat strong { font-size: 13px; font-weight: 800; color: var(--slate); font-variant-numeric: tabular-nums; }
.app-row__stat--bonus strong { color: var(--violet-dark); }
.app-row__cta {
    width: 34px; height: 34px; display: grid; place-items: center;
    border: 1px solid var(--line-strong); border-radius: 50%;
    color: var(--violet-dark); background: #fff;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.app-row__cta .icon { width: 15px; height: 15px; }
.app-row__cta:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.filter-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 28px 16px; margin: 0; }

/* -------------------------------------------------------------------------
 * Category cards
 * ---------------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat-card {
    --accent: var(--violet); --accent-soft: var(--violet-soft);
    position: relative; display: flex; gap: 14px;
    padding: 20px; min-height: 148px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
.cat-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow-md); color: inherit; }
.cat-card--emerald { --accent: var(--emerald); --accent-soft: #d9fbe9; }
.cat-card--amber { --accent: #d97706; --accent-soft: var(--amber-soft); }
.cat-card--rose { --accent: #db2777; --accent-soft: #fce7f3; }
.cat-card--cyan { --accent: var(--cyan); --accent-soft: #cffafe; }
.cat-card--gold { --accent: #a16207; --accent-soft: #fef3c7; }
.cat-card__icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.cat-card__icon .icon { width: 22px; height: 22px; }
.cat-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 6px; }
.cat-card__eyebrow { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.cat-card__name { font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.cat-card__desc { font-size: 13px; line-height: 1.5; color: var(--muted); }
.cat-card__meta { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-2); white-space: nowrap; }
.cat-card__arrow { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); background: #fff; }
.cat-card__arrow .icon { width: 13px; height: 13px; }

/* -------------------------------------------------------------------------
 * App cards
 * ---------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card {
    display: flex; flex-direction: column; gap: 11px;
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.app-card:hover { transform: translateY(-3px); border-color: #ddd6fe; box-shadow: var(--shadow-md); }
.app-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.app-logo--card { width: 52px; height: 52px; }
.app-card__title { font-size: 17px; letter-spacing: -.03em; }
.app-card__title a:hover { color: var(--violet-dark); }
.app-card__desc { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }
.app-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 2px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.app-card__facts li { display: flex; flex-direction: column; gap: 1px; }
.app-card__facts span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-weight: 800; }
.app-card__facts strong { font-size: 13px; color: var(--slate); }
.app-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--violet-dark); }
.app-card__link .icon { width: 14px; height: 14px; transition: transform .18s ease; }
.app-card__link:hover .icon { transform: translateX(3px); }

/* -------------------------------------------------------------------------
 * Method, receipt
 * ---------------------------------------------------------------------- */
.decoder-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 56px; align-items: center; }
.decoder-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 12px; }
.decoder-copy .lead { margin-bottom: 20px; }
.method-steps { margin: 0; }
.method-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 17px 0; border-top: 1px solid var(--line); }
.method-steps li > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-violet); color: #fff; font-size: 13px; font-weight: 900; }
.method-steps strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.method-steps p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.method-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.receipt-stage { display: flex; justify-content: center; padding: 38px 24px; background: radial-gradient(circle at 50% 30%, #ede9fe 0%, #f7f8fc 62%); border-radius: 30px; border: 1px solid #e9e4ff; }
.receipt {
    position: relative; width: min(360px, 100%);
    background: #fffdf7; border: 1px solid #eadfc8; border-radius: 8px;
    padding: 24px 24px 26px; box-shadow: 0 24px 60px rgba(88, 63, 18, .18);
    transform: rotate(-1.6deg);
}
.receipt__top { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed #d9cbb0; font-size: 13px; font-weight: 900; letter-spacing: .12em; color: #8a7550; }
.receipt h3 { font-size: 17px; margin: 14px 0 10px; color: #3b2c12; }
.receipt h3 span { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: #8a7550; letter-spacing: .02em; margin-top: 2px; }
.receipt ul { margin: 0; }
.receipt li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dotted #e0d3ba; font-size: 13px; color: #5b4a2c; }
.receipt li strong { font-size: 13px; color: #3b2c12; font-variant-numeric: tabular-nums; }
.receipt__dash { margin-top: 4px; border-top: 1px dashed #c9b792; }
.receipt__total { border-bottom: 2px solid #3b2c12 !important; font-weight: 800; }
.receipt__total strong { color: var(--violet-dark) !important; }
.receipt p { font-size: 13px; line-height: 1.55; color: #7a6645; margin: 12px 0 0; }
.receipt__barcode { height: 30px; margin-top: 16px; background: repeating-linear-gradient(90deg, #3b2c12 0 2px, transparent 2px 4px, #3b2c12 4px 5px, transparent 5px 9px); opacity: .7; }
.receipt__stamp { position: absolute; right: 16px; bottom: 20px; border: 2px solid rgba(225, 29, 72, .55); color: rgba(225, 29, 72, .7); font-size: 13px; font-weight: 900; letter-spacing: .1em; line-height: 1.15; text-align: center; padding: 6px; border-radius: 6px; transform: rotate(9deg); }

/* -------------------------------------------------------------------------
 * Review band
 * ---------------------------------------------------------------------- */
.review-band { background: var(--grad-hero); color: #e0e7ff; padding: 64px 0; }
.review-band--light { background: var(--paper-2); color: var(--slate); border-top: 1px solid var(--line); }
.review-band__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.review-band h2 { color: #fff; font-size: clamp(1.75rem, 2.8vw, 2.5rem); margin-bottom: 12px; }
.review-band--light h2 { color: var(--ink); }
.review-band p { font-size: 14px; line-height: 1.7; max-width: 640px; }
.review-band .btn { margin-top: 18px; }
.check-list { display: flex; flex-direction: column; gap: 9px; margin: 18px 0 0; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.5; }
.check-list .icon { width: 17px; height: 17px; margin-top: 1px; color: #6ee7b7; }
.check-list--dark li { color: var(--slate); }
.check-list--dark .icon { color: var(--emerald); }
.reviewer-mini {
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(196, 181, 253, .25);
    border-radius: 22px; padding: 24px;
    display: flex; flex-direction: column; gap: 0;
}
.reviewer-mini img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); margin-bottom: 12px; }
.reviewer-mini strong { display: block; font-family: var(--font-head); font-size: 17px; color: #fff; }
.reviewer-mini span { display: block; font-size: 13px; color: #c4b5fd; margin-top: 2px; }
.reviewer-mini p { font-size: 13px; line-height: 1.65; color: #dbe4ff; margin: 16px 0 12px; font-style: italic; }
.reviewer-mini .text-link { color: #fde68a; }
.review-band__links { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.review-band--light .text-link { color: var(--violet-dark); }

/* -------------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------------- */
.faq-section { padding: 0; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item[open] { border-color: #ddd6fe; box-shadow: var(--shadow-sm); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 17px 20px; cursor: pointer; list-style: none;
    font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__meta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.lang-tag { padding: 4px 7px; border-radius: 6px; background: var(--paper-2); color: var(--muted); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lang-tag--hi { background: var(--amber-soft); color: var(--amber-dark); }
.faq-item__chev { width: 16px; height: 16px; color: var(--muted-2); transition: transform .2s ease; }
.faq-item[open] .faq-item__chev { transform: rotate(180deg); }
.faq-item__a { padding: 0 20px 19px; }
.faq-item__a p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 86ch; }

/* -------------------------------------------------------------------------
 * SEO copy
 * ---------------------------------------------------------------------- */
.seo-section { max-width: 1040px; }
.seo-section h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); margin-bottom: 14px; }
.seo-section > p { font-size: 14.5px; line-height: 1.75; color: var(--muted); max-width: 900px; }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 26px 0; }
.seo-grid h3 { font-size: 16px; margin-bottom: 6px; }
.seo-grid p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0; }
.seo-grid a { color: var(--violet-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.seo-section .note { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; max-width: 900px; }

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #94a3b8; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 42px; }
.brand--footer { color: #fff; margin-bottom: 14px; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: #94a3b8; }
.brand__logo--footer { width: 40px; height: 40px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #8fa0ba; max-width: 360px; }
.footer-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.footer-chips li { padding: 4px 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; font-size: 13px; font-weight: 700; color: #b6c2d6; }
.footer-col h2 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: #9fb0c9; }
.footer-links a:hover { color: #fde68a; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 38px; padding-top: 18px; }
.footer-bottom p { margin: 0; font-size: 13px; line-height: 1.6; color: #7f90a9; }
.footer-legal { max-width: 700px; text-align: right; }

/* -------------------------------------------------------------------------
 * Page shell, breadcrumbs, page hero
 * ---------------------------------------------------------------------- */
.page-shell { padding-top: 26px; }

.notice { padding: 14px 16px; border-radius: 12px; font-size: 13px; line-height: 1.65; margin: 0 0 18px; }
.notice--warn { background: var(--amber-soft); border: 1px solid #fde68a; border-left: 4px solid var(--amber); color: #78350f; }
.notice strong { color: var(--amber-dark); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 13px; color: var(--muted-2); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; padding: 0 7px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--violet-dark); }
.breadcrumbs [aria-current="page"] { color: var(--slate); font-weight: 700; }

.page-hero { padding: 24px 0 56px; background: linear-gradient(180deg, #f3f0ff 0%, var(--paper) 100%); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); margin: 6px 0 14px; }
.page-hero .lead { max-width: 780px; }
.page-hero--404 { padding-top: 54px; }
.page-hero--search { padding-bottom: 40px; }

/* -------------------------------------------------------------------------
 * Category hero
 * ---------------------------------------------------------------------- */
.cat-hero {
    --accent: var(--violet); --accent-soft: var(--violet-soft);
    background: radial-gradient(circle at 12% 0%, #ede9fe 0%, transparent 48%), linear-gradient(180deg, #f8f6ff 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--line);
    padding: 20px 0 52px;
}
.cat-hero--emerald { --accent: var(--emerald); --accent-soft: #d9fbe9; background: radial-gradient(circle at 12% 0%, #d9fbe9 0%, transparent 48%), linear-gradient(180deg, #f5fdf9 0%, var(--paper) 100%); }
.cat-hero--amber { --accent: #d97706; --accent-soft: var(--amber-soft); background: radial-gradient(circle at 12% 0%, #fff1d6 0%, transparent 48%), linear-gradient(180deg, #fffbf2 0%, var(--paper) 100%); }
.cat-hero--rose { --accent: #db2777; --accent-soft: #fce7f3; background: radial-gradient(circle at 12% 0%, #fce7f3 0%, transparent 48%), linear-gradient(180deg, #fff7fb 0%, var(--paper) 100%); }
.cat-hero--cyan { --accent: var(--cyan); --accent-soft: #cffafe; background: radial-gradient(circle at 12% 0%, #cffafe 0%, transparent 48%), linear-gradient(180deg, #f3fdff 0%, var(--paper) 100%); }
.cat-hero--gold { --accent: #a16207; --accent-soft: #fef3c7; background: radial-gradient(circle at 12% 0%, #fef3c7 0%, transparent 48%), linear-gradient(180deg, #fffcf0 0%, var(--paper) 100%); }
.cat-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 44px; align-items: start; }
.cat-hero__icon { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.cat-hero__icon .icon { width: 26px; height: 26px; }
.cat-hero h1 { font-size: clamp(2rem, 3.7vw, 3.2rem); max-width: 900px; margin-bottom: 14px; }
.cat-hero .lead { max-width: 820px; }
.cat-hero__aside { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); }
.mini-playbook { margin-top: 14px; }
.mini-playbook li { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-top: 1px dashed var(--line); }
.mini-playbook strong { font-size: 13px; color: var(--ink); }
.mini-playbook span { font-size: 13px; line-height: 1.55; color: var(--muted); }

.watch-list { display: flex; flex-direction: column; gap: 0; margin-top: 14px; }
.watch-list li { display: flex; align-items: flex-start; gap: 9px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 13px; line-height: 1.55; color: var(--muted); }
.watch-list .icon { width: 15px; height: 15px; margin-top: 1px; color: var(--amber-dark); flex: 0 0 auto; }
.aside-note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.aside-note a { display: inline-flex; align-items: center; gap: 4px; color: var(--violet-dark); font-weight: 800; }
.aside-note .icon { width: 12px; height: 12px; }

.stat-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.stat-chips li { display: flex; flex-direction: column; gap: 1px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 10px 14px; min-width: 96px; }
.stat-chips strong { font-family: var(--font-head); font-size: 17px; letter-spacing: -.03em; color: var(--ink); }
.stat-chips span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 800; }

/* -------------------------------------------------------------------------
 * Playbook / category copy
 * ---------------------------------------------------------------------- */
.playbook-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.playbook-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.playbook-card__num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--violet-soft); color: var(--violet-dark); font-size: 13px; font-weight: 900; margin-bottom: 14px; }
.playbook-card h3 { font-size: 15.5px; margin-bottom: 7px; }
.playbook-card p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }
.category-copy__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.category-copy__grid h3 { font-size: 16px; margin-bottom: 7px; }
.category-copy__grid p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0; }



.screen-strip { display: flex; flex-wrap: nowrap; gap: 16px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.screen-shot { flex: 0 0 auto; margin: 0; text-align: center; }
.screen-shot img { height: 250px; width: auto; max-width: none; display: block; border-radius: 18px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); background: #0b1020; }
.screen-shot figcaption { margin-top: 7px; font-size: 13px; color: var(--muted); font-weight: 700; }
@media (max-width: 720px) { .screen-shot img { height: 180px; } .screen-strip { gap: 8px; } }


.legal-notice { margin: 14px 0 4px; padding: 16px 18px; border: 1px solid #f1d28a; border-left: 4px solid var(--amber); border-radius: 14px; background: #fffaf0; }
.legal-notice strong { display: block; color: #7c4a03; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 5px; }
.legal-notice p { margin: 0; color: #5f4a24; font-size: 13.5px; line-height: 1.65; }


.stage-dl { margin: 18px 0 0; display: grid; gap: 12px; }
.stage-dl__row { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.stage-dl__row dt { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; font-weight: 800; color: var(--ink); }
.stage-dl__row dt > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: var(--violet-soft); color: var(--violet-dark); font-size: 13px; }
.stage-dl__row dt em { margin-left: auto; font-style: normal; color: var(--violet-dark); }
.stage-dl__row dd { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.stage-dl__row dd strong { color: var(--slate); }
.stage-compact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.stage-compact li { display: flex; gap: 11px; padding: 13px 15px; border-left: 3px solid var(--violet); border-radius: 0 12px 12px 0; background: var(--paper); }
.stage-compact__num { flex: 0 0 22px; color: var(--violet-dark); font-weight: 900; font-size: 13px; }
.stage-compact li strong { display: block; color: var(--ink); font-size: 13.5px; }
.stage-compact__amount { display: block; color: var(--violet-dark); font-weight: 800; font-size: 13px; margin: 2px 0 5px; }
.stage-compact p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.stage-compact small { display: block; margin-top: 5px; color: var(--muted-2); font-size: 13px; line-height: 1.5; }


.list-more { display: block; margin: 16px auto 0; }
.list-more .icon { width: 14px; height: 14px; transform: rotate(90deg); }
.list-more[hidden] { display: none; }


.hub-links { margin: 24px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.hub-links__title { margin: 0 0 8px; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.hub-links ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.hub-links a { display: inline-flex; align-items: center; gap: 4px; color: var(--violet-dark); font-size: 13.5px; font-weight: 700; }
.hub-links a .icon { width: 13px; height: 13px; }

.brand-alternatives { margin-top: 18px; padding: 20px; border: 1px solid #ddd6fe; border-left: 4px solid var(--violet); border-radius: 16px; background: linear-gradient(135deg, #faf5ff 0%, #ffffff 70%); }
.brand-alternatives .compare-grid { margin-top: 14px; }

.list-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.list-tools__label { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.list-tools input { flex: 1 1 240px; min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font-size: 13px; outline: 0; background: var(--paper); }
.list-tools input:focus { border-color: #c4b5fd; box-shadow: 0 0 0 3px rgba(124, 58, 237, .1); background: #fff; }
.list-tools__count { margin-left: auto; font-size: 13px; color: var(--muted-2); font-weight: 700; }

.table-note { font-size: 13px; color: var(--muted-2); margin: 14px 0 0; }
.page-legal { font-size: 13px; line-height: 1.65; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 36px; }

/* -------------------------------------------------------------------------
 * App hero
 * ---------------------------------------------------------------------- */
.apk-hero { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 38px; align-items: start; padding: 24px 0 38px; }
.apk-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.apk-hero h1 { font-size: clamp(1.85rem, 3.15vw, 2.75rem); letter-spacing: -.045em; max-width: 780px; margin-bottom: 8px; }
.guide-summary { font-size: 16px; line-height: 1.72; color: #334155; max-width: 790px; margin: 20px 0 16px; }
.hinglish-note {
    position: relative; max-width: 790px;
    background: var(--amber-soft); border: 1px solid #fde68a; border-left: 4px solid var(--amber);
    border-radius: 12px; padding: 13px 16px 13px 16px;
    font-size: 13px; line-height: 1.65; color: #78350f;
}
.hinglish-note__badge {
    display: inline-block; margin-right: 6px; padding: 2px 6px; border-radius: 5px;
    background: rgba(245, 158, 11, .18); color: var(--amber-dark);
    font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
    vertical-align: 2px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 16px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.hero-facts .icon { width: 15px; height: 15px; color: var(--violet); }
.mobile-only-link { display: none; }

.apk-id-card {
    background: var(--grad-hero);
    border-radius: 24px; padding: 22px; color: #fff;
    box-shadow: 0 24px 55px rgba(30, 27, 75, .26);
    position: relative; overflow: hidden;
}
.apk-id-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -100px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.55), transparent 65%); pointer-events: none; }
.apk-id-card__head { position: relative; display: flex; align-items: center; gap: 14px; }
.app-logo--hero { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 20px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.apk-id-card__eyebrow { display: block; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #c4b5fd; }
.apk-id-card h2 { font-size: 20px; color: #fff; margin: 2px 0; letter-spacing: -.03em; }
.apk-id-card__head small { font-size: 13px; color: #a5b4fc; }
.apk-id-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin: 20px 0; padding: 16px 0; border-top: 1px solid rgba(196, 181, 253, .22); border-bottom: 1px solid rgba(196, 181, 253, .22); }
.apk-id-card__facts dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #a5b4fc; font-weight: 800; }
.apk-id-card__facts dd { margin: 2px 0 0; font-size: 13px; font-weight: 800; color: #fff; line-height: 1.35; }
.apk-id-card__details { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 11px; font-size: 13px; font-weight: 700; color: #c4b5fd; }
.apk-id-card__details .icon { width: 13px; height: 13px; transform: rotate(90deg); }
.apk-id-card__trust { display: flex; align-items: flex-start; gap: 6px; margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #a5b4fc; }
.apk-id-card__trust .icon { width: 13px; height: 13px; margin-top: 1px; }

/* -------------------------------------------------------------------------
 * Jump nav
 * ---------------------------------------------------------------------- */
.jump-nav {
    position: sticky; top: 76px; z-index: 40;
    display: flex; align-items: center; gap: 4px;
    overflow-x: auto; scrollbar-width: none;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--line); border-radius: 14px;
    padding: 7px; margin: 4px 0 26px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}
.jump-nav::-webkit-scrollbar { display: none; }
.jump-nav__label { flex: 0 0 auto; padding: 0 10px; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.jump-nav a { flex: 0 0 auto; padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.jump-nav a:hover { background: var(--paper-2); color: var(--violet-dark); }
.admin-bar .jump-nav { top: 108px; }

/* -------------------------------------------------------------------------
 * App layout, safety, sections
 * ---------------------------------------------------------------------- */
.apk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; padding-bottom: 30px; }
.apk-main { min-width: 0; }
.apk-section { padding: 42px 0; border-top: 1px solid var(--line); }
.apk-section__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.apk-section__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); letter-spacing: -.04em; }
.apk-section .section-intro { margin-top: 12px; }

.safety-box { background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%); border: 1px solid #fde68a; border-radius: 20px; padding: 22px; margin-bottom: 8px; }
.safety-box__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.safety-box__icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--amber-dark); box-shadow: 0 4px 12px rgba(245, 158, 11, .18); }
.safety-box__icon .icon { width: 21px; height: 21px; }
.safety-box h2 { font-size: 18px; letter-spacing: -.03em; }
.safety-list { display: flex; flex-direction: column; gap: 9px; }
.safety-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.6; color: #78350f; }
.safety-list .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--amber-dark); }


.verdict-box { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%); border: 1px solid #ddd6fe; border-left: 4px solid var(--violet); border-radius: 16px; padding: 18px 20px; margin: 18px 0 4px; }
.verdict-box__mark { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-violet); color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.verdict-box .kicker { margin-bottom: 5px; font-size: 13px; }
.verdict-box__text { font-size: 13px; line-height: 1.65; color: #3c4a61; margin: 0 0 6px; }
.verdict-box__by { font-size: 13px; color: var(--muted-2); font-weight: 700; }

.verdict-box--summary h2 { font-family: var(--font-head); font-size: 18px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 10px; color: var(--ink); }
.verdict-summary { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.verdict-summary li { position: relative; padding-left: 14px; font-size: 13px; line-height: 1.65; color: #3c4a61; }
.verdict-summary li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--violet); }
.verdict-summary strong { color: var(--ink); font-weight: 900; }
.voice-note { margin: 14px 0 0; padding: 10px 13px; background: #f5f3ff; border-left: 3px solid #7c3aed; border-radius: 0 10px 10px 0; font-size: 13px; line-height: 1.6; color: #4c3d75; }
.compare-line { margin: 16px 0 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.compare-line a { color: var(--violet); font-weight: 800; text-decoration: none; }
.compare-line a:hover { text-decoration: underline; }


.stage-list { display: flex; flex-direction: column; gap: 13px; margin-top: 6px; }
.stage-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 15px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 19px; box-shadow: var(--shadow-sm); }
.stage-card__num { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-violet); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 800; }
.stage-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.stage-card__head h3 { font-size: 15.5px; }
.stage-card__amount { flex: 0 0 auto; padding: 6px 10px; border-radius: 9px; background: var(--amber-soft); color: var(--amber-dark); font-size: 13px; font-weight: 900; white-space: nowrap; }
.stage-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 11px; padding-top: 11px; border-top: 1px dashed var(--line); }
.stage-card__label { display: block; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.stage-card__grid p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.callout { padding: 14px 16px; border-radius: 12px; font-size: 13px; line-height: 1.65; margin-top: 16px; }
.callout--amber { background: var(--amber-soft); border-left: 4px solid var(--amber); color: #78350f; }

/* -------------------------------------------------------------------------
 * Lobby map
 * ---------------------------------------------------------------------- */
.lobby-map {
    display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px; align-items: center;
    background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 100%);
    border: 1px solid #ddd6fe; border-radius: 24px; padding: 26px; margin: 18px 0;
}
.lobby-phone { width: 240px; max-width: 100%; justify-self: center; background: #0b1220; border-radius: 34px; padding: 9px; box-shadow: 0 24px 50px rgba(30, 27, 75, .3); transform: rotate(-2deg); }
.lobby-phone__screen { background: #f8fafc; border-radius: 27px; overflow: hidden; padding: 9px 9px 0; }
.lobby-phone__bar { display: flex; align-items: center; gap: 7px; padding: 5px 4px 8px; }
.lobby-phone__avatar { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-size: 13px; font-weight: 900; }
.lobby-phone__wallet { margin-left: auto; font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; }
.lobby-phone__wallet strong { color: var(--ink); }
.lobby-phone__dots { font-size: 13px; letter-spacing: 1px; color: var(--muted-2); }
.lobby-phone__tabs { display: flex; gap: 4px; padding: 2px 2px 7px; }
.lobby-phone__tabs span { font-size: 13px; font-weight: 800; color: var(--muted-2); padding: 3px 6px; border-radius: 999px; }
.lobby-phone__tabs .is-active { background: var(--violet-soft); color: var(--violet-dark); }
.lobby-phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lobby-tile { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 5px; min-height: 50px; display: flex; flex-direction: column; gap: 4px; }
.lobby-tile__art { height: 19px; border-radius: 5px; background: linear-gradient(135deg, #ddd6fe, #c7d2fe); }
.lobby-tile:nth-child(2n) .lobby-tile__art { background: linear-gradient(135deg, #fde68a, #fbbf24); }
.lobby-tile:nth-child(3n) .lobby-tile__art { background: linear-gradient(135deg, #bbf7d0, #6ee7b7); }
.lobby-tile__label { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lobby-phone__banner { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: var(--amber-soft); border: 1px solid #fde68a; border-radius: 8px; padding: 5px 7px; margin: 6px 0; font-size: 13px; color: #78350f; }
.lobby-phone__banner strong { font-size: 13px; }
.lobby-phone__dock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #0b1220; margin: 0 -9px; padding: 8px 5px 10px; }
.lobby-phone__dock span { font-size: 13px; text-align: center; color: #c7d2fe; font-weight: 700; }
.lobby-map__copy h3 { font-size: 18px; margin: 10px 0 8px; }
.lobby-map__copy p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0 0 12px; }
.lobby-map__list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed #ddd6fe; }
.lobby-map__list strong { font-size: 13px; color: var(--ink); }
.lobby-map__list span { font-size: 13px; color: var(--muted); text-align: right; }
.lobby-zone-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.lobby-zone-list li { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 13px 15px; display: flex; flex-direction: column; gap: 3px; }
.lobby-zone-list strong { font-size: 13px; color: var(--ink); }
.lobby-zone-list span { font-size: 13px; line-height: 1.55; color: var(--muted); }
.feature-callout { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--violet); border-radius: 16px; padding: 18px; margin-top: 18px; }
.feature-callout__icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet-dark); }
.feature-callout__icon .icon { width: 18px; height: 18px; }
.feature-callout h3 { font-size: 16px; margin-bottom: 5px; }
.feature-callout p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------------------
 * Wallet fixes
 * ---------------------------------------------------------------------- */
.fix-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 4px; }
.fix-card { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 17px; }
.fix-card__icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--violet-dark); }
.fix-card__icon .icon { width: 17px; height: 17px; }
.fix-card h3 { font-size: 13.5px; margin-bottom: 4px; }
.fix-card p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.warning-strip { display: flex; gap: 11px; background: #fff1f2; border: 1px solid #fecdd3; border-left: 4px solid var(--rose); border-radius: 12px; padding: 14px 16px; margin-top: 16px; }
.warning-strip__icon { color: var(--rose); flex: 0 0 auto; }
.warning-strip p { margin: 0; font-size: 13px; line-height: 1.6; color: #881337; }

/* -------------------------------------------------------------------------
 * Compare
 * ---------------------------------------------------------------------- */
.compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.compare-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 17px; }
.compare-card__top { display: flex; align-items: center; gap: 10px; }
.app-logo--compare { width: 42px; height: 42px; }
.compare-card__top h3 { font-size: 14px; letter-spacing: -.02em; }
.compare-card__top .muted { font-size: 13px; }
.compare-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding-top: 10px; border-top: 1px dashed var(--line); }
.compare-card__facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-weight: 800; }
.compare-card__facts dd { margin: 1px 0 0; font-size: 13px; font-weight: 800; color: var(--slate); }
.compare-card__reason { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }
.compare-card .text-link { margin-top: auto; font-size: 13px; }

/* -------------------------------------------------------------------------
 * Reviewer, legal
 * ---------------------------------------------------------------------- */
.reviewer-box { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin: 30px 0; max-width: var(--container); }
.reviewer-box--compact { margin-inline: auto; }
.reviewer-box__avatar img { width: 92px; height: 92px; border-radius: 50%; border: 4px solid var(--violet-soft); }
.reviewer-box h2 { font-size: 21px; margin-bottom: 2px; }
.reviewer-box__role { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-dark); margin: 0 0 8px; }
.reviewer-box p { font-size: 13px; line-height: 1.65; color: var(--muted); max-width: 780px; }
.reviewer-box__method { border-top: 1px dashed var(--line); padding-top: 10px; margin-bottom: 0; }
.reviewer-box__method a { color: var(--violet-dark); font-weight: 700; }
.legal-note { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 22px 0 0; }
.legal-note h2 { font-size: 15px; margin-bottom: 8px; }
.legal-note p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0 0 8px; }
.legal-note p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------------
 * Sidebar
 * ---------------------------------------------------------------------- */
.apk-side { min-width: 0; position: sticky; top: 98px; align-self: start; }
.admin-bar .apk-side { top: 130px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 19px; margin-bottom: 15px; box-shadow: var(--shadow-sm); }
.side-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.side-card__head h2 { font-size: 14px; letter-spacing: -.02em; }
.side-card p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.side-card .btn { margin-top: 12px; }
.side-card__trust { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; color: var(--muted-2); }
.side-card__trust .icon { width: 13px; height: 13px; }
.side-card--accent { background: linear-gradient(160deg, #f5f3ff, #fff); border-color: #ddd6fe; }
.side-card--muted { background: var(--paper); }
.detail-list { margin: 0; }
.detail-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.detail-list div:last-child { border-bottom: 0; }
.detail-list dt { font-size: 13px; color: var(--muted-2); flex: 0 0 auto; }
.detail-list dd { margin: 0; font-size: 13px; font-weight: 700; color: var(--slate); text-align: right; line-height: 1.45; }
.side-apps li + li { margin-top: 8px; }
.side-apps a { display: flex; align-items: center; gap: 9px; padding: 6px; border-radius: 10px; }
.side-apps a:hover { background: var(--paper); }
.app-logo--side { width: 38px; height: 38px; flex: 0 0 38px; }
.side-apps span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.side-apps strong { font-size: 13px; color: var(--ink); }
.side-apps small { font-size: 13px; color: var(--muted-2); }
.side-page-list { display: flex; flex-direction: column; gap: 2px; }
.side-page-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 6px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--slate); }
.side-page-list a:hover { background: var(--paper); color: var(--violet-dark); }
.side-page-list .icon { width: 12px; height: 12px; color: var(--muted-2); }

/* -------------------------------------------------------------------------
 * Mobile CTA
 * ---------------------------------------------------------------------- */
.mobile-cta { display: none; }
.mobile-cta__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mobile-cta__text strong { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-cta__text span { font-size: 13px; color: var(--muted); }

/* -------------------------------------------------------------------------
 * Info pages
 * ---------------------------------------------------------------------- */
.info-hero { background: linear-gradient(180deg, #f5f3ff 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); padding: 24px 0 44px; }
.info-hero h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin: 6px 0 14px; max-width: 960px; }
.info-hero .lead { font-size: 16px; }
.info-hero--plain { background: none; border-bottom: 0; padding-bottom: 8px; }
.info-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; align-items: start; padding: 38px 0 70px; }
.info-main { min-width: 0; }
.info-section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-section:first-child { padding-top: 0; }
.info-section h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 12px; }
.info-section p { font-size: 14px; line-height: 1.75; color: #3c4a61; max-width: 820px; }
.info-section ul, .info-section ol { margin: 12px 0 14px; padding-left: 0; }
.info-section li { position: relative; padding-left: 20px; margin: 8px 0; font-size: 13.5px; line-height: 1.7; color: #3c4a61; }
.info-section ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.info-section ol { counter-reset: info; }
.info-section ol li { counter-increment: info; padding-left: 28px; }
.info-section ol li::before { content: counter(info); position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--violet-soft); color: var(--violet-dark); font-size: 13px; font-weight: 900; display: grid; place-items: center; }
.info-section a { color: var(--violet-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.info-side { position: sticky; top: 98px; }
.admin-bar .info-side { top: 130px; }
.toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 1px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; padding: 8px 6px; border-radius: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: 13px; font-weight: 900; color: var(--violet); padding-top: 2px; }
.toc a:hover { background: var(--paper); color: var(--violet-dark); }
.info-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--violet-soft); border: 1px solid #ddd6fe; border-radius: 20px; padding: 24px; margin-top: 30px; }
.info-callout h2 { font-size: 20px; margin-bottom: 5px; }
.info-callout p { font-size: 13px; line-height: 1.6; color: var(--violet-ink); margin: 0; max-width: 560px; }

/* -------------------------------------------------------------------------
 * Standard content fallbacks
 * ---------------------------------------------------------------------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding: 20px 0 60px; }
.app-main { min-width: 0; }
.app-side { min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.entry-content h2 { font-size: 24px; margin: 26px 0 10px; }
.entry-content h3 { font-size: 19px; margin: 22px 0 8px; }
.entry-content p, .entry-content li { font-size: 14px; line-height: 1.75; color: #3c4a61; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { list-style: disc; margin: 7px 0; }
.entry-content ol li { list-style: decimal; }
.entry-content a { color: var(--violet-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.entry-content img { border-radius: 12px; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.post-card h2 { font-size: 17px; margin: 6px 0 8px; }
.post-card p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.post-meta { font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin: 0; }
.empty-state { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 54px 24px; max-width: 620px; margin-inline: auto; }
.empty-state__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--violet-soft); color: var(--violet-dark); display: grid; place-items: center; margin: 0 auto 16px; }
.empty-state h2 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 13.5px; }
.empty-state .btn { margin-top: 10px; }
.search-form { display: flex; gap: 6px; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 5px; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; outline: 0; font-size: 14px; }

/* -------------------------------------------------------------------------
 * Bonus index
 * ---------------------------------------------------------------------- */
.index-legend { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.index-legend span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.index-legend strong { color: var(--violet-dark); font-size: 13px; }
.index-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.index-note h2 { font-size: 22px; }
.index-group { scroll-margin-top: 110px; }
.index-group .section-intro { margin-bottom: 16px; }

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media (max-width: 1180px) {
    .header-search { width: 210px; }
    .main-nav a { padding: 8px 8px; font-size: 13px; }
    .header-actions { gap: 8px; }
}

@media (max-width: 1080px) {
    .header-main { flex-wrap: wrap; }
    .main-nav { display: flex; order: 5; flex: 1 0 100%; overflow-x: auto; gap: 1px; padding: 6px 0 10px; margin-top: 2px; border-top: 1px solid var(--line); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a { flex: 0 0 auto; white-space: nowrap; padding: 8px 10px; font-size: 13px; }
    .mobile-menu { display: block; }
    .header-actions { margin-left: auto; }
    .header-search { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 38px; }
    .decoder-card { max-width: 560px; }
    .decoder-grid { grid-template-columns: 1fr; gap: 34px; }
    .receipt-stage { order: 2; }
    .cat-hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .cat-hero__aside { max-width: 620px; }
    .apk-hero { grid-template-columns: 1fr; gap: 26px; }
    .apk-id-card { max-width: 560px; }
    .apk-layout { grid-template-columns: 1fr; }
    .apk-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .apk-side .detail-card { grid-column: 1 / -1; }
    .apk-side .side-card { margin-bottom: 0; }
    .info-layout { grid-template-columns: 1fr; }
    .info-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .info-side .toc { grid-column: 1 / -1; }
    .review-band__grid { grid-template-columns: 1fr; gap: 30px; }
    .reviewer-mini { max-width: 560px; }
}

@media (max-width: 960px) {
    .section { padding: 58px 0; }
    .cat-grid, .cat-grid--three { grid-template-columns: 1fr 1fr; }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .playbook-grid { grid-template-columns: 1fr; }
    .category-copy__grid { grid-template-columns: 1fr 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .fix-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .seo-grid { grid-template-columns: 1fr; }
    .post-list { grid-template-columns: 1fr 1fr; }
    .content-layout { grid-template-columns: 1fr; }
    .board-head, .app-row { grid-template-columns: 40px minmax(0, 1.4fr) repeat(3, minmax(74px, .6fr)) 36px; padding: 12px 14px; gap: 9px; }
    .lobby-map { grid-template-columns: 1fr; }
    .lobby-phone { transform: none; }
    .info-callout { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
    .shell { width: calc(100% - 32px); }
    .topbar__note { display: none; }
    .topbar__links { margin-left: auto; gap: 12px; }
    .header-main { min-height: 66px; gap: 12px; }
    .brand__logo { width: 38px; height: 38px; flex-basis: 38px; }
    .brand__text strong { font-size: 14px; }
    .brand__text small { display: none; }
    .header-cta { display: none; }
    .home-hero { padding: 48px 0 56px; }
    .hero-copy h1 { font-size: clamp(1.8rem, 7.4vw, 2.5rem); }
    .hero-lead { font-size: 14.5px; }
    .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .hero-stats strong { font-size: 17px; }
    .hero-stats span { font-size: 13px; }
    .hero-stats strong { font-size: 19px; }
    .decoder-card { padding: 22px 18px 20px; border-radius: 22px; }
    .decoder-card h2 { font-size: 22px; }
    .decoder-card__stamp { display: none; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
    .section-note { max-width: none; }
    .board-head { display: none; }
    .app-row { display: flex; flex-wrap: wrap; align-items: center; padding: 13px 14px; gap: 9px; }
    .app-row__rank { width: 22px; }
    .app-row__id { flex: 1 1 62%; }
    .app-row__cta { margin-left: auto; }
    .app-row__stat { display: flex; flex-direction: row; align-items: baseline; gap: 4px; flex: 0 0 auto; padding-left: 0; }
    .app-row__stat small { font-size: 13px; letter-spacing: .06em; }
    .app-row__stat strong { font-size: 13px; }
    .app-row__stat--bonus { display: flex; flex: 0 0 auto; padding-left: 0; }
    .app-row__stat--bonus small { font-size: 13px; }
    .app-logo--row { width: 40px; height: 40px; flex-basis: 40px; }
    .cat-grid, .cat-grid--three, .card-grid { grid-template-columns: 1fr; }
    .category-copy__grid { grid-template-columns: 1fr; }
    .playbook-grid { gap: 10px; }
    .stat-chips { gap: 7px; }
    .stat-chips li { flex: 1 1 42%; }
    .apk-side { grid-template-columns: 1fr; }
    .stage-card { grid-template-columns: 34px minmax(0, 1fr); gap: 11px; padding: 15px; }
    .stage-card__num { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }
    .stage-card__head { flex-direction: column; gap: 6px; align-items: flex-start; }
    .stage-card__grid { grid-template-columns: 1fr; gap: 10px; }
    .lobby-zone-list { grid-template-columns: 1fr; }
    .lobby-map { padding: 18px; }
    .reviewer-box { flex-direction: column; gap: 14px; padding: 20px; }
    .reviewer-box__avatar img { width: 70px; height: 70px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .footer-legal { text-align: left; }
    .info-side { grid-template-columns: 1fr; }
    .post-list { grid-template-columns: 1fr; }
    .page-hero { padding-bottom: 38px; }
    .apk-hero h1 { font-size: clamp(1.6rem, 6.4vw, 2rem); }
    .cat-hero h1 { font-size: clamp(1.75rem, 6.4vw, 2.3rem); }
    .apk-id-card { display: block; max-width: none; margin-top: 6px; }
    .apk-id-card .btn--block, .apk-id-card__details, .apk-id-card__trust { display: none; }
    .mobile-only-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 13px; font-weight: 800; color: var(--violet-dark); }
    .mobile-only-link .icon { width: 13px; height: 13px; }
    .guide-summary { font-size: 14.5px; }
    .hero-actions .btn { width: 100%; }
    .hero-facts { gap: 8px 14px; }
    .jump-nav { top: 66px; margin-bottom: 18px; }
    .admin-bar .jump-nav { top: 98px; }
    .jump-nav__label { display: none; }
    .apk-section { padding: 32px 0; }
    .apk-section__head { flex-direction: column; gap: 8px; }
    .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); backdrop-filter: blur(12px); transform: translateY(110%); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease; }
    .mobile-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }
    body.rrb-app-page { padding-bottom: 78px; }
    .index-note { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .topbar__links a:first-child { display: none; }
    .brand__text strong { font-size: 13px; }
    .mobile-menu summary span { display: none; }
    .hero-search { border-radius: 14px; }
    .hero-search input { font-size: 13px; padding-left: 34px; }
    .hero-search__icon { left: 16px; }
    .hero-search .btn { padding-inline: 14px; }
    .hero-pills a { font-size: 13px; padding: 6px 9px; }
    .hero-stats { flex-wrap: wrap; }
    .hero-stats li { flex: 1 1 30%; }
    .board-controls { gap: 6px; }
    .filter-pill { padding: 7px 11px; font-size: 13px; }
    .cat-card { padding: 16px; gap: 11px; }
    .cat-card__icon { width: 38px; height: 38px; flex-basis: 38px; }
    .cat-card__meta { display: none; }
    .app-card { padding: 16px; }
    .app-card__facts { gap: 6px; }
    .apk-id-card { padding: 18px; }
    .apk-id-card__facts { gap: 10px; }
    .apk-id-card__head { gap: 11px; }
    .app-logo--hero { width: 86px; height: 86px; flex-basis: 86px; border-radius: 22px; }
    .apk-id-card h2 { font-size: 17px; }
    .fix-card { padding: 14px; }
    .info-section p { font-size: 13.5px; }
    .info-section li { font-size: 13px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col h2 { margin-top: 6px; }
    .footer-chips { margin-bottom: 10px; }
    .review-band { padding: 46px 0; }
    .review-band h2 { font-size: 24px; }
    .reviewer-mini { padding: 18px; }
    .receipt-stage { padding: 22px 12px; }
    .receipt { transform: none; }
    .apk-section__head .chip { display: none; }
    .jump-nav a { font-size: 13px; padding: 7px 8px; }
    .empty-state { padding: 38px 18px; }
    .info-callout { padding: 18px; }
    .playbook-card { padding: 18px; }
}

@media (max-width: 400px) {
    .hero-copy h1 { font-size: 1.75rem; }
    .hero-search .btn span { display: none; }
    .topbar__badge { font-size: 13px; }
    .stat-chips li { flex: 1 1 calc(50% - 5px); }
}

/* -------------------------------------------------------------------------
 * Motion preferences
 * ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* -------------------------------------------------------------------------
 * Print
 * ---------------------------------------------------------------------- */
@media print {
    .topbar, .site-header, .site-footer, .mobile-cta, .jump-nav, .apk-side, .hero-actions, .btn { display: none !important; }
    body { background: #fff; }
    .apk-layout, .info-layout { display: block; }
}

@media (max-width: 720px) {
    .app-list { gap: 12px; padding: 12px 0; }
    .app-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; margin: 0 10px; padding: 16px 14px; }
    .app-row__rank { grid-column: 1; grid-row: 1; width: auto; }
    .app-row__id { grid-column: 2; grid-row: 1; flex: none; min-width: 0; }
    .app-row__cta { grid-column: 3; grid-row: 1; margin: 0; }
    .app-row__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 2 / 4; grid-row: 2; gap: 8px; }
    .app-row__stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
    .app-row__stat small { font-size: 13px; }
    .app-row__stat strong { font-size: 13px; }
    .app-logo--row { width: 44px; height: 44px; flex-basis: 44px; }
}

@media (max-width: 1080px) {
    .jump-nav { top: 112px; }
    .admin-bar .jump-nav { top: 144px; }
}

@media (max-width: 720px) {
    body.rrb-app-page .mobile-cta {
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}
