.pcc-slumpgen {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
}
.pcc-slumpgen h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  border-bottom: none;
}
.pcc-slumpgen h3 a {
  border-bottom: none;
}
.pcc-slumpgen-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  border-bottom: 2px solid #e2e8f0;
}
.pcc-slumpgen-tab {
  flex: 1 1 auto;
  background: none;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all .15s ease;
}
.pcc-slumpgen-tab:hover {
  color: #1e293b;
  background: none;
}
.pcc-slumpgen-tab.active {
  color: #b90c0c;
  border-bottom-color: #b90c0c;
  background: none;
}
.pcc-slumpgen-panel {
  display: none;
}
.pcc-slumpgen-panel.active {
  display: block;
}
.pcc-slumpgen-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pcc-slumpgen-field {
  flex: 1 1 140px;
  min-width: 0;
}
.pcc-slumpgen-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.pcc-slumpgen-field input[type="number"],
.pcc-slumpgen-field textarea,
.pcc-slumpgen-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  line-height: 1.4;
}
.pcc-slumpgen-field textarea {
  min-height: 90px;
  resize: vertical;
}
.pcc-slumpgen-field input:focus,
.pcc-slumpgen-field textarea:focus,
.pcc-slumpgen-field select:focus {
  outline: none;
  border-color: #b90c0c;
  box-shadow: 0 0 0 3px rgba(185, 12, 12, .1);
}
.pcc-slumpgen-checkrow {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 14px;
}
.pcc-slumpgen-checkrow label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  cursor: pointer;
}
.pcc-slumpgen-checkrow input {
  margin: 0;
}
.pcc-slumpgen-button {
  display: inline-block;
  background: #b90c0c;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .3px;
  transition: background .15s ease;
}
.pcc-slumpgen-button:hover {
  background: #8a0808;
  color: #fff;
}
.pcc-slumpgen-button:active {
  transform: translateY(1px);
}
.pcc-slumpgen-result {
  margin-top: 18px;
  padding: 18px 20px;
  background: #fefdf8;
  border-left: 4px solid #b90c0c;
  border-radius: 0 6px 6px 0;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 24px;
}
.pcc-slumpgen-result-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.pcc-slumpgen-result-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  word-break: break-word;
}
.pcc-slumpgen-result-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.pcc-slumpgen-chip {
  display: inline-block;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}
.pcc-slumpgen-coin {
  font-size: 3rem;
  text-align: center;
  margin: 8px 0;
}
.pcc-slumpgen-info {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
  line-height: 1.4;
}
.pcc-slumpgen-empty {
  color: #94a3b8;
  font-style: italic;
}
@media (max-width: 600px) {
  .pcc-slumpgen {
    padding: 18px;
  }
  .pcc-slumpgen-tab {
    flex: 1 1 calc(50% - 4px);
    font-size: 13px;
    padding: 8px 6px;
  }
  .pcc-slumpgen-field {
    flex: 1 1 100%;
  }
}
