/* ==================== 强度表页面样式 ==================== */

/* 强度表图片容器 */
.strength-image-container {
    background: rgba(40, 35, 30, 0.9);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.strength-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
}

/* 内容块样式 */
.info-block {
    background: rgba(30, 25, 20, 0.6);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 3px solid var(--gold-primary);
}

/* 强度排行图表 */
.tier-chart {
    margin: 2rem 0;
}

.tier-row {
    display: flex;
    align-items: stretch;
    min-height: 120px;
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    margin: 1rem 0;
    background: rgba(30, 25, 20, 0.8);
}

.tier-label {
    width: 120px;
    min-height: 120px;
    font-weight: bold;
    color: var(--gold-primary);
    text-align: center;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.drop-zone {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 120px;
    padding: 1rem;
}

/* 强度等级颜色 - 应用到 tier-label */
#t0 .tier-label {
    background: rgba(180, 0, 0, 0.2);
}

#t1 .tier-label {
    background: rgba(200, 120, 0, 0.2);
}

#t2 .tier-label {
    background: rgba(200, 180, 0, 0.2);
}

#t3 .tier-label {
    background: rgba(0, 100, 0, 0.2);
}

#t4 .tier-label {
    background: rgba(0, 0, 180, 0.2);
}

.hero-pool {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(40, 35, 30, 0.9);
    border-radius: 12px;
    padding: 1rem;
    margin: 2rem 0;
}

.hero-img {
    width: 100px;
    height: 100px;
    margin: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    cursor: move;
}

.tier-row:hover .drop-zone,
.hero-pool:hover {
    background: rgba(50, 45, 40, 0.9);
}

/* 自定义标题样式 */
.custom-title-section {
    margin: 1rem 0;
    text-align: center;
}

#custom-title {
    color: var(--gold-primary);
    margin-top: 0.5rem;
    font-size: 2.5rem;
    font-weight: bold;
}

#custom-title-input {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    border: 1px solid var(--gold-secondary);
    border-radius: 4px;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

#custom-title-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tier-row {
        flex-direction: column;
    }

    .tier-label {
        width: 100%;
        min-height: 60px;
    }

    .hero-img {
        width: 80px;
        height: 80px;
    }

    #custom-title {
        font-size: 1.8rem;
    }
}
