.annotation-votes{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:14px 0 0;margin:18px 0 0;border-top:1px solid color-mix(in srgb, var(--ef-accent) 10.98%, transparent);}
.annotation-votes>button{--vote-rgb:190 198 218;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;min-width:62px;padding:9px 12px;border:1px solid rgb(var(--vote-rgb)/.2);border-radius:24px;background:rgb(var(--vote-rgb)/.035);font:500 16px/1.4 Inter,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums;color:var(--ef-quiet);cursor:pointer;transition:background-color .18s,border-color .18s,color .18s;}
#annotation-like{--vote-rgb:110 225 164;color:var(--ef-success);}
#annotation-dislike{--vote-rgb:248 132 150;color:var(--ef-quiet);}
#annotation-clown{--vote-rgb:197 166 255;color:var(--ef-quiet);}
#annotation-laugh{--vote-rgb:249 204 107;color:var(--ef-warning);}
#annotation-like,#annotation-dislike{border-radius:12px;gap:11px;padding:9px 15px;min-height:40px;}
#annotation-like .vote-icon,#annotation-dislike .vote-icon{width:20px;height:20px;}
.annotation-votes .ui-icon{position:relative;flex-shrink:0;transform-origin:50% 65%;z-index:1;}
.annotation-votes>button[aria-pressed=true] .ui-icon{fill:rgb(var(--vote-rgb)/.13);}
.vote-orbit{position:absolute;left:50%;top:50%;width:30px;height:30px;border:1px solid rgb(var(--vote-rgb)/.8);border-radius:50%;opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.25);}
.vote-spark{position:absolute;top:1px;left:8px;width:3px;height:3px;border-radius:50%;background:rgb(var(--vote-rgb));box-shadow:-13px 6px 0 rgb(var(--vote-rgb)/.7),13px 4px 0 rgb(var(--vote-rgb)/.7),-7px -2px 0 rgb(var(--vote-rgb)/.9),8px -4px 0 rgb(var(--vote-rgb)/.9);opacity:0;pointer-events:none;}
.annotation-votes>button:hover:not(:disabled){background:rgb(var(--vote-rgb)/.1);border-color:rgb(var(--vote-rgb)/.45);color:rgb(var(--vote-rgb));transform:none;}
.annotation-votes>button:active:not(:disabled){transform:none;}
.annotation-votes>button[aria-pressed=true]{color:rgb(var(--vote-rgb));border-color:rgb(var(--vote-rgb)/.62);background:rgb(var(--vote-rgb)/.1);box-shadow:none;}
.annotation-votes>button:disabled{opacity:.5;cursor:default;transform:none;}
.annotation-votes .vote-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:22px;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;transform-origin:50% 75%;pointer-events:none;}
.vote-flight,.vote-mini{position:absolute;left:22px;bottom:9px;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;opacity:0;pointer-events:none;z-index:3;transform:translate(-50%,0) scale(.3);}
.vote-flight{font-size:52px;filter:drop-shadow(0 5px 12px color-mix(in srgb, var(--ef-shadow) 40%, transparent));}
.vote-mini{font-size:24px;z-index:2;}
.annotation-votes .vote-count{display:inline-block;min-width:1ch;}
.annotation-votes>span{font-size:13px;line-height:1.5;color:var(--ef-muted);flex-basis:100%;}
.annotation-votes>span:empty{display:none;}
.annotation-votes>button:focus-visible{outline:2px solid rgb(var(--vote-rgb));outline-offset:4px;}
@media(prefers-reduced-motion:reduce){.annotation-votes>button{transition:none;}.annotation-votes>button:hover:not(:disabled),.annotation-votes>button:active:not(:disabled){transform:none;}.vote-flight,.vote-mini{display:none;}}

#post-like{--vote-rgb:110 225 164;color:var(--ef-success);}#post-dislike{--vote-rgb:248 132 150;color:var(--ef-quiet);}
#post-like,#post-dislike{border-radius:12px;min-height:42px;padding:10px 16px;gap:11px;}
#post-votes-status{max-width:250px;}#post-votes [hidden]{display:none!important;}

/* System retry action is secondary text, not a third voting tile. */
#annotation-votes-retry{min-width:0;min-height:32px;padding:4px 6px;border:0;border-radius:8px;background:transparent;color:var(--ef-accent);font-size:13px;box-shadow:none;}
#annotation-votes-retry:hover:not(:disabled){border:0;background:var(--ef-hover);color:var(--ef-accent-strong);transform:none;}
