/* ═══════════════════════════════════════════════════════════════
   VibraRateLimit v1.0 — Anti-Spam Shield Panel
   ═══════════════════════════════════════════════════════════════ */

.vw-rl-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6,4,15,.97);
  overflow-y: auto;
  flex-direction: column;
}
.vw-rl-panel.open {
  display: flex;
  animation: vrlFadeIn .22s ease;
}
@keyframes vrlFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Header ─────────────────────────────────────────────────── */
.rl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(138,87,255,.2);
  position: sticky;
  top: 0;
  background: rgba(6,4,15,.99);
  z-index: 2;
}
.rl-title {
  font-family: var(--sans, 'Syne', sans-serif);
  font-size: .95rem;
  font-weight: 800;
  color: #f0ebff;
}
.rl-close {
  background: none;
  border: none;
  color: #666;
  font-size: 1.2rem;
  cursor: pointer;
  padding: .25rem .5rem;
  border-radius: 6px;
  transition: color .2s;
}
.rl-close:hover { color: #f0ebff; }

/* ── Body ───────────────────────────────────────────────────── */
.rl-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

/* ── Status card ────────────────────────────────────────────── */
.rl-status-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  border: 1px solid;
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.rl-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}
.rl-status-lbl {
  font-family: var(--sans, 'Syne', sans-serif);
  font-size: .85rem;
  font-weight: 700;
}
.rl-status-sub {
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: .6rem;
  color: #777;
  margin-top: .25rem;
}

/* ── Section label ──────────────────────────────────────────── */
.rl-section {
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: .6rem;
  letter-spacing: .1em;
  color: #555;
  text-transform: uppercase;
}

/* ── Usage bars ─────────────────────────────────────────────── */
.rl-row {
  display: grid;
  grid-template-columns: 1fr 2fr 2.5rem;
  align-items: center;
  gap: .5rem;
}
.rl-lbl {
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: .62rem;
  color: #aaa;
}
.rl-bar-wrap {
  height: 5px;
  background: rgba(255,255,255,.07);
  border-radius: 3px;
  overflow: hidden;
}
.rl-bar {
  height: 100%;
  border-radius: 3px;
  transition: width .5s cubic-bezier(.2,0,.1,1);
  min-width: 2px;
}
.rl-val {
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: .58rem;
  color: #666;
  text-align: right;
}

/* ── Tier ladder ────────────────────────────────────────────── */
.rl-tiers {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.rl-tier {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .85rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  transition: background .2s;
}
.rl-tier.active {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.rl-tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rl-tier-name {
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: .7rem;
  font-weight: 500;
  color: #ccc;
}
.rl-tier-desc {
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: .58rem;
  color: #666;
}
.rl-tier-check {
  margin-left: auto;
  color: #22c55e;
  font-size: .8rem;
  font-weight: 700;
}

/* ── Info box ───────────────────────────────────────────────── */
.rl-info {
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: .63rem;
  color: #777;
  line-height: 1.65;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: .85rem 1rem;
}

/* ── Reset button ───────────────────────────────────────────── */
.rl-reset-btn {
  background: rgba(138,87,255,.12);
  border: 1px solid rgba(138,87,255,.3);
  color: #b088ff;
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: .7rem;
  padding: .65rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  transition: background .2s;
}
.rl-reset-btn:hover { background: rgba(138,87,255,.22); }
