/*!
 * Ookubo Horoscope All-in-One Calculator — stylesheet
 * Part of the senjutsu.jp / Ookubo Uranai Laboratory project.
 *
 * No third-party CSS is bundled. All rules below are original.
 */

.ookubo-horoscope-aio {
    max-width: 1024px;
    margin: 24px auto;
    padding: 20px;
    border: 1px solid #d0d7de;
    border-radius: 12px;
    background: #fafbfc;
    /* この font-family は装飾ではなく防具。消さない・Noto に変えない。
       body は ookubo-design-base.css で "Noto Sans JP" 先頭のため、この宣言が無いと
       継承でウェブフォントが降りてきて、出生図SVGのテキストにも当たる。
       SVGの座標は固定 x/y だが text-anchor で再配置されるので字幅に依存し、
       強制フォールバック実測では46要素すべてが最大11.7px動いた（2026-09-02）。
       いまのスタックはローカル導入書体のみ＝ネットワーク依存ゼロなので、
       Google Fonts を非同期化してもチャートの描画は一切動かない。
       「ツールも本文と同じ書体に揃えよう」でこの1行が落ちると、そこで初めてFOUTが出る。
       変える・消す場合は、SVG全テキストに font-family:monospace!important を注入して
       getBoundingClientRect が動かないことを実測してから。JS側の書体指定は horoscope-aio.js:4487 の1箇所のみ。
       2026-10-17 書体統一 段階4: 防具は SVG の側へ移した（下の .ookubo-horoscope-aio svg）。表や文はサイトの書体（Noto Sans JP）、
       出生図の SVG は前と同じローカル書体のまま。SVG の字 134 個の位置・幅が前後で同じことを 390／1280 で実測（stage4/A）。 */
    font-family: var(--ff-sans);
    font-size: var(--fs-m);
    line-height: var(--lh-m);
    line-break: strict; overflow-wrap: anywhere; word-break: normal;
    color: #24292f;
}
/* 段階4: 見出しとクイックリンクの最終行が1〜2字になる折り返しを balance でならす（文言は不変） */
.ookubo-horoscope-aio :is(h3,h4), .haio-quick-link { text-wrap: balance; }
/* 出生図の SVG と結果の表の書体（防具）。消さない・Noto に変えない。表は Noto にすると升目の折り返しが変わる（390 で 2→4 行、実測 stage4/A） */
.ookubo-horoscope-aio svg,
.ookubo-horoscope-aio table.haio-table {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Meiryo", sans-serif;
}
/* 見出しの「紺文字＋青い下線」はハイパーリンクの視覚記号そのもので、押せると
   誤解される（デッドクリックの原因）。文字は本文色にし、h3 の下線は無彩色へ。
   h4 の左罫はリンクの記号ではないので装飾として残す。 */
.ookubo-horoscope-aio h3 {
    margin: 0 0 8px 0;
    font-size: var(--fs-l); line-height: var(--lh-l);
    border-bottom: 2px solid #d0d7de;
    padding-bottom: 4px;
    color: #24292f;
}
.ookubo-horoscope-aio h4 {
    margin: 18px 0 8px 0;
    font-size: var(--fs-l); line-height: var(--lh-l);
    color: #24292f;
    border-left: 4px solid #4a6fa5;
    padding-left: 8px;
}
.ookubo-horoscope-aio .haio-note {
    font-size: var(--fs-m);
    color: #444;
    margin: 0 0 16px 0;
}
/* 段階4: design.css の注記 1.7（.entry-content … :is(.haio-note,…)）より後に読むので同じ詳細度で M の 1.8 に */
.entry-content .ookubo-horoscope-aio .haio-note { line-height: var(--lh-m); }

/* Form */
.ookubo-horoscope-aio .haio-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 14px;
    align-items: end;
}
.ookubo-horoscope-aio .haio-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ookubo-horoscope-aio .haio-field label {
    font-size: var(--fs-s);
    font-weight: 700;
    line-height: var(--lh-s);
    color: #24292f;
}
.ookubo-horoscope-aio .haio-field select,
.ookubo-horoscope-aio .haio-field input[type="number"] {
    padding: 5px 8px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fff;
    font-size: var(--fs-m);
    line-height: var(--lh-ui);
    min-height: 32px;
    color: #24292f;
}
.ookubo-horoscope-aio .haio-field.haio-check {
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
/* 「時刻不明」チェックボックス。実測でタップ領域が 60x24px しかなく、
   モバイルの推奨 44x44px に届いていなかった（他のラジオは既に 44px 以上）。
   input の見た目は変えず、ラベル側の当たり判定だけを広げる。 */
.ookubo-horoscope-aio .haio-field.haio-check label {
    font-size: var(--fs-m);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
    box-sizing: border-box;
}
.ookubo-horoscope-aio .haio-field.haio-check input[type="checkbox"] {
    min-width: 22px;
    min-height: 22px;
}
.ookubo-horoscope-aio button.haio-calc {
    padding: 8px 22px;
    background: #4a6fa5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: var(--fs-m);
    line-height: var(--lh-ui);
    cursor: pointer;
    font-weight: 700;
}
.ookubo-horoscope-aio button.haio-calc:hover { background: #3d5d8a; }

/* Result panels */
.ookubo-horoscope-aio .haio-result {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ookubo-horoscope-aio .haio-panel {
    background: #fff;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 14px 16px;
}
.ookubo-horoscope-aio .haio-panel.haio-panel-western { border-color: #4a6fa5; }
.ookubo-horoscope-aio .haio-panel.haio-panel-vedic   { border-color: #a05a6e; background: #fff8f9; }
.ookubo-horoscope-aio .haio-panel.haio-panel-sizhu   { border-color: #5a8a5a; background: #f8fbf8; }
.ookubo-horoscope-aio .haio-panel-western h4 { color: #1e3a5f; border-left-color: #4a6fa5; }
.ookubo-horoscope-aio .haio-panel-vedic h4   { color: #6a2a3f; border-left-color: #a05a6e; }
.ookubo-horoscope-aio .haio-panel-sizhu h4   { color: #2a5a2a; border-left-color: #5a8a5a; }

.ookubo-horoscope-aio .haio-summary {
    font-size: var(--fs-m);
    color: #444;
    margin-bottom: 8px;
}
.ookubo-horoscope-aio .haio-summary strong {
    color: #24292f;
}

/* Tables */
.ookubo-horoscope-aio table.haio-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92em;
    margin: 6px 0;
    table-layout: auto;
    line-height: 1.6; /* 段階4: 外枠の行間 1.8 を継がない（表は前の値のまま） */
}
.ookubo-horoscope-aio table.haio-table th,
.ookubo-horoscope-aio table.haio-table td {
    border: 1px solid #d0d7de;
    padding: 5px 8px;
    text-align: center;
    vertical-align: middle;
}
.ookubo-horoscope-aio table.haio-table th {
    background: #eef3f8;
    font-weight: 600; /* 段階4: 盤面（表）なので 600 のまま。防具の書体には 600 の字面があり 700 にすると列幅が動く */
    font-size: 0.88em;
}
.ookubo-horoscope-aio .haio-scroll { overflow-x: auto; }

/* Status messages */
.ookubo-horoscope-aio .haio-stub {
    padding: 12px 14px;
    background: #fff8e1;
    border-radius: 8px;
    border: 1px solid #e0c878;
    font-size: var(--fs-m);
    color: #7a5a00;
}
.ookubo-horoscope-aio .haio-error {
    padding: 12px 14px;
    background: #ffe5e5;
    border-radius: 8px;
    border: 1px solid #d09090;
    font-size: var(--fs-m);
    color: #7a2a2a;
}

/* Privacy / credits */
.ookubo-horoscope-aio .haio-privacy {
    font-size: var(--fs-m);
    line-height: var(--lh-m);
    color: #6a7080;
    margin-top: 14px;
    padding: 6px 10px;
    background: #f3f5f7;
    border-radius: 4px;
    border-left: 3px solid #8a9aae;
}
.ookubo-horoscope-aio .haio-credits {
    margin-top: 18px;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #d0d7de;
    font-size: var(--fs-m);
    color: #444;
}
.ookubo-horoscope-aio .haio-credits h4 {
    margin-top: 0;
    border-left-color: #8a9aae;
    color: #444;
}
.ookubo-horoscope-aio .haio-credits ul {
    margin: 6px 0 6px 1.2em;
    padding: 0;
}
.ookubo-horoscope-aio .haio-credits li {
    margin-bottom: 6px;
    line-height: var(--lh-m);
}
.ookubo-horoscope-aio .haio-credits code {
    background: #eef3f8;
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 1em;
}
.ookubo-horoscope-aio .haio-caution {
    /* v0.21.45: プライバシー枠に統合したためインライン表示。独立ボックスだった頃の
       margin-top は不要（枠が1つになり、2箱に分かれて見える問題を解消） */
    display: inline-block;
    font-size: var(--fs-m);
    margin-top: 4px;
    color: #6a4a1a;
}

/* Phase 5: SVG charts */
.ookubo-horoscope-aio .haio-svg-wrap {
    text-align: center;
    margin: 12px 0;
    overflow: visible;     /* SVG の viewBox 外余白（AC/MC ラベル等）が親で切れないよう保護 */
}
.ookubo-horoscope-aio .haio-svg-western,
.ookubo-horoscope-aio .haio-svg-southindian {
    max-width: 100%;
    height: auto;
    display: inline-block;
    background: #fff;
    overflow: visible;
}
.ookubo-horoscope-aio .haio-vedic-charts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: flex-start;
    margin: 12px 0;
}
.ookubo-horoscope-aio .haio-vedic-charts .haio-svg-wrap {
    flex: 0 1 auto;
    margin: 0;
}
/* Phase 7c: 品位欄の小字（Mrityubhag/Gandanta）と四柱推命の天干/地支太字 */
.ookubo-horoscope-aio .haio-dignity-small {
    font-size: 0.78em;
    color: #a05a3a;
    font-weight: 600; /* 段階4: 表の中なので 600 のまま */
    margin-left: 2px;
}
.ookubo-horoscope-aio table.haio-table td.haio-sizhu-stem,
.ookubo-horoscope-aio table.haio-table td.haio-sizhu-branch {
    font-weight: 700;
    font-size: 1.18em;
}

/* Phase 7: ヨーガ表 — ツールチップが切れないよう overflow visible に保つ。
   3 列構成（ヨーガ名/関連天体/性質）で縦書きを許容しつつ、テーブルそのものは
   折り返して縦長になっても OK。テーブル幅が画面幅に収まらない場合は table
   セル内で折り返して対応する（haio-scroll の clip 効果を避けるため）。 */
.ookubo-horoscope-aio .haio-yoga-table-wrap {
    overflow: visible;
    margin: 8px 0;
}
.ookubo-horoscope-aio .haio-yoga-table-wrap table.haio-table {
    table-layout: auto;
}
.ookubo-horoscope-aio .haio-yoga-table-wrap table.haio-table td:first-child,
.ookubo-horoscope-aio .haio-yoga-table-wrap table.haio-table th:first-child {
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: normal;
}

/* Phase 7: ヨーガツールチップ */
.ookubo-horoscope-aio .haio-yoga-trigger {
    position: relative;
    cursor: pointer;
    color: #6a2a3f;
    border-bottom: 1px dotted #a05a6e;
    padding: 1px 2px;
    user-select: none;
    -webkit-tap-highlight-color: rgba(160, 90, 110, 0.15);
}
.ookubo-horoscope-aio .haio-yoga-trigger:hover,
.ookubo-horoscope-aio .haio-yoga-trigger:focus,
.ookubo-horoscope-aio .haio-yoga-trigger.haio-active {
    background: #fff8f9;
    outline: none;
}
.ookubo-horoscope-aio .haio-yoga-icon {
    color: #a05a6e;
    font-size: 0.85em;
    margin-left: 2px;
    opacity: 0.8;
}
.ookubo-horoscope-aio .haio-yoga-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid #a05a6e;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    width: 320px;
    max-width: 90vw;
    font-size: var(--fs-m);
    line-height: var(--lh-m);
    color: #333;
    font-weight: 400;
    white-space: normal;
    margin-top: 4px;
    text-align: left;
    cursor: auto;
}
.ookubo-horoscope-aio .haio-yoga-trigger:hover .haio-yoga-tooltip,
.ookubo-horoscope-aio .haio-yoga-trigger:focus .haio-yoga-tooltip,
.ookubo-horoscope-aio .haio-yoga-trigger.haio-active .haio-yoga-tooltip {
    display: block;
}
.ookubo-horoscope-aio .haio-yoga-good {
    color: #2a6a3f;
    font-weight: 700;
}
.ookubo-horoscope-aio .haio-yoga-bad {
    color: #a05a3a;
    font-weight: 700;
}
@media (max-width: 480px) {
    .ookubo-horoscope-aio .haio-yoga-tooltip {
        width: 84vw;
    }
}

/* Phase 14a: 特殊配置のアスペクト (Aspect Patterns)
   既存の haio-yoga-* と同じ体裁で実装。クラス名は haio-pattern-* で独立し、
   将来的にスタイル分岐できるようにする (色のみ西洋占星術用に調整)。 */
.ookubo-horoscope-aio .haio-pattern-table-wrap {
    overflow: visible;
    margin: 8px 0;
}
.ookubo-horoscope-aio .haio-pattern-table-wrap table.haio-table {
    table-layout: auto;
}
.ookubo-horoscope-aio .haio-pattern-table-wrap table.haio-table td:first-child,
.ookubo-horoscope-aio .haio-pattern-table-wrap table.haio-table th:first-child {
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: normal;
}
.ookubo-horoscope-aio .haio-pattern-trigger {
    position: relative;
    cursor: pointer;
    color: #4a3a8a;
    border-bottom: 1px dotted #6a5aa0;
    padding: 1px 2px;
    user-select: none;
    -webkit-tap-highlight-color: rgba(106, 90, 160, 0.15);
}
.ookubo-horoscope-aio .haio-pattern-trigger:hover,
.ookubo-horoscope-aio .haio-pattern-trigger:focus,
.ookubo-horoscope-aio .haio-pattern-trigger.haio-active {
    background: #f8f6fc;
    outline: none;
}
.ookubo-horoscope-aio .haio-pattern-icon {
    color: #6a5aa0;
    font-size: 0.85em;
    margin-left: 2px;
    opacity: 0.8;
}
.ookubo-horoscope-aio .haio-pattern-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid #6a5aa0;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    width: 320px;
    max-width: 90vw;
    font-size: var(--fs-m);
    line-height: var(--lh-m);
    color: #333;
    font-weight: 400;
    white-space: normal;
    margin-top: 4px;
    text-align: left;
    cursor: auto;
}
.ookubo-horoscope-aio .haio-pattern-trigger:hover .haio-pattern-tooltip,
.ookubo-horoscope-aio .haio-pattern-trigger:focus .haio-pattern-tooltip,
.ookubo-horoscope-aio .haio-pattern-trigger.haio-active .haio-pattern-tooltip {
    display: block;
}
/* 性質ラベルの色分け 4 種 (調和・緊張・運命・集中) */
.ookubo-horoscope-aio .haio-pattern-harmony {
    color: #2a6a3f;
    font-weight: 700;
}
.ookubo-horoscope-aio .haio-pattern-tension {
    color: #a05a3a;
    font-weight: 700;
}
/* 「性質」列は、隣のセルがクリック可（.haio-pattern-trigger = #4a3a8a）なので、
   紫や青で塗ると押せるセルと見分けが付かない。文字色は本文色に戻し、太字だけ残す。
   調和（緑）／緊張（茶）は吉凶の意味を持つ配色なのでそのまま。 */
.ookubo-horoscope-aio .haio-pattern-fate {
    color: #24292f;
    font-weight: 700;
}
.ookubo-horoscope-aio .haio-pattern-concentration {
    color: #24292f;
    font-weight: 700;
}
@media (max-width: 480px) {
    .ookubo-horoscope-aio .haio-pattern-tooltip {
        width: 84vw;
    }
}

.ookubo-horoscope-aio button.haio-aspect-toggle {
    padding: 6px 14px;
    background: #4a6fa5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: var(--fs-m);
    line-height: var(--lh-ui);
    cursor: pointer;
    margin: 4px 0 12px 0;
    font-weight: 700;
}
.ookubo-horoscope-aio button.haio-aspect-toggle:hover { background: #3d5d8a; }

/* Phase 11: 緯度経度入力（世界対応） */
.ookubo-horoscope-aio .haio-place-mode-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}
.ookubo-horoscope-aio .haio-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-m);
    cursor: pointer;
    font-weight: 700;
}
.ookubo-horoscope-aio .haio-radio input[type="radio"] {
    margin: 0;
}
.ookubo-horoscope-aio .haio-place-pref-fields,
.ookubo-horoscope-aio .haio-place-latlng-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    flex-basis: 100%;
    align-items: end;
}
.ookubo-horoscope-aio .haio-field-hint {
    font-weight: 400;
    color: #6a7080;
    font-size: var(--fs-s);
    margin-left: 4px;
}
.ookubo-horoscope-aio .haio-in-place-name {
    padding: 5px 8px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fff;
    font-size: var(--fs-m);
    line-height: var(--lh-ui);
    min-height: 32px;
    color: #24292f;
    width: 100%;
    box-sizing: border-box;
}
.ookubo-horoscope-aio .haio-latlng-note {
    font-size: var(--fs-s);
    line-height: var(--lh-s);
    color: #6a4a1a;
    margin: 4px 0 0 0;
    padding: 6px 10px;
    background: #fff8e1;
    border-left: 3px solid #e0c878;
    border-radius: 4px;
}
.ookubo-horoscope-aio .haio-overseas-banner {
    background: #fff5e7;
    border: 1px solid #d8a878;
    border-left: 4px solid #c87830;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0 0 12px 0;
    font-size: var(--fs-m);
    color: #6a4010;
    line-height: var(--lh-m);
}
.ookubo-horoscope-aio .haio-overseas-banner strong {
    color: #6a3010;
    font-size: var(--fs-m);
    display: block;
    margin-bottom: 4px;
}
.ookubo-horoscope-aio .haio-overseas-banner p {
    margin: 0;
}

/* Phase 10: 結果 JSON ダウンロードセクション */
.ookubo-horoscope-aio .haio-download-section {
    margin-top: 18px;
    padding: 14px 16px;
    background: #f3f7fb;
    border: 1px solid #c8d4e3;
    border-radius: 8px;
}
.ookubo-horoscope-aio .haio-download-section h4 {
    margin: 0 0 10px 0;
    font-size: var(--fs-l); line-height: var(--lh-l);
    color: #1e3a5f;
    border-left: 4px solid #4a6fa5;
    padding-left: 8px;
}
.ookubo-horoscope-aio button.haio-download-btn {
    padding: 10px 22px;
    background: #4a6fa5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: var(--fs-m);
    font-weight: 700;
    line-height: var(--lh-ui);
    cursor: pointer;
    display: inline-block;
    margin: 4px 0 12px 0;
}
/* v0.21.48: DL とコピーを同じ行に。タップ領域は両方 44px 以上。
   copysrc は execCommand フォールバック用の実体（display:none だと選択できず死ぶので画面外へ） */
.ookubo-horoscope-aio .haio-download-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 4px 0 12px 0;
}
.ookubo-horoscope-aio .haio-download-row button.haio-download-btn { margin: 0; min-height: 44px; }
.ookubo-horoscope-aio button.haio-json-copybtn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 18px;
    background: #fff;
    color: #2f5788;
    border: 2px solid #4a6fa5;
    border-radius: 8px;
    font-size: var(--fs-m);
    font-weight: 700;
    line-height: var(--lh-ui);
    cursor: pointer;
}
.ookubo-horoscope-aio button.haio-json-copybtn:hover { background: #eef3fa; }
.ookubo-horoscope-aio button.haio-json-copybtn:focus { outline: 2px solid #4a6fa5; outline-offset: 2px; }
.ookubo-horoscope-aio .haio-json-copysrc { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }
/* 2026-09-08: DL/コピー行の直下の用途注記。14px未満にしない・左揃え */
.ookubo-horoscope-aio .haio-json-copynote { margin: -4px 0 12px; font-size: var(--fs-m); line-height: var(--lh-m); color: #4a5060; text-align: left; }
.ookubo-horoscope-aio button.haio-download-btn:hover { background: #3d5d8a; }
.ookubo-horoscope-aio button.haio-download-btn:focus {
    outline: 2px solid #4a6fa5;
    outline-offset: 2px;
}
.ookubo-horoscope-aio .haio-download-notice {
    font-size: var(--fs-s);
    color: #4a5060;
    line-height: var(--lh-s);
}
.ookubo-horoscope-aio .haio-download-points {
    margin: 0;
    padding-left: 1.2em;
}
.ookubo-horoscope-aio .haio-download-points li {
    margin-bottom: 4px;
}

/* Phase 13: /horoscope/star-meanings/ ガイドへの誘導 CTA (結果末尾) */
.ookubo-horoscope-aio .haio-star-meanings-cta {
    margin-top: 18px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f3f0fa 0%, #e8eaf3 100%);
    border: 1px solid #c8cce3;
    border-left: 4px solid #6a4a8a;
    border-radius: 8px;
}
.ookubo-horoscope-aio .haio-star-meanings-cta h4 {
    margin: 0 0 8px 0;
    color: #4a2a6a;
    font-size: var(--fs-l); line-height: var(--lh-l);
    border-left: none;
    padding-left: 0;
}
.ookubo-horoscope-aio .haio-star-meanings-cta-text {
    margin: 0 0 10px 0;
    font-size: var(--fs-m);
    color: #4a4060;
    line-height: var(--lh-m);
}
.ookubo-horoscope-aio .haio-star-meanings-cta-link {
    display: inline-block;
    padding: 8px 18px;
    background: #6a4a8a;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: var(--fs-m);
    line-height: var(--lh-ui);
    text-decoration: none;
}
.ookubo-horoscope-aio .haio-star-meanings-cta-link:hover {
    background: #5a3a7a;
    color: #fff !important;
}

/* Phase 12: iOS Safari 向け注記 (ダウンロード非対応の案内) */
.ookubo-horoscope-aio .haio-download-safari-note {
    font-size: var(--fs-m);
    color: #6a4010;
    line-height: var(--lh-m);
    margin: 6px 0 10px 0;
    padding: 8px 12px;
    background: #fff5e7;
    border-left: 4px solid #c87830;
    border-radius: 4px;
}
.ookubo-horoscope-aio .haio-download-safari-note strong {
    color: #6a3010;
    display: inline-block;
    margin-right: 2px;
}

@media (max-width: 480px) {
    /* 2026-09-15（田中さん指摘「本体がボックスの入れ子で窮屈」）: スマホでは外枠（灰色の箱）を
       消して、色付きの結果パネルだけを箱にする。375px で図表の幅 280px→310px。
       枠・余白・背景だけの変更で、機能・JSON・文言は不変。 */
    .ookubo-horoscope-aio { padding: 0; border: 0; border-radius: 0; background: transparent; }
    .ookubo-horoscope-aio table.haio-table { font-size: 0.85em; }
    .ookubo-horoscope-aio table.haio-table th,
    .ookubo-horoscope-aio table.haio-table td { padding: 4px 5px; }
    /* SVG 図表: 親 (.haio-panel) のコンテンツ幅にフィットさせる。
       v0.12.4 で 95vw を使ったところ、ビューポート全幅基準のためパネル左右
       パディング分を考慮できず右にはみ出した。100% 基準に変更し、
       max-width で上限を設けるだけにする。height:auto と viewBox に任せて
       アスペクト比は SVG 側で維持される。 */
    .ookubo-horoscope-aio .haio-svg-southindian {
        width: 100%;
        max-width: 380px;
        height: auto;
    }
    .ookubo-horoscope-aio .haio-svg-western {
        width: 100%;
        max-width: 420px;
        height: auto;
    }
}

/* ============ クイックアクセス (作成ボタン直下: JSON DL + プロンプト集リンク) ============ */
/* 重い装飾を避け、シンプルなテキストリンクで控えめに配置 */
.haio-quick-access {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45em 1.3em;
    align-items: center;
    margin: 0.5em 0 1.2em;
    padding: 0.7em 1em;
    background: #f7f3fb;
    border: 1px solid #e3d6f0;
    border-radius: 8px;
}
/* クイックリンク2本はピル型（2026-08-31 田中さん指示）。
   下線リンクだと「読むもの」に見えて、押す対象だと分かりにくかった。
   1本目（JSONダウンロード）が主動線なので塗り、2本目は枠線で従にする。
   タップ領域は縦44px以上を確保する（min-height）。文字は縮めない。 */
.haio-quick-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 20px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #7a5a9f 0%, #8568a8 100%);
    border: 1px solid transparent;
    text-decoration: none;
    font-size: var(--fs-m);
    font-weight: 700;
    line-height: var(--lh-ui);
    box-shadow: 0 1px 3px rgba(61, 41, 82, 0.18);
    transition: filter 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.haio-quick-link:hover,
.haio-quick-link:focus-visible {
    filter: brightness(1.07);
    box-shadow: 0 2px 7px rgba(61, 41, 82, 0.26);
    color: #fff;
}
.haio-quick-link:focus-visible {
    outline: 2px solid #4a2a6f;
    outline-offset: 2px;
}
/* 2本目以降は従の見た目（枠線のみ）。主動線はJSONダウンロードの1本だけにする。 */
.haio-quick-link ~ .haio-quick-link {
    background: #fff;
    color: #6b4a86;
    border-color: #c9a9e0;
    box-shadow: none;
}
.haio-quick-link ~ .haio-quick-link:hover,
.haio-quick-link ~ .haio-quick-link:focus-visible {
    background: #f6f2fb;
    color: #4a2a6f;
    filter: none;
    box-shadow: 0 1px 3px rgba(61, 41, 82, 0.14);
}
@media (prefers-reduced-motion: reduce) {
    .haio-quick-link { transition: none; }
}
/* 2026-09-08: この行にもコピーを併設した（田中さん指摘）。button 要素なので、
   ピルの見た目を a と揃えるために既定の外観だけ打ち消す。文字は縮めない。 */
.ookubo-horoscope-aio button.haio-quick-copy {
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
/* 注記はピル行の次の行に全幅で置く（flex の子なので width:100% で改行させる）。 */
.ookubo-horoscope-aio .haio-quick-access .haio-json-copynote {
    width: 100%;
    margin: 2px 0 0;
}
/* 下部ダウンロードボタン直下: プロンプト集リンク (DLボタンと同じボタン形状に統一) */
.haio-download-prompt-link-wrap {
    margin: 0 0 12px 0;
    text-align: left;
}
.ookubo-horoscope-aio a.haio-download-prompt-link {
    padding: 10px 22px;
    background: #4a6fa5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: var(--fs-m);
    font-weight: 700;
    line-height: var(--lh-ui);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: background 0.12s ease;
}
.ookubo-horoscope-aio a.haio-download-prompt-link:hover {
    background: #3d5d8a;
    color: #fff;
}
.ookubo-horoscope-aio a.haio-download-prompt-link:focus {
    outline: 2px solid #4a6fa5;
    outline-offset: 2px;
}

/* ============ JSON保存成功パネル (v0.21.25: 非iOSのみ・保存直後に表示) ============ */
.haio-save-success {
    margin: 0.6em 0 1.2em;
    padding: 12px 16px;
    background: #eefaf1;
    border: 1px solid #bfe3c8;
    border-left: 4px solid #2e8b57;
    border-radius: 8px;
    font-size: var(--fs-m);
    line-height: var(--lh-m);
    color: #1f4630;
}
.haio-save-success-head {
    font-size: var(--fs-m);
    margin-bottom: 2px;
}
.haio-save-success-file {
    font-family: var(--ff-mono);
    font-size: 1em;
    word-break: break-all;
    background: #fff;
    border: 1px solid #d5e8db;
    border-radius: 4px;
    padding: 0 4px;
}
.haio-save-success-next {
    margin-top: 4px;
}
.ookubo-horoscope-aio a.haio-save-success-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 22px;
    background: #2e8b57;
    color: #fff;
    border-radius: 8px;
    font-size: var(--fs-m);
    font-weight: 700;
    line-height: var(--lh-ui);
    text-decoration: none;
    transition: background 0.12s ease;
}
.ookubo-horoscope-aio a.haio-save-success-cta:hover {
    background: #246e45;
    color: #fff;
}
.ookubo-horoscope-aio a.haio-save-success-cta:focus {
    outline: 2px solid #2e8b57;
    outline-offset: 2px;
}
/* 再保存時にもう一度気づかせる短いハイライト */
@keyframes haio-save-flash {
    0%   { box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.45); }
    100% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0); }
}
.haio-save-success-flash {
    animation: haio-save-flash 0.9s ease-out 1;
}
@media (prefers-reduced-motion: reduce) {
    .haio-save-success-flash {
        animation: none;
    }
}
/* 保存成功パネル内: 会員差分の1行 (v0.21.37: テキスト1行+リンクのみ) */
.haio-save-success-mond {
    margin: 6px 0 0 0;
    font-size: var(--fs-m);
}
.ookubo-horoscope-aio a.haio-save-success-mond-link {
    color: #7a5a9f;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ookubo-horoscope-aio a.haio-save-success-mond-link:hover {
    color: #5b3d8a;
}

/* ============ 結果内ポインタ (v0.21.37: JSON保存ボタン直近の1行 → #ai-kantei) ============ */
.haio-result-pointer {
    margin: 2px 0 10px 0;
    font-size: var(--fs-m);
}
.ookubo-horoscope-aio a.haio-result-pointer-link {
    color: #5b3d8a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ookubo-horoscope-aio a.haio-result-pointer-link:hover {
    color: #7a5a9f;
}

/* 緯度経度モード: 座標検索サイトへの誘導リンク */
.ookubo-horoscope-aio .haio-coord-lookup {
    margin: 0 0 6px 0;
    font-size: var(--fs-m);
}
.ookubo-horoscope-aio .haio-coord-lookup a {
    color: #4a6fa5;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 111, 165, 0.4);
}
.ookubo-horoscope-aio .haio-coord-lookup a:hover {
    color: #3d5d8a;
    border-bottom-color: #3d5d8a;
}

/* ------------------------------------------------------------------
   クイックアクセス行の「厳選プロンプト」リスト (v0.21.47 / 2026-08-30)
   flex-wrap の横並びは、行頭に記号が無いため折り返した項目同士が繋がって
   読めなかった（スマホで特に顕著・田中さん指摘）。ul/li の縦並びに変更する。
   マーカーは絵文字ではなくリストマーカーを使う。
   注記は 14px 相当を下限にする（視認性優先の全体方針）。
   ------------------------------------------------------------------ */
.haio-picks-list {
    margin: 0;
    padding: 0 0 0 1.15em;
    list-style: disc;
}
.haio-picks-list li {
    margin: 0;
    padding: 0;
    font-size: var(--fs-m);
    line-height: var(--lh-m);
    color: #7a5a9f;
    break-inside: avoid;
}
.haio-picks-list li.is-member {
    color: #a61e4d;
}
/* リンクを行いっぱいに広げる（2026-09-08）。
   inline のままだと、押せるのは文字グリフの上だけだった。行の幅221pxに対しリンクの実体は
   最短93.8px＝右側126.9px（行の57%）が「色の付いた行に見えるのに押せない」領域。
   1280px（columns:2・列幅306px）では最悪212pxが不感帯。
   実測（本番 v0.21.47・elementFromPoint の格子サンプル）でリスト面積の不感率は
   375px:53.7% / 1280px:65.1%。Clarity のデッドクリックが 6.4%→12.0% に増えた時期
   （8/30 このリスト新設）と一致する。
   display:block で 375px:16.6% / 1280px:20.1% まで下がることを実測（padding 3px時）。
   padding は 8px を採用＝リンクの高さ 21px→43.4px でタップ標的44pxにほぼ届く
   （3px:33.4px / 6px:39.4px も実測。不感率は 16.6/16.1/15.9% とほぼ変わらないので、
   差が出るのはタップ標的の高さ）。代償はリスト全体が 472px→664px（1280px幅では238→334px）。
   残る不感はリストマーカー（ul の padding-left 側）と行間で、面積が小さいので許容する。
   2段組（min-width:700px の columns:2）でも 6行/6行の均等・列幅いっぱいが当たり判定に
   なることを実測済み（break-inside:avoid との衝突なし）。文字サイズは変えない。 */
/* 2026-09-08 追記（田中さん指摘「リストタグの行間が開きすぎ」）: padding 8px + li の margin 3.1px で
   項目間の空きが 19.1px あり、折り返し行の内側（約10px）と揃わずリズムが崩れていた（本番実測）。
   li の margin を 0、padding を 4px にして項目間 8px に詰める。実測: リンク高 43.4px→35.4px、
   リスト全体 390px幅 636.8→506.4px／1280px幅 333.6→266.9px。文字サイズ・行間（15.64px/1.75）は変えない。
   display:block による横方向の当たり判定（デッドクリック対策の本体）はそのまま。 */
.haio-picks-list li > a {
    display: block;
    padding: 4px 0;
}
/* v0.21.62 (2026-09-30): ピル型（田中さん指示）。1件ごとに枠線と角丸を持つので、横並びでも
   項目の境界が見える（0.21.47 で縦並びにした理由＝折り返し項目が繋がる、は起きない）。
   文字は 0.92em（約15.6px）のまま小さくしない。タップ標的は min-height 40px。
   無料＝紫の枠と薄紫の地、会員限定（li.is-member）＝赤紫の枠と薄桃の地。🔒 は文字側で付ける。
   縦リスト 13件 810px（390px幅・本番実測）を、ピルで約半分に詰めるのが目的。
   段組（columns:2）はピルと両立しないので外す。 */
.haio-picks-list.haio-picks-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}
.haio-picks-list.haio-picks-pills li {
    margin: 0;
    max-width: 100%;
    line-height: var(--lh-ui);
}
.haio-picks-list.haio-picks-pills li > a {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    max-width: 100%;
    padding: 7px 14px;
    font-size: var(--fs-s);
    border: 1.5px solid #7a5a9f;
    border-radius: 999px;
    background: #f8f7fc;
    color: #4a3a8a;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .01em;
    overflow-wrap: anywhere;
}
.haio-picks-list.haio-picks-pills li.is-member > a {
    border-color: #a61e4d;
    background: #fdf2f6;
    color: #a61e4d;
}
.haio-picks-list.haio-picks-pills li > a:hover,
.haio-picks-list.haio-picks-pills li > a:focus-visible {
    background: #7a5a9f;
    color: #fff;
}
.haio-picks-list.haio-picks-pills li.is-member > a:hover,
.haio-picks-list.haio-picks-pills li.is-member > a:focus-visible {
    background: #a61e4d;
    color: #fff;
}
.haio-picks-note {
    font-size: var(--fs-m);
    line-height: var(--lh-m);
    color: #6a6276;
    margin: 8px 0 0;
}
/* 広い画面だけ2段組にして縦の伸びを抑える。狭い画面は1列のまま。
   v0.21.62: ピル型（.haio-picks-pills）には適用しない。 */
@media (min-width: 700px) {
    .haio-picks-list:not(.haio-picks-pills) {
        columns: 2;
        column-gap: 2em;
    }
}

/* v0.21.61 (2026-09-29): 「計算中」表示。スピナーは transform だけを動かすのでコンポジタ側で回り、
   計算でメインスレッドが塞がっている間も止まらない。文字サイズは本文と同じ 1em。 */
.ookubo-horoscope-aio .haio-calculating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    margin-top: 8px;
    background: #eef3f8;
    border: 1px solid #cdd9e5;
    border-radius: 8px;
    color: #33414f;
    font-size: var(--fs-m);
    text-align: center;
}
.ookubo-horoscope-aio .haio-calculating::before {
    content: "";
    flex: none;
    width: 22px;
    height: 22px;
    border: 3px solid #cdd9e5;
    border-top-color: #4a6fa5;
    border-radius: 50%;
    animation: haio-spin 0.9s linear infinite;
    will-change: transform;
}
@keyframes haio-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .ookubo-horoscope-aio .haio-calculating::before { animation: none; }
}

/* v0.21.61: 四柱推命パネルは画面外にある間レイアウト・描画を省く（INP 対策）。
   西洋・インドのパネルには当てない: content-visibility が伴う paint containment で、
   吹き出し（.haio-pattern-tooltip / .haio-yoga-tooltip）がパネル右端で切れる
   （work/access_20260929/inp_prototype_tooltip.py で 23 個中 19 個が切れた）。
   全パネルに当てると結果DOMのレイアウト 70ms → 1ms になるので、吹き出しの位置補正を入れた後の第2段で広げる。 */
.ookubo-horoscope-aio .haio-result > .haio-panel-sizhu {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}
/* （2026-10-22）: ホロスコープの送客帯（通常モードの .haio-download-section）の装いを断易と同じ骨組みに。和紙の地、見出しは和紙色の単色の塗りと瑠璃色の二重線、ボタンは役割ごとの色（田中さん承認 10/22） */
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section{background:#f7f3ea url(img/washi.webp) repeat;background-size:256px;border:1px solid #d9cfbd;border-radius:12px;box-shadow:0 2px 6px rgba(61,41,82,.16);padding:0 16px 16px;overflow:hidden}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section h4{display:block;margin:0 -16px 16px;padding:16px;min-height:0;box-sizing:border-box;background:#f3ecdc;border:0;border-bottom:3px double #1e50a2;font-family:'Shippori Mincho B1',serif;font-weight:800;letter-spacing:0;color:#1b2230}
/* 道具（JSON 保存・コピー）＝#3d5a80 の灰青、白字、角丸 8px */
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section button.haio-download-btn{background:#3d5a80;color:#fff;border:2px solid #3d5a80;border-radius:8px}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section button.haio-json-copybtn{background:#3d5a80;color:#fff;border:2px solid #3d5a80;border-radius:8px}
/* 主（プロンプト集へ）＝サイト既定の深紅 */
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section a.haio-download-prompt-link{background:linear-gradient(135deg,#8c3f52,#965565);color:#fff;border-radius:8px;box-shadow:0 2px 6px rgba(140,63,82,.3)}
/* AI のコツの注記（インラインの水色箱）を白地に。左の線は差し色 */
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section .haio-download-ai-note{background:#fff!important;border:1px solid #d9cfbd!important;border-left:4px solid #1e50a2!important;border-radius:8px!important;color:#1b2230!important}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section .haio-json-copynote,
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section .haio-download-notice{color:#3d3a33}
/* 地の文のリンク */
/* ボタンの字を語の途中で折らない（390 で「まとめ／て」「コ／ピペ」と割れていた） */
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section a:not([class]),
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section a.haio-download-faq-link,
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section a.haio-download-howto-link{color:#1a4d8f}
/* 折り返しと行間（10/21 田中さん指摘）: 見出しは文節で折り、行の長さをそろえる。ボタンの並びは縦横 12px。
   2行に折れるボタンは中央寄せ・行間 1.5。スマホの主ボタンは入会ボタンと同じ全幅・角丸 8px。見出しの中の札は次の行に 12px あけて置く */
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section :is(h3,h4,h5,[class*=title],[class*=ttl],.ceph-summary){word-break:auto-phrase;text-wrap:pretty}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section .haio-pill-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;line-height:1.5}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section .haio-pill-row>a{margin:0!important}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section :is(.ckx-ee60c0cd,a[class*=btn],button){line-height:1.5;text-align:center;word-break:auto-phrase;text-wrap:balance}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section :is([class*=btns],[class*=buttons],[class*=-row],.rrow,.ceph-dlrow,.tht-prompt-pills){gap:12px}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section :is([class*=btns],[class*=buttons],[class*=-row],.rrow,.ceph-dlrow,.tht-prompt-pills)>*{margin-top:0!important;margin-bottom:0!important}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section a.haio-download-prompt-link{text-align:center;line-height:1.5}
@media (max-width:599px){
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section .haio-pill-row{min-width:0;max-width:100%}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section .ckx-ee60c0cd:not(.haio-pass-pill) *{white-space:normal!important;display:inline!important}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section .ckx-ee60c0cd:not(.haio-pass-pill){display:block!important;width:100%;box-sizing:border-box;word-break:auto-phrase;text-wrap:balance;border-radius:8px!important;padding:12px 16px!important;white-space:normal!important;text-align:center;min-width:0;max-width:100%}
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section :is(h3,h4) [class*=badge]{display:flex!important;width:fit-content;margin:12px 0 0!important}
}
/* 10/22 Fable の点検: 帯の末尾が 21px（注意書き .haio-download-notice > ul > 最後の li の下マージン 4）で他ツールの 17px とそろっていなかったので、末尾の要素の下マージンを 0 に */
.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section>:last-child,.ookubo-horoscope-aio:not(.haio-mode-jaimini) .haio-download-section>:last-child>:last-child>:last-child{margin-bottom:0!important}
/* （2026-10-22）: ジャイミニの送客帯（.haio-mode-jaimini の .haio-download-section）の装いを断易と同じ骨組みに。和紙の地、見出しは和紙色の単色の塗りと鬱金色の二重線、ボタンは役割ごとの色（田中さん承認 10/22） */
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section{background:#f7f3ea url(img/washi.webp) repeat;background-size:256px;border:1px solid #d9cfbd;border-radius:12px;box-shadow:0 2px 6px rgba(61,41,82,.16);padding:0 16px 16px;overflow:hidden}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section h4{display:block;margin:0 -16px 16px;padding:16px;min-height:0;box-sizing:border-box;background:#f3ecdc;border:0;border-bottom:3px double #b8860b;font-family:'Shippori Mincho B1',serif;font-weight:800;letter-spacing:0;color:#1b2230}
/* 道具（JSON 保存・コピー）＝#3d5a80 の灰青、白字、角丸 8px */
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section button.haio-download-btn{background:#3d5a80;color:#fff;border:2px solid #3d5a80;border-radius:8px}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section button.haio-json-copybtn{background:#3d5a80;color:#fff;border:2px solid #3d5a80;border-radius:8px}
/* AI のコツの注記（インラインの水色箱）を白地に。左の線は差し色 */
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section .haio-download-ai-note{background:#fff!important;border:1px solid #d9cfbd!important;border-left:4px solid #b8860b!important;border-radius:8px!important;color:#1b2230!important}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section .haio-json-copynote{color:#3d3a33}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section a:not([class]){color:#1a4d8f}
/* 折り返しと行間（10/21 田中さん指摘）: 見出しは文節で折り、行の長さをそろえる。ボタンの並びは縦横 12px。
   2行に折れるボタンは中央寄せ・行間 1.5。スマホの主ボタンは入会ボタンと同じ全幅・角丸 8px。見出しの中の札は次の行に 12px あけて置く */
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section :is(h3,h4,h5,[class*=title],[class*=ttl],.ceph-summary){word-break:auto-phrase;text-wrap:pretty}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section .haio-pill-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;line-height:1.5}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section .haio-pill-row>a{margin:0!important}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section :is(.ckx-ee60c0cd,a[class*=btn],button){line-height:1.5;text-align:center;word-break:auto-phrase;text-wrap:balance}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section :is([class*=btns],[class*=buttons],[class*=-row],.rrow,.ceph-dlrow,.tht-prompt-pills){gap:12px}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section :is([class*=btns],[class*=buttons],[class*=-row],.rrow,.ceph-dlrow,.tht-prompt-pills)>*{margin-top:0!important;margin-bottom:0!important}
@media (max-width:599px){
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section .haio-pill-row{min-width:0;max-width:100%}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section .ckx-ee60c0cd:not(.haio-pass-pill) *{white-space:normal!important;display:inline!important}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section .ckx-ee60c0cd:not(.haio-pass-pill){display:block!important;width:100%;box-sizing:border-box;word-break:auto-phrase;text-wrap:balance;border-radius:8px!important;padding:12px 16px!important;white-space:normal!important;text-align:center;min-width:0;max-width:100%}
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section :is(h3,h4) [class*=badge]{display:flex!important;width:fit-content;margin:12px 0 0!important}
}
/* 10/22 Fable の点検: 帯の末尾が 27px（AI のコツの注記の下マージン 10）で他ツールの 17px とそろっていなかったので、最後の要素の下マージンを 0 に */
.ookubo-horoscope-aio.haio-mode-jaimini .haio-download-section>:last-child{margin-bottom:0!important}
