/* r196 —— 视觉与全屏编辑 */

/* 1) 发现页禁止上下滑动 */
.app-body.jy-discover {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: pan-x !important;
  height: 100% !important;
}

/* 2) 提示气泡 */
.jy196-toast {
  position: fixed;
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  max-width: 78vw;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  word-break: break-all;
}

/* 3) 资料页全屏编辑 */
.jy196-full {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.jy196-full-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 6px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}
.jy196-full-head .jy196-title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}
.jy196-full-head button {
  border: 0;
  background: none;
  font-size: 15px;
  padding: 8px 10px;
  color: #333;
}
.jy196-full-head button.jy196-save {
  color: #1a7dff;
  font-weight: 600;
}
.jy196-full-body {
  flex: 1;
  padding: 16px;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.jy196-full-body .jy196-field {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #eee;
  outline: none;
  font-size: 16px;
  line-height: 1.6;
  padding: 10px 0;
  background: transparent;
  color: #111;
  resize: none;
  font-family: inherit;
}

/* 4) 群公告全屏编辑 */
.jy196-fe-card {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9998 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
}
.jy196-fe-card .jy196-fe-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 12px 16px 20px;
}
.jy196-fe-card .jy196-fe-body > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 5) 动态页顶部封面：图没加载出来前先铺深色底，
      避免进页面时顶部先白一下再变深（白闪） */
.app-body > div.relative.h-64 {
  background-color: #1b2130 !important;
}
