/* ============================================
   占卜次数计数器 - 极简克制设计 V2
   ============================================ */

.divination-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    padding: 8px 14px 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0.85;
}

.divination-counter:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

/* 主计数器行 */
.counter-main {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 文本 */
.counter-text {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.55);
}

/* 数字 */
.counter-number {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.counter-max {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* 提示文本 */
.counter-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* 警告状态（剩余1次）*/
.divination-counter.warning {
    border-color: rgba(255, 152, 0, 0.2);
}

.divination-counter.warning .counter-number {
    color: rgba(255, 152, 0, 0.85);
}

.divination-counter.warning .counter-hint {
    color: rgba(255, 152, 0, 0.5);
}

/* 耗尽状态（0次）*/
.divination-counter.depleted {
    border-color: rgba(231, 76, 60, 0.2);
}

.divination-counter.depleted .counter-number {
    color: rgba(231, 76, 60, 0.9);
}

.divination-counter.depleted .counter-hint {
    color: rgba(231, 76, 60, 0.55);
}

/* 响应式 */
@media (max-width: 768px) {
    .divination-counter {
        padding: 6px 12px 5px;
        margin-top: 12px;
        gap: 3px;
    }

    .counter-text {
        font-size: 12px;
    }

    .counter-number {
        font-size: 14px;
    }

    .counter-max {
        font-size: 12px;
    }

    .counter-hint {
        font-size: 10px;
    }
}
