/* 수술후기 글쓰기(사진 첨부) + 사진 갤러리 */
.rvw-bar{display:flex; justify-content:flex-end; margin:28px 0 0;}
.rvw-open{font:inherit; font-size:16px; padding:11px 22px; border:1px solid var(--ink); background:var(--ink); color:#fff; cursor:pointer; letter-spacing:0.02em;}
.rvw-open:hover{opacity:.88;}
.rvw-form{margin:22px 0 10px; padding:26px 26px 22px; border:1px solid var(--line); background:var(--mist,#f6f5f1);}
.rvw-form[hidden]{display:none;}
.rvw-form h3{margin:0 0 6px; font-size:1.15rem;}
.rvw-note{font-size:14px; color:var(--ink-soft); line-height:1.7; margin:0 0 18px;}
.rvw-row{margin-bottom:14px;}
.rvw-row label{display:block; font-size:12px; font-weight:600; margin-bottom:6px;}
.rvw-row input[type=text], .rvw-row textarea{width:100%; box-sizing:border-box; font:inherit; font-size:16px; padding:11px 12px; border:1px solid var(--line); background:#fff; color:var(--ink);}
.rvw-row textarea{min-height:170px; line-height:1.7; resize:vertical;}
.rvw-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
.rvw-photos{display:flex; flex-wrap:wrap; gap:10px; margin-top:8px;}
.rvw-thumb{position:relative; width:92px; height:92px; border:1px solid var(--line); background:#fff;}
.rvw-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.rvw-thumb button{position:absolute; top:-8px; right:-8px; width:22px; height:22px; border-radius:50%; border:0; background:var(--ink); color:#fff; font-size:14px; line-height:22px; cursor:pointer; padding:0;}
.rvw-add{width:92px; height:92px; border:1px dashed var(--ink-soft); background:#fff; color:var(--ink-soft); font:inherit; font-size:12px; cursor:pointer; line-height:1.4;}
.rvw-hint{font-size:12px; color:var(--ink-soft); margin-top:8px;}
.rvw-consent{display:flex; gap:8px; align-items:flex-start; font-size:14px; line-height:1.6; margin:16px 0;}
.rvw-consent input{margin-top:4px;}
.rvw-actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap;}
.rvw-submit{font:inherit; font-size:16px; padding:11px 26px; border:0; background:var(--ink); color:#fff; cursor:pointer;}
.rvw-submit:disabled{opacity:.5; cursor:default;}
.rvw-cancel{font:inherit; font-size:16px; padding:10px 18px; border:1px solid var(--line); background:#fff; cursor:pointer;}
.rvw-msg{font-size:16px; margin-top:14px; line-height:1.6;}
.rvw-msg.err{color:#b3261e;} .rvw-msg.ok{color:#1b6b3a;}
/* 후기 목록 썸네일 (사진이 있는 글만, 첫 장) */
.rv-head.has-th{display:grid; grid-template-columns:minmax(0,1fr) 84px; column-gap:16px; align-items:start;}
.rv-head.has-th .rv-th{grid-column:2; grid-row:1; width:84px; height:84px; overflow:hidden; border:1px solid var(--line); background:#eee;}
.rv-head.has-th .rv-th img{width:100%; height:100%; object-fit:cover; display:block;}
.rv-txt{display:block; min-width:0;}
/* 후기 본문 사진: PC 가로 600px, 모바일은 화면 폭에 맞춤 */
.rvg{display:block; margin:18px 0 4px;}
.rvg a{display:block; width:100%; max-width:600px; margin:0 0 12px; border:1px solid var(--line); background:#eee;}
.rvg img{display:block; width:100%; height:auto;}
.rvlb{position:fixed; inset:0; background:rgba(0,0,0,.86); z-index:9999; display:flex; align-items:center; justify-content:center; padding:24px;}
.rvlb img{max-width:100%; max-height:100%; object-fit:contain;}
@media(max-width:600px){ .rvw-form{padding:20px 16px;} .rv-head.has-th{grid-template-columns:minmax(0,1fr) 64px; column-gap:12px;} .rv-head.has-th .rv-th{width:64px; height:64px;} .rvg a{max-width:none;} }

/* 언어별 후기 탭 */
.rvt-h{font-size:1.25rem; margin:0 0 18px; font-weight:600;}
.rvt-nav{display:flex; gap:0; border-bottom:1px solid var(--line); flex-wrap:nowrap; justify-content:flex-start;}
.rvt{display:block; padding:11px 22px; font-size:16px; color:var(--ink-soft); text-decoration:none; border-bottom:2px solid transparent; margin-bottom:-1px; letter-spacing:0.02em;}
.rvt:hover{color:var(--ink);}
.rvt.on{color:var(--ink); font-weight:600; border-bottom-color:var(--ink);}
@media(max-width:600px){ .rvt{flex:1; text-align:center; padding:11px 6px;} .rvt-h{font-size:1.08rem;} }

/* === 수술후기 언어탭 영역: 로열네이비 패널 + 소프트아이보리 글씨 / 작성 버튼: 블루+흰색 (v41) === */
.rvt-wrap{background:#1B2A47; padding:8px 26px 0; border-radius:6px;}
.rvt-h{color:#1B2A47 !important;}
.rvt-nav{border-bottom-color:rgba(246,241,228,0.28) !important;}
.rvt{color:rgba(246,241,228,0.72) !important;}
.rvt:hover{color:#F6F1E4 !important;}
.rvt.on{color:#F6F1E4 !important; border-bottom-color:#F6F1E4 !important;}
.rvw-open{background:#2C4F9E !important; border-color:#2C4F9E !important; color:#ffffff !important;}
.rvw-open:hover{background:#24418A !important; opacity:1;}
