/* In-year change: a rep leaves */

.bbi-rl-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  z-index: 5;
}

.bbi-rl-notice__icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #ff5f8f, #f0386b); }
.bbi-rl-notice__icon svg { width: 22px; height: 22px; }
.bbi-rl-notice b { display: block; font-size: 16px; font-weight: 800; color: var(--bbi-ink); }
.bbi-rl-notice small { display: block; font-size: 13px; font-weight: 600; color: var(--bbi-muted); }
.bbi-rl-go { margin-left: auto; height: 42px; padding: 0 18px; font-size: 14px; }
.bbi-rl-go svg { width: 16px; height: 16px; }

.bbi-rl-rep {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px 16px;
  text-align: center;
  transition: border-color 0.4s ease, background-color 0.4s ease, opacity 0.4s ease;
}

.bbi-rl-rep .bbi-avatar { width: 52px; height: 52px; display: grid; place-items: center; }
.bbi-rl-rep .bbi-avatar svg { width: 100%; height: 100%; }
.bbi-rl-rep__name { margin-top: 10px; font-size: 15px; font-weight: 800; color: var(--bbi-ink); }
.bbi-rl-rep small { font-size: 12px; font-weight: 600; color: var(--bbi-muted); }

.bbi-rl-rep__num {
  margin: 10px 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bbi-muted);
}

.bbi-rl-rep__num span {
  margin-right: 2px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bbi-ink);
  font-variant-numeric: tabular-nums;
}

.bbi-rl-rep .bbi-bar { width: 100%; flex: none; }
.bbi-rl-rep__tag { margin-top: 12px; }

.bbi-rl-rep.is-leaving {
  border: 2px dashed var(--bbi-bad-edge);
  background: #fffafb;
}

.bbi-rl-rep.is-leaving .bbi-avatar { filter: grayscale(0.7); opacity: 0.75; }

.bbi-rl-rep.is-open-seat {
  border: 2px dashed rgba(94, 114, 228, 0.35);
  background: #f9faff;
  box-shadow: none;
}

.bbi-rl-rep.is-open-seat .bbi-avatar {
  background: rgba(94, 114, 228, 0.12);
  color: var(--bbi-indigo);
  box-shadow: none;
  filter: none;
  opacity: 1;
}

.bbi-rl-rep.is-open-seat .bbi-avatar svg { width: 26px; height: 26px; }

.bbi-rl-chip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  will-change: transform;
}

.bbi-rl-chip.is-flying { box-shadow: 0 18px 30px -12px rgba(50, 50, 93, 0.45); }
.bbi-rl-chip.is-landed { border-color: var(--bbi-good-edge); }

.bbi-rl-more {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  color: var(--bbi-muted);
}

.bbi-rl-log .bbi-card__head { padding: 12px 16px 6px; }
.bbi-rl-log__list { padding: 0 16px; }

.bbi-rl-log__row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bbi-muted);
}

.bbi-rl-log__row + .bbi-rl-log__row { margin-top: 2px; }
.bbi-rl-log__row .bbi-tag { height: 20px; width: 24px; padding: 0; justify-content: center; }
.bbi-rl-log__row b { color: var(--bbi-ink); font-weight: 800; }
.bbi-rl-log__row em { margin-left: auto; font-style: normal; font-size: 11px; }

.bbi-rl-seat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.bbi-rl-seat__label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bbi-muted); }
.bbi-rl-seat__value span { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--bbi-good); }
