.abyss-floor {
    max-width: 900px;
    margin: auto;
    color: white;
}

/* --- 地脈異常 & 淵月の祝福 デザイン統一 --- */
.abyss-disorder,
.abyss-blessings {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #5752EC;
}

.abyss-disorder h3,
.abyss-blessings h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #5752EC;
    font-size: 1.2em;
}

/* 祝福内の各項目 */
.blessing-item {
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.blessing-item:last-child {
    border-bottom: none;
}

.blessing-name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
    font-size: 1.1em;
}

.blessing-desc {
    font-size: 0.95em;
    line-height: 1.6;
    color: #ccc;
}

/* --- バージョン切り替え & ボタン --- */
.abyss-version {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.version-box {
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
}

#version-name {
    font-size: 24px;
    font-weight: bold;
}

#version-time {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 4px;
}

.floor-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.floor-btn {
    padding: 8px 20px;
    background: #000;
    border: 1px solid #434347;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    transition: all 0.2s ease;
}

.floor-btn:hover {
    border-color: #666;
}


.floor-btn.active {
    background: #5752EC;
    border-color: #5752EC;
}


/* --- 各間（Chamber）のレイアウト --- */
.chamber {
    margin-bottom: 40px;
}

.chamber-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.chamber-halves {
    display: flex;
    gap: 20px;
}

.half {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 6px;
}

/* --- Wave & モンスターレイアウト --- */
.wave {
    display: flex;
    flex-direction: column;
}

.wave-desc {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 6px;
}

.monsters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.monster {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
}

.monster img {
    width: 100px;
    height: 100px;
    display: block;
    margin-bottom: 4px;
}

.monster-num {
    font-size: 14px;
    color: #fff;
    display: block;
}

.monster-hp {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    display: block;
    margin-top: 2px;
}

.chamber-level {
    margin-left: 10px;
    font-size: 14px;
    opacity: 0.7;
}

.monster {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
}

.monster-tooltip {

    display: none; 

    position: fixed; 
    
    background-color: rgba(20, 20, 20, 0.95);
    color: #fff;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 1000;
    
    border: 1px solid #ccc;
    border-radius: 8px;
    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.monster-tooltip.show {
    display: block;
}

.monster img {
    cursor: help;
}