/* ==================================================
   左セル：damage（2行貫通・完全中央）
================================================== */
.combo-left {
    grid-row: 1 / 3;

    display: grid;
    place-items: center;

    font-size: 20px;
    font-weight: bold;
    text-align: center;

    border-right: 1px solid rgba(255, 255, 255, 0.15);

    padding: 0 !important;
    padding-right: 4px !important;
}

/* ==================================================
   右上セル：command（コマンド＋コメント）
================================================== */
.combo-right-top {
    grid-column: 2;
    grid-row: 1;

    font-size: 13px;

    padding: 4px 0;

    display: block;   /* ← flexをやめる */
    flex-wrap: wrap;      /* 折り返し許可 */
    align-items: center;
    gap: 4px;             /* コマンド・コメント間の間隔 */
}

.combo-right-top > * {
    display: inline;
}

.cmd-start img {
  transform: translateY(-2px);
}


.cmd img {
  transform: translateY(-2px);
}




/* ==================================================
   右下セル：damage / white / actual / note / video
================================================== */
.combo-right-bottom {
    position: relative;
    top: 4px;
    padding-top: 6px;

    grid-column: 2;
    grid-row: 2;

    font-size: 13px;
    line-height: 1.35;
    text-align: right;
    padding-right: 8px;
    margin-top: 2px;

    border-top: 1px solid rgba(255, 255, 255, 0.03);
}


/*    右下セル内（横並び） */
.combo-right-bottom span {
    margin-left: 10px;
    white-space: nowrap;
}

/* note の色を薄い青に */
.detail-note {
    color: #9fd3ff;
}

/* ==================================================
   combo-item をセル化する（2列×2行）
   combo-item をカード化（枠・背景・余白・影）
================================================== */
.combo-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 4px;

    /* カード化追加 */
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 10px 12px;
    background: #1a1a1a;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* hover時の反応（任意） */
.combo-item:hover {
    background: #222;
    box-shadow: 0 0 6px rgba(0,0,0,0.5);
}

/* ==================================================
   h3 と combo-item の余白制御
================================================== */
.combo-item + h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* ==================================================
   参考動画（spanラッパー）
================================================== */
.detail-video {
    display: inline-flex;
    align-items: center;
    margin-left: 8px; /* note との距離 */
}

/* ================================
 * 参考動画チップ（最終確定）
 * ================================ */
.detail-video-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
	
    /* ★ 左右を均等に固定 */
    padding: 4px 10px;

    border-radius: 999px;
    border: 1px solid #666;
    background: #1e1e1e;

    color: #eaeaea;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}


/* ▶ アイコン（左には一切触らない） */
.detail-video-chip .video-icon {
    display: inline-block;
    line-height: 1;
    margin: 0;               /* ★ 左余白ゼロ保証 */
    padding: 0;
}


/* ▶ と文字の間「だけ」2px */
.detail-video-chip .video-text {
    display: inline-block;
    margin-left: 2px;        /* ★ここだけ */
    line-height: 1;
}

/* hover */
.detail-video-chip:hover {
    background: #2a2a2a;
    border-color: #888;
}


.entry-content .combo-item {
    margin-bottom: 6px !important;
}


/* 偶数番目のカード */
.entry-content .combo-item:nth-child(odd) {
    background: #1a1a1a !important; /* 現状の色 */
}

.entry-content .combo-item:nth-child(even) {
    background: #262626 !important; /* しっかり明るい */
}


/* combo-block-heading を h3 見出し風にする（ダークモード対応） */
.combo-block-heading {
    font-size: 1.4rem;          /* h3 相当 */
    font-weight: 600;           /* h3 の太さ */
    margin: 1.6em 0 0.8em;      /* h3 の余白感 */
    line-height: 1.3;
    color: var(--t8-heading-color, #e5e5e5); /* ダークモードで読みやすい色 */
	    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 0.3em;
}

/* ダークモード（body に .dark-mode が付く想定） */
.dark-mode .combo-block-heading {
    color: #f0f0f0;             /* h3 に近い明るさ */
}




.cmd{
opacity:0;
transition:opacity .05s;
}


/* combo-top-heading 内のコマンド画像だけ縦を微調整 */
.combo-top-heading .t8-cmd-img {
    vertical-align: -5px; /* 文字に合わせて微調整 */

}


.cmd-block{
  display:inline-block;
  white-space:nowrap;
}



.t8-page-info-intro {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 22px;
}

@media (max-width: 768px) {
    .t8-page-info-intro {
        font-size: 13px;
    }
}


/* 目次のcss */

.t8-toc-list {
    display: none;
    margin-left: 1em;
}

/* 見出し本体（中央寄せ） */
.t8-toc-section-title {
    cursor: pointer;
    user-select: none;
    text-align: center;
    display: block;
    counter-increment: toc-counter;
    margin: 4px 0;
    position: relative;
    width: 260px;      /* ★ これが決定打：行ごとに幅を統一 */
    margin-left: auto;
    margin-right: auto;
	transition: color .15s ease;
}

/* 左寄せテキスト（中央に置かれる） */
.t8-toc-inner {
    display: inline-block;
    text-align: left;
    width: 200px;
    padding-right: 20px;
    text-decoration: none;
    color: inherit;
	pointer-events: none; /* ← 追加 */
}


/* 数字（ここを追加するだけ） */
.t8-toc-inner::before {
    content: counter(toc-counter) ". ";
    margin-right: 4px;
    font-weight: bold;
}


/* アイコン（全行で縦に揃う） */
.t8-toc-section-title::after {
    content: "▼";
    position: absolute;
    right: 0;               /* ← これで縦に揃う */
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
}

/* カテゴリ文字 hover */
.t8-toc-section-title:hover {
    color: #ff6600;
}

/* 閉じているときのアイコン */
.t8-toc-section-title.closed::after {
    content: "▶";
}


/* カウンター初期化 */
.t8-toc-block {
    counter-reset: toc-counter;
}


/* 数字（toc-num にカウンターを入れる） */
.toc-num::before {
    content: counter(toc-counter) ". ";
    font-weight: bold;
    margin-right: 4px;
}



/* TOC 始動技リスト */

.t8-toc-list{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:6px 12px;

    list-style:none;
    padding-left:0;
    margin:6px 0 16px;
}

.t8-toc-link{

    display:block;
    padding:10px 6px;

    text-align:center;
    text-decoration:none;

    border:1px solid #ddd;
    border-radius:6px;

background:#555555; /* カード化の背景色 */



    font-weight:600;
    font-size:12px; /* 文字サイズを小さく */

    transition:all .15s ease;

}

.t8-toc-link:hover{
    background:#666666;
    border-color:#ff6600;
}

/* TOC 内の始動技だけ文字サイズを小さくする */
.t8-toc-link .combo-block-heading {
    font-size: 12px !important;
}

.t8-toc-link .combo-block-heading{
border-bottom:none;
}