/* ============================================
   RPG SKILLS — Janela RPG Skills (Premium)
   Seção #window completa — mockup interativo
   ============================================ */

/* ---------- SECTION SHELL ---------- */
.window-section {
  overflow: hidden;
}

.window-section .section-header p {
  max-width: 560px;
}

/* ---------- HOTKEY BAR ---------- */
.window-hotkeys {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.whk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212,136,28,0.22);
  background: rgba(212,136,28,0.07);
  font-size: 0.82rem;
  color: var(--text-body);
}
.whk kbd {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: linear-gradient(180deg,#1e253e,#151a2e);
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom-width: 2px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  color: #fff;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.whk em {
  font-style: normal;
  color: var(--text-dim);
  font-size: 0.75rem;
}
.whk strong { color: #fff; font-weight: 700; }
.whk--pulse {
  animation: whkPulse 2.2s ease-in-out infinite;
}
@keyframes whkPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,136,28,0); }
  50%     { box-shadow: 0 0 0 6px rgba(212,136,28,0.07); }
}

/* ---------- STAGE ---------- */
.window-stage-new {
  max-width: 880px;
  margin: 0 auto 38px;
  position: relative;
}

/* Glow behind mockup */
.window-stage-new::before {
  content:"";
  position: absolute;
  inset: -30px -30px -30px -30px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(212,136,28,0.10), transparent 60%),
    radial-gradient(ellipse 40% 30% at 20% 75%, rgba(96,165,250,0.06), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 75%, rgba(212,136,28,0.05), transparent 60%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- MOCKUP SHELL ---------- */
.rpg-window {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #0f1225 0%, #0a0d1c 55%, #080a14 100%);
  border: 1px solid rgba(212,136,28,0.32);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.60),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 40px rgba(212,136,28,0.10);
}

/* Corner rivets */
.rpg-window::after {
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 14px;
  background:
    radial-gradient(circle at 10px 10px, rgba(212,136,28,0.55) 1.4px, transparent 2px),
    radial-gradient(circle at calc(100% - 10px) 10px, rgba(212,136,28,0.55) 1.4px, transparent 2px),
    radial-gradient(circle at 10px calc(100% - 10px), rgba(212,136,28,0.55) 1.4px, transparent 2px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), rgba(212,136,28,0.55) 1.4px, transparent 2px);
  opacity: 0.9;
}

/* ---------- TITLEBAR ---------- */
.rw-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #1a1f3a 0%, #10152a 100%);
  border-bottom: 1px solid rgba(212,136,28,0.22);
  position: relative;
}
.rw-titlebar::after {
  content:"";
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,136,28,0.4), transparent);
}
.rw-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(212,136,28,0.14);
  border: 1px solid rgba(212,136,28,0.32);
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(212,136,28,0.45));
}
.rw-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  color: #fff;
}
.rw-ver {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(212,136,28,0.12);
  border: 1px solid rgba(212,136,28,0.28);
  border-radius: 999px;
  padding: 2px 8px;
}
.rw-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rw-close {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s;
}
.rw-close:hover { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.35); color: #fff; }

.rw-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 4px 10px;
}
.rw-hint kbd {
  background: #1c2236;
  border: 1px solid rgba(255,255,255,0.14);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #fff;
}

/* ---------- TABS ---------- */
.rw-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px 0;
  background: #080a14;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
  scrollbar-width: none;
}
.rw-tabs::-webkit-scrollbar { display: none; }
.rw-tab {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 9px 9px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  background: #111430;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all 0.18s;
  position: relative;
}
.rw-tab .ico { font-size: 1rem; line-height: 1; }
.rw-tab:hover { color: #fff; background: #171b3d; }
.rw-tab.active {
  background: linear-gradient(180deg, #1d2344 0%, #131631 100%);
  color: var(--gold);
  border-color: rgba(212,136,28,0.38);
  box-shadow: 0 -4px 18px rgba(212,136,28,0.14);
}
.rw-tab.active::after {
  content:"";
  position: absolute;
  left: 10px; right: 10px; bottom: -1px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.rw-tab .badge {
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(212,136,28,0.18);
  border: 1px solid rgba(212,136,28,0.3);
  color: var(--gold);
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 2px;
}
.rw-tab.active .badge { background: var(--gold); color: #120a00; border-color: var(--gold); }

/* ---------- BODY ---------- */
.rw-body {
  padding: 18px 18px 20px;
  min-height: 420px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212,136,28,0.06), transparent 60%),
    #0a0d1c;
  position: relative;
}
.rw-panel { display: none; animation: rwIn 0.22s ease; }
.rw-panel.active { display: block; }
@keyframes rwIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- STATUS PANEL ---------- */
.rw-status-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
@media (max-width: 640px) { .rw-status-top { grid-template-columns: 1fr; } }

.rw-player {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,136,28,0.09), rgba(212,136,28,0.03));
  border: 1px solid rgba(212,136,28,0.22);
  position: relative;
  overflow: hidden;
}
.rw-player::before {
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(212,136,28,0.06), transparent);
  transform: translateX(-100%);
  animation: rwShimmer 3s ease infinite;
}
@keyframes rwShimmer { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }

.rw-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  background: radial-gradient(circle, rgba(212,136,28,0.22), rgba(212,136,28,0.06));
  border: 1px solid rgba(212,136,28,0.32);
  box-shadow: 0 4px 18px rgba(212,136,28,0.22), inset 0 0 18px rgba(212,136,28,0.12);
}
.rw-pname {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
}
.rw-plvl {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(212,136,28,0.14);
  border: 1px solid rgba(212,136,28,0.28);
  border-radius: 999px;
  padding: 1px 7px;
  vertical-align: middle;
}
.rw-xpbar {
  height: 8px;
  border-radius: 999px;
  background: #050611;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  margin: 7px 0 5px;
  position: relative;
}
.rw-xpfill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4881c, #f0b24a);
  box-shadow: 0 0 12px rgba(212,136,28,0.6);
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1);
  position: relative;
}
.rw-xpfill::after {
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  animation: rwXpshine 1.8s ease infinite;
}
@keyframes rwXpshine { 0%{transform:translateX(-60%)} 100%{transform:translateX(100%)} }
.rw-xplabel {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
}
.rw-xplabel strong { color: var(--gold); }

/* Mini stats */
.rw-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.rw-stat {
  text-align: center;
  padding: 10px 6px;
  border-radius: 10px;
  background: #0e1226;
  border: 1px solid rgba(255,255,255,0.06);
}
.rw-stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.rw-stat span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Derived bonuses */
.rw-bonus {
  margin-top: 0;
  padding: 14px;
  border-radius: 12px;
  background: #0e1226;
  border: 1px solid rgba(255,255,255,0.06);
}
.rw-section-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rw-section-label::after {
  content:"";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), transparent);
}
.rw-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.rw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-body);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.rw-chip--gold { border-color: rgba(212,136,28,0.30); color: #ffd38a; background: rgba(212,136,28,0.08); }
.rw-chip--blue { border-color: rgba(96,165,250,0.30); color: #cfe0ff; background: rgba(96,165,250,0.08); }
.rw-chip--green{ border-color: rgba(74,222,128,0.22); color: #d1ffe2; background: rgba(74,222,128,0.06); }
.rw-chip--red  { border-color: rgba(239,68,68,0.22); color: #ffd2d2; background: rgba(239,68,68,0.06); }
.rw-chip small { opacity: 0.7; font-weight: 700; }

/* Passives in status */
.rw-passives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 640px){ .rw-passives{grid-template-columns:1fr} }
.rw-pass {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0e1226;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid rgba(212,136,28,0.5);
}
.rw-pass.on { border-left-color: var(--gold); background: rgba(212,136,28,0.06); }
.rw-pass.dim { opacity: 0.55; border-left-color: rgba(255,255,255,0.14); }
.rw-pass i {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(212,136,28,0.14);
  font-style: normal;
  font-size: 0.9rem;
}
.rw-pass b { display:block; font-size:0.80rem; color:#fff; }
.rw-pass p { font-size:0.70rem; color: var(--text-muted); line-height:1.4; margin: 2px 0 0; }
.rw-pass .req { font-size:0.64rem; color: var(--text-dim); }

/* XP gain toast */
.rw-toast {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,#d4881c,#c2761a);
  color: #120a00;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.82rem;
  box-shadow: 0 6px 20px rgba(212,136,28,0.45);
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  pointer-events: none;
  transition: all 0.25s;
  z-index: 3;
}
.rw-toast.show { opacity: 1; transform: none; }

/* ---------- CLASSES PANEL ---------- */
.rw-classes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(212,136,28,0.08);
  border: 1px solid rgba(212,136,28,0.22);
}
.rw-points {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.rw-points b { color: var(--gold); font-size: 1.05rem; }
.rw-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rw-fbtn {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #12152a;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s;
}
.rw-fbtn:hover { color:#fff; border-color: rgba(212,136,28,0.35); }
.rw-fbtn.active { background: var(--gold); color:#120a00; border-color: var(--gold); }

.rw-class-list { display: flex; flex-direction: column; gap: 8px; }
.rw-crow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #0e1226;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.18s;
}
.rw-crow:hover { border-color: rgba(212,136,28,0.30); transform: translateX(2px); }
.rw-crow.locked { opacity: 0.62; }
.rw-crow.maxed { border-color: rgba(212,136,28,0.32); background: linear-gradient(90deg, rgba(212,136,28,0.06), #0e1226); }
.rw-cico {
  width: 40px; height: 40px; flex: 0 0 40px;
  display: grid; place-items: center;
  border-radius: 9px;
  font-size: 1.25rem;
  background: rgba(212,136,28,0.10);
  border: 1px solid rgba(255,255,255,0.06);
}
.rw-cinfo { flex: 1; min-width: 0; }
.rw-cname { font-weight: 700; font-size: 0.86rem; color:#fff; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.rw-clvl {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(212,136,28,0.28);
  color: var(--gold);
  background: rgba(212,136,28,0.10);
}
.rw-clvl.max { background: var(--gold); color:#120a00; border-color: var(--gold); }
.rw-clvl.dim { color: var(--text-dim); border-color: rgba(255,255,255,0.10); background: transparent; }
.rw-cbonus { font-size: 0.70rem; color: var(--text-muted); margin-top: 2px; line-height:1.4; }
.rw-plus {
  flex: 0 0 auto;
  width: 38px; height: 32px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(180deg, var(--gold), #c2761a);
  color: #120a00;
  font-weight: 900;
  font-size: 0.90rem;
  cursor: pointer;
  transition: all 0.15s;
  display: grid; place-items: center;
}
.rw-plus:hover { filter: brightness(1.08); transform: translateY(-1px); }
.rw-plus:active { transform: scale(0.92); }
.rw-plus:disabled { opacity: 0.35; cursor: not-allowed; filter: grayscale(0.4); transform: none; }

/* Classe barra mini nivel */
.rw-cbar {
  height: 4px;
  border-radius: 999px;
  background: #050611;
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  margin-top: 6px;
}
.rw-cfill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #f0b24a);
  transition: width 0.45s;
}

/* ---------- SHOP PANEL ---------- */
.rw-shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px){ .rw-shop-grid{grid-template-columns:1fr} }

.rw-shop-card {
  padding: 14px;
  border-radius: 12px;
  background: #0e1226;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.rw-shop-card::before {
  content:"";
  position: absolute;
  top: 0; left:0; right:0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,136,28,0.35), transparent);
  opacity: 0;
  transition: opacity 0.18s;
}
.rw-shop-card:hover::before { opacity: 1; }
.rw-shop-card:hover { border-color: rgba(212,136,28,0.22); }

.rw-shop-head {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
}
.rw-shop-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(212,136,28,0.10);
  border: 1px solid rgba(212,136,28,0.22);
  font-size: 1.2rem;
}
.rw-shop-name { font-weight: 700; font-size: 0.86rem; color:#fff; }
.rw-shop-desc { font-size: 0.69rem; color: var(--text-muted); line-height:1.4; }

.rw-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(212,136,28,0.10);
  border: 1px solid rgba(212,136,28,0.28);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.78rem;
}
.rw-buy {
  margin-top: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(212,136,28,0.32);
  background: linear-gradient(180deg, var(--gold), #c2761a);
  color: #120a00;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s;
}
.rw-buy:hover { filter: brightness(1.07); transform: translateY(-1px); }
.rw-buy:active { transform: scale(0.98); }

/* Buff row */
.rw-buff-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.rw-buff {
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  background: #0e1226;
  border: 1px solid rgba(212,136,28,0.24);
  cursor: pointer;
  transition: all 0.16s;
}
.rw-buff:hover { background: rgba(212,136,28,0.08); border-color: var(--gold); transform: translateY(-2px); }
.rw-buff b { display:block; font-family: var(--font-heading); font-size: 1.05rem; color:#fff; }
.rw-buff small { display:block; font-size:0.68rem; color: var(--gold); font-weight:700; margin-top:2px; }
.rw-buff em { display:block; font-style:normal; font-size:0.62rem; color: var(--text-dim); margin-top:4px; }
.rw-buff.active { background: var(--gold); border-color: var(--gold); }
.rw-buff.active b, .rw-buff.active small, .rw-buff.active em { color:#120a00; }

/* ---------- DETAIL CARDS BELOW MOCKUP ---------- */
.window-details {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto 28px;
}
@media (max-width: 880px){ .window-details{grid-template-columns:1fr; max-width: 560px;} }

.wd-card {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0f1225, #0c0f20);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.22s;
}
.wd-card::before{
  content:"";
  position: absolute;
  top:0; left:0; right:0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,136,28,0.5), transparent);
  opacity: 0;
  transition: opacity 0.22s;
}
.wd-card:hover{ border-color: rgba(212,136,28,0.30); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.wd-card:hover::before{ opacity: 1; }
.wd-icon {
  width: 42px; height:42px;
  display: grid; place-items:center;
  border-radius: 10px;
  font-size: 1.35rem;
  margin-bottom: 12px;
  border: 1px solid;
}
.wd-icon--green{ background: rgba(212,136,28,0.10); border-color: rgba(212,136,28,0.24); color: var(--gold); }
.wd-icon--blue { background: rgba(96,165,250,0.10); border-color: rgba(96,165,250,0.24); color: var(--blue); }
.wd-icon--gold { background: rgba(212,136,28,0.10); border-color: rgba(212,136,28,0.24); color: var(--gold); }
.wd-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  display:flex;
  align-items:center;
  gap:8px;
}
.wd-card h3 span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(212,136,28,0.12);
  border: 1px solid rgba(212,136,28,0.28);
  color: var(--gold);
}
.wd-card p { font-size: 0.84rem; color: var(--text-muted); line-height:1.6; max-width:none; }
.wd-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wd-item {
  display:flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.4;
}
.wd-bullet {
  flex: 0 0 18px;
  width:18px; height:18px;
  display:grid; place-items:center;
  border-radius: 50%;
  background: rgba(212,136,28,0.12);
  border: 1px solid rgba(212,136,28,0.22);
  font-size: 0.65rem;
  color: var(--gold);
  margin-top: 1px;
}

/* ---------- CONTROLS ---------- */
.window-controls {
  max-width: 880px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px){ .window-controls{grid-template-columns:1fr} }
.wc-card {
  padding: 18px;
  border-radius: 14px;
  background: #0e1226;
  border: 1px solid rgba(255,255,255,0.06);
}
.wc-card h4 {
  font-size: 0.92rem;
  margin-bottom: 14px;
  display:flex;
  align-items:center;
  gap:10px;
}
.wc-card h4 i {
  width:28px; height:28px;
  display:grid; place-items:center;
  border-radius: 8px;
  background: rgba(212,136,28,0.12);
  border: 1px solid rgba(212,136,28,0.24);
  font-style: normal;
  font-size: 0.95rem;
}
.wc-row {
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wc-row:last-child { border-bottom: none; }
.wc-key {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
}
.wc-key kbd {
  min-width: 28px;
  height: 24px;
  display:inline-grid;
  place-items:center;
  padding: 0 7px;
  border-radius: 6px;
  background: #1a1f3a;
  border: 1px solid rgba(255,255,255,0.10);
  border-bottom-width: 2px;
  font-size: 0.72rem;
  color: #fff;
}
.wc-desc { font-size:0.78rem; color: var(--text-muted); text-align:right; }

/* ---------- TIPS ---------- */
.window-tips {
  max-width: 880px;
  margin: 0 auto;
  display:flex;
  gap:12px;
  flex-wrap: wrap;
  justify-content: center;
}
.wtip {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.76rem;
  color: var(--text-muted);
}
.wtip b { color: #fff; }
.wtip i { font-style: normal; color: var(--gold); }

/* ---------- KEYBOARD SHORTCUTS BAR INSIDE BODY ---------- */
.rw-kbar {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.08);
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.rw-kbar kbd {
  background: #171b33;
  border: 1px solid rgba(255,255,255,0.10);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 7px;
  font-family: var(--font-mono);
  color: #fff;
  font-size: 0.68rem;
}

/* ---------- ANIM: XP pulse on gain ---------- */
@keyframes xpPulse {
  0% { transform: scale(1); }
  40%{ transform: scale(1.02); }
  100%{ transform: scale(1); }
}
.rw-xpbar.pulse { animation: xpPulse 0.35s ease; }

/* ---------- SCROLLBAR FOR CLASS LIST ---------- */
.rw-class-list {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,136,28,0.35) transparent;
}
.rw-class-list::-webkit-scrollbar { width: 6px; }
.rw-class-list::-webkit-scrollbar-thumb { background: rgba(212,136,28,0.35); border-radius: 999px; }
.rw-class-list::-webkit-scrollbar-track { background: transparent; }
