/* Review box (assets/js/review.js) + star rows. Uses the page's --accent / --on / --surface / --line / --ink / --muted. */
.rv{margin-top:14px;padding:20px 18px;border-radius:18px;background:var(--surface);border:1px solid var(--line);text-align:center}
.rv h2{margin:0 0 10px;font-size:1.05rem}
.rv-stars{display:flex;justify-content:center;gap:6px}
.rv-star{all:unset;box-sizing:border-box;cursor:pointer;width:48px;height:48px;display:grid;place-items:center;border-radius:12px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.rv-star svg{width:36px;height:36px;fill:#e5e7eb;stroke:#d1d5db;stroke-width:1;stroke-linejoin:round;transition:fill .12s,transform .12s}
.rv-star.on svg{fill:#f59e0b;stroke:#f59e0b}
.rv-star:active svg{transform:scale(.88)}
.rv-star:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.rv-word{margin:6px 0 0;font-weight:700;font-size:.95rem;color:var(--muted);min-height:1.4em}
.rv-word.r1,.rv-word.r2{color:#dc2626}.rv-word.r3{color:#b45309}.rv-word.r4,.rv-word.r5{color:#16a34a}
.rv-more{text-align:left;margin-top:14px}
.rv-hint{margin:0 0 8px;font-size:.82rem;color:var(--muted);font-weight:600}
.rv-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.rv-chip{all:unset;box-sizing:border-box;cursor:pointer;min-height:40px;padding:0 14px;display:inline-flex;align-items:center;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);font-size:.88rem;font-weight:600;color:var(--ink);touch-action:manipulation}
.rv-chip.on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--surface))}
.rv-chip.on::before{content:"✓";margin-right:6px;font-weight:800;color:var(--accent)}
.rv-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.rv-in{display:block;width:100%;box-sizing:border-box;margin-bottom:10px;padding:12px 14px;min-height:48px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);font:inherit;font-size:.95rem;color:var(--ink);resize:vertical}
.rv-in:focus{outline:none;border-color:var(--accent)}
.rv-err{margin:0 0 8px;color:#dc2626;font-weight:600;font-size:.88rem;min-height:0}
.rv-err:empty{display:none}
.rv-send{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;border-radius:14px;background:var(--accent);color:var(--on);font-weight:800;font-size:1rem}
.rv-send:disabled{opacity:.5;cursor:default}
.rv-thanks{padding:6px 0}.rv-thanks b{display:block;font-size:1.1rem;margin-bottom:4px}.rv-thanks p{margin:0;color:var(--muted)}.rv-thanks a{font-weight:700;color:var(--ink)}

/* star rows for showing ratings (stars_html in lib/reviews.php) */
.stars{display:inline-flex;gap:2px;vertical-align:middle}
.stars i{width:16px;height:16px;background:#e5e7eb;-webkit-mask:var(--star) center/contain no-repeat;mask:var(--star) center/contain no-repeat}
.stars i.f{background:#f59e0b}.stars i.h{background:linear-gradient(90deg,#f59e0b 50%,#e5e7eb 50%)}
:root{--star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.83 5.74 6.33.92-4.58 4.46 1.08 6.3L12 17.25l-5.66 2.97 1.08-6.3-4.58-4.46 6.33-.92z'/%3E%3C/svg%3E")}
