/* ===================================================================
   The compare page (src/pages/compare.html). Shared building blocks are in style/pages.css; only this page's own parts go here.

   big animation .... .cmp-stage > .cmp-st: .cmp-st-top (.cmp-pick .cmp-range), .cmp-chart (.cmp-plot: bars drawn by
                      scripts/compare.js), .cmp-table (.cmp-th, .cmp-rows > .cmp-empty + .cmp-list, .cmp-foot), .cmp-cursor
   small ones ....... .cmp-fx (a feature picture): .cmp-rec (a row and its filters), .cmp-af (automatic rows), .cmp-sv (saved
                      comparisons), .cmp-rg (one date range)
   The app's look: green buttons and chips, a colour dot per row (by position, as in the app), a small badge per website.
   =================================================================== */

.cmp-stage {
    --row-h: 37px;
    --plot-h: clamp(96px, 10vw, 132px);
}

/* ===== parts shared by the big animation and the small ones ===== */

/* the colour dot of a row (its colour on the chart) */
.cmp-dot {
    display: inline-block;
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c, var(--color-green));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--color-green)) 18%, transparent);
    transition: background-color .5s ease, box-shadow .5s ease;
}

/* a website's badge: its initials on its own colour, as the app shows it */
.cmp-fav {
    display: inline-grid;
    place-items: center;
    flex: none;

    width: 22px;
    height: 22px;

    border-radius: 6px;
    background: color-mix(in srgb, var(--s) 16%, var(--color-bg));

    font-size: 9.5px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .02em;
    color: color-mix(in srgb, var(--s) 72%, #000000);
}

:root[data-theme="dark"] .cmp-fav {
    background: color-mix(in srgb, var(--s) 24%, var(--color-bg-soft));
    color: color-mix(in srgb, var(--s) 55%, #ffffff);
}

/* the comparison switcher and the date range: two quiet buttons of the app's top row */
.cmp-pick,
.cmp-range {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;

    height: 34px;
    padding-inline: 12px;

    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg);

    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
}

:root[data-theme="dark"] :is(.cmp-pick, .cmp-range) {
    background: var(--color-bg-soft);
}

.cmp-pick svg,
.cmp-range svg {
    flex: none;
    width: 15px;
    height: 15px;
    color: var(--green-text);
}

.cmp-pick .cmp-pick-chev {
    width: 14px;
    height: 14px;
    color: var(--color-text-quiet);
}

/* the app's buttons */
.cmp-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    height: 34px;
    padding-inline: 14px;

    border: 1px solid transparent;
    border-radius: 10px;

    font-size: 13.5px;
    font-weight: 800;
    white-space: nowrap;

    transition: transform .16s var(--ease), background-color .2s ease, box-shadow .2s ease;
}

.cmp-btn svg {
    flex: none;
    width: 16px;
    height: 16px;
}

.cmp-btn.is-primary {
    background: var(--color-green);
    color: var(--color-green-ink);
    box-shadow: 0 8px 18px -12px rgba(22, 163, 74, .9);
}

.cmp-btn.is-soft {
    background: var(--color-green-soft);
    color: var(--green-text);
}

.cmp-btn.is-text {
    color: var(--green-text);
}

/* pressed by the pointer of the animation */
.cmp-btn.is-press {
    transform: scale(.93);
}

/* ===================================================================
   The big animation
   =================================================================== */

.cmp-st {
    display: grid;
    /* the room for the two rows of the example (the heading, the rows, the bar under them) is kept, so the page never jumps
       while the rows come in */
    grid-template-rows: auto auto minmax(calc(38px + var(--row-h) * 2 + 34px + 8px + 57px), auto);
    gap: clamp(10px, 1.4vw, 16px);
}

.cmp-st-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* ----- the chart: one bar per row and day ("Bars", as in the app) ----- */

.cmp-chart {
    padding: 12px 14px 10px;
}

.cmp-chart-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.cmp-chart-t {
    font-size: 14.5px;
    font-weight: 800;
}

.cmp-metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    height: 26px;
    padding-inline: 10px;

    border: 1px solid color-mix(in srgb, #3b82f6 40%, var(--color-border));
    border-radius: 999px;
    background: color-mix(in srgb, #3b82f6 10%, var(--color-bg));

    font-size: 12.5px;
    font-weight: 700;
}

.cmp-metric i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
}

.cmp-seg {
    display: inline-flex;
    gap: 2px;
    margin-inline-start: auto;
    padding: 3px;

    border: 1px solid var(--color-border);
    border-radius: 10px;
}

.cmp-seg > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    height: 26px;
    padding-inline: 9px;

    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-text-soft);
}

.cmp-seg > span.is-on {
    background: var(--color-green);
    color: var(--color-green-ink);
}

.cmp-seg svg {
    width: 14px;
    height: 14px;
}

.cmp-plot {
    position: relative;
    margin-top: 10px;
    padding-left: 40px; /* the axis labels; the chart reads left to right in every language, as in the app */
}

.cmp-plot-svg {
    display: block;
    width: 100%;
    height: var(--plot-h);
    overflow: visible;
}

.cmp-yaxis {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: var(--plot-h);
}

.cmp-yaxis span {
    position: absolute;
    right: 0;
    transform: translateY(-50%);

    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-quiet);
    font-variant-numeric: tabular-nums;
}

.cmp-xaxis {
    display: flex;
    margin-top: 6px;
}

.cmp-xaxis span {
    flex: 1;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-quiet);
    text-align: center;
}

.cmp-grid line {
    stroke: var(--color-border-soft);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.cmp-grid line.is-base {
    stroke: var(--color-border);
}

:root[data-theme="dark"] .cmp-grid line {
    stroke: var(--color-border);
}

.cmp-bars rect {
    fill: var(--c);
}

/* ----- the table ----- */

.cmp-table {
    align-self: start;
    overflow: hidden;
    padding: 0;
}

.cmp-tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(4, minmax(64px, 108px));
    align-items: center;
    column-gap: 10px;
    padding-inline: 14px;
}

.cmp-th {
    height: 38px;
    border-bottom: 1px solid var(--color-border-soft);

    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-soft);
}

.cmp-th > span:not(:first-child) {
    text-align: end;
}

:root[data-theme="dark"] :is(.cmp-th, .cmp-r, .cmp-foot) {
    border-color: var(--color-border);
}

/* as long as its rows (room for the empty card at least); the stage keeps the room for the example's rows (.cmp-st) */
.cmp-rows {
    position: relative;
    min-height: max(calc(var(--row-h) * 3 + 8px), 150px);
}

.cmp-r {
    height: var(--row-h);
    border-bottom: 1px solid var(--color-border-soft);

    opacity: 0;
    transform: translateX(-18px);
    transition: opacity .45s ease, transform .6s var(--ease);
}

[dir="rtl"] .cmp-r {
    transform: translateX(18px);
}

.cmp-r.is-in {
    opacity: 1;
    transform: none;
}

.cmp-list.is-out > * {
    opacity: 0;
    transform: none;
    transition-duration: .5s;
}

.cmp-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;

    font-size: 13.5px;
    font-weight: 700;
}

.cmp-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmp-label small {
    font-size: inherit;
    font-weight: 600;
    color: var(--color-text-soft);
}

.cmp-v {
    justify-self: end;
    margin-inline-end: -6px;
    padding: 3px 6px;

    border-radius: 7px;

    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-soft);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;

    transition: background-color .6s ease, color .6s ease;
}

/* the best of its column: bold, as in the app, with a soft green mark so the change is easy to follow */
.cmp-v.is-best {
    background: color-mix(in srgb, var(--color-green) 16%, transparent);
    color: var(--color-text);
    font-weight: 800;
}

/* the heading over the automatic rows */

/* nothing to compare yet: the app's empty card */
.cmp-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    padding: 20px;
    text-align: center;

    transition: opacity .4s ease, transform .5s var(--ease);
}

.cmp-empty p {
    max-width: 30ch;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-soft);
}

.cmp-empty.is-gone {
    opacity: 0;
    transform: translateY(-10px);
}

.cmp-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--color-border-soft);
}

.cmp-count {
    margin-inline-start: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-text-soft);
    font-variant-numeric: tabular-nums;
}

/* the pointer that "uses" the app; scripts/compare.js moves it in screen coordinates, so it is placed from the physical top left */
.cmp-cursor {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;

    width: 22px;
    height: 22px;

    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 2px 3px rgba(15, 23, 42, .35));
    transition: transform .9s var(--ease), opacity .35s ease;
}

.cmp-cursor svg {
    width: 100%;
    height: 100%;
    fill: var(--color-text);
    stroke: var(--color-bg);
    stroke-width: 1.4;
    stroke-linejoin: round;
}

.cmp-cursor.is-on {
    opacity: 1;
}

/* a click: one ring that grows and fades (once, never repeated quickly) */
.cmp-cursor::after {
    content: "";
    position: absolute;
    left: -11px;
    top: -11px;
    width: 28px;
    height: 28px;
    border: 2px solid var(--color-green);
    border-radius: 50%;
    opacity: 0;
}

.cmp-cursor.is-click::after {
    animation: cmp-click .55s ease-out;
}

@keyframes cmp-click {
    0% { opacity: .9; transform: scale(.3); }
    100% { opacity: 0; transform: scale(1.25); }
}

/* ===================================================================
   The small animations of the feature blocks
   =================================================================== */

.cmp-fx {
    display: grid;
    place-items: center;
    padding: clamp(12px, 4%, 24px);
}

.cmp-more {
    margin: 12px 14px 0;
    font-size: 15px;
}

/* a white card of the app inside a feature picture */
.cmp-rec-card,
.cmp-rec-row,
.cmp-af-row,
.cmp-sv-list,
.cmp-sv-rows,
.cmp-rg-row {
    border: 1px solid var(--color-border-soft);
    background: var(--color-bg);
    box-shadow: var(--shadow-sm);
}

:root[data-theme="dark"] :is(.cmp-rec-card, .cmp-rec-row, .cmp-af-row, .cmp-sv-list, .cmp-sv-rows, .cmp-rg-row) {
    border-color: var(--color-border);
    background: var(--color-bg-soft);
}

/* ----- a row and its filters ----- */

.cmp-rec {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 440px;
}

.cmp-rec-card {
    display: grid;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
}

.cmp-rec-line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.cmp-rec-l {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-text-soft);
}

.cmp-rec-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
}

.cmp-rec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 26px;
}

.cmp-fchip {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    height: 26px;
    padding-inline: 10px;

    border: 1px solid color-mix(in srgb, var(--color-green) 45%, var(--color-border));
    border-radius: 999px;
    background: var(--color-green-soft);

    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-soft);
    white-space: nowrap;

    opacity: 0;
    transform: scale(.8);
    transition: opacity .35s ease, transform .45s var(--ease);
}

.cmp-fchip b {
    font-weight: 800;
    color: var(--color-text);
}

.cmp-fchip.is-on {
    opacity: 1;
    transform: none;
}

.cmp-rec-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
}

.cmp-rec-name {
    overflow: hidden;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmp-rec-add {
    display: none;
    color: var(--color-text-soft);
}

.cmp-rec-add.is-on {
    display: inline;
}

.cmp-rec-num {
    display: grid;
    justify-items: end;
    line-height: 1.2;
}

.cmp-rec-num small {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-soft);
}

.cmp-rec-num b,
.cmp-af-v,
.cmp-rg-v {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    transition: color .6s ease;
}

.cmp-rec-num b {
    font-size: 18px;
}

/* a number that just changed: green for a moment, then back (a slow fade, never a blink) */
.is-changed {
    color: var(--green-text);
}

/* ----- automatic rows: the values picked again for each date range ----- */

.cmp-af {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 440px;
}

.cmp-af-top {
    display: flex;
    justify-content: flex-end;
}

.cmp-af-seg {
    display: inline-flex;
    gap: 2px;
    padding: 3px;

    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg);
}

:root[data-theme="dark"] .cmp-af-seg {
    background: var(--color-bg-soft);
}

.cmp-af-seg span {
    display: grid;
    place-items: center;

    height: 26px;
    padding-inline: 11px;

    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-text-soft);
    white-space: nowrap;

    transition: background-color .3s ease, color .3s ease;
}

.cmp-af-seg span.is-on {
    background: var(--color-green);
    color: var(--color-green-ink);
}

.cmp-af-h {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;

    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-soft);
}

.cmp-af-h svg {
    flex: none;
    width: 13px;
    height: 13px;
    color: var(--green-text);
}

.cmp-af-h span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmp-af-list {
    position: relative;
    height: calc(3 * 40px + 2 * 6px);
}

.cmp-af-row {
    position: absolute;
    inset-inline: 0;
    top: 0;

    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;

    height: 40px;
    padding-inline: 12px;

    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;

    transform: translateY(calc(var(--i, 0) * 46px));
    transition: transform .75s var(--ease), opacity .45s ease;
}

.cmp-af-row.is-gone {
    opacity: 0;
    transform: translateY(calc(var(--i, 0) * 46px)) translateX(28px);
}

[dir="rtl"] .cmp-af-row.is-gone {
    transform: translateY(calc(var(--i, 0) * 46px)) translateX(-28px);
}

.cmp-af-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmp-af-name small {
    font-size: inherit;
    font-weight: 600;
    color: var(--color-text-soft);
}

.cmp-af-v {
    font-size: 13.5px;
}

/* ----- saved comparisons: a switcher, each with its own rows ----- */

.cmp-sv {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    width: 100%;
    max-width: 460px;
}

.cmp-sv-menu {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.cmp-sv-btn {
    width: 100%;
}

.cmp-sv-btn > span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmp-sv-btn .cmp-pick-chev {
    margin-inline-start: auto;
}

.cmp-sv-list {
    display: grid;
    gap: 2px;
    padding: 5px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.cmp-sv-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 14px;
    align-items: center;
    gap: 6px;

    height: 34px;
    padding-inline: 9px;

    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;

    transition: background-color .35s ease;
}

.cmp-sv-list li.is-on {
    background: var(--color-green-soft);
}

.cmp-sv-t {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmp-sv-list small {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-soft);
    white-space: nowrap;
}

.cmp-sv-ok {
    width: 14px;
    height: 14px;
    color: var(--green-text);
    opacity: 0;
    transition: opacity .3s ease;
}

.cmp-sv-list li.is-on .cmp-sv-ok {
    opacity: 1;
}

.cmp-sv-rows {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: calc(6 * 18px + 5 * 6px + 20px);
    padding: 10px;
    border-radius: 12px;
}

.cmp-sv-row {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 7px;
    height: 18px;

    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .35s ease, transform .5s var(--ease);
}

[dir="rtl"] .cmp-sv-row {
    transform: translateX(10px);
}

.cmp-sv-row.is-in {
    opacity: 1;
    transform: none;
}

.cmp-sv-row i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c);
}

.cmp-sv-row span,
.cmp-sv-row b {
    height: 7px;
    border-radius: 4px;
}

.cmp-sv-row span {
    width: var(--w, 80%);
    background: var(--color-border);
}

.cmp-sv-row b {
    background: color-mix(in srgb, var(--color-text) 28%, transparent);
}

/* ----- one date range: every row's number and change move together ----- */

.cmp-rg {
    display: grid;
    justify-items: start;
    gap: 10px;
    width: 100%;
    max-width: 440px;
}

.cmp-rg-labels {
    display: grid;
}

.cmp-rg-labels span {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .45s var(--ease);
}

.cmp-rg-labels span.is-on {
    opacity: 1;
    transform: none;
}

.cmp-rg-rows {
    display: grid;
    gap: 6px;
    width: 100%;
}

.cmp-rg-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto 58px;
    align-items: center;
    gap: 10px;

    height: 40px;
    padding-inline: 12px;

    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.cmp-rg-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmp-rg-v {
    font-size: 14px;
}

.cmp-rg-t {
    font-size: 12px;
    font-weight: 800;
    text-align: end;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    transition: color .4s ease;
}

.cmp-rg-t.is-up {
    color: var(--green-text);
}

.cmp-rg-t.is-down {
    color: #dc2626;
}

:root[data-theme="dark"] .cmp-rg-t.is-down {
    color: #f87171;
}

.cmp-rg-t.is-up::before {
    content: "↑ ";
}

.cmp-rg-t.is-down::before {
    content: "↓ ";
}

.cmp-rg-vs {
    justify-self: end;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-soft);
}

/* ===================================================================
   Narrower screens
   =================================================================== */

/* a tablet: narrower number columns, so the rows keep their names */
@media (max-width: 960px) {

    .cmp-tr {
        grid-template-columns: minmax(0, 1fr) repeat(4, minmax(56px, 84px));
    }
}

@media (max-width: 640px) {

    .cmp-stage {
        --row-h: 36px;
    }

    /* the bar under the rows takes two lines here */
    .cmp-st {
        grid-template-rows: auto auto minmax(calc(38px + var(--row-h) * 2 + 34px + 8px + 80px), auto);
    }

    /* the table keeps the two numbers that fit: visitors and bounce rate */
    .cmp-tr {
        grid-template-columns: minmax(0, 1fr) 56px 70px;
        column-gap: 8px;
        padding-inline: 10px;
    }

    .cmp-tr .is-pv,
    .cmp-tr .is-time {
        display: none;
    }

    .cmp-name,
    .cmp-v {
        font-size: 12.5px;
    }

    .cmp-name {
        gap: 6px;
    }

    .cmp-name .cmp-fav {
        width: 20px;
        height: 20px;
        font-size: 8.5px;
    }

    .cmp-r.has-sub :is(.cmp-sn, .cmp-sep) {
        display: none;
    }

    .cmp-r.has-sub .cmp-label small {
        color: var(--color-text);
        font-weight: 700;
    }

    

    .cmp-chart {
        padding: 10px 10px 8px;
    }

    /* the chart type keeps its icons only */
    .cmp-seg > span > span {
        display: none;
    }

    .cmp-plot {
        padding-left: 32px;
    }

    .cmp-yaxis {
        width: 26px;
    }

    .cmp-pick,
    .cmp-range {
        height: 32px;
        padding-inline: 10px;
        font-size: 12.5px;
    }

    

    

    

    

    .cmp-btn {
        height: 32px;
        padding-inline: 11px;
        font-size: 12.5px;
    }

    .cmp-foot {
        padding: 8px 10px;
    }

    /* the small animations: a little more height than 16:10 where the text would not fit */
    .cmp-fx {
        aspect-ratio: auto;
        min-height: 210px;
    }

    .cmp-rec-line {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    /* the row's name may take two lines on a phone, so its last filter stays visible */
    .cmp-rec-name {
        white-space: normal;
    }

    .cmp-sv {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        gap: 10px;
    }

    .cmp-sv-list small {
        display: none;
    }

    .cmp-sv-list li {
        grid-template-columns: minmax(0, 1fr) 14px;
    }
}

/* ===== less motion: the animations show their final state (scripts/compare.js); nothing slides ===== */
@media (prefers-reduced-motion: reduce) {

    .cmp-cursor {
        display: none;
    }

    .cmp-r,
    .cmp-af-row,
    .cmp-sv-row,
    .cmp-fchip,
    .cmp-rg-labels span {
        transform: none;
    }
}

/* the caption under the big example */
.cmp-cap {
    margin-top: 18px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-soft);
}
