/* The artwork remains a live rendering of the player's source, not a poster. */
.home-v2{max-width:580px;min-height:100dvh;height:auto;padding:26px 24px calc(30px + env(safe-area-inset-bottom));text-align:left;display:flex;flex-direction:column;gap:20px;pointer-events:auto!important;background:radial-gradient(ellipse at 50% 35%,#15223577,transparent 64%)}
.home-v2 header{display:flex;align-items:center;justify-content:space-between;gap:16px}.wordmark{font:31px Georgia,serif;letter-spacing:-.035em}.home-v2 .home-heading{margin-top:12px}.home-v2 h1{font-size:clamp(36px,7.5vw,48px);line-height:1.12;margin:12px 0 0}.home-v2 .kicker{color:#aebdce}.home-hero{position:relative;margin:0 -16px;text-align:center;min-height:220px}.home-hero canvas{width:100%;height:auto;max-height:44dvh;object-fit:contain;touch-action:none}.home-hero .muted{margin:-6px 0 0}.home-v2 .home-actions{position:static;display:grid;gap:8px;margin-top:auto}.home-v2 .home-actions>.primary{font:25px Georgia,serif;min-height:62px;border-radius:40px;background:linear-gradient(135deg,#f9f3e5,#ded9ca);color:#080c16;box-shadow:0 0 30px #eee8da12}.home-v2 .home-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;border-top:1px solid #53596766;padding-top:14px}.home-v2 .completion-note{margin:0 0 5px}.home-v2 .example-note{font-size:11px;color:var(--muted)}
.library-tabs{display:flex;justify-content:center;gap:6px;margin:0 0 24px}.library-tabs button{min-width:120px}.flight-group{margin:24px 0 12px;font:22px Georgia,serif}.keepsake-card{padding:14px 8px;border:1px solid #53596766;border-radius:16px;background:#101620}.keepsake-card canvas{width:100%;height:auto}.keepsake-card small{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.keepsake-detail{text-align:center;max-width:560px;margin:auto}.keepsake-detail canvas{width:100%;max-height:60dvh;object-fit:contain;touch-action:none}.keepsake-detail h2{margin:12px 0}.home-hero button{font-size:13px}
.encounter-action{position:absolute;left:50%;top:58%;transform:translateX(-50%);background:#101620e8;pointer-events:auto;white-space:nowrap}.flight-hint{position:absolute;left:24px;right:24px;bottom:calc(15px + env(safe-area-inset-bottom));text-align:center;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:12px}.flight-hint button{pointer-events:auto;min-height:40px;padding:6px 10px}.visiting-label{font:17px Georgia,serif}.visit-behold{position:absolute;left:50%;bottom:calc(28px + env(safe-area-inset-bottom));transform:translateX(-50%);background:#101620e8}.inspection .left-controls{bottom:calc(104px + env(safe-area-inset-bottom))}
.end-page{position:fixed;inset:0;background:#080c16;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px;text-align:center;gap:18px}.end-page h1{font-size:36px;margin:0}.end-page canvas{width:min(84vw,40dvh);height:min(84vw,40dvh)}.end-actions{display:grid;gap:10px;width:min(100%,380px)}.end-actions>.primary{font-size:20px;min-height:56px}.end-page .muted{max-width:360px}.signup-offer{max-width:410px}.signup-offer p{font-size:15px;line-height:1.55}.signup-offer .auth-options{margin-top:22px}.signup-offer .muted{font-size:12px}.export-options{display:flex;justify-content:center;gap:16px;margin:12px 0;font-size:13px;color:var(--muted)}.export-options label{display:flex;gap:7px;align-items:center}.recipient-art{height:100dvh;display:flex;flex-direction:column;justify-content:center;background:var(--bg);padding:18px}.recipient-art .art-canvas{width:min(100%,68dvh);height:auto;max-height:66dvh;margin:auto;touch-action:none}.recipient-art .caption{font-size:22px;text-align:center;margin:4px 0 10px}.recipient-art .recipient-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.recipient-art .muted{text-align:center}.recipient-art header{display:flex;align-items:center;justify-content:space-between}.art-dock .continue-flight{margin-top:5px}
@media(min-width:800px){.home-v2{padding-top:35px}.home-hero canvas{max-height:46dvh}.encounter-action{top:60%}}@media(max-height:650px){.home-v2{gap:12px}.home-v2 h1{font-size:32px}.home-hero{min-height:150px}.home-hero canvas{max-height:32dvh}.home-v2 .home-actions>.primary{min-height:50px}.end-page{gap:10px}.end-page h1{font-size:28px}}

.visit-transition{position:fixed;inset:0;background:#080c16;z-index:25;pointer-events:none;animation:visit-arrive .65s ease-out forwards}@keyframes visit-arrive{0%,20%{opacity:1}100%{opacity:0}}@media(prefers-reduced-motion:reduce){.visit-transition{display:none}}

/* Home: turn the art in place; browse with separate, thumb-sized arrows. */
.home-v2 .home-hero{display:flex;flex-direction:column;align-items:center}
.home-v2 .home-drawing{display:block;width:min(100%,44dvh);height:auto;max-height:none;aspect-ratio:1}
.home-v2 .home-gallery-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;width:100%;padding:0 12px;min-height:44px}
.home-v2 .home-gallery-controls p{margin:0;line-height:1.5;font-size:12px}
.home-v2 .home-gallery-arrow{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border-color:#8795ac55;background:#10172366;color:var(--ink);font:28px/1 Georgia,serif;touch-action:manipulation}
.home-v2 .home-gallery-arrow:hover,.home-v2 .home-gallery-arrow:focus-visible{border-color:#c4beae;background:#1c293b}
.home-v2 .home-gallery-space{width:44px;height:44px}
.home-v2 .home-gallery-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.home-v2 .home-flight-label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 2px;text-align:center}
.home-v2 .home-actions>.primary{font-size:30px;min-height:64px;letter-spacing:.01em}
.home-v2 .home-breathe{justify-self:center;min-width:100px;font:20px Georgia,serif}
@media(max-width:600px){.home-v2{gap:14px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:calc(22px + env(safe-area-inset-bottom))}.home-v2 .home-heading{margin-top:4px}.home-v2 .home-heading .kicker{margin-bottom:8px}.home-v2 h1{font-size:34px;margin-top:8px}.home-v2 .home-drawing{width:min(100%,38dvh)}.home-v2 .home-gallery-controls{padding:0 8px;gap:6px}}
@media(max-height:650px){.home-v2 .home-drawing{width:min(100%,30dvh)}.home-v2 .home-actions>.primary{font-size:25px;min-height:52px}.home-v2 .home-heading{margin-top:0}.home-v2 h1{font-size:30px}}

/* Home invitations stay secondary to flight and work without an account. */
.home-v2 .home-discovery-prompt{display:block;color:var(--muted);font-size:11px;margin-top:2px}.home-v2 .home-account-invitation{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:2px}.home-v2 .home-account-invitation>span{max-width:205px;color:var(--muted);font-size:11px;line-height:1.4}.home-v2 .home-account-invitation>button{flex:none;min-height:44px;padding:6px 8px;color:var(--ink)}
.home-v2 .home-keepsakes{justify-self:center;min-height:44px;display:flex;align-items:center;gap:8px}.home-keepsake-count{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border:1px solid #8795ac66;border-radius:50%;font-variant-numeric:tabular-nums;font-size:11px;color:var(--ink)}
