/* ASIA BETS MOBILE ADMIN v1.2 — compact desktop overview, as supplied reference.
   The 980px canvas is fitted by the browser; no forced sideways page pan. */
@media screen {
 html.asia-admin-mobile-fit { -webkit-text-size-adjust:100%;text-size-adjust:100%; }
 html.asia-admin-mobile-fit body.admin-page { --a-scale:1!important;min-width:0;width:100%;margin:0;overflow-x:auto;font-size:14px!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell { zoom:1!important;width:100%;min-width:0;min-height:100dvh;font-size:14px!important;line-height:1.4; }
 html.asia-admin-mobile-fit body.admin-page :is(.a-main,.a-panel,.a-accounts-panel,.a-account-list-v1) { min-width:0;max-width:100%;box-sizing:border-box; }
 html.asia-admin-mobile-fit body.admin-page .a-main { margin:10px 12px; }
 html.asia-admin-mobile-fit body.admin-page .a-panel { padding:10px; }
 /* Keep the complete navigation visible in two compact rows. */
 html.asia-admin-mobile-fit body.admin-page .a-header { min-width:0;width:100%;min-height:56px;height:auto;display:flex;flex-wrap:wrap;gap:6px 14px;padding:5px 10px;box-sizing:border-box; }
 html.asia-admin-mobile-fit body.admin-page .a-header>.a-logo { width:126px;flex-shrink:0;font-size:29px!important; }
 html.asia-admin-mobile-fit body.admin-page .a-header-right { margin-left:auto;min-width:170px;max-width:40%;gap:8px; }
 html.asia-admin-mobile-fit body.admin-page .a-header nav { order:3;width:100%;height:auto;min-width:0;flex-wrap:wrap;overflow:visible;gap:4px 16px; }
 html.asia-admin-mobile-fit body.admin-page :is(.a-header nav>button,.a-header summary,.a-header-right>button,.a-drop-menu button) { font-size:14px!important;line-height:1.4; }
 html.asia-admin-mobile-fit body.admin-page :is(.a-header nav>button,.a-header summary) { height:auto;min-height:32px;padding:5px 0; }
 html.asia-admin-mobile-fit body.admin-page :is(.a-button,.a-field,.a-note,.a-error,.a-success,.a-pagination,.a-pagination button,.a-pagination b) { font-size:14px!important;line-height:1.4; }
 html.asia-admin-mobile-fit body.admin-page :is(.admin-shell,.a-dialog,.a-login-screen,.asia-bet-details) :is(input,select,textarea) { font-size:16px!important;line-height:1.4; }
 html.asia-admin-mobile-fit body.admin-page :is(.a-field input,.a-field select,.a-table-tools input,.a-table-tools select) { min-height:34px;height:auto;padding:6px 8px;box-sizing:border-box; }
 html.asia-admin-mobile-fit body.admin-page .a-page-heading h1 { font-size:23px!important; }
 html.asia-admin-mobile-fit body.admin-page :is(.a-button,.a-account-state-tabs button) { min-height:34px;height:auto;padding:7px 10px;line-height:1.4; }
 html.asia-admin-mobile-fit body.admin-page .a-table { min-width:0!important;max-width:100%;font-size:14px!important;line-height:1.4; }
 html.asia-admin-mobile-fit body.admin-page .a-table :is(th,td) { box-sizing:border-box;vertical-align:middle;height:auto;line-height:1.4; }
 html.asia-admin-mobile-fit body.admin-page :is(.a-table th button,.a-account-name,.a-row-actions>button) { font-size:14px!important;line-height:1.4; }
 html.asia-admin-mobile-fit body.admin-page :is(.a-account-list-v1,.a-account-owner-summary,.a-account-state-tabs button,.a-account-list-v1 .a-button,.a-account-list-v1 .a-pagination,.asia-account-breadcrumbs) { font-size:14px!important; }
 /* The full 12-column account table must fit, including its Action column. */
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-accounts-panel .a-account-list-table { width:100%;min-width:0!important;max-width:100%;table-layout:fixed!important;font-size:14px!important;font-variant-numeric:tabular-nums; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(1) { width:12%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(2) { width:9%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(3) { width:11%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(4) { width:10%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(5) { width:5%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(6) { width:11%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(7),html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(8) { width:2.5%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(9) { width:7%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(10) { width:7%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(11) { width:5%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table col:nth-child(12) { width:18%!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table :is(th,td) { width:auto!important;min-width:0!important;max-width:none;height:auto;padding:7px 4px!important;white-space:normal;overflow-wrap:anywhere; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table th button { width:100%;font-size:13px!important;line-height:1.3;white-space:normal;overflow-wrap:normal; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table :is(.a-account-name,.a-row-actions>button,.a-account-extra>summary,.a-account-extra-menu) { font-size:13px!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table .a-account-name { max-width:100%;padding:3px 7px;height:auto;min-height:28px;white-space:normal;overflow-wrap:anywhere; }
 /* Keep each complete amount (including commas/decimals/sign) together.
    Give the long balance totals more room without dropping any column. */
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table td:nth-child(n+2):nth-child(-n+6) { font-size:var(--asia-money-font,14px)!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal;padding-left:2px!important;padding-right:2px!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table :is(th,td):nth-child(7),html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table :is(th,td):nth-child(8) { padding-left:1px!important;padding-right:1px!important; }
 html.asia-admin-mobile-fit body.admin-page .admin-shell .a-account-list-table :is(th,td):nth-child(11) { padding-left:1px!important;padding-right:1px!important; }
 html.asia-admin-mobile-fit body.admin-page .a-account-list-table th:nth-child(10) button span { white-space:normal!important;overflow-wrap:anywhere; }
 html.asia-admin-mobile-fit body.admin-page .a-row-actions { gap:1px;flex-wrap:wrap;align-items:center; }
 html.asia-admin-mobile-fit body.admin-page .a-row-actions>button { min-width:21px;min-height:28px;height:auto;padding:3px 4px; }
 html.asia-admin-mobile-fit body.admin-page .a-account-extra>summary { box-sizing:border-box;width:24px;min-width:24px;min-height:28px;height:28px;line-height:28px;padding:0; }
 html.asia-admin-mobile-fit body.admin-page .a-account-list-table td:nth-child(9) { font-size:13px!important;white-space:nowrap; }
 html.asia-admin-mobile-fit body.admin-page .a-check { width:20px;height:20px;font-size:13px!important; }
 html.asia-admin-mobile-fit body.admin-page .a-table-tools { gap:10px;align-items:center;flex-wrap:wrap; }
 html.asia-admin-mobile-fit body.admin-page .a-pagination { gap:10px; }
 html.asia-admin-mobile-fit body.admin-page .a-pagination :is(button,b) { min-width:30px;min-height:32px;height:auto; }
 html.asia-admin-mobile-fit body.admin-page .a-detail-grid { grid-template-columns:1fr 1fr;gap:24px; }
 html.asia-admin-mobile-fit body.admin-page .a-two-fields { grid-template-columns:1fr 1fr;gap:14px 20px; }
 html.asia-admin-mobile-fit body.admin-page .a-four-fields { grid-template-columns:repeat(4,minmax(0,1fr)); }
 html.asia-admin-mobile-fit body.admin-page .a-report-filters { grid-template-columns:repeat(5,minmax(0,1fr)); }
 html.asia-admin-mobile-fit body.admin-page .a-match-book-columns { grid-template-columns:minmax(0,65fr) minmax(0,35fr); }
 html.asia-admin-mobile-fit body.admin-page :is(.a-login-screen,.a-dialog,.asia-bet-details,.a-fancy-book-dialog,.super-book-dialog) { font-size:14px!important; }
 html.asia-admin-mobile-fit body.admin-page :is(.a-dialog,.asia-bet-details,.a-fancy-book-dialog,.super-book-dialog,.asia-admin-settings,.asia-commission-dialog) { box-sizing:border-box;position:fixed;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);margin:0;width:min(720px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;--s:1; }
 html.asia-admin-mobile-fit body.admin-page .a-login-screen { min-width:0;min-height:100dvh; }
}
