/* 「今夜の寝かしつけ」の流れの見た目（新しい土台で足したもの）。色と形は、今のサイトの部品に合わせてある */

/* トップのいちばん上: 大見出し・はじめるボタン・小さな1行 */
.ob-start { text-align: center; margin: 0 0 2.2em; }
.ob-start-lead { font-size: 18px; line-height: 1.9; letter-spacing: 0.08em; color: #e8e4dc; margin: 0 0 1.4em; }
.ob-start-sub { font-size: 12px; color: #b8b4ac; letter-spacing: 0.1em; margin: 1em 0 0; }

/* 流れの中で使う、丸いボタン */
.ob-flow-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1em 1.2em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #e8e4dc;
    font-family: inherit;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ob-flow-button:hover { background: rgba(255, 255, 255, 0.12); }
.ob-flow-button-main { background: rgba(147, 197, 253, 0.15); border-color: rgba(147, 197, 253, 0.35); font-size: 16px; padding: 1.1em 1.2em; }
.ob-flow-button-main:hover { background: rgba(147, 197, 253, 0.22); }
.ob-flow-row { display: flex; gap: 0.8em; }
.ob-flow-row > * { flex: 1; min-width: 0; }
/* 2つ並べるときは、同じ大きさにそろえる */
.ob-flow-row .ob-flow-button { font-size: 15px; padding: 1em 1.2em; }

/* えらぶ画面 */
.ob-flow-heading { font-size: 18px; font-weight: 400; letter-spacing: 0.15em; text-align: center; color: #e8e4dc; margin: 0 0 1.4em; }
.ob-flow-sound {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin: 0 0 1.4em;
    padding: 0.7em 0.2em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #b8b4ac;
    letter-spacing: 0.05em;
}
.ob-flow-sound.on .ob-flow-sound-text { color: #e8e4dc; }
.ob-flow-chip {
    flex: none;
    padding: 0.45em 1.1em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #e8e4dc;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    cursor: pointer;
}
.ob-flow-chip.active { background: rgba(147, 197, 253, 0.15); border-color: rgba(147, 197, 253, 0.35); }
.ob-flow-choices { margin: 0 0 1.4em; }
.ob-flow-kind { color: #93c5fd; }

/* お話の終わりの「もうひとつ／おしまい」。流れの中にいるときだけ出す */
.ob-flow-end { margin: 2.5em 0 1em; }
.ob-flow-end[hidden] { display: none; }
.ob-flow-note { font-size: 12px; color: #b8b4ac; text-align: center; letter-spacing: 0.08em; margin: 0 0 1em; }
body.ob-flow-on .ob-next-stories,
body.ob-flow-on .ob-story-footer > .ob-story-nav { display: none; }

/* おしまいの画面 */
.ob-flow-finish { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2em; text-align: center; }
.ob-flow-finish-text { font-size: 20px; letter-spacing: 0.18em; color: #b8b4ac; margin: 0; }
.ob-flow-timer { margin-top: 1.5em; }
.ob-flow-timer[hidden] { display: none; }
.ob-flow-timer-text { font-size: 12px; color: #b8b4ac; letter-spacing: 0.08em; margin: 0 0 0.9em; opacity: 0.8; }
.ob-flow-timer-buttons { display: flex; gap: 0.6em; justify-content: center; }
.ob-flow-timer-buttons[hidden] { display: none; }
.ob-flow-back { margin-top: 2em; font-size: 12px; color: #b8b4ac; letter-spacing: 0.08em; text-decoration: underline; text-underline-offset: 4px; }
