.side-stickers span { position: fixed; z-index: 8; cursor: grab; touch-action: none; user-select: none; rotate: var(--r); filter: drop-shadow(0 6px 8px #5a104345); transition: translate .45s cubic-bezier(.3,1.4,.5,1), opacity .3s, scale .2s; animation: sticker-float 4s ease-in-out calc(var(--i) * -.45s) infinite alternate; }
.side-stickers span.l { left: 4px; }
.side-stickers span.r { right: 6px; }
@keyframes sticker-float { from { margin-top: -5px; } to { margin-top: 7px; } }
.side-stickers span:hover { scale: 1.18; animation: sticker-wiggle .45s ease-in-out infinite alternate; }
@keyframes sticker-wiggle { from { rotate: calc(var(--r) - 8deg); } to { rotate: calc(var(--r) + 8deg); } }
.side-stickers span:active { cursor: grabbing; }
/* 글 위에 올 때는 가장자리 뒤로 */
.side-stickers span.l.tucked { translate: calc(-100% + 12px) 0; opacity: .75; }
.side-stickers span.r.tucked { translate: calc(100% - 12px) 0; opacity: .75; }
.side-stickers span.tucked:hover { translate: 0 0; opacity: 1; }
.side-stickers img { display: block; width: clamp(46px, 5vw, 82px); height: auto; }
.s-tag { display: block; padding: 8px 6px; border: 3px solid #fff; border-radius: 8px; font: 900 .85rem/1 Impact, "Arial Narrow", "Malgun Gothic", sans-serif; color: #fff; writing-mode: vertical-rl; letter-spacing: .06em; }
.s-tag.pink { background: #ff2f9e; }
.s-tag.lime { background: #8fc400; }
.s-tag.aqua { background: #12b8cc; }
.s-burst { display: grid; place-items: center; width: clamp(58px, 5.4vw, 84px); aspect-ratio: 1; text-align: center; font: 900 .8rem/1.15 "Malgun Gothic", sans-serif; color: #3a0a2b; background: #ffe53d; clip-path: polygon(50% 0,61% 15%,79% 9%,81% 28%,100% 35%,88% 50%,100% 65%,81% 72%,79% 91%,61% 85%,50% 100%,39% 85%,21% 91%,19% 72%,0 65%,12% 50%,0 35%,19% 28%,21% 9%,39% 15%); }
.s-smile { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; background: radial-gradient(circle at 35% 30%, #fff8a8, #ffd21f); font-size: 2.2rem; line-height: 1; color: #3a0a2b; }
body:has(.book-wrap) .side-stickers { display: none; }
@media (max-width: 860px) { .side-stickers { display: none; } }
@media (prefers-reduced-motion: reduce) { .side-stickers span, .side-stickers span:hover { animation: none; transition: none; } }

/* 겹치면 완전히 숨깁니다 */
.side-stickers span.tucked, .side-stickers span.l.tucked, .side-stickers span.r.tucked { opacity: 0; visibility: hidden; pointer-events: none; translate: 0 0; transition: opacity .12s, visibility 0s .12s; }
