/* 이모지 대화와 신고 창 (room-social-20261120). 색은 색상 모드 변수만 쓴다. 테두리는 dialog 공통 규칙을 따른다. */
.emote-open{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:4px 12px 4px 6px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--ink);font:inherit;font-size:.8rem;font-weight:800;cursor:pointer;white-space:nowrap}
.emote-open:hover{border-color:var(--accent)}
.emote-open .emote-art{width:26px;height:26px;font-size:1.05rem}
.emote-art{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;font-size:1.6rem;line-height:1}
.emote-art img{width:100%;height:100%;object-fit:contain}

dialog.emote-tray{position:fixed;inset:auto;top:120px;right:12px;margin:0;width:min(320px,calc(100vw - 24px));box-sizing:border-box;padding:14px;z-index:70;color:var(--ink)}
.emote-tray-title{margin:0 0 10px;font-weight:800;font-size:.86rem;color:var(--muted)}
.emote-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.emote-grid button{display:grid;justify-items:center;gap:4px;padding:10px 4px 8px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}
.emote-grid button:hover,.emote-grid button:focus-visible{border-color:var(--accent);background:var(--mode-accent-soft,#ffc92826);outline:none}
.emote-grid .emote-art{width:48px;height:48px;font-size:2rem}
.emote-report{display:block;margin:10px 0 0 auto;font-size:.78rem}

.emote-bubbles{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 132px);transform:translateX(-50%);z-index:65;display:grid;gap:6px;justify-items:center;pointer-events:none;width:max-content;max-width:calc(100vw - 32px)}
.emote-bubble{display:flex;align-items:center;gap:8px;padding:6px 14px 6px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--ink);box-shadow:0 6px 18px var(--mode-shade,#0006);font-size:.84rem;animation:emote-in .25s ease-out;transition:opacity .45s,transform .45s}
.emote-bubble.mine{border-color:var(--accent)}
.emote-bubble b{margin-right:6px}
.emote-bubble .emote-art{width:34px;height:34px;font-size:1.4rem}
.emote-bubble.leaving{opacity:0;transform:translateY(-8px)}
@keyframes emote-in{from{opacity:0;transform:translateY(8px) scale(.9)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.emote-bubble{animation:none;transition:none}}

dialog.report-dialog{width:min(440px,calc(100vw - 24px));box-sizing:border-box;padding:24px;color:var(--ink)}
.report-dialog > .close{position:absolute;top:10px;right:10px}
.report-form{display:grid;gap:12px;margin-top:10px}
.report-form label{color:var(--muted);font-size:.82rem;font-weight:700}
.report-form select,.report-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:3px;padding:8px 10px;background:var(--page);border:1px solid var(--border);border-radius:7px;color:var(--ink);font:inherit}
.report-reasons{display:grid;gap:6px;margin:0;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
.report-reasons legend{padding:0 6px;color:var(--ink);font-weight:800;font-size:.84rem}
.report-reasons label{display:flex;align-items:center;gap:8px;color:var(--ink);font-weight:600;cursor:pointer}
.report-form .report-reasons input{display:inline-block;flex:none;width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:var(--accent)}
.report-reasons label span{flex:1;text-align:left}
.report-note{margin:0;color:var(--muted);font-size:.76rem}
.report-actions{display:flex;justify-content:flex-end;gap:8px}
.room-row-report{grid-column:1;justify-self:start;padding:2px 0;font-size:.74rem}

/* profile-emoji-20261124: 이모지는 글자 없이, 보낸 이모지는 큰 그림 + 닉네임, 프로필 메뉴 머리 */
.emote-grid button{padding:10px 4px}
.emote-grid .emote-art{width:52px;height:52px;font-size:2.2rem}
.emote-bubble.emote-big{flex-direction:column;align-items:center;gap:2px;padding:8px 16px 7px;border-radius:18px}
.emote-bubble.emote-big .emote-art{width:72px;height:72px;font-size:3.3rem}
.emote-bubble.emote-big .emote-name{margin:0;font-size:.82rem;font-weight:800;max-width:10em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-people>summary .room-avatar-stack>.room-avatar{cursor:pointer}
.player-menu-head{display:flex;align-items:center;gap:8px;color:var(--ink)}
.player-menu-head .room-avatar{width:32px;height:32px;flex:none}
.player-menu-head b{font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* [15] 연결이 끊긴 참가자 */
.room-avatar.is-away{filter:grayscale(1);opacity:.5}
.room-avatar.is-away img{filter:grayscale(1)}
/* [18] 대화 시간 이입 안내 */
dialog.talk-immerse{position:fixed;inset:auto;left:0;right:0;top:calc(env(safe-area-inset-top,0px) + 110px);margin:0 auto;width:min(400px,calc(100vw - 32px));box-sizing:border-box;padding:18px 20px;z-index:66;color:var(--ink);text-align:center;animation:emote-in .3s ease-out}
dialog.talk-immerse h3{margin:4px 0 8px;font-size:1.05rem}
dialog.talk-immerse p:not(.eyebrow){margin:0 0 12px;font-size:.88rem;line-height:1.55;color:var(--muted)}
dialog.talk-immerse .button{min-width:180px}
