/* Private notes, public count. Keep all styling within the guestbook section. */
.guestbook-section{padding-block:56px 72px;border-top:1px solid var(--line);scroll-margin-top:32px}
.guestbook-section .section-heading{margin-bottom:28px}
.guestbook-section .section-heading>p{max-width:400px;line-height:1.8}
.guestbook-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:64px;align-items:center}
.guestbook-layout>*{min-width:0}
.guestbook-form{position:relative;isolation:isolate;overflow:hidden;padding:28px;border:1px solid #ffffffed;border-radius:25px;background:linear-gradient(145deg,#ffffffc7,#f7f8ef94);box-shadow:0 12px 34px #3b6b5410,inset 0 1px #fff;backdrop-filter:blur(16px)}
.guestbook-form::after{content:"";position:absolute;z-index:-1;inset:auto -80px -150px;height:270px;border:1px solid #92bba280;border-radius:50%;opacity:0;pointer-events:none}
.guestbook-form.is-sending::after{animation:guestbook-ripple 1.7s ease-out infinite}
.guestbook-form.is-received::after{animation:guestbook-received 1.1s ease-out}
.guestbook-section .guestbook-field+.guestbook-field{margin-top:19px}
.guestbook-form label{display:block;font-size:12px;font-weight:500;margin-bottom:8px}
.guestbook-form label small,.guestbook-form label span{font-size:11px;font-weight:400;color:var(--muted);margin-left:5px}
.guestbook-form input:not([name="website"]),.guestbook-form textarea{display:block;width:100%;max-width:100%;border:1px solid #d1dfd5;border-radius:13px;background:#ffffffe0;color:var(--ink);padding:11px 14px;font:400 16px/1.65 var(--sans);transition:border-color .2s,box-shadow .2s,background .2s}
.guestbook-form input:not([name="website"]){min-height:46px}
.guestbook-form textarea{min-height:145px;resize:vertical}
.guestbook-form input::placeholder,.guestbook-form textarea::placeholder{color:#7b8c83;opacity:1;font-size:13px}
.guestbook-form input:focus-visible,.guestbook-form textarea:focus-visible,.guestbook-section button:focus-visible{outline:3px solid #5c9886;outline-offset:4px}
.guestbook-form input:focus,.guestbook-form textarea:focus{border-color:#7eaa96;background:#fff;box-shadow:0 0 0 4px #c5e0d32b}
.guestbook-form input[readonly],.guestbook-form textarea[readonly]{background:#f6f8f4;color:#647a6d}
.guestbook-form input[name="website"],.guestbook-form .guestbook-trap{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.guestbook-section .guestbook-hint,.guestbook-section .guestbook-note{font-size:11px;line-height:1.8;color:var(--muted)}
.guestbook-section .guestbook-hint{margin-top:8px}
.guestbook-section .guestbook-note{margin-top:17px;max-width:420px}
.guestbook-section .guestbook-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:19px}
.guestbook-section #guestbook-length{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.guestbook-section #guestbook-submit{position:relative;min-width:125px;flex-shrink:0}
.guestbook-section button:disabled{cursor:wait;opacity:.68;transform:none;box-shadow:none}
.guestbook-section #guestbook-feedback{font-size:12px;line-height:1.85;min-height:23px;margin-top:14px;color:var(--muted);overflow-wrap:anywhere}
.guestbook-section #guestbook-feedback[data-state="success"]{color:#326c55}
.guestbook-section #guestbook-feedback[data-state="error"]{color:#985e40}
.guestbook-summary{position:relative;isolation:isolate;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:300px;padding:48px 24px;overflow:hidden}
.guestbook-ripples{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,#e3eee570,transparent 64%)}
.guestbook-ripples i{position:absolute;left:50%;top:43%;width:230px;height:163px;border:1px solid #bed6cba6;border-radius:50%;box-shadow:inset 0 1px 0 #ffffffd9;transform:translate(-50%,-50%) rotate(-18deg);animation:guestbook-breathe 8s ease-in-out infinite}
.guestbook-ripples i:nth-child(2){width:270px;height:197px;border-color:#cbdcd199;animation-delay:-2.6s;rotate:6deg}
.guestbook-ripples i:nth-child(3){width:310px;height:230px;border-color:#dae5db99;animation-delay:-5.2s;rotate:10deg}
.guestbook-summary h3{font-size:13px;font-weight:400;color:var(--muted);margin-bottom:6px}
.guestbook-section #guestbook-count{display:block;font-size:58px;font-weight:400;line-height:1.25;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--green);max-width:100%;overflow-wrap:anywhere}
.guestbook-summary>span,.guestbook-summary .guestbook-count-label{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.guestbook-total{display:flex;align-items:baseline;justify-content:center;gap:11px;margin-block:10px}
.guestbook-total>span{font-size:12px;color:var(--muted);flex-shrink:0}
.guestbook-summary-note{font-size:12px;line-height:1.9;color:var(--muted);margin-top:9px}
.guestbook-section #guestbook-count-status{font-size:11px;color:var(--muted);line-height:1.8;max-width:290px;margin-top:23px;min-height:20px}
.guestbook-section #guestbook-retry{font-size:12px;min-height:44px;margin-top:10px;padding:9px 18px;border-radius:24px;border:1px solid #d7e3d9;background:#e9f0e8;color:var(--green);transition:background .2s,transform .2s}
.guestbook-section #guestbook-retry:hover{background:#dfece2;transform:translateY(-1px)}
.guestbook-section [hidden]{display:none!important}
@keyframes guestbook-ripple{0%{opacity:0;transform:scale(.65)}25%{opacity:.55}100%{opacity:0;transform:scale(1.7)}}
@keyframes guestbook-received{0%{opacity:.75;transform:scale(.7)}100%{opacity:0;transform:scale(1.9)}}
@keyframes guestbook-breathe{0%,100%{opacity:.55;scale:.97}50%{opacity:1;scale:1.025}}
.guestbook-ripples i{animation-play-state:paused}.guestbook-visible .guestbook-ripples i{animation-play-state:running}.motion-suspended .guestbook-ripples i,.motion-suspended .guestbook-form::after{animation-play-state:paused}
@media(max-width:1080px){.guestbook-layout{gap:40px}}
@media(max-width:780px){.guestbook-section{padding-block:39px 46px}.guestbook-layout{grid-template-columns:1fr;gap:10px}.guestbook-form{padding:24px;border-radius:23px}.guestbook-section .section-heading{margin-bottom:22px}.guestbook-section .section-heading>p{max-width:500px}.guestbook-form textarea{min-height:140px}.guestbook-summary{min-height:260px;padding-block:42px 25px}.guestbook-ripples{scale:.9}.guestbook-section #guestbook-count{font-size:48px}.guestbook-section #guestbook-count-status{margin-top:18px}}
@media(max-width:380px){.guestbook-form{padding:20px}.guestbook-section .guestbook-actions{gap:10px}}
@media(prefers-reduced-motion:reduce){.guestbook-form::after,.guestbook-ripples i{animation:none!important}.guestbook-section *{transition:none!important}}
@media print{.guestbook-section{display:none}}
