@charset "UTF-8";

/* Semantic tokens for the cream / lilac stationery theme. */
:root {
  --paper: #fffaf4;
  --ink: #685566;
  --muted: #96818d;
  --accent: #d1bfe5;
  --accent-strong: #9c718d;
  --accent-dark: #805b7c;
  --accent-soft: #f5eaf2;
  --accent-faint: #fff5f3;
  --accent-border: #e4cddc;
  --line: #e7d7de;
  --surface: #fffefa;
  --cottage-radius: 26px;
  --cottage-shadow: 0 4px 0 #e9dae14d, 0 12px 30px #94778b0b;
  --cottage-stroke: #cdb9c8;
  --cottage-header-height: 122px;
  --calendar-love-bg: #E6CEED;
  --calendar-sparkle: #EDE990;
  --text-soft: #80566b;
  --text-faint: #8d647b;
  --green: var(--accent-strong);
  --green-dark: var(--accent-dark);
  accent-color: var(--accent-strong);
}

body {
  background: var(--paper);
  color: var(--ink);
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline-color: var(--accent-strong);
}

.site-header {
  background: #fffafd80;
}

.site-footer {
  background: #fff2f8;
}

.nav-link,
.text-link,
.breadcrumb,
.page-description,
.placeholder-copy p,
.entry-card p {
  color: var(--text-soft);
}

.nav-link[aria-current="page"] {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.nav-link::before {
  border-color: #dfb0c5;
}

.nav-link::after {
  background: #ffe6f1;
  box-shadow: 0 0 0 3px var(--accent-strong);
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fffafd;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  border-color: #e9bfd2;
}

.button {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fffafd;
}

.button:hover {
  background: var(--accent-dark);
  box-shadow: 0 5px 15px #ae789322;
}

.text-link:hover,
.breadcrumb a:hover {
  color: var(--accent-dark);
}

.eyebrow,
.section-title span,
.footer-flower,
.closing-note {
  color: var(--accent);
}

.eyebrow-dot {
  background: #d6a0ba;
  box-shadow: 0 0 0 4px #d6a0ba1a;
}

.section-caption,
.footer-inner,
.breadcrumb span[aria-hidden],
.closing-note span {
  color: var(--text-faint);
}

.closing-note::before,
.closing-note::after {
  background: var(--accent-border);
}

.entry-card {
  border-color: var(--line);
  background: var(--surface);
}

.entry-card:hover {
  border-color: var(--accent-border);
  background: var(--accent-faint);
}

.entry-card:nth-child(n) .entry-icon {
  background: #fae7f0;
  color: #bb88a1;
}

.entry-arrow {
  color: #c9a8b9;
}

.entry-card:hover .entry-arrow {
  color: var(--accent-strong);
}

.placeholder-panel {
  border-color: var(--line);
  background: var(--surface);
}

.placeholder-art,
.theme-notes .placeholder-art,
.theme-diary .placeholder-art,
.theme-other .placeholder-art {
  background: #fae8f0;
  color: #bc91a6;
}

.placeholder-art::before,
.placeholder-art::after {
  border-color: #d9a9bf50;
}

.placeholder-art > svg,
.theme-notes .placeholder-art > svg,
.theme-diary .placeholder-art > svg,
.theme-other .placeholder-art > svg {
  border-color: var(--accent-border);
  background: #fff7fb;
  box-shadow: 9px 9px 0 #f0d6e3;
}

.placeholder-art > span {
  color: #ba93a6;
}

.preview-label {
  border-color: var(--accent-border);
  background: var(--accent-faint);
  color: var(--text-soft);
}

.broadcast {
  border-color: var(--line);
  background: #fceaf3b3;
}

.broadcast-label {
  border-color: var(--accent-border);
  color: var(--accent-strong);
}

.broadcast p {
  color: var(--text-soft);
}

.broadcast-air {
  color: var(--text-faint);
}

.broadcast-air i {
  background: #cc96b0;
}

.members-subtitle,
.interaction-tip,
.room-center-note span,
.stage-caption p,
.stage-caption p:first-child {
  color: var(--text-soft);
}

.room-colors {
  background: radial-gradient(ellipse 25% 69% at 26% 54%, #f6ddea85, transparent),
    radial-gradient(ellipse 25% 69% at 74% 54%, #fbe4efaa, transparent);
}

.room-center-note {
  color: #d8b5c8;
}

.room-center-note svg path:last-child {
  fill: #eed1e0;
}

.member-hua {
  --member-tint: #f8e3ef;
}

.member-yue {
  --member-tint: #fbe7f0;
}

.member-name-text {
  color: var(--ink);
}

.member-role,
.member-yue .member-role,
.portrait-hint,
.member-yue .portrait-hint,
.pet-name small,
.room-floor span,
.edge-peek-left span,
.edge-peek-right span {
  color: var(--text-faint);
}

.portrait-button::after,
.member-yue .portrait-button::after {
  background: #bc8aa421;
}

.pet-name,
.pet-name svg {
  color: var(--accent);
}

.pet-name:hover {
  background: var(--accent-soft);
}

.pet-belly-note {
  border-color: var(--accent-border);
  background: #fff0f7;
  color: var(--text-soft);
}

.room-floor {
  border-color: var(--line);
}

.stage-caption p > span {
  color: #cda3b9;
}

.profile-panel,
.profile-panel[data-profile="yue"],
.profile-panel[data-profile="xuehua"] {
  border-color: var(--accent-border);
  background: var(--surface);
  box-shadow: 0 8px 35px #a76e8812;
  --profile-color: var(--accent-strong);
  --profile-tint: var(--accent-soft);
  --profile-line: var(--accent-border);
}

.icon-button {
  border-color: var(--line);
  color: var(--text-faint);
}

.icon-button:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.profile-field label,
.profile-status {
  color: var(--text-soft);
}

.profile-field input,
.profile-field textarea {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.profile-field input[readonly],
.profile-field textarea[readonly] {
  border-color: var(--line);
  background: #fff3f8;
  color: var(--text-soft);
}

.profile-field input::placeholder,
.profile-field textarea::placeholder {
  color: #c0a3b2;
}

.secondary-button {
  border-color: var(--accent-border);
  background: var(--surface);
  color: var(--text-soft);
}

.secondary-button:hover {
  background: var(--accent-faint);
  color: var(--accent-dark);
}

.profile-storage-note {
  border-color: var(--line);
  color: var(--text-faint);
}

.profile-status.is-error,
.calendar-feedback.is-error,
.noscript-note {
  color: #ad647d;
}

.calendar-section-heading h2 svg,
.calendar-month-header p,
.calendar-weekdays,
.calendar-weekdays span:nth-last-child(-n + 2),
.calendar-today-label,
.calendar-section-heading > div > p:last-child,
.calendar-legend,
.calendar-selected-heading > p,
.occasion-list-hint,
.occasion-form-title,
.occasion-field label {
  color: var(--text-soft);
}

.love-counter-card {
  border-color: #d6b4df;
  background: var(--calendar-love-bg);
}

.love-card-flower {
  color: #b18cc0;
}

.love-card-intro,
.love-counter-caption {
  color: var(--text-soft);
}

.love-counter,
.calendar-month-header h3 {
  color: var(--accent-strong);
}

.love-counter > span,
.love-counter-note {
  color: var(--text-soft);
}

.calendar-paper,
.calendar-occasions-card {
  border-color: var(--line);
  background: var(--surface);
}

.calendar-paper::before,
.calendar-paper::after {
  background: #d6a4bc;
}

.calendar-month-header {
  border-color: var(--line);
  background: #fbe7f0;
}

.calendar-nav-button {
  border-color: #e6c0d2;
  color: var(--accent);
}

.calendar-nav-button:hover:not(:disabled) {
  background: #f2d3e2;
  color: var(--accent-dark);
}

.calendar-day {
  color: var(--text-soft);
}

.calendar-day.is-outside {
  color: #d4b9c8;
}

.calendar-day:hover:not(:disabled) {
  border-color: var(--accent-border);
  background: var(--accent-faint);
}

.calendar-day.is-today {
  border-color: #d3a0ba;
  background: #fff0f7;
  color: var(--accent-strong);
}

.calendar-day.is-selected {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fffafd;
}

.calendar-day.is-selected:hover {
  background: var(--accent-dark);
  color: #fffafd;
}

.legend-today {
  border-color: var(--accent);
}

.calendar-today-button {
  color: var(--accent);
}

.calendar-today-button:hover {
  color: var(--accent-dark);
}

.calendar-selected-heading,
.occasion-form {
  border-color: var(--line);
}

.calendar-selected-note > p:last-child,
.calendar-feedback,
.calendar-storage-note {
  color: var(--text-faint);
}

.occasions-heading h3,
.occasion-name {
  color: var(--ink);
}

.occasions-heading h3 svg,
.occasion-form-title > span {
  color: var(--accent);
}

.occasions-heading > span {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.occasion-list {
  scrollbar-color: var(--accent-border) transparent;
}

.occasion-jump:hover .occasion-name {
  color: var(--accent-strong);
}

.occasion-icon,
.occasion-item.is-confession .occasion-icon {
  border-color: var(--accent-border);
  background: #fff9fc;
  color: var(--accent);
}

.occasion-date {
  color: var(--text-soft);
}

.occasion-distance {
  color: var(--accent-strong);
}

.occasion-remove {
  color: #c69db3;
}

.occasion-remove:hover {
  background: #f5dce8;
  color: var(--accent-strong);
}

.occasion-field input {
  border-color: var(--accent-border);
  background: var(--surface);
  color: var(--ink);
}

.occasion-field input::placeholder {
  color: #bc9cad;
}

.huayue-calendar input:focus {
  border-color: var(--accent);
  outline-color: var(--accent-soft);
}

.occasion-add {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.occasion-add:hover {
  background: var(--accent-dark);
}

#occasion-undo {
  border-color: var(--accent-border);
  color: var(--accent-strong);
}

/* Comfortable reading sizes across every page, including secondary captions. */
body {
  font-size: 16px;
  line-height: 1.7;
}

.brand-name {
  font-size: 30px;
  line-height: 1.25;
}

.brand-subtitle {
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.nav-link {
  min-height: 54px;
  font-size: 16px;
  line-height: 1.5;
}

.button,
.text-link,
.page-description,
.placeholder-copy p,
.entry-card p,
.broadcast p,
.members-subtitle {
  font-size: 16px;
  line-height: 1.8;
}

.button {
  gap: 12px;
}

.eyebrow,
.brand-subtitle,
.section-caption,
.broadcast-air,
.love-card-intro,
.calendar-month-header p {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.6;
}

.section-title {
  font-size: 24px;
}

.page-heading {
  font-size: clamp(34px, 4vw, 46px);
}

.placeholder-copy h2 {
  font-size: 28px;
  line-height: 1.6;
}

.preview-label,
.breadcrumb,
.placeholder-art > span,
.broadcast-label,
.interaction-tip,
.stage-caption p,
.stage-caption p:first-child,
.portrait-hint,
.member-yue .portrait-hint,
.footer-inner,
.closing-note {
  font-size: 14px;
  line-height: 1.8;
}

.entry-card {
  min-height: 190px;
}

.entry-card h3 {
  font-size: 21px;
  line-height: 1.5;
}

.closing-note {
  padding-inline: 20px;
  text-align: center;
}

.footer-inner {
  min-height: 86px;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 18px;
}

.broadcast {
  padding-block: 15px;
}

.broadcast-label {
  font-size: 15px;
}

.members-heading h1 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.5;
}

.interaction-tip {
  max-width: 280px;
}

.members-stage:not(.has-profile) {
  min-height: 490px;
}

.member-name-text {
  font-size: 32px;
  line-height: 1.2;
}

.member-role,
.member-yue .member-role {
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.pet-name > span {
  font-size: 21px;
  line-height: 1.3;
}

.pet-name small,
.room-center-note span,
.room-floor span {
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.pet-belly-note,
.edge-peek span {
  font-size: 14px;
}

.profile-heading h2 {
  font-size: 25px;
  line-height: 1.4;
}

.profile-role {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.profile-field label,
.profile-field input,
.profile-field textarea {
  font-size: 16px;
  line-height: 1.6;
}

.profile-field input,
.profile-field textarea {
  min-height: 46px;
}

.profile-field input::placeholder,
.profile-field textarea::placeholder,
.occasion-field input::placeholder {
  color: #947084;
}

.profile-status,
.profile-storage-note,
.noscript-note {
  font-size: 14px;
  line-height: 1.8;
}

.profile-action-buttons {
  max-width: 100%;
  flex-wrap: wrap;
}

.profile-actions .button,
.secondary-button {
  min-height: 44px;
  gap: 9px;
  padding: 10px 12px;
  font-size: 15px;
}

.calendar-section-heading h2 {
  font-size: 28px;
}

.calendar-section-heading > div > p:last-child,
.calendar-today-label,
.love-counter-note,
.calendar-weekdays,
.calendar-legend,
.calendar-today-button,
.calendar-selected-heading > p,
.occasion-list-hint,
.occasion-form-title,
.occasions-heading > span,
.calendar-feedback,
.calendar-storage-note,
#occasion-undo {
  font-size: 14px;
  line-height: 1.8;
}

.love-counter-content {
  flex-wrap: nowrap;
}

.love-counter-caption,
.love-counter > span {
  font-size: 16px;
  line-height: 1.5;
}

.calendar-month-header h3 {
  font-size: 22px;
  line-height: 1.4;
}

.calendar-nav-button {
  width: 32px;
  height: 32px;
}

.calendar-month-header {
  grid-template-columns: 32px minmax(0, 1fr) 32px;
}

.calendar-day {
  font-size: 16px;
  font-weight: 500;
}

.calendar-selected-note > p:last-child {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.calendar-today-button {
  min-height: 26px;
  line-height: 1.5;
}

.calendar-weekdays {
  line-height: 1.4;
}

.occasions-heading h3 {
  font-size: 24px;
  line-height: 1.4;
}

.calendar-occasions-card[data-empty="true"] .occasion-list-hint {
  font-size: 16px;
}

.occasion-name {
  font-size: 18px;
}

.occasion-distance {
  font-size: 18px;
}

.occasion-field label {
  font-size: 15px;
}

.occasion-field input {
  min-height: 46px;
  font-size: 16px;
}

.occasion-add {
  min-height: 46px;
  font-size: 16px;
}

.calendar-section-footer {
  flex-wrap: wrap;
}

@media (max-width: 1000px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding-block: 23px 17px;
  }

  .brand {
    align-self: center;
  }

  .nav-list {
    justify-content: center;
    gap: 6px;
  }

  .nav-list li {
    min-width: 0;
    flex: 1;
  }

  .nav-link {
    min-width: 0;
    padding-inline: 8px;
  }
}

@media (max-width: 760px) {
  .brand-name {
    font-size: 28px;
  }

  .nav-link {
    gap: 6px;
    padding-inline: 4px;
    font-size: 14px;
  }

  .nav-link svg {
    width: 17px;
    height: 17px;
  }

  .members-heading h1 {
    font-size: 30px;
  }

  .members-stage:not(.has-profile) {
    min-height: 440px;
  }

  .interaction-tip {
    max-width: none;
  }

  .portrait-hint,
  .member-yue .portrait-hint {
    font-size: 13px;
  }

  .room-floor span {
    max-width: 128px;
  }

  .pet-name > span {
    font-size: 19px;
  }

  .pet-name small {
    font-size: 12px;
  }

  .pet-belly-note {
    right: -112px;
    font-size: 12px;
  }

  .footer-inner {
    text-align: center;
  }

  .calendar-month-header h3 {
    font-size: 21px;
  }

  .calendar-selected-note > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 540px) {
  .calendar-occasions-card {
    padding-inline: 14px;
  }

  .occasion-list {
    --occasion-row-gap: 10px;
    padding-right: 3px;
  }

  .occasion-name,
  .occasion-distance {
    font-size: 16px;
  }

  .occasion-form {
    grid-template-columns: 1fr;
  }

  .occasion-field input {
    font-size: 16px;
  }

  .calendar-today-label {
    margin-top: 12px;
  }
}

@media (max-width: 370px) {
  .members-stage:not(.has-profile) {
    min-height: 430px;
  }

  .member-name-text {
    font-size: 29px;
  }

  .profile-heading h2 {
    font-size: 22px;
  }
}
