/* =====================================================================
   Kiboko Tours & Travel — Proof (ratings, reviews, quotes)
   -----------------------------------------------------------------
   Every block that shows what travellers said, on every page. Markup lives in
   includes/proof.php. Self-contained: it carries its own tokens, because the
   pages that use it (homepage, group, private, package, About, booking) each
   scope their design tokens differently.

   Contrast: brand orange on white is ~3:1, so orange is for borders and fills
   only; text is --pf-ink or --pf-orange-ink (#a8460f, AA on light).
   ===================================================================== */

:root {
    --pf-ink:        #14181d;
    --pf-muted:      #5d6570;
    --pf-line:       #e4dcd1;
    --pf-sand:       #f8f3ec;
    --pf-surface:    #ffffff;
    --pf-orange:     #f4732b;
    --pf-orange-ink: #a8460f;
    --pf-green:      #1f6f43;
    --pf-gold:       #f2a60d;
    --pf-navy:       #14293a;
    --pf-radius:     18px;
    --pf-star:       url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 1.4l2.6 5.7 6.2.7-4.6 4.2 1.3 6.1L10 15l-5.5 3.1 1.3-6.1L1.2 7.8l6.2-.7z'/></svg>");
}

/* ── Stars ────────────────────────────────────────────────────────────────
   One element, five stars, filled to --fill. A 4.9 draws as 4.9. */
.pf-stars {
    --s: 16px;
    display: inline-block; flex: none; vertical-align: middle;
    width: calc(var(--s) * 5); height: var(--s);
    background: linear-gradient(90deg, var(--pf-gold) var(--fill, 100%), #ddd6cb var(--fill, 100%));
    -webkit-mask: var(--pf-star) 0 0 / var(--s) var(--s) repeat-x;
            mask: var(--pf-star) 0 0 / var(--s) var(--s) repeat-x;
}
.pf-stars--lg { --s: 20px; }

/* ── Source marks ─────────────────────────────────────────────────────── */
.pf-g { display: block; flex: none; }
.kh-ta.pf-owl { width: 22px; height: 22px; }
.kh-ta.pf-owl::before, .kh-ta.pf-owl::after { top: 7px; width: 5px; height: 5px; border-width: 2px; }
.kh-ta.pf-owl::before { left: 3px; }
.kh-ta.pf-owl::after { right: 3px; }
.pf-sb {
    width: 22px; height: 22px; border-radius: 6px; flex: none;
    display: inline-grid; place-items: center;
    background: #b5541a; color: #fff; font-size: .7rem;
}

/* ── The rating chip: beside a primary button ──────────────────────────── */
.pf-chip {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px; border-radius: 999px; text-decoration: none;
    font-size: .9rem; line-height: 1.2;
    transition: background .15s ease, border-color .15s ease;
}
.pf-chip strong { font-weight: 700; }
.pf-chip--dark  { color: #fff; background: rgba(8, 16, 23, .46); border: 1px solid rgba(255, 255, 255, .3);
                  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.pf-chip--dark:hover { color: #fff; background: rgba(8, 16, 23, .62); border-color: rgba(255, 255, 255, .55); }
.pf-chip--light { color: var(--pf-ink); background: #fff; border: 1px solid var(--pf-line); }
.pf-chip--light:hover { color: var(--pf-ink); border-color: var(--pf-orange); }
.pf-chip .pf-stars { --s: 14px; }

/* ── The scoreboard under the hero ─────────────────────────────────────────
   A floating card: it overlaps the bottom of the hero so the first scroll
   already lands on proof, and it reads as one object rather than a row of
   unrelated widgets. */
.pf-strip { position: relative; z-index: 3; padding: 0 0 26px; background: #fff; }
.pf-strip .container { position: relative; }
.pf-strip__card {
    display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 2.2fr);
    gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center;
    margin-top: -46px; padding: 26px clamp(20px, 3vw, 34px);
    background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 24px;
    box-shadow: 0 4px 8px rgba(20, 24, 29, .05), 0 24px 60px rgba(20, 24, 29, .16);
}
.pf-eyebrow {
    margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--pf-orange-ink);
}
.pf-strip__lead h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; color: var(--pf-ink); }
.pf-strip__lead p:last-child { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--pf-muted); }

.pf-strip__cells { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 12px; align-items: stretch; }

.pf-plat {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    padding: 16px 10px 14px; text-align: center; text-decoration: none; color: var(--pf-ink);
    background: var(--pf-sand); border: 1px solid transparent; border-radius: 16px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.pf-plat:hover, .pf-plat:focus-visible {
    color: var(--pf-ink); background: #fff; border-color: var(--pf-line);
    transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20, 24, 29, .12);
}
.pf-plat__mark { display: grid; place-items: center; height: 24px; }
.pf-plat__score { font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; margin-top: 2px; }
.pf-plat .pf-stars { --s: 15px; }
.pf-plat__name { font-weight: 700; font-size: .95rem; margin-top: 4px; }
.pf-plat__sub { font-size: .8rem; color: var(--pf-muted); }
.pf-plat__sub i { font-size: .66rem; margin-left: 2px; }

/* The Travellers' Choice award sits first and a little warmer: it is the one
   claim here that is an award rather than a score. */
.kh-award--strip {
    flex-direction: column; justify-content: center; text-align: center; gap: 8px;
    padding: 14px 12px; border-radius: 16px; border: 1px solid #cfe7da; background: #f1faf6;
}
a.kh-award--strip:hover, a.kh-award--strip:focus-visible { border-color: #34a853; transform: translateY(-2px); }
.kh-award--strip img { width: 54px; }
.kh-award--strip .kh-award__body { align-items: center; }
.kh-award--strip .kh-award__body strong { font-size: .95rem; }
.kh-award--strip .kh-award__body span { font-size: .78rem; }

.pf-strip__foot { margin: 14px 0 0; text-align: center; font-size: .8rem; color: var(--pf-muted); }
.pf-strip__foot i { margin-right: 4px; }

@media (max-width: 991.98px) {
    .pf-strip__card { grid-template-columns: 1fr; gap: 18px; margin-top: -34px; padding: 22px 18px; }
    .pf-strip__lead { text-align: center; }
}
@media (max-width: 575.98px) {
    /* The award takes a full row; the three scores share the next one, so all
       three read at a glance without scrolling sideways. */
    .pf-strip__cells { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .kh-award--strip { grid-column: 1 / -1; flex-direction: row; gap: 12px; text-align: left; padding: 10px 14px; }
    .kh-award--strip img { width: 40px; }
    .kh-award--strip .kh-award__body { align-items: flex-start; }
    .pf-plat { padding: 12px 4px 10px; }
    .pf-plat__score { font-size: 1.7rem; }
    .pf-plat .pf-stars { --s: 11px; }
    .pf-plat__name { font-size: .78rem; }
    .pf-plat__sub { font-size: .7rem; }
    .pf-plat__sub i { display: none; }
}

/* ── A single quote ──────────────────────────────────────────────────── */
.pf-quote {
    margin: 0; display: flex; flex-direction: column; gap: 10px;
    background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: var(--pf-radius);
    padding: 22px 22px 20px; text-align: left; height: 100%;
}
.pf-quote__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pf-quote__src { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--pf-muted); }
.pf-quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--pf-ink); }
.pf-quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .85rem; color: var(--pf-muted); line-height: 1.35; }
.pf-quote figcaption strong { color: var(--pf-ink); font-size: .92rem; }

/* Inside a product card: lighter, no box of its own. */
.pf-quote--mini { background: var(--pf-sand); border: 0; border-left: 3px solid var(--pf-orange); border-radius: 4px 12px 12px 4px; padding: 14px 16px; gap: 6px; height: auto; }
.pf-quote--mini blockquote { font-size: .95rem; line-height: 1.5; }
.pf-quote--mini .pf-stars { --s: 13px; }
.pf-quote--mini figcaption { flex-direction: row; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; margin-top: 2px; }

/* Beside a button: quiet, so it supports the action rather than competing. */
.pf-quote--rail { padding: 16px 18px; border-radius: 14px; background: var(--pf-sand); border-color: transparent; gap: 8px; height: auto; }
.pf-quote--rail blockquote { font-size: .93rem; line-height: 1.5; }
.pf-quote--rail .pf-stars { --s: 13px; }

.pf-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.pf-grid--1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.pf-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 991.98px) { .pf-grid, .pf-grid--2 { grid-template-columns: 1fr; } }

/* ── "Read every review" ─────────────────────────────────────────────── */
.pf-all {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px;
    margin: 26px 0 0; font-size: .92rem; color: var(--pf-muted);
}
.pf-all a {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px;
    border: 1px solid var(--pf-line); border-radius: 999px; background: #fff;
    color: var(--pf-ink); font-weight: 600; text-decoration: none; transition: border-color .15s ease;
}
.pf-all a:hover { border-color: var(--pf-orange); color: var(--pf-ink); }

/* ── Filter chips ────────────────────────────────────────────────────── */
.pf-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 0 22px; }
.pf-filter__label { font-size: .85rem; color: var(--pf-muted); margin-right: 4px; }
.pf-filter__chip {
    border: 1px solid var(--pf-line); background: #fff; color: var(--pf-ink);
    padding: 7px 15px; border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pf-filter__chip:hover { border-color: var(--pf-orange); }
.pf-filter__chip.is-on { background: var(--pf-ink); border-color: var(--pf-ink); color: #fff; }
@media (max-width: 575.98px) {
    /* One scrolling row rather than a wrapped block that pushes the reviews down. */
    .pf-filter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px 6px; }
    .pf-filter::-webkit-scrollbar { display: none; }
    .pf-filter__label { display: none; }
    .pf-filter__chip { flex: none; }
}

.pf-card__src { margin-left: auto; display: grid; place-items: center; }
.pf-card__via { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #efeae2; font-size: .78rem; color: #6b727b; }
.pf-card__via a { color: var(--pf-green); font-weight: 600; text-decoration: none; }
.pf-card__via a:hover { text-decoration: underline; }
.kh-rv__card[hidden] { display: none; }
.pf-end__marks { display: flex; gap: 8px; align-items: center; }

/* ── A review section on any page ─────────────────────────────────────── */
.pf-sec { padding: clamp(52px, 6vw, 88px) 0 clamp(36px, 4vw, 52px); }
.pf-sec--sand { background: var(--pf-sand); }
.pf-center { text-align: center; }
.pf-h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--pf-ink); }
.pf-lead { margin: 0 auto 28px; max-width: 54ch; font-size: 1.08rem; line-height: 1.6; color: var(--pf-muted); }
.pf-reviews .pf-eyebrow { margin-bottom: 8px; }

/* ── About: the distribution and the facts ───────────────────────────── */
.pf-about { padding: clamp(56px, 7vw, 96px) 0; background: var(--pf-sand); }
.pf-about__head { max-width: 62ch; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.pf-about__head h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; color: var(--pf-ink); }
.pf-about__head p:last-child { margin: 0; color: var(--pf-muted); line-height: 1.6; font-size: 1.05rem; }

.pf-score { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; margin-bottom: 26px; }
@media (max-width: 767.98px) { .pf-score { grid-template-columns: 1fr; } }
.pf-dist { background: #fff; border: 1px solid var(--pf-line); border-radius: 20px; padding: 24px 26px; }
.pf-dist__title { margin: 0 0 14px; font-size: 1.05rem; color: var(--pf-ink); }
.pf-dist__row { display: grid; grid-template-columns: 44px 1fr 34px; gap: 12px; align-items: center; margin: 0 0 8px; font-size: .92rem; }
.pf-dist__star { font-weight: 600; color: var(--pf-ink); white-space: nowrap; }
.pf-dist__star i { color: var(--pf-gold); font-size: .78rem; }
.pf-dist__bar { height: 10px; border-radius: 999px; background: #efe8de; overflow: hidden; }
.pf-dist__bar i { display: block; height: 100%; border-radius: 999px; background: var(--pf-gold); min-width: 0; }
.pf-dist__n { text-align: right; color: var(--pf-muted); font-variant-numeric: tabular-nums; }
.pf-dist__link { display: inline-block; margin-top: 10px; font-weight: 600; font-size: .92rem; color: var(--pf-green); text-decoration: none; }
.pf-dist__link:hover { text-decoration: underline; }

.pf-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pf-facts li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--pf-line); border-radius: 18px; padding: 16px 20px; }
.pf-facts strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--pf-orange-ink); min-width: 4.8em; white-space: nowrap; line-height: 1.1; }
.pf-facts span { color: var(--pf-muted); font-size: .95rem; line-height: 1.4; }

.pf-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 18px; margin-top: 8px; }
@media (max-width: 991.98px) { .pf-themes { grid-template-columns: 1fr; } }
.pf-theme { display: flex; flex-direction: column; gap: 8px; }
.pf-theme__label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-orange-ink); }
.pf-theme .pf-quote { flex: 1; }

/* ── "Travellers who went where this goes" ────────────────────────────── */
.pf-route { padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--pf-line); }
.pf-route h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; color: var(--pf-ink); }
.pf-route__sub { margin: 0 0 20px; color: var(--pf-muted); }
.pf-route .pf-eyebrow + h2 { margin-bottom: 20px; }
.pf-route .pf-all { justify-content: flex-start; }

.pf-route--bare { margin-top: 2rem; padding: 0; border-top: 0; }
.pf-route--bare .pf-all, .pf-all--left { justify-content: flex-start; }
.pf-route--bare .pf-grid { margin-top: 14px; }

/* ── One line of proof, between a banner and a grid ───────────────────── */
.pf-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px;
    margin: 0 auto 26px; padding: 12px 18px; max-width: 980px;
    background: var(--pf-sand); border-radius: 16px; font-size: .95rem; color: var(--pf-ink);
}
.pf-bar__q { margin: 0; line-height: 1.45; }
.pf-bar__q span { color: var(--pf-muted); font-size: .88rem; }
@media (max-width: 575.98px) { .pf-bar { flex-direction: column; text-align: center; gap: 8px; } }

/* A quote under a persona / product card. */
.pf-persona-q { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--pf-line); font-size: .86rem; line-height: 1.45; color: var(--pf-muted); font-style: italic; }
.pf-persona-q cite { display: block; margin-top: 4px; font-style: normal; font-weight: 600; color: var(--pf-ink); font-size: .8rem; }

/* The proof block as a stand-alone sidebar card, on pages with a rail. */
.pf-side { margin-top: 14px; display: grid; gap: 10px; }
.pf-side .pf-chip { justify-self: start; }

@media (prefers-reduced-motion: reduce) {
    .pf-plat, .pf-chip, .pf-all a, .pf-filter__chip { transition: none; }
    .pf-plat:hover, .pf-plat:focus-visible { transform: none; }
}

/* =====================================================================
   REVIEW SLIDER  (moved from group-safaris.css, which only the group pages
   load — the slider is now used on four kinds of page.)
   ===================================================================== */
/* ══ REVIEW CAROUSEL ════════════════════════════════════════════════════
   The AI summary is a standing panel above the slider, not a card in it, so
   the track below carries reviews only. The scrollbar is hidden because the
   arrows (and a swipe) already say "this moves" — a raw scrollbar under a
   polished panel is the one piece of chrome that gave the section away. */
.kh-rv { position: relative; margin: 0 auto 1.2rem; }
.kh-rv__track {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 6px 4px 18px; align-items: stretch;
    scrollbar-width: none; -ms-overflow-style: none;
}
.kh-rv__track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.kh-rv__card {
    flex: 0 0 min(420px, 86%); scroll-snap-align: start;
    background: #fff; border: 1px solid #e7e2da; border-radius: 20px; padding: 26px;
    display: flex; flex-direction: column; text-align: left;
}
.kh-rv__who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.kh-rv__avatar { width: 44px; height: 44px; border-radius: 50%; background: #eef1ee; color: #1f6f43; font-weight: 700; display: grid; place-items: center; flex: none; }
.kh-rv__name { margin: 0; font-weight: 700; color: #14181d; line-height: 1.2; }
.kh-rv__when { margin: 2px 0 0; font-size: .85rem; color: #6b727b; }
.kh-rv__ta { margin-left: auto; }
/* Tripadvisor owl, drawn in CSS: the icon font has no glyph for it. */
.kh-ta { position: relative; display: inline-block; width: 34px; height: 34px; border-radius: 50%; background: #00e08c; flex: none; }
.kh-ta::before, .kh-ta::after { content: ""; position: absolute; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 3px solid #0a1f14; }
.kh-ta::before { left: 5px; }
.kh-ta::after { right: 5px; }
.kh-ta--lg { width: 52px; height: 52px; }
.kh-ta--lg::before, .kh-ta--lg::after { top: 17px; width: 12px; height: 12px; border-width: 4px; }
.kh-ta--lg::before { left: 7px; }
.kh-ta--lg::after { right: 7px; }
.kh-rv__bubbles { display: inline-flex; gap: 3px; }
.kh-rv__bubbles i { width: 15px; height: 15px; border-radius: 50%; background: #00aa6c; display: block; }
.kh-rv__bubbles--lg i { width: 20px; height: 20px; }
.kh-rv__bubbles i.is-part { background: linear-gradient(90deg, #00aa6c 90%, rgba(0, 170, 108, .25) 90%); }
.kh-rv__title { font-size: 1.08rem; font-weight: 700; margin: 12px 0 6px; color: #14181d; line-height: 1.3; }
.kh-rv__body { color: #2d343b; line-height: 1.6; font-size: .98rem; }
.kh-rv__body p { margin: 0 0 .7em; }
.kh-rv__body.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.kh-rv__more { background: none; border: 0; padding: 4px 0 0; margin-top: auto; align-self: flex-start; color: #1f6f43; font-weight: 600; cursor: pointer; }
.kh-rv__more:hover { text-decoration: underline; }

.kh-rv__end {
    align-items: center; justify-content: center; text-align: center; gap: 10px;
    flex-basis: min(300px, 80%); text-decoration: none; color: #14181d;
    background: #f1faf6; border-color: #bfe8d6;
}

.kh-rv__end strong { font-size: 1.15rem; line-height: 1.3; }
.kh-rv__end span { color: #1f6f43; font-weight: 600; font-size: .95rem; }
.kh-rv__end:hover { border-color: #00aa6c; color: #14181d; }

.kh-rv__nav {
    position: absolute; top: 45%; transform: translateY(-50%); z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e0dbd2;
    background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .14); cursor: pointer;
}
.kh-rv__nav--prev { left: -14px; }
.kh-rv__nav--next { right: -14px; }
.kh-rv__nav[disabled] { opacity: .3; cursor: default; box-shadow: none; }
/* On a phone there is no room beside the track, and an arrow floated over the
   review text covers the thing it is meant to help you read. A thumb swipes,
   and the half-visible next card already says the row moves. */
@media (max-width: 767.98px) { .kh-rv__nav { display: none; } }

/* ── The AI summary panel ───────────────────────────────────────────────
   Dark glass with a neon edge, to match the emblem. A full-width band above
   the slider: three columns on a desktop (who is speaking, the score, the
   points), stacked on a phone. */
.kh-rv__ai {
    position: relative; color: #e8eefc; border: 0; border-radius: 20px;
    padding: 24px 26px; margin: 0 auto 22px; max-width: 100%;
    display: grid; gap: 20px 28px; align-items: center;
    grid-template-columns: minmax(200px, .8fr) minmax(190px, .7fr) minmax(260px, 1.4fr);
    background: radial-gradient(120% 90% at 0% 0%, #1b1f5e 0%, #0a0f2c 55%, #070a1d 100%);
    box-shadow: 0 0 0 1px rgba(110, 120, 255, .45), 0 10px 40px rgba(60, 70, 220, .28), inset 0 0 40px rgba(0, 224, 255, .05);
}
.kh-rv__ai::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(135deg, #00e5ff, #7b61ff 50%, #ff4fd8); opacity: .55;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.kh-rv__aihead { display: flex; align-items: center; gap: 14px; }
.kh-rv__aihead img { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 0 22px rgba(0, 190, 255, .45); }
.kh-rv__aititle { margin: 0; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; color: #fff; }
.kh-rv__aisub { margin: 2px 0 0; font-size: .82rem; color: #9fb0d8; }
.kh-rv__score { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(130, 150, 255, .22); }
.kh-rv__num { font-size: 2.7rem; font-weight: 800; line-height: 1; color: #fff; text-shadow: 0 0 20px rgba(0, 224, 255, .5); }
.kh-rv__outof { margin: 6px 0 0; font-size: .82rem; color: #9fb0d8; }
/* The points column keeps its height while the lines type in, so the panel
   does not grow and shove the slider down the page three times. */
.kh-rv__aibody { min-height: 7.2em; }
@media (max-width: 991.98px) {
    .kh-rv__ai { grid-template-columns: auto 1fr; padding: 20px; }
    .kh-rv__aibody { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 575.98px) {
    .kh-rv__ai { grid-template-columns: 1fr; gap: 14px; }
    .kh-rv__num { font-size: 2.2rem; }
}
.kh-rv__ai .kh-rv__bubbles i { background: #00e08c; box-shadow: 0 0 8px rgba(0, 224, 140, .6); }
.kh-rv__ai .kh-rv__bubbles i.is-part { background: linear-gradient(90deg, #00e08c 90%, rgba(0, 224, 140, .22) 90%); }
.kh-rv__loading { margin: 6px 0 0; color: #7fe7ff; font-size: .98rem; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.kh-rv__dots { display: inline-flex; gap: 4px; }
.kh-rv__dots i { width: 7px; height: 7px; border-radius: 50%; background: #00e5ff; animation: kh-rv-pulse 1s infinite ease-in-out; }
.kh-rv__dots i:nth-child(2) { animation-delay: .15s; }
.kh-rv__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes kh-rv-pulse { 0%, 80%, 100% { opacity: .25; transform: scale(.7); } 40% { opacity: 1; transform: scale(1); } }
.kh-rv__points { list-style: none; margin: 4px 0 0; padding: 0; }
.kh-rv__points li { display: flex; gap: 10px; margin: 0 0 12px; line-height: 1.5; font-size: .98rem; color: #e8eefc; }
.kh-rv__tick { color: #00e08c; font-weight: 700; flex: none; }
.kh-rv__points li.is-typing [data-text]::after { content: "▍"; color: #00e5ff; animation: kh-rv-caret .8s steps(1) infinite; }
@keyframes kh-rv-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kh-rv__dots i, .kh-rv__points li.is-typing [data-text]::after { animation: none; } }

