/* 시안 일치 보정 + 뒤에 덧붙인 수정들 (가장 나중에 로드: 앞 규칙을 덮어씀) */
/* ===== 시안 일치 보정 ===== */
.room .stage{bottom:calc(-1*var(--tabh,78px));container-type:inline-size}
.phone.rm .gstat{display:none}
.cur button{background:#FFFBF5!important;border:2px solid #8C6A6A!important;border-radius:999px!important;box-shadow:none!important;padding:3px 12px 3px 6px!important;min-height:34px!important;font-weight:800;color:#5a3a2a}
.cur button img{width:24px;height:24px}
.phone.rm .gpills{left:0;right:0;bottom:0;padding:2px 24px;background:#FFFBF5;border-top:2px solid #8C6A6A;gap:12px}
.phone.rm .tabs{border-top:0!important}
.rc .nb{top:auto;bottom:100%;left:50%;margin:0 0 6px;transform:translateX(-50%);width:auto;height:auto;border-radius:16px;background:#fff;border:2.5px solid #8a5a3a;padding:5px 12px;font-size:12.5px;font-weight:800;color:#4a2f22;white-space:nowrap;display:block;z-index:7}
.rc .nb::after{bottom:-7px;margin-left:-5px;width:9px;height:9px;border:0;border-right:2.5px solid #8a5a3a;border-bottom:2.5px solid #8a5a3a;background:#fff}
.rc .cav.gi{margin-top:0}
.ro .dot{background:#D98474;border:2px solid #fff;color:#fff;box-shadow:0 0 0 1.5px #b86a5a}
.ro.nest .dot{right:auto;left:-6px;top:2px}
.ro.broom .dot{right:-2px;top:auto;bottom:6px}
.ro.nest::after{content:'';position:absolute;right:-8px;top:-8px;width:22px;height:22px;background:#FFD54A;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);z-index:2}
.ro.broom.has::before{content:'';position:absolute;inset:auto;left:-10px;top:-2px;width:20px;height:20px;background:#FFD54A;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);z-index:2}
.ro.nest .dot.n{background:#D98474;color:#fff;border-color:#fff}

/* 9:16 배경: 버튼 패널 위 영역에 비율 그대로 맞춤 */
.room{container-type:size;background:linear-gradient(#FDF4E8 var(--fl,61%),#80462A var(--fl,61%) calc(var(--fl,61%) + 4px),#FACE9D calc(var(--fl,61%) + 4px) calc(var(--fl,61%) + 12px),#FDD4AB calc(var(--fl,61%) + 12px))!important}
.room .stage{left:50%!important;bottom:var(--ph,76px)!important;transform:translateX(-50%);aspect-ratio:941/1672;width:min(100cqw,calc((100cqh - var(--ph,76px) - 24px) * .5628))}
.ro.nest{left:38.7%;top:37%;width:22.5%}
.ro.shelf{left:74.9%;top:50.5%;width:23.6%}
.ro.broom{left:3%;top:auto;bottom:1.5%;width:23.6%}
.ro.toybox{left:70%;top:auto;bottom:1.5%;width:23.6%}
.nshelf{left:34.6%;top:46.6%;width:30.8%;height:1.2%}

.room .stage .sl,.room .stage .sr{position:absolute;top:0;width:100vw;height:100%;object-fit:fill;max-width:none}
.room .stage .sl{right:calc(100% - 3px);left:auto}.room .stage .sr{left:calc(100% - 3px)}
.room{background:linear-gradient(#FEF5E8 var(--fl,61%),#80462A var(--fl,61%) calc(var(--fl,61%) + 4px),#FACE9D calc(var(--fl,61%) + 4px) calc(var(--fl,61%) + 12px),#FDD4AB calc(var(--fl,61%) + 12px))!important}
.gfull .scene .bgdeco{display:none}
.tree-img{display:block;margin:0 auto;height:auto}
.gfull .scene .tree{width:240px!important}

.phone.gp .gpills{left:0;right:0;bottom:0;padding:6px 24px;background:#FFFBF5;border-top:2px solid #8C6A6A;gap:12px}
.phone.gp .tabs{border-top:0!important}
.gpills .gpill{flex:1;position:relative;height:60px;border:3px solid #5a3420;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:900;font-size:17px;color:#4a2a18;transition:transform .15s;padding:0 10px}
.gpills .gpill:active{transform:scale(.95)}
.gpills .gpill.egg{background:#FDE0C2}
.gpills .gpill.shop{background:#FFE7A8}
.gpills .gpill.hatch{background:#FBC9DC}
.gpills .gpill img{height:42px;width:auto}
.gpills .gpill .gpn{font-size:12px;font-weight:800;opacity:.75}
.gpills .gpill.rd{animation:bob 1.2s ease-in-out infinite}
.gpills .gpill .dot{position:absolute;right:-2px;top:-8px;min-width:22px;height:22px;border-radius:999px;background:#D98474;color:#fff;border:2px solid #fff;font-size:12px;display:grid;place-items:center;font-style:normal;padding:0 5px}

.sb .ib:has(img){background:none;border:0;box-shadow:none;width:56px;height:56px;border-radius:0}
.sb .ib img{width:100%;height:100%;display:block;filter:drop-shadow(0 2px 3px rgba(110,80,50,.3))}
.sbar .sb{color:#5a3a2a;text-shadow:-1.5px -1.5px 0 #fff,1.5px -1.5px 0 #fff,-1.5px 1.5px 0 #fff,1.5px 1.5px 0 #fff}
.sbar .sb .dot{background:#D98474;border-color:#fff;color:#fff;right:0;top:-2px}

html,body,button,input,textarea,select,.phone,.phone *{font-family:"Cafe24 Ssurround","Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif!important}
.phone *{font-synthesis:none}

.gbtn.eggb .ecnt{position:absolute;left:79.3%;width:17%;top:30%;height:38%;border-radius:999px;background:rgba(214,150,100,.2);display:grid;place-items:center;font-size:13px;font-weight:900;color:#4a2a18}

.gpills{justify-content:center;align-items:center}
.gpills .gbtn{flex:0 1 auto;min-width:0;height:58px;display:flex;align-items:center}
.gpills .gbtn img{height:100%;width:auto;max-width:100%;object-fit:contain}
.gbtn.eggb .ecnt{font-size:12px}
.gpills{justify-content:stretch}
.gpills .gbtn{flex:1 1 0;width:0;height:58px!important}
.gpills .gbtn img{width:100%;height:100%;max-width:none;object-fit:fill}
.gpills .gbtn{justify-content:center}


.gpills .gbtn.pb{height:auto!important;aspect-ratio:440/171;container-type:inline-size;position:relative}
.gpills .gbtn.pb img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.gpills .gbtn.pb .pt{position:absolute;left:35%;right:5%;top:0;bottom:0;display:flex;align-items:center;justify-content:center;gap:1.8cqw;font-size:8.8cqw;font-weight:900;color:#4a2a18;white-space:nowrap;pointer-events:none}
.gpills .gbtn.pb .pc{font-style:normal;font-size:6.6cqw;font-weight:900;background:rgba(190,120,80,.22);border-radius:999px;padding:.6cqw 2.4cqw}
.gpills .gbtn.pb .pt{left:38%}
.gpills .gbtn.pb.eggb .pt{left:46%;right:3%;font-size:7.6cqw;gap:1.2cqw}
.gpills .gbtn.pb.eggb .pc{font-size:5.6cqw;padding:.5cqw 1.8cqw}
.fi{height:1.15em;width:auto;vertical-align:-.2em}
.flw .fi{height:16px}
.cav.gi .gl{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
.cav.gi .gl.gc{mix-blend-mode:multiply;opacity:.65}
.cav.gi .gl.gp{opacity:.5}.cav.gi .gl.gp.rb{opacity:.45;mix-blend-mode:soft-light}
div[style*="text-align:center"]>.cav.gi,div[style="margin:16px 0"]>.cav.gi{margin-left:auto;margin-right:auto}
.sysg{font-family:system-ui,"Apple SD Gothic Neo","Malgun Gothic",sans-serif!important}
.who .lvb{width:38px;height:38px;flex-direction:column;line-height:1;background:linear-gradient(#ffd36b,#f0a93a);border:2.5px solid #b9772a;color:#fff;font-size:17px;font-weight:900;text-shadow:0 1px 0 #a8651c;box-shadow:0 2px 0 #b9772a;margin-right:-6px}.who .lvb em{font-style:normal;font-size:8px;letter-spacing:.5px;margin-bottom:1px;opacity:.95}
.side{display:none}.phone.gp .side{display:flex;flex-direction:column;gap:8px;position:absolute;left:14px;top:92px;z-index:7}.side .mailb{position:relative;width:46px;height:46px;border-radius:50%;background:#fff6e3;border:2px solid #ead2a8;box-shadow:0 2px 0 #d9bf90;font-size:22px;display:grid;place-items:center;padding:0}.side .mailb .mbd{position:absolute;top:-6px;right:-5px;min-width:18px;height:18px;border-radius:9px;background:#e5484d;color:#fff;font-style:normal;font-size:11px;font-weight:800;display:grid;place-items:center;padding:0 4px;border:2px solid #fff}
button.who{--w:190px;position:relative;display:block;flex:none;width:var(--w);height:calc(var(--w)*468/1364);min-height:0;padding:0;border:0;border-radius:0;box-shadow:none;background-color:transparent;background-repeat:no-repeat;background-size:100% 100%;background-position:center;margin-top:4px}
button.who .lvn{position:absolute;left:1.5%;top:22%;width:24%;height:40%;display:grid;place-items:center;font-size:calc(var(--w)*.125);font-weight:900;color:#fff;-webkit-text-stroke:calc(var(--w)*.012) #b9772a;paint-order:stroke fill;line-height:1;z-index:2}
button.who .av{position:absolute;left:25.6%;top:23.5%;width:17.4%;height:50.8%;min-width:0;margin:0;border-radius:50%;display:grid;place-items:center;font-size:calc(var(--w)*.1);overflow:hidden;z-index:1}
button.who b{position:absolute;left:47.4%;top:15%;width:45%;height:30%;display:flex;align-items:center;font-size:calc(var(--w)*.08);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;line-height:1}
button.who .xt{position:absolute;left:47.1%;top:50%;width:46%;height:21.8%;margin:0;background:none;border-radius:0;overflow:visible}
button.who .xt i{position:absolute;left:2.4%;top:12%;height:76%;width:calc(95.2%*var(--p));background-size:100% 100%;background-repeat:no-repeat;display:block}
button.who small{position:absolute;left:47.1%;top:50%;width:46%;height:21.8%;display:grid!important;place-items:center;font-size:calc(var(--w)*.045);font-weight:800;color:#fff;-webkit-text-stroke:calc(var(--w)*.008) #8a5a22;paint-order:stroke fill;line-height:1}
@media(max-width:380px){button.who{--w:148px}.cur{gap:3px}.cur button{padding:5px 6px}.cur .mailb{padding:5px 8px}}
.side .mailb{width:56px;height:56px;border:0;background:none;box-shadow:none;border-radius:0;padding:0;font-size:0}.side .mailb .mb{position:absolute;inset:0;width:100%;height:100%}.side .mailb .mi{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);width:40px}.side .mailb .mi.nw{width:41.5px;animation:mwig 2.4s ease-in-out infinite}.side .mailb .mbd{top:-2px;right:-2px}@keyframes mwig{0%,70%,100%{transform:translateX(-50%) rotate(0)}76%{transform:translateX(-50%) rotate(-6deg)}84%{transform:translateX(-50%) rotate(6deg)}92%{transform:translateX(-50%) rotate(-3deg)}}
.tabs button{min-height:72px;justify-content:flex-end;gap:0;padding:4px 0 5px}
.tabs button .ic img{width:42px;height:42px;object-fit:contain}
.tabs button.ctr .ic{margin-top:-20px}
.tabs button.ctr .ic img{width:66px;height:66px}
.tabs button .tl{position:static;width:auto;height:auto;overflow:visible;clip:auto;font-size:11.5px;font-weight:800;color:#7a4f22;text-shadow:none;margin-top:2px;line-height:1.2}
.tabs button.on .tl{color:#b9552a}
.fprops{position:absolute;inset:0;pointer-events:none;z-index:0}.fprops .pp{position:absolute;display:block;filter:drop-shadow(0 3px 2px rgba(60,80,30,.25))}.fprops .h{left:2%;top:34%;width:27%}.fprops .t{right:3%;top:33%;width:19%}.fprops .s{right:4%;bottom:12%;width:14%}.fprops .c{left:6%;bottom:19%;width:14%}
.fbar{position:absolute;left:0;right:0;bottom:0;height:16px;background:#FFFBF5;border-top:2px solid #8C6A6A;z-index:5}
.side .sbtn{position:relative;width:56px;height:56px;border:0;background:none;padding:0;box-shadow:none;border-radius:0}.side .sbtn .mb{position:absolute;inset:0;width:100%;height:100%}.side .sbtn span{position:absolute;inset:0;display:grid;place-items:center;font-size:26px;line-height:1}
.ro.door{left:3%;top:45.5%;width:21%;right:auto;bottom:auto}.ro.door img{width:100%;display:block}
.rc.on .cav.gi{box-shadow:none!important}
html{background:#fff8ef}@media(max-width:600px){body{background:#fff8ef}}
.fbar{display:none}
.tabs{border-top:0!important;position:relative}
.tabs::before{content:'';position:absolute;left:0;right:0;top:-6px;height:6px;background:#FFFBF5;border-top:2px solid #8C6A6A;pointer-events:none;z-index:1}
#view:not(.gm){padding-bottom:8px}
.phone.rm .gpills{padding:0!important;height:6px!important;min-height:0!important;box-sizing:border-box}
.tabs button{z-index:2}.tabs button.ctr{z-index:3}
.prof .av{background:transparent!important;box-shadow:none!important}
.side .sbtn .ib{position:absolute;left:50%;top:50%;width:34px;transform:translate(-50%,-50%);pointer-events:none}
.ro.door{left:2%;top:48%;width:29%}
.ro .dot,.ro .dot.n,.side .mailb .mbd{display:flex!important;align-items:center;justify-content:center;line-height:1;padding:2px 0 0 3px!important;width:24px;height:24px;box-sizing:border-box;font-variant-numeric:tabular-nums}
.lvn{top:25.5%}
.ft{clip-path:polygon(50% 0,100% 36.5%,100% 63.5%,50% 100%,0 63.5%,0 36.5%)}
.rb em{display:none!important}
.ro .dot,.ro .dot.n,.side .mailb .mbd{padding:2px 0 0 1px!important}
button.who .lvn{left:2.2%;top:28.2%}
.prof .av{width:48px!important;height:48px!important;flex:none;display:grid!important;place-items:center;overflow:visible}.prof .av .cav{width:46px!important;height:46px!important;margin:0}.prof .av .cav img{max-height:46px!important;max-width:46px!important;width:auto!important;height:auto!important;margin:auto}
.ra.ok{background:#fff!important;border:2px solid #ffd166}
