/* Channel Hero — 본문 892px 안, 냥집 톤 */

.channel-hero {
  --channel-hero-border: #e8ddd3;
  --channel-hero-shadow: 0 1px 4px rgba(107, 74, 54, 0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.channel-hero--banner {
  gap: 8px;
}

.channel-hero-banner {
  width: 100%;
  height: 145px;
  overflow: hidden;
  border: 1px solid var(--channel-hero-border);
  border-radius: 8px;
  box-shadow: var(--channel-hero-shadow);
  line-height: 0;
}

.channel-hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.channel-hero-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid var(--channel-hero-border);
  border-radius: 8px;
  box-shadow: var(--channel-hero-shadow);
  background: #fffaf6;
}

.channel-hero.is-skeleton,
.channel-hero > .video-loading {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid #efe8e2;
  border-radius: 8px;
  background: #fffaf6;
}

.channel-hero + .channel-detail,
.channel-hero + .channel-list {
  margin-top: 22px;
}

.channel-page .channel-hero + .channel-detail,
.channel-list-page .channel-hero + .channel-list {
  margin-top: 28px;
}

.channel-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.channel-hero-avatar-link {
  flex: 0 0 90px;
  display: block;
  line-height: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.channel-hero-avatar-link:hover {
  opacity: 0.86;
}

.channel-hero .channel-avatar {
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  font-size: 28px;
}

.channel-hero .channel-avatar img {
  width: 90px;
  height: 90px;
}

.channel-hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.channel-hero-name {
  font-size: 29px;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.channel-hero-name a:hover {
  color: var(--brown);
}

.channel-hero-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.channel-hero-handle {
  color: #6f5e50;
  font-weight: 600;
}

.channel-hero-sep {
  color: #d5ccc4;
}

.channel-hero-flag {
  display: inline-block;
  margin-left: 5px;
  font-size: 14px;
  line-height: 1;
  vertical-align: -1px;
}

.channel-hero-flag--lead {
  margin-left: 0;
  margin-right: 5px;
  vertical-align: -2px;
}

.channel-hero-flag--flat {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(80, 60, 40, 0.14);
  vertical-align: -1px;
}

.channel-hero-flag--lead.channel-hero-flag--flat {
  vertical-align: -2px;
}

.channel-desc-row dd {
  min-width: 0;
}

.channel-desc-row dd a {
  color: var(--brown);
  text-decoration: none;
}

.channel-desc-row dd a:hover,
.channel-desc-row dd a:focus {
  text-decoration: underline;
}

.channel-hero-desc-line {
  display: flex;
  align-items: baseline;
  min-width: 0;
  margin-top: 8px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
}

.channel-hero-desc {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.channel-hero-more {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #5c534b;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  cursor: pointer;
}

.channel-hero-more:hover {
  color: var(--brown);
}

.channel-hero-aside {
  flex: 0 0 300px;
}

.channel-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.channel-hero-actions .picked-btn {
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  font-size: 12px;
}

.channel-hero-actions .hanmadi-count {
  font-size: 14px;
  font-weight: 760;
}

.channel-hero-actions .picked-btn--scrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.channel-hero-scrap-icon {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.picked-btn--scrap.is-on .channel-hero-scrap-icon path {
  fill: currentColor;
}

.channel-hero-note {
  display: none;
  width: 100%;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 12px;
}

.channel-hero-note.is-open {
  display: block;
}

body.is-channel-desc-open,
body.is-channel-modal-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.channel-desc-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}

.channel-desc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 28, 22, 0.38);
}

.channel-desc-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 480px;
  max-width: calc(100% - 48px);
  max-height: 72vh;
  border: 1px solid #efe8e2;
  border-radius: 8px;
  background: #fffaf6;
  outline: none;
}

.channel-desc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #efe8e2;
}

.channel-desc-head h2 {
  min-width: 0;
  font-size: 17px;
  font-weight: 740;
  letter-spacing: -0.03em;
}

.channel-desc-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.channel-desc-close:hover,
.channel-desc-close:focus {
  color: var(--brown);
}

.channel-desc-body {
  overflow: auto;
  padding: 14px 16px 18px;
}

.channel-desc-label {
  margin-bottom: 8px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 720;
}

.channel-desc-text {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.channel-desc-body .channel-desc-text + .channel-desc-label {
  margin-top: 16px;
}

.channel-desc-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid #f3ece6;
  color: var(--ink-soft);
  font-size: 13px;
}

.channel-desc-row:first-child {
  border-top: 0;
}

.channel-desc-row dt {
  color: var(--muted);
}

.channel-mini-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}

.channel-mini-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 28, 22, 0.38);
}

.channel-mini-dialog {
  position: relative;
  z-index: 1;
  width: 280px;
  max-width: calc(100% - 48px);
  padding: 20px 18px 16px;
  border: 1px solid #efe8e2;
  border-radius: 8px;
  background: #fffaf6;
  text-align: center;
  outline: none;
}

.channel-mini-dialog .channel-desc-close {
  position: absolute;
  top: 8px;
  right: 8px;
}

.channel-mini-img {
  display: block;
  width: 84px;
  height: auto;
  margin: 2px auto 12px;
}

.channel-mini-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

.channel-mini-text {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.channel-mini-dialog .picked-btn {
  width: 100%;
  margin-top: 14px;
  padding: 8px 10px;
  font-size: 13px;
}

.channel-hero--compact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid #efe8e2;
  border-radius: 8px;
  background: #fffaf6;
  cursor: pointer;
}

.channel-hero--compact .channel-hero-avatar-link,
.channel-hero--compact .channel-avatar,
.channel-hero--compact .channel-avatar img {
  width: 74px;
  height: 74px;
  flex-basis: 74px;
}

.channel-hero--compact .channel-avatar {
  font-size: 23px;
}

.channel-hero--compact .channel-hero-name {
  font-size: 23px;
}

.channel-hero--compact .channel-hero-sub {
  margin-top: 6px;
  font-size: 12px;
}

.channel-hero--compact .channel-hero-desc-line {
  margin-top: 6px;
  font-size: 12px;
}

.channel-hero--compact .channel-hero-aside {
  display: none;
}

.channel-hero-metric {
  margin-top: 5px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
}
