/* A small invitation; the hidden characters appear only after opting in. */
.quest-launcher{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:8px 15px;max-width:440px;margin-top:23px;padding-top:18px;border-top:1px solid #ddd7e5;font-size:.875rem;line-height:1.5}
.quest-break{padding-bottom:8px}
.quest-break .quest-launcher{grid-template-columns:80px minmax(0,1fr) auto;max-width:660px;margin:0;padding:14px 0}
.quest-break .quest-launcher-art{grid-row:auto;width:80px;height:76px}
.quest-launcher[hidden],.quest-spot[hidden],.quest-album [hidden],.quest-hint[hidden]{display:none!important}
.quest-start,.quest-hint,.quest-album-footer button{border:0;background:none;color:var(--violet-dark);font:inherit;cursor:pointer;min-height:44px;padding:6px 0}
.quest-launcher-art{grid-row:1/3;position:relative;width:96px;height:96px;align-self:center;isolation:isolate}
.quest-launcher-art:before{content:"";position:absolute;inset:21px -2px 7px 0;background:#e7eebc;border-radius:42% 50% 39% 46%;transform:rotate(-7deg);z-index:-1}
.refined .quest-launcher-art img{position:absolute;bottom:10px;width:56px;height:68px;object-fit:contain;filter:none;max-width:none;border-radius:0}
.refined .quest-launcher-art img:nth-child(1){left:-7px;transform:rotate(-13deg)}
.refined .quest-launcher-art img:nth-child(2){left:20px;bottom:12px;width:64px;height:78px;z-index:2}
.refined .quest-launcher-art img:nth-child(3){right:-8px;bottom:7px;width:52px;height:64px;transform:rotate(13deg)}
.quest-launcher-copy{min-width:0}
.quest-launcher-title{display:block;color:var(--violet-dark);font:650 1.25rem/1.35 Oswald,sans-serif;letter-spacing:-.03em}
.quest-launcher-note{display:block;color:#615a6b;margin-top:3px;font-size:.875rem;line-height:1.45}
.quest-launcher-actions{display:flex;align-items:center;flex-wrap:wrap;gap:3px 13px}
.quest-start{display:inline-flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #a99cbc;border-radius:11px;background:#fbfaf8;padding:8px 12px;text-align:left;font-size:.875rem;font-weight:650;line-height:1.3;transition:background 160ms ease,border-color 160ms ease}
.quest-start:hover{background:#eeeaf4;border-color:var(--violet-dark)}
.quest-start-mark{font-size:1.2rem;line-height:1}
.quest-launcher.is-complete .quest-launcher-art:before{background:#d7eb3c}
.quest-hint{text-decoration:underline;text-underline-offset:4px}
.quest-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.quest-playing .quest-anchor{position:relative}
.quest-playing :is(.quest-anchor-place,.quest-anchor-party,.quest-anchor-cafe){padding-right:110px;min-height:100px}
.quest-spot{position:absolute;z-index:3;right:4px;top:0;width:88px;height:100px;padding:0;border:0;background:transparent;cursor:pointer;scroll-margin-block:140px 100px;isolation:isolate}
.refined .quest-spot img{display:block;position:static;inset:auto;width:88px;height:88px;min-height:0;max-height:none;object-fit:contain;border-radius:0;transform:rotate(-7deg);filter:drop-shadow(0 5px 0 #fbfaf8);transition:transform 180ms ease}
.quest-spot:hover img,.quest-spot:focus-visible img{transform:rotate(3deg) translateY(-3px)}
.quest-spot:focus-visible,.quest-start:focus-visible,.quest-hint:focus-visible,.quest-close:focus-visible,.quest-album-footer button:focus-visible{outline:3px solid var(--violet);outline-offset:5px;border-radius:5px}
.quest-found-label{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;color:#3e305d;background:#eaf0ba;border-radius:3px;padding:3px 6px;font-size:.875rem;font-weight:650;line-height:1.4}
.quest-spot.is-found img{transform:rotate(0);filter:drop-shadow(0 5px 0 #eaf0ba)}
.quest-anchor-route .quest-spot{right:10px;top:10px}
.quest-anchor-invite .quest-spot{right:4px;top:8px;transform:rotate(9deg)}
.quest-anchor-party .quest-spot{top:5px;transform:rotate(7deg)}
.quest-album{width:min(680px,calc(100% - 30px));max-height:calc(100dvh - 32px);padding:34px;border:0;border-radius:14px 28px 14px 10px;background:#fbfaf8;color:var(--ink);overflow:auto;overscroll-behavior:contain}
.quest-album::backdrop{background:#2413369c;backdrop-filter:blur(4px)}
.quest-close{position:absolute;right:14px;top:10px;display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;font-size:2rem;color:var(--ink);cursor:pointer}
.quest-album-logo{width:112px;height:46px;object-fit:contain;object-position:left center;margin-bottom:25px}
.quest-album-eyebrow{font-size:.875rem;margin:0 0 9px;color:#615a6b}
.refined .quest-album h2{font-size:clamp(2rem,5vw,2.8rem);line-height:1.1;max-width:520px;margin:0 0 14px}
.quest-album>p:not(.quest-album-eyebrow){font-size:1rem;line-height:1.65;max-width:520px;margin:0}
.quest-album-crew{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end;margin:24px -4px 25px}
.quest-album-member{min-width:0;margin:0;text-align:center}
.quest-album-member>div{display:grid;place-items:center;height:115px;background:#eee9f3;border-radius:45% 45% 39% 38%;margin-bottom:10px}
.quest-album-member img{width:100%;height:112px;object-fit:contain;filter:grayscale(1);opacity:.25;transition:opacity 180ms ease}
.quest-album-member.is-found img{opacity:1;filter:none}
.quest-album-member.is-found>div{background:#eaf0ba}
.quest-album-member figcaption{font-size:.875rem;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.quest-album-member small{display:block;font-size:.8125rem;color:#615a6b;font-weight:400}
.quest-album-actions,.quest-album-footer{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap}
.quest-album-footer{border-top:1px solid #d9d2e0;margin-top:22px;padding-top:8px;justify-content:space-between}
.quest-album-footer button{font-size:.875rem;color:#615a6b;text-decoration:underline;text-underline-offset:4px}
.quest-album .quest-download-status{margin-top:8px!important;font-size:.875rem!important}
@media(max-width:700px){
 .quest-break .quest-launcher{grid-template-columns:80px minmax(0,1fr);max-width:none;padding:16px 0 12px;gap:6px 13px}
 .quest-break .quest-launcher-art{grid-row:1/3;height:90px}
 .quest-launcher{grid-template-columns:80px minmax(0,1fr);margin-top:19px;padding-top:15px;gap:8px 13px}
 .quest-launcher-art{width:80px;height:90px}
 .refined .quest-launcher-art img:nth-child(1){left:-10px;width:49px;height:60px}
 .refined .quest-launcher-art img:nth-child(2){left:13px;width:57px;height:70px}
 .refined .quest-launcher-art img:nth-child(3){right:-9px;width:46px;height:58px}
 .quest-launcher-title{font-size:1.1875rem}
 .quest-launcher-actions{gap:0 11px}
 .quest-playing :is(.quest-anchor-place,.quest-anchor-party,.quest-anchor-cafe){padding-right:0;padding-top:76px}
 .quest-playing :is(.quest-anchor-place,.quest-anchor-party)>.quest-spot{right:0;top:-10px}
 .quest-playing .quest-anchor-cafe{padding-top:76px}
 .quest-anchor-cafe .quest-spot{top:-15px;right:0}
 .quest-spot{width:74px;height:86px}
 .refined .quest-spot img{width:74px;height:74px}
 .quest-playing .quest-anchor-invite{margin-top:44px}
 .quest-anchor-invite .quest-spot{right:6px;top:-56px}
 .quest-album{padding:26px 20px;max-height:calc(100dvh - 24px)}
 .quest-album-logo{width:94px;height:40px;margin-bottom:19px}
 .quest-album-crew{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px;margin-inline:0}
 .quest-album-member>div{height:95px}
 .quest-album-member img{height:92px}
 .quest-album-actions{gap:8px 18px}
 .quest-album-actions .button{padding-inline:18px}
}
@media(prefers-reduced-motion:reduce){.quest-start,.quest-spot img,.quest-album-member img{transition:none!important}.quest-spot:hover img,.quest-spot:focus-visible img{transform:none}}
@media print{.quest-launcher,.quest-spot,.quest-album{display:none!important}}

/* The home invitation is a character in the canvas; game details open on request. */
.simple-home .quest-launcher-compact{display:flex;align-items:center;gap:12px;max-width:320px;margin:0;padding:0;border:0}
.simple-home .quest-launcher-compact .quest-start{display:flex;align-items:center;gap:12px;justify-content:flex-start;padding:0 4px;border:0;background:transparent;border-radius:0;min-height:72px}
.simple-home .quest-launcher-compact .quest-start:hover{background:transparent}
.simple-home .quest-launcher-compact .quest-start img{position:static;width:56px;height:68px;object-fit:contain;border-radius:0;flex-shrink:0}
.simple-home .quest-launcher-compact .quest-start>span{display:grid;gap:3px;text-align:left}
.simple-home .quest-launcher-compact [data-quest-title]{font:650 1.125rem/1.3 Oswald,sans-serif;color:var(--violet-dark)}
.simple-home .quest-launcher-compact [data-quest-label]{font-size:.875rem;font-weight:500;text-decoration:underline;text-underline-offset:4px}
.simple-home.quest-playing .quest-anchor{position:relative;min-height:0}
.simple-home.quest-playing :is(.quest-anchor-place,.quest-anchor-party,.quest-anchor-cafe){padding-right:0;padding-top:0}
.simple-home .quest-anchor-hero .quest-spot{right:5%;top:12%}
.simple-home .quest-anchor-contact .quest-spot{left:calc(100% + 24px);right:auto;top:0}
.simple-home .quest-anchor-cafe .quest-spot{right:0;top:0}
@media(max-width:700px){
 .simple-home .quest-spot{width:64px;height:78px}
 .simple-home .quest-spot img{width:64px;height:64px}
 .simple-home .quest-found-label{font-size:.75rem;max-width:100px;white-space:normal;text-align:center}
 .simple-home.quest-playing :is(.quest-anchor-place,.quest-anchor-party,.quest-anchor-cafe){padding-top:0;padding-right:0}
 .simple-home.quest-playing :is(.quest-anchor-place,.quest-anchor-party,.quest-anchor-cafe)>.quest-spot{right:0;top:-88px}
 .simple-home .quest-anchor-contact .quest-spot{left:auto;right:0}
}

/* In the approved collage the hidden team lives in photos, away from controls. */
body.collage-home.quest-playing .simple-hero-art>[data-quest-find="cookie"]{left:auto;right:5%;top:12%}
body.collage-home.quest-playing .simple-hero-art>[data-quest-find="alien"]{left:3%;right:auto;top:31%}
body.collage-home.quest-playing .simple-parks-list>.quest-spot{left:3%;right:auto;top:8%}
body.collage-home.quest-playing .simple-cafe-photo>.quest-spot{left:auto;right:2%;top:22%}
body.collage-home.quest-playing .simple-birthday-art>.quest-spot{left:5%;right:auto;top:16%}
