/* Competitive Thread — dark pro-sports design system */
:root {
  --bg: #051424;
  --bg2: #071827;
  --panel: #0d1c2d;
  --panel2: #122131;
  --line: rgba(148, 163, 184, 0.13);
  --line2: rgba(148, 163, 184, 0.25);
  --text: #e6edf7;
  --muted: #8c9bb3;
  --dim: #5b6a83;
  --accent: #6feee1;
  --accent2: #4fd1c5;
  --red: #f8776b;
  --green: #4ade80;
  --amber: #facc15;
  --radius: 8px;
  --disp: 'Archivo Narrow', sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  background-image: radial-gradient(1200px 500px at 80% -10%, rgba(111,238,225,0.07), transparent 60%),
                    radial-gradient(900px 400px at -10% 110%, rgba(249,124,110,0.05), transparent 60%);
  color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
.boot { display: grid; place-items: center; height: 100vh; color: var(--muted); font-family: var(--disp); font-size: 22px; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidebar {
  background: linear-gradient(180deg, var(--bg2), #0b1322 70%);
  border-right: 1px solid var(--line); padding: 20px 14px;
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--accent) 0%, #0d9488 100%);
  display: grid; place-items: center; font-size: 21px;
  box-shadow: 0 4px 18px rgba(111,238,225,0.35);
}
.brand-name { font-family: var(--disp); font-weight: 800; font-size: 21px; line-height: 1; letter-spacing: 0.5px; text-transform: uppercase; }
.brand-sub { color: var(--muted); font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase; margin-top: 3px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  color: var(--muted); font-weight: 500; font-size: 14px; cursor: pointer; border: 1px solid transparent;
  transition: all .15s;
}
.nav-item:hover { color: var(--text); background: rgba(148,163,184,0.06); }
.nav-item.active { color: var(--text); background: linear-gradient(90deg, rgba(111,238,225,0.14), rgba(111,238,225,0.04)); border-color: rgba(111,238,225,0.25); }
.nav-item .ni { width: 20px; text-align: center; }
.nav-spacer { flex: 1; }
.userchip { display: flex; gap: 10px; align-items: center; padding: 10px 10px; border-top: 1px solid var(--line); margin-top: 8px; }
.userchip .uc-name { font-weight: 600; font-size: 13px; }
.userchip .uc-role { color: var(--dim); font-size: 11px; text-transform: capitalize; }

.main { padding: 26px 30px 90px; max-width: 1180px; width: 100%; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
h1.page-title { font-family: var(--disp); font-size: 34px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; line-height: 1; }
.page-sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
h2.sec { font-family: var(--disp); font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin: 26px 0 12px; color: #cbd8ea; }

/* mobile nav */
.tabbar { display: none; }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main { padding: 18px 14px 96px; }
  .tabbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: rgba(10,15,28,0.92); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line2); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar .tb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--dim); font-size: 10px; font-weight: 600; cursor: pointer; border-radius: 10px; }
  .tabbar .tb.active { color: var(--accent); }
  .tabbar .tb .ti { font-size: 19px; }
  h1.page-title { font-size: 28px; }
  .mobile-top { display: flex !important; }
}
.mobile-top { display: none; align-items: center; justify-content: space-between; margin-bottom: 16px; }

/* ---------- components ---------- */
.card { background: linear-gradient(180deg, var(--panel), var(--panel2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card + .card { margin-top: 14px; }
.card.pad0 { padding: 0; overflow: hidden; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .g4, .g3 { grid-template-columns: repeat(2, 1fr); } .g2 { grid-template-columns: 1fr; } }

.stat { padding: 16px 18px; }
.stat .st-label { color: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; }
.stat .st-value { font-family: var(--disp); font-size: 40px; font-weight: 800; line-height: 1.05; margin-top: 4px; }
.stat .st-foot { color: var(--dim); font-size: 12px; margin-top: 2px; }

.btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 10px;
  border: 1px solid var(--line2); background: var(--panel2); color: var(--text);
  font-family: var(--body); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s;
  text-transform: none; white-space: nowrap;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: linear-gradient(135deg, #57e8cf, #14b8a6); border: none; color: #04101c; }
.btn.primary:hover { filter: brightness(1.12); color: #04101c; }
.btn.danger:hover { border-color: var(--red); color: var(--red); }
.btn.sm { padding: 5px 11px; font-size: 12.5px; border-radius: 8px; }
.btn.block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

input, select, textarea {
  width: 100%; background: #010f1f; border: 1px solid var(--line2); color: var(--text);
  border-radius: 10px; padding: 10px 12px; font-family: var(--body); font-size: 14px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(111,238,225,0.12); }
label.fl { display: block; color: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; margin: 12px 0 5px; }
textarea { resize: vertical; min-height: 90px; }
.checkline { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.checkline input { width: auto; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.4px; border: 1px solid;
}
.dot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; flex: none; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.9px; text-transform: uppercase; }
.badge.green { background: rgba(74,222,128,0.14); color: var(--green); }
.badge.amber { background: rgba(250,204,21,0.14); color: var(--amber); }
.badge.red { background: rgba(249,124,110,0.16); color: #f97c6e; }
.badge.blue { background: rgba(111,238,225,0.14); color: var(--accent); }
.badge.dim { background: rgba(148,163,184,0.12); color: var(--muted); }

.avatar {
  width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-family: var(--disp); font-weight: 700; font-size: 15px; color: #04101c;
  background: linear-gradient(135deg, #8df0dd, #41e0c6);
}

table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 1.3px; text-transform: uppercase; padding: 11px 14px; border-bottom: 1px solid var(--line2); }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover { background: rgba(111,238,225,0.045); }
.tbl tr.clickable { cursor: pointer; }
.tbl-scroll { overflow-x: auto; }

/* timeline schedule */
.timeline { position: relative; }
.tl-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: relative; padding: 0 0 4px; }
.tl-time { text-align: right; padding-top: 13px; }
.tl-time .t1 { font-family: var(--disp); font-weight: 700; font-size: 17px; line-height: 1.1; }
.tl-time .t2 { color: var(--dim); font-size: 11.5px; }
.tl-card {
  border-left: 3px solid var(--accent); background: var(--panel2);
  border-radius: 10px; padding: 11px 14px; margin: 4px 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.tl-card.ice { background: linear-gradient(90deg, rgba(111,238,225,0.10), var(--panel2) 55%); }
.tl-card.now { outline: 2px solid var(--accent); outline-offset: 1px; box-shadow: 0 0 24px rgba(111,238,225,0.25); }
.tl-title { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.tl-loc { color: var(--muted); font-size: 12.5px; margin-top: 1px; }

/* login — animated shader hero */
.hero-screen { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: var(--bg); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-veil { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(1000px 600px at 50% 0%, rgba(111,238,225,0.10), transparent 60%),
  radial-gradient(700px 500px at 88% 92%, rgba(248,119,107,0.07), transparent 55%),
  linear-gradient(180deg, rgba(5,20,36,0.20) 0%, rgba(5,20,36,0.45) 60%, rgba(5,20,36,0.85) 100%); }
.hero-content { position: relative; z-index: 2; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(24px, 5vh, 56px) 18px; }
.hero-wordmark { width: clamp(118px, 15vw, 168px); margin-bottom: clamp(14px, 2.4vh, 24px); }
.hero-wm { position: absolute; z-index: 1; width: clamp(230px, 34vw, 470px); opacity: 0.13; pointer-events: none; user-select: none; filter: saturate(0.85); animation: wm-drift 14s ease-in-out infinite alternate; }
.hero-wm.left { left: clamp(-90px, -6vw, -34px); top: 50%; transform: translateY(-60%) rotate(-8deg); }
.hero-wm.right { right: clamp(-90px, -6vw, -34px); top: 50%; transform: translateY(-40%) rotate(8deg); animation-delay: -7s; }
@keyframes wm-drift { from { margin-top: -10px; } to { margin-top: 14px; } }
@media (max-width: 640px) { .hero-wm { width: 46vw; opacity: 0.10; } }
@media (prefers-reduced-motion: reduce) { .hero-wm { animation: none; } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 99em;
  font-size: clamp(11.5px, 1.6vw, 13.5px); letter-spacing: 0.4px; color: #d7fef8;
  background: rgba(111,238,225,0.08); border: 1px solid rgba(111,238,225,0.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: clamp(16px, 2.8vh, 26px); }
.hero-h1 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; line-height: 0.98; letter-spacing: 0.5px; font-size: clamp(36px, 7vw, 68px); }
.hero-h1 span { display: block; }
.hero-h1 .g1 { color: #f2f7fb; }
.hero-h1 .g2 { color: var(--accent); text-shadow: 0 0 34px rgba(111,238,225,0.35); }
.hero-sub { color: #93a7bd; max-width: 520px; margin: clamp(12px, 2vh, 18px) auto 0; font-size: clamp(13px, 1.6vw, 15.5px); line-height: 1.6; }
.hero-login { width: 100%; max-width: 400px; margin-top: clamp(20px, 3.4vh, 34px); text-align: left;
  background: rgba(10,20,36,0.55); border: 1px solid rgba(111,238,225,0.16); border-radius: 16px; padding: 22px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 80px rgba(0,0,0,0.45); }
@keyframes hero-down { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes hero-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-anim { opacity: 0; animation: hero-up .8s ease-out forwards; }
.hero-anim.down { animation-name: hero-down; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .35s; } .d4 { animation-delay: .5s; } .d5 { animation-delay: .65s; }
@media (prefers-reduced-motion: reduce) { .hero-anim { animation: none; opacity: 1; } }
@media (max-height: 700px) { .hero-wordmark { width: 104px; } }
.login-right { display: grid; place-items: center; min-height: 100vh; padding: 32px 20px; }
.login-box { width: 100%; max-width: 400px; }

.modal-back { position: fixed; inset: 0; background: rgba(4,8,16,0.7); backdrop-filter: blur(5px); display: grid; place-items: center; z-index: 100; padding: 16px; overflow-y: auto; }
.modal { background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 22px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.6); }
.modal h3 { font-family: var(--disp); font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }

#toast-root { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: #16213a; border: 1px solid var(--line2); border-left: 3px solid var(--accent); border-radius: 10px; padding: 11px 18px; font-size: 13.5px; font-weight: 500; box-shadow: 0 10px 40px rgba(0,0,0,0.5); animation: pop .2s ease; max-width: 92vw; }
.toast.err { border-left-color: var(--red); }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } }

/* player card */
.player-card {
  position: relative; border-radius: 18px; padding: 20px; overflow: hidden;
  background: linear-gradient(160deg, #131c30, #0c1322 70%);
  border: 1px solid var(--line2);
}
.player-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--pc-color, var(--accent)); }
.player-card .pc-num {
  position: absolute; right: 14px; top: 6px; font-family: var(--disp); font-weight: 800;
  font-size: 84px; line-height: 1; color: var(--pc-color, var(--accent)); opacity: 0.16;
}
.pc-name { font-family: var(--disp); font-size: 30px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.pc-meta { color: var(--muted); font-size: 12.5px; margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; }

/* feed */
.post { padding: 16px 18px; }
.post .p-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.post .p-title { font-weight: 700; font-size: 15.5px; }
.post .p-meta { color: var(--dim); font-size: 12px; }
.post .p-body { color: #c4d1e4; font-size: 14px; white-space: pre-wrap; }

/* photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.photo-tile { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--panel2); cursor: pointer; transition: transform .15s; }
.photo-tile:hover { transform: translateY(-2px); }
.photo-tile img { width: 100%; aspect-ratio: 8/5; object-fit: cover; display: block; }
.photo-tile .pt-cap { padding: 8px 11px; font-size: 12.5px; color: var(--muted); }

/* rink board (TV) */
.rink-board { min-height: 100vh; padding: 40px 48px; background: var(--bg); }
.rb-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--line2); padding-bottom: 18px; margin-bottom: 24px; }
.rb-title { font-family: var(--disp); font-size: 52px; font-weight: 800; text-transform: uppercase; }
.rb-clock { font-family: var(--disp); font-size: 52px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.rb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.rb-col-head { font-family: var(--disp); font-size: 24px; font-weight: 700; text-transform: uppercase; padding: 8px 14px; border-radius: 10px 10px 0 0; color: #04101c; }
.rb-ev { display: flex; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
.rb-ev.now { background: rgba(111,238,225,0.12); }
.rb-ev .rt { font-family: var(--disp); font-weight: 700; font-size: 18px; width: 118px; flex: none; font-variant-numeric: tabular-nums; }

/* misc */
.empty { text-align: center; color: var(--dim); padding: 44px 16px; }
.empty .e-icon { font-size: 40px; margin-bottom: 10px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .small { font-size: 12.5px; }
.flex { display: flex; gap: 10px; align-items: center; } .sb { justify-content: space-between; } .wrap { flex-wrap: wrap; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; }
.right { text-align: right; } .center { text-align: center; }
.mono { font-family: var(--mono); font-size: 0.94em; font-variant-numeric: tabular-nums; }
.delta-up { color: var(--green); font-weight: 700; } .delta-down { color: #f97c6e; font-weight: 700; } .delta-flat { color: var(--dim); }
.pct-bar { height: 8px; border-radius: 99px; background: rgba(148,163,184,0.14); overflow: hidden; }
.pct-bar > div { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent2), var(--accent)); }
.chart-box { position: relative; height: 240px; }
.chart-box.tall { height: 300px; }
canvas { max-width: 100%; }
.audio-rec { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rec-dot { width: 12px; height: 12px; border-radius: 99px; background: var(--red); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.pill-select { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-select .pill { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.5px; cursor: pointer; }
.pill-select .pill.on { border-color: var(--accent); color: var(--accent); background: rgba(111,238,225,0.09); }
@media print {
  body { background: #fff; color: #111; }
  .sidebar, .tabbar, .btn, .no-print { display: none !important; }
  .card, .player-card { border: 1px solid #ccc; background: #fff; }
  .main { padding: 0; }
}

/* ---- CT brand assets ---- */
.brand-logo { width: 84px; display: block; }
.brand-logo.sm { width: 46px; }
.pc-crest { position: absolute; right: 16px; bottom: 12px; width: 64px; opacity: 0.95; }
.testing-logo { width: 92px; }
.rb-logo { width: 88px; }

/* ---- Stitch-style motion & report hero ---- */
.pct-bar > div { transition: width 1.25s cubic-bezier(0.16, 1, 0.3, 1); }
.report-hero { position: relative; padding: 26px 24px; overflow: hidden;
  background: linear-gradient(160deg, #0d1c2d, #010f1f 75%); border: 1px solid var(--line2); border-radius: var(--radius); }
.report-hero::before { content:''; position:absolute; right:-70px; top:-70px; width:230px; height:230px; border-radius:99em;
  background: rgba(111,238,225,0.09); filter: blur(46px); }
.rh-rule { width: 44px; height: 3px; background: var(--accent); margin-bottom: 14px; }
.rh-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; }
.rh-num-row { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.rh-num { font-family: var(--disp); font-weight: 700; font-size: clamp(64px, 10vw, 92px); line-height: 0.95; color: var(--text); font-variant-numeric: tabular-nums; }
.rh-ord { font-family: var(--disp); font-weight: 700; font-size: 26px; color: var(--accent); text-transform: uppercase; line-height: 1.05; }
.rh-sub { color: var(--muted); font-style: italic; font-size: 13.5px; margin-top: 2px; }
.rh-bars { margin-top: 22px; display: grid; gap: 14px; }
.rh-bar-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card, .player-card, .report-hero { animation: fadeUp .45s cubic-bezier(0.16,1,0.3,1) both; }
.tl-item { animation: fadeUp .4s cubic-bezier(0.16,1,0.3,1) both; }
.tl-item:nth-child(2) { animation-delay: .04s; } .tl-item:nth-child(3) { animation-delay: .08s; }
.tl-item:nth-child(4) { animation-delay: .12s; } .tl-item:nth-child(5) { animation-delay: .16s; }
.tl-item:nth-child(6) { animation-delay: .20s; } .tl-item:nth-child(n+7) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .card, .player-card, .report-hero, .tl-item { animation: none; } .pct-bar > div { transition: none; } }

/* ==== Master board (landscape all-groups timeline + staffing) ==== */
.mb-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,rgba(13,28,45,.6),rgba(10,24,38,.6))}
.mb-inner{min-width:max-content}
.mb-row{display:flex;border-bottom:1px solid var(--line)}
.mb-row:last-child{border-bottom:none}
.mb-row.mb-head .mb-track{height:26px}
.mb-lab{width:150px;flex:none;padding:10px 12px;position:sticky;left:0;background:var(--panel,#0b1a2a);z-index:3;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line)}
.mb-ln{font-family:var(--disp);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.3px;line-height:1.1}
.mb-ls{color:var(--muted,#8c9bb3);font-size:11px;margin-top:2px}
.mb-track{position:relative;height:58px;flex:none}
.mb-gl{position:absolute;top:0;bottom:0;width:1px;background:rgba(148,163,184,.09)}
.mb-glab{position:absolute;top:5px;transform:translateX(-50%);color:var(--muted,#8c9bb3);font-family:var(--mono);font-size:10px}
.mb-blk{position:absolute;top:6px;height:46px;border-radius:7px;padding:4px 7px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(255,255,255,.08);color:#eef6ff}
.mb-blk .mb-t{font-size:11px;font-weight:600;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mb-blk .mb-h{font-family:var(--mono);font-size:8.5px;color:rgba(255,255,255,.55);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mb-blk[data-edit],.mb-blk.sel-able{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
.mb-blk[data-edit]:hover,.mb-blk.sel-able:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.45);z-index:2}
.mb-blk[data-mine="1"]{outline:2px solid #41e0c6;outline-offset:1px;box-shadow:0 0 12px rgba(65,224,198,.45)}
.mb-chips{position:absolute;right:4px;top:4px;display:flex;gap:3px}
.mb-chip{background:rgba(4,18,28,.85);border:1px solid rgba(65,224,198,.5);color:#41e0c6;font-size:8.5px;font-weight:700;border-radius:99px;padding:1px 5px;font-family:var(--mono)}
@media (max-width:700px){.mb-lab{width:104px}.mb-ln{font-size:11px}}
