/* V23 · Focused UX redesign: legible team/upgrade flows, living guide, battle anticipation and payoff. */
.v23-team-screen{padding-bottom:100px!important;color:#f2e8dc}.v23-team-title{margin:4px 0 15px;padding:22px 17px;border:1px solid #bd9c6b60;border-radius:17px;background:radial-gradient(ellipse at 78% 15%,#64487990,transparent 50%),linear-gradient(135deg,#13192a,#181327 70%,#0a1421);box-shadow:0 12px 42px #0006}.v23-team-title span,.v23-eyebrow{font:10px Georgia,serif;letter-spacing:.2em;color:#dcbf86}.v23-team-title h1{font:700 clamp(26px,7.1vw,36px) Georgia,'Yu Mincho',serif;margin:8px 0 7px;color:#ffebc7}.v23-team-title p{font:12px/1.7 sans-serif;color:#b9b7d0;margin:0}
.v23-mascot{min-height:132px;display:flex;position:relative;gap:9px;align-items:center;border:1px solid #e0b8847b;border-radius:16px;background:linear-gradient(120deg,#3a2432,#191c31 52%,#161627);box-shadow:0 7px 32px #0d0919a8,inset 0 1px #ffe2ae25;margin:13px 0 18px;padding:9px 29px 9px 7px;cursor:pointer;overflow:hidden;isolation:isolate}.v23-mascot:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 14% 43%,#d3a46544,transparent 40%);z-index:-1}.v23-mascot-picture{position:relative;flex:0 0 106px;height:112px;display:grid;align-items:end;justify-items:center}.v23-mascot-picture img{position:relative;height:115px;width:111px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 8px #000a);transform-origin:50% 90%;animation:v23-idle 4.2s ease-in-out infinite}.v23-mascot-copy{flex:1;min-width:0;position:relative}.v23-mascot-copy small{font:9px/1.6 sans-serif;letter-spacing:.04em;color:#eec8a8}.v23-mascot-copy small span{color:#a9bcd7;display:block;font-size:9px}.v23-mascot-copy strong{display:block;font:700 16px/1.55 'Yu Mincho',Georgia,serif;color:#fff1d0;margin-top:4px}.v23-mascot-copy p{font-size:11px;line-height:1.6;color:#d1c4d0;margin:5px 0 0}.v23-mascot-more{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:26px;color:#dcb888}.v23-mascot-light{position:absolute;width:30px;height:30px;left:55%;top:46%;background:radial-gradient(circle,#ffe3a7a6,transparent 70%);animation:v23-lantern 2.5s infinite alternate;pointer-events:none}.v23-ant{position:absolute;left:45%;top:2%;height:45px;width:2px;background:#d2a268;border-radius:2px;z-index:2;transform-origin:bottom;opacity:.72;animation:v23-antenna 2.2s ease-in-out infinite alternate;pointer-events:none}.v23-ant-a{transform:rotate(-24deg) translate(-17px,-5px)}.v23-ant-b{transform:rotate(28deg) translate(12px,-8px);animation-delay:-1.1s}.v23-happy .v23-actor{animation:v23-hop 2.8s cubic-bezier(.22,.7,.32,1) infinite}.v23-point .v23-actor{animation:v23-point 2.6s ease-in-out infinite}.v23-mascot:active .v23-actor{animation:v23-hop .5s ease-out 2}.v23-home-guide{margin:14px 0}.v23-home-guide .v23-mascot{min-height:137px}
@keyframes v23-idle{0%,100%{transform:translateY(2px) rotate(-1deg)}50%{transform:translateY(-4px) rotate(1.5deg)}}@keyframes v23-hop{0%,48%,100%{transform:translateY(0) rotate(0)}55%{transform:translateY(-12px) rotate(-4deg)}65%{transform:translateY(1px) rotate(2deg)}}@keyframes v23-point{0%,100%{transform:translateY(1px) rotate(-3deg)}45%{transform:translateY(-5px) rotate(6deg)}65%{transform:translateY(-3px) rotate(5deg)}}@keyframes v23-antenna{0%{translate:-3px -1px}100%{translate:5px 3px}}@keyframes v23-lantern{to{opacity:.35;transform:scale(1.5)}}
.v23-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 19px}.v23-tabs button{min-height:51px;border-radius:12px;color:#c8bfd2;background:#151c2d;border:1px solid #6e6680;box-shadow:inset 0 1px #ffffff12;font-size:14px;font-weight:800}.v23-tabs button.active{background:linear-gradient(125deg,#edcf97,#b590bc);color:#20162b;border-color:#ffe4ba;box-shadow:0 4px 21px #bea36d44}.v23-board{padding:0 1px}.v23-board h2{font-size:20px;color:#fff0d1;line-height:1.45;margin:7px 0}.v23-muted{font-size:12px;color:#c9c2d4;line-height:1.85;margin:4px 0 14px}.v23-gold{color:#ffdb93;font-weight:800}
.v23-party-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v23-party-slot{color:#eee4e3;background:linear-gradient(170deg,#2b2339,#111b2d);border:1px solid #8f789159;border-radius:14px;padding:10px 4px 9px;min-height:166px;display:flex;flex-direction:column;align-items:center;gap:5px;position:relative;box-shadow:0 8px 23px #0007;overflow:hidden}.v23-party-slot.is-focus{border:2px solid #f6d092;background:linear-gradient(170deg,#4a354c,#171c2d);box-shadow:0 0 0 2px #ffe0a31b,0 0 25px #dab77b45}.v23-party-slot img{width:100%;height:88px;object-fit:contain;filter:drop-shadow(0 3px 7px #0008)}.v23-party-slot b{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}.v23-party-slot small{font-size:9px;color:#c9b5ca}.v23-slot-label{font:9px Georgia,serif;letter-spacing:.06em;color:#dec48f}.v23-party-slot i{font:9px sans-serif;color:#f2d09e;font-style:normal;position:relative;bottom:0}.v23-empty{height:88px;display:grid;place-items:center;font-size:44px;color:#b398cf}.v23-selection-hint{border:1px solid #aa93b066;background:#272034;border-radius:12px;padding:10px 12px;display:flex;align-items:center;gap:10px;margin:13px 0 17px}.v23-number{font:700 24px Georgia,serif;color:#ffdc9a;border:1px solid #bda16f;padding:5px 13px;border-radius:9px}.v23-selection-hint strong{font-size:12px;color:#fce6c3}.v23-selection-hint p{color:#d4bfd0;font-size:10px;margin:3px 0;line-height:1.5}
.v23-actions-between{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:14px 0 8px}.v23-actions-between b,.v23-actions-between strong{color:#ffe4af;font-size:13px}.v23-actions-between button{background:#1c2638;border:1px solid #5e6777;border-radius:8px;padding:9px;color:#e4deee;font-size:10px}.v23-filterline{display:flex;gap:6px;overflow-x:auto;margin-bottom:10px}.v23-filterline button{min-width:52px;padding:8px 12px;border-radius:24px;border:1px solid #706e84;background:#1b1b2d;color:#d4cede}.v23-filterline button.current{color:#182236;background:#e7ca95;border-color:#ffddaa;font-weight:800}
.v23-roster{display:grid;grid-template-columns:1fr;gap:7px;max-height:520px;overflow-y:auto;overscroll-behavior:contain}.v23-rosteritem{display:flex;align-items:center;gap:10px;width:100%;min-height:75px;padding:7px 10px;border-radius:12px;background:linear-gradient(100deg,#25253c,#161f32);border:1px solid #776b786f;color:#ffeddf;text-align:left}.v23-rosteritem.in-party{border-color:#af9d69;background:linear-gradient(100deg,#373046,#1c2637)}.v23-roster-image{width:59px;height:62px;flex:none;display:grid;place-items:center}.v23-roster-image img{width:100%;height:100%;object-fit:contain}.v23-roster-copy{min-width:0;flex:1}.v23-roster-copy b{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v23-roster-copy small{font-size:10px;color:#c1bed3;display:block;margin-top:5px}.v23-roster-pick{font-size:11px;font-weight:900;color:#ffe0a0;background:#a5897936;border-radius:9px;padding:8px 9px;white-space:nowrap}.v23-enter-battle,.v23-primary,.v23-result-next{display:block;width:100%;border:1px solid #ffe4a7;background:linear-gradient(115deg,#f7dea2,#cda4b4);border-radius:13px;color:#281b2e;padding:15px;font-size:15px;font-weight:900;box-shadow:0 5px 21px #c3a37355;margin:16px 0}.v23-enter-battle span,.v23-primary span{float:right}.v23-primary:disabled{opacity:.43;filter:grayscale(.6);box-shadow:none}.v23-primary:active,.v23-enter-battle:active{transform:scale(.98)}
.v23-training-focus{display:flex;gap:9px;align-items:center;margin:14px 0;background:linear-gradient(140deg,#29314b,#17182b);border:1px solid #cab78c6b;padding:12px;border-radius:14px}.v23-focus-image{flex:0 0 48%;height:178px;background:radial-gradient(circle,#a7a4d938,transparent 60%);display:grid;place-items:center}.v23-focus-image img{width:100%;height:100%;object-fit:contain}.v23-focus-title{min-width:0}.v23-focus-title small{font-size:10px;color:#ddc39d}.v23-focus-title h3{font:700 18px 'Yu Mincho',serif;color:#fff0c9;margin:7px 0;overflow-wrap:anywhere}.v23-level{font:700 25px Georgia,serif;color:#eebbd3}.v23-level span{font-size:12px;color:#aaa9ba}.v23-stat-pills{display:flex;gap:4px;flex-wrap:wrap;margin-top:8px}.v23-stat-pills span{font-size:10px;color:#ebd7af;border:1px solid #7b7486;padding:5px;border-radius:5px}.v23-train-box,.v23-evo-box{background:#151e30;border:1px solid #76668187;border-radius:15px;padding:13px;margin:13px 0 18px}.v23-train-box small{color:#b0c0cc;font-size:11px}.v23-bar{background:#3f3545;height:9px;border-radius:12px;overflow:hidden;margin:12px 0 5px}.v23-bar i{display:block;background:linear-gradient(90deg,#6e9ce9,#d1b5ef);height:100%;border-radius:12px}.v23-warning{color:#edbc98;font-size:11px}.v23-evo-pair{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;gap:3px;margin:10px 0}.v23-evo-pair>div{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}.v23-evo-pair img{height:105px;max-width:100%;object-fit:contain}.v23-evo-pair b{font-size:10px;color:#e1c9b3}.v23-evo-pair>span{font-size:21px;color:#eacc93;text-align:center}.v23-checklist{display:grid;gap:6px}.v23-checklist>div{display:flex;justify-content:space-between;gap:8px;border-radius:9px;border:1px solid #6d6173;padding:10px;background:#39243375;color:#e4b4b9;font-size:11px}.v23-checklist>div.complete{background:#173b3655;border-color:#5e957f;color:#b8efce}.v23-checklist strong{white-space:nowrap}.v23-success{color:#a8f1c3}.v23-smalltag{font-size:10px;color:#b4c4df}.v23-train-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:425px;overflow-y:auto}.v23-train-roster button{padding:8px 5px;background:#1c2538;border:1px solid #696980;color:#f0decd;border-radius:11px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px}.v23-train-roster button.selected{border-color:#f5d79e;background:#4c354b}.v23-train-roster img{width:100%;height:90px;object-fit:contain}.v23-train-roster b{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}.v23-train-roster small{font-size:9px;color:#decfa8}.v23-secondary{border-radius:10px;background:#22334a;border:1px solid #8ca4b8;color:#ecdfca;padding:13px;margin:10px 0;width:100%;font-weight:700}
/* Cinematic pre-battle interstitial; pauses enemy timer until deliberate start */
.v23-prebattle{padding:calc(10px + env(safe-area-inset-top)) 13px calc(13px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#0c102cf0,#090b1ff2);justify-content:space-around;gap:5px}.v23-prebattle h2{font:700 20px/1.3 'Yu Mincho',Georgia,serif;color:#ffe9c2;margin:3px 0;white-space:normal}.v23-pre-badge{font:10px Georgia,serif;color:#f0be86;letter-spacing:.13em}.v23-boss-image{position:relative;width:min(80%,280px);flex:1;min-height:105px;max-height:38%;background:radial-gradient(ellipse at 50% 60%,#c2727f55,transparent 65%);border-radius:15px;display:grid;place-items:center}.v23-boss-image img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 5px 25px #a9629c77);animation:v23-enemy-enter .85s cubic-bezier(.15,.7,.2,1) both}.v23-boss-image span{position:absolute;bottom:0;left:0;right:0;color:#f3be99;font-size:9px;letter-spacing:.12em;text-shadow:0 2px 7px black}.v23-prebattle h3{margin:1px 0;font-size:19px;color:#f1dfca}.v23-prebattle h3 small{font-size:10px;color:#d1ad95;margin-left:5px}.v23-prebattle p{font-size:11px;line-height:1.6;max-width:360px;margin:0}.v23-pre-squad{display:flex;gap:7px;width:100%;justify-content:center}.v23-pre-squad>div{border:1px solid #8a799766;background:#221d36b9;border-radius:9px;min-width:0;flex:1;max-width:105px;padding:5px;display:flex;align-items:center;gap:2px;flex-direction:column}.v23-pre-squad img{height:48px;max-width:100%;object-fit:contain}.v23-pre-squad b{font-size:9px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v23-pre-guide{display:flex;align-items:center;gap:9px;border:1px solid #be9a7877;background:linear-gradient(120deg,#443046,#222137);border-radius:13px;padding:4px 10px;width:100%;min-height:72px}.v23-pre-guide img{height:64px;width:58px;object-fit:contain;animation:v23-point 2s infinite}.v23-pre-guide span{font-size:12px;color:#ffedc8;line-height:1.55;text-align:left}.v23-pre-buttons{display:grid;grid-template-columns:.82fr 1.2fr;gap:8px;width:100%}.v23-pre-buttons button{margin:0;padding:13px 7px;border-radius:12px;font-size:11px;font-weight:800;background:#202b42;border:1px solid #7a8ea0;color:#e9d5c3}.v23-pre-buttons button.v23-start-button{font-size:14px;background:linear-gradient(120deg,#ffdcb0,#b8a6e9);color:#18192c;border-color:#ffeed3;box-shadow:0 0 30px #bb9e6c77;animation:v23-cta-pulse 2s infinite alternate}
@keyframes v23-enemy-enter{from{opacity:0;transform:scale(1.35) translateY(22px);filter:brightness(.1)}to{opacity:1;transform:scale(1);filter:brightness(1)}}@keyframes v23-cta-pulse{to{box-shadow:0 0 45px #ffdc9a99}}
/* Victory payoff occupies the entire screen; player explicitly confirms reward. */
.v23-clear-cut{position:fixed;inset:0;z-index:30000;background:radial-gradient(ellipse at center,#685079,#1a1c36 46%,#050c18 85%);display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;animation:v23-cut-out 1.3s ease-in both;color:#fff2d4;overflow:hidden}.v23-clear-cut small{letter-spacing:.35em;font:11px Georgia,serif;z-index:2}.v23-clear-cut strong{font:700 clamp(32px,10vw,62px) Georgia,serif;text-shadow:0 0 24px #fad49c;z-index:2;white-space:nowrap;animation:v23-title-pop .65s ease-out}.v23-clear-cut>span{font:20px 'Yu Mincho',serif;margin-top:13px;color:#b5f3d9}.v23-cut-burst{position:absolute;width:180vmax;height:180vmax;border:3px solid #fae5b0;border-radius:50%;box-shadow:0 0 80px #d6a3d5,0 0 140px #d8be82;animation:v23-radial 1.3s ease-out both}.v23-result-wrap{position:fixed;inset:0;z-index:8000;background:#080d17;overflow-y:auto;overscroll-behavior:contain;color:#ffedda;-webkit-overflow-scrolling:touch}.v23-result-content{min-height:100%;background:radial-gradient(ellipse at 50% 17%,#443354,#151528 56%,#0a0e19 90%);padding:calc(30px + env(safe-area-inset-top)) 18px calc(35px + env(safe-area-inset-bottom));text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.v23-result-content.victory{background:radial-gradient(ellipse at 50% 20%,#685070,#23172e 55%,#080c17 96%)}.v23-result-stars{font:24px Georgia;color:#ffe7b2;animation:v23-star-glow 2s infinite alternate}.v23-result-content small{color:#f2cea0;letter-spacing:.16em;font-size:10px}.v23-result-content h1{font:700 clamp(45px,13vw,68px) Georgia,serif;color:#ffe3ab;text-shadow:0 0 30px #d8aa89,0 6px 15px #000;margin:4px 0 0;animation:v23-title-pop .85s both}.v23-result-content h2{font-size:20px;color:#f9ebda;margin:0}.v23-result-content p{font-size:12px;color:#dbc5d2;margin:0}.v23-result-hero{position:relative;max-width:340px;width:100%;height:clamp(138px,25vh,230px);display:grid;place-items:center;background:radial-gradient(ellipse,#b0a0ee36,transparent 70%)}.v23-result-hero>img{height:100%;max-width:100%;object-fit:contain;z-index:2;filter:drop-shadow(0 5px 15px #bdaaff66);animation:v23-hero-entry .9s both}.v23-result-rays{position:absolute;width:70%;aspect-ratio:1;border-radius:50%;border:1px solid #ffe0a56e;box-shadow:0 0 55px #ffc98955;animation:v23-rotate 13s linear infinite}.v23-rewards{max-width:450px;width:100%;border:1px solid #c29e7288;background:#10182abf;box-shadow:0 8px 50px #000b;padding:14px 12px;border-radius:15px}.v23-rewards>strong{display:block;color:#ffdfac;margin-bottom:10px;font-size:15px}.v23-reward-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.v23-reward-grid span{padding:10px 4px;border:1px solid #987f9188;border-radius:9px;background:#3b30434f;display:flex;flex-direction:column;gap:4px}.v23-reward-grid b{font-size:19px;color:#dbf2ff}.v23-reward-grid small{font-size:10px;color:#c9bad8;letter-spacing:0}.v23-reward-more{font-size:11px;color:#dacebb;padding:7px 0 0}.v23-result-haruno{display:flex;align-items:center;gap:10px;max-width:450px;width:100%;padding:5px 10px;border:1px solid #dbbc9b66;border-radius:12px;background:#392938ba;text-align:left}.v23-result-haruno img{height:64px;width:60px;object-fit:contain;animation:v23-hop 2.1s infinite}.v23-result-haruno span{font-size:12px;line-height:1.6;color:#ffe4c4}.v23-result-next{max-width:450px;margin:10px 0 0}
@keyframes v23-title-pop{from{opacity:0;transform:scale(1.6)}to{opacity:1;transform:scale(1)}}@keyframes v23-hero-entry{from{opacity:0;transform:translateY(60px) scale(.7)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes v23-star-glow{to{filter:drop-shadow(0 0 18px #ffe6a7)}}@keyframes v23-cut-out{0%,60%{opacity:1}100%{opacity:0}}@keyframes v23-radial{from{transform:scale(.04);opacity:1}to{transform:scale(1);opacity:0}}@keyframes v23-rotate{to{transform:rotate(360deg)}}
/* Haruno help sheet; original face source never retouched. */
.v23-help-veil{position:fixed;inset:0;z-index:50000;background:#050b17d9;display:grid;place-items:center;padding:20px;backdrop-filter:blur(8px)}.v23-help-dialog{width:min(100%,480px);max-height:90dvh;overflow-y:auto;position:relative;border:1px solid #f4d5a4;background:linear-gradient(145deg,#382637,#101a2f);box-shadow:0 20px 90px #000;border-radius:20px;text-align:center;padding:20px}.v23-help-dialog>img{height:205px;width:100%;object-fit:contain;animation:v23-hop 2.5s infinite}.v23-help-dialog>small{display:block;font:10px Georgia,serif;letter-spacing:.15em;color:#e2c399}.v23-help-dialog h2{font-size:21px;color:#ffedc6}.v23-help-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.v23-help-grid button{display:flex;flex-direction:column;gap:7px;align-items:start;text-align:left;background:#21283c;color:#f2e0c9;border:1px solid #a89c9a;border-radius:11px;padding:13px}.v23-help-grid b{font-size:16px}.v23-help-grid span{font-size:10px;line-height:1.5}.v23-close{position:absolute;right:10px;top:10px;color:#fff4dc;border:1px solid #aaa;background:#202638;border-radius:40px;width:35px;height:35px;font-size:23px}
@media(max-width:360px){.v23-mascot-picture{flex-basis:88px}.v23-mascot-picture img{width:96px;height:106px}.v23-mascot-copy strong{font-size:14px}.v23-party-slot{min-height:156px}.v23-party-slot img{height:78px}.v23-prebattle{padding-left:9px;padding-right:9px}.v23-prebattle h2{font-size:18px}.v23-result-content{gap:5px}.v23-result-hero{height:140px}.v23-result-haruno img{height:52px}}
@media(max-height:670px){.v23-boss-image{max-height:29%}.v23-prebattle h2{font-size:18px}.v23-pre-squad img{height:35px}.v23-pre-guide{min-height:53px}.v23-pre-guide img{height:48px}.v23-pre-buttons button{padding:10px 5px}}
@media(prefers-reduced-motion:reduce){.v23-actor,.v23-mascot-light,.v23-ant,.v23-result-hero>img,.v23-result-rays,.v23-result-stars{animation:none!important}}
/* Keep guide dismiss control above the illustration on iPhone. */
.v23-help-dialog>img{pointer-events:none}
.v23-help-dialog .v23-close{z-index:20;pointer-events:auto}

/* Recommended squad and keyboard-visible mascot focus */
.v23-auto-team{width:100%;padding:11px 13px;margin:10px 0 2px;border-radius:12px;background:linear-gradient(110deg,#2e394d,#4a3152);border:1px solid #caac83;color:#ffe6b5;font-size:12px;font-weight:800;text-align:left}.v23-auto-team span{float:right}.v23-mascot:focus-visible,.v23-auto-team:focus-visible{outline:3px solid #f6d18a;outline-offset:3px}.v23-party-slot:active,.v23-rosteritem:active,.v23-train-roster button:active{transform:scale(.98)}
/* Hide previous floating guide only where the new larger Haruno is narrating. */
body:has(.v23-team-screen) #v18-haruno-scene,
body:has(.v23-home-guide) #v18-haruno-scene,
body.is-fighting #v18-haruno-scene,
body:has(.v23-result-wrap) #v18-haruno-scene{display:none!important}
/* Prepare for battle on a standalone cinematic stage; never start beneath HUD. */
.v17-root .v23-prebattle{position:fixed!important;inset:0!important;z-index:100!important;min-height:100dvh;max-height:100dvh;box-sizing:border-box;background:radial-gradient(ellipse at 50% 32%,#342342 0%,#131629 55%,#070b16 100%)!important;box-shadow:inset 0 0 150px #010713;overflow-y:auto;padding:calc(18px + env(safe-area-inset-top)) 15px calc(22px + env(safe-area-inset-bottom))!important}
.v17-root .v23-prebattle .v23-boss-image{height:auto;max-height:36dvh;min-height:135px}
.v17-root .v23-prebattle .v23-boss-image img{max-height:31dvh}
@media(max-height:680px){.v17-root .v23-prebattle .v23-boss-image{min-height:86px;max-height:26dvh}.v17-root .v23-prebattle .v23-boss-image img{max-height:25dvh}}
.v23-few-units{display:flex;align-items:center;gap:8px;justify-content:space-between;background:#2e253f;border:1px solid #bc9f7973;padding:11px;font-size:11px;line-height:1.6;color:#f5dcba;border-radius:10px;margin-bottom:10px}.v23-few-units button{min-width:113px;flex:none;border:1px solid #f8dca1;color:#19182b;background:#ebcda5;padding:8px;border-radius:8px;font-size:10px;font-weight:800}
/* Prefer the large scene-integrated guide, not duplicate floating controls. */
body:has(.v23-home-guide) #guide-trigger,
body:has(.v23-team-screen) #guide-trigger,
body:has(.v23-result-wrap) #guide-trigger{display:none!important}
.v23-result-hero{height:clamp(145px,25dvh,205px);flex:0 0 clamp(145px,25dvh,205px);min-height:0;overflow:hidden}
.v23-result-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
/* V23 final visual pass: prioritize actionable controls above the first fold. */
.v23-team-title{padding:12px 14px;margin:0 0 8px}
.v23-team-title h1{font-size:24px;margin:3px 0 2px}
.v23-team-title p{font-size:11px;line-height:1.5}
.v23-team-screen .v23-mascot{min-height:91px;margin:8px 0 10px;padding:4px 27px 4px 5px}
.v23-team-screen .v23-mascot-picture{height:83px;flex:0 0 79px}
.v23-team-screen .v23-mascot-picture img{height:84px;width:81px}
.v23-team-screen .v23-mascot-copy strong{font-size:14px;margin-top:1px}
.v23-team-screen .v23-mascot-copy p{font-size:10px;line-height:1.4;margin:1px 0 0}
.v23-tabs{margin:6px 0 10px}
.v23-tabs button{min-height:45px}
.v23-board h2{font-size:18px;margin:3px 0}
.v23-board .v23-muted{line-height:1.55;margin:3px 0 8px}
.v23-party-slot{min-height:142px;padding:6px 4px}
.v23-party-slot img,.v23-empty{height:72px}
/* Prevent monster portrait from covering the rewards card on tall or narrow phones. */
.v23-result-hero{overflow:hidden;min-height:0;isolation:isolate}
.v23-result-hero>img{width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center;display:block}
.v23-result-rays{z-index:1}
