/* 초성 퀴즈 만들기 — 문제 카드 */
.cq-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cq-card { display: grid; gap: 8px; align-content: start; min-height: 150px; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.cq-card small { font-size: 13px; color: var(--ink-3); }
.cq-card .q { font-size: 34px; font-weight: 700; letter-spacing: .08em; line-height: 1.25; word-break: keep-all; overflow-wrap: anywhere; color: var(--ink); }
.cq-card .h { font-size: 14px; color: var(--ink-2); }
.cq-card .a { font-size: 17px; font-weight: 600; color: var(--blue); }
.cq-card button { justify-self: start; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; color: var(--ink-2); cursor: pointer; }
#cq-out .bar .seg { width: 330px; }
#cq-out .bar .seg button { font-size: 14px; }
/* 화면 모드: 카드 하나를 크게 */
.cq-stage { display: grid; place-content: center; gap: 12px; min-height: 360px; padding: 32px 20px; border-radius: 12px; background: var(--fill); text-align: center; touch-action: manipulation; }
.cq-stage small { font-size: 15px; color: var(--ink-3); }
.cq-stage .q { font-size: clamp(48px, 12vw, 120px); font-weight: 800; letter-spacing: .1em; line-height: 1.15; word-break: keep-all; overflow-wrap: anywhere; }
.cq-stage .h { font-size: 18px; color: var(--ink-2); }
.cq-stage .a { min-height: 1.4em; font-size: clamp(24px, 5vw, 40px); font-weight: 700; color: var(--blue); }
.cq-nav { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; margin-top: 12px; }
.cq-nav .btn { margin: 0; height: 52px; }
.cq-stage:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 720px) { #cq-out .bar .seg { width: 100%; } .cq-cards { grid-template-columns: 1fr 1fr; gap: 8px; } .cq-card { min-height: 120px; padding: 14px 12px; } .cq-card .q { font-size: 26px; } .cq-stage { min-height: 280px; } }
