/* Plamaratam: storybook village, release 20261015-cozy-1 */
:root{--cream:#fff5df;--mint:#d1ebcb;--leaf:#278f83;--deep:#412851;--gold:#f2bf58;--rose:#cd53a3;--blue:#9cdde3;--card:#fff6e6f5;--cozy-purple:#71418e;--cozy-ink:#402a4f;--cozy-line:#ddc39b}
body,body.forest-page,body.atelier-page{color:var(--cozy-ink);background:#d7e8bc url('../img/cozy/village-landscape.webp') center top/cover fixed no-repeat;font-family:'Trebuchet MS',Verdana,system-ui,sans-serif;line-height:1.55}
body:before{content:'';position:fixed;inset:0;pointer-events:none;background:linear-gradient(180deg,#33244c05,#fdf4dc22 48%,#fff4dcbb);z-index:-1}
.sky-orbs{display:none}.topbar{width:min(1320px,96%);margin:18px auto 0;padding:13px 24px;background:linear-gradient(165deg,#96592c,#633518);border:3px solid #d39a57;border-radius:22px 8px 25px 12px;box-shadow:0 6px 0 #40251588,0 12px 24px #24172c33;position:relative;z-index:20;color:#fff2cf;gap:15px}.topbar .brand h1{color:#ffdc80;text-shadow:0 3px 1px #3a2012;font-family:Georgia,serif}.topbar .brand span{color:#fff1d2}.brand img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 3px 3px #25163466)}.topbar a,.atelier-page .topbar a,.forest-page .topbar a{color:#fff3da}.brand-link{text-decoration:none}.top-actions{flex-shrink:0}.village-menu>summary{background:#fff3dc;color:#56376c;border:2px solid #dfbc7e}.village-menu-links{background:#fff6e8;border:2px solid #d3b68c}.topbar .village-menu-links a{color:#56376c}.ghost-link:hover{background:#f2dfbd;color:#56376c}.wallet-pop{background:#fff5df;color:#43264f}
.cozy-intro{width:min(1240px,94vw);margin:38px auto 20px;min-height:270px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cozy-sign{position:relative;transform:rotate(-3deg);padding:26px 38px 20px;background:linear-gradient(155deg,#a46632,#713b1c 65%,#a36a35);border:5px solid #d59651;border-radius:48% 45% 23% 26% / 22% 20% 30% 24%;box-shadow:0 8px 0 #4c291b,0 16px 30px #2a222943;text-align:center}.cozy-sign>img{position:absolute;left:calc(50% - 34px);top:-44px;filter:drop-shadow(0 4px 2px #40275166)}.cozy-sign h2{font:900 clamp(40px,6vw,83px)/1.1 Georgia,serif;letter-spacing:-3px;color:#ffe19a;text-shadow:2px 4px #5c2d15,-1px -1px #fff5cb;margin:5px 0 0}.cozy-sign p{margin:4px 0 0;color:#fff2cf;font-size:clamp(14px,2vw,21px);font-weight:bold}.cozy-invitation{font-size:clamp(20px,2.7vw,32px);font-weight:bold;line-height:1.4;text-align:center;color:#fff7ed;background:#744090ed;transform:rotate(-5deg);padding:20px 36px;border-radius:62% 30% 50% 20% / 20% 40% 25% 35%;text-shadow:0 2px #4e2966;box-shadow:0 4px 0 #ffffff55}
.cozy-discover{width:min(1240px,94vw);margin:0 auto 25px;padding:24px 12px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:#fff4e1f5;border:3px solid #fffaf0;border-radius:42px 35px 32px 38px;box-shadow:0 12px 35px #45392533}.cozy-discover a{display:flex;align-items:center;flex-direction:column;text-align:center;text-decoration:none;color:#fff6ee;font-weight:bold;padding:0 9px;border-right:1px solid #d2b98f;gap:10px}.cozy-discover a:last-child{border:0}.cozy-discover img{width:94px;height:94px;object-fit:contain;transition:transform .2s;filter:drop-shadow(0 4px 2px #88533e33)}.cozy-discover a:hover img{transform:translateY(-6px) rotate(-4deg)}.cozy-discover span{display:grid;place-items:center;min-height:38px;width:100%;padding:5px 9px;background:#784291;border-radius:50% 15% 34% 20% / 18% 35% 28% 26%;line-height:1.25}.cozy-discover a:nth-child(2) span,.cozy-discover a:nth-child(3) span{background:#26978c}.cozy-discover a:nth-child(5) span{background:#ca4d9a}
.layout{width:min(1240px,94vw);gap:24px}.card,.atelier-card,.map-card,.forest-side .card{background:var(--card);color:var(--cozy-ink);border:2px solid #fffaf0;border-radius:28px;box-shadow:0 8px 0 #ad80511a,0 12px 35px #3b2e3f26;backdrop-filter:none}.hero{position:relative;overflow:hidden;padding:28px}.hero h2{font:800 clamp(30px,3.6vw,47px)/1.13 Georgia,serif;color:#633d7d}.hero .hero-text>p{font-size:16px}.eyebrow{color:#82603c;letter-spacing:1.6px}.hero .village-wrap{min-height:330px;border:5px solid #fff9e8;border-radius:22px;background:#bae0c5;box-shadow:0 3px 12px #593f3022}.hero .village-wrap canvas{aspect-ratio:760/430;object-fit:cover}.panel h3,.actions>.section-head h3,.owl-care>h3,.quest>h3{display:inline-block;background:#73418b;color:#fff4df;padding:7px 22px;border-radius:50% 18% 35% 20% / 18% 35% 25% 28%;font-size:23px;font-family:Georgia,serif}.stat{border-bottom:1px dashed #cfb990}.stat strong{color:#71438a}.action,.owl-row,.empty,.guide-step{background:#fffaf0;border:1px solid #e5d2ac;box-shadow:0 5px 10px #63422b0c}.action img{height:80px;width:90px;object-fit:contain}.action h4{color:#603e78}.action p,.owl-main span{color:#665773}.action{transition:transform .18s,box-shadow .18s}.action:hover{box-shadow:0 10px 20px #70438c22}.action button,.buttonish,.wallet-button,.tab.active,.finish,.atelier-page button:not(.tile),.forest-page button{background:linear-gradient(150deg,#ab54b0,#713986);border:2px solid #f7d5a0;color:#fff9e9;box-shadow:0 4px 0 #4e2b6233;border-radius:18px;font-weight:800}.tab{background:#f2e5c9;color:#593570;border-color:#fff9e8}.buttonish:hover,.wallet-button:hover{filter:brightness(1.1)}.banner-box,.forest-page .banner-box,.atelier-page .banner-box{background:#f5ead9;color:#79654f;border:1px solid #d6c3a6;border-radius:15px}.banner-placeholder,.forest-page .banner-placeholder,.atelier-page .banner-placeholder{color:#79654f;border-color:#bca787}.banner-label{font-size:10px}.banner-box iframe{background:#fff}.home-ad-wide{grid-column:1/-1}.care-planning{background:#f4e6c5}.owl-row b{background:#e6edd8;color:#415d40}.mini-owl{background:#e6d3f1 url('../img/cozy/owl.png') center/contain no-repeat;font-size:0}.progress,.care-bar{background:#e4d5bf}.progress span{background:linear-gradient(90deg,#289e93,#ac75cf,#f1c15d)}.quest{scroll-margin-top:24px}a{color:#75428c}footer{color:#fff1e8;background:#523464ed;margin-top:40px;border-top:4px solid #d8bf91}footer a{color:#fff0c9}
.cozy-welcome{width:min(1100px,92vw);min-height:380px;display:flex;justify-content:space-between;align-items:center;gap:30px;margin:30px auto 0}.cozy-welcome>div{background:#fff5e5ed;border:3px solid #fffaf0;border-radius:34px;padding:35px;box-shadow:0 12px 35px #3e304535}.cozy-welcome h1{font:900 clamp(40px,7vw,76px)/1.1 Georgia,serif;margin:5px 0 15px;color:#693b80}.cozy-welcome>img{width:min(36vw,340px);height:auto;filter:drop-shadow(0 15px 10px #32233544)}.login-page{scroll-margin-top:20px}.login-card .ad-logo{width:105px;height:105px;object-fit:contain}.login-card h2{font-size:32px;color:#643e7c}.login-card input,.wallet-card input,.atelier-page input,.atelier-page select{background:#fffaf0;color:#412851;border:1px solid #cbb493}
.atelier-hero{background:#fff3e5ed;border:2px solid #fffaf0;padding:25px;border-radius:28px;margin-bottom:24px}.atelier-hero h2,.atelier-card h3,.map-card h3{color:#653c7e}.atelier-hero p,.atelier-card p,.section-line span,.map-heading span,.placement-bar span,.atelier-page .balance small{color:#6b5875}.atelier-page a{color:#73418b}.atelier-page .balance,.atelier-page .recipe,.atelier-page .inventory-item,.atelier-page .project{background:#fffaed;color:#513164;border-color:#ddc9a3}.atelier-page .balance b{color:#774293}.village-stage{background:linear-gradient(#49745222,#203e3b33),url('../img/cozy/village-landscape.webp') center/cover}.forest-side .card{padding:24px}.forest-page .forest-hud{background:#fff3df;color:#513564}.forest-page .forest-hud span:last-child{color:#775c7f}.forest-stage{border:4px solid #f9eacb}.forest-overlay{background:#2c1839dd;color:#fff4e5}.forest-stats b{color:#81499a}.guide-village-art{background:url('../img/cozy/village-landscape.webp') center/cover}.guide-village-art>*{display:none}.guide-mock{overflow:hidden}.guide-top{background:#885333;color:#fff1ce}
:focus-visible{outline:3px solid #ab5ec4;outline-offset:4px}button:disabled{opacity:.5;cursor:not-allowed}
@media(min-width:851px){.layout .hero{grid-template-columns:.8fr 1.2fr}.login-page{max-width:800px}}
@media(max-width:850px){body,body.forest-page,body.atelier-page{background-attachment:scroll;background-size:auto 1100px;background-color:#e5e9cb}.cozy-intro{min-height:220px;gap:14px}.cozy-sign{padding:22px 24px}.cozy-invitation{padding:15px 20px}.cozy-discover{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:22px}.cozy-discover a:nth-child(3){border-right:0}.cozy-discover img{width:78px;height:78px}.topbar{padding:12px 16px}.topbar .brand h1{font-size:23px}.topbar .brand img{width:48px;height:48px}.hero .village-wrap{min-height:0;margin-top:18px}.cozy-welcome{min-height:300px}.cozy-welcome>div{padding:24px}.cozy-welcome>img{width:31vw}.atelier-wrap,.forest-layout{padding:0 12px}.atelier-hero{flex-wrap:wrap}.atelier-page .atelier-columns{grid-template-columns:1fr}}
@media(max-width:520px){.topbar .brand span{font-size:11px}.topbar .brand h1{font-size:19px}.topbar .brand{gap:7px}.topbar .brand img{width:36px;height:36px}.village-menu>summary{padding:8px 12px;font-size:13px}.cozy-intro{flex-direction:column;min-height:0;margin-top:52px;gap:20px}.cozy-sign{width:95%}.cozy-sign h2{font-size:48px;letter-spacing:-2px}.cozy-invitation{font-size:20px;transform:rotate(-2deg);margin:6px 0 12px}.cozy-invitation br{display:none}.cozy-discover{padding:22px 6px;border-radius:28px;gap:18px 0}.cozy-discover a{padding:0 5px;font-size:12px}.cozy-discover img{width:70px;height:70px}.cozy-discover span{min-height:40px}.hero,.panel,.actions,.owl-care,.quest{padding:20px}.cozy-welcome{position:relative;margin-top:35px;min-height:350px}.cozy-welcome>div{padding:25px 20px;width:100%}.cozy-welcome h1{font-size:45px}.cozy-welcome>img{position:absolute;right:-3px;bottom:-28px;width:120px;pointer-events:none}.forest-layout{grid-template-columns:1fr}.topbar nav{gap:10px;font-size:13px}.forest-page .topbar,.atelier-page .topbar{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.cozy-update-notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:100000;padding:15px;background:#fff4df;border:2px solid #a46ba9;border-radius:20px;box-shadow:0 8px 30px #41285144}.cozy-update-notice button{background:#71418e;color:white;padding:12px 22px;border:0;border-radius:14px;cursor:pointer;font-weight:bold}
