.command-center {
  margin-top: 18px;
  overflow: hidden;
}

.command-center-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px 17px;
  border-bottom: 1px solid rgba(220, 181, 60, .28);
}

.command-center-header h2 {
  margin: 4px 0 0;
  color: #fff8d2;
  font-size: 23px;
  line-height: 1;
}

.command-center-header h2 b {
  color: #c8ff43;
  font: 800 14px/1 "DM Mono", monospace;
  vertical-align: middle;
}

.command-center-header > p {
  margin: 0;
  color: #c5b982;
  font-size: 13px;
  font-weight: 700;
}

.command-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 24px;
  background: rgba(11, 11, 7, .42);
  border-bottom: 1px solid rgba(220, 181, 60, .2);
}

.command-tabs button {
  min-height: 41px;
  padding: 8px 11px;
  color: #c9bd86;
  background: #11120b;
  border: 1px solid #4d4420;
  font: 800 13px/1 "Noto Sans KR", sans-serif;
  cursor: pointer;
}

.command-tabs button:hover,
.command-tabs button.selected {
  color: #fff6c4;
  background: linear-gradient(180deg, #30260d, #1c180a);
  border-color: #d7af38;
}

.command-tabs b {
  margin-left: 5px;
  color: #c8ff43;
  font: 800 12px/1 "DM Mono", monospace;
}

.command-center-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 24px 23px;
}

.command-card {
  position: relative;
  min-height: 117px;
  padding: 16px 16px 15px;
  text-align: left;
  color: #f3ebc6;
  background: linear-gradient(145deg, #19190e, #10110c);
  border: 1px solid #514826;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.command-card:hover,
.command-card:focus-visible {
  outline: none;
  background: linear-gradient(145deg, #242110, #15150c);
  border-color: #e0bc47;
  transform: translateY(-2px);
}

.command-card::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #867a4e;
  content: "↗";
  font: 700 16px/1 "DM Mono", monospace;
}

.command-card span {
  display: block;
  color: #c8bd91;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.command-card strong {
  display: block;
  margin-top: 10px;
  color: #f9f0cc;
  font: 800 23px/1.05 "DM Mono", "Noto Sans KR", sans-serif;
  letter-spacing: -.06em;
}

.command-card small {
  display: block;
  margin-top: 9px;
  padding-right: 20px;
  color: #a89d70;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.command-card.is-warning strong { color: #ffd85e; }
.command-card.is-danger strong { color: #ff9079; }
.command-card.is-positive strong { color: #c8ff43; }
.command-card.is-info strong { color: #7dccff; }

@media (max-width: 1240px) {
  .command-center-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .command-center-header { align-items: start; flex-direction: column; padding: 18px; }
  .command-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 18px; }
  .command-tabs button:last-child { grid-column: 1 / -1; }
  .command-center-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 18px 19px; }
  .command-card { min-height: 106px; padding: 14px; }
}

@media (max-width: 470px) {
  .command-center-grid { grid-template-columns: 1fr; }
  .command-tabs { grid-template-columns: 1fr; }
  .command-tabs button:last-child { grid-column: auto; }
}
