/* ==================== 元气骑士像素风 UI ==================== */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pixel-font: 'Press Start 2P', monospace;
  --bg-dark: #1a1a2e;
  --bg-mid: #16213e;
  --bg-light: #0f3460;
  --accent-warm: #e94560;
  --accent-gold: #f5c542;
  --accent-green: #4ecca3;
  --accent-blue: #3dc1d3;
  --accent-purple: #a855f7;
  --text-bright: #fff;
  --text-mid: #ddd;
  --text-dim: #999;
  --pixel-border: #3a3a5c;
  --pixel-shadow: 3px 3px 0px rgba(0,0,0,0.5);
}

body {
  font-family: var(--pixel-font);
  background: var(--bg-dark);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(78, 204, 163, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(233, 69, 96, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(245, 197, 66, 0.06) 0%, transparent 50%);
  color: var(--text-bright);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ==================== 通用组件 ==================== */
.screen {
  display: none;
  min-height: 100vh;
  padding: 20px;
}

.screen.active {
  display: block;
  animation: pixelFadeIn 0.4s steps(8);
}

@keyframes pixelFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pixelBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes pixelGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(245, 197, 66, 0.4); }
  50% { box-shadow: 0 0 16px rgba(245, 197, 66, 0.8); }
}

@keyframes hpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.btn-primary, .btn-secondary {
  padding: 14px 28px;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--pixel-font);
  letter-spacing: 1px;
  text-transform: uppercase;
  image-rendering: pixelated;
}

.btn-primary {
  background: var(--accent-warm);
  color: white;
  box-shadow: 4px 4px 0px #8b1a30, inset 0 -3px 0px rgba(0,0,0,0.2), inset 0 3px 0px rgba(255,255,255,0.15);
  border: 3px solid #ff6b8a;
}

.btn-primary:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #8b1a30, inset 0 -3px 0px rgba(0,0,0,0.2), inset 0 3px 0px rgba(255,255,255,0.15);
}

.btn-primary:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #8b1a30;
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-bright);
  border: 3px solid var(--accent-blue);
  box-shadow: 4px 4px 0px #1a6a7a, inset 0 -3px 0px rgba(0,0,0,0.2), inset 0 3px 0px rgba(255,255,255,0.1);
}

.btn-secondary:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #1a6a7a;
  background: #1a4a7a;
}

.btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==================== 难度选择界面 ==================== */
.title-area {
  text-align: center;
  margin-bottom: 32px;
}

#title-canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 4px solid var(--pixel-border);
  box-shadow: var(--pixel-shadow);
}

.screen-body {
  max-width: 1100px;
  margin: 0 auto;
}

.screen-heading {
  text-align: center;
  font-size: 20px;
  margin-bottom: 32px;
  color: var(--accent-gold);
  text-shadow: 3px 3px 0px rgba(0,0,0,0.5), 0 0 20px rgba(245, 197, 66, 0.3);
  letter-spacing: 4px;
}

.difficulty-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.diff-card {
  background: var(--bg-mid);
  border: 4px solid var(--pixel-border);
  border-radius: 0;
  padding: 28px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  box-shadow: var(--pixel-shadow);
  image-rendering: pixelated;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--pixel-border);
}

.diff-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.5);
  border-color: var(--accent-gold);
}

.diff-card:hover::before {
  background: var(--accent-gold);
}

.diff-card.recommended {
  border-color: var(--accent-gold);
  animation: pixelGlow 2s infinite;
}

.diff-card.recommended::before {
  background: var(--accent-gold);
}

.diff-badge {
  position: absolute;
  top: -14px;
  right: 16px;
  background: var(--accent-gold);
  color: #1a1a2e;
  padding: 4px 12px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--pixel-font);
  border: 3px solid #c9a020;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.diff-icon {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
  filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.3));
}

.diff-card h3 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-bright);
  font-family: var(--pixel-font);
  letter-spacing: 2px;
}

.diff-card p {
  text-align: center;
  color: var(--accent-blue);
  margin-bottom: 16px;
  font-size: 14px;
  font-family: var(--pixel-font);
}

.diff-card ul {
  list-style: none;
}

.diff-card li {
  padding: 6px 0;
  color: var(--text-mid);
  font-size: 13px;
  font-family: var(--pixel-font);
  line-height: 1.8;
  border-bottom: 2px dashed rgba(255,255,255,0.06);
}

.diff-card li:last-child {
  border-bottom: none;
}

/* ==================== 物资选择界面 ==================== */
.supply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.supply-header .screen-heading {
  margin-bottom: 0;
}

.btn-back {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #888;
  color: #888;
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--pixel-font);
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}

.supply-body {
  max-width: 1000px;
  margin: 0 auto;
}

.supply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.supply-card {
  background: var(--bg-mid);
  border: 3px solid var(--pixel-border);
  border-radius: 0;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  box-shadow: var(--pixel-shadow);
}

.supply-card:hover {
  border-color: var(--accent-blue);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px rgba(0,0,0,0.5);
}

.supply-card.selected {
  border-color: var(--accent-green);
  background: rgba(78, 204, 163, 0.15);
  box-shadow: 0 0 16px rgba(78, 204, 163, 0.3), var(--pixel-shadow);
}

.supply-card.selected::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--accent-green);
  color: #1a1a2e;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid #2a8a6a;
  font-family: var(--pixel-font);
}

.supply-icon {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
  font-size: 36px;
  margin-bottom: 10px;
  filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.3));
}

.supply-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-bright);
  font-family: var(--pixel-font);
  line-height: 1.4;
}

.supply-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  font-family: var(--pixel-font);
}

.supply-rarity {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
  font-family: var(--pixel-font);
  border: 2px solid;
}

.rarity-common {
  background: rgba(158, 158, 158, 0.2);
  color: #bbb;
  border-color: #666;
}

.rarity-rare {
  background: rgba(61, 193, 211, 0.2);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.rarity-epic {
  background: rgba(168, 85, 247, 0.2);
  color: var(--accent-purple);
  border-color: var(--accent-purple);
}

.rarity-legendary {
  background: rgba(245, 197, 66, 0.2);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.supply-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--bg-mid);
  border: 3px solid var(--pixel-border);
  box-shadow: var(--pixel-shadow);
}

.supply-counter {
  font-size: 15px;
  color: var(--text-bright);
  font-family: var(--pixel-font);
}

/* ==================== 游戏主界面 ==================== */
.game-layout {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 20px;
  max-width: 1600px;
  margin: 0 auto;
  min-height: calc(100vh - 40px);
}

.game-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.game-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.game-sidebar-left {
  order: 0;
}

.game-sidebar-right {
  order: 2;
}

.objective-panel {
  position: sticky;
  top: 16px;
}

.objective-text {
  font-size: 13px;
  color: #4ecca3;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.6;
  font-family: var(--pixel-font);
}

.objective-hint {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
  font-family: var(--pixel-font);
}

.objective-step {
  padding: 6px 10px;
  margin: 4px 0;
  background: rgba(78, 204, 163, 0.1);
  border-left: 3px solid #4ecca3;
  font-size: 11px;
  color: #ccc;
  font-family: var(--pixel-font);
}

.objective-step.done {
  color: #4ecca3;
  border-left-color: #4ecca3;
  opacity: 0.6;
  text-decoration: line-through;
}

.objective-step.current {
  color: #fff;
  border-left-color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

/* 场景画布 - 像素风 */
#scene-box {
  position: relative;
  background: #000;
  border: 4px solid var(--pixel-border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--pixel-shadow);
}

#pixel-canvas {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.06),
    rgba(0, 0, 0, 0.06) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.scene-location {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.8);
  padding: 6px 14px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-gold);
  font-family: var(--pixel-font);
  border: 2px solid var(--accent-gold);
  letter-spacing: 1px;
}

/* 故事文本 */
#story-box {
  background: var(--bg-mid);
  border: 4px solid var(--pixel-border);
  border-radius: 0;
  padding: 24px;
  min-height: 180px;
  box-shadow: var(--pixel-shadow);
  position: relative;
}

#story-box::before {
  content: '◆ STORY';
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--bg-mid);
  padding: 0 8px;
  font-size: 12px;
  color: var(--accent-blue);
  font-family: var(--pixel-font);
  letter-spacing: 2px;
}

#story-text {
  font-size: 18px;
  line-height: 2;
  color: var(--text-mid);
  white-space: pre-wrap;
  font-family: var(--pixel-font);
  letter-spacing: 0.5px;
}

/* 选项按钮 */
#choices-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-btn {
  background: var(--bg-mid);
  border: 3px solid var(--pixel-border);
  border-radius: 0;
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 15px;
  color: var(--text-mid);
  position: relative;
  font-family: var(--pixel-font);
  box-shadow: var(--pixel-shadow);
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.choice-btn::before {
  content: '▶';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  opacity: 0;
  transition: opacity 0.15s;
  font-size: 15px;
}

.choice-btn:hover {
  background: var(--bg-light);
  border-color: var(--accent-gold);
  transform: translate(-3px, -2px);
  box-shadow: 6px 5px 0px rgba(0,0,0,0.5);
  color: var(--text-bright);
}

.choice-btn:hover::before {
  opacity: 1;
  left: -20px;
}

.choice-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
  font-family: var(--pixel-font);
  border: 2px solid;
  letter-spacing: 1px;
}

.tag-fight {
  background: rgba(233, 69, 96, 0.2);
  color: var(--accent-warm);
  border-color: var(--accent-warm);
}

.tag-item {
  background: rgba(78, 204, 163, 0.2);
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.tag-risk {
  background: rgba(245, 197, 66, 0.2);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.tag-safe {
  background: rgba(61, 193, 211, 0.2);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* 侧边栏面板 */
.sidebar-panel {
  background: var(--bg-mid);
  border: 4px solid var(--pixel-border);
  border-radius: 0;
  padding: 18px;
  box-shadow: var(--pixel-shadow);
  position: relative;
}

.panel-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--accent-gold);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--pixel-border);
  font-family: var(--pixel-font);
  letter-spacing: 2px;
}

/* 小地图 */
.map-panel {
  text-align: center;
}

.map-panel canvas {
  width: 100%;
  height: 150px;
  border: 3px solid var(--pixel-border);
  background: #000;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.map-status {
  font-size: 11px;
  margin-top: 6px;
  color: var(--text-dim);
  font-family: var(--pixel-font);
}

.map-status.active {
  color: var(--accent-green);
}

.map-canvas-container {
  position: relative;
  width: 100%;
  height: 150px;
  background: #000;
  border: 2px solid var(--pixel-border);
  overflow: hidden;
}

.map-canvas {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.map-snow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pixel-font);
  font-size: 18px;
  color: #666;
  animation: snowFlicker 0.1s infinite;
}

@keyframes snowFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* 状态栏 */
.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.status-row:last-child {
  margin-bottom: 0;
}

.s-icon {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
  font-size: 18px;
  width: 26px;
  text-align: center;
  filter: drop-shadow(1px 1px 0px rgba(0,0,0,0.3));
}

.s-bar {
  flex: 1;
  height: 18px;
  background: #0a0a1a;
  border-radius: 0;
  overflow: hidden;
  border: 2px solid var(--pixel-border);
}

.s-bar-fill {
  height: 100%;
  background: var(--accent-green);
  transition: width 0.5s steps(10);
  border-radius: 0;
  box-shadow: inset 0 -3px 0px rgba(0,0,0,0.2), inset 0 3px 0px rgba(255,255,255,0.15);
  animation: hpPulse 2s infinite;
}

.s-val {
  min-width: 44px;
  text-align: right;
  font-weight: 600;
  color: var(--text-bright);
  font-family: var(--pixel-font);
  font-size: 16px;
}

.s-label {
  flex: 1;
  font-size: 16px;
  color: var(--text-mid);
  font-family: var(--pixel-font);
  line-height: 1.4;
}

/* 背包列表 */
.inv-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-item {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s;
  position: relative;
  cursor: help;
}

.inv-item .tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 12px;
  background: var(--bg-deep);
  border: 2px solid var(--accent-gold);
  padding: 10px 14px;
  border-radius: 0;
  min-width: 200px;
  max-width: 280px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  text-align: left;
}

.inv-item:hover .tooltip {
  opacity: 1;
}

.tooltip-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--accent-gold);
  margin-bottom: 6px;
  display: block;
  font-family: var(--pixel-font);
}

.tooltip-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
  display: block;
  margin-bottom: 4px;
  font-family: var(--pixel-font);
}

.tooltip-stats {
  font-size: 11px;
  color: var(--accent-green);
  display: block;
  font-family: var(--pixel-font);
}

.inv-item:hover {
  border-color: var(--accent-blue);
  background: rgba(61, 193, 211, 0.08);
}

.inv-item-icon {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
  font-size: 22px;
  filter: drop-shadow(1px 1px 0px rgba(0,0,0,0.3));
}

.quest-tag {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--bg-deep);
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 0;
  margin-left: 6px;
  font-family: var(--pixel-font);
  letter-spacing: 0.5px;
}

.uses-tag {
  display: inline-block;
  background: var(--accent-blue);
  color: var(--bg-deep);
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 0;
  margin-left: 6px;
  font-family: var(--pixel-font);
}

.inv-item-name {
  font-weight: 600;
  color: var(--text-bright);
  font-size: 13px;
  font-family: var(--pixel-font);
}

.inv-item-desc {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
  font-family: var(--pixel-font);
  line-height: 1.4;
}

.inv-empty {
  text-align: center;
  color: var(--text-dim);
  padding: 20px;
  font-style: italic;
  font-size: 14px;
  font-family: var(--pixel-font);
  border: 2px dashed var(--pixel-border);
}

/* 发现列表 */
.flags-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flag-item {
  background: rgba(245, 197, 66, 0.08);
  border: 2px solid rgba(245, 197, 66, 0.3);
  border-radius: 0;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
  font-family: var(--pixel-font);
}

/* ==================== 结局界面 ==================== */
.end-card {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-mid);
  border: 4px solid var(--accent-gold);
  border-radius: 0;
  padding: 40px;
  text-align: center;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.5), 0 0 30px rgba(245, 197, 66, 0.15);
}

.end-icon {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
  font-size: 64px;
  margin-bottom: 20px;
  animation: pixelBounce 1s infinite;
  filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.3));
}

.end-card h2 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--accent-gold);
  text-shadow: 3px 3px 0px rgba(0,0,0,0.5);
  font-family: var(--pixel-font);
  letter-spacing: 3px;
}

.end-desc {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 28px;
  color: var(--text-mid);
  font-family: var(--pixel-font);
}

.end-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.end-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 3px solid var(--pixel-border);
  border-radius: 0;
  padding: 14px;
}

.es-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-family: var(--pixel-font);
}

.es-val {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: var(--pixel-font);
}

.end-journal {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0;
  padding: 20px;
  margin-bottom: 28px;
  text-align: left;
  border: 3px solid var(--pixel-border);
}

.ej-title {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--accent-blue);
  text-align: center;
  font-family: var(--pixel-font);
  letter-spacing: 2px;
}

.ej-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.ej-entry {
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid var(--accent-blue);
  padding: 10px;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mid);
  font-family: var(--pixel-font);
}

.ej-day {
  display: inline-block;
  background: var(--accent-blue);
  color: #1a1a2e;
  padding: 2px 8px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
  font-family: var(--pixel-font);
}

.ej-eval {
  background: rgba(245, 197, 66, 0.1);
  border: 3px solid var(--accent-gold);
  border-radius: 0;
  padding: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-bright);
  text-align: center;
  font-family: var(--pixel-font);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
  .game-layout {
    grid-template-columns: 240px 1fr 280px;
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .game-layout {
    grid-template-columns: 1fr 280px;
    gap: 16px;
  }
  
  .game-sidebar-left {
    grid-column: 1 / -1;
    order: 3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .game-layout {
    grid-template-columns: 1fr;
  }
  
  .game-sidebar,
  .game-sidebar-left,
  .game-sidebar-right {
    order: unset;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .difficulty-cards {
    grid-template-columns: 1fr;
  }
  
  .supply-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  
  .supply-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .end-card {
    padding: 24px 16px;
  }

  .screen-heading {
    font-size: 14px;
  }
}
