.guestbook-page { --guestbook-line: #555; --guestbook-muted: #aaa; --guestbook-soft: #c7c7c7; --guestbook-surface: #111; }
.guestbook-intro { max-width: 510px; }
.guestbook-page { --guestbook-content-width: 680px; }
.guestbook-composer { width: 100%; max-width: var(--guestbook-content-width); margin: 0 0 94px; padding: 0 0 32px; border-bottom: 1px solid var(--guestbook-line); }
.guestbook-kicker { margin: 0 0 11px; color: var(--guestbook-muted); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.guestbook-composer h2, .guestbook-list-heading h2 { margin: 0; font-family: "PT Serif", "Noto Serif TC", Georgia, serif; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.08; }
.guestbook-composer form { margin-top: 32px; }
.guestbook-field + .guestbook-field { margin-top: 21px; }
.guestbook-field label, .guestbook-field-heading output { color: var(--guestbook-muted); font-size: .76rem; font-weight: 700; letter-spacing: .08em; }
.guestbook-field-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 8px; }
.guestbook-field label { display: block; margin-bottom: 8px; }
.guestbook-field-heading label { margin: 0; }
.guestbook-field input, .guestbook-field textarea { box-sizing: border-box; width: 100%; color: #eee; background: transparent; border: 1px solid #666; border-radius: 0; font: inherit; line-height: 1.55; transition: border-color .2s ease, background .2s ease; }
.guestbook-field input { height: 46px; padding: 10px 12px; }
.guestbook-field textarea { height: 158px; padding: 12px; resize: none; overflow-y: auto; }
.guestbook-field input::placeholder, .guestbook-field textarea::placeholder { color: #777; opacity: 1; }
.guestbook-field input:focus, .guestbook-field textarea:focus { outline: none; border-color: #eee; background: var(--guestbook-surface); }
.guestbook-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 20px; margin-top: 18px; }
.guestbook-actions button { min-height: 42px; padding: 9px 17px; color: #111; background: #eee; border: 1px solid #eee; border-radius: 0; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: color .2s ease, background .2s ease; }
.guestbook-actions button:hover, .guestbook-actions button:focus-visible { color: #eee; background: transparent; outline: none; }
.guestbook-actions button:disabled { opacity: .55; cursor: not-allowed; }
.guestbook-status { flex: 1 1 210px; min-height: 1.35em; margin: 0; color: var(--guestbook-muted); font-size: .82rem; line-height: 1.45; }
.guestbook-status.is-error { color: #e0a39b; }
.guestbook-honeypot { position: absolute !important; left: -9999px !important; }
.guestbook-notes { width: 100%; max-width: var(--guestbook-content-width); }
.guestbook-list-heading { margin-bottom: 25px; }
.guestbook-list-heading h2 { font-size: clamp(1.8rem, 3.4vw, 2.55rem); }
.guestbook-list { border-top: 0; }
.guestbook-entry { width: 100%; padding: 23px 0 30px; }
.guestbook-entry:not(:last-child) { border-bottom: 1px solid var(--guestbook-line); }
.guestbook-entry-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; width: 100%; margin: 0; padding: 0; color: inherit; text-align: left; position: static; gap: 18px; }
.guestbook-entry strong { color: #eee; font-size: .92rem; font-weight: 700; }
.guestbook-entry time { flex: 0 0 auto; color: var(--guestbook-muted); font-size: .74rem; letter-spacing: .03em; }
.guestbook-entry-message { width: 100%; margin: 12px 0 0; color: var(--guestbook-soft); text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; line-height: 1.7; }
.guestbook-empty { margin: 24px 0; color: var(--guestbook-muted); font-family: "PT Serif", "Noto Serif TC", Georgia, serif; font-size: 1.08rem; font-style: italic; }
.guestbook-back { display: inline-block; margin-top: 51px; color: #bbb; font-size: .82rem; letter-spacing: .06em; text-decoration: none; }
.guestbook-back:hover, .guestbook-back:focus-visible { color: #fff; }
@media (max-width: 600px) { .guestbook-composer { margin-bottom: 60px; padding-bottom: 25px; } .guestbook-composer form { margin-top: 26px; } .guestbook-field textarea { height: 142px; } .guestbook-actions { align-items: flex-start; flex-direction: column; gap: 12px; } .guestbook-actions button { width: 100%; } .guestbook-status { flex-basis: auto; } .guestbook-entry { padding: 20px 0 26px; } .guestbook-entry-meta { display: flex; align-items: flex-start; flex-direction: column; gap: 5px; } .guestbook-back { margin-top: 42px; } }
