/* v2.4 牛耕：仅物品图标、卸犁牌子、测试入口位置；菜单沿用游戏原有样式 */
.ico.dx-ico{background-repeat:no-repeat;background-size:contain;background-position:center;image-rendering:pixelated}
#dx-hud{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 58px);transform:translateX(-50%);z-index:40;display:flex;align-items:center;gap:10px;padding:5px 8px 5px 12px;font-size:14px;color:var(--ink,#3a3228);pointer-events:auto}
#dx-hud[hidden]{display:none}
#dx-hud .dx-off{font:inherit;padding:3px 10px;border:1px solid #aa9872;background:#eee2bc;color:#3f4230;cursor:pointer}
#dx-hud .dx-off:active{background:#384f47;color:#f5edd6}
.dx-console{top:50%!important}
.playing:has(#panel.on) .dx-console,.playing:has(#choice.on) .dx-console{display:none}
/* 牛的面板：沿用鸡舍面板的版式（左：头像与状态，右：分组功能按钮） */
.pbox.dx-box{width:min(86vw,600px)!important;height:auto!important;max-height:90vh!important;min-height:0}
.pbox.dx-box .pbody{flex:initial;overflow:visible!important;padding-bottom:6px}
.dx-two{display:grid;grid-template-columns:230px 1fr;gap:18px;align-items:start}
.dx-one{display:block}
.dx-left{display:flex;flex-direction:column;gap:8px}
.dx-pic{height:170px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #b09c74;background:#d8d4b4 radial-gradient(ellipse at 50% 82%,#bfc89b 0,#d8d4b4 68%);box-shadow:inset 0 0 0 3px rgba(255,250,227,.55)}
.dx-pic i{display:block;flex:none;width:80px;height:80px;background-repeat:no-repeat;background-position:0 0;image-rendering:pixelated;transform:translateY(8px) scale(2.1)}
.dx-stat{display:flex;flex-direction:column;gap:3px;padding:8px 10px;border-left:3px solid #65765a;background:#dce4cf66;font-size:.92em;line-height:1.5}
.dx-stat b{font-size:1.1em;letter-spacing:.12em}
.dx-hearts{color:#a8584c;letter-spacing:3px}.dx-hearts u{text-decoration:none;color:#c9bfa3}
.dx-sec{font-size:.8em;color:#817250;letter-spacing:.3em;margin:10px 0 5px;padding-bottom:3px;border-bottom:1px solid #96795255}
.dx-sec:first-child{margin-top:0}
.dx-right .hs-actions button{min-height:38px}
.dx-right .hs-actions button.wide{grid-column:1/3}
.dx-right .hs-actions button.main{background:#a8584c!important;border-color:#7a3a30!important}
.dx-note{font-size:.85em;color:#776b51;margin:8px 0 0}
@media(max-height:500px){.dx-two{grid-template-columns:150px 1fr;gap:10px}.dx-pic{height:110px}.dx-pic i{transform:translateY(4px) scale(1.35)}.dx-stat{padding:4px 7px;font-size:.85em}.dx-right .hs-actions button{min-height:30px}.dx-sec{margin:5px 0 3px}}
@media(max-width:560px){.dx-two{grid-template-columns:1fr}}
