/* ==========================================================================
   indiarummyapk.com — India Rummy APK app index

   Design: see DESIGN-DIRECTION.md.
   Structure is a declaration (field column + value column), not a card kit.
   One type family inverted: system grotesque for display and data, serif for
   prose. Colour appears only at a verdict. No external requests.
   ========================================================================== */

:root {
    /* Stock and ink */
    --stock: #e3e5de;
    --stock-2: #d9dcd3;
    --sheet: #fcfcf9;
    --sheet-2: #f4f5f0;
    --ink: #161b18;
    --ink-2: #3d4a43;
    /* Muted text on light stock: 4.79:1 on --stock, which clears WCAG AA at
       normal size. The previous #67736c measured 3.89:1 and failed. */
    --ink-3: #59655e;
    /* Muted text on the dark surfaces, where --ink-3 would sit at 3.5:1. */
    --ink-3-dark: #94a198;
    --rule: #bfc5bc;
    --rule-2: #d7dbd3;

    /* Signals — used only at a verdict */
    --label: #1d4b39;
    --label-2: #2a6a51;
    --stamp: #9e2b20;
    --stamp-bg: #f7e8e5;
    --stamp-rule: #d9b3ad;
    --caution: #77540f;
    --caution-bg: #f6efdb;
    --caution-rule: #d8c69a;
    --legal: #1b3f63;
    --legal-bg: #e7edf4;
    --legal-rule: #b9c9dc;
    --ok-bg: #e6eee8;
    --ok-rule: #b6cbbd;

    /* Type */
    --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
            Roboto, "Helvetica Neue", Arial, sans-serif;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
             Georgia, "Times New Roman", serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

    /* Metrics */
    --field: 11.5rem;
    --shell: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --control-radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--stock);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.0625rem;
    line-height: 1.62;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: oldstyle-nums proportional-nums;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a {
    color: var(--label);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-decoration-color: var(--rule);
}
a:hover { color: var(--label-2); text-decoration-color: currentColor; }

strong, b { font-weight: 700; }
small { font-size: .84em; }

/* Machine identifiers keep a mono face because they are literal strings, not
   decorative labels. */
code, kbd, samp, pre { font-family: var(--mono); font-size: .86em; }
code {
    font-variant-numeric: tabular-nums;
    background: var(--sheet-2);
    border: 1px solid var(--rule-2);
    padding: .04em .3em;
    border-radius: 2px;
    overflow-wrap: anywhere;
    color: var(--ink);
}

h1, h2, h3, h4, h5 {
    font-family: var(--sans);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -.028em;
    color: var(--ink);
    margin: 0 0 .48em;
    text-wrap: balance;
    font-variant-numeric: tabular-nums lining-nums;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -.038em; line-height: 1.02; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); letter-spacing: -.03em; }
h3 { font-size: 1.06rem; letter-spacing: -.012em; line-height: 1.25; }
h4 { font-size: .95rem; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--label); color: var(--sheet); }

:focus-visible {
    outline: 2px solid var(--label);
    outline-offset: 2px;
    border-radius: 1px;
}

/* ---------- Shell ---------- */

.r91-shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.r91-main { min-height: 50vh; }

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute !important; word-wrap: normal !important;
}
.r91-skip {
    position: fixed; top: -80px; left: 12px; z-index: 200;
    background: var(--ink); color: var(--sheet);
    font: 650 .9rem/1 var(--sans);
    padding: 12px 16px; border-radius: var(--control-radius);
}
.r91-skip:focus { top: 12px; color: var(--sheet); }

/* ---------- Declaration spine ----------
   The one structural device: a field column right-aligned into a rule, values
   starting on a single optical line. Collapses to key-above-value at 760px. */

.r91-row {
    display: grid;
    grid-template-columns: var(--field) minmax(0, 1fr);
}
.r91-row__k {
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: .005em;
    color: var(--ink-3);
    text-align: right;
    padding: .62em clamp(14px, 2.4vw, 26px) .62em 0;
    border-right: 1px solid var(--rule);
}
.r91-row__v {
    padding: .62em 0 .62em clamp(14px, 2.4vw, 26px);
    font-size: .96rem;
    line-height: 1.45;
    min-width: 0;
}

/* ---------- Header ---------- */

.r91-header {
    position: sticky; top: 0; z-index: 60;
    background: var(--stock);
    border-bottom: 1px solid var(--rule);
}
.r91-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; min-height: 66px;
}
.r91-brand {
    display: inline-flex; align-items: center; gap: 11px;
    color: var(--ink); text-decoration: none;
}
.r91-brand__mark {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    background: var(--label); color: var(--sheet);
    font-family: var(--sans); font-weight: 800; font-size: .95rem;
    letter-spacing: -.05em;
    border-radius: var(--control-radius);
    font-variant-numeric: tabular-nums;
}
.r91-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.r91-brand__text strong {
    font-family: var(--sans); font-size: .95rem; font-weight: 760;
    letter-spacing: -.018em;
}
.r91-brand__text small {
    color: var(--ink-3); font-size: .74rem; margin-top: 2px;
    font-family: var(--serif);
}
.r91-nav__list {
    display: flex; align-items: center; gap: 26px;
    list-style: none; margin: 0; padding: 0;
}
.r91-nav__list a {
    font-family: var(--sans); font-size: .855rem; font-weight: 620;
    color: var(--ink-2); text-decoration: none;
}
.r91-nav__list a:hover { color: var(--label); text-decoration: underline; text-underline-offset: 4px; }
.r91-nav-toggle { display: none; }

/* Age marker: monochrome on purpose. Red in this system means "identity
   conflict", and a legal notice is not a verdict. */
.r91-age {
    margin-left: 2px;
    margin-right: auto;
    padding: 2px 6px;
    border: 1px solid var(--rule);
    border-radius: 2px;
    color: var(--ink-2);
    background: transparent;
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}

/* ---------- Breadcrumb ---------- */

.r91-crumb {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
    font-family: var(--sans); font-size: .76rem; font-weight: 600;
    color: var(--ink-3);
    padding: 14px 0 0;
}
.r91-crumb a { color: var(--ink-3); text-decoration: none; }
.r91-crumb a:hover { color: var(--label); text-decoration: underline; }
.r91-crumb__sep { color: var(--rule); }
.r91-crumb span[aria-current] { color: var(--ink-2); }

/* ---------- Shared primitives ---------- */

.r91-muted { color: var(--ink-3); }
.r91-unknown {
    color: var(--caution);
    font-family: var(--sans);
    font-size: .92em;
    font-weight: 650;
}

.r91-section { padding: clamp(40px, 6vw, 76px) 0; border-top: 1px solid var(--rule); }
.r91-section--tint { background: var(--sheet); }
.r91-section--dark { background: #1e2521; color: var(--stock-2); border-top-color: #1e2521; }
.r91-section--dark h2, .r91-section--dark h3 { color: var(--sheet); }
/* Keep the button's own colours: a bare `a` rule here outranks .r91-btn--light
   and turns it white-on-white. */
.r91-section--dark a:not(.r91-btn) { color: var(--sheet); text-decoration-color: var(--ink-3); }

.r91-section__head {
    display: flex; align-items: end; justify-content: space-between;
    gap: 24px; margin-bottom: 26px;
}
.r91-section__head h2 { margin: 0; }
.r91-section__head--small { margin-bottom: 12px; }
.r91-section__meta {
    font-family: var(--sans); color: var(--ink-3);
    font-size: .78rem; font-weight: 620; white-space: nowrap;
}

.r91-actions {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    margin-top: 22px;
}

/* Controls get the only radius in the system. */
.r91-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px;
    border-radius: var(--control-radius);
    border: 1px solid var(--ink);
    font-family: var(--sans); font-size: .9rem; font-weight: 680;
    letter-spacing: -.008em; line-height: 1.15;
    text-decoration: none; cursor: pointer;
    transition: background-color .13s ease, color .13s ease, border-color .13s ease;
}
.r91-btn--primary { background: var(--ink); color: var(--sheet); }
.r91-btn--primary:hover { background: var(--label); border-color: var(--label); color: var(--sheet); }
.r91-btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.r91-btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--sheet); }
.r91-btn--light { background: var(--sheet); color: var(--ink); border-color: var(--sheet); }
.r91-btn--light:hover { background: var(--stock); border-color: var(--stock); color: var(--ink); }
.r91-btn__meta { font-weight: 500; opacity: .78; font-size: .82em; margin-left: 2px; }

.r91-textlink {
    font-family: var(--sans); font-weight: 680; font-size: .84rem;
    text-decoration: none; white-space: nowrap;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1px;
}
.r91-textlink:hover { border-bottom-color: currentColor; }

/* A verdict chip: square, quiet, sentence case. */
.r91-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 9px;
    border-radius: 2px;
    border: 1px solid var(--rule);
    background: var(--sheet);
    color: var(--ink-2);
    font-family: var(--sans);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .002em;
    white-space: nowrap;
}
.r91-badge::before {
    content: "";
    width: 6px; height: 6px; border-radius: 1px;
    background: currentColor;
    flex: none;
}
.r91-badge--stop, .r91-badge--conflict, .r91-badge--fail {
    background: var(--stamp-bg); color: var(--stamp); border-color: var(--stamp-rule);
}
.r91-badge--verify, .r91-badge--source_confirmed, .r91-badge--pending, .r91-badge--restricted {
    background: var(--caution-bg); color: var(--caution); border-color: var(--caution-rule);
}
.r91-badge--disambiguate, .r91-badge--unknown, .r91-badge--consolidated {
    background: var(--sheet-2); color: var(--ink-3); border-color: var(--rule-2);
}
.r91-badge--compliance, .r91-badge--law { background: var(--legal-bg); color: var(--legal); border-color: var(--legal-rule); }
.r91-badge--download, .r91-badge--verified, .r91-badge--ok, .r91-badge--pass {
    background: var(--ok-bg); color: var(--label); border-color: var(--ok-rule);
}

/* ---------- Masthead (home) ---------- */

.r91-masthead {
    padding: clamp(34px, 5vw, 62px) 0 clamp(22px, 3vw, 34px);
}
.r91-masthead__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .78fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}
.r91-masthead h1 { margin-bottom: 20px; max-width: 15ch; }
.r91-masthead__lead {
    font-size: 1.1rem;
    max-width: 46ch;
    color: var(--ink-2);
}
.r91-masthead__note {
    margin-top: 20px;
    font-family: var(--sans);
    font-size: .82rem;
    line-height: 1.5;
    color: var(--ink-3);
    max-width: 52ch;
}
.r91-masthead__counts {
    margin-top: 18px;
    font-family: var(--sans);
    font-size: .84rem;
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
}
.r91-masthead__counts b { font-weight: 750; color: var(--ink); }

/* ---------- The collapse: many names, one file ---------- */

.r91-collapse {
    background: var(--sheet);
    border: 1px solid var(--rule);
    padding: clamp(18px, 2.6vw, 26px);
}
.r91-collapse__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px; margin-bottom: 14px;
    font-family: var(--sans); font-size: .78rem; font-weight: 650; color: var(--ink-3);
}
.r91-collapse__names {
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    width: 100%;
    display: grid;
    gap: 2px;
}
.r91-collapse__names li {
    position: relative;
    font-family: var(--sans);
    font-size: .875rem;
    font-weight: 560;
    color: var(--ink-2);
    text-align: right;
    padding: 3px 22px 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    animation: r91-name-in .3s ease forwards;
}
/* The tick: each name ends on the same vertical line. */
.r91-collapse__names li::after {
    content: "";
    position: absolute;
    right: 0; top: 50%;
    width: 14px; height: 1px;
    background: var(--rule);
    transform: scaleX(0);
    transform-origin: right;
    animation: r91-tick-in .34s ease forwards;
}
.r91-collapse__names li:nth-child(1)  { animation-delay: .02s; }
.r91-collapse__names li:nth-child(2)  { animation-delay: .05s; }
.r91-collapse__names li:nth-child(3)  { animation-delay: .08s; }
.r91-collapse__names li:nth-child(4)  { animation-delay: .11s; }
.r91-collapse__names li:nth-child(5)  { animation-delay: .14s; }
.r91-collapse__names li:nth-child(6)  { animation-delay: .17s; }
.r91-collapse__names li:nth-child(7)  { animation-delay: .20s; }
.r91-collapse__names li:nth-child(8)  { animation-delay: .23s; }
.r91-collapse__names li:nth-child(9)  { animation-delay: .26s; }
.r91-collapse__names li:nth-child(10) { animation-delay: .29s; }
.r91-collapse__names li:nth-child(1)::after  { animation-delay: .12s; }
.r91-collapse__names li:nth-child(2)::after  { animation-delay: .15s; }
.r91-collapse__names li:nth-child(3)::after  { animation-delay: .18s; }
.r91-collapse__names li:nth-child(4)::after  { animation-delay: .21s; }
.r91-collapse__names li:nth-child(5)::after  { animation-delay: .24s; }
.r91-collapse__names li:nth-child(6)::after  { animation-delay: .27s; }
.r91-collapse__names li:nth-child(7)::after  { animation-delay: .30s; }
.r91-collapse__names li:nth-child(8)::after  { animation-delay: .33s; }
.r91-collapse__names li:nth-child(9)::after  { animation-delay: .36s; }
.r91-collapse__names li:nth-child(10)::after { animation-delay: .39s; }

.r91-collapse__names .r91-collapse__rest {
    color: var(--ink-3);
    font-weight: 600;
    font-style: italic;
    font-family: var(--serif);
}
.r91-collapse__names .r91-collapse__rest::after { background: transparent; }

.r91-collapse__target {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    display: grid;
    gap: 8px;
    text-align: left;
}
.r91-collapse__pkg {
    display: block;
    font-family: var(--mono);
    font-size: clamp(.92rem, 1.7vw, 1.12rem);
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink);
    background: none;
    border: 0;
    padding: 0;
    word-break: break-all;
    line-height: 1.28;
}
.r91-collapse__bytes {
    font-family: var(--sans);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--stamp);
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 1;
}
.r91-collapse__caption {
    font-family: var(--sans);
    font-size: .76rem;
    line-height: 1.45;
    color: var(--ink-3);
}

/* Copy control: a real button, so it works from the keyboard. */
.r91-copy {
    appearance: none;
    margin: 0; padding: 2px 8px;
    min-height: 24px; min-width: 24px;
    border: 1px solid var(--rule);
    border-radius: 2px;
    background: transparent;
    color: var(--ink-2);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.4;
    cursor: pointer;
    vertical-align: 1px;
    transition: border-color .13s ease, color .13s ease;
}
.r91-collapse__target .r91-copy { justify-self: start; margin-top: 2px; }
.r91-copy:hover { border-color: var(--ink-2); color: var(--ink); }
.r91-copy[data-r91-copied] { border-color: var(--label); color: var(--label); }

@keyframes r91-name-in {
    from { opacity: 0; transform: translateY(3px); }
    to   { opacity: 1; transform: none; }
}
@keyframes r91-tick-in {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* ---------- Process (a real sequence, so numbers are earned) ---------- */

.r91-price-strip { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.r91-price-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.r91-price-strip__grid > div {
    display: grid; grid-template-columns: 1.6rem 1fr; gap: 10px;
    padding: 22px 22px 22px 0;
    border-right: 1px solid var(--rule-2);
    align-items: start;
}
.r91-price-strip__grid > div:last-child { border-right: 0; }
.r91-price-strip__grid > div:not(:first-child) { padding-left: 22px; }
.r91-price-strip__grid strong {
    font-family: var(--sans); font-size: .82rem; font-weight: 800;
    color: var(--label); font-variant-numeric: tabular-nums; padding-top: 2px;
}
.r91-price-strip__grid span {
    font-family: var(--sans); font-size: .9rem; font-weight: 660;
    letter-spacing: -.01em; line-height: 1.3;
}
.r91-price-strip__grid small {
    display: block; margin-top: 3px;
    font-family: var(--serif); font-size: .84rem; font-weight: 400;
    color: var(--ink-3); line-height: 1.4;
}

/* ---------- Type chooser, as a declaration list ---------- */

.r91-type-grid { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.r91-type-card {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr) auto;
    gap: 0 clamp(14px, 2.4vw, 26px);
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
    color: var(--ink); text-decoration: none;
}
.r91-type-card:hover { background: var(--sheet); color: var(--ink); }
.r91-type-card .r91-badge { grid-column: 1; justify-self: end; }
.r91-type-card h3 {
    grid-column: 2; margin: 0 0 4px;
    font-size: 1.12rem; font-weight: 720; letter-spacing: -.02em;
}
.r91-type-card p { grid-column: 2; margin: 0; color: var(--ink-2); font-size: .94rem; max-width: 58ch; }
.r91-type-card::after {
    grid-column: 3; content: ""; width: 9px; height: 9px;
    border-right: 1px solid var(--ink-3); border-top: 1px solid var(--ink-3);
    transform: rotate(45deg); align-self: center;
}
.r91-type-card--stop:hover { box-shadow: inset 3px 0 0 var(--stamp); }
.r91-type-card--verify:hover { box-shadow: inset 3px 0 0 var(--caution); }
.r91-type-card--law:hover { box-shadow: inset 3px 0 0 var(--legal); }

/* ---------- Clusters ---------- */

.r91-cluster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}
.r91-cluster-grid a {
    display: flex; flex-direction: column; gap: 3px;
    padding: 20px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--sheet);
    color: var(--ink); text-decoration: none;
}
.r91-cluster-grid a:hover { background: var(--stock); color: var(--ink); }
.r91-cluster-grid strong {
    font-family: var(--sans); font-size: 1rem; font-weight: 720;
    letter-spacing: -.018em;
}
.r91-cluster-grid span { color: var(--ink-3); font-size: .86rem; }

/* ---------- Record list ---------- */

.r91-record-list { border-top: 1px solid var(--rule); }
.r91-record-row {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr .58fr auto;
    gap: 16px; align-items: center;
    padding: 14px 2px;
    border-bottom: 1px solid var(--rule);
    color: var(--ink); text-decoration: none;
}
.r91-record-row:hover { background: var(--sheet); color: var(--ink); }
.r91-record-row__name { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.r91-record-row__name strong {
    font-family: var(--sans); font-size: .95rem; font-weight: 680;
    letter-spacing: -.014em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.r91-record-row__name small {
    color: var(--ink-3); font-size: .74rem; margin-top: 2px;
    font-family: var(--sans);
}
.r91-record-row__pkg code {
    font-size: .78rem; background: none; border: 0; padding: 0; color: var(--ink-3);
}
.r91-record-row__size {
    font-family: var(--sans); font-size: .82rem; color: var(--ink-3);
    font-variant-numeric: tabular-nums; text-align: right;
}
.r91-record-row__arrow {
    font-family: var(--sans); color: var(--ink-3); font-weight: 700;
    font-size: .9rem; opacity: .55;
}
.r91-record-row:hover .r91-record-row__arrow { opacity: 1; color: var(--label); }

/* ---------- Method band ---------- */

.r91-method-grid {
    display: grid; grid-template-columns: .85fr 1.15fr;
    gap: clamp(28px, 5vw, 64px); align-items: start;
}
.r91-method-grid p { color: var(--stock-2); max-width: 46ch; }
.r91-method-grid h2 { color: var(--sheet); }
.r91-method-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.r91-method-list li {
    display: grid; grid-template-columns: 2.2rem 1fr; gap: 14px;
    padding: 15px 0;
    border-top: 1px solid rgba(227, 229, 222, .18);
}
.r91-method-list li:first-child { border-top: 0; padding-top: 0; }
.r91-method-list span {
    font-family: var(--sans); font-size: .82rem; font-weight: 800;
    color: var(--stock-2); font-variant-numeric: tabular-nums; opacity: .65;
    padding-top: 2px;
}
.r91-method-list strong {
    display: block; margin-bottom: 3px;
    font-family: var(--sans); font-size: .95rem; font-weight: 720;
    color: var(--sheet); letter-spacing: -.012em;
}
.r91-method-list p { margin: 0; font-size: .88rem; color: var(--stock-2); }

/* ---------- FAQ ---------- */

.r91-faq-home { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.r91-faq { margin: 0; }
.r91-faq details { border-top: 1px solid var(--rule); padding: 15px 0; }
.r91-faq details:last-child { border-bottom: 1px solid var(--rule); }
.r91-faq summary {
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; gap: 18px;
    padding: 2px 0;
    min-height: 24px;
    font-family: var(--sans); font-weight: 680; font-size: .98rem;
    letter-spacing: -.012em; line-height: 1.35;
}
.r91-faq summary::-webkit-details-marker { display: none; }
.r91-faq summary::after {
    content: "+"; flex: none; color: var(--ink-3);
    font-family: var(--sans); font-weight: 500; font-size: 1.05rem; line-height: 1;
    transition: transform .16s ease;
}
.r91-faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.r91-faq p { margin: 10px 0 0; color: var(--ink-2); font-size: .95rem; max-width: 62ch; }

/* ---------- Directory ---------- */

.r91-directory-head { padding: clamp(28px, 4vw, 46px) 0 22px; border-bottom: 1px solid var(--rule); }
.r91-directory-head h1 { max-width: 26ch; }
.r91-directory-head__lead { max-width: 62ch; color: var(--ink-2); font-size: 1.02rem; }

.r91-filterbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.r91-filter {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 11px;
    border-radius: var(--control-radius);
    border: 1px solid var(--rule);
    background: transparent; color: var(--ink-2);
    font-family: var(--sans); font-size: .82rem; font-weight: 640;
    text-decoration: none;
}
.r91-filter span { color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.r91-filter:hover { border-color: var(--ink-2); color: var(--ink); }
.r91-filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
.r91-filter.is-active span { color: var(--stock-2); }
.r91-filter--stop.is-active { background: var(--stamp); border-color: var(--stamp); }
.r91-filter--verify.is-active { background: var(--caution); border-color: var(--caution); }
.r91-filter--compliance.is-active { background: var(--legal); border-color: var(--legal); }
.r91-filter--download.is-active { background: var(--label); border-color: var(--label); }

.r91-search {
    display: flex; gap: 0; margin-left: auto;
    border: 1px solid var(--rule);
    border-radius: var(--control-radius);
    background: var(--sheet);
    overflow: hidden;
}
.r91-search input[type="search"] {
    border: 0; padding: 9px 13px; min-width: 200px;
    font-family: var(--sans); font-size: .85rem;
    background: transparent; color: var(--ink); outline: none;
}
.r91-search input[type="search"]:focus { background: #fff; }
.r91-search button {
    border: 0; border-left: 1px solid var(--rule);
    background: transparent; color: var(--ink);
    font-family: var(--sans); font-size: .82rem; font-weight: 680;
    padding: 0 15px; cursor: pointer;
}
.r91-search button:hover { background: var(--stock); }
.r91-search--page { max-width: 520px; margin: 20px 0 0; }
.r91-search--page input[type="search"] { flex: 1; min-width: 0; padding: 12px 15px; }
.r91-search--page button { padding: 0 20px; }

/* Tables: rules only, no card, no shadow. */
.r91-table-wrap {
    width: 100%; overflow-x: auto;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin: 22px 0;
    background: var(--sheet);
}
.r91-table-wrap table {
    width: 100%; border-collapse: collapse;
    font-family: var(--sans); font-size: .875rem;
    min-width: 0;
}
.r91-table-wrap caption {
    caption-side: top; text-align: left;
    padding: 10px 14px 10px 0;
    font-family: var(--sans); font-size: .78rem; font-weight: 600;
    letter-spacing: 0; text-transform: none;
    color: var(--ink-3);
    border-bottom: 1px solid var(--rule);
}
.r91-table-wrap th:not(:first-child), .r91-table-wrap td:not(:first-child) { padding-left: 14px; }
.r91-table-wrap th, .r91-table-wrap td {
    text-align: left; padding: 10px 14px 10px 0;
    border-bottom: 1px solid var(--rule-2);
    vertical-align: top;
}
.r91-table-wrap tbody tr:last-child td { border-bottom: 0; }
.r91-table-wrap thead th {
    background: none;
    font-size: .76rem; font-weight: 650;
    letter-spacing: 0; text-transform: none;
    color: var(--ink-3);
    border-bottom: 1px solid var(--rule);
    white-space: nowrap;
}
.r91-table-wrap tbody tr:hover { background: var(--sheet-2); }
.r91-table-wrap td small { display: block; color: var(--ink-3); font-size: .78rem; margin-top: 2px; }
.r91-table__name { font-weight: 680; text-decoration: none; }
.r91-table__open { font-weight: 680; text-decoration: none; white-space: nowrap; }
.r91-directory-table { margin: 0; }
.r91-group-table table { min-width: 0; }

.r91-group-summary {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--rule);
    background: var(--rule);
    gap: 1px;
    margin: 22px 0;
}
.r91-group-summary > div {
    background: var(--sheet); padding: 15px;
    display: flex; flex-direction: column; gap: 4px;
}
.r91-group-summary span {
    font-family: var(--sans); font-size: .74rem; font-weight: 600;
    letter-spacing: 0; text-transform: none; color: var(--ink-3);
}
.r91-group-summary strong {
    font-family: var(--sans); font-size: .9rem; font-weight: 680;
    word-break: break-word; letter-spacing: -.012em;
}
.r91-group-explainer {
    display: grid; grid-template-columns: 1.4fr .6fr;
    gap: clamp(24px, 4vw, 44px); margin: 32px 0; align-items: start;
}
.r91-group-explainer h2 { font-size: 1.45rem; margin-top: 0; }
.r91-group-head code { font-size: .82em; }
.r91-group-head { padding-top: 26px; }

.r91-pagination { display: flex; justify-content: center; gap: 6px; margin: 26px 0 8px; }
.r91-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 11px;
    border: 1px solid var(--rule); border-radius: var(--control-radius);
    background: var(--sheet); color: var(--ink); text-decoration: none;
    font-family: var(--sans); font-size: .84rem; font-weight: 640;
    font-variant-numeric: tabular-nums;
}
.r91-pagination .page-numbers:hover { border-color: var(--ink-2); }
.r91-pagination .current { background: var(--ink); color: var(--sheet); border-color: var(--ink); }

.r91-empty, .r91-empty-page { padding: 56px 0 76px; }
.r91-empty h2, .r91-empty-page h2 { margin-top: 0; }
.r91-directory-note {
    border-top: 1px solid var(--rule);
    margin-top: 36px; padding: 28px 0 60px; max-width: 68ch;
}
.r91-directory-note h2 { font-size: 1.4rem; }

/* ---------- Record page ---------- */

.r91-record-hero { padding: clamp(22px, 3vw, 38px) 0 clamp(24px, 3vw, 36px); }
.r91-record-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 22rem);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
    margin-top: 16px;
}
.r91-record-hero__copy { min-width: 0; }
.r91-record-hero__meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
.r91-record-hero__checked {
    font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}
.r91-record-hero h1 { max-width: 20ch; margin-bottom: 14px; font-size: clamp(2.1rem, 4.2vw, 3.15rem); }
.r91-record-hero__conclusion {
    font-size: 1.08rem; color: var(--ink-2); max-width: 54ch;
}
.r91-record-hero__note {
    margin: 16px 0 0;
    font-family: var(--sans); font-size: .78rem; line-height: 1.5;
    color: var(--ink-3); max-width: 58ch;
}

/* Key facts: the declaration spine in a sheet. */
.r91-keyfacts {
    margin: 0; padding: 4px 18px;
    background: var(--sheet);
    border: 1px solid var(--rule);
}
.r91-keyfacts > div {
    display: grid; grid-template-columns: 5.4rem minmax(0, 1fr);
    gap: 12px; align-items: baseline;
    padding: 10px 0;
    border-top: 1px solid var(--rule-2);
}
.r91-keyfacts > div:first-child { border-top: 0; }
.r91-keyfacts dt {
    font-family: var(--sans); font-size: .76rem; font-weight: 600;
    letter-spacing: 0; text-transform: none; color: var(--ink-3);
}
.r91-keyfacts dd {
    margin: 0;
    font-family: var(--sans); font-size: .875rem; font-weight: 640;
    letter-spacing: -.012em;
    word-break: break-word;
    font-variant-numeric: tabular-nums;
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
}
.r91-keyfacts dd code { font-size: .92em; min-width: 0; }

.r91-record-banner { margin: 22px 0 6px; }

.r91-record-layout {
    display: grid;
    grid-template-columns: minmax(0, 70ch) minmax(0, 18rem);
    justify-content: space-between;
    gap: clamp(26px, 4vw, 52px);
    align-items: start;
    padding: 8px 0 48px;
}
.r91-record-main { min-width: 0; }
.r91-record-section { margin: 34px 0; }
.r91-record-section:first-child { margin-top: 14px; }

/* Prose: serif, 66ch, no decoration. */
.r91-prose { font-size: 1.0625rem; max-width: 68ch; }
.r91-prose h2 {
    font-size: clamp(1.35rem, 2vw, 1.6rem);
    margin-top: 1.9em; margin-bottom: .5em;
    letter-spacing: -.025em;
}
.r91-prose h3 { margin-top: 1.7em; }
.r91-prose > h2:first-child, .r91-prose > h3:first-child { margin-top: 0; }
.r91-prose ul, .r91-prose ol { padding-left: 1.15em; margin: 0 0 1.1em; }
.r91-prose li { margin-bottom: .4em; }
.r91-prose li::marker { color: var(--ink-3); }
.r91-prose .r91-lead {
    font-size: 1.14rem; color: var(--ink-2); max-width: 58ch;
}
.r91-prose table {
    width: 100%; border-collapse: collapse;
    font-family: var(--sans); font-size: .875rem;
    margin: 18px 0;
}
.r91-prose th, .r91-prose td {
    border-bottom: 1px solid var(--rule-2);
    padding: 9px 14px 9px 0; text-align: left; vertical-align: top;
}
.r91-prose th:not(:first-child), .r91-prose td:not(:first-child) { padding-left: 14px; }
.r91-prose th {
    background: none; border-bottom: 1px solid var(--rule);
    font-size: .78rem; font-weight: 650; color: var(--ink-3);
    text-transform: none; letter-spacing: 0; white-space: nowrap;
}
.r91-prose caption {
    caption-side: top; text-align: left;
    font-family: var(--sans); font-size: .78rem;
    color: var(--ink-3); padding-bottom: 8px;
}
.r91-prose .r91-table-wrap { max-width: 100%; }
.r91-table-wrap table.r91-facts-table { min-width: 0; }
/* Field names are single tokens; they must not break mid-word in a narrow cell. */
.r91-facts-table th[scope="row"],
.r91-facts-table td:first-child {
    font-weight: 600; color: var(--ink-3);
    width: 22%; white-space: nowrap;
}
.r91-facts-table td code { overflow-wrap: anywhere; }

/* State marks inside fact tables. */
.r91-dot {
    display: inline-block;
    font-family: var(--sans); font-size: .72rem; font-weight: 650;
    letter-spacing: 0; text-transform: none;
    padding: 2px 7px;
    border-radius: 2px;
    border: 1px solid transparent;
    white-space: nowrap;
}
.r91-dot--measured { background: var(--ok-bg); color: var(--label); border-color: var(--ok-rule); }
.r91-dot--unknown { background: var(--caution-bg); color: var(--caution); border-color: var(--caution-rule); }
/* A third state, because "someone else advertises this" is neither measured
   here nor unknown — it is attributed, and the attribution can be checked. */
.r91-dot--advertised { background: var(--legal-bg); color: var(--legal); border-color: var(--legal-rule); }

/* Callouts: a left rule and a tint, not a rounded box. */
.r91-callout {
    padding: 15px 18px;
    border: 1px solid var(--rule);
    border-left-width: 3px;
    border-left-color: var(--ink-3);
    background: var(--sheet);
    margin: 18px 0;
    font-size: .97rem;
    max-width: 68ch;
}
.r91-callout > :last-child { margin-bottom: 0; }
.r91-callout strong { font-family: var(--sans); font-weight: 700; }
.r91-callout h2 { font-size: 1.15rem; margin: 0 0 8px; }
.r91-callout--stop { background: var(--stamp-bg); border-color: var(--stamp-rule); border-left-color: var(--stamp); }
.r91-callout--verify, .r91-callout--unknown { background: var(--caution-bg); border-color: var(--caution-rule); border-left-color: var(--caution); }
.r91-callout--law, .r91-callout--compliance { background: var(--legal-bg); border-color: var(--legal-rule); border-left-color: var(--legal); }
.r91-callout--ok, .r91-callout--download { background: var(--ok-bg); border-color: var(--ok-rule); border-left-color: var(--label); }

.r91-method {
    margin: 26px 0; padding: 16px 18px;
    border: 1px solid var(--rule);
    background: var(--sheet-2);
    max-width: 68ch;
}
.r91-method h2 { font-size: 1.1rem; margin-top: 0; }
.r91-method ul { font-size: .9rem; color: var(--ink-2); margin-bottom: 0; }

.r91-ledger { margin: 28px 0; max-width: 68ch; }
.r91-ledger h2 { font-size: 1.3rem; }
.r91-ledger ul { padding-left: 1.1em; font-size: .95rem; }
.r91-ledger li { margin-bottom: .5em; color: var(--ink-2); }

.r91-unique { margin: 32px 0; max-width: 68ch; }

/* The record stub wrapper must stay neutral: it is used on articles and
   sections alike. */
.r91-record { display: block; }

/* Hindi summary block. One rule on the left, no tint: it is a reading aid, not
   a verdict, so it must not borrow the verdict colours. */
.r91-hi {
    margin: 32px 0;
    padding: 2px 0 2px 18px;
    border-left: 2px solid var(--rule);
    max-width: 62ch;
}
.r91-hi__label {
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 650;
    letter-spacing: 0;
    color: var(--ink-3);
    margin: 0 0 8px;
}
.r91-hi__body {
    font-size: 1.04rem;
    line-height: 1.75;
    color: var(--ink);
    margin: 0 0 .7em;
}
.r91-hi__action {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 .7em;
}
.r91-hi__note {
    font-family: var(--sans);
    font-size: .84rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
}
.r91-hi code { font-size: .92em; }

.r91-group-callout {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
    padding: 22px;
    background: var(--stamp-bg);
    border: 1px solid var(--stamp-rule);
}
.r91-group-callout h2 { font-size: 1.3rem; margin: 4px 0 6px; color: #5b1a15; }
.r91-group-callout p { margin: 0; color: #6d3129; max-width: 52ch; font-size: .95rem; }
.r91-group-callout .r91-btn { white-space: nowrap; flex-shrink: 0; }

.r91-check-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
    margin-top: 16px;
}
.r91-check-grid > div {
    padding: 18px 16px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--sheet);
}
.r91-check-grid h3 { font-size: .96rem; margin: 10px 0 5px; font-weight: 700; }
.r91-check-grid p { font-size: .88rem; color: var(--ink-2); margin: 0; }
.r91-step {
    display: inline-grid; place-items: center;
    width: 24px; height: 24px;
    border-radius: 2px;
    background: var(--ink); color: var(--sheet);
    font-family: var(--sans); font-size: .76rem; font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.r91-correction {
    display: flex; align-items: center; justify-content: space-between;
    gap: 22px; padding: 20px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.r91-correction h2 { font-size: 1.12rem; margin: 0 0 4px; }
.r91-correction p { margin: 0; color: var(--ink-2); font-size: .92rem; max-width: 56ch; }

/* Sidebar */
.r91-record-side {
    position: sticky; top: 84px;
    display: grid; gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.r91-side-card { padding: 18px; background: var(--sheet); }
.r91-side-card h2 {
    font-size: .82rem; font-weight: 650; letter-spacing: 0;
    text-transform: none; color: var(--ink-3);
    margin: 0 0 10px;
}
.r91-side-card dl { margin: 0; }
.r91-side-card dl > div {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 7px 0;
    border-top: 1px solid var(--rule-2);
    font-family: var(--sans); font-size: .8rem;
}
.r91-side-card dl > div:first-child { border-top: 0; }
.r91-side-card dt { color: var(--ink-3); }
.r91-side-card dd { margin: 0; font-weight: 640; text-align: right; font-variant-numeric: tabular-nums; }
.r91-side-card ul { margin: 0; padding-left: 1.05em; font-size: .88rem; color: var(--ink-2); }
.r91-side-card li { margin-bottom: .3em; }
.r91-side-card p { font-size: .88rem; color: var(--ink-2); margin: 0; }
.r91-side-card a { font-family: var(--sans); font-size: .84rem; }
.r91-side-card--quiet { background: var(--stock); }
.r91-side-card--law { background: var(--legal-bg); }
.r91-side-card--law h2 { color: var(--legal); }

.r91-related { padding-top: 26px; border-top: 1px solid var(--rule); }
.r91-related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}
.r91-related-card {
    display: flex; flex-direction: column; gap: 5px;
    padding: 16px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--sheet);
    color: var(--ink); text-decoration: none;
    min-width: 0;
}
.r91-related-card:hover { background: var(--stock); color: var(--ink); }
.r91-related-card .r91-badge { align-self: flex-start; }
.r91-related-card strong {
    font-family: var(--sans); font-size: .92rem; font-weight: 680;
    letter-spacing: -.014em;
}
.r91-related-card code {
    font-size: .74rem; background: none; border: 0; padding: 0;
    color: var(--ink-3); word-break: break-all;
}
.r91-related-card span:last-child {
    font-family: var(--sans); font-size: .78rem; color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}

.r91-sticky-cta { display: none; }

/* ---------- Standard page ---------- */

.r91-page__head { padding: clamp(26px, 3.4vw, 42px) 0 22px; border-bottom: 1px solid var(--rule); }
.r91-page__head-inner { max-width: 62ch; }
.r91-page__lead { font-size: 1.06rem; color: var(--ink-2); max-width: 58ch; }
.r91-page__meta {
    font-family: var(--sans); color: var(--ink-3);
    font-size: .8rem; font-variant-numeric: tabular-nums;
}
.r91-page__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
    gap: clamp(26px, 4vw, 46px);
    padding: 32px 0 64px; align-items: start;
}
.r91-page__aside { display: grid; gap: 14px; position: sticky; top: 84px; }

/* ---------- Posts ---------- */

.r91-post-list { display: grid; gap: 0; padding: 8px 0 24px; border-top: 1px solid var(--rule); }
.r91-post-card { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.r91-post-card h2 { font-size: 1.3rem; margin: 0 0 6px; }
.r91-post-card p { color: var(--ink-2); font-size: .96rem; max-width: 66ch; }
.r91-post-card__meta {
    font-family: var(--sans);
    font-size: .78rem !important;
    color: var(--ink-3) !important;
    margin-bottom: 10px !important;
}

/* ---------- Footer ---------- */

.r91-footer {
    margin-top: 0;
    background: var(--ink);
    color: var(--stock-2);
    padding: 46px 0 28px;
    border-top: 1px solid #2f3833;
}
.r91-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr .8fr .8fr;
    gap: clamp(26px, 4vw, 52px);
}
.r91-footer__brand p {
    font-size: .92rem; color: var(--stock-2);
    max-width: 54ch; margin-top: 16px;
}
.r91-brand--footer .r91-brand__mark { background: var(--stock); color: var(--ink); }
.r91-brand--footer .r91-brand__text strong { color: var(--sheet); }
.r91-brand--footer .r91-brand__text small { color: var(--ink-3-dark); }
.r91-footer__nav h2 {
    font-family: var(--sans); font-size: .8rem; font-weight: 650;
    letter-spacing: 0; text-transform: none;
    color: var(--ink-3-dark); margin: 0 0 12px;
}
.r91-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.r91-footer__nav a {
    color: var(--stock-2); text-decoration: none;
    font-family: var(--sans); font-size: .88rem;
}
.r91-footer__nav a:hover { color: var(--sheet); text-decoration: underline; text-underline-offset: 3px; }
.r91-footer__legal {
    border-top: 1px solid rgba(227, 229, 222, .18);
    margin-top: 34px; padding-top: 22px;
    display: grid; gap: 12px;
}
.r91-footer__legal p { font-size: .86rem; color: #a7b3a9; max-width: 92ch; margin: 0; }
.r91-footer__legal a { color: var(--stock-2); }
.r91-footer__meta {
    font-family: var(--sans);
    font-size: .8rem !important;
    color: #86938a !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
    .r91-masthead__grid, .r91-faq-home, .r91-method-grid {
        grid-template-columns: 1fr;
    }
    .r91-masthead h1 { max-width: 22ch; }
    .r91-collapse { max-width: 34rem; }
    .r91-record-hero__grid { grid-template-columns: 1fr; }
    .r91-record-layout, .r91-page__body { grid-template-columns: 1fr; }
    .r91-record-side, .r91-page__aside { position: static; }
    .r91-group-explainer { grid-template-columns: 1fr; }
    .r91-cluster-grid, .r91-type-grid { grid-template-columns: 1fr; }
    .r91-cluster-grid { grid-template-columns: 1fr 1fr; border-left: 0; }
    .r91-cluster-grid a { border-left: 1px solid var(--rule); }
    .r91-footer__grid { grid-template-columns: 1fr 1fr; }
    .r91-price-strip__grid { grid-template-columns: 1fr 1fr; }
    .r91-price-strip__grid > div:nth-child(2n) { border-right: 0; }
    .r91-price-strip__grid > div:nth-child(1),
    .r91-price-strip__grid > div:nth-child(2) { border-bottom: 1px solid var(--rule-2); }
    .r91-record-row { grid-template-columns: 1.1fr 1.3fr auto; }
    .r91-record-row__size { display: none; }
    .r91-related-grid { grid-template-columns: 1fr 1fr; }
}

/* Six nav entries plus the brand do not fit on one line below ~980px: the
   links wrapped to two lines and pushed the header higher. The menu becomes
   the panel earlier, before that happens. */
@media (max-width: 980px) {
    .r91-header__inner { min-height: 60px; }
    .r91-nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
        width: 40px; height: 40px;
        border: 1px solid var(--rule); border-radius: var(--control-radius);
        background: transparent; cursor: pointer;
    }
    .r91-nav-toggle__bar,
    .r91-nav-toggle__bar::before,
    .r91-nav-toggle__bar::after {
        display: block; width: 17px; height: 1.5px; background: var(--ink);
        content: ""; margin: 0 auto;
    }
    .r91-nav-toggle__bar::before { transform: translateY(-5px); }
    .r91-nav-toggle__bar::after { transform: translateY(3.5px); }
    .r91-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: var(--stock);
        border-bottom: 1px solid var(--rule);
        padding: 6px var(--gutter) 16px;
    }
    .r91-nav.is-open { display: block; }
    .r91-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .r91-nav__list li { border-top: 1px solid var(--rule-2); }
    .r91-nav__list a { display: block; padding: 12px 0; font-size: .95rem; text-decoration: none; }
}

@media (max-width: 760px) {
    :root { --field: 0; }

    /* Spine collapses to key above value: no rule, no dead gutter. */
    .r91-row { grid-template-columns: 1fr; }
    .r91-row__k {
        text-align: left; border-right: 0;
        padding: 0 0 2px;
        color: var(--ink-3);
    }
    .r91-row__v { padding: .1em 0 1em; }

    .r91-type-card {
        grid-template-columns: 1fr auto;
        gap: 6px 12px;
    }
    .r91-type-card .r91-badge { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
    .r91-type-card h3 { grid-column: 1; grid-row: 1; }
    .r91-type-card p { grid-column: 1 / -1; grid-row: 2; max-width: none; }
    .r91-type-card::after { display: none; }
    .r91-type-card--stop, .r91-type-card--verify, .r91-type-card--law { box-shadow: none; }

    .r91-check-grid, .r91-related-grid, .r91-group-summary { grid-template-columns: 1fr 1fr; }

    .r91-section__head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .r91-record-row { grid-template-columns: 1fr auto; gap: 10px; }
    .r91-record-row__pkg { display: none; }
    .r91-record-row__arrow { display: none; }
    .r91-search { margin-left: 0; width: 100%; }
    .r91-search input[type="search"] { min-width: 0; flex: 1; }
    /* Below this width a data table should scroll rather than crush its cells. */
    .r91-table-wrap table { min-width: 520px; }
    .r91-filterbar { gap: 5px; }
    .r91-filter { padding: 6px 9px; font-size: .78rem; }
    .r91-group-callout, .r91-correction { flex-direction: column; align-items: flex-start; }
    .r91-footer__grid { grid-template-columns: 1fr; gap: 26px; }
    .r91-cluster-grid { grid-template-columns: 1fr; }
    .r91-keyfacts { padding: 2px 14px; }
    .r91-prose { font-size: 1.02rem; }
    .r91-collapse__bytes { font-size: 1.3rem; }
}

@media (max-width: 760px) {
    .r91-sticky-cta {
        display: flex;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
        align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
        background: var(--sheet);
        border-top: 1px solid var(--rule);
    }
    .r91-sticky-cta > div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
    .r91-sticky-cta strong {
        font-family: var(--sans); font-size: .86rem;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .r91-sticky-cta span { font-family: var(--sans); font-size: .76rem; color: var(--ink-3); }
    .r91-sticky-cta .r91-btn { padding: 10px 16px; font-size: .84rem; }
    .r91-record--download { padding-bottom: 76px; }
}

@media (max-width: 480px) {
    .r91-shell { padding: 0 16px; }
    .r91-brand__text small { display: none; }
    .r91-masthead__lead { font-size: 1rem; }
    .r91-check-grid { grid-template-columns: 1fr; }
    .r91-btn { width: 100%; }
    .r91-actions .r91-btn { width: auto; }
    .r91-keyfacts > div { grid-template-columns: 4.6rem minmax(0, 1fr); gap: 10px; }
    .r91-search--page button { padding: 0 12px; font-size: .78rem; }
}

/* ---------- App artwork ----------
   Logos are square crops on a quiet plate, not floating images. A missing file
   renders a monogram in the same box, so a row never has a hole in it. */

.r91-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    background: var(--sheet);
}
.r91-logo--mono {
    display: grid;
    place-items: center;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink-3);
    background: var(--stock);
    border: 1px solid var(--rule);
    border-radius: 3px;
}

/* ---------- Home: app cards ---------- */

.r91-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.r91-app-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    background: var(--sheet);
    text-decoration: none;
    color: inherit;
    transition: background .14s ease;
}
.r91-app-card:hover { background: var(--stock); }
.r91-app-card__art {
    display: block;
    width: 56px;
    height: 56px;
}
.r91-app-card__logo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 3px;
    background: var(--stock);
    border: 1px solid var(--rule);
}
.r91-app-card__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}
.r91-app-card__name {
    font-family: var(--sans);
    font-size: .98rem;
    font-weight: 680;
    line-height: 1.25;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.r91-app-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.r91-app-card__bonus {
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 700;
    color: var(--legal);
}
.r91-app-card__bonus-note {
    font-weight: 400;
    color: var(--ink-3);
}

/* ---------- Home: category cards ---------- */

.r91-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.r91-category-card {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    background: var(--sheet);
    text-decoration: none;
    color: inherit;
}
.r91-category-card strong {
    font-family: var(--sans);
    font-size: 1.02rem;
    font-weight: 680;
    color: var(--ink);
}
.r91-category-card span {
    font-family: var(--sans);
    font-size: .84rem;
    color: var(--ink-3);
}
.r91-category-card:hover { background: var(--stock); }
.r91-category-card__art {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
}
.r91-category-card__art .r91-logo,
.r91-category-card__art .r91-logo--mono {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    font-size: .74rem;
}

/* ---------- Home: the index panel ---------- */

.r91-index-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.r91-index-panel > div {
    background: var(--sheet);
    padding: 22px 24px;
}
.r91-index-panel__links {
    display: grid;
    gap: 1px;
    background: var(--rule);
}
.r91-index-panel__links a {
    display: grid;
    gap: 3px;
    padding: 14px 18px;
    background: var(--sheet);
    text-decoration: none;
}
.r91-index-panel__links strong {
    font-family: var(--sans);
    font-size: .92rem;
    color: var(--ink);
}
.r91-index-panel__links span {
    font-family: var(--sans);
    font-size: .8rem;
    color: var(--ink-3);
}
.r91-index-panel__links a:hover { background: var(--stock); }

/* ---------- Eyebrow and copy label ---------- */

.r91-eyebrow {
    display: block;
    font-family: var(--sans);
    font-size: .76rem;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 8px;
}
.r91-copy__label {
    font-family: var(--sans);
    font-size: .74rem;
    letter-spacing: .02em;
}

/* ---------- Directory table with artwork ---------- */

.r91-table__art { width: 52px; padding-right: 0 !important; }
.r91-table__art .r91-logo,
.r91-table__art .r91-logo--mono {
    width: 36px;
    height: 36px;
    font-size: .9rem;
}
.r91-directory-table .r91-badge {
    margin-left: 10px;
    font-size: .68rem;
    vertical-align: 2px;
}

@media (max-width: 720px) {
    .r91-index-panel { grid-template-columns: minmax(0, 1fr); }
    .r91-app-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
    .r91-app-card { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 12px; }
    .r91-app-card__art, .r91-app-card__logo { width: 44px; height: 44px; }
    .r91-table__art { width: 44px; }
    .r91-table__art .r91-logo, .r91-table__art .r91-logo--mono { width: 30px; height: 30px; }
    .r91-directory-table .r91-badge { display: none; }
}

/* ---------- Record hero artwork ----------
   The icon owns the width of its block; screenshots run beside it as one
   horizontal strip with a scroll snap, so four of them read as a strip rather
   than a column of thumbnails. */

.r91-hero-art {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin: 0 0 28px;
    padding: 20px;
    background: var(--sheet);
    border: 1px solid var(--rule);
}
.r91-hero-art__logo {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    background: var(--stock);
    border: 1px solid var(--rule);
    border-radius: 3px;
    overflow: hidden;
}
.r91-hero-art__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.r91-hero-art__mono {
    font-family: var(--sans);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--ink-3);
    line-height: 1;
}
.r91-hero-shots {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0 0 6px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.r91-hero-shots li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}
.r91-hero-shots img {
    display: block;
    width: 150px;
    height: 267px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--rule);
    background: var(--stock);
    box-shadow: 0 1px 2px rgba(22, 27, 24, .06);
    transition: transform .16s ease, box-shadow .16s ease;
}
.r91-hero-shots img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 27, 24, .12);
}

@media (max-width: 720px) {
    .r91-hero-art {
        grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }
    .r91-hero-art__mono { font-size: 2rem; }
    .r91-hero-shots img { width: 108px; height: 192px; }
}

@media (max-width: 480px) {
    .r91-hero-art { grid-template-columns: minmax(0, 72px) minmax(0, 1fr); }
}

/* ---------- Record hero logo and screenshots ---------- */

.r91-record-hero__logo {
    margin: 0 0 14px;
    line-height: 0;
}
.r91-record-hero__logo img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid var(--rule);
    background: var(--sheet);
}
.r91-shots__list {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: thin;
}
.r91-shots__list li { flex: 0 0 auto; }
.r91-shots__list img {
    display: block;
    width: 180px;
    height: 320px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid var(--rule);
    background: var(--stock);
}
@media (max-width: 720px) {
    .r91-shots__list img { width: 132px; height: 235px; }
}

/* ---------- Motion and print ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
    .r91-collapse__names li { opacity: 1; }
    .r91-collapse__names li::after { transform: scaleX(1); }
}

@media print {
    .r91-header, .r91-footer, .r91-sticky-cta, .r91-actions, .r91-related,
    .r91-correction, .r91-collapse__names { display: none !important; }
    body { background: #fff; color: #000; font-size: 11pt; }
    .r91-record-layout, .r91-record-hero__grid, .r91-masthead__grid { display: block; }
    .r91-record-side, .r91-page__aside { position: static; }
    a { color: #000; text-decoration: none; }
    .r91-section--dark { background: none; color: #000; }
    .r91-section--dark h2, .r91-section--dark h3 { color: #000; }
}

/* -------------------------------------------------------------------------
 * 20. Directory surface: home hero, app cards, sidebar app lists
 *
 * The card replaces the old 56px row. Three rules are load-bearing:
 * the anchor holds text only, the card body is a sibling, and the clickable
 * area comes from a stretched pseudo-element instead of wrapping the card.
 * ---------------------------------------------------------------------- */

.r91-home-hero {
    padding: clamp(34px, 6vw, 70px) 0 clamp(26px, 4vw, 46px);
    border-bottom: 1px solid var(--rule);
}
.r91-home-hero h1 { max-width: 22ch; margin: 10px 0 0; }
.r91-home-hero__lead {
    max-width: 62ch; margin: 16px 0 0;
    font-size: 1.02rem; line-height: 1.62; color: var(--ink-2);
}
.r91-home-hero__stats {
    display: flex; flex-wrap: wrap; gap: 6px 30px;
    margin: 26px 0 0; font-size: .8rem; color: var(--ink-3);
}
.r91-home-hero__stats strong {
    font-family: var(--mono); font-size: .92rem; color: var(--ink); font-weight: 600;
}

.r91-section__lead {
    max-width: 58ch; margin: 7px 0 0;
    font-size: .9rem; line-height: 1.55; color: var(--ink-3);
}

.r91-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
@media (max-width: 1000px) { .r91-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .r91-card-grid { grid-template-columns: 1fr; } }

.r91-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    background: var(--sheet);
    border: 1px solid var(--rule);
    border-radius: 4px;
    transition: border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
.r91-card:hover {
    border-color: var(--label-2);
    background: #fff;
    box-shadow: 0 2px 0 rgba(29, 75, 57, .08);
}
.r91-card__art { width: 72px; height: 72px; }
.r91-card__logo {
    width: 72px; height: 72px; object-fit: cover;
    border: 1px solid var(--rule); border-radius: 10px;
    background: var(--stock);
}
.r91-card__logo--default {
    object-fit: contain; padding: 9px;
    background: var(--sheet-2);
}
.r91-card__body { min-width: 0; display: grid; gap: 3px; align-content: start; }
.r91-card__name {
    margin: 0; font-size: 1.05rem; font-weight: 680;
    line-height: 1.26; letter-spacing: -.005em;
}
.r91-card__link { color: var(--ink); text-decoration: none; }
.r91-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.r91-card__link:focus-visible::after {
    outline: 2px solid var(--label); outline-offset: 3px; border-radius: 4px;
}
.r91-card:hover .r91-card__name { color: var(--label); }
.r91-card__meta {
    margin: 0; font-size: .8rem; font-weight: 600; color: var(--ink-3);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.r91-card__cta {
    margin-top: 7px;
    font-size: .72rem; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: var(--label-2);
}
.r91-card__cta::after { content: " \2192"; letter-spacing: 0; }
.r91-card--download .r91-card__cta { color: var(--label); }

/* Sidebar lists: Popular and Latest */
.r91-rail .r91-rail__list { list-style: none; margin: 0; padding: 0; }
.r91-rail__item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0;
    border-top: 1px solid var(--rule-2);
    text-decoration: none; color: inherit;
}
.r91-rail__list li:first-child .r91-rail__item { border-top: 0; }
.r91-rail__item:hover strong { color: var(--label-2); }
.r91-rail__icon { flex: 0 0 40px; width: 40px; height: 40px; }
.r91-rail__logo {
    width: 40px; height: 40px; object-fit: cover;
    border: 1px solid var(--rule); border-radius: 7px; background: var(--stock);
}
.r91-rail__logo--default { object-fit: contain; padding: 5px; background: var(--sheet-2); }
.r91-rail__text { display: grid; min-width: 0; gap: 1px; }
.r91-rail__text strong {
    font-size: .9rem; font-weight: 640; line-height: 1.3; color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.r91-rail__meta { font-family: var(--mono); font-size: .71rem; color: var(--ink-3); }
.r91-rail__more {
    display: block; margin-top: 8px; padding-top: 10px;
    border-top: 1px solid var(--rule-2);
    font-size: .8rem; font-weight: 650; color: var(--label-2); text-decoration: none;
}
.r91-rail__more:hover { text-decoration: underline; }

@media (max-width: 620px) {
    .r91-card { grid-template-columns: 60px minmax(0, 1fr); gap: 13px; padding: 15px; }
    .r91-card__art, .r91-card__logo { width: 60px; height: 60px; }
    .r91-home-hero__stats { gap: 4px 20px; }
}

/* Home hero keeps the display scale in check: the base h1 is sized for a
   record page, where it is the only heading above the fold. */
.r91-home-hero h1 {
    font-size: clamp(2rem, 4.1vw, 3.05rem);
    line-height: 1.08;
    letter-spacing: -.018em;
    max-width: 24ch;
}

/* -------------------------------------------------------------------------
 * 21. Record page: above-the-fold order, content typography, table rhythm
 *
 * Mobile first: the DOM paints the art block before the heading, which is the
 * wrong order on a phone. The rules below move the heading, the verdict and
 * the button into the first screen and let the artwork follow.
 * ---------------------------------------------------------------------- */

.r91-record-hero { padding: clamp(20px, 3vw, 34px) 0 clamp(22px, 3vw, 34px); }
.r91-record-hero h1 {
    font-size: clamp(1.95rem, 4.4vw, 3.15rem);
    letter-spacing: -.02em;
    line-height: 1.1;
}

@media (max-width: 760px) {
    .r91-record-hero { padding-top: 16px; }
    .r91-record-hero > .r91-shell { display: flex; flex-direction: column; }
    .r91-record-hero__meta { order: 1; margin-bottom: 10px; }
    .r91-record-hero__grid {
        order: 2;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 0;
    }
    .r91-record-hero__copy { order: 1; }
    .r91-record-hero__grid > aside { order: 2; }
    .r91-record-hero h1 { font-size: clamp(1.65rem, 6.6vw, 2.05rem); max-width: none; }
    .r91-record-hero__conclusion { font-size: .98rem; line-height: 1.55; }
    .r91-record-hero__note { margin-top: 12px; }
    .r91-hero-art {
        order: 3;
        margin: 20px 0 0;
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }
    .r91-keyfacts { margin-top: 4px; }
}

/* ---------- Content typography ---------- */

.r91-prose {
    font-size: 1.02rem;
    line-height: 1.72;
    color: var(--ink-2);
}
.r91-prose > :first-child { margin-top: 0; }
.r91-prose h2 {
    font-size: clamp(1.3rem, 2.6vw, 1.6rem);
    line-height: 1.22;
    letter-spacing: -.012em;
    margin: 2.2em 0 .55em;
    color: var(--ink);
}
.r91-prose h3 {
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.3;
    margin: 1.9em 0 .45em;
    color: var(--ink);
}
.r91-prose h2 + h3 { margin-top: .7em; }
.r91-prose p,
.r91-prose ul,
.r91-prose ol,
.r91-prose blockquote { max-width: 68ch; }
.r91-prose p { margin: 0 0 1.05em; }
.r91-prose ul,
.r91-prose ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.r91-prose li { margin: .35em 0; }
.r91-prose li::marker { color: var(--label-2); }
.r91-prose strong { color: var(--ink); font-weight: 650; }
.r91-prose a { color: var(--label-2); text-underline-offset: .17em; text-decoration-thickness: 1px; }
.r91-prose a:hover { color: var(--label); }
.r91-prose code {
    font-family: var(--mono); font-size: .86em;
    background: var(--sheet-2); border: 1px solid var(--rule-2);
    border-radius: 2px; padding: 1px 5px; word-break: break-word;
}
.r91-prose blockquote {
    margin: 1.5em 0; padding: .15em 0 .15em 1.05em;
    border-left: 3px solid var(--label-2);
    color: var(--ink-2); font-size: 1.04em;
}
.r91-prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.2em 0; }
.r91-prose img { max-width: 100%; height: auto; border-radius: 3px; }
.r91-prose figure { margin: 1.6em 0; }
.r91-prose figcaption { font-size: .8rem; color: var(--ink-3); margin-top: .5em; }

/* Tables that were never wrapped by the importer still get the house table. */
.r91-prose table {
    width: 100%; border-collapse: collapse;
    font-family: var(--sans); font-size: .9rem;
    margin: 1.4em 0;
}
.r91-prose th,
.r91-prose td {
    text-align: left; vertical-align: top;
    padding: 10px 14px 10px 0;
    border-bottom: 1px solid var(--rule-2);
}
.r91-prose thead th {
    font-size: .78rem; font-weight: 650; color: var(--ink-3);
    border-bottom: 1px solid var(--rule);
}
.r91-prose tbody tr:last-child td { border-bottom: 0; }

/* On a phone the table scrolls; the page never scrolls sideways. */
@media (max-width: 760px) {
    .r91-table-wrap { margin: 18px 0; }
    .r91-table-wrap table { font-size: .82rem; }
    .r91-table-wrap th,
    .r91-table-wrap td { padding: 9px 12px 9px 0; }
    .r91-prose table { font-size: .86rem; }
}

/* ---------- Section rhythm ---------- */

.r91-record-main > .r91-record-section + .r91-record-section {
    margin-top: clamp(26px, 3.4vw, 44px);
}
.r91-record-main h2 { letter-spacing: -.012em; }

@media (max-width: 760px) {
    .r91-record-main > .r91-record-section + .r91-record-section { margin-top: 26px; }
    .r91-record-main h2 { font-size: 1.22rem; }
}

/* -------------------------------------------------------------------------
 * 22. Record page v8: cover banner, screenshot strip, spec block, clean rail
 * ---------------------------------------------------------------------- */

/* Cover: the icon block spans the content column, not a 200 px cell. */
.r91-hero-banner {
    display: flex; align-items: center; justify-content: center;
    width: 100%;
    padding: clamp(18px, 3vw, 34px);
    margin: 0 0 24px;
    background: var(--sheet);
    border: 1px solid var(--rule);
    border-radius: 6px;
}
.r91-hero-banner__img {
    width: min(100%, 380px);
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}
@media (max-width: 760px) {
    .r91-hero-banner { padding: 18px; margin-bottom: 18px; }
    .r91-hero-banner__img { width: min(100%, 220px); }
}

/* Screenshots live in their own band, never in the hero. */
.r91-shots-block {
    padding: clamp(18px, 3vw, 30px) 0 clamp(10px, 2vw, 18px);
    border-top: 1px solid var(--rule);
}
.r91-shots {
    display: flex; gap: 12px;
    margin: 0; padding: 0 0 12px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.r91-shots li { flex: 0 0 auto; scroll-snap-align: start; }
.r91-shots img {
    width: 180px; height: 320px;
    object-fit: cover;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: var(--sheet-2);
}
@media (max-width: 760px) {
    .r91-shots img { width: 132px; height: 234px; }
}

/* Specification: two groups, one footnote. */
.r91-spec {
    background: var(--sheet);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 4px 20px 16px;
}
.r91-spec__group {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 18px 0 2px;
}
.r91-spec__group sup { color: var(--stamp); }
.r91-spec__list {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(110px, 170px) minmax(0, 1fr);
}
.r91-spec__list > div { display: contents; }
.r91-spec__list dt {
    padding: 10px 14px 10px 0;
    border-bottom: 1px solid var(--rule-2);
    font-size: .82rem;
    color: var(--ink-3);
    font-weight: 600;
}
.r91-spec__list dd {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule-2);
    text-align: right;
    font-family: var(--mono);
    font-size: .82rem;
    color: var(--ink);
    word-break: break-word;
}
.r91-spec__list > div:last-child dt,
.r91-spec__list > div:last-child dd { border-bottom: 0; }
.r91-spec__note {
    margin: 16px 0 0;
    padding-top: 12px;
    border-top: 1px dashed var(--rule);
    font-size: .76rem;
    line-height: 1.55;
    color: var(--ink-3);
}
@media (max-width: 760px) {
    .r91-spec { padding: 2px 14px 14px; }
    .r91-spec__list { grid-template-columns: minmax(96px, 40%) minmax(0, 1fr); }
}

/* Cards: bonus replaces the category/size line. */
.r91-card__bonus {
    margin: 0;
    font-size: .8rem;
    line-height: 1.3;
    color: var(--ink-3);
}
.r91-card__bonus span {
    font-weight: 700;
    color: var(--label-2);
    font-variant-numeric: tabular-nums;
}
.r91-card { align-items: center; }
.r91-card__body { align-content: center; }

/* Sidebar: flat, quiet, no double frames. */
.r91-side-card {
    background: var(--sheet);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 16px 16px 12px;
    margin: 0 0 14px;
}
.r91-side-card h2 {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 8px;
}
.r91-rail__item { padding: 10px 0; gap: 11px; }
.r91-rail__logo, .r91-rail__icon { width: 44px; height: 44px; flex-basis: 44px; }
.r91-rail__logo { border-radius: 9px; }
.r91-rail__text strong { font-size: .92rem; font-weight: 650; }
.r91-rail__meta { font-size: .72rem; color: var(--ink-3); }
.r91-rail__more {
    margin-top: 4px; padding-top: 12px;
    font-size: .82rem; font-weight: 650;
    color: var(--label-2); text-decoration: none;
}
.r91-rail__more::after { content: " \2192"; }
.r91-side-card dl { margin: 0; }
.r91-side-card dl > div {
    display: grid; grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 10px; padding: 7px 0;
    border-top: 1px solid var(--rule-2);
}
.r91-side-card dl > div:first-child { border-top: 0; }
.r91-side-card dt { font-size: .78rem; color: var(--ink-3); }
.r91-side-card dd { margin: 0; font-size: .8rem; text-align: right; }

/* -------------------------------------------------------------------------
 * 23. Home tightening: equal card rows, quieter hero, predictable rhythm
 * ---------------------------------------------------------------------- */

.r91-card-grid { gap: 16px; grid-auto-rows: 1fr; }
.r91-card { height: 100%; }

.r91-home-hero { padding: clamp(26px, 4.4vw, 54px) 0 clamp(22px, 3vw, 36px); }
.r91-home-hero h1 {
    font-size: clamp(1.85rem, 3.6vw, 2.7rem);
    line-height: 1.1;
    max-width: 26ch;
}
.r91-home-hero__lead { margin-top: 14px; font-size: .98rem; max-width: 58ch; }
.r91-home-hero__stats { margin-top: 22px; }

.r91-section { padding: clamp(30px, 4.4vw, 56px) 0; }
.r91-section__head { margin-bottom: 20px; }
.r91-section__head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

@media (max-width: 760px) {
    .r91-home-hero h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
    .r91-section { padding: 28px 0; }
    .r91-card { grid-template-columns: 64px minmax(0, 1fr); padding: 14px; gap: 13px; }
    .r91-card__art, .r91-card__logo { width: 64px; height: 64px; }
}

/* Wide screens: cover and copy sit side by side, so the heading and the button
   stay in the first screen instead of being pushed down by a full-width band. */
@media (min-width: 780px) {
    .r91-record-hero > .r91-shell {
        display: grid;
        grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
        gap: clamp(24px, 3vw, 44px);
        align-items: start;
    }
    .r91-hero-banner { margin: 0; padding: 16px; }
    .r91-hero-banner__img { width: 100%; border-radius: 12px; }
    .r91-record-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin-top: 0;
    }
    .r91-record-hero h1 { max-width: 24ch; }
}

/* The hero now lives inside the main column, so the sidebar starts at the top
   of the page instead of leaving half a screen empty beside the cover. */
@media (min-width: 780px) {
    .r91-record-hero {
        display: grid;
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
        gap: clamp(22px, 3vw, 40px);
        align-items: start;
        padding: clamp(14px, 2vw, 22px) 0 clamp(20px, 3vw, 30px);
    }
    .r91-hero-banner { margin: 0; padding: 14px; }
    .r91-hero-banner__img { width: 100%; }
    .r91-record-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 0;
    }
    .r91-record-hero h1 { max-width: 26ch; }
}

@media (max-width: 779px) {
    .r91-record-hero { display: block; }
    .r91-hero-banner { margin-bottom: 18px; }
}

/* Cover band spans the main column; copy and key facts share the row below it
   so the heading keeps a readable measure instead of being squeezed. */
@media (min-width: 780px) {
    .r91-record-hero {
        display: block;
        padding: clamp(12px, 1.8vw, 20px) 0 clamp(18px, 2.6vw, 28px);
    }
    .r91-hero-banner {
        width: 100%;
        min-height: clamp(170px, 22vw, 250px);
        padding: 18px;
        margin: 0 0 24px;
    }
    .r91-hero-banner__img {
        width: auto;
        max-width: 100%;
        max-height: clamp(140px, 19vw, 214px);
        border-radius: 16px;
    }
    .r91-record-hero__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: clamp(24px, 3vw, 40px);
        align-items: start;
        margin-top: 0;
    }
    .r91-record-hero h1 { max-width: 22ch; }
}

@media (max-width: 779px) {
    .r91-hero-banner {
        min-height: 0;
        padding: 16px;
        display: flex; justify-content: center;
    }
    .r91-hero-banner__img { width: min(100%, 200px); }
    .r91-record-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Key facts become a horizontal strip under the button, so the heading gets
   the full column instead of sharing it with a 300 px panel. */
@media (min-width: 780px) {
    .r91-record-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .r91-keyfacts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 0;
        background: none;
        border: 0;
        border-top: 1px solid var(--rule);
        margin-top: 6px;
    }
    .r91-keyfacts > div {
        display: block;
        padding: 13px 18px 0 0;
        border-top: 0;
        border-left: 1px solid var(--rule-2);
    }
    .r91-keyfacts > div:first-child { padding-left: 0; border-left: 0; }
    .r91-keyfacts dt { margin: 0 0 4px; }
    .r91-keyfacts dd { text-align: left; }
    .r91-record-hero h1 { max-width: 26ch; }
}

/* -------------------------------------------------------------------------
 * 24. Sidebar rows: keyword-only anchors, clear separation between blocks
 * ---------------------------------------------------------------------- */

.r91-rail__row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 0;
    border-top: 1px solid var(--rule-2);
}
.r91-rail__list li:first-child .r91-rail__row,
.r91-rail__row:first-child { border-top: 0; }

.r91-rail__icon { flex: 0 0 44px; width: 44px; height: 44px; }
.r91-rail__logo {
    width: 44px; height: 44px;
    object-fit: cover;
    border: 1px solid var(--rule);
    border-radius: 9px;
    background: var(--stock);
}
.r91-rail__logo--default { object-fit: contain; padding: 5px; background: var(--sheet-2); }

/* The anchor text is the app name and nothing else. */
.r91-rail__link {
    font-size: .94rem;
    font-weight: 650;
    line-height: 1.3;
    color: var(--ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.r91-rail__link::after { content: ""; position: absolute; inset: 0; }
.r91-rail__row:hover .r91-rail__link { color: var(--label-2); }
.r91-rail__link:focus-visible { outline: 2px solid var(--label); outline-offset: 3px; }

.r91-record-side { display: block; }
.r91-record-side .r91-side-card { margin: 0 0 16px; }
.r91-record-side .r91-side-card:last-child { margin-bottom: 0; }

/* The record H1 now carries a descriptive phrase rather than a four-word name,
   so it needs a tighter display size than the old "63 names, one file" line. */
@media (min-width: 780px) {
    .r91-record-hero h1 {
        font-size: clamp(1.9rem, 2.6vw, 2.5rem);
        line-height: 1.14;
        max-width: 30ch;
    }
}
@media (max-width: 779px) {
    .r91-record-hero h1 { font-size: clamp(1.55rem, 6vw, 1.95rem); }
}

/* Detected lobby modules: an L2 fact block, never part of the static body. */
.r91-lobby {
    margin-top: 18px;
    padding: 14px 16px;
    background: var(--sheet);
    border: 1px solid var(--rule);
    border-radius: 6px;
}
.r91-lobby__label {
    margin: 0 0 8px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.r91-lobby__chips {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin: 0; padding: 0; list-style: none;
}
.r91-lobby__chips li {
    font-size: .8rem; font-weight: 600;
    padding: 4px 10px;
    border: 1px solid #c6dccd;
    border-radius: 999px;
    background: var(--ok-bg, #e6eee8);
    color: var(--label);
}
.r91-lobby__note {
    margin: 10px 0 0;
    font-size: .72rem;
    line-height: 1.5;
    color: var(--ink-3);
}

/* -------------------------------------------------------------------------
 * 25. Directory page: category pills, search, tall app rows
 * ---------------------------------------------------------------------- */

.r91-catbar {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 20px 0 12px;
}
.r91-cat {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: var(--sheet);
    font-size: .86rem; font-weight: 640;
    color: var(--ink-2); text-decoration: none;
    transition: border-color .12s ease, color .12s ease, background .12s ease;
}
.r91-cat span { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.r91-cat:hover { border-color: var(--label-2); color: var(--label); }
.r91-cat.is-active { background: var(--label); border-color: var(--label); color: #fff; }
.r91-cat.is-active span { color: #c9d8cf; }

.r91-search--wide {
    display: flex; gap: 8px;
    margin: 4px 0 24px;
    max-width: 520px;
}
.r91-search--wide input[type="search"] {
    flex: 1 1 auto; min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--rule); border-radius: 4px;
    background: var(--sheet);
    font-family: var(--sans); font-size: .9rem; color: var(--ink);
}
.r91-search--wide button {
    padding: 10px 16px;
    border: 1px solid var(--label); border-radius: 4px;
    background: var(--label); color: #fff;
    font-family: var(--sans); font-size: .85rem; font-weight: 650;
    cursor: pointer;
}
.r91-search--wide button:hover { background: var(--label-2); }

.r91-app-list {
    list-style: none;
    margin: 0; padding: 0;
    border-top: 1px solid var(--rule);
}
.r91-app-row {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px 6px;
    border-bottom: 1px solid var(--rule-2);
    transition: background .12s ease;
}
.r91-app-row:hover { background: var(--sheet); }
.r91-app-row__art { width: 64px; height: 64px; }
.r91-app-row__logo {
    width: 64px; height: 64px; object-fit: cover;
    border: 1px solid var(--rule); border-radius: 12px;
    background: var(--stock);
}
.r91-app-row__logo--default { object-fit: contain; padding: 8px; background: var(--sheet-2); }
.r91-app-row__body { display: grid; gap: 3px; min-width: 0; }
.r91-app-row__name {
    font-size: 1.04rem; font-weight: 650; line-height: 1.3;
    color: var(--ink); text-decoration: none;
}
.r91-app-row__name::after { content: ""; position: absolute; inset: 0; }
.r91-app-row:hover .r91-app-row__name { color: var(--label); }
.r91-app-row__bonus { font-size: .8rem; color: var(--ink-3); }
.r91-app-row__bonus strong { color: var(--label-2); }
.r91-app-row__cta {
    font-size: .78rem; font-weight: 650; letter-spacing: .04em;
    text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
}
.r91-app-row:hover .r91-app-row__cta { color: var(--label); }

@media (max-width: 620px) {
    .r91-app-row {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 13px;
        padding: 14px 2px;
    }
    .r91-app-row__art, .r91-app-row__logo { width: 56px; height: 56px; }
    .r91-app-row__cta { display: none; }
}

/* The directory heading is a page label, not a hero: keep it below the front
   page scale so the categories and the list stay in the first screen. */
.r91-directory-head h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -.015em;
}

/* -------------------------------------------------------------------------
 * 26. Larger app artwork in every list
 * ---------------------------------------------------------------------- */

.r91-app-row { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 18px; padding: 18px 6px; }
.r91-app-row__art { width: 80px; height: 80px; }
.r91-app-row__logo {
    width: 80px; height: 80px;
    border-radius: 14px;
}
.r91-app-row__logo--default { padding: 10px; }
.r91-app-row__name { font-size: 1.08rem; }

.r91-card { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
.r91-card__art { width: 80px; height: 80px; }
.r91-card__logo { width: 80px; height: 80px; border-radius: 12px; }
.r91-card__logo--default { padding: 10px; }

@media (max-width: 620px) {
    .r91-app-row { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 15px 2px; }
    .r91-app-row__art, .r91-app-row__logo { width: 64px; height: 64px; }
    .r91-card { grid-template-columns: 68px minmax(0, 1fr); }
    .r91-card__art, .r91-card__logo { width: 68px; height: 68px; }
}

/* -------------------------------------------------------------------------
 * 27. Directory list: each app is a surface, not a line on the page
 * ---------------------------------------------------------------------- */

.r91-app-list {
    display: grid;
    gap: 10px;
    border-top: 0;
}
.r91-app-row {
    background: var(--sheet);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--rule);
    transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.r91-app-row:hover {
    background: #fff;
    border-color: var(--label-2);
    box-shadow: 0 2px 0 rgba(29, 75, 57, .06);
}
.r91-app-row + .r91-app-row { border-top: 1px solid var(--rule); }

@media (max-width: 620px) {
    .r91-app-list { gap: 8px; }
    .r91-app-row { padding: 13px 14px; }
}

/* -------------------------------------------------------------------------
 * 28. Brand mark
 *
 * The header and footer show the supplied logo file instead of the letter
 * tile the first version painted. The image keeps its own dark plate, so the
 * rule only has to size it and round the corners.
 * ---------------------------------------------------------------------- */

.r91-brand__mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    display: block;
    object-fit: contain;
    background: transparent;
    border-radius: 9px;
}
a.r91-brand:hover .r91-brand__mark { box-shadow: 0 0 0 2px var(--rule-2); }
.r91-brand--footer .r91-brand__mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    background: transparent;
}

.r91-nav__list a[aria-current="page"] {
    color: var(--label);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 480px) {
    .r91-brand__mark, .r91-brand--footer .r91-brand__mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}

/* -------------------------------------------------------------------------
 * 29. Category hub: head, app grid, copy and FAQ
 * ---------------------------------------------------------------------- */

.r91-hub-head { padding-bottom: 18px; }
.r91-hub-head .r91-directory-head__lead { margin-top: 12px; }
.r91-hub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    margin: 16px 0 0;
    font-family: var(--sans);
    font-size: .78rem;
    color: var(--ink-3);
}
.r91-hub-meta span { display: inline-flex; align-items: center; gap: 6px; }
.r91-hub-meta span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--label-2);
    display: inline-block;
}
.r91-hub-grid { margin: 6px 0 10px; }
.r91-hub-grid-title {
    font-size: clamp(1.1rem, 1.7vw, 1.32rem);
    letter-spacing: -.02em;
    margin: 18px 0 14px;
}
.r91-hub-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}
.r91-hub-aside { display: grid; gap: 14px; position: sticky; top: 86px; }
.r91-hub-aside .r91-side-card { margin: 0; }

/* A [r91_cluster] shortcode dropped into an editor page renders the same grid;
   it must not inherit the 68ch prose measure. */
.r91-prose .r91-card-grid { max-width: none; }

@media (max-width: 900px) {
    .r91-hub-layout { grid-template-columns: 1fr; }
    .r91-hub-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .r91-hub-aside { grid-template-columns: 1fr; }
    .r91-hub-meta { gap: 4px 16px; }
}

/* The fallback icon is a self-contained plate; it does not need the padding
   that kept the old letter tile off its border. */
.r91-card__logo--default,
.r91-app-row__logo--default,
.r91-rail__logo--default {
    padding: 0;
    background: transparent;
    object-fit: contain;
}