/* 별빛 광장 · 꾸미기 */
#pz-app{--pz-ink:#3d2b4f;--pz-soft:#7a6890;--pz-bg:#fff8fc;--pz-card:#ffffff;--pz-line:#f0dcea;--pz-pink:#ff7eb3;--pz-pink2:#ffd3e6;--pz-lilac:#b9a3ff;--pz-gold:#ffb020;
 position:fixed;inset:0;z-index:2147480000;display:grid;place-items:center;padding:16px;background:rgba(48,28,70,.55);backdrop-filter:blur(6px);font-family:inherit;color:var(--pz-ink);animation:pz-in .22s ease-out}
html.pz-open{overflow:hidden}
@keyframes pz-in{from{opacity:0}to{opacity:1}}
#pz-app *{box-sizing:border-box}
#pz-app button{font:inherit;color:inherit;cursor:pointer}
.pz-frame{width:min(1200px,100%);height:min(820px,100%);display:flex;flex-direction:column;background:var(--pz-bg);border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(40,10,60,.45);border:3px solid #fff}
.pz-top{display:flex;align-items:center;gap:14px;padding:12px 16px;background:linear-gradient(90deg,#ffe3f0,#efe6ff);border-bottom:2px solid var(--pz-line)}
.pz-logo{font-size:18px;letter-spacing:-.02em;white-space:nowrap;color:#8a4fd0}
.pz-top nav{display:flex;gap:4px;flex:1;overflow-x:auto;scrollbar-width:none}
.pz-top nav button{border:0;background:transparent;padding:8px 14px;border-radius:999px;font-weight:700;color:var(--pz-soft);white-space:nowrap}
.pz-top nav button.on{background:#fff;color:var(--pz-ink);box-shadow:0 2px 0 var(--pz-line)}
.pz-starbox{background:#fff;border-radius:999px;padding:6px 12px;font-size:14px;box-shadow:0 2px 0 var(--pz-line);white-space:nowrap}
.pz-starbox b{color:#e08a00}
.pz-close{border:0;background:#fff;width:36px;height:36px;border-radius:50%;font-size:22px;line-height:1;box-shadow:0 2px 0 var(--pz-line)}
.pz-main{flex:1;min-height:0;overflow:auto}
.pz-tip{color:var(--pz-soft);font-size:13px;line-height:1.5;margin:6px 0}

/* character */
.pz-char{--s:1;position:relative;display:inline-flex;flex-direction:column;align-items:center;user-select:none;-webkit-user-select:none}
.pz-body{display:block;transform-origin:50% 100%;animation:pz-breathe 2.6s ease-in-out infinite}
.pz-sprite,.pz-pet,.pz-item img,.pz-dexcell img,.pz-get img,.pz-cover img{image-rendering:pixelated;image-rendering:crisp-edges}
.pz-sprite{display:block;height:calc(var(--h,112)*.75px*var(--s));width:auto;filter:drop-shadow(0 1px 0 rgba(255,255,255,.7))}
.pz-flip{transform:scaleX(-1)}
.pz-body.pz-flip{animation:none}
.pz-pet{position:absolute;bottom:calc(6px*var(--s));left:calc(-26px*var(--s));height:calc(40px*var(--s));animation:pz-pet 1.4s ease-in-out infinite}
.pz-shadow{position:absolute;bottom:calc(-3px*var(--s));width:calc(46px*var(--s));height:calc(9px*var(--s));border-radius:50%;background:rgba(40,20,60,.22);z-index:-1}
.pz-name,.pz-title{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11px;font-weight:700;line-height:1;padding:3px 7px;border-radius:6px}
.pz-name{top:calc(100% + 6px);background:rgba(40,26,60,.78);color:#fff}
.pz-me .pz-name{background:#ff5fa2}
.pz-title{top:calc(100% + 24px);background:#fff;color:#7a5cc4;border:1px solid #e6dbff}
.pz-title.r-rare{color:#2f8ae0;border-color:#cfe6ff}.pz-title.r-epic{color:#9b4dff;border-color:#e4d0ff;background:#fbf7ff}
.pz-title.r-legendary{color:#c27400;border-color:#ffd88a;background:linear-gradient(90deg,#fff6db,#ffe9f4)}
.pz-big .pz-name{font-size:13px}.pz-big .pz-title{font-size:12px;top:calc(100% + 28px)}
.pz-bubble{position:absolute;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);background:#fff;border-radius:14px;padding:4px 9px;font-size:22px;line-height:1.1;box-shadow:0 3px 10px rgba(60,20,80,.18);animation:pz-pop .35s cubic-bezier(.3,1.6,.6,1);z-index:3}
.pz-bubble::after{content:"";position:absolute;top:100%;left:50%;margin-left:-6px;border:6px solid transparent;border-top-color:#fff}
.pz-say{font-size:13px;font-weight:600;max-width:180px;white-space:normal;width:max-content;text-align:center;color:var(--pz-ink)}
.pz-say+.pz-fx,.pz-say{bottom:calc(100% + 8px)}
@keyframes pz-pop{from{transform:translateX(-50%) scale(.3);opacity:0}}
@keyframes pz-breathe{50%{transform:scaleY(.975) scaleX(1.01)}}
@keyframes pz-pet{50%{transform:translateY(calc(-4px*var(--s)))}}
.walking .pz-body{animation:pz-walk .32s ease-in-out infinite}
.walking .pz-body.pz-flip{animation:pz-walkf .32s ease-in-out infinite}
@keyframes pz-walk{50%{transform:translateY(-4px) rotate(2deg)}}
@keyframes pz-walkf{0%,100%{transform:scaleX(-1)}50%{transform:scaleX(-1) translateY(-4px) rotate(2deg)}}
/* actions */
.pz-act-jump .pz-body{animation:pz-jump .7s cubic-bezier(.3,.7,.4,1) infinite}
@keyframes pz-jump{0%,100%{transform:translateY(0) scaleY(1)}10%{transform:scaleY(.85) scaleX(1.1)}45%{transform:translateY(-38px) scaleY(1.06)}80%{transform:translateY(0) scaleY(.9)}}
.pz-act-bounce .pz-body{animation:pz-bounce .45s ease-in-out infinite}
@keyframes pz-bounce{50%{transform:translateY(-12px)}}
.pz-act-spin .pz-body{animation:pz-spin 1s linear infinite}
@keyframes pz-spin{to{transform:rotateY(360deg)}}
.pz-act-wiggle .pz-body{animation:pz-wiggle .5s ease-in-out infinite}
@keyframes pz-wiggle{25%{transform:rotate(-9deg) translateX(-3px)}75%{transform:rotate(9deg) translateX(3px)}}
.pz-act-bow .pz-body{animation:pz-bow 1.6s ease-in-out infinite}
@keyframes pz-bow{30%,60%{transform:rotate(14deg) translateY(4px) scaleY(.92)}}
.pz-act-float .pz-body{animation:pz-float 2s ease-in-out infinite}
@keyframes pz-float{50%{transform:translateY(-22px)}}
.pz-act-float .pz-shadow{animation:pz-shadowfloat 2s ease-in-out infinite}
@keyframes pz-shadowfloat{50%{transform:scale(.7);opacity:.5}}
.pz-act-sleep .pz-body{animation:pz-sleep 2.4s ease-in-out infinite;filter:saturate(.8)}
@keyframes pz-sleep{50%{transform:rotate(-6deg) scaleY(.96)}}
.pz-act-sleep::before{content:"Z z z";position:absolute;top:-6px;right:-14px;font-weight:800;color:#8a7cff;font-size:14px;animation:pz-zz 2.4s ease-in-out infinite}
@keyframes pz-zz{0%{opacity:0;transform:translate(0,6px)}50%{opacity:1}100%{opacity:0;transform:translate(10px,-14px)}}
.pz-act-twirl .pz-body{animation:pz-twirl 1.4s ease-in-out infinite}
@keyframes pz-twirl{0%{transform:rotateY(0)}40%{transform:rotateY(360deg) translateY(-8px)}100%{transform:rotateY(360deg)}}
.pz-act-cheer .pz-body{animation:pz-bounce .35s ease-in-out infinite}
.pz-act-heartburst .pz-body{animation:pz-bounce .6s ease-in-out infinite}
.pz-act-cheer::after,.pz-act-heartburst::after,.pz-act-champion::after{position:absolute;bottom:90%;left:50%;transform:translateX(-50%);font-size:20px;letter-spacing:6px;white-space:nowrap;animation:pz-burst 1.2s ease-out infinite;pointer-events:none}
.pz-act-cheer::after{content:"🎉 ✨ 🎊"}
.pz-act-heartburst::after{content:"💖 💗 💕"}
.pz-act-champion::after{content:"👑";font-size:26px;animation:pz-crown 1.6s ease-in-out infinite}
.pz-act-champion .pz-body{animation:pz-champ 1.6s ease-in-out infinite;filter:drop-shadow(0 0 8px #ffd34d)}
@keyframes pz-burst{0%{opacity:0;transform:translate(-50%,10px) scale(.5)}30%{opacity:1}100%{opacity:0;transform:translate(-50%,-26px) scale(1.25)}}
@keyframes pz-crown{50%{transform:translate(-50%,-8px)}}
@keyframes pz-champ{0%,100%{transform:scale(1)}50%{transform:scale(1.08) translateY(-6px)}}
/* effects */
.pz-fx{position:absolute;inset:-18% -40% 0;pointer-events:none;z-index:2}
.pz-fx i{position:absolute;left:calc(8% + var(--i)*13%);bottom:10%;width:7px;height:7px;color:var(--c);animation:pz-rise 2.6s ease-in infinite;animation-delay:calc(var(--i)*-.37s)}
.pz-fx-sparkle i::before,.pz-fx-stars i::before{content:"✦";font-size:12px;font-style:normal;text-shadow:0 0 6px var(--c)}
.pz-fx-stars i::before{content:"★";font-size:10px}
.pz-fx-hearts i::before{content:"♥";font-size:12px;font-style:normal}
.pz-fx-petals i{border-radius:60% 0;background:var(--c);animation-name:pz-fall}
.pz-fx-snow i{border-radius:50%;background:var(--c);box-shadow:0 0 4px #cfe8ff;animation-name:pz-fall}
.pz-fx-bubbles i{border-radius:50%;border:1.5px solid #9edcf8;background:rgba(255,255,255,.4)}
.pz-fx-music i::before{content:"♪";font-size:14px;font-style:normal;font-weight:800}
.pz-fx-butterfly i::before{content:"🦋";font-size:12px;font-style:normal}
.pz-fx-aurora{inset:-10% -30% 10%}
.pz-fx-aurora i{left:calc(var(--i)*30%);bottom:0;width:34%;height:100%;border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);opacity:.45;animation:pz-glow 3s ease-in-out infinite;animation-delay:calc(var(--i)*-1s)}
@keyframes pz-rise{0%{transform:translateY(0) scale(.6);opacity:0}20%{opacity:1}100%{transform:translateY(-130px) translateX(8px) scale(1.1);opacity:0}}
@keyframes pz-fall{0%{transform:translateY(-120px) rotate(0);opacity:0}20%{opacity:1}100%{transform:translateY(10px) translateX(14px) rotate(220deg);opacity:0}}
@keyframes pz-glow{50%{opacity:.75;transform:scaleY(1.1)}}

/* plaza */
.pz-plaza{display:grid;grid-template-columns:minmax(0,1fr) 300px;height:100%;min-height:0}
.pz-worldwrap{position:relative;display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden;background:#3b2752 url(/plaza-sprite/bg-plaza.webp) center/cover}
.pz-worldwrap::before{content:"";position:absolute;inset:-20px;backdrop-filter:blur(14px) brightness(.8);-webkit-backdrop-filter:blur(14px) brightness(.8)}
.pz-world{position:relative;aspect-ratio:3/2;max-height:100%;width:100%;max-width:calc((100vh - 120px)*1.5);overflow:hidden;cursor:pointer;outline:none;background:#e8d6f2}
.pz-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.pz-people{position:absolute;inset:0}
.pz-who{position:absolute;transform:translate(-50%,-100%);will-change:left,top}
.pz-who .pz-char{--s:var(--ws,1)}
.pz-world .pz-char{--s:1}
.pz-hint{position:absolute;left:12px;top:10px;margin:0;font-size:12px;color:#fff;background:rgba(50,26,70,.5);padding:5px 10px;border-radius:999px}
.pz-side{display:flex;flex-direction:column;gap:10px;padding:14px;border-left:2px solid var(--pz-line);background:#fff;min-height:0}
.pz-side h4{margin:0 0 6px;font-size:12px;color:var(--pz-soft);letter-spacing:.04em}
.pz-emotes{display:flex;flex-wrap:wrap;gap:5px}
.pz-emotes h4,.pz-actions h4{width:100%}
.pz-emotes button{width:38px;height:38px;border:0;border-radius:12px;background:#fff1f7;font-size:20px;transition:transform .12s}
.pz-emotes button:active,.pz-actions button:active{transform:scale(.88)}
.pz-actions{display:flex;flex-wrap:wrap;gap:5px}
.pz-actions button{border:0;border-radius:999px;background:#f1ebff;padding:6px 11px;font-size:12px;font-weight:700;color:#6a4fc0}
.pz-chatlog{flex:1;min-height:100px;overflow:auto;background:#fff8fc;border-radius:14px;padding:10px;border:1px solid var(--pz-line)}
.pz-chatlog p{margin:0 0 6px;font-size:13px;line-height:1.45;word-break:break-word}
.pz-chatlog b{color:#c2408a;margin-right:4px}
.pz-rep{border:0;background:none;opacity:.35;font-size:11px;padding:0 2px}
.pz-rep:hover{opacity:1}
.pz-chat{display:flex;gap:6px}
.pz-chat input{flex:1;min-width:0;border:2px solid var(--pz-line);border-radius:999px;padding:9px 14px;font:inherit;font-size:14px;background:#fff;color:var(--pz-ink)}
.pz-chat input:focus{outline:none;border-color:var(--pz-pink)}
.pz-chat button{border:0;border-radius:999px;background:var(--pz-pink);color:#fff!important;font-weight:800;padding:0 16px}
.pz-safe{margin:0;font-size:11px;color:var(--pz-soft);line-height:1.4}

/* closet */
.pz-closet>*,.pz-plaza>*{min-width:0}
.pz-closet{display:grid;grid-template-columns:340px minmax(0,1fr);height:100%;min-height:0}
.pz-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:16px;padding:20px 20px 24px;background:radial-gradient(circle at 50% 42%,#fff 0,#ffe6f2 45%,#e9dcff 100%);border-right:2px solid var(--pz-line)}
.pz-stage>.pz-char{margin:auto 0 56px}
.pz-stage-actions{display:flex;gap:8px;width:100%}
.pz-stage-actions button{flex:1;border:0;border-radius:14px;padding:12px;font-weight:800;background:#fff;box-shadow:0 3px 0 var(--pz-line)}
.pz-stage-actions .pz-save{background:linear-gradient(180deg,#ff8fc0,#ff5fa2);color:#fff!important;box-shadow:0 3px 0 #d94785}
.pz-stage .pz-tip{text-align:center;margin:0}
.pz-shelf{display:flex;flex-direction:column;min-height:0}
.pz-cats{display:flex;gap:6px;padding:12px 16px;overflow-x:auto;border-bottom:1px solid var(--pz-line)}
.pz-cats button{border:2px solid var(--pz-line);background:#fff;border-radius:999px;padding:7px 14px;font-weight:700;white-space:nowrap}
.pz-cats button.on{border-color:var(--pz-pink);background:#fff0f7;color:#d0367e}
.pz-grid{flex:1;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(122px,1fr));gap:10px;padding:14px 16px;align-content:start}
.pz-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;border:2px solid var(--pz-line);background:#fff;border-radius:18px;padding:10px 8px 9px;transition:transform .12s,box-shadow .12s;text-align:center}
.pz-item:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(120,60,140,.14)}
.pz-item.sel{border-color:var(--pz-pink);box-shadow:0 0 0 3px #ffd3e6}
.pz-item.need .pz-thumb img{filter:saturate(.55) brightness(1.04)}
.pz-item.r-legendary{background:linear-gradient(180deg,#fffaf0,#fff)}
.pz-item.r-epic{background:linear-gradient(180deg,#fbf6ff,#fff)}
.pz-thumb{height:96px;display:grid;place-items:center;font-size:30px}
.pz-thumb img{max-height:96px;max-width:100%}
.pz-item b{font-size:13px;line-height:1.25}
.pz-item small{font-size:11px;font-weight:700}
.pz-item em{font-style:normal;font-size:12px;font-weight:800;color:#c27400}
.pz-item.have em{color:#2f9e6a}
.pz-emo{font-size:38px}.pz-emo.big{font-size:72px}
.pz-fxthumb{position:relative;display:grid;place-items:center;width:70px;height:70px;font-size:26px;color:#c9a3ff}
.pz-fxthumb .pz-fx{inset:0}
.pz-get{position:absolute;inset:0;display:grid;place-items:center;background:rgba(60,20,80,.4);z-index:5;animation:pz-in .2s}
.pz-get>div{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fff;border-radius:26px;padding:26px 40px;animation:pz-pop2 .5s cubic-bezier(.3,1.6,.6,1);box-shadow:0 0 0 6px #ffe1ef,0 20px 60px rgba(0,0,0,.3)}
.pz-get img{height:180px}
.pz-get b{font-size:20px}
@keyframes pz-pop2{from{transform:scale(.4) rotate(-8deg);opacity:0}}

/* book / stars / mod */
.pz-book,.pz-stars,.pz-mod{padding:18px 22px;max-width:960px;margin:0 auto}
.pz-book h2{margin:0 0 8px}.pz-book h2 small,.pz-book h3 small{color:var(--pz-soft);font-weight:600}
.pz-bar{height:12px;border-radius:999px;background:#f3e7f0;overflow:hidden}
.pz-bar i{display:block;height:100%;background:linear-gradient(90deg,#ff9cc8,#b9a3ff)}
.pz-dex{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px}
.pz-dexcell{height:76px;display:grid;place-items:center;border-radius:14px;background:#f4eff6;font-size:28px;border:2px solid transparent}
.pz-dexcell img{max-height:66px;max-width:90%;filter:brightness(0) opacity(.18)}
.pz-dexcell:not(.have){color:transparent;text-shadow:0 0 0 rgba(60,40,80,.18)}
.pz-dexcell.have{background:#fff;border-color:var(--pz-line)}
.pz-dexcell.have img{filter:none}
.pz-dexcell.have.r-legendary{border-color:#ffd88a}.pz-dexcell.have.r-epic{border-color:#e4d0ff}
.pz-starcard{display:flex;align-items:center;gap:14px;background:linear-gradient(120deg,#fff3c4,#ffe0f0);border-radius:22px;padding:18px 22px}
.pz-starcard span{font-size:40px}.pz-starcard b{font-size:40px;color:#c27400}.pz-starcard small{color:var(--pz-soft)}
.pz-earn,.pz-ach{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}
.pz-earn li,.pz-ach li{display:flex;justify-content:space-between;gap:8px;background:#fff;border:1px solid var(--pz-line);border-radius:14px;padding:10px 14px;font-size:14px}
.pz-earn b{color:#c27400}
.pz-ach li{flex-direction:column;opacity:.7}.pz-ach li.ok{opacity:1;border-color:#bfe8d2;background:#f4fff8}
.pz-ach span{font-size:12px;color:var(--pz-soft)}
.pz-modrow{background:#fff;border:1px solid var(--pz-line);border-radius:12px;padding:10px 12px;margin-bottom:8px;font-size:13px}
.pz-modrow.hid{opacity:.5}.pz-modrow p{margin:6px 0}
.pz-modrow button{border:1px solid var(--pz-line);background:#fff;border-radius:8px;padding:5px 10px;margin-right:6px;font-size:12px}
.pz-card-wrap{position:absolute;inset:0;display:grid;place-items:center;background:rgba(60,20,80,.35);z-index:6}
.pz-card{width:min(340px,92%);display:flex;flex-direction:column;align-items:center;background:#fff;border-radius:26px;padding:26px 20px 18px;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:pz-pop2 .35s cubic-bezier(.3,1.6,.6,1)}
.pz-card>.pz-char{margin:14px 0 52px}
.pz-card h3{margin:0}.pz-card p{margin:6px 0;font-size:13px;color:var(--pz-soft);text-align:center}
.pz-rarity{display:flex;gap:10px;font-size:12px;font-weight:700}
.pz-card-btns{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%;margin-top:12px}
.pz-card-btns button{border:0;border-radius:12px;padding:10px;background:#f6f0fa;font-weight:700}
.pz-card-btns [data-like]{background:#ffe3f0;color:#d0367e}
#pz-toast{position:fixed;left:50%;bottom:36px;transform:translate(-50%,30px);opacity:0;z-index:2147480001;background:#3d2b4f;color:#fff;padding:11px 18px;border-radius:999px;font-size:14px;font-weight:600;pointer-events:none;transition:.25s;max-width:90vw;text-align:center}
#pz-toast.on{opacity:1;transform:translate(-50%,0)}

/* farm side panel and game hub */
.fc-avatar-stage.pz-farmstage{display:flex;align-items:flex-end;justify-content:center;padding-bottom:30px;background:radial-gradient(circle at 50% 45%,#fff 0,#ffeef6 50%,#efe6ff 100%)!important;overflow:visible}
.fc-avatar-stage.pz-farmstage .pz-char{--s:2.1!important}
.fc-avatar-stage.pz-farmstage .pz-title{display:none}
.pz-panelbtns{display:flex;flex-direction:column;gap:6px;margin:8px 0}
.pz-panelbtns span{font-size:13px;color:#7a6890;text-align:center}.pz-panelbtns b{color:#c27400}
.pz-panelbtns button{border:0;border-radius:12px;padding:11px;font-weight:800;background:linear-gradient(90deg,#ffb3d4,#c9b3ff);color:#3d2b4f}
.plaza-hub-card .pz-cover{position:relative;display:block;overflow:hidden}

.plaza-hub-card .pz-cover img:first-child{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.plaza-hub-card .pz-cover img:not(:first-child){position:absolute;bottom:10%;height:44%;animation:pz-bounce 1.6s ease-in-out infinite}
.plaza-hub-card .pz-cover .a{left:14%}.plaza-hub-card .pz-cover .b{left:41%;animation-delay:-.5s}.plaza-hub-card .pz-cover .c{left:66%;animation-delay:-1s}
.plaza-hub-card .pz-cover .d{left:6%;height:18%!important;bottom:8%!important;animation-duration:.9s}

@media (max-width:820px){
 #pz-app{padding:0}
 .pz-frame{border-radius:0;height:100%;border:0}
 .pz-logo{display:none}
 .pz-top{gap:8px;padding:10px}
 .pz-top nav button{padding:7px 10px;font-size:14px}
 .pz-hint{display:none}
 .pz-closet{grid-template-columns:minmax(0,1fr)}
 .pz-plaza{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}
 .pz-world{align-self:start}
 .pz-world .pz-char{--s:.72}
 .pz-side{border-left:0;border-top:2px solid var(--pz-line)}
 .pz-chatlog{min-height:80px}
 .pz-closet{grid-template-columns:1fr;grid-template-rows:auto 1fr}
 .pz-stage{border-right:0;border-bottom:2px solid var(--pz-line);padding:14px}
 .pz-stage>.pz-char{--s:2!important;margin-bottom:52px}
 .pz-stage .pz-tip{display:none}
 .pz-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));padding:12px}
 .pz-thumb{height:78px}.pz-thumb img{max-height:78px}
}
@media (prefers-reduced-motion:reduce){#pz-app *,#pz-app *::before,#pz-app *::after{animation-duration:.01ms!important;animation-iteration-count:1!important}}

.pz-roompick{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--pz-soft)}
.pz-roompick select{border:2px solid var(--pz-line);border-radius:12px;padding:8px 10px;font:inherit;font-size:14px;color:var(--pz-ink);background:#fff}
.pz-roomname{margin:0;font-weight:800;font-size:15px;color:#8a4fd0}
.pz-noroom{position:relative;height:100%;min-height:420px;display:grid;place-items:center;overflow:hidden}
.pz-noroom>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(3px) brightness(.85)}
.pz-noroom>div{position:relative;max-width:460px;margin:16px;padding:28px;border-radius:24px;background:rgba(255,255,255,.94);text-align:center;box-shadow:0 20px 50px rgba(40,10,60,.3)}
.pz-noroom h2{margin:0 0 10px;font-size:20px}.pz-noroom p{margin:0 0 18px;color:var(--pz-soft);line-height:1.6;font-size:14px}
.pz-noroom div div{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.pz-noroom button{border:0;border-radius:14px;padding:12px 18px;font-weight:800;background:#f1ebff;color:#6a4fc0}
.pz-noroom [data-go-class]{background:linear-gradient(180deg,#ff8fc0,#ff5fa2);color:#fff!important}

.pz-need{display:block;font-style:normal;font-size:10.5px;font-weight:700;color:#a493b8;margin-top:1px}
.pz-earn li span small{display:block;font-size:11.5px;color:var(--pz-soft);margin-top:2px}
.pz-stars h3 small{font-size:13px;color:#c27400;margin-left:6px}

.pz-rars{display:flex;gap:6px;align-items:center;padding:8px 16px;overflow-x:auto;border-bottom:1px solid var(--pz-line);scrollbar-width:none}
.pz-rars button{border:0;background:#f6f0fa;border-radius:999px;padding:5px 11px;font-size:12px;font-weight:700;white-space:nowrap;color:var(--c,var(--pz-soft))}
.pz-rars button.on{background:var(--c,#3d2b4f);color:#fff!important}
.pz-rars label{margin-left:auto;font-size:12px;font-weight:700;color:var(--pz-soft);white-space:nowrap;display:flex;gap:4px;align-items:center}

.pr-wrap{--ink:#54445b;--rose:#be688e;--line:#e8dae4;color:var(--ink);padding:22px;background:#fcf8fa;min-height:100%;font-family:'Malgun Gothic',sans-serif}.pr-wrap *{box-sizing:border-box}.pr-wrap button,.pr-wrap select,.pr-wrap input{font:inherit}.pr-wrap button,.pr-friends button,.pr-buy-dialog button{border:1px solid #e6d7e1;border-radius:12px;background:white;padding:10px 14px;color:#54445b;cursor:pointer}.pr-wrap button:disabled{opacity:.5;cursor:not-allowed}.pr-wrap button:focus-visible{outline:3px solid #a977bc;outline-offset:3px}.pr-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.pr-heading small{font-size:10px;letter-spacing:3px;color:#a7839e}.pr-heading h2{font-size:25px;margin:8px 0}.pr-heading p{font-size:13px;color:#887b8b;line-height:1.6}.pr-heading strong{white-space:nowrap;border-radius:24px;background:white;padding:12px 18px}.pr-status{min-height:20px;color:#97517c;font-size:13px}.pr-dressing{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px}.pr-fitting{border-radius:120px 120px 22px 22px;background:radial-gradient(ellipse at 50% 45%,#fff 0%,#efe4ed 70%);padding:20px;display:flex;align-items:center;flex-direction:column;gap:10px;position:sticky;top:0;align-self:start}.pr-doll{height:430px;width:100%;display:flex;justify-content:center}.pr-doll>svg{height:100%;width:100%;max-width:260px;overflow:hidden!important}.pr-fitting>button{width:100%}.pr-primary{background:#b86c91!important;color:white!important;border-color:#b86c91!important}.pr-look-note{font-size:11px;text-align:center;line-height:1.5}.pr-skins{display:flex;gap:10px}.pr-skins button{width:22px;height:22px;padding:0;border-radius:50%}.pr-skins [aria-pressed=true]{outline:2px solid #856082;outline-offset:2px}.pr-slots{display:flex;flex-wrap:wrap;gap:7px}.pr-slots [aria-pressed=true]{background:#866281;color:white;border-color:#866281}.pr-filter{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;font-size:12px}.pr-filter select{padding:6px;border:1px solid var(--line);border-radius:8px}.pr-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:575px;overflow:auto;padding:4px}.pr-items .pr-item{padding:10px;display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0}.pr-item img{width:100%;height:135px;object-fit:contain}.pr-item b{font-size:11px;line-height:1.5}.pr-item small{font-size:10px;color:#927b91}.pr-item.chosen{outline:2px solid #ce87ad;background:#fff4f9}.pr-offer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px;border-radius:12px;background:#eee3f0;margin:10px 0;font-size:12px}.pr-offer small{display:block;color:#89778d}.pr-room-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px}.pr-room-tools label{margin-left:auto}.pr-room-tools select{padding:8px;border:1px solid var(--line);border-radius:10px;max-width:190px}.pr-room-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px;margin-top:18px}.pr-room-name{font-size:16px;font-weight:500;margin:8px}.pr-world{position:relative;isolation:isolate;aspect-ratio:1.3;overflow:hidden;border:1px solid #dfd0c9;border-radius:22px;background:linear-gradient(#eee4d7 0 45%,#ceb99f 45% 46%,#e9d9c4 46%);box-shadow:inset 0 0 60px #bda88d28}.pr-world:before{content:'';position:absolute;inset:46% 0 0;background:repeating-linear-gradient(0deg,transparent 0 48px,#c8b49344 49px 50px);transform-origin:top;pointer-events:none}.pr-window{position:absolute;top:8%;left:39%;width:22%;height:27%;border:8px solid #fff9;border-radius:70px 70px 0 0;background:linear-gradient(140deg,#e7f3f2,#f9e7cc);box-shadow:0 0 0 1px #d4c5b8,12px 12px 20px #8e6f4e0d}.pr-world.theme-rose{background:linear-gradient(#f4e1e9 0 45%,#d7b4c4 45% 46%,#f1e1df 46%)}.pr-world.theme-sage{background:linear-gradient(#dce6db 0 45%,#a9bfa6 45% 46%,#dce6cf 46%)}.pr-world.theme-night{background:linear-gradient(#444565 0 45%,#797394 45% 46%,#b3aac6 46%)}.pr-world.theme-night .pr-window{background:radial-gradient(circle at 65% 30%,#fff1bc 0 14%,transparent 15%),#5d5b8c}.pr-object{position:absolute!important;padding:0!important;border:0!important;background:transparent!important;transform:translate(-50%,-100%);border-radius:0!important;line-height:0}.pr-object img{width:100%;max-height:240px;object-fit:contain;pointer-events:none}.pr-object.selected{filter:drop-shadow(0 0 4px #b85b9d);outline:2px dashed #a9699f}.pr-person{position:absolute!important;transform:translate(-50%,-100%);background:none!important;border:0!important;padding:0!important;display:flex;align-items:center;flex-direction:column;max-width:100px}.pr-mini{display:block;width:62px;height:90px;position:relative}.pr-mini>svg{width:100%;height:100%;image-rendering:pixelated}.pr-person b{font-size:10px;white-space:nowrap;background:#fff9;border-radius:8px;padding:3px 6px}.pr-mini .pz-char{position:absolute;bottom:0;left:0}.pr-world-hint{position:absolute;bottom:10px;left:10px;right:10px;text-align:center;font-size:10px;color:#6f5e6b;background:#ffffff9c;border-radius:12px;padding:5px;z-index:110;pointer-events:none}.pr-room-aside{background:white;border:1px solid var(--line);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:8px}.pr-room-portrait{height:245px;display:flex;align-items:center;flex-direction:column;position:relative;background:radial-gradient(ellipse,#fff,#f2e8f0);border-radius:70px 70px 15px 15px}.pr-room-portrait>svg{width:100%;height:220px;overflow:hidden!important}.pr-room-portrait>span{font-size:11px}.pr-room-portrait>.pz-char{margin-top:95px;transform:scale(1.5)}.pr-room-aside h3{font-size:14px;margin:8px 0 0}.pr-chat-note{font-size:10px;margin:0;color:#928399}.pr-chat{height:145px;overflow:auto;background:#fbf8fc;border-radius:12px;padding:10px;font-size:12px;overflow-wrap:anywhere}.pr-chat p{margin:7px 0}.pr-chat-form{display:flex;gap:5px}.pr-chat-form input{width:0;min-width:0;flex:1;border:1px solid var(--line);border-radius:9px;padding:8px;font-size:12px}.pr-chat-form button{font-size:11px;padding:8px}.pr-editor{margin-top:14px;border:1px solid var(--line);border-radius:15px;padding:15px;background:white}.pr-editor-top{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px}.pr-editor p{font-size:12px;color:#8b7787}.pr-decor-shelf{display:flex;gap:10px;overflow:auto;padding:10px 2px}.pr-decor-shelf button{flex:0 0 100px;padding:8px}.pr-decor-shelf img{width:80px;height:70px;object-fit:contain}.pr-decor-shelf span,.pr-decor-shelf small{display:block;font-size:10px}.pr-decor-shelf .unowned{background:#f8f3fa}.pr-friends,.pr-buy-dialog{border:1px solid #e8dae4;border-radius:22px;padding:24px;max-width:90vw;color:#54445b}.pr-friends>div{display:flex;gap:12px;flex-wrap:wrap;max-width:600px}.pr-friends [data-host]{display:flex;align-items:center;flex-direction:column;gap:10px}.pr-friends [data-host]>span{width:100px;height:140px;display:block;position:relative}.pr-friends svg{width:100%;height:100%}.pr-sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.pz-body.pz-paper-body{width:62px;height:112px}.pz-body.pz-paper-body>svg{width:100%;height:100%;overflow:hidden!important}.pz-big .pz-body.pz-paper-body{width:110px;height:240px}.pz-big:has(.pz-paper-body){height:260px;width:150px}.pz-top nav{flex-wrap:wrap}.pz-main:has(.pr-wrap){overflow:auto}.pr-wrap [hidden]{display:none!important}
@media(max-width:800px){.pr-wrap{padding:14px}.pr-dressing{grid-template-columns:190px minmax(0,1fr);gap:12px}.pr-doll{height:330px}.pr-items{grid-template-columns:repeat(3,minmax(0,1fr))}.pr-item img{height:100px}.pr-room-layout{grid-template-columns:1fr}.pr-room-aside{display:grid;grid-template-columns:130px 1fr}.pr-room-portrait{grid-row:1/7;height:240px}.pr-room-portrait>svg{height:220px}.pr-room-aside>*:not(.pr-room-portrait){grid-column:2}}
@media(max-width:520px){.pr-heading h2{font-size:20px}.pr-heading p{font-size:11px}.pr-heading strong{padding:9px;font-size:12px}.pr-dressing{display:flex;flex-direction:column}.pr-fitting{position:relative;display:grid;grid-template-columns:125px 1fr;border-radius:18px;padding:12px;gap:8px;width:100%}.pr-doll{grid-column:1;grid-row:1/7;height:270px}.pr-fitting>*:not(.pr-doll){grid-column:2}.pr-fitting>button{font-size:11px;padding:10px}.pr-skins{gap:6px;justify-content:center}.pr-skins button{width:18px;height:18px}.pr-items{grid-template-columns:repeat(3,minmax(0,1fr));max-height:440px}.pr-item img{height:110px}.pr-slots{gap:4px}.pr-slots button{padding:8px;font-size:11px}.pr-room-tools button{font-size:11px;padding:8px}.pr-room-tools label{margin-left:0}.pr-world{aspect-ratio:.95}.pr-mini{width:48px;height:70px}.pr-room-aside{grid-template-columns:100px minmax(0,1fr)}.pr-room-portrait{height:215px}.pr-room-portrait>svg{height:200px}.pr-chat{height:100px}.pr-editor-top select{max-width:140px}.pz-top nav button{font-size:11px;padding:8px!important}.pz-top{flex-wrap:wrap!important;gap:5px!important}.pz-top nav{order:3;width:100%;display:flex;overflow:auto;flex-wrap:nowrap!important}.pz-top nav button{white-space:nowrap}.pr-object img{max-height:160px}}
@media(prefers-reduced-motion:reduce){.pr-wrap *{animation:none!important;transition:none!important}}

.pr-heading p{margin:8px 0}.pr-status{margin:6px 0}.pr-room-layout .pr-world{aspect-ratio:1.65;min-height:350px;max-height:470px}.pr-wrap .pr-room-layout{align-items:start}.pr-room-aside{min-height:480px}.pr-room-portrait{height:240px}.pr-wrap .pr-room-tools{margin-top:8px}.pr-wrap .pr-world .pr-person{transition:left .7s ease,top .7s ease}.pr-wrap .pr-filter{flex-wrap:wrap}.pr-filter>span{font-size:10px;color:#8b6c82}
@media(max-width:520px){.pr-room-layout .pr-world{aspect-ratio:1;min-height:300px}.pr-room-aside{min-height:0}.pr-heading p{margin:6px 0}.pr-wrap .pr-room-portrait{height:215px}}
#pz-app .pz-top{display:flex;align-items:center;gap:12px}#pz-app .pz-top nav{flex:1}#pz-app .pz-top .pz-starbox{flex:none}#pz-app .pz-top .pz-close{flex:none}
@media(max-width:520px){#pz-app .pz-top{padding:10px;gap:6px}#pz-app .pz-top .pz-logo{display:block;font-size:13px}#pz-app .pz-top .pz-starbox{margin-left:auto}#pz-app .pz-top nav{order:4;flex:0 0 100%;max-width:100%;overflow:auto;white-space:nowrap}#pz-app .pz-top nav button{flex:none}#pz-app .pz-top .pz-close{order:3}}

.pr-head-preview{height:170px;overflow:hidden;background:linear-gradient(145deg,#faf6f9,#eee9f2);border-radius:14px}.pr-head-preview svg{height:100%;width:100%}.pr-head-help{font-size:13px;color:#79677c;line-height:1.6}

/* Generated by green-scan.mjs: leftover farm greens -> study-room palette (navy #162e4d, gold #E2B55A, white). */
@media(max-width:700px){html body .fw-sidebar{border-top:1px solid #e8dcc0}}
html body .fw-workspace{--farm-ink:#162e4d;--farm-line:#e8dcc0}
html body .fw-wallet>span{border:1px solid #e8dcc0;box-shadow:0 3px 10px #162e4d05}
html body .fw-top-actions button{border:1px solid #e8dcc0}
html body .fw-play{border:1px solid #E2B55A;box-shadow:0 15px 45px #162e4d12}
html body .fw-canvas-wrap{background:#f6efdc}
html body .fw-scene-caption span{color:#162e4d}
html body .fw-scene-caption strong{color:#162e4d}
html body .fw-map-controls button{border:1px solid #e8dcc0;box-shadow:0 3px 8px #162e4d0c;color:#162e4d}
html body .fw-map-hint{color:#162e4d}
html body .fw-sidebar{background:#ffffff;border-left:1px solid #e8dcc0;scrollbar-color:#E2B55A transparent}
html body .fw-panel{border:1px solid #e8dcc0;color:#162e4d}
html body .fw-panel button{border:1px solid #e8dcc0;background:#ffffff;color:#162e4d}
html body .fw-panel button.primary{background:#162e4d;border-color:#162e4d}
html body .fw-dock{border:1px solid #e8dcc0}
html body .fw-dock button{color:#162e4d}
html body .fw-dock button:hover{background:#f6efdc}
html body .fw-dock b{color:#162e4d}
html body .farm-modal{border:1px solid #e8dcc0!important;color:#162e4d!important}
html body .fm-catalog button{border:1px solid #e8dcc0}
html body .fm-art{filter:drop-shadow(0 4px 3px #162e4d12)}
html body .fm-growth-gallery figure{background:linear-gradient(#ffffff,#f6efdc);border:1px solid #e8dcc0}
html body .fm-growth-gallery figcaption{color:#162e4d}
html body .fm-detail-hero>.fm-art{background:radial-gradient(ellipse,#f6efdc 0%,#f5f7e900 70%)}
html body .content .learning-game-card>strong{color:#162e4d}
html body .fp-growth{background:linear-gradient(110deg,#f4eddb,#fbfaf4 60%,#f6efdc);border:1px solid #e8dcc0;box-shadow:0 5px 20px #162e4d07}
html body .fp-growth-copy>strong{color:#162e4d}
html body .fp-xp progress{accent-color:#162e4d}
html body .fp-growth-actions button{border:1px solid #E2B55A;color:#162e4d}
html body .fp-growth-actions .primary{background:#162e4d}
html body .fp-roadmap-intro{background:#ffffff}
html body .fp-roadmap-intro>span{color:#162e4d}
html body .fp-roadmap-intro h3{color:#162e4d}
html body .fp-roadmap article{border:1px solid #e8dcc0}
html body .fp-roadmap .fp-level{color:#162e4d}
html body .fp-roadmap strong{color:#162e4d}
html body .fp-roadmap button{border:1px solid #E2B55A;color:#162e4d}
html body .fp-roadmap .fp-ready{border:2px solid #E2B55A;background:#ffffff}
html body .fw-map-shell{background:#e7ecf3}
html body .fv-game{color:#162e4d}
html body .fv-game .fp-growth{border-top:1px solid #e8dcc0;border-bottom:1px solid #e8dcc0}
html body .fv-game .fw-play{border:1px solid #E2B55A;background:#e7ecf3;box-shadow:0 12px 30px #162e4d18}
html body .fv-game .fw-canvas-wrap{background:#e7ecf3}
html body .fv-game .fw-scene-caption span{color:#162e4d}
html body .fv-game .fw-scene-caption strong{color:#162e4d}
html body .fv-game .fw-scene-caption small{color:#162e4d}
html body .fv-game .fw-map-controls button{color:#162e4d;box-shadow:0 3px 8px #162e4d10}
html body .fv-game .fw-map-hint{color:#162e4d}
html body .fv-game .fw-dock{box-shadow:0 8px 24px #162e4d2b}
html body .fv-game .fw-dock button{color:#162e4d}
html body .fv-game .fw-dock button:first-child{background:#162e4d}
html body .fv-game .fw-dock button:hover{background:#f6efdc}
html body .fv-game .fw-dock button:first-child:hover{background:#162e4d}
html body .fv-game .fv-inspector{box-shadow:0 9px 25px #162e4d30}
html body .fv-game .fv-journal{border:1px solid #e8dcc0}
html body .fv-journal>summary{color:#162e4d}
html body .fv-game .fw-edit-bar{box-shadow:0 4px 14px #162e4d1f}
html body .fa-help{border:1px solid #e8dcc0;background:#ffffff;color:#162e4d}
html body .fv-game .fw-scene-caption{box-shadow:0 5px 18px #162e4d0c}
@media(max-width:700px){html body .fw-sidebar{border-top:1px solid #e8dcc0}}
html body .fw-workspace{--farm-ink:#162e4d;--farm-line:#e8dcc0}
html body .fw-wallet>span{border:1px solid #e8dcc0;box-shadow:0 3px 10px #162e4d05}
html body .fw-top-actions button{border:1px solid #e8dcc0}
html body .fw-play{border:1px solid #E2B55A;box-shadow:0 15px 45px #162e4d12}
html body .fw-canvas-wrap{background:#f6efdc}
html body .fw-scene-caption span{color:#162e4d}
html body .fw-scene-caption strong{color:#162e4d}
html body .fw-map-controls button{border:1px solid #e8dcc0;box-shadow:0 3px 8px #162e4d0c;color:#162e4d}
html body .fw-map-hint{color:#162e4d}
html body .fw-sidebar{background:#ffffff;border-left:1px solid #e8dcc0;scrollbar-color:#E2B55A transparent}
html body .fw-panel{border:1px solid #e8dcc0;color:#162e4d}
html body .fw-panel button{border:1px solid #e8dcc0;background:#ffffff;color:#162e4d}
html body .fw-panel button.primary{background:#162e4d;border-color:#162e4d}
html body .fw-dock{border:1px solid #e8dcc0}
html body .fw-dock button{color:#162e4d}
html body .fw-dock button:hover{background:#f6efdc}
html body .fw-dock b{color:#162e4d}
html body .farm-modal{border:1px solid #e8dcc0!important;color:#162e4d!important}
html body .fm-catalog button{border:1px solid #e8dcc0}
html body .fm-art{filter:drop-shadow(0 4px 3px #162e4d12)}
html body .fm-growth-gallery figure{background:linear-gradient(#ffffff,#f6efdc);border:1px solid #e8dcc0}
html body .fm-growth-gallery figcaption{color:#162e4d}
html body .fm-detail-hero>.fm-art{background:radial-gradient(ellipse,#f6efdc 0%,#f5f7e900 70%)}
html body .content .learning-game-card>strong{color:#162e4d}
html body .fp-growth{background:linear-gradient(110deg,#f4eddb,#fbfaf4 60%,#f6efdc);border:1px solid #e8dcc0;box-shadow:0 5px 20px #162e4d07}
html body .fp-growth-copy>strong{color:#162e4d}
html body .fp-xp progress{accent-color:#162e4d}
html body .fp-growth-actions button{border:1px solid #E2B55A;color:#162e4d}
html body .fp-growth-actions .primary{background:#162e4d}
html body .fp-roadmap-intro{background:#ffffff}
html body .fp-roadmap-intro>span{color:#162e4d}
html body .fp-roadmap-intro h3{color:#162e4d}
html body .fp-roadmap article{border:1px solid #e8dcc0}
html body .fp-roadmap .fp-level{color:#162e4d}
html body .fp-roadmap strong{color:#162e4d}
html body .fp-roadmap button{border:1px solid #E2B55A;color:#162e4d}
html body .fp-roadmap .fp-ready{border:2px solid #E2B55A;background:#ffffff}
html body .fw-map-shell{background:#e7ecf3}
html body .fc-character-side,html body .fc-dialog{--fc-line:#e8dcc0}
html body .fc-character-side{background:linear-gradient(155deg,#fcf9eb,#ffffff);box-shadow:0 8px 28px #162e4d0b}
html body .fc-avatar-stage{background:radial-gradient(ellipse at 50% 45%,#fffef8 0 30%,#f6efdc 70%)}
html body .fc-avatar-stage>svg{filter:drop-shadow(0 5px 4px #162e4d10)}
html body .fc-character-side button:hover,html body .fc-dialog button:hover{background:#ffffff}
html body .fc-character-side .fc-primary,html body .fc-dialog .fc-primary{background:#162e4d;border-color:#162e4d;box-shadow:0 4px 10px #162e4d15}
html body .fc-primary:hover{background:#162e4d!important}
html body .fc-dialog{border:1px solid #e8dcc0;box-shadow:0 30px 100px #162e4d35}
html body .fc-dialog::backdrop{background:#162e4da8}
html body .tier-0{--tier:#162e4d;--tier-bg:#ffffff}
html body .fc-categories .selected,html body .fc-slots .selected{background:#f6efdc;color:#162e4d}
html body .fc-dialog input,html body .fc-dialog select{border:1px solid #e8dcc0}
html body .fc-fitting{background:#ffffff;border:1px solid #e8dcc0}
html body .fc-skins button[aria-pressed=true]{outline:2px solid #162e4d}
html body .fc-character-side,html body .fc-dialog{--fc-line:#e8dcc0}
html body .fc-character-side{background:linear-gradient(155deg,#fcf9eb,#ffffff);box-shadow:0 8px 28px #162e4d0b}
html body .fc-avatar-stage{background:radial-gradient(ellipse at 50% 45%,#fffef8 0 30%,#f6efdc 70%)}
html body .fc-avatar-stage>svg{filter:drop-shadow(0 5px 4px #162e4d10)}
html body .fc-character-side button:hover,html body .fc-dialog button:hover{background:#ffffff}
html body .fc-character-side .fc-primary,html body .fc-dialog .fc-primary{background:#162e4d;border-color:#162e4d;box-shadow:0 4px 10px #162e4d15}
html body .fc-primary:hover{background:#162e4d!important}
html body .fc-dialog{border:1px solid #e8dcc0;box-shadow:0 30px 100px #162e4d35}
html body .fc-dialog::backdrop{background:#162e4da8}
html body .tier-0{--tier:#162e4d;--tier-bg:#ffffff}
html body .fc-categories .selected,html body .fc-slots .selected{background:#f6efdc;color:#162e4d}
html body .fc-dialog input,html body .fc-dialog select{border:1px solid #e8dcc0}
html body .fc-fitting{background:#ffffff;border:1px solid #e8dcc0}
html body .fc-skins button[aria-pressed=true]{outline:2px solid #162e4d}
@media(max-width:700px){html body .fw-sidebar{border-top:1px solid #e8dcc0}}
html body .fw-workspace{--farm-ink:#162e4d;--farm-line:#e8dcc0}
html body .fw-wallet>span{border:1px solid #e8dcc0;box-shadow:0 3px 10px #162e4d05}
html body .fw-top-actions button{border:1px solid #e8dcc0}
html body .fw-play{border:1px solid #E2B55A;box-shadow:0 15px 45px #162e4d12}
html body .fw-canvas-wrap{background:#f6efdc}
html body .fw-scene-caption span{color:#162e4d}
html body .fw-scene-caption strong{color:#162e4d}
html body .fw-map-controls button{border:1px solid #e8dcc0;box-shadow:0 3px 8px #162e4d0c;color:#162e4d}
html body .fw-map-hint{color:#162e4d}
html body .fw-sidebar{background:#ffffff;border-left:1px solid #e8dcc0;scrollbar-color:#E2B55A transparent}
html body .fw-panel{border:1px solid #e8dcc0;color:#162e4d}
html body .fw-panel button{border:1px solid #e8dcc0;background:#ffffff;color:#162e4d}
html body .fw-panel button.primary{background:#162e4d;border-color:#162e4d}
html body .fw-dock{border:1px solid #e8dcc0}
html body .fw-dock button{color:#162e4d}
html body .fw-dock button:hover{background:#f6efdc}
html body .fw-dock b{color:#162e4d}
html body .farm-modal{border:1px solid #e8dcc0!important;color:#162e4d!important}
html body .fm-catalog button{border:1px solid #e8dcc0}
html body .fm-art{filter:drop-shadow(0 4px 3px #162e4d12)}
html body .fm-growth-gallery figure{background:linear-gradient(#ffffff,#f6efdc);border:1px solid #e8dcc0}
html body .fm-growth-gallery figcaption{color:#162e4d}
html body .fm-detail-hero>.fm-art{background:radial-gradient(ellipse,#f6efdc 0%,#f5f7e900 70%)}
html body .content .learning-game-card>strong{color:#162e4d}
html body .fp-growth{background:linear-gradient(110deg,#f4eddb,#fbfaf4 60%,#f6efdc);border:1px solid #e8dcc0;box-shadow:0 5px 20px #162e4d07}
html body .fp-growth-copy>strong{color:#162e4d}
html body .fp-xp progress{accent-color:#162e4d}
html body .fp-growth-actions button{border:1px solid #E2B55A;color:#162e4d}
html body .fp-growth-actions .primary{background:#162e4d}
html body .fp-roadmap-intro{background:#ffffff}
html body .fp-roadmap-intro>span{color:#162e4d}
html body .fp-roadmap-intro h3{color:#162e4d}
html body .fp-roadmap article{border:1px solid #e8dcc0}
html body .fp-roadmap .fp-level{color:#162e4d}
html body .fp-roadmap strong{color:#162e4d}
html body .fp-roadmap button{border:1px solid #E2B55A;color:#162e4d}
html body .fp-roadmap .fp-ready{border:2px solid #E2B55A;background:#ffffff}
html body .fw-map-shell{background:#e7ecf3}
@media(max-width:700px){html body .fw-sidebar{border-top:1px solid #e8dcc0}}
html body .fw-workspace{--farm-ink:#162e4d;--farm-line:#e8dcc0}
html body .fw-wallet>span{border:1px solid #e8dcc0;box-shadow:0 3px 10px #162e4d05}
html body .fw-top-actions button{border:1px solid #e8dcc0}
html body .fw-play{border:1px solid #E2B55A;box-shadow:0 15px 45px #162e4d12}
html body .fw-canvas-wrap{background:#f6efdc}
html body .fw-scene-caption span{color:#162e4d}
html body .fw-scene-caption strong{color:#162e4d}
html body .fw-map-controls button{border:1px solid #e8dcc0;box-shadow:0 3px 8px #162e4d0c;color:#162e4d}
html body .fw-map-hint{color:#162e4d}
html body .fw-sidebar{background:#ffffff;border-left:1px solid #e8dcc0;scrollbar-color:#E2B55A transparent}
html body .fw-panel{border:1px solid #e8dcc0;color:#162e4d}
html body .fw-panel button{border:1px solid #e8dcc0;background:#ffffff;color:#162e4d}
html body .fw-panel button.primary{background:#162e4d;border-color:#162e4d}
html body .fw-dock{border:1px solid #e8dcc0}
html body .fw-dock button{color:#162e4d}
html body .fw-dock button:hover{background:#f6efdc}
html body .fw-dock b{color:#162e4d}
html body .farm-modal{border:1px solid #e8dcc0!important;color:#162e4d!important}
html body .fm-catalog button{border:1px solid #e8dcc0}
html body .fm-art{filter:drop-shadow(0 4px 3px #162e4d12)}
html body .fm-growth-gallery figure{background:linear-gradient(#ffffff,#f6efdc);border:1px solid #e8dcc0}
html body .fm-growth-gallery figcaption{color:#162e4d}
html body .fm-detail-hero>.fm-art{background:radial-gradient(ellipse,#f6efdc 0%,#f5f7e900 70%)}
html body .content .learning-game-card>strong{color:#162e4d}
@media(max-width:700px){html body .fw-sidebar{border-top:1px solid #e8dcc0}}
html body .fw-workspace{--farm-ink:#162e4d;--farm-line:#e8dcc0}
html body .fw-wallet>span{border:1px solid #e8dcc0;box-shadow:0 3px 10px #162e4d05}
html body .fw-top-actions button{border:1px solid #e8dcc0}
html body .fw-play{border:1px solid #E2B55A;box-shadow:0 15px 45px #162e4d12}
html body .fw-canvas-wrap{background:#f6efdc}
html body .fw-scene-caption span{color:#162e4d}
html body .fw-scene-caption strong{color:#162e4d}
html body .fw-map-controls button{border:1px solid #e8dcc0;box-shadow:0 3px 8px #162e4d0c;color:#162e4d}
html body .fw-map-hint{color:#162e4d}
html body .fw-sidebar{background:#ffffff;border-left:1px solid #e8dcc0;scrollbar-color:#E2B55A transparent}
html body .fw-panel{border:1px solid #e8dcc0;color:#162e4d}
html body .fw-panel button{border:1px solid #e8dcc0;background:#ffffff;color:#162e4d}
html body .fw-panel button.primary{background:#162e4d;border-color:#162e4d}
html body .fw-dock{border:1px solid #e8dcc0}
html body .fw-dock button{color:#162e4d}
html body .fw-dock button:hover{background:#f6efdc}
html body .fw-dock b{color:#162e4d}
html body .farm-modal{border:1px solid #e8dcc0!important;color:#162e4d!important}
html body .fm-catalog button{border:1px solid #e8dcc0}
html body .fm-art{filter:drop-shadow(0 4px 3px #162e4d12)}
html body .fm-growth-gallery figure{background:linear-gradient(#ffffff,#f6efdc);border:1px solid #e8dcc0}
html body .fm-growth-gallery figcaption{color:#162e4d}
html body .fm-detail-hero>.fm-art{background:radial-gradient(ellipse,#f6efdc 0%,#f5f7e900 70%)}
html body .content .learning-game-card>strong{color:#162e4d}
html body .fw-workspace{color:#162e4d}
html body .fw-play{border:1px solid #E2B55A;box-shadow:0 14px 40px #162e4d14;background:#f6efdc}
html body .fw-canvas-wrap{background:#e7ecf3}
html body .fw-scene-caption{color:#162e4d;text-shadow:0 1px #e8dcc0}
html body .fw-map-controls button{box-shadow:0 3px 7px #162e4d20;color:#162e4d}
html body .fw-sidebar{border-left:1px solid #e8dcc0}
html body .fw-panel button{color:#162e4d}
html body .fw-panel button.primary{background:#162e4d}
html body .fw-dock{box-shadow:0 9px 20px #162e4d0c}
html body .fw-dock button{color:#162e4d}
html body .fw-skill-path li{border:1px solid #e8dcc0}
html body .fw-skill-path .done{color:#162e4d;background:#f6efdc}
html body .fw-edit-bar{box-shadow:0 5px 20px #162e4d30}
html body .fw-inventory>div{border:1px solid #e8dcc0}
html body .fw-wardrobe-preview{background:#f6efdc}
html body .fw-grade{border-bottom:1px solid #e8dcc0}
html body .fw-land-icon{color:#162e4d}
html body .fw-community progress{accent-color:#162e4d}
html body .pz-item.have em{color:#162e4d}
html body .pz-ach li.ok{border-color:#e8dcc0}
html body .fw-workspace{color:#162e4d}
html body .fw-play{background:#f6efdc;border:1px solid #E2B55A;box-shadow:0 14px 40px #162e4d14}
html body .fw-canvas-wrap{background:#e7ecf3}
html body .fw-scene-caption{color:#162e4d;text-shadow:0 1px #e8dcc0}
html body .fw-map-controls button{color:#162e4d;box-shadow:0 3px 7px #162e4d20}
html body .fw-sidebar{border-left:1px solid #e8dcc0}
html body .fw-panel button{color:#162e4d}
html body .fw-panel button.primary{background:#162e4d}
html body .fw-dock{box-shadow:0 9px 20px #162e4d0c}
html body .fw-dock button{color:#162e4d}
html body .fw-skill-path li{border:1px solid #e8dcc0}
html body .fw-skill-path .done{color:#162e4d;background:#f6efdc}
html body .fw-edit-bar{box-shadow:0 5px 20px #162e4d30}
html body .fw-inventory>div{border:1px solid #e8dcc0}
html body .fw-wardrobe-preview{background:#f6efdc}
html body .fw-grade{border-bottom:1px solid #e8dcc0}
html body .fw-land-icon{color:#162e4d}
html body .fw-community progress{accent-color:#162e4d}
html body .fc-character-side,html body .fc-dialog{--fc-line:#e8dcc0}
html body .fc-character-side{background:linear-gradient(155deg,#fcf9eb,#ffffff);box-shadow:0 8px 28px #162e4d0b}
html body .fc-avatar-stage{background:radial-gradient(ellipse at 50% 45%,#fffef8 0 30%,#f6efdc 70%)}
html body .fc-avatar-stage>svg{filter:drop-shadow(0 5px 4px #162e4d10)}
html body .fc-character-side button:hover,html body .fc-dialog button:hover{background:#ffffff}
html body .fc-character-side .fc-primary,html body .fc-dialog .fc-primary{background:#162e4d;border-color:#162e4d;box-shadow:0 4px 10px #162e4d15}
html body .fc-primary:hover{background:#162e4d!important}
html body .fc-dialog{border:1px solid #e8dcc0;box-shadow:0 30px 100px #162e4d35}
html body .fc-dialog::backdrop{background:#162e4da8}
html body .fc-categories .selected,html body .fc-slots .selected{background:#f6efdc;color:#162e4d}
html body .fc-dialog input,html body .fc-dialog select{border:1px solid #e8dcc0}
html body .fc-fitting{background:#ffffff;border:1px solid #e8dcc0}
html body .fc-character-side,html body .fc-dialog{--fc-line:#e8dcc0}
html body .fc-character-side{background:linear-gradient(155deg,#fcf9eb,#ffffff);box-shadow:0 8px 28px #162e4d0b}
html body .fc-avatar-stage{background:radial-gradient(ellipse at 50% 45%,#fffef8 0 30%,#f6efdc 70%)}
html body .fc-avatar-stage>svg{filter:drop-shadow(0 5px 4px #162e4d10)}
html body .fc-character-side button:hover,html body .fc-dialog button:hover{background:#ffffff}
html body .fc-character-side .fc-primary,html body .fc-dialog .fc-primary{background:#162e4d;border-color:#162e4d;box-shadow:0 4px 10px #162e4d15}
html body .fc-primary:hover{background:#162e4d!important}
html body .fc-dialog{border:1px solid #e8dcc0;box-shadow:0 30px 100px #162e4d35}
html body .fc-dialog::backdrop{background:#162e4da8}
html body .fc-categories .selected,html body .fc-slots .selected{background:#f6efdc;color:#162e4d}
html body .fc-dialog input,html body .fc-dialog select{border:1px solid #e8dcc0}
html body .fc-fitting{background:#ffffff;border:1px solid #e8dcc0}

.sf-farm{--sf-ink:#162e4d;--sf-line:#e3e8f0;color:var(--sf-ink)}
.sf-toolbar{display:flex;align-items:center;gap:12px;background:linear-gradient(90deg,#162e4d,#24456e);border-radius:16px;padding:10px 14px;margin-bottom:14px;color:#fff;min-width:0}.sf-toolbar strong{font-size:20px;white-space:nowrap;letter-spacing:.02em}.sf-tabs{display:flex;gap:6px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.sf-tabs::-webkit-scrollbar{display:none}
.sf-toolbar button{flex:none;border:1px solid #ffffff40;border-radius:999px;background:#ffffff1f;color:#fff;padding:8px 13px;cursor:pointer;font:inherit;font-size:13px;white-space:nowrap}.sf-toolbar button.on{background:#fff;color:#162e4d;font-weight:700;border-color:#fff}.sf-toolbar button:hover:not(.on){background:#ffffff38}
.sf-toolbar button:focus-visible,.sf-social button:focus-visible{outline:3px solid #E2B55A;outline-offset:2px}
.sf-social button{border:1px solid #d9dfe8;border-radius:10px;background:white;color:#162e4d;padding:10px 14px;cursor:pointer;font:inherit}
html body .sf-farm .fw-canvas-wrap{background:#cdb6d4 url('/plaza-sprite/bg-plaza.webp') center 78%/cover!important;min-width:0}.sf-farm #farmWorld{width:100%;min-height:520px;display:block;touch-action:none}
.sf-farm .sf-portrait{height:330px!important;min-height:240px;display:block!important;overflow:hidden}.sf-farm .sf-portrait>svg{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
/* Paper doll keeps its own 710:1640 proportion wherever it is shown. */
.sf-doll{display:inline-block;aspect-ratio:710/1640;height:100%;line-height:0;vertical-align:bottom}.sf-doll>svg{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
.fw-profile .sf-doll.sf-mini{height:58px;width:auto;flex:none;margin:-6px 4px -4px 0}.sf-doll.sf-mini{height:64px}
.sf-profile-doll{display:grid;grid-template-columns:70px 1fr;gap:4px 14px;align-items:center;margin:8px 0 14px;padding:10px;border-radius:12px;background:#f6f1fb}.sf-profile-doll .sf-doll{height:150px;grid-row:1/3}.sf-profile-doll p{margin:0;font-size:13px;color:#5c4b6d}.sf-profile-doll button{justify-self:start}
/* Game list: exactly one 별빛 농장 card; four equal cards in one row (2×2 on phones).
   Selectors are more specific than the injected `.learning-game-grid{…!important}` / `.learning-game-card{display:flex!important}`. */
.learning-game-grid.sf-games{grid-template-columns:repeat(var(--sf-cols,4),minmax(0,1fr))!important;align-items:stretch!important;grid-auto-rows:1fr}
.learning-game-grid .learning-game-card.sf-merged-entry,.learning-game-grid .learning-game-card[hidden]{display:none!important}
.learning-game-grid.sf-games>.learning-game-card{height:100%!important;width:auto!important;margin:0!important;box-sizing:border-box}
.learning-game-grid.sf-games>.learning-game-card>.game-shelf-cover{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important;object-fit:cover;flex-shrink:0;margin:0 0 18px!important}
.sf-cover{position:relative;overflow:hidden;background:#cdb6d4}.sf-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 70%}.sf-cover .sf-cover-doll{position:absolute;left:50%;bottom:3%;height:80%;transform:translateX(-50%)}.sf-cover>img.sf-cover-pet{position:absolute;inset:auto auto 5% 8%;width:24%;height:auto;object-fit:contain;image-rendering:pixelated}
.sf-toolbar .sf-go-plaza.on{background:#E2B55A;border-color:#E2B55A;color:#162e4d}
#pz-app .pz-farm-back{flex:none;border:1px solid #d9c6f2;background:#fff;color:#6a3fb0;border-radius:999px;padding:8px 14px;font:inherit;font-weight:800;white-space:nowrap;cursor:pointer;box-shadow:0 2px 0 var(--pz-line,#e5d9f5)}#pz-app .pz-farm-back:focus-visible{outline:3px solid #8a4fd0;outline-offset:2px}
.sf-social{margin:16px 0;padding:18px;background:#fff;border:1px solid var(--sf-line);border-radius:18px}.sf-social header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.sf-social h3{margin:0;font-size:17px;flex:1}.sf-social select{max-width:100%;padding:9px;border:1px solid var(--sf-line);border-radius:8px}
.sf-friends{display:flex;gap:12px;overflow:auto;margin:12px 0}.sf-friends button{flex:none;width:86px;padding:6px}.sf-friends .sf-doll{height:110px}.sf-friends b{display:block;font-size:11px;overflow-wrap:anywhere}
.sf-chat{height:130px;overflow:auto;background:#faf8fc;border-radius:10px;padding:10px;font-size:13px;line-height:1.7}.sf-chat p{margin:4px 0;overflow-wrap:anywhere}.sf-social form{display:flex;gap:8px;margin-top:10px}.sf-social input{min-width:0;flex:1;font:inherit;padding:11px;border:1px solid var(--sf-line);border-radius:10px}.sf-status{font-size:12px;line-height:1.6;color:#76677f}
.sf-farm .fc-farm-layout{grid-template-columns:minmax(0,1fr) 240px}.sf-farm .fc-character-side{min-width:0}
/* Plaza people: the paper doll replaces the old pixel costume and never squashes while walking. */
#pz-app .pz-body.pz-paper-body{width:52px;height:120px;display:block}#pz-app .pz-big .pz-body.pz-paper-body{width:130px;height:300px}#pz-app .pz-paper-body>svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}#pz-app .pz-char .pz-body{aspect-ratio:auto}
#pz-app .pz-char .pz-body.pz-paper-body{animation:sf-idle 2.6s ease-in-out infinite;transform-origin:50% 100%}
#pz-app .walking .pz-paper-body{animation:sf-walk .36s ease-in-out infinite alternate!important}
#pz-app .pz-act-jump .pz-paper-body,#pz-app .pz-act-bounce .pz-paper-body,#pz-app .pz-act-dance .pz-paper-body,#pz-app .pz-act-champ .pz-paper-body{animation:sf-hop .7s ease-in-out infinite!important}
#pz-app .pz-act-bow .pz-paper-body,#pz-app .pz-act-sleep .pz-paper-body,#pz-app .pz-act-wiggle .pz-paper-body{animation:sf-sway 1.6s ease-in-out infinite!important}
@keyframes sf-idle{50%{transform:translateY(-1px)}}@keyframes sf-walk{to{transform:translateY(-4px) rotate(1.2deg)}}@keyframes sf-hop{50%{transform:translateY(-26px)}}@keyframes sf-sway{50%{transform:rotate(6deg)}}
.sf-merged-entry{display:none!important}
@media(max-width:760px){.learning-game-grid.sf-games{grid-template-columns:repeat(2,minmax(0,1fr))!important}#pz-app .pz-farm-back{padding:7px 10px;font-size:13px}.sf-toolbar{flex-wrap:wrap;padding:10px;gap:8px}.sf-toolbar strong{font-size:17px}.sf-tabs{order:3;flex-basis:100%}.sf-toolbar .sf-chat-jump{margin-left:auto;padding:6px 10px;font-size:12px}.sf-toolbar button{font-size:12px;padding:7px 11px}
 .sf-farm .fc-farm-layout{grid-template-columns:minmax(0,1fr)}.sf-farm .fc-character-side{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px}.sf-farm .sf-portrait{grid-column:1;grid-row:2/6;height:175px!important;min-height:0}.sf-farm #farmWorld{min-height:450px}
 .sf-social{padding:12px}.sf-friends button{width:72px}.sf-friends .sf-doll{height:92px}}
@media(prefers-reduced-motion:reduce){#pz-app .pz-char .pz-body.pz-paper-body,#pz-app .walking .pz-paper-body{animation:none!important}}

/* Worn 완성 코디: costume art replaces the paper doll (pixel art keeps crisp edges, no distortion). */
.sf-doll.sf-costume{aspect-ratio:auto;display:inline-flex;align-items:flex-end;justify-content:center}.sf-doll.sf-costume>img{height:100%;width:auto;image-rendering:pixelated;image-rendering:crisp-edges}.sf-portrait .sf-doll.sf-costume{height:86%;margin-top:8%}
.pz-price-hint{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:999px;background:#162e4d;color:#fff;font-size:11px;font-weight:700;vertical-align:1px}#pz-app .pz-shop-kind{background:#fff8e6;border:1px solid #E2B55A;border-radius:10px;padding:8px 10px;color:#162e4d}
/* Level progress in navy/gold (native <progress> otherwise draws the browser's green). */
.sf-farm .fp-xp progress,.sf-farm progress{-webkit-appearance:none;appearance:none;height:8px;border:0;border-radius:99px;background:#e3e8f0;accent-color:#162e4d;overflow:hidden}.sf-farm progress::-webkit-progress-bar{background:#e3e8f0;border-radius:99px}.sf-farm progress::-webkit-progress-value{background:#E2B55A;border-radius:99px}.sf-farm progress::-moz-progress-bar{background:#E2B55A;border-radius:99px}

/* part-5: keep room costume previews and readable controls within their existing panels */
.fc-wardrobe>[data-sf-legacy-note]{grid-column:1/-1;margin:0;line-height:1.7;font-size:14px}.pr-room-portrait .pz-title{top:4px;bottom:auto}.pr-mini .pz-title,.pr-friends .pz-title{display:none}.pr-room-portrait .pz-char{margin:auto;transform:none!important;width:100%;height:100%}.pr-room-portrait .pz-char .pz-body{display:block;height:100%;width:100%}.pr-room-portrait .pz-sprite{object-fit:contain!important;width:100%!important;height:100%!important;max-height:100%!important}.pr-mini .pz-char,.pr-friends .pz-char{transform:none!important;width:100%;height:100%}.pr-mini .pz-sprite,.pr-friends .pz-sprite{max-width:100%!important;max-height:100%!important;object-fit:contain}.pr-friends button{white-space:normal;overflow-wrap:anywhere}.sf-avatar-loading{display:block;font-size:13px;line-height:1.6;padding:12px}.sf-social input,.pr-chat-form input{font-size:16px}.sf-toolbar button,.pr-room-tools button{min-height:40px;white-space:normal;line-height:1.5}
