/* Large physical package artwork, not a character-picking interface. */
html body.ui2 dialog#modal:has(#sleepy-offer){width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px}
#sleepy-offer{text-align:center;color:#604076}
#sleepy-offer .sleepy-package{margin:0 auto 16px;width:100%}
#sleepy-offer .sleepy-wrapper{display:block;width:100%;height:min(440px,52dvh);object-fit:contain}
#sleepy-offer figcaption{font-size:21px;margin-top:6px}
#sleepy-offer .sleepy-unwrap{margin:0;min-height:48px}
.sleepy-classic{background:none;border:0;color:#604076;text-decoration:underline;padding:12px;font:inherit;cursor:pointer;min-height:44px}
.sleepy-classic:focus-visible,.sleepy-chances summary:focus-visible{outline:3px solid #604076;outline-offset:2px}
.sleepy-chances{font-size:14px;text-align:left;margin-top:12px;border-radius:16px;background:#f1e9f7;padding:0 12px}
.sleepy-chances summary{cursor:pointer;min-height:44px;align-content:center;text-align:center}.sleepy-chances p{margin:4px 0 10px}.sleepy-chances ul{list-style:none;padding:0 4px 12px;margin:0}.sleepy-chances li{display:flex;justify-content:space-between;gap:12px;padding:4px 0}
.sleepy-reveal-note{font-size:16px;text-align:center;margin:4px 0}
@media(max-width:450px){html body.ui2 dialog#modal:has(#sleepy-offer){padding:14px}#sleepy-offer .sleepy-wrapper{height:auto;aspect-ratio:1}#sleepy-offer figcaption{font-size:19px}}
@media(max-height:650px){#sleepy-offer .sleepy-wrapper{max-height:42dvh}#sleepy-offer .sleepy-package{margin-bottom:8px}}

/* Close-up browsing is a preview only; purchasing stays on the basket screen. */
#sleepy-offer [hidden]{display:none!important}
#sleepy-offer .series-preview-open{margin:0 0 10px;background:#eee3fa;color:#654580;min-height:44px}
#sleepy-offer .series-gallery{display:grid;gap:10px;min-width:0}
#sleepy-offer .series-preview-note{margin:0;font-size:15px;line-height:1.4}
#sleepy-offer .series-preview-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px}
#sleepy-offer .series-preview-stage>img{display:block;width:100%;height:min(42dvh,390px);object-fit:contain;min-width:0;filter:drop-shadow(0 8px 7px #65458018)}
#sleepy-offer .series-preview-stage button{width:44px;height:44px;border:0;border-radius:50%;background:#eee3fa;color:#654580;font-size:24px;cursor:pointer}
#sleepy-offer .series-preview-caption h3{margin:0;font-size:22px;line-height:1.2}
#sleepy-offer .series-preview-caption p{margin:5px 0 0;font-size:14px;line-height:1.3}
#sleepy-offer .series-preview-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
#sleepy-offer .series-preview-thumbs button{min-width:0;min-height:44px;aspect-ratio:1;border:2px solid transparent;border-radius:12px;background:#fff7e8;padding:3px;cursor:pointer}
#sleepy-offer .series-preview-thumbs button[aria-pressed="true"]{border-color:#8960b4;background:#eee3fa}
#sleepy-offer .series-preview-thumbs img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
#sleepy-offer .series-preview-back{margin:0;min-height:44px;background:#a2e2d3;color:#285d53}
#sleepy-offer .series-gallery button:focus-visible{outline:3px solid #654580;outline-offset:2px}
@media(max-height:650px){#sleepy-offer .series-gallery{gap:6px}#sleepy-offer .series-preview-stage>img{height:29dvh}#sleepy-offer .series-preview-caption h3{font-size:19px}#sleepy-offer .series-preview-thumbs{max-width:340px;width:100%;margin:auto}}
