/* ── Shop-owner Players page (Components/AdminFloor.razor) ──────────────────
   The page is a fixed, full-screen box and .adm-scroll is the ONLY scroller.
   (html/body/#app are overflow:hidden for the games, so a page that just grows
   taller than the screen can't be scrolled on a phone.) */
.adm-shell {
  position: fixed; inset: 0; height: 100dvh; overflow: hidden;
  background: #0e0c10; color: #f5ead5;
  display: flex; flex-direction: column; font-family: system-ui, sans-serif;
  user-select: text;
}
.adm-top { gap: 8px; }
.adm-refresh {
  background: rgba(255,255,255,0.06); border: none; color: #c9a227; width: 28px; height: 28px;
  border-radius: 8px; cursor: pointer; font-size: 15px;
}
.adm-refresh:disabled { opacity: .4; }
.adm-scroll {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  touch-action: pan-y; padding: 10px 12px calc(28px + env(safe-area-inset-bottom, 0px));
  max-width: 760px; width: 100%; margin: 0 auto;
}
.adm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.adm-stat {
  background: #1a1410; border: 1px solid #3a2a14; border-radius: 10px; padding: 8px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; color: inherit; font: inherit; cursor: pointer;
}
div.adm-stat { cursor: default; }
.adm-stat.sel { border-color: #ffd23c; background: #2a1f10; }
.adm-stat b { font-size: 18px; color: #ffd23c; line-height: 1.1; }
.adm-stat b.on { color: #7dffa0; }
.adm-stat b.bad { color: #ff7a7a; }
.adm-stat span { font-size: 10px; color: #a89060; text-transform: uppercase; letter-spacing: .04em; text-align: center; }
.adm-htoggle { display: flex; align-items: center; gap: 4px; width: 100%; background: none; border: none; padding: 2px 0; cursor: pointer; font-family: inherit; text-align: left; }
.adm-htoggle i { margin-left: auto; font-style: normal; color: #c9a227; font-size: 14px; }
.adm-h { font-size: 11px; font-weight: 800; color: #c9a227; letter-spacing: .08em; text-transform: uppercase; margin: 2px 0 6px; }
.adm-h span { color: #a89060; font-weight: 600; text-transform: none; letter-spacing: 0; }
.adm-games { background: #1a1410; border: 1px solid #3a2a14; border-radius: 12px; padding: 6px 10px; margin-bottom: 10px; }
.adm-games .adm-gbar:first-of-type { margin-top: 4px; }
.adm-gbar {
  display: grid; grid-template-columns: 7.5em 1fr 6.2em; align-items: center; gap: 8px; width: 100%;
  background: none; border: none; color: inherit; font: inherit; padding: 4px 2px; border-radius: 6px; cursor: pointer; text-align: left;
}
.adm-gbar.sel { background: #2a1f10; outline: 1px solid #ffd23c88; }
.adm-gname { font-size: 12px; font-weight: 700; color: #f5ead5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-gval { font-size: 11px; color: #d4b36a; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.adm-gtrack { display: block; height: 7px; background: #2b2118; border-radius: 99px; overflow: hidden; flex: 1; }
.adm-gtrack > span { display: block; height: 100%; border-radius: 99px; min-width: 2px; }
.adm-sticky {
  position: sticky; top: -10px; z-index: 2; margin: -4px -12px 8px; padding: 8px 12px 6px;
  background: #0e0c10; border-bottom: 1px solid #3a2a14; box-shadow: 0 6px 10px -6px #000c;
}
.adm-tools { display: flex; gap: 6px; }
.nw { white-space: nowrap; }
.adm-search {
  flex: 1; min-width: 0; background: #1a1410; border: 1px solid #5a4422; border-radius: 10px; color: #f5ead5;
  padding: 10px 12px; font-size: 16px; /* 16px stops iPhone zooming in on focus */ outline: none;
}
.adm-search:focus { border-color: #ffd23c; }
.adm-sort {
  background: #1a1410; border: 1px solid #5a4422; border-radius: 10px; color: #f5ead5; padding: 0 8px; font-size: 14px;
}
.adm-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 11px; color: #a89060; margin-top: 6px; }
.adm-chips button {
  background: #2a1f10; border: 1px solid #c9a22788; color: #ffd23c; border-radius: 99px; padding: 5px 11px; font-size: 12px; cursor: pointer;
}
.adm-warn { font-size: 12px; color: #ff9d7a; margin-bottom: 8px; }
.adm-list { display: flex; flex-direction: column; gap: 8px; }
.adm-row { background: #1a1410; border: 1px solid #3a2a14; border-radius: 12px; overflow: hidden; }
.adm-row.on { border-color: #7dffa088; }
.adm-row.blocked { border-color: #ff6b6b; background: #1d1012; }
.adm-head {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: none; border: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.adm-dot { width: 9px; height: 9px; border-radius: 99px; background: #555; flex-shrink: 0; }
.adm-row.on .adm-dot { background: #7dffa0; box-shadow: 0 0 8px #7dffa0; }
.adm-row.blocked .adm-dot { background: #ff7a7a; box-shadow: none; }
.adm-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.adm-nm { display: flex; align-items: center; gap: 6px; min-width: 0; }
.adm-nm strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-tag { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .06em; padding: 1px 5px; border-radius: 4px; background: #c9a22733; color: #ffd23c; }
.adm-tag.bad { background: #d43c3c; color: #fff; }
.adm-sub { font-size: 12px; color: #b9a274; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-now { font-weight: 800; color: #7dffa0; }
.adm-pips { display: flex; gap: 2px; font-size: 15px; flex-shrink: 0; }
.adm-caret { color: #c9a227; font-size: 16px; flex-shrink: 0; width: 18px; text-align: center; }
.adm-body { padding: 0 12px 12px 31px; display: flex; flex-direction: column; gap: 4px; }
.adm-mail { font-size: 11px; color: #a89060; word-break: break-word; }
.adm-empty { margin-top: 6px; }
.adm-gtable { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.adm-grow { background: #120e0b; border: 1px solid #2b2118; border-radius: 10px; padding: 8px 10px; }
.adm-gtop { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.adm-gtime { font-size: 12px; font-weight: 800; color: #ffd23c; }
.adm-prog { display: flex; align-items: center; gap: 8px; margin: 5px 0 3px; }
.adm-pct { font-size: 11px; font-weight: 800; color: #f5ead5; min-width: 5.5em; text-align: right; white-space: nowrap; }
.adm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.adm-btn {
  min-height: 34px; background: #2a1f10; border: 1px solid #c9a227; color: #ffd23c; border-radius: 9px; padding: 7px 12px;
  font-size: 12px; font-weight: 800; cursor: pointer;
}
.adm-btn.bad { border-color: #ff7a7a; color: #ff9d9d; background: #2a1212; }
.adm-btn.ghost { background: transparent; border-color: #5a4422; color: #a89060; }
.adm-btn:disabled { opacity: .5; }
@media (min-width: 640px) { .adm-stats { grid-template-columns: repeat(6, 1fr); } }

/* Notifications panel */
.adm-hbtns { display: flex; gap: 6px; }
.adm-refresh.sel { background: #2a1f10; outline: 1px solid #ffd23c; }
.adm-push { background: #1a1410; border: 1px solid #c9a22788; border-radius: 12px; padding: 8px 10px 10px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.adm-in {
  width: 100%; background: #120e0b; border: 1px solid #5a4422; border-radius: 9px; color: #f5ead5;
  padding: 8px 10px; font-size: 16px; font-family: inherit; outline: none; resize: vertical;
}
.adm-in:focus { border-color: #ffd23c; }
.adm-prow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: #a89060; }
.adm-prow label { display: flex; align-items: center; gap: 6px; }
.adm-prow .adm-sort { height: 32px; }
.adm-days { width: 4.5em; padding: 5px 6px; }
.adm-link { background: none; border: none; color: #ffd23c; text-decoration: underline; font-size: 11px; cursor: pointer; }
.adm-ok { color: #7dffa0; }
.adm-hist-h { margin-top: 6px; }
.adm-hist { border-top: 1px solid #2b2118; padding: 5px 0; font-size: 12px; }
.adm-bell { font-size: 12px; }
.adm-row { position: relative; }
.adm-pick { position: absolute; left: 0; top: 0; bottom: 0; width: 34px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.adm-pick input[disabled] { opacity: .25; }
.adm-pick input { width: 18px; height: 18px; accent-color: #ffd23c; }
.adm-pick + .adm-head { padding-left: 38px; }
.adm-push .adm-h span { display: block; text-transform: none; letter-spacing: 0; margin-top: 2px; }
.adm-chk { font-size: 12px; color: #d4b36a; }
.adm-chk input { width: 16px; height: 16px; accent-color: #ffd23c; }
