/* === 顶部区域 === */
header {
  background: #1a1a1a;
  padding: 12px 16px;
  border-bottom: 2px solid #333;
}

h2 {
  margin: 0;
  color: #ffaa33;
}

#moneyDisplay {
  color: #ffaa33;
  font-weight: bold;
}

.twemoji {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin: 0 0.05em;
  vertical-align: -0.12em;
}

#actionTitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.action-title-name {
  color: #ffaa33;
}

.action-title-name.area-risk-low {
  color: #33ff88;
}

.action-title-name.area-risk-high {
  color: #cc44dd;
}

.action-title-name.area-risk-extreme {
  color: #ff3355;
}

.action-title-tag {
  padding: 3px 8px;
  color: #111;
  background: #ffaa33;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.2;
}

.action-title-tag.area-risk-low {
  background: #33ff88;
  color: #07140b;
}

.action-title-tag.area-risk-medium {
  background: #ffaa33;
  color: #111;
}

.action-title-tag.area-risk-high {
  background: #bb44cc;
  color: #0e0312;
}

.action-title-tag.area-risk-extreme {
  background: #ff3355;
  color: #160606;
}

.action-title-stage {
  color: #bbb;
  font-size: 14px;
  font-weight: 600;
}

/* === 顶部状态区 === */

/* === 顶部状态区 === */
.adventure-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.adventure-equip,
.adventure-backpack {
  flex: 1;
  padding: 10px;
  background: #222;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
  color: #ffaa33;
  border-bottom: 1px solid #444;
  padding-bottom: 4px;
}

.adventure-equip h4,
.adventure-backpack h4 {
  margin: 0;
  color: #ffaa33;
  font-size: 16px;
}

.compact-action-btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 4px 8px;
  font-size: 12px;
  border: 1px solid #444;
  background: #2a2a2a;
}

.compact-action-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}


/* === 状态栏 === */
#playerStatus {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
  margin-top: 0;
  font-size: 15px;
  color: #33aaff;
  font-weight: bold;
  transition: color 0.3s;
  padding: 6px;
  border-radius: 6px;
}

.player-health,
.player-stamina {
  white-space: nowrap;
}

.player-stamina {
  margin-left: auto;
  color: #ffcc66;
}

.player-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  margin-top: 8px;
}

.quick-heal-area {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
}

#quickHealBtn {
  margin: 0;
  white-space: nowrap;
}


/* === 主内容 === */
.content {
  padding: 15px;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.home-actions a {
  min-width: 0;
}

.home-actions button {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
}

.home-primary-action {
  min-width: 126px;
  background: #ffaa33;
  color: #1a1a1a;
  font-size: 17px;
  font-weight: bold;
  border: 1px solid #d5861d;
  box-shadow: 0 2px 10px rgba(255, 170, 51, 0.24);
}

.empty-slot {
  color: #666;
}

.home-primary-action:hover {
  background: #ffb84d;
  color: #111;
}

.facility-panel {

/* === 详情弹窗 === */
#itemDetail, .item-detail {
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.5);
}


/* === 背包内物品 === */
#adventureBackpack .item, #bagStatus .item {
  font-size: 13px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
}
#adventureBackpack .item:hover, #bagStatus .item:hover {
  background: #444;
}

