/* © 2026 Rhetoric Works — All rights reserved. This code is proprietary. Unauthorized copying, reproduction, or reuse of any portion is prohibited. */
@keyframes viewIn {
  0% {
    opacity: 0;
    transform: translateY(6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes shimmer {
  0% {
    background-position: 200%0
  }

  to {
    background-position: -200%0
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes cfall {
  to {
    transform: translateY(105vh) rotate(720deg);
    opacity: .7
  }
}

@keyframes evIn {
  0% {
    opacity: 0;
    transform: translateY(-6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes wrIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(.97)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes evPop {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(.96)
  }

  60% {
    opacity: 1;
    transform: translateY(1px) scale(1.008)
  }

  to {
    transform: none
  }
}

@keyframes meterGlow {

  0%,
  to {
    box-shadow: 0 0 0 0 transparent;
    transform: scale(1)
  }

  35% {
    box-shadow: 0 0 26px 2px rgba(198, 169, 245, .22);
    transform: scale(1.012)
  }
}

@keyframes dotIn {
  0% {
    opacity: 0;
    transform: scale(.3);
    transform-origin: center;
    transform-box: fill-box
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes drawIn {
  to {
    stroke-dashoffset: 0
  }
}

@keyframes riseIn {
  0% {
    opacity: 0;
    transform: translateY(14px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --void: #050406;
  --bg2: #08070A;
  --panel: #0C0B10;
  --panel2: #100E14;
  --line: #1B1922;
  --line2: #29242F;
  --pink: #F5A9D0;
  --pink-d: #E87FB8;
  --lilac: #C6A9F5;
  --lilac-d: #A784E8;
  --violet: #A78BFF;
  --violet-d: #7A5FC4;
  --plum: #8B6FC7;
  --amber: #FFC98A;
  --dot: #E87FB8;
  --cyan: #C6A9F5;
  --cyan-d: #7A5FC4;
  --magenta: #F5A9D0;
  --magenta-d: #B86A94;
  --noise: #8A8492;
  --text: #F2EFF5;
  --soft: #C7C2CE;
  --dim: #8A8492;
  --dim2: #4E4857;
  --grad-wordmark: linear-gradient(100deg, #FFFFFF 20%, #F5A9D0 55%, #C6A9F5 88%);
  --grad-holo: linear-gradient(135deg, #F5A9D0, #C6A9F5 55%, #A78BFF 95%);
  --radius: 14px
}

html {
  font-size: 16px;
  scroll-behavior: smooth
}

body {
  background: var(--void);
  color: var(--text);
  font-weight: 300;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 70% 45%at 50% -8%, rgba(245, 169, 208, .08), transparent 62%), radial-gradient(ellipse 60% 40%at 85% 5%, rgba(198, 169, 245, .06), transparent 60%)
}

#app,
#auth-screen {
  position: relative;
  z-index: 1
}

.mono,
.wordmark,
body {
  font-family: "Inter", sans-serif
}

.wordmark {
  font-weight: 800;
  letter-spacing: -.045em;
  background: var(--grad-wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(232, 127, 184, .22))
}

.wordmark .dot {
  -webkit-text-fill-color: var(--pink-d)
}

.dot,
.wordmark .dot {
  color: var(--pink-d)
}

#auth-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  gap: 36px
}

.auth-logo {
  font-size: clamp(46px, 8vw, 82px);
  line-height: 1;
  text-align: center
}

.auth-tag,
.field label {
  color: var(--soft);
  font-weight: 400
}

.auth-tag {
  font-size: 14px;
  letter-spacing: .01em;
  text-align: center;
  margin-top: 18px
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, var(--bg2), var(--void));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4)
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line)
}

.auth-tab,
.field input {
  background: 0 0;
  border: 0;
  font-family: "Inter", sans-serif
}

.auth-tab {
  padding: 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--dim);
  border-bottom: 2px solid transparent
}

.auth-tab.active {
  color: var(--text);
  border-bottom-color: var(--pink-d)
}

.auth-body {
  padding: 28px 28px 26px
}

.field {
  margin-bottom: 18px
}

.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 9px
}

.field input {
  width: 100%;
  padding: 11px 0;
  border-bottom: 1px solid var(--line2);
  border-radius: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  outline: 0;
  transition: border-color .25s
}

.field input:focus {
  border-bottom-color: var(--pink-d)
}

.field .hint {
  font-size: 12px;
  color: var(--dim2);
  margin-top: 6px;
  font-weight: 400
}

.btn-primary {
  width: 100%;
  padding: 13px;
  margin-top: 8px;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-radius: 100px;
  color: #0a0810;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0
}

.btn-primary:hover {
  background: var(--soft)
}

.btn-primary:active {
  transform: translateY(1px)
}

.auth-tab:focus-visible,
.btn-primary:focus-visible,
.event-pill:focus-visible,
.nav-item:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 2px
}

.auth-msg,
.auth-note {
  font-size: 13px;
  font-weight: 400
}

.auth-msg {
  margin-top: 15px;
  line-height: 1.6;
  min-height: 18px
}

.auth-msg.err {
  color: var(--pink-d)
}

.auth-msg.ok {
  color: var(--lilac)
}

.auth-note {
  max-width: 400px;
  color: var(--dim);
  line-height: 1.7;
  text-align: center
}

#app {
  display: none
}

:root {
  --side-w: clamp(188px, 16vw, 236px)
}

html.side-min {
  --side-w: 68px
}

#app.on {
  display: grid;
  grid-template-columns: var(--side-w) 1fr;
  min-height: 100vh;
  transition: grid-template-columns .28s ease
}

.sidebar {
  background: var(--bg2);
  border-right: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh
}

.side-logo {
  font-size: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px
}

.nav-label {
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--dim2);
  text-transform: uppercase;
  margin: 10px 0 8px;
  font-weight: 500
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: 0 0;
  border: 0;
  border-left: 2px solid transparent;
  color: var(--dim);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  cursor: pointer;
  text-align: left;
  width: 100%
}

.nav-item:hover {
  color: var(--text);
  background: rgba(245, 169, 208, .04)
}

.nav-item.active {
  color: var(--text);
  border-left-color: var(--pink-d);
  background: linear-gradient(90deg, rgba(245, 169, 208, .08), transparent)
}

.nav-item .glyph {
  font-size: 13px;
  color: var(--pink-d)
}

.side-spacer {
  flex: 1
}

.user-chip {
  margin: 0 16px 12px;
  padding: 13px 15px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px
}

.user-chip .u-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  word-break: break-all
}

.user-chip .u-sub {
  font-size: 11px;
  color: var(--dim2);
  letter-spacing: .04em;
  margin-top: 3px;
  font-weight: 400
}

.btn-ghost {
  margin: 0 16px;
  padding: 10px;
  background: 0 0;
  cursor: pointer;
  border: 1px solid var(--line2);
  border-radius: 100px;
  color: var(--dim);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 400
}

.btn-ghost:hover {
  color: var(--pink-d);
  border-color: var(--pink-d)
}

.main {
  padding: 44px 52px 68px;
  min-width: 0
}

.view {
  display: none
}

.view.on {
  display: block;
  animation: viewIn .25s ease
}

@media (prefers-reduced-motion:reduce) {
  .view.on {
    animation: none
  }

  * {
    transition: none !important
  }
}

.page-eyebrow {
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--dim);
  text-transform: none;
  margin-bottom: 10px;
  font-weight: 500
}

.page-title {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -.03em
}

.page-sub {
  color: var(--soft);
  font-size: 15px;
  margin-top: 12px;
  max-width: 640px;
  font-weight: 400
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px
}

.panel-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px
}

.panel-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-transform: none
}

.panel-sub {
  font-size: 13px;
  color: var(--dim);
  font-weight: 400
}

.panel-body {
  padding: 22px 24px
}

.home-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: start
}

.player-card {
  position: relative;
  border-radius: 16px;
  padding: 1px;
  background: var(--grad-holo)
}

.player-card.standard {
  background: linear-gradient(135deg, var(--line2), var(--violet-d))
}

.player-card-inner {
  background: linear-gradient(170deg, #100e15 0, #08070a 72%);
  border-radius: 15px;
  padding: 30px 28px 26px;
  position: relative;
  overflow: hidden
}

.player-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 45%at 50% -5%, rgba(245, 169, 208, .16), transparent 68%)
}

.pc-top {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative
}

.pc-ovr {
  text-align: center
}

.pc-ovr .n {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 62px;
  line-height: .95;
  letter-spacing: -.04em;
  background: var(--grad-wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.judge-fill span,
.pc-ovr .l {
  font-size: 11px;
  font-weight: 500
}

.pc-ovr .l {
  letter-spacing: .16em;
  color: var(--dim)
}

.pc-id {
  padding-top: 2px;
  min-width: 0
}

.pc-name {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.01em;
  word-break: break-all
}

.pc-tier {
  display: inline-block;
  margin-top: 9px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: .01em;
  font-weight: 400
}

.pc-tier.op {
  background: rgba(245, 169, 208, .12);
  color: var(--pink);
  border: 1px solid rgba(245, 169, 208, .35)
}

.pc-tier.std {
  background: rgba(198, 169, 245, .1);
  color: var(--lilac);
  border: 1px solid rgba(198, 169, 245, .35)
}

.pc-events {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px
}

.pc-event {
  font-size: 12px;
  padding: 4px 11px;
  border: 1px solid var(--line2);
  border-radius: 100px;
  color: var(--soft);
  letter-spacing: .01em;
  font-weight: 400
}

.pc-attrs {
  margin-top: 26px;
  position: relative
}

.attr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px
}

.attr-name {
  width: 96px;
  flex-shrink: 0;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--soft);
  font-weight: 400
}

.attr-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, .05);
  border-radius: 3px;
  overflow: hidden
}

.attr-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--lilac-d), var(--lilac))
}

.attr-fill.hot {
  background: linear-gradient(90deg, var(--pink-d), var(--pink))
}

.attr-val {
  width: 30px;
  text-align: right;
  font-size: 14px;
  font-weight: 500
}

.pc-foot,
.stat-grid {
  border-top: 1px solid var(--line)
}

.pc-foot {
  margin-top: 22px;
  padding-top: 16px;
  font-size: 11px;
  color: var(--dim2);
  letter-spacing: .02em;
  font-weight: 400;
  position: relative
}

.stat-grid {
  display: grid;
  border-left: 1px solid var(--line)
}

.stat-cell {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.stat-label {
  font-size: 12px;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--dim);
  margin-bottom: 8px;
  font-weight: 400
}

.stat-value {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.02em
}

.stat-value.c {
  color: var(--lilac)
}

.stat-value.m {
  color: var(--pink)
}

.stat-value.v {
  color: var(--violet)
}

.stat-value.a {
  color: var(--amber)
}

.stat-sub {
  font-size: 12px;
  color: var(--dim2);
  margin-top: 6px;
  font-weight: 400
}

.judge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px
}

.judge-name {
  width: 150px;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--soft);
  font-weight: 400
}

.judge-track {
  flex: 1;
  height: 16px;
  background: rgba(255, 255, 255, .04);
  border-radius: 100px;
  position: relative;
  overflow: hidden
}

.judge-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  border-radius: 100px
}

.judge-fill span {
  color: #14121a
}

.judge-n {
  width: 40px;
  text-align: right;
  font-size: 12px;
  color: var(--dim2);
  flex-shrink: 0;
  font-weight: 400
}

.form-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.form-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line2)
}

.form-box.top {
  background: rgba(198, 169, 245, .12);
  color: var(--lilac);
  border-color: rgba(198, 169, 245, .3)
}

.form-box.mid {
  background: rgba(167, 139, 255, .08);
  color: var(--violet)
}

.form-box.low {
  background: rgba(245, 169, 208, .1);
  color: var(--pink);
  border-color: rgba(245, 169, 208, .3)
}

.rfd-statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  margin-bottom: 24px
}

.rfd-statbar .stat-cell {
  border-bottom: none
}

.rfd-statbar .stat-cell:last-child {
  border-right: none
}

.empty-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
  margin-bottom: 24px;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  background: rgba(245, 169, 208, .04)
}

.empty-banner .t {
  font-size: 14px;
  color: var(--soft);
  font-weight: 400
}

.btn-link,
.empty-banner .t strong {
  color: var(--pink);
  font-weight: 500
}

.btn-link {
  padding: 9px 18px;
  cursor: pointer;
  background: 0 0;
  border: 1px solid var(--pink-d);
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400
}

.btn-link:hover {
  background: var(--pink-d);
  color: #14121a
}

.fw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.fw-cell {
  padding: 20px;
  border-right: 1px solid var(--line)
}

.fw-cell:last-child {
  border-right: none
}

.fw-head {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
  letter-spacing: -.01em
}

.fw-rule {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 14px;
  font-weight: 400
}

.fw-tag {
  display: inline-block;
  width: 26px;
  height: 4px;
  border-radius: 4px;
  margin-bottom: 12px
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 3px 11px;
  border-radius: 100px;
  letter-spacing: .01em;
  font-weight: 400
}

.chip-pre {
  background: rgba(167, 139, 255, .12);
  color: var(--violet)
}

.chip-det {
  background: rgba(198, 169, 245, .12);
  color: var(--lilac)
}

.chip-flo {
  background: rgba(245, 169, 208, .12);
  color: var(--pink)
}

.chip-noi {
  background: rgba(138, 132, 146, .15);
  color: var(--noise)
}

.chip-par {
  background: rgba(255, 201, 138, .12);
  color: var(--amber)
}

.ladder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px
}

.ladder-cat {
  width: 4px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0
}

.ladder-label {
  width: 200px;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400
}

.ladder-track {
  flex: 1;
  position: relative;
  height: 18px;
  background: rgba(255, 255, 255, .04);
  border-radius: 100px;
  overflow: hidden
}

.ladder-skel {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, rgba(245, 169, 208, .06)0, rgba(198, 169, 245, .14) 50%, rgba(245, 169, 208, .06) 100%);
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite
}

@media (prefers-reduced-motion:reduce) {
  .ladder-skel {
    animation: none
  }
}

.ladder-baseline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 48%;
  width: 0;
  border-left: 2px dashed rgba(242, 239, 245, .16)
}

.ladder-n {
  width: 34px;
  text-align: right;
  font-size: 12px;
  color: var(--dim2);
  flex-shrink: 0;
  font-weight: 400
}

.chart-ghost {
  height: 260px;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, .01)
}

.chart-ghost .g-title {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--dim);
  text-transform: none;
  font-weight: 500
}

.chart-ghost .g-sub,
.legend {
  font-size: 13px;
  color: var(--dim2);
  font-weight: 400
}

.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: var(--soft)
}

.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.h2h-block {
  padding: 15px 0;
  border-bottom: 1px solid var(--line)
}

.h2h-block:last-child,
.rank-table tr:last-child td {
  border-bottom: none
}

.h2h-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px
}

.h2h-area {
  font-size: 14px;
  font-weight: 500
}

.h2h-badge {
  font-size: 11px;
  background: rgba(245, 169, 208, .1);
  color: var(--pink);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 400
}

.h2h-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px
}

.h2h-name {
  width: 170px;
  flex-shrink: 0;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400
}

.h2h-track {
  flex: 1;
  height: 15px;
  background: rgba(255, 255, 255, .04);
  border-radius: 100px;
  overflow: hidden;
  position: relative
}

.conclusions {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.c-item {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.c-item:nth-child(2n) {
  border-right: none
}

.c-item:nth-last-child(-n+2) {
  border-bottom: none
}

.c-num {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 28px;
  color: var(--line2);
  line-height: 1;
  margin-bottom: 12px
}

.c-head {
  font-size: 15px;
  font-weight: 500;
  margin: 8px 0 6px;
  line-height: 1.4;
  letter-spacing: -.01em
}

.c-body {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.65;
  font-weight: 400
}

.event-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px
}

.event-pill {
  padding: 9px 17px;
  cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--dim);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400
}

.event-pill:hover {
  color: var(--text);
  border-color: var(--line2)
}

.event-pill.active {
  color: #14121a;
  background: #fff;
  border-color: #fff;
  font-weight: 500
}

.bracket-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 14px
}

.bracket-name {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em
}

.bracket-name.legend {
  color: var(--amber)
}

.bracket-name.elite {
  color: var(--lilac)
}

.bracket-name.contender {
  color: var(--violet)
}

.bracket-rule {
  flex: 1;
  height: 1px;
  background: var(--line)
}

.bracket-range {
  font-size: 12px;
  color: var(--dim2);
  letter-spacing: .04em;
  font-weight: 400
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden
}

.rank-table td,
.rank-table th {
  border-bottom: 1px solid var(--line)
}

.rank-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--dim2);
  font-weight: 500
}

.rank-table td {
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 400
}

.rank-table tr:hover td {
  background: rgba(245, 169, 208, .04)
}

.rk-pos {
  color: var(--dim);
  width: 52px;
  font-weight: 400
}

.rk-name {
  font-weight: 500;
  letter-spacing: 0
}

.rk-school {
  color: var(--dim);
  font-size: 13px
}

.rk-pts {
  color: var(--lilac);
  text-align: right;
  font-weight: 400
}

.rk-ovr {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-align: right;
  width: 64px
}

.rk-you td {
  background: linear-gradient(90deg, rgba(245, 169, 208, .09), transparent) !important
}

.rk-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
  letter-spacing: .02em;
  background: rgba(245, 169, 208, .14);
  color: var(--pink);
  vertical-align: 1px;
  font-weight: 400
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.connect-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column
}

.connect-card .panel-body {
  display: flex;
  flex-direction: column;
  flex: 1
}

.connect-card .btn-primary {
  margin-top: auto
}

.conn-desc {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.7;
  margin-bottom: 18px;
  font-weight: 400
}

.conn-badge {
  font-size: 11px;
  letter-spacing: .02em;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 400
}

.conn-badge.safe {
  background: rgba(198, 169, 245, .1);
  color: var(--lilac);
  border: 1px solid rgba(198, 169, 245, .3)
}

.conn-badge.warn {
  background: rgba(255, 201, 138, .1);
  color: var(--amber);
  border: 1px solid rgba(255, 201, 138, .3)
}

.fb-file {
  width: 100%;
  margin-bottom: 16px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 400
}

.fb-file::file-selector-button {
  padding: 9px 15px;
  margin-right: 12px;
  cursor: pointer;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 100px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0
}

.conn-status {
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  background: var(--panel);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400
}

.conn-status.ok {
  border-color: rgba(198, 169, 245, .4);
  color: var(--lilac)
}

.conn-status.err {
  border-color: rgba(245, 169, 208, .4);
  color: var(--pink)
}

.conn-spinner {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--line2);
  border-top-color: var(--pink-d);
  animation: spin .9s linear infinite
}

@media (prefers-reduced-motion:reduce) {
  .conn-spinner {
    animation: none
  }
}

.conn-status.err .conn-spinner,
.conn-status.ok .conn-spinner {
  display: none
}

.fb-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px
}

.fb-search {
  flex: 2;
  min-width: 220px;
  padding: 11px 16px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: 0;
  font-weight: 400
}

.fb-search:focus,
.fb-select:focus {
  border-color: var(--pink-d)
}

.fb-select,
.rank-chip input {
  color: var(--text);
  font-family: "Inter", sans-serif;
  outline: 0
}

.fb-select {
  flex: 1;
  min-width: 170px;
  padding: 11px 14px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 400
}

.fb-group {
  margin-bottom: 32px
}

.fb-group-head {
  font-size: 13px;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--lilac);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 500
}

.fb-group-head .g-meta {
  color: var(--dim2);
  letter-spacing: 0;
  font-weight: 400
}

.fb-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px
}

.fb-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px
}

.fb-judge {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--lilac)
}

.fb-meta,
.fb-pill {
  font-size: 11px;
  font-weight: 400
}

.fb-pill {
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(167, 139, 255, .1);
  color: var(--violet);
  letter-spacing: 0
}

.fb-meta {
  margin-left: auto;
  color: var(--dim2)
}

.fb-speech-head {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 5px;
  font-size: 12px;
  color: var(--dim);
  font-weight: 400
}

.fb-speech-head .sp-label {
  color: var(--violet)
}

.fb-speech-head .sp-topic {
  font-style: italic;
  color: var(--amber)
}

.fb-text {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg2);
  border-left: 2px solid var(--pink-d);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin-top: 4px;
  font-weight: 400
}

.fb-text mark {
  background: rgba(255, 201, 138, .28);
  color: var(--amber);
  border-radius: 3px;
  padding: 0 3px
}

.fb-src {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--lilac);
  text-decoration: none;
  letter-spacing: 0;
  font-weight: 400
}

.fb-src:hover {
  text-decoration: underline
}

.fb-none {
  color: var(--dim2);
  text-align: center;
  padding: 50px 0;
  font-size: 13px;
  letter-spacing: .02em;
  font-weight: 400
}

@media (max-width:1080px) {

  .home-grid,
  .two-col {
    grid-template-columns: 1fr
  }

  .fw-grid,
  .rfd-statbar {
    grid-template-columns: 1fr 1fr
  }

  .fw-cell:nth-child(2) {
    border-right: none
  }

  .fw-cell:nth-child(-n+2),
  .rfd-statbar .stat-cell:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .rfd-statbar .stat-cell:nth-child(2n) {
    border-right: none
  }

  .connect-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:820px) {
  #app.on {
    grid-template-columns: 1fr
  }

  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 16px;
    gap: 8px;
    border-right: none;
    border-bottom: 1px solid var(--line)
  }

  .side-logo {
    border: 0;
    padding: 0 10px 0 0;
    margin: 0;
    font-size: 20px
  }

  .nav-label,
  .side-spacer {
    display: none
  }

  .nav-item {
    width: auto;
    padding: 8px 12px;
    border-left: none;
    border-bottom: 2px solid transparent
  }

  .nav-item.active {
    border-bottom-color: var(--pink-d);
    background: 0 0
  }

  .user-chip {
    margin: 0;
    padding: 7px 11px
  }

  .btn-ghost {
    margin: 0
  }

  .main {
    padding: 28px 18px 56px
  }

  .conclusions,
  .stat-grid {
    grid-template-columns: 1fr
  }

  .c-item {
    border-right: none !important
  }

  .ladder-label {
    width: 130px
  }

  .rk-school {
    display: none
  }
}

.pc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 24px;
  position: relative
}

.pc-stat {
  background: var(--panel);
  padding: 13px 15px
}

.pc-stat .v {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1
}

.pc-stat .v.pk {
  color: var(--pink)
}

.pc-stat .v.li {
  color: var(--lilac)
}

.pc-stat .v.vi {
  color: var(--violet)
}

.pc-stat .v.am {
  color: var(--amber)
}

.pc-stat .k {
  font-size: 11px;
  color: var(--dim);
  margin-top: 5px;
  font-weight: 400
}

.pc-breakdown {
  margin-top: 20px;
  position: relative
}

.pc-bd-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--soft);
  margin-bottom: 10px
}

.pc-bd-sub {
  font-weight: 400;
  color: var(--dim2);
  font-size: 11px
}

.bd-row {
  display: grid;
  grid-template-columns: 92px 1fr 40px;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px
}

.bd-row .n,
.fineprint {
  font-size: 12px;
  color: var(--dim);
  font-weight: 400
}

.bd-row .track {
  height: 5px;
  background: rgba(255, 255, 255, .05);
  border-radius: 5px;
  overflow: hidden
}

.bd-row .fill {
  height: 100%;
  border-radius: 5px
}

.bd-row .val {
  font-size: 12px;
  text-align: right;
  font-weight: 500
}

.fineprint {
  font-size: 11px;
  color: var(--dim2);
  margin-top: 10px;
  line-height: 1.6
}

.round-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden
}

.round-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .015)
}

.class-card h4,
.round-title {
  font-size: 15px;
  font-weight: 500
}

.round-meta {
  font-size: 12px;
  color: var(--dim2);
  font-weight: 400
}

.rank-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px
}

.rank-chip.good {
  background: rgba(198, 169, 245, .14);
  color: var(--lilac);
  border: 1px solid rgba(198, 169, 245, .35)
}

.rank-chip.mid {
  background: rgba(167, 139, 255, .1);
  color: var(--violet);
  border: 1px solid rgba(167, 139, 255, .3)
}

.rank-chip.low {
  background: rgba(245, 169, 208, .12);
  color: var(--pink);
  border: 1px solid rgba(245, 169, 208, .3)
}

.rank-chip.none {
  background: rgba(255, 255, 255, .03);
  color: var(--dim);
  border: 1px dashed var(--line2);
  cursor: pointer
}

.rank-chip .edit {
  cursor: pointer;
  opacity: .6
}

.rank-chip input {
  width: 44px;
  background: 0 0;
  border: 0;
  border-bottom: 1px solid var(--line2);
  font-size: 12px;
  text-align: center
}

.round-body {
  padding: 8px 20px 14px
}

.judge-sub {
  margin-top: 12px
}

.judge-sub .jname {
  font-size: 14px;
  font-weight: 500;
  color: var(--lilac)
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px
}

.class-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-top: 3px solid var(--line2)
}

.class-card.noise {
  border-top-color: var(--dim2)
}

.class-card h4 {
  font-size: 14px;
  margin-bottom: 3px
}

.class-card .cc-sub {
  font-size: 11px;
  color: var(--dim);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.5
}

.class-card .cc-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400
}

.class-card .cc-item:last-child {
  border-bottom: none
}

.class-card .cc-item .d {
  color: var(--dim);
  font-size: 12px
}

.bg-row .n,
.class-card .cc-empty,
.pl-price span {
  font-size: 12px;
  color: var(--dim2);
  font-weight: 400
}

.bargraph,
.bg-row {
  display: grid;
  gap: 9px
}

.bg-row {
  grid-template-columns: 170px 1fr 84px;
  gap: 12px;
  align-items: center
}

.bg-row .n {
  font-size: 13px;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.bg-track {
  height: 16px;
  background: rgba(255, 255, 255, .04);
  border-radius: 100px;
  overflow: hidden;
  display: flex
}

.bg-fill {
  height: 100%
}

.bg-val {
  font-size: 12px;
  color: var(--dim);
  font-weight: 400;
  text-align: right
}

.swing-pair {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 16px
}

.swing-base {
  width: 2px;
  height: 16px;
  background: var(--dim2)
}

.fr-code-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap
}

.fr-code {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .22em;
  color: var(--pink)
}

.fr-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center
}

.fr-name {
  font-size: 16px;
  font-weight: 500
}

.fr-team {
  font-size: 12px;
  color: var(--dim);
  font-weight: 400
}

.fr-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap
}

.fr-stat {
  text-align: center
}

.fr-stat .v {
  font-size: 20px;
  font-weight: 300
}

.fr-stat .k {
  font-size: 10px;
  color: var(--dim2);
  font-weight: 400
}

.fr-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  margin-top: 12px
}

.ch-new {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.ch-card,
.ch-score {
  display: flex;
  align-items: center
}

.ch-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  gap: 14px;
  flex-wrap: wrap
}

.ch-card .lbl {
  font-size: 14px;
  font-weight: 500
}

.ch-card .opp {
  font-size: 12px;
  color: var(--dim);
  font-weight: 400
}

.ch-score {
  margin-left: auto;
  gap: 16px;
  font-size: 13px;
  font-weight: 400
}

.ch-lead {
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500
}

.ch-lead.you {
  background: rgba(198, 169, 245, .14)
}

.ch-lead.them {
  background: rgba(245, 169, 208, .12)
}

.ch-lead.tie {
  background: rgba(255, 255, 255, .05)
}

.prep-focuses,
.prep-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.prep-focuses {
  gap: 8px;
  margin-top: 14px
}

.bill-tag button,
.focus-pill {
  background: 0 0;
  color: var(--dim);
  cursor: pointer;
  font-size: 13px
}

.bill-tag,
.focus-pill {
  border-radius: 100px;
  border: 1px solid var(--line2);
  font-weight: 400
}

.focus-pill {
  padding: 8px 16px;
  font-family: "Inter", sans-serif
}

.focus-pill.on {
  background: rgba(245, 169, 208, .12);
  border-color: var(--pink-d);
  color: var(--pink)
}

.bill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--soft);
  margin: 0 6px 6px 0
}

.bill-tag button {
  border: 0
}

.prep-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
  overflow: hidden
}

.prep-cal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line)
}

.cal-day {
  background: var(--panel);
  padding: 12px 12px 14px;
  min-height: 110px
}

.cal-day .d-label {
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
  margin-bottom: 8px
}

.cal-day.today .d-label {
  color: var(--pink)
}

.bill-row,
.todo {
  display: flex;
  font-weight: 400
}

.todo {
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  padding: 4px 0;
  cursor: pointer;
  color: var(--soft);
  line-height: 1.45
}

.todo .box {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1px solid var(--line2);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #14121a
}

.todo.done {
  color: var(--dim2);
  text-decoration: line-through
}

.todo.done .box {
  background: var(--lilac);
  border-color: var(--lilac)
}

.bill-row {
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px
}

.bill-row:last-child {
  border-bottom: none
}

.bill-row .btn-link {
  padding: 5px 13px;
  font-size: 12px
}

.bill-row.done {
  color: var(--dim2)
}

.bill-row.done .b-name {
  text-decoration: line-through
}

.tm-team {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
  overflow: hidden
}

.tm-roster {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.tm-member {
  padding: 7px 15px;
  border-radius: 100px;
  border: 1px solid var(--line2);
  font-size: 13px;
  color: var(--soft);
  font-weight: 400;
  background: 0 0;
  font-family: "Inter", sans-serif
}

.tm-member.clickable {
  cursor: pointer
}

.tm-member.clickable:hover {
  border-color: var(--pink-d);
  color: var(--pink)
}

.tm-code {
  font-size: 16px;
  letter-spacing: .2em;
  color: var(--pink);
  font-weight: 400
}

.tm-drill {
  border-top: 1px solid var(--line);
  padding: 18px 22px
}

.asn-row {
  font-size: 13px;
  font-weight: 400
}

.asn-row:last-child {
  border-bottom: none
}

.asn-kind {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 500
}

.asn-kind.homework {
  background: rgba(198, 169, 245, .12);
  color: var(--lilac)
}

.asn-kind.prep {
  background: rgba(245, 169, 208, .12);
  color: var(--pink)
}

.asn-kind.goal {
  background: rgba(255, 201, 138, .12);
  color: var(--amber)
}

.asn-new {
  margin-top: 14px
}

@media (max-width:900px) {
  .asn-new {
    grid-template-columns: 1fr 1fr
  }
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 12px
}

.matrix td,
.matrix th {
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500
}

.matrix td {
  font-weight: 400
}

.dl-meter .m-value.good,
.mx-done {
  color: var(--lilac)
}

.matrix th,
.mx-not {
  color: var(--dim2)
}

#confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  overflow: hidden
}

.cf {
  position: absolute;
  top: -14px;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  opacity: .95;
  animation: cfall linear forwards
}

@media (prefers-reduced-motion:reduce) {
  .cf {
    display: none
  }
}

.dl-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center
}

.dl-btn {
  margin: 0;
  width: auto;
  padding: 11px 22px
}

.dl-stage {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px
}

#dl-video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  border: 1px solid var(--line2);
  aspect-ratio: 4/3;
  object-fit: cover
}

.dl-meters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  align-content: start
}

.dl-meter {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px
}

.dl-meter .m-label {
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase
}

.dl-meter .m-value {
  font-size: 26px;
  font-weight: 300;
  margin-top: 6px;
  letter-spacing: -.02em
}

.dl-meter .m-value.warn {
  color: var(--pink)
}

.dl-meter .m-value.note {
  color: var(--amber)
}

.dl-ev .t,
.dl-meter .m-sub {
  color: var(--dim2);
  font-size: 11px
}

.dl-meter .m-sub {
  margin-top: 4px;
  font-weight: 400
}

.dl-feed {
  margin-top: 16px;
  max-height: 190px;
  overflow-y: auto;
  display: grid;
  gap: 6px
}

.dl-ev {
  font-size: 13px;
  font-weight: 400;
  background: var(--bg2)
}

.dl-ev .t {
  min-width: 40px
}

.dl-ev.good {
  border-left-color: var(--lilac)
}

.dl-ev.warn {
  border-left-color: var(--pink)
}

.dl-ev.note {
  border-left-color: var(--amber)
}

.dl-report-top {
  display: flex;
  gap: 34px;
  align-items: center;
  flex-wrap: wrap
}

.dl-sv .sv-n {
  font-size: 74px;
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1;
  background: var(--grad-wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.dl-sv .sv-l {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--dim);
  font-weight: 500;
  margin-top: 8px
}

.dl-subscores {
  flex: 1;
  min-width: 280px;
  display: grid;
  gap: 9px
}

.dl-seg {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  margin-top: 10px
}

.dl-seg .s-head {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
  font-weight: 500
}

.dl-seg .s-time {
  color: var(--dim2);
  font-size: 12px;
  font-weight: 400
}

.dl-seg .s-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px
}

.auth-tab,
.btn-ghost,
.btn-link,
.btn-primary,
.event-pill,
.focus-pill,
.nav-item,
.rank-chip,
.sw-btn,
.tm-member,
.todo {
  transition: background .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease, transform .22s ease, opacity .28s ease
}

.btn-ghost:hover,
.btn-link:hover {
  transform: translateY(-1px)
}

.dl-ev-in {
  animation: evIn .35s cubic-bezier(.22, .8, .3, 1)
}

.m-value {
  transition: color .4s ease, opacity .25s ease
}

.m-value.m-swap {
  opacity: .25
}

.attr-fill,
.bd-row .fill,
.bg-fill,
.judge-fill {
  transition: width .7s cubic-bezier(.22, .8, .3, 1)
}

@media (prefers-reduced-motion:reduce) {

  .dl-ev-in,
  .view.on {
    animation: none
  }

  .attr-fill,
  .bd-row .fill,
  .bg-fill,
  .dl-fill,
  .judge-fill {
    transition: none
  }
}

body.light {
  --void: #F5F5F7;
  --bg2: #FFFFFF;
  --panel: #FFFFFF;
  --panel2: #FAFAFC;
  --line: #E8E8ED;
  --line2: #D9D9E0;
  --text: #1D1D1F;
  --soft: #3A3A3E;
  --dim: #6E6E73;
  --dim2: #98989D;
  --pink: #D64A97;
  --pink-d: #C2337F;
  --lilac: #7E5BD6;
  --lilac-d: #6A48BF;
  --violet: #6E56CF;
  --violet-d: #5B45B0;
  --amber: #C77618;
  --grad-wordmark: linear-gradient(100deg, #1D1D1F 20%, #C2337F 55%, #6A48BF 88%);
  --grad-holo: linear-gradient(135deg, #D64A97, #7E5BD6 55%, #6E56CF 95%);
  --pos: #1E9E52;
  --neg: #DE3B3B;
  --neu: #C29008
}

body.light::before {
  background: radial-gradient(ellipse 70% 45%at 50% -8%, rgba(214, 74, 151, .06), transparent 62%), radial-gradient(ellipse 60% 40%at 85% 5%, rgba(126, 91, 214, .05), transparent 60%)
}

body.light .acard,
body.light .auth-card,
body.light .class-card,
body.light .dl-meter,
body.light .dl-seg,
body.light .fb-card,
body.light .fr-card,
body.light .panel,
body.light .prep-card,
body.light .round-block,
body.light .tm-team {
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .04)
}

body.light .btn-primary {
  background: #1d1d1f;
  color: #fff
}

body.light .btn-primary:hover {
  background: #3a3a3e
}

body.light .event-pill.active {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #fff
}

body.light .player-card-inner {
  background: linear-gradient(170deg, #fff 0, #f7f5fb 72%)
}

body.light .player-card-inner::before {
  background: radial-gradient(ellipse 90% 45%at 50% -5%, rgba(214, 74, 151, .08), transparent 68%)
}

body.light .judge-fill span {
  color: #fff
}

body.light #dl-video {
  background: #eaeaee
}

body.light .form-box.top {
  background: rgba(126, 91, 214, .12)
}

body.light .fb-text {
  background: #fafafc
}

.auth-card,
.panel,
body,
input,
select {
  transition: background .35s ease, color .35s ease, border-color .35s ease
}

.class-card.hm-pos {
  border-top-color: var(--violet)
}

.class-card.hm-neg {
  border-top-color: var(--amber)
}

.class-card.prereq {
  border-top-color: var(--lilac)
}

.clickable {
  cursor: pointer
}

.bg-row.clickable:hover .n,
.cc-item.clickable:hover {
  color: var(--violet)
}

.bg-row.clickable {
  border-radius: 8px;
  padding: 2px 6px;
  margin: 0-6px;
  transition: background .25s ease
}

.bg-row.clickable:hover {
  background: rgba(127, 127, 127, .06)
}

.evi-row {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line)
}

.evi-row:last-child {
  border-bottom: none
}

.evi-glyph {
  font-size: 13px;
  margin-top: 2px
}

.matrix.lb th.clickable:hover {
  color: var(--violet)
}

.evi-quote {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6
}

.evi-meta {
  font-size: 11.5px;
  color: var(--dim2);
  margin-top: 4px;
  font-weight: 400
}

.standout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px
}

.so-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color .25s ease, transform .22s ease
}

.so-card:hover {
  border-color: var(--violet)
}

.so-name {
  font-size: 16px;
  font-weight: 500
}

.so-fam,
.so-stat {
  font-size: 11px;
  color: var(--dim2);
  font-weight: 400;
  margin-top: 2px
}

.so-stat {
  font-size: 12.5px;
  color: var(--soft);
  margin-top: 10px;
  line-height: 1.5
}

.so-eff {
  font-size: 12px;
  margin-top: 6px;
  color: var(--dim);
  font-weight: 400
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(198, 169, 245, .4);
  background: rgba(198, 169, 245, .08);
  color: var(--lilac);
  font-size: 12px;
  font-weight: 500;
  margin: 0 8px 8px 0
}

.feed-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line)
}

.feed-item:last-child {
  border-bottom: none
}

.feed-text {
  flex: 1;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5
}

.feed-meta {
  font-size: 11px;
  color: var(--dim2);
  font-weight: 400;
  white-space: nowrap
}

.prop-btn {
  background: 0 0;
  border: 1px solid var(--line2);
  border-radius: 100px;
  padding: 5px 13px;
  color: var(--dim);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: all .25s ease
}

.prop-btn.on,
.prop-btn:hover {
  border-color: var(--pink-d);
  color: var(--pink)
}

.prop-btn:hover {
  transform: translateY(-1px)
}

.prop-btn.on {
  background: rgba(245, 169, 208, .14)
}

.props-board {
  padding: 8px 12px;
  border: 1px dashed var(--line2);
  border-radius: 10px;
  margin-bottom: 12px
}

.rivalry-card {
  border-color: rgba(255, 201, 138, .35)
}

.riv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px
}

.riv-cell .k,
.trend-row .n {
  font-size: 11px;
  color: var(--dim2);
  font-weight: 400
}

.riv-vs {
  font-size: 20px;
  font-weight: 300;
  margin-top: 4px
}

.prof-split {
  margin-bottom: 16px
}

.prof-hist {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 84px;
  margin: 8px 0 16px
}

.ph-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 34px
}

.ph-bar {
  width: 100%;
  border-radius: 5px 5px 0 0;
  transition: height .6s cubic-bezier(.22, .8, .3, 1)
}

.ph-lbl {
  font-size: 10px;
  color: var(--dim2)
}

.prof-strip {
  display: flex;
  gap: 4px;
  margin: 8px 0 14px
}

.ps-cell {
  width: 22px;
  height: 22px;
  border-radius: 5px
}

.rfd-filterbar,
.trend-row {
  display: flex;
  align-items: center
}

.trend-row {
  gap: 14px;
  padding: 7px 0
}

.trend-row .n {
  font-size: 13px;
  color: var(--soft);
  min-width: 160px
}

.rfd-filterbar {
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px
}

.hm-cell {
  display: inline-block;
  min-width: 34px;
  text-align: center;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--violet);
  color: #14121a;
  font-weight: 500;
  font-size: 12px
}

.donut-wrap {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap
}

.donut {
  width: 170px;
  height: 170px;
  transform: rotate(0deg)
}

.donut-legend {
  display: grid;
  gap: 8px
}

.dl-row2 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 400
}

.dl-swatch {
  width: 13px;
  height: 13px;
  border-radius: 4px
}

.gh-detail {
  padding: 6px 12px 10px
}

.team-trend {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin: 10px 0 4px;
  flex-wrap: wrap
}

.tt-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 46px
}

.tt-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  transition: height .6s cubic-bezier(.22, .8, .3, 1)
}

.tt-val {
  font-size: 11px;
  color: var(--soft);
  font-weight: 500
}

.tt-lbl {
  font-size: 10px;
  color: var(--dim2)
}

.matrix.lb th {
  white-space: nowrap;
  user-select: none
}

.post-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--line)
}

.post-row:last-child {
  border-bottom: none
}

.pl-list li,
.post-text {
  font-size: 13.5px;
  font-weight: 400
}

.post-text {
  line-height: 1.55
}

.asn-kind.practice {
  background: rgba(167, 139, 255, .12);
  color: var(--violet)
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 18px
}

.plan-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column
}

.plan-card.hot {
  border-color: var(--lilac);
  box-shadow: 0 0 0 1px rgba(198, 169, 245, .25)
}

.onb-step.done .b,
.pl-tag {
  background: var(--lilac);
  color: #14121a
}

.pl-tag {
  position: absolute;
  top: -10px;
  left: 22px;
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 100px
}

.pl-name {
  font-size: 17px;
  font-weight: 600
}

.pl-price {
  font-size: 26px;
  font-weight: 300;
  margin: 10px 0 14px
}

.pl-list {
  list-style: none;
  flex: 1
}

.pl-list li {
  color: var(--dim);
  padding: 5px 0
}

.pl-list li::before {
  content: "✓ ";
  color: var(--lilac)
}

.pl-btn {
  margin-top: 18px;
  width: 100%
}

.plus-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px dashed rgba(198, 169, 245, .5);
  color: var(--lilac);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  background: 0 0;
  font-family: "Inter", sans-serif;
  opacity: .85;
  transition: all .25s ease
}

.plus-chip:hover {
  opacity: 1;
  background: rgba(198, 169, 245, .08);
  transform: translateY(-1px)
}

.onb-strip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 22px
}

.onb-steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px
}

.onb-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 100px;
  border: 1px solid var(--line2);
  font-size: 12.5px;
  color: var(--dim);
  font-weight: 400;
  cursor: pointer;
  background: 0 0;
  font-family: "Inter", sans-serif;
  transition: all .25s ease
}

.onb-step.done {
  border-color: rgba(198, 169, 245, .5);
  color: var(--lilac)
}

#wrapped,
.onb-step .b {
  align-items: center;
  justify-content: center
}

.onb-step .b {
  width: 15px;
  height: 15px;
  border-radius: 100px;
  border: 1px solid var(--line2);
  display: inline-flex;
  font-size: 9px
}

.onb-step.done .b {
  border-color: var(--lilac)
}

#wrapped {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--void);
  display: flex;
  cursor: pointer
}

#wrapped::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50%at 50%0, rgba(245, 169, 208, .14), transparent 60%), radial-gradient(ellipse 60% 45%at 85% 100%, rgba(167, 139, 255, .12), transparent 60%)
}

.wr-slide {
  text-align: center;
  max-width: 620px;
  padding: 0 30px;
  animation: wrIn .6s cubic-bezier(.22, .8, .3, 1);
  position: relative
}

.wr-eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--dim);
  font-weight: 500
}

.wr-big {
  font-size: clamp(54px, 11vw, 120px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 18px 0;
  background: var(--grad-wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.wr-sub {
  font-size: 16px;
  color: var(--soft);
  line-height: 1.7;
  font-weight: 400
}

.wr-hint {
  position: fixed;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--dim2);
  font-weight: 400
}

.wr-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 30px
}

.wr-dot {
  width: 7px;
  height: 7px;
  border-radius: 100px;
  background: var(--line2)
}

.wr-dot.on {
  background: var(--pink)
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px
}

@media (prefers-reduced-motion:reduce) {
  .wr-slide {
    animation: none
  }
}

.ac-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-top: 10px;
  transition: border-color .25s ease;
  overflow: hidden
}

.ac-card.open,
.ac-card:hover {
  border-color: var(--lilac)
}

.ac-row {
  display: grid;
  grid-template-columns: auto 1.4fr auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  cursor: pointer
}

.ac-title {
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.ac-meta {
  font-size: 11px;
  color: var(--dim2);
  font-weight: 400;
  white-space: nowrap
}

.ac-bar,
.ac-fill {
  border-radius: 100px
}

.ac-bar {
  height: 8px;
  background: var(--line);
  overflow: hidden;
  min-width: 90px
}

.ac-fill {
  height: 100%;
  transition: width .7s cubic-bezier(.22, .8, .3, 1)
}

.ac-count {
  font-size: 12px;
  color: var(--soft);
  font-weight: 500;
  white-space: nowrap
}

.ac-del {
  padding: 4px 12px;
  font-size: 13px;
  color: var(--dim2)
}

.ac-del:hover {
  color: var(--amber)
}

.ac-drill {
  padding: 4px 16px 15px;
  border-top: 1px solid var(--line);
  animation: viewIn .3s ease
}

.ac-member {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap
}

.ac-member:last-of-type {
  border-bottom: none
}

.ac-mname {
  font-size: 13px;
  font-weight: 500;
  min-width: 110px
}

.ac-sub {
  font-size: 12.5px;
  color: var(--dim);
  font-style: italic;
  font-weight: 400;
  flex: 1
}

.asn-new {
  grid-template-columns: auto 1.2fr 1fr auto auto auto
}

.asn-new .fb-search,
.asn-new .fb-select {
  margin: 0
}

@media (max-width:900px) {
  .asn-new {
    grid-template-columns: 1fr 1fr
  }
}

.asn-row,
.pc-foot {
  display: flex;
  align-items: center
}

.asn-row {
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  transition: border-color .25s ease
}

.asn-row:hover {
  border-color: var(--line2)
}

.pc-foot {
  justify-content: space-between;
  gap: 16px
}

.dl-ev {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 12px;
  border-radius: 11px;
  margin-bottom: 7px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-left-width: 3px
}

.dl-ev.dl-ev-in {
  animation: evPop .45s cubic-bezier(.22, .9, .3, 1.2)
}

.dl-ch {
  font-size: 9.5px;
  letter-spacing: .12em;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap
}

.dl-ev-label {
  font-weight: 400;
  font-size: 13px
}

.dl-ev.ch-pace {
  border-left-color: var(--pink)
}

.dl-ev.ch-pace .dl-ch {
  background: rgba(245, 169, 208, .16);
  color: var(--pink)
}

.dl-ev.ch-inflection {
  border-left-color: var(--lilac)
}

.dl-ev.ch-inflection .dl-ch {
  background: rgba(198, 169, 245, .16);
  color: var(--lilac)
}

.dl-ev.ch-dynamics {
  border-left-color: var(--amber)
}

.dl-ev.ch-dynamics .dl-ch {
  background: rgba(255, 201, 138, .16);
  color: var(--amber)
}

.dl-ev.ch-gesture {
  border-left-color: var(--violet)
}

.dl-ev.ch-gesture .dl-ch {
  background: rgba(167, 139, 255, .16);
  color: var(--violet)
}

.dl-ev.ch-video {
  border-left-color: var(--pink-d)
}

.dl-ev.ch-video .dl-ch {
  background: rgba(214, 125, 177, .18);
  color: var(--pink-d)
}

.dl-ev.note .dl-ev-label {
  color: var(--dim)
}

.meter {
  position: relative;
  background: radial-gradient(120% 140%at 10% 0%, rgba(245, 169, 208, .06), transparent 55%), radial-gradient(120% 140%at 95% 100%, rgba(167, 139, 255, .07), transparent 55%), var(--panel);
  transition: box-shadow .4s ease, border-color .4s ease
}

.meter.m-pulse {
  animation: meterGlow .75s cubic-bezier(.22, .8, .3, 1)
}

.dl-fill {
  transition: width 1s cubic-bezier(.22, .8, .3, 1)
}

#dl-sv {
  background: var(--grad-wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

@media (prefers-reduced-motion:reduce) {

  .dl-ev.dl-ev-in,
  .meter.m-pulse {
    animation: none
  }
}

.hero-panel {
  animation: viewIn .45s cubic-bezier(.22, .8, .3, 1)
}

#rfd-formula {
  background: radial-gradient(120% 160%at 8% 0%, rgba(245, 169, 208, .08), transparent 55%), radial-gradient(120% 160%at 92% 100%, rgba(167, 139, 255, .09), transparent 55%), var(--panel);
  border-color: rgba(198, 169, 245, .3)
}

.wf-eyebrow {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--dim);
  font-weight: 500;
  margin-bottom: 16px
}

.wf-big {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.35
}

.wf-second {
  margin-top: 8px
}

.wf-em-bad,
.wf-em-good {
  font-weight: 500
}

.wf-num-bad,
.wf-num-good {
  font-weight: 600;
  font-size: 1.15em
}

.wf-sub {
  font-size: 14px;
  color: var(--dim);
  margin-top: 10px;
  line-height: 1.6;
  font-weight: 400
}

.wf-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px
}

.wf-chip {
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  background: 0 0;
  transition: all .25s ease
}

.wf-chip.good {
  border: 1px solid rgba(167, 139, 255, .45)
}

.wf-chip.bad {
  border: 1px solid rgba(255, 201, 138, .45)
}

.wf-chip:hover {
  transform: translateY(-2px);
  background: rgba(198, 169, 245, .08)
}

.impact-svg {
  width: 100%;
  height: auto
}

.im-zero {
  stroke: var(--line2);
  stroke-width: 1;
  stroke-dasharray: 3 4
}

.im-lbl {
  font-family: "Inter", sans-serif;
  font-weight: 400
}

.im-lbl.mid {
  text-anchor: middle
}

.im-lbl.hint {
  font-size: 10px;
  letter-spacing: .06em;
  opacity: .8
}

.im-dot-g {
  animation: dotIn .5s cubic-bezier(.22, .9, .3, 1.25) backwards;
  cursor: pointer
}

.im-dot {
  opacity: .82;
  transition: opacity .2s ease
}

.im-dot:hover {
  opacity: 1;
  filter: brightness(1.25)
}

.im-dot-lbl {
  fill: var(--soft);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  pointer-events: none
}

.journey-svg {
  width: 100%;
  height: auto
}

.rj-grid {
  stroke: var(--line);
  stroke-width: 1
}

.rj-axis {
  fill: var(--dim2);
  font-size: 10px;
  text-anchor: end;
  font-family: "Inter", sans-serif
}

.rj-line,
.rj-roll {
  fill: none;
  stroke: var(--line2);
  stroke-width: 1.5;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawIn 1.4s ease forwards
}

.rj-roll {
  stroke: url(#0);
  stroke: var(--pink);
  stroke-width: 2.5;
  opacity: .85;
  stroke-linecap: round;
  animation: drawIn 1.8s .2s ease forwards
}

.rj-sep {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 5
}

.rj-dot {
  cursor: pointer;
  stroke: var(--panel);
  stroke-width: 1.5;
  animation: dotIn .4s cubic-bezier(.22, .9, .3, 1.25) backwards
}

.rj-dot:hover {
  filter: brightness(1.3)
}

.wi-out {
  margin-top: 16px
}

.wi-line {
  display: flex;
  align-items: baseline;
  gap: 18px
}

.wi-num {
  font-size: 46px;
  font-weight: 300;
  letter-spacing: -.03em
}

.wi-num.base {
  color: var(--dim)
}

.wi-num.clean {
  font-weight: 400
}

.wi-arrow {
  font-size: 24px;
  color: var(--dim2)
}

@media (prefers-reduced-motion:reduce) {

  .hero-panel,
  .im-dot-g,
  .rj-dot {
    animation: none
  }

  .rj-line,
  .rj-roll {
    stroke-dashoffset: 0;
    animation: none
  }
}

.cs-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 16px;
  margin-top: 12px;
  transition: border-color .25s ease
}

.cs-card:hover {
  border-color: var(--line2)
}

.cs-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.cs-cell {
  min-width: 62px;
  height: 52px;
  border-radius: 9px;
  padding: 5px 7px;
  transition: transform .2s ease
}

.cs-cell.clickable:hover {
  transform: translateY(-2px)
}

.cs-cell-lb {
  font-size: 9px;
  color: #14121a;
  font-weight: 600
}

.autopsy-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 7px;
  align-items: center
}

.autopsy-chip {
  border: 1px solid var(--line2);
  background: 0 0;
  border-radius: 100px;
  padding: 3px 11px;
  font-size: 10.5px;
  color: var(--dim);
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all .22s ease
}

.autopsy-chip:hover {
  border-color: var(--violet);
  color: var(--violet)
}

.autopsy-warn,
.storage-strip {
  font-size: 10.5px;
  font-weight: 500
}

.brand-lockup img {
  display: block;
  height: 40px
}

.brand-lockup .logo-light {
  display: none
}

.brand-lockup .logo-dark,
body.light .brand-lockup .logo-light {
  display: block
}

body.light .brand-lockup .logo-dark {
  display: none
}

.auth-logo.brand-lockup {
  display: flex;
  justify-content: center
}

.storage-strip {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 11px;
  font-size: 12.5px;
  line-height: 1.55
}

.storage-strip.ok {
  border: 1px solid rgba(167, 139, 255, .4);
  color: var(--violet);
  background: rgba(167, 139, 255, .07)
}

.storage-strip.warn {
  border: 1px solid rgba(255, 201, 138, .5);
  color: var(--amber);
  background: rgba(255, 201, 138, .08)
}

.main {
  max-width: 1240px
}

.view {
  max-width: none
}

.home-grid {
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 30px
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr)
}

.panel {
  padding: 26px 28px
}

.panel+.panel,
.tm-drill {
  margin-top: 26px
}

.page-head {
  margin-bottom: 30px
}

.connect-grid.one {
  grid-template-columns: minmax(0, 640px);
  justify-content: start
}

.asn-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  align-items: center
}

.asn-new .btn-primary {
  width: 100%
}

.btn-inline {
  background: 0 0;
  border: 0;
  color: var(--lilac);
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px
}

.btn-inline:hover {
  color: var(--pink)
}

.side-logo.brand-lockup img {
  height: 38px
}

.auth-logo.brand-lockup img {
  height: 48px
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap
}

::selection {
  background: rgba(198, 169, 245, .35)
}

.view.on {
  animation: viewIn .5s cubic-bezier(.22, .8, .3, 1)
}

.view.on .panel,
.view.on .player-card {
  animation: riseIn .55s cubic-bezier(.22, .8, .3, 1) backwards
}

.view.on .panel:nth-of-type(1),
.view.on .player-card {
  animation-delay: .03s
}

.view.on .panel:nth-of-type(2) {
  animation-delay: .09s
}

.view.on .panel:nth-of-type(3) {
  animation-delay: .15s
}

.view.on .panel:nth-of-type(4) {
  animation-delay: .21s
}

.view.on .panel:nth-of-type(5) {
  animation-delay: .27s
}

.view.on .panel:nth-of-type(n+6) {
  animation-delay: .33s
}

.ac-card,
.cs-card,
.fr-card,
.panel,
.so-card {
  transition: transform .3s cubic-bezier(.22, .8, .3, 1), border-color .3s ease, box-shadow .3s ease
}

.panel:hover {
  border-color: var(--line2)
}

.ac-card:hover,
.btn-primary:hover,
.cs-card:hover,
.so-card:hover {
  transform: translateY(-2px)
}

.autopsy-chip,
.btn-link,
.btn-primary,
.focus-pill,
.wf-chip {
  transition: transform .22s cubic-bezier(.22, .8, .3, 1), background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease
}

.btn-primary:hover {
  box-shadow: 0 10px 26px -12px rgba(245, 169, 208, .45)
}

.btn-link:active,
.btn-primary:active,
.focus-pill:active {
  transform: scale(.965)
}

.nav-btn {
  transition: color .25s ease, background .25s ease, transform .25s cubic-bezier(.22, .8, .3, 1)
}

.nav-btn:hover {
  transform: translateX(3px)
}

.fb-search,
.fb-select {
  transition: border-color .25s ease, box-shadow .25s ease
}

.fb-search:focus,
.fb-select:focus {
  box-shadow: 0 0 0 3px rgba(198, 169, 245, .18)
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .ac-card,
  .btn-link,
  .btn-primary,
  .cs-card,
  .nav-btn,
  .panel,
  .so-card,
  .view.on .panel,
  .view.on .player-card {
    animation: none;
    transition: none
  }
}

@media (max-width:980px) {
  .home-grid {
    grid-template-columns: 1fr
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

:root {
  --pos: #3ECF6E;
  --neg: #FF5C5C;
  --neu: #F2C14E
}

.im-dot.good {
  fill: var(--pos)
}

.im-dot.bad {
  fill: var(--neg)
}

.im-dot.flat {
  fill: var(--neu)
}

.rj-dot.good {
  fill: var(--pos)
}

.rj-dot.mid {
  fill: var(--neu)
}

.rj-dot.bad {
  fill: var(--neg)
}

.wf-chip.good,
.wf-em-good,
.wf-num-good {
  color: var(--pos)
}

.wf-em-bad,
.wf-num-bad {
  color: var(--neg)
}

.wf-chip.good {
  border-color: rgba(62, 207, 110, .5)
}

.wf-chip.bad {
  border-color: rgba(255, 92, 92, .5);
  color: var(--neg)
}

.evi-row.praised .evi-glyph,
.wi-num.clean {
  color: var(--pos)
}

.autopsy-warn,
.evi-row.critiqued .evi-glyph {
  color: var(--neg)
}

.evi-row.neutral .evi-glyph {
  color: var(--neu)
}

.arrow-up,
.cc-up,
.cls-lift {
  color: var(--pos) !important
}

.arrow-down,
.cc-down,
.cls-sink {
  color: var(--neg) !important
}

.cell-ok,
.dl-ev.good .dl-ev-label,
.m-value.good,
.matrix td.ok {
  color: var(--pos)
}

.cell-miss,
.dl-ev.warn .dl-ev-label,
.m-value.warn,
.matrix td.miss {
  color: var(--neg)
}

.meter.m-pulse[data-mood=good] {
  border-color: rgba(62, 207, 110, .55)
}

.meter.m-pulse[data-mood=warn] {
  border-color: rgba(255, 92, 92, .55)
}

.ch-lead.you {
  color: var(--pos);
  border-color: rgba(62, 207, 110, .4)
}

.ch-lead.them {
  color: var(--neg);
  border-color: rgba(255, 92, 92, .4)
}

.ch-lead.tie {
  color: var(--neu);
  border-color: rgba(242, 193, 78, .4)
}

.pc-avatar,
.pub-avatar {
  object-fit: cover;
  border: 1px solid var(--line2);
  display: block
}

.pc-avatar {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  margin-bottom: 10px
}

.pub-avatar {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  margin: 0 auto 14px
}

.av-wrap {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px
}

.av-ph,
.av-preview {
  width: 84px;
  height: 84px;
  border-radius: 20px
}

.av-preview {
  object-fit: cover;
  border: 1px solid var(--line2)
}

.av-ph {
  border: 1px dashed var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--dim2)
}

.mean-dot {
  font-size: 11px;
  margin-left: 6px;
  cursor: help
}

.mean-dot.good {
  color: #58c98a
}

.mean-dot.note {
  color: #f0b45c
}

.mean-dot.warn {
  color: #f07070
}

.dl-ev.good .dl-ev-label {
  color: #7bd8a0
}

.dl-ev.warn .dl-ev-label {
  color: #f28b8b
}

.dl-legend {
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px
}

.dl-leg-h {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--dim);
  font-weight: 600;
  margin: 10px 0 6px;
  text-transform: uppercase
}

.dl-leg-h:first-child {
  margin-top: 0
}

.dl-leg-row {
  display: grid;
  grid-template-columns: 16px 158px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 4px 0
}

.dl-leg-name {
  font-size: 12px;
  font-weight: 500
}

.dl-leg-why {
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.5;
  font-weight: 400
}

.dl-insp {
  border: 1px dashed var(--line2);
  border-radius: 11px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 11px
}

.dl-insp-read {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--soft)
}

.dl-insp-row {
  display: grid;
  grid-template-columns: 58px 1fr 42px;
  gap: 10px;
  align-items: center;
  padding: 2px 0
}

.dl-insp-row .k {
  color: var(--dim);
  font-weight: 500
}

.dl-insp-row .t {
  height: 5px;
  border-radius: 100px;
  background: var(--line);
  overflow: hidden
}

.dl-insp-row .f {
  height: 100%;
  border-radius: 100px;
  transition: width .25s ease
}

.dl-insp-row .v {
  color: var(--dim2);
  text-align: right;
  font-variant-numeric: tabular-nums
}

.info-dot {
  font-size: 11px;
  color: var(--dim2);
  cursor: help
}

.info-dot:hover {
  color: var(--lilac)
}

.m-label .info-dot {
  margin-left: 3px
}

.im-lbl {
  font-size: 12px;
  fill: var(--dim)
}

.im-lbl.bad,
.im-lbl.good {
  fill: var(--violet);
  font-weight: 500
}

.im-lbl.bad {
  fill: var(--amber)
}

.im-dot-lbl {
  font-size: 10.5px
}

.rj-axis-title,
.rj-tlabel {
  font-family: "Inter", sans-serif
}

.rj-tlabel {
  fill: var(--dim);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .02em
}

.rj-axis-title {
  fill: var(--dim2);
  font-size: 10px;
  letter-spacing: .05em
}

.rj-axis-title.end {
  text-anchor: end
}

.chart-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px
}

.cl-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--dim)
}

.cl-swatch {
  width: 10px;
  height: 10px;
  border-radius: 100px;
  display: inline-block
}

.cl-swatch.sw-violet {
  background: var(--violet)
}

.cl-swatch.sw-lilac {
  background: var(--lilac)
}

.cl-swatch.sw-amber {
  background: var(--amber)
}

.cl-swatch.sw-line {
  background: var(--pink);
  height: 3px;
  width: 16px;
  border-radius: 2px
}

.cl-swatch.sw-sep {
  background: 0 0;
  border-left: 2px dashed var(--line2);
  width: 2px;
  height: 12px;
  border-radius: 0
}

.cs-sub {
  font-size: 11px;
  color: var(--dim2);
  margin: 2px 0 10px;
  line-height: 1.5
}

.cs-cell,
.cs-col {
  display: flex;
  align-items: center
}

.cs-col {
  flex-direction: column;
  gap: 5px;
  width: 68px
}

.cs-cell {
  width: 100%;
  justify-content: center
}

.cs-cell-val {
  font-size: 10.5px;
  font-weight: 600;
  color: #14121a
}

.cs-col-lb {
  font-size: 9.5px;
  color: var(--dim);
  text-align: center;
  line-height: 1.25
}

.sidebar {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--line2) transparent
}

.sidebar::-webkit-scrollbar {
  width: 6px
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--line2);
  border-radius: 100px
}

.side-toggle {
  position: absolute;
  top: 22px;
  right: 10px;
  width: 27px;
  height: 27px;
  border-radius: 100px;
  border: 1px solid var(--line2);
  background: var(--bg2);
  color: var(--dim);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .28s ease, color .2s ease, border-color .2s ease;
  font-family: "Inter", sans-serif;
  padding-bottom: 2px
}

.side-toggle:hover {
  color: var(--text);
  border-color: var(--lilac)
}

html.side-min .side-toggle {
  transform: rotate(180deg);
  right: 20px
}

.side-logo {
  padding: 0 46px 22px 22px
}

.logo-mini {
  display: none
}

.nav-item .glyph {
  width: 16px;
  text-align: center;
  flex: none
}

html.side-min .side-logo {
  padding: 0 0 18px;
  display: flex;
  justify-content: center
}

html.side-min .side-logo .logo-dark,
html.side-min .side-logo .logo-light {
  display: none !important
}

html.side-min .logo-mini {
  display: block;
  height: 26px;
  margin-top: 34px
}

html.side-min .nav-label,
html.side-min .nv-label,
html.side-min .side-ver,
html.side-min .u-sub {
  display: none
}

html.side-min .nav-item {
  justify-content: center;
  padding: 13px 0;
  gap: 0
}

html.side-min .user-chip {
  padding: 10px 4px
}

html.side-min .u-name {
  text-align: center;
  font-size: 9.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

@media (max-width:820px) {
  .side-toggle {
    display: none
  }

  html.side-min .nav-label,
  html.side-min .nv-label {
    display: inline
  }

  html.side-min .side-logo .logo-light {
    display: block !important
  }
}

@media (prefers-reduced-motion:reduce) {

  #app.on,
  .side-toggle {
    transition: none
  }
}
/* ============================================================ */
/* v7.5 LAYER — layout & spacing fixes + Team Suite             */
/* Appended last on purpose: later rules win, matching how this */
/* stylesheet has always evolved.                               */
/* ============================================================ */

/* ---- #14 Sidebar: full viewport height at every scroll position ---- */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ---- #2 Sidebar branding: one lockup, larger; blue mark only when collapsed ---- */
.side-logo .logo-mini { display: none; }              /* beats `.brand-lockup img` */
html.side-min .side-logo .logo-mini { display: block; height: 28px; margin-top: 34px; }
.side-logo.brand-lockup img {
  height: auto;
  width: 100%;
  max-width: 176px;                                    /* 446×120 lockup ≈ 45px tall at full rail */
}
html.side-min .side-logo.brand-lockup .logo-light,
html.side-min .side-logo.brand-lockup .logo-dark { width: 0; }

/* ---- #10 Announcements badge on the Team nav item ---- */
.nav-item { position: relative; }
.nav-badge {
  margin-left: auto;
  min-width: 19px;
  height: 19px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--neg);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
html.side-min .nav-badge {
  position: absolute;
  top: 7px;
  right: 14px;
  min-width: 16px;
  height: 16px;
  font-size: 9.5px;
  padding: 0 4px;
  margin: 0;
}

/* ---- #1 + #3 Home: two clean columns; card cluster with a small download chip ---- */
.home-grid {
  grid-template-columns: minmax(340px, 400px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.home-grid > * { min-width: 0; }
.home-panels > .panel:first-child { margin-top: 0; }
.pc-cluster { display: flex; flex-direction: column; gap: 10px; }
.pc-download {
  align-self: flex-end;
  width: auto;
  border: 1px solid var(--line2);
  background: var(--bg2);
  color: var(--dim);
  border-radius: 100px;
  padding: 7px 16px;
  font: 500 12px "Inter", sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.pc-download:hover { color: var(--text); border-color: var(--lilac); transform: translateY(-1px); }
@media (max-width: 980px) {
  .home-grid { grid-template-columns: 1fr; }
}

/* ---- #5 Assignment creator row (and #6: every control row, same rule) ----
   Flex-wrap with hard minimums: controls can wrap to the next line but can
   never overlap, never sit flush, and never clip their placeholders. */
.asn-new {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.asn-new > * { margin: 0; }
.asn-new .fb-search { flex: 1 1 220px; min-width: 180px; }
.asn-new input[type="date"] { flex: 0 1 190px; min-width: 165px; }
.asn-new .fb-select { flex: 0 1 auto; min-width: 150px; max-width: 100%; }
.asn-new .btn-primary,
.ch-new .btn-primary,
.fr-code-row .btn-primary {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 128px;
  padding: 12px 26px !important;
  margin: 0 !important;
}
.ch-new, .fr-code-row, .prep-form, .fb-controls, .dl-controls {
  row-gap: 12px;
}
.ch-new .fb-select, .prep-form .fb-select { min-width: 150px; max-width: 100%; }
.ch-new .fb-search, .prep-form .fb-search { min-width: 165px; }
.fb-controls .fb-select { min-width: 150px; }
.fr-code-row .fb-search { min-width: 165px; }
input[type="date"].fb-search { min-width: 165px; }

/* ---- #6 shared guards: header rows never collide, tables never crush ---- */
#view-team .s-head, .cs-card .s-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
#view-team .s-head > span:first-child { min-width: 0; }
.matrix th, .matrix td { vertical-align: top; }

/* ============================================================ */
/* TEAM SUITE (#8) — app home screen + dedicated feature screens */
/* ============================================================ */
.tsuite-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 4px 0 16px;
}
.tsuite-name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.tsuite-role { font-size: 12px; color: var(--dim2); letter-spacing: .05em; text-transform: uppercase; }
.tsuite-code { margin-left: auto; }

.tsuite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 14px;
}
.tsuite-app {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg2);
  border-radius: 16px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  color: var(--text);
  text-align: center;
  transition: transform .22s cubic-bezier(.22,.8,.3,1), border-color .2s ease, background .2s ease;
}
.tsuite-app:hover { transform: translateY(-3px); border-color: var(--lilac); }
.tsuite-app .g {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(150deg, rgba(198,169,245,.16), rgba(245,169,208,.10));
  border: 1px solid var(--line2);
}
.tsuite-app .t { font-size: 13.5px; font-weight: 500; }
.tsuite-app .s { font-size: 11px; color: var(--dim2); min-height: 13px; }
.tsuite-app .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 19px;
  height: 19px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--neg);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tsuite-screen { margin-top: 4px; }
.tsuite-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tsuite-back {
  border: 1px solid var(--line2);
  background: var(--bg2);
  color: var(--dim);
  border-radius: 100px;
  padding: 8px 18px;
  font: 500 13px "Inter", sans-serif;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.tsuite-back:hover { color: var(--text); border-color: var(--lilac); }
.tsuite-screen-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* ---- Announcements (#10) ---- */
.ann-compose { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ann-compose .fb-search { flex: 1 1 260px; min-width: 200px; }
.ann-row {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 17px;
  margin-top: 12px;
  background: var(--bg2);
}
.ann-row.unread { border-color: var(--lilac); }
.ann-text { font-size: 14px; line-height: 1.55; }
.ann-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 9px; }
.ann-new-pip {
  width: 8px; height: 8px; border-radius: 100px; background: var(--neg); flex: none;
}
.ann-receipts { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.ann-chip {
  font-size: 11px;
  border: 1px solid var(--line2);
  border-radius: 100px;
  padding: 3px 10px;
  color: var(--dim);
}
.ann-chip.read { color: var(--pos); border-color: rgba(62,207,110,.45); }

/* ---- Mini-Canvas (#13) ---- */
.canvas-grid {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.canvas-list { display: flex; flex-direction: column; gap: 8px; }
.canvas-item {
  border: 1px solid var(--line);
  background: var(--bg2);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-family: "Inter", sans-serif;
  transition: border-color .2s ease;
}
.canvas-item:hover, .canvas-item.on { border-color: var(--lilac); }
.canvas-item .t { font-size: 13.5px; font-weight: 500; }
.canvas-item .s { font-size: 11.5px; color: var(--dim2); margin-top: 3px; }
.canvas-doc {
  border: 1px solid var(--line);
  background: var(--bg2);
  border-radius: 13px;
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 120px;
}
.canvas-reviewbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.canvas-reviewbar .fb-search { flex: 1 1 240px; min-width: 190px; }
.review-state { font-size: 12px; font-weight: 500; }
.review-state.ok { color: var(--pos); }
.review-state.ret { color: var(--amber); }
.review-state.wait { color: var(--dim); }
@media (max-width: 900px) {
  .canvas-grid { grid-template-columns: 1fr; }
}

/* ---- Tournament readiness (#9) ---- */
.ready-board {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px 18px;
  margin-top: 14px;
  background: var(--bg2);
}
.ready-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.ready-prep { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ready-prep .fb-select { min-width: 190px; max-width: 100%; }

/* Feedback note shown to students on returned work */
.asn-feedback {
  border-left: 2px solid var(--amber);
  padding: 6px 12px;
  margin: 8px 0 2px;
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.55;
  flex-basis: 100%;
}

/* Assignment rows never collide either (#6) */
.asn-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.asn-row .fb-search { flex: 1 1 220px; min-width: 170px; }
