:root {
  --rose: #ff667d;
  --rose-soft: #fff0f2;
  --ink: #342e37;
  --muted: #9f969f;
  --line: #f1e7e9;
  --cream: #fff9f7;
  --blue: #688aa5;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5eff1;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.site-bg {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 218, 222, 0.72), transparent 26%),
    radial-gradient(circle at 84% 82%, rgba(223, 212, 241, 0.65), transparent 30%),
    linear-gradient(145deg, #faf5f6, #f2ecef);
}

.phone-shell {
  position: relative;
  max-width: 540px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 3%, rgba(255, 207, 215, 0.68), transparent 27%),
    radial-gradient(circle at 0 48%, rgba(255, 233, 218, 0.62), transparent 24%),
    var(--cream);
  box-shadow: 0 0 70px rgba(81, 55, 66, 0.12);
}

.app-header {
  position: relative;
  z-index: 20;
  display: flex;
  height: 68px;
  padding: 20px 20px 0;
  align-items: center;
  justify-content: space-between;
}

.header-circle {
  display: flex;
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #766972;
  font-family: Georgia, serif;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 18px rgba(89, 60, 70, 0.07);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7d7379;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.header-brand img {
  width: 27px;
  height: 27px;
  border-radius: 8px;
}

.online-pill {
  display: flex;
  height: 32px;
  padding: 0 12px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  color: #95878e;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.62);
}

.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #76cea0;
  box-shadow: 0 0 0 4px rgba(118, 206, 160, 0.1);
}

.screen-container {
  min-height: calc(100vh - 122px);
  padding: 0 18px calc(110px + var(--safe-bottom));
}

.screen-loading {
  display: flex;
  padding-top: 36vh;
  flex-direction: column;
  align-items: center;
  color: #a59ca2;
  font-size: 12px;
}

.loading-heart {
  color: #ef8d9c;
  font-family: Georgia, serif;
  font-size: 34px;
  animation: heartbeat 1.8s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(0.9); }
  50% { transform: scale(1.08); }
}

.screen {
  animation: enter 0.35s ease both;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.welcome {
  padding: 26px 9px 0;
}

.welcome h1 {
  margin: 0;
  color: #41373b;
  font-family: "Songti SC", "STSong", serif;
  font-size: 31px;
  line-height: 1.25;
  letter-spacing: 1px;
}

.welcome p {
  margin: 8px 0 0;
  color: #a49ca1;
  font-size: 12px;
  letter-spacing: 1px;
}

.hero {
  position: relative;
  height: 334px;
  margin: -6px -2px 0;
  overflow: hidden;
}

.hero > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.hero-days {
  position: absolute;
  right: 27px;
  bottom: 29px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-shadow: 0 4px 12px rgba(255, 255, 255, 0.9);
}

.hero-days strong {
  color: #514348;
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 0.9;
}

.hero-days span {
  color: #9a8187;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 2px;
}

.hero-days em {
  color: #c399a1;
  font-family: Georgia, serif;
  font-size: 18px;
}

.quote-card {
  position: relative;
  margin: -26px 3px 0;
  padding: 20px 23px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 19px;
  color: #75686d;
  font-family: "Songti SC", serif;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(89, 61, 70, 0.07);
  backdrop-filter: blur(12px);
}

.quote-card::before,
.quote-card::after {
  position: absolute;
  color: #f1d4d9;
  font-family: Georgia, serif;
  font-size: 35px;
  content: "“";
}

.quote-card::before {
  top: 2px;
  left: 8px;
}

.quote-card::after {
  right: 8px;
  bottom: -15px;
  content: "”";
}

.section-heading {
  display: flex;
  margin: 28px 4px 15px;
  align-items: center;
  justify-content: space-between;
}

.section-heading h2 {
  margin: 0;
  font-family: "Songti SC", serif;
  font-size: 19px;
  letter-spacing: 1px;
}

.section-heading button,
.section-heading span {
  border: 0;
  color: #aaa1a6;
  font-size: 10px;
  background: transparent;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 7px;
}

.quick-item {
  display: flex;
  padding: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 0;
  color: #5c5257;
  font-size: 11px;
  background: transparent;
}

.quick-icon {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 19px;
  background: linear-gradient(145deg, #fff0f1, #ffe1e4);
  box-shadow: 0 9px 22px rgba(101, 70, 80, 0.07);
}

.quick-icon img {
  width: 29px;
  height: 29px;
}

.tone-amber {
  background: linear-gradient(145deg, #fff8e9, #ffeac9);
}

.tone-peach {
  background: linear-gradient(145deg, #fff1eb, #ffdcd4);
}

.tone-mint {
  background: linear-gradient(145deg, #eff9f2, #d9eee1);
}

.tone-lilac {
  background: linear-gradient(145deg, #f6eefa, #eadcf3);
}

.tone-blue {
  background: linear-gradient(145deg, #eef5fb, #dce9f5);
}

.date-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.date-card {
  display: flex;
  min-height: 72px;
  padding: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(95, 66, 75, 0.05);
}

.date-icon {
  display: flex;
  width: 47px;
  height: 47px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #fff0f2;
}

.date-icon img {
  width: 24px;
  height: 24px;
}

.date-copy {
  flex: 1;
  min-width: 0;
  padding-left: 13px;
}

.date-copy strong,
.date-copy span {
  display: block;
}

.date-copy strong {
  color: #574b50;
  font-size: 13px;
}

.date-copy span {
  margin-top: 5px;
  color: #aaa1a5;
  font-size: 9px;
}

.date-count {
  color: var(--rose);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.date-count small {
  margin-left: 2px;
  font-size: 9px;
}

.announcement {
  display: flex;
  margin: 15px 3px 0;
  padding: 13px 15px;
  align-items: flex-start;
  gap: 9px;
  border-radius: 15px;
  color: #8e7c83;
  font-family: "Songti SC", serif;
  font-size: 10px;
  line-height: 1.65;
  background: linear-gradient(135deg, #fff1e9, #f7edf5);
}

.announcement span {
  color: #e98596;
}

.page-title {
  padding: 24px 8px 18px;
  text-align: center;
}

.page-title h1 {
  margin: 0;
  font-family: "Songti SC", serif;
  font-size: 27px;
}

.page-title p {
  margin: 7px 0 0;
  color: #a59ca1;
  font-size: 10px;
}

.diary-hero {
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 255, 255, 0.74), transparent 28%),
    linear-gradient(135deg, #ffe7df, #f7dce5 55%, #eadff2);
  box-shadow: 0 12px 34px rgba(99, 68, 78, 0.08);
}

.diary-hero h2 {
  margin: 6px 0 4px;
  font-family: "Songti SC", serif;
  font-size: 24px;
}

.diary-hero p {
  margin: 0;
  color: #967f87;
  font-size: 10px;
}

.diary-stats {
  display: flex;
  margin-top: 20px;
}

.diary-stats div {
  flex: 1;
  text-align: center;
}

.diary-stats strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 24px;
}

.diary-stats span {
  color: #9d898f;
  font-size: 9px;
}

.filters {
  display: flex;
  gap: 8px;
  margin: 17px 2px;
}

.filter-pill {
  height: 31px;
  padding: 0 14px;
  border: 1px solid #f4e8ea;
  border-radius: 999px;
  color: #a49aa0;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.filter-pill.active {
  border-color: #ffd5db;
  color: #ef687e;
  background: #fff0f2;
}

.diary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diary-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 27px rgba(95, 66, 75, 0.05);
}

.diary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aaa1a5;
  font-size: 9px;
}

.diary-card h3 {
  margin: 10px 0 7px;
  font-family: "Songti SC", serif;
  font-size: 18px;
}

.diary-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #807479;
  font-size: 11px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.diary-foot {
  display: flex;
  margin-top: 13px;
  align-items: center;
  justify-content: space-between;
  color: #ad9fa5;
  font-size: 9px;
}

.floating-add {
  position: fixed;
  right: max(calc((100vw - 540px) / 2 + 22px), 22px);
  bottom: calc(88px + var(--safe-bottom));
  z-index: 40;
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: white;
  font-size: 28px;
  background: linear-gradient(145deg, #ff8a99, #ff5e77);
  box-shadow: 0 12px 26px rgba(255, 90, 115, 0.28);
}

.profile-hero {
  position: relative;
  padding: 24px 19px;
  overflow: hidden;
  border-radius: 23px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.78), transparent 36%),
    linear-gradient(145deg, #ffe8e2, #f7dce6 54%, #e6dff3);
  box-shadow: 0 13px 36px rgba(98, 65, 75, 0.09);
}

.couple-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.couple-person {
  display: flex;
  width: 88px;
  flex-direction: column;
  align-items: center;
}

.couple-person img {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  object-fit: cover;
}

.couple-person strong {
  margin-top: 7px;
  font-size: 12px;
}

.couple-person span {
  margin-top: 2px;
  color: #a18d94;
  font-size: 8px;
}

.couple-days {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.couple-days span:first-child {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #f16980;
  background: rgba(255, 255, 255, 0.44);
}

.couple-days strong {
  font-family: Georgia, serif;
  font-size: 36px;
}

.couple-days small {
  color: #9d818a;
  font-family: Georgia, serif;
  font-size: 7px;
  letter-spacing: 1px;
}

.profile-motto {
  display: block;
  margin-top: 15px;
  color: #8e7981;
  font-family: "Songti SC", serif;
  font-size: 10px;
  text-align: center;
}

.profile-stats {
  display: flex;
  margin: 13px 17px 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.profile-stat {
  flex: 1;
  text-align: center;
}

.profile-stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 21px;
}

.profile-stat span {
  color: #aaa1a5;
  font-size: 8px;
}

.menu-card {
  margin-top: 13px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 25px rgba(95, 66, 75, 0.045);
}

.menu-row {
  display: flex;
  min-height: 56px;
  padding: 0 16px;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid #f5edef;
  color: #61565a;
  font-size: 12px;
  text-align: left;
  background: transparent;
}

.menu-row:last-child {
  border-bottom: 0;
}

.menu-icon {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #fff0f2;
}

.menu-icon img {
  width: 18px;
  height: 18px;
}

.menu-row strong {
  flex: 1;
  font-weight: 500;
}

.menu-row span {
  color: #aaa1a5;
  font-size: 9px;
}

.feature-header {
  padding: 19px 5px 15px;
}

.feature-header h1 {
  margin: 0;
  font-family: "Songti SC", serif;
  font-size: 27px;
}

.feature-header p {
  margin: 6px 0 0;
  color: #a59ca1;
  font-size: 10px;
}

.feature-banner {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffe6de, #f4dce7 56%, #e6dff2);
}

.feature-banner h2 {
  margin: 0;
  font-family: "Songti SC", serif;
  font-size: 24px;
}

.feature-banner p {
  margin: 7px 0 0;
  color: #967f87;
  font-size: 10px;
}

.feature-list {
  display: flex;
  margin-top: 14px;
  flex-direction: column;
  gap: 10px;
}

.feature-card {
  display: flex;
  padding: 15px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 17px;
  color: #55494d;
  text-align: left;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 8px 24px rgba(95, 66, 75, 0.045);
}

.feature-card-icon {
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff0f2;
}

.feature-card-icon img {
  width: 23px;
  height: 23px;
}

.feature-card-copy {
  flex: 1;
}

.feature-card-copy strong,
.feature-card-copy small {
  display: block;
}

.feature-card-copy strong {
  font-size: 12px;
}

.feature-card-copy small {
  margin-top: 4px;
  color: #a79ea3;
  font-size: 9px;
}

.feature-number {
  color: var(--rose);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.photo-grid {
  display: grid;
  margin-top: 15px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.photo-card,
.photo-add {
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(87, 61, 72, 0.08);
}

.photo-card > img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.photo-placeholder {
  position: relative;
  display: flex;
  height: 150px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.75);
  font-family: Georgia, serif;
  font-size: 34px;
  background: linear-gradient(160deg, #ffe4d3, #f2c7cf 55%, #d2c4dd);
}

.photo-placeholder::before {
  position: absolute;
  top: 30px;
  right: 36px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 248, 207, 0.75);
  content: "";
}

.photo-placeholder::after {
  position: absolute;
  right: -24px;
  bottom: -60px;
  left: -24px;
  height: 130px;
  border-radius: 50% 50% 0 0;
  background: rgba(93, 91, 120, 0.22);
  content: "";
}

.photo-card small {
  display: block;
  padding: 9px 8px;
  overflow: hidden;
  color: #80757a;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-add {
  display: flex;
  min-height: 185px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-color: #ecd4d9;
  color: #d68795;
  background: #fffafa;
}

.photo-add > span {
  font-size: 31px;
}

.photo-add > small {
  margin-top: 8px;
  color: #aa9fa4;
  font-size: 9px;
}

.chat-list {
  display: flex;
  margin-top: 15px;
  flex-direction: column;
  gap: 14px;
}

.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.chat-row.mine {
  flex-direction: row-reverse;
}

.chat-row > img {
  width: 38px;
  height: 38px;
  border: 2px solid white;
  border-radius: 50%;
}

.chat-row > div {
  display: flex;
  max-width: 73%;
  flex-direction: column;
  align-items: flex-start;
}

.chat-row.mine > div {
  align-items: flex-end;
}

.chat-row span {
  margin-bottom: 4px;
  color: #b1a8ac;
  font-size: 8px;
}

.chat-row p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 5px 15px 15px 15px;
  color: #665b60;
  font-size: 11px;
  line-height: 1.65;
  background: white;
  box-shadow: 0 6px 19px rgba(89, 61, 71, 0.055);
}

.chat-row.mine p {
  border-radius: 15px 5px 15px 15px;
  color: white;
  background: linear-gradient(135deg, #ff8798, #ff667d);
}

.chat-composer {
  position: fixed;
  right: max(calc((100vw - 540px) / 2 + 18px), 18px);
  bottom: calc(88px + var(--safe-bottom));
  left: max(calc((100vw - 540px) / 2 + 18px), 18px);
  display: flex;
  height: 48px;
  padding: 5px 5px 5px 15px;
  align-items: center;
  border: 1px solid #f0e5e8;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 30px rgba(85, 58, 68, 0.1);
}

.chat-composer input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #5e5358;
  font-size: 11px;
  background: transparent;
}

.chat-composer button {
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  color: white;
  font-size: 10px;
  background: linear-gradient(135deg, #ff8799, #ff647b);
}

.poster-card {
  display: flex;
  min-height: 470px;
  padding: 30px 25px;
  flex-direction: column;
  align-items: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.62), transparent 25%),
    linear-gradient(145deg, #fff1eb, #f6e0e6 56%, #e8e1f3);
  box-shadow: 0 16px 45px rgba(91, 63, 74, 0.1);
}

.poster-card > strong {
  margin-top: 68px;
  color: #57464c;
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 1;
}

.poster-card > em {
  color: #8f7982;
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: normal;
  letter-spacing: 2px;
}

.poster-card p {
  margin: 44px 7px 0;
  padding: 22px;
  border-radius: 17px;
  color: #87777e;
  font-family: "Songti SC", serif;
  font-size: 11px;
  line-height: 1.9;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
}

.poster-card > small {
  margin-top: auto;
  color: #a58f98;
  font-size: 9px;
}

.poster-card + .primary-button {
  margin-top: 15px;
}

.task-check {
  display: flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #eadde0;
  border-radius: 50%;
  color: white;
  font-size: 13px;
}

.task-check.done {
  border-color: var(--rose);
  background: var(--rose);
}

.empty-state {
  padding: 55px 20px;
  color: #aaa1a5;
  font-size: 11px;
  text-align: center;
}

.bottom-nav {
  position: fixed;
  right: max(calc((100vw - 540px) / 2), 0px);
  bottom: 0;
  left: max(calc((100vw - 540px) / 2), 0px);
  z-index: 30;
  display: flex;
  height: calc(76px + var(--safe-bottom));
  padding: 8px 48px calc(7px + var(--safe-bottom));
  align-items: flex-start;
  border-top: 1px solid rgba(95, 70, 80, 0.06);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -7px 28px rgba(84, 55, 65, 0.05);
  backdrop-filter: blur(16px);
}

.nav-item {
  display: flex;
  flex: 1;
  padding-top: 5px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 0;
  color: #aaa3ac;
  font-size: 9px;
  background: transparent;
}

.nav-item img {
  width: 24px;
  height: 24px;
}

.nav-item.active {
  color: var(--blue);
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  padding-top: 12vh;
  align-items: flex-end;
  justify-content: center;
  background: rgba(44, 35, 42, 0.34);
  backdrop-filter: blur(4px);
}

.sheet {
  width: min(540px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 26px 26px 0 0;
  background: #fffbfa;
  box-shadow: 0 -20px 60px rgba(45, 34, 41, 0.16);
  animation: sheetIn 0.24s ease both;
}

@keyframes sheetIn {
  from { transform: translateY(30px); opacity: 0.5; }
  to { transform: translateY(0); opacity: 1; }
}

.sheet-handle {
  width: 38px;
  height: 4px;
  margin: 9px auto;
  border-radius: 999px;
  background: #e8dfe3;
}

.sheet-header {
  display: flex;
  padding: 13px 23px 8px;
  align-items: flex-start;
  justify-content: space-between;
}

.eyebrow {
  color: #aa9fa5;
  font-family: Georgia, serif;
  font-size: 8px;
  letter-spacing: 2px;
}

.sheet-header h2 {
  margin: 6px 0 0;
  font-family: "Songti SC", serif;
  font-size: 22px;
}

.sheet-close {
  display: flex;
  width: 33px;
  height: 33px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #8e8388;
  font-size: 23px;
  background: #f7f0f2;
}

.sheet-body {
  padding: 14px 23px calc(28px + var(--safe-bottom));
}

.form-field {
  display: flex;
  margin-bottom: 14px;
  flex-direction: column;
  gap: 7px;
}

.form-field > span {
  color: #71656b;
  font-size: 10px;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 11px 13px;
  border: 1px solid #eee4e7;
  border-radius: 12px;
  outline: 0;
  color: #554b50;
  font-size: 12px;
  background: #fffdfd;
}

.form-field textarea {
  min-height: 130px;
  line-height: 1.7;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #ff9aab;
  box-shadow: 0 0 0 3px rgba(255, 102, 125, 0.07);
}

.primary-button,
.secondary-button {
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 650;
}

.primary-button {
  border: 0;
  color: white;
  background: linear-gradient(135deg, #ff8193, #ff5f78);
  box-shadow: 0 11px 24px rgba(255, 94, 120, 0.2);
}

.secondary-button {
  margin-top: 8px;
  border: 1px solid #f1dce0;
  color: #e86c80;
  background: #fff7f8;
}

.auth-tabs {
  display: flex;
  margin-bottom: 14px;
  padding: 3px;
  border-radius: 12px;
  background: #f7f1f3;
}

.auth-tabs button {
  flex: 1;
  height: 34px;
  border: 0;
  border-radius: 10px;
  color: #9b9096;
  font-size: 10px;
  background: transparent;
}

.auth-tabs button.active {
  color: #d85f74;
  background: white;
  box-shadow: 0 4px 13px rgba(79, 55, 64, 0.07);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: calc(96px + var(--safe-bottom));
  left: 20px;
  z-index: 150;
  max-width: 420px;
  margin: auto;
  padding: 12px 16px;
  border-radius: 12px;
  opacity: 0;
  color: white;
  font-size: 11px;
  text-align: center;
  background: #453a42;
  transform: translateY(10px);
  transition: 0.18s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: #ca5366;
}

@media (min-width: 700px) {
  .phone-shell {
    min-height: calc(100vh - 32px);
    margin: 16px auto;
    border-radius: 32px;
  }

  .bottom-nav {
    bottom: 16px;
    border-radius: 0 0 32px 32px;
  }
}
