.thread-card{min-width:0;border:1px solid #303035;border-radius:14px;background:#131315;overflow-wrap:anywhere}.thread-content{padding:17px 18px}.thread-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 9px;margin-bottom:9px}.thread-name{font-size:13px;font-weight:700}.thread-time{font-size:10px;color:#85858d}.admin-tag{font-size:8px;letter-spacing:.08em;background:#302022;border:1px solid #613033;color:#f5b7b7;border-radius:4px;padding:3px 5px}.thread-avatar{width:28px;height:28px;border-radius:50%;background:#303034;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:12px;font-weight:700;overflow:hidden}.thread-avatar img{width:100%;height:100%;object-fit:cover}.thread-body{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.thread-body.collapsed{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.thread-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-top:10px}.thread-action{font:11px Arial,Helvetica,sans-serif;letter-spacing:0;color:#a9a9b2;border:1px solid transparent;background:transparent;border-radius:8px;padding:7px 9px;min-height:36px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;touch-action:manipulation}.thread-action:hover{background:#303034;color:#fff;border-color:#48484e}.thread-action:disabled{opacity:.5}.thread-action:focus-visible{outline:2px solid #d66a6a;outline-offset:2px}.thread-action svg,.admin-love svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.thumb{border-color:#39393e;background:#1b1b1f}.thumb.selected{background:#333339;color:white;border-color:#777780}.thumb.selected svg{fill:#ffffff20}.admin-love{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#d88b94;margin-left:auto}.admin-love svg,.loved svg{fill:#db687b;stroke:#db687b}.heart-toggle.loved{color:#ee9aa9}.thread-children{margin:0 14px 12px 22px;padding-left:12px;border-left:1px solid #45454d;display:grid;gap:8px}.thread-reply{background:#222225;border-color:#39393f;border-radius:10px}.thread-reply>.thread-content{padding:12px 13px}.thread-reply .thread-body{font-size:12px;line-height:1.65;color:#dddde1}.thread-reply .thread-name{font-size:11px}.reply-label{font-weight:700;color:#a4a4af;font-size:10px}.thread-reply .thread-time{font-size:9px}.thread-reply .thread-avatar{width:23px;height:23px}.thread-reply .thread-children{margin-left:9px;margin-right:7px;padding-left:8px}.thread-reply .thread-reply .thread-children{margin-left:0;margin-right:0;padding-left:0;border-left:0}.show-more{padding-left:0;color:#bcbcc6}.danger{color:#d79999}.reply-picker{margin:12px 0;padding:12px;border:1px solid #49494f;border-left:2px solid #bd5b67;background:#242428;border-radius:8px;font-size:12px;color:#d0d0d5;display:flex;gap:12px;align-items:flex-start}.reply-picker[hidden]{display:none}.reply-picker span{flex:1;white-space:pre-wrap;overflow-wrap:anywhere}.reply-picker button{border:0;background:transparent;color:#eee;min-width:36px;min-height:36px;cursor:pointer;font-size:18px}.profile-controls{display:grid;gap:12px;max-width:480px}.profile-preview{width:64px;height:64px;object-fit:cover;border-radius:50%;background:#303034}.profile-preview:not([src]){display:none}@media(max-width:480px){.thread-content{padding:13px}.thread-children{margin-left:12px;margin-right:9px;padding-left:9px}.thread-reply>.thread-content{padding:11px}.thread-meta{gap:6px}.thread-actions{gap:4px}.thread-action{min-height:40px}.admin-love{font-size:9px}.thread-body{font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.reply-picker span{max-height:90px;overflow:auto}

/* One approved sprite, cached once. Backgrounds reserve their space before loading. */
.thread-avatar{box-sizing:border-box;flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;max-height:28px;aspect-ratio:1;align-self:center}
.thread-reply .thread-avatar{flex-basis:23px;width:23px;height:23px;min-width:23px;min-height:23px;max-width:23px;max-height:23px}
.lost-dog{background-image:url('assets/lost-dogs.png');background-repeat:no-repeat;background-size:443.5% 221.75%;background-color:#252525}
.dog-1{background-position:1.6739447% 4.7227926%}
.dog-2{background-position:33.9155750% 4.7227926%}
.dog-3{background-position:66.1572052% 4.7227926%}
.dog-4{background-position:98.3988355% 4.7227926%}
.dog-5{background-position:1.6739447% 95.2772074%}
.dog-6{background-position:33.9155750% 95.2772074%}
.dog-7{background-position:66.1572052% 95.2772074%}
.dog-8{background-position:98.3988355% 95.2772074%}
