:root {
  --bg: #080809;
  --surface: #141416;
  --lift: #1c1c1f;
  --line: #2a2a2e;
  --muted: #99999f;
  --text: #f2f2f3;
  --soft: #c4c4ca;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: #151517;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #ddd;
  outline-offset: 4px;
}
input,
textarea {
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #85858c;
}
button:disabled {
  cursor: default;
}
svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
a {
  color: inherit;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.serif {
  font-family: "Bodoni 72", "Didot", "Times New Roman", serif;
  font-weight: 400;
}
.review-shell {
  display: grid;
  grid-template-columns: 244px 1fr;
  min-height: 100vh;
}
.sidebar {
  height: 100vh;
  position: sticky;
  top: 0;
  background: #0e0e10;
  border-right: 1px solid #2a2a2d;
  padding: 35px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.brand {
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #a5a5ad;
  margin-bottom: 10px;
}
.side-nav {
  overflow: auto;
  margin: 0 -8px;
  padding: 0 8px;
  scrollbar-width: thin;
  flex: 1;
}
.nav-group {
  font-size: 12px;
  color: #85858d;
  margin: 23px 12px 10px;
  letter-spacing: 1px;
}
.side-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  width: 100%;
  font-size: 14px;
  color: #a9a9b0;
  margin-bottom: 3px;
  text-align: left;
}
.side-nav button svg {
  width: 18px;
  height: 18px;
}
.side-nav button:hover,
.side-nav button.active {
  color: #fff;
  background: #242427;
}
.sidebar-foot {
  font-size: 12px;
  line-height: 1.9;
  color: #92929b;
  border-top: 1px solid #29292e;
  padding-top: 19px;
}
.workspace {
  padding: 37px 52px 38px;
  min-width: 0;
}
.review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: auto;
}
.review-title {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 1px;
}
.review-sub {
  font-size: 14px;
  color: #a1a1aa;
  margin-top: 10px;
  line-height: 1.8;
}
.view-switch {
  display: flex;
  gap: 4px;
  background: #0e0e10;
  border: 1px solid #303035;
  border-radius: 99px;
  padding: 5px;
  white-space: nowrap;
}
.view-switch button {
  padding: 9px 15px;
  border-radius: 99px;
  font-size: 13px;
  color: #a6a6af;
}
.view-switch button.active {
  background: #353539;
  color: white;
}
.single-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 65px;
  padding-top: 32px;
}
.phone {
  width: 390px;
  height: 844px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid #45454b;
  border-radius: 46px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 20px 65px #0005;
}
.phone.screen-only {
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.statusbar {
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 27px 0;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.island {
  width: 100px;
  height: 26px;
  border-radius: 20px;
  background: #000;
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
}
.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.status-icons svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}
.battery {
  height: 10px;
  width: 22px;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 1px;
  position: relative;
}
.battery:after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: #999;
  border-radius: 1px;
}
.battery i {
  display: block;
  background: #ddd;
  width: 16px;
  height: 6px;
  border-radius: 1px;
}
.phone-body {
  height: calc(100% - 51px);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.screen-header {
  height: 70px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 23px;
  border-bottom: 1px solid #1e1e22;
}
.screen-header.flat {
  border-bottom: 0;
}
.header-center {
  text-align: center;
}
.header-center h2 {
  font-size: 17px;
  font-weight: 500;
}
.header-center p {
  font-size: 12px;
  color: #909099;
  margin-top: 4px;
}
.icon-btn {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #c6c6cc;
}
.icon-btn:hover {
  background: #242428;
}
.scroll {
  overflow: auto;
  min-height: 0;
  flex: 1;
  scrollbar-width: none;
}
.scroll::-webkit-scrollbar {
  display: none;
}
.pad {
  padding: 24px;
}
.bottom-tabs {
  height: 76px;
  display: flex;
  border-top: 1px solid #242428;
  flex-shrink: 0;
  padding: 12px 14px 20px;
  gap: 7px;
  background: #0c0c0e;
}
.bottom-tabs button {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  color: #82828b;
}
.bottom-tabs button.active {
  color: #eee;
}
.bottom-tabs svg {
  width: 21px;
  height: 21px;
}
.home-indicator {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 114px;
  height: 4px;
  background: #ddd;
  border-radius: 6px;
  z-index: 6;
  pointer-events: none;
}
.preview-tag {
  font-size: 11px;
  letter-spacing: 1px;
  color: #797982;
}
.page-note {
  width: 220px;
  align-self: flex-start;
  margin-top: 230px;
}
.page-note h3 {
  font-size: 21px;
  font-weight: 400;
}
.page-note .rule {
  height: 1px;
  background: #46464e;
  width: 40px;
  margin: 22px 0;
}
.page-note p {
  font-size: 14px;
  line-height: 1.9;
  color: #a8a8b1;
}
.page-note .chips {
  display: flex;
  gap: 9px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.chip {
  font-size: 12px;
  border: 1px solid #3c3c43;
  padding: 7px 10px;
  border-radius: 99px;
  color: #b3b3bd;
}
.avatar {
  width: 44px;
  height: 44px;
  border: 1px solid #414147;
  background: #202024;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #d5d5dc;
  flex-shrink: 0;
}
.avatar svg {
  width: 22px;
  height: 22px;
}
.avatar.user {
  background: #d3d3d6;
  color: #333;
  border-color: #d3d3d6;
}
.avatar.large {
  width: 70px;
  height: 70px;
}
.avatar.large svg {
  width: 31px;
  height: 31px;
}
.row {
  display: flex;
  align-items: center;
  gap: 13px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-caption {
  font-size: 12px;
  color: #9696a0;
  letter-spacing: 2px;
  margin-bottom: 17px;
}
.home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px 0;
}
.app-name {
  font-size: 14px;
  color: #a8a8b1;
  white-space: pre-wrap;
}
.clock-area {
  padding: 32px 27px 28px;
}
.date {
  font-size: 13px;
  color: #a1a1a9;
  letter-spacing: 2px;
}
.clock {
  font-size: 84px;
  line-height: 1.12;
  letter-spacing: -4px;
  margin: 13px 0;
}
.clock-caption {
  font-size: 13px;
  color: #93939c;
  letter-spacing: 1px;
}
.home-main {
  padding: 0 24px;
}
.greeting {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 1px;
}
.home-message {
  font-size: 13px;
  color: #96969e;
  margin-top: 9px;
  line-height: 1.8;
}
.primary {
  background: #e5e5e9;
  color: #19191c;
  border: 1px solid #e5e5e9;
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
}
.primary svg {
  width: 18px;
  height: 18px;
}
.secondary {
  border: 1px solid #35353b;
  border-radius: 12px;
  padding: 14px 17px;
  color: #d3d3da;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
}
.full {
  width: 100%;
}
.home-chat {
  margin-top: 20px;
}
.home-divider {
  height: 1px;
  background: #26262b;
  margin: 24px 0 20px;
}
.phone-entry {
  width: 100%;
  text-align: left;
  padding: 18px;
  border: 1px solid #323239;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #111113;
}
.entry-icon {
  width: 42px;
  height: 45px;
  border: 1px solid #3a3a42;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.entry-title {
  font-size: 16px;
}
.entry-sub {
  font-size: 12px;
  color: #93939e;
  margin-top: 7px;
}
.home-footer {
  display: none;
  font-size: 11px;
  color: #767680;
  text-align: center;
  margin: 23px 0;
}
.chat-scroll {
  padding: 23px 20px;
}
.chat-date {
  text-align: center;
  font-size: 11px;
  color: #7e7e88;
  margin: 0 0 25px;
}
.chat-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}
.chat-line .avatar {
  width: 31px;
  height: 31px;
}
.chat-line .avatar svg {
  width: 17px;
  height: 17px;
}
.chat-line.me {
  flex-direction: row-reverse;
}
.bubble {
  padding: 9px 15px;
  background: #1c1c20;
  color: #e3e3e7;
  border: 1px solid #2a2a30;
  border-radius: 4px 17px 17px 17px;
  font-size: 15px;
  line-height: 1.8;
  max-width: 258px;
  overflow-wrap: anywhere;
}
.me .bubble {
  background: #dcdce1;
  color: #242429;
  border-color: #dcdce1;
  border-radius: 17px 4px 17px 17px;
}
.bubble-time {
  font-size: 10px;
  color: #85858e;
  margin-top: 7px;
}
.me .bubble-time {
  text-align: right;
}
.input-dock {
  border-top: 1px solid #26262c;
  padding: 12px 18px 29px;
  display: flex;
  align-items: flex-end;
  gap: 11px;
  background: #0e0e10;
}
.input-dock textarea {
  resize: none;
  border: 1px solid #303037;
  background: #17171b;
  border-radius: 12px;
  font-size: 14px;
  line-height: 22px;
  padding: 11px 12px;
  height: 45px;
  max-height: 100px;
}
.send {
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #dedee3;
  color: #222;
  display: grid;
  place-items: center;
}
.send svg {
  width: 19px;
  height: 19px;
}
.chat-foot {
  font-size: 11px;
  color: #85858e;
  text-align: center;
  margin: 4px 0 18px;
}
.lock-body {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 56px;
}
.lock-symbol {
  width: 54px;
  height: 54px;
  border: 1px solid #3b3b42;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c8c8cf;
  margin-bottom: 22px;
}
.lock-body h2 {
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 2px;
}
.lock-body > p {
  font-size: 13px;
  color: #92929d;
  margin-top: 11px;
}
.pin-dots {
  display: flex;
  gap: 21px;
  margin: 34px 0 33px;
}
.pin-dots span {
  width: 10px;
  height: 10px;
  border: 1px solid #8b8b95;
  border-radius: 50%;
}
.pin-dots span.filled {
  background: #e3e3e8;
  border-color: #e3e3e8;
}
.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 272px;
  gap: 13px 22px;
}
.keypad button {
  width: 74px;
  height: 64px;
  border: 1px solid #303036;
  background: #141417;
  border-radius: 50%;
  font-size: 27px;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 300;
}
.keypad button:hover {
  background: #303036;
}
.keypad .bare {
  background: none;
  border: 0;
  font-size: 13px;
  color: #a5a5ad;
}
.lock-hint {
  font-size: 12px;
  color: #8e8e98;
  margin-top: 28px;
}
.phone-hero {
  padding: 24px 24px 21px;
}
.phone-hero h1 {
  font-size: 28px;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 10px 0 12px;
}
.phone-hero p {
  font-size: 13px;
  color: #9999a3;
}
.phone-date {
  font-size: 12px;
  color: #9d9da8;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px 18px;
  padding: 27px 25px 31px;
}
.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  color: #c8c8d0;
}
.app-tile .tile-icon {
  width: 68px;
  height: 68px;
  border: 1px solid #37373f;
  background: #19191d;
  border-radius: 20px;
  display: grid;
  place-items: center;
}
.tile-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.2;
}
.app-tile:hover .tile-icon {
  background: #2a2a30;
}
.daily-panel {
  margin: 0 24px;
  padding: 20px 18px;
  border-top: 1px solid #303037;
  border-bottom: 1px solid #303037;
}
.daily-panel h3 {
  font-size: 14px;
  font-weight: 400;
}
.daily-panel p {
  font-size: 12px;
  color: #94949e;
  margin-top: 9px;
  line-height: 1.9;
}
.text-btn {
  font-size: 13px;
  color: #d2d2d9;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.phone-quote {
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
  color: #858590;
  margin: 37px 30px 20px;
}
.content-title {
  font-size: 29px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 1px;
}
.content-sub {
  font-size: 13px;
  color: #9999a3;
  margin-top: 8px;
  line-height: 1.8;
}
.timeline {
  padding: 0 24px;
}
.timeline-row {
  display: grid;
  grid-template-columns: 47px 18px 1fr;
  gap: 10px;
  min-height: 118px;
}
.timeline-time {
  font-size: 12px;
  color: #9b9ba4;
  padding-top: 3px;
}
.timeline-track {
  position: relative;
}
.timeline-track:before {
  content: "";
  width: 1px;
  background: #35353c;
  position: absolute;
  top: 12px;
  bottom: 0;
  left: 5px;
}
.timeline-track:after {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid #95959f;
  background: #080809;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 1px;
}
.timeline-row:last-child .timeline-track:before {
  display: none;
}
.timeline-text {
  padding: 0 0 27px;
}
.timeline-text h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.timeline-text p {
  font-size: 13px;
  color: #9e9ea8;
  line-height: 1.8;
  margin-top: 8px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  padding: 4px 8px;
  border: 1px solid #383840;
  color: #b2b2bc;
  border-radius: 5px;
  margin-top: 11px;
}
.thin-search {
  display: flex;
  gap: 9px;
  align-items: center;
  background: #1b1b1f;
  border: 1px solid #2c2c33;
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 13px;
  color: #9696a1;
}
.thin-search svg {
  width: 17px;
  height: 17px;
}
.list {
  margin: 0 23px;
}
.contact {
  display: flex;
  gap: 13px;
  width: 100%;
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid #27272e;
  align-items: center;
}
.contact .text {
  min-width: 0;
  flex: 1;
}
.contact .text h3 {
  font-size: 15px;
  font-weight: 500;
}
.contact .text p {
  font-size: 13px;
  color: #94949f;
  margin-top: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact time {
  font-size: 11px;
  color: #898994;
  align-self: flex-start;
  padding-top: 5px;
}
.contact-avatar {
  width: 45px;
  height: 45px;
  border: 1px solid #3b3b44;
  background: #222227;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #d1d1da;
  font-size: 15px;
  flex-shrink: 0;
}
.read-note {
  font-size: 12px;
  color: #888892;
  text-align: center;
  line-height: 1.8;
  margin: 24px;
}
.diary-top {
  padding: 26px 27px 22px;
  border-bottom: 1px solid #303037;
  margin: 0 0 8px;
}
.diary-date {
  font-size: 48px;
  line-height: 1.2;
}
.diary-date small {
  font-size: 14px;
  font-family: -apple-system, sans-serif;
  color: #aaaab5;
  margin-left: 13px;
}
.diary-body {
  padding: 27px;
}
.diary-body h2 {
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 25px;
  letter-spacing: 1px;
}
.diary-body p {
  font-size: 15px;
  line-height: 2.2;
  color: #b6b6c0;
  margin-bottom: 19px;
}
.diary-end {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  color: #82828e;
  margin-top: 33px;
}
.diary-end:before {
  content: "";
  height: 1px;
  width: 35px;
  background: #60606d;
}
.segmented {
  display: flex;
  background: #17171b;
  border: 1px solid #2b2b32;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin: 23px;
}
.segmented button {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  border-radius: 7px;
  color: #9999a6;
}
.segmented button.active {
  background: #35353d;
  color: #efeff4;
}
.balance {
  padding: 7px 26px 28px;
  border-bottom: 1px solid #2c2c34;
}
.balance small {
  font-size: 12px;
  color: #9696a3;
}
.balance h1 {
  font-size: 45px;
  letter-spacing: -1px;
  margin: 14px 0 21px;
}
.balance h1 span {
  font-family: -apple-system, sans-serif;
  font-size: 21px;
  margin-right: 8px;
}
.balance-bottom {
  display: flex;
  gap: 30px;
  font-size: 12px;
  color: #9d9daa;
}
.balance-bottom strong {
  font-size: 13px;
  color: #d2d2dc;
  font-weight: 400;
  margin-left: 8px;
}
.record {
  display: flex;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #28282f;
  gap: 12px;
}
.record-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #33333c;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #b1b1bd;
  flex-shrink: 0;
}
.record-icon svg {
  width: 18px;
  height: 18px;
}
.record-main {
  flex: 1;
  min-width: 0;
}
.record-main h3 {
  font-size: 14px;
  font-weight: 400;
}
.record-main p {
  font-size: 11px;
  color: #8d8d9b;
  margin-top: 7px;
}
.amount {
  font-size: 16px;
  white-space: nowrap;
}
.shopping-card {
  border: 1px solid #32323b;
  border-radius: 14px;
  padding: 18px;
  margin: 0 23px 15px;
}
.shop-placeholder {
  width: 54px;
  height: 60px;
  background: #24242b;
  border: 1px solid #373740;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #aaaab9;
  flex-shrink: 0;
}
.shop-placeholder svg {
  width: 25px;
  height: 25px;
}
.shopping-card h3 {
  font-size: 14px;
  font-weight: 400;
}
.shopping-card p {
  font-size: 12px;
  color: #90909d;
  margin-top: 8px;
}
.shop-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #303039;
  margin-top: 17px;
  padding-top: 13px;
  font-size: 12px;
  color: #a5a5b2;
}
.settings-intro {
  padding: 24px 24px 20px;
}
.settings-profile {
  border: 1px solid #35353e;
  border-radius: 15px;
  padding: 19px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #141417;
  width: 100%;
  text-align: left;
}
.settings-profile h3 {
  font-size: 17px;
  font-weight: 400;
}
.settings-profile p {
  font-size: 12px;
  color: #9898a5;
  margin-top: 8px;
}
.settings-group-title {
  font-size: 12px;
  color: #90909e;
  margin: 21px 25px 9px;
  letter-spacing: 1px;
}
.settings-group {
  margin: 0 24px;
  border-top: 1px solid #303039;
}
.settings-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 57px;
  border-bottom: 1px solid #27272f;
  gap: 13px;
  text-align: left;
}
.settings-row > svg {
  width: 20px;
  height: 20px;
  color: #a7a7b5;
}
.settings-row .label {
  font-size: 14px;
  flex: 1;
}
.settings-row .value {
  font-size: 12px;
  color: #9494a2;
}
.settings-row .chev {
  width: 14px;
  height: 14px;
  color: #7e7e8b;
}
.settings-footer {
  font-size: 11px;
  text-align: center;
  color: #787886;
  line-height: 1.9;
  padding: 24px;
}
.form-block {
  padding: 23px 24px 0;
}
.field {
  margin-bottom: 23px;
}
.field label {
  display: block;
  font-size: 13px;
  color: #b5b5c2;
  margin-bottom: 11px;
}
.field input,
.field textarea,
.field .field-box {
  display: block;
  border: 1px solid #373740;
  background: #16161b;
  border-radius: 10px;
  min-height: 48px;
  font-size: 14px;
  padding: 13px 14px;
  line-height: 1.7;
}
.field textarea {
  height: 115px;
  resize: vertical;
}
.field label input,
.field label textarea {
  margin-top: 11px;
}
.field p {
  font-size: 12px;
  line-height: 1.8;
  color: #8c8c9a;
  margin-top: 8px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.password-note {
  border: 1px solid #35353e;
  border-radius: 12px;
  padding: 16px;
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.9;
  color: #a4a4b2;
}
.mood-layout {
  padding: 31px 27px;
}
.mood-date {
  font-size: 12px;
  letter-spacing: 2px;
  color: #9696a6;
}
.mood-orbit {
  width: 206px;
  height: 206px;
  border: 1px solid #454551;
  border-radius: 50%;
  margin: 37px auto 32px;
  position: relative;
  display: grid;
  place-items: center;
}
.mood-orbit:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed #2d2d37;
  border-radius: 50%;
}
.mood-face {
  font-size: 36px;
  font-family: serif;
  letter-spacing: 4px;
  color: #d6d6df;
  font-weight: 300;
  transform: rotate(90deg);
}
.mood-orbit i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c2c2d0;
  top: 21px;
  right: 32px;
}
.mood-title {
  text-align: center;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 4px;
}
.mood-desc {
  text-align: center;
  font-size: 14px;
  color: #a4a4b3;
  line-height: 2;
  margin: 18px 9px 32px;
}
.mood-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.mood-tags span {
  font-size: 12px;
  color: #b4b4c1;
  padding: 7px 12px;
  border: 1px solid #3b3b46;
  border-radius: 20px;
}
.mood-bottom {
  border-top: 1px solid #30303a;
  margin-top: 40px;
  padding-top: 23px;
  font-size: 13px;
  line-height: 1.9;
  color: #9b9bab;
}
.notice-card {
  margin: 24px;
  border: 1px solid #393943;
  border-radius: 15px;
  background: #141419;
  padding: 20px;
}
.notice-card .bubble {
  max-width: none;
  background: #202026;
  margin-top: 21px;
  font-size: 15px;
  line-height: 1.9;
}
.notice-card time {
  font-size: 11px;
  color: #8f8f9e;
}
.notice-card .primary {
  margin-top: 22px;
}
.notice-empty {
  margin: 30px 27px;
  font-size: 12px;
  line-height: 1.9;
  color: #8c8c9c;
  text-align: center;
}
.toggle {
  width: 36px;
  height: 22px;
  border-radius: 20px;
  border: 1px solid #535362;
  background: #4c4c58;
  padding: 3px;
  flex-shrink: 0;
}
.toggle:after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #eee;
  float: right;
}
.swatch-row {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.swatch {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #080809;
  border: 1px solid #686879;
}
.swatch:nth-child(2) {
  background: #18181c;
  border-color: #353542;
}
.swatch:nth-child(3) {
  background: #e5e5eb;
  border-color: #e5e5eb;
}
.swatch:nth-child(4) {
  background: #9494a4;
  border-color: #9494a4;
}
.theme-preview {
  height: 126px;
  background: #080809;
  border: 1px solid #353541;
  border-radius: 13px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}
.theme-preview .mini-bubble {
  height: 24px;
  width: 54%;
  border-radius: 8px;
  background: #24242c;
}
.theme-preview .mini-bubble:last-child {
  background: #dcdce4;
  align-self: flex-end;
  width: 44%;
}
.backup-card {
  border: 1px solid #363641;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 15px;
}
.backup-card h3 {
  font-size: 17px;
  font-weight: 400;
  margin: 15px 0 9px;
}
.backup-card p {
  font-size: 13px;
  line-height: 1.9;
  color: #9999a9;
  margin-bottom: 18px;
}
.backup-card > svg {
  width: 25px;
  height: 25px;
  color: #c5c5d2;
}
.checkline {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #b2b2c0;
  align-items: flex-start;
  line-height: 1.8;
  margin-top: 20px;
}
.checkline svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.diagnostic {
  border: 1px solid #363642;
  border-radius: 13px;
  margin-bottom: 14px;
  padding: 17px;
}
.diagnostic h3 {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
}
.diagnostic p {
  font-size: 12px;
  color: #9696a6;
  margin-top: 12px;
  line-height: 1.9;
}
.diagnostic .mono {
  font-family: ui-monospace, monospace;
  font-size: 11px;
}
.version-card {
  padding: 19px;
  border: 1px solid #393945;
  border-radius: 14px;
  text-align: center;
}
.version-card h3 {
  font-size: 17px;
  font-weight: 400;
  margin: 16px 0 10px;
}
.version-card p {
  font-size: 13px;
  color: #a3a3b3;
  line-height: 1.9;
  margin-bottom: 20px;
}
.toast {
  position: absolute;
  z-index: 30;
  left: 22px;
  right: 22px;
  bottom: 100px;
  background: #e3e3eb;
  color: #23232a;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  box-shadow: 0 8px 30px #0008;
  animation: enter 0.2s ease;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #000a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  background: #19191f;
  border: 1px solid #454551;
  border-radius: 22px;
  padding: 25px;
  width: 100%;
}
.modal h3 {
  font-weight: 500;
  font-size: 19px;
}
.modal p {
  font-size: 14px;
  line-height: 1.9;
  color: #adadbd;
  margin: 15px 0 24px;
}
.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
  gap: 35px 24px;
  margin: 42px auto 0;
  max-width: 1250px;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-item h3 {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #c6c6d1;
}
.mini-wrap {
  width: 292.5px;
  height: 633px;
}
.mini-wrap .phone {
  transform: scale(0.75);
  transform-origin: top left;
}
.board-layout {
  background: #121214;
  padding: 42px 50px 35px;
}
.board-head {
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #34343b;
  padding-bottom: 24px;
}
.board-head h1 {
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 2px;
}
.board-head p {
  font-size: 14px;
  color: #9c9cab;
  margin-top: 12px;
  line-height: 1.8;
}
.board-id {
  font-size: 13px;
  color: #9c9cab;
  text-align: right;
  line-height: 2;
}
.board-grid {
  display: grid;
  gap: 28px 24px;
  grid-template-columns: repeat(4, 1fr);
}
.board-grid.apps {
  grid-template-columns: repeat(3, 1fr);
}
.board-grid .mini-wrap {
  width: 312px;
  height: 675.2px;
}
.board-grid .phone {
  transform: scale(0.8);
}
.board-grid .gallery-item h3 {
  font-size: 14px;
}
.board-footer {
  font-size: 12px;
  color: #9292a2;
  margin-top: 27px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #303038;
  padding-top: 22px;
}
.mobile-review-bar {
  display: none;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (min-width: 1600px) {
  .single-stage {
    gap: 100px;
  }
}
@media (max-width: 1100px) {
  .workspace {
    padding: 30px;
  }
  .page-note {
    display: none;
  }
  .sidebar {
    width: 220px;
    padding: 30px 18px;
  }
  .review-shell {
    grid-template-columns: 220px 1fr;
  }
}
@media (max-width: 720px) {
  body {
    background: var(--bg);
  }
  .review-shell {
    display: block;
  }
  .sidebar,
  .review-head,
  .page-note {
    display: none;
  }
  .workspace {
    padding: 0;
  }
  .single-stage {
    padding: 0;
    display: block;
  }
  .phone {
    width: 100%;
    height: calc(100dvh - 42px);
    min-height: 660px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .statusbar {
    display: none;
  }
  .phone-body {
    height: 100%;
  }
  .home-indicator {
    display: none;
  }
  .mobile-review-bar {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #202025;
    padding: 0 15px;
    gap: 12px;
    border-bottom: 1px solid #3a3a44;
    position: sticky;
    top: 0;
    z-index: 40;
  }
  .mobile-review-bar span {
    font-size: 11px;
    color: #c1c1cd;
  }
  .mobile-review-bar select {
    background: #292930;
    border: 1px solid #4a4a56;
    border-radius: 6px;
    color: #eee;
    font-size: 12px;
    padding: 4px 8px;
    max-width: 175px;
  }
  .gallery {
    display: none;
  }
  .bottom-tabs {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    height: calc(64px + env(safe-area-inset-bottom));
  }
  .input-dock {
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  .board-layout {
    padding: 30px;
  }
  .board-grid {
    display: block;
  }
  .board-grid .gallery-item {
    margin-bottom: 30px;
  }
  .board-head {
    display: block;
  }
  .board-id {
    display: none;
  }
}
/* 正式应用布局：页面与消息动画不重播历史。 */
html,
body {
  height: 100%;
  overflow: hidden;
  background: #111113;
}
body {
  font-size: 16px;
}
.app-shell {
  position: fixed;
  left: 50%;
  top: var(--app-top, 0px);
  width: 100%;
  max-width: 480px;
  height: var(--app-height, 100dvh);
  transform: translateX(-50%);
  background: var(--bg);
  border-inline: 1px solid #28282e;
  overflow: hidden;
  padding-top: env(safe-area-inset-top);
}
.page {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.page-enter {
  animation: page-in 210ms ease-out;
}
.screen-header {
  height: 65px;
  padding: 0 20px;
}
.scroll {
  overscroll-behavior: contain;
  overflow-x: hidden;
}
.pad {
  padding: 24px;
}
.home-top {
  padding-top: 18px;
}
.clock-area {
  padding-top: 27px;
  padding-bottom: 24px;
}
.home-main .greeting {
  font-size: 25px;
}
.home-footer {
  display: none;
}
.home-main {
  padding-bottom: 28px;
}
.avatar {
  overflow: hidden;
}
.avatar img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.chat-line .avatar {
  width: 39px;
  height: 39px;
}
.chat-line .avatar svg {
  width: 21px;
  height: 21px;
}
.bubble {
  max-width: 282px;
  font-size: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-line {
  gap: 11px;
  margin-bottom: 18px;
}
.message-enter {
  animation: bubble-in 220ms ease-out both;
}
.bubble-time {
  font-size: 11px;
}
.message-sender {
  font-size: 12px;
  color: #9999a7;
  margin: 0 0 6px 2px;
}
.input-dock {
  align-items: flex-end;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  flex-shrink: 0;
}
.input-dock textarea {
  font-size: 16px;
  height: 47px;
  max-height: 132px;
  line-height: 23px;
}
.send {
  width: 46px;
  height: 46px;
}
.send:disabled {
  opacity: 0.45;
}
.bottom-tabs {
  height: calc(65px + env(safe-area-inset-bottom));
  padding-bottom: max(13px, env(safe-area-inset-bottom));
}
.bottom-tabs span {
  font-size: 12px;
}
.screen-header .header-center {
  max-width: 75%;
  overflow: hidden;
}
.header-center h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.field label input,
.field label textarea {
  margin-top: 11px;
}
.field label {
  font-size: 14px;
}
.field input,
.field textarea {
  font-size: 16px;
}
.field select {
  background: #16161b;
  border: 1px solid #373740;
  border-radius: 10px;
  color: #eee;
  padding: 13px 35px 13px 14px;
  width: 100%;
  font-size: 15px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #aaa 50%),
    linear-gradient(135deg, #aaa 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 22px,
    calc(100% - 14px) 22px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.settings-row .label {
  font-size: 15px;
}
.app-tile {
  font-size: 14px;
}
.app-tile .tile-icon {
  background: #19191d;
}
.empty {
  padding: 58px 30px;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  color: #9a9aa7;
  font-size: 14px;
  line-height: 2;
}
.empty svg {
  width: 35px;
  height: 35px;
  margin: 0 auto 19px;
  display: block;
  color: #b3b3bf;
  stroke-width: 1.1;
}
.empty h2 {
  color: #d5d5df;
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 12px;
}
.empty .secondary {
  margin-top: 23px;
}
.chat-empty {
  padding-top: 90px;
}
.wait-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 25px 17px;
  color: #a4a4b2;
  font-size: 13px;
  flex-shrink: 0;
}
.typing-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 20px;
}
.typing-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c6c6d4;
  animation: typing 1.2s ease-in-out infinite;
}
.typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
.history-btn {
  display: block;
  font-size: 12px;
  color: #a7a7b5;
  text-align: center;
  padding: 5px 15px 22px;
  margin: auto;
}
.new-messages {
  position: absolute;
  right: 22px;
  bottom: 105px;
  background: #dddde5;
  color: #292932;
  border-radius: 99px;
  padding: 11px 18px;
  font-size: 13px;
  box-shadow: 0 5px 20px #0006;
  z-index: 5;
}
.chat-list {
  position: relative;
}
.chat-state {
  flex-shrink: 0;
}
.error-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #17171d;
  border-top: 1px solid #33333d;
  font-size: 12px;
  color: #b5b5c4;
  line-height: 1.7;
}
.error-strip span {
  flex: 1;
}
.error-strip button {
  font-size: 13px;
  white-space: nowrap;
  color: #e3e3ed;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.empty-app {
  padding-top: 100px;
}
.phone-date {
  line-height: 1.8;
}
.phone-hero h1 {
  font-size: 27px;
}
.daily-panel p {
  font-size: 13px;
}
.contact.pinned {
  background: #151519;
  margin: 0 -12px;
  padding: 18px 12px;
  border-radius: 11px;
  border: 0;
}
.pin-mark {
  font-size: 11px;
  color: #aaaab9;
  margin-left: 7px;
}
.contact .avatar {
  border-radius: 12px;
  width: 47px;
  height: 47px;
}
.contact .text p {
  font-size: 14px;
}
.contact .text h3 {
  font-size: 16px;
}
.contact-avatar {
  font-size: 16px;
}
.notice-card {
  margin: 20px;
}
.notice-card p {
  line-height: 1.8;
  font-size: 13px;
}
.notice-card .bubble {
  max-width: none;
}
.notice-card .bubble + .bubble {
  margin-top: 10px;
}
.lock-body {
  padding-top: 38px;
}
.keypad button {
  transition:
    background 0.12s,
    transform 0.12s;
}
.keypad button:active {
  background: #3a3a43;
  transform: scale(0.95);
}
.password-peek {
  display: flex;
  gap: 10px;
}
.password-peek input {
  flex: 1;
}
.form-note {
  font-size: 12px;
  color: #9292a2;
  line-height: 1.9;
  margin: 14px 0 23px;
}
.avatar-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #acacbb;
}
.bg-active {
  background-size: cover;
  background-position: center;
}
.bg-active {
  background-color: #08080999;
  background-blend-mode: multiply;
}
.chat-background {
  background-size: cover;
  background-position: center;
}
.chat-background .bubble {
  box-shadow: 0 2px 12px #0004;
}
.screen-footer {
  padding: 20px 24px max(24px, env(safe-area-inset-bottom));
  font-size: 12px;
  color: #8e8e9c;
  text-align: center;
}
.warning {
  border: 1px solid #454551;
  border-radius: 12px;
  padding: 15px;
  font-size: 13px;
  line-height: 1.9;
  color: #bebecd;
  margin-top: 18px;
}
.diagnostic .mono {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.diagnostic p {
  font-size: 13px;
}
.log-model {
  overflow-wrap: anywhere;
}
.amount {
  font-variant-numeric: tabular-nums;
}
button {
  transition:
    opacity 0.12s,
    transform 0.12s;
}
button:active {
  opacity: 0.78;
}
.reduce-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.mood-face {
  transform: none;
}
.mood-face svg {
  width: 56px;
  height: 56px;
  stroke-width: 1;
}
.mini-status {
  font-size: 12px;
  color: #a8a8b7;
}
.diary-body p {
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 2;
}
.timeline-text p {
  font-size: 14px;
}
.timeline-row {
  min-height: 130px;
}
.contact[hidden] {
  display: none !important;
}
#overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
#overlay:empty {
  display: none;
}
#overlay > * {
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  padding: 24px;
  background: #000b;
}
.modal {
  max-width: 390px;
  max-height: 85dvh;
  overflow: auto;
}
.modal input {
  border: 1px solid #464652;
  border-radius: 9px;
  background: #101014;
  padding: 12px 13px;
  margin: 6px 0 15px;
  font-size: 16px;
}
.modal textarea {
  min-height: 100px;
  border: 1px solid #464652;
  border-radius: 9px;
  padding: 12px;
}
.modal p {
  font-size: 14px;
}
.modal button {
  min-height: 47px;
}
.toast-live {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(85px + env(safe-area-inset-bottom));
  width: calc(100% - 44px);
  max-width: 420px;
  z-index: 120;
  background: #dedee7;
  color: #23232c;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.8;
  box-shadow: 0 8px 30px #0008;
}
.save-error {
  background: #28282f;
  color: #f3f3f6;
  border: 1px solid #777783;
  top: 10px;
  bottom: auto;
}
.start-screen {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 22px;
  color: #aaa;
}
.form-actions {
  padding-bottom: 30px;
}
.inline-buttons {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}
.inline-buttons > * {
  flex: 1;
}
.checkrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin: 17px 0;
}
.checkrow input {
  width: 18px;
  height: 18px;
  accent-color: #ccc;
}
.group-badge {
  font-size: 11px;
  color: #9393a4;
  margin-left: 7px;
}
.user-note {
  color: #b0b0be;
  font-size: 13px;
  line-height: 1.8;
}
a {
  text-underline-offset: 4px;
}
@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes page-in {
  from {
    opacity: 0.35;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes typing {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}
@media (min-width: 721px) {
  .app-shell {
    box-shadow: 0 0 80px #0005;
  }
}
@media (max-width: 720px) {
  .app-shell {
    border: 0;
  }
  .screen-header {
    height: 62px;
  }
  .phone-body {
    height: 100%;
  }
  .bottom-tabs {
    height: calc(65px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 360px) {
  .apps-grid {
    gap: 25px 8px;
    padding-inline: 17px;
  }
  .app-tile .tile-icon {
    width: 64px;
    height: 64px;
  }
  .bubble {
    max-width: 230px;
  }
  .chat-scroll {
    padding-inline: 16px;
  }
  .chat-line .avatar {
    width: 36px;
    height: 36px;
  }
  .clock {
    font-size: 73px;
  }
}

.message-exit {
  animation: bubble-out 150ms ease-in forwards;
}
@keyframes bubble-out {
  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}
/* 解锁键严格正圆；删除键采用清晰的大号轮廓图标。 */
.keypad {
  width: 280px;
  grid-template-columns: repeat(3, 76px);
  gap: 14px 26px;
  justify-content: center;
}
.keypad button {
  width: 76px;
  height: 76px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  padding: 0;
  min-height: 76px;
  border-radius: 50%;
  font-size: 29px;
}
.keypad .bare {
  width: 76px;
  height: 76px;
  font-size: 29px;
}
.keypad .bare svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.7;
}
.lock-body {
  padding-top: 26px;
}
.lock-body h2 {
  font-size: 23px;
}
.pin-dots {
  margin: 28px 0;
}
.lock-hint {
  font-size: 14px;
  min-height: 44px;
  padding: 10px 12px;
  margin-top: 20px;
}
.tile-icon svg {
  overflow: visible;
}
.touch-link {
  min-height: 44px;
  padding: 8px 0;
}
.connection-options {
  margin: 4px 0 24px;
  border-top: 1px solid #303039;
  border-bottom: 1px solid #303039;
}
.connection-options summary {
  padding: 17px 0;
  font-size: 14px;
  cursor: pointer;
  color: #b8b8c8;
  min-height: 52px;
}
.connection-options .field:first-of-type {
  margin-top: 10px;
}
.field label select {
  margin-top: 11px;
}
.endpoint-preview {
  font-size: 12px;
  color: #9595a7;
  overflow-wrap: anywhere;
  line-height: 1.8;
  margin-bottom: 18px;
}
.models-panel {
  border: 1px solid #41414e;
  background: #101015;
  border-radius: 12px;
  padding: 12px;
  margin-top: 14px;
}
.models-panel[hidden] {
  display: none;
}
.models-panel > input {
  margin-bottom: 12px;
}
#model-options {
  max-height: 240px;
  overflow: auto;
  overscroll-behavior: contain;
}
#model-options button {
  display: block;
  min-height: 46px;
  width: 100%;
  border-bottom: 1px solid #292934;
  text-align: left;
  padding: 12px 9px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
#model-options button:hover {
  background: #25252f;
}
#model-count {
  font-size: 12px;
  color: #9191a3;
  padding: 8px 0 0;
}
.keyboard-open .input-dock {
  padding-bottom: 10px;
}
@media (max-height: 750px) {
  .lock-body {
    padding-top: 15px;
  }
  .lock-symbol {
    margin-bottom: 16px;
  }
  .pin-dots {
    margin: 22px 0;
  }
  .keypad {
    gap: 12px 26px;
  }
  .lock-hint {
    margin-top: 12px;
  }
}
@media (max-height: 660px) {
  .keypad {
    grid-template-columns: repeat(3, 66px);
    width: 254px;
    gap: 10px 28px;
  }
  .keypad button,
  .keypad .bare {
    width: 66px;
    height: 66px;
    min-height: 66px;
  }
  .lock-body {
    padding-top: 12px;
  }
  .lock-symbol {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }
  .lock-body h2 {
    font-size: 21px;
  }
  .pin-dots {
    margin: 19px 0;
  }
}
/* 长备注、长标题和大金额均可收缩换行，不撑破窄屏。 */
.home-main > .row {
  width: 100%;
  max-width: 100%;
}
.home-main > .row > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.phone-entry .entry-title {
  display: block;
  overflow-wrap: anywhere;
}
.settings-profile > div,
.shopping-card .row > div {
  min-width: 0;
}
.settings-profile h3,
.record-main h3,
.shopping-card h3,
.timeline-text h3,
.timeline-text p,
.diary-body h2,
.mood-title {
  overflow-wrap: anywhere;
}
.balance h1 {
  font-size: clamp(28px, 9vw, 45px);
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.scroll {
  overflow-wrap: anywhere;
}
.icon-btn {
  position: relative;
}
.notice-badge {
  position: absolute;
  right: -1px;
  top: 0;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  font-size: 10px;
  line-height: 16px;
  background: #dddde7;
  color: #18181f;
  padding: 0 4px;
}
.sms-notification {
  position: fixed;
  z-index: 95;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 12px);
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  border: 1px solid #565664;
  background: #23232bf5;
  border-radius: 16px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow: 0 8px 35px #0008;
  animation: notice-in 200ms ease-out;
}
.sms-notification > span {
  min-width: 0;
  flex: 1;
}
.sms-notification strong {
  font-size: 14px;
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}
.sms-notification > span > span {
  font-size: 13px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #c6c6d4;
}
.sms-notification .avatar {
  width: 38px;
  height: 38px;
}

.sms-notification strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes notice-in {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* 新消息由跟随逻辑平滑上推，避免浏览器锚定抢先跳动。 */
.chat-list {
  overflow-anchor: none;
}
