html,body{height:100%;margin:0;background:#100d18}body:not(.participant-home)>.masthead,body:not(.participant-home) .intro,body:not(.participant-home) .journey-panel,body:not(.participant-home) .footnote,body:not(.participant-home)>footer,body:not(.participant-home) .object-caption,body:not(.participant-home) .ambient-controls{display:none!important}main{padding:0!important;height:100%;max-width:none!important}.experience{display:block!important;padding:0!important;height:100%}.object-zone{height:100%}.stage{height:100%!important;margin:0!important;overflow:visible!important}.card-wrap{width:min(82%,530px)!important;max-width:530px!important}.receipt-stage .card-wrap{width:84%!important;max-width:390px!important}.receipt-stage{perspective:1000px}#emblem-dialog .sound-toggle{display:none}.receipt-next-note{display:none}#level-up{top:42%}#receipt-dialog .receipt-message>p:last-child{font-size:10px}.receipt-stage .card-wrap{animation:receiveCard 2.4s cubic-bezier(.16,.75,.2,1) both!important}@media(prefers-reduced-motion:reduce){.receipt-stage .card-wrap{animation:none!important}}
body.lp-auto #keep-emblem{visibility:hidden!important;pointer-events:none!important}

/* Fit the visible gold rim, whose opaque diameter is 741/887 of the sprite cell. */
.compass-node>.emblem-crop{position:absolute;width:119.7%;height:119.7%;left:-9.85%;top:-9.85%}
#level-up strong{font-size:clamp(34px,8vw,64px);letter-spacing:3px}.level-arrow{display:inline-block;font-size:.58em;color:#d5b477;margin:0 .22em;vertical-align:.15em}

/* Draw empty sockets without changing the artwork's sizing box at acquisition. */
.compass-node{border:0!important}.compass-node:not(.owned)::after{content:'';position:absolute;inset:0;border:1px solid #b69ac14d;border-radius:50%;pointer-events:none}

body.participant-home{height:auto;min-height:100%;background:#101012}body.participant-home main{height:auto!important;padding:0 5%!important;max-width:1640px!important}body.participant-home .experience{height:auto;display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(340px,.85fr);gap:clamp(28px,5vw,90px);padding:12px 0 46px!important}body.participant-home .stage{height:clamp(400px,55svh,640px)!important}body.participant-home .object-zone{height:auto}body.participant-home .stage .card-wrap{width:min(92%,720px)!important;max-width:720px!important}.home-navigation{font-size:10px;white-space:nowrap}.participant-home .home-preview-label{font-size:10px;color:#c7acd8;letter-spacing:.04em;line-height:1.6}.participant-home #line-receipt{max-width:520px}.participant-home #line-receipt p{font-size:12px;line-height:1.9}.participant-home .home-trial-switch{font-size:10px;color:#d8bfef;min-height:36px}.participant-home #line-receipt .sample-note{font-size:10px!important}
@media(max-width:959px){body.participant-home .experience{display:block!important;max-width:640px;margin:auto}body.participant-home .stage{height:330px!important}body.participant-home .journey-panel{padding-top:20px}body.participant-home .masthead{flex-wrap:wrap;height:auto;min-height:68px;padding-block:10px;gap:10px}.participant-home .top-meta{display:none}.home-navigation{font-size:9px}.participant-home .masthead #about{font-size:9px}}
@media(max-width:740px){body.participant-home main{padding:0 6% 100px!important}body.participant-home .stage{height:clamp(185px,29svh,255px)!important}body.participant-home .intro{padding-top:16px}body.participant-home .intro h1{font-size:23px}.participant-home .home-preview-label{font-size:8px}.participant-home .guardian-slot>.emblem-crop{width:43px;height:43px}.participant-home .current-step h3{font-size:14px}}

.participant-home #achieve-text{white-space:normal;line-height:1.7}.participant-home #line-receipt{max-height:92svh;overflow:auto}.participant-home #connect-line{font-size:12px;padding-inline:18px;white-space:normal;line-height:1.7}.line-card-preview{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.line-card-preview article{padding:16px 10px;border:1px solid #cdb18444;border-radius:9px;background:linear-gradient(145deg,#24192d,#100e18);display:flex;flex-direction:column;gap:10px}.line-card-preview span{font-size:7px;letter-spacing:1.5px;color:#c9aa75}.line-card-preview strong{font-size:12px;font-weight:500}.line-card-preview small{font-size:9px;color:#cbb3df}.participant-home #view-home{font-size:12px;display:flex;margin:12px auto 0}.participant-home #try-student{display:block;margin:8px auto 0;font-size:9px;color:#a99bb4}

.participant-home:not(.student-preview) #achieve{--button-surface:linear-gradient(180deg,#fff7df66,transparent 42%),linear-gradient(110deg,#a88454,#d6b67e 25%,#f5e5b9 50%,#d5b17a 78%,#aa8352);color:#26190e;border-color:#f1d79b;background:var(--button-surface);box-shadow:var(--button-frame-shadow),inset 0 1px 0 #fff7d9,0 8px 28px #d9ac5128;text-shadow:0 1px 0 #fff4d777;min-height:64px}
.participant-home.first-claim #achieve{animation:claimArrival .8s cubic-bezier(.2,.8,.2,1) both}.participant-home #line-qr{width:min(240px,70vw);margin:24px auto;padding:14px;background:white;border-radius:12px}.participant-home #line-qr svg{display:block;width:100%;height:auto}.participant-home #line-desktop-link{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:12px;margin-top:18px;text-decoration:none}#line-receipt{text-align:center}@keyframes claimArrival{from{opacity:0;translate:0 14px;filter:brightness(.8)}to{opacity:1;translate:0 0;filter:brightness(1)}}@media(prefers-reduced-motion:reduce){.participant-home.first-claim #achieve{animation:none!important}}

/* The one LINE action comes forward after the award; no second prompt or duplicate CTA. */
.participant-home.claim-pending .journey-panel #achieve{visibility:hidden}
.participant-home #line-claim{position:fixed;inset:auto;left:50%;top:50%;translate:-50% -50%;margin:0;width:calc(100% - 48px);max-width:360px;height:fit-content;max-height:none;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:none;overflow:visible}
#line-claim::backdrop{background:radial-gradient(ellipse at center,#100d181a,#08061088);backdrop-filter:none}
.participant-home #line-claim #achieve{position:relative;inset:auto;width:100%;z-index:auto;margin:0;min-height:88px;justify-content:center;gap:14px;text-align:center;font-size:14px;letter-spacing:.04em;border-radius:10px;border:1px solid #fff1c9;outline:1px solid #dcc49a88;outline-offset:5px;box-shadow:inset 0 1px 0 #fff9e8,inset 0 -2px 0 #9a733c66,0 12px 44px #0008,0 0 50px #efcb6b38;animation:claimCenter .75s cubic-bezier(.16,.8,.2,1) both}
#line-claim #achieve .button-sheen{position:absolute;inset:0;z-index:1;animation:sheen 1.1s ease-out .8s 1 both}
#line-claim #close-line-claim{top:-44px;right:-3px;width:34px;height:34px;border:1px solid #ffffff33;border-radius:50%;color:#ece3f3;background:#100d1866;font-size:22px}
@keyframes claimCenter{from{opacity:0;translate:0 24px;scale:.94;filter:brightness(.85)}to{opacity:1;translate:0 0;scale:1;filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){#line-claim #achieve,#line-claim #achieve .button-sheen{position:absolute;inset:0;z-index:1;animation:none!important}}

.participant-home #line-claim[open]{display:grid;place-items:center;line-height:0}

/* Keep the learning preview and every task discoverable beside the main action. */
.participant-home .home-trial-switch{display:flex;justify-content:center;width:100%;min-height:44px;margin:18px 0 8px;padding:12px 16px;border:1px solid #c9afe366;border-radius:8px;background:#b99ce312;color:#e6d5f7;font-size:12px;line-height:1.6}
.participant-home.student-preview #quick-steps{display:flex}

/* Home owns its scroll surface inside the parent modal. Ceremony dialogs stay fixed. */
html:has(body.participant-home){height:100%;overflow:hidden}
body.participant-home{height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
@media(min-width:960px) and (max-height:850px){
 .participant-home .masthead{height:72px}
 .participant-home .intro{padding:20px 0 10px}
 .participant-home .intro h1{font-size:clamp(28px,3vw,38px);line-height:1.25}
 .participant-home .intro .eyebrow{margin-bottom:10px}
 body.participant-home .experience{align-items:start;padding-bottom:24px!important}
 body.participant-home .stage{height:clamp(260px,44svh,400px)!important}
 .participant-home .collection-heading{margin-top:14px}
 .participant-home .guardian-slot{padding:8px 4px}
 .participant-home .guardian-slot>.emblem-crop{width:46px;height:46px}
 .participant-home .next-legend{min-height:24px}
 .participant-home .home-trial-switch{margin-top:10px}
 .participant-home .current-step{padding:12px 0}
}

#reset-dialog .reset-actions{display:grid;gap:12px;margin-top:24px}#reset-dialog #confirm-reset{width:100%;min-height:56px}#reset-dialog #confirm-reset:disabled{opacity:.65;cursor:wait}#reset-dialog #cancel-reset{justify-content:center;min-height:44px;border:1px solid #ffffff33;border-radius:6px;padding:10px 16px}

@media(min-width:960px){
 body.participant-home .experience{grid-template-columns:minmax(0,1.5fr) minmax(340px,.85fr)}
 body.participant-home .stage .card-wrap{width:100%!important;max-width:840px!important}
 body.participant-home .stage{height:auto!important;aspect-ratio:1.3;min-height:420px}
 .receipt-stage .card-wrap{width:min(72vw,540px)!important;max-width:540px!important}
}

/* One real pass moves into the claim scene, then returns unchanged to the home. */
.participant-home #line-receipt{width:min(1160px,94vw);max-width:1160px;max-height:calc(100dvh - 28px);padding:28px;border:1px solid #d5ba8759;border-radius:20px;background:radial-gradient(ellipse at 24% 45%,#43314655,transparent 58%),#100e16;text-align:left;overflow:auto}
.claim-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.9fr);gap:32px;align-items:center}
.claim-art{text-align:center;min-width:0}.claim-card-stage{position:relative;display:flex;align-items:center;justify-content:center;perspective:1400px;isolation:isolate}
.claim-card-stage::before{content:'';position:absolute;inset:6% -4%;z-index:-1;background:radial-gradient(ellipse,#e8b86b24,transparent 67%)}
#desktop-claim-card{height:clamp(300px,36vw,430px)}
#desktop-claim-card .card-wrap{width:100%!important;max-width:620px!important;transform:rotate(-5deg);filter:drop-shadow(0 24px 30px #0009)}
.claim-eyebrow{font-size:8px!important;letter-spacing:2.5px!important;color:#d9bd88!important;margin:0 0 14px!important;line-height:1.7!important}
.claim-copy h2{font-size:clamp(23px,2.3vw,31px)!important;line-height:1.5!important;letter-spacing:.02em;margin:0 0 16px!important;font-weight:500}
.claim-lead{font-size:17px!important;line-height:1.7!important;color:#f4dfba!important;margin:0 0 10px!important}
.claim-description{font-size:11px!important;line-height:1.9!important;color:#b9adbf!important;margin:0!important}
.claim-card-caption{font-size:11px!important;color:#c4aecf!important;letter-spacing:.08em;margin:10px 0 0!important}
.participant-home #line-receipt #line-qr{width:178px;margin:16px 0 10px;padding:10px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px #fff2,0 8px 24px #0004}
.participant-home #line-receipt .claim-instruction{font-size:11px!important;line-height:1.8;margin:0 0 10px;color:#e1d6e7}
.participant-home #line-receipt #line-desktop-link{min-height:44px;font-size:11px;margin:0;max-width:300px}
.claim-footnote{font-size:9px!important;line-height:1.8!important;color:#aa99b5!important;margin:12px 0 0!important}
.participant-home #line-claim{width:calc(100% - 24px);max-width:430px;max-height:calc(100dvh - 24px);padding:28px 22px 20px;border:1px solid #d5ba8759;border-radius:18px;background:radial-gradient(ellipse at 50% 40%,#49344466,transparent 65%),#100e18;box-shadow:0 20px 70px #0009;overflow:auto}
.participant-home #line-claim[open]{display:block;line-height:1.6;text-align:center}
#line-claim::backdrop{background:#090610c9}
#line-claim #close-line-claim{top:8px;right:8px;z-index:5}
#line-claim h2{font-size:23px;line-height:1.5;letter-spacing:.02em;margin:0;font-weight:500}
#mobile-claim-card{width:100%;min-width:0;height:220px;margin:4px 0}
#mobile-claim-card .card-wrap{width:95%!important;max-width:360px!important;transform:rotate(-5deg)}
#line-claim .claim-lead{font-size:14px!important;margin-bottom:8px!important}
#line-claim .claim-description{font-size:11px!important;margin-bottom:18px!important}
.participant-home #line-claim #achieve{min-height:64px;margin:0;font-size:14px;outline-offset:3px}
#line-claim .claim-footnote span{color:#8f809c}
@media(max-width:740px){.claim-layout{grid-template-columns:1fr;gap:20px}.participant-home #line-receipt{padding:32px 22px}.claim-copy h2{font-size:24px!important}#desktop-claim-card{height:245px}.participant-home #line-receipt #line-qr{margin-inline:auto}.claim-copy{text-align:center}.participant-home #line-receipt #line-desktop-link{margin-inline:auto}}
@media(min-width:741px) and (max-height:740px){.participant-home #line-receipt{padding:24px}.claim-copy h2{font-size:24px!important;margin-bottom:10px!important}.claim-lead{font-size:16px!important}.participant-home #line-receipt #line-qr{width:160px;margin-block:12px 8px}.claim-eyebrow{margin-bottom:10px!important}}

/* Let the existing, user-selected guardian remain gently visible behind the pass. */
.participant-home #line-claim{background:linear-gradient(180deg,#100e18fa 0%,#100e18d9 25%,#100e1899 43%,#100e18cc 66%,#100e18fa 100%)}
#line-claim::backdrop{background:#09061088}

body.participant-home:has(#line-claim[open])>main,body.participant-home:has(#line-claim[open])>footer{visibility:hidden}
