/*
 * 簡錢智選首頁專用調整。
 * 移除行銷式主張後，只保留與本期選股直接相關的市場狀態資訊。
 */

.brand-v2.editorial-v2 .editorial-hero.market-summary {
  min-height: 0;
  padding: 9px 20px;
  justify-content: flex-start;
  gap: 0;
  background: #faf7f2;
}

.brand-v2.editorial-v2 .editorial-hero.market-summary::after {
  display: none;
}

.brand-v2.editorial-v2 .market-summary .editorial-status {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  flex: 0 1 auto;
  padding: 3px 0 3px 11px;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--brand-gold);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-v2.editorial-v2 .market-summary .editorial-status-label,
.brand-v2.editorial-v2 .market-summary .editorial-status-note {
  margin: 0;
}

.brand-v2.editorial-v2 .market-summary .editorial-status-label {
  color: var(--text-mute);
  white-space: nowrap;
}

.brand-v2.editorial-v2 .market-summary .editorial-status-value {
  white-space: nowrap;
}

.brand-v2.editorial-v2 .market-summary .editorial-status-note {
  padding-left: 12px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
}

/* 新手主流程只給一個可執行起點；內部回測名稱收進進階說明。 */
.brand-v2.editorial-v2 .g-start-card {
  padding: 9px 10px;
  background: #fffdfb;
  border: 1px solid #ddc8ae;
  border-radius: 10px;
}

.brand-v2.editorial-v2 .g-start-title {
  margin-bottom: 5px;
  color: var(--brand-navy);
  font-size: 12px;
  font-weight: 700;
}

.brand-v2.editorial-v2 .g-engine-fold {
  margin-top: 8px;
  padding-top: 7px;
}

.brand-v2.editorial-v2 .g-engine-fold summary {
  color: var(--brand-gold-strong);
  font-size: 10.5px;
}

.brand-v2.editorial-v2 .g-engine-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.brand-v2.editorial-v2 .g-engine-row {
  padding-left: 9px;
  border-left: 2px solid var(--border-2);
}

.brand-v2.editorial-v2 .g-engine-row div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.brand-v2.editorial-v2 .g-engine-row b {
  color: var(--brand-navy);
  font-size: 11px;
}

.brand-v2.editorial-v2 .g-engine-row span {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.brand-v2.editorial-v2 .g-engine-row p {
  margin: 2px 0 0;
  color: var(--text-mute);
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .brand-v2.editorial-v2 .editorial-hero.market-summary {
    flex-direction: row;
    padding: 9px 12px;
  }

  .brand-v2.editorial-v2 .market-summary .editorial-status {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 10px;
    width: 100%;
  }

  .brand-v2.editorial-v2 .market-summary .editorial-status-note {
    grid-column: 1 / -1;
    padding: 0;
    border-left: 0;
  }
}
