:root{--bg:#0b1321;--panel:#0f1b2e;--muted:#1c2a40;--text:#e6edf3;--soft:#94a3b8;--accent:#2563eb;--pill:#0a1220;--score:#0d2237;--green:#193c1d;}
*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,'Noto Sans',sans-serif}
.banner{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(180deg,#0b1b2e,#081123);padding:18px 22px;border-bottom:1px solid var(--muted);position:sticky;top:0;z-index:10}
.banner h1{margin:0 0 6px 0;font-size:34px}.banner h2{margin:0;font-weight:600;color:#b9c3d3}.sponsor-logo{height:70px;object-fit:contain;filter:drop-shadow(0 0 2px rgba(0,0,0,.3))}
.board-wrap{padding:14px 16px 120px}.table{background:var(--panel);border:1px solid var(--muted);border-radius:14px;overflow:hidden}
.thead,.tr{display:grid;grid-template-columns: 260px repeat(16, 1fr) 90px;gap:8px;align-items:center}
.thead{background:#0d1b2a;padding:12px 12px;position:sticky;top:0px;z-index:5;border-bottom:1px solid var(--muted)}
.th{font-weight:700;color:#cbd5e1;text-align:center}.th.shooter{text-align:left;padding-left:10px}
.tbody{max-height:calc(100vh - 260px);overflow:auto;padding:8px 12px}.tr{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.04)}
.td{display:flex;justify-content:center}.td.shooter{justify-content:flex-start;gap:12px}
.icon{width:36px;height:36px;border-radius:50%;background:#16243a;display:grid;place-items:center;overflow:hidden}.icon img{width:100%;height:100%;object-fit:cover}.ini{font-weight:800;color:#cbd5e1}
.td.r span{display:inline-block;padding:6px 10px;background:#0f2035;border:1px solid #1a2a43;border-radius:999px;min-width:32px;text-align:center}
.td.total span{display:inline-block;background:#12381d;border:1px solid #1b4d2a;padding:8px 12px;border-radius:12px;font-weight:800}.name{font-weight:700;color:#e5eef8}
.adbar{position:fixed;left:0;right:0;bottom:0;background:linear-gradient(180deg,#0b1321,#0a111f);border-top:1px solid var(--muted);height:94px;display:flex;align-items:center;justify-content:center;z-index:20}
.carousel{position:relative;width:min(1200px,92vw);height:70px;overflow:hidden}.slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity 1s ease}
.slide.active{opacity:1}.slide-text{font-size:24px;font-weight:800;color:#dbeafe;text-align:center}.slide-logo{gap:12px}.slide-img{height:60px;object-fit:contain}
.footer-note{position:fixed;left:12px;bottom:100px;color:#94a3b8;font-size:12px}

/* Hide the window scrollbar on the public scoreboard */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden !important;     /* no page scroll bar */
  overscroll-behavior: none;       /* stop bounce on touch devices */
  scrollbar-width: none;           /* Firefox */
  -ms-overflow-style: none;        /* IE/old Edge */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;                    /* Chrome/Safari/Edge (Chromium) */
  
  /* Admin search bar – compact */
.admin-toolbar{
  display:flex;
  align-items:center;
  gap:6px;
  margin:4px 0;
}
.admin-toolbar label{ font-size:13px; opacity:.9; }
.admin-toolbar input{
  padding:4px 6px;
  font-size:13px;
  line-height:1.2;
  height:28px;
  min-width:180px;   /* shrink */
  max-width:240px;   /* keep it tidy */
}

