.guestbook { padding-top: 72px; padding-bottom: 64px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.guestbook-heading { display:flex; align-items:baseline; gap:24px; margin-bottom:32px; }
.guestbook-heading h2 { margin:0; font-size:40px; letter-spacing:-.04em; }
.guestbook-heading p { color:var(--muted); font-size:16px; }
.guestbook-layout { display:grid; grid-template-columns:360px minmax(0,1fr); gap:48px; align-items:start; }
.guestbook-form { min-width:0; }
.guestbook-form label { display:flex; justify-content:space-between; gap:16px; margin:0 0 10px; font-size:14px; }
.guestbook-form label span { color:var(--muted); font-size:12px; }
.guestbook-form input,.guestbook-form textarea { display:block; width:100%; padding:14px 16px; margin-bottom:24px; border:1px solid var(--line); border-radius:12px; background:rgba(16,20,32,.7); color:var(--text); font:400 16px/1.7 Inter,ui-sans-serif,system-ui,sans-serif; transition:border-color 160ms; }
.guestbook-form textarea { resize:vertical; min-height:160px; max-height:500px; }
.guestbook-form input::placeholder,.guestbook-form textarea::placeholder { color:#8590aa; }
.guestbook :focus-visible { outline:2px solid var(--cyan); outline-offset:4px; }
.guestbook-form input:focus,.guestbook-form textarea:focus { border-color:var(--cyan); }
.guestbook-form textarea { margin-bottom:12px; }
.guestbook-note,.guestbook-privacy { color:var(--muted); font-size:13px; line-height:1.8; }
.guestbook-note { margin:0 0 20px; }
.guestbook-feedback { min-height:24px; font-size:14px; line-height:1.7; color:var(--cyan); margin:12px 0; overflow-wrap:anywhere; }
.guestbook-feedback[data-error="true"],#guestbook-load-status { color:#ffb6ae; }
.guestbook-privacy summary { cursor:pointer; width:fit-content; }
.guestbook-privacy p { margin:8px 0 0; }
.guestbook-honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.guestbook .button:disabled { opacity:.55; cursor:wait; transform:none; }
.guestbook-stream { min-width:0; }
.guestbook-stream-heading { display:flex; justify-content:space-between; gap:16px; padding-bottom:16px; border-bottom:1px solid var(--line); font-size:14px; }
.guestbook-stream-heading span:last-child { font-size:12px; color:var(--muted); }
.guestbook-entry { padding:24px 0; border-bottom:1px solid var(--line); }
.guestbook-entry-header { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.guestbook-entry-no { color:var(--cyan); font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; }
.guestbook-entry-name { font-weight:650; font-size:15px; overflow-wrap:anywhere; }
.guestbook-entry time { margin-left:auto; color:var(--muted); font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; }
.guestbook-entry p { margin:12px 0 0; font-size:16px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.guestbook-empty { padding:48px 24px; color:var(--muted); text-align:center; border-bottom:1px solid var(--line); line-height:1.8; margin:0; }
#guestbook-more,#guestbook-retry { margin-top:16px; }
.guestbook [hidden] { display:none!important; }
@media(max-width:900px) { .guestbook-layout { grid-template-columns:300px minmax(0,1fr); gap:32px; } }
@media(max-width:720px) { .guestbook { padding-top:40px; padding-bottom:40px; } .guestbook-heading { display:block; margin-bottom:24px; } .guestbook-heading h2 { font-size:32px; } .guestbook-heading p { margin:12px 0 0; } .guestbook-layout { grid-template-columns:1fr; gap:32px; } .guestbook-form .button { width:100%; } .guestbook-entry time { font-size:10px; } }
@media(prefers-reduced-motion:reduce) { .guestbook * { transition:none!important; scroll-behavior:auto; } }
