:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", system-ui, sans-serif;
  color: #263c32;
  background: #f4f3eb;
  --ink: #263c32;
  --muted: #52675c;
  --green: #255d44;
  --edge: #d7e0d3;
  --paper: #fffdf6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.6; }
main { width: min(100% - 2.5rem, 650px); margin: 0 auto; padding: 2.4rem 0 3rem; }
header { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; }
h1, h2, h3, p { margin: 0; }
h1 { font: 700 clamp(2.7rem, 10vw, 4rem)/1.12 "Songti SC", SimSun, serif; letter-spacing: .07em; }
h2 { font-size: 1.25rem; margin-bottom: .6rem; }
h3 { font-size: 1.1rem; }
.brand, p, small { color: var(--muted); }
.brand { letter-spacing: .16em; margin-bottom: .4rem; }
#identity { overflow-wrap: anywhere; text-align: end; }
#status { min-height: 1.7rem; margin: .7rem 0 .4rem; }
#status[data-error="true"] { color: #94382c; }
.card, .garden { background: var(--paper); border: 1px solid var(--edge); padding: 1.15rem; border-radius: 1rem; }
.intro { background: #e6efe4; }
section + section { margin-top: 1.4rem; }
form { display: grid; margin-top: .9rem; gap: .7rem; }
label { display: grid; gap: .35rem; }
input, select, button, textarea { font: inherit; color: var(--ink); }
input, select, textarea { min-height: 2.65rem; border: 1px solid #9fb2a3; border-radius: .55rem; background: #fff; padding: .5rem; width: 100%; }
textarea { resize: vertical; min-height: 4rem; }
button { border: 1px solid transparent; min-height: 2.7rem; padding: .38rem .9rem; border-radius: .6rem; background: var(--green); color: white; cursor: pointer; }
button.secondary { background: #eff4ec; color: var(--green); border-color: #afc2b1; }
button[disabled] { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #b57328; outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.pace { margin-top: .9rem; max-width: 17rem; }
.garden { margin: .6rem 0; }
.garden-head { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
progress { width: 100%; accent-color: var(--green); margin: .45rem 0; }
ul { list-style: none; padding: 0; margin: .75rem 0 0; }
li { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; justify-content: space-between; padding: .5rem 0; border-top: 1px solid var(--edge); overflow-wrap: anywhere; }
li button { min-height: 2.5rem; }
.letter { display: grid; gap: .5rem; }
.letter-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.received-heart { color: #8e2b43; background: #fce9ec; border-radius: .65rem; padding: .7rem; font-weight: 700; }
#heart-notice:not(:empty) { margin-bottom: .9rem; }
#contacts .garden h3 { margin-bottom: .55rem; overflow-wrap: anywhere; }
#contacts form + button { margin-top: .65rem; }
@media (max-width: 400px) { main { width: calc(100% - 1.5rem); padding-top: 1.55rem; } }
