.marvel-panel {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(230, 57, 70, 0.4);
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.marvel-panel[open] {
  border-color: rgba(230, 57, 70, 0.8);
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.marvel-panel summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #e8e8e8;
  padding: 8px 12px;
  border-left: 4px solid #e63946;
  padding-left: 16px;
  margin: -8px -12px 12px -12px;
  user-select: none;
  transition: color 0.2s ease;
}

.marvel-panel summary:hover {
  color: #e63946;
}

.marvel-panel:not([open]) summary {
  margin-bottom: -8px;
}

.thinking-panel {
  border-color: rgba(179, 136, 235, 0.4);
}

.thinking-panel[open] {
  border-color: rgba(179, 136, 235, 0.8);
  box-shadow: 0 0 20px rgba(179, 136, 235, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.thinking-panel summary {
  border-left-color: #b388eb;
}

.scene-panel {
  border-color: rgba(76, 201, 240, 0.4);
}

.scene-panel[open] {
  border-color: rgba(76, 201, 240, 0.8);
  box-shadow: 0 0 20px rgba(76, 201, 240, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scene-panel summary {
  border-left-color: #4cc9f0;
}

.memory-panel table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.memory-panel th {
  background: #e63946;
  color: #ffffff;
  padding: 10px 8px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid rgba(230, 57, 70, 0.6);
}

.memory-panel td {
  padding: 10px 8px;
  color: #e8e8e8;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
}

.memory-panel tr:last-child td {
  border-bottom: none;
}

.memory-panel tr:hover td {
  background: rgba(230, 57, 70, 0.1);
}

.hero-panel {
  border-color: rgba(244, 162, 97, 0.4);
}

.hero-panel[open] {
  border-color: rgba(244, 162, 97, 0.8);
  box-shadow: 0 0 20px rgba(244, 162, 97, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-panel summary {
  border-left-color: #f4a261;
}

.reputation-panel {
  border-color: rgba(244, 162, 97, 0.4);
}

.reputation-panel[open] {
  border-color: rgba(244, 162, 97, 0.8);
  box-shadow: 0 0 20px rgba(244, 162, 97, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.reputation-panel summary {
  border-left-color: #f4a261;
}

.interact-panel {
  border-color: rgba(230, 57, 70, 0.4);
}

.interact-panel[open] {
  border-color: rgba(230, 57, 70, 0.8);
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.interact-panel summary {
  border-left-color: #e63946;
}

.marvel-main {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(230, 57, 70, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0;
  color: #e8e8e8;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.npc-dialogue {
  color: #4cc9f0;
  font-weight: 500;
}

.inner-thought {
  color: #b388eb;
  font-style: italic;
}

.power-name {
  color: #f4a261;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(244, 162, 97, 0.4);
}

.system-alert {
  background: rgba(230, 57, 70, 0.15);
  border-left: 4px solid #e63946;
  padding: 12px 16px;
  margin: 16px 0;
  color: #e8e8e8;
  border-radius: 6px;
  font-size: 15px;
}

.marvel-choice {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(230, 57, 70, 0.4);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.marvel-choice > div:first-child {
  color: #e63946;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(230, 57, 70, 0.3);
}

.marvel-choice > div:not(:first-child) {
  color: #e8e8e8;
  padding: 12px 16px;
  margin: 8px 0;
  border-left: 3px solid rgba(76, 201, 240, 0.5);
  background: rgba(76, 201, 240, 0.05);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  line-height: 1.6;
}

.marvel-choice > div:not(:first-child):hover {
  background: rgba(230, 57, 70, 0.15);
  border-left-color: #e63946;
  color: #ffffff;
  transform: translateX(4px);
}

hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent 0%, #e63946 50%, transparent 100%);
  margin: 24px 0;
  opacity: 0.6;
}

.marvel-panel p, .marvel-panel div {
  color: #e8e8e8;
  line-height: 1.7;
  margin: 8px 0;
}

.marvel-panel strong {
  color: #f4a261;
  font-weight: 600;
}

.hero-panel,
.hero-panel *,
.reputation-panel,
.reputation-panel *,
.interact-panel,
.interact-panel *,
.memory-panel,
.memory-panel *,
.scene-panel,
.scene-panel * {
  color: #e8e8e8 !important;
}

.marvel-choice {
  color: #e8e8e8 !important;
}

.marvel-choice * {
  color: #e8e8e8 !important;
}

.marvel-choice p,
.marvel-choice li,
.marvel-choice span {
  color: #e8e8e8 !important;padding: 10px 14px !important;
  margin: 6px 0 !important;
  border-left: 3px solid rgba(76, 201, 240, 0.5) !important;
  background: rgba(76, 201, 240, 0.05) !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;display: block !important;
  transition: all 0.3s ease !important;
}

.marvel-choice p:hover,
.marvel-choice li:hover {
  background: rgba(230, 57, 70, 0.15) !important;
  border-left-color: #e63946 !important;
  color: #ffffff !important;
  transform: translateX(4px) !important;
}

.memory-panel th {
  color: #ffffff !important;
}

.memory-panel td {
  color: #e8e8e8 !important;
}

.npc-dialogue {
  color: #4cc9f0 !important;
}

.inner-thought {
  color: #b388eb !important;
}

.power-name {
  color: #f4a261 !important;
}

