.ribbon-3d{gap:22px;padding-top:35px;padding-bottom:40px;perspective:1000px}.ribbon-3d .ribbon-chip{min-height:130px;display:flex;align-items:center;justify-content:flex-start;padding:15px 22px;gap:12px;border-radius:22px;box-shadow:0 9px 0 #32214212,0 20px 30px #32214210;transform-style:preserve-3d;animation:bannerBob 5s ease-in-out infinite}.ribbon-3d .ribbon-chip:nth-child(2){animation-delay:-1.3s}.ribbon-3d .ribbon-chip:nth-child(3){animation-delay:-2.5s}.ribbon-3d .ribbon-chip:nth-child(4){animation-delay:-3.7s}.ribbon-3d img{width:90px;height:100px;object-fit:contain;filter:drop-shadow(0 12px 6px #3a204b25);animation:iconDance 4s ease-in-out infinite}.ribbon-3d span{text-align:left;line-height:1.15;font-size:clamp(18px,1.6vw,24px)}.ribbon-3d .ribbon-chip:hover{animation-play-state:paused;box-shadow:0 10px 0 #713dce30,0 20px 35px #713dce25}.account-open svg{fill:none;stroke:currentColor;stroke-width:2}.account-open{display:grid;place-items:center}.category-select{max-width:280px;margin:0 0 24px}.category-select select{background:white;border:1px solid #ddd;border-radius:12px;padding:12px;font:inherit;width:100%}
.chest-stage.treasure-box{width:min(100%,470px);height:410px;position:relative;overflow:visible;perspective:900px;background:none}.chest-stage.treasure-box img{position:absolute;clip-path:none!important;animation:none;filter:drop-shadow(0 16px 12px #3e156e26);object-fit:contain;transition:none}.chest-stage .chest-body{width:76%;height:58%;left:12%;bottom:0;z-index:5}.chest-stage .chest-lid{width:80%;height:48%;left:10%;bottom:39%;z-index:6;transform-origin:50% 85%;transform:rotateX(0);transition:transform 1.15s cubic-bezier(.2,.8,.3,1),bottom 1.15s ease!important}.chest-stage.opened .chest-lid{transform:rotateX(-100deg) rotateZ(-7deg) translateY(-20px);bottom:45%;z-index:1}.chest-stage .flying-toy{width:24%;height:30%;left:38%;bottom:20%;z-index:3;opacity:0;transform:scale(.2);pointer-events:none}.chest-stage.opened .flying-toy{animation:toyLaunch 1.3s cubic-bezier(.18,.7,.3,1) forwards,toyFloat 3s ease-in-out 1.4s infinite}.chest-stage .toy-one{--tx:-125px;--ty:-170px;--rot:-20deg}.chest-stage .toy-two{--tx:95px;--ty:-195px;--rot:22deg}.chest-stage .toy-three{--tx:145px;--ty:-70px;--rot:12deg}.chest-stage .toy-four{--tx:-95px;--ty:-60px;--rot:-14deg}.chest-stage.opened .toy-two{animation-delay:.1s,1.5s}.chest-stage.opened .toy-three{animation-delay:.2s,1.6s}.chest-stage.opened .toy-four{animation-delay:.3s,1.7s}.chest-stage .treasure-lock{z-index:8;top:auto;bottom:13%;}.chest-stage.opened .treasure-lock{opacity:0}.chest-stage .treasure-glow{z-index:2;inset:22% 10% 10%;opacity:0;background:radial-gradient(ellipse,#fff9a4,#ffe44f80,transparent 70%);transition:opacity .6s}.chest-stage.opened .treasure-glow{opacity:1}.account-header{display:flex;justify-content:space-between;align-items:center;padding:22px 5vw;background:white;border-bottom:5px solid #ffda31}.account-main{max-width:1100px;padding:30px 20px;margin:auto}.account-auth{display:grid;grid-template-columns:1fr 1fr;gap:30px}.account-page{background:#f8f5ff}.account-page h1{font-size:clamp(28px,4vw,48px);margin:25px 0}.account-tabs{display:flex;gap:16px;flex-wrap:wrap;margin:25px 0;padding:15px;border-radius:15px;background:#ede4ff;align-items:center}.account-tabs a,.account-tabs button{font-weight:800;font-size:16px;color:#6336b0;background:none;border:0}.account-tabs form{margin:0}.account-main .panel{margin:20px 0;border-radius:18px;box-shadow:0 8px 25px #331b5110;background:white;padding:25px}.order-card>div{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.order-card>div>span{background:#f0e9ff;padding:8px 15px;border-radius:20px;font-weight:bold}.admin header nav{flex-wrap:wrap;gap:12px}.admin header{flex-wrap:wrap}.admin .panel{margin:20px 0}.admin select,.account-page select{font:inherit;padding:12px;border:1px solid #ddd;border-radius:8px;width:100%}#contract-preview{width:100%;height:380px;border:2px solid #decaff;border-radius:12px;margin:20px 0}#account-preview-dialog{max-width:800px;width:calc(100% - 30px)}
@keyframes bannerBob{0%,100%{transform:rotateY(-3deg) translateY(0)}50%{transform:rotateY(3deg) translateY(-7px)}}@keyframes iconDance{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-8px) rotate(6deg)}}@keyframes toyLaunch{0%{opacity:0;transform:translate(0,0) scale(.2) rotate(0)}30%{opacity:1}75%{opacity:1;transform:translate(var(--tx),calc(var(--ty) - 25px)) scale(1.12) rotate(var(--rot))}100%{opacity:1;transform:translate(var(--tx),var(--ty)) scale(1) rotate(var(--rot))}}@keyframes toyFloat{0%,100%{transform:translate(var(--tx),var(--ty)) rotate(var(--rot))}50%{transform:translate(var(--tx),calc(var(--ty) - 10px)) rotate(calc(var(--rot) + 6deg))}}
@media(max-width:700px){.ribbon-3d{gap:16px;padding-top:22px}.ribbon-3d .ribbon-chip{min-height:120px;padding:12px;gap:8px}.ribbon-3d img{width:62px;height:80px}.ribbon-3d span{font-size:18px}.account-auth{grid-template-columns:1fr}.playful-header .header-actions{gap:6px}.playful-header .icon-button{width:42px;height:42px}.playful-header .header-treasure{width:48px}.chest-stage.treasure-box{height:330px}.chest-stage .toy-one{--tx:-85px;--ty:-140px}.chest-stage .toy-two{--tx:65px;--ty:-155px}.chest-stage .toy-three{--tx:95px;--ty:-60px}.chest-stage .toy-four{--tx:-70px;--ty:-50px}}
@media(prefers-reduced-motion:reduce){.ribbon-3d .ribbon-chip,.ribbon-3d img{animation:none}.chest-stage .chest-lid{transition:none!important}.chest-stage.opened .flying-toy{animation:none;opacity:1;transform:translate(var(--tx),var(--ty)) rotate(var(--rot))}}
.account-page h2{font-size:32px;line-height:1.15}.account-page h3{font-size:24px;line-height:1.2}.account-page label{display:block;margin-bottom:18px;font-size:16px;font-weight:700}.account-page input,.account-page textarea{margin-top:7px}.account-page details>summary{cursor:pointer;font-weight:800;padding:12px 0}.account-header{position:static}.account-main .button{border-radius:12px;background:#713dce;color:white}.account-page .order-card a{text-decoration:underline;color:#713dce}.account-auth>div{padding:15px}#account-preview-content h3{font-size:25px}#account-preview-content label{display:block;margin-bottom:15px}.chest-stage.opened .chest-lid{transform:rotateX(-65deg) rotateZ(-7deg) translateY(-65px)}
@media(max-width:360px){.playful-header .icon-button{width:36px;height:36px}.playful-header .header-treasure{width:42px}.playful-header .brand{width:88px}.ribbon-3d img{width:48px}.ribbon-3d span{font-size:16px}}
.shipment-card{margin:16px 0;padding:18px;border:1px solid #d9c8f6;border-radius:14px;background:linear-gradient(115deg,#f5f0ff,#fff)}.shipment-card h4{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:18px}.shipment-card p{overflow-wrap:anywhere;margin:8px 0}.shipment-card small{display:block;margin-top:9px;color:#665b73;font-size:12px}.account-page .order-card .shipment-card a.button{display:inline-flex;align-items:center;gap:9px;color:#fff;text-decoration:none;min-height:44px}.shipment-card .button img{filter:brightness(0) invert(1)}.tracking-code{font-family:monospace;font-weight:700;user-select:all}
