/* GidiReads — isolated interactive review styling. */
.reviews-hint{font-size:.82rem;color:var(--ink-soft);margin:-8px 0 8px}
.review-card{cursor:pointer;transition:background .18s ease,border-color .18s ease}
.review-card:hover,.review-card:focus-visible{background:rgba(183,159,209,.055);outline:none}
.review-profile{display:flex;align-items:center;gap:10px;min-width:0}
.review-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 38px;background:var(--lilac)}
.review-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;color:var(--plum);font-weight:700}
.review-profile-copy{display:flex;flex-direction:column;min-width:0}
.review-profile-copy strong{font-size:.92rem}.review-profile-copy span{color:var(--ink-soft);font-size:.76rem}
.review-card-meta,.review-reply-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:var(--ink-soft);font-size:.76rem;margin:7px 0 9px}
.review-card-main{min-width:0}.review-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.review-action-btn{border:0;background:transparent;color:var(--ink-soft);font:inherit;font-size:.78rem;padding:5px 8px;border-radius:5px;cursor:pointer}
.review-action-btn:hover,.review-action-btn.is-active{color:var(--plum);background:rgba(183,159,209,.1)}
.review-action-btn:disabled{opacity:.55;cursor:wait}.review-thread{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}
.review-reply-composer,.review-inline-editor{margin-bottom:14px}.review-reply-composer textarea,.review-inline-editor textarea{width:100%;min-height:70px;resize:vertical;margin-bottom:8px}
.review-reply-composer-actions{display:flex;justify-content:flex-end;gap:8px}.review-replies{display:flex;flex-direction:column;gap:12px}
.review-reply{margin-left:calc(var(--reply-depth,0) * 22px);padding-left:12px;border-left:1px solid var(--line);display:flex;gap:10px}
.review-reply .review-profile{align-items:flex-start}.review-reply-body{flex:1;min-width:0}.review-reply-body .review-text{margin-bottom:2px}.review-reply-actions{margin-top:4px}
.review-no-text{color:var(--ink-soft);font-style:italic}.review-empty-replies{padding:6px 0}.review-form-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:640px){.review-reply{margin-left:calc(var(--reply-depth,0) * 12px)}}

/* Story Page review redesign — keep the existing review/reply logic, refresh only the presentation. */
.story-reviews-section-v2 .review-form-box,
.story-reviews-section-v2 .review-submitted-box {
  position:relative;
  overflow:hidden;
  padding:28px;
  margin:0 0 30px;
  border:1px solid rgba(198,168,239,.24) !important;
  border-radius:18px !important;
  background:linear-gradient(145deg,rgba(29,19,40,.96),rgba(17,11,24,.98)) !important;
  box-shadow:0 18px 55px rgba(0,0,0,.24),0 0 38px rgba(151,102,221,.08);
}
.story-reviews-section-v2 .review-form-box::before,
.story-reviews-section-v2 .review-submitted-box::before {
  content:"";
  position:absolute;
  width:240px;height:180px;right:-90px;top:-100px;
  background:radial-gradient(circle,rgba(184,137,244,.2),transparent 68%);
  filter:blur(10px);pointer-events:none;
}
.review-form-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:22px;position:relative;z-index:1}
.review-form-kicker{display:block;color:#a98bd2;font-size:.68rem;text-transform:uppercase;letter-spacing:.16em;font-weight:800;margin-bottom:5px}
.review-form-heading .reviews-subheading{font-size:1.35rem;margin:0;color:#fff !important}
.review-form-instruction{color:#9889a7;font-size:.78rem}
.star-picker{position:relative;z-index:1;padding:14px 15px;border:1px solid rgba(198,168,239,.12);border-radius:13px;background:rgba(11,7,16,.55);margin-bottom:9px}
.star-picker-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:7px}
.star-picker-label{font-size:.86rem !important;color:#eee6f5 !important;font-weight:650 !important}
.star-picker-value{font-size:.74rem;color:#bda9d3;font-weight:700;min-width:44px;text-align:right}
.star-row{display:flex;gap:3px;align-items:center}
.star-btn{appearance:none !important;background:transparent !important;border:0 !important;color:#51465c !important;font-size:1.72rem !important;line-height:1 !important;padding:3px 4px !important;cursor:pointer;transition:transform .16s ease,color .16s ease,text-shadow .16s ease}
.star-btn:hover,.star-btn:focus-visible{color:#e7c9ff !important;transform:translateY(-1px) scale(1.05);text-shadow:0 0 14px rgba(203,155,255,.65);outline:none}
.star-btn.filled{color:#d6a8ff !important;text-shadow:0 0 10px rgba(194,145,246,.7),0 0 24px rgba(145,92,215,.35)}
.story-reviews-section-v2 #reviewTextInput{position:relative;z-index:1;width:100%;min-height:120px;margin:14px 0 12px;padding:13px 14px;border:1px solid rgba(198,168,239,.16) !important;border-radius:12px;background:#0d0812 !important;color:#f4edf8 !important;line-height:1.6;resize:vertical}
.story-reviews-section-v2 #reviewTextInput::placeholder{color:#766a81}
.story-reviews-section-v2 .review-form-actions{position:relative;z-index:1;display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.story-reviews-section-v2 .review-form-actions .btn-primary{box-shadow:0 0 24px rgba(157,108,225,.25)}
.rating-summary-v2{grid-template-columns:minmax(150px,.5fr) minmax(0,1.5fr) !important;gap:30px !important;padding:24px 0 10px}
.rating-overall-block{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.rating-overall{font-family:var(--font-display);font-size:3.35rem !important;line-height:1;color:#fff !important;text-shadow:0 0 24px rgba(194,151,255,.36)}
.rating-count{color:#92849d !important;font-size:.78rem !important}
.review-stars{display:inline-flex;gap:1px;vertical-align:middle;white-space:nowrap}
.review-star{color:#51465c;font-size:.88rem;line-height:1;text-shadow:none}
.review-star.filled{color:#d4a5ff;text-shadow:0 0 8px rgba(194,145,246,.6)}
.rating-stars-large .review-star{font-size:1.12rem}
.rating-breakdown{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px !important}
.rating-breakdown>div{display:grid;grid-template-columns:minmax(105px,1fr) auto auto;align-items:center;gap:9px;padding:10px 12px;border:1px solid rgba(198,168,239,.12);border-radius:10px;background:rgba(22,14,29,.7);color:#b7a9c1;font-size:.76rem}
.rating-breakdown>div>span:first-child{color:#d9cedf}.rating-breakdown strong{font-size:.72rem;color:#a995b5}
.reviews-wrap-v2{margin-top:34px}
.reviews-subheading-row{padding-bottom:13px;border-bottom:1px solid rgba(198,168,239,.1)}
.reviews-subheading-row .reviews-subheading{font-size:1.15rem !important;color:#fff !important}
.reviews-hint{color:#85788f !important}
.story-reviews-section-v2 .review-card{position:relative;padding:21px 0 !important;background:transparent !important;border:0 !important;border-bottom:1px solid rgba(198,168,239,.11) !important;border-radius:0 !important;cursor:pointer}
.story-reviews-section-v2 .review-card:hover{background:linear-gradient(90deg,rgba(161,113,220,.055),transparent) !important}
.review-profile{gap:11px}
.review-avatar{width:46px !important;height:46px !important;flex-basis:46px !important;border:1px solid rgba(198,168,239,.25);box-shadow:0 0 18px rgba(151,102,221,.1)}
.review-profile-copy strong{font-size:.94rem !important;color:#f7effa !important;line-height:1.25}
.review-profile-copy span{color:#91839d !important;font-size:.74rem !important;margin-top:2px}
.story-reviews-section-v2 .review-card-meta{display:flex;align-items:center;gap:9px;margin:9px 0 10px;color:#96889f !important;font-size:.76rem !important}
.review-overall-number{color:#d8c9e2;font-size:.75rem}
.story-reviews-section-v2 .review-card-meta time{color:#91839d}
.story-reviews-section-v2 .review-text{font-size:.93rem !important;line-height:1.7;color:#e4dbe9 !important;max-width:78ch}
.story-reviews-section-v2 .review-action-btn{border:1px solid transparent !important;border-radius:999px !important;padding:6px 10px !important;color:#8f8299 !important}
.story-reviews-section-v2 .review-action-btn:hover,.story-reviews-section-v2 .review-action-btn.is-active{color:#e4ccff !important;background:rgba(183,139,237,.1) !important;border-color:rgba(198,168,239,.14) !important}
.story-reviews-section-v2 .review-thread{border-top:1px solid rgba(198,168,239,.1) !important}
.story-reviews-section-v2 .review-reply{border-left-color:rgba(198,168,239,.15) !important}
.story-reviews-section-v2 .verified-badge{color:#cdb3e8 !important;background:rgba(183,139,237,.09) !important;border:1px solid rgba(198,168,239,.13);padding:3px 7px}
@media(max-width:700px){.review-form-heading{align-items:flex-start;flex-direction:column;gap:5px}.rating-summary-v2{grid-template-columns:1fr !important}.rating-breakdown{grid-template-columns:1fr !important}.rating-breakdown>div{grid-template-columns:1fr auto auto}.story-reviews-section-v2 .review-form-box{padding:20px}.star-btn{font-size:1.55rem !important}}
