/**
 * 算力架构 · 疏密度对齐创作中心类目卡 · 主题色 #00b7f0
 */
.compute-arch-section {
    margin-bottom: 18px;
}

.compute-arch-section h2 {
    font-size: 20px;
    font-weight: 650;
    color: #111827;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.compute-arch-section p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0;
    line-height: 1.55;
}

.compute-arch-panel {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 20px;
}

/* Tab：对齐上方卡片气质（白底细边框，选中主题青） */
.compute-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.compute-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 14px;
    min-height: 56px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid #eef0f4;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
    transform: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.compute-tab:hover:not(.active) {
    border-color: #9adcf5;
    background: #fafdfe;
}

.compute-tab:focus,
.compute-tab:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    border-color: #00b7f0;
}

.compute-tab.active {
    background: #e8f8fd;
    border: 1px solid #00b7f0;
    color: #0086b3;
    font-weight: 600;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
    transform: none !important;
}

/* 主题变体：选中态统一主题青，说明条保留轻区分 */
.compute-arch-panel.theme-home .compute-tab.active,
.compute-arch-panel.theme-cafe .compute-tab.active,
.compute-arch-panel.theme-datacenter .compute-tab.active,
.compute-arch-panel.theme-remote .compute-tab.active {
    background: #e8f8fd;
    border-color: #00b7f0;
    color: #0086b3;
}

.compute-arch-panel.theme-home .compute-desc-bar {
    background: #e8f8fd;
    border-color: #b3e7f8;
    color: #0369a1;
}

.compute-arch-panel.theme-cafe .compute-desc-bar {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #1d4ed8;
}

.compute-arch-panel.theme-datacenter .compute-desc-bar {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.compute-arch-panel.theme-remote .compute-desc-bar {
    background: #e8f8fd;
    border-color: #b3e7f8;
    color: #0099cc;
}

.compute-tab[hidden],
.compute-stat-card[hidden] {
    display: none !important;
}

.compute-stat-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.compute-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    box-sizing: border-box;
    border-radius: 12px;
    padding: 22px 16px;
    min-height: 112px;
    color: #111827;
    background: #fff;
    border: 1px solid #eef0f4;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
    transform: none !important;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.compute-stat-card:hover {
    border-color: #9adcf5;
    background: #fafdfe;
}

.compute-stat-card.highlight {
    border: 1px solid #00b7f0;
    background: #e8f8fd;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
    transform: none !important;
}

.compute-stat-card.green,
.compute-stat-card.blue,
.compute-stat-card.orange,
.compute-stat-card.purple {
    background: #fff;
    color: #111827;
}

.compute-stat-card.green .compute-stat-value { color: #16a34a; }
.compute-stat-card.blue .compute-stat-value { color: #2563eb; }
.compute-stat-card.orange .compute-stat-value { color: #ea580c; }
.compute-stat-card.purple .compute-stat-value { color: #00b7f0; }

.compute-stat-card.highlight .compute-stat-value {
    color: #00b7f0;
}

.compute-stat-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.compute-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    opacity: 1;
    line-height: 1.35;
}

.compute-desc-bar {
    background: #e8f8fd;
    border: 1px solid #b3e7f8;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 14px;
    color: #0369a1;
    line-height: 1.7;
}

.compute-desc-bar strong {
    font-weight: 650;
    color: #0086b3;
}

.compute-task-panel {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed #e5e7eb;
}

.compute-task-panel.hidden {
    display: none;
}

.compute-arch-panel.theme-home .compute-task-panel {
    border-top-color: #b3e7f8;
}

.compute-task-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.compute-task-panel-header h3 {
    margin: 0;
    font-size: 16px;
    color: #111827;
}

.compute-arch-panel.theme-home .compute-task-panel-header h3,
.compute-arch-panel.theme-home .ai-toolbar h3,
.compute-arch-panel.theme-home .metric-list-title {
    color: #0086b3;
}

.compute-arch-panel.theme-remote .ai-toolbar h3 {
    color: #0099cc;
}

.compute-task-panel-header p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.compute-task-panel .data-table {
    width: 100%;
}

.compute-task-panel .data-table thead th {
    background: #f9fafb;
    font-size: 13px;
}

.compute-arch-panel.theme-home .data-table thead th {
    background: #e8f8fd;
    color: #0369a1;
}

.compute-arch-panel.theme-home .btn-home-primary {
    background: linear-gradient(135deg, #33c5f3, #00b7f0);
    border-color: #00b7f0;
}

.compute-arch-panel.theme-home .btn-home-primary:hover {
    background: #0099cc;
}

.metric-query-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin: 20px 0 16px;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
}

.compute-arch-panel.theme-home .metric-query-bar {
    border-top-color: #b3e7f8;
}

.metric-list-title {
    margin: 0 0 12px;
    font-size: 15px;
    color: #374151;
}

@media (max-width: 900px) {
    .compute-tabs,
    .compute-stat-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .compute-tabs,
    .compute-stat-cards {
        grid-template-columns: 1fr;
    }
}

/* —— 新疆区服选择（网游式，精简） —— */
.zone-pick {
    margin-bottom: 20px;
}

.zone-region-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.zone-region-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.zone-region-chip {
    appearance: none;
    border: 1px solid #eef0f4;
    background: #fff;
    color: #111827;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transform: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.zone-region-chip:hover {
    border-color: #9adcf5;
    background: #fafdfe;
}

.zone-region-chip.active {
    border-color: #00b7f0;
    background: #e8f8fd;
    color: #0086b3;
}

.zone-region-chip:disabled,
.zone-region-chip.is-soon {
    opacity: 0.55;
    cursor: not-allowed;
}

.zone-server-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zone-server-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    border: 1px solid #eef0f4;
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
    transform: none !important;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.zone-server-card:hover:not(:disabled) {
    border-color: #9adcf5;
    background: #fafdfe;
}

.zone-server-card.active {
    border-color: #00b7f0;
    background: #e8f8fd;
}

.zone-server-card:disabled,
.zone-server-card.is-soon {
    opacity: 0.62;
    cursor: not-allowed;
}

.zone-server-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.zone-server-main strong {
    font-size: 15px;
    font-weight: 650;
    color: #111827;
    line-height: 1.35;
}

.zone-server-card.active .zone-server-main strong {
    color: #0086b3;
}

.zone-server-main span {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.zone-server-meta {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

.zone-server-card.active .zone-server-meta {
    color: #0099cc;
}

.zone-server-meta em {
    font-style: normal;
    font-variant-numeric: tabular-nums;
    color: inherit;
}

.zone-pick-hint {
    margin-top: 12px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

@media (max-width: 560px) {
    .zone-server-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
