/* ===== Actress Detail ===== */
:root{
  --pink:#f8cfe0;
  --pink-light:#fdeaf3;
  --pink-dark:#e59abf;
  --gray-100:#fafafa;
  --gray-200:#f2f2f2;
  --gray-300:#e5e5e5;
  --gray-500:#999;
  --gray-700:#555;
  --gray-900:#222;
  --radius:12px;
  --shadow:0 2px 8px rgba(0,0,0,.05);
}

.actress-detail{
  display:block;
}

/* --- Hero block --- */
.hero{
  display:grid;
  gap:18px;
  grid-template-columns: 120px 1fr;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:14px;
  margin-bottom:1.2rem;
}
@media (min-width:640px){
  .hero{
    grid-template-columns: 220px 1fr;
    padding:18px;
  }
}
.hero__thumb img{
  width:100%;
  height:100%;
  max-height:320px;
  object-fit:cover;
  border-radius:calc(var(--radius) - 2px);
  background:var(--gray-200);
}
.hero__name{
  margin:.2rem 0 .5rem;
  font-size:1.4rem;
  line-height:1.25;
  letter-spacing:.5px;
  color:var(--gray-900);
}
@media (min-width:640px){
  .hero__name{font-size:1.7rem;}
}

/* スペック（プロフィール行） */
.hero__specs{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  margin:.4rem 0 1rem;
  padding:0;
  list-style:none;
  color:var(--gray-700);
  font-size:.92rem;
}
.hero__specs li{
  background:var(--gray-200);
  border:1px solid var(--gray-300);
  padding:4px 10px;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:6px;
}
.hero__specs .k{
  display:inline-block;
  min-width:1.6em;
  padding:2px 6px;
  border-radius:999px;
  background:var(--pink-light);
  color:var(--pink-dark);
  border:1px solid var(--pink);
  text-align:center;
  font-weight:700;
  font-size:.8rem;
}

/* 投票行 */
.hero__vote{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.vote-counter{
  background:linear-gradient(180deg, #fff, var(--gray-100));
  border:1px solid var(--gray-300);
  border-radius:999px;
  padding:6px 12px;
  font-size:.9rem;
  color:var(--gray-700);
}
.vote-counter strong{
  color:var(--pink-dark);
  font-size:1.05rem;
}

.vote-form{ margin:0; }
.btn-vote{
  background:var(--pink-dark);
  color:#fff;
  border:none;
  padding:.55rem 1rem;
  border-radius:999px;
  cursor:pointer;
  transition:opacity .15s, transform .1s ease;
  font-size:.92rem;
  box-shadow:var(--shadow);
}
.btn-vote:hover{opacity:.9; transform:translateY(-1px);}
.btn-vote:active{transform:translateY(0);}

/* --- Section heading --- */
.section{ margin-top:1.4rem; }
.section__title{
  font-size:1.1rem;
  margin:.2rem 0 .8rem;
  padding-left:.6rem;
  border-left:4px solid var(--pink-dark);
}

/* --- Related items --- */
.related-grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
}
@media (min-width:480px){
  .related-grid{ grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); }
}

.related-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease;
  text-align:center;
  border:1px solid var(--gray-300);
}
.related-card:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}
.related-card__thumb{
  aspect-ratio: 4 / 3;               /* サムネ比率を安定させる */
  background:var(--gray-200);
}
.related-card__thumb img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.related-card__title{
  font-size:.86rem;
  color:var(--gray-800);
  padding:.6rem .6rem .8rem;
  line-height:1.4;
}

/* 空状態 */
.empty{
  color:var(--gray-700);
  background:#fff;
  border:1px dashed var(--gray-300);
  border-radius:var(--radius);
  padding:1rem;
  text-align:center;
}

/* 小さなユーティリティ */
.text-center{text-align:center;}


