.install-panel{margin:20px 0;padding:20px;border:1px solid var(--border,#425267);border-radius:12px;background:var(--panel-bg,#141e2a)}.install-panel details{margin-top:12px}.mobile-draft-bar{display:none}body{padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:650px){header{flex-wrap:wrap}header form{margin-left:auto}input:not([type=checkbox]),select{font-size:16px!important}button{touch-action:manipulation}.bidbuttons button,.mobile-bids button,#nominate-queued,#enqueue{min-height:44px}.asset-card .asset-queue{min-height:44px;top:2px}.asset-card .asset>strong{padding-right:76px}.mobile-draft-bar{display:block;position:sticky;top:0;z-index:20;padding:10px 16px;background:var(--page-bg,#0c121b);border-bottom:2px solid var(--accent,#b9ef6b);box-shadow:0 4px 12px #0004}.mobile-draft-bar>div:first-child{display:flex;justify-content:space-between;gap:8px}.mobile-draft-bar small{display:block;margin:5px 0;font-size:12px}.mobile-bids{display:flex;gap:8px}.mobile-bids button{flex:1}.mobile-draft-bar #mobile-clock{font:700 20px monospace;color:var(--accent)}.auction{display:flex;flex-direction:column}.auction>.heading{order:0}.auction>#auction{order:1}.auction>#actions{order:2}.auction>#error{order:3}.auction>#group-players{order:4}.panel{min-width:0}.layout.board-view{display:flex}.roster-board-scroll{max-width:100%;overscroll-behavior-x:contain}main{padding-left:12px;padding-right:12px}#error,#mobile-feedback{overflow-wrap:anywhere}}
/* The bot toggle stays visible on every screen; mobile draft actions follow it. */
.mobile-draft-bar{display:block;position:sticky;top:0;z-index:30;background:var(--page-bg,#0c121b);padding:8px 16px;border-bottom:2px solid var(--accent,#b9ef6b)}
.persistent-bot-control{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.persistent-bot-control label{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;cursor:pointer;font-weight:700}
.persistent-bot-control input{width:24px;height:24px;accent-color:var(--accent)}
#bot-control-status{font-size:12px;font-weight:700}.bot-active #bot-control-status{color:var(--accent)}
.mobile-nomination{display:flex;gap:8px;margin:5px 0}.mobile-nomination button{min-height:44px;flex:1;padding:8px;font-size:13px}
.mobile-draft-bar [hidden]{display:none!important}
@media(min-width:651px){.mobile-draft-bar>:not(.persistent-bot-control){display:none}}
@media(max-width:650px){.mobile-draft-bar{padding:6px 12px}.persistent-bot-control{gap:0 8px}#bot-control-status{font-size:11px}.mobile-draft-bar>div:nth-child(2){display:flex;justify-content:space-between;gap:8px}#assets{height: min(50vh,420px)} }
@media(max-width:650px){.asset-card .asset>strong{padding-right:0}.asset-card .asset-actions button{min-height:44px;min-width:68px}}
