.gacha-page{--g-paper:#fffdf7;--g-rose:#aa415e;--g-berry:#673246;--g-muted:#876d73;background:#fbf3e9;background-image:radial-gradient(#d8a5b442 .8px,transparent 0);background-size:16px 16px;min-height:100dvh;color:#563a43;font-size:16px;line-height:1.75;overflow-wrap:anywhere}.gacha-wrap{width:100%;max-width:1060px;padding:22px 24px 42px;margin:auto;min-width:0}.gacha-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:28px}.gacha-top .brand{font-size:24px}.gacha-top>a:last-child{display:inline-flex;align-items:center;gap:5px;min-height:44px;font-size:15px;color:#95596d}.gacha-intro{text-align:center}.gacha-intro>span{font-family:Georgia,serif;font-style:italic;font-size:14px;letter-spacing:1px;color:#9a6c77}.gacha-intro h1{font-family:Kuaile,Yozai,sans-serif;font-weight:400;font-size:clamp(30px,4vw,40px);line-height:1.45;color:var(--g-berry);margin:8px 0}.gacha-intro p{font-size:16px;color:var(--g-muted)}.gacha-tabs{display:flex;width:390px;max-width:100%;margin:23px auto;border:1px solid #e8c9ce;background:#f5e7e5;border-radius:17px;padding:5px;gap:5px}.gacha-tabs button{flex:1;min-width:0;min-height:57px;padding:7px 8px;border:0;border-radius:12px;background:transparent;color:#886570;font-size:17px}.gacha-tabs button[aria-selected=true]{background:var(--g-paper);box-shadow:0 3px 10px #986f7420;color:var(--g-rose)}.gacha-tabs small{display:block;font-size:12px;line-height:1.5}.gacha-tabs button:disabled{opacity:.65}.gacha-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--g-paper);border:1px solid #e8d6d1;border-radius:28px;box-shadow:0 14px 45px #8e566513;overflow:hidden;min-width:0}.gacha-machine-side{padding:28px 26px 20px;display:flex;align-items:center;flex-direction:column;min-width:0;background:linear-gradient(150deg,#fff9f0,#fff0f0)}.gacha-ticket{background:#fffaf3;border:1px solid #ead7c9;padding:6px 16px;border-radius:3px;font-size:12px;color:#937663;transform:rotate(-3deg);box-shadow:3px 3px 0 #e8d2c426;letter-spacing:1px}.gacha-machine{width:300px;max-width:100%;position:relative;margin:8px auto 0;aspect-ratio:340/390;isolation:isolate}.gacha-machine>svg{width:100%;height:100%;overflow:visible}.gacha-machine-shadow{position:absolute;bottom:6%;width:74%;left:13%;height:5%;border-radius:50%;background:#b8897530;filter:blur(8px);z-index:-1}.gacha-machine .drop-capsule,.gacha-machine .stars{opacity:0}.gacha-machine.is-empty:not(.is-mixing):not(.is-done) .capsules{opacity:.18}.gacha-machine.is-mixing .capsules{transform-box:fill-box;transform-origin:center;animation:gacha-mix .9s ease-in-out 2}.gacha-machine.is-mixing .knob{transform-box:fill-box;transform-origin:center;animation:gacha-turn .9s ease-in-out 2}.gacha-machine.is-mixing .drop-capsule{animation:gacha-drop 1.4s ease-out 1.5s forwards}.gacha-machine.is-mixing .stars{animation:gacha-twinkle 1s ease-in-out 1.7s both}.gacha-machine.is-done .drop-capsule{opacity:1}.gacha-machine.is-done .stars{opacity:.8}.gacha-little-caption{font-size:14px;color:#936a75;text-align:center;margin-top:0}.gacha-steps{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:17px;font-size:12px;color:#92767d}.gacha-steps span{background:#ffffff85;border:1px solid #ecd7d2;border-radius:20px;padding:4px 9px}.gacha-steps b{font-weight:400;color:#b66d82;margin-right:4px}.gacha-console{padding:30px;display:flex;flex-direction:column;justify-content:center;min-width:0}.gacha-pool-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.gacha-pool-head h2,.gacha-preview-head h2,.gacha-result h2{font-family:Kuaile,Yozai,sans-serif;font-weight:400;color:var(--g-berry)}.gacha-pool-head h2{font-size:25px}.gacha-price{border:1px solid #e8c6ce;padding:3px 11px;border-radius:30px;background:#fff4f5;color:#98435c;white-space:nowrap;font-size:16px}.gacha-lead{font-size:15px;color:var(--g-muted);margin-bottom:12px}.gacha-inventory{display:flex;gap:8px;align-items:flex-start;font-size:14px;margin-bottom:23px;padding-bottom:16px;border-bottom:1px dashed #ead4d6;color:#718065}.gacha-inventory svg{flex-shrink:0;margin-top:4px}.gacha-inventory.is-empty{color:#927165}.gacha-code-form label{display:block;color:var(--g-berry);margin-bottom:8px}.gacha-code-form [data-slot=input]{font-family:Yozai,sans-serif;font-size:16px!important;min-height:50px;letter-spacing:.4px;width:100%;min-width:0}.gacha-code-help{font-size:13px;color:var(--g-muted);margin:8px 0 17px;line-height:1.8}.gacha-code-form>.gacha-draw{width:100%;min-height:52px;border:1px solid #a24c67;border-radius:14px;background:var(--g-rose);color:white;box-shadow:0 4px 0 #843951;font-size:17px;white-space:normal}.gacha-code-form>.gacha-draw:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px 0 #843951}.gacha-status{min-height:31px;text-align:center;font-size:14px;color:#8b6671;margin:15px 0 0}.gacha-error{background:#fff0f1;border:1px solid #e9c5ce;border-radius:11px;padding:11px 13px;color:#a23250;font-size:15px;margin:12px 0}.gacha-skip{display:block;margin:5px auto 0;min-height:44px;border:0;background:transparent;color:#7f675e;text-decoration:underline;text-underline-offset:4px;font-size:15px}.gacha-footer-note{font-size:13px;color:#94777e;text-align:center;margin:12px 0 0}.gacha-empty-note{padding:15px;border-radius:14px;border:1px dashed #dfc4c9;background:#fff6f3;margin-bottom:18px;font-size:15px;color:#8d6570}.gacha-empty-note strong{display:block;font-weight:400;color:#9a4d66;margin-bottom:4px}.gacha-empty-note a{text-decoration:underline;text-underline-offset:3px}.gacha-loading{padding:30px;text-align:center;color:#936b7a}.gacha-preview{margin:25px 0 0;padding:22px 20px 17px;border:1px solid #e7d6d0;border-radius:22px;background:#fffdf7;min-width:0;overflow:hidden}.gacha-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.gacha-preview-head h2{font-size:24px}.gacha-preview-head p{font-size:14px;color:var(--g-muted);margin-top:3px}.gacha-motion-control{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 11px;border:1px solid #e4ccd2;border-radius:11px;background:#fff5f6;font-size:14px;color:#8d5065;flex-shrink:0}.gacha-motion-note{color:#8d717b;font-size:13px;margin-top:9px}.gacha-carousel{overflow:hidden;margin:20px -4px 10px;padding:8px 4px;min-width:0;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}.gacha-track{display:flex;gap:13px;width:max-content;max-width:none;animation:gacha-drift 38s linear infinite}.gacha-carousel.is-paused .gacha-track{animation-play-state:paused}.gacha-carousel.is-static .gacha-track{animation:none;max-width:100%;width:100%;flex-wrap:wrap;justify-content:center}.gacha-pool-card{width:123px;flex:0 0 123px;border:1px solid #e5cfd1;border-radius:11px;background:white;padding:6px;box-shadow:0 5px 11px #87526e0d;color:#855566;text-align:left;min-width:0;transform:rotate(-2deg)}button.gacha-pool-card{cursor:pointer}.gacha-pool-card:nth-child(2n){transform:rotate(2deg)}.gacha-pool-card img{width:100%;height:136px;object-fit:contain;background:#fff7f5;border-radius:6px}.gacha-pool-card span{display:block;padding:5px 2px 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.gacha-pool-card small{color:#a08086;font-size:11px;display:block}.gacha-pool-list{border-top:1px dashed #ead4d6;margin-top:15px;padding-top:6px}.gacha-pool-list summary{cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#96556d;list-style:none}.gacha-pool-list summary::-webkit-details-marker{display:none}.gacha-pool-list[open] summary svg{transform:rotate(180deg)}.gacha-pool-list ul{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.gacha-pool-list button{display:flex;gap:9px;align-items:center;border:1px solid #eedde0;background:white;border-radius:10px;padding:8px;text-align:left;width:100%;min-width:0;min-height:64px}.gacha-pool-list img{width:45px;height:52px;object-fit:contain;border-radius:5px;background:#fff8f6;flex-shrink:0}.gacha-pool-list span{min-width:0;font-size:15px}.gacha-pool-list small{display:block;color:#9b7f87;font-size:12px}.gacha-result{position:relative;margin:27px auto 0;padding:25px;background:#fffaf1;border:1px solid #e5cfd0;border-radius:22px;box-shadow:0 14px 45px #8e566513;scroll-margin-top:20px;max-width:760px}.gacha-result-tape{position:absolute;top:-11px;left:calc(50% - 40px);width:80px;height:25px;background:#d4dfc2c7;transform:rotate(-4deg);border-left:1px dashed #9eaf8e;border-right:1px dashed #9eaf8e}.gacha-result-tag{display:flex;gap:9px;align-items:center;justify-content:space-between;font-size:14px;color:#a16a7c}.gacha-result-tag span:last-child{font-size:12px;background:#f5e6e9;border-radius:30px;padding:3px 9px}.gacha-result-body{display:grid;grid-template-columns:130px minmax(0,1fr);gap:23px;align-items:start;margin:20px 0}.gacha-result-image{background:white;border:5px solid white;box-shadow:0 3px 12px #9c6d6312;transform:rotate(-3deg);border-radius:14px;width:100%;height:170px;object-fit:contain}.gacha-result h2{font-size:28px;line-height:1.5}.gacha-result-number{font-size:13px;color:#a17c82}.gacha-result-story{font-size:16px;color:#795a65;line-height:1.9;white-space:pre-line;margin-top:10px;max-height:210px;overflow-y:auto;overscroll-behavior:contain}.gacha-result-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;border-top:1px dashed #dbc2c7;padding-top:16px}.gacha-result-actions p{font-size:14px;color:#937b77;flex:1;min-width:160px}.gacha-result-actions [data-slot=button]{min-height:48px;font-size:17px}.gacha-saved-note{font-size:14px;color:#748163;background:#eef0e4;padding:10px 12px;border-radius:10px;margin-top:17px}.gacha-rules{margin:20px auto 0;max-width:750px;color:#876d73;font-size:14px}.gacha-rules summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px}.gacha-rules ul{padding-left:21px;margin-top:10px}.gacha-rules li{margin:8px 0}.gacha-footer{text-align:center;padding:24px 0 0;font-size:14px;color:#9a7d83}.gacha-preview-dialog{width:calc(100% - 24px)!important;max-width:680px!important;max-height:92dvh;overflow:auto}.gacha-preview-dialog [data-slot=dialog-title]{padding-right:30px;line-height:1.6}.gacha-preview-dialog img{width:100%;height:min(64dvh,700px);object-fit:contain;background:#fffaf7;border-radius:12px}@keyframes gacha-mix{0%,to{transform:rotate(0)}30%{transform:rotate(-12deg) translateY(-3px)}70%{transform:rotate(14deg) translateY(4px)}}@keyframes gacha-turn{to{transform:rotate(1turn)}}@keyframes gacha-drop{0%{opacity:0;transform:translateY(-29px)}12%{opacity:1}65%{transform:translateY(4px)}85%{transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes gacha-twinkle{0%,to{opacity:0}50%{opacity:1}}@keyframes gacha-drift{to{transform:translateX(calc(-50% - 6.5px))}}@media(max-width:680px){.gacha-wrap{padding:15px 14px 30px}.gacha-top{margin-bottom:22px}.gacha-top .brand{font-size:22px}.gacha-top>a:last-child{font-size:14px}.gacha-intro p{font-size:15px}.gacha-tabs{margin:20px auto}.gacha-tabs button{font-size:16px}.gacha-board{grid-template-columns:minmax(0,1fr);border-radius:24px}.gacha-machine-side{padding:19px 18px 10px}.gacha-machine{width:242px;margin:2px auto 0}.gacha-ticket{font-size:11px;padding:4px 13px}.gacha-little-caption{font-size:13px;margin-top:-3px}.gacha-steps{margin-top:13px;font-size:11px}.gacha-console{padding:22px 20px}.gacha-pool-head h2{font-size:24px}.gacha-inventory{margin-bottom:17px}.gacha-preview{padding:18px 14px 12px;margin-top:20px}.gacha-preview-head h2{font-size:22px}.gacha-preview-head p{font-size:13px}.gacha-motion-control{padding:7px 9px;font-size:13px;gap:4px}.gacha-pool-card{width:111px;flex-basis:111px}.gacha-pool-card img{height:125px}.gacha-pool-list ul{grid-template-columns:repeat(2,minmax(0,1fr))}.gacha-pool-list button{gap:7px;padding:6px}.gacha-pool-list img{width:37px;height:49px}.gacha-pool-list span{font-size:14px}.gacha-result{padding:22px 18px}.gacha-result-body{grid-template-columns:90px minmax(0,1fr);gap:16px}.gacha-result-image{height:123px}.gacha-result h2{font-size:24px}.gacha-result-story{font-size:15px}.gacha-result-actions [data-slot=button]{width:100%}.gacha-result-tag{font-size:13px}.gacha-rules{padding:0 7px}.gacha-footer{font-size:13px}}@media(prefers-reduced-motion:reduce){.gacha-page *,.gacha-page :after,.gacha-page :before{animation:none!important;transition:none!important;scroll-behavior:auto!important}.gacha-carousel .gacha-track{animation:none!important;max-width:100%;width:100%;flex-wrap:wrap;justify-content:center}.gacha-carousel .gacha-pool-duplicate{display:none}}.gacha-pool-directory-link{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px dashed #ead4d6;min-height:62px;padding:14px 2px 5px;margin-top:12px;color:#96556d;font-size:18px}.gacha-pool-directory-link>span{min-width:0}.gacha-pool-directory-link small{font-size:13px;color:#a17b85;margin-left:13px;white-space:nowrap}.gacha-directory-note{font-size:13px;line-height:1.8;color:#977a82;padding:0 2px;margin-top:4px}.gacha-pool-card:focus-visible,.gacha-pool-directory-link:focus-visible{outline:3px solid #b45574;outline-offset:3px}@media(max-width:680px){.gacha-pool-directory-link{font-size:17px}.gacha-pool-directory-link small{display:block;margin-left:0;margin-top:2px}}.gacha-handoff-notice{margin:0 0 14px;padding:14px 16px;border:1px dashed #d7abbb;border-radius:15px;background:#fff4f5;color:#795166;font-size:14px;line-height:1.8}.gacha-page{--g-muted:#795f67}.gacha-code-form.gacha-redeem-ticket{--g-ticket-inset:20px;position:relative;min-width:0;padding:20px var(--g-ticket-inset) 22px;border:1px solid #e4bec9;border-radius:13px;background:linear-gradient(155deg,#fff8f4,#fff0f1);box-shadow:0 5px 0 #f4e6df,0 9px 20px #8a58600a}.gacha-redeem-ticket-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 calc(-1 * var(--g-ticket-inset)) 18px;padding:0 var(--g-ticket-inset) 15px;border-bottom:1px dashed #d2a6b2;min-width:0}.gacha-redeem-ticket-head>div{min-width:0}.gacha-redeem-ticket-head>div>span{font-size:13px;letter-spacing:1px;color:#8b5365}.gacha-redeem-ticket-head p{font-size:14px;color:#754655;line-height:1.75;margin:4px 0 0}.gacha-redeem-ticket-head:after,.gacha-redeem-ticket-head:before{content:"";position:absolute;bottom:-8px;width:15px;height:15px;border:1px solid #e4bec9;border-radius:50%;background:var(--g-paper);pointer-events:none}.gacha-redeem-ticket-head:before{left:-8px}.gacha-redeem-ticket-head:after{right:-8px}.gacha-redeem-stamp{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 58px;min-height:62px;border:1.5px dotted #b57586;border-radius:50%;padding:5px 2px;color:#985368;transform:rotate(8deg)}.gacha-redeem-stamp svg{width:25px;height:28px;flex-shrink:0}.gacha-redeem-stamp small{font-size:13px;line-height:1.4;white-space:nowrap}.gacha-code-form.gacha-redeem-ticket label{font-size:16px;line-height:1.6}.gacha-code-form.gacha-redeem-ticket [data-slot=input]{background:#fffdf9;border-color:#d9aebb;color:#653848;box-shadow:inset 0 2px 4px #a9687810}.gacha-code-form.gacha-redeem-ticket [data-slot=input]::placeholder{color:#846670;opacity:1}.gacha-code-form.gacha-redeem-ticket [data-slot=input]:focus-visible{outline:2px solid #a64d69;outline-offset:3px}.gacha-code-form.gacha-redeem-ticket .gacha-code-help{color:#765b65}.gacha-code-form.gacha-redeem-ticket .gacha-error{margin-bottom:0;text-align:left}.gacha-code-form.gacha-redeem-ticket .gacha-error .gacha-code-help{margin-bottom:0;color:#8c3d52}.gacha-code-form.gacha-redeem-ticket .gacha-handoff-notice{padding:11px 12px;background:#fffdf8;border-color:#d1a4b2}.gacha-pool-card small,.gacha-pool-list small,.gacha-result-tag span:last-child,.gacha-steps,.gacha-tabs small,.gacha-ticket{font-size:13px}.gacha-directory-note,.gacha-footer,.gacha-footer-note,.gacha-little-caption,.gacha-motion-note,.gacha-steps,.gacha-ticket{color:#7d5e68}.gacha-pool-card small,.gacha-pool-directory-link small,.gacha-pool-list small,.gacha-result-actions p,.gacha-result-number{color:#785765}@media(max-width:680px){.gacha-code-form.gacha-redeem-ticket{--g-ticket-inset:16px;padding-top:16px;padding-bottom:19px}.gacha-redeem-ticket-head{gap:9px;margin-bottom:16px}.gacha-redeem-stamp{flex-basis:54px;min-height:59px}.gacha-code-form.gacha-redeem-ticket>.gacha-draw{font-size:16px;padding-inline:12px}.gacha-steps{gap:6px}.gacha-steps,.gacha-tabs small,.gacha-ticket{font-size:13px}}@media(max-width:360px){.gacha-console{padding:22px 16px}.gacha-code-form.gacha-redeem-ticket{--g-ticket-inset:14px}.gacha-redeem-ticket-head p{font-size:14px}.gacha-redeem-stamp{flex-basis:51px}.gacha-price{font-size:15px;padding-inline:9px}}