/* V25 · cinematic, original-species art and relationship UI */
.v25-starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.v25-starter-choice{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 6px;border:2px solid #577387;background:linear-gradient(158deg,#193a4e,#0e2438);border-radius:17px;color:#f9f3df;cursor:pointer;min-width:0;transition:border-color .2s,transform .2s,background .2s}
.v25-starter-choice.selected,.v25-starter-choice:focus-visible{border-color:#f9cd72;background:linear-gradient(158deg,#315b66,#18374e);transform:translateY(-3px)}
.v25-starter-choice img{width:100%;height:135px;object-fit:contain;filter:drop-shadow(0 8px 13px #061624)}
.v25-starter-choice b{font-size:1.05rem}.v25-starter-choice span{font-size:.78rem;color:#cddedc;line-height:1.4}
.v25-vale-head,.v25-grandma,.v25-preview-row,.v25-rival-head{display:flex;gap:12px;align-items:center;background:#112e40;padding:13px;border-radius:15px;border:1px solid #53728a}
.v25-vale-head img,.v25-grandma img{width:70px;height:88px;object-fit:contain;flex-shrink:0;image-rendering:auto}
.v25-vale-head p,.v25-grandma p{margin:5px 0;line-height:1.5;color:#f1e5cd}
.v25-preview{background:#0d2538;padding:12px;border:1px solid #4f6b7e;border-radius:15px;min-height:76px}
.v25-preview-row img{width:130px;height:125px;object-fit:contain;flex-shrink:0}
.v25-preview-row p{margin:6px 0}.v25-first-promise{text-align:center;max-width:440px;margin:auto}.v25-first-promise img{height:200px;width:220px;object-fit:contain;animation:v25-idle 3s ease-in-out infinite}.v25-first-promise p{line-height:1.6}.v25-first-promise label{display:block;text-align:left;margin:12px 0 6px}.v25-first-promise input{width:100%;margin-bottom:12px;background:#10263b;border:1px solid #6c90a3;border-radius:8px;color:white;padding:13px;font-size:16px}.v25-rival-head img{height:130px;width:100px;object-fit:contain;flex-shrink:0}.v25-rival-head p{line-height:1.5}
.v25-cinema{position:relative;overflow:hidden;border-radius:18px;border:1px solid #5a84a0;background:#071727;box-shadow:0 15px 55px #040c18}
.v25-scene{height:230px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#1e5970 0%,#163c59 37%,#0a2544 71%,#121c35 100%)}
.v25-scenic-bg{position:absolute;inset:-12%;background:linear-gradient(0deg,#0818279e,transparent 70%),url('assets/intro.webp') center 47%/cover;animation:v25-pan 17s ease-in-out infinite alternate;opacity:.72;z-index:-1}
.v25-scene::after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#071727);pointer-events:none}
.v25-scene-portrait{position:absolute;right:5%;bottom:-25px;width:min(55%,275px);height:245px;object-fit:contain;filter:drop-shadow(0 8px 14px #071525);animation:v25-breathe 4s ease-in-out infinite}
.v25-scene-kicker{position:absolute;top:18px;left:18px;max-width:63%;font-size:.72rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase;color:#fff0b3;text-shadow:0 2px 8px #06121a}
.v25-scene-copy{position:relative;padding:18px;min-height:155px}.v25-scene-text{font-size:1.05rem;line-height:1.65;color:#faf1df;margin:0 0 20px;white-space:pre-wrap}
.v25-cinema button{min-height:43px}.v25-skip{margin-left:8px;padding:8px 12px;background:transparent;border:1px solid #58758b;border-radius:10px;color:#c5d4df}
.v25-dialog-choices{display:flex;flex-wrap:wrap;gap:8px}.v25-dialog-choices button{flex:1 1 180px;text-align:center}
.v25-progress{margin:12px 0 18px;padding:14px;border-radius:12px;background:#102c40}.v25-meter{height:10px;border-radius:10px;overflow:hidden;background:#40586a;margin-top:9px}.v25-meter span{height:100%;display:block;background:linear-gradient(90deg,#61d8aa,#f3d889)}
.v25-coverage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;font-size:.87rem}.v25-coverage>div{padding:6px;color:#bfcbd3;border-bottom:1px solid #ffffff16}.v25-coverage>div.done{color:#99e8cb}
.v25-journal-lead{background:linear-gradient(120deg,#28566b,#142d4a);padding:16px;border-radius:15px;border:1px solid #527a8a}.v25-journal-lead span{color:#fce2a3;font-size:.79rem;font-weight:800;letter-spacing:.12em}.v25-journal-lead h3{margin:6px 0}.v25-journal-lead p{line-height:1.5}.v25-alert{padding:12px;border-radius:10px;border:1px solid #deb66c;background:#66412555;color:#f9e3b7}
@keyframes v25-pan{from{transform:translate(-1%,0) scale(1.02)}to{transform:translate(4%,-3%) scale(1.11)}}@keyframes v25-breathe{50%{transform:translateY(-5px)}}@keyframes v25-idle{50%{transform:translateY(-6px)}}
@media(max-width:600px){.v25-starter-grid{gap:5px}.v25-starter-choice{padding:6px 3px;border-radius:10px}.v25-starter-choice img{height:88px}.v25-starter-choice b{font-size:.78rem}.v25-starter-choice span{font-size:.67rem}.v25-vale-head,.v25-preview-row,.v25-rival-head{gap:7px}.v25-vale-head img,.v25-grandma img{width:52px}.v25-preview-row img{height:85px;width:90px}.v25-rival-head img{height:78px;width:59px}.v25-scene{height:180px}.v25-scene-portrait{height:200px}.v25-scene-copy{padding:13px}.v25-scene-text{font-size:.93rem}.v25-coverage{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.v25-scene-portrait,.v25-scenic-bg,.v25-first-promise img{animation:none!important}}
body.v22-reduced .v25-scene-portrait,body.v22-reduced .v25-scenic-bg,body.v22-reduced .v25-first-promise img{animation:none!important}
.v25-credits{text-align:center;padding:20px 16px;background:linear-gradient(160deg,#173a57,#0d2039);border-radius:16px;color:#f4e7c8}.v25-credits h2{font-size:1.6rem;letter-spacing:.08em;color:#ffdb91}.v25-credits p{line-height:1.7;margin:18px auto;max-width:490px}
/* Distinct elemental evolution auras reuse and extend the original evolution animation. */
.v25-evolution .evolution-stage{position:relative;isolation:isolate;border:2px solid var(--v25-evo-glow,#ffe58e);border-radius:20px;background:radial-gradient(ellipse at center,var(--v25-evo-wash,#564b31),#0a1b2e 74%)}
.v25-evo-fire{--v25-evo-glow:#ffae56;--v25-evo-wash:#75391f}.v25-evo-water{--v25-evo-glow:#76daff;--v25-evo-wash:#1c506f}.v25-evo-nature{--v25-evo-glow:#91eda0;--v25-evo-wash:#285e44}
.v25-evolution .evolution-ring{border-color:var(--v25-evo-glow);filter:drop-shadow(0 0 18px var(--v25-evo-glow))}
.v25-evolution .evolution-stage::after{content:'✦  ✧  ✦';position:absolute;z-index:2;left:0;right:0;top:6px;color:var(--v25-evo-glow);text-align:center;letter-spacing:2rem;animation:v25-glitter 1.8s ease-in-out infinite alternate;pointer-events:none}
.v25-evo-note{text-align:center;line-height:1.5;color:#faebc2}
@keyframes v25-glitter{from{opacity:.3;transform:translateY(0)}to{opacity:1;transform:translateY(18px)}}
@media(prefers-reduced-motion:reduce){.v25-evolution .evolution-stage::after{animation:none}}
body.v22-reduced .v25-evolution .evolution-stage::after{animation:none}
