/* [의견 보내기 · 베타] 단추 · 패널 (assets/js/feedback.js · 기획 docs/20261108_베타_의견접수_기획.md)
   자리: PC 는 맨 위로 단추(오른쪽 24 · 아래 80 · 48px) 위, 휴대폰은 하단 바 · 앱 설치 띠 · 구매 띠 · 맨 위로 위로 비켜 선다 */
.rvfb-fab{position:fixed;right:24px;bottom:140px;z-index:122;display:inline-flex;align-items:center;gap:7px;height:34px;margin:0;padding:0 13px 0 12px;box-sizing:border-box;border:1px solid #1B2438;border-radius:999px;background:#FFFFFF;color:#1B2438;font:500 12px/1 'Noto Sans KR',sans-serif;letter-spacing:.02em;word-break:keep-all;white-space:nowrap;cursor:pointer;box-shadow:0 2px 10px rgba(17,17,17,.10);transition:background .15s,color .15s}
.rvfb-fab:hover{background:#1B2438;color:#FFFFFF}
.rvfb-fab:focus-visible{outline:2px solid #1B2438;outline-offset:3px}
.rvfb-fab svg{flex:none}
.rvfb-b{font-family:'Bodoni Moda',Georgia,serif;font-size:10px;font-weight:600;letter-spacing:.14em;padding-left:7px;border-left:1px solid currentColor;line-height:12px;opacity:.85}
@media (min-width:900px){html.has-rail:not(.rail-off) .rvfb-fab{right:calc(var(--rail-w) + 16px)}}
html.rv-split .rvfb-fab{right:auto;left:calc(var(--rv-left) - 24px);transform:translateX(-100%)}
@container mg (max-width:960px){.rvfb-fab{right:14px;bottom:136px}}
@media (max-width:720px){
  .rvfb-fab{right:14px;bottom:calc(var(--rv-dock-h,56px) + 74px);height:32px;padding:0 11px 0 10px;font-size:11.5px}
  .rvfb-l2{display:none}   /* 휴대폰은 '의견 · BETA' 로 좁게 — 본문 · 토글을 덜 가린다 */
  html.rv-inst-on .rvfb-fab{bottom:calc(var(--rv-dock-h,56px) + 48px + 74px)}
  html:has(.dzi-acts) .rvfb-fab{bottom:calc(var(--rv-dock-h,56px) + 76px)}
  html.rv-inst-on:has(.dzi-acts) .rvfb-fab{bottom:calc(var(--rv-dock-h,56px) + 126px)}
  html:has(.h2-fix) .rvfb-fab{bottom:calc(var(--rv-dock-h,56px) + 90px)}
}
html.rv-sheet-on .rvfb-fab,html.rvfb-on .rvfb-fab,html:has(details.hb[open]) .rvfb-fab,html.rail-open .rvfb-fab{visibility:hidden}
@media print{.rvfb-fab,.rvfb,.rvfb-bd{display:none!important}}

/* 패널: PC 오른쪽 440px · 휴대폰 아래 시트 92% */
.rvfb-bd{position:fixed;inset:0;z-index:5200;background:rgba(17,17,17,.38);opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}
.rvfb-bd.on{opacity:1;visibility:visible;transition:opacity .2s}
.rvfb{position:fixed;top:0;right:0;bottom:0;z-index:5201;display:flex;flex-direction:column;width:min(440px,100%);box-sizing:border-box;background:#FFFFFF;color:#111111;border-left:1px solid #111111;font-family:'Noto Sans KR',sans-serif;word-break:keep-all;transform:translateX(104%);visibility:hidden;transition:transform .24s ease,visibility 0s .24s}
.rvfb.on{transform:none;visibility:visible;transition:transform .24s ease}
.rvfb-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:22px 24px 14px;border-bottom:1px solid #111111;flex:none}
.rvfb-k{margin:0;font-family:'Bodoni Moda',Georgia,serif;font-size:11px;letter-spacing:.26em;color:#1B2438}
.rvfb-h{margin:6px 0 0;font-family:'Noto Serif KR',serif;font-size:22px;font-weight:500;line-height:1.4}
.rvfb-x{flex:none;width:40px;height:40px;margin:-6px -8px 0 0;border:0;background:none;color:#111111;font-size:26px;line-height:1;cursor:pointer}
.rvfb-x:focus-visible{outline:2px solid #1B2438}
.rvfb-bdy{flex:1;overflow:auto;padding:18px 24px calc(24px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch}
.rvfb-shot{border:1px solid #E1E3E8;background:#F6F7F9}
.rvfb-cv{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:0}
.rvfb-c{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;cursor:crosshair;touch-action:none;background:#FFFFFF}
.rvfb-wait{margin:0;padding:18px;font-size:12.5px;line-height:1.7;color:#5E5E5E;text-align:center}
.rvfb-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;border-top:1px solid #E1E3E8;background:#FFFFFF}
.rvfb-tools[hidden]{display:none}
.rvfb-tip{font-size:11.5px;color:#6A6A6A}
.rvfb-sp{flex:1}
.rvfb-tb{min-height:32px;padding:0 12px;border:1px solid #D2D2D2;border-radius:999px;background:#FFFFFF;color:#1B2438;font:500 12px/1 'Noto Sans KR',sans-serif;cursor:pointer;white-space:nowrap}
.rvfb-tb:hover{border-color:#1B2438}
.rvfb-tb:focus-visible{outline:2px solid #1B2438;outline-offset:2px}
.rvfb-f{margin:18px 0 0}
.rvfb-lab{display:block;margin:0 0 8px;padding:0;font-size:13px;font-weight:500;color:#111111}
.rvfb-lab em{margin-left:6px;font-style:normal;font-size:11px;font-weight:500;color:#8A2A2A;letter-spacing:.04em}
.rvfb-lab em.o{color:#8A8A8A}
.rvfb-ta,.rvfb-in{display:block;width:100%;box-sizing:border-box;border:1px solid #CFCFCF;border-radius:10px;background:#FFFFFF;color:#111111;font:400 15px/1.7 'Noto Sans KR',sans-serif;padding:10px 12px}
.rvfb-ta{min-height:112px;resize:vertical}
.rvfb-in{height:44px;padding:0 12px}
.rvfb-ta:focus,.rvfb-in:focus{outline:0;border-color:#1B2438;box-shadow:0 0 0 1px #1B2438}
.rvfb-cnt{margin:6px 0 0;text-align:right;font-family:'Bodoni Moda',Georgia,serif;font-size:12px;color:#6A6A6A;font-variant-numeric:lining-nums tabular-nums}
.rvfb-kinds{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0;border:0}
.rvfb-kinds legend{width:100%}
.rvfb-kd{position:relative;cursor:pointer}
.rvfb-kd input{position:absolute;opacity:0;width:1px;height:1px}
.rvfb-kd span{display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border:1px solid #D2D2D2;border-radius:999px;font-size:13px;color:#333333}
.rvfb-kd input:checked+span{border-color:#1B2438;background:#1B2438;color:#FFFFFF}
.rvfb-kd input:focus-visible+span{outline:2px solid #1B2438;outline-offset:2px}
.rvfb-two{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:10px;margin:16px 0 0}
.rvfb-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.rvfb-err{margin:12px 0 0;padding:10px 12px;border-left:2px solid #8A2A2A;background:#FBF6F6;font-size:13px;line-height:1.6;color:#8A2A2A}
.rvfb-err[hidden]{display:none}
.rvfb-note{margin:16px 0 0;font-size:11.5px;line-height:1.7;color:#6A6A6A}
.rvfb-go{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:10px 0 0;border:0;border-radius:999px;background:#1B2438;color:#FFFFFF;font:500 15px/1 'Noto Sans KR',sans-serif;letter-spacing:.04em;cursor:pointer}
.rvfb-go:hover{background:#2A3652}
.rvfb-go:disabled{background:#B8BCC6;cursor:not-allowed}
.rvfb-go:focus-visible{outline:2px solid #FFFFFF;box-shadow:0 0 0 4px #1B2438}
.rvfb-auto{margin:10px 0 0;font-size:11px;line-height:1.6;color:#8A8A8A}
.rvfb-mine{margin:14px 0 0;padding-top:12px;border-top:1px solid #ECECEC;font-size:11.5px;color:#6A6A6A;line-height:1.9}
.rvfb-no{display:inline-block;margin-right:6px;font-family:'Bodoni Moda',Georgia,serif;font-size:12px;color:#1B2438;letter-spacing:.04em}
.rvfb-done{padding:18px 0 0;text-align:left}
.rvfb-dt{margin:8px 0 0;font-family:'Noto Serif KR',serif;font-size:22px;font-weight:500;line-height:1.5}
.rvfb-num{margin:22px 0 0;font-family:'Bodoni Moda',Georgia,serif;font-size:36px;font-weight:600;line-height:1;color:#1B2438;letter-spacing:.02em;font-variant-numeric:lining-nums tabular-nums}
.rvfb-sub{margin:8px 0 0;font-size:12px;color:#6A6A6A}
.rvfb-flow{margin:22px 0 0;padding:14px 0 0 20px;border-top:1px solid #111111;font-size:13.5px;line-height:1.9;color:#333333}
.rvfb-acts{display:flex;gap:10px;align-items:center;margin:22px 0 0}
.rvfb-acts .rvfb-go{margin:0;flex:1}
.rvfb-acts .rvfb-tb{min-height:48px}
@media (max-width:720px){
  .rvfb{top:auto;left:0;width:100%;height:92dvh;max-height:92vh;border-left:0;border-top:1px solid #111111;border-radius:16px 16px 0 0;transform:translateY(104%)}
  .rvfb.on{transform:none}
  .rvfb-hd{padding:16px 20px 12px}
  .rvfb-bdy{padding:14px 20px calc(20px + env(safe-area-inset-bottom,0px))}
  .rvfb-two{grid-template-columns:minmax(0,1fr)}
  .rvfb-ta,.rvfb-in{font-size:16px}
  .rvfb-c{max-height:200px}
}
@media (prefers-reduced-motion:reduce){.rvfb,.rvfb-bd,.rvfb-fab{transition:none}}

/* 11-09 아트 디렉터(편집장 라이브 검수 '본문 글자를 가린다'): 떠 있는 알약 단추 → 본문 칸 밖으로.
   PC(900 이상): 오른쪽 가장자리에 붙은 얇은 세로 탭 — 오른쪽 '<' 레일 손잡이(가운데 · 높이 64)와 같은 체계로 그 바로 아래.
   휴대폰(899 이하): 맨 위로 단추와 같은 44px 원형 아이콘 하나(말풍선 선 그림 · 접근성 이름은 단추의 aria-label), 맨 위로 단추 바로 위에 쌓는다. */
@media (min-width:900px){
  .rvfb-fab,html.has-rail:not(.rail-off) .rvfb-fab{top:calc(50% + 44px);bottom:auto;right:0;height:auto;width:24px;padding:12px 0;gap:8px;flex-direction:row;align-items:center;justify-content:center;border:1px solid #111111;border-right:0;border-radius:6px 0 0 6px;background:#FFFFFF;color:#111111;writing-mode:vertical-rl;font-size:11px;letter-spacing:.06em;opacity:.8;box-shadow:none}
  html.has-rail:not(.rail-off):not(.rail-open) .rvfb-fab{right:0}
  .rvfb-fab:hover,.rvfb-fab:focus-visible{opacity:1;width:28px;background:#F4F4F4;color:#111111}
  .rvfb-fab svg{writing-mode:horizontal-tb;width:12px;height:12px}
  .rvfb-fab .rvfb-l2{display:inline}
  .rvfb-fab .rvfb-b{padding:7px 0 0;border-left:0;border-top:1px solid currentColor;font-size:9px;letter-spacing:.12em}
  html.rv-split .rvfb-fab{left:auto;right:0;transform:none}
}
@media (max-width:899px){
  .rvfb-fab{width:44px;height:44px;padding:0;gap:0;justify-content:center;right:16px;border-radius:50%;background:#FFFFFF;color:#1B2438;box-shadow:0 2px 10px rgba(17,17,17,.14)}
  .rvfb-fab svg{width:20px;height:20px}
  .rvfb-fab .rvfb-l,.rvfb-fab .rvfb-b{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0}
}
@media (min-width:721px) and (max-width:899px){.rvfb-fab{bottom:142px}}
