:root {
  --bg: #16171a;
  --glass: rgba(22, 22, 26, 0.58);
  --glass-strong: rgba(24, 23, 27, 0.92);
  --line: rgba(255, 240, 215, 0.14);
  --ink: #f4ecdf;
  --mute: rgba(244, 236, 223, 0.62);
  --gold: #e9c46a;
  --gold2: #c9973e;
  --red: #9a2f22;
  --room: #5b8def;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --serif: 'Nanum Myeongjo', 'AppleMyungjo', serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; overscroll-behavior: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea { font: inherit; user-select: text; -webkit-user-select: text; }
[hidden] { display: none !important; }
#stage, #stage canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }

.glass { background: var(--glass); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border: 1px solid var(--line); }

.btn-gold { background: linear-gradient(180deg, #f3d488, var(--gold) 45%, var(--gold2)); color: #2a1d0b; font-weight: 750; border-radius: 14px; padding: 12px 18px;
  box-shadow: 0 6px 22px rgba(233, 196, 106, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5); transition: transform 0.15s, filter 0.15s; }
.btn-gold:active { transform: scale(0.97); }
.btn-gold:disabled { filter: grayscale(0.6) brightness(0.8); }
.btn-gold.big { width: 100%; padding: 16px; font-size: 17px; border-radius: 16px; }
.btn-gold.sm { padding: 9px 14px; font-size: 14px; margin-top: 12px; }
.btn-line { border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; color: var(--ink); background: rgba(255, 255, 255, 0.05); font-weight: 600; }

/* ───────── 입장 ───────── */
#entry { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: center; align-items: flex-end; overflow-y: auto;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0) 0%, rgba(10, 10, 14, 0.35) 30%, rgba(12, 12, 16, 0.88) 62%, #121216 100%);
  padding: calc(24px + var(--sat)) 16px calc(20px + var(--sab)); transition: opacity 0.8s, transform 0.8s; }
#entry.gone { opacity: 0; transform: translateY(20px); pointer-events: none; }
.entry-card { width: 100%; max-width: 460px; margin-top: 22vh; }
.brand { text-align: center; margin-bottom: 26px; }
.lotus { width: 44px; height: 44px; fill: var(--gold); stroke: var(--gold); filter: drop-shadow(0 0 14px rgba(233, 196, 106, 0.55)); }
.eyebrow { margin: 10px 0 6px; color: var(--gold); font-size: 12px; letter-spacing: 0.22em; font-weight: 600; }
.brand h1 { font-family: var(--serif); font-weight: 800; font-size: 42px; line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.brand h1 span { font-size: 22px; font-weight: 700; color: rgba(244, 236, 223, 0.86); letter-spacing: 0.04em; }
.lead { color: var(--mute); font-size: 14px; line-height: 1.65; margin: 14px 0 0; }
.q { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.rooms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px; }
.room { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); transition: all 0.2s; }
.room-ico { font-size: 24px; }
.room-name { font-size: 12px; font-weight: 650; white-space: nowrap; }
.room-cnt { font-size: 11px; color: var(--mute); display: flex; align-items: center; gap: 3px; }
.room-cnt i { width: 6px; height: 6px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 6px #5fd38a; }
.room-cnt em { font-style: normal; color: var(--ink); font-weight: 650; }
.room.sel { background: color-mix(in srgb, var(--c) 22%, transparent); border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset, 0 8px 24px color-mix(in srgb, var(--c) 30%, transparent); }
#sheet-rooms .rooms { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }

.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12px; color: var(--mute); margin-bottom: 7px; font-weight: 600; }
.field input:not([type]), .field input[type='text'], .field textarea, #entryName, #offerName, #setName {
  width: 100%; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--ink); outline: none; font-size: 16px; resize: none; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.seg { display: flex; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 3px; }
.seg.wrap { flex-wrap: wrap; }
.seg button { flex: 1; padding: 9px 6px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--mute); white-space: nowrap; }
.seg button.sel { background: rgba(233, 196, 106, 0.18); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(233, 196, 106, 0.5); }
.swatches { display: flex; gap: 7px; padding: 6px 0; flex-wrap: wrap; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); }
.swatches button.sel { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.25); }
.demo-note { text-align: center; font-size: 12px; color: var(--gold); margin: 10px 0 0; }
.fine { font-size: 11px; color: rgba(244, 236, 223, 0.42); text-align: center; line-height: 1.6; margin: 14px 0 0; }

/* ───────── HUD ───────── */
#hud, #stats, #controls, #feed, #previewBadge, #malaHud { opacity: 0; pointer-events: none; transition: opacity 0.8s 0.3s; }
body.playing #hud, body.playing #stats, body.playing #controls, body.playing #feed, body.playing #previewBadge, body.playing #malaHud { opacity: 1; pointer-events: auto; }
body.in-closeup #hud, body.in-closeup #stats, body.in-closeup #controls, body.in-closeup #feed { opacity: 0; pointer-events: none; transition-delay: 0s; }
#hud { position: fixed; top: calc(10px + var(--sat)); left: calc(10px + var(--sal)); right: calc(10px + var(--sar)); display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; z-index: 10; }
#roomBadge { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; border-radius: 16px; text-align: left; border-left: 3px solid var(--room); }
#roomIcon { font-size: 22px; }
.rb-txt { white-space: nowrap; }
.rb-txt b { display: block; font-size: 14px; }
.rb-txt small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--mute); }
.rb-txt em { font-style: normal; color: var(--ink); font-weight: 700; }
#conn { width: 7px; height: 7px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 8px #5fd38a; }
#conn.off { background: #e05a4a; box-shadow: 0 0 8px #e05a4a; }
.chev { color: var(--mute); font-size: 14px; }
.hud-right { display: flex; gap: 6px; }
.icon { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 15px; font-size: 18px; gap: 1px; }
.icon span { font-size: 9.5px; color: var(--mute); font-weight: 600; }
#btnSound.off { opacity: 0.5; }
#btnSound.off::after { content: ''; position: absolute; width: 26px; height: 2px; background: #e05a4a; transform: rotate(-40deg); }
#btnSound { position: relative; }
#stats { position: fixed; top: calc(70px + var(--sat)); left: calc(10px + var(--sal)); display: flex; gap: 6px; z-index: 9; }
.pill { border-radius: 999px; padding: 6px 12px; font-size: 12px; color: var(--mute); display: flex; align-items: center; gap: 5px; }
.pill b { color: var(--gold); font-size: 13px; }
.pill .sep { width: 1px; height: 10px; background: var(--line); margin: 0 3px; }
#meritPill.bump { animation: bump 0.5s; }
@keyframes bump { 40% { transform: scale(1.1); box-shadow: 0 0 22px rgba(233, 196, 106, 0.5); } }
#previewBadge { position: fixed; top: calc(104px + var(--sat)); left: calc(10px + var(--sal)); z-index: 9; font-size: 11px; }
#feed { position: fixed; top: calc(138px + var(--sat)); left: calc(10px + var(--sal)); z-index: 8; display: flex; flex-direction: column; gap: 5px; pointer-events: none !important; }
.feed-item { font-size: 12px; background: rgba(15, 15, 18, 0.5); padding: 6px 11px; border-radius: 10px; color: rgba(244, 236, 223, 0.88); animation: fin 0.4s; transition: opacity 0.7s, transform 0.7s; max-width: 70vw; }
.feed-item.out { opacity: 0; transform: translateX(-10px); }
@keyframes fin { from { opacity: 0; transform: translateX(-10px); } }

#malaHud { position: fixed; left: 50%; top: calc(120px + var(--sat)); transform: translateX(-50%); z-index: 9; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; }
#malaHud p { margin: 0; font-size: 12px; color: var(--mute); }
#malaRing { --p: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1;
  background: radial-gradient(closest-side, #1b1a1e 78%, transparent 80% 100%), conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, 0.1) 0); }
#malaCount { font-weight: 800; font-size: 15px; color: var(--gold); }
#malaRing small { font-size: 9px; color: var(--mute); }

/* ───────── 조작 ───────── */
#controls { position: fixed; inset: auto 0 0 0; z-index: 10; pointer-events: none !important; }
#controls > * { pointer-events: auto; }
#joy { position: fixed; left: calc(22px + var(--sal)); bottom: calc(26px + var(--sab)); width: 124px; height: 124px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)); border: 1px solid var(--line); touch-action: none; }
#joyKnob { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 245, 225, 0.75), rgba(233, 196, 106, 0.45)); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); transition: transform 0.06s; }
#chatWrap { position: fixed; left: calc(12px + var(--sal)); bottom: calc(166px + var(--sab)); width: min(46vw, 260px); }
#chatLog { max-height: 90px; overflow-y: auto; font-size: 12px; display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; mask-image: linear-gradient(transparent, #000 30%); -webkit-mask-image: linear-gradient(transparent, #000 30%); }
#chatLog div { background: rgba(10, 10, 12, 0.4); padding: 4px 9px; border-radius: 9px; align-self: flex-start; max-width: 100%; }
#chatLog b { color: var(--gold); font-weight: 650; margin-right: 3px; }
#chatForm { display: flex; border-radius: 14px; overflow: hidden; }
#chatInput { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 10px 12px; color: var(--ink); font-size: 14px; }
#chatForm button { width: 38px; color: var(--gold); font-weight: 800; font-size: 16px; }

#prayBar { position: fixed; right: calc(12px + var(--sar)); bottom: calc(18px + var(--sab)); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: 184px; }
.pray-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.act { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; border-radius: 14px; font-size: 11px; font-weight: 650; color: var(--ink); transition: transform 0.12s, background 0.2s; }
.act i { font-style: normal; font-size: 20px; line-height: 1.1; }
.act:active { transform: scale(0.94); }
.act.on { background: rgba(233, 196, 106, 0.3); border-color: var(--gold); }
.act.ctx { flex-direction: row; gap: 7px; padding: 11px 16px; font-size: 14px; border-color: rgba(233, 196, 106, 0.55); background: rgba(40, 32, 18, 0.7); animation: pop 0.25s; }
.act.ctx i { font-size: 18px; }
@keyframes pop { from { transform: scale(0.85); opacity: 0; } }
#prayBar:not(.seated) .pray-acts .act { opacity: 0.85; }
.offer { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px; font-size: 15px; border-radius: 16px; }
.offer i { font-style: normal; }

@media (pointer: fine) and (min-width: 820px) {
  #joy { display: none; }
  #chatWrap { bottom: calc(20px + var(--sab)); width: 320px; }
  #prayBar { flex-direction: row; align-items: flex-end; width: auto; }
  .pray-acts { width: 300px; }
  .offer { width: auto; padding: 15px 22px; }
}
@media (max-width: 520px) { .icon { width: 40px; height: 40px; border-radius: 13px; font-size: 17px; } .icon span { display: none; } #btnSound { display: none; } .hud-right { gap: 5px; } #roomIcon { font-size: 19px; } #roomBadge { padding: 7px 10px 7px 8px; gap: 8px; } #stats { top: calc(62px + var(--sat)); } #previewBadge { top: calc(94px + var(--sat)); } #feed { top: calc(126px + var(--sat)); } }
@media (max-width: 370px) { #prayBar { width: 168px; } .icon { width: 36px; height: 38px; } }

/* ───────── 클로즈업 ───────── */
#closeup { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 14px calc(18px + var(--sab)); display: flex; justify-content: center; animation: up 0.6s 0.5s both; }
@keyframes up { from { opacity: 0; transform: translateY(30px); } }
.cu-card { width: 100%; max-width: 440px; background: linear-gradient(180deg, rgba(30, 26, 22, 0.86), rgba(18, 16, 15, 0.94)); border: 1px solid rgba(233, 196, 106, 0.35); border-radius: 22px; padding: 18px 18px 16px; text-align: center; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cu-type { margin: 0; font-size: 12px; color: var(--gold); letter-spacing: 0.12em; font-weight: 650; }
.cu-card h3 { font-family: var(--serif); font-size: 26px; margin: 6px 0 6px; }
.cu-wish { font-family: var(--serif); font-size: 16px; color: rgba(244, 236, 223, 0.92); margin: 0 0 8px; line-height: 1.55; }
.cu-meta { font-size: 12px; color: var(--mute); margin: 0 0 14px; }
.cu-btns { display: flex; gap: 8px; }
.cu-btns > * { flex: 1; }

/* ───────── 시트 ───────── */
#scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.42); z-index: 39; animation: fade 0.25s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-height: 86vh; display: flex; flex-direction: column; margin: 0 auto; max-width: 520px;
  background: var(--glass-strong); border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.sheet.open { transform: none; }
.grab { width: 40px; height: 4px; border-radius: 9px; background: rgba(255, 255, 255, 0.2); margin: 8px auto 0; }
.sheet header { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 6px; }
.sheet h3 { margin: 0; font-family: var(--serif); font-size: 20px; }
.sheet header button { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); color: var(--mute); }
.sheet-body { overflow-y: auto; padding: 8px 18px calc(22px + var(--sab)); -webkit-overflow-scrolling: touch; }
.hint { font-size: 12.5px; color: var(--mute); line-height: 1.55; margin: 2px 0 14px; }

.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.prod { display: flex; flex-direction: column; align-items: center; padding: 14px 6px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); gap: 2px; transition: all 0.2s; }
.prod-ico { font-size: 30px; margin-bottom: 4px; }
.prod-name { font-family: var(--serif); font-weight: 800; font-size: 17px; }
.prod-days { font-size: 11.5px; color: var(--mute); }
.prod-price { font-size: 14px; font-weight: 750; color: var(--gold); margin-top: 4px; }
.prod.sel { background: linear-gradient(180deg, rgba(233, 196, 106, 0.2), rgba(233, 196, 106, 0.05)); border-color: var(--gold); box-shadow: 0 8px 26px rgba(233, 196, 106, 0.16); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--mute); }
.chip.sel { color: var(--ink); background: color-mix(in srgb, var(--c) 25%, transparent); border-color: var(--c); }

.wish-write { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 16px; padding: 10px; margin-bottom: 14px; }
.wish-write textarea { width: 100%; background: none; border: 0; outline: none; color: var(--ink); font-size: 16px; resize: none; font-family: var(--serif); }
.wish-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.check input { accent-color: var(--gold); width: 18px; height: 18px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.list li.empty { justify-content: center; text-align: center; color: var(--mute); font-size: 13px; padding: 30px 0; display: block; }
.dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; flex: none; }
.wish p { margin: 0 0 3px; font-family: var(--serif); font-size: 15px; line-height: 1.5; }
.wish small { color: var(--mute); font-size: 11.5px; }
.wish.paid p { color: #ffe2a2; }
.rank-my { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.rank-my > div { background: rgba(233, 196, 106, 0.08); border: 1px solid rgba(233, 196, 106, 0.25); border-radius: 16px; padding: 12px 14px; }
.rank-my small { display: block; font-size: 11.5px; color: var(--mute); }
.rank-my b { font-size: 26px; color: var(--gold); font-weight: 800; }
.rank li { align-items: center; }
.rk { width: 24px; height: 24px; border-radius: 50%; display: grid; place-content: center; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, 0.07); flex: none; }
.rk1 { background: linear-gradient(#f6dc8f, #c9973e); color: #2a1d0b; }
.rk2 { background: linear-gradient(#e5e5e5, #9b9b9b); color: #222; }
.rk3 { background: linear-gradient(#e6b48a, #9a6a3e); color: #2a1d0b; }
.rank .dot { margin-top: 0; }
.rank b { flex: 1; font-weight: 650; font-size: 14px; }
.rm { font-size: 12px; color: var(--mute); }
.mine li { cursor: pointer; align-items: center; }
.mi { font-size: 26px; }
.mine li div { flex: 1; min-width: 0; }
.mine b { font-size: 14px; }
.mine p { margin: 2px 0; font-family: var(--serif); font-size: 14px; color: rgba(244, 236, 223, 0.85); }
.mine small { font-size: 11px; color: var(--mute); }
.go { font-size: 12px; color: var(--gold); white-space: nowrap; }
.slider { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.slider small { width: 44px; font-size: 12px; color: var(--mute); }
.slider input { flex: 1; accent-color: var(--gold); }
.keys p { font-size: 12.5px; color: var(--mute); line-height: 1.7; margin: 0; }

/* ───────── 모달 · 토스트 · 로딩 ───────── */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(0, 0, 0, 0.55); padding: 20px; animation: fade 0.2s; }
.modal-card { width: 100%; max-width: 360px; background: #1c1b1f; border: 1px solid var(--line); border-radius: 22px; padding: 22px; text-align: center; }
.modal-card h3 { margin: 4px 0 2px; font-family: var(--serif); }
.amt { font-size: 32px; font-weight: 800; color: var(--gold); margin: 6px 0 10px; }
#toast { position: fixed; left: 50%; top: calc(16px + var(--sat)); transform: translate(-50%, -140%); z-index: 70; background: rgba(28, 26, 24, 0.94); border: 1px solid rgba(233, 196, 106, 0.3);
  border-radius: 16px; padding: 11px 18px; text-align: center; transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2); max-width: calc(100vw - 32px); pointer-events: none; }
#toast.show { transform: translate(-50%, 0); }
#toast b { display: block; font-size: 14px; font-weight: 650; }
#toast span { display: block; font-size: 12px; color: var(--mute); margin-top: 2px; }
#loading { position: fixed; inset: 0; z-index: 80; background: #121216; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--mute); font-size: 14px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(233, 196, 106, 0.2); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 420px) {
  .brand h1 { font-size: 36px; }
  .rooms { gap: 6px; }
  .room-name { font-size: 11px; }
  .entry-card { margin-top: 16vh; }
}

.name-box { position: relative; }
.name-box input { padding-right: 64px !important; font-weight: 650; }
#nameTag { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 11px; font-weight: 700; color: var(--gold); background: rgba(233, 196, 106, 0.14); border: 1px solid rgba(233, 196, 106, 0.4); padding: 3px 8px; border-radius: 999px; pointer-events: none; transition: opacity 0.2s; }
#nameTag.mine { color: var(--mute); background: rgba(255, 255, 255, 0.06); border-color: var(--line); }
.name-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.name-actions button { padding: 11px 8px; border-radius: 12px; font-size: 13.5px; font-weight: 650; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; transition: transform 0.12s, background 0.2s; }
.name-actions button:active { transform: scale(0.96); }
#nameDice { background: rgba(233, 196, 106, 0.12); border-color: rgba(233, 196, 106, 0.4); color: var(--gold); }
.name-actions button.on { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
@keyframes nameIn { from { opacity: 0.2; transform: translateY(3px); } }
#entryName.roll { animation: nameIn 0.3s; }

/* 1.1.0 — 공지 · 계좌이체 · 승인 대기 · 앱 정보 */
.notice { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(233, 196, 106, 0.12); border: 1px solid rgba(233, 196, 106, 0.35); color: #f3e6c4; font-size: 13px; line-height: 1.5; white-space: pre-line; word-break: keep-all; }
.acc { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #ffe74a, #f5d400); color: #1d1d1b; text-align: left; }
.acc small { display: block; font-size: 12.5px; opacity: 0.75; }
.acc b { font-size: 20px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.acc .btn-line { color: #1d1d1b; border-color: rgba(0, 0, 0, 0.35); padding: 8px 12px; flex: none; }
.pend { font-style: normal; color: #f0b35a; font-weight: 700; }
.about { display: grid; gap: 6px; margin: 4px 0 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.about div { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); }
.about b { color: inherit; font-weight: 600; user-select: none; -webkit-user-select: none; }
