/* ── サイコロエリア全体 ── */
.daneki-dice-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0 12px;
    width: 100%;
}

/* ── ステップドット（進行インジケーター） ── */
.daneki-step-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.daneki-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.3s;
}
.daneki-step-dot.active { background: #c8b89a; }
.daneki-step-dot.done   { background: #999; }

/* ── サイコロ3つの横並び ── */
.daneki-dice-row {
    display: flex;
    gap: 40px;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── 各サイコロのラッパー ── */
.daneki-dice-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.22;
    transition: opacity 0.5s ease;
}
.daneki-dice-wrap.active { opacity: 1; }
.daneki-dice-wrap.done   { opacity: 1; }

/* ── サイコロラベル ── */
.daneki-dice-label {
    font-size: 12px;
    color: #999;
    font-family: serif;
    letter-spacing: 0.05em;
}

/* ── ボタン行 ── */
.daneki-btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── 各ボタン ── */
.daneki-step-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-family: serif;
    background: #fdf8ef;
    color: #444;
    border: 1.5px solid #c8b89a;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background 0.15s, transform 0.1s, opacity 0.2s;
}
.daneki-step-btn:hover   { background: #f5edd8; }
.daneki-step-btn:active  { transform: scale(0.97); }
.daneki-step-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}
/* 現在のステップのボタンを少し目立たせる */
.daneki-step-btn.current {
    font-weight: bold;
    border-color: #a07850;
    color: #333;
}

/* ── 結果表示行 ── */
.daneki-result-row {
    display: flex;
    gap: 28px;
    justify-content: center;
    min-height: 54px;
    flex-wrap: wrap;
}
.daneki-result-item {
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.daneki-result-item.show {
    opacity: 1;
    transform: translateY(0);
}
.daneki-result-value {
    font-size: 22px;
    font-weight: bold;
    font-family: serif;
}
.daneki-result-sub {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
    font-family: serif;
}
