/* 英語版のページだけの見た目。WordPress のときは、ページの中に書いてあったもの */
/* ─── 英語版専用スタイル ─── */

  /* 言語切り替えリンク */
  .ob-lang-link {
    display: inline-block;
    margin: 0.5em auto 1em;
    padding: 0.4em 1.2em;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    color: #e8e4dc;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
  }

  .ob-lang-link:hover {
    background: rgba(255, 255, 255, 0.18);
  }

  /* 対訳コンテンツ: 段落ペア */
  .ob-bilingual-pair {
    margin-bottom: 2em;
  }

  /* 英語本文: 標準サイズ */
  .ob-en-paragraph {
    font-size: 1.05em;
    line-height: 1.9;
    margin-bottom: 0.4em;
    color: #e8e4dc;
  }

  /* 日本語訳: 小さめ・控えめな色 */
  .ob-jp-translation {
    font-size: 0.78em;
    line-height: 1.7;
    color: #a0a8c0;
    padding-left: 1em;
    border-left: 2px solid rgba(160, 168, 192, 0.3);
    margin-left: 0.2em;
    margin-top: 0;
  }

  /* 言語切り替えボタン（フッター） */
  .ob-lang-switch-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  /* ミニプレーヤー（下部に固定）。右下の BGM ボタンと同じ高さに並べる */
  .ob-mini-player {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 999;
    width: min(420px, calc(100% - 48px));
    height: 48px;
    box-sizing: border-box;
    padding: 0 16px 0 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 14, 26, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .ob-mini-player.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .ob-mini-play {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e8e4dc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ob-mini-progress {
    flex: 1;
    min-width: 0;
  }

  .ob-mini-time {
    flex-shrink: 0;
    font-size: 11px;
    color: #b8b4ac;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
  }

  /* ミニプレーヤーがページの最後の内容に重ならないように、下に余白を足す */
  body.ob-has-mini-player {
    padding-bottom: 80px;
  }

  /* スマホでは、右下の BGM ボタンの分だけ右を空ける */
  @media (max-width: 640px) {
    .ob-mini-player {
      left: 16px;
      right: 76px;
      bottom: 16px;
      width: auto;
      transform: translateY(20px);
    }

    .ob-mini-player.show {
      transform: translateY(0);
    }
  }
