/* ==========================================================================
   Open Shelf — "Gen-Z" theme layer (loaded after app.css)
   Neo-brutalist: cream paper, thick ink outlines, hard offset shadows,
   acid-lime highlights, hot pink + electric blue pops, stickers and tickers.
   ========================================================================== */
:root {
  --lime: #c8ff3d;
  --pink: #ff5fc8;
  --blue: #4d5bff;
  --sun: #ffd23f;
  --pk: #01411c;
  --mint: #3ddc97;
  --bw: 2.5px;
  --font-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --font-body: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, Consolas, monospace;
  --font-urdu: 'Noto Nastaliq Urdu', serif;
  --radius: 22px;
  --radius-sm: 14px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fff4e0;
  --bg-2: #ffe8bf;
  --bg-3: #ffdca0;
  --surface: #fffaf0;
  --surface-2: #ffffff;
  --surface-solid: #fffdf7;
  --line: rgba(18, 18, 18, .14);
  --line-2: rgba(18, 18, 18, .3);
  --text: #121212;
  --text-2: #2c2a27;
  --muted: #5f5850;
  --edge: #121212;
  --shade: #121212;
  --on-accent: #121212;
  --good: #079b55;
  --warn: #c67600;
  --bad: #e1264b;
  --shadow: 8px 8px 0 #121212;
  --spot: transparent;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111111;
  --bg-2: #191919;
  --bg-3: #222222;
  --surface: #1b1b1b;
  --surface-2: #262626;
  --surface-solid: #1b1b1b;
  --line: rgba(255, 244, 224, .14);
  --line-2: rgba(255, 244, 224, .3);
  --text: #fff4e0;
  --text-2: #e7dcc8;
  --muted: #a89f92;
  --edge: #fff4e0;
  --shade: var(--accent);
  --on-accent: #121212;
  --good: #3ddc97;
  --warn: #ffd23f;
  --bad: #ff5a7a;
  --shadow: 8px 8px 0 var(--accent);
  --spot: transparent;
}

body { font-family: var(--font-body); font-weight: 500; letter-spacing: -.005em; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px); background-size: 26px 26px; }
.grain, .spotlight { display: none; }
#sky { opacity: .55; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.045em; }
::selection { background: var(--pink); color: #121212; }

/* Highlighter words instead of serif italics */
em, .serif-i { font-family: var(--font-display); font-style: normal; font-weight: 800; }
h1 em, h2 em, .hero h1 em, .modal h2 em, .console-head h1 em {
  color: var(--on-accent); background: var(--accent); padding: 0 .16em; border-radius: .18em; display: inline-block;
  transform: rotate(-1.6deg); box-shadow: 4px 4px 0 var(--edge); border: var(--bw) solid var(--edge); line-height: 1.02; margin: .04em 0;
}
.grad-text, h1 .grad-text, h2 .grad-text {
  background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--pink);
  text-decoration: underline wavy var(--blue) 3px; text-underline-offset: .14em; text-decoration-skip-ink: none;
}
h1 em.grad-text, h2 em.grad-text { color: #121212; background: var(--pink); text-decoration: none; transform: rotate(1.4deg); }
.urdu { font-family: var(--font-urdu); direction: rtl; font-weight: 400; letter-spacing: 0; }

/* ---------- top bar ---------- */
.topbar.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: var(--bw) solid var(--edge); backdrop-filter: blur(10px); }
.brand { font-weight: 800; font-size: 21px; letter-spacing: -.05em; }
.brand-mark span { border: 2px solid var(--edge); width: 9px; border-radius: 3px; }
.brand-mark span:nth-child(1) { background: var(--accent); }
.brand-mark span:nth-child(2) { background: var(--pink); }
.brand-mark span:nth-child(3) { background: var(--blue); }
.nav a { font-weight: 700; color: var(--text-2); border: var(--bw) solid transparent; }
.nav a:hover { color: var(--text); border-color: var(--edge); }
.nav a.active { background: var(--accent); color: var(--on-accent); border-color: var(--edge); box-shadow: 3px 3px 0 var(--shade); }
.icon-btn, .shelf-target { border: var(--bw) solid var(--edge); background: var(--surface-2); box-shadow: 3px 3px 0 var(--shade); color: var(--text); }
.icon-btn:hover { transform: rotate(-8deg) translate(-1px, -1px); border-color: var(--edge); }
.credit-pill { background: var(--sun); color: #121212; border: var(--bw) solid var(--edge); box-shadow: 3px 3px 0 var(--shade); font-weight: 800; }
.credit-pill .pill-label { color: #3a3226; }
.coin { background: #fff; border: 2px solid #121212; color: #121212; box-shadow: none; }
.avatar { background: var(--pink); color: #121212; border: var(--bw) solid var(--edge); box-shadow: 3px 3px 0 var(--shade); }
.badge { background: var(--pink); color: #121212; border: 2px solid var(--edge); }
.popover { border: var(--bw) solid var(--edge); box-shadow: 6px 6px 0 var(--shade); border-radius: 18px; }

/* ---------- buttons ---------- */
.btn { border: var(--bw) solid var(--edge); font-weight: 800; letter-spacing: 0; box-shadow: 4px 4px 0 var(--shade); transition: transform .15s, box-shadow .15s, background .2s, color .2s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shade); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--shade); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary::after { display: none; }
.btn-primary:hover { box-shadow: 6px 6px 0 var(--shade); }
.btn-ghost { background: var(--surface-2); color: var(--text); backdrop-filter: none; }
.btn-ghost:hover { color: var(--text); border-color: var(--edge); background: var(--pink); color: #121212; }
.btn-soft { background: var(--sun); color: #121212; }
.btn-soft:hover { background: var(--sun); }
.btn-danger { background: var(--bad); color: #fff; border-color: var(--edge); }
.magnetic { transition: transform .15s; }
.link { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:root[data-theme="dark"] .link { color: var(--accent); }

/* ---------- common bits ---------- */
.eyebrow { border: var(--bw) solid var(--edge); background: var(--sun); color: #121212; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; box-shadow: 3px 3px 0 var(--shade); transform: rotate(-1.5deg); backdrop-filter: none; }
.pulse-dot { background: var(--pk); box-shadow: 0 0 0 0 var(--pk); }
.card { background: var(--surface); border: var(--bw) solid var(--edge); box-shadow: 6px 6px 0 var(--shade); backdrop-filter: none; }
.chip { border: var(--bw) solid var(--edge); background: var(--surface-2); color: var(--text); font-weight: 700; }
.chip:hover { background: var(--sun); color: #121212; transform: rotate(-2deg); }
.chip.active { background: var(--blue); color: #fff; border-color: var(--edge); box-shadow: 3px 3px 0 var(--shade); }
.tag { border: 2px solid var(--edge); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0; }
.tag-good { background: var(--mint); color: #0b2a1c; }
.tag-warn { background: var(--sun); color: #3a2a00; }
.tag-bad { background: #ff8aa0; color: #3a0010; }
.tag-info { background: #b7bdff; color: #10164d; }
.tag-mute { background: var(--surface-2); color: var(--text); }
:root[data-theme="light"] .tag-good { color: #0b2a1c; }
:root[data-theme="light"] .tag-warn { color: #3a2a00; }
.stars { color: #ff9d00; }
.section-head h2, .page-head h1 { letter-spacing: -.05em; }
.section-head p, .page-head p { color: var(--text-2); }

/* stickers + tickers (new in this theme) */
.sticker { position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: var(--bw) solid #121212; box-shadow: 4px 4px 0 #121212; font-weight: 800; font-size: 15px; color: #121212; white-space: nowrap; animation: wiggle 5s ease-in-out infinite; }
.sticker.s-lime { background: var(--lime); } .sticker.s-pink { background: var(--pink); } .sticker.s-blue { background: var(--blue); color: #fff; } .sticker.s-sun { background: var(--sun); }
.sticker.urdu-sticker { font-family: var(--font-urdu); font-size: 26px; font-weight: 700; padding: 2px 22px 14px; border-radius: 18px; background: var(--pk); color: #fff; line-height: 2.2; }
@keyframes wiggle { 0%, 100% { transform: rotate(var(--r, -6deg)); } 50% { transform: rotate(calc(var(--r, -6deg) + 5deg)) translateY(-6px); } }
.ticker { position: relative; z-index: 3; overflow: hidden; background: var(--accent); color: var(--on-accent); border-block: var(--bw) solid var(--edge); transform: rotate(-1.2deg); margin: 30px -20px; }
.ticker.alt { background: var(--pink); color: #121212; transform: rotate(1deg); margin-top: -18px; }
.ticker-track { display: flex; gap: 34px; width: max-content; padding: 14px 0; animation: marquee 28s linear infinite; font-weight: 800; font-size: clamp(18px, 2.4vw, 28px); text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.ticker.alt .ticker-track { animation-direction: reverse; animation-duration: 34s; }
.ticker-track span::after { content: '✺'; margin-left: 34px; }

/* ---------- covers ---------- */
.cover { border: var(--bw) solid var(--edge); border-radius: 6px 12px 12px 6px; box-shadow: 5px 5px 0 var(--shade); }
.cover::before { background: linear-gradient(90deg, rgba(0, 0, 0, .22) 0, rgba(255, 255, 255, .18) 3%, transparent 8%); }
.cover .gen { background: radial-gradient(circle at 85% 8%, rgba(255, 255, 255, .25), transparent 35%), linear-gradient(160deg, var(--c1), var(--c2)); }
.cover .gen b { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; }
.cover .gen small { font-family: var(--font-mono); }
.cover .gen .urdu { font-size: clamp(18px, 2.2vw, 30px); line-height: 2; text-align: right; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.book3d .front .cover { border: 0; box-shadow: none; }

/* ---------- hero ---------- */
.hero h1 { font-size: clamp(56px, 8.4vw, 124px); line-height: .92; letter-spacing: -.06em; }
.hero h1 em { color: #121212; }
.hero-sub { color: var(--text-2); font-size: clamp(17px, 1.5vw, 21px); }
.hero-sub b { background: var(--sun); color: #121212; padding: 0 6px; border-radius: 6px; }
.hero-stats div { padding: 12px 18px; border: var(--bw) solid var(--edge); border-radius: 16px; background: var(--surface-2); box-shadow: 4px 4px 0 var(--shade); }
.hero-stats div:nth-child(2) { transform: rotate(2deg); background: var(--sun); color: #121212; }
.hero-stats div:nth-child(2) span { color: #3a3226; }
.hero-stats div:nth-child(3) { transform: rotate(-2deg); }
.hero-stats b { font-family: var(--font-display); font-weight: 800; }
.roman { font-family: var(--font-mono); font-size: 15px; color: var(--text-2); }
.orb { filter: none; opacity: 1; border: var(--bw) solid var(--edge); animation: blob 12s ease-in-out infinite alternate; }
.orb.a { background: var(--accent); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; width: 300px; height: 300px; }
.orb.b { background: var(--pink); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; width: 240px; height: 240px; }
.orb.c { background: var(--blue); opacity: 1; border-radius: 50%; width: 120px; height: 120px; }
@keyframes blob { to { transform: translate(30px, -20px) rotate(25deg) scale(1.08); } }
.ring { border: 2.5px dashed var(--edge); opacity: .35; }
.float-card { border: var(--bw) solid var(--edge); box-shadow: 5px 5px 0 var(--shade); background: var(--surface-2); backdrop-filter: none; font-weight: 700; }
.float-card .fc-ico { background: var(--sun); border: 2px solid var(--edge); }
.scroll-hint i { border-color: var(--edge); border-width: 2.5px; }

/* ---------- marquee / sections ---------- */
.marquee { border-block: var(--bw) solid var(--edge); background: var(--bg-2); mask-image: none; }
.marquee .cover:hover { transform: translateY(-10px) rotate(-4deg) scale(1.06); }
.step { background: var(--surface); }
.step:nth-child(2) { background: var(--accent); color: var(--on-accent); }
.step:nth-child(3) { background: var(--pink); color: #121212; transform: rotate(1deg); }
.step:nth-child(4) { background: #b7bdff; color: #121212; transform: rotate(-1deg); }
.step:nth-child(n+2) p { color: #2c2a27; }
.step:hover { transform: translate(-3px, -3px) rotate(0); box-shadow: 10px 10px 0 var(--shade); }
.step-num { -webkit-text-stroke: 2px currentColor; opacity: .35; font-family: var(--font-display); font-style: normal; font-weight: 800; }
.step-ico { background: var(--surface-2); border: var(--bw) solid var(--edge); color: #121212; }
.steps-line path { stroke: var(--edge); stroke-width: 3; }
.tile { justify-content: flex-end; }
.tile:nth-child(2) { background: var(--sun); color: #121212; }
.tile:nth-child(3) { background: #b7bdff; color: #121212; }
.tile:nth-child(5) { background: var(--accent); color: var(--on-accent); }
.tile:nth-child(2) p, .tile:nth-child(3) p, .tile:nth-child(5) p { color: #2c2a27; }
.tile::after { display: none; }
.tile:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--shade); }
.mini-queue span { border: 2px solid #121212; }
.mini-chart i { background: var(--pink); border: 2px solid #121212; }
.phone { border: var(--bw) solid #121212; background: #fff; }
.phone i:first-child { background: var(--pink); }
.phone i { background: #eee; border: 2px solid #121212; }
.feature { border: var(--bw) solid transparent; }
.feature:hover { background: var(--surface-2); border-color: var(--edge); box-shadow: 5px 5px 0 var(--shade); }
.feature .f-ico { border: var(--bw) solid var(--edge); background: var(--sun); }
.terminal { border: var(--bw) solid var(--edge); box-shadow: 10px 10px 0 var(--pink); transform: rotate(1.5deg); }
.terminal:hover { transform: rotate(0); }
.logos span { border: 2px dashed var(--edge); color: var(--text); font-weight: 800; }
.plan.featured { background: var(--accent); color: var(--on-accent); transform: rotate(-1deg); }
.plan.featured .muted, .plan.featured .price small, .plan.featured ul { color: #2c2a27; }
.plan .price { font-family: var(--font-display); font-weight: 800; }
.plan li::before { content: '✔'; color: var(--good); }
.plan.featured li::before { color: #121212; }
.cta-band { background: var(--blue); color: #fff; border: var(--bw) solid var(--edge); box-shadow: 10px 10px 0 var(--shade); }
.cta-band h2 em { color: #121212; }
.footer { border-top: var(--bw) solid var(--edge); color: var(--text-2); font-weight: 600; }

/* ---------- browse ---------- */
.filters { background: linear-gradient(var(--bg) 78%, transparent); }
.search, .select { border: var(--bw) solid var(--edge); background-color: var(--surface-2); box-shadow: 4px 4px 0 var(--shade); backdrop-filter: none; }
.search:focus-within { border-color: var(--edge); box-shadow: 4px 4px 0 var(--pink); }
.search kbd { border: 2px solid var(--edge); color: var(--text); font-family: var(--font-mono); }
.toggle input { border: var(--bw) solid var(--edge); background: var(--surface-2); }
.toggle input::after { background: var(--edge); }
.toggle input:checked { background: var(--accent); border-color: var(--edge); }
.toggle input:checked::after { background: #121212; }
.book-card:hover .cover { box-shadow: 9px 9px 0 var(--shade); }
.card-badges .tag { backdrop-filter: none; }
.quick { border: var(--bw) solid var(--edge); background: var(--surface-2); color: var(--text); box-shadow: 3px 3px 0 var(--shade); }
.quick:hover { background: var(--accent); color: var(--on-accent); border-color: var(--edge); transform: translate(-1px, -1px); }
.quick.on { background: var(--mint); color: #0b2a1c; border-color: var(--edge); }
.card-meta h3 { font-weight: 800; letter-spacing: -.035em; }
.skeleton { border: 2px solid var(--line); }

/* ---------- modal & forms ---------- */
.modal-backdrop { background: rgba(18, 18, 18, .45); backdrop-filter: blur(3px); }
.modal { border: var(--bw) solid var(--edge); box-shadow: 10px 10px 0 var(--shade); border-radius: 26px; }
.modal-close { border: var(--bw) solid var(--edge); color: var(--text); background: var(--sun); color: #121212; }
.field input, .field select, .field textarea { border: var(--bw) solid var(--edge); background: var(--surface-2); border-radius: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--edge); box-shadow: 4px 4px 0 var(--pink); }
.seg { border: var(--bw) solid var(--edge); background: var(--surface-2); }
.seg .seg-pill { background: var(--accent); border: 2px solid var(--edge); }
.seg button.active { color: var(--on-accent); }
.pw-meter { border: 2px solid var(--edge); height: 8px; }
.copies { border: var(--bw) solid var(--edge); background: var(--surface-2); }
.copies-bar i { background: var(--mint); border: 2px solid var(--edge); height: 12px; }
.copies-bar i.out { background: var(--surface); }
.detail-stage::before { filter: none; opacity: 1; border: var(--bw) solid var(--edge); background: var(--pink); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; width: 280px; height: 280px; }
.review { border: var(--bw) solid var(--edge); background: var(--surface-2); }

/* ---------- shelf ---------- */
.wallet { background: var(--sun); color: #121212; }
.wallet .muted { color: #3a3226; }
.stat:nth-child(1) { background: var(--accent); color: var(--on-accent); }
.stat:nth-child(2) { background: var(--pink); color: #121212; }
.stat:nth-child(3) { background: #b7bdff; color: #121212; }
.stat span { color: #2c2a27; }
.stat b, .wallet-amount b, .kpi b { font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em; }
.loan:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shade); }
.loan h4 { font-family: var(--font-display); font-weight: 800; }
.ring-prog .bg { stroke: var(--line-2); }
.ring-prog .fg { stroke-width: 6; }
.ledger-row { border-bottom: 2px dashed var(--line-2); }

/* ---------- console ---------- */
.side button { border: var(--bw) solid transparent; color: var(--text-2); }
.side button:hover { border-color: var(--edge); background: var(--surface-2); }
.side button.active { background: var(--accent); color: var(--on-accent); border-color: var(--edge); box-shadow: 3px 3px 0 var(--shade); }
.side .side-title { font-family: var(--font-display); font-weight: 800; }
.kpi:nth-child(1) { background: var(--accent); color: var(--on-accent); }
.kpi:nth-child(2) { background: var(--sun); color: #121212; }
.kpi:nth-child(3) { background: #b7bdff; color: #121212; }
.kpi:nth-child(-n+3) span, .kpi:nth-child(-n+3) small { color: #2c2a27 !important; }
.kpi svg polyline { stroke: #121212; }
.table-wrap { border: var(--bw) solid var(--edge); background: var(--surface-2); box-shadow: 6px 6px 0 var(--shade); }
th { color: var(--text); font-family: var(--font-mono); border-bottom: var(--bw) solid var(--edge); background: var(--sun); }
:root[data-theme="dark"] th { color: #121212; }
td { border-bottom: 2px dashed var(--line); }
td .mini { border: 2px solid var(--edge); background: var(--surface-2); color: var(--text); font-weight: 800; }
td .mini:hover { background: var(--accent); color: var(--on-accent); border-color: var(--edge); }
td .mini.danger:hover { background: var(--bad); color: #fff; border-color: var(--edge); }
.bar { border: 2px solid var(--edge); height: 14px; }
.bar i { background: var(--pink); }
.chart-tip { border: var(--bw) solid var(--edge); box-shadow: 4px 4px 0 var(--shade); }
.secret { border: var(--bw) solid var(--edge); }
.swatches button { border: var(--bw) solid var(--edge); box-shadow: 3px 3px 0 var(--shade); }

/* ---------- toasts / tab bar ---------- */
.toast { border: var(--bw) solid var(--edge); box-shadow: 5px 5px 0 var(--shade); font-weight: 700; }
.toast i { background: var(--mint); color: #0b2a1c; border: 2px solid var(--edge); }
.toast.error i { background: #ff8aa0; color: #3a0010; }
@media (max-width: 860px) {
  .tabbar { background: var(--surface-2); border: var(--bw) solid var(--edge); box-shadow: 5px 5px 0 var(--shade); backdrop-filter: none; }
  .tabbar a.active { background: var(--accent); color: var(--on-accent); }
  .sticker { font-size: 12px; padding: 7px 12px; }
  .sticker.urdu-sticker { font-size: 18px; }
  .ticker { margin-inline: -16px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 52px; }
  .hero-stats { gap: 10px; flex-wrap: wrap; }
  .hero-stats div { padding: 8px 12px; }
}
.card-badges .tag.tag-good { background: var(--mint); }
.card-badges .tag.tag-warn { background: var(--sun); }
.card-badges .tag.tag-info { background: #b7bdff; }
.filter-row { padding-right: 6px; }
.nav a, .brand { white-space: nowrap; }

/* --- frontend review fixes --- */
.filters { grid-template-columns: minmax(0, 1fr); }
.filter-row, .chips { min-width: 0; }
.offscreen, .offscreen * { animation-play-state: paused !important; }
.chip small { opacity: 1; }
.chip.active small { color: #fff; }
:root[data-theme="light"] { --good: #04703c; --warn: #9a5c00; --bad: #c4183b; }
.stars { color: #b55f00; }
:root[data-theme="dark"] .stars { color: #ffb02e; }
.kpi svg { width: 40%; height: 34px; opacity: .45; }
@media (max-width: 860px) { .search { min-width: 0; flex-basis: 100%; } }

/* Decorations (slanted tickers, orbit rings, flying pages) may bleed past the edge but must never widen the page. */
html, #app { overflow-x: clip; }

/* --- usability study fixes --- */
.plain-explain { font-size: 16px; color: var(--text-2); max-width: 520px; display: grid; gap: 4px; }
.plain-explain .urdu { font-size: 18px; line-height: 2.1; }
.due-banner { margin: -10px 0 26px; padding: 16px 20px; border: var(--bw) solid var(--edge); border-radius: 16px; background: var(--sun); color: #121212; box-shadow: 4px 4px 0 var(--shade); font-size: 17px; }
.due-banner.late { background: #ff8aa0; }
.due-line { margin-top: 8px; display: inline-block; padding: 4px 10px; border: 2px solid var(--edge); border-radius: 10px; background: var(--sun); color: #121212; font-weight: 800; font-size: 14px; }
.due-line.late { background: #ff8aa0; }
@media (max-width: 860px) {
  #signInBtn { display: inline-flex !important; }
  #signInBtn.hidden { display: none !important; }
  .top-actions .btn.sm { --h: 36px; padding: 0 12px; }
  .hero .scene { order: 1; height: 300px; }
  .page-head { padding: 22px 0 6px; }
  .page-head p { display: none; }
  .page-head h1 { font-size: 38px; }
  .search kbd { display: none; }
  .filters { top: var(--top-h); padding: 8px 0; gap: 8px; }
  .search, .select { height: 46px; }
  .tabbar a { font-size: 12px; }
  .loan { grid-template-columns: 64px 1fr; }
  .loan h4 { font-size: 16px; }
}
@media (max-width: 480px) { #joinBtn { padding: 0 10px; } .brand-name { font-size: 16px; } }
@media (min-width: 861px) { .plain-explain { display: none; } }

/* --- Maverick Technologies credit --- */
.made-by { position: relative; z-index: 2; margin: 0; padding: 18px 16px 28px; text-align: center; font: 600 13px var(--font-body); color: var(--muted); }
.made-by b { color: var(--text); }
.side-credit { display: block; padding: 18px 14px 0; font-size: 12px; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .made-by { padding-bottom: 110px; } .side-credit { display: none; } }
