#guestbook{max-width:820px;margin:0 auto;padding:40px 28px 100px}
.guestbook-intro{padding-bottom:30px;border-bottom:1px solid #111}
.guestbook-eyebrow{font-size:11px;letter-spacing:.16em;color:#757575;margin:0 0 16px}
.guestbook-intro h1{font-size:clamp(36px,6vw,54px);font-weight:400;letter-spacing:-.06em;margin:0 0 14px;line-height:1.2}
.guestbook-intro p:last-child{font-size:16px;line-height:1.8;color:#666;margin:0}
#guestbook-form{padding:28px 0 30px;border-bottom:1px solid #ddd}
#guestbook-form label{display:block;font-size:14px;margin-bottom:9px}
#guestbook-form input,#guestbook-form textarea{font:inherit;color:#111;background:#fafafa;border:1px solid #ddd;border-radius:0;padding:13px 14px;width:100%;display:block;line-height:1.6}
#guestbook-form input{max-width:300px;margin-bottom:23px}
#guestbook-form textarea{min-height:145px;resize:vertical}
#guestbook-form input:focus,#guestbook-form textarea:focus{outline:2px solid #111;outline-offset:2px;background:#fff}
.guestbook-message-label{display:flex;align-items:center;justify-content:space-between;gap:16px}
#guestbook-count{font-size:12px;color:#777;font-variant-numeric:tabular-nums}
.guestbook-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px}
.guestbook-note{font-size:12px;color:#777;line-height:1.6;margin:0;max-width:340px}
#guestbook-form button[type=submit]{background:#111;color:#fff;padding:13px 24px;white-space:nowrap;min-height:46px;font-size:14px}
#guestbook button:disabled{opacity:.45;cursor:wait}
#guestbook-form button[type=submit]:hover{background:#333}
.guestbook-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.guestbook-list-top{display:flex;justify-content:space-between;align-items:center;padding:30px 0 8px}
.guestbook-list-top h2{font-size:15px;font-weight:400;margin:0}
#guestbook-total{margin-left:8px;color:#777;font-variant-numeric:tabular-nums}
#guestbook-refresh{font-size:12px;color:#666;padding:8px 0 8px 12px;text-decoration:underline;text-underline-offset:4px}
.guestbook-entry{padding:24px 0;border-bottom:1px solid #e8e8e8}
.guestbook-meta{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.guestbook-meta h3{font-size:15px;font-weight:600;margin:0;overflow-wrap:anywhere}
.guestbook-meta time{font-size:11px;color:#888;white-space:nowrap}
.guestbook-message{font-size:16px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 0}
.guestbook-entry-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:16px;font-size:12px;color:#777}
.guestbook-entry-actions button{text-decoration:underline;text-underline-offset:3px;padding:4px 0}
#guestbook-empty{text-align:center;padding:55px 12px;color:#777;font-size:14px;line-height:1.9;border-bottom:1px solid #eee}
#guestbook-empty strong{display:block;color:#444;font-weight:400;font-size:16px;margin-bottom:6px}
#guestbook-more{display:block;margin:28px auto 0;border-bottom:1px solid #111;padding:8px 0;font-size:14px}
#guestbook-status,#guestbook-form-status{font-size:13px;line-height:1.7;color:#555;margin:12px 0 0;overflow-wrap:anywhere}
#guestbook-status:empty,#guestbook-form-status:empty{display:none}
#guestbook-list.guestbook-physics{position:relative;overflow:hidden;margin-top:18px;border-bottom:1px solid #e8e8e8}
.guestbook-physics .guestbook-entry{position:absolute;left:0;top:0;padding:18px 20px;border:1px solid #e1e1e1;background:#fff;box-shadow:0 12px 28px rgba(0,0,0,.08);touch-action:none;cursor:grab;will-change:transform}
.guestbook-physics .guestbook-entry:active{cursor:grabbing}
.guestbook-physics .guestbook-meta{align-items:flex-start}
@media(max-width:650px){#guestbook{padding:28px 20px 70px}.guestbook-form-bottom{align-items:flex-start}.guestbook-note{max-width:180px}.guestbook-meta{align-items:flex-start;flex-direction:column;gap:5px}}
@media(prefers-reduced-motion:reduce){#guestbook-list.guestbook-physics{position:static;overflow:visible;min-height:0!important}.guestbook-physics .guestbook-entry{position:static;transform:none!important;width:auto!important;box-shadow:none;cursor:auto}}
