/* 퀴즈게임 전용 스타일(공통 틀은 style.css) */
.cats { flex-wrap: wrap; }
.cats .lvl { flex: 1 1 45%; }
.qcard { background: #fff; border-radius: 16px; padding: 14px 16px 18px; margin: 10px 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); text-align: center; }
.qhead { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #5a6b55; margin-bottom: 8px; }
.qtime { font-weight: 700; font-variant-numeric: tabular-nums; }
.qtext { font-size: 22px; font-weight: 700; line-height: 1.4; word-break: keep-all; padding: 8px 0; }
.qtext.cho { font-size: 40px; letter-spacing: .12em; }
.qtext.blank { font-size: 30px; letter-spacing: .06em; line-height: 1.5; }
.qtext.emoji { font-size: 48px; letter-spacing: .08em; }
.qnote { font-size: 13px; color: #5a6b55; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.choice { padding: 16px 8px; font-size: 17px; font-weight: 600; border-radius: 14px; border: 2px solid #cfe3c6; background: #fff; cursor: pointer; word-break: keep-all; }
.choice:active:not(:disabled) { background: #eaf6e4; }
.choice:disabled { opacity: .45; }
/* 긴 제목이 폰에서 잘리지 않게 크기를 줄이고 낱말 단위로 줄바꿈한다 */
.home .logo h1 { font-size: 1.55rem; line-height: 1.25; word-break: keep-all; }
.sitebar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 6px; }
.sitelink { font: inherit; font-size: 14px; font-weight: 700; color: #2d2a3e; background: #fff; border: 2px solid #cfe3c6; border-radius: 999px; padding: 6px 12px; text-decoration: none; cursor: pointer; }
.sitelink:active { background: #eaf6e4; }
a.roomitem { display: block; text-decoration: none; color: inherit; }
a.roomitem b, a.roomitem small, .roomitem.here b, .roomitem.here small { display: block; }
a.roomitem small, .roomitem.here small { margin-top: 2px; }
.roomitem.here { opacity: .6; }
.roomitem.fixed { border: 2px solid #7bc96a; background: #f3fbef; }
.qcard.myturn { outline: 3px solid #7bc96a; }
.stats .out { text-decoration: line-through; opacity: .55; }
.feedrow { font-size: 14px; padding: 4px 2px; color: #555; }
.solvedbox { text-align: center; padding: 8px 0; }
@media (max-width: 380px) { .qtext.cho { font-size: 32px; } .qtext.emoji { font-size: 40px; } }

/* 한 글자 퀴즈: 글자 칸 */
.letters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px 0 6px; }
.lbox { width: 58px; height: 66px; display: inline-flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; background: #fff; border: 3px solid #2d2a3e; border-radius: 14px; box-shadow: 0 3px 0 #2d2a3e; animation: lpop .28s ease-out; }
.lbox.hidden { background: #eef3ea; border-color: #c4d3bc; color: #b2c2aa; box-shadow: none; animation: none; }
@keyframes lpop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 380px) { .lbox { width: 50px; height: 58px; font-size: 30px; } }
.home .logo h1 { font-size: 1.55rem; line-height: 1.25; word-break: keep-all; }