/* ============================================================
   RIFTWAY — P3F7B Champion Lab
   ============================================================ */
.rw-champion-lab-strip {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 11px 13px;
  border: 1px solid rgba(84,221,255,.24);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(84,221,255,.10), rgba(9,14,25,.76));
  box-shadow: inset 0 0 18px rgba(84,221,255,.04);
}
.rw-champion-lab-strip.is-used { border-color: rgba(217,168,78,.30); background: linear-gradient(90deg, rgba(217,168,78,.10), rgba(9,14,25,.76)); }
.rw-cl-strip-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #54DDFF;
  background: rgba(84,221,255,.10);
  border: 1px solid rgba(84,221,255,.22);
  font-weight: 900;
}
.rw-champion-lab-strip.is-used .rw-cl-strip-icon { color: #D9A84E; background: rgba(217,168,78,.10); border-color: rgba(217,168,78,.22); }
.rw-cl-strip-copy { display: grid; gap: 2px; min-width: 0; }
.rw-cl-strip-copy b { color: #F5F8FC; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.rw-cl-strip-copy span { color: rgba(230,237,247,.74); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-champion-lab-strip button {
  border: 1px solid rgba(84,221,255,.30);
  border-radius: 12px;
  padding: 9px 13px;
  background: rgba(84,221,255,.12);
  color: #DDF7FF;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .8px;
  cursor: pointer;
}
.rw-champion-lab-strip button:hover { border-color: rgba(84,221,255,.58); transform: translateY(-1px); }
.rw-champion-lab-modal-root { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; }
.rw-cl-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.rw-cl-modal {
  position: relative;
  width: min(900px, 94vw);
  max-height: min(720px, 92vh);
  overflow: auto;
  border: 1px solid rgba(84,221,255,.24);
  border-radius: 24px;
  background: radial-gradient(circle at 20% 0%, rgba(84,221,255,.13), transparent 34%), linear-gradient(145deg, #08101b, #050913 70%);
  box-shadow: 0 32px 90px rgba(0,0,0,.62), inset 0 0 0 1px rgba(255,255,255,.04);
  color: #EAF2FF;
}
.rw-cl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}
.rw-cl-body { padding: 24px; display: grid; gap: 16px; }
.rw-cl-header { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; padding-right: 46px; }
.rw-cl-seal {
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(84,221,255,.28);
  background: rgba(84,221,255,.10);
  color: #54DDFF;
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
}
.rw-cl-header h2 { margin: 0; font-family: 'Rajdhani', sans-serif; font-size: 42px; line-height: .9; letter-spacing: 2px; }
.rw-cl-header p { margin: 7px 0 0; color: rgba(230,237,247,.74); line-height: 1.35; }
.rw-cl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rw-cl-panel,
.rw-cl-history {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  padding: 16px;
}
.rw-cl-pickers { display: grid; gap: 13px; }
.rw-cl-pickers label { display: grid; gap: 6px; }
.rw-cl-pickers label span,
.rw-cl-read h3,
.rw-cl-history h3 { color: rgba(255,255,255,.62); font-size: 11px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; }
.rw-cl-pickers select {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(84,221,255,.20);
  background: #07101c;
  color: #F5F8FC;
  padding: 0 12px;
  font-weight: 800;
}
.rw-cl-apply {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #54DDFF, #2E8BFF);
  color: #03101a;
  font-weight: 1000;
  letter-spacing: 1px;
  cursor: pointer;
}
.rw-cl-apply:disabled { opacity: .50; cursor: default; filter: grayscale(.3); }
.rw-cl-pickers small,
.rw-cl-read p,
.rw-cl-history p { color: rgba(230,237,247,.68); line-height: 1.35; }
.rw-cl-read { display: grid; gap: 12px; }
.rw-cl-player-line { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.rw-cl-player-line b { font-size: 18px; }
.rw-cl-player-line span { color: #54DDFF; font-weight: 900; }
.rw-cl-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.rw-cl-metrics div { border: 1px solid rgba(255,255,255,.10); border-radius: 14px; background: rgba(0,0,0,.18); padding: 10px; }
.rw-cl-metrics small { display: block; color: rgba(255,255,255,.52); font-size: 10px; text-transform: uppercase; }
.rw-cl-metrics strong { display: block; margin-top: 4px; color: #fff; font-size: 17px; }
.rw-cl-history { display: grid; gap: 9px; }
.rw-cl-history div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; }
.rw-cl-history div:first-of-type { border-top: 0; padding-top: 0; }
.rw-cl-history b { color: #fff; }
.rw-cl-history span { color: rgba(230,237,247,.72); font-size: 12px; }
@media (max-height: 760px) {
  .rw-cl-body { padding: 18px; gap: 11px; }
  .rw-cl-header h2 { font-size: 34px; }
  .rw-cl-header p { font-size: 13px; }
  .rw-cl-seal { height: 56px; border-radius: 18px; }
  .rw-cl-panel, .rw-cl-history { padding: 12px; }
  .rw-cl-pickers select { min-height: 38px; }
  .rw-cl-apply { min-height: 42px; }
}
