.wp-label { font-size: 11px; color: rgba(255,255,255,.7); display: block; margin-bottom: 2px; }
.wp-mut   { color: rgba(255,255,255,.45); font-size: 11px; }

.wp-text input,
.wp-num input,
.wp-skill input,
.wp-select select {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-family: inherit;
}
.wp-text input { width: 100%; }
.wp-select select { width: 100%; }
.wp-select label, .wp-text label, .wp-num label { display: block; }

.wp-num-row {
  display: flex; align-items: center; gap: 4px;
}
.wp-num-row button,
.wp-skill button,
.wp-slot button,
.wp-inv-row button,
.wp-fx-row button,
.wp-tray button {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
}
.wp-num-row button:hover { background: rgba(255,255,255,.15); }

.wp-res-head {
  display: flex; justify-content: space-between;
  font-size: 11px; color: #fff; margin-bottom: 4px;
}
.wp-res-vals { font-weight: 700; }
.wp-res-bar {
  height: 12px; border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}
.wp-res-fill { height: 100%; transition: width .3s; }

.wp-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, #5b6a8c, #3e486a);
  color: #fff;
  border: 1px solid #6c7ba0;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 700; font-size: 12px;
  font-family: inherit;
}
.wp-btn:hover { filter: brightness(1.1); }

.wp-toggle {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
}
.wp-toggle .sw {
  width: 38px; height: 22px;
  border-radius: 999px;
  background: #444;
  border: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.wp-toggle .sw.on { background: #5dd6a8; }
.wp-toggle .sw .knob {
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff; border-radius: 50%;
  transition: left .15s;
}
.wp-toggle .sw.on .knob { left: 18px; }

.wp-attr {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  width: max-content;
}
.wp-attr-num { font-size: 22px; font-weight: 800; color: #fff; }
.wp-attr-mod { font-size: 12px; color: var(--accent-2); font-weight: 700; }
.wp-attr-name { font-size: 10px; letter-spacing: .8px; color: rgba(255,255,255,.6); text-transform: uppercase; }

.wp-skill {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
}
.wp-skill-name { flex: 1; }

.wp-section {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 12px; color: #fff;
}
.wp-section hr {
  flex: 1; border: 0; border-top: 2px solid rgba(255,255,255,.2); margin: 0;
}

.wp-vsection {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.02);
  padding: 8px;
}
.wp-vsection-title { font-weight: 700; font-size: 12px; color: #fff; margin-bottom: 4px; }
.wp-vsection-body { padding: 6px; }

.wp-rt {
  font-size: 12px;
}
.wp-rt-row { margin-bottom: 4px; }
.wp-rt-body {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 8px 10px;
  color: rgba(255,255,255,.85);
}

.wp-slot, .wp-inv, .wp-fx { font-size: 12px; }
.wp-slot-title, .wp-inv-head { font-weight: 700; color: #fff; margin-bottom: 6px; display: flex; justify-content: space-between; }
.wp-slot-list { display: flex; flex-direction: column; gap: 4px; }
.wp-slot-item, .wp-inv-row, .wp-fx-row {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px; padding: 4px 8px;
}
.wp-slot-item span:nth-child(2),
.wp-inv-row span:nth-child(1),
.wp-fx-row span:nth-child(1) { flex: 1; }

.wp-pips, .wp-clock {
  display: flex; gap: 4px;
}
.wp-pips .pip {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
}
.wp-clock .seg {
  width: 16px; height: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2px;
}

.wp-tray {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #fff;
}
.wp-tray .die {
  display: inline-grid; place-items: center;
  width: 36px; height: 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}
.wp-tags {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.wp-tags .tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: #fff; font-weight: 700;
}

.wp-image {
  display: flex; align-items: center; gap: 10px; font-size: 12px;
}
.wp-image-thumb {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  font-size: 22px;
}
.wp-derived {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  font-size: 12px;
}
.wp-derived-val { font-size: 18px; font-weight: 800; color: var(--accent-2); }
