:root {
  --bg: #f6f7f9; --surface: #ffffff; --surface-2: #eef1f5; --text: #15202b; --muted: #5b6776;
  --line: #dde2e8; --accent: #0f6e5a; --accent-ink: #ffffff; --accent-soft: #e2f2ee;
  --warn: #8a5a00; --warn-soft: #fff4dc; --bad: #a3242f; --bad-soft: #fde8ea; --info: #1f5aa6; --info-soft: #e5eefb;
  --ok: #17703c; --ok-soft: #e3f4e9; --radius: 14px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 12px rgba(16,24,40,.05);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --font-ta: "Noto Sans Tamil", "Inter", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1419; --surface: #172029; --surface-2: #1e2933; --text: #e8edf2; --muted: #9aa7b4; --line: #2b3742;
    --accent: #3cc3a0; --accent-ink: #062019; --accent-soft: #143a31; --warn: #f2c260; --warn-soft: #3a2e12;
    --bad: #f08a93; --bad-soft: #3d1c20; --info: #8fb8f2; --info-soft: #1a2b45; --ok: #7bd69c; --ok-soft: #173525; --shadow: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1419; --surface: #172029; --surface-2: #1e2933; --text: #e8edf2; --muted: #9aa7b4; --line: #2b3742;
  --accent: #3cc3a0; --accent-ink: #062019; --accent-soft: #143a31; --warn: #f2c260; --warn-soft: #3a2e12;
  --bad: #f08a93; --bad-soft: #3d1c20; --info: #8fb8f2; --info-soft: #1a2b45; --ok: #7bd69c; --ok-soft: #173525; --shadow: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
body.ta { font-family: var(--font-ta); line-height: 1.75; }
a { color: var(--accent); }
h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.25; margin: .2em 0 .4em; text-wrap: balance; }
h2 { font-size: 1.1rem; margin: 0 0 .6em; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
h3 { font-size: 1.02rem; margin: .3em 0 .6em; line-height: 1.35; }
h3 a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 20px; padding-bottom: 96px; min-height: 60vh; outline: none; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.big { font-size: 1.35rem; font-weight: 700; }

/* top bar */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; gap: 12px; min-height: 56px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--text); margin-right: auto; display: inline-flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
/* Σ logo mark: green square, white sigma (dark theme: bright green, dark sigma) */
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { fill: var(--accent-ink); }
.foot-logo { display: inline-flex; align-items: center; gap: 8px; }
.foot-logo .brand-mark { width: 24px; height: 24px; }
.nav { display: flex; gap: 4px; overflow-x: auto; order: 3; width: 100%; scrollbar-width: none; }
.nav a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); white-space: nowrap; font-size: .92rem; }
.nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.lang { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 6px 14px; font: 600 .92rem var(--font-ta); cursor: pointer; }
.theme { padding: 6px 10px; line-height: 1; }
@media (min-width: 760px) { .nav { order: 0; width: auto; } .brand { margin-right: 12px; } .theme { margin-left: auto; } }
.proto-banner { background: var(--warn-soft); color: var(--warn); text-align: center; font-size: .85rem; padding: 6px 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: 10px; font: 600 .92rem inherit; font-family: inherit; text-decoration: none; cursor: pointer; min-height: 40px; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost.on { background: var(--accent-soft); }
.btn.big { padding: 12px 18px; font-size: 1rem; }
.btn:focus-visible, .lang:focus-visible, input:focus-visible, select:focus-visible,
a:focus-visible, summary:focus-visible, .icon-btn:focus-visible, button:focus-visible { outline: 3px solid var(--info); outline-offset: 2px; }

/* hero + filters */
.hero { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.hero p { color: var(--muted); max-width: 60ch; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.filters input { grid-column: 1 / -1; }
@media (min-width: 760px) { .filters { grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr; } .filters input { grid-column: auto; } }
input, select { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; min-height: 42px; }
.count { margin: 8px 0; }

/* grid of cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.tile-link { display: block; padding: 14px 14px 0; }
.tile-body { padding: 10px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 12px; }
.stats dt, .keys dt { font-size: .8rem; color: var(--muted); }
.stats dd, .keys dd { margin: 0; font-weight: 600; }
.stats .big { font-size: 1.2rem; color: var(--accent); }
.tile-actions { display: flex; gap: 8px; margin-top: auto; }
.tile-actions .btn { flex: 1; }

/* the drawn card */
.art { --h: 200; aspect-ratio: 1.586; border-radius: 12px; padding: 12px 14px; color: #fff; position: relative; display: grid; grid-template-rows: auto 1fr auto auto;
  background: linear-gradient(135deg, hsl(var(--h) 55% 32%), hsl(calc(var(--h) + 40) 60% 22%)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); max-width: 340px; }
.art-bank { font-size: .78rem; font-weight: 600; opacity: .85; font-family: var(--font); }
.art-chip { width: 34px; height: 26px; border-radius: 5px; background: linear-gradient(135deg, #e9d48f, #b69845); align-self: center; }
.art-name { font-weight: 700; font-size: .98rem; line-height: 1.25; font-family: var(--font); }
.art-net { font-size: .72rem; opacity: .75; text-align: right; font-family: var(--font); min-height: 1em; }
.art-big { width: 100%; max-width: 320px; }

/* official card image. Float, sway and shine run only on hover/tap;
   artwork layers (e.g. the Flipkart wave) loop all the time. */
.art-img { position: relative; max-width: 340px; aspect-ratio: 1.586; transform-origin: 50% 0; }
.art-img img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 8px 14px rgba(0,0,0,.22)); }
.art-img .shine { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .3s;
  -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat; }
.art-img .shine::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-120%); }
:is(.tile, .detail-head, .cmp th, .art-img):hover .art-img, .art-img:hover,
:is(.tile, .detail-head, .cmp th):hover .floaty, .floaty:hover { animation: leaf 3.5s ease-in-out infinite; }
:is(.tile, .detail-head, .cmp th):hover .art-img .shine, .art-img:hover .shine { opacity: 1; }
:is(.tile, .detail-head, .cmp th):hover .art-img .shine::before, .art-img:hover .shine::before { animation: shine 2.6s ease-in-out infinite; }

/* layered card: base + moving wave + chip/text on top, all clipped to the card shape */
.layered > img, .layered .wave, .layered .top { position: absolute; inset: 0; }
.layered .top, .layered .wave img { filter: none; }
.layered .wave { -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat; overflow: hidden; }
.layered .wave img { animation: shuttle 9s cubic-bezier(.45,.05,.55,.95) infinite; animation-delay: var(--delay, 0s);
  transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden; }
.layered .wave .flow { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  -webkit-mask: var(--wave) center / contain no-repeat; mask: var(--wave) center / contain no-repeat;
  animation: shuttle 9s cubic-bezier(.45,.05,.55,.95) infinite; animation-delay: var(--delay, 0s); will-change: transform; }
.layered .wave .flow::before { content: ""; position: absolute; inset: 0 -60%; will-change: transform;
  background: linear-gradient(100deg, transparent 32%, rgba(255,255,255,.28) 44%, rgba(255,200,245,.32) 50%, rgba(255,255,255,.28) 56%, transparent 68%);
  animation: flow 6s cubic-bezier(.45,.05,.55,.95) infinite alternate; }
/* WCAG 2.2.2: the wave plays about 20 s on load, then rests (both keyframes end where they start); hovering the card plays it again */
.layered .wave img, .layered .wave .flow { animation-iteration-count: 2; }
.layered .wave .flow::before { animation-iteration-count: 4; }
:is(.tile, .detail-head, .cmp th):hover .layered .wave :is(img, .flow), .layered:hover .wave :is(img, .flow) { animation-iteration-count: infinite; }
.layered:hover .wave .flow::before, :is(.tile, .detail-head, .cmp th):hover .layered .wave .flow::before { animation-iteration-count: infinite; }
/* small, slow, sine-like drift with an in-between point so it never "turns" sharply */
@keyframes shuttle {
  0%   { transform: translate3d(-1.4%, 0, 0) scale(1, .985); }
  25%  { transform: translate3d(-.4%, -.4%, 0) scale(1, 1); }
  50%  { transform: translate3d(1.4%, 0, 0) scale(1, 1.015); }
  75%  { transform: translate3d(.4%, .4%, 0) scale(1, 1); }
  100% { transform: translate3d(-1.4%, 0, 0) scale(1, .985); }
}
@keyframes flow { from { transform: translate3d(-40%, 0, 0); } to { transform: translate3d(40%, 0, 0); } }
@keyframes leaf {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(1.2deg); }
  50% { transform: translateY(-7px) rotate(-0.8deg); }
  75% { transform: translateY(-3px) rotate(0.9deg); }
}
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
/* paused while off-screen (app.js watchArt) */
.layered.off .wave img, .layered.off .wave .flow, .layered.off .wave .flow::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .art-img, .art-img:hover, .art-img .shine::before, .floaty, .layered .wave img, .layered .wave .flow, .layered .wave .flow::before { animation: none !important; }
}

/* badges */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; font-size: .8rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; line-height: 1.6; white-space: nowrap; }
.v-conflict { background: var(--warn-soft); color: var(--warn); }
.v-unverified { background: var(--bad-soft); color: var(--bad); }
.v-partial { background: var(--info-soft); color: var(--info); }
.v-verified { background: var(--ok-soft); color: var(--ok); }
.s-other { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.s-type { background: var(--surface-2); color: var(--muted); }
.e-ok { background: var(--ok-soft); color: var(--ok); }
.e-check { background: var(--warn-soft); color: var(--warn); }
.e-no { background: var(--bad-soft); color: var(--bad); }
.en-tag { font-size: .8rem; background: var(--surface-2); color: var(--muted); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }

/* detail */
.back { text-decoration: none; }
.detail-head { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 760px) { .detail-head { grid-template-columns: 320px 1fr; align-items: center; } }
.cta-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.block p { margin: 0 0 .5em; }
.block.warn { border-left: 4px solid var(--warn); }
.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 12px; }
.catches { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.catches li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.catches li:last-child { border-bottom: 0; padding-bottom: 0; }
.verif { margin: 0 0 10px; display: grid; gap: 4px; }
.verif dt { font-weight: 600; font-size: .9rem; margin-top: 6px; }
.verif dd { margin: 0; }
.verif-block.v-conflict { border-left: 4px solid var(--warn); }
.verif-block.v-unverified { border-left: 4px solid var(--bad); }

/* compare */
.slots { display: grid; gap: 8px; margin: 14px 0; }
@media (min-width: 760px) { .slots { grid-template-columns: repeat(3, 1fr); } }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9rem; }
.cmp th, .cmp td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.cmp thead th { position: sticky; top: 0; background: var(--surface); }
.cmp thead a { text-decoration: none; color: var(--text); display: grid; gap: 6px; font-weight: 600; }
.cmp thead .art { max-width: 160px; padding: 8px 10px; }
.cmp thead .art-name { font-size: .8rem; }
.cmp tbody th { width: 150px; color: var(--muted); font-weight: 600; font-size: .82rem; background: var(--surface-2); }
.cmp td.best { background: var(--ok-soft); font-weight: 600; }
.cmp ul { margin: 0; padding-left: 1.1em; }

/* eligibility */
.elig { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; max-width: 720px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; border: 0; padding: 0; margin: 0; }
.field legend { padding: 0; margin-bottom: 6px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: center; gap: 8px; font-weight: 400; padding: 4px 0; }
.choice input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; cursor: pointer; background: var(--surface); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chip input:focus-visible + span { outline: 3px solid var(--info); outline-offset: 2px; }
.form-error { color: var(--bad); margin: 0; min-height: 1em; }
#eligOut { margin-top: 18px; max-width: 720px; scroll-margin-top: 80px; }
.results { list-style: none; padding: 0; display: grid; gap: 10px; }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; border-left: 4px solid var(--line); }
.result.r-ok { border-left-color: var(--ok); } .result.r-check { border-left-color: var(--warn); } .result.r-no { border-left-color: var(--bad); opacity: .85; }
.result-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.result-head a { color: var(--text); }
.result ul { margin: 8px 0 0; padding-left: 1.2em; }
.note { background: var(--info-soft); color: var(--text); padding: 10px 12px; border-radius: 10px; }

/* checklist */
.checklist { display: grid; gap: 10px; padding-left: 1.4em; max-width: 760px; }
.checklist li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.checklist li span { display: block; font-size: .92rem; color: var(--muted); }

/* compare tray + footer */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
.tray-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.tray-actions { display: flex; gap: 8px; }
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 36px 0 90px; font-size: .93rem; color: var(--text); }
.empty { padding: 24px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }

/* selling-point block */
.earn { background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
.usp { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border-left: 4px solid var(--accent); font-weight: 600; font-size: 1.02rem; }
.usp span { color: var(--accent); }
.tiers { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 4px; align-content: start; }
.tier.top { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.tier-rate { font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--accent); }
.tier-rate small { font-size: 1.1rem; margin-left: 2px; }
.tier-where { font-weight: 600; }
.tier-bar { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 4px 0; }
.tier-bar i { display: block; height: 100%; width: var(--fill); background: var(--accent); border-radius: 99px; }
.tier-note { font-size: .8rem; color: var(--muted); }
.payout { margin: 12px 0 0; font-size: .92rem; }
.prose h3 { margin: 14px 0 4px; font-size: 1.02rem; }
.prose h3:first-child { margin-top: 0; }
.prose p { max-width: 70ch; }

/* brand badges on reward tiles */
.tier { position: relative; overflow: hidden; padding-top: 16px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--bc) 12%, var(--surface)) 0%, var(--surface) 55%); }
.tier::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--bc); }
.chips-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.brand-chip { font-size: .8rem; font-weight: 600; padding: 2px 8px; border-radius: 99px;
  background: color-mix(in srgb, var(--bc) 14%, var(--surface)); color: var(--text); border: 1px solid color-mix(in srgb, var(--bc) 35%, transparent); }
.tier-bar i { background: linear-gradient(90deg, var(--bc), var(--accent)); }
.brand-chip { display: inline-flex; align-items: center; gap: 5px; }
.brand-chip img { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }

/* v3: tile tinted by its main brand, logos once, reward-coloured bar that grows on load */
.tier { background: linear-gradient(160deg, color-mix(in srgb, var(--bc) 22%, var(--surface)) 0%, color-mix(in srgb, var(--bc) 6%, var(--surface)) 70%);
  border-color: color-mix(in srgb, var(--bc) 30%, var(--line)); }
.tier.top { border-color: var(--bc); box-shadow: 0 0 0 2px color-mix(in srgb, var(--bc) 25%, transparent); }
.brand-chip { font-size: .85rem; padding: 4px 10px 4px 4px; background: var(--surface); }
.brand-chip img { width: 22px; height: 22px; border-radius: 50%; }
.tier-bar { height: 8px; }
.tier-bar i { background: var(--bar); width: var(--fill); transform-origin: 0 50%; transform: scaleX(0); animation: grow 1.1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes grow { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .tier-bar i { animation: none; transform: none; } }

/* fees panel */
.fees { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
.fee-label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.fee-amt { font-size: 1.6rem; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.lab-fees td { font-variant-numeric: tabular-nums; }
.fee-sub { font-size: .8rem; color: var(--muted); }
.fee-note { font-size: .85rem; line-height: 1.45; margin-top: 4px; }
.fee-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 14px 0 0; padding-top: 4px; }
.fee-facts dt { font-size: .8rem; color: var(--muted); }
.fee-facts dd { margin: 0; font-weight: 600; }
/* consistent text alignment: full-width paragraphs, same left edge everywhere */
.prose p, .block p { max-width: none; }
.block.warn, .verif-block { border-left-width: 1px; }
.block.warn { box-shadow: inset 4px 0 0 var(--warn); }
.fee-pairs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.fee-pair { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); }
.fp-top { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px 0; }
.fp-when { font-size: .8rem; color: var(--muted); }
.fp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 16px 12px; flex-wrap: wrap; }
.fp-k { font-weight: 600; font-size: .92rem; }
.fp-v { text-align: right; }
.fp-waiver { margin: -4px 16px 12px; font-size: .85rem; color: var(--ok); }
.fp-gives { margin-top: auto; background: var(--accent-soft); border-top: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 3px; }
.fp-amt { font-size: 1.35rem; font-weight: 800; }

/* review: verdict, savings, tips, alternatives, faq */
.verdict { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
@media (min-width: 760px) { .verdict { grid-template-columns: 230px 1fr; } }
.verdict-score { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px; background: var(--accent-soft); align-self: start; }
.score { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--accent); }
.score small { font-size: 1rem; color: var(--muted); }
.score-parts { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: .85rem; }
.score-parts li { display: grid; grid-template-columns: 1fr 70px 28px; align-items: center; gap: 6px; }
.score-parts .bar { height: 6px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.score-parts .bar i { display: block; height: 100%; background: var(--accent); }
.verdict-body h2 { margin-bottom: 6px; }
.pc { display: grid; gap: 12px; margin-top: 10px; }
@media (min-width: 640px) { .pc { grid-template-columns: 1fr 1fr; } }
.pc ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .93rem; }
.pros-h { color: var(--ok); } .cons-h { color: var(--bad); }
.save { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
.save th, .save td { padding: 10px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.save thead th { font-size: .8rem; color: var(--muted); }
.save tbody th { text-align: left; font-weight: 600; }
.save tbody th span { display: block; font-weight: 400; }
.save .net { font-weight: 800; color: var(--accent); font-size: 1.05rem; }
.tips { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.alts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.alts li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.alts .art-img, .alts .art { max-width: 120px; }
.alts p { margin: 2px 0 4px; }
.faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; }

/* comments */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cmt-form { display: grid; gap: 10px; margin: 10px 0 18px; }
.cmt-form textarea, #contactForm textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; resize: vertical; }
.cmt-form-row { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.reply-to { margin: 0; font-size: .88rem; color: var(--accent); }
.form-error.ok { color: var(--ok); }
.cmt-list { display: grid; gap: 4px; }
.cmt { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.cmt.is-reply { margin-left: 46px; border-top: 0; padding-top: 4px; }
.cmt.fresh { animation: freshfade 2s ease-out; }
@keyframes freshfade { from { background: var(--accent-soft); } to { background: transparent; } }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.by-admin .avatar { background: var(--accent); color: var(--accent-ink); }
.cmt-head { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.cmt-body p { margin: 4px 0 6px; overflow-wrap: anywhere; }
.tag-admin { color: var(--info); font-weight: 600; }
.cmt-actions { display: flex; gap: 14px; align-items: center; }
.heart { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 99px; padding: 3px 10px; font: inherit; font-size: .85rem; cursor: pointer; }
.heart span { color: #e0245e; font-size: 1rem; }
.heart.on { border-color: #e0245e; color: #e0245e; background: color-mix(in srgb, #e0245e 8%, var(--surface)); }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: .88rem; cursor: pointer; }
.bureaus { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.bureaus a { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); background: var(--surface-2); }
.bureaus a:hover { border-color: var(--accent); }
.cibil { margin-top: 16px; max-width: 720px; }

/* last updated, links, charges, calculator, apply block, whatsapp */
.updated { color: var(--muted); margin: -6px 0 6px; }
.card-link { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.charges { display: grid; gap: 10px; margin: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.charges div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.charges dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.charges dd { margin: 4px 0 0; display: grid; gap: 4px; }
.charges dd b { font-size: 1.2rem; }
.calc { display: grid; gap: 8px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.apply-cta { display: grid; gap: 12px; padding: 20px; margin-bottom: 12px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.apply-cta h2 { margin-bottom: 4px; }
.apply-cta p { margin: 0 0 6px; }
.apply-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .92rem; }
.btn.wa { border-color: #25d366; color: #128c4a; }
:root[data-theme="dark"] .btn.wa { color: #4ce38a; }

/* calculator: clean focus, aligned boxes, header text on its own line, loss in red */
.calc { align-items: end; }

.save tfoot th span { display: block; font-weight: 400; margin-top: 2px; }

/* icon share buttons */
.share-icons { display: inline-flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; padding: 0; }
.icon-btn.wa { background: #25d366; border-color: #25d366; color: #fff; }
.icon-btn.wa:hover { background: #1ebe5b; }
.icon-btn.share:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn.copied { border-color: var(--ok); color: var(--ok); }

/* share menu */
.share-menu { position: absolute; z-index: 50; min-width: 190px; padding: 6px; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.share-menu a, .share-menu button { text-align: left; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: var(--surface-2); }
/* sources */
.src-h { font-size: .95rem; margin: 14px 0 6px; color: var(--text); }
.sources { margin: 0 0 10px; padding-left: 1.2em; display: grid; gap: 4px; font-size: .92rem; }
.verdict-score .stars { align-self: flex-start; width: max-content; }

/* know before you apply */
.know h3 { margin: 16px 0 8px; font-size: 1rem; color: var(--accent); }
.know-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.know-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.know-list strong { display: block; margin-bottom: 2px; }
.know-list p { margin: 0; font-size: .93rem; }

/* footer */
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 40px; } }
.foot-logo { font-weight: 800; font-size: 1.3rem; color: var(--text); text-decoration: none; }
.foot-tag { font-weight: 700; color: var(--accent); margin: 8px 0 6px; font-size: 1.02rem; }
.foot-brand p { margin: 0 0 6px; max-width: 42ch; }
.foot-col h2, .foot-col h3 { font-size: .95rem; margin: 0 0 10px; font-family: var(--font); font-weight: 700; line-height: 1.35; letter-spacing: normal; }
.tile h2 { font-size: 1.02rem; line-height: 1.35; margin: .3em 0 .6em; font-weight: 700; }
.foot-col { display: flex; flex-direction: column; gap: 0; align-items: flex-start; }
.foot-col > a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.foot-col > a:hover { color: var(--accent); }
.foot-col p { margin: 0; line-height: 1.55; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.foot-sign { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.foot-build { margin: 10px 0 0; }

/* exact stars: each star clipped to its own fill */
.stars { display: inline-flex; gap: 3px; font-size: 1.5rem; line-height: 1; letter-spacing: 0; }
.score-label { font-size: .8rem; font-weight: 700; color: var(--accent); }
.score-parts li { grid-template-columns: 1fr 70px 36px; }
.stars svg.star { width: 1.35rem; height: 1.3rem; display: inline-block; }
.star-empty { fill: color-mix(in srgb, var(--muted) 28%, transparent); }
.star-full { fill: #f5b400; }

/* sticky card bar. Its pieces are moved by app.js (watchSticky) from the hero into place as you scroll.
   Desktop: just under the menu, which always stays. Phone: at the bottom edge. --p (0 to 1) fades in the bar's background. */
.sticky-apply { position: fixed; left: 0; right: 0; top: var(--tb-h, 64px); z-index: 9; pointer-events: none; }
.sticky-apply::before { content: ""; position: absolute; inset: 0; background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0,0,0,.06); opacity: var(--p, 0); }
.sticky-apply .sticky-inner { position: relative; }
.sticky-apply:not(.live) .sticky-inner * { visibility: hidden; }
.sticky-apply.live .sticky-thumb, .sticky-apply.live .sticky-name strong, .sticky-apply.live .sticky-actions .btn, .sticky-apply.live .sticky-actions .icon-btn { transform-origin: 0 0; will-change: transform; }
.sticky-apply.show { pointer-events: auto; }
@media (max-width: 760px) {
  .sticky-apply { top: auto; bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .sticky-apply::before { border-bottom: 0; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.10); }
  .has-bar body { padding-bottom: 76px; }
}
.sticky-inner { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.sticky-thumb { width: 54px; height: 34px; object-fit: cover; border-radius: 5px; flex: none; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.sticky-name { display: grid; line-height: 1.25; min-width: 0; margin-right: auto; }
.sticky-name strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.sticky-actions .btn { min-height: 38px; padding: 7px 14px; }
.sticky-actions .icon-btn { width: 38px; height: 38px; }
.sticky-actions .icon-btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .sticky-name, .sticky-cmp { display: none; }
  .sticky-thumb { width: 48px; height: 30px; }
  .sticky-actions { flex: 1; justify-content: flex-end; }
  .sticky-actions .btn:first-child { flex: 1; }
}

.sticky-actions .btn { white-space: nowrap; font-size: .9rem; }

/* ---------- mobile ---------- */
.jump { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; align-items: center; }
.jump::-webkit-scrollbar { display: none; }
.jump-label { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.jump a { white-space: nowrap; padding: 9px 14px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 600; }
.jump a:hover { border-color: var(--accent); color: var(--accent); }
.faq summary { padding: 12px 0; min-height: 44px; list-style-position: outside; }
@media (max-width: 760px) {
  /* menu scrolls away; only the slim Apply bar stays */
  .topbar { position: static; }
  .nav a { padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; }
  .lang, .theme { min-height: 44px; min-width: 44px; }
  /* no zoom-on-tap on iPhone: form text at least 16px */
  input, select, textarea { font-size: 16px !important; }
  /* readable small text */
  .badge { font-size: .8rem; }
  .fee-label, .fp-when, .fee-sub, .tier-note, .score-label, .stats dt, .keys dt, .fee-facts dt, .save thead th, .muted.small, .small { font-size: 13px; }
  /* bigger tap areas for small links */
  .back, .apply-checks a, .alts a.small, .sources a, .foot-col > a { display: inline-flex; align-items: center; min-height: 44px; }
  .proto-banner { font-size: 13px; padding: 6px 12px; }
  .detail-head h1 { font-size: 1.55rem; }
}
@media (max-width: 760px) {
  .sticky-actions .btn { min-height: 44px; }
  .sticky-actions .icon-btn { width: 44px; height: 44px; }
  .brand { min-height: 44px; display: inline-flex; align-items: center; }
}

/* reward tiles: every tile uses the same 4 rows (rate, brands, bar, note) so the bars line up */
.tiers { row-gap: 0; column-gap: 10px; }
.tier { margin-bottom: 10px; }
@supports (grid-template-rows: subgrid) {
  .tier { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; align-content: start; }
}
.tier .tier-where { align-self: start; }
.tier .tier-bar { align-self: center; margin: 2px 0; }
.tier .tier-note { align-self: start; }
/* yellow brands need a darker stripe to stay visible on white */
.tier::before { background: color-mix(in srgb, var(--bc) 85%, #000 15%); }

/* own-savings calculator: inputs on the left, live result beside them */
/* same look as the "Ready to apply?" block (.apply-cta) */
.calc-box { margin-top: 18px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: var(--radius); padding: 20px; background: linear-gradient(135deg, var(--accent-soft), var(--surface)); }
.calc-body { display: grid; gap: 14px; margin-top: 10px; }
@media (min-width: 760px) { .calc-body { grid-template-columns: 1.6fr 1fr; align-items: start; } .calc-out { position: sticky; top: 140px; } }
.calc-box .calc { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.calc-out { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.calc-res { display: none; margin: 0; }
.calc-out.filled .calc-res { display: grid; gap: 8px; }
.calc-res div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.calc-res dt { color: var(--muted); font-size: .92rem; }
.calc-res dd { margin: 0; font-weight: 700; }
.calc-net { border-top: 1px dashed var(--line); padding-top: 8px; }
.calc-net dt { color: var(--text); font-weight: 700; }
.calc-net dd { font-size: 1.6rem; color: var(--accent); }
.calc-out.loss .calc-net dd { color: var(--bad); }
.calc-res .calc-spend, .calc-res .calc-per100 { grid-column: 1 / -1; display: flex !important; justify-content: space-between; align-items: baseline; }
.calc-spend { border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.calc-spend dt, .calc-per100 dt { color: var(--text); }
.calc-per100 { border-top: 1px dashed var(--line); padding-top: 8px; }

/* line icons (Lucide) */
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; stroke-width: 2; }
h2 .ic, h3 .ic { color: var(--accent); width: 1.15em; height: 1.15em; margin-right: 2px; }
.pros-h .ic { color: var(--ok); } .cons-h .ic { color: var(--bad); }
.know-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.know-ic .ic { width: 18px; height: 18px; }
.usp .ic { color: var(--accent); }
.verif dt .ic { margin-right: 4px; }
.theme .ic { width: 18px; height: 18px; }

/* ---------- smooth theme + language switching ---------- */
/* sun/moon: both icons sit on top of each other and spin/fade into place */
.theme { display: inline-grid; place-items: center; overflow: hidden; }
.theme .ti { grid-area: 1 / 1; display: inline-flex; transition: transform .55s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; }
.theme .ti-sun { opacity: 0; transform: rotate(-120deg) scale(.3); }
:root[data-theme="dark"] .theme .ti-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme .ti-moon { opacity: 0; transform: rotate(120deg) scale(.3); }
.lang, .theme { transition: background-color .25s ease, border-color .25s ease, transform .15s ease; }
.lang:active, .theme:active { transform: scale(.92); }

/* the two header buttons animate on their own, outside the page snapshot */
#themeBtn { view-transition-name: theme-btn; }
#langBtn { view-transition-name: lang-btn; }

/* theme: the new colours spread out in a circle from the button (clip-path set in app.js) */
.vt-theme::view-transition-old(root), .vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.vt-theme::view-transition-old(theme-btn) { display: none; }
.vt-theme::view-transition-new(theme-btn) { animation: none; }
.vt-theme::view-transition-old(lang-btn) { display: none; }
.vt-theme::view-transition-new(lang-btn) { animation: none; }

/* language on card pages (separate /ta/ page): fade out, then the new page fades in */
/* opacity only on body: moving the body would break the sticky header and Apply bar */
.page-leave body { opacity: 0; transition: opacity .2s ease; }
.page-leave #langBtn { transform: rotateX(90deg); transition: transform .2s ease; }
.page-enter body { animation: page-in .4s ease both; }
@keyframes page-in { from { opacity: 0; } }
.page-enter #langBtn { animation: vt-roll-in .45s cubic-bezier(.34,1.56,.64,1) both; }

/* language on the other pages: gentle cross-fade with a small lift, and the button label rolls over */
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2,.8,.2,1) both; }
::view-transition-old(lang-btn) { animation: vt-roll-out .3s ease both; }
::view-transition-new(lang-btn) { animation: vt-roll-in .4s cubic-bezier(.34,1.56,.64,1) both; }
::view-transition-group(lang-btn) { overflow: clip; border-radius: 999px; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes vt-roll-out { to { opacity: 0; transform: translateY(-70%); } }
@keyframes vt-roll-in { from { opacity: 0; transform: translateY(70%); } }

/* browsers without View Transitions: just fade the colours */
.fade-colors, .fade-colors * { transition: background-color .4s ease, color .4s ease, border-color .4s ease, fill .4s ease, transform .55s cubic-bezier(.34,1.56,.64,1), opacity .3s ease !important; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .theme .ti { transition: none; }
}
.suits { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }

/* author box + about page */
.ph { display: inline-block; border: 1.5px dashed var(--warn); color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 1px 6px; font-weight: 600; font-size: .9em; }
.author-box { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); background: var(--surface); max-width: 100%; width: fit-content; }
.author-box:hover { border-color: var(--accent); }
.auth-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.auth-ph { display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.auth-txt { display: grid; line-height: 1.3; min-width: 0; }
.auth-more { color: var(--accent); font-size: .85rem; white-space: nowrap; margin-left: 6px; }
.about { max-width: 820px; }
.about-who { display: flex; gap: 18px; align-items: flex-start; }
.about-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex: none; }
.about-photo.auth-ph .ic { width: 40px; height: 40px; }
.steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
/* slim byline under the card title */
.byline { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; color: var(--muted); line-height: 1.4; }
.byline a { color: var(--text); text-decoration: none; }
.byline a:hover strong { color: var(--accent); text-decoration: underline; }
.by-date time { white-space: nowrap; }  /* only the dates stay whole; the line itself wraps on phones */
.byline > span { min-width: 0; }
.by-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.by-photo.auth-ph .ic { width: 14px; height: 14px; }
@media (max-width: 560px) { .by-role { display: none; } }
@media (max-width: 560px) { .about-who { flex-direction: column; } .auth-more { display: none; } .author-box { border-radius: 14px; } }

/* social logos on About us */
.soc-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.soc { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; min-height: 44px; border-radius: 999px; text-decoration: none; font-weight: 600; color: #fff; }
.soc svg { width: 22px; height: 22px; fill: currentColor; }
.soc:hover { filter: brightness(1.08); }
.about-who p { margin: 0 0 10px; }

/* compact FAQ: no divider lines, indented chevron, soft open state */
.faq-list { display: grid; gap: 4px; }
.faq { border: 0; border-radius: 10px; padding: 0; transition: background .15s; }
.faq:hover, .faq[open] { background: var(--surface-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: .97rem; border-radius: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq-chev { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform .2s; }
.faq[open] .faq-chev { transform: rotate(180deg); color: var(--accent); }
.faq > p { margin: 0; padding: 0 14px 12px; color: var(--text); font-size: .95rem; line-height: 1.6; }

/* About us uses the same full column as every other page */
.about { max-width: none; }
/* text fills each box edge to edge (an 80ch cap left a blank strip on the right) */
.about .block p, .about .steps { max-width: none; }
.about .block { padding: 20px 24px; }
.about .block h2 { margin-top: 0; }
.about .steps { padding-left: 1.4em; }
.about .steps li { padding-left: 4px; }
/* two short boxes side by side on wide screens */
.about-pair { display: grid; gap: 16px; }
.about-pair > .block { margin: 0; }
@media (min-width: 860px) { .about-pair { grid-template-columns: 1fr 1fr; } }

/* review fixes (2026-11-15) */
/* yellow brands: keep chip borders visible on white and dark */
.brand-chip { border-color: color-mix(in srgb, var(--bc) 55%, #000 20%); }
:root[data-theme="dark"] .tier { background: linear-gradient(160deg, color-mix(in srgb, var(--bc) 14%, var(--surface)) 0%, var(--surface) 70%); }
/* Tamil's taller line-height shouldn't stretch buttons and menu pills */
.btn, .nav a, .jump a { line-height: 1.3; }
/* calculator result stays clear of the menu + Apply bar on tablets */
@media (min-width: 760px) { .calc-out { top: 160px; } }

/* language switch inside the Apply bar: phones only (the top menu scrolls away there) */
.sticky-lang { display: none; }
@media (max-width: 760px) {
  .sticky-lang { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 .85rem/1 var(--font-ta); cursor: pointer; }
  .sticky-lang:hover { border-color: var(--accent); color: var(--accent); }
}
@media (max-width: 380px) { .sticky-actions { gap: 6px; } .sticky-thumb { display: none; } }

/* Tamil on hold: under-construction banner on every Tamil page */
.ta-banner { background: var(--warn-soft); border-bottom: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); color: var(--text); }
.ta-banner-in { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; font-size: .9rem; line-height: 1.45; }
.ta-banner-in > .ic { color: var(--warn); width: 20px; height: 20px; }
.ta-banner-in > span { flex: 1; }
.ta-banner-in .btn { white-space: nowrap; min-height: 36px; padding: 4px 12px; }
@media (max-width: 560px) { .ta-banner-in { flex-wrap: wrap; } .ta-banner-in .btn { margin-left: 30px; } }

/* byline: who on line 1, dates on line 2 (role shows on phones too) */
.by-date { display: block; }
@media (max-width: 560px) { .by-role { display: inline; } }

/* ---------- sliders (one design for every slider: savings calculator, eligibility) ---------- */
.sl { display: grid; gap: 6px; --p: 0%; --fill: var(--accent); }
.sl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sl-top label { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.sl-top label em { font-style: normal; color: var(--accent); margin-left: 2px; }
.sl-top output { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.sl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.sl input[type=range]:focus { outline: none; }
.sl input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px;
  background: linear-gradient(to right, var(--fill) var(--p), color-mix(in srgb, var(--muted) 25%, transparent) var(--p)); }
.sl input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--muted) 25%, transparent); }
.sl input[type=range]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--fill); }
.sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--fill); box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: transform .15s; }
.sl input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--fill); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.sl input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.sl input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.sl input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
/* cashback cap: the part of the track past the cap point is shaded amber; at the cap the slider turns amber */
.sl.has-cap input[type=range]::-webkit-slider-runnable-track {
  background: linear-gradient(to right, var(--fill) var(--p), transparent var(--p)),
    linear-gradient(to right, color-mix(in srgb, var(--muted) 25%, transparent) var(--cap), color-mix(in srgb, #e8a33d 35%, transparent) var(--cap)); }
.sl.capped { --fill: #d9892b; }
.sl.capped .sl-top output { color: #b86e14; }
.sl-cap { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: .82rem; line-height: 1.35; color: #8a520c;
  background: color-mix(in srgb, #e8a33d 14%, var(--surface)); border-radius: 8px; padding: 6px 8px; }
.sl-cap[hidden] { display: none; }
.sl-cap svg { flex: none; width: 15px; height: 15px; margin-top: 1px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sl-cap { color: #f3c27a; } :root:not([data-theme="light"]) .sl.capped .sl-top output { color: #f3c27a; } }
:root[data-theme="dark"] .sl-cap, :root[data-theme="dark"] .sl.capped .sl-top output { color: #f3c27a; }

/* calculator layout: sliders in an even 2-column grid, result card on the right */
.calc-box .calc { display: grid; gap: 18px 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 560px) { .calc-box .calc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 761px) { .calc-out { position: sticky; top: calc(var(--tb-h, 64px) + 86px); } }
/* phone: the result rides just above the bottom Apply bar while you drag */
@media (max-width: 760px) {
  .calc-out { position: sticky; bottom: 84px; z-index: 2; box-shadow: 0 -4px 16px rgba(0,0,0,.08); padding: 10px 14px; }
  .calc-out.filled .calc-res { grid-template-columns: 1fr 1fr; gap: 4px 14px; }
  .calc-res div { display: grid; gap: 0; }
  .calc-res dt { font-size: 12px; }
  .calc-net { grid-column: 1 / -1; display: flex !important; justify-content: space-between; align-items: baseline; }
  .calc-net dd { font-size: 1.3rem; }
  .sl input[type=range] { height: 36px; }
  .sl input[type=range]::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -10px; }
}

/* eligibility: credit score slider, bands 300-649 / 650-699 / 700-799 / 800-900 */
.score-field .chips { margin-bottom: 10px; }
.sl.score { --bands: linear-gradient(to right, #e0877f 0 12.5%, #e8a33d 12.5% 37.5%, #f0cf7a 37.5% 50%, #a3d4a8 50% 62.5%, #5fb47a 62.5% 75%, #1f8a57 75% 100%); --fill: var(--text); }
.sl.score input[type=range]::-webkit-slider-runnable-track { background: var(--bands); }
.sl.score input[type=range]::-moz-range-track { background: var(--bands); }
.sl.score input[type=range]::-moz-range-progress { background: transparent; }
.sl.score.off { opacity: .45; }
.sl.score.off output { display: none; }
.sl-top label { flex: 1; }
.score-scale { position: relative; height: 16px; font-size: 12px; color: var(--muted); }
.score-scale span { position: absolute; transform: translateX(-50%); }
.score-scale span:nth-child(1) { left: 0; transform: none; } .score-scale span:nth-child(2) { left: 37.5%; }
.score-scale span:nth-child(3) { left: 50%; } .score-scale span:nth-child(4) { left: 62.5%; } .score-scale span:nth-child(5) { left: 75%; }
.score-scale span:nth-child(6) { right: 0; left: auto; transform: none; }
/* "check your CIBIL free" line: quiet until the reader touches the score question, then it lights up */
.score-help { display: flex; gap: 6px; align-items: flex-start; margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; color: var(--muted);
  border: 1px solid transparent; transition: background .3s, border-color .3s, color .3s; }
.score-help svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.score-help a { font-weight: 700; }
.score-field.lit .score-help { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--text); }
.elig .field .sl { margin-top: 4px; }
/* keep slider tracks in line even when one label wraps to two lines */
.calc-box .sl { grid-template-rows: minmax(2.7em, auto) auto auto; }
.calc-box .sl-top { align-items: flex-end; }

/* range inputs never get the generic input box */
.sl input[type=range] { border: 0 !important; padding: 0 !important; box-shadow: none !important; min-height: 0; border-radius: 0; }
.sl-top output { font-size: 1rem; line-height: 1.3; }
/* cap note: one short line, small */
.sl-cap { font-size: .8rem; padding: 3px 8px; align-items: center; width: fit-content; }
.sl-cap svg { width: 13px; height: 13px; margin-top: 0; }

/* CIBIL help line turns bold once the reader touches the score question */
.score-field.lit .score-help { font-weight: 600; font-size: .95rem; }
.score-field.lit .score-help svg { color: var(--accent); width: 18px; height: 18px; }

/* ---- compact savings calculator (2026-11-17): overrides the earlier calculator layout ---- */
.calc-box { padding: 16px 18px; }
.calc-box .calc { margin-top: 14px; gap: 10px 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .calc-box .calc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .calc-box .calc { grid-template-columns: repeat(3, 1fr); } }
.calc-box .sl { grid-template-rows: auto auto auto; gap: 2px; }
.calc-box .sl-top label { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc-box .sl-top output { font-size: .95rem; }
.calc-box .sl-cap { margin-top: 2px; }
/* results: always shown, one strip of four */
.calc-box .calc-out { margin-top: 14px; padding: 10px 16px; position: static; }
.calc-box .calc-res { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 4px 16px; }
.calc-box .calc-res div { display: grid; gap: 0; align-content: end; }
.calc-box .calc-res dt { font-size: .8rem; }
.calc-box .calc-res dd { font-size: 1.05rem; }
.calc-box .calc-net { border: 0; padding: 0; border-left: 1px dashed var(--line); padding-left: 16px; }
.calc-box .calc-net dd { font-size: 1.35rem; }
.calc-box .calc-note { margin: 8px 0 0; }
@media (max-width: 760px) {
  .calc-box .sl-top label { white-space: normal; }
  /* phone: the result strip rides just above the bottom Apply bar while you drag */
  .calc-box .calc-out { position: sticky; bottom: 84px; z-index: 2; box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .calc-box .calc-res { grid-template-columns: 1fr 1fr 1fr; }
  .calc-box .calc-res > div:nth-child(2) { display: none; }
  .calc-box .calc-net { display: grid !important; padding-left: 10px; }
  .calc-box .calc-net dd { font-size: 1.15rem; }
}
.calc-box .calc-net { grid-column: auto; }

/* reward tiles (2026-11-17): the % and its bar sit side by side on one line; brand chips max two rows */
.tier-top { display: flex; align-items: center; gap: 12px; }
.tier-top .tier-bar { flex: 1; margin: 0; }
.tier .chips-row { display: flex; flex-wrap: wrap; gap: 6px; max-height: calc(2 * 34px + 6px); overflow: hidden; align-content: flex-start; }
/* brands beyond the first 3: logos only, overlapping, no names */

/* savings result as a worked sum (2026-11-17): label | amount, top to bottom, with the + − = steps shown */
.calc-box .calc-body { display: grid; gap: 14px 22px; margin-top: 14px; align-items: start; }
@media (min-width: 900px) { .calc-box .calc-body { grid-template-columns: 1fr 300px; } .calc-box .calc { grid-template-columns: 1fr 1fr; } }
.calc-box .calc-body .calc { margin-top: 0; }
.calc-box .calc-body .calc-out { margin-top: 0; padding: 12px 16px; }
.calc-box .calc-res.bill { grid-template-columns: 1fr !important; gap: 6px; }
.calc-box .bill > div { display: flex !important; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-box .bill dt { font-size: .88rem; color: var(--muted); }
.calc-box .bill dd { font-size: 1rem; font-variant-numeric: tabular-nums; }
.calc-box .bill .op { display: inline-block; width: 1.1em; color: var(--text); font-weight: 800; }
.calc-box .bill .calc-net { border: 0; border-top: 2px solid var(--text); padding: 8px 0 0; margin-top: 2px; }
.calc-box .bill .calc-net dt { color: var(--text); font-weight: 700; }
.calc-box .bill .calc-net dd { font-size: 1.35rem; }
@media (max-width: 760px) {
  .calc-box .calc-res.bill > div:nth-child(2) { display: flex !important; }
  .calc-box .bill dt { font-size: 13px; }
  .calc-box .bill { gap: 2px; }
  .calc-box .calc-body .calc-out { padding: 8px 12px; }
}

/* no-overflow guards (2026-11-17): grid columns may shrink below their content; long labels shorten with "…" */
@media (min-width: 900px) { .calc-box .calc-body { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); } .calc-box .calc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc-box .calc-body > *, .calc-box .sl, .calc-box .sl-top, .calc-box .calc-out { min-width: 0; }
.calc-box .sl-top label { min-width: 0; }
.calc-box .bill dt { min-width: 0; }
.calc-box .bill dd { white-space: nowrap; }
.tiers { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.tier, .tier .chips-row { min-width: 0; }

/* phone (2026-11-17): the CardSum menu stays at the top while scrolling (slimmer); the bottom bar is just Apply + share icons */
@media (max-width: 760px) {
  .topbar { position: sticky; top: 0; z-index: 10; }
  .topbar-inner { padding-top: 4px; padding-bottom: 2px; row-gap: 0; }
  .nav a { min-height: 40px; padding: 8px 10px; }
  .sticky-apply .sticky-thumb, .sticky-apply .sticky-lang { display: none !important; }
  .sticky-apply .sticky-actions { flex: 1; gap: 10px; }
  .sticky-apply .sticky-actions .btn:first-child { flex: 1; justify-content: center; }
}

/* ---- use the full page width (2026-11-17): form on the left, a helpful panel on the right ---- */
.page-split { display: grid; gap: 18px; align-items: start; }
.page-split > * { min-width: 0; }
.page-split .elig, .page-split #eligOut, .page-split .cibil { max-width: none; }
.page-split #eligOut { margin-top: 0; }
@media (min-width: 980px) {
  .page-split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; }
  .page-split > :last-child { position: sticky; top: calc(var(--tb-h, 72px) + 12px); }
  .page-split #eligOut .cibil, .page-split #eligOut > :first-child { margin-top: 0; }
}
.side-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; }
.side-panel h2 { margin: 6px 0 0; font-size: 1.05rem; }
.side-panel h2:first-child { margin-top: 0; }
.aside-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.aside-link > svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.aside-link strong { display: block; }
.aside-link:hover { border-color: var(--accent); transform: translateX(3px); }
/* fine print guide: two columns of check cards on wide screens */
.checklist { max-width: none; }
@media (min-width: 900px) { .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
/* compare: 2 pickers to start, + adds up to 4 */
.slots { grid-template-columns: 1fr; }
@media (min-width: 760px) { .slots { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); } }
.slots select { min-width: 0; }
.slot-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1.5px dashed var(--accent); border-radius: 10px;
  background: transparent; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; transition: background .2s; }
.slot-add b { font-size: 1.25rem; line-height: 1; }
.slot-add:hover { background: var(--accent-soft); }

/* ---------- hover effects (2026-11-17). Desktop mouse only; phones and "reduce motion" users get none ---------- */
.tier .chips-row { max-height: none; overflow: visible; }
@media (hover: hover) and (pointer: fine) {
  /* 1. Cards list: tile lifts, card picture tilts towards the mouse (angles set by app.js) */
  .tile { transition: transform .25s ease, box-shadow .25s ease; }
  .tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
  .tile-link { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .15s ease-out; }

  /* 2. Cashback tiles: the bar glows and thickens, the % grows a touch, the limit line darkens */
  .tier { transition: transform .2s ease, box-shadow .2s ease; }
  .tier:hover { transform: translateY(-2px); box-shadow: 0 8px 22px color-mix(in srgb, var(--bc) 25%, transparent); }
  .tier .tier-bar { transition: transform .2s ease, box-shadow .2s ease; }
  .tier:hover .tier-bar { transform: scaleY(1.375); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 45%, transparent); }
  .tier .tier-rate { transition: transform .2s ease; transform-origin: left center; }
  .tier:hover .tier-rate { transform: scale(1.06); }
  .tier:hover .tier-note { color: var(--text); }

  /* 3. Compare table: the row under the mouse is highlighted across every card */
  .cmp tbody tr { transition: background .15s; }
  .cmp tbody tr:hover th, .cmp tbody tr:hover td { background: var(--accent-soft); }

  /* 4. Brand chips and logos: a small label with the brand and what it earns */
  .brand-chip { position: relative; }
  .brand-chip { transition: transform .15s ease, box-shadow .15s ease; }
  .brand-chip:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
  
  
  [data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 5; white-space: nowrap;
    background: var(--text); color: var(--bg, #fff); font-size: .8rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; pointer-events: none; }

  /* 5. Apply buttons get a light shine sweep; Share and WhatsApp grow slightly */
  .cta-row a.btn, .sticky-actions a.btn, .apply-cta a.btn { position: relative; overflow: hidden; }
  .cta-row a.btn::after, .sticky-actions a.btn::after, .apply-cta a.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(0) skewX(-20deg); pointer-events: none; }
  .cta-row a.btn:hover::after, .sticky-actions a.btn:hover::after, .apply-cta a.btn:hover::after { transform: translateX(475%) skewX(-20deg); transition: transform .6s ease; }
  .icon-btn { transition: transform .15s ease; }
  .icon-btn:hover { transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .tile:hover, .tier:hover, .brand-chip:hover, .icon-btn:hover { transform: none; }
  .tile-link { transform: none !important; }
  .cta-row a.btn::after, .sticky-actions a.btn::after, .apply-cta a.btn::after { display: none; }
}
/* logos sit at the end of the row, so their label opens leftwards and stays inside the tile */

/* ---- worked-sum receipt: card name on top, CardSum + address at the bottom (travels with screenshots) ---- */
.calc-card { margin: 0 0 4px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.calc-mark { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.calc-mark .brand-mark { width: 16px; height: 16px; flex: none; }
.calc-mark b { color: var(--text); }
.calc-saved { margin-left: 4px; }
.calc-saved[hidden] { display: none; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
/* homepage tile: the visitor's own yearly result, once they have used a calculator */
.spend-pill { display: inline-block; margin: 6px 0 2px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .85rem; }
.spend-pill.loss { background: var(--surface-2); color: var(--bad); }
/* phone header in one row (2026-11-17): logo | menu (swipe sideways) | theme | language. Was two rows, 91px tall */
@media (max-width: 760px) {
  .topbar-inner { flex-wrap: nowrap; gap: 6px; min-height: 52px; }
  .brand { margin-right: 0; flex: none; }
  .nav { order: 0; width: auto; flex: 1 1 auto; min-width: 0; }
  .nav a { min-height: 40px; padding: 8px 9px; }
  .lang, .theme { flex: none; }
}
/* Share my sum: under the receipt, full width; the hint line below it */
.share-sum { width: 100%; justify-content: center; gap: 8px; margin-top: 12px; display: inline-flex; align-items: center; }
.share-sum:disabled { opacity: .6; cursor: progress; }
.share-say { margin: 6px 0 0; }
.share-say[hidden] { display: none; }

/* ---- Best card for me (overall savings calculator, beta) ---- */
.ov-head { max-width: 760px; margin-bottom: 20px; }
.ov-lede { font-size: 1.12rem; margin: 0 0 6px; max-width: 62ch; }
.ov-grid { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; gap: 24px; align-items: start; }
.ov-form, .ov-out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.ov-form h2, .ov-out h2 { margin: 0 0 12px; font-size: 1.15rem; }
.ov-out { position: sticky; top: 84px; }
.ov-check { display: flex; gap: 8px; align-items: center; margin: 12px 0 4px; font-weight: 500; }
.ov-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.ov-total b { color: var(--text); }
.ov-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.ov-empty { padding: 18px; border: 1px dashed var(--line); border-radius: 10px; }
.ov-row { display: grid; grid-template-columns: 32px 72px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.ov-row.top { border-color: var(--accent); background: var(--accent-soft); }
.ov-rank { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--surface-2); }
.ov-row.top .ov-rank { background: var(--accent); color: var(--accent-ink); }
.ov-thumb { width: 72px; height: auto; aspect-ratio: 1.586; object-fit: contain; border-radius: 6px; }
.ov-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ov-name a { color: var(--text); text-decoration: none; }
.ov-name a:hover { text-decoration: underline; }
.ov-best { align-self: flex-start; font-size: .8rem; font-weight: 600; color: var(--accent); }
/* the one bold device: each card's "you keep" drawn as a bar against the best card, so the gap reads at a glance */
.ov-bar { display: block; height: 6px; margin: 4px 0 2px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden; }
.ov-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--s, 0)); background: var(--muted); border-radius: 3px; transition: transform .35s ease; }
.ov-row.top .ov-bar::after { background: var(--accent); }
.ov-calc { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .ov-bar::after { transition: none; } }
.ov-keep { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.ov-keep b { font-size: 1.35rem; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ov-row.top .ov-keep b { color: var(--accent); font-size: 1.6rem; }
.ov-soon a { color: inherit; }
@media (max-width: 860px) {
  .ov-grid { grid-template-columns: 1fr; }
  .ov-out { position: static; }
  .ov-row { grid-template-columns: 28px 1fr auto; }
  .ov-thumb { display: none; }
}
.foot-legal { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.foot-legal a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.foot-legal a:hover { color: var(--accent); }

#cibil-check.flash { animation: cibilFlash 1.4s ease-out; }
@keyframes cibilFlash { 0% { background-color: var(--accent-soft); } 100% { background-color: transparent; } }

/* compare: removable slots, only-differences toggle, equal-width aligned columns */
.slot { position: relative; display: block; min-width: 0; }
.slot select { width: 100%; }
.slot-rm { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--muted); cursor: pointer; padding: 0; }
.slot-rm:hover { background: var(--accent-soft); color: var(--text); }
.slot-rm svg { width: 14px; height: 14px; }
.diff-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; cursor: pointer; }
.cmp { table-layout: fixed; }
.cmp tbody th { width: 130px; }
.cmp thead th:first-child { width: 130px; }
.cmp thead a { grid-template-rows: auto auto; align-content: start; }
.cmp thead .art-img { width: 100%; max-width: 220px; aspect-ratio: 1.586; }
.cmp thead .art-img img:not(.top) { width: 100%; height: 100%; object-fit: contain; }
.cmp thead th { vertical-align: top; }
.cmp.only-diff tbody tr.same { display: none; }
@media (max-width: 760px) { .cmp { min-width: calc(130px + var(--cols, 2) * 200px); } }
.diff-toggle input { width: 18px; height: 18px; flex: none; margin: 0; }
.diff-toggle span { white-space: nowrap; }
.slot:has(.slot-rm) select { padding-right: 64px; }
.field-err { display: block; min-height: 1.2em; line-height: 1.2; color: #b3261e; font-size: .82rem; font-weight: 500; margin-top: 4px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3261e; }
#contactForm button[type=submit]:disabled { opacity: .45; cursor: not-allowed; }

/* contact: the error line has a reserved slot so showing or hiding it never moves a box */
#contactForm .field-row { align-items: start; }
#contactForm .field { align-content: start; }
#contactForm .field input, #contactForm .field select { height: 54px; box-sizing: border-box; }
#contactForm .field-err { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0; }
/* footer: room for the compare bar; bottom row = © and links on the left, "Made in India" on the right */
body:has(#tray:not([hidden])) .footer { padding-bottom: 140px; }
.foot-bottom { justify-content: flex-start; column-gap: 28px; }
.foot-legal { margin-left: 0; gap: 22px; }
.foot-sign { margin-left: auto; }
@media (max-width: 640px) { .foot-sign { margin-left: 0; width: 100%; } }

/* screen-reader-only text */
.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; }
/* skip to content (keyboard users) */
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* Milestones: one bar (a slider), targets marked on it, rows below. Same ledger look as the fee table. */
.ms-intro { margin: 0 0 14px; max-width: 62ch; }
.ms-spend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 10px; }
.ms-lab { font-weight: 600; }
.ms-out { font-family: var(--display, inherit); font-weight: 800; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
/* The bar: our own track (fill + target notches) under a native range with a transparent track.
   Thumb matches the calculator sliders. --th = thumb width, so fill and notches follow the thumb's centre. */
.ms-bar { --th: 24px; --f: 0; position: relative; padding-bottom: 36px; }
.ms-track { position: absolute; left: 0; right: 0; top: 10px; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--muted) 25%, transparent); }
.ms-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--th) / 2 + (100% - var(--th)) * var(--f)); border-radius: 99px; background: var(--accent); }
.ms-notch { position: absolute; top: -4px; width: 2px; height: 16px; margin-left: -1px; border-radius: 1px; background: var(--text); }
.ms-notch.on { background: var(--surface); }
.ms .ms-range { position: relative; z-index: 1; display: block; width: 100%; height: 28px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; }
.ms-range:focus { outline: none; }
.ms-range::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.ms-range::-moz-range-track { height: 8px; background: transparent; }
.ms-range::-moz-range-progress { background: transparent; }
.ms-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.ms-range::-moz-range-thumb { box-sizing: border-box; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.ms-range::-webkit-slider-thumb { transition: transform .12s ease-out; }
.ms-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.ms-range:active::-moz-range-thumb { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { .ms-range::-webkit-slider-thumb { transition: none; } }
.ms-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.ms-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.ms-scale { position: absolute; left: 0; right: 0; top: 30px; height: 30px; }
.ms .ms-tick { position: absolute; top: 0; transform: translateX(-50%); min-height: 28px; margin: 0; padding: 4px 8px; border: 0; border-radius: 4px; background: none; box-shadow: none; font: inherit; font-size: .85rem; line-height: 1.2; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; cursor: pointer; }
.ms .ms-tick:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.ms .ms-tick.on { color: var(--accent); font-weight: 600; }
.ms .ms-tick:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.ms-end { position: absolute; left: 0; top: 0; padding-top: 4px; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ms-end.r { left: auto; right: 0; }
@media (max-width: 760px) {
  .ms-bar { --th: 28px; padding-bottom: 40px; }
  .ms .ms-range { height: 36px; }
  .ms-track { top: 14px; }
  .ms-notch { top: -5px; height: 18px; }
  .ms-scale { top: 38px; }
  .ms-range::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -10px; }
  .ms-range::-moz-range-thumb { width: 28px; height: 28px; }
}
.ms-live { margin: 0 0 6px; font-weight: 600; }
.ms-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.ms-rows li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.ms-rows li.on { color: var(--text); }
.ms-rows li:last-child { border-bottom: 0; }
.ms-rows strong { display: block; font-weight: 600; }
.ms-rows p { margin: 2px 0 0; font-size: .93rem; max-width: 62ch; }
.ms-get { text-align: right; display: grid; align-content: start; gap: 2px; }
.ms-get b { font-family: var(--display, inherit); font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ms-rows li:not(.on) .ms-get b { font-weight: 700; }
.ms-state { font-size: .85rem; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; justify-content: flex-end; }
.ms-rows li.on .ms-state { color: var(--accent); font-weight: 600; }
.ms-state .ic { width: 14px; height: 14px; }
@media (max-width: 560px) { .ms-rows li { grid-template-columns: 1fr; } .ms-get { text-align: left; } .ms-state { justify-content: flex-start; } }
/* Milestone reached: ring + sparks from the notch (transform/opacity only), yellow flash on the row */
.ms-burst { position: absolute; top: 4px; width: 0; height: 0; pointer-events: none; z-index: 2; }
.ms-burst b { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ms-ring .7s ease-out forwards; }
.ms-burst i { position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0; animation: ms-spark .75s cubic-bezier(.2,.7,.3,1) forwards; }
.ms-burst i:nth-child(3n) { background: #F2C200; }
.ms-burst.big b { animation-duration: .85s; }
@keyframes ms-ring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes ms-spark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) scale(.4); } }
.ms-rows li.pop { animation: ms-flash 1.1s ease-out; }
@keyframes ms-flash { 0% { background: color-mix(in srgb, var(--mark, #FFE45C) 55%, transparent); } 100% { background: transparent; } }
.ms-live mark.pop { display: inline-block; animation: ms-pop .4s ease-out; }
@keyframes ms-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.ms-all { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .ms-rows li.pop, .ms-live mark.pop { animation: none; } }

/* Portrait card picture in the sticky bar: the thumb box is landscape and holds the picture turned sideways,
   so the card keeps its own rounded corners and rotates smoothly from the hero (see startSticky in app.js) */
.sticky-thumb.turn { --th-w: 54px; --th-h: 34px; display: block; position: relative; width: var(--th-w); height: var(--th-h); border-radius: 0; box-shadow: none; flex: none; }
.sticky-thumb.turn img { position: absolute; left: 50%; top: 50%; width: var(--th-h); height: var(--th-w); margin: calc(var(--th-w) / -2) 0 0 calc(var(--th-h) / -2); transform: rotate(-90deg); object-fit: contain; filter: drop-shadow(0 1px 3px rgba(0,0,0,.25)); }
@media (max-width: 760px) { .sticky-thumb.turn { --th-w: 48px; --th-h: 30px; } }

/* phone (bug fix 2026-11-20): the compare tray used to cover the Apply bar. The Apply bar now sits just above the tray
   (--tray-h is set by renderTray in app.js), and the footer keeps room for both */
@media (max-width: 760px) {
  .sticky-apply { bottom: var(--tray-h, 0px); }
  .has-bar body:has(#tray:not([hidden])) .footer { padding-bottom: calc(var(--tray-h, 96px) + 76px); }
  /* audit fix 2026-11-20: tray stays one row on a phone (text wraps beside the buttons), so tray + Apply bar take less screen */
  .tray-inner { flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; }
  .tray-inner > span:first-child { flex: 1; min-width: 0; font-size: .85rem; line-height: 1.3; }
  .tray-actions { flex: none; }
}

/* A1 (2026-11-20): every tap target on a phone is at least 44px tall (padding, not bigger text). Links inside sentences are left as they are */
@media (max-width: 760px) {
  .btn, .nav a, .jump a, .lh-presets button, .tray-actions .btn { min-height: 44px; }
  .foot-legal a, .foot-logo, .pill-link, .bh-tel, .bankhelp li > a, .card-link, .tile h2 a, .hs-table th a,
  .lab-fees-more, .lh-link, .linkish, .ms .ms-tick { min-height: 44px; display: inline-flex; align-items: center; }
  .foot-legal { row-gap: 0; }
  .lh-presets button { min-height: 44px !important; } /* beats the statement theme rule */
}

/* N1 (2026-11-20): phone menu. Was a 94px swipe strip that showed only "Cards".
   Phone: logo | menu button | theme | language; the button opens every page as a list under the header. Desktop is unchanged. */
.menu-btn { display: none; }
@media (max-width: 760px) {
  .brand { margin-right: auto; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; order: 1;
    border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; cursor: pointer; padding: 0; }
  .menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .menu-btn .mb-close, .menu-open .menu-btn .mb-open { display: none; }
  .menu-open .menu-btn .mb-close { display: inline; }
  .theme { order: 2; } #langBtn { order: 3; }
  .lang { min-height: 44px; }
  .topbar-inner { flex-wrap: wrap; }
  .nav { display: none; order: 4; flex: 1 0 100%; width: 100%; flex-direction: column; gap: 2px; overflow: visible; padding: 4px 0 10px; -webkit-mask-image: none; mask-image: none; }
  .menu-open .nav { display: flex; }
  .nav a { min-height: 48px; padding: 10px 14px; border-radius: 12px; font-size: 1rem; color: var(--text); }
  .nav a.active { background: var(--accent-soft); color: var(--accent); }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .menu-open .nav { animation: menuIn .18s ease-out; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* U3 (2026-11-20): the cap note is a button that sets the slider to the cap */
button.sl-cap { border: 0; font: inherit; color: #8a520c; font-size: .8rem; text-align: left; cursor: pointer; border-radius: 8px; min-height: 32px; }
button.sl-cap u { font-weight: 600; text-underline-offset: 2px; }
button.sl-cap:hover u, button.sl-cap:focus-visible u { text-decoration-thickness: 2px; }
@media (max-width: 760px) { button.sl-cap { min-height: 44px; } }

/* tablet / small laptop (2026-11-20): tighter menu so the header stays on one row from about 960px up (it wrapped to two rows below 1,100px; 761-960px still uses two rows) */
@media (min-width: 761px) and (max-width: 1100px) {
  .topbar-inner { gap: 8px; }
  .nav { gap: 0; }
  .nav a { padding: 6px 8px; font-size: .88rem; }
  .brand { margin-right: 4px; }
}

/* Tamil hidden until tamil_live (site_config.json) */
.lang[hidden], .sticky-lang[hidden] { display: none !important; }

/* Header search on every page (2026-11-21): always a field with a placeholder, right after the logo. */
.hsearch { position: relative; flex: 0 1 230px; min-width: 150px; }
.hs-box { position: relative; display: flex; align-items: center; }
.hs-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hs-ico { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
#hsQ { width: 100%; height: 40px; padding: 0 32px 0 36px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--text); font: inherit; font-size: .92rem; -webkit-appearance: none; appearance: none; }
#hsQ::placeholder { color: var(--muted); }
#hsQ:focus { background: var(--surface); border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
#hsQ::-webkit-search-cancel-button { -webkit-appearance: none; }
.hs-key { position: absolute; right: 12px; font: 600 .72rem/1.5 inherit; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 0 6px; pointer-events: none; }
#hsQ:focus ~ .hs-key, #hsQ:not(:placeholder-shown) ~ .hs-key { display: none; }
.hs-list { position: absolute; top: calc(100% + 6px); left: 0; width: max(100%, 360px); max-height: min(70vh, 440px); overflow: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .16); z-index: 30; }
.hs-list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; min-height: 48px; border-radius: 10px; text-decoration: none; color: var(--text); }
.hs-list li[aria-selected="true"] a, .hs-list a:hover { background: var(--accent-soft); }
.hs-list img { width: 48px; height: 30px; object-fit: contain; flex: none; }
.hs-list b { display: block; font-weight: 600; font-size: .93rem; line-height: 1.25; }
.hs-list small { color: var(--muted); font-size: .8rem; }
.hs-pg { width: 48px; display: inline-flex; justify-content: center; color: var(--accent); flex: none; }
.hs-pg svg { width: 20px; height: 20px; }
.hs-none { padding: 10px; color: var(--muted); font-size: .9rem; }
@media (max-width: 1199px) { .hs-key { display: none; } #hsQ { padding-right: 14px; } }
/* one header row on every desktop width: theme button must never drop to a second line */
@media (min-width: 761px) { .topbar-inner { flex-wrap: nowrap; } .nav { flex: 0 1 auto; min-width: 0; } }
@media (min-width: 1024px) { .nav { flex: 0 0 auto; } }
@media (min-width: 761px) {
  .hsearch { flex: 1 1 170px; min-width: 130px; max-width: 200px; }
  .nav { gap: 2px; }
  .nav a { padding: 6px 8px; }
}
/* phone: logo | search field | menu | theme, one row; results drop full-width under the header */
@media (max-width: 760px) {
  .brand { margin-right: 0; }
  .brand-name { display: none; }
  .hsearch { order: 1; flex: 1 1 0; min-width: 0; position: static; }
  .topbar-inner { position: relative; }
  #hsQ { height: 44px; font-size: 1rem; }
  .hs-list { position: fixed; left: 12px; right: 12px; width: auto; top: 60px; max-height: calc(100vh - 80px); }
}
@media (min-width: 400px) and (max-width: 760px) { .brand-name { display: inline; } }

/* review breadcrumb (was a lone "← All cards" link) */
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: .9rem; }
.crumbs li { display: inline-flex; align-items: center; color: var(--muted); min-width: 0; }
.crumbs li + li::before { content: "›"; margin: 0 9px; color: var(--muted); }
.crumbs a { color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { text-decoration: underline; }
.crumb-home { gap: 6px; }
.crumb-home svg { flex: none; margin-top: -2px; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .crumbs a { min-height: 44px; } .crumbs ol { margin-bottom: 6px; } }

/* bank's own logo under the review title, on a white chip so it reads in dark mode too */
.bank-line { margin: 4px 0 10px; }
/* logos differ in shape, so each fits one box (left-aligned) instead of one height: SBI was too big, Axis too small */
.bank-logo { display: block; width: 104px; height: 24px; object-fit: contain; object-position: left center; }
.bank-logo[src*="axis"] { width: 92px; height: 26px; }
/* dark mode (SAM, 2026-11-22: no white box): HDFC's logo has its own blue box, so it stays in colour;
   the others turn white so their dark red/blue text still reads on the near-black page */
:root[data-theme="dark"] .bank-logo:not([src*="hdfc"]) { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bank-logo:not([src*="hdfc"]) { filter: brightness(0) invert(1); } }

/* breadcrumb Home: icon only, the word stays for screen readers */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crumb-home { gap: 0; padding: 0 2px; }
.crumb-home svg { width: 18px; height: 18px; }
/* Best card for me ranking: same hover as the Cards list (row lifts, card picture tilts towards the mouse) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ov-row { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .ov-row:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.10); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
  .ov-row img { transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .15s ease-out; }
  .ov-row:hover img { transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.08); }
}

@media (min-width: 761px) and (max-width: 1100px) { .hsearch { max-width: 170px; min-width: 120px; } }

/* vertical card on its review page: a taller box so it is about as big as a horizontal card (2026-11-22) */
.art-img.art-portrait { aspect-ratio: 1.15; }
