/* Talent card, Reviews tab. Calm, readable, the same family as the About card. */
.rv-on .td-reviews-header { display: none; }
#tdReviewList { display: grid; gap: 16px; }

/* summary */
.rv-sum { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 22px 24px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); }
.rv-score { display: grid; justify-items: center; gap: 6px; min-width: 110px; }
.rv-big { font-size: 3.1rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; }
.rv-n { font-size: .82rem; color: var(--muted, #a08184); }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-s { color: rgba(255,255,255,.22); display: inline-flex; }
.rv-s.on { color: #f5c542; }
.rv-score .rv-s svg { width: 18px; height: 18px; }
.rv-bars { display: grid; gap: 7px; }
.rv-bar { display: grid; grid-template-columns: 14px 1fr 26px; gap: 10px; align-items: center; font-size: .8rem; color: var(--text-2, #d4b8ba); }
.rv-bar i { display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.rv-bar b { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f5c542, #ffb020); }
.rv-bar em { font-style: normal; text-align: right; color: var(--muted, #a08184); }
.rv-ver { display: flex; align-items: center; gap: 8px; margin: -6px 0 0; font-size: .86rem; color: #7be0a4; }
.rv-ver b { color: #fff; }

/* pinned quote */
.rv-pinq { margin: 0; padding: 22px 26px; border-radius: 18px; background: linear-gradient(160deg, rgba(245,197,66,.09), rgba(255,255,255,.03)); border: 1px solid rgba(245,197,66,.3); }
.rv-pin-l { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f5c542; }
.rv-pinq p { margin: 10px 0 14px; font-size: 1.2rem; line-height: 1.6; font-weight: 600; color: #fff; }
.rv-pinq footer { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--text-2, #d4b8ba); }

/* tools */
.rv-tools { display: flex; justify-content: flex-end; }
.rv-tools label { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--muted, #a08184); }
.rv-tools select { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-weight: 600; }

/* review cards */
.rv-list { display: grid; gap: 12px; }
.rv-c { padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 10px; }
.rv-c.is-pinned { border-color: rgba(245,197,66,.4); }
.rv-c header { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.rv-av img, .rv-ph { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 800; color: #fff; }
.rv-who { display: grid; gap: 3px; min-width: 0; }
.rv-who b { color: #fff; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: #7be0a4; background: rgba(60,200,120,.14); border: 1px solid rgba(60,200,120,.3); }
.rv-meta { display: grid; justify-items: end; gap: 3px; }
.rv-meta time { font-size: .76rem; color: var(--muted, #a08184); }
.rv-meta .rv-s svg { width: 15px; height: 15px; }
.rv-event { margin: 0; font-size: .86rem; color: var(--text-2, #d4b8ba); }
.rv-event b { color: #fff; font-weight: 700; }
.rv-text { margin: 0; font-size: 1.02rem; line-height: 1.75; color: #eadfe0; max-width: 64ch; }
.rv-clamp:not(.is-open) { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rv-link { width: fit-content; padding: 4px 0; border: 0; background: none; color: #ff7a90; font: inherit; font-weight: 700; font-size: .84rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.rv-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv-reply { margin-left: 18px; padding: 12px 16px; border-left: 3px solid rgba(255,91,120,.6); border-radius: 0 12px 12px 0; background: rgba(255,255,255,.04); }
.rv-reply b { font-size: .8rem; color: #ff7a90; }
.rv-reply p { margin: 6px 0 0; line-height: 1.65; color: #eadfe0; }
.rv-form { display: grid; gap: 8px; }
.rv-form[hidden] { display: none; }
.rv-form textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #fff; font: inherit; resize: vertical; }
.rv-form > div { display: flex; gap: 14px; align-items: center; }
.rv-btn { padding: 8px 18px; border-radius: 999px; border: 0; background: #c8102e; color: #fff; font: inherit; font-weight: 800; font-size: .86rem; cursor: pointer; }
.rv-btn:disabled { opacity: .5; }
.rv-err { margin: 0; color: #ff6b81; font-size: .84rem; }
.rv-all { justify-self: center; padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.rv-all:hover { background: rgba(255,255,255,.14); }

/* empty state */
.rv-empty { padding: 28px 24px; text-align: center; border-radius: 18px; border: 1px dashed rgba(255,255,255,.2); background: rgba(255,255,255,.03); }
.rv-empty b { display: block; font-size: 1.05rem; color: #fff; margin-bottom: 6px; }
.rv-empty p { margin: 0; color: var(--text-2, #d4b8ba); line-height: 1.6; }

/* the tab count is a small pill */
.tdx-tc:not(:empty) { background: rgba(245,197,66,.18); color: #f5c542; font-weight: 800; }

@media (max-width: 560px) { .rv-sum { grid-template-columns: 1fr; gap: 16px; padding: 18px; } .rv-score { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; } .rv-c header { grid-template-columns: auto 1fr; } .rv-meta { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; } }
[data-theme="light"] .rv-sum, [data-theme="light"] .rv-c { background: #fff; border-color: rgba(0,0,0,.1); }
[data-theme="light"] .rv-big, [data-theme="light"] .rv-who b, [data-theme="light"] .rv-event b, [data-theme="light"] .rv-pinq p { color: #1a0a0d; }
[data-theme="light"] .rv-text, [data-theme="light"] .rv-reply p { color: #3a2a2d; }
