/* 히든 낱말: base.css(낱말사냥과 같은 색·버튼·카드) 위에 덧붙이는 모양 */
/* 같이 하기 방 */
.gamebtns { display: flex; gap: 6px; }
.gamebar h1 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chatbtn { position: relative; }
.chatbtn .badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: .7rem; font-style: normal; line-height: 18px; }
#room section { margin-top: 16px; }
#room h2, .modal h3 { font-size: 1rem; margin: 0 0 8px; }
#room h3 { font-size: .9rem; color: var(--muted); margin: 10px 0 6px; }
.row2.tight { margin: 0; }
.levels.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.levels.two .lvl { min-height: 48px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-weight: 800; font-size: .9rem; cursor: pointer; padding: 4px; }
.levels.two .lvl.on { background: var(--accent); }
.levels.two .lvl:disabled { cursor: default; }
.levels.two .lvl:disabled:not(.on) { opacity: .45; }
.members { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.member { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px; background: #fff; border: 2px solid var(--line); border-radius: 12px; }
.member > span:first-child { flex: 1; min-width: 0; font-weight: 800; overflow-wrap: anywhere; }
.member.me { background: #fff3c4; }
.member.off > span:first-child { opacity: .55; }
.mact { display: flex; gap: 4px; }
.mact .btn.small { min-height: 34px; font-size: .75rem; padding: 2px 8px; box-shadow: none; }
.stack { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.turnline { text-align: center; font-weight: 800; font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.tclock { font-style: normal; font-variant-numeric: tabular-nums; font-size: 1.15rem; }
.tclock.low { color: #ff8a80; }
.secret.open .tclock.low { color: var(--red-d); }
.choices { display: flex; flex-direction: column; gap: 8px; }
.reveal ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.reveal > p { text-align: center; font-weight: 800; background: #fff3c4; border: 2px solid var(--ink); border-radius: 12px; padding: 10px; margin-top: 12px; }
.rrow { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px; background: #fff; border: 2px solid var(--line); border-radius: 12px; }
.rrow span, .rrow b { overflow-wrap: anywhere; }
.rrow em { font-style: normal; font-weight: 800; font-size: .85rem; text-align: right; }
.rrow.ok { background: #dcf3cc; border-color: var(--ink); }
.chatlist { list-style: none; margin: 0 0 10px; padding: 0; height: 36dvh; overflow-y: auto; }
.chatlist li { padding: 4px 0; overflow-wrap: anywhere; }
.chatlist li.me b { color: var(--blue-d); }
#chatForm { margin-bottom: 10px; }
.join input { min-width: 0; flex: 1; min-height: 48px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; }

.gamebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; }
.gamebar h1 { font-size: 1.15rem; text-align: center; }
.gamebar small { color: var(--muted); font-size: .85rem; }
.secret { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 14px 10px; margin-bottom: 14px; text-align: center; }
.secret small { font-weight: 700; opacity: .8; }
.secret b { font-size: 2rem; letter-spacing: 2px; overflow-wrap: anywhere; }
.secret span { font-size: .9rem; font-weight: 700; opacity: .85; }
.secret.open { background: #fff3c4; color: var(--ink); border: 3px solid var(--ink); }
.guessform { display: flex; gap: 8px; }
.guessform input { flex: 1; min-width: 0; min-height: 52px; border: 2px solid var(--ink); border-radius: 14px; padding: 0 14px; font-size: 1.05rem; background: #fff; }
.guessform .btn { flex: 0 0 auto; white-space: nowrap; padding-inline: 12px; }
.last { min-height: 1.5em; margin: 8px 0; text-align: center; font-weight: 800; }
.hintbtn { background: #ffe9a8; }
#lists section { margin-top: 18px; }
#lists h2 { font-size: 1rem; margin-bottom: 8px; }
#lists h3 { font-size: .9rem; color: var(--muted); margin: 12px 0 6px; }
.scores { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.score { position: relative; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 14px; background: #fff; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
.score i { position: absolute; inset: 0 auto 0 0; background: #dfeeff; }
.score.mild i { background: #dcf3cc; }
.score.warm i { background: #ffe9a8; }
.score.hot i { background: #ffd0c9; }
.score em, .score span, .score b { position: relative; }
.score em { font-style: normal; font-size: .75rem; font-weight: 800; color: var(--muted); min-width: 1.4em; }
.score span { flex: 1; min-width: 0; font-weight: 800; font-size: 1.08rem; overflow-wrap: anywhere; }
.score b { font-variant-numeric: tabular-nums; }
.score.new { border-color: var(--ink); }
.score.closed { opacity: .6; }
#foot { margin-top: 16px; }
[hidden] { display: none !important; }
