/* 평평 라운지 — 평평한 소모임 스티커 느낌(흰 카드 + 잉크 테두리 + 민트 오프셋 그림자) */
:root {
  --cream: #F5EFE4; --cream-2: #ECE2D0; --ink: #2B2B2B; --ink-2: #4E4943; --muted: #7A7166;
  --mint: #4FB3A9; --mint-deep: #268078; --mint-soft: #DFF1ED; --card: #FFFFFF;
  --live: #E5484D;
  --line: 1.5px solid var(--ink);
  --shadow: 4px 5px 0 rgba(79, 179, 169, .55);
  --font-title: 'Bagel Fat One', 'Pretendard', system-ui, sans-serif;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Malgun Gothic', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--cream); color: var(--ink); font-family: var(--font); -webkit-tap-highlight-color: transparent; }
canvas#world { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; touch-action: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* 3D 보기 */
#world3d { position: fixed; inset: 0; width: 100vw; height: 100vh; display: none; touch-action: none; }
#labels3d { position: fixed; inset: 0; pointer-events: none; display: none; overflow: hidden; z-index: 5; }
#labels3d > div { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; }
.tag3d { font: 700 11px var(--font); background: rgba(255,255,255,.92); border: 1px solid var(--ink); border-radius: 8px; padding: 1px 6px; }
.tag3d.me { background: var(--ink); color: #fff; }
.tag3d.npc { background: var(--mint); color: #fff; font-weight: 800; }
.bubble3d { font: 600 12px var(--font); background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; padding: 5px 9px; max-width: 190px; white-space: normal !important; box-shadow: 2px 3px 0 rgba(43,43,43,.12); }
.emote3d { font-size: 26px; }
.view-btn { background: var(--ink); color: #fff; }
.hidden { display: none !important; }

.card { background: var(--card); border: var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.btn { border: var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; box-shadow: 2px 3px 0 rgba(79,179,169,.5); transition: transform .08s; white-space: nowrap; }
.btn:active { transform: translate(1px, 2px); box-shadow: none; }
.btn.primary { background: var(--mint); color: #fff; }
.btn.live { background: var(--live); color: #fff; }
.btn.big { width: 100%; padding: 14px; font-size: 17px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.actions.end { justify-content: flex-end; }

.overlay { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(43,43,43,.35); z-index: 50; padding: 16px; }
.overlay.dark { background: #0b0b0d; }

/* 입장 */
#entry { background: var(--cream); }
.entry-card { width: min(380px, 100%); padding: 28px 24px 22px; text-align: center; }
.entry-face { width: 96px; height: 96px; border-radius: 50%; border: var(--line); object-fit: cover; box-shadow: var(--shadow); }
.swatch-row { display: flex; align-items: center; gap: 10px; }
.swatch-row .swatches { flex: 1; }
.entry-mini { width: 58px; height: 58px; flex: none; border-radius: 16px; background: var(--mint-soft); border: var(--line); }
.title { font-family: var(--font-title); font-weight: 400; font-size: 38px; margin: 12px 0 2px; letter-spacing: -.5px; }
.sub { margin: 0 0 18px; color: var(--muted); }
.field { display: block; text-align: left; margin: 12px 0; }
.field > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field input { width: 100%; border: var(--line); border-radius: 14px; padding: 11px 14px; font: inherit; font-size: 16px; background: #fff; outline: none; }
.field input:focus { box-shadow: 0 0 0 3px var(--mint-soft); }
.swatches { display: flex; gap: 10px; justify-content: space-between; }
.swatches button { width: 42px; height: 34px; border-radius: 50% / 58%; border: var(--line); box-shadow: 2px 3px 0 rgba(0,0,0,.12); }
.swatches button.on { outline: 3px solid var(--ink); outline-offset: 2px; }
/* 캐릭터 남, 여 고르기(입장 화면 옷 색 옆, 내 캐릭터 창). 학생만 보임 */
.gender-pick { display: flex; flex: none; border: var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.gender-pick button { border: 0; background: transparent; padding: 7px 10px; font: inherit; font-size: 14px; font-weight: 800; color: var(--ink-2); cursor: pointer; }
.gender-pick button + button { border-left: var(--line); }
.gender-pick button.on { background: var(--mint-soft); color: var(--mint-deep); }
.gender-pick.wide { margin-top: 10px; }
.gender-pick.wide button { flex: 1; }
.hint { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* 위쪽 */
.hud { position: fixed; z-index: 10; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud.top { top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.hud-right { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: var(--line); border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow); font-weight: 700; text-decoration: none; color: var(--ink); }
.btn-pill { cursor: pointer; }
.logo { font-family: var(--font-title); font-weight: 400; font-size: 18px; }
.zone-pill { font-size: 13px; background: var(--mint-soft); border-radius: 999px; padding: 3px 10px; }

.drawer { position: fixed; top: 64px; right: 12px; width: 240px; max-height: 60vh; overflow: auto; z-index: 11; padding: 14px 16px; }
.drawer h3 { margin: 0 0 8px; font-size: 14px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--cream-2); font-size: 14px; }
.drawer li small { color: var(--muted); margin-left: auto; }
.dot { width: 14px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-block; flex: none; }

/* 구역 카드 */
.zone-card { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 10; padding: 12px 16px; width: min(440px, calc(100vw - 24px)); }
.zone-head { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.zone-card p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.zone-card .actions { margin-top: 8px; }
.zone-card .actions:empty { display: none; }

/* 이모지 */
.emotes { position: fixed; left: 12px; bottom: 14px; z-index: 10; display: flex; gap: 2px; padding: 4px; border-radius: 999px; }
.emotes button { border: 0; background: none; font-size: 20px; width: 38px; height: 38px; border-radius: 50%; }
.emotes button:hover { background: var(--mint-soft); }

/* 채팅 */
.chat { position: fixed; right: 12px; bottom: 14px; width: 320px; z-index: 10; display: flex; flex-direction: column; overflow: hidden; }
.chat-toggle { border: 0; border-bottom: var(--line); background: var(--mint-soft); padding: 8px 14px; text-align: left; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.chat-log { list-style: none; margin: 0; padding: 8px 12px; height: 220px; overflow-y: auto; font-size: 14px; }
.chat-log li { margin: 4px 0; line-height: 1.45; word-break: break-word; }
.chat-log li b { margin-right: 6px; }
.chat-log li.sys { color: var(--muted); font-size: 13px; }
.chat-log .where { color: var(--muted); font-size: 11px; margin-right: 4px; }
.chat-form { display: flex; gap: 6px; padding: 8px; border-top: 1px dashed var(--cream-2); }
.chat-form input { flex: 1; min-width: 0; border: var(--line); border-radius: 999px; padding: 8px 12px; font: inherit; outline: none; }
.chat.collapsed .chat-log, .chat.collapsed .chat-form { display: none; }
.badge { background: var(--live); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }

/* 안내 캐릭터(한경이) 말 걸기 창 */
.npc-card { display: flex; gap: 14px; padding: 18px; width: min(460px, 100%); align-items: flex-start; }
.npc-face { width: 64px; height: 64px; border-radius: 50%; border: var(--line); object-fit: cover; flex: none; }
.npc-card p { margin: 6px 0; line-height: 1.5; }
.sched { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }

/* 화면 공유 창 */
.share-card { width: min(460px, 100%); padding: 20px 22px; }
.share-card h2, .help-card h2 { margin: 0 0 12px; font-size: 20px; }
.tabs { display: flex; gap: 6px; background: var(--cream); border-radius: 14px; padding: 4px; }
.tab { flex: 1; border: 0; background: none; padding: 9px 6px; border-radius: 10px; font-weight: 700; color: var(--ink-2); }
.tab.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.tip { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.tip.small { font-size: 12.5px; color: var(--muted); }
.opt { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.opt > span { width: 52px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; }
.chips button.on { background: var(--ink); color: #fff; }

/* 크게 보기 */
#viewer { display: flex; flex-direction: column; padding: 0; place-items: stretch; }
#viewer.hidden { display: none !important; }
.viewer-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #fff; }
.viewer-head .btn { background: #2b2d31; color: #fff; border-color: #555; box-shadow: none; }
.viewer-head .btn.live { background: var(--live); }
.grow { flex: 1; }
.live-badge { background: var(--live); color: #fff; font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.stat { color: #aaa; font-size: 12px; font-variant-numeric: tabular-nums; }
#viewerVideo { flex: 1; width: 100%; min-height: 0; object-fit: contain; background: #000; }

.help-card { width: min(460px, 100%); padding: 20px 22px; }
.help-card ul { padding-left: 18px; line-height: 1.8; margin: 0; }

.toast { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; z-index: 60; font-size: 14px; }

@media (max-width: 1100px), (max-height: 720px) {
  .chat { width: 280px; }
  .chat-log { height: 140px; }
}
/* ── 휴대폰(좁은 화면, 손가락) ── */
.lbl-m { display: none; }
@media (max-width: 760px) {
  .hud.top { top: calc(8px + env(safe-area-inset-top)); left: 8px; right: 8px; flex-wrap: nowrap; gap: 6px; }
  .hud-right { flex-wrap: nowrap; gap: 5px; }
  .pill { padding: 6px 9px; box-shadow: 2px 3px 0 rgba(79,179,169,.5); white-space: nowrap; font-size: 14px; }
  .pill.brand { flex: 1 1 auto; overflow: hidden; }
  .pill.brand { gap: 6px; min-width: 0; }
  .hud-right { flex: none; }
  .logo { font-size: 14px; white-space: nowrap; }
  .zone-pill { font-size: 11.5px; padding: 2px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 92px; }
  .lbl { display: none; }
  .lbl-m { display: inline; }
  .drawer { top: calc(56px + env(safe-area-inset-top)); right: 8px; width: min(260px, calc(100vw - 16px)); }

  /* 아래쪽: 맨 아래 줄 = 이모지(왼쪽) + 채팅 버튼(오른쪽), 그 위 = 구역 카드 */
  .emotes { left: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); transform: none; padding: 2px; }
  .emotes button { width: 34px; height: 34px; font-size: 18px; }
  .zone-card { left: 8px; right: 8px; width: auto; transform: none; bottom: calc(58px + env(safe-area-inset-bottom)); padding: 9px 12px; border-radius: 16px; }
  .zone-head { font-size: 14.5px; }
  .zone-card p { font-size: 13px; margin-top: 2px; }
  .zone-card .actions { margin-top: 6px; }
  .zone-card .btn { padding: 6px 12px; font-size: 13.5px; }

  .chat { right: 8px; left: auto; width: auto; bottom: calc(8px + env(safe-area-inset-bottom)); border-radius: 999px; z-index: 12; }
  .chat .chat-toggle { border-bottom: 0; padding: 8px 14px; background: #fff; }
  .chat:not(.collapsed) { left: 8px; border-radius: 18px; bottom: calc(8px + env(safe-area-inset-bottom) + var(--kb, 0px)); }
  .chat:not(.collapsed) .chat-toggle { border-bottom: var(--line); background: var(--mint-soft); }
  .chat:not(.collapsed) .chat-log { height: min(34vh, 260px); }
  .chat-form input { font-size: 16px; } /* 아이폰 확대 방지 */

  .share-card, .npc-card, .help-card { max-height: calc(100vh - 32px); overflow: auto; }
  .npc-card { flex-direction: column; align-items: center; text-align: left; }
}

/* 크게 보기: 손가락 확대, 휴대폰 */
#viewerWrap { flex: 1; min-height: 0; overflow: hidden; position: relative; touch-action: none; background: #000; }
#viewerWrap #viewerVideo { width: 100%; height: 100%; transform-origin: 0 0; }
.zoom-badge { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; pointer-events: none; }
.rotate-tip { display: none; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(255,255,255,.9); color: #222; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
@media (max-width: 760px) {
  .viewer-head { padding: calc(6px + env(safe-area-inset-top)) 8px 6px; gap: 6px; flex-wrap: wrap; }
  .viewer-head b { font-size: 13px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .viewer-head .btn { padding: 5px 10px; font-size: 13px; }
  .viewer-head .stat { display: none; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .viewer-head { position: absolute; top: 0; left: 0; right: 0; z-index: 2; background: linear-gradient(rgba(0,0,0,.65), transparent); transition: opacity .25s; }
  #viewer.hide-head .viewer-head { opacity: 0; pointer-events: none; }
}
@media (max-width: 760px) and (orientation: portrait) { .rotate-tip { display: block; } }

/* ── 11-10 v0.2: 인증키 입장, 공간 입구 단추 줄(#warpNav), 내 캐릭터 창 ── */
.entry-face { background: var(--mint-soft); display: inline-block; }
#entryTabs { margin-top: 2px; }
.tip.left { text-align: left; margin: -4px 2px 4px; }
.field input#keyInput { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 1.5px; text-transform: uppercase; }

.warp-nav { position: fixed; top: 62px; left: 12px; z-index: 11; display: flex; gap: 6px; }
.warp-nav button { border: var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-weight: 800; box-shadow: var(--shadow); white-space: nowrap; }
.warp-nav button.here { background: var(--ink); color: #fff; }
.warp-nav button:active { transform: translate(1px, 2px); box-shadow: none; }

.mine { width: 270px; left: auto; }
.mine-head { display: flex; gap: 12px; align-items: center; }
.mine-face { width: 64px; height: 64px; border-radius: 16px; background: var(--mint-soft); border: var(--line); }
.mine-head b#mineName { font-size: 16px; }
.mine-role { margin-top: 2px; font-size: 13px; font-weight: 800; color: var(--mint-deep); }
#mineActions:empty { display: none; }

@media (max-width: 760px) {
  .warp-nav { top: calc(52px + env(safe-area-inset-top)); left: 8px; transform: none; gap: 4px; }
  .warp-nav button { padding: 5px 9px; font-size: 13px; box-shadow: 2px 3px 0 rgba(79,179,169,.5); }
  .mine { top: calc(56px + env(safe-area-inset-top)); right: 8px; width: min(280px, calc(100vw - 16px)); }
}
.mine .drawer h3, .mine h3 { margin: 10px 0 6px; }
.mine { max-height: calc(100vh - 90px); }

/* v1.0 3D(11-11) */
.spark3d { font-size: 16px; font-weight: 800; text-shadow: 0 0 6px rgba(255,255,255,.9); }
.tag3d { box-shadow: 0 2px 0 rgba(43,43,43,.12); }
/* v1.2 입장 화면: 색 고르기 줄이 카드 안에 들어가게 */
.swatch-row .swatches { gap: 6px; min-width: 0; }
.swatch-row .swatches button { width: auto; flex: 1 1 0; min-width: 0; height: 32px; }

.btn.wide { width: 100%; margin-top: 6px; }

/* 11-11 나가기 */
.exit-card p { margin: 0 0 12px; line-height: 1.55; }
.exit-card .tip { font-size: 13px; color: #7a7166; margin: 12px 0 0; }
.exit-btns { display: flex; flex-direction: column; gap: 8px; }
.exit-btns .btn { width: 100%; }

/* 11-11 기념 촬영 */
.photo-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); width: max-content; z-index: 13; padding: 8px 10px; border-radius: 18px; display: flex; flex-direction: column; gap: 6px; align-items: center; max-width: calc(100vw - 16px); }
.photo-bar.hidden { display: none; }
.pb-tip { font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-align: center; }
.pb-row { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; justify-content: center; }
.pb-s { padding: 6px 10px; font-size: 14px; box-shadow: none; }
.pb-opt { opacity: .55; }
.pb-opt.on { opacity: 1; background: var(--mint-soft); }
.pb-shot { background: var(--mint); color: #fff; font-size: 16px; padding: 9px 18px; }
.pb-npc.wait { opacity: .5; } /* v2.0 한경이 부르기: 누른 뒤 10초 동안 흐리게 */
body.photo-on .zone-card, body.photo-on #warpNav { display: none !important; }
body.photo-on #labels3d .bubble3d { opacity: .25; }
.photo-count { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; pointer-events: none; font: 900 min(30vw, 220px)/1 var(--font-title); color: #fff; text-shadow: 0 6px 0 rgba(0,0,0,.25); }
.photo-count.hidden { display: none; }
.photo-flash { position: fixed; inset: 0; z-index: 31; background: #fff; opacity: 0; pointer-events: none; transition: opacity .5s; }
.photo-flash.go { opacity: .9; transition: none; }
.photo-shot { width: min(760px, calc(100vw - 24px)); padding: 12px; }
.ps-wrap canvas { width: 100%; height: auto; max-height: 62vh; object-fit: contain; border-radius: 12px; border: var(--line); display: block; background: #000; }
#psSave:disabled { opacity: .6; }
.ps-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.ps-tip { margin: 8px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .photo-bar { left: 8px; right: 8px; width: auto; max-width: none; transform: none; bottom: calc(8px + env(safe-area-inset-bottom)); padding: 6px; }
  .pb-tip { font-size: 11.5px; }
  .pb-s { padding: 5px 8px; font-size: 13px; }
  body.photo-on .chat, body.photo-on .emotes { display: none !important; }
}

/* v2.0 고치기(11-13): 좁은 화면(폰 375, 데스크톱 창 462 등)에서 왼쪽 위 「평평 라운지」가 「평」으로 잘리던 것
   로고는 안 줄고 구역 이름표가 먼저 줄어듦 → 480 이하는 오른쪽 버튼을 조금 좁힘 → 420 이하는 구역 이름표를 숨김(구역 이름은 아래 구역 카드에 있음) */
@media (max-width: 760px) {
  .pill.brand .logo { flex: none; }
  .pill.brand .zone-pill { flex: 0 1 auto; min-width: 0; }
}
@media (max-width: 480px) {
  .hud.top { gap: 4px; }
  .hud-right { gap: 3px; }
  .hud-right .pill { padding: 6px 6px; gap: 2px; }
  .pill.brand { padding: 6px 8px; }
}
@media (max-width: 420px) {
  .pill.brand { flex: 0 1 auto; }
  .pill.brand .zone-pill { display: none; }
  .pill.brand .logo { flex: 0 1 auto; min-width: 0; font-size: 13px; letter-spacing: -0.3px; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) {
  .hud-right .pill { padding: 6px 4px; }
  .pill.brand { padding: 6px 6px; }
}
/* 11-16 한경이 이모티콘 막대, 고르기 창, 머리 위 그림(평평 라운지 bc690df) */
.emotes { align-items: center; }
.emo-fav { display: flex; gap: 2px; }
.emotes .emo-b { width: 46px; height: 46px; padding: 2px; border-radius: 14px; display: grid; place-items: center; position: relative; }
.emo-b img { width: 42px; height: 42px; object-fit: contain; pointer-events: none; }
.emo-b span, .emo-g span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.emo-b:active img { transform: scale(.9); }
.emotes .emo-more { width: 34px; height: 34px; font-size: 18px; font-weight: 900; color: var(--mint-deep); border: 2px dashed #bfe3da !important; }
.emotes .emo-more.on { background: var(--mint-soft); border-style: solid !important; }
.emo-panel { position: fixed; left: 12px; bottom: 70px; z-index: 12; width: min(420px, calc(100vw - 24px)); max-height: min(420px, 60vh); display: flex; flex-direction: column; padding: 10px; border-radius: 20px; }
.emo-panel.hidden { display: none; }
.emo-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; margin-bottom: 6px; }
.emo-head b { font-family: var(--font-title); font-weight: 400; font-size: 17px; }
.emo-head small { grid-column: 1; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.emo-x { grid-row: 1 / 3; grid-column: 2; border: 0; background: none; font-size: 18px; width: 34px; height: 34px; border-radius: 50%; }
.emo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; overflow: auto; padding: 2px; }
.emo-g { position: relative; border: 2px solid transparent; background: #fffaf2; border-radius: 16px; padding: 4px 4px 14px; aspect-ratio: 1; display: grid; place-items: center; cursor: pointer; }
.emo-g:hover { border-color: var(--mint); background: #fff; }
.emo-g img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.emo-g::after { content: attr(title); position: absolute; bottom: 2px; left: 0; right: 0; font-size: 10px; font-weight: 800; color: var(--ink-2); text-align: center; }
.emote3d.emo-pic { font-size: 0; }
.emo3d-img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 3px 2px rgba(0,0,0,.18)); }
@media (max-width: 760px) { .emotes .emo-b { width: 38px; height: 38px; } .emo-b img { width: 34px; height: 34px; } .emo-panel { left: 8px; bottom: calc(60px + env(safe-area-inset-bottom)); } .emo3d-img { width: 72px; height: 72px; } }
/* 11-16 촬영 조명, 필터 조절(평평 라운지 eae6a3c) */
.pb-light { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 6px 14px; align-items: center; padding: 6px 4px 2px; border-top: 2px dashed #d9efe9; width: 100%; }
.pb-light.hidden { display: none; }
.pb-light label { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 2px 6px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.pb-light label small { grid-column: 2; font-size: 10.5px; font-weight: 700; color: var(--muted); margin-top: -4px; }
.pb-light input[type=range] { width: 100%; accent-color: var(--mint); }
.pl-filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.pl-filters button { padding: 4px 10px; font-size: 12.5px; box-shadow: none; }
.pl-filters button.on { background: var(--mint); color: #fff; }
#plReset { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 760px) { .pb-light { grid-template-columns: 1fr; } }
