.huimengyu--chat {
  position: relative;
}

.huimengyu-chat__main {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.huimengyu-chat__messages {
  position: relative;
}

.huimengyu-chat__messages--with-co-enjoy {
  padding-top: 236px;
}

.huimengyu-chat__history-tip {
  margin: 2px 0 12px;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(23, 24, 26, 0.42);
}

.huimengyu-message-row {
  position: relative;
  overflow: visible;
}

.huimengyu-message-row--system {
  justify-content: center;
}

.huimengyu-message-row--system .huimengyu-message-bubble {
  max-width: calc(100% - 40px);
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(58, 66, 78, 0.08);
  box-shadow: none;
  overflow: visible;
}

.huimengyu-message-row--system .huimengyu-message-bubble__text {
  font-size: 11px;
  color: rgba(28, 32, 38, 0.62);
}

.huimengyu-message-bubble {
  overflow: visible;
}

.huimengyu-message-bubble--interactive {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.huimengyu-message-bubble--interactive.is-long-pressing {
  transform: scale(0.985);
  box-shadow: 0 12px 24px rgba(20, 22, 26, 0.08);
}

.huimengyu-message-row--system .huimengyu-message-bubble,
.huimengyu-message-bubble--image,
.huimengyu-message-bubble--emoji-image,
.huimengyu-message-bubble--image .huimengyu-message-bubble__media,
.huimengyu-message-bubble--image .huimengyu-message-bubble__image,
.huimengyu-message-bubble--image .huimengyu-message-bubble__image-caption,
.huimengyu-message-bubble--emoji-image .huimengyu-message-bubble__media,
.huimengyu-message-bubble--emoji-image .huimengyu-message-bubble__image,
.huimengyu-message-row--system .huimengyu-message-bubble__text {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.huimengyu-message-row--system .huimengyu-message-bubble::selection,
.huimengyu-message-row--system .huimengyu-message-bubble *::selection,
.huimengyu-message-bubble--image::selection,
.huimengyu-message-bubble--image *::selection,
.huimengyu-message-bubble--emoji-image::selection,
.huimengyu-message-bubble--emoji-image *::selection {
  background: transparent;
  color: inherit;
}

.huimengyu-message-bubble--quoted {
  padding-top: 7px;
}

.huimengyu-message-bubble--media-plain {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.huimengyu-message-bubble--media-plain.huimengyu-message-bubble--quoted {
  padding-top: 0;
}

.huimengyu-message-bubble--media-plain .huimengyu-message-bubble__quote {
  width: fit-content;
  max-width: min(188px, 58vw);
  margin-bottom: 8px;
  padding: 7px 10px;
  border-left: 2px solid rgba(70, 83, 101, 0.24);
  border-radius: 12px;
  background: rgba(28, 33, 40, 0.05);
}

.huimengyu-message-bubble--emoji-image .huimengyu-message-bubble__quote {
  max-width: min(156px, 42vw);
}

.huimengyu-message-bubble__quote {
  display: block;
  margin-bottom: 6px;
  padding: 7px 10px;
  border-left: 2px solid rgba(70, 83, 101, 0.24);
  border-radius: 12px;
  background: rgba(28, 33, 40, 0.05);
}

.huimengyu-message-bubble__quote-label {
  display: none;
}

.huimengyu-message-bubble__quote-text {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(23, 24, 26, 0.7);
  word-break: break-word;
}

.huimengyu-message-bubble__media {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(227, 232, 239, 0.7);
}

.huimengyu-message-bubble--image,
.huimengyu-message-bubble--emoji-image {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.huimengyu-message-bubble--image {
  border-radius: 18px;
}

.huimengyu-message-bubble--emoji-image {
  border-radius: 0;
}

.huimengyu-message-bubble--media-plain .huimengyu-message-bubble__media,
.huimengyu-message-bubble--image .huimengyu-message-bubble__media {
  display: block;
  width: fit-content;
  border-radius: 18px;
  background: transparent;
}

.huimengyu-message-bubble--emoji-image .huimengyu-message-bubble__media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.huimengyu-message-bubble__image {
  display: block;
  width: 100%;
  max-width: 188px;
  max-height: 240px;
  object-fit: cover;
}

.huimengyu-message-bubble--media-plain .huimengyu-message-bubble__image,
.huimengyu-message-bubble--image .huimengyu-message-bubble__image {
  border-radius: 18px;
  background: transparent;
}

.huimengyu-message-bubble--emoji-image .huimengyu-message-bubble__image {
  display: block;
  width: auto;
  max-width: min(156px, 42vw);
  max-height: 156px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.huimengyu-message-bubble__image-caption {
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(23, 24, 26, 0.52);
}

.huimengyu-message-bubble__favorite {
  position: absolute;
  top: 8px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  color: rgba(78, 87, 101, 0.76);
  box-shadow: 0 4px 10px rgba(23, 24, 26, 0.05);
}

.huimengyu-message-bubble__favorite[hidden] {
  display: none;
}

.huimengyu-message-bubble-menu {
  position: absolute;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: min(232px, calc(100vw - 52px));
  min-width: max-content;
  padding: 6px;
  border: 1px solid rgba(23, 24, 26, 0.08);
  border-radius: 16px;
  background: rgba(252, 252, 253, 0.98);
  box-shadow: 0 18px 38px rgba(18, 22, 28, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  white-space: nowrap;
}

.huimengyu-message-bubble-menu__button {
  flex: 0 0 auto;
  min-width: 48px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 12px;
  color: #1b1d21;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.huimengyu-message-bubble-menu__button:hover,
.huimengyu-message-bubble-menu__button:focus-visible {
  background: rgba(31, 36, 43, 0.08);
  outline: none;
}

.huimengyu-message-bubble-menu__button,
.huimengyu-composer-menu__item,
.huimengyu-composer__icon-button,
.huimengyu-composer__send-button,
.huimengyu-modal__button,
.huimengyu-modal__ghost-button,
.huimengyu-modal__pill-button,
.huimengyu-modal__gallery-item,
.huimengyu-toggle__control,
.huimengyu-modal__close {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.huimengyu-composer__icon-button:focus,
.huimengyu-composer__send-button:focus,
.huimengyu-composer-menu__item:focus,
.huimengyu-modal__button:focus,
.huimengyu-modal__ghost-button:focus,
.huimengyu-modal__pill-button:focus,
.huimengyu-modal__gallery-item:focus,
.huimengyu-toggle__control:focus,
.huimengyu-modal__close:focus {
  outline: none;
  box-shadow: none;
}

.huimengyu-composer {
  align-items: flex-end;
}

.huimengyu-composer__icon-button:hover,
.huimengyu-composer__send-button:hover,
.huimengyu-composer-menu__item:hover {
  filter: brightness(0.99);
}

.huimengyu-composer__send-button:disabled,
.huimengyu-composer-menu__item:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.huimengyu-composer__quote {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 24, 26, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.huimengyu-composer__quote-main {
  min-width: 0;
  flex: 1;
}

.huimengyu-composer__quote-label {
  display: none;
}

.huimengyu-composer__quote-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(23, 24, 26, 0.7);
  word-break: break-word;
}

.huimengyu-composer__quote-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 24, 26, 0.06);
  font-size: 16px;
  color: rgba(23, 24, 26, 0.72);
  cursor: pointer;
}

.huimengyu-composer-menu__item {
  gap: 8px;
  padding-top: 2px;
  color: #17191d;
  cursor: pointer;
}

.huimengyu-composer-menu__item .huimengyu-composer-menu__icon {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.huimengyu-composer-menu__item:hover .huimengyu-composer-menu__icon,
.huimengyu-composer-menu__item:focus-visible .huimengyu-composer-menu__icon {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(27, 31, 36, 0.08);
}

.huimengyu-composer-menu__item:focus-visible {
  outline: none;
}

.huimengyu-composer-menu__item--primary .huimengyu-composer-menu__icon {
  background: linear-gradient(180deg, rgba(248, 249, 251, 1), rgba(230, 235, 241, 1));
}

.huimengyu-composer-menu__item--accent .huimengyu-composer-menu__icon {
  background: linear-gradient(180deg, rgba(241, 244, 248, 1), rgba(220, 227, 238, 1));
}

.huimengyu-composer-menu__item--soft .huimengyu-composer-menu__icon {
  background: linear-gradient(180deg, rgba(247, 246, 243, 1), rgba(235, 232, 227, 1));
}

.huimengyu-modal-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  pointer-events: none;
}

.huimengyu-modal-layer.is-active {
  display: block;
  pointer-events: auto;
}

.huimengyu-modal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  pointer-events: auto;
}

.huimengyu-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 22, 28, 0.24);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.huimengyu-modal__panel {
  position: relative;
  z-index: 1;
  width: calc(100% - 18px);
  max-height: calc(100% - 16px);
  margin: 0 9px 9px;
  overflow: hidden;
  border: 1px solid rgba(22, 25, 30, 0.08);
  border-radius: 28px;
  background: rgba(248, 249, 251, 0.98);
  box-shadow: 0 20px 56px rgba(18, 22, 26, 0.18);
}

.huimengyu-modal__panel--medium {
  max-width: 392px;
}

.huimengyu-modal__panel--large {
  max-width: 420px;
}

.huimengyu-modal__panel--float {
  position: absolute;
  right: 10px;
  top: 10px;
  bottom: auto;
  width: 248px;
  max-width: calc(100% - 20px);
  margin: 0;
  border-radius: 24px;
  pointer-events: auto;
}

.huimengyu-modal__inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 80px);
}

.huimengyu-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
}

.huimengyu-modal__header-main {
  min-width: 0;
  flex: 1;
}

.huimengyu-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(23, 24, 26, 0.42);
}

.huimengyu-modal__title {
  margin: 0;
  font-size: 21px;
  line-height: 1.24;
  color: #17181a;
}

.huimengyu-modal__sub {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(23, 24, 26, 0.56);
}

.huimengyu-modal__close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(23, 24, 26, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: rgba(23, 24, 26, 0.76);
  font-size: 18px;
  cursor: pointer;
}

.huimengyu-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 16px;
}

.huimengyu-modal__section {
  display: grid;
  gap: 10px;
}

.huimengyu-modal__card,
.huimengyu-sheet-card {
  padding: 14px;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(22, 25, 31, 0.04);
}

.huimengyu-modal__field {
  display: grid;
  gap: 8px;
}

.huimengyu-modal__field-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(23, 24, 26, 0.44);
}

.huimengyu-modal__field-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(23, 24, 26, 0.58);
}

.huimengyu-modal__input,
.huimengyu-modal__textarea,
.huimengyu-modal__select {
  width: 100%;
  border: 1px solid rgba(23, 24, 26, 0.08);
  border-radius: 16px;
  background: rgba(248, 249, 251, 0.94);
  color: #17181a;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  opacity: 1;
}

.huimengyu-modal__input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
  color: #17181a;
  -webkit-text-fill-color: #17181a;
  font-variant-numeric: tabular-nums;
  caret-color: #17181a;
}

.huimengyu-modal__input[type="number"]::-webkit-outer-spin-button,
.huimengyu-modal__input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.huimengyu-modal__input,
.huimengyu-modal__select {
  height: 42px;
  padding: 0 12px;
}

.huimengyu-modal__textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

.huimengyu-modal__input:focus,
.huimengyu-modal__textarea:focus,
.huimengyu-modal__select:focus {
  border-color: rgba(75, 88, 110, 0.18);
  box-shadow: 0 0 0 3px rgba(160, 171, 189, 0.12);
}

.huimengyu-modal__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.huimengyu-modal__row--compact {
  gap: 12px;
  align-items: end;
}

.huimengyu-modal__row--supplement-top {
  gap: 12px;
  align-items: end;
}

.huimengyu-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 1px 0px 0px;
}

.huimengyu-modal__actions--start {
  justify-content: flex-start;
  padding: 0;
}

.huimengyu-modal__actions--co-enjoy {
  gap: 12px;
  margin-bottom: 14px;
}

.huimengyu-modal__actions--screenshot {
  gap: 12px;
  margin-top: 14px;
}

.huimengyu-modal__actions--cloud-send {
  justify-content: flex-end;
  margin-top: 12px;
}

.huimengyu-modal__actions--compact {
  padding: 0;
}

.huimengyu-modal__button,
.huimengyu-modal__ghost-button,
.huimengyu-modal__pill-button {
  height: 40px;
  padding: 0 16px;
  border-radius: 15px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.huimengyu-modal__button--wide {
  min-width: 96px;
  flex: 0 0 calc(50% - 6px);
}

.huimengyu-modal__button--full {
  width: 100%;
}

.huimengyu-modal__button--inline {
  flex: 0 0 auto;
  min-width: 96px;
}

.huimengyu-modal__ghost-button--soft {
  min-width: 96px;
}

.huimengyu-modal__button {
  border: 1px solid rgba(22, 24, 28, 0.08);
  background: linear-gradient(180deg, rgba(246, 247, 249, 1), rgba(232, 236, 242, 1));
  color: #17181a;
}

.huimengyu-modal__button--primary {
  background: linear-gradient(180deg, rgba(230, 236, 244, 1), rgba(214, 221, 232, 1));
}

.huimengyu-modal__ghost-button {
  border: 1px dashed rgba(22, 24, 28, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: rgba(23, 24, 26, 0.72);
}

.huimengyu-modal__pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: #17181a;
}

.huimengyu-modal__pill-button.is-active {
  background: linear-gradient(180deg, rgba(230, 236, 244, 1), rgba(214, 221, 232, 1));
  border-color: rgba(99, 112, 132, 0.16);
}

.huimengyu-modal__grid-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.huimengyu-modal__grid-buttons--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.huimengyu-modal__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.huimengyu-modal__gallery-item {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.huimengyu-modal__gallery-item.is-active {
  border-color: rgba(88, 101, 121, 0.2);
  box-shadow: inset 0 0 0 1px rgba(88, 101, 121, 0.12);
}

.huimengyu-modal__gallery-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(227, 232, 239, 0.8);
}

.huimengyu-modal__gallery-image--preview {
  aspect-ratio: auto;
  max-height: 260px;
}

.huimengyu-modal__gallery-name {
  font-size: 11px;
  text-align: center;
  color: rgba(23, 24, 26, 0.66);
}

.huimengyu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.huimengyu-modal__inline-submit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.huimengyu-modal__field--action-slot {
  padding-top: 18px;
}

.huimengyu-modal__field--supplement-content {
  margin-top: 10px;
}

.huimengyu-modal__actions--supplement-submit {
  margin-top: 14px;
}

.huimengyu-modal__actions--pair {
  flex-wrap: nowrap;
}

.huimengyu-modal__actions--pair > .huimengyu-modal__button,
.huimengyu-modal__actions--pair > .huimengyu-modal__ghost-button {
  flex: 1 1 0;
  min-width: 0;
}

.huimengyu-modal__field--supplement-content .huimengyu-modal__field-label {
  margin-top: 2px;
}

.huimengyu-modal__field--co-enjoy {
  gap: 0;
}

.huimengyu-modal__textarea--co-enjoy {
  min-height: 138px;
}

.huimengyu-modal__input--center {
  text-align: center;
}

.huimengyu-modal__row--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.huimengyu-modal__image-local-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.huimengyu-modal__image-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 88px;
  padding: 0;
  border: 1px dashed rgba(22, 24, 28, 0.14);
  border-radius: 16px;
  background: rgba(248, 249, 251, 0.82);
  cursor: pointer;
  overflow: hidden;
}

.huimengyu-modal__image-trigger-preview {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.huimengyu-modal__image-trigger-placeholder {
  padding: 0 14px;
  font-size: 12px;
  color: rgba(23, 24, 26, 0.48);
  text-align: center;
}

.huimengyu-modal__actions--image-send {
  padding: 0;
}

.huimengyu-toggle__label {
  min-width: 0;
}

.huimengyu-toggle__title {
  margin: 0;
  font-size: 13px;
  color: #17181a;
}

.huimengyu-toggle__text {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(23, 24, 26, 0.52);
}

.huimengyu-toggle__control {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(193, 198, 208, 0.82);
  cursor: pointer;
}

.huimengyu-toggle__control::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(22, 24, 28, 0.1);
  transition: transform 0.2s ease;
}

.huimengyu-toggle__control.is-active {
  background: rgba(153, 166, 187, 0.9);
}

.huimengyu-toggle__control.is-active::after {
  transform: translateX(18px);
}

.huimengyu-probability-list {
  display: grid;
  gap: 10px;
}

.huimengyu-probability-item {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.huimengyu-probability-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.huimengyu-probability-item__name {
  margin: 0;
  font-size: 13px;
  color: #17181a;
}

.huimengyu-probability-item__value {
  margin: 0;
  min-width: 40px;
  text-align: right;
  font-size: 12px;
  color: rgba(23, 24, 26, 0.62);
}

.huimengyu-probability-item__range {
  width: 100%;
}

.huimengyu-probability-summary {
  margin: 0;
  font-size: 12px;
  color: rgba(23, 24, 26, 0.6);
}

.huimengyu-group-member-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.huimengyu-group-member-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.huimengyu-group-member-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: rgba(115, 127, 146, 0.92);
}

.huimengyu-group-member-item__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(21, 23, 27, 0.08);
  border-radius: 50%;
  background: linear-gradient(145deg, #d8dbe2, #f1f2f6);
  color: #5d616a;
  font-size: 12px;
  font-weight: 600;
}

.huimengyu-group-member-item__name {
  min-width: 0;
  font-size: 13px;
  color: #17181a;
  word-break: break-word;
}

.huimengyu-screenshot-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.huimengyu-screenshot-preview {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 2px;
}

.huimengyu-screenshot-preview__item {
  display: flex;
  justify-content: flex-start;
}

.huimengyu-screenshot-preview__item--self {
  justify-content: flex-end;
}

.huimengyu-screenshot-preview__bubble {
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.7;
  color: #17181a;
  white-space: pre-wrap;
  word-break: break-word;
}

.huimengyu-screenshot-preview__item--self .huimengyu-screenshot-preview__bubble {
  background: rgba(220, 226, 236, 0.92);
}

.huimengyu-screenshot-preview__image {
  width: 120px;
  height: 88px;
  max-width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  background: rgba(227, 232, 239, 0.82);
}

.huimengyu-co-enjoy {
  position: absolute;
  top: 12px;
  left: 10px;
  right: 10px;
  z-index: 8;
  border: 1px solid rgba(18, 20, 24, 0.08);
  border-radius: 24px;
  background: rgba(249, 250, 251, 0.94);
  box-shadow: 0 18px 48px rgba(18, 20, 24, 0.14);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.huimengyu-co-enjoy__header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(23, 24, 26, 0.06);
}

.huimengyu-co-enjoy__title-wrap {
  min-width: 0;
  flex: 1;
}

.huimengyu-co-enjoy__eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(23, 24, 26, 0.42);
}

.huimengyu-co-enjoy__title {
  margin: 0;
  font-size: 15px;
  color: #17181a;
  word-break: break-word;
}

.huimengyu-co-enjoy__sub {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(23, 24, 26, 0.52);
}

.huimengyu-co-enjoy__close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(23, 24, 26, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(23, 24, 26, 0.72);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.huimengyu-co-enjoy__body {
  padding: 12px;
}

.huimengyu-co-enjoy__video,
.huimengyu-co-enjoy__audio {
  width: 100%;
  border-radius: 18px;
  background: rgba(227, 232, 239, 0.8);
}

.huimengyu-co-enjoy__text {
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(23, 24, 26, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.82;
  color: #17181a;
  white-space: pre-wrap;
  word-break: break-word;
}

.huimengyu-settings__summary-list {
  display: grid;
  gap: 10px;
}

.huimengyu-settings__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.huimengyu-settings__summary-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(23, 24, 26, 0.4);
}

.huimengyu-settings__summary-value {
  margin: 0;
  font-size: 13px;
  color: #17181a;
  text-align: right;
}

.huimengyu-settings__favorite-list {
  display: grid;
  gap: 8px;
}

.huimengyu-settings__favorite-item {
  padding: 12px;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.huimengyu-settings__favorite-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(23, 24, 26, 0.72);
  white-space: pre-wrap;
  word-break: break-word;
}

.huimengyu-settings__favorite-item p + p {
  margin-top: 4px;
  font-size: 10px;
  color: rgba(23, 24, 26, 0.42);
}

.huimengyu-empty-inline {
  padding: 12px;
  border: 1px dashed rgba(23, 24, 26, 0.1);
  border-radius: 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(23, 24, 26, 0.48);
}

.huimengyu-companion-picker__card {
  padding: 14px;
}

.huimengyu-companion-picker__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.huimengyu-companion-picker__item {
  width: 100%;
  min-height: 40px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  box-shadow: none;
}

.huimengyu-listen-together {
  display: grid;
  gap: 14px;
}

.huimengyu-listen-together__player {
  display: grid;
  gap: 14px;
  padding: 14px 12px;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.huimengyu-listen-together__now {
  text-align: center;
}

.huimengyu-listen-together__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: #17181a;
  word-break: break-word;
}

.huimengyu-listen-together__artist {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(23, 24, 26, 0.52);
  word-break: break-word;
}

.huimengyu-listen-together__progress {
  display: grid;
  gap: 7px;
}

.huimengyu-listen-together__range {
  width: 100%;
  accent-color: #111111;
}

.huimengyu-listen-together__range:disabled {
  opacity: 1;
  cursor: default;
}

.huimengyu-listen-together__time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  line-height: 1;
  color: rgba(23, 24, 26, 0.58);
  font-variant-numeric: tabular-nums;
}

.huimengyu-listen-together__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.huimengyu-listen-together__control,
.huimengyu-listen-together__play,
.huimengyu-listen-together__chip {
  border: 1px solid rgba(22, 24, 28, 0.08);
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.huimengyu-listen-together__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(248, 249, 251, 0.98), rgba(232, 236, 242, 0.98));
  color: #17181a;
  font-size: 13px;
}

.huimengyu-listen-together__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 16px 32px rgba(20, 22, 26, 0.2);
}

.huimengyu-listen-together__chips {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.huimengyu-listen-together__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(23, 24, 26, 0.72);
  font-size: 12px;
}

.huimengyu-listen-together__chip--status {
  cursor: default;
}

.huimengyu-listen-together__list-card {
  min-height: 260px;
  padding: 10px;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
}

.huimengyu-listen-together__list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: min(320px, 42vh);
  min-height: 230px;
  overflow-y: auto;
  padding-right: 2px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.huimengyu-listen-together__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(22, 24, 28, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  color: #17181a;
  text-align: left;
  cursor: pointer;
}

.huimengyu-listen-together__track.is-active {
  border-color: rgba(17, 17, 17, 0.16);
  background: rgba(235, 238, 244, 0.9);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.05);
}

.huimengyu-listen-together__track-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.huimengyu-listen-together__track-title {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  color: #17181a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.huimengyu-listen-together__track-artist,
.huimengyu-listen-together__track-duration {
  font-size: 11px;
  color: rgba(23, 24, 26, 0.48);
}

.huimengyu-listen-together__track-duration {
  font-variant-numeric: tabular-nums;
}

.huimengyu-listen-together__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px;
  border: 1px dashed rgba(23, 24, 26, 0.12);
  border-radius: 16px;
  color: rgba(23, 24, 26, 0.48);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 420px) {
  .huimengyu-message-bubble-menu {
    gap: 2px;
    max-width: calc(100vw - 34px);
    padding: 5px;
    border-radius: 14px;
  }

  .huimengyu-message-bubble-menu__button {
    min-width: 40px;
    height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }

  .huimengyu-modal__panel {
    width: calc(100% - 12px);
    margin-left: 6px;
    margin-right: 6px;
    margin-bottom: 6px;
    border-radius: 24px;
  }

  .huimengyu-modal__header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .huimengyu-modal__body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .huimengyu-modal__actions {
    padding-left: 1px;
    padding-right: 1px;
  }

  .huimengyu-modal__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huimengyu-modal__grid-buttons--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .huimengyu-modal__inline-submit {
    grid-template-columns: 1fr;
  }

  .huimengyu-modal__button--inline,
  .huimengyu-modal__button--wide,
  .huimengyu-modal__ghost-button--soft {
    width: 100%;
    min-width: 0;
  }

  .huimengyu-modal__row,
  .huimengyu-modal__row--compact,
  .huimengyu-modal__row--supplement-top {
    grid-template-columns: 1fr;
  }

  .huimengyu-modal__row--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huimengyu-modal__actions--pair {
    flex-wrap: nowrap;
  }

  .huimengyu-modal__field--action-slot {
    padding-top: 0;
  }

  .huimengyu-co-enjoy {
    right: 8px;
    left: 8px;
  }

  .huimengyu-chat__messages--with-co-enjoy {
    padding-top: 232px;
  }
}
