#sb-sale-frame{isolation:isolate}
#sb-sale-notice:empty{display:none}
@media(max-width:1023px) and (orientation:portrait){#sb-sale-year #sb-sale-notice{bottom:calc(68px + env(safe-area-inset-bottom));left:auto;right:4px;width:max-content;max-width:42vw;padding:2px 6px;font-size:12px}}
.sb-sale-actor{position:absolute;width:clamp(18px,2.8vw,42px);height:clamp(18px,2.8vw,42px);pointer-events:none;background-position:center;background-repeat:no-repeat;background-size:contain;z-index:2}
.sb-sale-ball{bottom:calc(-1 * var(--edge));left:0;background-image:url('../../../assets/ornament/foil/kolobok.png');animation:sb-sale-roll 1.15s ease-out both}
@keyframes sb-sale-roll{from{left:0;transform:translate(-50%,65%) rotate(0);opacity:0}15%{opacity:1}to{left:100%;transform:translate(-50%,65%) rotate(380deg);opacity:0}}
.sb-sale-fox,.sb-sale-rabbit{left:100%;top:18%;background-image:url('../../../assets/ornament/foil/fox.png');animation:sb-sale-peek 1.45s ease-in-out both}
.sb-sale-rabbit{top:8%;background-image:url('../../../assets/ornament/foil/rabbit.png')}.sb-sale-mouse{bottom:6%;left:100%;background-image:url('../art/mouse.png');animation:sb-sale-scurry 1.15s ease-in-out both}
@keyframes sb-sale-peek{0%,100%{opacity:0;transform:translateX(-45%) rotate(-18deg)}45%,65%{opacity:1;transform:translateX(0) rotate(8deg)}}
@keyframes sb-sale-scurry{from{bottom:4%;opacity:0}25%,75%{opacity:1}to{bottom:58%;opacity:0}}
.sb-sale-danger{animation:sb-sale-warning 1.45s ease-in-out infinite alternate}@keyframes sb-sale-warning{to{outline-color:#fecc79;box-shadow:0 2px 12px #c7783666}}
.sb-sale-turn-shield{inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;background:#351c19;color:#f3e9d2;border:0;z-index:9999}
.sb-sale-turn-shield[open] #sb-sale-rotate-overlay{display:grid!important;position:absolute;inset:0;place-content:center;text-align:center;visibility:visible}
.sb-sale-library{position:fixed;inset:0;margin:auto;width:min(820px,94vw);height:fit-content;max-height:90dvh;overflow:auto;background:#41231c;border:3px double #c9a24b;padding:18px;color:#f3e9d2;text-align:center}
.sb-sale-library::backdrop{background:#1f1111db}.sb-sale-library h2{font:34px Lobster,serif;color:#e7ca88}
#sb-sale-book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:12px 0}.sb-sale-library img{width:56px;height:56px;object-fit:cover;border:2px solid #c9a24b;border-radius:50%}.sb-sale-library figcaption{font:15px/1.2 Literata,serif}.sb-sale-library small{display:block;color:#f1d598}
.sb-sale-locked img{filter:blur(2px) saturate(.6)}.sb-sale-library button{border-radius:40px;padding-inline:22px}
@media(max-width:600px){#sb-sale-book-grid{grid-template-columns:repeat(3,1fr);gap:8px}.sb-sale-library figcaption{font-size:13px}.sb-sale-actor{width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){.sb-sale-danger,.sb-sale-actor{animation:none!important}}
