/* Anipoo の下のメニュー（/assets/shared/tabbar.js が作る）。サイトの .tabbar と同じ見た目。
   ほかのページの CSS とぶつからないよう、クラス名は anipoo- を付け、色などはここで完結させる */
.anipoo-tabbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 2147483000;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(60px + env(safe-area-inset-bottom));
  margin: 0;
  padding: 0 0 env(safe-area-inset-bottom);
  background: rgba(11, 10, 18, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "PingFang TC", "Microsoft YaHei", sans-serif;
  line-height: 1.2;
  box-sizing: border-box;
}
.anipoo-tabbar a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #a29fb5;
  font-size: 11px;
  text-decoration: none;
  transition: color 0.2s;
}
.anipoo-tabbar a:hover { color: #f4f2fb; }
.anipoo-tabbar svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.anipoo-tabbar a[aria-current="page"] { color: #f4f2fb; }
.anipoo-tabbar a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: -1px;
  width: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(135deg, #ff4d7a 0%, #c45bf0 55%, #8b5cf6 100%);
  box-shadow: 0 0 12px rgba(255, 77, 122, 0.7);
}
.anipoo-tabbar a[aria-current="page"] svg { filter: drop-shadow(0 0 6px rgba(196, 91, 240, 0.6)); }
/* 下のメニューにページの最後が隠れないように */
html.has-anipoo-tabbar body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
