.living-sect{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:25px;overflow:hidden}.sect-world{aspect-ratio:1672/941;isolation:isolate;background:#194b70;width:100%;position:relative;overflow:hidden}.sect-world-art,.garden-motion img,.cultivator-breath img{object-fit:fill}.world-effects{pointer-events:none;position:absolute;inset:0;overflow:hidden}.world-caption,.scene-motion-toggle{z-index:4;color:#fffdf3;background:#142540d6;border:1px solid #ffffff47;border-radius:12px;align-items:center;gap:6px;min-height:34px;padding:6px 10px;font-size:10px;font-weight:800;display:flex;position:absolute;top:13px}.world-caption{left:13px}.world-caption svg,.scene-motion-toggle svg{width:15px;height:15px}.world-caption svg{color:#ffdb8b}.scene-motion-toggle{cursor:pointer;min-height:44px;right:13px}.sect-scene-footer{grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:76px;padding:13px 16px;display:grid}.scene-breath-icon{width:36px;height:36px;color:var(--jade-dark);background:color-mix(in srgb,var(--jade) 13%,var(--paper));border-radius:12px;place-items:center;display:grid}.scene-breath-icon svg{width:19px}.sect-scene-footer small{color:var(--jade-dark);font-size:10px;font-weight:900;display:block}.sect-scene-footer p{color:var(--muted);margin:4px 0 0;font-size:10px;line-height:1.45}.sect-scene-footer>button{background:var(--jade-dark);min-height:44px;color:var(--paper);cursor:pointer;border:0;border-radius:13px;align-items:center;gap:8px;padding:0 17px;font-size:12px;font-weight:900;display:flex}.sect-scene-footer>button svg{width:17px}.world-cloud{filter:blur(2px);background:radial-gradient(#f8e2dd87,#e2dcf22e 58%,#0000 74%);border-radius:50%;width:26%;height:9%;animation:64s linear infinite cloud-passage;position:absolute}.world-cloud i{background:radial-gradient(#f6e0db70,#d5def214 63%,#0000 75%);border-radius:50%;width:48%;height:90%;position:absolute;bottom:26%}.world-cloud i:first-child{left:5%}.world-cloud i:nth-child(2){height:120%;left:27%}.world-cloud i:nth-child(3){height:76%;left:53%}.cloud-far{animation-delay:-17s;top:20%;left:-28%}.cloud-high{opacity:.55;width:18%;animation-duration:86s;animation-delay:-54s;top:8%;left:-28%}.cloud-low{opacity:.6;width:36%;height:15%;animation-duration:55s;animation-delay:-31s;top:84%;left:-30%}@keyframes cloud-passage{0%{transform:translate(0)}to{transform:translate(520%)}}.furnace-smoke{width:9%;height:22%;position:absolute;top:34%;left:26.3%;transform:translate(-50%,-100%)}.furnace-smoke i{filter:blur(1.5px);opacity:0;background:radial-gradient(#fff3e4d1,#dbd4ef6e 51%,#0000 72%);border-radius:47% 57% 44% 61%;width:27%;height:17%;animation:5.95s ease-out infinite furnace-smoke-rise;position:absolute;bottom:0;left:38%}@keyframes furnace-smoke-rise{0%{opacity:0;transform:translate(0)scale(.5)}12%{opacity:.8}47%{opacity:.53;transform:translate(32%,-240%)scale(1.65)}78%{opacity:.23}to{opacity:0;transform:translate(120%,-590%)scale(3)}}.furnace-ember{mix-blend-mode:screen;background:radial-gradient(#fff6a8,#ff9d3aa6 50%,#0000 76%);border-radius:50% 50% 25% 25%;width:3.5%;height:5.8%;animation:3.4s ease-in-out infinite furnace-warmth;position:absolute;top:47.9%;left:31.9%}@keyframes furnace-warmth{0%,to{opacity:.28;transform:scale(.88)}37%{opacity:.65;transform:scale(1.07)}68%{opacity:.42;transform:scale(.94)}}.garden-motion,.cultivator-breath{position:absolute;inset:0}.garden-motion{animation:5.2s ease-in-out infinite garden-breeze}.garden-left{transform-origin:28% 71%;animation-delay:-2.5s;-webkit-mask-image:radial-gradient(7% 9% at 28% 65%,#000 23%,#0000 80%);mask-image:radial-gradient(7% 9% at 28% 65%,#000 23%,#0000 80%)}.garden-center{transform-origin:34% 72%;-webkit-mask-image:radial-gradient(6% 10% at 34% 64%,#000 28%,#0000 83%);mask-image:radial-gradient(6% 10% at 34% 64%,#000 28%,#0000 83%)}.garden-right{transform-origin:40% 74%;animation-delay:-1.3s;-webkit-mask-image:radial-gradient(6% 9% at 40% 68%,#000 27%,#0000 80%);mask-image:radial-gradient(6% 9% at 40% 68%,#000 27%,#0000 80%)}@keyframes garden-breeze{0%,to{transform:skew(-1.2deg)rotate(-.7deg)}50%{transform:skew(1.6deg)rotate(1deg)}}.garden-pollen{width:23%;height:14%;position:absolute;top:63%;left:23%}.garden-pollen i{opacity:0;background:#ffecaf;border-radius:50%;width:3px;height:3px;animation:7s ease-out infinite pollen-rise;position:absolute;bottom:10%;box-shadow:0 0 5px #ffe096}@keyframes pollen-rise{0%{opacity:0;transform:translate(0)}25%{opacity:.85}to{opacity:0;transform:translate(25px,-50px)}}.cultivator-breath{transform-origin:50% 51%;animation:6s ease-in-out infinite cultivator-breathing;-webkit-mask-image:radial-gradient(2.5% 6% at 50% 46%,#000 30%,#0000 86%);mask-image:radial-gradient(2.5% 6% at 50% 46%,#000 30%,#0000 86%)}@keyframes cultivator-breathing{0%,to{transform:scale(1)}50%{transform:scale(1.025,1.035)}}.cultivator-aura{width:10%;height:3.8%;position:absolute;top:49%;left:45%}.cultivator-aura i{border:1px solid #b6ffe0b3;border-radius:50%;animation:6s ease-out infinite qi-ring-breathe;position:absolute;inset:0;box-shadow:0 0 7px #99ffd54d}.cultivator-aura i:nth-child(2){animation-delay:-2s}.cultivator-aura i:nth-child(3){animation-delay:-4s}@keyframes qi-ring-breathe{0%{opacity:0;transform:scale(.65)}20%{opacity:.8}to{opacity:0;transform:scale(1.4)translateY(-25%)}}.waterfall{mix-blend-mode:screen;opacity:.6;background:repeating-linear-gradient(#0000 0,#d2fff96e 10%,#0000 27%) 0 0/100% 60%;animation:2.8s linear infinite water-flow;position:absolute;-webkit-mask-image:linear-gradient(#0000,#000 16% 85%,#0000);mask-image:linear-gradient(#0000,#000 16% 85%,#0000)}.waterfall-upper{width:.85%;height:24%;top:17.5%;left:65.75%}.waterfall-lower{width:1.6%;height:16%;top:84%;left:46.4%}@keyframes water-flow{to{background-position:0 150%}}.rabbit-route{aspect-ratio:1;width:7.3%;animation:24s linear infinite rabbit-journey;position:absolute;top:46%;left:59%}.rabbit-facing{transform-origin:bottom;animation:24s step-end infinite rabbit-turn;position:absolute;inset:0}.rabbit-facing img{object-fit:contain}.rabbit-shadow{filter:blur(2px);background:#26231f52;border-radius:50%;width:71%;height:13%;position:absolute;bottom:-1%;left:17%}@keyframes rabbit-journey{0%,12%,to{transform:translate(0)}15%{transform:translate(-20%,-7%)}18%{transform:translate(-40%,20%)}21%{transform:translate(-60%,10%)}24%{transform:translate(-80%,40%)}27%{transform:translate(-100%,30%)}30%,60%{transform:translate(-120%,60%)}64%{transform:translate(-100%,30%)}68%{transform:translate(-80%,40%)}72%{transform:translate(-60%,10%)}76%{transform:translate(-40%,20%)}80%{transform:translate(-20%,-7%)}84%{transform:translate(0)}}@keyframes rabbit-turn{0%{transform:scaleX(1)}59%{transform:scaleX(-1)}86%{transform:scaleX(1)}}.world-leaves{position:absolute;inset:0}.world-leaves i{opacity:0;background:#afc66a;border-radius:85% 5%;width:.65%;height:.48%;animation:17s linear infinite leaf-on-wind;position:absolute;left:45%;box-shadow:inset 0 -1px #647b3d}@keyframes leaf-on-wind{0%{opacity:0;transform:translate(0)rotate(0)}15%{opacity:.8}75%{opacity:.65}to{opacity:0;transform:translate(260px,95px)rotate(320deg)}}.living-sect[data-paused=true] .world-effects *{animation-play-state:paused!important}html[data-motion=reduced] .living-sect .world-effects *{animation:none!important}html[data-motion=reduced] .furnace-smoke i,html[data-motion=reduced] .garden-pollen,html[data-motion=reduced] .world-leaves,html[data-motion=reduced] .cultivator-aura{display:none}@media (max-width:760px){.living-sect{border-radius:18px}.world-caption,.scene-motion-toggle{border-radius:9px;min-height:32px;padding:5px 7px;font-size:8px;top:7px}.world-caption{left:7px}.scene-motion-toggle{min-height:44px;right:7px}.world-caption svg,.scene-motion-toggle svg{width:12px;height:12px}.sect-scene-footer{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:11px}.scene-breath-icon{display:none}.sect-scene-footer small,.sect-scene-footer p{font-size:9px}.sect-scene-footer>button{padding:0 11px;font-size:11px}}.sect-growth-layers,.growth-layer{pointer-events:none;position:absolute;inset:0}.growth-layer img{object-fit:fill}.growth-meditation{clip-path:polygon(38.2% 12%,63% 12%,63% 59%,39% 59%)}.growth-furnace{clip-path:polygon(14% 15%,38.2% 15%,38.2% 39%,39% 57.5%,27% 57.5%,23% 59%,21.5% 62%,20% 65%,18% 70%,14% 70%);-webkit-mask-image:linear-gradient(#000 0 63%,#0000 70%);mask-image:linear-gradient(#000 0 63%,#0000 70%)}.growth-garden{clip-path:polygon(16% 59%,29% 57.5%,46% 60%,47% 80%,43% 100%,17% 100%)}.growth-archive{clip-path:polygon(64% 15%,88% 15%,88% 73%,63% 73%,63% 37%)}.living-sect[data-furnace-tier="1"] .furnace-smoke{top:20%}.living-sect[data-furnace-tier="2"] .furnace-smoke{top:19%}.disciple-route{--routine-delay:0s;width:7.5%;height:19%;position:absolute}.routine-meditation{left:calc(50% + var(--resident-slot) * 6%);top:calc(47% + var(--resident-slot) * 2%)}.routine-garden{left:calc(39% + var(--resident-slot) * 5%);top:calc(55% + var(--resident-slot) * 3%)}.routine-library{left:calc(62% + var(--resident-slot) * 5%);top:calc(44% + var(--resident-slot) * 3%)}.disciple-walk,.disciple-sway{position:absolute;inset:0}.disciple-walk{animation:28s ease-in-out infinite disciple-rounds;animation-delay:var(--routine-delay)}.routine-garden .disciple-walk{animation-name:garden-rounds;animation-duration:32s}.routine-library .disciple-walk{animation-name:library-rounds;animation-duration:36s}.disciple-sway{transform-origin:50% 95%;animation:3.6s ease-in-out infinite disciple-working;animation-delay:var(--routine-delay)}.disciple-sway img{object-fit:contain;filter:drop-shadow(0 1px 1px #19182940)}.disciple-ground-shadow{filter:blur(1px);background:#26231f47;border-radius:50%;width:60%;height:7%;position:absolute;bottom:2%;left:20%}.disciple-task-effect{width:24%;height:25%;position:absolute;top:53%;left:79%}.disciple-task-effect i{background:#bdfff3;border-radius:50%;width:25%;height:25%;animation:4s ease-in-out infinite disciple-qi-wisp;position:absolute;box-shadow:0 0 4px #5ccfbf}.disciple-task-effect i:nth-child(2){animation-delay:-1.3s;left:55%}.disciple-task-effect i:nth-child(3){animation-delay:-2.6s;top:55%}.routine-garden .disciple-task-effect i{box-shadow:none;background:#b4ebff;border-radius:70% 10% 70% 70%;animation-name:disciple-watering}.routine-library .disciple-task-effect i{background:#ffe4a1;border-radius:0;animation-name:disciple-reading;transform:rotate(45deg)}@keyframes disciple-rounds{0%,18%,to{transform:translate(0)}40%,65%{transform:translate(65%,12%)}82%{transform:translate(28%,6%)}}@keyframes garden-rounds{0%,22%,to{transform:translate(0)}43%,68%{transform:translate(48%,15%)}}@keyframes library-rounds{0%,18%,to{transform:translate(0)}42%,70%{transform:translate(60%,18%)}}@keyframes disciple-working{0%,to{transform:rotate(-2deg)translateY(0)}50%{transform:rotate(2deg)translateY(-2%)}}@keyframes disciple-qi-wisp{0%,to{opacity:.2;transform:translateY(30%)scale(.6)}50%{opacity:.9;transform:translateY(-100%)scale(1)}}@keyframes disciple-watering{0%{opacity:0;transform:translate(-20%,-40%)scale(.5)}30%{opacity:.85}to{opacity:0;transform:translate(70%,180%)scale(.6)}}@keyframes disciple-reading{0%,to{opacity:.2;transform:rotate(45deg)scale(.5)}50%{opacity:.9;transform:rotate(45deg)scale(1)}}.sect-growth-journal{border-top:1px solid var(--line);background:var(--paper)}.sect-growth-journal summary{cursor:pointer;min-height:48px;color:var(--ink);align-items:center;gap:9px;padding:12px 16px;font-size:12px;font-weight:800;list-style:none;display:flex}.sect-growth-journal summary::-webkit-details-marker{display:none}.sect-growth-journal summary>svg{width:18px;height:18px;color:var(--jade-dark);flex-shrink:0}.sect-growth-journal summary>svg:last-child{margin-left:auto}.sect-growth-journal[open] summary>svg:last-child{transform:rotate(180deg)}.sect-growth-journal summary small{color:var(--muted);margin-left:8px;font-size:11px;font-weight:600}.growth-milestone-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 16px 14px;display:grid}.growth-milestone-grid article{border:1px solid var(--line);background:color-mix(in srgb,var(--jade) 4%,var(--paper));border-radius:13px;min-width:0;padding:12px}.growth-milestone-grid small{color:var(--muted);font-size:10px;line-height:1.5;display:block}.growth-milestone-grid strong{color:var(--ink);margin-top:5px;font-size:12px;display:block}.growth-milestone-grid p,.sect-resident-log p,.sect-resident-log li{color:var(--muted);font-size:11px;line-height:1.6}.growth-next{color:var(--jade-dark);align-items:center;gap:4px;font-size:10px;font-weight:800;line-height:1.6;display:flex}.growth-next svg{flex-shrink:0;width:14px;height:14px}.sect-resident-log{gap:10px;padding:0 16px 14px;display:flex}.sect-resident-log>svg{width:18px;height:18px;color:var(--jade-dark);flex-shrink:0}.sect-resident-log strong{color:var(--ink);font-size:12px}.sect-resident-log ul{margin:6px 0;padding-left:16px}.sect-resident-log p{margin:6px 0 0}html[data-motion=reduced] .disciple-task-effect{display:none}html[data-text=large] .game-shell .sect-growth-journal :where(p,li,small,.growth-next){font-size:14px}@media (prefers-reduced-motion:reduce){.living-sect .world-effects *{animation:none!important}.disciple-task-effect{display:none}}@media (max-width:760px){.growth-milestone-grid{grid-template-columns:1fr;padding:0 11px 11px}.sect-growth-journal summary{padding-inline:11px}.sect-growth-journal summary small{margin-top:2px;margin-left:0;display:block}.sect-resident-log{padding:0 11px 11px}}
.disciple-story{border:1px solid var(--line);background:var(--paper);border-radius:22px;grid-template-columns:minmax(210px,.7fr) minmax(0,1.6fr);margin-top:20px;scroll-margin-top:130px;display:grid;overflow:hidden}.disciple-talent{background:color-mix(in srgb,var(--jade) 9%,var(--paper));border-right:1px solid var(--line);padding:25px}.disciple-story.bao .disciple-talent{background:color-mix(in srgb,#c99b53 10%,var(--paper))}.disciple-story.nini .disciple-talent{background:color-mix(in srgb,#9d80ce 10%,var(--paper))}.story-kicker{color:var(--jade-dark);align-items:center;gap:7px;font-size:11px;font-weight:850;display:inline-flex}.story-kicker svg{width:16px;height:16px}.disciple-talent h2{margin:14px 0 12px;font-size:25px}.disciple-story p{color:var(--muted);font-size:13px;line-height:1.75}.disciple-talent p.talent-effect{color:var(--ink);font-size:15px;font-weight:800}.disciple-story small{color:var(--muted);font-size:11px;line-height:1.6;display:block}.disciple-story-pages{min-width:0;padding:24px}.disciple-story-pages>header{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.story-chapter-track{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 14px;padding:0;list-style:none;display:grid}.story-chapter-track li{border-top:2px solid var(--line);padding-top:10px}.story-chapter-track li.current,.story-chapter-track li.complete{border-color:var(--jade-dark)}.story-chapter-track li>span{background:color-mix(in srgb,var(--jade) 12%,var(--paper));border-radius:50%;place-items:center;width:24px;height:24px;margin-bottom:6px;font-size:11px;font-weight:800;display:grid}.story-chapter-track svg{width:14px;height:14px;color:var(--jade-dark)}.disciple-story .story-promise{margin-bottom:20px;font-size:11px}.story-current{border-top:1px solid var(--line);padding-top:20px}.story-current h3{margin:0 0 10px;font-size:21px}.story-requirements{gap:8px;margin:18px 0;padding:0;list-style:none;display:grid}.story-requirements li{justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.story-requirements li span{align-items:center;gap:5px;display:flex}.story-requirements svg{width:14px;height:14px;color:var(--jade-dark);flex-shrink:0}.story-requirements strong{white-space:nowrap}.disciple-story p.story-reward{color:var(--jade-dark);font-weight:750}.story-current button{background:var(--jade-dark);min-height:44px;color:var(--paper);cursor:pointer;border:0;border-radius:12px;max-width:100%;margin:0 0 12px;padding:12px 18px;font-weight:800}.story-current button:disabled{opacity:.55;cursor:default}.story-current button:focus-visible,.story-memories summary:focus-visible{outline:3px solid var(--jade-dark);outline-offset:4px}.story-memories{border-top:1px solid var(--line);margin-top:18px}.story-memories summary{cursor:pointer;min-height:44px;padding:16px 0;font-size:12px;font-weight:800}.story-memories article+article{border-top:1px solid var(--line);padding-top:16px}.story-memories h3{font-size:16px}.story-memories blockquote{border-left:3px solid var(--jade);color:var(--ink);margin:12px 0 20px;padding-left:15px;font-size:13px;line-height:1.75}.disciple-card-copy .roster-story-ready{color:var(--jade-dark);font-weight:850}.talent-system-note{color:var(--jade-dark);font-size:12px;line-height:1.6}html[data-text=large] .game-shell .disciple-story p,html[data-text=large] .game-shell .disciple-story blockquote{font-size:15px}html[data-text=large] .game-shell .disciple-story li,html[data-text=large] .game-shell .disciple-story button{font-size:14px}html[data-text=large] .game-shell .disciple-story small,html[data-text=large] .game-shell .disciple-story summary,html[data-text=large] .game-shell .disciple-story .story-kicker{font-size:13px}@media (max-width:760px){.disciple-story{grid-template-columns:minmax(0,1fr)}.disciple-talent{border-right:0;border-bottom:1px solid var(--line);padding:20px}.disciple-story-pages{padding:20px}.story-chapter-track{gap:8px}}
.legacy-dialog{border:1px solid var(--line);width:min(920px,100% - 28px);max-height:calc(100dvh - 28px);color:var(--ink);background:var(--paper);border-radius:26px;margin:auto;padding:0;box-shadow:0 28px 100px #0006}.legacy-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c092bd6}.legacy-header{z-index:1;background:var(--paper);border-bottom:1px solid var(--line);grid-template-columns:48px minmax(0,1fr) 44px;align-items:center;gap:12px;padding:18px 22px;display:grid;position:sticky;top:0}.legacy-emblem{color:#fff;background:linear-gradient(140deg,#c09a4c,#8165b0);border-radius:16px;place-items:center;height:48px;display:grid}.legacy-header small{color:var(--jade-dark);font-size:11px;font-weight:900}.legacy-header h2{margin:2px 0 0;font-size:25px}.legacy-close{border:1px solid var(--line);width:44px;height:44px;color:var(--ink);background:var(--surface-muted);cursor:pointer;border-radius:12px;place-items:center;display:grid}.legacy-body{padding:22px}.legacy-summary{color:var(--muted);flex-wrap:wrap;gap:10px 24px;font-size:13px;display:flex}.legacy-summary strong{color:var(--ink);font-size:24px}.legacy-intro,.legacy-notice{color:var(--muted);font-size:13px;line-height:1.65}.legacy-notice,.legacy-kit{border:1px solid var(--line);background:var(--surface-muted);border-radius:14px;padding:14px}.legacy-specializations{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 24px;display:grid}.legacy-specialization{text-align:left;border:1px solid var(--line);background:var(--paper-soft);min-width:0;color:var(--ink);cursor:pointer;border-radius:19px;flex-direction:column;align-items:flex-start;padding:17px;display:flex}.legacy-specialization.selected{border:2px solid var(--jade-dark);background:color-mix(in srgb, var(--jade) 9%, var(--paper));padding:16px}.legacy-specialization:disabled{opacity:.8}.legacy-specialization-icon{background:color-mix(in srgb, var(--violet) 12%, var(--paper));width:40px;height:40px;color:var(--violet);border-radius:13px;place-items:center;margin-bottom:12px;display:grid}.legacy-specialization.sect .legacy-specialization-icon{color:var(--jade-dark);background:color-mix(in srgb, var(--jade) 12%, var(--paper))}.legacy-specialization.alchemy .legacy-specialization-icon{color:var(--peach);background:color-mix(in srgb, var(--peach) 12%, var(--paper))}.legacy-specialization small{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:900}.legacy-specialization strong{font-family:var(--font-display), sans-serif;margin:4px 0 6px;font-size:18px}.legacy-specialization em{color:var(--muted);font-size:12px;font-style:normal}.legacy-specialization p{flex:1;font-size:13px;line-height:1.55}.legacy-choice{color:var(--jade-dark);align-items:center;gap:6px;font-size:12px;font-weight:900;display:flex}.legacy-choice svg{width:16px}.legacy-body h3{font-family:var(--font-display), sans-serif;margin:0 0 12px;font-size:19px}.legacy-body h4{align-items:center;gap:8px;margin:0;font-size:14px;display:flex}.legacy-body h4 svg{width:19px;color:var(--jade-dark)}.legacy-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.legacy-tool-grid article{background:var(--paper-soft);border:1px solid var(--line);border-radius:16px;min-width:0;padding:16px}.legacy-tool-grid p,.legacy-batches p,.legacy-journey p,.legacy-kit p{color:var(--muted);font-size:12px;line-height:1.6}.legacy-tool-grid small,.legacy-kit small{color:var(--muted);font-size:11px;line-height:1.6;display:block}.legacy-tools button,.legacy-open-button,.legacy-quick-button{border:1px solid var(--line);background:var(--paper);min-height:44px;color:var(--jade-dark);cursor:pointer;border-radius:12px;padding:10px 13px;font-size:12px;font-weight:900}.legacy-tool-grid button{width:100%;margin:4px 0 9px}.legacy-auto{align-items:center;gap:8px;min-height:44px;font-size:12px;font-weight:800;display:flex}.legacy-auto input{width:19px;height:19px;accent-color:var(--jade-dark);flex-shrink:0}.legacy-batches{border:1px solid var(--line);border-radius:16px;margin-top:12px;padding:16px}.legacy-batches button{margin:0 8px 8px 0}.legacy-feedback{border-left:3px solid var(--jade);min-height:44px;color:var(--jade-dark);padding:12px;font-size:12px;line-height:1.6}.legacy-journey{margin-top:24px}.legacy-journey ol{gap:10px;padding:0;list-style:none;display:grid}.legacy-journey li{grid-template-columns:30px minmax(0,1fr);gap:12px;display:grid}.legacy-journey li>span{background:var(--surface-muted);width:30px;height:30px;color:var(--muted);border-radius:50%;place-items:center;font-size:12px;display:grid}.legacy-journey li.unlocked>span{color:var(--jade-dark);background:color-mix(in srgb, var(--jade) 15%, var(--paper))}.legacy-journey li svg{width:16px}.legacy-journey li strong{font-size:13px}.legacy-journey li p{margin:4px 0 7px}.legacy-kit{margin-top:20px}.legacy-kit>strong{font-size:14px}.legacy-open-button{justify-content:space-between;align-items:center;gap:8px;width:100%;margin-top:10px;display:flex}.legacy-open-button span{align-items:center;gap:6px;display:flex}.legacy-open-button svg{width:16px}.legacy-open-button small{color:var(--muted);font-size:10px}.legacy-toolbar{background:var(--paper);border:1px solid var(--line);border-radius:16px;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding:14px;display:flex}.legacy-toolbar>div{flex:1;min-width:160px}.legacy-toolbar strong,.legacy-toolbar small{display:block}.legacy-toolbar strong{font-size:14px}.legacy-toolbar small{color:var(--muted);font-size:12px;line-height:1.6}.legacy-next-unlock{background:var(--surface-muted);border-radius:13px;margin:12px 0;padding:13px;font-size:12px;line-height:1.6}.legacy-next-unlock p{color:var(--muted);margin:5px 0}html[data-text=large] .game-shell .legacy-dialog :where(p,li,small,em),html[data-text=large] .game-shell .legacy-toolbar :where(p,small),html[data-text=large] .game-shell .legacy-dialog button{font-size:14px}@media (max-width:660px){.legacy-dialog{border-radius:20px;width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.legacy-header{grid-template-columns:36px minmax(0,1fr) 44px;gap:8px;padding:12px}.legacy-emblem{height:36px}.legacy-header h2{font-size:20px}.legacy-body{padding:14px}.legacy-specializations,.legacy-tool-grid{grid-template-columns:1fr}.legacy-specialization{grid-template-columns:40px minmax(0,1fr);column-gap:12px;display:grid}.legacy-specialization-icon{grid-area:1/1/4}.legacy-specialization>small,.legacy-specialization>strong,.legacy-specialization>em{grid-column:2}.legacy-specialization>p,.legacy-specialization>.legacy-choice{grid-column:1/-1}}
.illustrated-battle{--battle-accent:#bff4dc;border-block:1px solid var(--border)}.battle-world{isolation:isolate;aspect-ratio:16/9;background:#223c45;position:relative;overflow:hidden}.battle-backdrop{object-fit:cover;z-index:-3}.battle-world-shade{z-index:-2;background:linear-gradient(#06192480,#0000 30% 80%,#14203340);position:absolute;inset:0}.battle-scene-caption{color:#fff9e8;text-shadow:0 2px 8px #10232a;gap:4px;display:grid;position:absolute;top:5%;left:4%}.battle-scene-caption span{font-size:clamp(15px,2vw,24px);font-family:var(--font-display), Georgia, serif}.battle-scene-caption small{font-size:11px}.battle-skip{z-index:8;color:#fff;background:#152c40e8;border:1px solid #ffffff80;border-radius:20px;min-height:40px;padding:8px 12px;font-size:11px;position:absolute;top:5%;right:3%}.battle-actor{transform-origin:50% 90%;width:32%;height:72%;position:absolute;bottom:7%}.battle-actor.mei{left:9%}.battle-actor.creature{width:36%;height:61%;bottom:9%;right:6%}.battle-actor.creature.boss{width:40%;height:69%;right:4%}.battle-actor-idle{transform-origin:50% 90%;position:absolute;inset:0}.battle-actor-idle img{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 7px #15223840)}.battle-ground-shadow{filter:blur(6px);background:#16263065;border-radius:50%;width:64%;height:9%;position:absolute;bottom:0;left:18%}.idle-sway{animation:5s ease-in-out infinite battle-sway}.idle-float{animation:4s ease-in-out infinite battle-float}.idle-breathe{animation:4.5s ease-in-out infinite battle-breathe}.idle-wobble{animation:3.5s ease-in-out infinite battle-wobble}.idle-orbit{animation:6s ease-in-out infinite battle-orbit}.creature .battle-actor-idle{animation-delay:-.7s}.battle-actor.casting{animation:.24s ease-out both battle-cast}.battle-actor.creature.hurt{animation:.4s ease-out both battle-enemy-hit}.battle-actor.creature.striking{animation:.45s ease-out both battle-counter}.battle-actor.mei.hurt{animation:.4s ease-out both battle-hero-hit}.battle-actor.blocking{animation:.4s ease-out both battle-block}.jade-ward,.moss-shell-ward,.second-dawn-aura{background:radial-gradient(#0000 45%,#5af2b755);border:3px solid #baffde;border-radius:50%;position:absolute;inset:8% -4% 0;box-shadow:0 0 18px #94ffc066,inset 0 0 25px #94ffc055}.jade-ward svg{color:#e3fff1;filter:drop-shadow(0 0 5px #077e4b);width:25%;height:25%;position:absolute;top:32%;right:-4%}.moss-shell-ward{background:0 0;border-color:#b6d67b90;inset:10% 0 8%;box-shadow:0 0 15px #cbe99550}.second-dawn-aura{background:0 0;border-color:#fff0bb90;inset:0;box-shadow:0 0 30px #f3dd9570}.battle-exchange-fx{pointer-events:none;position:absolute;inset:0}.technique-trail{width:14%;height:7%;animation:.24s ease-in both battle-projectile;position:absolute;top:53%;left:28%}.technique-trail i{background:linear-gradient(90deg,#0000,#9cfbda);border-radius:100%;position:absolute;inset:0;box-shadow:4px 0 15px #e7fff1}.technique-sword .technique-trail i{background:#e9f4ff;height:9%;transform:rotate(-15deg);box-shadow:0 0 8px #a8d0ff}.technique-sword .technique-trail i:nth-child(2){top:-55%;left:-15%}.technique-sword .technique-trail i:nth-child(3){top:65%;left:-25%}.technique-guard .technique-trail{width:8%;height:4%}.technique-comet .technique-trail{width:22%;height:12%}.technique-comet .technique-trail i{background:linear-gradient(90deg,#0000,#d3b1fa 55%,#fff5ca)}.impact-ring{aspect-ratio:1;border:4px solid #e6ffdf;border-radius:50%;width:17%;animation:.4s ease-out both battle-impact;position:absolute;top:45%}.enemy-impact{left:65%}.hero-impact{border-color:#ffe4bd;left:18%}.technique-guard .hero-impact{border-color:#9dffd5}.enemy-return{background:linear-gradient(90deg,#ffe8c3,#d8926980,#0000);border-radius:100%;width:16%;height:4%;animation:.22s ease-out both battle-return;position:absolute;top:58%;left:62%}.return-heavy{background:linear-gradient(90deg,#ffeab2,#eebf7790,#0000);height:9%}.return-trick{background:linear-gradient(90deg,#e5d1ff,#a6a1eb80,#0000)}.battle-number{color:#fff7d4;text-shadow:0 2px 2px #203245,1px 0 #203245,-1px 0 #203245;text-align:center;font:800 clamp(24px,4vw,42px)/1.1 Georgia,serif;animation:.45s ease-out both battle-number-rise;position:absolute;top:33%}.enemy-number{right:15%}.hero-number{color:#ffe9db;left:15%}.battle-number small{color:#ddffed;background:#18382ded;border-radius:8px;margin-top:5px;padding:4px 7px;font:700 clamp(10px,1.2vw,14px)/1.5 system-ui;display:block}.battle-number.healing{color:#d8ffe0}.battle-mechanic-note{color:#efffe4;background:#223623ed;border-radius:8px;padding:6px 10px;font-size:12px;position:absolute;bottom:6%;right:7%}.battle-atmosphere{pointer-events:none;z-index:-1;position:absolute;inset:0}.battle-atmosphere i{background:#ffe6a2;border-radius:50%;width:4px;height:4px;animation:9s linear infinite battle-mote;position:absolute;top:38%;left:15%;box-shadow:0 0 8px #ffe6a2}.battle-atmosphere i:nth-child(2){animation-delay:-3s;top:65%;left:32%}.battle-atmosphere i:nth-child(3){animation-delay:-6s;top:40%;left:54%}.battle-atmosphere i:nth-child(4){animation-delay:-2s;top:55%;left:79%}.battle-atmosphere i:nth-child(5){animation-delay:-5s;top:30%;left:91%}.region-verdant-wilds .battle-atmosphere i{width:8px;box-shadow:none;background:#b7e299;border-radius:0 80%;animation-name:battle-leaf}.region-comet-crossing .battle-atmosphere i{background:#e3dcff;animation-name:battle-star;box-shadow:0 0 10px #ddd0ff}.battle-scene-outcome{white-space:nowrap;color:#fff6dd;background:#172f45ed;border:1px solid #f7e7bb90;border-radius:30px;align-items:center;gap:8px;padding:10px 18px;font-size:14px;display:flex;position:absolute;bottom:5%;left:50%;transform:translate(-50%)}.battle-scene-outcome svg{width:18px}[data-result=victory] .creature{opacity:.55}.battle-vitals{background:var(--paper);grid-template-columns:1fr auto 1fr;gap:24px;padding:18px 24px 12px;display:grid}.battle-vital{min-width:0}.battle-vital strong{margin-bottom:7px;font-size:13px;line-height:1.4;display:block}.battle-vital>div{background:var(--border);border-radius:8px;height:8px;overflow:hidden}.battle-vital i{border-radius:inherit;background:#438e74;height:100%;transition:width .18s;display:block}.battle-vital.enemy i{background:#b97b60}.battle-vital small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.battle-vital.enemy{text-align:right}.battle-round{text-align:center;color:var(--muted);align-content:center;gap:5px;font-size:11px;display:grid}.battle-round small{font-size:10px}.battle-exchange-receipt{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:5px 16px;padding:8px 20px 14px;font-size:11px;display:flex}.enemy-orb.illustrated-enemy-preview{position:relative;overflow:visible}.illustrated-enemy-preview img{object-fit:contain}.illustrated-battle[data-paused=true] .battle-actor-idle,.illustrated-battle[data-paused=true] .battle-atmosphere i{animation-play-state:paused}@keyframes battle-sway{50%{transform:rotate(1.5deg)translateY(-2px)}}@keyframes battle-float{50%{transform:translateY(-10px)rotate(-2deg)}}@keyframes battle-breathe{50%{transform:scale(1.018,1.035)}}@keyframes battle-wobble{50%{transform:scale(1.05,.96)rotate(2deg)}}@keyframes battle-orbit{50%{transform:translateY(-8px)rotate(5deg)}}@keyframes battle-cast{60%{transform:translate(14%)rotate(3deg)}}@keyframes battle-enemy-hit{20%{transform:translate(6%)rotate(5deg)}65%{transform:translate(2%)rotate(-2deg)}}@keyframes battle-hero-hit{20%{transform:translate(-5%)rotate(-4deg)}}@keyframes battle-counter{40%{transform:translate(-18%)rotate(-6deg)}}@keyframes battle-block{30%{transform:translate(-2%)}}@keyframes battle-projectile{0%{transform:translate(0)scale(.5)}to{transform:translate(290%)scale(1.1)}}@keyframes battle-return{0%{opacity:.8;transform:translate(0)}to{opacity:0;transform:translate(-240%)}}@keyframes battle-impact{0%{opacity:.9;transform:scale(.4)}to{opacity:0;transform:scale(1.6)}}@keyframes battle-number-rise{0%{transform:translateY(8px)}to{transform:translateY(-12px)}}@keyframes battle-mote{0%,to{opacity:0;transform:translateY(20px)}30%,70%{opacity:.65}99%{transform:translate(24px,-55px)}}@keyframes battle-leaf{0%,to{opacity:0}30%,70%{opacity:.7}0%{transform:translateY(-25px)rotate(0)}99%{transform:translate(70px,65px)rotate(220deg)}}@keyframes battle-star{0%,to{opacity:.25;transform:scale(.7)}50%{opacity:.8;transform:scale(1.2)}}@media (max-width:600px){.battle-world{aspect-ratio:4/3}.battle-actor.mei{width:40%;height:69%;left:3%}.battle-actor.creature{width:43%;height:57%;right:3%}.battle-actor.creature.boss{width:47%;height:63%;right:1%}.battle-scene-caption{top:5%}.battle-scene-caption small{max-width:160px;font-size:10px}.battle-skip{padding:7px 9px;font-size:10px;top:4%}.battle-vitals{grid-template-columns:1fr 50px 1fr;gap:10px;padding:14px 12px 10px}.battle-vital strong{min-height:30px;font-size:11px}.battle-exchange-receipt{font-size:10px}.battle-scene-outcome{padding:8px 12px;font-size:11px}}html[data-motion=reduced] .illustrated-battle *,html[data-motion=reduced] .illustrated-battle :before{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){.illustrated-battle *,.illustrated-battle :before{transition:none!important;animation:none!important}}
.beta-dialog{border:1px solid var(--line);background:var(--paper);width:min(760px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--ink);box-shadow:var(--shadow);border-radius:22px;margin:auto;padding:0;overflow:auto}.beta-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0a081cb8}.beta-dialog header{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:20px;display:flex}.beta-dialog header>svg{color:var(--jade-dark);flex-shrink:0}.beta-dialog header>div{flex:1;min-width:0}.beta-dialog header small{color:var(--jade-dark);font-size:11px}.beta-dialog h2{margin:4px 0;font-size:24px}.beta-body{padding:20px;font-size:15px;line-height:1.6}.beta-body p{margin:0 0 16px}.beta-body fieldset{border:0;min-width:0;margin:0;padding:0}.beta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.beta-body label{gap:6px;min-width:0;margin:0 0 16px;font-size:14px;display:grid}.beta-body input:not([type=checkbox]),.beta-body textarea,.beta-body select{box-sizing:border-box;border:1px solid var(--line);background:var(--surface-muted);width:100%;min-width:0;min-height:44px;color:var(--ink);font:inherit;border-radius:10px;padding:11px}.beta-body textarea{resize:vertical}.beta-dialog button{border:1px solid var(--line);background:var(--surface-muted);min-height:44px;color:var(--ink);cursor:pointer;font:inherit;border-radius:12px;padding:10px 16px}.beta-dialog .beta-submit{background:var(--jade-dark);color:var(--paper);width:100%;font-weight:800}.beta-body .beta-check{align-items:center;gap:10px;display:flex}.beta-check input{width:20px;height:20px}.beta-body .beta-note{color:var(--muted);font-size:13px}.beta-body .beta-error{color:var(--ink);font-weight:700}@media (max-width:600px){.beta-grid{grid-template-columns:minmax(0,1fr);gap:0}.beta-dialog header,.beta-body{padding:16px}.beta-dialog h2{font-size:21px}}
.soul-dialog{border:1px solid var(--line);background:var(--paper);width:min(980px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:var(--shadow);border-radius:24px;margin:auto;padding:0;overflow:auto}.soul-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0a081cbd}.soul-dialog>header{background:var(--paper);border-bottom:1px solid var(--line);grid-template-columns:48px minmax(0,1fr) 44px;align-items:center;gap:12px;padding:18px 22px;display:grid}.soul-dialog h2{margin:3px 0 0;font-size:25px}.soul-dialog header small{color:var(--jade-dark);font-size:12px}.soul-emblem{background:color-mix(in srgb,var(--violet) 18%,var(--paper));height:48px;color:var(--violet);border-radius:16px;place-items:center;display:grid}.soul-dialog button{border:1px solid var(--line);background:var(--surface-muted);min-height:44px;color:var(--ink);cursor:pointer;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.5}.soul-dialog>nav{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;padding:12px 22px;display:flex}.soul-dialog>nav button{flex:1}.soul-dialog button[aria-pressed=true],.soul-dialog .soul-primary{background:var(--jade-dark);color:var(--paper);border-color:var(--jade-dark);font-weight:800}.soul-body{padding:8px 22px 26px}.soul-body p{color:var(--muted);font-size:14px;line-height:1.65}.soul-body small{color:var(--muted);font-size:12px;line-height:1.5}.soul-body h3{margin:24px 0 8px;font-size:20px}.soul-body h4{margin:0 0 8px;font-size:16px}.soul-body .soul-feedback{color:var(--jade-dark);min-height:24px}.soul-overview{background:color-mix(in srgb,var(--violet) 10%,var(--paper));border-radius:18px;align-items:flex-start;gap:14px;padding:18px;display:flex}.soul-overview>svg{color:var(--violet);flex-shrink:0;margin-top:3px}.soul-overview h3{margin:0}.soul-overview p{margin-bottom:0}.soul-counters{flex-wrap:wrap;gap:12px;margin:18px 0;display:flex}.soul-counters>span{border:1px solid var(--line);border-radius:14px;flex:1;min-width:120px;padding:13px;font-size:13px}.soul-counters strong{color:var(--jade-dark);overflow-wrap:anywhere;font-size:23px;display:block}.soul-requirements{padding:0;list-style:none}.soul-requirements li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;font-size:13px;display:flex}.soul-requirements li>span{align-items:center;gap:6px;display:flex}.soul-requirements li>strong{flex-shrink:0}.soul-requirements svg{flex-shrink:0;width:16px}.soul-requirements .met{color:var(--jade-dark)}.soul-body .soul-reward{border:1px solid var(--jade);color:var(--ink);border-radius:12px;padding:14px}.soul-reset-ledger,.soul-secret-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.soul-reset-ledger article,.soul-card-grid article,.soul-secret-grid article{border:1px solid var(--line);background:var(--surface-muted);border-radius:16px;min-width:0;padding:16px}.soul-reset-ledger h3{margin-top:0}.soul-body .soul-warning{border:1px solid var(--peach);color:var(--ink);border-radius:12px;padding:14px}.soul-reset-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.soul-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.soul-card-grid article{flex-direction:column;display:flex}.soul-card-grid button{width:100%;margin-top:auto}.soul-card-grid .chosen,.soul-secret-grid .discovered{border-color:var(--jade)}.soul-secret-grid strong{color:var(--jade-dark);font-size:14px}.soul-open-button{margin-top:10px}@media (max-width:700px){.soul-dialog{border-radius:18px;width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}.soul-dialog>header{grid-template-columns:36px minmax(0,1fr) 44px;gap:8px;padding:14px}.soul-emblem{height:36px}.soul-dialog h2{font-size:20px}.soul-dialog>nav{gap:6px;padding:10px 14px}.soul-dialog>nav button{padding:8px;font-size:12px}.soul-body{padding:4px 14px 20px}.soul-card-grid,.soul-reset-ledger,.soul-secret-grid{grid-template-columns:minmax(0,1fr)}.soul-requirements li{align-items:flex-start}.soul-reset-actions button{width:100%}}
.journey-chapters{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:16px 18px 0;display:grid}.journey-chapters button{text-align:left;background:var(--paper);border:1px solid var(--line);min-height:76px;color:var(--ink);border-radius:12px;gap:7px;padding:12px;display:grid}.journey-chapters button[aria-pressed=true]{border-color:var(--jade);box-shadow:inset 0 0 0 1px var(--jade)}.journey-chapters small{color:var(--muted);font-size:10px}.journey-chapters strong{font-size:12px;line-height:1.45}.journey-chapter-detail{color:var(--muted);padding:18px;font-size:12px;line-height:1.7}.journey-chapter-detail>strong{color:var(--ink);font-size:16px}.journey-chapter-detail p{margin:7px 0}.journey-chapter-detail small{color:var(--jade);font-size:11px}.journey-battle-rule{border-top:1px solid var(--line);color:var(--muted);background:var(--paper);margin:0;padding:14px 22px;font-size:12px;line-height:1.7}.journey-battle-rule strong{color:var(--jade)}@media (max-width:700px){.journey-chapters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 12px 0}}
