/* Town visitors can see the small gathering rather than only read a status line. */
.town-crowd-marker{cursor:pointer;outline:none;filter:drop-shadow(0 5px 5px #596f511c);}
.town-crowd-marker>rect:last-child{pointer-events:all;}
.town-crowd-marker:focus-visible>rect:last-child{stroke:#6f886a;stroke-width:4;stroke-dasharray:6 4;}
.town-crowd-marker .town-crowd-person{transform-origin:center bottom;animation:town-crowd-breathe 3.2s ease-in-out infinite;}
.town-crowd-marker .town-crowd-person:nth-of-type(3){animation-delay:.7s;}
.town-crowd-marker .town-crowd-person:nth-of-type(4){animation-delay:1.2s;}
.town-crowd-marker .town-crowd-late{animation:town-crowd-arrive .65s ease-out both;}
.town-crowd-marker .town-crowd-ripple{animation:town-crowd-glow 4s ease-in-out infinite;}
@keyframes town-crowd-breathe{50%{translate:0 -5px;}}
@keyframes town-crowd-arrive{from{opacity:0;translate:42px 0;}to{opacity:1;translate:0 0;}}
@keyframes town-crowd-glow{50%{opacity:.08;}}
.town-crowd-panel{background:#fffaf0;border:1px solid #cfcbb2;border-radius:22px;padding:18px 20px;margin:14px 0;color:#4f5e4d;box-shadow:0 6px 19px #5a6a4d0a;}
.town-crowd-panel[hidden]{display:none;}
.town-crowd-panel h2{font-size:17px;font-weight:600;margin:0 0 8px;}
.town-crowd-panel p{font-size:13px;margin:9px 0;line-height:1.75;}
.town-crowd-people,.town-crowd-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;}
.town-crowd-panel button{background:#e7eddd;border:1px solid #bac9b4;border-radius:15px;font:inherit;font-size:12px;padding:10px 14px;min-height:44px;cursor:pointer;}
.town-crowd-panel button[aria-pressed=true]{background:#d7e7d5;border-color:#799881;font-weight:700;}
.town-crowd-panel button:hover{background:#dae8d6;}
.town-crowd-panel .town-crowd-reply{min-height:54px;background:#f2f3e7;padding:12px 14px;border-radius:14px;}
.town-crowd-panel .town-crowd-footnote{font-size:12px;border-top:1px dashed #d2d5c0;padding-top:10px;}
.town-crowd-panel a{color:#516f56;text-decoration:underline;text-underline-offset:3px;font-weight:600;}
.town-crowd-panel small{display:block;color:#858c7b;font-size:10px;line-height:1.6;}
@media(max-width:760px){.town-crowd-panel{padding:15px 13px;border-radius:18px}.town-crowd-panel h2{font-size:15px}.town-crowd-panel p{font-size:12px}.town-crowd-panel button{padding:9px 10px;}}
@media(prefers-reduced-motion:reduce){.town-crowd-marker *, .town-crowd-marker{animation:none!important;transition:none!important;}}
