/* 鉴黄师品牌站 — 艺人详情 */
.artist-page-body { min-height: 100vh; }

.artist-page {
  min-height: calc(100vh - var(--header-h));
  padding: 34px 0 90px;
}

.artist-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 26px;
  text-align: center;
}

.artist-profile-cover {
  width: min(254px, 72vw);
  aspect-ratio: 254 / 144;
  overflow: hidden;
  border: 2px solid #d7a84e;
  border-radius: 10px;
  background: #121416;
  box-shadow: 0 0 0 3px rgba(215, 168, 78, .12), 0 16px 40px rgba(0, 0, 0, .5);
}

.artist-profile-cover img { width: 100%; height: 100%; object-fit: cover; }

.artist-profile h1 {
  margin-top: 14px;
  color: #f2c96c;
  font-family: "Songti SC", "STSong", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.artist-region {
  min-width: 76px;
  margin: 8px 0 0;
  padding: 3px 14px;
  border: 1px solid rgba(237, 179, 57, .82);
  border-radius: 999px;
  color: #edb339;
  font-size: 12px;
  line-height: 18px;
}

.brand-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
}

.brand-breadcrumb a { color: #e4b954; }

.artist-video-detail {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.artist-video-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
  gap: 36px;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
}

.artist-video-detail-card .artist-video-cover { aspect-ratio: 16 / 9; }
.artist-video-detail-copy { align-self: center; }
.artist-video-kicker { color: #e4b954; font-size: 14px; }
.artist-video-detail-copy h1 { margin-top: 10px; color: #fff; font-size: clamp(24px, 3vw, 38px); line-height: 1.35; }
.artist-video-detail-copy > p:not(.artist-video-kicker) { margin-top: 16px; color: rgba(255, 255, 255, .68); line-height: 1.8; }
.artist-video-detail-copy .artist-video-meta { flex-wrap: wrap; margin-top: 18px; }
.artist-back-link { display: inline-flex; margin-top: 26px; color: #e4b954; }

@media (max-width: 760px) {
  .artist-video-detail { width: min(100% - 28px, 1120px); }
  .artist-video-detail-card { grid-template-columns: 1fr; gap: 22px; padding: 16px; }
}

.artist-works { padding-top: 2px; }

.artist-works-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.artist-works-head h2 {
  position: relative;
  padding-left: 13px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.artist-works-head h2::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: #f0b633;
}

.artist-works-head > span { color: rgba(255, 255, 255, .82); font-size: 13px; }

.artist-video-grid {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
}

.artist-video-viewport { overflow: hidden; transition: height .3s ease; }

.artist-video-track {
  display: flex;
  align-items: flex-start;
  will-change: transform;
  transition: transform .45s ease;
}

.artist-video-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.artist-video-pager :is(a, button, span) {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text-2);
  font-size: 13px;
}

.artist-video-pager :is(a, button, span).active {
  border-color: transparent;
  background: var(--gold-grad);
  color: #1a1206;
  font-weight: 700;
}

.artist-video-pager :is(a, button):hover:not(.active):not([data-video-prev]):not([data-video-next]) { border: 1px solid #F7C96B; color: #F7C96B; }

.artist-video-pager :is(a, button, span)[data-video-prev],
.artist-video-pager :is(a, button, span)[data-video-next] {
  width: 34px;
  min-width: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 18px;
}

.artist-video-pager :is(a, button)[data-video-prev]:hover,
.artist-video-pager :is(a, button)[data-video-next]:hover { border: 0; background: transparent; color: #F7C96B; }

.artist-video-pager .disabled { cursor: default; opacity: .38; }

.artist-video-pager .artist-video-page-ellipsis {
  min-width: 24px;
  padding: 0 2px;
  border-color: transparent;
  background: transparent;
}

.artist-video-card { min-width: 0; }

.artist-video-open { display: block; width: 100%; text-align: left; }

.artist-video-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 254 / 144;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(135deg, #202226, #090a0c);
}

.artist-video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.artist-video-card:hover .artist-video-cover img { transform: scale(1.045); }

.artist-video-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 70% 30%, rgba(232, 163, 61, .18), transparent 28%),
    linear-gradient(135deg, #202226, #090a0c);
}

.artist-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding-left: 3px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 213, 126, .55);
  border-radius: 50%;
  background: rgba(226, 164, 61, .78);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.artist-video-card:hover .artist-video-play,
.artist-video-open:focus-visible .artist-video-play { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }

.artist-video-open h3 {
  display: -webkit-box;
  min-height: 44px;
  margin-top: 8px;
  overflow: hidden;
  color: #f4f4f4;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.artist-video-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin-top: 5px;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  line-height: 18px;
}

.artist-video-meta span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.artist-video-meta .meta-time { margin-right: auto; }

.artist-video-meta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.artist-video-empty {
  padding: 80px 24px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  color: rgba(255, 255, 255, .48);
  text-align: center;
}

.artist-player-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.artist-player-modal[hidden] { display: none; }

.artist-player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.artist-player-dialog {
  position: relative;
  width: min(800px, 100%, calc(177.7778vh - 227.56px));
  overflow: hidden;
  border: 0;
  background: #030405;
  box-shadow: none;
  animation: artist-player-in .2s ease-out;
}

@keyframes artist-player-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
}

.artist-player-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: rgba(0, 0, 0, .45);
  color: #fff;
}

.artist-player-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.artist-player-stage { position: relative; aspect-ratio: 16 / 9; background: #000; }
.artist-player-stage video { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; }

.artist-player-toggle[hidden],
.artist-player-controls[hidden] { display: none !important; }

.artist-player-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: block;
  width: 56px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
  transition: opacity .18s ease, visibility .18s ease;
}

.artist-player-toggle img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.artist-player-toggle-pause { display: none !important; }
.artist-player-stage.is-playing .artist-player-toggle-play { display: none; }
.artist-player-stage.is-playing .artist-player-toggle-pause { display: block !important; }
.artist-player-stage.is-toggle-hidden .artist-player-toggle {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.artist-player-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 12px 10px;
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
}

.artist-player-controls time {
  flex: 0 0 auto;
  min-width: 28px;
  font-variant-numeric: tabular-nums;
}

.artist-player-controls time:last-child { text-align: right; }

.artist-player-progress {
  --played: 0%;
  width: 100%;
  min-width: 0;
  height: 3px;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background:
    linear-gradient(90deg, #C98A2C 0%, #FFB958 100%) 0 0 / var(--played) 100% no-repeat,
    #999999;
  cursor: pointer;
}

.artist-player-progress::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.artist-player-progress::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  margin-top: -2.5px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: #FFB958;
}

.artist-player-progress::-moz-range-track { height: 3px; background: transparent; }
.artist-player-progress::-moz-range-progress { height: 3px; background: linear-gradient(90deg, #C98A2C 0%, #FFB958 100%); }
.artist-player-progress::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #FFB958; }

.artist-player-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .45);
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  pointer-events: none;
}

.artist-player-loading[hidden] { display: none; }

.artist-player-footer {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: #050607;
}

.artist-player-footer > div { min-width: 0; }
.artist-player-footer strong { display: block; color: #fff; font-size: 16px; font-weight: 500; line-height: 20px; }
.artist-player-footer small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .45); font-size: 12px; line-height: 15px; }

.artist-player-download {
  display: inline-flex;
  flex-shrink: 0;
  width: 108px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7cc70, #e5a63d);
  color: #302006;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.artist-player-download:hover { color: #302006; filter: brightness(1.05); }

@media (max-width: 900px) {
  .artist-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .artist-page { padding-top: 24px; padding-bottom: 58px; }
  .artist-profile { padding-bottom: 24px; }
  .artist-profile-cover { width: min(254px, 76vw); }
  .artist-profile h1 { font-size: 25px; }
  .artist-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .artist-video-open h3 { min-height: 40px; font-size: 14px; line-height: 20px; }
  .artist-video-meta { gap: 9px; font-size: 10px; line-height: 14px; }
  .artist-video-meta span { gap: 3px; }
  .artist-video-meta svg { width: 12px; height: 12px; flex-basis: 12px; }
  .artist-player-modal { padding: 12px; }
  .artist-player-dialog { border-radius: 12px; }

  .artist-player-footer {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
  }

  .artist-player-footer > div { width: 100%; }
  .artist-player-footer strong { font-size: 14px; line-height: 20px; }
  .artist-player-footer small { max-width: none; margin-top: 4px; font-size: 10px; line-height: 15px; }
  .artist-player-download { width: 100%; margin-top: 12px; }
}

@media (max-width: 420px) {
  .artist-works .container { padding: 0 14px; }
}
