/* Studio board (tracker.html) — on top of styles.css */
.nav nav a[aria-current="page"] { color: var(--ink); }
.nav nav a[aria-current="page"]::after { transform: scaleX(1); }

.tb-hero { position: relative; overflow: hidden; max-width: var(--wrap); margin: 18px auto 0; padding: 72px clamp(22px, 5vw, 64px) 56px; border-radius: 40px; background: var(--hero); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.tb-hero::before, .tb-hero::after { content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); pointer-events: none; }
.tb-hero::before { width: 520px; height: 520px; left: -220px; top: -260px; }
.tb-hero::after { width: 680px; height: 680px; right: -300px; bottom: -420px; box-shadow: 0 0 0 70px rgba(255, 255, 255, .05); }
.tb-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 99px; background: rgba(15, 16, 32, .18); font: 600 13px var(--display); letter-spacing: .04em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); animation: blink 1.6s infinite; }
.tb-hero h1 { margin-top: 20px; font-size: clamp(36px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -.05em; }
.tb-hero h1 span { color: #fff5d6; }
.tb-lede { max-width: 620px; margin: 18px auto 0; font-size: 18px; color: rgba(255, 255, 255, .92); }

.tb-counts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 880px; margin: 40px auto 0; }
.tb-counts div { display: grid; gap: 2px; padding: 20px 12px; border-radius: 22px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.tb-counts strong { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.tb-counts span { font: 600 13.5px var(--display); color: rgba(255, 255, 255, .92); }

.tb-slots { position: relative; z-index: 1; max-width: 560px; margin: 18px auto 0; padding: 16px 20px; border-radius: 20px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 20px 40px -24px rgba(15, 16, 32, .5); }
.tb-slots-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.tb-slots-top span { color: var(--ink2); font-weight: 600; }
.tb-bar { height: 10px; margin: 10px 0 8px; border-radius: 99px; background: #ffe8ed; overflow: hidden; }
.tb-bar i { display: block; width: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--g1), var(--g2)); transition: width 1.1s var(--ease); }
.tb-slots small { color: var(--muted); font-size: 13px; }

.tb-board { max-width: var(--wrap); margin: 0 auto; padding: 90px 20px 0; }
.tb-board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.tb-board-head h2 { margin-top: 12px; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.045em; }
.tb-board-head h2 span { color: var(--g1); }
.tb-filter { display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tb-filter button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 99px; background: none; font: 600 14px var(--display); color: var(--ink2); cursor: pointer; }
.tb-filter button.on { background: var(--ink); color: #fff; }
.tb-sample { margin-bottom: 18px; padding: 10px 16px; border-radius: 14px; background: #fff6e5; color: #8a5a00; font-size: 14px; width: fit-content; }

.tb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tb-grid li { animation: pop .55s var(--spring) both; animation-delay: calc(var(--i) * 60ms); min-width: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.tb-studio { position: relative; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s var(--spring), box-shadow .3s; }
.tb-studio::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--g1), var(--g2)); }
.tb-studio.setup::before { background: linear-gradient(180deg, var(--g3), #ffe1a8); }
a.tb-studio:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
a.tb-studio strong::after { content: ' ↗'; color: var(--g1); font-size: .8em; }
.tb-kind { font: 600 12.5px var(--display); color: var(--muted); letter-spacing: .01em; }
.tb-studio strong { font-size: 19px; line-height: 1.25; letter-spacing: -.03em; overflow-wrap: anywhere; }
.tb-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; font-size: 13.5px; color: var(--ink2); }
.tb-status { padding: 3px 11px; border-radius: 99px; font: 600 12px var(--display); font-style: normal; white-space: nowrap; }
.tb-status.live { background: #dcf7ec; color: #08885f; }
.tb-status.setup { background: #fff3dc; color: #a86400; }
.tb-private { margin-top: 18px; padding: 16px; border: 2px dashed var(--line); border-radius: 22px; text-align: center; font: 600 15px var(--display); color: var(--ink2); }
.tb-empty { display: grid; gap: 4px; padding: 46px 20px; border: 2px dashed #ffd0da; border-radius: 26px; text-align: center; }
.tb-empty b { font-size: 19px; }
.tb-empty span { color: var(--ink2); }

.tracker-page .final { position: relative; margin-top: 100px; }

@media (max-width: 760px) {
  .tb-hero { margin: 10px 12px 0; padding: 48px 18px 30px; border-radius: 30px; }
  .tb-counts { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
  .tb-counts div { padding: 14px 8px; border-radius: 18px; }
  .tb-lede { font-size: 16px; }
  .tb-board { padding-top: 64px; }
  .tb-filter { width: 100%; overflow-x: auto; }
  .tb-filter button { flex: 1; padding: 0 10px; font-size: 13px; white-space: nowrap; }
  .tb-grid { grid-template-columns: 1fr; gap: 10px; }
  .tb-studio { padding: 16px 16px 14px 20px; border-radius: 18px; gap: 4px; }
  .tb-studio strong { font-size: 17px; }
  .tracker-page .final { margin: 70px 12px 0; }
}
.tb-counts[hidden], .tb-empty[hidden], .tb-private[hidden], .tb-sample[hidden] { display: none; }
