/* Channel and video pages: the artwork leads. */

.channel-hero {
  position: relative; background-size: cover; background-position: center 30%;
  min-height: 340px; display: flex; align-items: flex-end; padding: 120px 0 28px;
}
.channel-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 12, 16, .05) 0%, rgba(11, 12, 16, .55) 55%, var(--bg) 100%); pointer-events: none; }
.channel-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; }
.channel-hero__avatar { box-shadow: 0 0 0 4px var(--bg), var(--shadow); }
.channel-hero__eyebrow { font-size: 12px; color: var(--text-soft); }
.channel-hero__address { letter-spacing: .04em; }
.channel-hero__title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(32px, 5vw, 56px); margin: 6px 0 10px; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.channel-hero__stats { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--text-soft); }
.channel-hero__stats strong { color: var(--text); font-weight: 600; }
.channel-hero__actions { display: grid; gap: 12px; justify-items: end; }
.channel-hero__rate { display: flex; align-items: center; gap: 10px; margin: 0; }
.channel-hero__rate .star-input__star { width: 26px; height: 28px; font-size: 26px; line-height: 28px; }
@media (max-width: 860px) {
  .channel-hero { min-height: 0; padding-top: 90px; }
  .channel-hero__inner { grid-template-columns: 1fr; gap: 14px; }
  .channel-hero__avatar { --size: 88px !important; }
  .channel-hero__actions { justify-items: start; }
}
.channel-tabs { margin-top: 4px; }
.tab-count { font-size: 11px; color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.channel-description { font-size: 15px; color: var(--text-soft); max-width: 68ch; margin: 0; }

.growth-stats { margin-top: 12px; }
.claim-cta { padding: 18px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.claim-cta p { margin: 0 0 8px; }
.claim-cta .serif { font-size: 18px; }
.creator-card__bio { font-size: 16px; color: var(--text-soft); }
.creator-card__bio p { margin: 0 0 .6em; }
.creator-card__links { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.creator-card__links a { color: var(--text-soft); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }

.similar-why { margin: -6px 0 10px; }
.similar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.similar-list__item { display: flex; align-items: center; gap: 10px; padding: 6px; margin: 0 -6px; border-radius: var(--radius); }
.similar-list__item:hover { background: var(--surface); }
.similar-list__item > span { display: flex; flex-direction: column; line-height: 1.3; }
.similar-list__name { font-weight: 600; font-size: 14px; }

.member-list { list-style: none; padding: 0; margin: 16px 0 0; }
.member-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.member-row__rank { width: 24px; text-align: right; color: var(--muted); font-family: var(--font-serif); }
.member-row__body { flex: 1; min-width: 0; }
.member-row__name { font-weight: 600; }
.member-row__karma { display: flex; flex-direction: column; align-items: flex-end; }
.member-row__karma .stat__value { font-size: 18px; }
.members-top { display: grid; grid-template-columns: 3fr 2fr; gap: 0 48px; }
@media (max-width: 800px) { .members-top { grid-template-columns: 1fr; } }

.settings-links { border: 0; padding: 0; margin: 0; }
.settings-links__row { flex-wrap: nowrap; }
.settings-links__row .input:first-child { flex: 0 0 34%; }

/* Video page */
.video-hero { position: relative; padding: 28px 0 8px; overflow: hidden; }
.video-hero::before { content: ""; position: absolute; inset: -40px; background: var(--hero-img) center / cover; filter: blur(48px) saturate(1.3) brightness(.45); opacity: .7; }
.video-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, var(--bg)); }
.video-hero__inner { position: relative; z-index: 1; max-width: 1000px; }

.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__poster { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; width: 100%; }
.player__poster img { width: 100%; height: 100%; object-fit: cover; transition: filter .25s; }
.player__poster:hover img { filter: brightness(.85); }
.player__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(10, 11, 14, .72); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .2s; }
.player__play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.player__poster:hover .player__play { transform: translate(-50%, -50%) scale(1.08); }

.video-channel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--text-soft); }
.video-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); margin: 10px 0 8px; }
.video-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.video-actions { margin-top: 18px; }
.my-logs { margin: 14px 0 0; }
.friend-logs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.friend-logs li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.video-description p { margin: 0 0 .6em; overflow-wrap: anywhere; }
