/* V4.0: confined to website review form and reply buttons. */
.smv-profile .sm40-reply-editor { margin: 14px 0 0; padding:0; border:0; background:transparent }
.smv-profile .sm40-reply-editor .sm40-reply-summary{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:10px 17px;border:1px solid var(--line,#dfe5ee);border-radius:11px;background:var(--surface,#fff);color:var(--ink,#192138);font-size:13px;font-weight:800;cursor:pointer;list-style:none}
.smv-profile .sm40-reply-editor .sm40-reply-summary::-webkit-details-marker{display:none}
.smv-profile .sm40-reply-editor[open] .sm40-reply-summary{border-color:#e1bb42;background:var(--soft,#f7f8fa)}
.smv-profile .sm40-reply-editor[open] .sm40-reply-summary span{transform:rotate(180deg)}
.smv-profile .sm40-reply-editor .sm40-reply-summary:focus-visible{outline:3px solid #deb126;outline-offset:3px}
.smv-profile .sm40-reply-editor form{padding:14px 16px;margin:12px 0 0;background:var(--soft,#f6f7fa);border:1px solid var(--line,#dfe5ee);border-radius:13px}
.smv-profile .sm40-rating-field{margin:0;padding:0;min-width:0;border:0;box-sizing:border-box}
.smv-profile .sm40-rating-field legend{display:block;margin:0 0 9px;font-size:13px;font-weight:800;color:var(--ink,#172038)}
.smv-profile .sm40-stars{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:4px;min-height:48px;width:100%;box-sizing:border-box;padding:5px 9px;border:1px solid var(--line,#dce3ef);border-radius:12px;background:var(--surface,#fff);position:relative}
.smv-profile .sm40-stars input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.smv-profile .sm40-stars label{flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;width:42px;min-width:0;min-height:40px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#a6afbd;cursor:pointer;border-radius:8px;font-size:27px;line-height:1;transition:color .12s ease,transform .12s ease}
.smv-profile .sm40-stars label:hover{transform:translateY(-1px)}
.smv-profile .sm40-stars input:checked~label,.smv-profile .sm40-stars label:hover,.smv-profile .sm40-stars label:hover~label{color:#edae18!important}
.smv-profile .sm40-stars input:focus-visible+label{outline:3px solid #c89213;outline-offset:-2px}
.smv-profile .sm40-stars label span[aria-hidden]{display:block}
.smv-profile .sm40-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;border:0!important;clip:rect(0,0,0,0)!important;overflow:hidden!important;padding:0!important;white-space:nowrap!important}
.smv-profile .sm40-rating-caption{display:block;padding-top:6px;color:var(--muted,#718099);font-size:12px}
@media(max-width:480px){.smv-profile .sm40-stars label{width:36px;font-size:24px}}


/* V4.0.1: polish review header/actions + rating field alignment */
.smv-profile .sm39-review{position:relative;padding-top:24px;padding-bottom:24px}
.smv-profile .sm39-review-content{position:relative}
.smv-profile .sm40-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:10px}
.smv-profile .sm40-review-meta{display:grid;gap:7px;min-width:0;flex:1 1 320px}
.smv-profile .sm40-review-authorline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.smv-profile .sm40-review-authorline .smz-review-member,
.smv-profile .sm40-review-authorline strong{font-size:26px;font-weight:900;color:var(--ink,#172038);line-height:1.05;letter-spacing:-.02em}
.smv-profile .sm40-review-authorline .smz-review-member{text-decoration:none}
.smv-profile .sm40-review-authorline .smz-review-member-label{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:rgba(231,178,24,.16);color:#936500;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.smv-profile .sm40-review-subline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted,#697990);font-size:13px}
.smv-profile .sm40-review-date{font-size:12px;color:var(--muted,#718099)}
.smv-profile .sm39-review .smv-review-stars{display:inline-flex;align-items:center;gap:4px;color:#edae18;font-size:15px;letter-spacing:1px}
.smv-profile .sm40-review-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto;min-height:42px}
.smv-profile .sm40-review-tools .sm39-review-actions,
.smv-profile .sm40-review-tools .sm39-review-actions form{margin:0}
.smv-profile .sm40-review-tools .sm39-helpful,
.smv-profile .sm40-reply-editor .sm40-reply-summary{min-height:42px;padding:10px 15px;border-radius:13px;box-shadow:0 8px 24px rgba(16,24,40,.06)}
.smv-profile .sm40-review-tools .sm39-helpful{background:var(--surface,#fff)}
.smv-profile .sm40-reply-editor{margin:0}
.smv-profile .sm40-review-tools .sm40-reply-editor form{margin-top:12px}
.smv-profile .sm40-review-body{margin-top:2px}
.smv-profile .sm40-review-body>p:first-of-type{margin-top:0}
.smv-profile .sm40-review-body>p{font-size:16px;line-height:1.78;color:#425069}
.smv-profile .sm40-review-body>time{display:block;margin:16px 0 0;font-size:12px;color:var(--muted,#718099)}
.smv-profile .smz-review-area{background:linear-gradient(180deg,rgba(243,245,250,.95),rgba(239,242,248,.98));border:1px solid var(--line,#e2e7f1);border-radius:24px;padding:26px 22px}
.smv-profile .smz-review-intro h3{font-size:clamp(30px,3vw,42px);line-height:1.08;letter-spacing:-.03em;margin:8px 0 10px}
.smv-profile .smz-review-intro p{max-width:760px}
.smv-profile .smz-review-form-row{align-items:start}
.smv-profile .smz-review-form-row label,
.smv-profile .sm40-rating-field{display:grid;gap:9px;align-self:start}
.smv-profile .sm40-rating-field legend{display:block;padding:0;margin:0;line-height:1.25;font-size:13px;font-weight:800;color:var(--ink,#172038)}
.smv-profile .sm40-stars{min-height:52px;padding:6px 10px}
.smv-profile .sm40-rating-caption{padding-top:0}
.smv-profile .sm39-new-fields textarea,
.smv-profile .smz-review-form textarea{border-radius:14px}
.smv-profile .sm39-review + .sm39-review{margin-top:4px}
@media (max-width:880px){
  .smv-profile .sm40-review-authorline .smz-review-member,
  .smv-profile .sm40-review-authorline strong{font-size:22px}
  .smv-profile .sm40-review-head{gap:14px}
}
@media (max-width:640px){
  .smv-profile .sm40-review-head{display:block}
  .smv-profile .sm40-review-tools{justify-content:flex-start;margin-top:12px;flex-wrap:wrap}
  .smv-profile .sm40-review-tools .sm40-reply-editor{width:100%}
  .smv-profile .sm40-review-tools .sm40-reply-editor form{margin-top:10px}
  .smv-profile .sm40-review-authorline .smz-review-member,
  .smv-profile .sm40-review-authorline strong{font-size:20px}
  .smv-profile .sm40-review-body>p{font-size:15px}
  .smv-profile .smz-review-area{padding:22px 16px;border-radius:20px}
}
