/* 쿠키 오븐 — 방 5개(카운터·주방·오븐·원정·연구) 화면. style.css 뒤에 읽혀 덮어쓴다. */

/* ── 머리줄·아래 이동 단추 ── */
.rep, .luck { font-size: 13px; background: #fff8e6; border: 3px solid #7a3d14; border-radius: 12px; padding: 4px 8px; }
.rep b { color: #d2572a; }
.luck { background: #3fa35a; color: #fff; border-color: #1f5a2f; animation: coachT .6s infinite alternate; }
.day b { color: #d2572a; }
#stage { padding-bottom: 6px; position: relative; }
#nav { display: flex; gap: 5px; padding: 0 0 8px; flex: none; }
#nav button { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 0; background: #fff8e6; border: 3px solid #7a3d14; border-radius: 14px; padding: 3px 0 2px; font-size: 12px; box-shadow: 0 3px 0 #7a3d14; }
#nav button img { height: 32px; object-fit: contain; pointer-events: none; }
#nav button.on { background: linear-gradient(#ffd84a, #ffae1a); transform: translateY(2px); box-shadow: 0 1px 0 #7a3d14; }
#nav u { position: absolute; top: -6px; right: -2px; min-width: 22px; height: 22px; line-height: 18px; padding: 0 4px; border-radius: 11px; background: #7a3d14; color: #fff; font-size: 13px; text-decoration: none; border: 2px solid #fff; }
#nav u.red { background: #f0302a; animation: coachT .35s infinite alternate; } #nav u.green { background: #2fa84a; animation: coachT .6s infinite alternate; }
.big img { height: 30px; vertical-align: middle; margin-right: 4px; pointer-events: none; }
.big.poor { filter: grayscale(.8); }
.coach { flex: none; }
.toast { position: fixed; left: 50%; top: 58px; transform: translateX(-50%); z-index: 45; width: max-content; max-width: min(92vw, 500px); background: rgba(58, 30, 12, .94); color: #fff; border: 3px solid #ffd84a; border-radius: 14px; padding: 7px 14px; font-size: 15px; line-height: 1.35; text-align: center; pointer-events: none; animation: toastIn .25s cubic-bezier(.2, 1.6, .4, 1); }
.toast b { color: #ffe86a; }
@keyframes toastIn { from { transform: translateX(-50%) translateY(-20px) scale(.8); opacity: 0; } }
.mini { position: fixed; left: 50%; top: 22%; transform: translateX(-50%); z-index: 46; pointer-events: none; }
.mcard { display: flex; flex-direction: column; align-items: center; background: #fff8e6; border: 5px solid var(--rc); border-radius: 20px; padding: 8px 22px; box-shadow: 0 0 40px var(--rc), 0 8px 0 rgba(0, 0, 0, .3); animation: pop .35s cubic-bezier(.2, 1.7, .4, 1); }
.mcard img { height: 120px; } .mcard img.burnt { filter: brightness(.12); }
.mcard b { font-size: 26px; font-weight: 900; color: var(--rc); -webkit-text-stroke: 5px #3a1e0c; paint-order: stroke fill; }
.mcard span { font-size: 15px; }
.ghost { position: fixed; width: 68px; height: 68px; object-fit: contain; transform: translate(-50%, -60%) rotate(-8deg); pointer-events: none; z-index: 70; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .35)); }

/* ── 카운터: 배경이 어떤 화면 비율에서도 빈 곳 없이 덮이도록 장면 단위(--u)로 놓는다 ── */
.shop { --sh: 86px; --u: max(1cqw, calc((100cqh - var(--sh)) / 130)); background: #5a2d0e; }
.shopbg, .counter { left: 50%; right: auto; top: auto; bottom: calc(var(--sh) - 20 * var(--u)); width: calc(100 * var(--u)); height: calc(150 * var(--u)); transform: translateX(-50%); background: url(assets/art/bg_shop.webp) center / 100% 100% no-repeat; }
.counter { z-index: 5; clip-path: inset(calc(102 * var(--u)) 0 0 0); pointer-events: none; }
.cust, .cust.sad { top: auto; bottom: calc(var(--sh) + 22 * var(--u)); height: min(calc(64 * var(--u)), calc(100cqh - var(--sh) - 22 * var(--u) - 70px)); max-width: 80%; z-index: 3; }
@media (max-height: 720px) { .cust { top: auto; bottom: calc(var(--sh) + 22 * var(--u)); height: min(calc(64 * var(--u)), calc(100cqh - var(--sh) - 22 * var(--u) - 60px)); } }
.cust.kicked { animation: kicked .8s cubic-bezier(.3, 0, .8, .4) forwards; }
@keyframes kicked { to { transform: translate(260%, -120%) rotate(720deg) scale(.4); opacity: 0; } }
.line { position: absolute; left: 1%; bottom: calc(var(--sh) + 24 * var(--u)); z-index: 2; display: flex; }
.line img { height: calc(24 * var(--u)); max-height: 110px; margin-right: calc(-9 * var(--u)); filter: brightness(.55) saturate(.7); }
.bellimg { right: 7%; bottom: calc(var(--sh) + 19 * var(--u)); width: calc(13 * var(--u)); }
.tipjar { position: absolute; left: 5%; bottom: calc(var(--sh) + 19 * var(--u)); width: calc(13 * var(--u)); z-index: 6; text-align: center; }
.tipjar img { width: 100%; display: block; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .35)); }
.tipjar b { position: absolute; left: 0; right: 0; bottom: 14%; font-size: 13px; color: #fff; text-shadow: 0 0 4px #3a1e0c, 0 1px 0 #3a1e0c; }
.bubble { top: 6px; left: 3%; right: 3%; padding: 6px 12px 8px; font-size: 16px; line-height: 1.35; }
.bubble .again { color: #8a6a4a; font-size: 12.5px; } .bubble .again b { color: #b0603a; }
.pbar { height: 7px; background: #ecd9b5; border-radius: 4px; overflow: hidden; margin-bottom: 3px; }
.pbar i { display: block; height: 100%; width: 100%; border-radius: 4px; transition: width .1s linear; }
.t-부자 { color: #c08a00 !important; } .t-거지 { color: #5a8a3a !important; } .t-진상 { color: #d0202a !important; } .t-미식가 { color: #6a3ab0 !important; } .t-보은 { color: #2f8a3a !important; }
.signBox { position: absolute; left: 8%; right: 8%; top: 12%; z-index: 7; text-align: center; background: rgba(255, 248, 230, .95); border: 5px solid #7a3d14; border-radius: 20px; padding: 10px 12px; box-shadow: 0 6px 0 rgba(90, 45, 14, .5); }
.signBox h2 { margin: 0; font-size: 34px; font-weight: 900; color: #fff; -webkit-text-stroke: 8px #7a3d14; paint-order: stroke fill; }
.signBox p { margin: 4px 0 0; font-size: 15px; line-height: 1.4; } .signBox b { color: #d2572a; }
.signBox.small { top: 18%; left: 22%; right: 22%; padding: 6px; }
.store { position: absolute; left: 0; right: 0; bottom: 0; height: var(--sh); z-index: 8; background: linear-gradient(#6a3a16, #4a260c); border-top: 4px solid #3a1c08; padding: 2px 6px 4px; display: flex; flex-direction: column; box-shadow: inset 0 8px 10px rgba(0, 0, 0, .35); }
.store small { color: #ffe9a8; font-size: 12px; line-height: 1.3; }
.store > div { flex: 1; min-height: 0; display: flex; gap: 4px; justify-content: center; }
.sc { position: relative; flex: 1; max-width: 66px; min-width: 0; height: 100%; background: #fff8e6; border: 3px solid var(--rc, #8a5a2a); border-radius: 10px; padding: 0; display: flex; align-items: center; justify-content: center; }
.sc img { max-width: 100%; height: 86%; object-fit: contain; pointer-events: none; }
.sc em { position: absolute; left: 0; right: 0; bottom: -2px; display: flex; justify-content: center; gap: 1px; font-style: normal; }
.sc em .chip { font-size: 9px; padding: 0 3px; margin: 0; line-height: 1.3; }
.sc.empty { background: rgba(0, 0, 0, .28); border: 3px dashed #8a5a2a; }
.store.ask button.sc { animation: scAsk .5s infinite alternate; }
@keyframes scAsk { to { transform: translateY(-5px); box-shadow: 0 0 12px #ffe86a; } }

/* ── 주방 ── */
.kitchen { align-items: center; }
.kTitle { flex: none; background: #7a3d14; color: #ffe9a8; font-weight: 900; font-size: 17px; border-radius: 999px; padding: 3px 16px; text-align: center; }
.kTitle small { font-weight: 400; font-size: 12px; color: #f3d9a8; margin-left: 4px; }
.kHint { flex: none; background: rgba(255, 248, 230, .92); border: 3px solid #7a3d14; border-radius: 12px; padding: 3px 12px; font-size: 14px; text-align: center; }
.d-rich { filter: sepia(.5) saturate(2) hue-rotate(-8deg) brightness(1.05); }
.d-gold { filter: sepia(1) saturate(4.5) hue-rotate(-10deg) brightness(1.15) drop-shadow(0 0 7px #ffd84a); }
.doughs { flex: 1; min-height: 0; width: 100%; display: flex; gap: 6px; align-items: center; }
.dcard { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; background: rgba(255, 248, 230, .96); border: 4px solid #7a3d14; border-radius: 16px; padding: 8px 3px; box-shadow: 0 5px 0 #7a3d14; font-size: 14px; }
.dcard:active { transform: translateY(3px); box-shadow: 0 2px 0 #7a3d14; }
.dcard img { width: 76%; max-width: 110px; }
.dcard b { font-size: 16px; } .dcard span { font-size: 19px; font-weight: 900; color: #d2572a; } .dcard small { font-size: 13px; color: #8a5a3a; display: flex; align-items: center; gap: 3px; }
.dcard p { margin: 2px 0 0; font-size: 12px; line-height: 1.25; color: #8a5a3a; }
.dcard.lock { filter: grayscale(.9) brightness(.82); }
.mixWrap { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.mixWrap p { margin: 0; background: rgba(255, 248, 230, .92); border-radius: 10px; padding: 2px 12px; font-size: 15px; }
.mixBowl { position: relative; width: min(62%, 250px); cursor: pointer; touch-action: none; }
.mixBowl .bowlImg { width: 100%; display: block; transition: transform .12s; pointer-events: none; }
.mixBowl .spoon { position: absolute; left: 34%; top: -22%; width: 34%; transform-origin: 50% 88%; transition: transform .18s; pointer-events: none; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .3)); }
.mbar { width: 76%; height: 18px; background: #fff8e6; border: 3px solid #7a3d14; border-radius: 10px; overflow: hidden; }
.mbar i { display: block; height: 100%; background: linear-gradient(#ffd84a, #ffae1a); transition: width .15s; }
.sheetWrap { position: relative; flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.dsheet { position: relative; width: min(96%, 430px); max-height: 100%; aspect-ratio: 520 / 475; cursor: pointer; touch-action: none; }
.sheetImg { width: 100%; height: 100%; display: block; pointer-events: none; }
.cutmark { position: absolute; width: 27%; transform: translate(-50%, -50%); pointer-events: none; animation: stamp .3s cubic-bezier(.2, 1.8, .4, 1); filter: brightness(.93) drop-shadow(0 0 0 #7a3d14) drop-shadow(0 2px 0 rgba(90, 45, 14, .55)); }
.cutmark.d-rich { filter: sepia(.5) saturate(2) hue-rotate(-8deg) drop-shadow(0 2px 0 rgba(90, 45, 14, .55)); } .cutmark.d-gold { filter: sepia(1) saturate(4.5) hue-rotate(-10deg) brightness(1.1) drop-shadow(0 2px 0 rgba(90, 45, 14, .55)); }
@keyframes stamp { from { transform: translate(-50%, -50%) scale(1.7); opacity: 0; } }
.cutterImg { position: absolute; right: 2%; top: 0; width: 20%; max-width: 86px; pointer-events: none; animation: floaty .7s infinite alternate ease-in-out; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .35)); }
.topWrap { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.board { position: relative; height: 100%; max-height: 300px; aspect-ratio: 1; max-width: 62%; flex: none; }
.boardImg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rawImg { position: absolute; left: 50%; top: 50%; height: 82%; transform: translate(-50%, -50%); pointer-events: none; }
.rawImg.d-plain { filter: drop-shadow(0 4px 0 rgba(90, 45, 14, .35)); }
.piece { position: absolute; width: 21%; transform: translate(-50%, -50%); cursor: pointer; filter: drop-shadow(0 2px 1px rgba(60, 30, 10, .5)); touch-action: none; }
.board.secret { animation: secretGlow2 .7s infinite alternate; }
.topWrap .mix { flex: 1; min-width: 0; align-self: center; font-size: 13px; }
.mix p { margin: 3px 0 0; font-size: 13px; } .mix .warn { color: #d0202a; } .mix .good { color: #2f8a3a; }
.k-top .shelf { width: 100%; display: grid; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 76px; overflow-x: auto; overflow-y: hidden; max-height: none; touch-action: pan-x; overscroll-behavior: contain; }
.k-top .jar { touch-action: pan-x; cursor: grab; user-select: none; -webkit-user-select: none; }
.jar .ing { pointer-events: none; }

/* ── 오븐 ── */
.ovenRoom { gap: 5px; justify-content: flex-start; }
.thermo { flex: none; width: 100%; background: rgba(30, 14, 6, .8); border: 3px solid #a86a3a; border-radius: 12px; padding: 2px 10px 3px; color: #ffe9a8; font-size: 12px; }
.tbar { position: relative; height: 18px; border-radius: 9px; background: linear-gradient(90deg, #3a6ad8, #7ab0e8 30%, #f0c040 60%, #f0502a 85%, #a01010); margin: 1px 0; }
.tz { position: absolute; top: -3px; bottom: -3px; border: 3px solid #fff; border-radius: 8px; background: rgba(63, 216, 91, .75); box-shadow: 0 0 8px #3fd85b; }
.tn { position: absolute; top: -6px; bottom: -6px; width: 8px; margin-left: -4px; background: #fff; border: 2px solid #3a1e0c; border-radius: 4px; transition: left .1s linear; }
.tn.ok { background: #6aff8a; } .tn.hot { background: #ff5a3a; animation: coachT .2s infinite alternate; } .tn.cold { background: #9ad0ff; }
.tlab { display: flex; justify-content: space-between; font-size: 11px; opacity: .85; }
.ovenRoom .ovnWrap { flex: 1; min-height: 80px; max-height: 250px; width: auto; aspect-ratio: 610 / 640; }
.ovenRoom .ovn { height: 100%; width: 100%; animation: none; }
.ovn .glow { background: radial-gradient(ellipse at 50% 100%, #ffb040, rgba(255, 90, 20, .5) 60%, transparent); opacity: var(--heat, 0); animation: none; }
.inside { position: absolute; inset: 4% 2%; display: flex; align-items: flex-end; justify-content: center; gap: 2%; }
.bslot { position: relative; flex: 1; max-width: 46%; height: 100%; }
.inside.n1 .bslot { max-width: 60%; }
.ovn .bslot .bk { left: 0; width: 100%; height: 100%; bottom: 0; transform: scale(calc(.82 + .18 * var(--rise, 0))); transform-origin: 50% 100%; }
.bk.raw { filter: none; } .bk.raw.d-rich { filter: sepia(.5) saturate(2) hue-rotate(-8deg); } .bk.raw.d-gold { filter: sepia(1) saturate(4.5) hue-rotate(-10deg) brightness(1.1); }
.bk.gold { filter: none; opacity: 0; } .bk.char { filter: brightness(.1); opacity: 0; }
.slots4 { flex: none; width: 100%; display: flex; gap: 5px; }
.oslot { flex: 1; min-width: 0; background: #fff8e6; border: 4px solid #7a3d14; border-radius: 14px; padding: 3px 5px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 4px 0 #3a1e0c; font-size: 14px; }
.oslot.empty { background: rgba(30, 14, 6, .55); border-style: dashed; border-color: #a86a3a; color: #c9a57a; box-shadow: none; justify-content: center; min-height: 62px; }
.oslot em { display: flex; height: 22px; } .oslot em .ing { width: 22px; height: 22px; }
.oslot b { font-size: 15px; }
.oslot[data-z=good] { border-color: #e0a800; } .oslot[data-z=perfect] { border-color: #2fa84a; background: #e6ffd8; animation: scAsk .3s infinite alternate; } .oslot[data-z=burnt] { border-color: #3a2a22; background: #b9a59a; }
.dbar { position: relative; width: 100%; height: 14px; background: #f3e2c0; border: 2px solid #7a3d14; border-radius: 7px; overflow: hidden; }
.dbar .z { position: absolute; top: 0; bottom: 0; } .dbar .zg { background: #ffd84a; } .dbar .zp { background: #3fd85b; } .dbar .zb { background: repeating-linear-gradient(45deg, #3a2a22, #3a2a22 5px, #5a3a2a 5px, #5a3a2a 10px); }
.dbar .dm { position: absolute; top: -2px; bottom: -2px; width: 6px; margin-left: -3px; background: #fff; border: 2px solid #3a1e0c; border-radius: 3px; transition: left .1s linear; }
.rawTray { flex: none; width: 100%; background: rgba(30, 14, 6, .7); border: 3px solid #a86a3a; border-radius: 12px; padding: 2px 6px 4px; color: #ffe9a8; font-size: 12px; }
.rawTray > div { display: flex; gap: 4px; min-height: 50px; align-items: center; } .rawTray i { font-style: normal; opacity: .7; font-size: 13px; }
.rawc { position: relative; width: 50px; height: 50px; background: #d9dde2; border: 3px solid #6a7078; border-radius: 10px; padding: 0; }
.rawc img { height: 88%; pointer-events: none; } .rawc em { position: absolute; left: 0; right: 0; bottom: -3px; display: flex; justify-content: center; } .rawc em .ing { width: 17px; height: 17px; }

/* ── 원정 ── */
.mapRoom { flex: 1; min-height: 0; width: 100%; overflow-y: auto; border: 5px solid #5a2d0e; border-radius: 18px; background: #e8cf9a repeating-linear-gradient(0deg, transparent 0 38px, rgba(122, 61, 20, .08) 38px 40px); padding: 8px; display: flex; flex-direction: column; gap: 7px; align-items: center; -webkit-overflow-scrolling: touch; }
.reg { flex: none; width: 100%; display: flex; gap: 8px; align-items: center; background: #fff8e6; border: 4px solid #7a3d14; border-radius: 16px; padding: 6px; }
.reg.lock { filter: grayscale(.85) brightness(.9); }
.rimg { width: 92px; height: 92px; object-fit: contain; flex: none; }
.rinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rinfo > b { font-size: 18px; } .rinfo small { font-size: 12px; color: #8a5a3a; }
.rinfo em { display: flex; gap: 2px; } .rinfo em .ing { width: 30px; height: 30px; }
.rinfo .big { min-height: 38px; font-size: 15px; padding: 2px 8px; border-width: 3px; }
.lockTxt { color: #a0402a !important; font-size: 13px !important; }
.ebar { height: 12px; background: #ecd9b5; border: 2px solid #7a3d14; border-radius: 6px; overflow: hidden; }
.ebar i { display: block; height: 100%; width: 0; background: linear-gradient(#6ad86a, #2fa84a); }
.eteam { display: flex; align-items: center; gap: 2px; } .eteam img { height: 36px; animation: floaty .5s infinite alternate; }
.cell.sel { box-shadow: 0 0 0 4px #ff7a1a; background: #ffe2a8; }
.sfoot { padding: 8px 10px; flex: none; }
.overlay .dayend { flex: none; width: min(92vw, 470px); }
.loot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 6px 0; }
.sum { max-width: 100%; } .sum p { font-size: 17px; line-height: 1.35; }

/* ── 연구 지도 ── */
.treeWrap { flex: 1; min-height: 0; width: 100%; overflow: auto; border: 5px solid #1a2a4a; border-radius: 18px; background: #24365e radial-gradient(circle at 50% 50%, #3a5a9a, #18243e 80%); -webkit-overflow-scrolling: touch; }
.tree { position: relative; width: 660px; height: 660px; margin: 20px; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 2px); background-size: 26px 26px; }
.tree svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tree line { stroke: #53648a; stroke-width: 1; stroke-dasharray: 1.2 1.2; vector-effect: non-scaling-stroke; }
.tree line { stroke-width: 5px; stroke-dasharray: 8 8; } .tree line.can { stroke: #fff; } .tree line.own { stroke: #ffd84a; stroke-dasharray: none; }
.node { position: absolute; width: 68px; height: 68px; margin: -34px; border-radius: 50%; background: #fff8e6; border: 5px solid #7a3d14; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.node img { width: 40px; height: 40px; object-fit: contain; pointer-events: none; }
.node span { position: absolute; top: 100%; margin-top: 2px; white-space: nowrap; font-size: 13px; color: #fff; text-shadow: 0 1px 0 #000, 0 0 4px #000; }
.node em { position: absolute; top: -12px; right: -14px; background: #7a3d14; color: #ffe9a8; font-style: normal; font-size: 12px; border-radius: 9px; padding: 0 6px; border: 2px solid #ffe9a8; }
.node.own { background: #ffe27a; border-color: #ffb81a; box-shadow: 0 0 16px #ffd84a; }
.node.can { animation: nodeCan .7s infinite alternate; } @keyframes nodeCan { to { box-shadow: 0 0 0 6px rgba(255, 255, 255, .45); } }
.node.lock { filter: grayscale(1) brightness(.6); } .node.lock em { display: none; }
.node.sel { outline: 5px solid #3fd8ff; outline-offset: 3px; }
.upInfo { flex: none; width: 100%; background: #fff8e6; border: 4px solid #7a3d14; border-radius: 14px; padding: 6px 10px; text-align: center; font-size: 15px; }
.upInfo > b { font-size: 18px; } .upInfo p { margin: 2px 0 5px; } .upInfo em { font-style: normal; color: #a0402a; }
.upInfo .big { min-height: 46px; }

@media (max-width: 430px) { .rep, .luck { font-size: 11.5px; padding: 3px 5px; } .bubble { font-size: 14.5px; } .dcard p { display: none; } .rimg { width: 74px; height: 74px; } .topbtn { font-size: 13px; padding: 4px 7px; } }
@media (max-height: 720px) { .shop { --sh: 74px; } .signBox h2 { font-size: 26px; } #nav button img { height: 26px; } .mcard img { height: 90px; } }

/* ── 쿠키별 컷신: 모티프 그림·기술 외침 ── */
.cmot { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.msp { position: absolute; left: 0; top: 0; pointer-events: none; filter: drop-shadow(0 0 10px var(--fc)); will-change: transform; }
.camb { position: absolute; left: 50%; top: 45%; width: 0; height: 0; z-index: 3; animation: ambSpin 18s linear infinite; }
.camb img { position: absolute; width: 58px; margin: -29px; filter: drop-shadow(0 0 8px var(--fc)); animation: pop .5s cubic-bezier(.2, 1.7, .4, 1) backwards; }
@keyframes ambSpin { to { transform: rotate(360deg); } }
.cshout { position: absolute; left: 0; right: 0; top: 15%; z-index: 7; text-align: center; font-size: 34px; font-weight: 900; color: #fff; -webkit-text-stroke: 8px #1a0a04; paint-order: stroke fill; text-shadow: 0 0 22px var(--fc), 0 0 6px var(--fc); padding: 0 8px; animation: slam .35s cubic-bezier(.2, 1.6, .4, 1); transition: font-size .4s, top .4s; }
.cshout.small { font-size: 22px; top: 11%; -webkit-text-stroke: 6px #1a0a04; }
.cimg { transition: none; }

/* ── 세계 지도(원정) ── */
.mapRoom { display: block; padding: 0; background: #e8cf9a; position: relative; }
.wmap { position: relative; width: 100%; height: 1180px; background: url(assets/art/bg_map.webp) center / 100% 100% no-repeat; }
.wmap::before { content: ''; position: absolute; inset: 0; background: rgba(255, 244, 214, .28); }
.wmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wmap polyline { fill: none; stroke: #7a3d14; stroke-width: 4px; stroke-dasharray: 3 9; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .7; }
.pin { position: absolute; width: 92px; margin: -46px 0 0 -46px; padding: 0; background: none; display: flex; flex-direction: column; align-items: center; }
.pin img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 5px 3px rgba(60, 30, 10, .45)); pointer-events: none; transition: transform .15s; }
.pin span { margin-top: -6px; background: #7a3d14; color: #ffe9a8; border-radius: 9px; padding: 0 7px; font-size: 12.5px; white-space: nowrap; border: 2px solid #ffe9a8; }
.pin em { position: absolute; top: -8px; font-style: normal; font-size: 13px; color: #ffc81a; text-shadow: 0 0 3px #3a1e0c, 0 1px 0 #3a1e0c, 0 -1px 0 #3a1e0c; letter-spacing: -1px; }
.pin u { position: absolute; top: -6px; right: 0; min-width: 24px; height: 24px; line-height: 20px; border-radius: 12px; background: #2fa84a; color: #fff; border: 2px solid #fff; text-decoration: none; font-size: 14px; animation: coachT .4s infinite alternate; }
.pin u.out { background: #3a7ad8; animation: none; }
.pin.lock img { filter: grayscale(1) brightness(.55) drop-shadow(0 5px 3px rgba(60, 30, 10, .45)); } .pin.lock span { background: #5a5a5a; color: #ddd; border-color: #aaa; }
.pin.sel img { transform: scale(1.22); filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 10px #ffe86a) drop-shadow(0 5px 3px rgba(60, 30, 10, .45)); }
.pin.sel span { background: #d2572a; color: #fff; }
.regInfo { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.regInfo small { font-size: 12.5px; color: #8a5a3a; }
.stars { font-style: normal; color: #f0a800; letter-spacing: -1px; }
.rloot { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; font-size: 12px; }
.rloot span { display: flex; align-items: center; gap: 1px; } .rloot .ing { width: 26px; height: 26px; }
.regInfo .ebar { width: 100%; } .regInfo .big { min-height: 44px; }
.sum .note { font-size: 14px !important; color: #6a3ab0; border-top: 2px dashed #d8c0f0; padding-top: 4px; }
/* ── 단골·콤보·목표·소식·승급 ── */
.hearts { color: #f0306a !important; letter-spacing: -1px; }
.combo { position: absolute; left: 4%; bottom: calc(var(--sh) + 36 * var(--u)); z-index: 7; background: #f0306a; color: #fff; border: 3px solid #fff; border-radius: 12px; padding: 1px 8px; font-size: 14px; font-weight: 900; text-align: center; line-height: 1.15; transform: rotate(-6deg); animation: coachT .4s infinite alternate; box-shadow: 0 3px 0 rgba(90, 20, 40, .6); }
.combo small { display: block; font-size: 11px; font-weight: 400; }
.news { margin: 6px 0 0 !important; font-size: 13.5px !important; background: #e6f0ff; border: 2px dashed #5a8ad8; border-radius: 10px; padding: 3px 8px; color: #2a4a8a; line-height: 1.35 !important; }
.news b { color: #2f6fd8 !important; }
.goals { width: 100%; text-align: left; }
.goal p { display: flex; justify-content: space-between; gap: 8px; margin: 6px 0 2px; font-size: 15px !important; }
.goal.done p { color: #2f8a3a; }
.gbar { position: relative; height: 20px; background: #ecd9b5; border: 2px solid #7a3d14; border-radius: 10px; overflow: hidden; }
.gbar i { display: block; height: 100%; background: linear-gradient(#6ad86a, #2fa84a); } .gbar span { position: absolute; inset: 0; text-align: center; font-size: 13px; line-height: 16px; color: #3a1e0c; }
.rankup .rk { font-size: 26px !important; font-weight: 900; color: #d2572a; }
.cells.npcs { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
.cells.npcs .cell u { left: 0; right: 0; text-align: center; color: #f0306a; font-size: 10.5px; background: rgba(255, 255, 255, .8); }
.cells.npcs .t-부자 { border-color: #e0a800; } .cells.npcs .t-거지 { border-color: #6aa84a; } .cells.npcs .t-진상 { border-color: #d0202a; } .cells.npcs .t-미식가 { border-color: #8a5ad8; }
.sec small { font-size: 12px; color: #8a5a3a; }
#goalBtn b { color: #2f8a3a; }
@media (max-width: 430px) { .pin { width: 78px; margin: -39px 0 0 -39px; } .pin img { width: 68px; height: 68px; } .pin span { font-size: 11px; } #goalBtn { font-size: 12px; padding: 4px 5px; } .day { font-size: 12px !important; } }

/* ── 손맛 ── */
.popTxt { position: fixed; z-index: 65; transform: translate(-50%, -50%); pointer-events: none; font-size: 20px; font-weight: 900; -webkit-text-stroke: 5px #3a1e0c; paint-order: stroke fill; white-space: nowrap; animation: popUp .9s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.popTxt.huge { font-size: 40px; -webkit-text-stroke: 8px #3a1e0c; animation: popBig 1.2s cubic-bezier(.2, 1.6, .4, 1) forwards; text-shadow: 0 0 18px currentColor; }
@keyframes popUp { 0% { transform: translate(-50%, -30%) scale(.4); opacity: 0; } 20% { transform: translate(-50%, -60%) scale(1.2); opacity: 1; } 100% { transform: translate(-50%, -190%) scale(1); opacity: 0; } }
@keyframes popBig { 0% { transform: translate(-50%, -50%) scale(2.6) rotate(-8deg); opacity: 0; } 18% { transform: translate(-50%, -50%) scale(.9) rotate(-4deg); opacity: 1; } 30% { transform: translate(-50%, -50%) scale(1.08) rotate(-4deg); } 75% { transform: translate(-50%, -62%) scale(1) rotate(-4deg); opacity: 1; } 100% { transform: translate(-50%, -110%) scale(1) rotate(-4deg); opacity: 0; } }
.flyer { position: fixed; left: 0; top: 0; z-index: 64; pointer-events: none; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .35)); }
.scrFlash { position: fixed; inset: 0; z-index: 63; pointer-events: none; opacity: 0; }
.big, .topbtn, #nav button, .dcard, .oslot, .rawc, .sc, .jar, .cell, .pin img, .node img { transition: transform .09s cubic-bezier(.2, 1.8, .4, 1), filter .09s; }
.big:active, .topbtn:active, .dcard:active, .oslot:active, .rawc:active, button.sc:active, button.cell:active { transform: scale(.93); filter: brightness(1.1); }
#nav button:active { transform: scale(.92) translateY(2px); } .pin:active img, .node:active img { transform: scale(.88); } .jar:active { transform: scale(1.08) rotate(-3deg); }
.piece.new { animation: dropIn .32s cubic-bezier(.2, 1.9, .4, 1); }
@keyframes dropIn { 0% { transform: translate(-50%, -150%) scale(1.6) rotate(-20deg); opacity: 0; } 60% { transform: translate(-50%, -46%) scale(.9, 1.1); opacity: 1; } }
.board.over { filter: drop-shadow(0 0 14px #ffe86a) brightness(1.06); }
.ghost { animation: ghostUp .15s cubic-bezier(.2, 1.8, .4, 1); width: 78px; height: 78px; }
@keyframes ghostUp { from { transform: translate(-50%, -40%) scale(.6); } }
.mixBowl:active .bowlImg { transform: scale(.97); }
.oslot[data-z=perfect] b { color: #2f8a3a; font-size: 17px; } .oslot[data-z=burnt] b { color: #6a2a1a; }
.tn.ok { box-shadow: 0 0 10px #6aff8a; }
#muteBtn { width: 34px; padding: 4px 0; } #muteBtn.off { opacity: .45; text-decoration: line-through; }
@media (max-width: 430px) { .popTxt.huge { font-size: 32px; } #muteBtn { width: 28px; } .rep { display: none; } }
