/* 미색 UI(app.css) 위에 얹는 것: 겉모습(색·선·글꼴)은 app.css 그대로 두고, 위젯·마음일기 달력처럼 나중에 만든 부품만 여기 둔다.
   게임식 껍데기(남색 테두리·노랑 단추)는 css/skin.css 에 그대로 있다. index.html 에서 이 파일 대신 skin.css 를 부르면 그쪽으로 바뀐다. */
:root{--N:#162B4C;--mustard:#FDD777;--heart:#FDD777;--mustard-soft:#FFF3CF;--pale:#BDD9F7;--mint:#D0ECE4;--beige:#F3E6D3}
.mood .mtile{--tint:#fff;--deep:var(--mustard)}
.hatirow .say,.hatirow.h-rest .say,.hatirow.h-ecstatic .say{background:#fff}
.hatirow .say small{color:var(--ink2)}
/* 위젯(새 구성): 왼쪽에 하티의 말과 요일 동그라미 다섯 개, 오른쪽에 하티. 때가 늦을수록 바탕이 진해진다 */
.wd.hw2{--bg:#BFEBDD;--fg:var(--N);--dot:rgba(22,43,76,.14);position:relative;display:block;width:100%;text-align:left;background:var(--bg);color:var(--fg);border:0;overflow:hidden;padding:0;grid-template-columns:none}
.hw2-l{position:relative;z-index:1;display:flex;flex-direction:column;height:100%;padding:14px 0 14px 18px;width:62%}
.hw2 .strk{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:800;opacity:.8}
.hw2 .strk svg{width:15px;height:15px}
.hw2 .say{font-size:21px;line-height:1.25;font-weight:800;letter-spacing:-.03em;margin-top:6px;word-break:keep-all}
.hw2 .days{display:flex;gap:8px;margin-top:auto}
.hw2 .days span{display:flex;flex-direction:column;align-items:center;gap:4px}
.hw2 .days em{font-style:normal;font-size:12px;font-weight:800;line-height:1;opacity:.85}
.hw2 .days i{width:30px;height:30px;border-radius:50%;background:var(--dot);display:grid;place-items:center}
.hw2 .days i svg{width:22px;height:22px}
.hw2 .days .dok i{background:#fff}
.hw2 .days .dnow:not(.dok) i{background:none;box-shadow:inset 0 0 0 2.5px currentColor;opacity:.75}
.hw2 .days .ice i{background:#fff;box-shadow:none;opacity:1}
.hw2 .days .ice i::after{content:"❄";font-size:16px;color:#6FA8DC}
.hw2 img.hati{position:absolute;right:-4px;bottom:-6px;width:46%;height:96%;object-fit:contain;object-position:right bottom}
.hw2.s-pm{--bg:#9CCBF5}
.hw2.s-eve{--bg:#C9B3F2}
.hw2.s-night{--bg:#E8553F;--fg:#fff;--dot:rgba(255,255,255,.28)}
.hw2.s-night.h-glow{--bg:#3A1422}
.hw2.s-lost{--bg:#1D2742;--fg:#fff;--dot:rgba(255,255,255,.18)}
.hw2.s-rest{--bg:#D8E9FB}
.hw2.s-done{--bg:#FFE08A;--dot:rgba(22,43,76,.12)}
.hw2:active{transform:scale(.98)}
.hw2 img.hati{right:6px;width:42%}
/* 위젯 분위기: 단색 대신 위아래로 번지는 색, 하티 뒤 빛무리, 단계마다 다른 무늬(비·별·눈·색종이) */
.wd.hw2{background:linear-gradient(180deg,var(--bg2,var(--bg)) 0%,var(--bg) 100%)}
.wd.hw2::before{content:"";position:absolute;right:-8%;bottom:-30%;width:62%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,var(--glow,rgba(255,255,255,.55)) 0%,transparent 68%);pointer-events:none}
.wd.hw2::after{content:"";position:absolute;inset:0;pointer-events:none;background-image:var(--fx,none);background-size:var(--fxs,auto);opacity:var(--fxo,1)}
.hw2 img.hati{z-index:1;filter:drop-shadow(0 4px 0 rgba(22,43,76,.12))}
.hw2.s-am{--bg2:#FFF3CF;--bg:#BFEBDD;--glow:rgba(255,236,150,.9)}
.hw2.s-pm{--bg2:#CFE6FB;--bg:#8FC3F2;--fx:radial-gradient(ellipse 26px 9px at 30px 14px,rgba(255,255,255,.7) 98%,transparent),radial-gradient(ellipse 18px 7px at 86px 30px,rgba(255,255,255,.55) 98%,transparent);--fxs:150px 70px}
.hw2.s-eve{--bg2:#F5B7D2;--bg:#B49AEE;--fx:radial-gradient(circle 1.6px at 12px 10px,#fff 98%,transparent),radial-gradient(circle 1.2px at 46px 30px,#fff 98%,transparent),radial-gradient(circle 1.8px at 78px 12px,#fff 98%,transparent);--fxs:96px 52px;--fxo:.8}
.hw2.s-night{--bg2:#FF8A5C;--bg:#D93A2B;--glow:rgba(255,214,90,.75);--fx:linear-gradient(180deg,transparent 0 55%,rgba(255,255,255,.35) 55% 100%);--fxs:3px 26px;--fxo:0}
.hw2.s-night::after{background:repeating-linear-gradient(115deg,transparent 0 22px,rgba(255,255,255,.10) 22px 26px);opacity:1}
.hw2.s-night.h-glow{--bg2:#5A1B2E;--bg:#22101C;--glow:rgba(255,80,60,.55)}
.hw2.s-lost{--bg2:#1A2340;--bg:#2C4E8A;--glow:rgba(120,190,255,.55)}
.hw2.s-lost::after{background-image:linear-gradient(180deg,rgba(130,200,255,0) 0,rgba(130,200,255,.75) 100%),linear-gradient(180deg,rgba(130,200,255,0) 0,rgba(130,200,255,.6) 100%),linear-gradient(180deg,rgba(130,200,255,0) 0,rgba(130,200,255,.7) 100%);background-size:3px 22px,3px 16px,3px 26px;background-position:18px 6px,58px 40px,96px 18px;background-repeat:repeat;background-size:120px 78px,120px 78px,120px 78px;-webkit-mask:repeating-linear-gradient(90deg,#000 0 3px,transparent 3px 38px);mask:repeating-linear-gradient(90deg,#000 0 3px,transparent 3px 38px);opacity:.8}
.hw2.s-rest{--bg2:#F2F8FF;--bg:#C5DDF8;--fx:radial-gradient(circle 2.4px at 14px 12px,#fff 98%,transparent),radial-gradient(circle 1.6px at 52px 34px,#fff 98%,transparent),radial-gradient(circle 2px at 84px 8px,#fff 98%,transparent);--fxs:104px 50px}
.hw2.s-done{--bg2:#FFF3CF;--bg:#FFD45E;--glow:rgba(255,255,255,.8);--fx:linear-gradient(45deg,#fff 0 100%),linear-gradient(-30deg,#F08E7A 0 100%),linear-gradient(20deg,#8FC3F2 0 100%),linear-gradient(60deg,#7FD1B4 0 100%);--fxs:6px 10px}
.hw2.s-done::after{background-repeat:no-repeat;background-position:58% 14%,72% 30%,90% 10%,64% 52%;-webkit-mask:none;mask:none}
/* 위젯 미리 보기 단추: 시각·날수라 작게 */
.hs-ctl .segs.wseg{gap:6px}
.hs-ctl .segs.wseg button{padding:0 10px;min-height:38px;font-size:14px}
/* 안 온 날이 길어질수록 더 어둡고 차갑게 */
.hw2.s-lost.a1{--bg2:#3A4E86;--bg:#5E86C9}
.hw2.s-lost.a2{--bg2:#2A3A6E;--bg:#4268AE}
.hw2.s-lost.a3{--bg2:#1F2C58;--bg:#33558F}
.hw2.s-lost.a4{--bg2:#161F44;--bg:#274475}
.hw2.s-lost.a5{--bg2:#101836;--bg:#1E3A66;--glow:rgba(170,220,255,.7)}
.hw2.s-lost.a6{--bg2:#0B1024;--bg:#232B3A;--glow:rgba(200,200,210,.35)}
.wd.hw2{flex:none;height:172px;min-height:172px}
.hs{overflow-y:auto}
/* 안 온 날: 세로 빗줄기가 글씨를 가려서 뺐다. 번지는 색과 하티 뒤 빛무리만 남긴다 */
.hw2.s-lost::after{display:none}
/* 위젯 색을 브랜드 색 안에서만: 민트 → 하늘 → 청색 → 빨강 → 남색, 완료는 노랑. 보라·분홍·주황은 쓰지 않는다 */
.hw2.s-am{--bg2:#FFFFFF;--bg:#D0ECE4;--glow:rgba(253,215,119,.7)}
.hw2.s-pm{--bg2:#E3F0FC;--bg:#BDD9F7;--glow:rgba(255,255,255,.7)}
.hw2.s-eve{--bg2:#7C9BCB;--bg:#5B7FB5;--fg:#fff;--dot:rgba(255,255,255,.25);--glow:rgba(189,217,247,.6)}
.hw2.s-night{--bg2:#E7635F;--bg:#DE4844;--fg:#fff;--dot:rgba(255,255,255,.28);--glow:rgba(253,215,119,.7)}
.hw2.s-night.h-glow{--bg2:#2B4A7A;--bg:#162B4C;--glow:rgba(222,72,68,.5)}
.hw2.s-done{--bg2:#FFF3CF;--bg:#FDD777;--glow:rgba(255,255,255,.8)}
.hw2.s-lost.a1{--bg2:#7C9BCB;--bg:#5B7FB5;--glow:rgba(189,217,247,.55)}
.hw2.s-lost.a2{--bg2:#5B7FB5;--bg:#43659C}
.hw2.s-lost.a3{--bg2:#43659C;--bg:#2B4A7A}
.hw2.s-lost.a4{--bg2:#2B4A7A;--bg:#213B66}
.hw2.s-lost.a5{--bg2:#213B66;--bg:#162B4C;--glow:rgba(189,217,247,.6)}
.hw2.s-lost.a6{--bg2:#162B4C;--bg:#0F1E36;--glow:rgba(226,207,168,.3)}
.hw2.s-done::after{--fx:linear-gradient(45deg,#fff 0 100%),linear-gradient(-30deg,#DE4844 0 100%),linear-gradient(20deg,#BDD9F7 0 100%),linear-gradient(60deg,#D0ECE4 0 100%)}
/* 노랑은 브랜드 노랑(#FDD777) 하나 */
:root,html .phone,html .phone.lite,html .phone.dark{--mustard:#FDD777;--heart:#FDD777}
/* 위젯 속 하티가 위에서 잘리지 않게 */
.hw2 img.hati{bottom:0;height:90%}
.hw2.h-sign img.hati{height:84%}
/* 마음일기 쓰는 칸: 고른 말이 첫 줄로 들어가고 그 아래에 덧붙여 쓴다 */
.dpaper{background:#fff;border:1.5px solid var(--line);border-radius:24px;padding:14px 16px}
.dpaper .dline{margin:0 0 6px;font-size:16px;line-height:1.6;color:var(--ink)}
.dpaper .diary{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;outline:0}
/* 마음일기 달력 */
.dcal{margin-top:16px;background:#fff;border:1.5px solid var(--line);border-radius:28px;padding:16px 12px 12px}
.dcal .dhd{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}
.dcal .dm{margin:0;font-family:var(--round);font-size:19px;color:var(--ink)}
.dcal .dw,.dcal .dg{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.dcal .dw span{text-align:center;font-size:13px;color:var(--ink2);padding-bottom:4px}
.dcal .dg i{font-style:normal;aspect-ratio:1/1.15;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:1px;padding:3px 0}
.dcal .dg i img.w{width:76%;height:auto;aspect-ratio:1;object-fit:contain;background:none;padding:0;border-radius:0}
.dcal .dg i b{font-size:12px;font-weight:500;color:var(--ink);line-height:1.2}
.dcal .dg i.later b{color:var(--ink3)}
.dcal .dg i.now{background:var(--coral50)}
.dcal .dhd button{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);background:#fff;color:var(--ink2);display:grid;place-items:center;box-shadow:0 3px 0 var(--line)}
.dcal .dhd button:active{transform:translateY(3px);box-shadow:0 0 0 var(--line)}
.dcal .dhd button:disabled{opacity:.35;box-shadow:none}
/* 하트를 얻었을 때의 효과(팝업 대신) */
#yh-fx{position:fixed;overflow:hidden;pointer-events:none;z-index:90}
#yh-fx .pop{position:absolute;bottom:-18px;width:7px;height:15px;border-radius:3px}
.hfx{position:absolute;left:0;right:0;top:34%;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:0 24px;transition:opacity .5s .9s}
.hfx.out{opacity:0}
.hfx .hh{width:108px;height:108px;display:block;animation:dugeun 1.3s ease-in-out both;filter:drop-shadow(0 8px 14px rgba(120,90,20,.25))}
.hfx .hh svg,.hfly svg{width:100%;height:100%;display:block}
.hfx b,.hfx small,.hfx em{background:rgba(255,255,255,.94);border-radius:999px;padding:6px 16px;animation:hfxin .35s .15s both}
.hfx b{margin-top:10px;font-family:var(--round);font-weight:400;font-size:20px;color:var(--ink)}
.hfx small{font-size:14px;color:var(--ink2);animation-delay:.25s}
.hfx em{font-style:normal;font-family:var(--round);font-size:16px;color:var(--coralD);animation-delay:.35s}
.hfly{position:absolute;display:block}
@keyframes dugeun{0%{transform:scale(.2);opacity:0}16%{transform:scale(1);opacity:1}34%{transform:scale(1.24)}46%{transform:scale(1)}64%{transform:scale(1.24)}76%,100%{transform:scale(1)}}
@keyframes hfxin{from{opacity:0;transform:translateY(8px)}}
@media (prefers-reduced-motion:reduce){#yh-fx .pop{display:none}.hfx .hh{animation:none}}
.hfx .hh path,.hfly path{stroke:#E3A93A;stroke-width:1.3}
.hfx b,.hfx small,.hfx em{background:#fff;box-shadow:0 3px 10px rgba(90,70,30,.14)}
/* 얼굴 있는 하트로, 더 크게 */
.hfx{top:30%}
.hfx .hh{width:min(176px,42%);height:auto;aspect-ratio:1;filter:drop-shadow(0 10px 16px rgba(120,90,20,.28))}
.hfx .hh img,.hfly img{width:100%;height:100%;object-fit:contain;display:block}
.hfx.gone .hh{transition:transform .5s,opacity .5s;transform:scale(.4);opacity:0}
/* 하트친구 목록 제목 줄: 오른쪽에 "모두에게 보내기" */
.sec-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sec-row .pill-btn{flex:none}
.sec-row{margin:28px 0 12px}
.sec-row .sec-label{margin:0}
.sec-row .pill-btn:not(.sent){background:var(--coral);color:#fff}
.sec-row .pill-btn.sent{background:var(--coral50);color:var(--coralD);box-shadow:none}
.hfx small{border-radius:18px;line-height:1.5}
.dcal .dg i.can{cursor:pointer}
.dcal .dg i.can:active{background:var(--coral50)}

/* 시험(?path): 듀오링고처럼 이어지는 이야기 길 */
.epcard{background:#fff;border:1.5px solid var(--line);border-radius:22px;padding:16px 14px 12px}
.epsum{display:grid;gap:8px;margin:0 0 6px}
.epsum b{font-family:var(--round);font-weight:400;font-size:16px;color:var(--ink)}
.epsum span{height:10px;border-radius:99px;background:var(--mustard-soft);overflow:hidden}
.epsum i{display:block;height:100%;border-radius:99px;background:var(--mustard)}
.epmore{display:block;width:100%;text-align:center;color:var(--ink2);font-size:14px;margin:10px 0 0;padding:6px}
button.epmore{color:var(--coralD);font-family:var(--round);font-size:15px;min-height:44px}
.eppath{display:flex;flex-direction:column;align-items:center;gap:14px;padding:10px 0 6px}
.epband{align-self:stretch;display:flex;align-items:center;gap:10px;background:var(--cream);border:1.5px solid var(--line);border-radius:16px;padding:8px 12px;margin:6px 0 2px}
.epband.on{background:var(--mustard-soft);border-color:var(--mustard)}
.epband img,.epband i{width:44px;height:44px;flex:none;border-radius:12px;object-fit:cover}
.epband i{display:grid;place-items:center;background:var(--beige);color:var(--ink2);font:400 18px var(--round)}
.epband span{flex:1;min-width:0;display:grid}
.epband b{font-family:var(--round);font-weight:400;font-size:16px;color:var(--ink)}
.epband small{color:var(--ink2);font-size:13px}
.epband em{font-style:normal;font-size:13px;color:var(--ink2);white-space:nowrap}
.epband.on em{color:var(--coralD);font-family:var(--round);font-size:15px}
.ep{position:relative;width:62px;height:62px;flex:none;border-radius:50%;display:grid;place-items:center;font:400 22px var(--round);box-shadow:0 5px 0 rgba(0,0,0,.1)}
.ep.done{background:var(--mustard);color:#fff}
.ep.off{background:var(--beige);color:#C9BBA4;box-shadow:0 5px 0 rgba(0,0,0,.05)}
.ep.next{background:#fff;border:2px dashed var(--mustard);color:var(--ink2);box-shadow:none}
.ep.cur{width:78px;height:78px;background:var(--coral);box-shadow:0 5px 0 var(--coralD);margin:22px 0 4px}
.ep.cur .pf{position:absolute;inset:5px;border-radius:50%;overflow:hidden;background:#FFF6EC}
.ep.cur .pf img{position:absolute;left:50%;top:8%;width:96%;translate:-50% 0}
.ep .tag{position:absolute;left:50%;bottom:calc(100% + 8px);translate:-50% 0;background:var(--coral);color:#fff;font:400 14px var(--round);padding:4px 10px;border-radius:10px;white-space:nowrap;animation:eptag 1.6s ease-in-out infinite}
.ep .tag.need{position:absolute;left:calc(100% + 8px);bottom:auto;top:50%;translate:0 -50%;background:var(--mustard-soft);color:var(--ink);animation:none;display:inline-flex;align-items:center;gap:3px}
.ep .tag.need svg{width:14px;height:14px}
@keyframes eptag{50%{transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.ep .tag{animation:none}}

/* 마음일기 나누기와 읽기 */
.dshare{display:flex;align-items:center;gap:12px;width:100%;margin-top:12px;padding:12px 14px;text-align:left;background:#fff;border:1.5px solid var(--line);border-radius:18px;min-height:56px}
.dshare span{flex:1;display:grid;gap:2px}
.dshare b{font-family:var(--round);font-weight:400;font-size:16px;color:var(--ink)}
.dshare small{font-size:13px;color:var(--ink2);line-height:1.4}
.dshare i{flex:none;width:46px;height:28px;border-radius:99px;background:var(--line);position:relative;transition:background .15s}
.dshare i::after{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:translate .15s}
.dshare.on{border-color:var(--coral);background:var(--coral50)}
.dshare.on i{background:var(--coral)}
.dshare.on i::after{translate:18px 0}
.dbtns{display:flex;flex-wrap:wrap;gap:8px}
.dentry .pill-btn.line{background:#fff;color:var(--coralD);border:1.5px solid var(--coral);box-shadow:none}
.dentry .pill-btn.sent{background:var(--coral50);color:var(--coralD);box-shadow:none}
.modal.reads{align-items:stretch;gap:10px}
.modal.reads>svg,.modal.reads>img{align-self:center}
.rd{text-align:left;background:var(--cream);border:1.5px solid var(--line);border-radius:18px;padding:12px 14px;display:grid;gap:6px}
.rd.mine{background:var(--mustard-soft);border-color:var(--mustard)}
.rd small{font-size:13px;color:var(--ink2)}
.rd p{font-size:16px;line-height:1.55;color:var(--ink);white-space:pre-wrap;word-break:break-word;margin:0}
.rh{justify-self:end;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 14px;border-radius:99px;background:var(--coral);color:#fff;font:400 15px var(--round)}
.rh svg{width:18px;height:18px}
.rh.on{background:var(--coral50);color:var(--coralD)}

/* 날씨 칸: "오늘" 글자를 빼고, 나눈 마음일기 수를 보여 준다 */
.mtile .cnt::before{content:none}
.mtile{gap:4px;padding:12px 8px 8px}
.mtile .top2{padding:0 4px}
.mtile .cnt{padding:0 4px;margin:0 0 6px;font-size:12px;white-space:nowrap}
.mtile .cnt strong{font-size:14px}
.mtile .gm{margin:0 0 4px 4px}
.mtile .dc{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:3px;min-height:34px;border-radius:12px;background:var(--coral50);color:var(--coralD);font:400 13px/1 var(--round);white-space:nowrap}
.mtile .dc b{font-weight:400;font-size:15px}
.mtile .dc i{font-style:normal;font-size:15px;margin-left:2px;opacity:.7}
.mtile .dc:active{background:#F9D9CC}

/* 알림: 내가 나눈 일기에 온 하트 */
.modal.reads>.ico{align-self:center;width:56px;height:56px}
.nw{display:flex;align-items:center;gap:12px;text-align:left;background:var(--cream);border:1.5px solid var(--line);border-radius:18px;padding:12px 14px;min-height:64px}
.nw.new{background:var(--mustard-soft);border-color:var(--mustard)}
.nw img{width:40px;height:auto;flex:none}
.nw span{display:grid;gap:2px}
.nw b{font-family:var(--round);font-weight:400;font-size:16px;line-height:1.35;color:var(--ink)}
.nw small{font-size:13px;color:var(--ink2);line-height:1.4}
.dentry .dh .dgot{margin-left:auto;display:inline-flex;align-items:center;gap:4px;background:var(--mustard-soft);border-radius:99px;padding:5px 10px;font:400 15px var(--round);color:var(--ink)}
.dgot svg{width:16px;height:16px}

/* 나눈 일기 신고하기 */
.rdrow{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rrep{min-height:44px;padding:0 6px;font-size:13px;color:var(--ink2);text-decoration:underline;text-underline-offset:3px;justify-self:start}
.rd.ask{border-color:var(--coral)}
.rd.ask>b{font-family:var(--round);font-weight:400;font-size:16px;color:var(--ink);margin-top:4px}
.rwhy{display:grid;gap:6px}
.rwhy button{min-height:44px;text-align:left;padding:8px 14px;border-radius:14px;background:#fff;border:1.5px solid var(--line);font-size:15px;color:var(--ink)}
.rwhy button:active{background:var(--coral50);border-color:var(--coral)}
.rd.gone{background:#fff;border-style:dashed}
.rd.gone p{color:var(--ink2);font-size:15px}

/* 나눈 일기가 받은 하트 수 */
.rd>small{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rgot{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1.5px solid var(--line);border-radius:99px;padding:3px 10px;font:400 15px var(--round);color:var(--ink);font-variant-numeric:tabular-nums}
.rgot svg{width:15px;height:15px}
.rgot.up{background:var(--mustard-soft);border-color:var(--mustard)}
.rd.mine .rgot{border-color:var(--mustard)}

/* 받은 하트는 노란 하트와 숫자만, 신고는 그 옆 깃발 아이콘 */
.rd>small{justify-content:flex-start;gap:2px;min-height:32px}
.rgot,.rgot.up,.rd.mine .rgot{margin-left:auto;background:none;border:0;padding:0;gap:4px;font-size:16px}
.rgot svg{width:17px;height:17px}
.rflag{flex:none;width:44px;height:44px;margin:-6px -12px -6px 0;display:grid;place-items:center;color:var(--ink3)}
.rflag:active{color:var(--coralD)}
.rdrow{justify-content:flex-end}

/* 나눈 일기의 글쓴이 이름 */
.rd .rn{font-family:var(--round);font-weight:400;font-size:16px;color:var(--ink);margin-right:6px}

/* 나눈 일기에서 하트친구 신청 */
.rfr{flex:none;display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:99px;border:1.5px solid var(--coral);background:#fff;color:var(--coralD);font:400 13px var(--round);white-space:nowrap;position:relative}
button.rfr::after{content:"";position:absolute;inset:-8px -4px}
.rfr.done{border-color:var(--line);background:none;color:var(--ink2)}

/* 하트친구 신청: 알림 창과 친구 탭 */
.nw.req{align-items:flex-start}
.nw .pf{flex:none;width:48px;height:48px;border-radius:50%;background:#EDE7DA;overflow:hidden;position:relative;display:block}
.nw .pf img{position:absolute;left:50%;top:8%;width:96%;height:auto;translate:-50% 0}
.nw.req>span:last-child{flex:1;min-width:0}
.nbtn{display:flex!important;gap:8px;margin-top:8px}
.nbtn .pill-btn{background:var(--coral);color:#fff;min-height:44px;padding:8px 18px}
.nbtn .pill-btn.line{background:#fff;color:var(--ink2);border:1.5px solid var(--line);box-shadow:none}
.nw em{font-style:normal;font:400 14px var(--round);color:var(--coralD);margin-top:4px}
.hbody>.nw{margin-bottom:8px;width:100%}

/* 하트친구 신청: 하트 안에 + 가 든 아이콘 */
.rfr,.rfr.done{min-height:0;padding:0;border:0;background:none;width:30px;height:30px;display:grid;place-items:center}
.rfr svg{width:28px;height:28px}
.rfr .h{fill:var(--coral);stroke:none}
.rfr .p{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rfr.wait .h{fill:#D9D3C4}
.rfr.isf .h{fill:var(--mustard)}
button.rfr:active{transform:scale(.88)}

/* 하트친구 아이콘 색: 신청 전은 산호색 선, 신청 뒤는 회색 선, 친구는 산호색으로 채움 */
.rfr .h{fill:#fff;stroke:var(--coral);stroke-width:1.7;stroke-linejoin:round}
.rfr .p{stroke:var(--coral);stroke-width:1.9}
.rfr.wait .h{fill:#fff;stroke:#C4BDAC}
.rfr.wait .p{stroke:#B0A995}
.rfr.isf .h{fill:var(--coral);stroke:var(--coral)}

/* 하트친구 아이콘을 받은 하트 수의 노란 하트와 같은 그림·같은 크기로 */
.rfr,.rfr.done{width:22px;height:30px}
.rfr svg,.rgot svg{width:21px;height:19px}
.rfr svg>path:first-child{fill:#FDD777;stroke:#182448;stroke-width:2.4}
.rfr .p,.rfr.wait .p{fill:none;stroke:#182448;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.rfr.wait svg>path:first-child{fill:#EFEADB;stroke:#A9A597}
.rfr.wait .p{stroke:#A9A597}
.rfr.wait ellipse{display:none}

/* 하트친구 신청 아이콘: 하트 대신 사람 + 표시(선 아이콘) */
.rfr,.rfr.done{width:26px;height:30px}
.rfr svg{width:24px;height:24px;fill:none;stroke:var(--coral);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rfr svg>path:first-child,.rfr svg>*{fill:none;stroke:inherit;stroke-width:inherit}
.rfr.wait svg{stroke:#B0A995}
.rfr.wait .dot{stroke-width:2.6}
.rfr.isf svg{stroke:var(--ink2)}

.nw img.ico{width:48px;margin:-4px}

/* 하트친구가 오늘 나눈 마음일기 */
.fw{position:relative}
.fw .dy{position:absolute;left:50%;top:66px;translate:-50% 0;font-style:normal;font:400 12px/1 var(--round);background:var(--coral);color:#fff;border-radius:99px;padding:4px 8px;border:2px solid #fff;white-space:nowrap}
.rd.fd{align-self:stretch}

/* 하티는 위의 오늘 할 일 네 칸 이야기를 하니까 그 바로 아래에 상자 없이 두고, 이어 온 날은 따로 한 칸 */
.hatibox{margin-top:14px}
.hatibox .hatirow{padding:0 2px}
.hatibox .hatirow img{width:84px;height:84px}
.hatibox .hatirow .say{border:1.5px solid var(--line)}
.hatibox .hatirow .say::before{border-left:1.5px solid var(--line);border-bottom:1.5px solid var(--line);left:-8px}
.today.streak{margin-top:14px}
.today.streak .meta{padding:16px}
.today.streak .meta h3{margin:0 0 12px}

/* 시험(?room): 방을 당겨 아바타를 키우고, 날씨는 방의 빛과 창밖으로, 이어 온 날은 하트 수 옆에 작게 */
.scene-top.rl .roombox{transform:scale(1.3);transform-origin:50% 60%}
.scene-top.rl .who{height:50%;bottom:11%}
.scene-top.rl .who.p-fog,.scene-top.rl .who.p-rain,.scene-top.rl .who.p-whirl,.scene-top.rl .who.p-thunder{height:36%}
.scene-top.rl .who.p-heat{max-width:58%;max-height:40%;bottom:10%}
.scene-top.rl .who.p-sun{height:52%;bottom:13%}
.rlight{position:absolute;inset:0;pointer-events:none;transition:background .6s}
.wx-sun .rlight{background:radial-gradient(60% 55% at 78% 30%,rgba(255,226,120,.55),transparent 70%);mix-blend-mode:soft-light}
.wx-rainbow .rlight{background:linear-gradient(120deg,rgba(255,170,170,.28),rgba(255,230,140,.25) 40%,rgba(150,220,200,.25) 70%,rgba(170,180,255,.28));mix-blend-mode:soft-light}
.wx-moon .rlight{background:radial-gradient(55% 50% at 78% 30%,rgba(255,244,190,.35),transparent 70%),rgba(52,62,120,.34);mix-blend-mode:multiply}
.wx-breeze .rlight{background:linear-gradient(100deg,rgba(190,235,220,.4),rgba(255,255,255,.1));mix-blend-mode:soft-light}
.wx-fog .rlight{background:linear-gradient(rgba(255,255,255,.5),rgba(240,240,236,.3));backdrop-filter:blur(1.5px)}
.wx-rain .rlight{background:rgba(92,118,160,.36);mix-blend-mode:multiply}
.wx-heat .rlight{background:radial-gradient(70% 60% at 78% 30%,rgba(255,150,70,.5),rgba(255,190,110,.2));mix-blend-mode:soft-light}
.wx-whirl .rlight{background:rgba(120,110,150,.32);mix-blend-mode:multiply}
.wx-thunder .rlight{background:rgba(70,72,96,.42);mix-blend-mode:multiply}
.scene-top.rl.d0 .roombox{filter:saturate(.86) brightness(.95)}
.scene-top.rl.d1 .roombox{filter:saturate(.9) brightness(.97)}
.scene-top.rl.d2 .roombox{filter:saturate(.95) brightness(.985)}
.scene-top.rl.d4 .roombox{filter:saturate(1.06) brightness(1.03)}
.rwin{position:absolute;right:7%;top:20%;width:13%;z-index:1;pointer-events:none;animation:bob 3.6s ease-in-out infinite}
.rwin svg,.rwin img{width:100%;height:auto;display:block;filter:drop-shadow(0 3px 6px rgba(80,50,20,.25))}
.hhead .stk{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.92);font-family:var(--round);font-size:15px;line-height:1;color:var(--coralD);margin-right:auto}
.scene-top.rl .hhead .nm{margin-right:0}
.stpill{position:absolute;left:var(--gut);bottom:44px;z-index:2;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px 0 14px;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 0 0 1.5px var(--line);font-family:var(--round);font-size:14px;line-height:1;color:var(--ink)}
.stpill i{font-style:normal;color:var(--coralD);font-size:16px}
.rgift{position:absolute;left:24%;top:38%;z-index:2;display:grid;place-items:center;width:52px;height:52px;animation:bob 2.4s ease-in-out infinite}
.rgift svg{width:44px;height:44px;filter:drop-shadow(0 4px 8px rgba(200,140,0,.35))}
.rgift b{position:absolute;right:-2px;top:-2px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--coral);color:#fff;font-family:var(--round);font-size:12px;line-height:20px;text-align:center}


/* 시험(?room): 방 그림을 새로 그린 한 장으로(바닥이 아래 끝까지, 조명은 책상 옆). assets/roomlab/room.webp */
.scene-top.rl .rbg2{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.scene-top.rl .who{height:50%;bottom:20%}
.scene-top.rl .who.p-fog,.scene-top.rl .who.p-rain,.scene-top.rl .who.p-whirl,.scene-top.rl .who.p-thunder{height:36%;bottom:20%}
.scene-top.rl .who.p-heat{max-width:58%;max-height:40%;bottom:19%}
.scene-top.rl .who.p-sun{height:52%;bottom:21%}
.scene-top.rl .rwin{right:9%;top:27%}
.scene-top.rl.d0 .rbg2{filter:saturate(.86) brightness(.95)}
.scene-top.rl.d1 .rbg2{filter:saturate(.9) brightness(.97)}
.scene-top.rl.d2 .rbg2{filter:saturate(.95) brightness(.985)}
.scene-top.rl.d4 .rbg2{filter:saturate(1.06) brightness(1.03)}

/* 하트 탭의 하트친구 줄: 홈의 친구 날씨와 같은 모양(얼굴 동그라미 + 날씨 딱지 + 일기 표시)으로 */
.frw{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:24px;padding:10px 14px 10px 10px;margin-top:10px}
.frw .fwho{flex:1;min-width:0;display:flex;align-items:center;gap:12px;text-align:left;color:var(--ink)}
.frw .fa{position:relative;flex:none;width:60px;height:60px}
.frw .pf{display:block;width:60px;height:60px;border-radius:50%;background:#C9CCDA;overflow:hidden;position:relative;border:3px solid var(--line)}
.frw .pf img{position:absolute;left:50%;top:8%;width:96%;height:auto;translate:-50% 0}
.frw .wx{position:absolute;top:-6px;right:-8px;width:30px;height:30px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.frw .wx img.w,.frw .wx svg{width:22px;height:22px}
.frw .m{min-width:0;display:flex;flex-direction:column;line-height:1.3}
.frw .m b{font-family:var(--round);font-weight:400;font-size:17px;display:flex;align-items:center;gap:6px}
.frw .m small{font-size:13px;color:var(--ink2);white-space:nowrap}
.frw .dy{font-style:normal;font:400 12px/1 var(--round);background:var(--coral);color:#fff;border-radius:99px;padding:4px 8px}
.frw .pill-btn{flex:none}
.frw:active .pf{transform:scale(.95)}
.frw .pill-btn.sent{background:#F1EEE4;color:var(--ink2);box-shadow:none}
/* 시험(?room): 날씨 그림은 창가가 아니라 아바타 머리 위에 */
.scene-top.rl .rwin{right:auto;left:50%;top:auto;bottom:71%;width:12%;translate:-50% 0;z-index:2}
.scene-top.rl.wx-fog .rwin,.scene-top.rl.wx-rain .rwin,.scene-top.rl.wx-whirl .rwin,.scene-top.rl.wx-thunder .rwin{bottom:57%}
.scene-top.rl.wx-heat .rwin{bottom:60%}
.scene-top.rl.wx-sun .rwin,.scene-top.rl.wx-rainbow .rwin{bottom:74%}

/* 홈 맨 위 네 칸에도 제목: 오늘 할 일 + 몇 개 했는지 */
.sec-row.first{margin-top:0;margin-bottom:12px}
.sec-row.first .sec-label{margin:0}
.sec-row .cntn{font-family:var(--round);font-size:15px;color:var(--ink2)}
.sec-row .cntn b{font-weight:400;color:var(--coralD)}

/* 시험(?room): 왼쪽 위는 '누구의 방'과 '며칠 연속'으로 읽히게 */
.hhead .stk{gap:5px}
.hhead .stk i{font-style:normal;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--coral);color:#fff;font-size:11px;line-height:1}

/* 오늘 할 일 다섯 칸(이야기 추가) */
.favs{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.fav{font-size:12.5px;word-break:keep-all}
.fav .t{border-radius:20px}
.fav small{font-size:12px;white-space:nowrap}
.fav.done .t::after{width:24px;height:24px;font-size:13px}
.scene-top.rl.d3 .rbg2{filter:saturate(.98) brightness(.99)}
.scene-top.rl.d4 .rbg2{filter:none}
.scene-top.rl.d5 .rbg2{filter:saturate(1.06) brightness(1.03)}

/* 머리줄의 얼굴은 누르는 단추(내 정보) */
.hhead button.me{padding:0;border:2px solid #fff;box-shadow:0 0 0 1.5px var(--line);cursor:pointer}
.hhead button.me:active{transform:scale(.94)}
/* 내 정보 화면 */
.over.me{background:#FAF8F2;color:var(--ink)}
.over.me .bar{flex:none;display:flex;align-items:center;padding:8px 12px}
.over.me .bar button{display:flex;align-items:center;gap:4px;min-height:44px;color:inherit;font-family:var(--round);font-size:16px;padding:0 12px 0 4px}
.over.me .bar svg{width:22px;height:22px}
.mebody{flex:1;overflow-y:auto;padding:4px var(--gut) 40px}
.mecard{display:flex;flex-direction:column;align-items:center;gap:12px;background:#fff;border:1.5px solid var(--line);border-radius:28px;padding:22px 18px 18px}
.meface{width:104px;height:104px;border-radius:50%;background:#C9CCDA;overflow:hidden;position:relative;border:3px solid var(--line)}
.meface img{position:absolute;left:50%;top:8%;width:96%;translate:-50% 0}
.mename{display:flex;align-items:center;gap:10px;width:100%;background:#F6F3EA;border-radius:16px;padding:0 14px;min-height:48px}
.mename span{flex:none;font-size:13px;color:var(--ink2)}
.mename input{flex:1;min-width:0;border:0;background:none;font-family:var(--round);font-size:18px;color:var(--ink);outline:none}
.mecode{display:flex;align-items:center;gap:8px;width:100%;margin:0;font-size:13px;color:var(--ink2)}
.mecode b{font-family:var(--round);font-weight:400;font-size:16px;color:var(--ink);margin-right:auto}
.mestat{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.mestat span{display:flex;flex-direction:column;align-items:center;gap:2px;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:12px 4px;font-size:12px;color:var(--ink2);white-space:nowrap}
.mestat b{font-family:var(--round);font-weight:400;font-size:20px;color:var(--ink);font-variant-numeric:tabular-nums}
.meweek{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;background:#fff;border:1.5px solid var(--line);border-radius:24px;padding:14px 8px}
.meweek span{display:flex;flex-direction:column;align-items:center;gap:6px}
.meweek svg,.meweek img,.meweek i{width:34px;height:34px;display:block}
.meweek i{border-radius:50%;background:#F1EEE4}
.meweek small{font-size:11px;color:var(--ink2);white-space:nowrap}
.meweek .now small{color:var(--coralD);font-family:var(--round)}
.melist{background:#fff;border:1.5px solid var(--line);border-radius:24px;overflow:hidden}
.merow{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:0 16px;text-align:left;color:var(--ink)}
.merow+.merow{border-top:1.5px solid var(--line)}
.merow b{font-family:var(--round);font-weight:400;font-size:16px;margin-right:auto}
.merow small{font-size:13px;color:var(--ink2)}
.merow i{font-style:normal;color:var(--coralD);font-size:18px}
.mecode .pill-btn{background:var(--coral);color:#fff;flex:none}

/* 내 정보의 숫자 칸: 두 줄 두 칸, 숫자가 뭘 하는지 한 줄씩. 누르면 그곳으로 */
.mestat{grid-template-columns:repeat(2,1fr)}
.mestat button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:14px 16px;text-align:left;color:var(--ink)}
.mestat button:active{transform:scale(.97)}
.mestat em{font-style:normal;font-family:var(--round);font-size:14px}
.mestat small{font-size:12px;color:var(--ink2)}
.mestat b{font-size:24px}

/* 내 정보의 숫자 칸 꾸미기: 칸마다 옅은 색 바탕 + 그림 + 큰 숫자 */
.mestat{gap:10px}
.mestat button{position:relative;border:0;border-radius:24px;padding:14px 16px 16px;gap:0;box-shadow:0 3px 0 rgba(120,100,60,.10)}
.mestat .c-h{background:#FFF1C9}
.mestat .c-s{background:#FFE3DA}
.mestat .c-k{background:#E2F1E4}
.mestat .c-f{background:#E1ECF8}
.mestat .ic{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;margin-bottom:10px}
.mestat .ic img{width:32px;height:32px;object-fit:contain}
.mestat button>i{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.7);font-style:normal;font-size:16px;color:var(--ink2);line-height:1}
.mestat b{font-size:30px;line-height:1.1;letter-spacing:-.01em}
.mestat b u{text-decoration:none;font-size:17px;margin-left:2px}
.mestat em{font-size:15px;margin-top:4px}
.mestat small{font-size:12.5px;color:rgba(40,40,60,.62)}

/* 일기를 나눈 친구는 얼굴 둘레에 색 고리(읽으면 회색) */
.rg{display:block;border-radius:50%;padding:3px}
.rg.has{background:linear-gradient(135deg,#F7C948,#EE7B5C 55%,#E2557F)}
.rg.seen{background:#D8D3C4}
.rg.has .pf,.rg.seen .pf{border-color:#FAF8F2!important}
.fw .rg{margin:-3px}
.frw .fa{width:66px;height:66px}
.frw .rg.has .pf,.frw .rg.seen .pf{border-color:#fff!important}
.fw .dy,.frw .dy{background:#EE7B5C}
.rg .pf{display:block}
.fw .rg{margin:0}
.fw .dy{top:72px}
/* 친구 얼굴 옆 날씨 그림은 흰 동그라미 없이 그림만 */
.fw .wx,.frw .wx{background:none;box-shadow:none;border-radius:0}
.fw .wx{width:38px;height:38px;top:-2px;right:0}
.fw .wx img.w,.fw .wx svg{width:38px;height:38px;filter:drop-shadow(0 2px 3px rgba(60,50,30,.25))}
.frw .wx{width:28px;height:28px;top:-6px;right:-8px}
.frw .wx img.w,.frw .wx svg{width:28px;height:28px;filter:drop-shadow(0 2px 3px rgba(60,50,30,.25))}
/* 내 정보의 숫자 칸: 흰 바탕, 그림 옆에 숫자를 두어 낮게 */
.mestat button{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;background:#fff!important;border:1.5px solid var(--line);box-shadow:none;padding:12px 14px}
.mestat .ic{width:34px;height:34px;margin:0;background:none;border-radius:0}
.mestat .ic img{width:34px;height:34px}
.mestat b{font-size:26px}
.mestat em,.mestat small{grid-column:1/-1}
.mestat em{margin-top:6px}
.mestat button>i{top:10px;right:10px;width:22px;height:22px;background:none;color:var(--coralD)}
.mestat .ic{border:0;padding:0;display:grid;place-items:center;gap:0}
/* 내 정보의 숫자 칸: 그림 옆에 소제목, 숫자는 그 아래 */
.mestat .ic{grid-row:1;grid-column:1;width:28px;height:28px}
.mestat .ic img{width:28px;height:28px}
.mestat em{grid-row:1;grid-column:2;margin:0;font-size:15px}
.mestat b{grid-row:2;grid-column:1/-1;margin-top:6px;font-size:28px}
.mestat small{grid-row:3;grid-column:1/-1}

/* 시험(?room): 하티가 방 안 바닥에 같이 서 있고, 말풍선은 하티 옆에 */
.rhati{position:absolute;left:3%;bottom:42px;z-index:3;display:flex;align-items:flex-end;gap:2px;max-width:94%;text-align:left;color:var(--ink)}
.rhati img{width:84px;height:84px;object-fit:contain;flex:none;filter:drop-shadow(0 6px 5px rgba(90,60,20,.28));animation:bob 2.8s ease-in-out infinite}
.rhati:active img{transform:scale(.94)}
.rhati .say{position:relative;margin-bottom:26px;background:#fff;border-radius:16px;padding:8px 12px;font-size:13.5px;line-height:1.4;word-break:keep-all;max-width:210px;box-shadow:0 3px 10px rgba(90,60,20,.18)}
.rhati .say::before{content:"";position:absolute;left:-5px;bottom:12px;width:12px;height:12px;background:#fff;transform:rotate(45deg);border-radius:2px}
.rhati .say{margin-bottom:4px}
.rhati .say::before{bottom:10px}

/* 이어 온 날은 마음일기 달력과 한 가지: 달력 위에 연속 일수 */
.dstk{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;margin:0 0 12px;padding:12px 14px;border-radius:18px;background:var(--coral50,#FDEBE5);font-size:14px;color:var(--ink)}
.dstk i{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--coral);color:#fff;font-style:normal;font-size:15px}
.dstk b{font-family:var(--round);font-weight:400;color:var(--coralD);margin-right:4px}
.dstk small{grid-column:2;font-size:12px;color:var(--ink2)}
button.today.streak{display:block;width:100%;text-align:center;color:inherit;background:#fff}
button.meweek{width:100%;color:inherit}
.dstk b{margin-right:0}

/* 하트 탭의 하트친구: 일기를 나눈 친구는 글이 바로 보이는 카드(위로 모음) */
.frw{display:block}
.frw .frh{display:flex;align-items:center;gap:10px}
.frw.post{padding-bottom:14px}
.frw .fpost{margin:10px 2px 0;padding:12px 14px;border-radius:16px;background:#F8F5EC;font-size:15px;line-height:1.55;color:var(--ink);word-break:keep-all}
.frw .pill-btn:not(.sent){background:var(--coral);color:#fff}
/* 날씨 자세를 게임 아바타 그림으로 바꾼 뒤의 크기: 앉은 자세(비)만 낮고 나머지는 서 있는 키 */
.scene-top .who,.scene-top .who.p-fog,.scene-top .who.p-whirl,.scene-top .who.p-thunder,.scene-top .who.p-heat,.scene-top .who.p-sun{height:36%;width:auto;max-width:none;max-height:none;bottom:17%}
.scene-top .who.p-rain{height:23%;bottom:17%}
.scene-top .who.p-sun{height:37.5%}
.scene-top.rl .who,.scene-top.rl .who.p-fog,.scene-top.rl .who.p-whirl,.scene-top.rl .who.p-thunder,.scene-top.rl .who.p-heat{height:50%;bottom:20%;max-width:none;max-height:none}
.scene-top.rl .who.p-rain{height:31%;bottom:20%}
.scene-top.rl .who.p-sun{height:52%;bottom:20%}
.scene-top.rl .rwin,.scene-top.rl.wx-fog .rwin,.scene-top.rl.wx-whirl .rwin,.scene-top.rl.wx-thunder .rwin,.scene-top.rl.wx-heat .rwin,.scene-top.rl.wx-rainbow .rwin{bottom:71%}
.scene-top.rl.wx-rain .rwin{bottom:52%}
.scene-top.rl.wx-sun .rwin{bottom:73%}

/* 새 방 그림은 정사각 틀(.rsq) 안에 두고, 방에 놓는 소품·동물을 그 위에 % 자리로 얹는다 */
.rsq{position:absolute;left:0;top:-1.2%;width:100%;aspect-ratio:1;pointer-events:none}
.rsq .rbg2{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.scene-top.rl .rsq .rbg2{object-position:50% 50%}
.rsq .rprop{position:absolute;height:auto;filter:drop-shadow(0 3px 2px rgba(90,60,20,.22))}
.rsq .rprop.pet{animation:none}
.scene-top.rl.d0 .rsq{filter:saturate(.86) brightness(.95)}
.scene-top.rl.d1 .rsq{filter:saturate(.9) brightness(.97)}
.scene-top.rl.d2 .rsq{filter:saturate(.95) brightness(.985)}
.scene-top.rl.d5 .rsq{filter:saturate(1.06) brightness(1.03)}
.over .top.newroom{overflow:hidden}
.over .top.newroom .rsq{top:auto;bottom:-14%}
.over .top.newroom img.who{bottom:16%;height:52%;z-index:1}

/* 보낸 뒤 표시("보냈어요")는 어디서나 옅은 산호 바탕에 산호 글씨. 흰 칸 위에서 흰 글씨가 안 보이던 것을 막는다 */
.lite .pill-btn.sent,.gift .pill-btn.sent{background:var(--coral50);color:var(--coralD);box-shadow:none}

/* 이야기 탭: 아직 안 연 장에는 여는 데 드는 하트 수를 그림 아래에 붙인다 */
.stop .hcost{display:inline-flex;align-items:center;gap:5px;margin:-18px auto 6px;position:relative;z-index:1;padding:4px 12px 4px 9px;border-radius:999px;background:#fff;border:1.5px solid var(--line);font-family:var(--round);font-size:17px;color:var(--ink);box-shadow:0 2px 0 rgba(0,0,0,.06)}
.stop .hcost svg{width:18px;height:16px}

/* 읽는 이야기(6장부터): 그림 한 장 아래에서 글을 한 쪽씩 넘겨 읽는다 */
.over.reader{background:var(--cream,#FAF6EC);color:var(--ink)}
.over.reader .bar{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:8px 12px;font-family:var(--round);font-size:16px}
.over.reader .bar button{display:flex;align-items:center;gap:4px;min-height:44px;color:inherit;font:inherit;padding:0 12px 0 4px}
.over.reader .bar svg{width:22px;height:22px}
.over.reader .bar span{margin-left:auto;color:var(--ink2);font-size:15px;padding-right:8px}
.rdbody{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:14px;padding:4px 20px 22px;overflow:auto}
.rdimg{flex:0 1 auto;min-height:0;max-height:46%;width:auto;max-width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:22px;border:1.5px solid var(--line)}
.rdtxt{flex:1;margin:0;font-size:19px;line-height:1.7;color:var(--ink);text-align:left;width:100%;max-width:440px;word-break:keep-all}
.rddots{display:flex;gap:7px}
.rddots i{width:8px;height:8px;border-radius:50%;background:var(--line)}
.rddots i.on{background:var(--coral)}
.rdnav{display:flex;gap:10px;width:100%;max-width:440px}
.rdnav .pill-btn{flex:1;align-self:auto;background:var(--coral);color:#fff;min-height:50px;font-size:17px}
.rdnav .pill-btn.line{flex:0 0 96px;background:#fff;color:var(--ink2);border:1.5px solid var(--line);box-shadow:none}
.rdnav .pill-btn[disabled]{opacity:.4}

/* 읽는 이야기: 주인공 없이 그린 장면 위에 내 아바타를 얹는다 */
.rdscene{position:relative;flex:0 0 auto;height:46%;max-width:100%;aspect-ratio:3/4;border-radius:22px;border:1.5px solid var(--line);overflow:hidden}
.rdscene>img:first-child{width:100%;height:100%;object-fit:cover;display:block}
.rdscene .rdme{position:absolute;width:auto;transform:translateX(-50%);filter:drop-shadow(0 3px 0 rgba(40,50,80,.12))}

/* 모르는 사람에게 하트: 날씨 놀이판(js/minigames.js). 선 없이 미색 바탕·옅은 테두리 */
.modal.mgm{padding:16px 14px 14px;gap:10px}
.mgtop{display:flex;align-items:center;gap:8px;align-self:stretch;padding:0 4px}
.mgtop img.w{width:40px;height:40px}
.mgtop b{font-family:var(--round);font-weight:400;font-size:20px;color:var(--ink)}
.mghow{font-size:15px;background:var(--mustard-soft);color:var(--ink)!important;border-radius:16px;padding:10px 14px;margin:0}
.mg-slot{align-self:stretch}
.mg{display:flex;flex-direction:column;gap:8px}
.mg-hud{display:flex;flex-direction:column;gap:6px;padding:0 4px}
.mg-hearts{display:flex;gap:6px;justify-content:center}
.mg-hearts i{width:30px;height:30px;display:block;opacity:.22;filter:grayscale(1);transition:opacity .3s,filter .3s}
.mg-hearts i.on{opacity:1;filter:none}
.mg-hearts i.pop{animation:pop .45s cubic-bezier(.3,1.6,.5,1)}
.mg-hearts img{width:100%;height:100%;display:block}
.mg-time{height:6px;border-radius:3px;background:var(--line);overflow:hidden}
.mg-time i{display:block;height:100%;background:var(--mustard);border-radius:3px;transform-origin:left;transition:transform .1s linear}
.mg-stage{position:relative;width:100%;aspect-ratio:4/5;max-height:min(56dvh,500px);border-radius:24px;overflow:hidden;background:var(--cream);border:1.5px solid var(--line)}
.mg-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.mg-intro{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;background:rgba(250,248,242,.86);text-align:center;pointer-events:none;transition:opacity .35s}
.mg-intro b{font-family:var(--round);font-weight:400;font-size:21px;line-height:1.4;color:var(--ink);text-wrap:balance}
.mg-intro small{font-family:var(--round);font-size:26px;color:var(--coralD)}
.mg-intro.gone{opacity:0}
.modal.mgm .ghost{min-height:44px;padding:8px 14px;font-size:16px}
/* 11-25 놀이 점수·내 최고·우산 고르기 */
.mg-row{display:flex;align-items:center;justify-content:center;gap:14px}
.mg-score{font-family:var(--round);font-size:16px;color:var(--ink);background:var(--mustard-soft);border-radius:999px;padding:3px 12px 3px 10px;min-width:58px;text-align:center;white-space:nowrap}
.mg-score b{display:inline-block;font-weight:400;font-size:22px;margin-right:2px;font-variant-numeric:tabular-nums}
.mg-score b.pop{animation:pop .35s cubic-bezier(.3,1.6,.5,1)}
.mg-intro em{font-style:normal;font-size:16px;color:var(--ink);opacity:.8;min-height:22px}
.mg-intro em.new{opacity:1;background:var(--mustard);border-radius:999px;padding:4px 14px;animation:pop .5s cubic-bezier(.3,1.6,.5,1)}
.mgbest{font-size:15px;margin:-2px 0 0}.mgbest b{font-size:18px}
.mgnew{font-family:var(--round);font-size:17px;background:var(--mustard);color:var(--ink)!important;border-radius:999px;padding:5px 16px;margin:0;animation:pop .5s cubic-bezier(.3,1.6,.5,1)}
.mgx{font-size:14.5px;line-height:1.5;margin:0}
.umbs{display:flex;gap:10px;justify-content:center;align-self:stretch}
.umb{flex:0 0 84px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px 6px;border-radius:18px;border:1.5px solid var(--line);background:#fff;min-height:44px;cursor:pointer;font:inherit;color:var(--ink)}
.umb svg{width:46px;height:38px;display:block}
.umb small{font-size:13px;display:flex;align-items:center;gap:3px;white-space:nowrap}.umb small img,.umb small svg{width:14px;height:14px}
.umb.on{border-color:var(--mustard);background:var(--mustard-soft);box-shadow:0 0 0 2px var(--mustard) inset}
.umb.lock svg{opacity:.55}
.umbask{font-size:15px;margin:0;display:flex;flex-direction:column;align-items:center;gap:8px;align-self:stretch;background:var(--mustard-soft);border-radius:18px;padding:12px 14px}
.umbask span{font-family:var(--round);color:var(--ink)}
.umbask .pill-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--coralD)!important;color:#fff!important;min-height:48px;padding:10px 24px;font-size:17px;font-family:var(--round);border-radius:999px;box-shadow:0 4px 0 #A9472D;width:100%}
.umbask .pill-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #A9472D}
.umbask .pill-btn img,.umbask .pill-btn svg{width:20px;height:20px;flex:none}
@media (prefers-reduced-motion:reduce){.mg-score b.pop,.mg-intro em.new,.mgnew{animation:none}}
/* 상점: 옷 모양·머리(11-20) */
.shapenote{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--nightT2,#6b6f7d)}
.sitem .pic.hairpic img,.item.hairpic img{width:72%;max-height:none;height:auto;object-fit:contain}

/* 오늘 할 일 다섯 개를 다 한 날: 하티가 알려 주는 창 */
.modal.cheer .hati-big{width:150px;height:auto;display:block;margin:0 auto 6px;animation:hop 1.2s ease-in-out 3}
.modal.cheer .stamps{display:flex;justify-content:center;gap:6px;margin:12px 0 4px}
.modal.cheer .stamps i{width:30px;height:30px;border-radius:50%;border:1.5px dashed #E3D3A8;display:grid;place-items:center}
.modal.cheer .stamps i.on{border:1.5px solid #F2C94C;background:#FFF6D8}
.modal.cheer .stamps img{width:24px;height:24px;object-fit:contain}
.modal.cheer .stamphint{display:block;color:var(--nightT2,#8a8170);margin-bottom:12px}
.dcal .hstamp{position:absolute;right:1px;bottom:1px;width:16px;height:16px;object-fit:contain;pointer-events:none}
.dcal .dg i{position:relative}
/* 이야기 카드: 이 장을 여는 물건 */
.stop .keyneed{display:flex;align-items:center;gap:8px;margin:6px 0 2px;padding:6px 10px;border-radius:12px;background:#FFF6D8;font-size:13px;color:var(--ink,#3a3328)}
.stop .keyneed img{width:34px;height:34px;object-fit:contain;flex:none}
.stop .keyneed>span{display:flex;flex-direction:column;text-align:left;line-height:1.35}
.stop .keyneed b{font-size:14px}
.stop .keyneed.got{background:#E9F6E4}
.stop .keyneed.off{opacity:.8}
/* 상점 '옷': 미리보기 · 옷 모양 카드 · 색 칩 */
.clo{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.clo-prev{background:#fff;border-radius:28px;padding:16px 16px 14px;display:flex;flex-direction:column;align-items:center;gap:6px;box-shadow:0 4px 0 #E4DFD0}
.clo-prev>img{height:190px;width:auto;object-fit:contain}
.clo-name{font-weight:700;font-size:14px;color:var(--ink);text-align:center}
.clo-tip{font-size:13px;color:var(--nightT2);text-align:center}
.clo-buy{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;width:100%}
.clo-buy .cta{flex:1 1 auto;min-width:0;margin:0}
.clo-buy .ghost{flex:none;padding:10px 14px}
.clo-h{font-weight:800;font-size:15px;margin:8px 0 0;color:var(--ink)}
.clo-shapes{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:0 calc(var(--gut,16px) * -1);padding:4px var(--gut,16px) 8px}
.clo-shapes::-webkit-scrollbar{display:none}
.cshape{flex:none;width:96px;background:#fff;border-radius:20px;padding:8px 6px 10px;display:flex;flex-direction:column;align-items:center;gap:2px;border:2px solid transparent;box-shadow:0 3px 0 #E4DFD0;color:var(--ink)}
.cshape .pic{height:96px;display:grid;place-items:center}
.cshape .pic img{max-height:96px;max-width:80px;object-fit:contain}
.cshape b{font-size:12px;line-height:1.25;text-align:center}
.cshape small,.csw small{font-size:11px;color:var(--nightT2);display:inline-flex;align-items:center;gap:2px}
.cshape small svg,.csw small svg{width:12px;height:12px}
.cshape.on{border-color:var(--coralD,#E2674A)}
.clo-sws{display:flex;gap:10px;flex-wrap:wrap}
.csw{display:flex;flex-direction:column;align-items:center;gap:4px;width:56px;background:none;border:0;padding:0;color:var(--ink)}
.csw i{width:44px;height:44px;border-radius:50%;border:2px solid #D9D3C3;display:block;box-shadow:inset 0 0 0 3px #fff}
.csw.on i{border-color:var(--coralD,#E2674A);border-width:3px}
.clo-note{font-size:12px;color:var(--nightT2);margin-top:4px}
.clo-buy .cta{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:16px;padding:12px 16px}
.clo-buy .cta svg{width:20px;height:20px;flex:none}
.clo-prev>img{height:170px}
/* 상점 옷: 입어 보는 중이면 사기 단추가 화면 아래(메뉴 바로 위)에 붙어 따라온다 */
.clo-bar{position:sticky;bottom:calc(-34px + env(safe-area-inset-bottom,0px));z-index:6;display:flex;align-items:center;gap:10px;background:#fff;border-radius:24px;padding:10px 12px;box-shadow:0 6px 20px rgba(30,30,60,.18);margin-top:6px}
.clo-bar>img{height:64px;width:auto;flex:none}
.clo-bar .clo-buy{flex:1;flex-wrap:nowrap}
.clo-bar .clo-buy .cta{font-size:15px;padding:11px 12px}
.clo-bar .clo-buy .cta{flex:1 1 auto;width:auto;white-space:nowrap}
.clo-bar .clo-buy .ghost{flex:0 0 auto;width:auto;white-space:nowrap;padding:10px 12px}
/* 팝업 오른쪽 위 닫기 단추 */
.modal>.mx{position:sticky;top:-16px;align-self:flex-end;flex:none;margin:-16px -12px -56px 0;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#F1EEE6;box-shadow:0 2px 8px rgba(30,30,60,.12);color:var(--ink);border:0;padding:0;z-index:2}
.modal>.mx svg{width:20px;height:20px}
.modal.dark>.mx{background:rgba(255,255,255,.14);color:#fff}
/* 상점: 옷 말고 다른 칸(머리 모양·머리 색·소품·가구·동물, 선물 보내기)도 '옷 모양' 카드(.cshape)와 같은 크기로 (11-22) */
.shopgrid{grid-template-columns:repeat(auto-fill,96px);gap:12px 10px;justify-content:space-between;margin:4px auto 0;max-width:344px}   /* 넓은 화면에서 카드 사이가 벌어지지 않게 세 줄 폭에서 멈춘다 */
.shopgrid .sitem{width:96px;border-radius:20px;padding:8px 6px 10px;gap:2px;border:2px solid transparent;box-shadow:0 3px 0 #E4DFD0;line-height:1.25}
.shopgrid .sitem:active{transform:translateY(2px);box-shadow:0 1px 0 #E4DFD0}
.shopgrid .sitem.on{border-color:var(--coralD,#E2674A)}
.shopgrid .sitem .pic{height:96px;width:100%;margin:0}
.shopgrid .sitem .pic img{max-height:96px;max-width:80px;object-fit:contain}
.shopgrid .sitem .pic.hairpic img{width:auto;height:auto;max-width:80px;max-height:96px}
.shopgrid .sitem b{font-family:inherit;font-weight:700;font-size:12px;line-height:1.25;text-align:center;word-break:keep-all}
.shopgrid .sitem .price,.shopgrid .sitem .have{font-family:inherit;font-size:11px;line-height:1.55;color:var(--nightT2);display:inline-flex;align-items:center;gap:2px}
.shopgrid .sitem .price svg{width:12px;height:12px}
/* 액세서리: 카드가 몇 개 안 돼서 옆으로 넘기지 않고 줄바꿈으로 다 보여 준다 */
.clo-shapes.wrap{flex-wrap:wrap;overflow:visible;margin:0;padding:4px 0 8px;justify-content:center}
.hhead .stk{white-space:nowrap;flex:none}

/* 11-22 책상 위 스피커(누구나 있음). 누르면 플레이리스트 창. 노래가 나오면 음표가 떠오르고 스피커가 살짝 들썩인다 */
.rsq .rspk{position:absolute;left:67.36%;bottom:57.86%;width:5.6%;padding:0;border:0;background:none;pointer-events:auto;cursor:pointer;z-index:2;display:block;-webkit-tap-highlight-color:transparent}
.rsq button.rspk::before{content:"";position:absolute;inset:-10px -10px 0}
.rsq .rspk img{position:relative;z-index:1;display:block;width:100%;height:auto;transform-origin:50% 100%;-webkit-user-drag:none;user-select:none}
.rsq .rspk .spsh{position:absolute;left:-6%;right:-6%;bottom:-5%;height:16%;border-radius:50%;background:radial-gradient(closest-side,rgba(90,60,20,.34),rgba(90,60,20,0));pointer-events:none}
.rsq .rspk.on img{animation:spkBeat .52s ease-in-out infinite alternate}
.rsq .rspk i{position:absolute;z-index:2;left:55%;bottom:85%;font-style:normal;font-size:clamp(11px,2.6cqw,18px);line-height:1;color:#162B4C;opacity:0;pointer-events:none}
.rsq .rspk.on i{animation:spkNote 2.4s ease-out infinite}
.rsq .rspk.on i:nth-of-type(2){animation-delay:.8s;color:#E8A93A}
.rsq .rspk.on i:nth-of-type(3){animation-delay:1.6s}
.rsq .rspk:focus-visible{outline:2.5px solid var(--coralD,#E06A4B);outline-offset:2px;border-radius:12px}
@keyframes spkBeat{from{transform:scale(1)}to{transform:scale(1.035,1.025)}}
@keyframes spkNote{0%{opacity:0;transform:translate(-30%,0) rotate(-8deg)}15%{opacity:1}100%{opacity:0;transform:translate(60%,-190%) rotate(12deg)}}
@media (prefers-reduced-motion:reduce){.rsq .rspk.on img{animation:none}.rsq .rspk.on i{animation-duration:4s}}
.rsq{container-type:inline-size}

/* 플레이리스트 창 */
.mpl{gap:10px;padding-bottom:16px}
.mpl h2{margin:0}
.mpl .mnow{margin:0;color:var(--ink2);font-size:13px;line-height:1.5}
.mpl .mnow b{color:var(--ink);font-size:16px}
.mpl .mctl{display:grid;grid-template-columns:1fr auto auto auto 1fr;align-items:center;gap:10px;width:100%}
.mpl .mctl button{width:48px;height:48px;border-radius:50%;border:0;background:#F1EEE6;color:var(--ink);display:grid;place-items:center;padding:0}
.mpl .mctl .mpp{width:62px;height:62px;background:#FDD777;color:#162B4C;box-shadow:0 3px 10px rgba(200,140,0,.25)}
.mpl .mctl .mshuf{justify-self:start;width:auto;height:44px;border-radius:999px;padding:0 12px;display:flex;gap:4px;align-items:center;background:transparent;color:var(--ink2);box-shadow:0 0 0 1.5px #E6E0D2}
.mpl .mctl .mshuf small{font-size:13px}
.mpl .mctl .mshuf[aria-pressed="true"]{background:#162B4C;color:#fff;box-shadow:none}
.mpl .mlist{list-style:none;margin:4px 0 0;padding:0;width:100%;text-align:left;max-height:46vh;overflow-y:auto;border-top:1.5px solid #F1EEE6}
.mpl .mlist button{width:100%;display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 10px;border:0;background:none;border-bottom:1px solid #F4F1EA;color:var(--ink);font:inherit;text-align:left;border-radius:12px}
.mpl .mlist .n{flex:none;width:38px;font-size:12px;color:var(--ink2)}
.mpl .mlist .t{flex:1;font-size:15px}
.mpl .mlist .cur{background:#FFF4CF}
.mpl .mlist .cur .t{font-weight:700}
.mpl .mlist .eq{display:none;gap:2px;align-items:flex-end;height:14px}
.mpl .mlist .on .eq{display:flex}
.mpl .mlist .eq i{width:3px;height:100%;background:#E8A93A;border-radius:2px;animation:eq .9s ease-in-out infinite alternate}
.mpl .mlist .eq i:nth-child(2){animation-delay:-.3s}.mpl .mlist .eq i:nth-child(3){animation-delay:-.6s}
@keyframes eq{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
.mpl .mlist .eq i{transform-origin:50% 100%}

/* 재생 막대(플레이리스트 창). --p = 나온 비율 */
.mpl .mprog{width:100%;padding:0 4px}
.mpl .mbar{--p:0%;position:relative;height:28px;cursor:pointer;touch-action:none;outline:none}
.mpl .mbar::before{content:"";position:absolute;left:0;right:0;top:12px;height:5px;border-radius:999px;background:#EFEADF}
.mpl .mbar .fill{position:absolute;left:0;top:12px;height:5px;width:var(--p);border-radius:999px;background:#F2C35A}
.mpl .mbar .knob{position:absolute;top:7px;left:var(--p);width:15px;height:15px;margin-left:-7.5px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #162B4C}
.mpl .mbar.drag .knob,.mpl .mbar:focus-visible .knob{transform:scale(1.25)}
.mpl .mtime{display:flex;justify-content:space-between;font-size:12px;color:#162B4C;opacity:.75;font-variant-numeric:tabular-nums;margin-top:-2px}
.mpl .mlist button{position:relative;overflow:hidden}
.mpl .mlist .rp{position:absolute;left:0;bottom:0;height:2.5px;width:0;background:#F2C35A;border-radius:2px;pointer-events:none}
/* 이미 연 장: 그때 준비한 물건을 조용히 한 줄로 */
.stop .keyneed.was{background:none;padding:2px 0;margin:4px 0 0;font-size:12.5px;color:var(--ink2,#6b6355);gap:6px}
.stop .keyneed.was img{width:22px;height:22px}
/* 꾸미기 방 미리보기의 스피커(누르지 않음) */
.rsq span.rspk{pointer-events:none}

/* 11-22 책상 위 책 = 마음일기 쓰기(오늘 일기와 같은 길, data-calday). 방 그림 % 자리, 스피커 누르는 자리(책상 위 590px 위쪽)와 안 겹치게 594px 아래부터 */
.rsq .rbook{position:absolute;left:75.4%;top:42.43%;width:max(12%,48px);height:max(7.2%,32px);transform:translateX(-50%);padding:0;border:0;background:none;pointer-events:auto;cursor:pointer;z-index:2;border-radius:12px;-webkit-tap-highlight-color:transparent}
.rsq .rbook:focus-visible{outline:2.5px solid var(--coralD,#E06A4B);outline-offset:1px}
/* 책 위 연필: 펜 끝이 책장에 닿아 끄적이다 잠깐 쉬고 다시. 끄적인 자국은 따라 그려졌다 흐려진다. 오늘 일기를 쓰면 느리고 옅게(calm). 누르는 건 책 버튼이 받는다 */
.rsq .rpen{position:absolute;left:74.286%;bottom:53.893%;width:4.3%;aspect-ratio:1;pointer-events:none;z-index:3;transform-origin:0 100%;animation:penWrite 3.4s ease-in-out infinite}
.rsq .rpen svg{position:absolute;left:0;bottom:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(1px 1.5px 0 rgba(90,60,20,.18))}
@keyframes penWrite{0.0%{transform:translate(0.0%,0.0%)}6.9%{transform:translate(5.1%,9.6%)}13.8%{transform:translate(18.3%,1.0%)}20.6%{transform:translate(20.7%,16.7%)}27.5%{transform:translate(34.0%,8.1%)}34.4%{transform:translate(36.4%,23.8%)}41.2%{transform:translate(49.6%,15.1%)}48.1%{transform:translate(52.0%,30.9%)}55.0%{transform:translate(62.5%,28.3%)}62%{transform:translate(62.5%,18.3%) rotate(4deg)}88%{transform:translate(0%,-10%) rotate(4deg)}100%{transform:translate(0,0)}}
.rsq .rscrib{position:absolute;left:74%;top:45.43%;width:3.286%;height:2.286%;display:block;pointer-events:none;z-index:2}
.rsq .rscrib svg{display:block;width:100%;height:100%;overflow:visible}
.rsq .rscrib path{fill:none;stroke:#6E7B91;stroke-width:1.1px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;opacity:.55;animation:penInk 3.4s ease-in-out infinite}
@keyframes penInk{0%{stroke-dashoffset:100;opacity:.55}55%{stroke-dashoffset:0;opacity:.55}80%{stroke-dashoffset:0;opacity:.4}95%{stroke-dashoffset:0;opacity:0}100%{stroke-dashoffset:100;opacity:0}}
.rsq .rpen.calm{animation-duration:7.5s;opacity:.8}
.rsq .rscrib.calm path{animation-duration:7.5s;stroke:#9AA4B5}
@media (prefers-reduced-motion:reduce){.rsq .rpen{animation:none;transform:translate(30%,14%)}.rsq .rscrib path{animation:none;stroke-dashoffset:45;opacity:.45}}
/* 11-22 책상 위 책 → 마음일기로 왔을 때 방으로 돌아가는 단추 */
.toroom{display:inline-flex;align-items:center;gap:6px;margin:2px 0 12px;padding:8px 14px 8px 10px;border-radius:999px;border:1.5px solid rgba(24,36,72,.14);background:#fff;color:var(--ink,#182448);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.toroom svg{width:18px;height:18px}
/* 11-22 '오늘 할 일' 줄의 하티 도장 칩(보기 전용 카드 열기) */
.sec-row .stchip{margin-left:auto;margin-right:8px;display:inline-flex;align-items:center;gap:3px;min-height:28px;padding:2px 9px 2px 4px;border-radius:999px;border:1.5px solid #F2E3B3;background:#FFFBEC;color:var(--ink2,#4A5A75);font-family:var(--round);font-size:12.5px;line-height:1;cursor:pointer;position:relative}
.sec-row .stchip::before{content:"";position:absolute;inset:-8px -4px}
.sec-row .stchip img{width:20px;height:20px;object-fit:contain}
.modal.stampv .hati-big{width:120px;animation:none}
.modal.stampv .stamptot{margin:0 0 12px;font-size:14px}
/* 11-22 처음 아바타 만들기: 머리 모양 고르기(단발·숏컷·투블럭) */
.mk-hs{display:flex;gap:10px}
.mkh{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px 8px;border-radius:16px;border:2px solid rgba(24,36,72,.12);background:#fff;font:inherit;font-size:14px;font-weight:600;color:var(--ink,#182448);cursor:pointer}
.mkh img{width:64px;height:auto}
.mkh[aria-pressed="true"]{border-color:#E0623B;background:#FFF4EE}
/* 11-22 누나: 준비물 상자 자체를 눌러 상점으로 간다(따로 '상점 가기' 단추 없음) */
.stop button.keyneed.go{font:inherit;border:1.5px solid #F2D98A;cursor:pointer;margin-left:auto;margin-right:auto}
.stop button.keyneed.go i{font-style:normal;font-size:20px;line-height:1;color:var(--coralD,#C94F2C);margin-left:2px}
.stop button.keyneed.go:active{transform:scale(.98)}
/* 11-22 마음일기 연속 기록 카드(.dstk2): 폰 위젯 hw2 s-done 노란 카드를 페이지 폭에 맞춰 씀. 위: N일째·한마디 / 오른쪽 위: 하티 / 아래: 지난 7일 */
.wd.hw2.dstk2{height:auto;margin-top:16px;border-radius:28px;animation:stkPop .5s cubic-bezier(.3,1.5,.5,1) both}
.dstk2 .hw2-l{width:100%;padding:16px 16px 14px 18px;height:auto}
.dstk2 .strk{font-size:15px;opacity:.9}
.dstk2 .strk svg{width:18px;height:18px}
.dstk2 .say{font-size:clamp(24px,7.4vw,30px);line-height:1.2;margin-top:6px;width:58%;min-height:2.4em}
.dstk2 .days{margin-top:14px;justify-content:space-between;gap:4px;position:relative;z-index:2}
.dstk2 .days i{width:clamp(28px,8.4vw,36px);height:clamp(28px,8.4vw,36px);background:rgba(255,255,255,.45);box-shadow:inset 0 0 0 2px rgba(22,43,76,.18)}
.dstk2 .days span:not(.dok) i{background:transparent;box-shadow:none;border:2px dashed rgba(22,43,76,.28)}
.dstk2 .days .dok i{background:#fff;box-shadow:0 2px 0 rgba(22,43,76,.12)}
.dstk2 .days i svg{width:68%;height:68%}
.dstk2 .days .dnow em{color:var(--coralD,#D9573A);opacity:1}
.dstk2 .days .dnow i{outline:2.5px solid var(--coralD,#D9573A);outline-offset:2px}
.dstk2 .days .dnow:not(.dok) i{box-shadow:none;opacity:1}
.wd.hw2.dstk2 img.hati{top:6px;bottom:auto;right:6px;width:40%;height:auto;max-height:62%;object-position:right top;animation:stkHop 1.1s ease-in-out .35s 2}
.dstk2.zero{--bg2:#FFF8E4;--bg:#FFE7A3}
.dstk-hint{margin:8px 4px 14px;font-size:12.5px;color:var(--ink2,#4A5A75)}
@keyframes stkPop{from{transform:scale(.92);opacity:0}}
@keyframes stkHop{0%,100%{transform:translateY(0)}40%{transform:translateY(-10px) rotate(-4deg)}}
@media (prefers-reduced-motion:reduce){.wd.hw2.dstk2,.wd.hw2.dstk2 img.hati{animation:none}}
/* 연속 축하 배지(3·7·14·30). 받은 건 색, 아직은 흐리게. 누르면 축하 다시 보기 */
.dstk2 .stkrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:60%;position:relative;z-index:2}
.dstk2 .mbadges{display:inline-flex;gap:3px}
.dstk2 .mbadge{position:relative;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55);display:grid;place-items:center;cursor:pointer}
.dstk2 .mbadge::before{content:"";position:absolute;inset:-6px -2px}
.dstk2 .mbadge img{width:20px;height:20px;object-fit:contain;filter:grayscale(1);opacity:.35}
.dstk2 .mbadge b{position:absolute;right:-4px;bottom:-4px;min-width:14px;height:14px;padding:0 2px;border-radius:7px;background:rgba(22,43,76,.25);color:#fff;font-size:9px;line-height:14px;font-weight:800;text-align:center}
.dstk2 .mbadge.on{background:#fff;box-shadow:0 2px 0 rgba(22,43,76,.12)}
.dstk2 .mbadge.on img{filter:none;opacity:1}
.dstk2 .mbadge.on b{background:var(--coralD,#D9573A)}
.modal.milev .hati-big{animation:hop 1.1s ease-in-out 2}
@media (prefers-reduced-motion:reduce){.modal.milev .hati-big{animation:none}}
.wd.hw2.dstk2.zero::after{display:none}

/* 마음 날씨 돌아보기(11-22) */
.rvgo{display:flex;align-items:center;gap:10px;width:100%;margin-top:12px;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:12px 16px;text-align:left;color:var(--ink);flex-wrap:wrap}
.rvgo span svg{width:32px;height:32px;display:block}
.rvgo b{font-family:var(--round);font-weight:400;font-size:16px}
.rvgo small{flex-basis:100%;order:3;padding-left:42px;margin-top:-6px;font-size:13px;color:var(--ink2)}
.rvgo i{font-style:normal;color:var(--coralD);font-size:18px;margin-left:auto}
.rvh{font-size:26px;margin:4px 0 6px}
.rvsub{color:var(--ink2);font-size:14px;margin:0 0 14px;word-break:keep-all}
.rvcard{background:#fff;border:1.5px solid var(--line);border-radius:24px;padding:18px 16px;margin-bottom:12px}
.rvt{font-size:13px;color:var(--ink2);margin:0 0 10px}
.rvgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.rvgrid span{position:relative;aspect-ratio:1;border-radius:14px;background:#F6F3EA;display:grid;place-items:center}
.rvgrid span.got{background:var(--mustard-soft)}
.rvgrid svg{width:78%;height:78%}
.rvgrid i,.rvnote i{position:absolute;right:-3px;top:-4px;width:15px;height:15px;display:block}
.rvgrid i svg,.rvnote i svg{width:15px;height:15px}
.rvnote{position:relative;margin:10px 0 0;font-size:12px;color:var(--ink2);padding-left:20px}
.rvnote i{left:0;top:0;right:auto}
.rvline{margin:10px 0 0;font-size:14px;word-break:keep-all}
.rvline b,.rvhint b{font-family:var(--round);font-weight:400;color:var(--ink)}
.rvbig{font-family:var(--round);font-size:19px;line-height:1.4;margin:0 0 14px;word-break:keep-all}
.rvbig b{background:linear-gradient(transparent 58%,var(--mustard) 58%);font-weight:400}
.rvbar{margin-bottom:12px}
.rvbar p{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 5px;font-size:14px}
.rvbar p b{font-family:var(--round);font-weight:400;font-size:20px;font-variant-numeric:tabular-nums}
.rvbar i{display:block;height:12px;border-radius:8px;background:#F1EEE4;overflow:hidden}
.rvbar u{display:block;height:100%;border-radius:8px;background:var(--mustard)}
.rvbar.g u{background:#C9CCDA}
.rvbar small{font-size:12px;color:var(--ink2)}
.rvhint{font-size:12px;color:var(--ink2);margin:4px 0 0;word-break:keep-all}
.rvcons{display:flex;flex-wrap:wrap;gap:8px}
.rvcons span{display:flex;align-items:center;gap:8px;background:#F6F3EA;border-radius:999px;padding:8px 14px;font-size:14px}
.rvcons b{font-family:var(--round);font-weight:400;color:var(--coralD)}
.rvfoot{font-size:12px;color:var(--ink2);text-align:center;margin:6px 8px 0;word-break:keep-all}
.rvex{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;background:var(--mustard-soft);border:1.5px dashed #E8C25A;border-radius:18px;padding:12px 14px;margin-bottom:12px}
.rvex b{font-family:var(--round);font-weight:400;font-size:16px}
.rvex span{font-size:13px;color:var(--ink2);flex:1 1 160px}
.rvwait{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:26px 18px}
.rvwait img{width:120px;height:120px;object-fit:contain}
.rvwait b{font-family:var(--round);font-weight:400;font-size:18px}
.rvwait p{margin:0;color:var(--ink2);font-size:14px;word-break:keep-all}
.rvwait .pill-btn,.rvex .pill-btn{background:var(--coral);color:#fff;align-self:center;margin-top:6px}
.rvex .pill-btn{margin-top:0}
.rvgrid span{min-width:0;overflow:visible}
.rvgrid span>img,.rvgrid span>svg{width:78%;height:78%;object-fit:contain}
.rvgrid i>*,.rvnote i>*{width:15px;height:15px;display:block}
.rvgo span>img,.rvgo span>svg{width:32px;height:32px;display:block;object-fit:contain}
.rvsum{display:flex;align-items:center;gap:12px;background:var(--mustard-soft);border-radius:24px;padding:14px 16px;margin-bottom:12px}
.rvsum img{width:72px;height:72px;object-fit:contain;flex:none}
.rvsum p{margin:0;font-family:var(--round);font-size:17px;line-height:1.45;word-break:keep-all}
.rvsum small{display:block;font-family:inherit;font-size:12px;color:var(--ink2);margin-bottom:2px}
.rvkinds>div{display:grid;grid-template-columns:28px 64px 1fr 40px;align-items:center;gap:8px;margin-bottom:6px;font-size:14px}
.rvkinds>div>img,.rvkinds>div>svg{width:28px;height:28px;object-fit:contain}
.rvkinds i{height:10px;border-radius:6px;background:#F1EEE4;overflow:hidden}
.rvkinds u{display:block;height:100%;border-radius:6px;background:#C9CCDA}
.rvkinds .g u{background:var(--mustard)}
.rvkinds .b u{background:#9FB4D6}
.rvkinds b{font-family:var(--round);font-weight:400;text-align:right}
.rvweeks,.rvdow{display:grid;gap:8px;align-items:end}
.rvweeks{grid-template-columns:repeat(4,1fr)}
.rvdow{grid-template-columns:repeat(7,1fr);gap:6px}
.rvweeks>div,.rvdow>div{display:flex;flex-direction:column;align-items:center;gap:4px}
.rvweeks i,.rvdow i{position:relative;width:100%;height:90px;border-radius:12px;background:#F6F3EA;overflow:hidden;display:block}
.rvdow i{height:70px}
.rvweeks u,.rvdow u{position:absolute;left:0;right:0;bottom:0;background:#C9CCDA;border-radius:12px}
.rvweeks>div:last-child u,.rvdow .best u{background:var(--mustard)}
.rvdow .worst u{background:#9FB4D6}
.rvweeks b,.rvdow b{font-family:var(--round);font-weight:400;font-size:16px}
.rvweeks small,.rvdow small{font-size:12px;color:var(--ink2)}
.rvstat{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rvstat>div{background:#F6F3EA;border-radius:16px;padding:12px 6px;text-align:center}
.rvstat b{display:block;font-family:var(--round);font-weight:400;font-size:24px}
.rvstat b u{text-decoration:none;font-size:13px;margin-left:1px}
.rvstat small{font-size:11px;color:var(--ink2);word-break:keep-all}
.rvtr{display:inline-flex;align-items:center;gap:2px;vertical-align:middle}
.rvtr img,.rvtr svg{width:24px;height:24px;object-fit:contain}
.rvtr em{font-style:normal;color:var(--ink2)}
.rvtwo{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rvtwo>div{display:flex;flex-direction:column;gap:6px;border-radius:16px;padding:12px;background:var(--mustard-soft)}
.rvtwo>.b{background:#E8EEF7}
.rvtwo p{display:flex;align-items:center;gap:6px;margin:0 0 2px;font-size:13px;color:var(--ink2)}
.rvtwo p img,.rvtwo p svg{width:24px;height:24px;object-fit:contain}
.rvtwo span{display:flex;justify-content:space-between;gap:6px;font-size:13px;word-break:keep-all}
.rvtwo span b{font-family:var(--round);font-weight:400;color:var(--coralD)}
.rvsub2{font-size:13px;color:var(--ink);margin:6px 0 8px;font-family:var(--round)}
.rvsub2:not(:first-of-type){margin-top:16px}
.rvtime{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:12px}
.rvtime>div{display:flex;flex-direction:column;align-items:center;gap:1px;background:#F6F3EA;border-radius:16px;padding:10px 2px}
.rvtime>div.on{background:var(--mustard-soft);box-shadow:inset 0 0 0 1.5px #E8C25A}
.rvtime b{font-family:var(--round);font-weight:400;font-size:20px}
.rvtime b u{text-decoration:none;font-size:12px}
.rvtime small{font-size:13px}
.rvtime em{font-style:normal;font-size:11px;color:var(--ink2)}
.rvtime i{font-style:normal;font-size:11px;color:#5D7AA8;margin-top:2px}

/* 11-22 메뉴 다시 나눔: 홈 · 마음 · 하트 · 이야기 · 상점 */
.segs .segn{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:5px;padding:0 5px;border-radius:9px;background:var(--coral);color:#fff;font-style:normal;font-size:11px;line-height:1;vertical-align:1px}
.gotlist{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.gotlist .nw{width:100%}
.gotnone{color:var(--nightT2);text-align:center;background:#fff;border:1.5px dashed var(--line);border-radius:20px;padding:22px 16px;margin:0;word-break:keep-all}
.closet{display:flex;align-items:center;gap:12px;width:100%;background:var(--mustard-soft);border:1.5px solid var(--line);border-radius:22px;padding:10px 16px 10px 10px;margin-bottom:14px;text-align:left;color:var(--ink)}
.closet img{width:56px;height:56px;border-radius:50%;background:#fff;object-fit:cover;object-position:top}
.closet span{display:grid;gap:2px;flex:1}
.closet b{font-family:var(--round);font-weight:400;font-size:17px}
.closet small{font-size:13px;color:var(--ink2)}
.closet i{font-style:normal;color:var(--coralD);font-size:20px}
.gsec{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:18px 0 10px}
.gsec svg,.gsec img{width:24px;height:24px}
.gsec b{font-family:var(--round);font-weight:400;font-size:18px}
.gsec small{flex-basis:100%;font-size:13px;color:var(--ink2)}
.gpals{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}
.gpal{flex:none;display:flex;flex-direction:column;align-items:center;gap:4px;width:84px;background:#fff;border:1.5px solid var(--line);border-radius:18px;padding:10px 6px;color:var(--ink)}
.gpal .pf{width:52px;height:52px;border-radius:50%;background:#EDE7DA;overflow:hidden;position:relative;display:block}
.gpal .pf img{position:absolute;left:50%;top:8%;width:96%;height:auto;translate:-50% 0}
.gpal b{font-family:var(--round);font-weight:400;font-size:14px}
.gpal small{font-size:11px;color:var(--coralD)}
.gempty{color:var(--nightT2);font-size:14px;margin:0}

/* 진짜 선물(11-22) */
.gbox{display:flex;align-items:center;gap:12px;width:100%;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:12px 16px;margin-bottom:6px;text-align:left;color:var(--ink)}
.gbox>img{width:36px;height:36px}
.gbox span{display:grid;gap:1px;flex:1}.gbox b{font-family:var(--round);font-weight:400;font-size:16px}.gbox small{font-size:12px;color:var(--ink2)}
.gbox i{font-style:normal;color:var(--coralD);font-size:18px}
.grec{background:var(--mustard-soft);border-radius:24px;padding:14px 0 14px 14px;margin:12px 0 4px}
.gsec2{display:flex;align-items:center;gap:8px;margin:0 14px 10px 0;font-size:15px}
.gsec2 .wx img,.gsec2 .wx svg{width:34px;height:34px;display:block}
.gsec2 b{font-family:var(--round);font-weight:400}
.gsec2 small{display:block;font-size:12px;color:var(--ink2)}
.grow{display:flex;gap:10px;overflow-x:auto;padding-right:14px;scrollbar-width:none}
.grow .gp{flex:0 0 138px}
.gcats{display:flex;gap:6px;overflow-x:auto;margin:0 calc(-1*var(--gut)) 12px;padding:0 var(--gut);scrollbar-width:none}
.gcats button{flex:none;border-radius:999px;padding:8px 14px;background:#fff;border:1.5px solid var(--line);font-size:14px;color:var(--ink)}
.gcats button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.ggrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 10px}
@media (min-width:700px){.ggrid{grid-template-columns:repeat(3,1fr)}}
.gp{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;color:var(--ink);min-width:0}
.gp .gi{position:relative;display:block;width:100%;aspect-ratio:1;border-radius:18px;overflow:hidden;margin-bottom:6px}
.gp .gi img{position:absolute;inset:10%;width:80%;height:80%;object-fit:contain}
.gk{font-style:normal;font-size:11px;padding:3px 7px;border-radius:8px;background:#fff;color:var(--ink);white-space:nowrap}
.gp .gk{position:absolute;left:8px;top:8px}
.gk.val{background:#E9F3E2}.gk.ship{background:#E3EEFA}.gk.book{background:#F1E6FB}
.gp small{font-size:11px;color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.gp b{font-weight:600;font-size:14px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all}
.gp em{font-style:normal;font-family:var(--round);font-size:16px;margin-top:2px}
.gp u{display:flex;align-items:center;gap:3px;text-decoration:none;font-size:11px;color:var(--ink2)}
.gp u svg,.gp u img{width:12px;height:12px}
.gtest{font-size:12px;color:var(--ink2);text-align:center;margin:18px 4px 0;word-break:keep-all}
.over.gift .mebody{padding-bottom:110px}
.ghero{border-radius:28px;aspect-ratio:4/3;display:grid;place-items:center;margin-top:4px}
.ghero img{width:62%;height:auto}
.gdh{padding:14px 2px 4px}
.gdh small{display:block;font-size:12px;color:var(--ink2);margin-top:8px}
.gdh h2{font-size:23px;margin:2px 0 4px;word-break:keep-all}
.gdh p{margin:0;color:var(--ink2);font-size:14px}
.gprice{display:block;font-family:var(--round);font-weight:400;font-size:28px;margin-top:10px}
.gh2{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--ink2)}
.gh2 svg,.gh2 img{width:16px;height:16px}
.glab{font-size:13px;color:var(--ink);font-family:var(--round);margin:18px 0 8px}
.gopts,.gpay{display:flex;gap:8px;flex-wrap:wrap}
.gopts button,.gpay button{flex:1;min-width:90px;border-radius:14px;padding:12px 6px;background:#fff;border:1.5px solid var(--line);font-family:var(--round);font-size:15px;color:var(--ink)}
.gopts button[aria-pressed="true"],.gpay button[aria-pressed="true"]{border-color:var(--coral);box-shadow:inset 0 0 0 1px var(--coral);background:#FFF3EF}
.ginfo{background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:6px 16px;margin-top:16px}
.ginfo p{display:grid;grid-template-columns:72px 1fr;gap:10px;margin:0;padding:11px 0;font-size:13px;line-height:1.5;word-break:keep-all}
.ginfo p+p{border-top:1px solid var(--line)}
.ginfo b{font-weight:600;color:var(--ink)}.ginfo span{color:var(--ink2)}
.gfoot{position:absolute;left:0;right:0;bottom:0;padding:12px var(--gut) calc(14px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#FAF8F2 30%)}
.gfoot .cta{width:100%;margin:0}
.gfoot .cta[disabled]{opacity:.4}
.gprog{display:flex;gap:6px;margin:2px 0 12px}
.gprog span{flex:1;font-size:11px;color:var(--ink2);border-top:4px solid #E9E4D6;padding-top:6px;border-radius:2px}
.gprog span.on{border-color:var(--coral);color:var(--ink)}
.gtt{font-size:24px;margin:4px 0 14px}
.gtos{display:flex;flex-direction:column;gap:8px}
.gto{display:flex;align-items:center;gap:12px;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:10px 14px;text-align:left;color:var(--ink)}
.gto[aria-pressed="true"]{border-color:var(--coral);background:#FFF3EF}
.gto .pf{flex:none;width:50px;height:50px;border-radius:50%;background:#EDE7DA;overflow:hidden;position:relative}
.gto .pf img{position:absolute;left:50%;top:8%;width:96%;translate:-50% 0}
.gto .m{display:grid;gap:2px;flex:1}.gto b{font-family:var(--round);font-weight:400;font-size:16px}
.gto small{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--ink2)}
.gto small img,.gto small svg{width:20px;height:20px}
.gto i{width:22px;height:22px;border-radius:50%;border:2px solid var(--line)}
.gto[aria-pressed="true"] i{border:7px solid var(--coral)}
.gnote{font-size:12px;color:var(--ink2);margin:12px 2px 0;word-break:keep-all}
.gcardv{position:relative;border-radius:24px;padding:22px 20px 18px;min-height:170px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;box-shadow:0 6px 18px rgba(22,43,76,.08)}
.gca{display:block;width:64px;height:64px}.gca svg,.gca img{width:100%;height:100%;object-fit:contain}
.gcardv p{margin:0;font-family:var(--round);font-size:19px;line-height:1.45;word-break:keep-all;color:var(--ink)}
.gcardv p span{color:var(--ink2);opacity:.7}
.gcardv small{font-size:12px;color:var(--ink2)}
.gcards{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.gcards button{display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:16px;padding:10px 4px;border:2px solid transparent;color:var(--ink)}
.gcards button[aria-pressed="true"]{border-color:var(--coral)}
.gcards .gca{width:34px;height:34px}.gcards small{font-size:11px}
.gsug{display:flex;flex-direction:column;gap:6px}
.gsug button{text-align:left;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:10px 14px;font-size:14px;color:var(--ink)}
.gmsg{width:100%;margin-top:10px;border:1.5px solid var(--line);border-radius:16px;padding:12px 14px;font:inherit;font-size:15px;background:#fff;color:var(--ink);resize:none}
.ganon{display:flex;align-items:flex-start;gap:8px;margin-top:14px;font-size:13px;color:var(--ink);line-height:1.4}
.ganon input{width:18px;height:18px;accent-color:var(--coral);flex:none;margin-top:1px}
.gsum{display:flex;align-items:center;gap:12px;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:12px}
.gsum img{width:64px;height:64px;object-fit:contain}
.gsum span{display:grid;gap:2px}.gsum small{font-size:11px;color:var(--ink2)}.gsum b{font-size:15px}.gsum em{font-style:normal;font-family:var(--round);font-size:17px}
.gtotal{display:flex;justify-content:space-between;align-items:baseline;margin-top:18px;padding-top:14px;border-top:1.5px dashed var(--line)}
.gtotal span{font-size:14px}.gtotal b{font-family:var(--round);font-weight:400;font-size:26px}
.gdone{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding-top:40px}
.gdone .big{width:96px;height:96px}.gdone .big svg{width:100%;height:100%}
.gdone h2{font-size:26px;margin:6px 0 0}.gdone p{margin:0;color:var(--ink2);line-height:1.5}
.gdone .cta{width:100%;margin-top:8px}
.gsent{display:flex;align-items:center;gap:12px;width:100%;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:10px 14px;margin-bottom:8px;text-align:left;color:var(--ink)}
.gsent img{width:56px;height:56px;object-fit:contain}
.gsent span{display:grid;gap:1px;flex:1}.gsent small{font-size:11px;color:var(--ink2)}.gsent b{font-size:15px}.gsent em{font-style:normal;font-size:12px;color:var(--ink2)}
.gsent i{font-style:normal;color:var(--coralD)}
.vch{background:#fff;border-radius:24px;margin-top:14px;padding:16px;box-shadow:0 6px 18px rgba(22,43,76,.08)}
.vtop{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1.5px dashed var(--line)}
.vtop img{width:72px;height:72px;object-fit:contain;background:#F6F3EA;border-radius:16px;padding:6px}
.vtop span{display:grid;gap:2px}.vtop small{font-size:12px;color:var(--ink2)}.vtop b{font-size:17px;word-break:keep-all}.vtop em{font-style:normal;font-size:13px;color:var(--coralD)}
.vbc{padding:18px 4px 8px;text-align:center}
.vbc .bc{width:100%;height:64px;fill:#111}
.vcode{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px 0 0;font-family:ui-monospace,Menlo,monospace;font-size:17px;letter-spacing:.06em}
.vcode button{font-family:inherit;font-size:12px;letter-spacing:0;border:1.5px solid var(--line);border-radius:10px;padding:4px 10px;color:var(--ink)}
.vship{display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;padding:18px 0 8px}
.vship b{font-family:var(--round);font-weight:400;font-size:17px}.vship small{font-size:12px;color:var(--ink2)}.vship .cta{width:100%;margin-top:10px}
.vrow{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:13px}
.vrow span{color:var(--ink2);flex:none}.vrow b{font-weight:600;text-align:right;word-break:keep-all}
.dday{font-style:normal;display:inline-block;margin-left:6px;font-size:11px;font-weight:600;color:#fff;background:var(--coral);border-radius:8px;padding:2px 6px}
.vbtns{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}
.vbtns button{border:1.5px solid var(--line);border-radius:12px;padding:10px 2px;font-size:12px;color:var(--ink);background:#FAF8F2}
.vnote{font-size:11px;color:var(--ink2);margin:10px 0 0;text-align:center;word-break:keep-all}

/* 상점 꾸미기 하나로(11-22): 피부색·방 미리 보기 */
.skinrow{display:flex;gap:10px;flex-wrap:wrap}
.skinrow button{width:58px;height:58px;border-radius:50%;padding:4px;border:2.5px solid transparent;background:#fff;box-shadow:0 2px 0 #E4DFD0}
.skinrow button span{display:block;width:100%;height:100%;border-radius:50%;border:1.5px solid #162B4C}
.skinrow button[aria-pressed="true"]{border-color:var(--coral)}
.clo-prev.room{padding:10px}
.clo-prev.room .rsq{position:relative;top:0;width:100%;max-width:360px;border-radius:20px;overflow:hidden}
.clo-prev.room .rsq .rscrib,.clo-prev.room .rsq .rpen,.clo-prev.room .rsq .rbook{display:none}
.rbar-n{flex:1;min-width:0;font-size:13px;color:var(--ink2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:4px}

/* 넓은 방(11-22): 가구는 한 장씩 얹는다. 책상·책·스피커 자리도 새 방에 맞춤 */
.rsq.r2 .rfurn{position:absolute;height:auto;pointer-events:none}
.rsq.r2 .rspk{left:74.6%;bottom:54.2%;width:3.4%}
.rsq.r2 .rbook{left:82%;top:46.3%;width:max(7%,40px);height:max(4.4%,26px)}
.rsq.r2 .rpen{left:81.8%;bottom:52.6%;width:2.6%}
.rsq.r2 .rscrib{left:81.2%;top:47%;width:2%;height:1.4%}
/* 넓은 방: 아바타를 방 바닥 가운데에 방 크기에 맞게 세운다 */
.scene-top.rl .who,.scene-top.rl .who.p-fog,.scene-top.rl .who.p-whirl,.scene-top.rl .who.p-thunder,.scene-top.rl .who.p-heat,.scene-top.rl .who.p-sun,.scene-top.rl .who.p-rainbow,.scene-top.rl .who.p-moon,.scene-top.rl .who.p-breeze{height:22%;bottom:31%;max-width:none;max-height:none}
.scene-top.rl .who.p-rain{height:14%;bottom:31%}
.scene-top.rl .wbub{top:auto;bottom:calc(53% + 6px)}
.scene-top.rl .rwin,.scene-top.rl.wx-fog .rwin,.scene-top.rl.wx-rain .rwin,.scene-top.rl.wx-whirl .rwin,.scene-top.rl.wx-thunder .rwin,.scene-top.rl.wx-heat .rwin,.scene-top.rl.wx-sun .rwin,.scene-top.rl.wx-rainbow .rwin{bottom:54%;width:9%}
.scene-top.rl.wx-rain .rwin{bottom:46%}
.scene-top.rl .who{left:60%;bottom:34%}
.scene-top.rl .who.p-rain{bottom:34%}
.scene-top.rl .wbub{left:60%;bottom:calc(56% + 6px)}
.scene-top.rl .rwin,.scene-top.rl.wx-fog .rwin,.scene-top.rl.wx-whirl .rwin,.scene-top.rl.wx-thunder .rwin,.scene-top.rl.wx-heat .rwin,.scene-top.rl.wx-sun .rwin,.scene-top.rl.wx-rainbow .rwin{left:60%;bottom:57%}
.scene-top.rl.wx-rain .rwin{left:60%;bottom:49%}
/* 가구 자리 옮기기 */
.rsq.r2.edit{pointer-events:auto}
.rsq.r2.edit .rfurn.mv{pointer-events:auto;cursor:grab;touch-action:none;-webkit-user-drag:none;user-select:none;filter:drop-shadow(0 0 0 transparent)}
.rsq.r2.edit .rfurn.mv:hover{filter:drop-shadow(0 0 3px rgba(224,106,75,.9))}
.rsq.r2.edit .rfurn.drag{cursor:grabbing;z-index:5;filter:drop-shadow(0 6px 6px rgba(90,60,20,.35)) drop-shadow(0 0 3px rgba(224,106,75,.9))}
.rmvbar{display:flex;gap:8px;justify-content:center;margin:10px 0 2px}
.rmvbar .pill-btn{min-height:40px}
/* 아바타 옮기기: 자리는 --ax/--ab(없으면 기본 자리) */
.scene-top.rl .who,.scene-top.rl .who.p-rain{left:var(--ax,50%);bottom:var(--ab,34%);touch-action:none;-webkit-user-drag:none;user-select:none}
.scene-top.rl .who.drag{animation:none;cursor:grabbing;filter:drop-shadow(0 8px 6px rgba(90,60,20,.3))}
.scene-top.rl .wbub{left:var(--ax,50%);bottom:calc(var(--ab,34%) + 22% + 6px)}
.scene-top.rl .rwin,.scene-top.rl.wx-fog .rwin,.scene-top.rl.wx-whirl .rwin,.scene-top.rl.wx-thunder .rwin,.scene-top.rl.wx-heat .rwin,.scene-top.rl.wx-sun .rwin,.scene-top.rl.wx-rainbow .rwin{left:var(--ax,50%);bottom:calc(var(--ab,34%) + 23%)}
.scene-top.rl.wx-rain .rwin{left:var(--ax,50%);bottom:calc(var(--ab,34%) + 15%)}
.rsq.r2.edit .mv,.rsq.r2.edit .rfurn.mv{pointer-events:none;cursor:auto}
.rsq.r2.edit{cursor:grab;touch-action:none}
.rsq.r2.edit .rprop.pet{animation:none}
.rsq.r2.edit .mv.drag{filter:drop-shadow(0 6px 6px rgba(90,60,20,.35)) drop-shadow(0 0 3px rgba(224,106,75,.9))}
/* 날씨 자세가 정해져도 옮긴 자리를 따른다(11-23: 날씨를 고르면 위아래로 안 움직이던 것) */
.scene-top.rl .who.p-sun,.scene-top.rl .who.p-rainbow,.scene-top.rl .who.p-moon,.scene-top.rl .who.p-breeze,.scene-top.rl .who.p-fog,.scene-top.rl .who.p-rain,.scene-top.rl .who.p-heat,.scene-top.rl .who.p-whirl,.scene-top.rl .who.p-thunder{left:var(--ax,50%);bottom:var(--ab,34%)}
/* 확대·축소(11-23) */
.scene-top.rl .rzoom{position:absolute;inset:0;transition:transform .12s ease-out;will-change:transform}
.scene-top.rl{overflow:hidden;touch-action:pan-y}
.scene-top.rl.zoomed,.clo-prev.room.zoomed{touch-action:none}
.clo-prev.room{overflow:hidden;touch-action:pan-y}
.clo-prev.room .rsq{transition:transform .12s ease-out}
.rzbtn{position:absolute;right:12px;bottom:30%;z-index:4;display:flex;flex-direction:column;gap:6px}
.rzbtn button{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.92);border:1.5px solid var(--line);font-family:var(--round);font-size:20px;line-height:1;color:var(--ink);box-shadow:0 2px 6px rgba(90,60,20,.12)}
.rzbtn button:active{transform:scale(.94)}
#yh-fx .dnote{position:absolute;width:26px;height:26px;display:grid;place-items:center;font:700 22px/1 system-ui;color:#EE7B5C;pointer-events:none;z-index:5}
#yh-fx .dnote img{width:100%;height:100%}
@media (prefers-reduced-motion:reduce){#yh-fx .dnote{display:none}}

/* ── 옐로우하트 플러스 페이월(11-23) ── */
.over.plus .mebody{text-align:center;padding-bottom:40px}
.plhati{width:96px;margin:4px auto 6px}
.plh{font-family:var(--round);font-weight:400;font-size:26px;margin:0 0 8px}
.pls{color:#6b6f7c;font-size:15px;line-height:1.6;margin:0 0 16px}
.pls b{color:var(--coralD)}
.plbox{background:#fff;border-radius:22px;padding:14px 18px;text-align:left;box-shadow:0 2px 0 #eee7d8;margin-bottom:16px}
.plk{font-family:var(--round);font-size:15px;color:var(--coralD);margin:4px 0 6px}
.plbox ul{list-style:none;margin:0 0 8px;padding:0}
.plbox li{position:relative;padding:7px 0 7px 28px;border-bottom:1px dashed #eee7d8;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.plbox li:last-child{border-bottom:0}
.plbox li::before{content:"";position:absolute;left:2px;top:10px;width:16px;height:16px;border-radius:50%;background:#F7C81E}
.plbox ul.soon li::before{background:#e6e1d6}
.plbox li b{font-size:15px}
.plbox li small{flex-basis:100%;color:#8a8f9c;font-size:13px}
.plbox li em{font-style:normal;font-size:11px;color:#8a8f9c;background:#f3efe6;border-radius:999px;padding:2px 8px;margin-left:auto}
.plplans{display:flex;gap:10px;margin-bottom:14px}
.plplan{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;background:#fff;border:2.5px solid #e6e1d6;border-radius:20px;padding:16px 8px 12px;color:var(--ink)}
.plplan.on{border-color:var(--coral);background:#FFF6F1}
.plplan b{font-family:var(--round);font-weight:400;font-size:17px}
.plprice{font-family:var(--round);font-size:22px;color:var(--coralD)}
.plprice small{font-size:12px;color:#8a8f9c;margin-left:2px}
.plplan>small{font-size:11.5px;color:#8a8f9c;line-height:1.4}
.plbadge{position:absolute;top:-11px;left:50%;translate:-50% 0;background:var(--coral);color:#fff;font-size:11px;font-weight:700;border-radius:999px;padding:3px 10px;white-space:nowrap}
.pltime{list-style:none;padding:0;margin:0 0 16px;text-align:left;background:#fff;border-radius:18px;padding:10px 16px}
.pltime li{display:flex;gap:12px;align-items:baseline;padding:5px 0;font-size:14px}
.pltime li b{flex:none;width:46px;font-family:var(--round);font-weight:400;color:var(--coralD)}
.pltime li span{color:#5f6474}
.plcta{width:100%;margin:0 0 6px}
.pllink{display:inline-block;background:none;border:0;color:#7a7f8c;font-size:14px;text-decoration:underline;padding:8px;min-height:40px}
.pllink.in{padding:0 2px;min-height:0;font-size:12px}
.plsmall{font-size:12px;color:#9aa0ad;line-height:1.6;margin-top:12px}
.rvlock{text-align:center}
.rvlock img{width:72px;margin:0 auto 6px}
.rvlock b{display:block;font-family:var(--round);font-weight:400;font-size:19px;margin-bottom:6px}
.rvlock p{color:#6b6f7c;font-size:14px;line-height:1.6;margin:0 0 12px}
.stop .pllink{display:block;margin:2px auto 0;font-size:12.5px}
.plhati{width:72px}
.plh{font-size:24px}
.plbox{padding:10px 16px}
.plbox li{padding:5px 0 5px 26px}
.plsoon{margin:6px 0 2px;display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.plsoon span{width:100%;font-size:12px;color:#8a8f9c}
.plsoon i{font-style:normal;font-size:12px;background:#f3efe6;color:#6b6f7c;border-radius:999px;padding:3px 9px}
/* 플러스 선물 · 하트 서포트(11-23) */
.pgcards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 18px}
.pgcard{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;border-radius:20px;padding:14px 10px;color:var(--ink);box-shadow:0 3px 0 rgba(0,0,0,.06)}
.pgcard.give{background:#FFF4CC}.pgcard.ask{background:#E8F3EE}
.pgcard:disabled{opacity:.5}
.pgcard img{width:54px;height:54px;object-fit:contain}
.pgcard b{font-family:var(--round);font-weight:400;font-size:16px}
.pgcard small{font-size:12px;color:#6b6f7c;line-height:1.4}
.pgin{display:flex;gap:12px;align-items:flex-start;background:#fff;border:2px solid #FFD86B;border-radius:18px;padding:12px 14px;margin-bottom:10px;color:var(--ink)}
.pgin .pf{flex:none;width:48px;height:48px;border-radius:50%;overflow:hidden;background:#F3EFE6}
.pgin .pf img{width:100%;height:100%;object-fit:cover;object-position:50% 8%}
.pgin b{display:block;font-size:14.5px}.pgin small{display:block;font-size:12.5px;color:#6b6f7c;line-height:1.45;margin-top:2px}
.pgin .pgbtns{display:flex;gap:8px;align-items:center;margin-top:8px}
.pgin small.pgnote{font-size:11px;color:#9aa0ad}
.pgstat{background:#fff;border-radius:16px;padding:10px 14px;margin-bottom:10px;color:var(--ink)}
.pgstat b{display:block;font-size:14px}.pgstat small{display:block;font-size:12px;color:#6b6f7c}
.pgstat.ok{background:#E8F3EE}
.over.pg .mebody{text-align:center}
.over.pg .plk{text-align:left}
.over.pg .gpals{justify-content:flex-start;margin-bottom:12px}
.over.pg .gpal.on{outline:3px solid var(--coral);border-radius:16px}
.pgmsgs{display:flex;flex-direction:column;gap:6px;align-items:stretch;margin-bottom:10px}
.pgmsgs .chip{text-align:left;white-space:normal;line-height:1.4}
.pgmsgs .chip.on{background:#FFF6F1;border-color:var(--coral);color:var(--coralD)}
.pganon{display:flex;gap:8px;align-items:center;justify-content:center;font-size:14px;color:#5f6474;margin:4px 0 12px}
.mprev{font-size:12.5px;color:#7a7f8c;margin:-4px 0 8px;text-align:center}
.pgin .pgbtns .pill-btn{background:var(--coral);color:#fff}
/* 프로필 멤버십 카드(11-23) */
.mship{display:block;width:100%;text-align:left;border-radius:22px;padding:14px 16px;margin:12px 0 4px;color:var(--ink);box-shadow:0 3px 0 rgba(0,0,0,.06)}
.mship.free{background:linear-gradient(135deg,#FFF4CC,#FFE7DC);border:2px solid #FFD86B}
.mship.trial,.mship.plus{background:linear-gradient(135deg,#EE7B5C,#F5A06A);color:#fff;border:0}
.mship .mtop{display:flex;gap:12px;align-items:center}
.mship .mtop img{width:52px;height:52px;object-fit:contain;flex:none}
.mship .mtop small{display:block;font-size:12px;opacity:.75}
.mship .mtop b{display:block;font-family:var(--round);font-weight:400;font-size:21px;line-height:1.2}
.mship .mtop em{display:block;font-style:normal;font-size:13px;opacity:.9;margin-top:2px}
.mship .mperks{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 2px}
.mship .mperks i{font-style:normal;font-size:11.5px;background:#fff;border-radius:999px;padding:3px 9px;color:#7a5a20}
.mship .mgo{display:block;text-align:right;font-size:14px;font-weight:700;margin-top:6px;color:var(--coralD)}
.mship.trial .mgo,.mship.plus .mgo{color:#fff}
.hhead .me{position:relative}
.hhead .me.isplus img{box-shadow:0 0 0 3px #F7C81E}
.hhead .me .pbadge{position:absolute;left:50%;bottom:-6px;translate:-50% 0;background:var(--coral);color:#fff;font-size:9px;font-weight:800;letter-spacing:.5px;border-radius:999px;padding:1px 6px;border:2px solid #fff}
.sec-label .fcap{font-size:.8em;opacity:.6;font-weight:400}
/* 11-23 스피커를 아직 안 눌러 본 사람: 3초마다 통통 튀고 "♪ 눌러 봐요" 말풍선(한 번 누르면 사라짐). 평소에도 가끔 들썩 */
.rsq .rspk.hint img{animation:spkHop 3s ease-in-out infinite}
@keyframes spkHop{0%,70%,100%{transform:none}76%{transform:translateY(-14%) scale(1.06,.95)}82%{transform:translateY(0) scale(1.05,.92)}88%{transform:translateY(-6%) rotate(-4deg)}94%{transform:none}}
.rsq .rspk .spkbub{position:absolute;z-index:3;left:50%;bottom:118%;translate:-50% 0;white-space:nowrap;font-style:normal;font-weight:800;font-size:clamp(9px,2.3cqw,14px);line-height:1;color:#162B4C;background:#fff;border:2px solid #F7C81E;border-radius:999px;padding:.38em .7em;box-shadow:0 3px 0 rgba(224,180,0,.35);pointer-events:none;animation:spkBub 3s ease-in-out infinite}
.rsq .rspk .spkbub::after{content:"";position:absolute;left:50%;top:100%;translate:-50% -1px;border:6px solid transparent;border-top-color:#F7C81E}
@keyframes spkBub{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.rsq .rspk:not(.on):not(.hint) img{animation:spkIdle 7s ease-in-out infinite}
@keyframes spkIdle{0%,90%,100%{transform:none}93%{transform:rotate(-5deg)}96%{transform:rotate(4deg)}}
@media (prefers-reduced-motion:reduce){.rsq .rspk.hint img,.rsq .rspk .spkbub,.rsq .rspk:not(.on):not(.hint) img{animation:none}}
/* 11-23 안내 한 줄(toast): 산호색 위 흰 글씨가 묻혀 안 보임 → 진한 남색 판, 큰 글씨, 그림자, 아래에서 올라오며 3초 */
.toast{background:#1F2F4D!important;color:#fff;font-size:16px;font-weight:700;line-height:1.45;padding:14px 20px!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(20,30,60,.35);border:2px solid #F7C81E;max-width:88%!important;word-break:keep-all;animation:toastIn .28s cubic-bezier(.2,.9,.3,1.2);transition:opacity .35s,transform .35s;z-index:300!important}
.toast::before{display:none!important}
.toast.out{opacity:0;transform:translateY(8px)}
@keyframes toastIn{from{opacity:0;transform:translateY(14px) scale(.96)}}
/* 11-23 누나: 연속 'N일째'를 크게, '야호! 해냈어요'는 작게 */
.dstk2 .strk{font-size:clamp(26px,8vw,34px);font-weight:900;opacity:1;letter-spacing:-.02em;line-height:1.05;display:inline-flex;align-items:center;gap:4px}
.dstk2 .strk svg{width:clamp(24px,7vw,30px);height:clamp(24px,7vw,30px)}
.dstk2 .stkrow{row-gap:6px}
.dstk2 .say{font-size:clamp(16px,4.6vw,19px);line-height:1.35;margin-top:8px;min-height:0}
/* 11-23 누나 "글씨·달력 여백 확인": 설명 글 짧고 작게·위아래 숨, 달력 칸이 오른쪽으로 넘치던 것(그림 최소폭) 막기, 바닥 여백, 화살표 단추 가볍게 */
.dintro{margin:18px 4px 14px;font-size:14px;line-height:1.6;color:var(--ink2,#4A5A75);word-break:keep-all}
.dstk-hint{margin:10px 6px 0}
.dcal{padding:18px 14px 18px;margin-top:14px}
.dcal .dhd{margin:0 2px 14px}
.dcal .dhd button{width:36px;height:36px;box-shadow:none;border-width:1.5px}
.dcal .dhd button:active{transform:scale(.94)}
.dcal .dw,.dcal .dg{grid-template-columns:repeat(7,minmax(0,1fr));column-gap:2px}
.dcal .dg{row-gap:6px}
.dcal .dw span{font-size:12.5px;padding-bottom:8px}
.dcal .dg i{min-width:0;overflow:visible;aspect-ratio:auto;height:clamp(52px,14.5vw,62px);justify-content:flex-start;padding:4px 0 2px;gap:2px}
.dcal .dg i img.w,.dcal .dg i svg{width:min(34px,86%);height:auto;max-height:34px;flex:none}
.dcal .dg i b{margin-top:auto;font-size:12.5px}
.dcal .dg i.now{box-shadow:inset 0 0 0 2px var(--coral,#EE7B5C)}
.dcal .hstamp{right:0;bottom:16px;width:14px;height:14px}

/* 하티 굿즈(11-24): 그림 대신 사진을 쓰는 상품 */
.gp .gi.ph img{inset:0;width:100%;height:100%;object-fit:cover}
.ghero.ph{aspect-ratio:1;overflow:hidden}
.ghero.ph img{width:100%;height:100%;object-fit:cover}
.gmore{display:block;width:100%;border-radius:22px;margin:14px 0 2px}
.gsum img.ph,.gsent img.ph{border-radius:12px;object-fit:cover}
.vtop img.ph{padding:0;object-fit:cover}
.hgban{position:relative;border-radius:26px;overflow:hidden;margin:2px 0 4px;aspect-ratio:4/3}
.hgban img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hgban p{position:absolute;left:0;right:0;bottom:0;margin:0;padding:44px 18px 16px;display:grid;gap:6px;color:#fff;background:linear-gradient(transparent,rgba(31,27,60,.82))}
.hgban b{font-family:var(--round);font-weight:400;font-size:23px;line-height:1.25;word-break:keep-all}
.hgban small{font-size:13px;line-height:1.45;word-break:keep-all;opacity:.95}
@media (min-width:700px){.hgban{aspect-ratio:21/9}}

/* 옐로우하트 카드(11-24): 하트 모양 앞면·뒷면. 뒷면은 글씨 없이 진짜 QR만 */
.ycards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:8px;padding:0 4%}
.ycard{position:relative;aspect-ratio:238/207;filter:drop-shadow(0 6px 10px rgba(22,43,76,.16))}
.ycard>img{position:absolute;inset:0;width:100%;height:100%}
.ycard .qr{position:absolute;left:29%;top:22%;width:42%;height:auto;border-radius:6%}
.ycap{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:10px 0 0;padding:0 4%;text-align:center;font-size:12px;color:var(--ink2)}

/* 11-25 v3 놀이: 큰 점수·단계·다음 하트까지 */
.mg.mgbig .mg-score{min-width:128px;font-size:13px;padding:3px 12px;flex:0 0 auto}.mg.mgbig .mg-hearts{gap:4px}.mg.mgbig .mg-hearts i{width:27px;height:27px}.mg.mgbig .mg-row{gap:8px}.mg.mgbig .mg-score b{font-size:22px;letter-spacing:.2px;transition:color .2s,transform .2s}
.mg.mgbig .mg-score b.hot{color:var(--coralD);transform:scale(1.08)}
.mg-next{font-size:12.5px;text-align:center;color:var(--ink);opacity:.7;margin-top:-2px;font-variant-numeric:tabular-nums}
.mg-intro.end{background:rgba(250,248,242,.93);gap:8px}
.mg-intro .mg-final{font-size:46px;line-height:1.1;color:var(--coralD);font-variant-numeric:tabular-nums}
.mg-intro .mg-cb{font-size:14px;color:var(--ink);opacity:.75}
.mgstat{display:flex;gap:8px;align-self:stretch}.mgstat span{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;background:var(--mustard-soft);border-radius:16px;padding:8px 4px}
.mgstat small{font-size:12px;opacity:.75}.mgstat b{font-family:var(--round);font-weight:400;font-size:18px;color:var(--ink);font-variant-numeric:tabular-nums}
.mgxp{align-self:stretch;height:8px;border-radius:4px;background:var(--line);overflow:hidden}.mgxp i{display:block;height:100%;background:var(--mustard);border-radius:4px}
.mgxpt{font-size:13px!important;line-height:1.45;margin:0;opacity:.8}
h2.mgsc{font-size:40px;color:var(--coralD);font-variant-numeric:tabular-nums;margin:0}
.sentrow span.off{opacity:.2;filter:grayscale(1)}

/* 11-25 놀이 뒤: 하트를 받은 사람 */
.mgto{align-self:stretch;display:flex;flex-direction:column;gap:6px;text-align:left}
.mgto>b{font-family:var(--round);font-weight:400;font-size:15px;color:var(--ink);text-align:center;opacity:.8}
.mgto-r{display:flex;align-items:center;gap:10px;background:var(--mustard-soft);border-radius:16px;padding:7px 12px 7px 8px;opacity:0;transform:translateY(8px) scale(.96);animation:mgtoin .4s cubic-bezier(.3,1.5,.5,1) forwards}
.mgto-av{flex:0 0 46px;width:46px;height:46px;border-radius:50%;overflow:hidden;background:#EDE7DA;position:relative;display:block}
.mgto-av img{position:absolute;left:50%;top:8%;width:96%;height:auto;translate:-50% 0}
.mgto-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.mgto-t strong{font-family:var(--round);font-weight:400;font-size:15.500px;color:var(--ink)}
.mgto-t small{font-size:12.500px;line-height:1.35;color:var(--ink);opacity:.72;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mgto-r.st{animation:none;opacity:1;transform:none}
button.mgto-r{border:0;font:inherit;color:inherit;text-align:left;width:100%;cursor:pointer;min-height:54px}
button.mgto-r:active{transform:scale(.98)}
.mgto-a{flex:0 0 auto;font-size:12.500px;white-space:nowrap;color:var(--ink);opacity:.65;display:flex;align-items:center;gap:3px}
.mgto-a.go{opacity:1;background:#fff;border-radius:999px;padding:5px 10px 5px 7px;font-family:var(--round);color:var(--coralD)}
.mgto-a img,.mgto-a svg{width:15px;height:15px;display:block}
.mgto-r.isf{background:#fff;border:1.5px solid var(--line)}
.mgto-hint{font-size:12px;text-align:center;opacity:.6}
@keyframes mgtoin{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mgto-r{animation:none;opacity:1;transform:none}.mgto-h{animation:none}}

/* 11-25 상점 → 보던 이야기로 돌아가기 */
.backbar{position:absolute;left:50%;bottom:96px;translate:-50% 0;z-index:20;display:flex;align-items:center;gap:8px;max-width:calc(100% - 32px);min-height:48px;padding:10px 18px 10px 12px;border:1.5px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-family:var(--round);font-size:15.500px;box-shadow:0 8px 22px rgba(60,50,30,.16);cursor:pointer;white-space:nowrap}
.backbar i{font-style:normal;font-size:22px;line-height:1;width:26px;height:26px;border-radius:50%;background:var(--mustard-soft);display:grid;place-items:center;flex:none;padding-bottom:3px}
.backbar span{overflow:hidden;text-overflow:ellipsis}.backbar b{font-weight:400;color:var(--coralD)}
.backbar.ok{background:var(--mustard);border-color:var(--mustard);animation:backpulse 1.6s ease-in-out infinite}.backbar.ok i{background:#fff}.backbar.ok b{color:var(--ink)}
.backbar~.toast{bottom:160px}
@keyframes backpulse{50%{box-shadow:0 8px 26px rgba(247,200,30,.55),0 0 0 6px rgba(247,200,30,.22)}}
@media (prefers-reduced-motion:reduce){.backbar.ok{animation:none}}

/* 11-25 홈 '오늘 사람들의 마음 날씨': 날씨별 사람 수 + 나눈 일기 */
.mh{display:flex;flex-direction:column;gap:10px}
.mh-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:10px 2px 4px;margin:0 -2px;scroll-snap-type:x proximity}
.mh-chips::-webkit-scrollbar{display:none}
.mh-chip{position:relative;flex:0 0 68px;display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 4px 8px;border-radius:18px;border:1.5px solid var(--line);background:#fff;font:inherit;color:var(--ink);cursor:pointer;scroll-snap-align:start;min-height:44px}
.mh-chip img.w,.mh-chip>svg,.mh-chip>img{width:38px;height:38px;display:block}
.mh-chip b{font-family:var(--round);font-weight:400;font-size:13.500px;line-height:1.2;white-space:nowrap}
.mh-chip small{font-size:12px;opacity:.8;white-space:nowrap}.mh-chip small strong{font-weight:700;font-variant-numeric:tabular-nums}
.mh-chip .bar{width:44px;height:5px;border-radius:3px;background:#F1EDE3;margin-top:4px;overflow:hidden;display:block}
.mh-chip .bar u{display:block;height:100%;border-radius:3px;background:#D8D1C0;text-decoration:none}
.mh-chip.on{border-color:var(--coral);background:#FFF3EE;box-shadow:0 0 0 1.5px var(--coral) inset}
.mh-chip.on .bar u{background:var(--coral)}
.mh-chip .me{position:absolute;top:-8px;left:50%;translate:-50% 0;font-style:normal;font-size:10.500px;font-family:var(--round);background:var(--mustard);color:var(--ink);border-radius:999px;padding:1px 7px;white-space:nowrap}
.mh-box{background:#fff;border:1.5px solid var(--line);border-radius:22px;padding:14px;display:flex;flex-direction:column;gap:8px}
.mh-h{display:flex;align-items:center;gap:10px;margin:0}
.mh-h img.w,.mh-h>svg,.mh-h>img{width:44px;height:44px;flex:none}
.mh-h span{display:flex;flex-direction:column;gap:1px;min-width:0}
.mh-h b{font-family:var(--round);font-weight:400;font-size:18px;color:var(--ink)}
.mh-h small{font-size:13.500px;color:var(--ink);opacity:.78}.mh-h small strong{font-weight:700}
.mh-d{display:flex;align-items:flex-start;gap:10px;text-align:left;border:0;background:var(--cream);border-radius:16px;padding:10px 12px;font:inherit;color:var(--ink);cursor:pointer;width:100%}
.mh-d .pf{flex:none;width:40px;height:40px;border-radius:50%;background:#EDE7DA;overflow:hidden;position:relative;display:block}
.mh-d .pf img{position:absolute;left:50%;top:8%;width:96%;height:auto;translate:-50% 0}
.mh-d .tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.mh-d .tx b{font-family:var(--round);font-weight:400;font-size:14.500px}
.mh-d .tx small{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mh-e{font-size:14px;opacity:.7;margin:4px 0}
.mh-row{display:flex;gap:8px;margin-top:2px}
.mh-row .pill-btn{flex:1;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:15px;padding:8px 10px;white-space:nowrap}
.mh-row .pill-btn.line{background:#fff!important;border:1.5px solid var(--line);color:var(--ink)!important}
.mh-row .pill-btn.go{background:var(--coralD)!important;color:#fff!important}
.mh-row .pill-btn img,.mh-row .pill-btn svg{width:17px;height:17px;flex:none}

/* 11-25 하트 탭 날씨 카드: 사람 수·나눈 일기는 홈으로 옮기고 놀이 이름만 단추처럼 */
.mtile .gm.play{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;margin-top:8px;min-height:30px;padding:4px 12px;border-radius:999px;background:var(--mustard-soft);border:1.5px solid #F2D98A;color:var(--ink);font-family:var(--round);font-size:13px;line-height:1.2;text-align:center;white-space:nowrap;max-width:100%}

/* 11-25 홈 날씨 상자 안에서 나눈 일기를 전부(스크롤) */
.mh-sub{font-size:13.500px;margin:2px 0 0;color:var(--ink);opacity:.8}.mh-sub b{font-weight:700}
.mh-list{display:flex;flex-direction:column;gap:8px;max-height:min(52dvh,430px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:2px 2px 6px;margin:0 -2px;scrollbar-width:thin;border-radius:14px}
.mh-list .rd{flex:none}
.mh-row .pill-btn.go{white-space:normal;line-height:1.25;text-align:center}

/* 11-26 나눈 일기 줄에 글쓴이 프로필 동그라미 */
.rd .rdpf{flex:none;width:38px;height:38px;border-radius:50%;background:#EDE7DA;overflow:hidden;position:relative;display:block;margin-right:8px}
.rd .rdpf img{position:absolute;left:50%;top:8%;width:96%;height:auto;translate:-50% 0}
.rd>small{min-height:38px}

/* 이야기 탭 동그라미도 누를 수 있다 */
.path .stop .o{cursor:pointer}

/* 오늘 놀이를 다 한 뒤: "다 했어요 · 하트 3개" 상자를 창 맨 위에 크게 */
.mgxbox{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;box-sizing:border-box;margin:2px 0 6px;padding:14px 14px 12px;border-radius:18px;background:#FFF4D2;border:1.5px solid #F3D98C;text-align:center}
.mgxbox>b{font-family:var(--round);font-weight:400;font-size:19px;color:var(--ink)}
.mgxcost{display:inline-flex;align-items:center;gap:7px;background:#fff;border-radius:999px;padding:7px 16px 7px 10px;box-shadow:0 3px 10px rgba(90,70,30,.12)}
.mgxcost svg,.mgxcost img{width:24px;height:24px;flex:none}
.mgxcost i{font-style:normal;font-size:14px;color:var(--ink2)}
.mgxcost strong{font-family:var(--round);font-weight:400;font-size:20px;color:var(--coralD)}
.mgxbox small{font-size:13.5px;line-height:1.45;color:var(--ink2)}
.mgxbox em{font-style:normal;font-size:13.5px;color:var(--ink2)}
.mgxbox em.low{color:var(--coralD);font-weight:600}
.cta.mgxgo{display:flex;align-items:center;justify-content:center;gap:6px}
.cta.mgxgo svg,.cta.mgxgo img{width:20px;height:20px;flex:none}
.cta.mgxgo.low{opacity:.55}

/* ── 하트 계획(11-26): 다음 이야기 줄 · 와 있는 하트 · 언제 열리는지 · 플러스 하루 체험 */
.nxt{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;margin-top:14px;padding:10px 12px;border-radius:18px;background:#fff;border:1.5px solid #EFE6D2;text-align:left;color:var(--ink)}
.nxt.ok{background:#FFF4D2;border-color:#F3D98C}
.nxt .o{flex:none;width:52px;height:52px;border-radius:50%;overflow:hidden;background:#EFE6D2}
.nxt .o img{width:100%;height:100%;object-fit:cover;display:block}
.nxt .m{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.nxt small{font-size:12px;color:var(--ink2)}
.nxt b{font-family:var(--round);font-weight:400;font-size:16px}
.nxt em{font-style:normal;font-size:13.5px;color:var(--coralD)}
.nxt .bar{display:block;height:6px;border-radius:99px;background:#EFE6D2;margin-top:4px;overflow:hidden}
.nxt .bar i{display:block;height:100%;border-radius:99px;background:#F7C81E}
.nxt .go{font-style:normal;font-size:22px;color:var(--ink2)}
.inbox{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;margin:0 0 14px;padding:12px 14px;border-radius:18px;background:#FFF4D2;border:1.5px solid #F3D98C;text-align:left;color:var(--ink);animation:hfxin .4s both}
.inbox>svg,.inbox>img{width:34px;height:34px;flex:none;animation:dugeun 1.3s ease-in-out infinite}
.inbox span{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.inbox b{font-family:var(--round);font-weight:400;font-size:16px}
.inbox small{font-size:13px;color:var(--ink2)}
.inbox>i{font-style:normal;flex:none;background:var(--coral,#F0795B);color:#fff;border-radius:999px;padding:8px 14px;font-family:var(--round);font-size:14px}
@media (prefers-reduced-motion:reduce){.inbox,.inbox>svg,.inbox>img{animation:none}}
.eta{display:flex;gap:8px;justify-content:center;margin:6px auto 0;width:100%;max-width:300px}
.eta>*{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 6px;border-radius:14px;background:#fff;border:1.5px solid #EFE6D2;color:var(--ink);font:inherit}
.eta i{font-style:normal;font-size:12px;color:var(--ink2)}
.eta b{font-family:var(--round);font-weight:400;font-size:16px}
.eta button,.eta .p{background:#FFF4D2;border-color:#F3D98C}
.eta button b,.eta .p b{color:var(--coralD)}
.eta button i::after{content:' ›'}
.plspeed{margin:12px 0 4px;text-align:center}
.plspeed small{font-size:13px;color:var(--ink2)}
.plpass{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px auto 0}
.plpass svg,.plpass img{width:18px;height:18px;flex:none}
.modal.nextch .nk{font-size:13px;color:var(--ink2)}
.modal.nextch .o{display:block;width:120px;height:120px;border-radius:50%;overflow:hidden;margin:8px auto 4px;border:3px solid #F3D98C}
.modal.nextch .o img{width:100%;height:100%;object-fit:cover;display:block}
.modal.nextch .nst{color:var(--coralD);font-family:var(--round)}

/* 플러스 딱지는 프로필 동그라미 밖 아래쪽에 걸친다(동그라미 안에 넣으면 잘려서 얼굴을 가린다) */
.hhead .mew{position:relative;flex:none;display:block;line-height:0}
.hhead .me.isplus{box-shadow:0 0 0 3px #F7C81E}
.hhead .me.isplus img{box-shadow:none}
.hhead .mew .pbadge{position:absolute;left:50%;bottom:-6px;translate:-50% 0;background:var(--coral,#F0795B);color:#fff;font-size:9px;line-height:1.3;font-weight:800;letter-spacing:.5px;white-space:nowrap;border-radius:999px;padding:1px 6px;border:2px solid #fff;pointer-events:none;z-index:1}
.hhead{position:relative;z-index:2}

/* 플러스로 가는 길(11-26): 알림 띠의 링크 · 프로필 아래 딱지 · 상점 맨 위 줄 */
.toast.haslink{display:flex;flex-direction:column;align-items:center;gap:8px}
.toast.haslink button{background:#F7C81E;color:#1F2F4D;border:0;border-radius:999px;padding:7px 16px;font:inherit;font-size:14.5px}
.hhead .mew .pbadge.try{background:#fff;color:var(--coralD);border:1.5px solid #F3D98C;font-size:10px;padding:2px 7px;pointer-events:auto;font-family:inherit}
.shplus{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;margin:8px 0 10px;padding:10px 12px;border-radius:16px;background:#FFF4D2;border:1.5px solid #F3D98C;text-align:left;color:var(--ink)}
.shplus img{width:36px;height:36px;flex:none;object-fit:contain}
.shplus span{flex:1;min-width:0;display:flex;flex-direction:column}
.shplus b{font-family:var(--round);font-weight:400;font-size:15.5px}
.shplus small{font-size:12.5px;color:var(--ink2)}
.shplus>i{font-style:normal;font-size:13px;color:var(--coralD);flex:none}
.nxt+.pllink{display:block;margin:2px auto 0;font-size:13px}

/* 플러스 안내: 시작 단추가 스크롤 없이 보이게 위쪽을 줄인다 */
.over.plus .plhati{width:72px;height:72px;margin-bottom:2px}
.over.plus .plh{margin-top:2px}
.plfree{text-align:center;font-size:13.5px;color:var(--ink2);margin:14px 0 0}
.over.plus .plspeed{margin-bottom:18px}
.pill-btn.plpass{background:#FFF4D2;color:var(--ink);border:1.5px solid #F3D98C;box-shadow:none}

/* 선물하기: 나에게 주는 선물을 먼저(11-26) */
.grec.me{background:#FFF4D2;border:1.5px solid #F3D98C}
.grec.me .gsec2 .pf{flex:none;width:40px;height:40px;border-radius:50%;background:#fff;overflow:hidden;position:relative;display:block}
.grec.me .gsec2 .pf img{position:absolute;left:50%;top:6%;width:96%;translate:-50% 0}
.grec.me .gsec2 b{font-size:17px}
.gto.self{background:#FFF4D2;border-color:#F3D98C}

.meheart{display:flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:10px 12px;margin:0 14px 12px 0}
.meheart .t{flex:none;width:40px;height:40px;display:grid;place-items:center}
.meheart .t svg,.meheart .t img{width:36px;height:36px;display:block}
.meheart .m{flex:1;min-width:0;display:flex;flex-direction:column}
.meheart b,.megift b{font-family:var(--round);font-weight:400;font-size:15.5px}
.meheart small,.megift small{font-size:12.5px;color:var(--ink2)}
.megift{display:flex;align-items:baseline;gap:8px;margin:0 14px 8px 2px}

/* 홈 '나에게': 하트와 선물 가운데 고르는 창 */
.modal.selfpick .sp2{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin:6px 0 4px}
.spc{display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 8px 14px;border-radius:20px;background:#FFF4D2;border:1.5px solid #F3D98C;color:var(--ink);text-align:center}
.spc .t{width:56px;height:56px;display:grid;place-items:center}
.spc .t svg,.spc .t img{width:52px;height:52px;display:block}
.spc b{font-family:var(--round);font-weight:400;font-size:17px}
.spc small{font-size:12.5px;line-height:1.4;color:var(--ink2);word-break:keep-all}
.spc.done{background:#F4F1EA;border-color:#E6E0D2}
.spc.done .t{opacity:.5}

/* ── 계정(11-26): 로그인 창은 js/account.js 가 body 에 붙인다 */
#yh-acct{position:fixed;z-index:60;display:grid;place-items:center;background:rgba(31,47,77,.45);border-radius:inherit;padding:18px;box-sizing:border-box;animation:fade .2s}
.ac-card{position:relative;width:100%;max-width:360px;box-sizing:border-box;background:#FBF8F1;border-radius:28px;padding:28px 22px 20px;text-align:center;color:var(--ink,#1F2F4D);font-family:Pretendard Variable,Pretendard,system-ui,sans-serif;max-height:100%;overflow:auto}
.ac-card h2{font-family:var(--round,Jua,sans-serif);font-weight:400;font-size:23px;margin:0 0 6px}
.ac-sub{font-size:14.5px;line-height:1.55;color:#5c6577;margin:0 0 16px}
.ac-note{font-size:13.5px;color:#C4533A;background:#FFF0EC;border-radius:12px;padding:8px 10px;margin:0 0 12px}
.ac-x{position:absolute;right:12px;top:12px;width:40px;height:40px;border-radius:50%;border:0;background:#F0ECE2;font-size:22px;line-height:1;color:#5c6577}
.ac-btns{display:flex;flex-direction:column;gap:8px}
.ac-btn{width:100%;min-height:50px;border-radius:16px;border:1.5px solid #E6E0D2;background:#fff;color:#1F2F4D;font:inherit;font-size:16px;font-weight:600}
.ac-btn.kakao{background:#FEE500;border-color:#FEE500;color:#191600}
.ac-btn.apple{background:#111;border-color:#111;color:#fff}
.ac-btn.mail{background:#E8694A;border-color:#E8694A;color:#fff}
.ac-btn:disabled{opacity:.6}
.ac-or{font-size:12.5px;color:#8a90a0;margin:12px 0 8px}
.ac-mail{display:flex;flex-direction:column;gap:8px;text-align:left}
.ac-mail label{font-size:13px;color:#5c6577;padding-left:4px}
.ac-mail input{min-height:50px;border-radius:16px;border:1.5px solid #E6E0D2;background:#fff;padding:0 14px;font:inherit;font-size:16px;color:#1F2F4D;box-sizing:border-box;width:100%}
.ac-small{font-size:12.5px;color:#8a90a0;margin:14px 0 0}
.ac-pick{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;padding:14px 16px;margin-top:8px;border-radius:18px;border:1.5px solid #F3D98C;background:#FFF4D2;color:#1F2F4D;font:inherit}
.ac-pick b{font-family:var(--round,Jua,sans-serif);font-weight:400;font-size:17px}
.ac-pick small{font-size:13px;color:#5c6577}
.acct{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;margin:12px 0 0;padding:12px 14px;border-radius:18px;background:#fff;border:1.5px solid #EFE6D2;text-align:left;color:var(--ink)}
.acct.out{background:#FFF4D2;border-color:#F3D98C}
.acct>span:first-child{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.acct small{font-size:12.5px;color:var(--ink2)}
.acct b{font-family:var(--round);font-weight:400;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct em{font-style:normal;font-size:13px;color:var(--ink2)}
.acct>i{font-style:normal;font-size:22px;color:var(--ink2)}
.acct .acbtns{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}
