:root {
  --page: #f7f4ea;
  --surface: #fffdf5;
  --ink: #263729;
  --muted: #546456;
  --green: #2b513b;
  --line: #d1dac7;
  --pink: #f3d7cf;
  --sage: #e5eddc;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--page);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { width: min(calc(100% - 32px), 540px); margin-inline: auto; padding: 38px 0 20px; }
.masthead { position: relative; padding: 15px 0 23px; }
.masthead p { margin: 10px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.sign { float: right; width: 54px; height: 54px; border: 1px solid #d4a99a; border-radius: 50%; background: var(--pink); color: #773e33; text-align: center; font: 34px/52px Georgia, serif; }
h1, h2 { margin: 0; font-family: "Noto Serif SC", "Songti SC", SimSun, serif; }
h1 { font-size: clamp(28px, 8vw, 41px); letter-spacing: .05em; }
h2 { font-size: 22px; margin-block-end: 14px; }
.card { margin-bottom: 16px; padding: clamp(16px, 4.8vw, 25px); border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
form { display: grid; gap: 10px; }
fieldset { margin: 0; padding: 0; border: 0; }
label { font-size: 14px; font-weight: 600; }
input, button { font: inherit; }
input:not([type=radio]) { width: 100%; min-height: 46px; border: 1px solid #aebca9; background: #fffefa; color: var(--ink); padding: 10px 12px; border-radius: 10px; }
input[type=file] { min-height: 50px; }
button { min-height: 44px; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
.primary { border: 0; border-radius: 10px; padding: 10px 14px; color: white; background: var(--green); font-weight: 600; }
.activities, .cities { display: grid; gap: 8px; }
.activities { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 3px 7px; }
.cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span, .cities button { display: grid; place-items: center; width: 100%; min-height: 45px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.choice input:checked + span, .cities button[aria-pressed=true] { border-color: var(--green); background: var(--sage); color: var(--green); font-weight: 700; }
:focus-visible, .choice input:focus-visible + span { outline: 2px solid #335d48; outline-offset: 3px; }
.current, .empty { color: var(--muted); font-size: 14px; line-height: 1.45; }
.current { margin: -3px 0 12px; }
.pictures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-block: 12px 14px; }
.pictures img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; border-radius: 8px; background: var(--sage); }
.pictures figure { margin: 0; min-width: 0; }
.pictures figcaption { font-size: 12px; margin-block-start: 3px; overflow-wrap: anywhere; }
.empty { grid-column: 1 / -1; margin: 3px 0; }
.quiet { border: 0; background: transparent; color: var(--green); text-decoration: underline; }
.message { font-size: 14px; color: var(--green); margin: 9px 0 0; }
.message:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
@media (max-width: 350px) { .activities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
