/* Assessivo "Warm Scholar" theme: shared by the homepage and the test intro page. */
:root {
  --bg: #F6F1E7; --bg-alt: #EFE7D9; --surface: #FFFDF8; --text: #1E2A24; --muted: #5C6660; --faint: #7A827C;
  --line: #E6DCCB; --track: #EFE7D9;
  --primary: #1F4D3F; --primary-hover: #173B30; --on-primary: #F6F1E7;
  --accent: #C2643B; --accent-soft: #F3E0D3; --ok: #2E7D5B; --ok-soft: #E3F1E9;
  --c-fluid: #1F6B52; --c-logical: #3A5A8C; --c-spatial: #7A4E8C; --c-numerical: #C2643B;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 18px; --shadow: 0 20px 50px rgba(60, 40, 20, .10); --shadow-sm: 0 2px 10px rgba(60, 40, 20, .06);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; color: var(--muted); }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: var(--on-primary); padding: 12px 20px; z-index: 100; }
.skip-link:focus { left: 0; }
.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; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; border: 0;
  background: var(--primary); color: var(--on-primary); font: 600 15px var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 77, 63, .22); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--on-primary); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
header.site.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(60, 40, 20, .06); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 600 21px var(--display); text-decoration: none; color: var(--text); }
.wordmark .mark { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); box-shadow: inset 0 0 0 6px var(--primary), inset 0 0 0 9px var(--bg); transition: transform .5s var(--ease); }
.wordmark:hover .mark { transform: rotate(180deg) scale(1.08); }
nav.primary { display: flex; align-items: center; gap: 30px; }
nav.primary .navlink { position: relative; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); padding: 4px 0; }
nav.primary .navlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
nav.primary .navlink:hover { color: var(--text); }
nav.primary .navlink:hover::after { transform: scaleX(1); }
nav.primary .btn { padding: 10px 18px; font-size: 14px; }
#nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; }
@media (max-width: 860px) {
  nav.primary { position: fixed; left: 0; right: 0; top: calc(72px + env(safe-area-inset-top, 0px)); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
  nav.primary .navlink { padding: 14px 0; border-bottom: 1px solid var(--line); }
  nav.primary .navlink::after { display: none; }
  nav.primary .btn { margin-top: 16px; justify-content: center; }
  #nav-toggle:checked ~ .wrap nav.primary { opacity: 1; pointer-events: auto; transform: none; }
  .nav-toggle-label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font: 500 14px var(--sans); cursor: pointer; background: var(--surface); }
}

header.site .back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; }
header.site .back:hover { color: var(--text); }

/* Footer */
footer.site { background: var(--text); color: #D9DED9; padding: 64px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
footer.site .wordmark { color: #F6F1E7; }
footer.site .wordmark .mark { background: var(--accent); box-shadow: inset 0 0 0 6px var(--accent), inset 0 0 0 9px var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid h4 { font: 600 12px var(--sans); letter-spacing: .1em; color: #8F9A93; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a { text-decoration: none; color: #D9DED9; transition: color .2s; }
.footer-grid a:hover { color: #F3C3A9; }
.footer-grid .muted { color: #8F9A93; }
footer .brand p { font-size: 14px; margin-top: 10px; color: #A9B2AC; }
footer .social { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
footer .social li { margin: 0; }
footer .social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); color: #D9DED9; transition: color .2s, border-color .2s; }
footer .social a:hover, footer .social a:focus-visible { color: #F3C3A9; border-color: #F3C3A9; }
footer .social svg { fill: currentColor; }
.footer-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8F9A93; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid .brand { grid-column: 1 / -1; } }

/* Scroll reveal: elements start hidden only when JS has marked the page ready, so no-JS visitors see everything. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Content pages (about, contact, legal) */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 56px; text-align: center; }
.page-hero::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 640px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, #EBD9C2 0%, rgba(235, 217, 194, 0) 55%); pointer-events: none; }
.page-hero .wrap { position: relative; max-width: 760px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.02em; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p { font-size: 18px; max-width: 56ch; margin: 0 auto; }
.page-hero .updated { margin-top: 14px; font-size: 13.5px; color: var(--faint); }
.page-body { padding: 0 0 96px; }
.page-body .wrap { max-width: 820px; }
.prose-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); padding: 44px 48px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 17px var(--sans); margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a:not(.btn) { color: var(--primary); font-weight: 500; text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent); text-underline-offset: 3px; }
.prose a:not(.btn):hover { text-decoration-color: var(--primary); }
.toc { background: var(--bg); border-radius: 14px; padding: 18px 22px; margin-bottom: 36px; }
.toc b { display: block; font-size: 12px; letter-spacing: .1em; color: var(--faint); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { font-size: 14.5px; margin-bottom: 4px; break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--primary); }
.note-box { background: var(--accent-soft); border-radius: 14px; padding: 16px 20px; margin: 20px 0; color: var(--text); font-size: 15px; }
@media (max-width: 640px) {
  .page-hero { padding: 44px 0 36px; }
  .prose-card { padding: 26px 20px; border-radius: 18px; }
  .toc ol { columns: 1; }
  .page-body { padding-bottom: 64px; }
}

/* Blog: breadcrumbs, category tags, post cards and "Keep reading" */
.cat-scores { --cat: var(--primary); } .cat-understanding { --cat: var(--c-logical); }
.cat-tests { --cat: var(--c-spatial); } .cat-practice { --cat: var(--accent); } .cat-famous { --cat: #8A6A12; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--faint); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--primary); text-decoration: underline; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 18px !important; font-size: 14px !important; color: var(--faint); }
.cat-tag { display: inline-block; font-size: 12.5px; font-weight: 600; text-decoration: none; color: var(--cat); background: color-mix(in srgb, var(--cat) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--cat) 30%, transparent); border-radius: 99px; padding: 4px 12px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-img { display: block; aspect-ratio: 1200 / 630; background: var(--bg-alt); overflow: hidden; }
.pc-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.04); }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pc-cat { font-size: 12px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cat) !important; margin-bottom: 8px !important; }
.post-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card h3 a:focus-visible { outline: none; } .post-card:focus-within { outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent); outline-offset: 2px; }
.pc-ex { font-size: 14.5px !important; line-height: 1.6 !important; color: var(--muted); margin-bottom: 12px !important; }
.pc-meta { margin-top: auto !important; font-size: 13px !important; color: var(--faint); }
.related { max-width: 1060px; margin: 0 auto; padding: 0 24px 96px; }
.related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.related-head h2 { font-size: 26px; }
.related-head a { color: var(--primary); font-weight: 600; font-size: 15px; text-decoration: none; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .related-grid { grid-template-columns: minmax(0, 1fr); } .related { padding: 0 16px 64px; } }

/* Blog article building blocks (posts wrap their card in .article) */
.article .answer { background: var(--bg); border-left: 4px solid var(--primary); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 0 0 28px; }
.article .answer p { color: var(--text); }
.article .table-wrap { overflow-x: auto; margin: 20px 0 8px; border: 1px solid var(--line); border-radius: 14px; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article th, .article td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.article th { background: var(--bg); color: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .03em; }
.article tr:last-child td { border-bottom: 0; }
.article td:first-child { color: var(--text); font-weight: 600; }
.article .caption { font-size: 13.5px; color: var(--faint); margin-top: 8px; }
.article .cta-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--primary); border-radius: 18px; padding: 24px 28px; margin: 32px 0; }
.article .cta-box b { display: block; font: 600 21px/1.25 var(--display); color: var(--on-primary); margin-bottom: 4px; }
.article .cta-box span { color: color-mix(in srgb, var(--on-primary) 78%, transparent); font-size: 15px; }
.article .cta-box .btn, .article .cta-end .btn { background: var(--accent); }
.article .cta-box .btn:hover, .article .cta-end .btn:hover { background: #A9532F; }
.article .faq-list details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.article .faq-list summary { cursor: pointer; font-weight: 600; color: var(--text); }
.article .faq-list details p { margin-top: 8px; }
.article ul.sources li { font-size: 14px; line-height: 1.6; }
.article .cta-end { text-align: center; background: var(--primary); border-radius: 18px; padding: 36px 28px; margin-top: 36px; }
.article .cta-end h2 { color: var(--on-primary); margin: 0 0 10px; }
.article .cta-end p { color: color-mix(in srgb, var(--on-primary) 78%, transparent); max-width: 50ch; margin: 0 auto 22px; }
@media (max-width: 640px) { .article .cta-box { padding: 22px; } .article th, .article td { padding: 10px 12px; } .article table { font-size: 14px; } }

/* "Look up any IQ score" box (includes/score-lookup.php) */
.lookup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow-sm); padding: 34px 38px; position: relative; overflow: hidden; }
.lookup::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--accent-soft); opacity: .6; pointer-events: none; }
.lookup > * { position: relative; }
.lookup h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 8px; }
.lookup-copy p:not(.eyebrow) { font-size: 16px; line-height: 1.6; }
.lookup-row { display: flex; gap: 10px; }
.lookup-row input { flex: 1; min-width: 0; font: 600 22px var(--display); color: var(--text); background: var(--bg); border: 2px solid var(--line); border-radius: 12px; padding: 10px 16px;
  transition: border-color .2s; -moz-appearance: textfield; }
.lookup-row input::-webkit-outer-spin-button, .lookup-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lookup-row input:focus { outline: none; border-color: var(--primary); }
.lookup-row input.bad { border-color: var(--accent); animation: lkShake .35s; }
@keyframes lkShake { 25%, 75% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
.lookup-msg { min-height: 1.4em; margin: 8px 2px 4px; font-size: 14px; color: var(--accent); }
.lookup-msg a { color: var(--primary); font-weight: 600; }
.lookup-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--faint); }
.lookup-pop a { font-weight: 600; color: var(--primary); text-decoration: none; background: var(--bg); border-radius: 99px; padding: 5px 12px; transition: background .2s, color .2s; }
.lookup-pop a:hover { background: var(--primary); color: var(--on-primary); }
@media (max-width: 760px) {
  .lookup { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 20px; }
  .lookup-row { flex-direction: column; } .lookup-row .btn { justify-content: center; }
}
.section.lookup-sec { padding: 64px 0 0; }
@media (max-width: 760px) { .section.lookup-sec { padding-top: 44px; } }

.post-meta .byline { font-size: 13px; color: var(--faint); }
.post-meta .policy-link { font-size: 13px; color: var(--faint); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.post-meta .policy-link:hover { color: var(--primary); }

/* Article outline. Blog posts opt in with $page['outline']; assets/js/outline.js moves the page's
   "On this page" list into a sticky card on the right (wide screens) or a current-section bar (narrow). */
.has-outline .page-body .prose-card .toc { display: none; }
.outline, .outline-m { display: none; }
/* html already pads anchor jumps for the site header; narrow screens add room for the outline bar */
.has-outline .page-body [id] { scroll-margin-top: 64px; }
.outline .toc { background: none; padding: 0; margin: 0; border-radius: 0; }
.outline .toc > b { display: none; }
.outline .toc ol { list-style: none; columns: 1; padding: 0; margin: 0; counter-reset: ol; display: grid; gap: 2px; }
.outline .toc li { counter-increment: ol; margin: 0; }
.outline .toc a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px; font-size: 14px; line-height: 1.4; color: var(--muted); padding: 7px 8px; border-radius: 10px; transition: background .2s, color .2s; }
.outline .toc a::before { content: counter(ol, decimal-leading-zero); font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; padding-top: 1px; }
.outline .toc a:hover { background: var(--bg); color: var(--text); }
.outline .toc a.done { color: var(--faint); }
.outline .toc a.on { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.outline .toc a.on::before { color: var(--accent); }
.outline-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 4px 10px; }
.outline-top b { font-size: 11.5px; letter-spacing: .12em; color: var(--faint); }
.outline-top span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.outline-bar, .outline-mbar { height: 4px; border-radius: 4px; background: var(--bg-alt); overflow: hidden; }
.outline-bar { margin: 0 4px 12px; }
.outline-bar i, .outline-mbar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .15s linear; }
@media (min-width: 1100px) {
  .has-outline .page-body .wrap { max-width: 1140px; padding-right: 320px; position: relative; }
  .has-outline .page-body [id] { scroll-margin-top: 0; }
  .outline { display: block; position: absolute; top: 0; bottom: 0; right: 24px; width: 268px; }
  .outline-card { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 14px 14px; box-shadow: var(--shadow-sm); }
}
@media (max-width: 1099px) {
  .outline-m { display: block; position: sticky; top: var(--outline-top, 72px); z-index: 15; margin: 0 0 16px; }
  .outline-cur { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; font: 600 14.5px var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 0 0; padding: 10px 14px; cursor: pointer; box-shadow: var(--shadow-sm); }
  .outline-cur small { display: block; font-weight: 500; font-size: 11px; color: var(--faint); letter-spacing: .1em; }
  .outline-cur > i { font-style: normal; color: var(--accent); transition: transform .2s; }
  .outline-cur[aria-expanded="true"] > i { transform: rotate(180deg); }
  .outline-mbar { border-radius: 0 0 4px 4px; height: 3px; }
  .outline-drop { margin-top: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); max-height: 60vh; overflow: auto; }
  .outline-drop a { display: block; padding: 10px 10px; border-radius: 9px; text-decoration: none; color: var(--muted); font-size: 15px; line-height: 1.35; }
  .outline-drop a.on { background: var(--accent-soft); color: var(--text); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) { .outline .toc a, .outline-bar i, .outline-mbar i, .outline-cur > i { transition: none; } }
/* "Back to your result" strip on score pages (includes/result-return.php) */
.rr { position: sticky; z-index: 19; top: 72px; background: var(--ok-soft); border-bottom: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); }
.rr[hidden] { display: none; }
.rr-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 9px max(24px, env(safe-area-inset-right, 0px)) 9px max(24px, env(safe-area-inset-left, 0px)); font-size: 14px; }
.rr-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); text-decoration: none; }
.rr-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.rr-info { margin-left: auto; color: var(--muted); white-space: nowrap; }
.rr-info b { color: var(--text); font-weight: 600; }
.rr-x { flex: none; background: none; border: 0; color: var(--faint); font-size: 20px; line-height: 1; padding: 2px 4px; cursor: pointer; }
.rr-x:hover { color: var(--text); }
@media (max-width: 640px) { .rr-in { padding: 8px 16px; } .rr-info { display: none; } .rr-x { margin-left: auto; } }
@media (prefers-reduced-motion: no-preference) { .rr:not([hidden]) { animation: rrIn .4s var(--ease); } @keyframes rrIn { from { opacity: 0; transform: translateY(-8px); } } }
