/* u-full 作品集 共通クレジットバー
   各ゲームの末尾で credit-bar.js を読み込むと自動で挿入される。
   配色は tokens.css の変数を参照（読み込まれていない場合のフォールバック値付き）。 */
.uf-credit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 8px 14px;
  font-family: var(--uf-font, "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif);
  font-size: 12px;
  line-height: 1.4;
  color: var(--uf-text-dim, rgba(245, 240, 227, 0.85));
  background: linear-gradient(0deg, rgba(8, 10, 9, 0.78), rgba(8, 10, 9, 0));
  /* バー自体はクリックを透過し、リンクだけ拾う（ゲーム操作を邪魔しない） */
  pointer-events: none;
}
.uf-credit a,
.uf-credit .uf-cta {
  pointer-events: auto;
}
.uf-credit .uf-song {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;        /* 狭い画面では折り返してリンクを全部見せる */
}
.uf-credit .uf-links a { margin: 0 1px; }
.uf-credit .uf-song b {
  color: var(--uf-accent, #d9b366);
  font-weight: 700;
}
.uf-credit .uf-ver {
  opacity: 0.5;
  margin-left: 6px;
  font-size: 10px;
}
.uf-credit .uf-copyright {
  opacity: 0.45;
  margin-left: 6px;
  font-size: 10px;
}
.uf-credit a {
  color: var(--uf-text, rgba(245, 240, 227, 0.9));
  text-decoration: none;
  border-bottom: 1px solid var(--uf-line, rgba(217, 179, 102, 0.4));
  white-space: nowrap;
}
.uf-credit a:hover {
  color: var(--uf-accent, #d9b366);
  border-bottom-color: var(--uf-accent, #d9b366);
}
.uf-credit .uf-cta {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid var(--uf-line-hover, rgba(217, 179, 102, 0.6));
  border-radius: 6px;
  color: var(--uf-accent, #d9b366);
  text-decoration: none;
  font-weight: 700;
}
.uf-credit .uf-cta:hover {
  background: var(--uf-accent, #d9b366);
  color: var(--uf-on-accent, #0a0a08);
}
.uf-credit a:focus-visible,
.uf-credit .uf-cta:focus-visible {
  outline: 2px solid var(--uf-accent, #d9b366);
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .uf-credit { font-size: 11px; padding: 6px 10px; gap: 8px; }
}
