/* ライバー個別ページ専用（build_livers.py が生成）
   共通のstyle.cssを読んだうえで、このページだけの見た目を足す。 */

.liver-hero { padding-bottom: 40px; }
.liver-hero .crumb { font-family: var(--font-en); font-size: 12px;
  letter-spacing: .12em; color: var(--muted); margin-bottom: 28px; }
.liver-hero .crumb a { color: var(--muted); }

.liver-profile { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }

.liver-avatar { width: 168px; height: 168px; border-radius: 50%; flex: none;
  overflow: hidden; border: 2px solid var(--lc, var(--accent));
  box-shadow: 0 0 40px -8px var(--lc, var(--accent)); background: var(--panel); }
.liver-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.liver-avatar .initial { display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-family: var(--font-en); font-size: 56px;
  color: var(--lc, var(--accent)); }

.liver-head { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 12px; }
.liver-en { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em;
  color: var(--lc, var(--accent)); margin: 0; }
.liver-head h1 { font-size: clamp(30px, 6vw, 48px); margin: 0; line-height: 1.2; }

.liver-bio { max-width: 62ch; font-size: 16px; line-height: 2; color: var(--text); }
.liver-bio p { margin: 0 0 14px; }

/* SNS・リンクのブロック（紹介文の下）。
   サイト共通のカード（角丸24px・パネル背景・ホバーで光沢が走る）に合わせる。
   PC・タブレット・スマホのどの幅でも、常に縦1列に並べる。 */
.liver-links {
  margin-top: 40px; padding: clamp(20px, 4vw, 32px);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 24px; max-width: 620px;
}

.liver-links-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 700; font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--lc, var(--accent)); margin: 0 0 6px;
}
.liver-links-label::before {
  content: ""; width: 22px; height: 1px; background: var(--lc, var(--accent));
}
.liver-links-title {
  margin: 0 0 20px; font-size: 15px; font-weight: 700; color: var(--text);
}

/* 常に縦1列。横並びにすると名前の長いサービスで崩れるため。 */
.sns-items { display: flex; flex-direction: column; gap: 12px; }

.sns-item {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 22px;
  text-decoration: none; color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid color-mix(in srgb, var(--lc, var(--accent)) 32%, var(--line));
  border-radius: 999px;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease),
              transform 0.4s var(--ease);
}
/* サイト共通のカードと同じ、斜めの光沢が走る演出 */
.sns-item::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%,
              rgba(255, 255, 255, 0.13) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease);
}
.sns-item:hover::before { transform: translateX(130%); }
.sns-item:hover {
  border-color: var(--lc, var(--accent));
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.sns-item:focus-visible {
  outline: 2px solid var(--lc, var(--accent)); outline-offset: 3px;
}

.sns-name {
  font-size: 15px; font-weight: 700; line-height: 1.5;
  word-break: break-word; min-width: 0;
}
.sns-go {
  flex: none; font-family: var(--font-en); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; color: var(--lc, var(--accent));
  transition: transform 0.4s var(--ease);
}
.sns-item:hover .sns-go { transform: translateX(4px); }

@media (max-width: 640px) {
  .liver-links { margin-top: 32px; border-radius: 20px; }
  .sns-item { padding: 15px 20px; min-height: 58px; }
  .sns-name { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .sns-item, .sns-item::before, .sns-go { transition: none; }
  .sns-item:hover { transform: none; }
  .sns-item:hover::before { transform: translateX(-130%); }
}

.liver-videos { display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.liver-video { display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: var(--text); }
.liver-video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--line); }
.liver-video span { font-size: 14px; line-height: 1.6; }
.liver-video:hover img { border-color: var(--accent); }

.liver-minis { display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.liver-mini { display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); font-size: 13px; text-align: center; }
.liver-mini img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line); }
.liver-mini:hover img { border-color: var(--accent); }

@media (max-width: 640px) {
  .liver-profile { gap: 20px; }
  .liver-avatar { width: 120px; height: 120px; }
}
