/* 심야포차 UI — Duna 스타일 레퍼런스 적용
   - 99% 무채색, 유일한 색채는 히어로 수채화와 3D 포차 장면
   - Linen 캔버스, Espresso 필 버튼, Aubergine Ink 텍스트
   - 그림자 대신 1px inset 링과 배경 톤 차이로 위계 구분 */

:root {
  --color-aubergine-ink: #1b0624;
  --color-espresso: #160f0c;
  --color-warm-ash: #766a7c;
  --color-graphite: #444444;
  --color-stone: #898683;
  --color-onyx: #0d0d0d;
  --color-smoke: #1a1816;
  --color-charcoal: #292421;
  --color-paper-white: #ffffff;
  --color-linen: #f7f7f5;
  --color-bone: #edece7;
  --color-mist: #eeeeee;

  /* GT America 대체: 라틴은 Inter, 한글은 Pretendard */
  --font-sans: 'Inter', 'Pretendard Variable', Pretendard, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Malgun Gothic', sans-serif;

  --text-micro: 12px;
  --text-caption: 14px;
  --text-body-sm: 16px;
  --text-body: 18px;
  --text-body-lg: 20px;
  --text-subheading: 24px;
  --text-heading: 32px;
  --text-heading-lg: 44px;
  --text-display: 72px;

  /* 한글은 -0.06em이면 자형이 겹쳐서 디스플레이는 -0.045em로 조정 */
  --tracking-display: -0.045em;
  --tracking-heading-lg: -0.04em;
  --tracking-heading: -0.03em;
  --tracking-subheading: -0.02em;
  --tracking-body-lg: -0.01em;

  --radius-inputs: 8px;
  --radius-xl: 12px;
  --radius-cards: 16px;
  --radius-images: 24px;
  --radius-large-buttons: 60px;
  --radius-pill: 999px;

  --shadow-subtle: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px inset;
  --ring-dark: rgba(27, 6, 36, 0.12) 0px 0px 0px 1px inset;

  --page-max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  line-height: 1.6;
  color: var(--color-aubergine-ink);
  background: var(--color-linen);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "tnum";
  word-break: keep-all;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.muted { color: var(--color-stone); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--radius-pill);
  padding: 11px 20px; font-size: var(--text-caption); font-weight: 400; line-height: 1.2;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-espresso); color: var(--color-paper-white); }
.btn-primary:hover { background: var(--color-charcoal); }
.btn-primary:disabled { background: var(--color-stone); cursor: not-allowed; }
.btn-large {
  background: var(--color-espresso); color: var(--color-paper-white);
  border-radius: var(--radius-large-buttons); padding: 20px 32px; font-size: var(--text-body-sm);
}
.btn-large:hover { background: var(--color-charcoal); }
.btn-ghost {
  background: var(--color-paper-white); color: var(--color-aubergine-ink);
  box-shadow: inset 0 0 0 1px var(--color-stone);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--color-graphite); }
.btn-block { width: 100%; padding: 14px 20px; font-size: var(--text-body-sm); }
.btn-sm { padding: 7px 14px; font-size: var(--text-micro); }

.pill-dark {
  display: inline-block; background: var(--color-espresso); color: var(--color-paper-white);
  border-radius: var(--radius-pill); padding: 6px 12px; font-size: var(--text-micro); line-height: 1.2;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--radius-pill); padding: 4px 10px; font-size: var(--text-micro); line-height: 1.2;
  background: var(--color-bone); color: var(--color-charcoal);
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; }
.badge.is-full { background: var(--color-espresso); color: var(--color-paper-white); }
.badge.is-busy { background: var(--color-charcoal); color: var(--color-paper-white); }

/* ---------- 타이포 ---------- */
.display {
  font-size: var(--text-display); font-weight: 400; line-height: 1.04;
  letter-spacing: var(--tracking-display); margin: 20px 0 20px;
}
.heading-lg { font-size: var(--text-heading-lg); font-weight: 400; line-height: 1.12; letter-spacing: var(--tracking-heading-lg); margin: 8px 0 12px; }
.heading { font-size: var(--text-heading); font-weight: 400; line-height: 1.2; letter-spacing: var(--tracking-heading); margin: 0 0 8px; }
.subheading { font-size: var(--text-subheading); font-weight: 500; line-height: 1.3; letter-spacing: var(--tracking-subheading); margin: 0 0 6px; }
.lead { font-size: var(--text-body); color: var(--color-warm-ash); margin: 0; max-width: 620px; }
.eyebrow { font-size: var(--text-caption); color: var(--color-stone); }

/* ---------- 내비 ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--page-max-width)) / 2));
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.logo.small { font-size: 15px; }
.logo-mark { font-size: 1.1em; line-height: 1; }
.nav-links { display: flex; gap: 32px; font-size: var(--text-caption); color: var(--color-charcoal); }
.nav-links a:hover { color: var(--color-aubergine-ink); }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 18vh 24px 0; max-width: 900px; }
.hero-sub { font-size: var(--text-body); color: var(--color-graphite); margin: 0 0 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---------- 레이아웃 ---------- */
.container { max-width: var(--page-max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0 0; }
.section-head { margin-bottom: 40px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px 0 0; }
.stat-num { font-size: var(--text-display); line-height: 1; letter-spacing: var(--tracking-display); font-feature-settings: "tnum", "zero"; }
.stat-cap { font-size: var(--text-caption); color: var(--color-stone); margin-top: 12px; }

.card { background: var(--color-paper-white); border-radius: var(--radius-cards); box-shadow: var(--shadow-subtle); padding: 32px; }

/* 손님 카드 */
.guest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.preview-card {
  position: relative; background: var(--color-bone); border-radius: var(--radius-images);
  min-height: 420px; overflow: hidden;
}
#preview { position: absolute; inset: 0; }
#preview canvas { display: block; }
.preview-name {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--color-paper-white); border-radius: var(--radius-pill); padding: 6px 14px;
  font-size: var(--text-caption); box-shadow: var(--shadow-subtle);
}
.form-card { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 10px; position: relative; }
.field-label { font-size: var(--text-caption); color: var(--color-graphite); }
.field-hint { position: absolute; right: 14px; top: 42px; font-size: var(--text-micro); color: var(--color-stone); }
.input, .textarea {
  background: var(--color-mist); border: 1px solid transparent; border-radius: var(--radius-inputs);
  padding: 12px 14px; font-size: var(--text-body-sm); color: var(--color-aubergine-ink); outline: none; width: 100%;
  box-shadow: inset 0 0 0 1px rgba(68, 68, 68, 0.15);
}
.input:focus, .textarea:focus { box-shadow: inset 0 0 0 1px var(--color-espresso); }
.textarea { resize: none; min-height: 120px; line-height: 1.6; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  outline: 1px solid transparent; outline-offset: 3px;
}
.swatch[aria-pressed="true"] { outline-color: var(--color-espresso); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 0; border-radius: var(--radius-pill); padding: 9px 16px; font-size: var(--text-caption);
  background: var(--color-paper-white); box-shadow: inset 0 0 0 1px var(--color-stone); color: var(--color-aubergine-ink);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--color-graphite); }
.chip[aria-pressed="true"] { background: var(--color-espresso); color: var(--color-paper-white); box-shadow: none; }

/* 지점 */
.branch-list { display: grid; gap: 12px; }
.branch {
  display: grid; grid-template-columns: 56px 1fr 220px auto; gap: 24px; align-items: center;
  background: var(--color-paper-white); border-radius: var(--radius-cards); box-shadow: var(--shadow-subtle);
  padding: 24px 28px;
}
.branch-no { font-size: var(--text-heading); letter-spacing: var(--tracking-heading); color: var(--color-stone); font-feature-settings: "tnum"; }
.branch-name { font-size: var(--text-body-lg); font-weight: 500; letter-spacing: var(--tracking-body-lg); }
.branch-mood { font-size: var(--text-caption); color: var(--color-warm-ash); }
.occ { display: flex; flex-direction: column; gap: 8px; }
.occ-row { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-caption); font-feature-settings: "tnum"; }
.occ-bar { height: 4px; border-radius: 4px; background: var(--color-bone); overflow: hidden; }
.occ-fill { height: 100%; background: var(--color-espresso); border-radius: 4px; }

/* 기능 카드 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--color-paper-white); border-radius: var(--radius-cards); padding: 32px; }
.feature h3 { font-size: var(--text-body-lg); font-weight: 500; letter-spacing: var(--tracking-body-lg); margin: 20px 0 8px; }
.feature p { margin: 0; color: var(--color-graphite); font-size: var(--text-body-sm); }
.ico { width: 26px; height: 26px; fill: none; stroke: var(--color-charcoal); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ico-s { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 차림표 */
.menu-table { padding: 8px 32px; }
.menu-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--color-bone); align-items: center; }
.menu-row:last-child { border-bottom: 0; }
.menu-name { font-size: var(--text-body-lg); letter-spacing: var(--tracking-body-lg); }
.menu-desc { font-size: var(--text-caption); color: var(--color-warm-ash); }
.price { font-size: var(--text-body); font-feature-settings: "tnum"; }

.footer { display: flex; justify-content: space-between; align-items: center; padding: 120px 24px 48px; font-size: var(--text-caption); }

/* ---------- 게임 HUD ---------- */
#game { position: fixed; inset: 0; background: #14121e; overflow: hidden; }
#stage { position: absolute; inset: 0; }
#stage canvas { display: block; touch-action: none; }
.world-overlay { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.hud-top {
  position: absolute; top: 16px; left: 16px; right: 16px; z-index: 5;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; pointer-events: none; flex-wrap: wrap;
}
.hud-left, .hud-right, .hud-center { display: flex; gap: 8px; align-items: center; pointer-events: auto; flex-wrap: wrap; }
.hud-center { flex: 1 1 auto; justify-content: center; }
.hud-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  background: var(--color-paper-white); color: var(--color-aubergine-ink);
  border-radius: var(--radius-pill); border: 0; box-shadow: var(--shadow-subtle);
  font-size: var(--text-caption); white-space: nowrap; font-feature-settings: "tnum";
}
.hud-btn:hover { background: var(--color-bone); }
.hud-icon { width: 40px; padding: 0; justify-content: center; }
.logo-chip { font-weight: 500; letter-spacing: -0.02em; }
.warmth b { font-weight: 500; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-bone); box-shadow: inset 0 0 0 1px var(--color-stone); }
.dots i.on { background: var(--color-espresso); box-shadow: none; }

.toasts { position: absolute; top: 72px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: var(--color-espresso); color: var(--color-paper-white);
  border-radius: var(--radius-pill); padding: 10px 18px; font-size: var(--text-caption);
  animation: toastIn .25s ease both; white-space: nowrap; max-width: 90vw; overflow: hidden; text-overflow: ellipsis;
}
.toast.is-light { background: var(--color-paper-white); color: var(--color-aubergine-ink); box-shadow: var(--shadow-subtle); }
.toast.out { animation: toastOut .3s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-6px); } }

.context-hint {
  position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); z-index: 4;
  font-size: var(--text-micro); color: var(--color-paper-white); background: rgba(22, 15, 12, .55);
  border-radius: var(--radius-pill); padding: 6px 12px; pointer-events: none; white-space: nowrap;
}
.context-hint:empty { display: none; }

.dock-wrap { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; gap: 10px; align-items: center; width: min(1400px, calc(100vw - 32px)); }
.chat-bar { display: flex; width: min(560px, 100%); background: var(--color-paper-white); border-radius: var(--radius-pill); box-shadow: var(--shadow-subtle); padding: 4px; }
.chat-input { flex: 1; border: 0; background: transparent; padding: 8px 14px; outline: none; font-size: var(--text-caption); }
.chat-send { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--color-espresso); color: var(--color-paper-white); display: grid; place-items: center; }
.dock {
  display: flex; gap: 4px; align-items: center; background: var(--color-paper-white);
  border-radius: var(--radius-pill); padding: 6px; box-shadow: var(--shadow-subtle); max-width: 100%; overflow-x: auto;
  scrollbar-width: none;
}
.dock-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0;
  border-radius: var(--radius-pill); background: transparent; color: var(--color-aubergine-ink);
  font-size: var(--text-caption); white-space: nowrap;
}
.dock-btn:hover { background: var(--color-linen); }
.dock-btn.is-off { color: var(--color-stone); }
.dock-btn kbd { font-family: inherit; font-size: 11px; color: var(--color-stone); border-radius: 6px; padding: 1px 6px; box-shadow: inset 0 0 0 1px var(--color-bone); }
.dock-primary { background: var(--color-espresso); color: var(--color-paper-white); padding: 0 20px; }
.dock-primary:hover { background: var(--color-charcoal); }
.dock-sep { width: 1px; height: 24px; background: var(--color-bone); margin: 0 4px; flex: none; }

/* 3D 위 이름표와 말풍선 */
.name-tag {
  position: absolute; left: 0; top: 0; font-size: 11px; line-height: 1.2; padding: 3px 8px;
  border-radius: var(--radius-pill); background: rgba(22, 15, 12, .5); color: rgba(255,255,255,.92); white-space: nowrap;
}
.name-tag.is-me { background: var(--color-paper-white); color: var(--color-aubergine-ink); }
.bubble {
  position: absolute; left: 0; top: 0; max-width: 220px; white-space: normal;
  border-radius: var(--radius-xl); padding: 8px 12px; font-size: 13px; line-height: 1.45;
}
.bubble::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); background: inherit; }
.bubble.is-clear { background: var(--color-paper-white); color: var(--color-aubergine-ink); box-shadow: inset 0 0 0 1.5px #f2d47a; }
.bubble.is-clear.is-me { box-shadow: inset 0 0 0 1.5px var(--color-espresso); }
.bubble.is-clear.is-ajumma { background: var(--color-espresso); color: var(--color-paper-white); box-shadow: none; }
.bubble.is-far { background: rgba(22, 15, 12, .5); color: rgba(255,255,255,.6); font-size: 11px; padding: 5px 9px; font-style: italic; }

/* 조이스틱 (터치 기기) */
.joystick { position: absolute; left: 28px; bottom: 150px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); z-index: 5; touch-action: none; }
.joy-knob { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--color-paper-white); }

/* ---------- 모달 ---------- */
.modal-root { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(22, 15, 12, .42); animation: fadeIn .2s ease both; }
.modal {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--color-linen); border-radius: var(--radius-images); padding: 40px; animation: popIn .25s ease both;
}
.modal.wide { width: min(760px, 100%); }
.modal-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--color-paper-white); box-shadow: var(--shadow-subtle); display: grid; place-items: center; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal .lead { font-size: var(--text-body-sm); margin-bottom: 24px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }

.alt-list { display: grid; gap: 8px; }
.alt { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--color-paper-white); border-radius: var(--radius-cards); padding: 16px 20px; box-shadow: var(--shadow-subtle); }
.alt-name { font-weight: 500; }
.alt-meta { font-size: var(--text-micro); color: var(--color-stone); }

/* 출석 도장판 */
.stamps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 24px 0 8px; }
.stamp { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: var(--text-micro); color: var(--color-stone); background: var(--color-paper-white); box-shadow: inset 0 0 0 1px var(--color-bone); }
.stamp.on { background: var(--color-espresso); color: var(--color-paper-white); box-shadow: none; }
.stamp.today { animation: stampIn .5s .2s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes stampIn { from { transform: scale(1.6) rotate(-12deg); opacity: 0; } }
.big-num { font-size: var(--text-display); line-height: 1; letter-spacing: var(--tracking-display); font-feature-settings: "tnum"; margin: 8px 0; }

/* 차림표 모달 */
.target-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.menu-modal .menu-row { padding: 16px 0; }
.menu-modal .menu-table { padding: 4px 24px; }

/* 고민 태우기 / 포춘 */
.fortune {
  background: var(--color-paper-white); border-radius: var(--radius-cards); box-shadow: var(--shadow-subtle);
  padding: 40px 32px; text-align: center; margin: 8px 0 0;
}
.fortune-text { font-size: var(--text-subheading); letter-spacing: var(--tracking-subheading); line-height: 1.45; margin: 16px 0; }
.burn-paper { animation: burnAway 1.1s ease forwards; }
@keyframes burnAway { to { opacity: 0; transform: translateY(-30px) scale(.92); filter: blur(3px); } }

/* 낙서장 */
.gb-list { display: grid; gap: 8px; margin-top: 20px; max-height: 340px; overflow: auto; }
.gb-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--color-paper-white); border-radius: var(--radius-xl); padding: 14px 16px; box-shadow: var(--shadow-subtle); }
.gb-text { font-size: var(--text-body-sm); }
.gb-name { font-size: var(--text-micro); color: var(--color-stone); }
.heart-btn { display: inline-flex; gap: 6px; align-items: center; border: 0; border-radius: var(--radius-pill); padding: 6px 12px; font-size: var(--text-micro); background: var(--color-linen); box-shadow: inset 0 0 0 1px var(--color-bone); font-feature-settings: "tnum"; }
.heart-btn[aria-pressed="true"] { background: var(--color-espresso); color: var(--color-paper-white); box-shadow: none; }
.heart-btn[aria-pressed="true"] .ico-s { fill: currentColor; }
.gb-form { display: flex; gap: 8px; }

/* 이모님 상담 */
.talk-log { display: flex; flex-direction: column; gap: 10px; height: 300px; overflow: auto; padding: 4px 2px 12px; }
.talk { max-width: 82%; padding: 10px 14px; border-radius: var(--radius-xl); font-size: var(--text-caption); line-height: 1.55; }
.talk.from-ajumma { align-self: flex-start; background: var(--color-paper-white); box-shadow: var(--shadow-subtle); }
.talk.from-me { align-self: flex-end; background: var(--color-espresso); color: var(--color-paper-white); }
.talk.typing { color: var(--color-stone); }
.talk-who { font-size: var(--text-micro); color: var(--color-stone); margin-bottom: 2px; }
.help-grid { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: var(--text-caption); align-items: center; }
.help-grid kbd { font-family: inherit; background: var(--color-paper-white); box-shadow: var(--shadow-subtle); border-radius: 6px; padding: 2px 8px; justify-self: start; }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  :root { --text-display: 48px; --text-heading-lg: 32px; }
  .nav-links { display: none; }
  .stats, .feature-grid, .guest-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 56px; }
  .branch { grid-template-columns: 40px 1fr; }
  .branch .occ, .branch .btn { grid-column: 1 / -1; }
  .hud-center { display: none; }
  .dock-btn kbd { display: none; }
  .dock-btn { padding: 0 12px; }
  .modal { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* 공유 미리보기 이미지 캡처용 (?shot) */
.shot-mode .hud-top, .shot-mode .dock-wrap, .shot-mode .toasts, .shot-mode .context-hint,
.shot-mode .world-overlay, .shot-mode #modalRoot, .shot-mode .joystick { display: none !important; }

/* ---------- 콘텐츠 보강: 이모트 · 칭호 · 상점 · 젓가락 뽑기 ---------- */
.toasts { position: fixed; z-index: 70; }
.emote-bar {
  display: flex; gap: 4px; background: var(--color-paper-white); border-radius: var(--radius-pill);
  padding: 6px; box-shadow: var(--shadow-subtle);
}
.emote-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 6px 12px;
  border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-aubergine-ink);
  font-size: 15px; line-height: 1.1;
}
.emote-btn small { font-size: 11px; color: var(--color-stone); }
.emote-btn:hover { background: var(--color-linen); }
.bubble.is-emote.is-clear { background: var(--color-espresso); color: var(--color-paper-white); box-shadow: none; font-size: 14px; padding: 6px 12px; border-radius: var(--radius-pill); }
.bubble.is-emote::after { display: none; }

.name-tag .tag-title, .tag-title.static {
  display: inline-block; margin-right: 5px; padding: 0 6px; border-radius: var(--radius-pill);
  background: #f2d47a; color: var(--color-espresso); font-size: 10px; line-height: 1.6; font-weight: 500;
}
.tag-title.static { font-size: 12px; padding: 2px 10px; }
.name-tag.is-remote { cursor: pointer; }

.swatch.is-locked, .chip.is-locked { opacity: .55; }
.swatch.is-locked { background-image: linear-gradient(135deg, transparent 45%, rgba(255,255,255,.75) 46%, rgba(255,255,255,.75) 54%, transparent 55%); }
.chip .lock { font-size: 11px; color: var(--color-stone); margin-left: 4px; }
.shop-swatch { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); flex: none; }
.price-old { text-decoration: line-through; color: var(--color-stone); font-size: .85em; margin-right: 4px; }

.chopsticks { display: flex; gap: 18px; justify-content: center; align-items: flex-end; height: 190px; margin: 28px 0 8px; }
.stick-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stick {
  width: 10px; height: 140px; border-radius: 6px; background: linear-gradient(#d9b98a, #b9915e);
  transform-origin: bottom; animation: stickPull .45s calc(var(--i) * .35s) ease-out both;
}
.chopsticks.is-revealed .stick.is-short { height: 70px; background: linear-gradient(#e0352c, #b8261a); }
.chopsticks.is-revealed .stick:not(.is-short) { opacity: .45; }
.stick-name { font-size: 13px; max-width: 80px; text-align: center; word-break: keep-all; }
@keyframes stickPull { 0% { transform: translateY(40px) scaleY(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
#gameResult, #gameActions { transition: opacity .4s ease; }
@media (max-width: 900px) {
  .emote-btn { min-width: 52px; padding: 6px 8px; }
  #hudWeather { display: none; }
}

/* 버튼이 많아져서 넓은 화면에선 줄바꿈, 좁은 화면(폰)에선 가로 스크롤 */
@media (min-width: 901px) {
  .dock { flex-wrap: wrap; justify-content: center; border-radius: 28px; overflow: visible; }
  .dock-btn { padding: 0 14px; }
}
