/* Let the painted objects do the introducing. Optional detail remains in the DOM. */
#overlay .curio-entry :is(.curio-masthead,.curio-motto,.curio-office-sign,.curio-counter-top,.curio-ledger,.curio-counter-foot,.curio-friend-note,.curio-path-label){display:none}
#overlay .curio-entry[data-curio-variant=entry] .curio-original-heading h1{font-size:42px;line-height:1.05;margin:10px 0 12px}
#overlay .curio-entry[data-curio-variant=entry] .curio-original-copy>p{font:16px/1.45 'DM Sans',system-ui,sans-serif;max-width:28ch;margin:0 0 20px;color:#d5d9bf}
#overlay .curio-entry .curio-ticket-actions{gap:10px}
#overlay .curio-entry .curio-primary-actions{padding:0}
#overlay .curio-entry[data-curio-variant=entry] .curio-primary-actions>#start-tutorial.curio-picture-play{width:100%;min-height:80px;padding:12px 20px;margin:0;display:flex;gap:14px;justify-content:center;font:600 20px/1.2 'DM Sans',system-ui,sans-serif;border-radius:26px 7px 24px 7px;transform:none}
#overlay .curio-entry .curio-play-picture{display:block;width:48px;height:48px;flex:none}
#overlay .curio-entry .curio-play-picture svg{display:block;width:100%;height:100%}
#overlay .curio-entry .curio-friend-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#overlay .curio-entry .curio-friend-actions>button.curio-ticket:is(#start,#intro-coven){display:flex;flex-direction:column;gap:4px;justify-content:center;width:100%;min-width:0;min-height:86px;padding:9px 5px;margin:0;background:#3b5d4b50;border:1px solid #8caa7b77;border-radius:12px 5px 16px 5px;box-shadow:none;transform:none;color:#e5d9b6;font:600 16px/1.2 'DM Sans',system-ui,sans-serif}
#overlay .curio-entry .curio-friend-actions>button.curio-ticket:is(#start,#intro-coven)::before{content:none}
#overlay .curio-entry .curio-friend-actions .curio-play-picture{width:40px;height:40px}
#overlay .curio-entry .first-night-adventures{margin:2px 0 0}
#overlay .curio-entry .first-night-adventures>summary,#overlay .curio-entry[data-curio-variant=entry] .curio-fold:not(.first-night-adventures)>summary{justify-content:flex-start;min-height:44px;font:14px/1.3 'DM Sans',system-ui,sans-serif;padding:9px 0;gap:10px}
#overlay .curio-entry .curio-wandering-path{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
#overlay .curio-entry .curio-wandering-path::before{content:none}
#overlay .curio-entry button.curio-side-path{flex-direction:column;align-items:center;justify-content:center;min-height:98px;padding:9px;gap:7px;text-align:center;border:1px solid #92a77b55;border-radius:18px 5px 17px 5px}
#overlay .curio-entry .curio-path-icon{width:44px;height:44px;flex-basis:44px;transform:none}
#overlay .curio-entry .curio-path-words strong{font:16px/1.2 'DM Sans',system-ui,sans-serif}
#overlay .curio-entry :is(.curio-path-words small,.curio-path-arrow){display:none}
#overlay .curio-entry .curio-entry-utilities{margin:4px 0;justify-content:flex-start}
#overlay .curio-entry .curio-entry-settings{font:14px/1.3 'DM Sans',system-ui,sans-serif;min-height:44px}
#overlay .curio-entry .curio-fold-body{font-size:14px}
#overlay .curio-entry .curio-fold-body p{font-size:14px;line-height:1.5}
/* The whole collection uses one grid, including experienced players' expanded view. */
body.curio-world #curio-satchel.curio-gallery{width:min(940px,calc(var(--play-width,100vw) - 24px));max-height:calc(var(--play-height,100dvh) - 24px);padding:8px 20px 16px;scroll-padding-block:70px 20px}
#curio-satchel.curio-gallery::backdrop{background:radial-gradient(ellipse at 50% 30%,#24484bea,#08171bf5 80%);backdrop-filter:none;-webkit-backdrop-filter:none}
body.curio-world #curio-satchel.curio-gallery .curio-satchel-top{position:sticky;top:-8px;z-index:8;min-height:52px;padding:0 4px;margin-bottom:4px;background:linear-gradient(#183337f7,#183337f5 80%,#18333700)}
body.curio-world #curio-satchel.curio-gallery .curio-satchel-label{font:28px/1.1 'Libre Caslon Display',Georgia,serif;letter-spacing:0;color:#f2dfb5;max-width:none}
body.curio-world #curio-satchel.curio-gallery .curio-satchel-orbit{position:relative;display:flex;flex-direction:column;gap:12px;height:auto;min-height:0;padding:0;margin:0}
body.curio-world #curio-satchel.curio-gallery .curio-night-weave{height:100%;opacity:.16}
body.curio-world #curio-satchel.curio-gallery .curio-wreath-moon{display:none}
body.curio-world #curio-satchel.curio-gallery .curio-satchel-heading{position:relative;left:auto;top:auto;translate:none;transform:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;order:0;grid-column:auto;grid-row:auto;width:100%;min-height:0;padding:0;margin:0}
body.curio-world #curio-satchel.curio-gallery .curio-satchel-heading::before{content:none}
body.curio-world #curio-satchel.curio-gallery .curio-satchel-heading>:is(.curio-bag-art,p,h2,span){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;margin:0;white-space:nowrap}
body.curio-world #curio-satchel.curio-gallery .curio-satchel-pockets{position:relative;inset:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:10px;order:2;width:100%;padding:0;margin:0}
body.curio-world #curio-satchel.curio-gallery button.curio-pocket{position:relative;left:auto;top:auto;translate:none;transform:none;grid-column:auto;grid-row:auto;justify-self:auto;width:100%;min-height:128px;margin:0;padding:8px 5px 11px;display:flex;align-items:center;justify-content:center;gap:2px;border:1px solid #9bab7a44;border-radius:30px 6px 29px 7px;background:radial-gradient(ellipse at 50% 35%,#71926820,transparent 75%);overflow:visible}
body.curio-world #curio-satchel.curio-gallery .curio-pocket-art{width:108px;height:81px;flex:none;margin:0;animation:none;transform:none;filter:none;transition:transform .16s ease}
body.curio-world #curio-satchel.curio-gallery .curio-pocket-art::before{content:none}
body.curio-world #curio-satchel.curio-gallery .curio-pocket-copy strong{font:500 17px/1.2 'DM Sans',system-ui,sans-serif;letter-spacing:0;text-shadow:none}
body.curio-world #curio-satchel.curio-gallery .curio-pocket-copy::after{content:none}
body.curio-world #curio-satchel.curio-gallery .curio-pocket-copy small,.first-night-guide-copy small,#curio-satchel .first-night-next-action small{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;margin:0;padding:0;white-space:nowrap}
body.curio-world #curio-satchel.curio-gallery button.curio-pocket:hover .curio-pocket-art,body.curio-world #curio-satchel.curio-gallery button.curio-pocket:focus-visible .curio-pocket-art{transform:translateY(-3px) rotate(-3deg)}
body.curio-world #curio-satchel.curio-gallery button.curio-pocket:active .curio-pocket-art{transform:scale(.94)}
body.curio-world #curio-satchel.curio-gallery .curio-almanac-bookmark,body.curio-world #curio-satchel.curio-gallery #open-night-post{pointer-events:auto;position:relative;display:flex;align-items:center;justify-content:center;gap:8px;flex:1 1 180px;width:auto;max-width:300px;min-width:0;min-height:54px;margin:0;padding:5px 10px;border:1px solid #b5ad7b66;border-radius:18px 4px 17px 4px;text-align:left}
body.curio-world #curio-satchel.curio-gallery .curio-almanac-bookmark>.curio-object,body.curio-world #curio-satchel.curio-gallery #open-night-post>svg{width:42px;height:36px;flex:none;transform:none}
body.curio-world #curio-satchel.curio-gallery .curio-almanac-bookmark strong,body.curio-world #curio-satchel.curio-gallery #open-night-post strong{font:500 16px/1.2 'DM Sans',system-ui,sans-serif}
body.curio-world #curio-satchel.curio-gallery :is(.curio-almanac-bookmark,#open-night-post) small{display:none}
body.curio-world #curio-satchel.curio-gallery .first-night-satchel-next{order:1;grid-column:auto;grid-row:auto;align-items:stretch;width:min(480px,100%);margin:0 auto;padding:0}
body.curio-world #curio-satchel.curio-gallery .first-night-eyebrow{display:none}
body.curio-world #curio-satchel.curio-gallery .first-night-next-action{display:flex;align-items:center;justify-content:center;gap:10px;position:relative;min-height:66px;padding:10px 16px;border-radius:24px 5px 23px 6px;box-shadow:none}
body.curio-world #curio-satchel.curio-gallery .first-night-next-action strong{font:600 18px/1.2 'DM Sans',system-ui,sans-serif}
body.curio-world #curio-satchel.curio-gallery .first-night-next-action::before{content:'✦';display:block;flex:none;color:#e8c68e;font:32px/1 Georgia,serif}
body.curio-world #curio-satchel.curio-gallery .first-night-menu-controls{padding:10px 0 0;gap:8px}
body.curio-world #curio-satchel.curio-gallery .first-night-menu-controls button{font:14px/1.3 'DM Sans',system-ui,sans-serif;min-height:44px;padding:9px 16px;min-width:0}
body.curio-world #curio-satchel.curio-gallery footer{display:none}
@media(max-width:760px){
 #overlay .curio-entry[data-curio-variant=entry] .curio-stage{height:185px;min-height:0}
 #overlay .curio-entry[data-curio-variant=entry] .curio-display-title{font-size:52px;padding-top:12px}
 #overlay .curio-entry[data-curio-variant=entry] .curio-illustration{width:250px;right:-5px;bottom:-52px}
 #overlay .curio-entry[data-curio-variant=entry] .curio-original-heading h1{font-size:30px;margin:4px 0 10px}
 #overlay .curio-entry[data-curio-variant=entry] .curio-original-copy>p{font-size:14px;margin-bottom:14px}
 #overlay .curio-entry[data-curio-variant=entry] .curio-primary-actions>#start-tutorial.curio-picture-play{min-height:68px;font-size:18px;padding:9px 15px}
 #overlay .curio-entry .curio-play-picture{width:40px;height:40px}
 #overlay .curio-entry .curio-friend-actions>button.curio-ticket:is(#start,#intro-coven){min-height:76px;font-size:15px}
 #overlay .curio-entry .curio-friend-actions .curio-play-picture{width:35px;height:35px}
 #overlay .curio-entry .curio-entry-utilities{margin:2px 0}
 body.curio-world #curio-satchel.curio-gallery{padding:6px 12px 14px}
 body.curio-world #curio-satchel.curio-gallery .curio-satchel-pockets{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.curio-world #curio-satchel.curio-gallery button.curio-pocket{min-height:106px;padding:6px 5px 9px}
 body.curio-world #curio-satchel.curio-gallery .curio-pocket-art{width:91px;height:68px}
 body.curio-world #curio-satchel.curio-gallery .curio-pocket-copy strong{font-size:16px}
 body.curio-world #curio-satchel.curio-gallery .curio-satchel-heading{gap:8px}
 body.curio-world #curio-satchel.curio-gallery .curio-almanac-bookmark,body.curio-world #curio-satchel.curio-gallery #open-night-post{flex-basis:125px;min-height:50px;padding:5px 7px;gap:5px}
 body.curio-world #curio-satchel.curio-gallery .curio-almanac-bookmark>.curio-object,body.curio-world #curio-satchel.curio-gallery #open-night-post>svg{width:32px;height:30px}
 body.curio-world #curio-satchel.curio-gallery .first-night-next-action strong{font-size:16px}
}
@media(min-width:761px) and (max-width:1050px){body.curio-world #curio-satchel.curio-gallery .curio-satchel-pockets{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-height:500px) and (min-width:501px){
 #overlay .modal.curio-entry[data-curio-variant=entry] .curio-stage{height:100%}
 #overlay .curio-entry[data-curio-variant=entry] .curio-original-heading h1{font-size:27px;margin:3px 0 8px}
 #overlay .curio-entry[data-curio-variant=entry] .curio-original-copy>p{font-size:14px;margin-bottom:10px}
 #overlay .curio-entry[data-curio-variant=entry] .curio-primary-actions>#start-tutorial.curio-picture-play{min-height:58px;font-size:17px}
 #overlay .curio-entry .curio-friend-actions>button.curio-ticket:is(#start,#intro-coven){min-height:68px;flex-direction:row;font-size:14px}
 #overlay .curio-entry .curio-friend-actions .curio-play-picture{width:30px;height:30px}
 body.curio-world #curio-satchel.curio-gallery .curio-satchel-pockets{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.curio-world #curio-satchel.curio-gallery button.curio-pocket{min-height:104px}
 body.curio-world #curio-satchel.curio-gallery .curio-pocket-art{width:84px;height:63px}
}
@media(prefers-reduced-motion:reduce){#overlay .curio-entry .curio-picture-play,body.curio-world #curio-satchel.curio-gallery .curio-pocket-art{transition:none!important;transform:none!important}}
