#stickerSystem{position:fixed;inset:0;z-index:65;pointer-events:none;color:#76505c;font-family:'PingFang SC','Microsoft YaHei',sans-serif}
#stickerSystem [hidden]{display:none!important}
.sticker-bag{position:absolute;top:70px;right:max(23px,env(safe-area-inset-right));width:44px;height:44px;padding:5px;border:0;background:none;pointer-events:auto;touch-action:manipulation;transform-origin:50% 16%;filter:drop-shadow(0 2px 3px #45212640)}
.sticker-bag svg{width:32px;height:34px;display:block}.sticker-unseen{position:absolute;width:6px;height:6px;right:5px;top:6px;border-radius:50%;background:#e7799e;box-shadow:0 0 0 1.5px #ffe4e8}
.sticker-bag:focus-visible{outline:1px solid #fce0b8;outline-offset:0;border-radius:7px}
.sticker-dismiss{position:absolute;inset:0;pointer-events:auto;background:transparent}
.sticker-panel{position:absolute;right:max(22px,env(safe-area-inset-right));top:120px;width:min(350px,calc(100vw - 30px));max-height:calc(100dvh - 145px);overflow:auto;overscroll-behavior:contain;pointer-events:auto;touch-action:pan-y;border-radius:12px 12px 18px 12px;border:1px solid #f0cbd7;background:linear-gradient(135deg,#fffbf3ee,#f9e6ecee);box-shadow:0 12px 36px #41202b42,inset 0 0 0 5px #fff8f480;backdrop-filter:blur(15px);padding:18px 18px 13px}
.sticker-panel header{display:flex;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px dashed #d5aebb;padding-bottom:12px}.sticker-panel small{font-size:8px;letter-spacing:.17em;color:#b98393}.sticker-panel h2{font:400 19px 'Songti SC',serif;letter-spacing:.07em;margin:6px 0 0;color:#794754}
.sticker-close{font:24px Georgia;color:#996575;min-width:38px;min-height:38px;padding:4px;border-radius:50%}.sticker-close:hover{background:#e4bec62b}
.sticker-sheet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 5px;padding:13px 4px 4px;min-height:180px;align-items:center;background:repeating-linear-gradient(0deg,transparent 0 28px,#bf869708 28px 29px)}
.sticker-slot{position:relative;min-width:0;height:126px;padding:5px;transform:rotate(var(--sticker-tilt));background:none}.sticker-slot:nth-child(even){translate:0 7px}.sticker-slot:nth-child(3){translate:6px -4px}
.sticker-slot img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 1px #b3829220)}
.sticker-slot.is-unlocked{cursor:pointer;touch-action:manipulation;border-radius:12px}.sticker-slot.is-unlocked:hover{background:#fff7fc88}.sticker-slot.is-unlocked:focus-visible{outline:1px dashed #ac738b;outline-offset:-7px}
.sticker-slot.is-locked{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#b9b1b4}.sticker-slot.is-locked>span{width:67px;height:65px;display:grid;place-items:center;border:2px dashed #c6bfc1;border-radius:35% 40% 28% 45%;background:#bbb5b20d;font:28px Georgia}.sticker-slot.is-locked small{font:12px Georgia;letter-spacing:.15em;color:#b8a7ab;margin-top:8px}
.sticker-preview{text-align:center;padding:14px 0 4px}.sticker-preview img{width:190px;max-width:85%;height:180px;object-fit:contain;margin:auto}.sticker-preview h3{font:18px 'Songti SC',serif;color:#8b5268;margin:10px 0}.sticker-preview button{padding:10px 16px;min-height:44px;font-size:12px;color:#966174;border:1px solid #d7aabc66;border-radius:18px;background:#fffaf177}
.sticker-footnote{font-size:10px;letter-spacing:.1em;text-align:center;line-height:1.7;color:#b38c98;margin:16px 0 0}
.sticker-reward-layer{position:absolute;inset:0;pointer-events:none}.sticker-reward{position:absolute;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 6px 12px #45282c33)}.sticker-reward img{width:100%;aspect-ratio:1;object-fit:contain}.sticker-reward>span{position:absolute;left:50%;top:calc(100% + 6px);transform:translateX(-50%);white-space:nowrap;color:#fff0d9;font-size:12px;letter-spacing:.06em;padding:5px 10px;border-radius:12px;background:#50232a99;text-shadow:0 1px 2px #442029}
.sticker-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-height:500px){.sticker-bag{top:51px;right:16px}.sticker-panel{top:52px;right:68px;width:310px;max-height:calc(100dvh - 64px);padding:12px 14px}.sticker-panel header{padding-bottom:8px}.sticker-panel h2{font-size:17px}.sticker-sheet{min-height:150px;padding-top:9px}.sticker-slot{height:84px}.sticker-slot.is-locked>span{height:43px;width:49px;font-size:22px}.sticker-slot.is-locked small{margin-top:4px}.sticker-footnote{margin-top:10px}.sticker-preview img{height:130px;width:150px}.sticker-preview h3{font-size:16px}}
@media(prefers-reduced-motion:reduce){.sticker-slot{transform:none;translate:none}}
.memory-restart{margin-top:15px;padding-top:12px;border-top:1px dashed #d5aebb;text-align:center}
.memory-restart button{min-height:40px;padding:8px 12px;color:#875762;font-size:12px;border-radius:18px;background:#fff8f580;border:1px solid #d5aebb70}
.memory-restart-open{background:none!important;border:none!important;text-decoration:underline;text-underline-offset:4px}
.memory-restart-confirm p{font-size:12px;line-height:1.9;color:#785761;margin:0 0 12px}.memory-restart-confirm>div{display:flex;justify-content:center;gap:8px}.memory-restart button.memory-restart-go{color:#fff4e9;background:#925f70}.memory-restart-error{color:#ad374e!important;margin-top:10px!important}

.sticker-group-title{grid-column:1/-1;font:14px 'Songti SC',serif;color:#a0647a;margin:14px 0 4px;border-bottom:1px dashed #deb6c3;padding-bottom:7px}
