/* --- 共同表格與版面 --- */
.wiki-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.wiki-table th, .wiki-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ddd;
    text-align: center;
    vertical-align: middle;
}

.wiki-table th {
    background: linear-gradient(to bottom, #2b2218, #1a1510);
    color: var(--primary-gold, #fbb750);
    font-weight: bold;
    border-bottom: 2px solid rgba(251, 183, 80, 0.3);
}

/* --- 加速階段 (Step Cards) --- */
.speed-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.speed-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    transition: transform 0.2s, background 0.2s;
}

.speed-step:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

/* 階段顏色線條 */
.step-0 { border-left: 4px solid #777; }
.step-1 { border-left: 4px solid #4caf50; } /* 綠色 */
.step-2 { border-left: 4px solid #2196f3; } /* 藍色 */
.step-3 { border-left: 4px solid #ffc107; background: rgba(255, 193, 7, 0.05); } /* 金色 */

.step-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    text-align: center;
    color: #aaa;
}

.step-info {
    display: flex;
    flex-direction: column;
}

.step-label {
    font-weight: bold;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.step-desc {
    font-size: 0.85rem;
    color: #aaa;
}

/* icon colors */
.text-green { color: #4caf50; }
.text-blue { color: #2196f3; }
.text-gold { color: #ffc107; }

/* --- 圖片響應式 --- */
.img-container {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* --- 變身速率表數值樣式 --- */
.val-empty { color: #555; }
.val-normal { color: #ccc; }
.val-high { color: #4caf50; font-weight: bold; }

.val-max {
    color: #fbb750; /* 金色 */
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(251, 183, 80, 0.3);
}

.highlight-row {
    background: rgba(251, 183, 80, 0.05); /* 匕首那行稍微亮一點 */
}

.note-text {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

.text-right { text-align: right; }

/* RWD */
@media (max-width: 768px) {
    .speed-steps-container {
        grid-template-columns: 1fr; /* 手機版變成直排 */
    }
    .wiki-table th, .wiki-table td {
        padding: 10px 5px;
        font-size: 0.9rem;
    }
}