/* START-KEEP */
/* custom-functions/combo/combo-list-style.cssの中 */
/* 2025-12-31 */
/* このメモは消さない */
/* END-KEEP */


/* ===============================
   コンボ一覧 全体
================================ */
.t8-combo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* ===============================
   1コンボ（一覧行）
================================ */
.combo-item {
    padding: 6px 0;
    color: #e0e0e0;

    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "left right-top"
        "left right-bottom";

    border-left: 1px solid #333;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;

    background-color: #1f1f1f;
}

.combo-item:nth-child(even) {
    background-color: #242424;
}


/* ===============================
   左：大きいダメージ
================================ */
.left {
    grid-area: left;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    border-right: 1px solid #333;
}

.combo-damage-value {
    color: #e6e6e6;
    font-weight: bold;
}


/* ===============================
   右上：コマンド表示
================================ */
.combo-right-top {
    grid-area: right-top;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0;
    padding: 0;
}

.combo-block,
.combo-next {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.combo-block img,
.combo-next img {
    display: block;
    margin: 0;
    padding: 0;

    width: auto;
    height: auto;
    max-height: 1.4em;
}


/* ===============================
   右下：Dmg / White / Actual / 備考
================================ */
.right-bottom {
    grid-area: right-bottom;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;

    width: 100%;
    padding: 2px 8px 0 0;

    gap: 14px;
    font-size: 13px;
    color: #aaa;

    border-top: 1px solid #333;
}

.right-bottom span {
    white-space: nowrap;
}

.combo-damage,
.combo-white,
.combo-actual {
    color: #cccccc;
}

.combo-note {
    color: #9fd3ff;
}

.combo-group {
    display: inline-block;
}


/* ===============================
   参考動画チップ
================================ */
.combo-video-chip a {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 3px 8px;
    border-radius: 999px;

    background: #2a2a2a;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;

    border: 1px solid #444;
}

.combo-video-chip a:hover {
    background: #3a3a3a;
}

.combo-video-chip .video-icon {
    width: 0;
    height: 0;
    border-left: 7px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.combo-video-chip .video-text {
    white-space: nowrap;
}


/* ==================================================
   追加：Intro / TOC / チップ（Page Info 用）
================================================== */

/* ============================
   イントロ
============================ */
.t8-combo-list-intro {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}


/* ============================
   チップ（pill）
============================ */
.t8-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 4px 6px;

    font-size: 12px;
    line-height: 1;

    border-radius: 999px;
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #444;

    white-space: nowrap;
    box-sizing: border-box;
}

.t8-chip > a,
.t8-chip > span {
    color: inherit;
    text-decoration: none;
}

.t8-chip.empty {
    visibility: hidden;
}


/* ============================
   チップグリッド（4列）
============================ */
.t8-combo-list-chip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px 8px;
}


/* ============================
   目次タイトル
============================ */
.t8-toc-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 16px 0 8px;
    color: #e5e5e5;
    text-align: center;
}


/* ============================
   セクション見出し＋トグル
============================ */
.t8-combo-list-toc-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.t8-toc-heading-inner {
    min-width: 200px;
    text-align: left;
}


/* トグルボタン */
.t8-toc-toggle {
    font-size: 0.75rem;
    padding: 2px 10px;

    background: #333;
    color: #eee;

    border: 1px solid #555;
    border-radius: 4px;

    cursor: pointer;
    opacity: 0.9;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.t8-toc-toggle:hover {
    background: #444;
    opacity: 1;
}


/* ============================
   折りたたみアニメーション
============================ */
.t8-toc-more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.t8-combo-list-toc-block.open .t8-toc-more {
    max-height: 500px;
    opacity: 1;
}


/* ============================
   セクション区切り
============================ */
.t8-combo-list-toc-block {
    padding-bottom: 4px;
    margin-bottom: 6px;
    border-bottom: 1px solid #2a2a2a;
}

/* 目次ブロックの外側の margin を強制的にゼロにする */
.t8-combo-list-toc-block {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
