/* ★2026-11-02 関根さん指示
   「リンクはリンク標準の青色に」「本文と、エクラモ編集部のところ」「パンくずはやらなくていい」

   対象は ★著者ボックスだけ。
     ・本文（.art-body / article）は common.css が既に #1a73e8 にしている＝触らない
     ・パンくず・フッター・会社ハブの表は ★関根さんの指示で対象外（1回入れたが外した）

   ★なぜ詳細度を上げるか（2026-11-02 実測）
     common.css に同じ重さの規則がある：
       .author-box-name a  { color:var(--fg); text-decoration:none }
       .author-box-books a { color:var(--fg); text-decoration:none }
       .author-box-links a { color:var(--fg); text-decoration:none }
     どちらも (0,1,1) で、順番だけで勝つ形だった。
     → ★.author-box を前に付けて (0,2,1) にし、順番に頼らず勝たせる。
   ★なぜ var() を使わないか
     var() が解決できないと ★その宣言だけが無効になり、色は親から継いだ黒のままで
     text-decoration だけ効く（＝「下線は付いたのに黒い」になる）。直値にして依存を外す。

   common.css は本番（eclatmo.com）から取ったものなので1字も触らない。
*/

/* 明るい画面 */
.author-box a,
.author-box .author-box-name a,
.author-box .author-box-role a,
.author-box .author-box-bio a,
.author-box .author-box-books a,
.author-box .author-box-links a {
  color: #1a73e8;
  text-decoration: underline;
}

.author-box a:hover,
.author-box .author-box-name a:hover,
.author-box .author-box-role a:hover,
.author-box .author-box-bio a:hover,
.author-box .author-box-books a:hover,
.author-box .author-box-links a:hover {
  color: #1558b0;
  text-decoration: underline;
}

/* 暗い画面（common.css の .art-body a と同じ #7baaf7 に合わせる） */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .author-box a,
  :root:not([data-theme="light"]) .author-box .author-box-name a,
  :root:not([data-theme="light"]) .author-box .author-box-role a,
  :root:not([data-theme="light"]) .author-box .author-box-bio a,
  :root:not([data-theme="light"]) .author-box .author-box-books a,
  :root:not([data-theme="light"]) .author-box .author-box-links a {
    color: #7baaf7;
  }
}

:root[data-theme="dark"] .author-box a,
:root[data-theme="dark"] .author-box .author-box-name a,
:root[data-theme="dark"] .author-box .author-box-role a,
:root[data-theme="dark"] .author-box .author-box-bio a,
:root[data-theme="dark"] .author-box .author-box-books a,
:root[data-theme="dark"] .author-box .author-box-links a {
  color: #7baaf7;
}

:root[data-theme="light"] .author-box a,
:root[data-theme="light"] .author-box .author-box-name a,
:root[data-theme="light"] .author-box .author-box-role a,
:root[data-theme="light"] .author-box .author-box-bio a,
:root[data-theme="light"] .author-box .author-box-books a,
:root[data-theme="light"] .author-box .author-box-links a {
  color: #1a73e8;
}
