@charset "UTF-8";
/* =========================================================
   artist.css — Artist Page 専用（PC 1996:11237 / TB 1996:11244 / SP 1996:11251）
   値は Figma 実値（px ÷ 10 = rem）。トークンは common.css :root
   ========================================================= */

/* =========================================================
   Cover + Profile Image（PC h320 / TB h280 / SP h250、プロフィールが70px食い込む）
   ========================================================= */
.artist-cover { display: flex; flex-direction: column; align-items: center; }
.artist-cover__bg { position: relative; width: 100%; height: 32rem; margin-bottom: -7rem; overflow: hidden; }
.artist-cover__bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.artist-cover__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(151, 71, 255, 0) 21.875%, #9747FF 95.313%);
}
.artist-cover__profile { position: relative; display: flex; align-items: flex-start; }
/* Figma：120×120 角丸20 ＋ 外側ストローク2px #2B2B2B（レイアウト寸法に含まれない＝outlineで外側に描く） */
.artist-cover__avatar { position: relative; display: block; width: 12rem; height: 12rem; border-radius: var(--radius); overflow: hidden; outline: 0.2rem solid var(--color-bg); }
.artist-cover__avatar img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1279.98px) {
  .artist-cover__bg { height: 28rem; }
}
@media (max-width: 833.98px) {
  .artist-cover__bg { height: 25rem; }
  .artist-cover__profile { justify-content: center; }
}

/* =========================================================
   Artist Info
   PC：[名前/実績/Bio/Links 599px] gap100 [CTA]
   TB/SP：名前 → CTA → 実績 → Bio → Links（gap30 の縦積み）
   ========================================================= */
.artist-info { padding: 4rem 0; }
.artist-info__inner { display: flex; align-items: flex-start; gap: 10rem; }
.artist-info__main { width: 59.9rem; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3rem; }
.artist-info__name { width: 51rem; font-weight: 600; font-size: var(--fs-h2); line-height: var(--lh-h2); }

.artist-info__stats { width: 51rem; display: flex; gap: 2rem; }
.artist-info__stat { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.artist-info__stat-num { font-family: var(--ff-mono); font-weight: 700; font-size: 2.8rem; line-height: 1.4; }
.artist-info__stat-label { font-size: 2.2rem; line-height: 1.6; }

.artist-info__block { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.artist-info__label { font-family: var(--ff-mono); font-weight: 700; font-size: 2.2rem; line-height: 1.6; color: var(--color-caption); }
.artist-info__text { font-size: 2.2rem; line-height: 1.6; }
.artist-info__icons { display: flex; align-items: flex-start; gap: 1rem; }
.artist-info__icons a { display: block; transition: opacity .2s ease; }
.artist-info__icons a:hover { opacity: .7; }
.artist-info__icons img { width: 3.2rem; height: 3.2rem; }

.artist-info__ctas { flex: 1 1 0; min-width: 0; display: flex; justify-content: flex-end; align-items: flex-start; gap: 2rem; }
/* Figma：Fixed w186（px50 は中身が溢れるため中央寄せで同じ見た目） */
.artist-info__copy { width: 18.6rem; padding: 0; }
.artist-info__follow { padding: 0 2.8rem; }   /* Figma px30・枠線inside → 30−2 */
.artist-info__follow[aria-pressed="true"] { background: rgba(162, 89, 255, 0.16); }

@media (max-width: 1279.98px) {
  .artist-info { padding: 3rem 0; }
  .artist-info__inner { flex-direction: column; gap: 3rem; }
  .artist-info__main { display: contents; }
  .artist-info__name { order: 1; width: 100%; }
  .artist-info__ctas { order: 2; flex: none; justify-content: flex-start; }
  .artist-info__stats { order: 3; }
  .artist-info__bio { order: 4; }
  .artist-info__links { order: 5; }
  .artist-info__stat-num { font-size: 2.2rem; line-height: 1.6; }
  .artist-info__stat-label { font-size: 1.6rem; line-height: 1.4; }
  .artist-info__label { font-weight: 400; font-size: 1.6rem; line-height: 1.4; }
  .artist-info__text { font-size: 1.6rem; line-height: 1.4; }
  .artist-info__icons img { width: 2.4rem; height: 2.4rem; }
}
@media (max-width: 833.98px) {
  .artist-info__name { font-size: 2.8rem; line-height: 1.4; }
  .artist-info__stats { width: 100%; }
  .artist-info__ctas { width: 100%; flex-direction: column; gap: 2rem; }
  .artist-info__copy, .artist-info__follow { width: 100%; }
}

/* =========================================================
   Tab bar（上端線 1px #3B3B3B ＋ gap10 ＋ タブ h60）
   ========================================================= */
.artist-tabs { position: relative; padding-top: 1rem; background: var(--color-bg); }
.artist-tabs::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--color-bg-secondary); }
.artist-tabs__list { width: var(--content-w); margin-inline: auto; display: flex; }
.artist-tabs__tab {
  flex: 1 1 0; min-width: 0; height: 6rem; padding: 0 3rem;
  display: flex; align-items: center; justify-content: center; gap: 1.6rem;
  border-bottom: 2px solid transparent;
  color: var(--color-caption); white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.artist-tabs__tab:hover { color: var(--color-text); }
.artist-tabs__tab[aria-selected="true"] { color: var(--color-text); border-bottom-color: var(--color-caption); }
.artist-tabs__name { font-weight: 600; font-size: 2.2rem; line-height: 1.4; }
.artist-tabs__count {
  display: flex; align-items: center; padding: 0.5rem 1rem; border-radius: var(--radius);
  background: var(--color-bg-secondary); color: var(--color-text);
  font-family: var(--ff-mono); font-size: 1.6rem; line-height: 1.4;
}
.artist-tabs__tab[aria-selected="true"] .artist-tabs__count { background: var(--color-caption); }

@media (max-width: 1279.98px) {
  .artist-tabs__list { width: 68rem; }                   /* Figma TB：680 */
  .artist-tabs__name { font-size: 1.6rem; }
  .artist-tabs__count { font-size: 1.2rem; line-height: 1.1; }
}
@media (max-width: 833.98px) {
  .artist-tabs__list { width: var(--content-w); }
  .artist-tabs__tab { padding: 0 1rem; }
}

/* =========================================================
   NFT Cards Section（地 #3B3B3B ／ カード地 #2B2B2B）
   ========================================================= */
.artist-cards { padding: 8rem 0; background: var(--color-bg-secondary); }
.artist-cards__panel:focus-visible { outline: 2px solid var(--color-cta); outline-offset: -2px; }
.artist-cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }

/* NFT Card（index.html「Discover more NFTs」と同一の部品。index.css から複製＝ページ単位で読み込むため） */
.nft-card {
  display: flex; flex-direction: column; height: 46.9rem; min-width: 0;
  border-radius: var(--radius); background: var(--color-bg-secondary); overflow: hidden;
  transition: transform .25s ease;
}
.nft-card:hover { transform: translateY(-0.4rem); }
.nft-card__img { display: block; height: 29.5rem; flex-shrink: 0; }
.nft-card__img img { width: 100%; height: 100%; object-fit: cover; }
.nft-card__info { display: flex; flex-direction: column; gap: 2.5rem; padding: 2rem 3rem 2.5rem; }
.nft-card__head { display: flex; flex-direction: column; gap: 0.5rem; }
.nft-card__name { font-weight: 600; font-size: 2.2rem; line-height: 1.4; }
.nft-card__artist { display: flex; align-items: flex-start; gap: 1.2rem; font-family: var(--ff-mono); font-size: 1.6rem; line-height: 1.4; }
.nft-card__artist .c-avatar { width: 2.4rem; height: 2.4rem; }
.nft-card__meta { display: flex; font-family: var(--ff-mono); }
.nft-card__price, .nft-card__bid { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.nft-card__price { padding-right: 2.1rem; text-align: left; }
.nft-card__bid { text-align: right; }
.nft-card__label { font-size: 1.2rem; line-height: 1.1; color: var(--color-caption); }
.nft-card__value { font-size: 1.6rem; line-height: 1.4; }
/* このページのカード地は #2B2B2B（セクション地が #3B3B3B のため反転） */
.artist-cards .nft-card { background: var(--color-bg); }

@media (max-width: 1279.98px) {
  .artist-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 833.98px) {
  .artist-cards__grid { grid-template-columns: 1fr; }
  .nft-card { height: 40.2rem; }
  .nft-card__img { height: 23.8rem; }
  .nft-card__info { padding: 2rem 2rem 2.5rem; }
  .nft-card__price, .nft-card__bid { height: 3.4rem; }
  .nft-card__value { font-size: 1.2rem; line-height: 1.1; }
}
