  body { font-family: 'Kiwi Maru', sans-serif; margin: 20px; background-color: rgba(209, 223, 234, 0.7); color: #2f3b2a; }
  h1, h2, button { font-family: 'Zen Maru Gothic', sans-serif; }
  h1 { color: #09042b; font-size: 1.3em; margin-bottom: 4px; }
  p.note { font-size: 13px; color: #556047; margin-top: 0; }
  button.toggleBtn { font-size: 1em; font-weight: bold; color: #fff; background: #2e7d32; border: none; padding: 8px 16px; margin-bottom: 8px; border-radius: 6px; cursor: pointer; text-align: left; }
  button.toggleBtn:hover { background: #1b5e20; }
  #navSection button { background: #526699; color: #fff; }
  #navSection button:hover { background: #435580; }
  #displayAllTagSection { margin-top: 16px; }
  #cascadeSection { margin-top: 16px; }
  #cascadeTitle { color: #3f456d; font-size: 1.1em; margin-bottom: 8px; display: inline-block; margin-right: 12px; }
  #cascadeIntervalControl { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: #556047; }
  #cascadeHueControl { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: #556047; }
  #wordCloudHueControl { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: #556047; }
  #cascadeArea { position: relative; width: 100%; height: 80vh; overflow: hidden; background: #fbfdf8; border: 1px solid #d7e0c8; border-radius: 8px; cursor: pointer; }
  #backToTopBtn {
    position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px;
    border-radius: 50%; background: #5b8eb6; color: #fff; font-size: 20px;
    border: none; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    display: flex; align-items: center; justify-content: center; z-index: 1000;
  }
  #backToTopBtn:hover { background: #4a7699; }
  .cascadeWord { position: absolute; cursor: pointer; white-space: nowrap; animation-name: cascadeFall; animation-timing-function: linear; }
  .cascadeWord:hover { animation-play-state: paused; }
  @keyframes cascadeFall {
    from { transform: translateY(0); }
    to { transform: translateY(var(--cascade-fall-distance, calc(100vh + 60px))); }
  }
  #wordCloudSection { margin-top: 16px; }
  #wordCloudTitle { color: #3f456d; font-size: 1.1em; margin-bottom: 4px; display: inline-block; margin-right: 12px; }
  #wordCloudArea { position: relative; width: 100%; height: 80vh; overflow: hidden; background: #fbfdf8; border: 1px solid #d7e0c8; border-radius: 8px; cursor: pointer; }
  #riverSection { margin-top: 16px; }
  #riverTitle { color: #3f456d; font-size: 1.1em; margin-bottom: 8px; display: inline-block; margin-right: 12px; }
  #riverHueControl { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: #556047; }
  #riverArea { position: relative; width: 100%; height: 80vh; overflow: hidden; background: #fbfdf8; border: 1px solid #d7e0c8; border-radius: 8px; cursor: pointer; }
  .riverWord { position: absolute; white-space: nowrap; cursor: pointer; animation-name: riverFlow; animation-timing-function: linear; }
  .riverWord:hover { animation-play-state: paused; }
  @keyframes riverFlow {
    from { transform: translateX(0); }
    to { transform: translateX(var(--river-distance, calc(100vw + 200px))); }
  }
  .wordClusterItem { position: absolute; cursor: pointer; animation-name: wordClusterDrift; animation-timing-function: linear; }
  .wordClusterItem:hover { animation-play-state: paused; }
  .wordClusterWord { position: absolute; white-space: nowrap; cursor: pointer; font-family: sans-serif; }
  .wordClusterWord:hover { text-decoration: underline; }
  @keyframes wordClusterDrift {
    from { transform: translateX(0); }
    to { transform: translateX(var(--wordcluster-drift-distance, calc(-100vw - 200px))); }
  }

  /* ---- 曲名の絞り込み欄（このアプリで追加） ---- */
  #filterBox { background: #fbfdf8; border: 1px solid #d7e0c8; border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
  .boxTitle { margin: 0 0 4px 0; font-size: 14px; font-weight: bold; color: #3f456d; }
  .filterRow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 8px; font-size: 13px; color: #556047; }
  .filterRow label { min-width: 11em; }
  .filterRow input[type="text"] { flex: 1; min-width: 180px; font-size: 16px; padding: 6px 10px; border: 1px solid #c9d6b8; border-radius: 4px; background: #fff; color: #2f3b2a; }
  .filterRow button.toggleBtn { margin-bottom: 0; }
  #filterResultNote { margin: 0; }
  #filterApplyBtn { background: #2e7d32; }
  #filterResetBtn { background: #8a9a7a; }
  #filterResetBtn:hover { background: #74855f; }
  #filterBox input:focus-visible, button:focus-visible { outline: 2px solid #526699; outline-offset: 2px; }
  @media (max-width: 480px) { .filterRow label { min-width: 100%; } }
