/* The players page.
   ---------------------------------------------------------------------------
   One number matters here and the rest are context, so one number is large and
   the rest are not. Everything arrives from the api a moment after the page
   does, which is why nothing jumps: the shapes are laid out first and the
   figures count up into them.                                                 */

.board-head { padding: 9rem 0 2.5rem; position: relative; }
.board-head::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 1100px; height: 560px;
  transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(69,217,255,.10), transparent 70%);
}
.board-head h1 {
  font-family: var(--display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .95; letter-spacing: -.02em;
  margin: 0 0 1.2rem;
}
.board-head .lead { max-width: 58ch; color: var(--dim); }

.board { display: grid; gap: 1rem; }

/* --- the one that matters ---------------------------------------------- */

.now {
  position: relative; overflow: hidden;
  border: 1px solid var(--edge); border-radius: 22px;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(69,217,255,.13), transparent 62%),
    linear-gradient(140deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  padding: 3.2rem 2.4rem 2.8rem;
}
.now .figure {
  font-family: var(--display); font-weight: 400; line-height: .9;
  font-size: clamp(4rem, 13vw, 9rem); letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.now .what {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .26em;
  font-size: .74rem; color: var(--faint); margin-top: .9rem;
}

/* the light that says the page is live rather than a screenshot */
.pulse {
  position: absolute; right: 2.2rem; top: 2.4rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 0 rgba(69,217,255,.6);
}
.pulse.beating { animation: beat 2.6s ease-out infinite; }
@keyframes beat {
  0%   { box-shadow: 0 0 0 0 rgba(69,217,255,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(69,217,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(69,217,255,0); }
}
.pulse.cold { background: var(--faint); }

/* --- the supporting four ----------------------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

.tile {
  border: 1px solid var(--edge); border-radius: 16px; padding: 1.6rem 1.4rem;
  background: var(--panel);
  transition: border-color .3s, background .3s, transform .3s;
}
.tile:hover { border-color: rgba(69,217,255,.32); background: rgba(255,255,255,.05); transform: translateY(-2px); }
.tile .figure { font-family: var(--display); font-size: 2.1rem; line-height: 1; letter-spacing: -.01em; }
.tile .what {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .2em;
  font-size: .64rem; color: var(--faint); margin-top: .7rem;
}

/* --- the day ------------------------------------------------------------ */

.graph {
  border: 1px solid var(--edge); border-radius: 18px; padding: 1.6rem 1.6rem 1.1rem;
  background: var(--panel);
}
.graph-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.graph h2, .split h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: .8rem; letter-spacing: .24em; color: var(--cyan); margin: 0 0 1rem;
}
.graph .note { font-size: .8rem; color: var(--faint); }
#day { width: 100%; height: 180px; display: block; }
#day .fill { fill: url(#dayfade); }
#day .line { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
#day .rule { stroke: rgba(255,255,255,.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hours {
  display: flex; justify-content: space-between;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
  margin-top: .4rem;
}

/* --- shares ------------------------------------------------------------- */

.splits { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .splits { grid-template-columns: 1fr; } }

.split { border: 1px solid var(--edge); border-radius: 18px; padding: 1.6rem; background: var(--panel); }
.shares { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.shares li { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: baseline; }
.shares .name { font-size: .95rem; }
.shares .count { color: var(--dim); font-size: .88rem; }
.shares .bar {
  grid-column: 1 / -1; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,.07); overflow: hidden;
}
.shares .bar i {
  display: block; height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width .9s cubic-bezier(.2,.7,.2,1);
}
.shares .empty { color: var(--faint); }

.fineprint { color: var(--faint); font-size: .84rem; margin: 1.4rem 0 0; }

.honest { padding: 5rem 0 7rem; }
.honest h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: 1.1rem; letter-spacing: .12em; margin: 2.2rem 0 .8rem;
}
.honest .sub { color: var(--dim); max-width: 68ch; margin: 0 0 1rem; }
