/* mutslots.css - the refund slot board (2026-10-29): Elder state + Active / Parent / Elder A / Elder B hex rows */
.ms-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  background: #0a1019;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ms-elder {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ms-elder-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}
.ms-seg {
  display: inline-flex;
  background: #0d1522;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 3px;
}
.ms-seg button {
  padding: 5px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.ms-seg button:disabled {
  cursor: default;
}
.ms-seg button.is-active {
  background: #1e293b;
  color: #fff;
}
.ms-seg button.is-active[data-elder="prime"] {
  color: #fbbf24;
}
.ms-fam-title {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 6px;
}
.ms-row {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.ms-active .ms-row {
  gap: 10px;
}
.ms-side {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 760px) {
  .ms-side {
    grid-template-columns: 1fr;
  }
}
/* the staff refund cards are narrow: one side family per line */
.rf-dino-card .ms-side {
  grid-template-columns: 1fr;
}
.ms-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ms-hex {
  width: 64px;
  height: 56px;
  padding: 4px 10px;
  border: none;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: #151c26;
  color: #64748b;
  font-size: 10px;
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  word-break: break-word;
}
.ms-active .ms-hex {
  width: 96px;
  height: 84px;
  font-size: 11px;
}
.ms-hex.is-filled {
  background: #0e3a44;
  color: #e2f8fb;
  font-weight: 600;
}
button.ms-hex {
  cursor: pointer;
  transition: background 0.15s ease;
}
button.ms-hex:hover {
  background: #1d2a3a;
}
button.ms-hex.is-filled:hover {
  background: #135463;
}
.ms-hex.is-open {
  background: #00f0ff;
  color: #06090e;
}
.ms-num {
  font-size: 10px;
  color: #64748b;
}
.ms-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ms-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #cbd5e1;
}
.ms-picker-actions {
  display: flex;
  gap: 6px;
}
.ms-picker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
}
.ms-opt {
  padding: 5px 10px;
  border-radius: 6px;
  background: #0d1522;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 12px;
  cursor: pointer;
}
.ms-opt:hover {
  border-color: rgba(0, 240, 255, 0.4);
  color: #fff;
}
.ms-opt.is-current {
  border-color: #00f0ff;
  color: #00f0ff;
}
.ms-opt:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.ms-note {
  font-size: 11px;
  color: #64748b;
}
