/* 글자 쌓기 전용 스타일(공통 틀은 style.css) */
.qcard { background: #fff; border-radius: 16px; padding: 14px 16px 16px; 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: 28px; font-weight: 800; line-height: 1.35; word-break: keep-all; padding: 6px 0; }
.qnote { font-size: 13px; color: #5a6b55; }
.home .logo h1 { font-size: 1.8rem; 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; }
.solvedbox { text-align: center; padding: 8px 0; }
/* 낱말 탑: 위가 최근 낱말, 벽돌 너비가 글자 수를 나타낸다 */
.tower { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 6px 0 14px; }
.brick { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 12px; border-radius: 10px; background: #e6f1dc; border: 2px solid #c6dcb6; min-width: 120px; max-width: 100%; }
.brick b { font-size: 17px; word-break: keep-all; }
.brick small { font-size: 11px; color: #5a6b55; white-space: nowrap; }
.brick.mine { background: #d9efc4; border-color: #7bc96a; }
.brick.newest { animation: drop .25s ease-out; }
@keyframes drop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.near { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 8px 0; }
.chip2 { background: #fff; border: 2px solid #cfe3c6; border-radius: 999px; padding: 4px 10px; font-size: 14px; }
