.stk { position: absolute; right: 8px; bottom: 8px; width: 64px; height: 64px; padding: 0; border: 0; background: transparent; cursor: pointer; opacity: .82; z-index: 3; animation: stk-wobble 20s ease-in-out infinite; }
.stk img { width: 64px; height: 64px; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.stk:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 50%; }
.stk.is-found { animation: stk-stick .6s ease-out forwards; }
@keyframes stk-wobble { 0%, 96%, 100% { transform: rotate(0); } 97% { transform: rotate(-8deg) scale(1.06); } 98.5% { transform: rotate(8deg) scale(1.06); } }
@keyframes stk-stick { 0% { transform: scale(1); } 40% { transform: scale(1.4) rotate(-6deg); opacity: 1; } 100% { transform: scale(.2); opacity: 0; } }
.hero .stk { right: auto; left: 8px; bottom: 8px; z-index: 4; pointer-events: auto; }
/* 배치 폴리시 — 우하단이 마지막 카드 본문과 겹쳐(375px) 첫 카드 배너 이미지 위로 옮긴다. */
#guideList .stk { top: 8px; bottom: auto; }
/* I1: 특정성 동률(0,2,0) → 소스 순서로 승. JS 가 aria-hidden/tabindex 도 보강한다. */
.stk.stk-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.stk-live { position: absolute; left: -9999px; }
.stk-chip { display: inline-flex; align-items: center; gap: 8px; min-height: var(--touch); padding: 0 14px; margin-bottom: 12px; border-radius: 999px; border: 1px solid rgba(201,150,63,.5); background: rgba(245,237,224,.08); color: var(--cream); font: inherit; cursor: pointer; }
.stk-album { border: 0; padding: 20px; width: min(560px, 92vw); border-radius: 18px; background: var(--dusk-2); color: var(--cream); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.stk-album:not([open]) { display: none; }
.stk-album::backdrop { background: rgba(20,14,12,.7); }
.stk-close { position: absolute; right: 10px; top: 10px; width: var(--touch); height: var(--touch); border: 1px solid rgba(201,150,63,.42); border-radius: var(--radius-sm); background: transparent; color: var(--cream); font-size: 1.5rem; cursor: pointer; }
.stk-title { font-family: var(--font-display); font-size: 1.6rem; margin: 0 44px 12px 0; }
.stk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; list-style: none; margin: 0 0 14px; padding: 0; }
.stk-cell { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: rgba(245,237,224,.06); border: 1px solid rgba(201,150,63,.3); }
.stk-cell.is-on { background: rgba(255,181,71,.16); border-color: var(--amber); }
.stk-cell img.is-off { opacity: .18; filter: grayscale(1); }
.stk-grid.is-sparkle { animation: stk-grid-shake .4s ease-in-out; }
@keyframes stk-grid-shake { 50% { transform: scale(1.03); } }
.is-sparkle .stk-cell { animation: stk-pop .35s both; animation-delay: calc(var(--i) * 60ms); }
@keyframes stk-pop { 0% { transform: scale(.7); opacity: .4; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
.stk-album.is-ceremony { animation: stk-wipe .5s ease-out both; }
@keyframes stk-wipe { from { clip-path: circle(0% at 50% 40%); } to { clip-path: circle(140% at 50% 40%); } }
.stk-reward { position: relative; margin-top: 10px; padding-top: 120px; }
.stk-cat { position: absolute; left: 12px; top: 0; width: 120px; height: 120px; }
.is-ceremony .stk-cat { animation: stk-jump .7s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes stk-jump { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.stk-reward .stk-ball { position: absolute; left: 110px; top: 60px; width: 40px; height: 40px; opacity: 0; }
.is-ceremony .stk-reward .stk-ball { animation: stk-ball .8s .55s ease-out both; }
@keyframes stk-ball { 0% { opacity: 1; transform: translate(0,0); } 100% { opacity: 0; transform: translate(160px,-120px) rotate(300deg); } }
.stk-confetti { position: absolute; inset: 0; pointer-events: none; }
.stk-scroll { position: relative; padding: 16px 18px; border-radius: 12px; background: var(--cream); color: var(--ink); transform-origin: 50% 0; }
.is-ceremony .stk-scroll { animation: stk-unroll .6s 1.1s ease-out both; }
@keyframes stk-unroll { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.stk-reward-p { margin: 0 0 10px; }
.stk-code { margin: 0 0 6px; font-family: var(--font-display); font-size: 2rem; letter-spacing: .08em; color: var(--ink); min-height: 1.3em; }
.is-typed .stk-code-text::after { content: "✦"; color: var(--gold); margin-left: 6px; animation: stk-spark .6s ease-out both; }
@keyframes stk-spark { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
.stk-exp { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.stk-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stk-copy.is-stamped { position: relative; }
.stk-copy.is-stamped::after { content: ""; position: absolute; right: -10px; top: -14px; width: 34px; height: 34px; background: url(/img/stickers/bonus.webp) center/contain no-repeat; animation: stk-stamp .35s ease-out both; }
@keyframes stk-stamp { from { transform: scale(2) rotate(-20deg); opacity: 0; } to { transform: scale(1) rotate(-12deg); opacity: 1; } }
.stk-toast { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 10px); padding: 8px 14px; border-radius: 999px; background: var(--amber); color: var(--ink); font-family: var(--font-display); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.stk-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.stk-hint, .stk-local { margin: 8px 0 0; color: var(--muted-on-dark); font-size: .9rem; }
.stk-rain { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
html[data-fx="off"] .stk { animation: none; }
@media (prefers-reduced-motion: reduce) { .stk, .stk-album.is-ceremony, .is-ceremony .stk-cat, .is-ceremony .stk-reward .stk-ball, .is-ceremony .stk-scroll, .stk-grid.is-sparkle, .is-sparkle .stk-cell { animation: none; } .stk-reward .stk-ball { display: none; } }
