@charset "UTF-8";

.lc-channel-dock,
.lc-channel-viewer,
.lc-channel-backdrop {
  font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans CN", sans-serif;
}

.lc-channel-dock,
.lc-channel-dock *,
.lc-channel-viewer,
.lc-channel-viewer * {
  box-sizing: border-box;
}

body.lc-channel-no-scroll {
  overflow: hidden;
}

.lc-channel-dock {
  position: fixed;
  top: 50%;
  right: 24px;
  z-index: 1900;
  color: #242138;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(-50%);
}

.lc-channel-trigger {
  width: 72px;
  min-height: 90px;
  padding: 13px 8px 12px;
  border: 1px solid rgba(30, 140, 230, 0.18);
  border-radius: 18px;
  outline: 0;
  color: #1e8ce6;
  font: inherit;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(0, 39, 78, 0.16);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}

.lc-channel-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 140, 230, 0.38);
  box-shadow: 0 16px 38px rgba(0, 39, 78, 0.2);
}

.lc-channel-trigger:focus-visible,
.lc-channel-panel__close:focus-visible,
.lc-channel-card:focus-visible,
.lc-channel-card__scan-label:focus-visible,
.lc-channel-articles-trigger:focus-visible,
.lc-channel-articles__close:focus-visible,
.lc-channel-articles__item:focus-visible,
.lc-channel-viewer__close:focus-visible,
.lc-channel-viewer__primary:focus-visible,
.lc-channel-viewer__secondary:focus-visible,
.lc-channel-viewer__compat:focus-visible,
.lc-channel-viewer__article:focus-visible {
  outline: 3px solid rgba(30, 140, 230, 0.28);
  outline-offset: 3px;
}

.lc-channel-trigger .iconfont {
  display: block;
  margin-bottom: 7px;
  font-size: 25px;
  line-height: 1;
}

.lc-channel-trigger__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.lc-channel-dock.is-open .lc-channel-trigger {
  color: #ffffff;
  border-color: #1e8ce6;
  background: #1e8ce6;
  box-shadow: 0 14px 36px rgba(30, 140, 230, 0.3);
}

.lc-channel-panel {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  width: 392px;
  max-height: calc(100vh - 120px);
  padding: 20px;
  overflow: auto;
  border: 1px solid rgba(3, 113, 208, 0.13);
  border-radius: 22px;
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 32, 67, 0.2);
  transform: translate(18px, -50%) scale(0.98);
  transform-origin: right center;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.lc-channel-dock.is-open .lc-channel-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%) scale(1);
  pointer-events: auto;
}

.lc-channel-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.lc-channel-panel__title {
  display: block;
  margin: 0;
  color: #001631;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.lc-channel-panel__subtitle {
  display: block;
  margin-top: 4px;
  color: #666666;
  font-size: 13px;
  line-height: 1.5;
}

.lc-channel-panel__close {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(30, 140, 230, 0.16);
  border-radius: 10px;
  color: #0371d0;
  background: #f4f9fe;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.lc-channel-panel__close:hover {
  border-color: rgba(30, 140, 230, 0.35);
  background: #edf6fd;
}

.lc-channel-list {
  display: grid;
  gap: 10px;
}

.lc-channel-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid #e7f0f8;
  border-radius: 16px;
  color: #242138;
  font: inherit;
  text-align: left;
  text-decoration: none;
  background: #f8fbfe;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}

.lc-channel-card:hover {
  border-color: rgba(30, 140, 230, 0.42);
  color: #242138;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 63, 120, 0.1);
  transform: translateX(-2px);
}

.lc-channel-card--wechat {
  cursor: default;
}

.lc-channel-card__qr-wrap {
  display: block;
  width: 108px;
  border-radius: 12px;
}

.lc-channel-card__qr {
  display: block;
  width: 108px;
  height: 108px;
  padding: 5px;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  object-fit: contain;
  background: #ffffff;
}

.lc-channel-card__content {
  min-width: 0;
}

.lc-channel-card__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #1e8ce6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.lc-channel-card__title {
  display: block;
  margin: 0;
  color: #001631;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.lc-channel-card__description {
  display: block;
  margin-top: 5px;
  color: #666666;
  font-size: 13px;
  line-height: 1.55;
}

.lc-channel-card__action {
  display: block;
  margin-top: 8px;
  color: #0371d0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.lc-channel-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.lc-channel-card__scan-label,
.lc-channel-articles-trigger {
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(30, 140, 230, 0.18);
  border-radius: 8px;
  color: #0371d0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.lc-channel-card__scan-label:hover,
.lc-channel-articles-trigger:hover {
  border-color: rgba(30, 140, 230, 0.4);
  color: #0371d0;
  background: #edf6fd;
}

.lc-channel-articles-trigger span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 3px;
  padding: 0 4px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 10px;
  line-height: 18px;
  background: #1e8ce6;
}

.lc-channel-articles {
  position: absolute;
  top: 50%;
  right: calc(100% + 420px);
  width: 360px;
  max-height: calc(100vh - 120px);
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(3, 113, 208, 0.13);
  border-radius: 22px;
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 32, 67, 0.2);
  transform: translate(18px, -50%) scale(0.98);
  transform-origin: right center;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.lc-channel-dock.is-articles-open .lc-channel-articles {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%) scale(1);
  pointer-events: auto;
}

.lc-channel-articles__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.lc-channel-articles__eyebrow,
.lc-channel-articles__subtitle {
  display: block;
}

.lc-channel-articles__eyebrow {
  margin-bottom: 3px;
  color: #1e8ce6;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.lc-channel-articles__title {
  display: block;
  color: #001631;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.lc-channel-articles__subtitle {
  margin-top: 3px;
  color: #6a7480;
  font-size: 12px;
  line-height: 1.5;
}

.lc-channel-articles__close {
  flex: 0 0 auto;
  min-width: 52px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(30, 140, 230, 0.16);
  border-radius: 10px;
  color: #0371d0;
  font-family: inherit;
  background: #f4f9fe;
  cursor: pointer;
}

.lc-channel-articles__list {
  display: grid;
  gap: 9px;
}

.lc-channel-articles__item {
  display: block;
  padding: 14px;
  border: 1px solid #e4eef7;
  border-radius: 14px;
  color: #001631;
  text-decoration: none;
  background: linear-gradient(145deg, #f8fbfe 0%, #f2f8fd 100%);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lc-channel-articles__item:hover {
  border-color: rgba(30, 140, 230, 0.4);
  color: #001631;
  box-shadow: 0 10px 24px rgba(0, 63, 120, 0.1);
  transform: translateY(-2px);
}

.lc-channel-articles__date {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #0371d0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  background: #e8f4fd;
}

.lc-channel-articles__item-title {
  display: -webkit-box;
  overflow: hidden;
  color: #001631;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.lc-channel-articles__item-meta {
  display: block;
  margin-top: 9px;
  color: #0371d0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.lc-channel-articles__empty,
.lc-channel-articles__hint {
  color: #6a7480;
  font-size: 12px;
  line-height: 1.6;
}

.lc-channel-articles__empty {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  background: #f7fafc;
}

.lc-channel-articles__hint {
  margin: 12px 0 0;
  text-align: center;
}

.lc-channel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1850;
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 22, 49, 0.42);
  cursor: default;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.lc-channel-viewer[hidden] {
  display: none !important;
}

.lc-channel-viewer {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #242138;
  font-size: 14px;
  line-height: 1.5;
  background: rgba(0, 22, 49, 0.7);
}

.lc-channel-viewer__dialog {
  width: min(420px, 100%);
  padding: 20px;
  border-radius: 22px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 18, 39, 0.32);
}

.lc-channel-viewer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  text-align: left;
}

.lc-channel-viewer__title {
  margin: 0;
  color: #001631;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.lc-channel-viewer__close {
  flex: 0 0 auto;
  min-width: 52px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(30, 140, 230, 0.18);
  border-radius: 10px;
  color: #0371d0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  background: #f4f9fe;
  cursor: pointer;
}

.lc-channel-viewer__image {
  display: block;
  width: min(340px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  object-fit: contain;
  background: #ffffff;
  -webkit-touch-callout: default;
  user-select: auto;
}

.lc-channel-viewer__hint {
  margin: 14px 0 0;
  color: #414652;
  font-size: 14px;
  line-height: 1.6;
}

.lc-channel-viewer__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #1e8ce6;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.lc-channel-viewer__account {
  padding: 14px;
  border: 1px solid #e4eef7;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fbfe 0%, #f1f8fd 100%);
}

.lc-channel-viewer__image--wechat {
  width: min(230px, 68vw);
}

.lc-channel-viewer__account-name {
  display: block;
  margin-top: 8px;
  color: #001631;
  font-size: 18px;
  line-height: 1.4;
}

.lc-channel-viewer__status {
  margin: 13px 0;
  color: #414652;
  font-size: 13px;
  line-height: 1.6;
}

.lc-channel-viewer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.lc-channel-viewer__primary,
.lc-channel-viewer__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.lc-channel-viewer__primary {
  border: 1px solid #1e8ce6;
  color: #ffffff;
  background: #1e8ce6;
  box-shadow: 0 9px 20px rgba(30, 140, 230, 0.22);
}

.lc-channel-viewer__primary:hover {
  color: #ffffff;
  background: #087fdc;
}

.lc-channel-viewer__secondary {
  border: 1px solid rgba(30, 140, 230, 0.2);
  color: #0371d0;
  background: #f4f9fe;
}

.lc-channel-viewer__secondary:hover {
  border-color: rgba(30, 140, 230, 0.4);
  background: #edf6fd;
}

.lc-channel-viewer__compat,
.lc-channel-viewer__article {
  display: block;
  width: fit-content;
  margin: 11px auto 0;
  color: #0371d0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.lc-channel-viewer__article {
  margin-top: 7px;
  color: #4f6378;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lc-channel-viewer--wechat .lc-channel-viewer__hint {
  margin-top: 10px;
  color: #687482;
  font-size: 12px;
}

@media (max-width: 767px) {
  .lc-channel-dock {
    top: auto;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    transform: none;
  }

  .lc-channel-trigger {
    width: 64px;
    min-height: 64px;
    padding: 9px 6px 8px;
    border-radius: 17px;
  }

  .lc-channel-trigger:hover {
    transform: none;
  }

  .lc-channel-trigger .iconfont {
    margin-bottom: 4px;
    font-size: 22px;
  }

  .lc-channel-trigger__label {
    font-size: 12px;
    letter-spacing: 0;
  }

  .lc-channel-panel {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: calc(90px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 118px - env(safe-area-inset-bottom));
    padding: 16px;
    border-radius: 20px;
    transform: translateY(22px) scale(0.98);
    transform-origin: bottom center;
  }

  .lc-channel-dock.is-open .lc-channel-panel {
    transform: translateY(0) scale(1);
  }

  .lc-channel-panel__header {
    margin-bottom: 12px;
  }

  .lc-channel-panel__title {
    font-size: 18px;
  }

  .lc-channel-panel__subtitle {
    font-size: 12px;
  }

  .lc-channel-panel__close {
    min-width: 52px;
    min-height: 40px;
  }

  .lc-channel-list {
    gap: 8px;
  }

  .lc-channel-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 9px;
    border-radius: 14px;
  }

  .lc-channel-card:hover {
    transform: none;
  }

  .lc-channel-card__qr {
    width: 92px;
    height: 92px;
    padding: 4px;
    border-radius: 10px;
  }

  .lc-channel-card__qr-wrap {
    width: 92px;
    border-radius: 10px;
  }

  .lc-channel-card__eyebrow {
    margin-bottom: 2px;
    font-size: 11px;
  }

  .lc-channel-card__title {
    font-size: 16px;
  }

  .lc-channel-card__description {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.45;
  }

  .lc-channel-card__action {
    margin-top: 5px;
    font-size: 12px;
  }

  .lc-channel-card__actions {
    gap: 5px;
    margin-top: 5px;
  }

  .lc-channel-card__scan-label,
  .lc-channel-articles-trigger {
    min-height: 27px;
    padding: 3px 7px;
    font-size: 11px;
  }

  .lc-channel-articles {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: calc(90px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 3;
    width: auto;
    max-height: calc(100dvh - 118px - env(safe-area-inset-bottom));
    padding: 16px;
    border-radius: 20px;
    transform: translateY(22px) scale(0.98);
    transform-origin: bottom center;
  }

  .lc-channel-dock.is-articles-open .lc-channel-articles {
    transform: translateY(0) scale(1);
  }

  .lc-channel-articles__title {
    font-size: 18px;
  }

  .lc-channel-articles__close {
    min-height: 40px;
  }

  .lc-channel-backdrop {
    display: block;
  }

  .lc-channel-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .lc-channel-viewer {
    padding: 12px;
  }

  .lc-channel-viewer__dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 16px;
    overflow: auto;
    border-radius: 20px;
  }

  .lc-channel-viewer__title {
    font-size: 18px;
  }

  .lc-channel-viewer__image {
    width: min(76vw, 320px);
  }

  .lc-channel-viewer__image--wechat {
    width: min(52vw, 210px);
  }

  .lc-channel-viewer__account {
    padding: 11px;
  }

  .lc-channel-viewer__status {
    margin: 10px 0;
  }
}

@media (max-width: 359px) {
  .lc-channel-viewer__actions {
    grid-template-columns: 1fr;
  }

  .lc-channel-panel {
    right: 8px;
    left: 8px;
    padding: 13px;
  }

  .lc-channel-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  }

  .lc-channel-card__qr {
    width: 82px;
    height: 82px;
  }

  .lc-channel-card__qr-wrap {
    width: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-channel-trigger,
  .lc-channel-panel,
  .lc-channel-card,
  .lc-channel-articles,
  .lc-channel-articles__item,
  .lc-channel-backdrop {
    transition: none;
  }
}
