@charset "UTF-8";
/* 见日：语义色彩、字号、间距与圆角在 :root 统一维护。保留品牌浅色纸张与低强度动效。 */
:root {
  --bg: #f7f8f4;
  --paper: #fffefa;
  --ink: #303d33;
  --muted: #53624b;
  --text-secondary: #4f6047;
  --green: #50694f;
  --green-dark: #3d573e;
  --line: #e6e9e0;
  --sage: #e9eee3;
  --focus: #50694f;
  --font-small: 0.75rem;
  --font-ui: 0.875rem;
  --font-body: 1rem;
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font: var(--font-body)/1.7 var(--sans);
}
button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
  touch-action: manipulation;
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  resize: vertical;
  width: 100%;
  background: #f7f8f1;
  border: 1px solid #e5e9db;
  border-radius: var(--radius-md);
  min-height: 165px;
  padding: 17px;
  color: #637454;
  line-height: 2;
  font-size: var(--font-body);
}
select {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
a {
  -webkit-tap-highlight-color: transparent;
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}
button:active {
  transform: translateY(1px);
}
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
h1 {
  margin: 0;
  text-wrap: balance;
}
h2 {
  margin: 0;
  text-wrap: balance;
}
h3 {
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
button .icon {
  flex-shrink: 0;
}
span .icon {
  flex-shrink: 0;
}
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
small {
  font-size: var(--font-small);
}
.muted {
  color: var(--muted);
  font-size: var(--font-small);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 220px;
  background: #f0f2eb;
  border-right: 1px solid #e3e7dc;
  display: flex;
  flex-direction: column;
  z-index: 20;
  padding: 37px 23px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-left: 10px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e1e8d9;
  border-radius: var(--radius-lg);
  width: 46px;
  height: 46px;
  color: #4d6849;
}
.brand-mark .icon {
  width: 29px;
  height: 29px;
}
.brand > span:last-child {
  font-family: var(--serif);
  font-size: 29px;
  letter-spacing: 5px;
  font-weight: bold;
  line-height: 1.25;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: var(--font-small);
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 400;
  margin-top: var(--space-2);
}
.sidebar-caption {
  margin: 59px 0 15px var(--space-4);
  font-size: var(--font-small);
  letter-spacing: 2px;
  color: var(--muted);
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  min-height: 48px;
  padding: 0 17px;
  border-radius: var(--radius-md);
  font-size: var(--font-ui);
  white-space: nowrap;
  color: #626f5c;
}
.nav-item .icon {
  width: 19px;
  height: 19px;
}
.nav-item:hover {
  background: #e7ecdf;
}
.nav-item.active {
  background: #dfe7d5;
  font-weight: 600;
  color: #3b5737;
}
.nav-item.active:before {
  content: "";
  position: absolute;
  width: 3px;
  left: -23px;
  top: 15px;
  bottom: 15px;
  background: #6a8258;
  border-radius: 2px;
}
.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b69773;
  margin-left: auto;
}
.sidebar-note {
  margin: 62px 9px 25px;
  padding: 23px var(--space-3);
  border-top: 1px solid #e1e5d9;
  color: var(--muted);
  font-size: var(--font-small);
  line-height: 2;
}
.tiny-sun {
  color: var(--muted);
  display: block;
  margin-bottom: var(--space-3);
}
.handwritten {
  display: block;
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  margin-top: 14px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #e0e4d9;
  padding: 23px 0;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 0;
  font-size: var(--font-small);
}
.profile small {
  display: block;
  font-size: var(--font-small);
  color: var(--muted);
  margin-top: 3px;
}
.profile > .icon {
  margin-left: auto;
  width: 16px;
  color: var(--muted);
}
.avatar {
  display: inline-flex;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font: 16px var(--serif);
  color: #5e7550;
  background: #e5eadb;
  border: 3px solid #fffefa;
}
.avatar-me {
  background: #e2e7d8;
  color: #617052;
  overflow: hidden;
}
.avatar.green {
  background: #dce5d7;
  color: #59744d;
}
.avatar.orange {
  background: #f2e2d1;
  color: var(--muted);
}
.avatar.purple {
  background: #e6e0ed;
  color: var(--muted);
}
.avatar.large {
  width: 62px;
  height: 62px;
  font-size: 25px;
}
.workspace {
  margin-left: 220px;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 43px;
}
.breadcrumb {
  font-size: var(--font-small);
  color: var(--muted);
}
.breadcrumb span {
  padding: 0 13px;
  color: var(--muted);
}
.breadcrumb strong {
  font-weight: 400;
  color: #6c7965;
}
.topbar-right {
  display: flex;
  gap: 21px;
  align-items: center;
}
.version-badge {
  font-size: var(--font-small);
  color: var(--muted);
  letter-spacing: 0.3px;
}
.version-badge i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #8ea47a;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--muted);
  min-width: 44px;
  min-height: 44px;
}
.icon-button:hover {
  background: #e8ecdf;
}
.topbar .icon-button {
  border: 1px solid #e2e6d9;
  width: 34px;
  height: 34px;
  min-width: 44px;
  min-height: 44px;
}
.topbar .icon-button .icon {
  width: 17px;
}
.mobile-brand {
  display: none;
}
.mobile-nav {
  display: none;
}
main {
  max-width: 1450px;
  padding: 39px 43px 35px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: 28px;
}
.eyebrow {
  font-family: Georgia, serif;
  color: var(--muted);
  font-size: var(--font-small);
  letter-spacing: 2.1px;
  margin-bottom: var(--space-2);
}
.page-heading h1 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: var(--serif);
  line-height: 1.6;
}
.heading-sub {
  font-size: var(--font-small);
  margin-top: 6px;
  color: #65715f;
}
.date-block {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.date-block > strong {
  font:
    48px/1 Georgia,
    serif;
  letter-spacing: -2px;
  font-weight: 400;
  color: #6c7e5e;
}
.date-block > div {
  font-size: var(--font-small);
  line-height: 1.7;
}
.date-block small {
  display: block;
  font-size: var(--font-small);
  color: var(--muted);
}
.hero {
  isolation: isolate;
  position: relative;
  min-height: 318px;
  background: #e7ecde;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 30px 34px;
}
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  right: -65px;
  top: -104px;
  background: #e1e8d4;
  opacity: 0.6;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 49%;
}
.hero-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  letter-spacing: 1.4px;
  font-size: var(--font-small);
  margin-bottom: 13px;
}
.hero-label > span {
  height: 5px;
  width: 5px;
  background: #95a17e;
  border-radius: 50%;
}
.hero h2 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 3px;
}
.hero h2 span {
  position: relative;
  white-space: nowrap;
}
.hero h2 span:after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: 1px;
  height: 8px;
  background: #c5d2ac;
  z-index: -1;
  border-radius: 70% 30% 55% 40%;
  transform: rotate(-2deg);
}
.hero p {
  font-size: var(--font-small);
  line-height: 1.9;
  margin: 11px 0 21px;
  color: #65715f;
}
.primary-button {
  background: var(--green);
  color: #fffefa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  padding: 11px 19px;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
  font-size: var(--font-ui);
  min-height: 44px;
}
.primary-button:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 14px #4c654622;
}
.primary-button .icon {
  width: 17px;
  height: 17px;
}
.primary-button > span {
  margin-left: 22px;
  opacity: 0.75;
}
.hero-footnote {
  font-size: var(--font-small);
  margin-top: var(--space-3);
  color: #69785c;
}
.hero-scene {
  position: absolute;
  width: 59%;
  height: 100%;
  object-fit: contain;
  right: -12px;
  bottom: -6px;
}
.hero-handwriting {
  position: absolute;
  right: 25px;
  top: 25px;
  font-size: 15px;
  line-height: 1.4;
  font-style: italic;
  font-family: Georgia, serif;
  transform: rotate(-7deg);
  color: #a1ac8b;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 266px;
  gap: 29px;
  margin-top: 31px;
}
.main-column {
  min-width: 0;
}
.right-column {
  min-width: 0;
  padding-top: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  min-height: 25px;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.section-heading h2 > span {
  font:
    12px Georgia,
    serif;
  letter-spacing: 1px;
  color: var(--muted);
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.5;
  padding: var(--space-1) 0;
  white-space: nowrap;
  color: #60744e;
  font-size: var(--font-ui);
  min-height: 44px;
}
.text-button:hover {
  color: #3f6038;
}
.text-button .icon {
  width: 14px;
  height: 14px;
}
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.type-button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  min-height: 65px;
  border-radius: var(--radius-md);
  border: 1px solid #e5e9df;
  background: #fffefa;
  padding: 11px;
  font-size: var(--font-small);
  color: #65745b;
  white-space: normal;
}
.type-button:hover {
  background: #f0f3e9;
  border-color: #bdcbb0;
  transform: translateY(-2px);
}
.type-button > .icon {
  height: 12px;
  width: 12px;
  color: var(--muted);
  margin-left: auto;
}
.type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.type-icon .icon {
  height: 19px;
  width: 19px;
}
.sage {
  background: #eef2e7;
  color: var(--muted);
}
.peach {
  background: #f7ece1;
  color: var(--muted);
}
.yellow {
  background: #f5f1da;
  color: var(--muted);
}
.lavender {
  background: #eee9f3;
  color: var(--muted);
}
.blue {
  background: #e9efef;
  color: var(--muted);
}
.sand {
  background: #f1ede5;
  color: var(--muted);
}
.recent-section {
  margin-top: 31px;
}
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid #e3e8dd;
  margin: -3px 0 17px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}
.filter-tab {
  white-space: nowrap;
  padding: 0 1px;
  position: relative;
  flex-shrink: 0;
  color: var(--muted);
  font-size: var(--font-ui);
  min-height: 44px;
}
.filter-tab.selected {
  color: #506847;
  font-weight: 500;
}
.filter-tab.selected:after {
  position: absolute;
  content: "";
  background: #6f875f;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
}
.filter-tab > span {
  display: inline-block;
  background: #e6ecdf;
  color: var(--muted);
  font:
    12px Georgia,
    serif;
  border-radius: 5px;
  padding: 0 5px;
  margin-left: 5px;
}
.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.record-card {
  background: var(--paper);
  border: 1px solid #e6e9df;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-4) 11px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.record-card:hover {
  box-shadow: 0 5px 18px #434d3808;
}
.record-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  font-size: var(--font-small);
  white-space: nowrap;
  color: var(--muted);
  flex-wrap: wrap;
  row-gap: var(--space-2);
}
.record-type {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-small);
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1.6;
  white-space: nowrap;
}
.record-type .icon {
  height: 12px;
  width: 12px;
}
.sample-label {
  margin-right: 6px;
  display: inline-flex;
  color: var(--text-secondary);
  background: var(--sage);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: var(--font-small);
}
.record-open {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}
.record-open p {
  line-height: 1.95;
  margin: 15px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #65715f;
  font-size: var(--font-body);
}
.record-art {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: var(--space-3);
  line-height: 0;
}
.record-art svg {
  width: 100%;
  height: auto;
  aspect-ratio: 400/145;
}
.record-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f1e9;
  padding-top: 10px;
  font-size: var(--font-small);
  color: var(--muted);
}
.mood-label {
  display: flex;
  align-items: center;
  gap: 5px;
}
.mini-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #abb69f;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: var(--font-ui);
  padding-bottom: 5px;
  line-height: 1;
}
.visibility {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-small);
  color: var(--muted);
}
.visibility .icon {
  width: 11px;
  height: 11px;
}
.friends-widget {
  border: 1px solid #e3e8dc;
  border-radius: var(--radius-md);
  background: #fcfdf8;
  padding: 18px 18px 0;
}
.friends-widget .section-heading {
  margin-bottom: 3px;
}
.friends-widget h2 {
  font-size: var(--font-ui);
}
.mini-label {
  display: inline-block;
  background: #ecefe5;
  color: var(--muted);
  font-size: var(--font-small);
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}
.section-description {
  font-size: var(--font-small);
  margin-bottom: 15px;
  color: #65715f;
}
.friend-row {
  display: flex;
  width: 100%;
  gap: 9px;
  align-items: center;
  text-align: left;
  padding: var(--space-3) 0;
  border-bottom: 1px dashed #e6e9df;
}
.friend-row:hover .friend-info strong {
  color: #3e6238;
}
.friend-row:last-of-type {
  border-bottom: 0;
}
.friend-info {
  min-width: 0;
  width: 100%;
}
.friend-info strong {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-small);
  font-weight: 500;
  color: #6a795f;
  gap: var(--space-2);
}
.friend-info strong small {
  font-size: var(--font-small);
  font-weight: 400;
  color: var(--muted);
}
.friend-info > span {
  display: block;
  font-size: var(--font-small);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #65715f;
}
.wide-text-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: var(--font-small);
  border-top: 1px solid #e8ecdf;
  width: calc(100% + 36px);
  margin: 13px -18px 0;
  min-height: 43px;
  color: #60744e;
}
.wide-text-button:hover {
  background: #f0f3e9;
  border-radius: 0 0 10px 10px;
}
.wide-text-button .icon {
  width: 13px;
}
.quote-card {
  background: #f0eee3;
  position: relative;
  border-radius: var(--radius-md);
  padding: 17px 22px var(--space-6);
  margin-top: 20px;
  overflow: hidden;
}
.quote-mark {
  font:
    49px/0.8 Georgia,
    serif;
  color: #c2c3a6;
}
.quote-card p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
  letter-spacing: 1.1px;
  margin-top: var(--space-1);
  position: relative;
  z-index: 1;
}
.quote-line {
  background: #d6d7bf;
  width: 21px;
  height: 1px;
  margin: 14px 0 9px;
}
.quote-card small {
  color: var(--muted);
  font-size: var(--font-small);
  letter-spacing: 1px;
}
.quote-leaf {
  position: absolute;
  bottom: 12px;
  right: 3px;
  color: #dbdecb;
  transform: rotate(-23deg);
}
.quote-leaf .icon {
  width: 90px;
  height: 90px;
  stroke-width: 1;
}
.memory-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 2px;
  width: 100%;
  text-align: left;
  font-size: var(--font-small);
  color: var(--muted);
}
.memory-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #e9eee1;
  border-radius: var(--radius-sm);
  color: var(--muted);
}
.memory-icon .icon {
  width: 18px;
}
.memory-link small {
  display: block;
  font-size: var(--font-small);
  color: var(--muted);
  margin-top: 3px;
}
.memory-link > .icon {
  margin-left: auto;
  width: 13px;
  color: var(--muted);
}
.demo-note {
  font-size: var(--font-small);
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
}
.page-footer {
  border-top: 1px solid #e9ece2;
  margin: 5px 43px 0;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: var(--font-small);
  color: var(--muted);
}
.page-footer > span:first-child {
  font-family: Georgia, serif;
  font-size: var(--font-small);
  letter-spacing: 1px;
}
.footer-dot {
  color: #b6bea9;
}
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 1px solid #dce3d2;
  border-radius: var(--radius-sm);
  padding: 9px var(--space-4);
  background: #f9fbf4;
  color: var(--muted);
  font-size: var(--font-ui);
  min-height: 44px;
}
.secondary-button:hover {
  background: #e9efdf;
}
.secondary-button .icon {
  width: 16px;
  height: 16px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  background: #eff2e7;
  border: 1px solid #e3e8d8;
  padding: var(--space-3) 17px;
  border-radius: var(--radius-sm);
  font-size: var(--font-small);
  margin-bottom: 23px;
}
.notice .icon {
  width: 17px;
  height: 17px;
}
.friends-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e9eddf;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  min-height: 260px;
  padding: 28px 35px;
  overflow: hidden;
}
.friends-intro h2 {
  font: 27px/1.7 var(--serif);
  letter-spacing: 2px;
}
.friends-intro p {
  color: var(--muted);
  font-size: var(--font-small);
  margin-top: 15px;
  line-height: 2;
}
.friends-intro img {
  width: 48%;
  height: 230px;
  object-fit: contain;
}
.friend-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.friend-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--paper);
}
.friend-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
}
.friend-card-top .avatar.large {
  height: 46px;
  width: 46px;
  font-size: 20px;
}
.friend-card h3 {
  font-size: var(--font-ui);
  font-weight: 500;
}
.friend-card-top small {
  display: block;
  font-size: var(--font-small);
  color: var(--muted);
  margin-top: 3px;
}
.friend-card > p {
  font-size: var(--font-small);
  line-height: 2.1;
  color: var(--muted);
  margin: 17px 0 23px;
  min-height: 125px;
}
.friend-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.reaction {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: var(--font-small);
  min-height: 34px;
}
.reaction .icon {
  width: 16px;
  height: 16px;
}
.reaction.reacted {
  color: var(--muted);
}
.reaction.reacted .icon {
  fill: #edd7ca;
}
.quiet-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 45px 0 20px;
  font-size: var(--font-small);
  color: var(--muted);
}
.quiet-note .icon {
  width: 17px;
}
.year-select {
  border: 1px solid #dce3d2;
  border-radius: var(--radius-sm);
  padding: 5px 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.year-select .icon {
  width: 17px;
}
.year-select select {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 6px 2px;
  cursor: pointer;
  font-size: var(--font-body);
}
.review-banner {
  background: #e6ecdc;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.review-banner h2 {
  font: 24px/1.8 var(--serif);
}
.review-banner p {
  font-size: var(--font-small);
  color: var(--muted);
  margin-top: 7px;
}
.review-banner small {
  display: block;
  font-size: var(--font-small);
  margin-top: var(--space-4);
  color: var(--muted);
}
.stats-row {
  display: flex;
  gap: 35px;
  text-align: center;
  flex-shrink: 0;
}
.stats-row strong {
  display: block;
  color: var(--muted);
  font:
    42px/1.5 Georgia,
    serif;
}
.stats-row span {
  font-size: var(--font-small);
  color: var(--muted);
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: 35px;
}
.month-tile {
  text-align: left;
  border: 1px solid #e4e8dc;
  background: #fcfdf8;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  min-height: 115px;
  color: var(--muted);
}
.month-tile > span {
  font:
    25px Georgia,
    serif;
}
.month-tile > span small {
  font: 12px var(--sans);
  margin-left: 4px;
}
.month-tile > small {
  font-size: var(--font-small);
  color: var(--muted);
  display: block;
}
.month-tile.has-records {
  background: #e8eedf;
  border-color: #c9d5b8;
  color: var(--muted);
}
.month-tile:hover {
  border-color: #b4c39e;
}
.month-marks {
  height: 22px;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.month-marks i {
  width: 5px;
  height: 5px;
  background: #9bb681;
  border-radius: 50%;
}
.month-dash {
  color: #d1d7c5;
}
.review-records {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.station-profile {
  padding: var(--space-8);
  background: #e9edde;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}
.station-profile h2 {
  font: 24px/1.6 var(--serif);
}
.station-profile p {
  font-size: var(--font-small);
  color: var(--muted);
  margin-top: 5px;
}
.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: var(--font-small);
  margin-top: var(--space-3);
}
.profile-chip .icon {
  width: 13px;
}
.station-sun {
  margin-left: auto;
  opacity: 0.25;
  color: #8fa178;
}
.station-sun .icon {
  width: 100px;
  height: 100px;
  stroke-width: 0.8;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}
.settings-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 25px;
}
.settings-card h2 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #eef0e7;
}
.setting-row strong {
  font-size: var(--font-small);
  font-weight: 500;
}
.setting-row p {
  font-size: var(--font-small);
  line-height: 2;
  margin-top: 5px;
  color: #65715f;
}
.setting-explanation {
  margin-top: 5px;
  font-size: var(--font-small);
  line-height: 2;
  margin: 20px 0 23px;
  color: #65715f;
}
.toggle {
  height: 25px;
  min-width: 44px;
  background: #d7ddcc;
  border-radius: 20px;
  padding: 3px;
  flex-shrink: 0;
}
.toggle span {
  display: block;
  background: #fff;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle.on {
  background: #879f72;
}
.toggle.on span {
  transform: translateX(19px);
}
.my-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.my-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--font-small);
  background: #f1f4eb;
  color: var(--muted);
  border-radius: 5px;
  padding: 5px 9px;
}
.my-tag .icon {
  width: 13px;
  height: 13px;
}
.small-note {
  display: block;
  font-size: var(--font-small);
  margin-top: 11px;
  line-height: 1.8;
  color: #65715f;
}
.import-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--muted);
  font-size: var(--font-small);
  margin-left: 8px;
  padding: 5px;
  cursor: pointer;
}
.import-button:hover {
  text-decoration: underline;
}
.about-panel {
  padding: 50px 25px 20px;
  text-align: center;
}
.about-panel h2 {
  font: 24px/1.8 var(--serif);
  color: var(--muted);
  letter-spacing: 2px;
}
.about-panel p {
  font-size: var(--font-small);
  line-height: 2;
  color: var(--muted);
  margin: 18px 0 15px;
}
.empty-state {
  text-align: center;
  border: 1px dashed #dce3cf;
  background: #fbfcf7;
  padding: 37px 20px;
  border-radius: var(--radius-md);
}
.empty-state > .icon {
  width: 35px;
  height: 35px;
  color: var(--muted);
  margin-bottom: 14px;
}
.empty-state h3 {
  font: 18px var(--serif);
  color: var(--muted);
}
.empty-state p {
  font-size: var(--font-small);
  color: var(--muted);
  margin: 10px 0 20px;
}
.modal-open {
  overflow: hidden;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #28322652;
  backdrop-filter: blur(5px);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal {
  position: relative;
  background: #fffefa;
  border: 1px solid #ebeddf;
  box-shadow: 0 25px 90px #26342025;
  border-radius: var(--radius-lg);
  width: 620px;
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  padding: 35px;
}
.modal h2 {
  font: 25px/1.7 var(--serif);
  letter-spacing: 1px;
  padding-right: 21px;
}
.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  min-width: 44px;
  min-height: 44px;
}
.modal-sub {
  font-size: var(--font-small);
  margin: 9px 0 23px;
  color: #65715f;
}
.composer {
  width: 670px;
}
.composer-types {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.composer-type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #e7ebdf;
  border-radius: var(--radius-sm);
  padding: var(--space-2) 11px;
  color: var(--muted);
  font-size: var(--font-ui);
  min-height: 44px;
}
.composer-type .icon {
  width: 14px;
  height: 14px;
}
.composer-type.chosen {
  background: #e8efdc;
  border-color: #c7d5b2;
  color: var(--green-dark);
}
textarea::placeholder {
  color: var(--muted);
}
.editor-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
  color: var(--muted);
  font-size: var(--font-small);
  gap: 10px;
}
.editor-tools > div {
  display: flex;
  align-items: center;
  gap: 17px;
}
.editor-tools .text-button {
  font-size: var(--font-ui);
  min-height: 44px;
}
.ai-button {
  color: var(--muted);
}
.editor-tools .mini-label {
  background: #f2eef4;
  color: var(--muted);
}
.organize-hint {
  background: #edf2e3;
  padding: 10px var(--space-3);
  font-size: var(--font-small);
  color: var(--muted);
  border-radius: var(--radius-sm);
  margin: var(--space-2) 0;
}
.mood-field {
  margin: 23px 0;
}
.field-label {
  display: block;
  margin-bottom: var(--space-3);
  font-size: var(--font-ui);
  color: var(--text-secondary);
}
.mood-options {
  display: flex;
  gap: var(--space-4);
  justify-content: space-between;
  max-width: 380px;
}
.mood-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 44px;
  padding: 3px;
  color: var(--muted);
  font-size: var(--font-ui);
  min-height: 44px;
}
.mood-face {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c5ceba;
  background: #fbfcf7;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
  padding-bottom: 9px;
  position: relative;
}
.mood-face:before {
  content: "";
  height: 2px;
  width: 2px;
  border-radius: 50%;
  background: currentColor;
  position: absolute;
  top: 10px;
  left: 9px;
}
.mood-face:after {
  content: "";
  height: 2px;
  width: 2px;
  border-radius: 50%;
  background: currentColor;
  position: absolute;
  top: 10px;
  right: 9px;
}
.mood-option.chosen {
  color: var(--green-dark);
  font-weight: 600;
}
.mood-option.chosen .mood-face {
  border-color: #9cb77a;
  background: #edf3e2;
  box-shadow: 0 0 0 3px #edf3e2;
}
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e9edde;
  padding-top: 18px;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.privacy-select {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: var(--font-small);
  flex: 1 1 140px;
  min-width: 0;
}
.privacy-select .icon {
  width: 14px;
  height: 14px;
}
.privacy-select select {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 0;
  max-width: 150px;
  font-size: var(--font-body);
}
.save-note {
  font-size: var(--font-small);
  line-height: 1.8;
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
}
.text-input {
  display: block;
  width: 100%;
  padding: 13px;
  border: 1px solid #dce5d0;
  background: #f8faf3;
  color: #637b50;
  border-radius: var(--radius-sm);
  min-height: 46px;
  font-size: var(--font-body);
}
.form-submit {
  margin-top: 25px;
  width: 100%;
}
.detail-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: var(--font-ui);
  line-height: 2.2;
  margin: 25px 0;
  color: #65715f;
}
.detail-art {
  margin: 20px 0;
}
.detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid #e7edde;
  padding-top: 18px;
}
.detail-actions > div {
  display: flex;
  gap: 17px;
}
.detail-actions .visibility {
  font-size: var(--font-small);
}
.danger {
  color: var(--muted);
}
.friend-dialog-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}
.friend-dialog-heading p {
  font-size: var(--font-small);
  color: var(--muted);
  margin-top: 7px;
}
.letter-note {
  background: #edf2e5;
  padding: 17px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  border-radius: var(--radius-sm);
  margin: 25px 0;
}
.about-facts {
  border-top: 1px solid #e3ead8;
  padding-top: 5px;
  margin-bottom: 25px;
}
.about-facts p {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: var(--space-3);
  padding: 14px 0;
  border-bottom: 1px solid #e9edde;
  font-size: var(--font-small);
}
.about-facts strong {
  font-weight: 500;
  color: var(--muted);
}
.about-facts span {
  color: var(--muted);
  line-height: 1.9;
}
.invite-card {
  text-align: center;
  background: #edf2e3;
  border: 1px solid #dce6ce;
  border-radius: var(--radius-lg);
  padding: 35px 15px;
}
.invite-card .brand-mark {
  margin-bottom: 25px;
  background: #e1ead6;
}
.invite-card .eyebrow {
  font-size: var(--font-small);
}
.invite-card h2 {
  padding: 0;
  color: var(--muted);
  font-size: 30px;
}
.invite-card > p:not(.eyebrow) {
  font-size: var(--font-small);
  color: var(--muted);
  line-height: 2.1;
  margin-top: 23px;
}
.invite-signature {
  font-size: var(--font-small);
  color: var(--muted);
  letter-spacing: 2px;
  margin: 30px 0 20px;
}
.month-record {
  display: block;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #e5ebda;
  padding: 21px var(--space-6) 21px 0;
  position: relative;
}
.month-record > span {
  font-size: var(--font-small);
  color: var(--muted);
}
.month-record p {
  color: var(--muted);
  font-size: var(--font-small);
  line-height: 2;
  margin-top: 9px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.month-record > .icon {
  position: absolute;
  right: 0;
  top: 45%;
  width: 14px;
  color: var(--muted);
}
.month-record-list {
  margin-top: 20px;
}
#toast {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  max-width: calc(100% - 35px);
  width: max-content;
  background: #3c503a;
  color: #f4f7eb;
  font-size: var(--font-small);
  line-height: 1.8;
  padding: var(--space-3) 21px;
  border-radius: var(--radius-md);
  box-shadow: 0 7px 25px #344c3025;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.record-type.sage {
  color: #5d794c;
}
.record-type.peach {
  color: #94673e;
}
.record-type.yellow {
  color: var(--muted);
}
.record-type.lavender {
  color: #7f6396;
}
.record-type.blue {
  color: #627c78;
}
.record-type.sand {
  color: #81715a;
}
.avatar-me img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.record-meta > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.type-button > span:last-of-type {
  min-width: 0;
  overflow-wrap: anywhere;
}
.collection-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) 0 var(--space-2);
}
.collection-count {
  font-size: var(--font-small);
  color: var(--muted);
  margin: 0;
}
.hero-compact {
  min-height: 180px;
  padding: var(--space-6) var(--space-8);
}
.hero-compact .hero-copy {
  width: 68%;
}
.hero-compact h2 {
  font-size: 26px;
  line-height: 1.5;
}
.hero-compact h2 br {
  display: none;
}
.hero-compact .hero-label {
  display: none;
}
.hero-compact .hero-handwriting {
  display: none;
}
.hero-compact .hero-footnote {
  display: none;
}
.hero-compact p {
  margin: var(--space-2) 0 var(--space-3);
}
.hero-compact .hero-scene {
  width: 36%;
  opacity: 0.65;
}
.composer-footer .primary-button {
  flex: 1 0 130px;
  font-size: var(--font-ui);
  min-height: 44px;
}
.text-input::placeholder {
  color: var(--muted);
}
@media (min-width: 1600px) {
  main {
    padding-top: 48px;
  }
  .hero {
    min-height: 360px;
  }
  .hero-copy {
    padding-top: var(--space-3);
  }
  .hero h2 {
    font-size: 39px;
  }
  .home-columns {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
  }
  .type-button {
    font-size: var(--font-small);
    padding: 13px 15px;
    min-height: 73px;
  }
  .record-open p {
    font-size: var(--font-body);
  }
  .record-meta {
    font-size: var(--font-small);
  }
  .record-card {
    padding: 20px;
  }
  .record-bottom {
    font-size: var(--font-small);
  }
  .hero p {
    font-size: var(--font-small);
  }
  .friend-info > span {
    font-size: var(--font-small);
  }
  .section-heading h2 {
    font-size: 16px;
  }
}
@media (min-width: 1200px) and (max-width: 1390px) {
  .sidebar {
    width: 200px;
    padding-left: 19px;
    padding-right: 19px;
  }
  .workspace {
    margin-left: 200px;
  }
  .topbar {
    padding: 0 30px;
  }
  main {
    padding: var(--space-8) 30px;
  }
  .home-columns {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
  }
  .type-grid {
    gap: var(--space-2);
  }
  .type-button {
    gap: 7px;
    padding: 10px var(--space-2);
    font-size: var(--font-small);
  }
  .type-icon {
    height: 29px;
    width: 29px;
    border-radius: var(--radius-sm);
  }
  .section-heading h2 > span {
    display: none;
  }
  .record-meta {
    gap: 3px;
  }
  .friend-info > span {
    font-size: var(--font-small);
  }
  .hero h2 {
    font-size: 32px;
  }
  .hero {
    padding: 28px;
  }
  .quote-card p {
    font-size: var(--font-ui);
  }
  .page-footer {
    margin-left: 30px;
    margin-right: 30px;
  }
  .friend-cards {
    gap: var(--space-3);
  }
  .friend-card {
    padding: 18px;
  }
  .friend-actions {
    flex-wrap: wrap;
  }
  .stats-row {
    gap: 22px;
  }
  .review-banner h2 {
    font-size: 21px;
  }
}
@media (max-width: 1199px) {
  .sidebar {
    width: 185px;
    padding: 30px var(--space-4) 0;
  }
  .brand {
    gap: 9px;
    padding-left: 4px;
  }
  .brand-mark {
    height: 41px;
    width: 41px;
  }
  .brand > span:last-child {
    font-size: 26px;
  }
  .brand small {
    font-size: var(--font-small);
  }
  .workspace {
    margin-left: 185px;
  }
  .sidebar-caption {
    margin-top: 45px;
  }
  .nav-item {
    padding: 0 var(--space-3);
    font-size: var(--font-small);
    gap: var(--space-3);
  }
  .sidebar-note {
    margin: 40px 0 15px;
    padding: 20px 9px;
  }
  .profile {
    font-size: var(--font-small);
    gap: 6px;
  }
  .profile small {
    font-size: var(--font-small);
  }
  .topbar {
    height: 69px;
    padding: 0 27px;
  }
  main {
    padding: 28px 27px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .heading-sub {
    font-size: var(--font-small);
  }
  .date-block {
    gap: 9px;
  }
  .date-block > strong {
    font-size: 40px;
  }
  .date-block > div {
    font-size: var(--font-small);
  }
  .date-block small {
    font-size: var(--font-small);
  }
  .hero {
    min-height: 300px;
    padding: 26px;
  }
  .hero h2 {
    font-size: 29px;
    letter-spacing: 2px;
  }
  .hero p {
    font-size: var(--font-small);
  }
  .hero-label {
    font-size: var(--font-small);
  }
  .hero-scene {
    width: 60%;
    right: -25px;
  }
  .hero-handwriting {
    font-size: var(--font-small);
    right: 15px;
  }
  .hero-footnote {
    font-size: var(--font-small);
  }
  .home-columns {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 25px;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .quote-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .memory-link {
    display: none;
  }
  .section-heading h2 > span {
    font-size: var(--font-small);
  }
  .type-button {
    min-height: 68px;
    font-size: var(--font-small);
  }
  .record-open p {
    font-size: var(--font-body);
  }
  .record-meta {
    font-size: var(--font-small);
  }
  .record-bottom {
    font-size: var(--font-small);
  }
  .sample-label {
    font-size: var(--font-small);
  }
  .friend-info > span {
    font-size: var(--font-small);
  }
  .quote-card p {
    font-size: 18px;
  }
  .quote-mark {
    font-size: 55px;
  }
  .page-footer {
    margin: 5px 27px 0;
    font-size: var(--font-small);
    gap: var(--space-2);
  }
  .friend-cards {
    grid-template-columns: 1fr;
  }
  .friend-card > p {
    min-height: 0;
  }
  .friend-card-top {
    margin-bottom: 15px;
  }
  .friends-intro {
    padding: 25px;
    min-height: 230px;
  }
  .friends-intro h2 {
    font-size: 24px;
  }
  .friends-intro img {
    width: 50%;
    height: 200px;
  }
  .review-banner {
    display: block;
    padding: 25px;
  }
  .stats-row {
    justify-content: flex-start;
    gap: 40px;
    margin-top: 25px;
    text-align: left;
  }
  .month-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .review-records {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .station-profile {
    padding: var(--space-6);
  }
  .station-profile h2 {
    font-size: 21px;
  }
  .station-sun .icon {
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 767px) {
  body {
    font-size: var(--font-ui);
  }
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 64px;
    padding: 0 22px;
    background: #f7f8f4;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font: 24px var(--serif);
    letter-spacing: 2px;
    color: #526b48;
  }
  .mobile-brand .icon {
    height: 26px;
    width: 26px;
  }
  .topbar-right {
    gap: 9px;
  }
  .version-badge {
    font-size: var(--font-small);
  }
  .topbar .icon-button {
    height: 31px;
    width: 31px;
    min-width: 44px;
    min-height: 44px;
  }
  main {
    padding: 25px 20px var(--space-6);
  }
  .page-heading {
    margin-bottom: 21px;
    gap: 10px;
  }
  .eyebrow {
    font-size: var(--font-small);
    letter-spacing: 1.5px;
    margin-bottom: 7px;
  }
  .page-heading h1 {
    font-size: 23px;
    letter-spacing: 0.5px;
    line-height: 1.7;
  }
  .heading-sub {
    line-height: 1.9;
    margin-top: 7px;
    font-size: var(--font-small);
    max-width: 100%;
  }
  .date-block {
    display: none;
  }
  .hero {
    padding: 25px 23px 20px;
    isolation: isolate;
    border-radius: var(--radius-lg);
    min-height: 330px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-label {
    margin-bottom: 14px;
    font-size: var(--font-small);
  }
  .hero h2 {
    line-height: 1.75;
    font-size: 29px;
    letter-spacing: 1.3px;
  }
  .hero p {
    margin: var(--space-3) 0 18px;
    line-height: 2;
    font-size: var(--font-small);
  }
  .hero .primary-button {
    min-height: 42px;
    padding: 10px 15px;
    font-size: var(--font-small);
  }
  .hero .primary-button > span {
    margin-left: 11px;
  }
  .hero-scene {
    z-index: -1;
    width: 300px;
    height: 200px;
    right: -70px;
    bottom: -8px;
    opacity: 0.8;
  }
  .hero-footnote {
    margin-top: var(--space-3);
    max-width: 175px;
    font-size: var(--font-small);
  }
  .hero-handwriting {
    right: 14px;
    opacity: 0.7;
    font-size: var(--font-small);
    top: 21px;
  }
  .hero:after {
    width: 330px;
    height: 330px;
    right: -150px;
    top: 50px;
  }
  .home-columns {
    margin-top: 26px;
    gap: 25px;
  }
  .section-heading {
    gap: var(--space-2);
    margin-bottom: 13px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 15px;
    gap: var(--space-2);
    white-space: normal;
  }
  .section-heading h2 > span {
    display: none;
  }
  .text-button {
    font-size: var(--font-ui);
    min-height: 44px;
  }
  .type-grid {
    gap: 9px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .type-button {
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) 5px;
    border-radius: var(--radius-md);
    min-height: 96px;
    font-size: var(--font-small);
  }
  .type-button > .icon {
    display: none;
  }
  .type-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
  }
  .type-icon .icon {
    width: 21px;
    height: 21px;
  }
  .recent-section {
    margin-top: 26px;
  }
  .filter-tabs {
    gap: 22px;
    margin-bottom: 14px;
  }
  .filter-tab {
    min-height: 43px;
    font-size: var(--font-ui);
  }
  .record-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .record-card {
    padding: 17px 17px 13px;
    border-radius: var(--radius-md);
  }
  .record-meta {
    font-size: var(--font-small);
  }
  .record-type {
    padding: 3px 7px;
    font-size: var(--font-small);
  }
  .record-open p {
    line-height: 1.95;
    margin: 15px 0 17px;
    font-size: var(--font-body);
  }
  .record-bottom {
    padding-top: 11px;
    font-size: var(--font-small);
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .record-art {
    margin-bottom: 15px;
    border-radius: var(--radius-sm);
  }
  .record-art svg {
    max-height: 170px;
  }
  .visibility {
    font-size: var(--font-small);
  }
  .right-column {
    display: block;
  }
  .friends-widget {
    padding: 18px 19px 0;
  }
  .friend-row {
    padding: 13px 0;
  }
  .friend-info strong {
    font-size: var(--font-small);
  }
  .friend-info > span {
    font-size: var(--font-small);
  }
  .friend-info strong small {
    font-size: var(--font-small);
  }
  .friend-row .avatar {
    width: 40px;
    height: 40px;
  }
  .wide-text-button {
    width: calc(100% + 38px);
    margin-left: -19px;
    margin-right: -19px;
    min-height: 45px;
    font-size: var(--font-small);
  }
  .quote-card {
    display: none;
  }
  .memory-link {
    display: flex;
    padding: 22px 3px 10px;
    font-size: var(--font-small);
  }
  .memory-link small {
    font-size: var(--font-small);
  }
  .page-footer {
    margin: 0 20px 0;
    padding: 23px var(--space-2) calc(105px + env(safe-area-inset-bottom));
    min-height: 140px;
    flex-wrap: wrap;
    gap: var(--space-1) 9px;
    font-size: var(--font-small);
  }
  .page-footer > span:first-child {
    font-size: var(--font-small);
  }
  .page-footer .footer-dot {
    display: none;
  }
  .page-footer > span:last-child {
    display: none;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(72px + env(safe-area-inset-bottom));
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid #e2e7d8;
    background: #fafbf5f5;
    backdrop-filter: blur(15px);
    z-index: 40;
  }
  .mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-1);
    min-height: 48px;
    padding: 3px 0;
    border-radius: var(--radius-md);
    color: var(--muted);
    font-size: var(--font-small);
  }
  .mobile-nav .nav-item .icon {
    width: 21px;
    height: 21px;
  }
  .mobile-nav .nav-item.active {
    background: #eaf0df;
    color: #627e4d;
  }
  .mobile-nav .nav-item.active:before {
    display: none;
  }
  .page-heading > .secondary-button {
    padding: var(--space-2) 10px;
    font-size: var(--font-small);
    min-height: 37px;
  }
  .page-heading > .secondary-button .icon {
    width: 13px;
  }
  .notice {
    font-size: var(--font-small);
    padding: 11px 13px;
    line-height: 1.9;
    gap: var(--space-2);
  }
  .notice .icon {
    margin-top: 2px;
  }
  .friends-intro {
    min-height: 220px;
    padding: 22px 20px;
    position: relative;
    isolation: isolate;
  }
  .friends-intro > div {
    width: 80%;
  }
  .friends-intro h2 {
    font-size: 25px;
  }
  .friends-intro p {
    font-size: var(--font-small);
  }
  .friends-intro img {
    position: absolute;
    width: 75%;
    height: 220px;
    right: -77px;
    bottom: 0;
    z-index: -1;
    opacity: 0.55;
  }
  .friend-card {
    padding: 21px;
  }
  .friend-card > p {
    font-size: var(--font-ui);
    line-height: 2;
  }
  .friend-card h3 {
    font-size: 15px;
  }
  .friend-card-top small {
    font-size: var(--font-small);
  }
  .friend-actions .text-button {
    font-size: var(--font-small);
  }
  .reaction {
    font-size: var(--font-small);
  }
  .quiet-note {
    font-size: var(--font-small);
    margin: var(--space-8) 0 5px;
  }
  .review-banner {
    padding: 22px;
  }
  .review-banner h2 {
    font-size: 23px;
  }
  .review-banner p {
    font-size: var(--font-small);
  }
  .review-banner small {
    font-size: var(--font-small);
    line-height: 1.9;
  }
  .stats-row {
    gap: 38px;
    margin-top: 19px;
  }
  .stats-row strong {
    font-size: 36px;
  }
  .stats-row span {
    font-size: var(--font-small);
  }
  .year-select {
    padding: 3px 7px;
    gap: 5px;
  }
  .year-select select {
    max-width: 73px;
    font-size: var(--font-body);
  }
  .year-select .icon {
    width: 14px;
  }
  .month-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .month-tile {
    min-height: 104px;
    padding: 14px;
  }
  .month-tile > span {
    font-size: 23px;
  }
  .month-tile > small {
    font-size: var(--font-small);
  }
  .station-profile {
    padding: 22px 19px;
    gap: var(--space-3);
  }
  .station-profile h2 {
    font-size: 20px;
  }
  .station-profile p {
    font-size: var(--font-small);
    max-width: 195px;
    line-height: 1.9;
  }
  .station-profile .avatar.large {
    width: 52px;
    height: 52px;
    font-size: 23px;
  }
  .station-sun {
    display: none;
  }
  .settings-card {
    padding: 22px 20px;
  }
  .settings-card h2 {
    font-size: 16px;
  }
  .setting-row strong {
    font-size: var(--font-ui);
  }
  .setting-row p {
    font-size: var(--font-small);
  }
  .setting-explanation {
    font-size: var(--font-small);
  }
  .my-tag {
    font-size: var(--font-small);
  }
  .about-panel {
    padding: 38px 5px 15px;
  }
  .about-panel h2 {
    font-size: 22px;
  }
  .about-panel p {
    font-size: var(--font-small);
  }
  .modal-backdrop {
    padding: 15px;
    align-items: center;
  }
  .modal {
    width: 100%;
    max-height: calc(100dvh - 30px);
    border-radius: var(--radius-lg);
    padding: 28px 21px;
  }
  .modal h2 {
    font-size: 23px;
    letter-spacing: 0.3px;
  }
  .modal-close {
    top: 7px;
    right: 7px;
    min-width: 44px;
    min-height: 44px;
  }
  .modal-close .icon {
    width: 19px;
  }
  .modal .eyebrow {
    font-size: var(--font-small);
    margin-bottom: 10px;
  }
  .modal-sub {
    font-size: var(--font-small);
    line-height: 1.9;
    margin: 9px 0 20px;
  }
  .composer-types {
    gap: 6px;
  }
  .composer-type {
    padding: 7px 9px;
    font-size: var(--font-ui);
    min-height: 44px;
  }
  .composer-type .icon {
    width: 13px;
  }
  textarea {
    min-height: 150px;
    padding: 13px;
    font-size: var(--font-body);
  }
  .editor-tools .text-button {
    font-size: var(--font-ui);
    min-height: 44px;
  }
  .editor-tools > .text-button .icon {
    width: 13px;
  }
  .editor-tools #char-count {
    flex-shrink: 0;
    font-size: var(--font-small);
  }
  .mood-field {
    margin: 20px 0;
  }
  .mood-options {
    gap: var(--space-3);
  }
  .mood-option {
    font-size: var(--font-ui);
    min-height: 44px;
  }
  .composer-footer {
    gap: var(--space-2);
  }
  .composer-footer .primary-button {
    padding: 10px 13px;
    font-size: var(--font-ui);
    min-height: 44px;
  }
  .privacy-select {
    gap: var(--space-1);
  }
  .privacy-select select {
    max-width: 125px;
    font-size: var(--font-body);
  }
  .save-note {
    font-size: var(--font-small);
    line-height: 1.9;
  }
  .detail-text {
    font-size: var(--font-ui);
    line-height: 2.1;
  }
  .detail-actions {
    flex-wrap: wrap;
  }
  .about-facts p {
    grid-template-columns: 77px 1fr;
    gap: 10px;
    font-size: var(--font-small);
  }
  .friend-dialog-heading .avatar.large {
    width: 50px;
    height: 50px;
  }
  .friend-dialog-heading h2 {
    font-size: 23px;
  }
  .letter-note {
    font-size: 15px;
    padding: 14px;
  }
  .invite-card h2 {
    font-size: 29px;
  }
  #toast {
    bottom: calc(88px + env(safe-area-inset-bottom));
    font-size: var(--font-small);
    padding: var(--space-3) 17px;
  }
  .home-view.has-records .page-heading {
    margin-bottom: var(--space-4);
  }
  .home-view.has-records .eyebrow {
    display: none;
  }
  .hero-compact {
    min-height: 0;
    padding: 18px 20px;
  }
  .hero-compact .hero-copy {
    width: 100%;
  }
  .hero-compact h2 {
    font-size: 22px;
    line-height: 1.6;
    letter-spacing: 0.5px;
  }
  .hero-compact p {
    display: none;
  }
  .hero-compact .primary-button {
    margin-top: var(--space-3);
  }
  .hero-compact .hero-scene {
    width: 170px;
    height: 140px;
    right: -30px;
    bottom: -20px;
    opacity: 0.2;
  }
  .home-view.has-records .home-columns {
    margin-top: 20px;
  }
  .home-view.has-records .type-grid {
    display: flex;
    overflow-x: auto;
    gap: var(--space-2);
    padding-bottom: var(--space-1);
    scrollbar-width: thin;
  }
  .home-view.has-records .type-button {
    flex-direction: row;
    flex: 0 0 auto;
    min-height: 48px;
    padding: var(--space-2) 10px;
    gap: 6px;
  }
  .home-view.has-records .type-icon {
    width: 24px;
    height: 24px;
  }
  .home-view.has-records .type-icon .icon {
    width: 18px;
    height: 18px;
  }
  .home-view.has-records .type-button > span:last-of-type {
    max-width: 112px;
  }
  .home-view.has-records .recent-section {
    margin-top: 20px;
  }
  .editor-tools > div {
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .sample-label {
    font-size: var(--font-small);
  }
}
@media (max-width: 359px) {
  main {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-heading h1 {
    font-size: 21px;
  }
  .hero {
    padding-left: 20px;
  }
  .hero h2 {
    font-size: 25px;
  }
  .hero-copy {
    width: 80%;
  }
  .hero-scene {
    width: 83%;
    right: -95px;
  }
  .hero-handwriting {
    font-size: var(--font-small);
    display: none;
  }
  .type-grid {
    gap: 7px;
  }
  .type-button {
    font-size: var(--font-small);
  }
  .mood-options {
    gap: var(--space-2);
  }
  .composer-footer .primary-button {
    padding: 10px;
    font-size: var(--font-ui);
    min-height: 44px;
  }
  .privacy-select select {
    max-width: 112px;
    font-size: var(--font-body);
  }
  .modal {
    padding: 27px var(--space-4);
  }
  .record-meta {
    font-size: var(--font-small);
  }
  .sample-label {
    font-size: var(--font-small);
  }
  .hero p {
    font-size: var(--font-small);
  }
  .heading-sub {
    font-size: var(--font-small);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  *:before {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (min-width: 768px) {
  .record-open p {
    font-size: var(--font-body);
  }
  .record-type {
    font-size: var(--font-small);
  }
  .record-meta {
    font-size: var(--font-small);
  }
  .record-bottom {
    font-size: var(--font-small);
  }
  .visibility {
    font-size: var(--font-small);
  }
  .type-button {
    font-size: var(--font-small);
  }
  .hero p {
    font-size: var(--font-small);
  }
  .hero-footnote {
    font-size: var(--font-small);
  }
  .heading-sub {
    font-size: var(--font-small);
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .friend-info strong {
    font-size: var(--font-small);
  }
  .friend-info > span {
    font-size: var(--font-small);
  }
  .text-button {
    font-size: var(--font-ui);
    min-height: 44px;
  }
  .filter-tab {
    font-size: var(--font-ui);
  }
  .section-description {
    font-size: var(--font-small);
  }
  .wide-text-button {
    font-size: var(--font-small);
  }
  .composer-type {
    font-size: var(--font-ui);
    min-height: 44px;
  }
  .modal-sub {
    font-size: var(--font-small);
  }
  .save-note {
    font-size: var(--font-small);
  }
  .demo-note {
    font-size: var(--font-small);
  }
}
