/* ============================================================
   ביקורות: פס בדף הבית, עמוד ביקורות, וטופס כתיבת ביקורת.
   משתמש בצבעים של כל גרסה (--ink, --yellow, --teal, --surface), כך שאותו קובץ מתאים לשתיהן.
   ============================================================ */
:root { --rvw-star: #F4B400; --rvw-accent: var(--yellow); }
.rvw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- כרטיס ביקורת ---------- */
.rvw-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 22px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); text-align: start; }
.rvw-card__q { position: absolute; top: 4px; inset-inline-end: 20px; font-family: Georgia, 'Times New Roman', serif; font-size: 110px; line-height: 1; color: var(--rvw-accent); opacity: .16; pointer-events: none; }
.rvw-card__head { display: flex; align-items: center; gap: 12px; }
.rvw-av { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.rvw-av img, .rvw-av__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rvw-av__ph { display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 21px; }
.rvw-card__who { display: grid; gap: 2px; min-width: 0; }
.rvw-card__who b { font-size: 17px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvw-card__src { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.rvw-card__src svg { width: 15px; height: 15px; flex: none; }
.rvw-card__src--site { color: var(--teal-d); }
.rvw-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rvw-card__meta time { font-size: 14px; color: var(--muted); }
.rvw-stars { display: inline-flex; gap: 2px; color: var(--rvw-star); }
.rvw-stars svg { width: 19px; height: 19px; fill: currentColor; }
.rvw-stars__off { display: inline-flex; gap: 2px; color: var(--line); }
.rvw-card__text { font-size: 16.5px; line-height: 1.75; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; overflow-wrap: anywhere; }
.rvw-card.is-open .rvw-card__text { display: block; -webkit-line-clamp: unset; }
.rvw-card__text mark { padding: 0 .12em; border-radius: 4px; color: inherit; background: color-mix(in srgb, var(--rvw-accent) 30%, transparent); }
.rvw-card__tools { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: -4px; }
.rvw-card__tools:not(:has(button:not([hidden]))) { display: none; }
.rvw-link { padding: 4px 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 800; color: var(--teal-d); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.rvw-link--soft { font-weight: 600; color: var(--muted); text-decoration-thickness: 1px; }
.rvw-reply { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 12px; }
.rvw-reply summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.rvw-reply summary::-webkit-details-marker { display: none; }
.rvw-reply summary::before { content: ""; width: 8px; height: 8px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.rvw-reply[open] summary::before { transform: rotate(-135deg) translateY(-2px); }
.rvw-reply p { margin-top: 10px; padding: 12px 14px; border-radius: 14px; border-inline-start: 3px solid var(--rvw-accent); background: var(--surface); font-size: 15px; line-height: 1.65; color: var(--ink); }
.rvw-card--site { border-color: color-mix(in srgb, var(--teal) 35%, var(--line)); }

/* ---------- דף הבית: פס ביקורות ---------- */
.rvw-home { overflow: hidden; }
.rvw-home__head { display: grid; gap: 28px; align-items: end; margin-bottom: 36px; }
.rvw-score { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 26px; color: #fff; background: var(--ink); box-shadow: var(--shadow-pop); text-decoration: none; transition: transform .2s; }
.rvw-score:hover { transform: translateY(-3px); }
.rvw-score__num { font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: .9; }
.rvw-score__body { display: grid; gap: 6px; }
.rvw-score .rvw-stars svg { width: 22px; height: 22px; }
.rvw-score__line { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--on-dark); }
.rvw-score__line svg { width: 20px; height: 20px; padding: 2px; border-radius: 50%; background: #fff; }
.rvw-score__note { font-size: 14px; color: var(--on-dark); opacity: .85; }
.rvw-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw, 370px); gap: 20px; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 6px 20px 26px; margin-inline: -20px; scrollbar-width: none; }
.rvw-track::-webkit-scrollbar { display: none; }
.rvw-track > .rvw-card { scroll-snap-align: start; }
.rvw-home__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.rvw-arrows { display: flex; gap: 10px; }
.rvw-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.rvw-arrow:hover { border-color: var(--ink); transform: translateY(-2px); }
.rvw-arrow svg { width: 22px; height: 22px; }
.rvw-home__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- עמוד הביקורות ---------- */
.rvw-hero__grid { display: grid; gap: 34px; align-items: center; }
.rvw-summary { padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.rvw-summary__top { display: flex; align-items: center; gap: 18px; }
.rvw-summary__num { font-family: var(--font-head); font-weight: 800; font-size: 76px; line-height: .85; color: var(--ink); }
.rvw-summary__top .rvw-stars svg { width: 24px; height: 24px; }
.rvw-summary__count { margin-top: 6px; font-weight: 700; color: var(--muted); }
.rvw-summary__g { display: inline-flex; align-items: center; gap: 8px; }
.rvw-summary__g svg { width: 20px; height: 20px; }
.rvw-bars { display: grid; gap: 7px; margin: 22px 0 20px; }
.rvw-bar { display: grid; grid-template-columns: 14px 1fr 28px; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.rvw-bar i { height: 9px; border-radius: 9px; background: var(--surface); overflow: hidden; }
.rvw-bar b { display: block; height: 100%; border-radius: 9px; background: var(--rvw-star); }
.rvw-bar em { font-style: normal; text-align: start; }
.rvw-summary__site { margin: -8px 0 16px; font-size: 14.5px; font-weight: 700; color: var(--teal-d); }
.rvw-summary .btn { width: 100%; }

.rvw-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rvw-stat { padding: 20px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-align: center; }
.rvw-stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 38px; line-height: 1.1; color: var(--ink); }
.rvw-stat span { font-size: 15px; font-weight: 600; color: var(--muted); }

.rvw-controls { display: grid; gap: 18px; margin-bottom: 30px; }
.rvw-tabs, .rvw-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.rvw-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; font-size: 16px; font-weight: 800; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.rvw-tab span { min-width: 26px; padding: 1px 8px; border-radius: 999px; font-size: 13px; background: var(--surface); }
.rvw-tab:hover { border-color: var(--ink); }
.rvw-tab.is-on { color: #fff; background: var(--ink); border-color: var(--ink); }
.rvw-tab.is-on span { color: var(--ink); background: #fff; }
.rvw-themes__label { width: 100%; font-size: 15px; font-weight: 800; color: var(--muted); }
.rvw-theme { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 7px 15px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--rvw-accent) 12%, #fff); font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; transition: background .2s, box-shadow .2s; }
.rvw-theme span { font-size: 13px; font-weight: 800; color: var(--muted); }
.rvw-theme:hover { background: color-mix(in srgb, var(--rvw-accent) 22%, #fff); }
.rvw-theme.is-on { background: var(--rvw-accent); color: #fff; box-shadow: 0 8px 18px -8px var(--rvw-accent); }
.rvw-theme.is-on span { color: #fff; }
.rvw-sort { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--muted); }
.rvw-sort select { min-height: 44px; padding: 6px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); }
.rvw-controls__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }

.rvw-wall { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 22px; align-items: start; }
.rvw-wall__col { display: grid; gap: 22px; }
.rvw-wall .rvw-card__text { -webkit-line-clamp: 10; }
.rvw-empty { padding: 40px 20px; text-align: center; font-size: 18px; color: var(--muted); }

/* ---------- כתיבת ביקורת ---------- */
.rvw-write { display: grid; gap: 34px; align-items: start; }
.rvw-write__points { display: grid; gap: 14px; margin-top: 26px; }
.rvw-write__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.rvw-write__points svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; background: var(--teal-d); }
.rvw-write__google { margin-top: 26px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.rvw-write__google p { font-size: 15.5px; color: var(--muted); margin-bottom: 12px; }
.btn--google { color: var(--ink); background: #fff; border: 2px solid var(--line); }
.btn--google:hover { border-color: var(--ink); }
.rvw-form { box-shadow: var(--shadow-pop); border: 1px solid var(--line); }
.rvw-form__body { display: grid; gap: 14px; }
.rvw-form__row { display: grid; gap: 14px; }
.rvw-rate-wrap { display: grid; gap: 6px; }
.rvw-rate-wrap > span { font-size: 14px; font-weight: 700; color: var(--muted); }
.rvw-rate-line { display: flex; align-items: center; gap: 14px; }
.rvw-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0; }
.rvw-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rvw-rate label { cursor: pointer; color: var(--line); transition: color .15s, transform .15s; }
.rvw-rate label svg { width: 40px; height: 40px; fill: currentColor; }
.rvw-rate input:checked ~ label { color: var(--rvw-star); }
.rvw-rate:hover input ~ label { color: var(--line); }
.rvw-rate:hover label:hover, .rvw-rate:hover label:hover ~ label { color: var(--rvw-star); }
.rvw-rate label:hover { transform: scale(1.12); }
.rvw-rate input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--teal) 45%, transparent); outline-offset: 2px; border-radius: 8px; }
.rvw-rate-text { font-weight: 800; color: var(--ink); min-width: 6ch; }
.rvw-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.rvw-consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); }
.rvw-form__done { padding: 30px 10px; text-align: center; }
.rvw-form__done svg { width: 64px; height: 64px; padding: 14px; border-radius: 50%; color: #fff; background: var(--teal-d); margin: 0 auto 16px; display: block; }
.rvw-form__done b { display: block; font-family: var(--font-head); font-size: 28px; color: var(--ink); }
.rvw-form__done p { margin-top: 8px; font-size: 17px; color: var(--muted); }

.rvw-cta { padding: 34px 28px; border-radius: 30px; color: #fff; background: var(--ink); display: grid; gap: 18px; align-items: center; box-shadow: var(--shadow-pop); }
.rvw-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.rvw-cta p { color: var(--on-dark); margin-top: 8px; font-size: 18px; }
.rvw-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (min-width: 700px) {
  .rvw-stats { grid-template-columns: repeat(4, 1fr); }
  .rvw-form__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 800px) {
  .rvw-home__head { grid-template-columns: 1fr auto; gap: 50px; }
  .rvw-hero__grid { grid-template-columns: 1.25fr 1fr; gap: 60px; }
  .rvw-write { grid-template-columns: 1fr 1.1fr; gap: 60px; }
  .rvw-cta { grid-template-columns: 1fr auto; padding: 44px 50px; }
}
@media (max-width: 600px) {
  .rvw-score { padding: 18px 20px; gap: 16px; }
  .rvw-score__num { font-size: 52px; }
  .rvw-home__foot { justify-content: center; }
  .rvw-home__actions { width: 100%; }
  .rvw-home__actions .btn { flex: 1 1 100%; }
  .rvw-summary__num { font-size: 64px; }
  [data-rvw-themes], .rvw-tabs { width: calc(100% + 40px); min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 2px 20px 6px; }
  [data-rvw-themes]::-webkit-scrollbar, .rvw-tabs::-webkit-scrollbar { display: none; }
  .rvw-theme, .rvw-tab { flex: none; }
  .rvw-controls, .rvw-controls__row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .rvw-controls > .rvw-themes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rvw-rate label svg { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .rvw-score:hover, .rvw-arrow:hover, .rvw-rate label:hover { transform: none; }
}

/* ============================================================
   סבב 2: מסר מרכזי בכרטיס, חלון ביקורת מלאה, ציטוטים בראש הדף, הודעה בפינה
   ============================================================ */
.rvw-card { cursor: pointer; gap: 12px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.rvw-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rvw-accent) 45%, var(--line)); box-shadow: var(--shadow-pop); }
.rvw-card__headline { margin: 2px 0 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 2vw, 23px); line-height: 1.35; color: var(--ink); }
.rvw-card__headline button { all: unset; display: block; cursor: pointer; text-align: start; }
.rvw-card__headline button::before { content: "\0022"; }
.rvw-card__headline button::after { content: "\0022"; }
.rvw-card__headline button:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 50%, transparent); outline-offset: 4px; border-radius: 6px; }
.rvw-card__headline mark, .rvw-card__peek mark, .rvw-modal__text mark { padding: 0 .12em; border-radius: 4px; color: inherit; background: color-mix(in srgb, var(--rvw-accent) 30%, transparent); }
.rvw-card__peek { font-size: 15.5px; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.rvw-card__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.rvw-card__foot .rvw-av { width: 42px; height: 42px; }
.rvw-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--teal-d); }
.rvw-card__cta svg { width: 17px; height: 17px; transition: transform .2s; }
.rvw-card:hover .rvw-card__cta svg { transform: translateX(-4px); }
.rvw-track > .rvw-card { min-height: 100%; }
.rvw-track { align-items: stretch; }

/* חלון הביקורת המלאה */
.rvw-modal { width: min(640px, calc(100vw - 24px)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .55); overflow: hidden; }
.rvw-modal::backdrop { background: color-mix(in srgb, var(--ink) 55%, transparent); backdrop-filter: blur(3px); }
.rvw-modal[open] { animation: rvwPop .28s ease-out; }
@keyframes rvwPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.rvw-modal__box { position: relative; display: grid; gap: 16px; max-height: min(88vh, 900px); overflow-y: auto; padding: 30px 30px 24px; text-align: start; }
.rvw-modal__x { position: absolute; top: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.rvw-modal__x svg { width: 20px; height: 20px; }
.rvw-modal__head { display: flex; align-items: center; gap: 12px; padding-inline-end: 50px; }
.rvw-modal__headline { font-family: var(--font-head); font-weight: 800; font-size: clamp(23px, 3.4vw, 30px); line-height: 1.3; color: var(--ink); }
.rvw-modal__text { font-size: 17.5px; line-height: 1.8; color: var(--ink); overflow-wrap: anywhere; }
.rvw-modal__reply { padding: 16px 18px; border-radius: 18px; border-inline-start: 4px solid var(--rvw-accent); background: var(--surface); }
.rvw-modal__reply b { font-size: 15px; }
.rvw-modal__reply p { margin-top: 6px; font-size: 16px; line-height: 1.7; }
.rvw-modal__foot { position: sticky; bottom: -24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px -30px -24px; padding: 14px 30px 18px; background: #fff; border-top: 1px solid var(--line); }
.rvw-modal__foot .rvw-arrows { align-items: center; }
.rvw-modal__foot .rvw-arrow { width: 46px; height: 46px; }
.rvw-modal__count { min-width: 52px; text-align: center; font-weight: 800; color: var(--muted); }
.rvw-modal__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* שלושה ציטוטים בראש דף הבית */
.hero-quotes { display: grid; gap: 8px; margin-top: 22px; max-width: 540px; }
.hq { display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 12px; border-radius: 18px; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); background: color-mix(in srgb, currentColor 7%, transparent); backdrop-filter: blur(8px); color: inherit; font: inherit; text-align: start; cursor: pointer; transition: transform .2s, background .2s; }
.hq:hover { transform: translateY(-3px); background: color-mix(in srgb, currentColor 12%, transparent); }
.hq .rvw-av { width: 36px; height: 36px; box-shadow: 0 0 0 2px rgb(255 255 255 / .7); }
.hq__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 1px; align-items: center; min-width: 0; }
.hq__q { grid-column: 1; grid-row: 1; }
.hq__who { grid-column: 1; grid-row: 2; }
.hq__stars { grid-column: 2; grid-row: 1 / span 2; }
.hq__stars { display: inline-flex; gap: 1px; color: var(--rvw-star); }
.hq__stars svg { width: 13px; height: 13px; fill: currentColor; }
.hq__q { font-size: 15px; font-weight: 700; line-height: 1.4; quotes: "\0022" "\0022"; }
.hq__who { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; opacity: .78; }
.hq__who svg { width: 12px; height: 12px; }

/* הודעה בפינה */
.rvw-toast { position: fixed; z-index: 60; bottom: 22px; right: 22px; display: flex; align-items: flex-start; width: min(360px, calc(100vw - 110px)); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -18px rgb(0 0 0 / .4); opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .35s, transform .35s; }
.rvw-toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rvw-toast__main { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; padding: 14px 14px 14px 6px; border: 0; background: none; font: inherit; color: var(--ink); text-align: start; cursor: pointer; }
.rvw-toast .rvw-av { width: 44px; height: 44px; }
.rvw-toast__body { display: grid; gap: 3px; min-width: 0; }
.rvw-toast__stars { display: inline-flex; gap: 1px; color: var(--rvw-star); }
.rvw-toast__stars svg { width: 14px; height: 14px; fill: currentColor; }
.rvw-toast__q { font-size: 15px; font-weight: 800; line-height: 1.4; }
.rvw-toast small { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.rvw-toast small svg { width: 12px; height: 12px; }
.rvw-toast__x { flex: none; width: 36px; height: 36px; margin: 6px 0 0 6px; border: 0; border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }

@media (max-width: 900px) {
  .hero-quotes { max-width: none; }
  .hq__stars svg { width: 11px; height: 11px; }
}
@media (max-width: 600px) {
  .rvw-modal { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .rvw-modal__box { max-height: 92vh; padding: 26px 20px 20px; }
  .rvw-modal__foot { margin: 4px -20px -20px; padding: 12px 20px 16px; bottom: -20px; }
  .rvw-modal__actions { width: 100%; }
  .rvw-modal__actions .btn { flex: 1; }
  .rvw-toast { right: 12px; bottom: 14px; width: calc(100vw - 96px); }
}
@media (prefers-reduced-motion: reduce) {
  .rvw-card:hover, .hq:hover { transform: none; }
  .rvw-modal[open] { animation: none; }
}

/* ---------- מחשב: מקטע הביקורות בדף הבית נכנס במסך אחד ---------- */
@media (min-width: 800px) {
  .rvw-home { padding: 64px 0 56px; }
  .rvw-home__head { margin-bottom: 22px; }
  .rvw-home .title { font-size: 46px; }
  .rvw-home .head__sub { margin-top: 10px; font-size: 17px; }
  .rvw-home .rvw-score { padding: 16px 22px; }
  .rvw-home .rvw-card { padding: 20px 22px 18px; gap: 10px; }
  .rvw-home .rvw-track { padding-bottom: 16px; }
}

/* ============================================================
   עמוד המלצה (hamlatza.html): קישור שנשלח להורים אחרי הברית
   כרטיס אחד: המכתב, החתימה, ומיד אחריהם הטופס, פתוח ונעים
   ============================================================ */
.hml { position: relative; overflow: hidden; padding: 112px 0 80px; background: linear-gradient(180deg, var(--surface), var(--bg) 60%); }
.hml__wrap { position: relative; z-index: 1; max-width: 860px; }
.hml__card { display: block; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-pop); overflow: hidden; }
.hml__top { display: grid; }
.hml__photo { position: relative; display: grid; place-items: end center; height: 290px; overflow: hidden; }
.hml__halo { position: absolute; bottom: -120px; left: 50%; width: 380px; height: 380px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--yellow) 55%, #fff), color-mix(in srgb, var(--yellow) 18%, #fff) 70%); }
.hml__photo img { position: relative; width: 225px; height: auto; margin-bottom: -150px; filter: drop-shadow(0 18px 26px rgb(0 0 0 / .18)); }
.hml__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, #fff); }
.hml__letter { padding: 4px 24px 0; text-align: center; }
.hml__title { font-size: clamp(30px, 5vw, 42px); line-height: 1.2; color: var(--ink); }
.hml__letter > p { margin: 12px auto 0; max-width: 540px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.hml__sign { display: grid; gap: 0; margin-top: 18px !important; font-size: 17px; }
.hml__sign b { font-family: var(--font-head); font-size: 24px; color: var(--ink); }

/* הטופס: ממשיך את המכתב, בלי מסגרת נפרדת */
.hml__body { display: grid; gap: 16px; margin: 26px 18px 18px; padding: 24px 20px; border-radius: 24px; background: color-mix(in srgb, var(--surface) 70%, #fff); }
.hml__rate { display: grid; justify-items: center; gap: 4px; text-align: center; }
.hml__ask { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--ink); }
.hml__rate .rvw-rate-line { justify-content: center; }
.hml__write textarea { width: 100%; min-height: 150px; padding: 18px 20px; border: 0; border-radius: 20px; background: #fff; font: inherit; font-size: 18px; line-height: 1.7; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); resize: vertical; }
.hml__write textarea::placeholder, .hml__name input::placeholder { color: color-mix(in srgb, var(--muted) 75%, #fff); }
.hml__write textarea:focus, .hml__name input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal), 0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent); }
.hml__hint { margin-top: -6px; font-size: 15px; color: var(--muted); }
.hml__name { display: grid; gap: 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.hml__name input { width: 100%; min-height: 52px; padding: 12px 18px; border: 0; border-radius: 16px; background: #fff; font: inherit; font-size: 17px; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

/* תוספות לא חובה: סגורות, נפתחות בלחיצה */
.hml__opts { display: grid; gap: 10px; }
.hml__opt { border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.hml__opt summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 18px; font-weight: 700; color: var(--teal-d); cursor: pointer; list-style: none; }
.hml__opt summary::-webkit-details-marker { display: none; }
.hml__opt summary svg { flex: none; width: 22px; height: 22px; transition: transform .2s; }
.hml__opt[open] summary svg:last-of-type { transform: rotate(0); }
.hml__opt summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 45%, transparent); outline-offset: 2px; border-radius: 16px; }
.hml__up, .hml__more-fields { display: grid; gap: 12px; padding: 0 18px 18px; }
.hml__drop { position: relative; display: grid; justify-items: center; gap: 2px; padding: 16px 14px; border: 2px dashed var(--line); border-radius: 16px; color: var(--ink); cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.hml__drop:hover, .hml__drop:focus-within { border-color: var(--teal-d); background: color-mix(in srgb, var(--teal) 6%, #fff); }
.hml__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hml__drop b { font-size: 17px; }
.hml__drop small { font-size: 14px; color: var(--muted); }
.hml__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.hml__thumbs:empty { display: none; }
.hml__thumbs figure { position: relative; width: 84px; height: 84px; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.hml__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hml__thumbs button { position: absolute; top: 4px; inset-inline-end: 4px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgb(0 0 0 / .6); color: #fff; font-size: 14px; cursor: pointer; }
.hml .consent__row[hidden] { display: none; }
.hml__consent { padding: 4px 2px; }
.hml__send { justify-self: stretch; }
.hml__send svg { width: 22px; height: 22px; }
.hml__note { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.hml__note svg { flex: none; width: 20px; height: 20px; color: var(--teal-d); margin-top: 2px; }

/* אחרי השליחה */
.hml__done { margin: 26px 18px 18px; padding: 30px 20px; border-radius: 24px; background: color-mix(in srgb, var(--surface) 70%, #fff); }
.hml__more { display: grid; justify-items: center; gap: 12px; margin: 22px auto 0; max-width: 520px; padding: 22px 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.hml__more-title { font-family: var(--font-head); font-size: 21px !important; }
.hml__more p { margin: 0 !important; font-size: 16px !important; }
.hml__copied { font-weight: 700; color: var(--teal-d) !important; }
.hml__done .btn svg { display: inline-block; width: 24px; height: 24px; margin: 0; padding: 0; border-radius: 0; background: none; color: inherit; }

@media (min-width: 800px) {
  .hml { padding: 130px 0 100px; }
  .hml__top { grid-template-columns: 290px 1fr; align-items: center; gap: 30px; padding-inline-end: 44px; }
  .hml__photo { height: 100%; min-height: 400px; align-self: stretch; }
  .hml__photo::after { display: none; }
  .hml__halo { bottom: auto; top: 50%; width: 320px; height: 320px; transform: translate(-50%, -50%); }
  .hml__photo img { width: 255px; margin-bottom: -50px; }
  .hml__letter { padding: 36px 0 20px; text-align: start; }
  .hml__letter > p { margin-inline: 0; }
  .hml__body, .hml__done { margin: 0 28px 28px; padding: 30px 34px; }
  .hml__rate { grid-template-columns: auto auto; justify-content: start; gap: 16px; align-items: center; text-align: start; }
  .hml__more-fields { grid-template-columns: repeat(3, 1fr); }
  .hml__send { justify-self: start; min-width: 280px; }
}

/* ---------- תמונות מהברית בביקורת (רק באישור ההורים) ---------- */
.rvw-card__pics { display: flex; align-items: center; gap: 6px; }
.rvw-pic { position: relative; width: 54px; height: 54px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 4px 10px -4px rgb(0 0 0 / .35); }
.rvw-pic img { width: 100%; height: 100%; object-fit: cover; }
.rvw-pic b { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 16px; background: rgb(0 0 0 / .5); }
.rvw-card__pics small { margin-inline-start: 6px; font-size: 13.5px; font-weight: 700; color: var(--teal-d); }
.rvw-modal__pics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.rvw-modal__pics--1 { grid-template-columns: 1fr; }
.rvw-modal__pic { display: block; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.rvw-modal__pic img { display: block; width: 100%; height: 170px; object-fit: cover; transition: height .25s; }
.rvw-modal__pics--1 .rvw-modal__pic img { height: 260px; }
.rvw-modal__pic.is-big { grid-column: 1 / -1; cursor: zoom-out; }
.rvw-modal__pic.is-big img { height: auto; max-height: 70vh; object-fit: contain; }

/* קישור מעמוד הביקורות לעמוד ההמלצה (עם תמונות) */
.rvw-write__pics { position: relative; display: flex; align-items: flex-end; gap: 16px; margin-top: 26px; padding: 16px 20px 0; border-radius: 20px; overflow: hidden; color: var(--ink); text-decoration: none; background: linear-gradient(135deg, color-mix(in srgb, var(--yellow) 22%, #fff), #fff 70%); border: 1px solid color-mix(in srgb, var(--yellow) 45%, var(--line)); transition: transform .2s, box-shadow .2s; }
.rvw-write__pics:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.rvw-write__pics img { flex: none; width: 74px; height: auto; margin-bottom: -38px; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .18)); }
.rvw-write__pics span { display: grid; gap: 4px; padding-bottom: 16px; }
.rvw-write__pics b { font-family: var(--font-head); font-size: 19px; }
.rvw-write__pics small { font-size: 15px; color: var(--muted); }
.rvw-write__pics em { font-style: normal; font-weight: 800; font-size: 15.5px; color: var(--teal-d); }
@media (prefers-reduced-motion: reduce) { .rvw-write__pics:hover { transform: none; } }

/* עמוד ההמלצה: מעבר לגוגל בשלבים ברורים */
.hml__alt { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -4px 0 4px; font-size: 15px; color: var(--muted); text-align: center; }
.hml__alt svg { flex: none; width: 18px; height: 18px; }
.hml__alt a { font-weight: 800; color: var(--teal-d); text-decoration: underline; text-underline-offset: 3px; }
.hml__steps { display: grid; justify-items: center; gap: 14px; width: 100%; }
.hml__steps[hidden], .hml__more .btn[hidden] { display: none; }
.hml__ok { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 18px; color: #fff; background: var(--teal-d); }
.hml__ok::before { content: "✓"; }
.hml__ok.is-bad { color: var(--ink); background: color-mix(in srgb, var(--yellow) 35%, #fff); font-size: 15.5px; }
.hml__ok.is-bad::before { content: none; }
.hml__quote { width: 100%; padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--surface); font: inherit; font-size: 15.5px; line-height: 1.6; color: var(--ink); resize: none; }
.hml__how { display: grid; gap: 10px; width: 100%; margin: 0; padding: 0; list-style: none; text-align: start; }
.hml__how li { display: flex; align-items: center; gap: 12px; font-size: 16.5px; color: var(--ink); }
.hml__how b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--coral, var(--ink)); font-size: 16px; }
.hml__how em { font-style: normal; font-weight: 800; }
.hml__steps .btn--coral { width: 100%; }
.hml__gstars { display: inline-block; margin-inline-start: 4px; font-size: 20px; letter-spacing: 2px; color: var(--rvw-star); white-space: nowrap; vertical-align: -2px; }

/* עמוד הביקורות בטלפון: מגיעים לביקורות מהר */
@media (max-width: 799px) {
  .page-hero.rvw-hero { padding: 96px 0 28px; }
  .rvw-hero__grid { gap: 18px; }
  .rvw-hero .hero__actions { margin-top: 16px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .rvw-hero .hero__actions .btn { padding: 12px 8px; font-size: 15px; justify-content: center; }
  .rvw-hero .hero__actions .btn svg { display: none; }
  .rvw-hero .page-hero__sub { font-size: 16px; }
  .rvw-summary { padding: 16px 18px; border-radius: 22px; }
  .rvw-summary__num { font-size: 52px; }
  .rvw-summary .rvw-bars { display: none; }
  .rvw-summary .btn { margin-top: 12px; padding-block: 10px; }
  .rvw-stats { display: none; }
  #all { padding-top: 28px; }
  #all .rvw-controls { margin-top: 0 !important; margin-bottom: 20px; gap: 12px; }
  .rvw-themes__label { font-size: 14px; }
}
/* המספר בתוך הריבוע באותו גודל וצבע (למשל "6+") */
.rvw-stat b span { font-size: inherit; font-weight: inherit; color: inherit; }
