.site-header{position:absolute;top:0;left:0;right:0;background:linear-gradient(180deg,#15394db3,transparent);color:#fff9e9;border-bottom-color:#fff9da29;height:92px;padding-left:5.5%;padding-right:5.5%}.site-header .brand strong{font-size:22px;text-shadow:0 2px 10px #15394d}.site-header .brand small{color:#e5dab7}.site-header nav{font-size:12px;letter-spacing:.1px;text-shadow:0 1px 4px #1e3e4a}.site-header nav a:after{background:#ecce8c}.header-button{background:linear-gradient(110deg,#dbbd79,#f0e2bc,#b79855);color:#fff2cc}.header-button:before{background:#1a4956e6}.header-button:hover:before{background:#27606be6}
.hero{height:850px;min-height:720px;max-height:1000px;background:#397896}.hero-art{inset:0;background-image:url('assets/background-stage.webp');background-position:center 59%;background-size:cover;mask-image:none;z-index:-3}.hero-wash{background:linear-gradient(90deg,#082a43c7 0%,#103e578c 27%,#13455b30 46%,transparent 62%),linear-gradient(0deg,#0c3f4c7a,transparent 22%,transparent 73%,#18425229);z-index:-2}.hero-content{margin-left:7.6%;padding-top:171px;max-width:480px;pointer-events:none;z-index:3}.hero-content a{pointer-events:auto}.hero .eyebrow{color:#f4d49b;font-size:9px;letter-spacing:2px;text-shadow:0 1px 4px #123d51}.hero .tiny-star{color:#f4ddb0}.hero h1{font-size:63px;color:#fff8df;line-height:1.42;letter-spacing:-2.7px;text-shadow:0 3px 20px #113c50,0 1px 2px #244555}.hero h1 span{color:#d0f2fa}.hero-description{color:#eef8f4;font-size:14px;line-height:1.95;text-shadow:0 2px 9px #123b4d;margin-top:21px}.hero-actions{margin-top:24px;gap:16px}.crystal-gate{width:280px;height:94px;filter:drop-shadow(0 7px 14px #052a3b80)}.crystal-gate-label{font-size:15px;inset:0 10% 0 32%;padding-bottom:0}.motion-link{color:#faf4d9;font-size:10px;white-space:normal;max-width:110px;line-height:1.6}.motion-link>span:last-child{border-bottom-color:#cbd4bf8c}.motion-link-icon{background:#154553c9;border-color:#e5cc8f;color:#f4ddb0;transform:none;flex-shrink:0;box-shadow:inset 0 0 0 3px #285f66}.motion-link:hover{color:#fff}.motion-link:hover .motion-link-icon{background:#2d6e77}.hero-note{color:#e3eedb;font-size:9px;margin-top:17px;text-shadow:0 1px 6px #183a42}.hero-note>span{background:#a0f3e8;box-shadow:0 0 9px #80f3eb}.hero-bottom{bottom:24px;left:5.5%;right:5.5%;z-index:7;gap:20px;color:#fff6d8;align-items:center}.stage-hint{font-size:10px!important;text-shadow:0 1px 7px #143e4b;letter-spacing:.3px;display:flex;gap:12px;align-items:center}.stage-hint span{font-size:20px;color:#edda9e}.stage-controls{display:flex;gap:10px;align-items:center;font-size:10px}.stage-controls>button,.stage-info>summary{color:#fff5db;background:#133b49b8;border:1px solid #e4d29b73;padding:7px 13px;cursor:pointer;list-style:none;line-height:1.5;min-height:34px}.stage-info>summary::-webkit-details-marker{display:none}.stage-info{position:relative}.stage-info p{position:absolute;right:0;bottom:40px;width:330px;text-align:left;color:#e8f0e7;padding:17px;background:#133b49f5;border:1px solid #c3b276;font-size:10px;line-height:1.95;box-shadow:0 8px 25px #0a263654;z-index:30}.stage-live-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.living-stage{position:absolute;inset:0;z-index:2;isolation:isolate}.crystal-hotspot{position:absolute;left:67%;top:28%;width:110px;height:190px;transform:translate(-50%,-50%);display:flex;align-items:flex-end;justify-content:center;color:#f9f5d1;padding:0;z-index:1}.crystal-hotspot>span{position:absolute;inset:10% 4%;border:1px solid #c8f7ff00;border-radius:50%;box-shadow:0 0 0 #b8f8ff00;transition:box-shadow .3s,border-color .3s}.crystal-hotspot:hover>span{border-color:#c8f7ff80;box-shadow:0 0 30px #a2eaff55,inset 0 0 35px #b9faff50}.crystal-hotspot small{font-size:9px;padding:4px 9px;border:1px solid #e2edc77a;background:#1b57666e;opacity:0;transition:opacity .25s;white-space:nowrap}.crystal-hotspot:hover small,.crystal-hotspot:focus-visible small{opacity:1}.crystal-hotspot:focus-visible{outline:2px solid #d8faff;outline-offset:5px;border-radius:50%}
.stage-actor{position:absolute;left:0;top:0;width:190px;height:190px;will-change:transform;padding:0;background:transparent;cursor:pointer;transform-origin:50% 87.5%;z-index:3}.stage-actor:focus-visible{outline:2px solid #efffd6;outline-offset:-17px;border-radius:45%}.actor-sprite{position:absolute;inset:0;overflow:hidden;transform-origin:50% 87.5%;pointer-events:none;filter:drop-shadow(0 3px 3px #173c4730)}.actor-sprite img{position:absolute;width:300%;height:200%;max-width:none;left:0;top:0;pointer-events:none;user-select:none}.stage-actor[data-character=knight] .actor-sprite img{width:100%;height:100%}.stage-actor[data-character=warrior] .actor-sprite img{left:-100%}.stage-actor[data-character=rogue] .actor-sprite img{left:-200%}.stage-actor[data-character=archer] .actor-sprite img{top:-100%}.stage-actor[data-character=mage] .actor-sprite img{left:-100%;top:-100%}.stage-actor[data-character=healer] .actor-sprite img{left:-200%;top:-100%}.actor-shadow{position:absolute;width:42%;height:8%;border-radius:50%;left:29%;top:84%;background:#14373855;filter:blur(4px);pointer-events:none}.actor-bubble{position:absolute;left:50%;top:4%;transform:translate(-50%,-100%);background:#fff9e8f5;border:1px solid #c1a36b;padding:7px 13px;font-size:11px;line-height:1.5;color:#32535d;border-radius:14px;white-space:nowrap;box-shadow:0 4px 14px #163c4b33;opacity:0;transition:opacity .15s;pointer-events:none}.actor-bubble:after{content:'';position:absolute;width:7px;height:7px;bottom:-5px;left:45%;background:#fff9e8;border-right:1px solid #c1a36b;border-bottom:1px solid #c1a36b;transform:rotate(45deg)}.stage-actor.is-reacting .actor-bubble{opacity:1}.stage-actor:hover .actor-sprite{filter:drop-shadow(0 0 7px #c8f9ff99)}.stage-actor .actor-name{position:absolute;left:50%;top:93%;transform:translateX(-50%);color:#fff7d3;text-shadow:0 1px 5px #163d4a;font-size:10px;line-height:1.3;opacity:0;transition:opacity .2s;pointer-events:none;white-space:nowrap}.stage-actor:hover .actor-name,.stage-actor:focus-visible .actor-name{opacity:1}.stage-particle{position:absolute;width:7px;height:7px;left:0;top:0;background:#c7f8ff;clip-path:polygon(50% 0,63% 35%,100% 50%,63% 63%,50% 100%,35% 63%,0 50%,35% 35%);filter:drop-shadow(0 0 3px #b0ffff);pointer-events:none;z-index:12;will-change:transform,opacity}
.stage-atmosphere{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}.stage-atmosphere i{position:absolute;width:3px;height:3px;background:#ebffeb;box-shadow:0 0 12px 4px #b7f7e35e;border-radius:50%;animation:gardenspark 8s ease-in-out infinite;opacity:.5;left:64%;top:48%}.stage-atmosphere i:nth-child(2){left:45%;top:65%;animation-delay:-2s}.stage-atmosphere i:nth-child(3){left:90%;top:30%;animation-delay:-5s}.stage-atmosphere i:nth-child(4){left:79%;top:80%;animation-delay:-1s}.stage-atmosphere i:nth-child(5){left:59%;top:87%;animation-delay:-6s}.stage-atmosphere i:nth-child(6){left:34%;top:42%;animation-delay:-4s}.stage-atmosphere i:nth-child(7){left:13%;top:72%;animation-delay:-3s}.stage-atmosphere i:nth-child(8){left:92%;top:64%;animation-delay:-7s}.motion-paused .stage-atmosphere i{animation-play-state:paused}.chapter-divider{position:relative;z-index:8;background:var(--paper);width:100%;margin-top:0;transform:none;height:30px}
@keyframes gardenspark{0%,100%{transform:translate3d(0,0,0);opacity:.15}40%{opacity:.8}60%{transform:translate3d(12px,-40px,0);opacity:.7}}
@media(max-width:1100px){.hero{height:810px;min-height:730px}.hero-content{margin-left:6%;padding-top:158px;max-width:420px}.hero h1{font-size:54px}.hero-description{font-size:12px}.crystal-gate{width:250px;height:84px}.crystal-gate-label{font-size:14px}.motion-link{max-width:95px;font-size:9px}.hero-actions{gap:12px}.site-header .brand strong{font-size:19px}.hero-art{background-position:58% 60%}}
@media(max-width:760px){.site-header{height:75px;padding:0 6%;background:linear-gradient(180deg,#163e51d9,#17425745,transparent)}.site-header .brand strong{font-size:16px}.site-header nav{font-size:10px;gap:20px}.hero{height:940px;min-height:900px;max-height:1050px}.hero-art{inset:0;aspect-ratio:auto;background-position:64% 80%;background-size:auto 100%;mask-image:none}.hero-wash{background:linear-gradient(180deg,#12384a88 0%,#113e5488 25%,#194a5e73 45%,#174b6014 67%,#153f4d24 84%,#123c4eb3 100%)}.hero-content{padding:118px 20px 0;margin:0;max-width:none;text-align:center}.hero .eyebrow{font-size:7px;letter-spacing:1.4px;gap:8px}.hero h1{font-size:43px;letter-spacing:-2px;line-height:1.4;margin-top:17px;text-shadow:0 3px 17px #153c50}.hero-description{font-size:12px;margin-top:18px;line-height:1.9}.hero-actions{flex-direction:row;justify-content:center;gap:9px;margin-top:18px}.crystal-gate{width:247px;height:83px}.crystal-gate-label{font-size:14px}.motion-link{max-width:73px;font-size:9px;gap:7px;text-align:left}.motion-link-icon{width:22px;height:22px;font-size:13px}.hero-note{font-size:8px;margin-top:12px}.hero-bottom{bottom:18px;left:5%;right:5%;flex-direction:column;gap:9px}.stage-hint{font-size:9px!important}.stage-hint span{font-size:16px}.stage-controls{font-size:8px;gap:8px}.stage-controls>button,.stage-info>summary{min-height:31px;padding:7px 11px}.stage-info p{width:290px;right:-25px;bottom:35px;font-size:9px;padding:13px}.crystal-hotspot{left:62%;top:51%;width:78px;height:110px}.crystal-hotspot small{opacity:.85;font-size:8px;background:#1b57668c}.actor-bubble{font-size:10px;padding:5px 9px}.stage-actor .actor-name{font-size:8px}.chapter-divider{height:25px}.guardians{padding-top:56px}}
@media(max-width:360px){.hero{height:900px;min-height:870px}.hero-content{padding:115px 16px 0}.hero h1{font-size:39px}.hero .eyebrow{font-size:6px;letter-spacing:1.1px}.crystal-gate{width:225px;height:75px}.crystal-gate-label{font-size:13px}.hero-actions{gap:7px}.motion-link{max-width:61px;font-size:8px;gap:6px}.motion-link-icon{display:none}.site-header nav{gap:12px}.site-header .brand strong{font-size:15px}.hero-note{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.stage-atmosphere i{animation:none}.actor-bubble{transition:none}}
.distant-airship{position:absolute;z-index:-1;left:39%;top:13%;width:132px;height:auto;max-width:none;filter:drop-shadow(0 2px 3px #265a6d33);opacity:.88;pointer-events:none;animation:airshipJourney 44s ease-in-out infinite alternate;transform-origin:center}
@keyframes airshipJourney{0%{transform:translate3d(-30px,8px,0) scale(.88)}45%{transform:translate3d(85px,-10px,0) scale(.95)}100%{transform:translate3d(205px,3px,0) scale(.9)}}
.motion-paused .distant-airship{animation-play-state:paused}.actor-prop-glow{display:none;position:absolute;width:10%;height:10%;left:59%;top:57%;border-radius:50%;background:#bdf8ff75;box-shadow:0 0 10px 4px #bdf8ff44;mix-blend-mode:screen;animation:propShimmer 5s ease-in-out infinite;pointer-events:none}.stage-actor[data-character=mage] .actor-prop-glow{display:block;left:63%;top:56%;animation-delay:-2s}.stage-actor[data-character=archer] .actor-prop-glow{display:block;left:40%;top:47%;width:5%;height:5%;animation-delay:-1s}.stage-actor[data-character=healer] .actor-prop-glow{display:block;left:35%;top:33%;width:8%;height:8%;animation-delay:-3s}.stage-actor[data-character=rogue] .actor-prop-glow{display:block;left:37%;top:68%;width:5%;height:5%;background:#d9baff75;animation-delay:-4s}.stage-actor[data-character=warrior] .actor-prop-glow{display:block;left:34%;top:49%;width:5%;height:5%;background:#ffc8ab70;animation-delay:-2.5s}.motion-paused .actor-prop-glow{animation-play-state:paused}.stage-actor.is-reacting .actor-prop-glow{box-shadow:0 0 15px 8px #bdf8ff65}
@keyframes propShimmer{0%,100%{opacity:.1;transform:scale(.5)}50%{opacity:.6;transform:scale(1.2)}}
@media(max-width:760px){.distant-airship{width:78px;left:8%;top:54%;animation-name:airshipJourneyMobile;animation-duration:38s}.crystal-hotspot{top:52%}}
@keyframes airshipJourneyMobile{0%{transform:translate3d(0,4px,0) scale(.9)}50%{transform:translate3d(90px,-9px,0) scale(.95)}100%{transform:translate3d(195px,2px,0) scale(.9)}}
@media(prefers-reduced-motion:reduce){.distant-airship,.actor-prop-glow{animation:none}}
/* Keep the whole garden inside the desktop first view and plant feet on the terrace. */
@media(min-width:761px){.hero{height:100svh;min-height:700px;max-height:960px}.hero-content{padding-top:150px}.hero h1{font-size:58px}.hero-actions{margin-top:17px}.hero-description{margin-top:18px}.hero-note{margin-top:12px}.hero-bottom{bottom:17px}}
@media(max-width:760px){.hero{height:100svh;min-height:850px;max-height:1000px}}
@media(max-width:360px){.hero{height:100svh;min-height:850px}}
@media(max-width:760px){.crystal-hotspot{left:74%;top:24%;width:74px;height:135px}.crystal-hotspot small{display:none}}
.hero .hero-note{display:none}

/* V3 full-character frame sequences retain the shared 128,224 foot pivot. */
.stage-actor[data-animation=frames] .actor-sprite img{width:100%;height:100%;left:0;top:0}
.stage-actor[data-animation=frames] .actor-prop-glow{display:none}
.stage-offscreen .distant-airship,.stage-offscreen .stage-atmosphere i,.stage-offscreen .actor-prop-glow{animation-play-state:paused}
/* Transparent sheet padding must not steal taps from a neighbouring guardian. */
.stage-actor{pointer-events:none}.actor-hit-area{position:absolute;left:25%;top:10%;width:50%;height:77%;pointer-events:auto;cursor:pointer}
/* V4: the original six and four clearly labelled development candidates. */
.stage-roster{display:none}.stage-roster-desktop{font-size:9px;color:#f1e7c9;margin-top:13px;text-shadow:0 1px 6px #183f4d}.stage-actor[hidden]{display:none}
.stage-actor[data-candidate=true] .actor-sprite img{width:200%;height:200%;left:0;top:0}
.stage-actor[data-character=tamer] .actor-sprite img{left:-100%;top:0}.stage-actor[data-character=sealer] .actor-sprite img{left:0;top:-100%}.stage-actor[data-character=bard] .actor-sprite img{left:-100%;top:-100%}
.stage-actor[data-candidate=true] .actor-name{opacity:.85;background:#15424dbd;border:1px solid #e5c78a70;border-radius:12px;padding:2px 7px;top:91%;font-size:8px;line-height:1.3}
.stage-info p{max-height:310px;overflow-y:auto}
.candidate-section{padding-top:70px;padding-bottom:75px}.candidate-section .section-heading>p strong{font-weight:400;font-size:11px;color:#7e7458}.candidate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.candidate-card{position:relative;display:block;padding:16px 14px 19px;text-align:left;background:linear-gradient(155deg,#f8f4e9,#e9eee6);border:1px solid #d5c5a6;box-shadow:0 5px 17px #25494c09;overflow:hidden;transition:transform .2s,box-shadow .2s}.candidate-card:hover{transform:translateY(-5px);box-shadow:0 10px 24px #25494c16}.candidate-card:focus-visible{outline:2px solid #236370;outline-offset:4px}.candidate-portrait{display:block;position:relative;aspect-ratio:1;overflow:hidden;background:radial-gradient(ellipse,#e8e6ce99,transparent 65%)}.candidate-portrait img{position:absolute;left:0;top:0;width:200%;height:200%;max-width:none;mix-blend-mode:normal}.candidate-portrait[data-character=tamer] img{left:-100%}.candidate-portrait[data-character=sealer] img{top:-100%}.candidate-portrait[data-character=bard] img{top:-100%;left:-100%}.candidate-card-caption{display:flex;align-items:center;justify-content:space-between;gap:5px}.candidate-card-caption>span:first-child{display:flex;flex-direction:column;gap:6px}.candidate-card-caption small{font-size:7px;letter-spacing:1.3px;color:#877d64}.candidate-card-caption strong{font-family:var(--serif);font-size:20px;font-weight:500;color:#274b52}.candidate-tag{font-size:7px;color:#73613b;border:1px solid #c7b58f;border-radius:20px;padding:4px 6px;white-space:nowrap}.candidate-art-link{display:block;font-size:9px;color:#638078;margin-top:18px}.candidate-card:hover .candidate-art-link{color:#24555c}
@media(max-width:1100px){.candidate-grid{gap:12px}.candidate-card{padding:10px 10px 15px}.candidate-card-caption strong{font-size:17px}.candidate-tag{font-size:6px}}
@media(max-width:760px){.hero{min-height:960px;max-height:1080px}.stage-roster{display:flex;justify-content:center;gap:7px;margin-top:17px;pointer-events:auto}.stage-roster button{border:1px solid #e1cc8e8c;color:#e4eddd;background:#153e4bb3;font-size:10px;line-height:1.6;padding:7px 15px;border-radius:25px;min-height:34px;box-shadow:0 2px 9px #13374922}.stage-roster button[aria-pressed=true]{background:#f0e5c7;color:#244b54;border-color:#f5e3ae}.stage-roster small{font-size:7px;opacity:.75;margin-left:4px}.stage-roster-desktop{display:none}.stage-actor[data-candidate=true] .actor-name{font-size:9px;padding:3px 9px;top:92%}.candidate-section{padding-top:52px;padding-bottom:55px}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.candidate-section .section-heading>p strong{font-size:10px}.candidate-card-caption strong{font-size:18px}.candidate-card-caption small{font-size:6px;letter-spacing:.6px}.candidate-tag{font-size:6px;padding:3px 5px}.candidate-art-link{font-size:9px;margin-top:13px}}
@media(max-width:360px){.hero{min-height:960px}.candidate-card-caption{display:block}.candidate-tag{display:inline-block;margin-top:7px}.candidate-card-caption strong{font-size:17px}}
#stage-pets{position:absolute;inset:0;pointer-events:none}.roaming-pet{position:absolute;left:0;top:0;pointer-events:none;will-change:transform}.pet-sprite{position:absolute;inset:0;overflow:hidden;pointer-events:none;transform-origin:50% 87.5%;filter:drop-shadow(0 2px 2px #12384944)}.pet-sprite img{position:absolute;max-width:none;pointer-events:none;user-select:none}.pet-shadow{position:absolute;left:25%;top:84%;width:50%;height:8%;border-radius:50%;background:#143d494a;filter:blur(3px);pointer-events:none}
/* The generated candidate cells have measured foot baselines of 535/627 and 505/627. */
.stage-actor[data-character=alchemist] .actor-sprite img,.stage-actor[data-character=tamer] .actor-sprite img{top:2.17%}.stage-actor[data-character=sealer] .actor-sprite img,.stage-actor[data-character=bard] .actor-sprite img{top:-93.04%}
@media(min-width:761px){.stage-actor[data-character=alchemist] .actor-name,.stage-actor[data-character=tamer] .actor-name{top:10%;background:#153e4be8}}
/* A deliberate user press can resume motion after reduced-motion startup. */
@media(prefers-reduced-motion:reduce){.hero:not(.motion-paused) .distant-airship{animation:airshipJourney 44s ease-in-out infinite alternate}.hero:not(.motion-paused) .stage-atmosphere i{animation:gardenspark 8s ease-in-out infinite}.hero:not(.motion-paused) .actor-prop-glow{animation:propShimmer 5s ease-in-out infinite}}
@media(prefers-reduced-motion:reduce) and (max-width:760px){.hero:not(.motion-paused) .distant-airship{animation-name:airshipJourneyMobile;animation-duration:38s}}
/* Candidate names are readable UI, above every roaming pet, without flattening body depth. */
.candidate-stage-label{position:absolute;z-index:2000;transform:translateX(-50%);color:#fff7d3;text-shadow:0 1px 5px #163d4a;background:#153e4be8;border:1px solid #e5c78a70;border-radius:12px;padding:2px 7px;font-size:8px;line-height:1.3;white-space:nowrap;pointer-events:none}.candidate-stage-label[hidden]{display:none}@media(max-width:760px){.candidate-stage-label{font-size:9px;padding:3px 9px}}
