:root {
  --text: #1f2937;
  --text-secondary: #4b5563;
  --muted: #5f6878;
}

* {
  box-sizing: border-box;
}

html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
    margin: 0;
    background: #e9e9e9;
    color: var(--text);
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover, img:hover{
  cursor: pointer;
}

h1 {
  font-size: 22px;
  line-height: 32px;
}

input, textarea, select{
  font: inherit;
}

.yxyh-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

li {
  list-style: none;
}

input::-webkit-input-placeholder, ::placeholder{
  color: var(--muted);
}

::-webkit-scrollbar {
  width: 5px;
  height: 6px;
}

::-webkit-scrollbar-track-piece {
  background-color: #ededed;
}

::-webkit-scrollbar-thumb:vertical {
  height: 5px;
  background-color: #777;
}

::-webkit-scrollbar-thumb:horizontal {
  width: 0;
  background-color: #ccc;
}

.yxyh-font-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #e9e9e9;
  color: var(--text-secondary);
}

html.yxyh-font-alimama .yxyh-font-gate {
  font-family: "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  font-variation-settings: normal;
}

html.yxyh-font-gate-active,
html.yxyh-font-gate-active body {
  overflow: hidden;
}

html.yxyh-font-gate-active .yxyh-font-gate {
  display: block;
}

html.yxyh-font-gate-active .yxyh-main,
html.yxyh-font-gate-active .jinsom-footer {
  visibility: hidden;
  opacity: 0;
}

.yxyh-font-gate-content {
  position: absolute;
  top: calc(31% + 72px);
  left: 50%;
  z-index: 1;
  width: min(560px, calc(100vw - 48px));
  transform: translateX(-50%);
  text-align: center;
}

.yxyh-font-gate-description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(18px) scale(.96);
}

html.yxyh-font-gate-description-visible .yxyh-font-gate-description {
  animation: yxyh-font-description-in .55s cubic-bezier(.16, 1, .3, 1) forwards;
}

.yxyh-font-gate-data {
  display: none;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 22px;
}

html.yxyh-font-gate-waiting .yxyh-font-gate-data {
  display: inline-flex;
  align-items: flex-end;
  column-gap: 4px;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: yxyh-font-data-in .38s cubic-bezier(.16, 1, .3, 1) both;
  transition: opacity .48s ease, transform .48s ease;
}

html.yxyh-font-gate-waiting .yxyh-font-gate-data > span {
  display: inline-block;
  animation: yxyh-font-data-jump 1.25s cubic-bezier(.34, 1.56, .64, 1) infinite;
}

html.yxyh-font-gate-waiting .yxyh-font-gate-data > span:nth-child(2) {
  animation-delay: .1s;
}

html.yxyh-font-gate-waiting .yxyh-font-gate-data > span:nth-child(3) {
  animation-delay: .2s;
}

html.yxyh-font-gate-waiting .yxyh-font-gate-data > span:nth-child(4) {
  animation-delay: .3s;
}

html.yxyh-font-gate-waiting .yxyh-font-gate-data > span:nth-child(5) {
  animation-delay: .4s;
}

html.yxyh-font-gate-active .yxyh-header {
  top: 31%;
  left: 50%;
  z-index: 60;
  width: 100px;
  height: 100px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: none;
}

html.yxyh-font-gate-active .yxyh-header > img {
  width: 100px;
  height: 100px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, .2);
  animation: yxyh-font-avatar-enter .8s cubic-bezier(.16, 1, .3, 1) both;
}

html.yxyh-font-gate-active.yxyh-font-gate-heartbeat .yxyh-header > img {
  animation: yxyh-font-avatar-heartbeat 2s cubic-bezier(.45, 0, .55, 1) infinite;
}

html.yxyh-font-gate-active .yxyh-header > .yxyh-tag-back {
  display: none;
}

html.yxyh-font-gate-closing .yxyh-font-gate-description {
  opacity: 0;
  transform: translateY(-10px) scale(.98);
  animation: none;
  transition: opacity .32s ease, transform .36s ease;
}

html.yxyh-font-gate-closing .yxyh-font-gate-data {
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  animation: none;
}

html.yxyh-font-gate-closing .yxyh-font-gate {
  opacity: 0;
  transition: opacity .2s ease .64s;
}

html.yxyh-font-gate-active.yxyh-font-gate-closing .yxyh-header {
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  transition: top .82s cubic-bezier(.16, 1, .3, 1), left .82s cubic-bezier(.16, 1, .3, 1), transform .82s cubic-bezier(.16, 1, .3, 1);
}

html.yxyh-font-gate-active.yxyh-font-gate-closing .yxyh-header > img {
  animation: none;
  transition: box-shadow .82s ease;
  box-shadow: 0 0 5px #ccc;
}

html.yxyh-font-gate-finished .yxyh-main,
html.yxyh-font-gate-finished .jinsom-footer {
  animation: yxyh-font-content-in .55s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes yxyh-font-avatar-heartbeat {
  0%, 100% { transform: scale(1); }
  28% { transform: scale(1.07); }
  50% { transform: scale(.985); }
  70% { transform: scale(1.035); }
  86% { transform: scale(1); }
}

@keyframes yxyh-font-avatar-enter {
  0% { opacity: .2; transform: scale(.42); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes yxyh-font-description-in {
  0% { opacity: 0; transform: translateY(18px) scale(.96); }
  62% { opacity: .72; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes yxyh-font-data-jump {
  0%, 44%, 100% { opacity: .45; transform: translateY(0); }
  16% { opacity: 1; transform: translateY(-8px) scale(1.08); }
  28% { opacity: .8; transform: translateY(1px) scale(.98); }
}

@keyframes yxyh-font-data-in {
  0% { opacity: 0; transform: translateY(8px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes yxyh-font-content-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.yxyh-header {
  position: fixed;
  top: 2px;
  left: 50%;
  width: 100px;
  height: 100px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  transition: transform .28s ease;
  cursor: pointer;
}

.yxyh-header > img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100px;
  height: 100px;
  padding: 5px;
  background: #ffffff;
  border-radius: 100%;
  transition: opacity .34s ease, transform .46s cubic-bezier(.22, .61, .36, 1), box-shadow .2s ease;
  box-shadow: 0 0 5px #ccc;
  object-fit: cover;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.yxyh-header:hover > img,
.yxyh-header:focus-visible > img {
  transform: rotate(360deg);
  box-shadow: 0 0 10px rgba(17, 24, 39, .22);
}

.yxyh-header > img.is-source-leaving {
  opacity: 0;
  transform: scale(.12);
  transition-duration: .34s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.yxyh-header > img.is-source-returning {
  transition-duration: .46s;
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
}

.yxyh-header > img.yxyh-tag-avatar {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform: scale(.12);
  transition: opacity .42s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .2s ease;
}

.yxyh-header > img.yxyh-tag-avatar.is-visible {
  opacity: 1;
  transform: scale(1);
  transition-delay: .26s;
}

.yxyh-header:hover > img.yxyh-tag-avatar.is-visible,
.yxyh-header:focus-visible > img.yxyh-tag-avatar.is-visible {
  transform: rotate(360deg) scale(1);
}

.yxyh-tag-back {
  position: absolute;
  top: 108px;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: var(--text-secondary);
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(17, 24, 39, .12);
  opacity: 0;
  transform: translateX(-50%) translateY(-76px) scale(.42);
  transition: color .18s ease, background .18s ease, opacity .24s ease, transform .42s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
  will-change: opacity, transform;
}

.yxyh-tag-back > i {
  position: relative;
  z-index: 1;
}

.yxyh-tag-back.is-visible {
  border-radius: 50%;
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  transition-delay: .66s;
  transition-duration: .18s, .18s, .24s, .58s;
  transition-timing-function: ease, ease, ease, cubic-bezier(.22, .61, .36, 1);
}

.yxyh-tag-back.is-visible:hover {
  background: #111827;
  color: #fff;
  transform: translateX(-50%) translateY(-2px);
}


.yxyh-main {
    margin: 0 auto 150px;
    position: relative;
    z-index: 1;
    width: 100%;
    transition: transform .28s ease;
}

.yxyh-tag-route {
  display: none;
}

.yxyh-tag-route.is-active {
  display: block;
}

.yxyh-route-source.is-route-behind {
  display: none;
}

.yxyh-rich-emoji {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: text-bottom;
}

.yxyh-rich-image-group {
  --image-cols: 3;
  --image-gap: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--image-gap);
  width: 100%;
  margin: 12px 0;
}

.yxyh-rich-image-count-1 {
  --image-cols: 1;
  width: 70%;
}

.yxyh-rich-image-count-4{
  --image-cols: 2;
}

.yxyh-rich-image-count-2, .yxyh-rich-image-count-3, .yxyh-rich-image-count-5, .yxyh-rich-image-count-6, .yxyh-rich-image-count-7, .yxyh-rich-image-count-8, .yxyh-rich-image-count-9{
  --image-cols: 3;
}

.yxyh-rich-image-item {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - (var(--image-cols) - 1) * var(--image-gap)) / var(--image-cols));
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f5f9;
  cursor: zoom-in;
}

.yxyh-rich-image-count-1 .yxyh-rich-image-item {
  flex-basis: 100%;
  max-height: none;
}

.yxyh-rich-image-count-1 .yxyh-rich-image-item img {
  height: auto;
  max-height: none;
  object-fit: contain;
}

.yxyh-rich-image-group:not(.yxyh-rich-image-count-1) .yxyh-rich-image-item {
  aspect-ratio: 1 / 1;
}

.yxyh-rich-image-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.yxyh-rich-image-item:hover img {
  transform: scale(1.03);
}

.yxyh-rich-image-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.56);
  color: #fff;
  font-size: 22px;
}

.yxyh-rich-audio{
  position: relative;
  overflow: hidden;
  margin: 12px 0;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: rgba(248,251,255,0.36);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  isolation: isolate;
}

.yxyh-rich-audio::before {
  content: '';
  position: absolute;
  inset: -18px;
  background-image: var(--yxyh-rich-audio-cover);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(18px) saturate(1.22);
  transform: scale(1.1);
  opacity: 0.72;
  z-index: 0;
  pointer-events: none;
}

.yxyh-rich-audio::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.26), rgba(248,251,255,0.44));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1;
  pointer-events: none;
}

.yxyh-rich-audio > * {
  position: relative;
  z-index: 2;
}

.yxyh-rich-video{
  margin: 12px 0;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: #f8fbff;
}

.yxyh-rich-code{
  margin: 12px 0;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: #f8fbff;
  overflow: hidden;
}

.yxyh-rich-file{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.yxyh-rich-file a{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: #f8fbff;
  color: #0786b8;
  font-size: 12px;
}

.yxyh-rich-file i{
  flex: 0 0 auto;
  font-size: 14px;
}

.yxyh-rich-file span{
  min-width: 0;
  overflow-wrap: anywhere;
}

/*YXYH-20260710-2227-PC音乐内容卡改为左封面右标题播放器*/
.yxyh-rich-media-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.yxyh-rich-media-cover {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #e2e8f0;
}

.yxyh-rich-audio .yxyh-rich-media-cover {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.yxyh-rich-audio-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.yxyh-rich-media-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.yxyh-rich-audio-copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

.yxyh-rich-audio-copy > * {
  min-width: 0;
}

.yxyh-rich-media-name, .yxyh-rich-media-meta{
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-rich-media-name {
  color: var(--text);
}

.yxyh-rich-media-meta {
  color: var(--muted);
  font-size: 13px;
}

.yxyh-rich-audio-divider {
  flex: 0 0 auto;
  padding: 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.yxyh-rich-audio audio{
  display: block;
  width: 100%;
  height: 36px;
  background: transparent;
  border-radius: 999px;
}

.yxyh-rich-video video{
  display: block;
  width: 100%;
  max-height: 360px;
  background: #000;
  border-radius: 8px;
}

.yxyh-rich-audio audio::-webkit-media-controls-enclosure {
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

.yxyh-rich-audio audio::-webkit-media-controls-panel {
  background: rgba(255,255,255,0.08);
}

/* Safari keeps native media controls opaque and needs extra paint room. */
@supports (-webkit-touch-callout: none) {
  .yxyh-rich-audio {
    padding-bottom: 18px;
  }

  .yxyh-rich-audio audio {
    min-height: 42px;
    height: 42px;
  }
}

.yxyh-rich-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #dce2ea;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.yxyh-rich-code-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.yxyh-rich-code-copy:hover {
  background: #e4ebf3;
  color: var(--text);
}

.yxyh-rich-code pre {
  margin: 0;
  padding: 12px 14px;
  overflow-x: auto;
  font-family: Monaco, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}


.yxyh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.88);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.yxyh-lightbox.is-visible {
  opacity: 1;
}

.yxyh-lightbox-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1120px, 92vw);
  max-height: 88vh;
  margin: 0;
}

.yxyh-lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.yxyh-lightbox-close, .yxyh-lightbox-nav{
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  transition: background 0.18s ease;
}

.yxyh-lightbox-close:hover, .yxyh-lightbox-nav:hover{
  background: rgba(255, 255, 255, 0.24);
}

.yxyh-lightbox-close {
  top: 22px;
  right: 22px;
}

.yxyh-lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.yxyh-lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.yxyh-dialog-btn, .yxyh-dialog-close, .yxyh-modal-close, .yxyh-lightbox-close, .yxyh-lightbox-nav {
  border: 0;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  cursor: pointer;
  min-height: 30px;
  padding: 0 14px;
}

input, textarea, select{
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #dce2ea;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

textarea {
  min-height: 118px;
  resize: none;
}

.yxyh-comment-empty {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 160px;
  color: var(--muted);
  text-align: center;
}

.yxyh-empty-icon {
  font-size: 42px;
  line-height: 1;
  color: var(--muted);
}

.yxyh-empty-text {
  font-size: 14px;
  color: var(--muted);
}

.yxyh-comment-editor {
  width: 100%;
  height: 70px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  outline: 0;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  caret-color: var(--text);
}

.yxyh-comment-editor.is-empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
  font-size: 12px;
  pointer-events: none;
}

.yxyh-comment-box {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  transition: border-color .18s ease;
}

.yxyh-comment-source {
  display: none;
}

.yxyh-comment-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yxyh-comment-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yxyh-emoji-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}

.yxyh-emoji-trigger:hover {
  color: var(--text);
}

.yxyh-private-trigger:hover {
  color: var(--text);
}

.yxyh-emoji-trigger i {
  font-size: 22px;
}

.yxyh-private-trigger i {
  font-size: 22px;
}

.yxyh-private-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}

.yxyh-private-trigger.is-active {
    color: var(--text);
}

/*YXYH-20260712-0020-tooltip三角箭头*/
.yxyh-tooltip-trigger {
    position: relative;
}

.yxyh-tooltip-trigger:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    z-index: 3;
    width: max-content;
    max-width: 160px;
    padding: 6px 8px;
    border-radius: 4px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(4px);
    transition: opacity .16s ease, transform .16s ease;
}

.yxyh-tooltip-trigger:before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    z-index: 4;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #111827;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(4px);
    transition: opacity .16s ease, transform .16s ease;
}

.yxyh-tooltip-trigger:hover:after,
.yxyh-tooltip-trigger:focus-visible:after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.yxyh-tooltip-trigger:hover:before,
.yxyh-tooltip-trigger:focus-visible:before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.yxyh-comment-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 30px;
    border-radius: 15px;
    background: #111827;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.yxyh-comment-submit.is-submitting {
  opacity: .72;
  pointer-events: none;
}

.yxyh-comment-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  z-index: 35;
  width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -1px 0 20px rgba(0, 0, 0, .24);
  transition: right .28s ease;
}

.yxyh-comment-drawer-open .yxyh-comment-drawer {
  right: 0;
}

.yxyh-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    overflow: hidden;
    gap: 10px;
}

.yxyh-drawer-inner::-webkit-scrollbar {
  width: 0;
}

.yxyh-comment-form {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    background: #fff;
}

.yxyh-guest-fields {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 12px;
  margin-bottom: 16px;
}

.yxyh-avatar-select {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.yxyh-avatar-view {
  display: flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #e5e7eb;
}

.yxyh-avatar-view img {
  width: 100%;
  height: 100%;
  cursor: default;
  object-fit: cover;
}

.yxyh-avatar-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.yxyh-guest-name {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-guest-email {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-setting-trigger {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: color .16s ease, transform .2s ease;
}

.yxyh-setting-trigger:hover {
  color: var(--text);
  transform: rotate(90deg);
}

.yxyh-setting-trigger i {
  font-size: 20px;
}

.yxyh-name-random {
  position: absolute;
  top: 50%;
  right: 6px;
  display: flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .16s ease, transform .2s ease;
}

.yxyh-name-random:hover {
  color: var(--text);
  transform: translateY(-50%) rotate(180deg);
}

.yxyh-name-random i {
  font-size: 18px;
}

.yxyh-guest-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, .34);
}

.yxyh-guest-panel {
  display: flex;
  flex-direction: column;
  width: 300px;
  padding: 18px;
  gap: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .2);
}

.yxyh-setting-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.yxyh-avatar-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 8px;
}

.yxyh-avatar-item {
  display: flex;
  flex: 0 0 calc((100% - 32px) / 5);
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
}

.yxyh-avatar-item.is-active {
  border-color: #111827;
}

.yxyh-avatar-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yxyh-setting-row {
  position: relative;
  display: flex;
  align-items: center;
}

.yxyh-setting-row .yxyh-setting-input {
  padding-right: 36px;
}

.yxyh-setting-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 14px;
}

.yxyh-setting-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.yxyh-setting-actions span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 34px;
  border-radius: 4px;
  background: #f3f4f6;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}

.yxyh-setting-actions .is-confirm {
  background: #111827;
  color: #fff;
}

.yxyh-comment-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  gap: 12px;
}

.yxyh-list-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 4px 10px;
  border-bottom: 1px solid #f1f1f1;
  background: #fff;
}

.yxyh-list-head .title {
  color: var(--text);
  font-size: 15px;
}

.yxyh-comment-total {
  color: var(--muted);
  font-size: 12px;
}

.yxyh-comment-total-number {
  margin-right: 3px;
}

.yxyh-comment-items {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  gap: 18px;
}

.yxyh-comment-item::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: -34px;
  left: 15px;
  width: 1px;
  background: #e5e7eb;
  pointer-events: none;
}

.yxyh-comment-item:last-child::before {
  bottom: calc(100% - 16px);
}

.yxyh-comment-items::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.yxyh-comment-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 18px;
}

.yxyh-comment-main {
  flex: 1 1 auto;
  min-width: 0;
}

.yxyh-comment-head {
  display: flex;
  align-items: center;
  min-height: 32px;
  gap: 10px;
  margin-bottom: 8px;
}

.yxyh-comment-avatar {
  position: relative;
  z-index: 1;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
  object-fit: cover;
}

.yxyh-comment-author {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-reply-time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.yxyh-comment-content {
  position: relative;
  padding: 8px 10px;
  border: 1px solid #f1f1f1;
  border-radius: 4px;
  background: #f9fafb;
  color: var(--text-secondary);
  font-size: 14px;
}

.yxyh-comment-content .yxyh-rich-emoji {
  margin: 0 2px;
  vertical-align: -4px;
}

.yxyh-comment-content[data-comment-reply] {
  padding-right: 34px;
  cursor: pointer;
}

.yxyh-comment-content .yxyh-reply-to {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
}

.yxyh-comment-content.is-private {
  border-color: #eee7dc;
  background: #f9f5ef;
  color: #8a6a45;
}

.yxyh-comment-content.is-private .realtime-go {
  color: #a88763;
}

.yxyh-comment-content .realtime-go {
  position: absolute;
  top: 50%;
  right: 10px;
  color: var(--muted);
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.yxyh-comment-content:hover .realtime-go {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.yxyh-comment-content.is-active .realtime-go {
  color: var(--text);
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.yxyh-comment-meta {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.yxyh-item-time {
  color: var(--muted);
  font-size: 12px;
}

.yxyh-delete-btn {
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  user-select: none;
}

.yxyh-delete-btn:hover {
  color: #ef4444;
}

.yxyh-comment-content + .yxyh-reply-form {
  margin-top: 12px;
}

.yxyh-reply-form {
  width: 100%;
}

.yxyh-reply-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.yxyh-reply::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: -30px;
  left: 15px;
  width: 1px;
  background: #e5e7eb;
  pointer-events: none;
}

.yxyh-reply {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 10px;
}

.yxyh-reply:last-child::before {
  bottom: calc(100% - 16px);
}


.jinsom-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: transform .28s ease;
}

.jinsom-footer .name {
    display: inline-block;
    align-self: center;
    color: var(--muted);
    font-size: 38px;
    transition: color .5s, background-position .5s;
}

.jinsom-footer:hover .name {
    color: var(--text);
}

.jinsom-footer .copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 22px;
}

.jinsom-footer .icpb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 22px;
}

.jinsom-footer .gawb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 22px;
}

.jinsom-footer .icpb:hover {
    color: #2196F3;
}

.jinsom-footer .gawb img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.YXYH-charm {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 25px;
    margin: 0;
    pointer-events: none;
    background: #e9e9e9;
    visibility: hidden;
}

.YXYH-charm.is-ready {
    visibility: visible;
}

.YXYH-charm-face {
  position: relative;
  z-index: 2;
  display: block;
  width: 58px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(135deg, #ffd166, #ff7a90);
  box-shadow: 0 8px 18px rgba(255, 122, 144, .20);
  pointer-events: auto;
  cursor: pointer;
}

.YXYH-charm-eye {
  position: absolute;
  top: 7px;
  display: block;
  width: 8px;
  height: 8px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.YXYH-charm-eye-left {
  left: 16px;
}

.YXYH-charm-eye-right {
  right: 16px;
}

.YXYH-charm-eye span {
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #27364f;
  transform: translate(var(--YXYH-charm-eye-x, 0), var(--YXYH-charm-eye-y, 0));
  transition: transform .08s linear;
}

.YXYH-charm-mouth {
  position: absolute;
  top: 14px;
  left: 24px;
  display: block;
  width: 10px;
  height: 5px;
  border-bottom: 2px solid rgba(39, 54, 79, .58);
  border-radius: 0 0 10px 10px;
}

.YXYH-charm-hand {
  position: relative;
  top: 15px;
  z-index: 3;
  display: block;
  width: 18px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd166, #ff7a90);
  box-shadow: 0 5px 10px rgba(255, 122, 144, .18);
}

.YXYH-charm-hand::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  pointer-events: none;
  display: block;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: rgba(39, 54, 79, .16);
}

.YXYH-charm-hand-left {
  transform: rotate(-12deg);
}

.YXYH-charm-hand-right {
  transform: rotate(12deg);
}

.YXYH-charm-line {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 1px;
    background: #ccc;
}


/* ==================== YXYH UI: Toast ====================  */

.yxyh-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  transform: translateX(120%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.yxyh-toast i {
  font-size: 16px;
  flex-shrink: 0;
}

.yxyh-toast-show {
  transform: translateX(0);
}

.yxyh-toast-success { background: #1f9d55; }
.yxyh-toast-error   { background: #d73b3e; }
.yxyh-toast-warning { background: #d4801f; }
.yxyh-toast-info    { background: #111827; }

/* ==================== YXYH UI: Dialog ====================  */

.yxyh-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yxyh-dialog-overlay.yxyh-show {
  opacity: 1;
}

.yxyh-dialog {
  position: relative;
  width: 90%;
  max-width: 420px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s ease;
}

.yxyh-show .yxyh-dialog {
  transform: scale(1) translateY(0);
}

.yxyh-dialog-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px 0;
}

.yxyh-dialog-icon i {
  font-size: 22px;
}

.yxyh-dialog-title {
  margin: 0;
  flex: 1;
  font-size: 16px;
  color: var(--text);
}

.yxyh-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
}

.yxyh-dialog-close:hover {
  background: #f0f1f3;
}

.yxyh-dialog-body {
  padding: 14px 22px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.yxyh-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 22px 18px;
}

.yxyh-dialog-btn {
  padding: 8px 20px;
  border: 1px solid #dce2ea;
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.yxyh-dialog-btn:hover {
  background: #f5f6f8;
}

.yxyh-dialog-btn-confirm {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.yxyh-dialog-btn-confirm:hover {
  opacity: 0.9;
  background: #111827;
}

.yxyh-dialog-btn-confirm.yxyh-danger {
  border-color: #d73b3e;
  background: #d73b3e;
}

/* ==================== YXYH UI: Modal ====================  */

.yxyh-modal {
  position: fixed;
  inset: 0;
  z-index: 99980;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.yxyh-modal.yxyh-show {
  opacity: 1;
  pointer-events: auto;
}

.yxyh-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.yxyh-modal-content {
  position: relative;
  width: 90%;
  max-width: 520px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s ease;
}

.yxyh-modal.yxyh-show .yxyh-modal-content {
  transform: scale(1) translateY(0);
}

.yxyh-modal-md { max-width: 520px; }
.yxyh-modal-lg { max-width: 680px; }

.yxyh-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #dce2ea;
}

.yxyh-modal-header h3 {
  margin: 0;
  font-size: 16px;
}

.yxyh-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
}

.yxyh-modal-close:hover {
  background: #f0f1f3;
}

.yxyh-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
}

.yxyh-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid #dce2ea;
}


/* ==================== YXYH UI: Loading ====================  */

.yxyh-loading-mask {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yxyh-loading-mask.yxyh-show {
  opacity: 1;
}

.yxyh-loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 36px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.yxyh-loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #dce2ea;
  border-top-color: #0786b8;
  border-radius: 50%;
  animation: yxyh-spin 0.7s linear infinite;
}

@keyframes yxyh-spin {
  to { transform: rotate(360deg); }
}

.yxyh-loading-box span {
  font-size: 14px;
  color: var(--muted);
}

.yxyh-front-panel {
  height: 100%;
}

.yxyh-front-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yxyh-front-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yxyh-front-field > span {
  font-size: 13px;
  color: var(--muted);
}

.yxyh-front-flat-input {
  width: 100%;
  border: 1px solid #dce2ea;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 10px 12px;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.yxyh-front-field > input {
  width: 100%;
  border: 1px solid #dce2ea;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 10px 12px;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.yxyh-front-field > textarea {
  width: 100%;
  border: 1px solid #dce2ea;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 10px 12px;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.yxyh-front-code-editor textarea {
  width: 100%;
  border: 1px solid #dce2ea;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 10px 12px;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.yxyh-front-login-form .yxyh-front-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background: #111827;
  color: #fff;
}

.yxyh-front-submit, .yxyh-front-secondary, .yxyh-front-upload-btn, .yxyh-front-confirm-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.yxyh-front-submit:hover, .yxyh-front-secondary:hover, .yxyh-front-upload-btn:hover, .yxyh-front-confirm-btn:hover{
  opacity: 0.92;
}

.yxyh-front-submit.is-submitting, .yxyh-front-secondary.is-submitting, .yxyh-front-upload-btn.is-submitting{
  opacity: 0.7;
  cursor: default;
}

/*YXYH-20260710-1148-发布弹窗布局配色修复*/
.yxyh-front-publish-modal .yxyh-modal-content {
  width: 600px;
  max-width: 600px !important;
  height: auto;
  max-height: calc(100vh - 48px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.22);
}

.yxyh-front-publish-modal .yxyh-modal-body {
  height: auto;
  min-height: 0;
  padding: 22px 16px 18px;
  overflow-y: auto;
}

.yxyh-front-publish-form {
  height: auto;
  min-height: 0;
  gap: 14px;
}

.yxyh-front-composer {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease;
}

.yxyh-front-compose-stage {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}

.yxyh-front-compose-editor {
  position: relative;
  display: block;
  flex: 0 0 150px;
  width: 100%;
  min-height: 150px;
  height: 150px;
  border: 0;
  outline: 0;
  background: #ffffff;
  color: var(--text);
  padding: 22px 20px 16px;
  font-size: 16px;
  line-height: 1.75;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  caret-color: var(--text);
}

.yxyh-front-compose-editor.is-empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
  pointer-events: none;
}

.yxyh-compose-meta {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 0 20px 12px;
  color: var(--muted);
  font-size: 12px;
}

.yxyh-compose-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 4px 7px;
  border-radius: 6px;
  background: #fff7ed;
  color: #b45309;
  cursor: pointer;
}

.yxyh-compose-meta .tag[hidden] {
  display: none;
}

.yxyh-compose-meta .location {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 6px;
  background: #f0f9ff;
  color: #0284c7;
  cursor: pointer;
}

.yxyh-compose-meta .location[hidden] {
  display: none;
}

.yxyh-compose-meta .tag span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-compose-meta .location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-front-compose-media-previews {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 14px;
}

.yxyh-front-compose-media-previews[hidden] {
  display: none !important;
}

.yxyh-front-compose-emoji {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 0 2px;
  object-fit: contain;
  vertical-align: -7px;
}

.yxyh-front-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 16px;
  border-top: 1px solid #e9edf2;
  background: #fbfdff;
}

.yxyh-front-toolbar-main {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: visible;
}

.yxyh-front-tool-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 38px;
  min-width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
  font-size: 20px;
  transition: color 0.18s ease, background 0.18s ease;
}

.yxyh-front-tool-btn:hover, .yxyh-front-tool-btn.is-active{
  color: var(--text);
  background: rgba(17, 24, 39, 0.1);
}

.yxyh-front-tool-btn.is-picker-open.yxyh-tooltip-trigger:after {
  opacity: 0;
}

.yxyh-front-tool-btn.is-picker-open.yxyh-tooltip-trigger:before {
  opacity: 0;
}

.yxyh-front-location-trigger {
  flex: 0 0 38px;
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  padding: 0;
}

.yxyh-front-tool-panels {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  min-height: 0;
  max-height: min(420px, calc(100vh - 380px));
  padding: 14px 18px;
  border-top: 1px solid #e9edf2;
  background: #fff;
  overflow-y: auto;
}

.yxyh-front-tool-panel[hidden], .yxyh-front-tool-panels[hidden]{
  display: none !important;
}

.yxyh-front-picker-popover {
  position: fixed;
  z-index: 100100;
  width: 420px;
  max-width: calc(100vw - 20px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.2);
  overflow: visible;
}

.yxyh-front-picker-popover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 3px 3px 12px rgba(15, 23, 42, 0.08);
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

.yxyh-front-picker-popover.is-below::after {
  top: -7px;
  bottom: auto;
  box-shadow: -3px -3px 12px rgba(15, 23, 42, 0.08);
}

.yxyh-front-emoji-picker-popover {
  width: 366px;
}

.yxyh-front-emoji-picker {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 14px;
  border-radius: inherit;
  background: #fff;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.yxyh-front-emoji-picker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-start;
  align-content: flex-start;
  max-height: min(330px, calc(100vh - 190px));
  overflow-y: auto;
  scrollbar-width: thin;
}

.yxyh-front-emoji-picker-list::-webkit-scrollbar {
  width: 6px;
}

.yxyh-front-emoji-picker-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.75);
}

.yxyh-front-emoji-picker-empty {
  flex: 1 1 100%;
  padding: 34px 16px;
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--muted);
  text-align: center;
}

.yxyh-front-emoji-item {
  display: inline-flex;
  flex: 0 0 calc((100% - 30px) / 7);
  align-items: center;
  justify-content: center;
  width: calc((100% - 30px) / 7);
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.yxyh-front-emoji-item:hover {
  background: #f3f7fb;
  transform: translateY(-1px);
}

.yxyh-front-emoji-item:focus-visible {
  outline: 2px solid #111827;
  outline-offset: -2px;
  background: #f3f4f6;
}

.yxyh-front-emoji-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.yxyh-front-preview-panel {
  max-height: 204px;
  overflow-y: auto;
}

.yxyh-front-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yxyh-front-image-list {
  align-content: flex-start;
}

.yxyh-front-image-list > * {
  flex: 0 0 calc((100% - 40px) / 6);
  min-width: 0;
}

.yxyh-front-image-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ececec;
  background: #fafafa;
  cursor: grab;
  aspect-ratio: 1 / 1;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.yxyh-front-image-item.is-dragging, .yxyh-front-file-item.is-dragging{
  opacity: 0.48;
  cursor: grabbing;
  transform: scale(0.98);
}

.yxyh-front-image-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.yxyh-front-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}

.yxyh-front-image-item .yxyh-front-remove-btn, .yxyh-front-file-item .yxyh-front-remove-btn{
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.yxyh-front-image-item:hover .yxyh-front-remove-btn, .yxyh-front-image-item:focus-within .yxyh-front-remove-btn, .yxyh-front-file-item:hover .yxyh-front-remove-btn, .yxyh-front-file-item:focus-within .yxyh-front-remove-btn{
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.yxyh-front-file-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 42px 10px 12px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fafafa;
  cursor: grab;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.yxyh-front-file-item .yxyh-front-remove-btn {
  top: 50%;
  transform: translateY(-50%) scale(0.92);
}

.yxyh-front-file-item:hover .yxyh-front-remove-btn, .yxyh-front-file-item:focus-within .yxyh-front-remove-btn{
  transform: translateY(-50%) scale(1);
}

.yxyh-front-file-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
}

.yxyh-front-file-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-front-media-inline, .yxyh-front-code-head{
  display: flex;
  gap: 12px;
  align-items: center;
}

.yxyh-front-media-inline > .yxyh-front-flat-input {
  flex: 1 1 auto;
  min-width: 0;
}

.yxyh-front-media-inline > .yxyh-front-upload-btn {
  flex: 0 0 112px;
}

.yxyh-front-media-inline > .yxyh-front-confirm-btn {
  flex: 0 0 74px;
}

.yxyh-front-media-preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
}

.yxyh-front-media-preview:empty {
  display: none;
}

.yxyh-front-preview-music, .yxyh-front-preview-video, .yxyh-front-preview-code{
  position: relative;
  display: flex;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #e6edf5;
  border-radius: 10px;
}

.yxyh-front-preview-code {
  align-items: flex-start;
  background: #f8fbff;
  gap: 12px;
  padding: 12px;
}

.yxyh-front-preview-music {
  align-items: center;
  background: #f8fbff;
  min-height: 66px;
  gap: 12px;
  padding: 8px 10px;
}

.yxyh-front-media-cover {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 9px;
  object-fit: cover;
  background: #e7eef7;
}

.yxyh-front-media-cover-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 24px;
}

.yxyh-front-music-cover {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  background: #e7eef7;
}

.yxyh-front-media-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.yxyh-front-music-info {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  max-width: 150px;
}

.yxyh-front-media-title, .yxyh-front-media-meta{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-front-media-title {
  color: var(--text);
  font-size: 14px;
}

.yxyh-front-media-meta {
  color: var(--muted);
  font-size: 12px;
}

.yxyh-front-music-player {
  flex: 0 0 300px;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 30px !important;
}

.yxyh-front-music-player::-webkit-media-controls-overflow-button {
  display: none !important;
}

.yxyh-front-preview-video {
  overflow: hidden;
  padding: 0;
  background: #0f172a;
}

.yxyh-front-preview-video video {
  display: block;
  width: 100%;
  max-height: 188px;
  background: #0f172a;
}

.yxyh-front-video-cover-preview {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: block;
  width: 92px;
  height: 62px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 6px;
  background: #111827;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .28);
  cursor: pointer;
}

.yxyh-front-video-cover-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yxyh-front-video-cover-preview em {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 2px 5px;
  background: rgba(15, 23, 42, .78);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  line-height: 1.2;
}

.yxyh-video-cover-modal .yxyh-modal-content {
  width: 760px;
  max-width: calc(100vw - 48px);
}

.yxyh-video-cover-modal .yxyh-modal-body {
  padding: 18px;
  overflow: hidden;
}

.yxyh-video-cover-picker {
  display: flex;
  align-items: center;
}

.yxyh-video-cover-picker-loading,
.yxyh-video-cover-picker-error {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.yxyh-video-cover-picker-loading i,
.yxyh-video-cover-picker-error i {
  font-size: 28px;
}

.yxyh-video-cover-picker-loading i {
  animation: yxyh-video-cover-picker-spin .9s linear infinite;
}

.yxyh-video-cover-picker-frames {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.yxyh-video-cover-picker-timeline {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #111827;
  cursor: pointer;
  touch-action: none;
}

.yxyh-video-cover-picker-frames img {
  display: block;
  flex: 0 0 auto;
  height: 100%;
  object-fit: cover;
  filter: brightness(.58);
}

.yxyh-video-cover-picker-selector {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .32);
  cursor: grab;
  touch-action: none;
}

.yxyh-video-cover-picker-selector:active {
  cursor: grabbing;
}

.yxyh-video-cover-picker-selector img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yxyh-video-cover-modal .yxyh-modal-footer {
  justify-content: flex-end;
}

.yxyh-video-cover-picker-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.yxyh-video-cover-picker-action.is-cancel {
  background: #f1f3f5;
  color: var(--text-secondary);
}

.yxyh-video-cover-picker-action.is-confirm {
  background: #111827;
  color: #fff;
}

.yxyh-video-cover-picker-action[aria-disabled="true"] {
  opacity: .45;
  cursor: default;
}

@keyframes yxyh-video-cover-picker-spin {
  to { transform: rotate(360deg); }
}

.yxyh-front-preview-actions {
  --preview-action-size: 28px;
  --preview-action-radius: 8px;
  --preview-action-bg: rgba(15, 23, 42, 0.72);
  --preview-action-color: #fff;
  --preview-action-font-size: 15px;
  --preview-action-hover-bg: #111827;
  --preview-action-hover-color: #fff;
  --preview-action-hover-transform: translateY(-1px);
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.yxyh-front-preview-actions.is-music {
  --preview-action-size: 30px;
  --preview-action-radius: 999px;
  --preview-action-bg: #f1f3f4;
  --preview-action-color: #4b5563;
  --preview-action-font-size: 14px;
  --preview-action-hover-bg: #e8eaed;
  --preview-action-hover-color: #1f2937;
  --preview-action-hover-transform: none;
  position: static;
  flex: 0 0 auto;
  gap: 8px;
}

.yxyh-front-preview-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--preview-action-size);
  height: var(--preview-action-size);
  border: 0;
  border-radius: var(--preview-action-radius);
  background: var(--preview-action-bg);
  color: var(--preview-action-color);
  cursor: pointer;
  font-size: var(--preview-action-font-size);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.yxyh-front-preview-action:hover {
  background: var(--preview-action-hover-bg);
  color: var(--preview-action-hover-color);
  transform: var(--preview-action-hover-transform);
}

.yxyh-front-code-preview-text {
  max-height: 118px;
  margin: 0;
  overflow: auto;
  color: var(--text-secondary);
  font: 12px/1.55 Monaco, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.yxyh-front-tool-editor-popover {
  width: 430px;
}

.yxyh-front-tool-editor {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: inherit;
  background: #fff;
}

.yxyh-front-tool-editor textarea {
  width: 100%;
  min-height: 138px;
  border: 1px solid #e5ebf2;
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--text-secondary);
  padding: 10px 12px;
  outline: 0;
  resize: none;
  font-family: Monaco, Menlo, Consolas, monospace;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.yxyh-front-code-head {
  justify-content: flex-end;
}

.yxyh-front-code-head select {
  flex: 0 0 96px;
  width: 96px;
  height: 38px;
  border: 1px solid #e5ebf2;
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--text-secondary);
  padding: 0 10px;
  outline: 0;
  font-size: 13px;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.yxyh-front-flat-input {
  height: 46px;
  border-color: #e5ebf2;
  background: #f7f9fc;
  color: var(--text-secondary);
  box-shadow: none;
}

.yxyh-front-code-editor textarea {
  height: 46px;
  border-color: #e5ebf2;
  background: #f7f9fc;
  color: var(--text-secondary);
  box-shadow: none;
}

.yxyh-front-code-editor textarea {
  min-height: 118px;
  height: auto;
  resize: none;
  font-family: Monaco, Menlo, Consolas, monospace;
}

.yxyh-front-code-head .yxyh-front-confirm-btn {
  flex: 0 0 66px;
  height: 38px;
  padding: 0 10px;
}

.yxyh-front-upload-btn {
  height: 46px;
  background: #edf3fa;
  color: var(--text-secondary);
  font-size: 13px;
}

.yxyh-front-confirm-btn {
  height: 46px;
  background: #111827;
  color: #fff;
  font-size: 13px;
}

.yxyh-front-tag-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 214px;
  overflow-y: auto;
}

.yxyh-front-tag-picker-popover {
  width: 240px;
}

.yxyh-front-tag-picker {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 10px;
  border-radius: inherit;
  background: #fff;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.yxyh-front-tag-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  padding: 0;
  font-size: 15px;
}

.yxyh-front-tag-option:hover {
  background: #f6f8fc;
}

.yxyh-front-tag-option:focus-visible {
  outline: 2px solid #111827;
  outline-offset: -2px;
  background: #f3f4f6;
  color: var(--text);
}

.yxyh-front-tag-option.is-active {
  background: #edf4ff;
  color: #3f7cff;
}

.yxyh-front-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.yxyh-front-actions-block {
  flex: 0 0 auto;
  display: flex;
  gap: 16px;
  min-height: 0;
}

.yxyh-front-actions-block > * {
  flex: 1 1 0;
  min-width: 0;
}

.yxyh-front-actions-block .yxyh-front-submit, .yxyh-front-actions-block .yxyh-front-secondary{
  height: 50px;
  border-radius: 8px;
  font-size: 16px;
}

.yxyh-front-actions-block .yxyh-front-secondary {
  background: #d1d5db;
  color: #fff;
}

.yxyh-front-actions-block .yxyh-front-submit {
  background: #111827;
  color: #fff;
}

.yxyh-location-picker {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  gap: 10px;
}

.yxyh-location-modal .yxyh-modal-content {
  width: 500px;
  height: 500px;
  max-height: calc(100vh - 48px);
}

.yxyh-location-modal .yxyh-modal-body {
  min-height: 0;
  padding: 14px;
  background: #f7f9fc;
  overflow: hidden;
}

.yxyh-location-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yxyh-location-search {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  outline: 0;
  font-size: 14px;
}

.yxyh-location-refresh {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
  color: var(--text-secondary);
  cursor: pointer;
}

.yxyh-location-refresh:hover:not([aria-disabled="true"]) {
  border-color: #8cc7df;
  color: #0786b8;
}

.yxyh-location-refresh[aria-disabled="true"] {
  cursor: default;
  opacity: .55;
}

.yxyh-location-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 3px 2px 0;
}

.yxyh-location-list::-webkit-scrollbar {
  width: 4px;
}

.yxyh-location-list::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #cbd5e1;
}

.yxyh-location-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  border: 1px solid #e4eaf1;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 8px 11px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.yxyh-location-item:hover {
  border-color: #b9d9ea;
  background: #fbfdff;
}

.yxyh-location-item.is-active {
  border-color: #8cc7df;
  box-shadow: 0 0 0 2px rgba(7, 134, 184, .1);
  background: #f3fbff;
}

.yxyh-location-item i {
  flex: 0 0 18px;
  color: #0786b8;
  font-size: 18px;
}

.yxyh-location-item .copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.yxyh-location-item .name {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-location-item .desc {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yxyh-location-item-clear i {
  color: #ef6b5a;
}

.yxyh-location-empty {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  gap: 8px;
  border: 1px dashed #d8e1eb;
  border-radius: 8px;
  color: var(--muted);
  padding: 28px 16px;
  font-size: 13px;
  text-align: center;
}

.yxyh-location-empty i {
  font-size: 22px;
}

.yxyh-is-spinning {
  animation: yxyh-front-spin 0.8s linear infinite;
}

@keyframes yxyh-front-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/*动画————————————————————————————————————————————————————————————————————————————————————————*/
@keyframes yxyh-fadeInUp {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}

/*YXYH-20260711-0004-PC时间轴线刷新下拉动画*/
@keyframes yxyh-timeline-line-grow {
0% {
transform: scaleY(0);
}
100% {
transform: scaleY(1);
}
}

@keyframes yxyh-more-reveal {
0% {
opacity: 0;
visibility: visible;
}
100% {
opacity: 1;
visibility: visible;
}
}




/*列表页————————————————————————————————————————————————————————————————————————————————————————*/
.yxyh-list {
    display: block;
    margin: 30px auto 0;
    position: relative;
    overflow: hidden;
    list-style: none;
    max-width: 1200px;
    padding: 100px 0;
    background: #e9e9e9;
    z-index: 1;
}

.yxyh-page-loading {
    display: none;
}

.yxyh-js .yxyh-list[aria-busy="true"]::before,
.yxyh-list.is-error::before {
    display: none;
}

.yxyh-js .yxyh-list[aria-busy="true"] > .yxyh-item,
.yxyh-js .yxyh-list[aria-busy="true"] > .yxyh-more {
    display: none;
}

.yxyh-js .yxyh-list[aria-busy="true"] > .yxyh-page-loading,
.yxyh-list.is-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    color: var(--muted);
    font-size: 13px;
}

.yxyh-page-loading {
    column-gap: 4px;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: yxyh-font-data-in .38s cubic-bezier(.16, 1, .3, 1) both;
}

.yxyh-page-loading > span {
    display: inline-block;
    animation: yxyh-font-data-jump 1.25s cubic-bezier(.34, 1.56, .64, 1) infinite;
}

.yxyh-page-loading > span:nth-child(2) {
    animation-delay: .1s;
}

.yxyh-page-loading > span:nth-child(3) {
    animation-delay: .2s;
}

.yxyh-page-loading > span:nth-child(4) {
    animation-delay: .3s;
}

.yxyh-page-loading > span:nth-child(5) {
    animation-delay: .4s;
}

.yxyh-list:before {
    content: "";
    width: 2px;
    position: absolute;
    left: calc(50% - 1px);
    pointer-events: none;
    top: 100px;
    height: calc(100% - 200px);
    background: #bfbfbf;
    transform-origin: top;
    animation-duration: 1.5s;
    animation-fill-mode: both;
    animation-name: yxyh-timeline-line-grow;
    animation-timing-function: cubic-bezier(.22,.61,.36,1);
}
.yxyh-list .yxyh-item {
    width: calc(50% - 20px);
    padding: 100px 0 50px;
    position: relative;
    float: left;
    clear: left;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: yxyh-fadeInUp;
}
.yxyh-list .yxyh-item:nth-child(even) {
    float: right;
    clear: right;
    margin-top: 50px;
}

/*YXYH-20260715-PC时间轴按左右独立轨道消除媒体高度空洞*/
.yxyh-list.is-balanced .yxyh-item {
    position: absolute;
    float: none;
    clear: none;
    margin-top: 0;
    transition: top .3s ease;
}

.yxyh-list.is-balanced .yxyh-item.is-left {
    left: 0;
    right: auto;
}

.yxyh-list.is-balanced .yxyh-item.is-right {
    left: auto;
    right: 0;
}
.yxyh-list .yxyh-item.is-right .yxyh-item-meta {
    left: 0;
    right: auto;
    flex-direction: row;
    justify-content: flex-start;
}
.yxyh-list .yxyh-item.is-right .yxyh-item-content:after {
    right: auto;
    left: -28px;
}
.yxyh-list .yxyh-item:nth-child(1) {
    animation-delay: 0.1s;
}
.yxyh-list .yxyh-item:nth-child(2) {
    animation-delay: 0.2s;
}
.yxyh-list .yxyh-item:nth-child(3) {
    animation-delay: 0.3s;
}
.yxyh-list .yxyh-item:nth-child(4) {
    animation-delay: 0.4s;
}
.yxyh-list .yxyh-item:nth-child(5) {
    animation-delay: 0.5s;
}
.yxyh-item-meta {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 10px;
    height: 35px;
}
.yxyh-item-meta > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    color: var(--muted);
    background: #fff;
    font-size: 12px;
    height: 35px;
    border-radius: 3px;
    padding: 0 10px;
    transition: .3s;
    cursor: pointer;
}
.yxyh-item-meta > span:hover {
    transform: translateY(-5px);
}
.yxyh-item-meta > span i {
    font-style: normal;
    font-size: 15px;
    padding-right: 3px;
}
.yxyh-item-meta > span > span {
    padding-left: 3px;
}
.yxyh-item-meta .yxyh-like-em.is-liked {
    color: #ff9800;
}
.yxyh-item-meta .yxyh-post-delete {
    color: #d14343;
}
.yxyh-item-meta > span img {
    width: 23px;
    height: 23px;
}
.yxyh-item-content {
    background: #fff;
    border-radius: 3px;
    position: relative;
    transition: .3s;
    padding: 20px;
    margin-top: 10px;
    line-height: 25px;
}

.yxyh-item-content.is-private {
    cursor: default;
    border: 1px solid #eee7dc;
    background: #f9f5ef;
    color: #8a6a45;
}

.yxyh-item-content a {
    cursor: auto;
}

.yxyh-item-content audio {
    cursor: auto;
}

.yxyh-item-content video {
    cursor: auto;
}

.yxyh-item-content .yxyh-rich-image-link {
    cursor: zoom-in;
}

.yxyh-item-content .yxyh-rich-image-group {
    margin-top: 6px;
    margin-bottom: 0;
}

.yxyh-item-content .yxyh-rich-emoji {
    width: 22px;
    height: 22px;
    margin: 0 2px;
}

.yxyh-item-extra {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin-top: 12px;
    padding-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
}

.yxyh-item-extra .yxyh-post-tag {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    height: 26px;
    padding: 0 8px;
    border-radius: 3px;
    background: var(--yxyh-tag-bg, #fff7ed);
    color: var(--yxyh-tag-color, #b45309);
    cursor: pointer;
}

.yxyh-item-extra .yxyh-post-tag a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    color: inherit;
    cursor: pointer;
}

.yxyh-item-extra .yxyh-item-location {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
    height: 26px;
    margin-left: auto;
    padding: 0 8px;
    border-radius: 3px;
    background: #f0f9ff;
    color: #0369a1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yxyh-item-content:hover {
    cursor: pointer;
    transform: translateY(-5px);
}
.yxyh-item-content:after {
    content: "";
    position: absolute;
    right: -28px;
    top: -10px;
    min-height: 5px;
    min-width: 10px;
    background: #999;
    border-radius: 10px;
    border: 5px #e9e9e9 solid;
    pointer-events: none;
}

.yxyh-more {
    position: absolute;
    left: calc(50% - 25px);
    bottom: 50px;
    display: flex;
    width: 50px;
    height: 50px;
    background: #fff;
    font-size: 12px;
    border-radius: 25px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: .3s;
    opacity: 0;
    visibility: hidden;
    animation: yxyh-more-reveal .2s ease 1.5s forwards;
}
.yxyh-more,
.yxyh-more i {
    cursor: pointer;
}
.yxyh-more:hover {
    color: #1E9FFF;
}
.yxyh-more.is-end {
    color: var(--muted);
}
.yxyh-more.is-end:hover {
    color: var(--muted);
}
.yxyh-more.is-end i {
    transform: rotate(90deg);
}
.yxyh-more i {
    font-size: 25px;
    transition: transform 1.2s ease, color .3s ease;
}
