@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+U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xMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font:"Manrope Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--paper:#edf0eb;--surface:#fff;--surface-2:#e5e9e3;--surface-3:#d8ddd5;--ink:#18201b;--muted:#5b655e;--line:#d5dbd3;--accent:#3e7b33;--accent-hover:#336a29;--accent-ink:#fff;--accent-soft:#3e7b3321;--danger:#b4352a;--focus:#3e7b3373;--overlay:#0e141080;--shadow-float:0 12px 32px #0e16102e, 0 2px 6px #0e161014;--r-lg:14px;--r-md:10px;--r-sm:6px;--sq-light:#ebecd0;--sq-dark:#779556;--sq-last:#ffee588c;--sq-sel:#ffee58bf;--graph-white:#fff;--graph-black:#39403b;--chip-white:#f4f5f1;--chip-black:#2a302c;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--paper:#121513;--surface:#1b1f1c;--surface-2:#262b27;--surface-3:#313733;--ink:#e7ece6;--muted:#98a29a;--line:#2d3430;--accent:#7db862;--accent-hover:#8fc674;--accent-ink:#0d1a0a;--accent-soft:#7db86229;--danger:#f07a6c;--focus:#7db86280;--overlay:#0009;--shadow-float:0 12px 32px #00000080;--graph-white:#e6eae4;--graph-black:#343b36;--chip-white:#e6eae4;--chip-black:#0f1210;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--paper:#121513;--surface:#1b1f1c;--surface-2:#262b27;--surface-3:#313733;--ink:#e7ece6;--muted:#98a29a;--line:#2d3430;--accent:#7db862;--accent-hover:#8fc674;--accent-ink:#0d1a0a;--accent-soft:#7db86229;--danger:#f07a6c;--focus:#7db86280;--overlay:#0009;--shadow-float:0 12px 32px #00000080;--graph-white:#e6eae4;--graph-black:#343b36;--chip-white:#e6eae4;--chip-black:#0f1210;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--paper);color:var(--ink);font-family:var(--font);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;font-size:15px;font-weight:500;line-height:1.5;overflow-x:hidden}h1,h2{letter-spacing:-.01em;margin:0}a{color:var(--accent);text-underline-offset:2px}.icon{flex:none;display:block}.muted{color:var(--muted)}.small{font-size:13px}.error{color:var(--danger);margin:8px 0 0;font-weight:600}:focus{outline:none}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input:focus-visible,textarea:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus);outline:none}button{font:inherit;border-radius:var(--r-md);background:var(--accent);color:var(--accent-ink);cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:9px 16px;font-weight:700;transition:background-color .12s,color .12s;display:inline-flex}button:hover:not(:disabled){background:var(--accent-hover)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.4;cursor:default}button.secondary{background:var(--surface-2);color:var(--ink)}button.secondary:hover:not(:disabled){background:var(--surface-3)}button.block{width:100%;margin-top:10px}button.link{color:var(--muted);text-underline-offset:3px;background:0 0;justify-content:flex-start;min-height:0;padding:4px 0;font-weight:600;text-decoration:underline}button.link:hover:not(:disabled){color:var(--ink);background:0 0}button.chip{background:var(--surface-2);color:var(--ink);border-radius:999px;gap:5px;min-height:32px;padding:4px 11px 4px 8px;font-size:13px}button.chip:hover:not(:disabled){background:var(--surface-3)}.icon-btn{color:var(--ink);border-radius:var(--r-md);background:0 0;min-width:44px;min-height:44px;padding:0}.icon-btn:hover:not(:disabled),.icon-btn.on{background:var(--surface-2)}input,textarea{font:inherit;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);width:100%;color:var(--ink);padding:10px 12px;font-size:16px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}textarea{resize:vertical;margin-bottom:10px;display:block}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:16px}.card h2{margin-bottom:12px;font-size:16px;font-weight:800}.card p{margin:0 0 10px}.side-pawn{background:var(--sq-light);border-radius:50%;flex:none;padding:2px;display:block;box-shadow:inset 0 0 0 1px #0000001a}.acc-chip{border-radius:var(--r-sm);text-align:center;font-variant-numeric:tabular-nums;min-width:34px;box-shadow:inset 0 0 0 1px var(--line);padding:1px 7px;font-size:13px;font-weight:800;display:inline-block}.acc-chip.w{background:var(--chip-white);color:#18201b}.acc-chip.b{background:var(--chip-black);color:#f1f3ef;box-shadow:none}.page{max-width:1080px;padding:max(16px, env(safe-area-inset-top)) 16px 40px;margin:0 auto}.home-head{align-items:center;gap:10px;margin:6px 0 18px;display:flex}.home-head h1{letter-spacing:-.02em;font-size:24px;font-weight:800}.logo{border-radius:8px;display:block}.home-grid{gap:14px;display:grid}.home-main,.home-side{flex-direction:column;gap:14px;min-width:0;display:flex}.cta{border-radius:var(--r-lg);letter-spacing:-.01em;gap:12px;width:100%;min-height:64px;font-size:18px;font-weight:800}.search{gap:8px;display:flex}.search button{flex:none;padding:0 16px}.game-list{margin:4px 0 0;padding:0;list-style:none}.game-list li{border-top:1px solid var(--line);align-items:center;display:flex}.game-list li:first-child{border-top:none}.game-row{text-align:left;min-width:0;color:var(--ink);border-radius:var(--r-md);background:0 0;flex:1;align-items:center;gap:12px;padding:10px 6px;font-weight:500;display:flex}.game-row:hover:not(:disabled){background:var(--surface-2)}.gr-main{flex-direction:column;flex:1;min-width:0;display:flex}.gr-title{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.gr-title .muted{font-variant-numeric:tabular-nums;font-weight:600}.gr-meta{color:var(--muted);flex-wrap:wrap;column-gap:10px;font-size:12.5px;display:flex}.result{flex:none;font-size:13px;font-weight:800}.result.win{color:var(--accent)}.result.loss{color:var(--danger)}.result.draw{color:var(--muted)}.acc-pair{flex:none;gap:4px;display:flex}.del{color:var(--muted);flex:none}.del:hover:not(:disabled){color:var(--danger)}.foot{color:var(--muted);max-width:70ch;margin-top:28px;font-size:12.5px}.foot p{margin:0 0 6px}@media (width>=900px){.home-grid{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:20px}.home-side{position:sticky;top:16px}.home-side .game-list{max-height:calc(100vh - 140px);overflow-y:auto}}.game{min-height:100vh}.topbar{padding:4px 8px;padding-top:max(4px, env(safe-area-inset-top));border-bottom:1px solid var(--line);background:var(--surface);z-index:5;align-items:center;gap:4px;display:flex;position:sticky;top:0}.topbar-title{flex-direction:column;flex:1;min-width:0;padding:2px 4px;line-height:1.25;display:flex}.tt-main{white-space:nowrap;text-overflow:ellipsis;font-weight:800;overflow:hidden}.tt-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.game-grid{grid-template-columns:1fr;gap:12px;padding:8px 0 32px;display:grid}.board-col{flex-direction:column;gap:6px;padding:0 8px;display:flex}.board-row{align-items:stretch;gap:6px;display:flex}.player{align-items:center;gap:7px;min-height:26px;font-size:14px;display:flex}.pname{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.pelo{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:600}.player .acc-chip{margin-left:auto;font-size:14px}.nav{gap:6px;display:flex}.nav button{background:var(--surface-2);min-width:0;min-height:48px;color:var(--ink);flex:1 1 0}.nav button:hover:not(:disabled){background:var(--surface-3)}.nav button.flip,.nav button.undo{flex:none;padding:0 14px}.nav button.undo span{font-size:14px}.panel{flex-direction:column;gap:12px;min-width:0;padding:0 12px;display:flex}.hint-text{color:var(--muted);margin:0;font-size:14px}button.with-icon{gap:8px}.board-wrap{flex:1;min-width:0}.board{aspect-ratio:1;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border-radius:4px;grid-template-rows:repeat(8,1fr);grid-template-columns:repeat(8,1fr);width:100%;display:grid;position:relative;overflow:visible}.sq{position:relative}.sq.light{background:var(--sq-light)}.sq.dark{background:var(--sq-dark)}.sq.last:after,.sq.sel:after{content:"";background:var(--sq-last);position:absolute;inset:0}.sq.sel:after{background:var(--sq-sel)}.coord{pointer-events:none;z-index:1;font-size:clamp(8px,2.2vw,12px);font-weight:800;position:absolute}.sq.light .coord{color:var(--sq-dark)}.sq.dark .coord{color:var(--sq-light)}.coord.rank{top:2px;left:3px}.coord.file{bottom:1px;right:3px}.hint{z-index:3;pointer-events:none;background:#0000002e;border-radius:50%;width:30%;height:30%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.hint.capture{background:0 0;border:5px solid #0000002e;width:88%;height:88%}.pieces{pointer-events:none;z-index:2;position:absolute;inset:0}.piece{pointer-events:none;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;width:12.5%;height:12.5%;position:absolute;top:0;left:0}.piece.ghost{opacity:.3}.board.animate .piece{transition:transform .2s ease-out}.drag-piece{pointer-events:none;z-index:50;position:fixed}.arrows{pointer-events:none;z-index:4;width:100%;height:100%;position:absolute;inset:0}.sq-badge{z-index:6;pointer-events:none;filter:drop-shadow(0 1px 2px #00000059);position:absolute;transform:translate(-60%,-40%)}.promo{z-index:10;background:var(--overlay);border-radius:4px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:20%;display:flex;position:absolute;inset:0}.promo button{background:var(--surface);aspect-ratio:1;border-radius:var(--r-md);width:22%;padding:6px}.promo button:hover:not(:disabled){background:var(--surface-2)}.promo button img{width:100%;height:100%}.promo .promo-cancel{aspect-ratio:auto;background:var(--surface-2);width:auto;color:var(--ink)}.evalbar{width:18px;box-shadow:0 0 0 1px var(--line);background:#2f3531;border-radius:4px;flex:none;position:relative;overflow:hidden}.evalbar.pending .evalbar-label{opacity:.5}.evalbar-white{background:#fff;transition:height .35s;position:absolute;bottom:0;left:0;right:0}.evalbar.flipped .evalbar-white{top:0;bottom:auto}.evalbar-label{text-align:center;letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:9.5px;font-weight:800;position:absolute;left:0;right:0}.evalbar-label.bottom{color:#2f3531;bottom:4px}.evalbar-label.top{color:#f1f3ef;top:4px}.evalbar.flipped .evalbar-label.bottom{top:4px;bottom:auto}.evalbar.flipped .evalbar-label.top{top:auto;bottom:4px}.progress{flex-direction:column;gap:6px;display:flex}.progress-bar{background:var(--surface-2);border-radius:3px;height:6px;overflow:hidden}.progress-bar div{background:var(--accent);height:100%;transition:width .3s}.variation-bar{background:var(--accent-soft);border-radius:var(--r-md);justify-content:space-between;align-items:center;gap:8px;padding:6px 6px 6px 14px;font-size:14px;font-weight:700;display:flex}.feedback{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:14px 16px}.fb-head{align-items:center;gap:10px;display:flex}.fb-title{letter-spacing:-.01em;flex:1;min-width:0;font-size:18px;font-weight:800}.fb-eval{font-variant-numeric:tabular-nums;background:var(--surface-2);border-radius:var(--r-sm);padding:3px 9px;font-size:15px;font-weight:800}.fb-sub{margin-top:6px;font-size:14.5px}.fb-line{margin-top:10px;font-size:14px}.fb-line>div{color:var(--muted);margin-top:1px}.pv{font-variant-numeric:tabular-nums;word-spacing:1px}.feedback button.link{margin-top:6px;font-size:13px}.fb-details{color:var(--muted);word-break:break-word;font-variant-numeric:tabular-nums;flex-direction:column;gap:2px;margin-top:6px;font-size:12px;display:flex}.wingraph{border-radius:var(--r-md);cursor:pointer;width:100%;height:90px;box-shadow:0 0 0 1px var(--line);display:block}.wg-white{fill:var(--graph-white)}.wg-black{fill:var(--graph-black)}.wg-mid{stroke:#8c948e;stroke-width:1px;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}.wg-cursor{stroke:var(--accent);stroke-width:2px;vector-effect:non-scaling-stroke}.movelist{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);max-height:264px;padding:6px;overflow-y:auto}.ml-row{grid-template-columns:36px 1fr 1fr;align-items:center;display:grid}.ml-row:nth-child(2n){background:color-mix(in srgb, var(--surface-2) 45%, transparent);border-radius:var(--r-sm)}.ml-num{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;padding-right:8px;font-size:13px;font-weight:600}.ml-cell{color:var(--ink);border-radius:var(--r-sm);background:0 0;justify-content:flex-start;align-items:center;gap:7px;min-height:34px;padding:4px 8px;font-weight:600;display:flex}.ml-cell:hover:not(:disabled){background:var(--surface-2)}.ml-cell.active,.ml-cell.active:hover:not(:disabled){background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent);font-weight:800}.ml-cell.empty{min-height:34px}.ml-noicon{width:16px;display:inline-block}.badge-icon{flex:none;display:block}.badge-icon.pending{color:var(--muted);animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.summary{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:14px 16px}.sum-acc{text-align:center;grid-template-columns:1fr auto 1fr;align-items:end;margin-bottom:12px;display:grid}.sum-acc>div:first-child,.sum-acc>div:last-child{flex-direction:column;align-items:center;gap:4px;min-width:0;display:flex}.sum-acc .muted{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:13px;font-weight:700;overflow:hidden}.sum-label{color:var(--muted);padding-bottom:10px;font-size:12.5px;font-weight:700}.acc{border-radius:var(--r-md);font-variant-numeric:tabular-nums;letter-spacing:-.02em;padding:2px 12px;font-size:24px;font-weight:800}.acc.white{background:var(--chip-white);color:#18201b;box-shadow:inset 0 0 0 1px var(--line)}.acc.black{background:var(--chip-black);color:#f1f3ef}.sum-table{border-collapse:collapse;width:100%;font-size:14px}.sum-table td{padding:4px 0}.sum-table tr+tr td{border-top:1px solid color-mix(in srgb, var(--line) 60%, transparent)}.sum-table .num{text-align:center;font-variant-numeric:tabular-nums;width:48px;font-weight:800}.sum-table .lbl{justify-content:center;align-items:center;gap:8px;font-weight:700;display:flex}.loading{text-align:center;color:var(--muted);padding:40px}.bench-log{padding-left:18px;font-size:14px}.row{align-items:center;gap:8px;display:flex}.row.wrap{flex-wrap:wrap;margin-bottom:8px}@media (width>=900px){.game-grid{grid-template-columns:minmax(0,1fr) 380px;gap:20px;max-width:1200px;margin:0 auto;padding:16px}.board-col{justify-self:end;width:100%;min-width:420px;max-width:calc(100vh - 200px);padding:0}.panel{padding:0}.movelist{max-height:300px}}.menu{z-index:20;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);width:min(360px,100vw - 16px);box-shadow:var(--shadow-float);flex-direction:column;gap:10px;max-height:calc(100vh - 80px);padding:8px 14px 14px;display:flex;position:absolute;top:calc(100% + 6px);right:8px;overflow-y:auto}.menu-head{justify-content:space-between;align-items:center;margin-right:-8px;display:flex}.menu-title{font-size:14px;font-weight:800}.menu-title.sep{border-top:1px solid var(--line);margin-top:2px;padding-top:12px}.menu label{cursor:pointer;align-items:center;gap:10px;font-size:14px;line-height:1.35;display:flex}.menu input[type=checkbox],.menu input[type=radio]{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:0}.sw{border-radius:2px;flex:none;width:16px;height:4px}.sound-set{gap:18px;display:flex}.segmented{background:var(--surface-2);border-radius:var(--r-md);gap:2px;padding:3px;display:flex}.segmented button{min-height:36px;color:var(--muted);background:0 0;border-radius:8px;flex:1;padding:0 8px;font-size:13.5px}.segmented button:hover:not(:disabled){background:var(--surface-3);color:var(--ink)}.segmented button.on,.segmented button.on:hover:not(:disabled){background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #00000024}.sound-test{flex-wrap:wrap;gap:6px;display:flex}.dialog-backdrop{background:var(--overlay);z-index:40;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{background:var(--surface);border-radius:var(--r-lg);width:min(560px,100%);box-shadow:var(--shadow-float);flex-direction:column;gap:12px;padding:18px;display:flex}.dialog-title{font-size:17px;font-weight:800}.dialog textarea{margin:0;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px}@media (prefers-reduced-motion:reduce){.board.animate .piece,.evalbar-white,.progress-bar div,button{transition:none}button:active:not(:disabled){transform:none}.badge-icon.pending{animation-duration:3s}}
