/* 손글씨 인식 확인 · 타이핑 답안 · 촬영 요령 */
.rv-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 8px;min-height:40px}
.rv-top .pill{font-size:14px;padding:6px 12px}
.rv-item h2{margin:28px 0 10px}
.rv-sheet{background:#fff;border-radius:var(--r-xl);box-shadow:inset 0 0 0 1px var(--line);padding:18px 16px 10px}
.rv-pg{margin:12px 0 4px;font-weight:700;color:var(--ink3)}
.rv-row{padding:6px 0 10px;border-bottom:1px solid var(--line)}
.rv-row:last-child{border-bottom:0}
/* 사진 줄: 원고지 격자(840px)를 화면 너비에 맞춰 늘린다 → 아래 글자 칸과 세로로 맞는다 */
.rv-img{--s:calc(var(--rw,320) / 840);height:calc(var(--rw,320) * 52px / 840);background-repeat:no-repeat;border-radius:6px;
  background-size:calc(var(--rw,320) * var(--iw) * 1px / 840) auto;
  background-position:calc(var(--rw,320) * var(--x) * -1px / 840) calc(var(--rw,320) * var(--y) * -1px / 840)}
.rv-txt{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));width:100%;padding:0;margin-top:4px;border:0;background:none;cursor:text;border-radius:6px}
.rv-txt span{aspect-ratio:1;display:grid;place-items:center;font-size:calc(var(--rw,320) * 31px / 840);line-height:1;overflow:hidden;font-weight:600;color:var(--ink);
  box-shadow:inset 0 0 0 .5px var(--grid-line)}
.rv-txt span.u{background:var(--pen-soft);color:var(--pen);box-shadow:inset 0 0 0 1.5px var(--pen)}
.rv-txt span.q{color:var(--pen)}
.rv-txt.fixed span{background:var(--grid-soft)}
.rv-txt:hover span{box-shadow:inset 0 0 0 .5px var(--grid)}
.rv-edit{display:flex;gap:8px;margin-top:6px}
.rv-edit .input{flex:1;min-width:0;font-size:19px;letter-spacing:.06em;height:48px}
.rv-row.on{background:var(--grid-soft);margin:0 -16px;padding:6px 16px 10px}
.rv-bar{position:sticky;bottom:0;z-index:5;margin:20px -4px 0;padding:14px 4px calc(14px + env(safe-area-inset-bottom));
  background:linear-gradient(to top,var(--desk) 70%,transparent)}
body.has-tabbar .rv-bar{bottom:72px}
.rv-bar .row{flex-wrap:nowrap}.rv-bar .row .btn{flex:1}
/* 타이핑 */
.ty h2{margin:28px 0 10px}
.ty-area{min-height:46vh !important;font-size:18px;line-height:1.9;margin-top:18px}
.ty-meter{display:flex;align-items:center;gap:12px;margin-top:10px}
.ty-meter .bar{position:relative;flex:1;height:8px;border-radius:99px;background:var(--desk2);overflow:hidden}
.ty-meter .bar i{position:absolute;top:0;bottom:0;background:var(--grid-line)}
.ty-meter .bar b{position:absolute;left:0;top:0;bottom:0;background:var(--ink3);border-radius:99px;transition:width .2s}
.ty-meter .bar b.ok{background:var(--grid)}.ty-meter .bar b.over{background:var(--pen)}
.ty-meter [data-n]{font-weight:800;font-size:18px;min-width:64px;text-align:right}
/* 촬영 요령 */
.sg h2{margin:0 0 18px}
.sg ul{list-style:none;margin:0;padding:0}
.sg li{display:flex;gap:18px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}
.sg li svg{width:56px;height:56px;flex:none;fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sg li:nth-child(3) svg rect:not(:first-child){fill:var(--ink)}
.sg li b{display:block;font-size:19px;letter-spacing:-.02em}
.sg li span{display:block;color:var(--ink2);margin-top:2px}
