.cyc-app {
  min-height: 100%;
  padding: 12px 12px 24px;
  background: #f7f5f2;
  color: #3d434c;
}

.app-view-panel__header--chenyuance {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 42px;
  align-items: center;
  column-gap: 14px;
  min-height: 58px;
  box-sizing: border-box;
  padding: 10px 12px 8px;
  background: #b8d8ed;
  border-bottom: 1px solid #6d462c;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app-view-panel__header--chenyuance .app-view-panel__back-button {
  position: relative;
  left: auto;
  top: auto;
  width: 46px;
  min-width: 46px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: none;
  animation: none;
  justify-self: start;
  align-self: center;
}

.app-view-panel__header--chenyuance .app-view-panel__back-button:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.app-view-panel__header--chenyuance .app-view-panel__back-button:active {
  transform: scale(0.97);
}

.app-view-panel__header--chenyuance .app-view-panel__back-icon {
  font-size: 24px;
  line-height: 1;
}

.app-view-panel__header--chenyuance .app-view-panel__title-group {
  grid-column: 2;
  min-width: 0;
  width: auto;
  padding: 0;
  text-align: center;
  align-self: center;
}

.app-view-panel__header--chenyuance .app-view-panel__eyebrow {
  font-size: 11px;
  color: rgba(77, 84, 95, 0.56);
}

.app-view-panel__header--chenyuance .app-view-panel__title {
  margin-top: 1px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #4a5260;
}

.app-view-panel__header--chenyuance .app-view-panel__header-action--chenyuance {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  transition: none;
  animation: none;
  justify-self: end;
  align-self: center;
}

.cyc-header-action-wrap {
  position: relative;
}

.cyc-app--home {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cyc-profile-card,
.cyc-dream-panel,
.cyc-editor-card,
.cyc-sheet__panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(106, 111, 120, 0.12);
  box-shadow: 0 8px 18px rgba(88, 92, 100, 0.06);
}

.cyc-header-action-button,
.cyc-dream-panel__more,
.cyc-dream-panel__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(106, 111, 120, 0.14);
  border-radius: 14px;
  background: #fdfcfb;
  color: #454d5a;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.cyc-header-action-button {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cyc-header-action-button:hover {
  background: transparent;
  box-shadow: none;
  transform: translateY(-1px);
}

.cyc-dream-panel__more:hover,
.cyc-dream-panel__icon-button:hover {
  border-color: rgba(106, 111, 120, 0.22);
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(88, 92, 100, 0.08);
  transform: translateY(-1px);
}

.cyc-profile-card {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 18px 20px 14px;
  border-radius: 28px;
}

.cyc-profile-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 94px;
  padding: 5px;
  border: 1px solid rgba(106, 111, 120, 0.14);
  border-radius: 26px;
  background: #fbfaf8;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.cyc-profile-card__avatar:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(88, 92, 100, 0.08);
}

.cyc-profile-card__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 21px;
}

.cyc-profile-card__pill {
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(106, 111, 120, 0.16);
  border-radius: 999px;
  background: #fbfaf8;
  color: #566072;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.cyc-profile-card__name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #3f4652;
}

.cyc-dream-panel {
  padding: 16px 14px 14px;
  border-radius: 26px;
}

.cyc-dream-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cyc-dream-panel__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(106, 111, 120, 0.14);
  border-radius: 999px;
  color: #5b6474;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: #fbfaf8;
}

.cyc-dream-panel__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cyc-dream-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.cyc-dream-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(106, 111, 120, 0.1);
  border-radius: 18px;
  background: #fcfbf9;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.cyc-dream-item:hover {
  transform: translateY(-1px);
  border-color: rgba(106, 111, 120, 0.16);
  box-shadow: 0 8px 16px rgba(88, 92, 100, 0.08);
}

.cyc-dream-item__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.cyc-dream-item__avatar-box {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 4px;
  border: 1px solid rgba(106, 111, 120, 0.12);
  border-radius: 12px;
  background: #f2efea;
}

.cyc-dream-item__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.cyc-dream-item__content {
  min-width: 0;
}

.cyc-dream-item__name {
  font-size: 14px;
  font-weight: 800;
  color: #3f4652;
}

.cyc-dream-item__owner {
  margin-top: 3px;
  font-size: 11px;
  color: rgba(77, 84, 95, 0.62);
  letter-spacing: 0.02em;
}

.cyc-dream-item__arrow {
  color: rgba(77, 84, 95, 0.42);
  font-size: 20px;
}

.cyc-dream-empty {
  display: grid;
  place-items: center;
  min-height: 88px;
  margin-top: 16px;
  border: 1px dashed rgba(106, 111, 120, 0.18);
  border-radius: 18px;
  background: rgba(250, 248, 245, 0.92);
}

.cyc-dream-empty__text {
  font-size: 13px;
  color: rgba(77, 84, 95, 0.62);
}

.cyc-grid {
  display: grid;
  gap: 16px;
}

.cyc-field-group {
  display: grid;
  gap: 16px;
}

.cyc-field {
  display: grid;
  gap: 8px;
}

.cyc-field--full {
  grid-column: 1 / -1;
}

.cyc-field__label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(77, 84, 95, 0.82);
}

.cyc-input,
.cyc-textarea,
.cyc-select {
  width: 100%;
  border: 1px solid rgba(106, 111, 120, 0.14);
  background: #ffffff;
  color: #3d434c;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.cyc-input {
  height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 14px;
}

.cyc-textarea {
  min-height: 156px;
  padding: 14px 16px;
  border-radius: 18px;
  resize: vertical;
  font-size: 14px;
  line-height: 1.75;
}

.cyc-input--ghost {
  background: #fcfbf9;
}

.cyc-input:focus,
.cyc-textarea:focus,
.cyc-select:focus {
  outline: none;
  border-color: rgba(94, 101, 112, 0.28);
  box-shadow: 0 0 0 4px rgba(128, 134, 145, 0.1);
}

.cyc-solid-button,
.cyc-outline-button {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.cyc-solid-button {
  border: none;
  background: #141414;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(20, 20, 20, 0.14);
}

.cyc-solid-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(20, 20, 20, 0.18);
}

.cyc-outline-button {
  border: 1px solid rgba(106, 111, 120, 0.16);
  background: #fcfbf9;
  color: #3f4652;
}

.cyc-outline-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(88, 92, 100, 0.08);
  background: #ffffff;
}

.cyc-outline-button--danger {
  color: #2d3440;
  border-color: rgba(106, 111, 120, 0.2);
}

@media (max-width: 420px) {
  .cyc-app {
    padding: 10px 10px 20px;
  }

  .app-view-panel__header--chenyuance {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    min-height: 54px;
    column-gap: 12px;
    padding: 8px 10px 6px;
    align-items: center;
  }

  .app-view-panel__header--chenyuance .app-view-panel__back-button {
    width: 44px;
    min-width: 44px;
    height: 36px;
  }

  .app-view-panel__header--chenyuance .app-view-panel__title-group {
    padding: 0;
  }

  .app-view-panel__header--chenyuance .app-view-panel__title {
    font-size: 17px;
  }

  .app-view-panel__header--chenyuance .app-view-panel__header-action--chenyuance {
    right: auto;
    top: auto;
  }

  .cyc-profile-card {
    padding: 16px 14px 12px;
  }

  .cyc-profile-card__avatar {
    width: 88px;
    height: 88px;
  }

  .cyc-profile-card__name {
    font-size: 20px;
  }

  .cyc-dream-panel {
    border-radius: 22px;
  }

  .cyc-dream-item {
    padding: 12px;
  }
}

.cyc-app {
  background: #fae19f;
  color: #6d462c;
}

.app-view-panel__header--chenyuance {
  background: #b8d8ed;
  border-bottom-color: #6d462c;
}

.app-view-panel__header--chenyuance .app-view-panel__back-button {
  border: 1px solid #6d462c;
  border-radius: 999px;
  background: #fff7ee;
  color: #6d462c;
  box-shadow: 0 8px 18px rgba(109, 70, 44, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app-view-panel__header--chenyuance .app-view-panel__back-button:hover {
  background: #fae19f;
  border-color: #6d462c;
  box-shadow: 0 10px 22px rgba(109, 70, 44, 0.18);
}

.app-view-panel__header--chenyuance .app-view-panel__back-icon {
  color: #6d462c;
}

.cyc-dream-panel__more,
.cyc-dream-panel__icon-button,
.cyc-profile-card__avatar,
.cyc-profile-card__pill,
.cyc-dream-panel__tag,
.cyc-dream-item,
.cyc-input,
.cyc-textarea,
.cyc-select,
.cyc-outline-button {
  border-color: #6d462c;
  background: #fff7ee;
  color: #6d462c;
  box-shadow: 0 10px 24px rgba(109, 70, 44, 0.12);
}

.cyc-dream-panel__more:hover,
.cyc-dream-panel__icon-button:hover,
.cyc-outline-button:hover {
  background: #fae19f;
  border-color: #6d462c;
}

.app-view-panel__header--chenyuance .app-view-panel__eyebrow,
.cyc-dream-item__owner,
.cyc-dream-empty__text,
.cyc-field__label {
  color: #6d462c;
}

.app-view-panel__header--chenyuance .app-view-panel__title,
.cyc-profile-card__name,
.cyc-dream-item__name {
  color: #6d462c;
}

.cyc-profile-card,
.cyc-dream-panel,
.cyc-editor-card,
.cyc-sheet__panel {
  border-color: #6d462c;
  box-shadow: 0 14px 28px rgba(109, 70, 44, 0.12);
}

.cyc-profile-card {
  background: #fff7ee;
}

.cyc-dream-panel {
  background: #b8d8ed;
}

.cyc-editor-card,
.cyc-sheet__panel {
  background: #fff7ee;
}

.cyc-profile-card__avatar {
  background: #b8d8ed;
}

.cyc-profile-card__pill {
  background: #fff7ee;
  color: #6d462c;
}

.cyc-dream-panel__tag {
  background: #fae19f;
  color: #6d462c;
}

.cyc-dream-item {
  background: #fff7ee;
}

.cyc-dream-item__avatar-box {
  border-color: #6d462c;
  background: #b8d8ed;
}

.cyc-dream-item__arrow {
  color: #6d462c;
}

.cyc-dream-empty {
  border-color: #6d462c;
  background: #fff7ee;
}

.cyc-input--ghost {
  background: #fae19f;
}

.cyc-input:focus,
.cyc-textarea:focus,
.cyc-select:focus {
  border-color: #6d462c;
  box-shadow: 0 0 0 4px rgba(184, 216, 237, 0.45);
}

.cyc-solid-button {
  background: #6d462c;
  color: #fff7ee;
  box-shadow: 0 12px 24px rgba(109, 70, 44, 0.24);
}

.cyc-solid-button:hover {
  background: #6d462c;
  box-shadow: 0 14px 26px rgba(109, 70, 44, 0.3);
}

.cyc-header-action-button {
  color: #6d462c;
}

.cyc-outline-button--danger {
  color: #6d462c;
  border-color: #6d462c;
  background: #fff7ee;
}
