/* ==========================================================
   Nukitopia — Cocoon 全ページ ダークテーマ
   ========================================================== */

:root {
  --gold: #d4af37;
  --gold-bright: #e8c86b;
  --gold-deep: #a8861f;
  --text: #f5f1e8;
  --text-sub: #9a958a;
  --line: rgba(212,175,55,.22);
  --bg-0: #0a0a0a;
}

/* ① body を黒に */
html { background: #0a0a0a !important; }
body { background: #0a0a0a !important; color: #e0dbd0 !important; }

/* ② 全コンテナを透明化 */
*:not(html):not(body) {
  background-color: transparent !important;
}

/* ③ Cocoon のヘッダーを非表示 */
#header,
.site-header,
.header-container,
.navi-container {
  display: none !important;
}

/* ④ 背景が必要な要素を復元 */
input, select, textarea {
  background: #1a1a1a !important;
  color: #e0dbd0 !important;
  border-color: rgba(212,175,55,.3) !important;
}
pre, code, kbd {
  background: #111 !important;
  color: #e8c86b !important;
  border: 1px solid rgba(212,175,55,.2) !important;
}
.related-entry-card, .a-wrap, .card-wrap {
  background: #111 !important;
  border: 1px solid rgba(212,175,55,.2) !important;
}
.related-entry-card:hover, .a-wrap:hover {
  border-color: rgba(212,175,55,.5) !important;
}
.cat-label, .cat-label-p {
  background: rgba(212,175,55,.15) !important;
  border: 1px solid rgba(212,175,55,.3) !important;
}
.page-numbers {
  background: #111 !important;
  border: 1px solid rgba(212,175,55,.2) !important;
}
.page-numbers.current {
  background: rgba(212,175,55,.15) !important;
  border-color: #d4af37 !important;
}
#wpadminbar { background: #23282d !important; }

/* ⑤ テキスト色 */
body * { color: #e0dbd0; }
h1, h2, h3, h4, h5, h6,
.entry-title, .entry-title a,
.related-entry-card-title, .card-title, .card-title a { color: #f5f1e8 !important; }
a { color: #d4af37 !important; }
a:hover { color: #e8c86b !important; }
.post-date, .post-update, .article-date-time,
.author-name { color: #9a958a !important; }
.cat-label, .cat-label-p { color: #d4af37 !important; }
.page-numbers { color: #e0dbd0 !important; }
.page-numbers.current { color: #d4af37 !important; }

/* ⑥ インラインの黒色指定を上書き（暗背景で不可視になるため） */
[style*="color:#000000"],
[style*="color: #000000"],
[style*="color:#000"],
[style*="color: #000"],
[style*="color:black"],
[style*="color: black"],
[style*="color:rgb(0,0,0)"],
[style*="color: rgb(0, 0, 0)"] {
  color: #e0dbd0 !important;
}

/* ⑦ レーティング */
.fa-star,
.rating-star .fa-star { color: #f5c518 !important; }
.rating-number { color: #f5f1e8 !important; }

/* ⑦ スクロールバー */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,.4); border-radius: 3px; }
