/* Division garden only. Characters share the ground, equation/input have stable bands. */
#divisionBattleScreen.division-split{box-sizing:border-box;max-width:680px;width:100%;margin:auto;padding:8px 12px;display:grid;grid-template-rows:36px minmax(150px,1fr) 70px 24px 242px;gap:8px;color:#254a32;background:#f2fae9;border-radius:20px;min-height:540px}
#divisionBattleScreen[hidden]{display:none!important}.ds-head{display:flex;justify-content:space-between;align-items:center;font-size:19px}.ds-arena{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(#e8f9d8 0 68%,#cbe7a8 68% 90%,#8cb364 90%);border-radius:22px}.ds-arena:before{content:'';position:absolute;width:120%;height:75%;left:-10%;top:30%;border-radius:50%;background:#d7edba;z-index:-1}.ds-hero,.ds-enemy{position:absolute;object-fit:contain;bottom:10%;mix-blend-mode:normal;opacity:1}.ds-hero{left:6%;width:24%;height:48%}.ds-enemy{right:6%;width:30%;height:60%}.ds-arena progress{position:absolute;top:10px;right:8%;width:40%;height:10px;accent-color:#659e4d}.ds-equation{display:grid;place-items:center;font-size:40px;font-weight:800;background:white;border:2px solid #c4dcac;border-radius:20px;white-space:nowrap}.ds-message{margin:0;text-align:center;font-size:16px;line-height:24px}.ds-controls{display:grid;min-width:0;grid-template-rows:42px 1fr;gap:6px}.ds-input{justify-self:center;min-width:90px;text-align:center;font-size:28px;border:2px solid #94b77a;background:white;border-radius:12px}.ds-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(44px,1fr));gap:6px}.ds-button{box-sizing:border-box;min-width:0;min-height:44px;border:2px solid #86ac72;border-radius:14px;background:#fff;color:#244b32;padding:4px;font-size:20px;touch-action:manipulation}.ds-pad .ds-button{font-size:24px}.ds-pad .ds-button:last-child{font-size:18px;background:#3b8055;color:white}.ds-choices{grid-column:1/-1;grid-row:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:8px}.ds-choices .ds-button{height:80px;font-size:30px}.ds-effect{pointer-events:none;position:absolute}.ds-number{font-size:38px;font-weight:900;line-height:1;color:#264d20;background:#ffffe8;border:3px solid #88b856;border-radius:50%;padding:6px;z-index:3}.ds-glow{font-size:70px;color:#e5bc35;text-shadow:0 0 10px #fcf7ba}.ds-modes{display:flex;gap:8px;justify-content:center}.ds-modes button{font-size:16px}.ds-modes [aria-pressed=true]{background:#3b8055;color:white}
#divisionBattleScreen[data-phase=menu]{grid-template-rows:48px 32px 1fr 30px}.ds-cards{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:10px;min-height:0}.ds-card{display:grid;grid-template-columns:90px 1fr;grid-template-rows:repeat(4,1fr);align-items:center;column-gap:8px;text-align:left;border:2px solid #a3c48a;border-radius:18px;background:#fff;padding:8px;color:#254a32;font-size:17px;min-height:0}.ds-card img{grid-column:1;grid-row:1/-1;width:90px;height:100%;max-height:115px;object-fit:contain}.ds-card strong,.ds-card span,.ds-card small{grid-column:2}.ds-card small{font-size:15px;min-height:18px}.ds-menu-note{margin:0;text-align:center;font-size:14px}#divisionBattleScreen h2{font-size:23px;margin:0;text-align:center}.ds-clear-image{width:100%;height:100%;object-fit:contain;min-height:0}.ds-clear-actions{display:grid;gap:8px}#divisionBattleScreen[data-phase=clear]{grid-template-rows:40px 1fr 40px auto}.ds-clear-actions .ds-button{min-height:50px}.division-split[data-save-error=true]:after{content:'ほぞんできませんでした。せっていを かくにんしてね';color:#8c352e;font-size:12px}
@media(min-width:650px){.ds-equation{font-size:52px}.ds-head{font-size:23px}.ds-card{grid-template-columns:130px 1fr;font-size:20px}.ds-card img{width:125px;max-height:160px}}
#divisionBattleScreen .ds-hero,#divisionBattleScreen .ds-enemy{object-position:center bottom}
#divisionBattleScreen .ds-arena:before{top:45%;height:40%}
