#tree-care199{margin:8px 0 10px;padding:10px;border:1px solid #80b9aa55;border-radius:9px;background:linear-gradient(115deg,#22483c,#193744);color:#e7f2ce}.tree-water-meter199{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px}.tree-water-meter199>strong{font:700 12px system-ui;color:#a1e0e3}.tree-water-meter199>small{font:9px system-ui;color:#d1ddbe}.tree-water-meter199>div{width:100%;height:5px;background:#102731;border-radius:5px;overflow:hidden;margin:5px 0}.tree-water-meter199 i{height:100%;display:block;background:linear-gradient(90deg,#579ba0,#b4e9dc);width:100%;border-radius:5px}.tree-care-buttons199{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}.tree-care-buttons199>button{min-height:43px;padding:9px 5px;border:1px solid #a3c4a275;border-radius:7px;background:#31584c;color:#f1edc7;font:600 10px system-ui;cursor:pointer}.tree-care-buttons199>button[aria-pressed=true]{border-color:#eed99c;background:#486c50;box-shadow:inset 0 -2px #d1d89c}.tree-care-buttons199>button:disabled{opacity:.5;cursor:default}.tree-watering199 .board-cell{cursor:crosshair}.tree-watering199 .board-cell:hover,.tree-watering199 .board-cell:focus-visible{background:#96dfe537;box-shadow:inset 0 0 0 2px #c0f0e2}.solo100 #tree-lab199{padding-top:12px}.solo100 #tree-lab199 input[type=number]{display:block;margin-top:7px;width:100%;box-sizing:border-box;min-height:42px;padding:9px;background:#173a42;color:#e7edcb;border:1px solid #87a99366;border-radius:6px;font:12px system-ui}.solo100 #tree-lab199 p{font:11px/1.7 system-ui;color:#a9c3b9}.tree-wet199{display:flex!important;align-items:center;gap:8px;margin-top:12px!important;font-size:11px!important}.tree-wet199 input{width:17px;height:17px;accent-color:#a9d69c}
@media(min-width:1000px){.solo100 #app[data-solo-mode=duel] #tree-care199{margin:4px 0;padding:7px}.solo100 #app[data-solo-mode=duel] .tree-care-buttons199>button{min-height:35px;padding:7px 4px}.solo100 #app[data-solo-mode=duel] .tree-water-meter199>strong{font-size:10px}.solo100 #app[data-solo-mode=duel] .tree-water-meter199>small{font-size:8px}}
@media(max-width:620px){.castle184[data-era185=magic] .castle184-team-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.tree-care-buttons199>button{font-size:10px}.solo100 #tree-lab199 .solo-choices{gap:9px}}

/* Tree200: reserve a natural-height care row above the action dock.
   The former 100px action row could not contain both rows of buttons. */
.solo100 #app[data-solo-mode=duel][data-tree-dock200=true] .workspace{
 grid-template-rows:40px minmax(0,1fr) auto 100px calc(24px + env(safe-area-inset-bottom,0px));
 min-height:0;
}
.solo100 #app[data-tree-dock200=true] .battle-power150{
 height:auto;min-height:0;padding:5px max(8px,calc((100% - 760px)/2));gap:0;
}
.solo100 #app[data-tree-dock200=true] .battle-power150>:not(#tree-care199){display:none;}
.solo100 #app[data-tree-dock200=true] #tree-care199{
 width:100%;min-width:0;margin:0;padding:5px 8px;border:0;border-radius:0;background:none;
}
.solo100 #app[data-tree-dock200=true] .tree-water-meter199{gap:2px 6px;}
.solo100 #app[data-tree-dock200=true] .tree-water-meter199>strong{font-size:11px;line-height:14px;}
.solo100 #app[data-tree-dock200=true] .tree-water-meter199>small{font-size:8px;line-height:14px;}
.solo100 #app[data-tree-dock200=true] .tree-water-meter199>div{height:3px;margin:2px 0 4px;}
.solo100 #app[data-tree-dock200=true] .tree-care-buttons199{margin:0;gap:6px;}
.solo100 #app[data-tree-dock200=true] .tree-care-buttons199>button{
 min-height:44px;padding:7px 5px;font-size:11px;line-height:16px;touch-action:manipulation;
}
.solo100 #app[data-tree-dock200=true] .duel-controls{height:auto;min-height:0;}
.solo100 #app[data-tree-dock200=true] .battle-links147{
 padding-bottom:env(safe-area-inset-bottom,0px);position:relative;z-index:0;
}
