/* EtherXync 라운지 · 숲속 북카페 */
.lg [hidden] { display: none !important; }
html, body.lounge-page { height: 100%; overflow: hidden; overscroll-behavior: none; }
body.lounge-page { margin: 0; background: #1d1a16; color: #f6efe2; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.lg { position: fixed; inset: 0; font-family: var(--f-sans, system-ui, sans-serif); --glass: rgba(28, 24, 20, .62); --line: rgba(255, 244, 225, .14); --acc: #9fe3d0; --warm: #f2c27b; }
.lg-stage { position: absolute; inset: 0; }
.lg-stage canvas { display: block; width: 100%; height: 100%; }

/* 이름표·하는 일 */
.lg-tag, .lg-doing { position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap; will-change: transform; transition: opacity .2s; }
.lg-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 7px; border-radius: 999px; background: rgba(250, 246, 236, .92); color: #3a3128; font-size: 12px; font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.lg-tag-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--acc); box-shadow: inset 0 0 0 3px #fff; }
.lg-doing { margin-top: -6px; padding: 3px 9px; border-radius: 999px; background: rgba(28, 24, 20, .7); color: #fbe9c8; font-size: 11.5px; font-weight: 600; }

/* 위 */
.lg-hud { position: absolute; inset: 0; pointer-events: none; }
.lg-hud > * { pointer-events: auto; }
.lg-top { position: absolute; top: calc(10px + env(safe-area-inset-top)); left: 10px; right: 10px; display: flex; align-items: center; gap: 8px; }
.lg-ibtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); color: #f6efe2; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); flex: none; }
.lg-ibtn svg { width: 20px; height: 20px; }
.lg-ibtn[aria-pressed="true"] { background: rgba(242, 194, 123, .9); color: #2b2117; border-color: transparent; }
.lg-room { display: grid; gap: 1px; padding: 6px 12px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); min-width: 0; }
.lg-room b { font-size: 13.5px; }
.lg-room span { font-size: 11.5px; color: #d6cbb8; white-space: nowrap; }
.lg-tools { margin-left: auto; display: flex; gap: 6px; }
.lg-hint { position: absolute; top: calc(64px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); margin: 0; padding: 5px 12px; border-radius: 999px; background: rgba(28,24,20,.45); color: #e9dfcd; font-size: 11.5px; white-space: nowrap; pointer-events: none; animation: lg-fade 1s 9s forwards; }
@keyframes lg-fade { to { opacity: 0; } }
.lg-status { position: absolute; top: calc(100px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lg-status button { border: 0; border-radius: 999px; padding: 6px 12px; background: rgba(255,255,255,.12); color: inherit; font: inherit; font-weight: 700; cursor: pointer; }

/* 아래 막대 */
.lg-bar { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lg-act { display: grid; justify-items: center; gap: 3px; min-width: 76px; padding: 8px 10px 7px; border: 0; border-radius: 16px; background: transparent; color: #f6efe2; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.lg-act:hover { background: rgba(255,255,255,.08); }
.lg-act:active { transform: scale(.96); }
.lg-act.is-on { background: rgba(159, 227, 208, .18); color: var(--acc); }
.lg-ico svg { width: 24px; height: 24px; display: block; }
.lg-guest { position: absolute; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 7px 12px; border-radius: 12px; background: rgba(28,24,20,.55); font-size: 12px; color: #e9dfcd; text-align: center; }
.lg-guest a { color: var(--warm); font-weight: 700; }

/* 토스트 */
.lg-toasts { position: absolute; left: 50%; top: calc(140px + env(safe-area-inset-top)); transform: translateX(-50%); display: grid; gap: 6px; justify-items: center; pointer-events: none; width: calc(100% - 32px); }
.lg-toast { padding: 8px 14px; border-radius: 999px; background: rgba(250, 246, 236, .94); color: #3a3128; font-size: 13px; font-weight: 650; box-shadow: 0 6px 22px rgba(0,0,0,.2); animation: lg-in .35s cubic-bezier(.2,.8,.2,1); transition: opacity .5s, transform .5s; text-align: center; }
.lg-toast.is-out { opacity: 0; transform: translateY(-6px); }
@keyframes lg-in { from { opacity: 0; transform: translateY(8px) scale(.96); } }

/* 아래에서 올라오는 칸 */
.lg-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 62%; display: flex; flex-direction: column; border-radius: 22px 22px 0 0; background: rgba(32, 28, 24, .94); border-top: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom); z-index: 5; }
.lg-sheet.is-open { transform: none; }
@media (min-width: 760px) { .lg-sheet { left: auto; right: 16px; bottom: 16px; width: 380px; max-height: calc(100% - 120px); border-radius: 22px; border: 1px solid var(--line); } }
.lg-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 6px 18px; }
.lg-sheet-head h2 { margin: 0; font-size: 16px; }
.lg-sheet-body { overflow-y: auto; padding: 4px 14px 16px; -webkit-user-select: text; user-select: text; }
.lg-note { margin: 8px 4px; font-size: 12.5px; color: #cfc3ae; line-height: 1.6; }
.lg-card { display: grid; gap: 3px; padding: 14px 16px; margin: 6px 0; border-radius: 16px; background: rgba(255,255,255,.06); color: inherit; text-decoration: none; border: 1px solid var(--line); }
.lg-card.is-main { background: linear-gradient(140deg, rgba(242,194,123,.22), rgba(255,255,255,.04)); }
.lg-card-k { font-size: 11.5px; color: var(--warm); font-weight: 700; }
.lg-card b { font-size: 15px; }
.lg-card span { font-size: 12.5px; color: #cfc3ae; }
.lg-list { display: grid; gap: 2px; margin-top: 6px; }
.lg-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 10px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.lg-row:hover { background: rgba(255,255,255,.06); }
.lg-row b { font-size: 14px; font-weight: 650; }
.lg-row span { font-size: 12px; color: #bfb39e; white-space: nowrap; }
.lg-player { margin: 4px 0 10px; padding: 12px 14px; border-radius: 16px; background: rgba(159, 227, 208, .1); border: 1px solid rgba(159, 227, 208, .25); }
.lg-pl-t { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.lg-pl-t span { color: #cfc3ae; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lg-player input[type=range] { width: 100%; margin: 10px 0 6px; accent-color: var(--acc); }
.lg-pl-ctl { display: flex; justify-content: center; align-items: center; gap: 8px; }
.lg-pl-ctl button { min-width: 44px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.06); color: inherit; font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer; }
.lg-pl-ctl .lg-pl-play { width: 52px; height: 44px; border-radius: 16px; background: var(--acc); color: #10261f; font-size: 15px; border: 0; }

/* 캐릭터 만들기 */
.lg-creator { position: absolute; inset: 0; z-index: 8; display: grid; grid-template-rows: auto minmax(200px, 1fr) auto; background:
  radial-gradient(120% 70% at 50% 35%, #3b4a37 0%, #22281f 55%, #17140f 100%); transition: opacity .6s, transform .6s; }
.lg-creator.is-out { opacity: 0; transform: scale(1.03); pointer-events: none; }
.lg-cr-top { padding: calc(22px + env(safe-area-inset-top)) 20px 0; text-align: center; }
.lg-cr-k { margin: 0; font-size: 11.5px; letter-spacing: .14em; color: var(--acc); font-weight: 700; }
.lg-cr-top h1 { margin: 8px 0 0; font-family: var(--f-display, serif); font-weight: 600; font-size: clamp(22px, 5.6vw, 30px); line-height: 1.3; }
.lg-cr-preview { position: relative; min-height: 0; }
.lg-cr-preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lg-cr-panel { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: rgba(250, 246, 236, .97); color: #3a3128; max-height: 52vh; overflow-y: auto; }
@media (min-width: 900px) {
  .lg-creator { grid-template-columns: 1fr 420px; grid-template-rows: auto 1fr; }
  .lg-cr-top { grid-column: 1; }
  .lg-cr-preview { grid-column: 1; grid-row: 2; }
  .lg-cr-panel { grid-column: 2; grid-row: 1 / span 2; border-radius: 0; max-height: none; padding-top: 28px; }
}
.lg-cr-name label { font-size: 12px; font-weight: 700; color: #7a6b58; }
.lg-cr-namebox { display: flex; gap: 8px; margin-top: 5px; }
.lg-cr-namebox input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid #ddd0b8; background: #fff; color: #3a3128; font: inherit; font-size: 16px; font-weight: 650; }
.lg-cr-namebox .lg-ibtn { width: 44px; height: 44px; background: #efe5d2; color: #5b4a37; border-color: #e1d4bc; backdrop-filter: none; }
.lg-opt { margin-top: 12px; }
.lg-opt p { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: #7a6b58; }
.lg-row-sw, .lg-row-ch { display: flex; flex-wrap: wrap; gap: 7px; }
.lg-row-ch + .lg-row-sw { margin-top: 8px; }
.lg-sw { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px #d8cbb3; cursor: pointer; padding: 0; }
.lg-sw[aria-pressed="true"] { box-shadow: 0 0 0 3px #3a3128; }
.lg-chip { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid #ddd0b8; background: #fff; color: #4a3d30; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.lg-chip[aria-pressed="true"] { background: #3a3128; color: #fbf3e4; border-color: #3a3128; }
.lg-cr-go { display: flex; gap: 8px; margin-top: 16px; position: sticky; bottom: 0; padding-top: 8px; background: linear-gradient(transparent, rgba(250,246,236,.97) 30%); }
.lg-cr-go .btn { min-height: 48px; }
.lg-cr-go .btn-xync { flex: 1; }
.lg-cr-go .btn-ghost { color: #4a3d30; border-color: #ddd0b8; }

/* 들어갈 때 */
.lg-loading { position: absolute; inset: 0; z-index: 9; display: grid; place-content: center; justify-items: center; gap: 14px; background: #17140f; color: #f2e6cf; transition: opacity .7s; }
.lg-loading.is-out { opacity: 0; }
.lg-loading p { margin: 0; font-size: 14px; letter-spacing: .04em; }
.lg-lamp { width: 18px; height: 18px; border-radius: 50%; background: #ffd9a0; box-shadow: 0 0 30px 12px rgba(255, 196, 120, .45); animation: lg-glow 1.2s ease-in-out infinite alternate; }
@keyframes lg-glow { from { opacity: .4; transform: scale(.85); } to { opacity: 1; transform: scale(1.1); } }
.lg-nojs { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; }

@media (max-width: 420px) {
  .lg-act { min-width: 64px; padding: 8px 6px 7px; }
  .lg-room span { font-size: 11px; }
  .lg-tools { gap: 4px; }
  .lg-ibtn { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .lg-toast, .lg-sheet, .lg-creator { transition: none; animation: none; } }

/* 방 고르기 */
button.lg-room { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.lg-room b { display: inline-flex; align-items: center; gap: 2px; }
.lg-caret { width: 16px; height: 16px; opacity: .8; }
.lg-roommenu { position: absolute; top: calc(58px + env(safe-area-inset-top)); left: 58px; display: grid; gap: 2px; padding: 6px; border-radius: 18px; background: rgba(32, 28, 24, .96); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0,0,0,.35); z-index: 6; min-width: 230px; }
.lg-roommenu button { display: grid; gap: 2px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lg-roommenu button:hover { background: rgba(255,255,255,.06); }
.lg-roommenu button[aria-current="true"] { background: rgba(159, 227, 208, .14); }
.lg-roommenu button[aria-current="true"] b { color: var(--acc); }
.lg-roommenu b { font-size: 14px; }
.lg-roommenu span { font-size: 12px; color: #cfc3ae; }

/* 음악 감상실 */
.lg-player.is-radio { display: grid; gap: 4px; text-align: center; background: linear-gradient(150deg, rgba(242,194,123,.18), rgba(159,227,208,.08)); border-color: rgba(242,194,123,.3); }
.lg-player.is-radio .lg-pl-t { justify-content: center; }
.lg-rt { font-size: 15px; }
.lg-rs { font-size: 12px; color: #cfc3ae; font-variant-numeric: tabular-nums; }
.lg-player.is-radio .lg-pl-ctl { margin-top: 6px; }
.lg-row.is-cur b { color: var(--warm); }
.lg-row.is-cur b::before { content: "♪ "; }
.lg-credit { margin: 12px 4px 0; font-size: 12px; color: #bfb39e; }
.lg-credit summary { cursor: pointer; font-weight: 650; color: #d6cbb8; }
.lg-credit ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; line-height: 1.5; }

/* 오락실 */
.lg-card.is-main[style*="--gc"] { background: linear-gradient(140deg, color-mix(in srgb, var(--gc) 30%, transparent), rgba(255,255,255,.04)); }
.lg-card.is-main[style*="--gc"] .lg-card-k { color: var(--gc); }
.lg-wide { width: 100%; min-height: 48px; margin-top: 6px; }

/* ===== 2단계: 내 방 · 이웃 방 · 안내 캐릭터 ===== */
.lg-tag.is-npc { background: rgba(38, 49, 110, .9); color: #e9f6ff; }
.lg-tag.is-npc .lg-tag-dot { background: #53c8f5; }
.lg-tag.is-owner { background: rgba(255, 244, 225, .96); }
.lg-tag.is-owner .lg-tag-dot { background: var(--warm); }
.lg-guide { position: relative; padding-left: 58px; }
.lg-guide::before { content: ""; position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 50% 62%, #f6ead6 0 34%, transparent 35%), #26316e; box-shadow: 0 0 0 2px rgba(255,255,255,.2); }
.lg-guide.is-xync::before { background: radial-gradient(circle at 50% 62%, #f8ecdc 0 34%, transparent 35%), #a78bdb; }
.lg-guide b { font-size: 14px; line-height: 1.55; font-weight: 600; }
.lg-h3 { margin: 14px 4px 4px; font-size: 13px; color: var(--warm); display: flex; gap: 6px; align-items: baseline; }
.lg-h3 span { color: #bfb39e; font-weight: 500; font-size: 12px; }
.lg-row2 { align-items: center; padding: 4px 4px 4px 0; }
.lg-row2 > a, .lg-row2 > .lg-linkbtn, .lg-row2 > span { flex: 1; min-width: 0; display: grid; gap: 2px; padding: 7px 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.lg-row2 > a:hover, .lg-linkbtn:hover { background: rgba(255,255,255,.06); }
.lg-row2 b, .lg-row2 span span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-linkbtn { border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.lg-dotc { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--gc, var(--acc)); vertical-align: 1px; }
.lg-keep { flex: none; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #e9dfcd; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.lg-keep.is-on { background: rgba(242, 194, 123, .2); color: var(--warm); border-color: rgba(242, 194, 123, .45); }
.lg-pl-text { display: block; margin: 0 0 8px; font-size: 12.5px; color: var(--acc); text-decoration: none; font-weight: 650; }
.lg-form { display: grid; gap: 8px; margin: 8px 0; }
.lg-form textarea, .lg-form input, .lg-form select { width: 100%; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.07); color: inherit; font: inherit; font-size: 15px; padding: 10px 12px; }
.lg-form textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.lg-form select { font-size: 13px; padding: 8px 10px; }
.lg-form select option { color: #222; }
.lg-form-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.lg-form-row .btn { min-height: 40px; padding: 0 16px; flex: none; }
.lg-form-row .lg-note { margin: 0; }
.lg-search { grid-template-columns: 1fr auto; }
.lg-lab { display: grid; gap: 5px; font-size: 12.5px; color: #cfc3ae; font-weight: 650; }
.lg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.lg-sheet .lg-chip { background: rgba(255,255,255,.07); color: #efe5d2; border-color: var(--line); }
.lg-sheet .lg-chip[aria-pressed="true"] { background: var(--warm); color: #2b2117; border-color: transparent; }
.lg-tgl { display: flex; gap: 10px; align-items: flex-start; padding: 10px 8px; border-radius: 12px; cursor: pointer; }
.lg-tgl:hover { background: rgba(255,255,255,.04); }
.lg-tgl input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--acc); flex: none; }
.lg-tgl span { display: grid; gap: 3px; }
.lg-tgl b { font-size: 14px; }
.lg-tgl i { font-style: normal; font-size: 12px; color: #bfb39e; line-height: 1.5; }
.lg-memo, .lg-gb { position: relative; margin: 8px 0; padding: 12px 14px 10px; border-radius: 4px 14px 14px 14px; background: #fff3b8; color: #3a3128; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.lg-memo:nth-child(3n+2) { background: #ffd8e0; } .lg-memo:nth-child(3n+3) { background: #d6f2e0; }
.lg-memo p, .lg-gb p { margin: 0 0 6px; font-size: 14px; line-height: 1.6; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.lg-memo span, .lg-gb span { font-size: 11.5px; color: #7a6b58; }
.lg-memo button, .lg-gb-act button { border: 0; background: transparent; color: #8a5a3b; font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; padding: 2px 4px; }
.lg-memo button { position: absolute; right: 8px; bottom: 6px; }
.lg-gb { background: #fbf6ee; border-radius: 14px; }
.lg-gb b { display: block; font-size: 12.5px; color: #8a5a3b; margin-bottom: 3px; }
.lg-gb-act { position: absolute; right: 8px; bottom: 6px; display: flex; gap: 2px; }
.lg-tabs { display: flex; gap: 4px; margin: 0 0 8px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.06); }
.lg-tabs button { flex: 1; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #cfc3ae; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.lg-tabs button[aria-selected="true"] { background: rgba(250, 246, 236, .95); color: #3a3128; }
.lg-op { display: inline-block; padding: 1px 8px; margin-right: 4px; border-radius: 999px; background: #f2c27b; color: #2b2117; font-size: 11px; font-weight: 800; }
.lg-room-list-k { color: var(--warm); }
/* 캐릭터 만들기 v2 */
.lg-cr-presets { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.lg-cr-presets .lg-chip { flex: none; }
.lg-chip.is-preset { background: #f4e9d8; }
.lg-cr-tabs { display: flex; gap: 4px; margin: 10px 0 2px; padding: 3px; border-radius: 12px; background: #efe5d2; }
.lg-cr-tabs button { flex: 1; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #7a6b58; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.lg-cr-tabs button[aria-selected="true"] { background: #fff; color: #3a3128; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.lg-cr-preview { cursor: pointer; }
/* 3D 없이 보는 목록 */
.lg-fb { position: absolute; inset: 0; overflow-y: auto; padding: calc(18px + env(safe-area-inset-top)) 16px 40px; background: #1d1a16; -webkit-user-select: text; user-select: text; }
.lg-fb-in { max-width: 620px; margin: 0 auto; }
.lg-fb h1 { margin: 6px 0 4px; font-size: 22px; }
.lg-fb h2 { margin: 22px 4px 4px; font-size: 15px; color: var(--warm); }
.lg-fb-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lg-fb-top a { color: var(--acc); font-size: 13px; font-weight: 700; text-decoration: none; }
.lg-hint-a { pointer-events: auto; color: var(--warm); font-weight: 700; text-decoration: none; }
@media (max-width: 560px) { .lg-hint { white-space: normal; width: max-content; max-width: calc(100% - 40px); text-align: center; } }
/* 글자색: 어떤 테마에서도 밝은 글자 */
.lg, .lg-sheet, .lg-roommenu, .lg-bar, .lg-status { color: #f6efe2; }
.lg-sheet a, .lg-sheet button, .lg-sheet b, .lg-roommenu b { color: inherit; }
.lg-row b, .lg-card b, .lg-roommenu b { color: #fbf3e4; }
.lg-row span, .lg-card span { color: #cfc3ae; }
.lg-memo, .lg-memo b, .lg-gb, .lg-gb b { color: #3a3128; }
.lg-gb b { color: #8a5a3b; }
.lg-quote { margin: 8px 0; padding: 16px 18px; border-radius: 14px; background: #fbf6ee; color: #3a3128; border-left: 5px solid var(--warm); }
.lg-quote p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.7; font-weight: 600; word-break: keep-all; }
.lg-quote span { font-size: 12px; color: #7a6b58; }
.lg-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 8px 0 10px; }
.lg-stats div { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.lg-stats span { font-size: 18px; } .lg-stats b { font-size: 18px; color: #fbf3e4; } .lg-stats i { font-style: normal; font-size: 11px; color: #bfb39e; white-space: nowrap; }
/* 가구 위 표시 */
.lg-spot { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 0; padding: 3px; border: 0; border-radius: 999px; background: rgba(250, 246, 236, .94); color: #3a3128; font: inherit; cursor: pointer; white-space: nowrap; will-change: transform; transition: opacity .25s, padding .25s, box-shadow .25s; box-shadow: 0 4px 14px rgba(30, 20, 10, .22); --tone: #f2c27b; }
.lg-spot::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.lg-spot i { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tone); font-style: normal; font-size: 16px; line-height: 1; }
.lg-spot-t { position: relative; z-index: 1; display: grid; text-align: left; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .35s cubic-bezier(.2,.8,.2,1), opacity .25s, margin .25s; }
.lg-spot b { font-size: 12.5px; font-weight: 800; color: #3a3128; }
.lg-spot em { font-style: normal; font-size: 11px; color: #7a6b58; font-weight: 600; }
.lg-spot:hover .lg-spot-t, .lg-spot.is-near .lg-spot-t, .lg-spot:focus-visible .lg-spot-t { max-width: 190px; opacity: 1; margin: 0 10px 0 7px; }
.lg-spot.is-near { box-shadow: 0 0 0 3px rgba(255,255,255,.55), 0 6px 18px rgba(30, 20, 10, .28); }
.lg-spot.is-near i { animation: lg-spot-pop .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes lg-spot-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.lg-spot.is-live i { animation: lg-spot-beat .9s ease-in-out infinite; }
.lg-spot.is-live em { color: #2f7d5f; }
@keyframes lg-spot-beat { 50% { transform: scale(1.14); } }
.lg-spot.is-done em { color: #2f7d5f; }
.lg-spot.is-book { --tone: #f6d38e; } .lg-spot.is-music { --tone: #c9b8f2; } .lg-spot.is-game { --tone: #8fe3cf; }
.lg-spot.is-desk { --tone: #ffc4b0; } .lg-spot.is-soft { --tone: #ffd8e0; } .lg-spot.is-out { --tone: #cfe1ff; } .lg-spot.is-gold { --tone: #ffe58a; } .lg-spot.is-green { --tone: #c8f0d8; }
@media (hover: none) { .lg-spot i { width: 28px; height: 28px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .lg-spot, .lg-spot-t, .lg-spot i { transition: none; animation: none !important; } }
.lg-cr-namebox input.is-nick { background: #f4ecdd; color: #5a4634; }
.lg-cr-nick { flex: none; align-self: center; font-size: 12.5px; font-weight: 700; color: #8a5a3b; text-decoration: none; padding: 0 6px; }
/* 오늘의 할 일 */
.lg-daily { position: absolute; top: calc(60px + env(safe-area-inset-top)); left: 10px; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); color: #f6efe2; font: inherit; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.lg-daily i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(242, 194, 123, .9); font-style: normal; font-size: 15px; }
.lg-daily span { display: grid; text-align: left; }
.lg-daily b { font-size: 12px; } .lg-daily em { font-style: normal; font-size: 11px; color: #d6cbb8; }
.lg-daily s { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p); background: var(--warm); transition: width .5s; }
.lg-daily.is-done i { background: #ffd8e0; } .lg-daily.is-done em { color: #ffd8e0; }
.lg-quest.is-done b { color: #9fe3d0; } .lg-quest.is-done span { color: #9fe3d0; }
.lg-stamps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 6px 0; }
.lg-stamps span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 2px dashed rgba(255,255,255,.25); color: #8f8473; font-size: 13px; font-weight: 700; }
.lg-stamps span.is-on { border: 0; background: rgba(255, 216, 224, .18); font-size: 20px; transform: rotate(-8deg); }
.lg-chip.is-lock { opacity: .7; }
/* 포즈 */
.lg-poses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0; }
.lg-poses button { display: grid; justify-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #f6efe2; font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer; }
.lg-poses button:hover { background: rgba(255,255,255,.12); }
.lg-poses i { font-style: normal; font-size: 26px; }
/* 안내 캐릭터 말풍선 */
.lg-bubble { position: absolute; left: 0; top: 0; max-width: 200px; padding: 7px 11px; border-radius: 14px; background: #fff; color: #3a3128; font-size: 12.5px; font-weight: 650; line-height: 1.45; box-shadow: 0 6px 18px rgba(0,0,0,.18); pointer-events: none; opacity: 0; transition: opacity .3s; white-space: normal; width: max-content; }
.lg-bubble::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.lg-bubble.is-on { opacity: 1; }
@media (max-width: 420px) { .lg-daily { top: calc(56px + env(safe-area-inset-top)); padding-right: 8px; } .lg-daily em { display: none; } }
