/* 급수표 받아쓰기 (묘수 9호) — 색 네 개 + 이 도구 모양만. 뼈대는 /shared/myosu.css */
:root { --c: #c2255c; --c-deep: #9c1c4a; --c-soft: #fdeef3; --bg: #fbf6f8; }

.page h1 { font-size: 20px; margin: 24px 0 8px; }
.hero svg { display: block; margin: 0 auto; }
.hint { color: var(--muted); font-size: 13px; text-align: center; margin: 8px 0 0; }
.lead { color: var(--ink-2); font-size: 15px; margin: 6px 0 12px; }
.lead .warn { color: #8a5a00; background: #fff3c4; padding: 0 4px; border-radius: 4px; }
.tiny.link { display: block; margin: 12px auto 0; }
label.file { position: relative; cursor: pointer; }
.sec-title { margin: 26px 0 2px; font-size: 17px; font-weight: 800; }
.sec-sub { margin: 0 0 10px; color: var(--muted); font-size: 13px; }

/* 먼저 들어 보기 */
.card.sample { margin-top: 18px; }
.card.sample p { margin: 2px 0 10px; color: var(--ink-2); font-size: 14px; }
.sample-row { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sample-row .tiny.on { background: var(--c-soft); color: var(--c-deep); box-shadow: inset 0 0 0 2px var(--c); }

/* 급 목록 */
.levels { display: flex; flex-direction: column; gap: 8px; }
.lv { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: var(--surface); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); }
.lv.cur { box-shadow: inset 0 0 0 2px var(--c); }
.lv-l { flex: none; min-width: 48px; height: 36px; padding: 0 8px; border-radius: 12px; background: var(--c-soft); color: var(--c-deep); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.lv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lv-t b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-t small { color: var(--muted); font-size: 13px; }
.lv .go { flex: none; color: var(--c-deep); font-weight: 800; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.row2 .secondary { margin-top: 0; font-size: 15px; padding: 0 6px; }

/* 보내기 카드 */
.share-card { margin-top: 16px; }
.share-card p { margin: 2px 0 6px; color: var(--ink-2); font-size: 14px; }
.share-btns .primary.small, .share-btns .secondary.small { height: 52px; font-size: 16px; margin-top: 8px; }

/* 고치기 */
.fld { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 14px; font-size: 14px; font-weight: 700; }
.fld input, .ed-head input, .ed-items input, textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); font-size: 16px; }
textarea { line-height: 1.6; resize: vertical; }
.dropped { font-size: 13px; color: var(--muted); background: var(--surface); border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow); }
.ed-lv { background: var(--surface); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); margin-top: 12px; }
.ed-head { display: flex; gap: 8px; }
.ed-head .ed-label { flex: none; width: 76px; font-weight: 800; color: var(--c-deep); }
.ed-items { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: it; display: flex; flex-direction: column; gap: 6px; }
.ed-items li { counter-increment: it; display: grid; grid-template-columns: 22px 1fr 36px; align-items: center; gap: 4px; }
.ed-items li::before { content: counter(it); color: var(--muted); font-size: 13px; text-align: right; }
.ed-items li.unsure input { background: #fff3c4; border-color: #e2b93b; }
.ed-items .x { border: 0; background: none; font-size: 22px; color: var(--muted); height: 40px; }
.ed-items .say { grid-column: 2 / 4; color: var(--c-deep); font-size: 12px; margin: -2px 0 2px 4px; }
.ed-acts { display: flex; gap: 8px; margin-top: 10px; }

/* 읽는 중 */
.reading { text-align: center; margin-top: 16px; }
.reading img { max-width: 100%; max-height: 34vh; border-radius: 14px; box-shadow: var(--shadow); }
.big { font-size: 20px; font-weight: 800; margin: 14px 0 4px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* 불러 주기 */
.play-start { text-align: center; margin-top: 18px; }
.play-start svg { display: block; margin: 0 auto; }
.play { text-align: center; margin-top: 12px; }
.play .prog { color: var(--muted); font-weight: 700; margin: 0; }
.play .num { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; margin: 2px 0 10px; color: var(--c-deep); }
.pst { color: var(--ink-2); font-size: 15px; font-weight: 700; min-height: 24px; margin: 0 0 10px; }
.dots-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px; }
.dots-line i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.dots-line i.done { background: var(--c-soft); box-shadow: inset 0 0 0 2px var(--c); }
.dots-line i.now { background: var(--c); }
.play-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pb { border: 0; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); height: 104px; font-size: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.pb span { font-size: 17px; font-weight: 800; color: var(--ink); }
.primary.big { height: 68px; font-size: 20px; margin-top: 16px; }

/* 채점·문장 보기 */
.grade, .view-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gr, .vl { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: var(--surface); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); min-height: 52px; }
.gn { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c-soft); color: var(--c-deep); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.gt, .vl span:nth-child(2) { flex: 1; font-size: 17px; }
.gm { flex: none; font-size: 14px; font-weight: 800; color: var(--muted); }
.gr.ng { box-shadow: inset 0 0 0 2px #d6336c; background: #fff5f7; }
.gr.ng .gm { color: #b4224f; }
.grade + .summary { margin-top: 16px; }
.buy-box { margin-top: 8px; }

/* 받은 링크 */
.recv-top { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); margin-top: 8px; }
.recv-top p { margin: 0; color: var(--ink-2); font-size: 14px; }
.card + .card, .recv-top + .card { margin-top: 12px; }
.card b { display: block; }
.card p { margin: 4px 0 8px; color: var(--ink-2); font-size: 14px; }

/* 급 누르면 올라오는 창: 버튼 네 개를 한 줄에 넣으면 글자가 세 줄로 깨져서(2026-12-02 대표님 아이폰) 위아래로 */
.gd-sheet .gd-btns.gd-col { flex-direction: column; align-items: stretch; gap: 8px; }
.gd-sheet .gd-btns.gd-col .gd-go { flex: none; width: 100%; height: 48px; margin: 0; white-space: nowrap; }
.play .twice { color: var(--muted); font-size: 14px; margin: -6px 0 8px; }
.lead .warn.done { color: #1d6b3a; background: #e3f5e8; }
.ed-items .chk { grid-column: 2 / 4; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 6px; font-size: 13px; color: #8a5a00; }
.ed-items .chk .ok { border: 0; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff3c4; color: #6b4600; font: inherit; font-weight: 800; box-shadow: inset 0 0 0 1px #e2b93b; }
.ed-items li.checked input { border-color: #7cc49a; }
.save-note { color: #8a5a00; font-size: 14px; text-align: center; margin: 14px 0 0; }
