.txj-app--lover-detail {
  position: relative;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 12% 4%, rgba(0, 0, 0, 0.07), transparent 24%),
    linear-gradient(180deg, #fbfbfa 0%, #f3f3f0 100%);
}

.txj-app--lover-detail::before {
  content: "";
  position: fixed;
  inset: 18px 18px auto auto;
  width: 76px;
  height: 76px;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  border-right: 1px solid rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.txj-lover-topbar {
  position: sticky;
  top: 0;
  z-index: 24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  background: rgba(251, 251, 250, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.txj-lover-topbar__back,
.txj-lover-topbar__settings {
  border: 0;
  background: transparent;
  color: var(--txj-color-text-primary);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.txj-lover-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.txj-lover-topbar__settings {
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.txj-lover-topbar__save,
.txj-lover-topbar__organize {
  color: #ffffff;
  border-color: #050505;
  background: #050505;
}

.txj-lover-body {
  padding: 18px 20px 120px;
}

.txj-lover-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 0 22px;
}

.txj-lover-hero__rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #050505, rgba(5, 5, 5, 0.08), transparent);
}

.txj-lover-hero__main {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.txj-lover-hero__avatar-wrap {
  position: relative;
}

.txj-lover-hero__avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
}

.txj-lover-hero__avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  filter: none;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #eeeeec;
}

.txj-lover-hero__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0b0b0b, #393939);
  font-size: 26px;
  font-weight: 850;
}

.txj-lover-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--txj-color-text-tertiary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.txj-lover-hero__title {
  margin: 0;
  color: var(--txj-color-text-primary);
  font-size: clamp(42px, 13vw, 76px);
  line-height: 0.86;
  font-weight: 850;
  letter-spacing: -0.075em;
}

.txj-lover-hero__subtitle {
  margin: 10px 0 0;
  color: var(--txj-color-text-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.txj-lover-hero__note {
  margin: 0;
  padding: 14px 16px;
  color: var(--txj-color-text-secondary);
  font-size: 13px;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
}

.txj-archive-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.txj-archive-stat {
  min-width: 0;
  padding: 14px 10px;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.txj-archive-stat span {
  display: block;
  margin-bottom: 8px;
  color: var(--txj-color-text-tertiary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.txj-archive-stat strong {
  display: block;
  color: var(--txj-color-text-primary);
  font-size: 30px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.txj-archive-section,
.txj-editor-card--archive,
.txj-archive-note-item,
.txj-archive-timeline-entry__card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.txj-archive-section {
  padding: 18px;
  border-radius: 22px;
}

.txj-archive-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.txj-archive-section__head h3 {
  margin: 0;
  color: var(--txj-color-text-primary);
  font-size: 18px;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.txj-archive-section__head button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--txj-color-text-tertiary);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.txj-archive-mini-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.txj-archive-mini-row:first-of-type {
  border-top: 0;
}

.txj-archive-mini-row__date {
  color: var(--txj-color-text-tertiary);
  font-size: 10px;
  font-weight: 800;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.12em;
}

.txj-archive-mini-row__title,
.txj-archive-mini-row__text {
  margin: 0;
}

.txj-archive-mini-row__title {
  color: var(--txj-color-text-primary);
  font-size: 15px;
  font-weight: 780;
}

.txj-archive-mini-row__text {
  margin-top: 4px;
  color: var(--txj-color-text-tertiary);
  font-size: 12px;
  line-height: 1.7;
}

.txj-priority-pill,
.txj-keyword-chip,
.txj-archive-chip,
.txj-archive-note-item__type,
.txj-sensitive-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
}

.txj-priority-pill {
  min-height: 24px;
  padding: 0 9px;
  color: #ffffff;
  background: #050505;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.txj-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.txj-archive-chip {
  max-width: 100%;
  padding: 8px 11px;
  color: var(--txj-color-text-primary);
  background: #f3f3f1;
  border: 1px solid rgba(0, 0, 0, 0.09);
  font-size: 12px;
  font-weight: 700;
}

.txj-archive-chip--dark {
  color: #ffffff;
  background: #111111;
}

.txj-grid--timeline-archive,
.txj-grid--settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.txj-grid--timeline-archive .txj-field--full,
.txj-grid--settings .txj-field--full {
  grid-column: 1 / -1;
}

.txj-editor-card__hint {
  margin: 6px 0 0;
  color: var(--txj-color-text-tertiary);
  font-size: 12px;
  line-height: 1.6;
}

.txj-archive-note-toolbar {
  position: sticky;
  top: 74px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 14px 34px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.txj-archive-note-toolbar p,
.txj-archive-note-toolbar h3 {
  margin: 0;
}

.txj-archive-note-toolbar p {
  color: var(--txj-color-text-tertiary);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.txj-archive-note-toolbar h3 {
  margin-top: 4px;
  color: var(--txj-color-text-primary);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.txj-archive-filter {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 118px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.txj-archive-filter span {
  color: var(--txj-color-text-tertiary);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.txj-archive-filter select {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--txj-color-text-primary);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.txj-archive-timeline-list,
.txj-archive-note-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.txj-archive-timeline-entry {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
}

.txj-archive-timeline-entry__rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.txj-archive-timeline-entry__rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -14px;
  width: 1px;
  background: rgba(0, 0, 0, 0.16);
}

.txj-archive-timeline-entry__rail span {
  position: sticky;
  top: 86px;
  z-index: 1;
  width: 9px;
  height: 9px;
  margin-top: 18px;
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}

.txj-archive-timeline-entry__card {
  padding: 16px;
  border-radius: 20px;
}

.txj-archive-timeline-entry__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.txj-timeline-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.txj-timeline-meta-block {
  padding: 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.035);
}

.txj-timeline-meta-block span {
  display: block;
  margin-bottom: 4px;
  color: var(--txj-color-text-tertiary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.txj-timeline-meta-block strong {
  display: block;
  color: var(--txj-color-text-secondary);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 650;
}

.txj-keyword-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--txj-color-text-tertiary);
  font-size: 11px;
  font-weight: 800;
}

.txj-keyword-chip {
  padding: 5px 9px;
  color: var(--txj-color-text-primary);
  background: #f1f1ef;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 11px;
}

.txj-archive-note-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border-radius: 18px;
}

.txj-archive-note-item--personal {
  background: rgba(17, 17, 17, 0.035);
}

.txj-archive-note-item__type {
  min-width: 44px;
  padding: 6px 9px;
  color: #ffffff;
  background: #0b0b0b;
  font-size: 10px;
  font-weight: 850;
}

.txj-archive-note-item__content h5,
.txj-archive-note-item__content p {
  margin: 0;
}

.txj-archive-note-item__content h5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--txj-color-text-primary);
  font-size: 15px;
  font-weight: 800;
}

.txj-archive-note-item__content p {
  margin-top: 5px;
  color: var(--txj-color-text-tertiary);
  font-size: 12px;
  line-height: 1.7;
}

.txj-sensitive-dot {
  padding: 3px 7px;
  color: #ffffff;
  background: #050505;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.txj-settings-section {
  margin-bottom: 14px;
}

.txj-settings-details {
  display: block;
}

.txj-settings-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.txj-settings-summary::-webkit-details-marker {
  display: none;
}

.txj-settings-summary::after {
  content: "收起";
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  color: var(--txj-color-text-tertiary);
  background: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.txj-settings-details:not([open]) .txj-settings-summary::after {
  content: "展开";
}

.txj-settings-summary span,
.txj-settings-summary strong,
.txj-settings-summary em {
  display: block;
}

.txj-settings-summary span {
  min-width: 0;
}

.txj-settings-summary strong {
  color: var(--txj-color-text-primary);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.txj-settings-summary em {
  margin-top: 5px;
  color: var(--txj-color-text-tertiary);
  font-size: 12px;
  line-height: 1.6;
  font-style: normal;
}

.txj-settings-subtitle {
  margin: 16px 0 10px;
  color: var(--txj-color-text-primary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.txj-settings-divider {
  height: 1px;
  margin: 18px 0 4px;
  background: rgba(0, 0, 0, 0.08);
}

.txj-setting-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.txj-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

.txj-switch-row span {
  min-width: 0;
}

.txj-switch-row strong,
.txj-switch-row em {
  display: block;
}

.txj-switch-row strong {
  color: var(--txj-color-text-primary);
  font-size: 14px;
}

.txj-switch-row em {
  margin-top: 4px;
  color: var(--txj-color-text-tertiary);
  font-size: 11px;
  line-height: 1.5;
  font-style: normal;
}

.txj-switch-row input {
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  accent-color: #050505;
}

.txj-switch-row .txj-button {
  flex: 0 0 auto;
  min-width: 74px;
  padding-inline: 18px;
  white-space: nowrap;
  word-break: keep-all;
}

.txj-settings-footnote {
  margin: 12px 0 0;
  color: var(--txj-color-text-tertiary);
  font-size: 12px;
  line-height: 1.7;
}

.txj-timeline-calendar {
  position: sticky;
  top: 74px;
  z-index: 12;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 14px 34px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.txj-timeline-calendar__label {
  margin-bottom: 10px;
  color: var(--txj-color-text-tertiary);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.txj-timeline-calendar-card {
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f4 100%);
  border: 1px solid rgba(0, 0, 0, 0.09);
  overflow: hidden;
}

.txj-calendar-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--txj-color-text-primary);
  font: inherit;
  cursor: pointer;
}

.txj-calendar-trigger span {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.txj-calendar-trigger em {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #ffffff;
  background: #050505;
  font-size: 13px;
  font-style: normal;
}

.txj-calendar-panel {
  padding: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.txj-calendar-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.txj-calendar-head strong {
  text-align: center;
  color: var(--txj-color-text-primary);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.txj-calendar-nav-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #0b0b0b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.txj-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.txj-calendar-grid--week {
  margin-bottom: 6px;
}

.txj-calendar-week {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  color: var(--txj-color-text-primary);
  font-size: 11px;
  font-weight: 850;
}

.txj-calendar-day {
  min-width: 0;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--txj-color-text-primary);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.txj-calendar-day span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
}

.txj-calendar-day.is-muted {
  color: var(--txj-color-text-tertiary);
  opacity: 0.56;
}

.txj-calendar-day.is-today span {
  border: 1px solid rgba(0, 0, 0, 0.22);
}

.txj-calendar-day.is-selected span {
  color: #ffffff;
  background: #050505;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.txj-calendar-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.txj-calendar-actions button {
  border: 0;
  background: transparent;
  color: var(--txj-color-text-primary);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.txj-priority-pill--button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.txj-priority-pill--button:active {
  transform: scale(0.96);
}

.txj-archive-modal[hidden] {
  display: none;
}

.txj-archive-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
}

.txj-archive-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.txj-archive-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(86vh, 620px);
  overflow: auto;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(251, 251, 250, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.txj-archive-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.txj-archive-modal__head p,
.txj-archive-modal__head h3,
.txj-archive-modal__desc {
  margin: 0;
}

.txj-archive-modal__head p {
  color: var(--txj-color-text-tertiary);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.txj-archive-modal__head h3 {
  margin-top: 4px;
  color: var(--txj-color-text-primary);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.txj-archive-modal__head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #050505;
  font-size: 20px;
  line-height: 1;
}

.txj-archive-modal__desc {
  margin-bottom: 14px;
  color: var(--txj-color-text-tertiary);
  font-size: 12px;
  line-height: 1.7;
}

.txj-archive-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.txj-reorganize-modal {
  position: fixed;
  inset: 0;
  z-index: 86;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
}

.txj-reorganize-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.txj-reorganize-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(88vh, 720px);
  overflow: auto;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(251, 251, 250, 0.97);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.txj-reorganize-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.txj-reorganize-modal__head p,
.txj-reorganize-modal__head h3,
.txj-reorganize-modal__desc {
  margin: 0;
}

.txj-reorganize-modal__head p {
  color: var(--txj-color-text-tertiary);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.txj-reorganize-modal__head h3 {
  margin-top: 4px;
  color: var(--txj-color-text-primary);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.txj-reorganize-modal__head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #050505;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.txj-reorganize-modal__desc {
  margin-bottom: 14px;
  color: var(--txj-color-text-tertiary);
  font-size: 12px;
  line-height: 1.7;
}

.txj-reorganize-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.txj-reorganize-column {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.txj-reorganize-column--after {
  background: rgba(17, 17, 17, 0.035);
}

.txj-reorganize-column h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--txj-color-text-primary);
  font-size: 14px;
  font-weight: 850;
}

.txj-reorganize-column h4 span {
  color: var(--txj-color-text-tertiary);
  font-size: 11px;
}

.txj-reorganize-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(48vh, 420px);
  overflow: auto;
  padding-right: 3px;
}

.txj-reorganize-item {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.075);
}

.txj-reorganize-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

.txj-reorganize-item__head span,
.txj-reorganize-item__head strong {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}

.txj-reorganize-item__head span {
  color: var(--txj-color-text-tertiary);
  background: rgba(0, 0, 0, 0.045);
}

.txj-reorganize-item__head strong {
  color: #ffffff;
  background: #050505;
}

.txj-reorganize-item h5,
.txj-reorganize-item p {
  margin: 0;
}

.txj-reorganize-item h5 {
  color: var(--txj-color-text-primary);
  font-size: 14px;
  font-weight: 820;
}

.txj-reorganize-item p {
  margin-top: 5px;
  color: var(--txj-color-text-tertiary);
  font-size: 12px;
  line-height: 1.7;
}

.txj-reorganize-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.txj-lover-nav {
  position: sticky;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: grid;
  grid-template-columns: 0.75fr 0.9fr 1.25fr 0.9fr 0.7fr;
  gap: 5px;
  margin: 0 16px 14px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.txj-lover-nav__item {
  min-width: 0;
  min-height: 40px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--txj-color-text-primary);
  font: inherit;
  cursor: pointer;
}

.txj-lover-nav__item.is-active {
  color: #ffffff;
  background: #050505;
  border-color: #050505;
}

.txj-lover-nav__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 480px) {
  .txj-hero-card {
    padding: var(--txj-gap-md);
  }

  .txj-hero-card__avatar {
    width: 56px;
    height: 56px;
  }

  .txj-hero-card__stats {
    grid-template-columns: 1fr;
    gap: var(--txj-gap-xs);
  }

  .txj-mini-stat {
    padding: var(--txj-gap-sm) var(--txj-gap-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .txj-mini-stat__label {
    margin: 0;
  }

  .txj-note-card__text {
    padding-left: var(--txj-gap-lg);
  }

  .txj-lover-body {
    padding: 14px 16px 112px;
  }

  .txj-lover-hero__main {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .txj-lover-hero__avatar {
    width: 62px;
    height: 62px;
  }

  .txj-grid--timeline-archive,
  .txj-grid--settings,
  .txj-timeline-meta-grid {
    grid-template-columns: 1fr;
  }

  .txj-archive-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .txj-archive-stat {
    padding: 12px 8px;
    border-radius: 16px;
  }

  .txj-archive-stat span {
    font-size: 9px;
    letter-spacing: 0;
  }

  .txj-archive-stat strong {
    font-size: 26px;
  }

  .txj-archive-note-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .txj-archive-filter {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
  }

  .txj-archive-note-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .txj-archive-note-item__type {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .txj-lover-nav {
    margin-inline: 12px;
  }
}
