.overlay.history{position:absolute;inset:0;isolation:isolate}.hsw-panel{background:#f8f1e1}.hsw-ribbon .tk-rb{display:flex;align-items:center;gap:8px;padding:0 44px 0 30px}.hsw-ribbon .tk-rb .ico{flex:none;margin-top:-4px;filter:drop-shadow(0 2px 0 rgba(59, 10, 99, .6))}.hsw-body{position:absolute;left:0;right:0;top:50px;bottom:12px;z-index:1;padding:0 16px;display:flex;flex-direction:column;gap:8px;min-height:0;color:#5a3a1a}.hsw-stats{flex:none;display:grid;grid-template-columns:repeat(8, minmax(0, 1fr));gap:8px}.hsw-stat{min-width:0;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;background:#fff;border:3px solid #ece3cf;border-radius:16px;box-shadow:0 4px 0 rgba(120, 90, 40, .16)}.hsw-stat-top{flex:none;position:relative;height:46px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 56%, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 52%),linear-gradient(var(--c1, #fff2bd), var(--c2, #ffcd45));border-bottom:3px solid var(--c3, #986000)}.hsw-glow{position:absolute;left:50%;top:52%;width:64px;height:64px;transform:translate(-50%, -50%);border-radius:50%;pointer-events:none;background:radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .45) 34%, rgba(255, 255, 255, 0) 68%);opacity:.6;animation:hsw-pulse 2.6s ease-in-out infinite alternate}@keyframes hsw-pulse{from{opacity:.4;transform:translate(-50%, -50%) scale(.9)}to{opacity:.75;transform:translate(-50%, -50%) scale(1.06)}}.hsw-stat-top .ico.hsw-stat-ic{position:relative;display:block;filter:drop-shadow(0 2px 1px rgba(30, 15, 0, .35))}.hsw-ring{position:relative;display:block;width:32px;height:32px;border-radius:50%;background:conic-gradient(#3fbf4f 0 var(--w, 0%), #f0574a var(--w, 0%) var(--l, 0%), #c5c9d6 var(--l, 0%) 100%);box-shadow:0 0 0 2px #fff,0 0 0 5px var(--c3, #1d6aa8),0 2px 2px 5px rgba(20, 40, 70, .22)}.hsw-ring.none{background:#d5d9e4}.hsw-ring i{position:absolute;inset:7px;border-radius:50%;background:radial-gradient(circle at 40% 35%, #ffffff, #e7f4ff);box-shadow:inset 0 2px 3px rgba(20, 40, 70, .3)}.hsw-stat-v{flex:none;display:block;margin:3px 4px 0;text-align:center;overflow:hidden;white-space:nowrap;font-size:26px;font-weight:900;line-height:30px;color:var(--c3, #4a2d0e);font-variant-numeric:tabular-nums}.hsw-stat-k{flex:none;height:32px;margin:0 4px 6px;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:14px;font-weight:800;line-height:15px;color:#8a6234;text-align:center}.hsw-stat-k > span{display:block;max-width:100%}.hsw-sec{flex:none;display:flex;align-items:center;gap:10px;height:28px;min-width:0}.hsw-sec-t{flex:0 1 auto;min-width:0;display:flex;align-items:center;gap:8px;font-size:21px;font-weight:900;color:#5a3a1a}.hsw-sec-t .ico{flex:none}.hsw-sec-t > span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hsw-count{flex:none;min-width:32px;height:26px;padding:0 9px;border-radius:13px;text-align:center;font-size:16px;font-weight:900;line-height:26px;color:#fff;background:linear-gradient(#ffb43a, #f08a0c);box-shadow:0 2px 0 #a05a00}.hsw-count[hidden]{display:none}.hsw-list{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:8px 8px 10px;display:flex;flex-direction:column;gap:8px;outline:0;background:#fbf6ea;border:2px solid #ece3cf;border-radius:16px;box-shadow:inset 0 2px 6px rgba(120, 90, 40, .08)}.hsw-list:focus-visible{box-shadow:inset 0 2px 6px rgba(120, 90, 40, .08),0 0 0 3px #ffb43a}.hsw-list::-webkit-scrollbar{width:10px}.hsw-list::-webkit-scrollbar-track{background:transparent}.hsw-list::-webkit-scrollbar-thumb{background:#d9c9a3;border-radius:5px;border:2px solid #fbf6ea}.hsw-match{--rc:#b9bccb;--rc2:#8e93a6;--rt:#f1f2f6;flex:none;position:relative;height:76px;display:grid;grid-template-columns:62px minmax(0, 1fr) auto;align-items:center;gap:14px;padding:0 10px 0 8px;border:3px solid #ece3cf;border-left:9px solid var(--rc);border-radius:16px;background:linear-gradient(90deg, var(--rt) 0, #ffffff 34%);box-shadow:0 3px 0 rgba(120, 90, 40, .14)}.hsw-match.win{--rc:#4fc24a;--rc2:#2a8f27;--rt:#ebfbe4}.hsw-match.lose{--rc:#f0675b;--rc2:#b8342a;--rt:#fff0ed}.hsw-match.draw{--rc:#aeb3c4;--rc2:#6f7590;--rt:#f1f2f6}.hsw-pic{width:62px;height:62px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(var(--rc), var(--rc2));box-shadow:0 2px 0 rgba(60, 40, 10, .25),inset 0 1px 0 rgba(255, 255, 255, .55)}.hsw-pic .ico.portrait{display:block}.hsw-info{min-width:0;display:flex;flex-direction:column;gap:6px}.hsw-l1{display:flex;align-items:center;gap:8px;min-width:0;height:28px}.hsw-res{flex:none;height:27px;padding:0 11px;border-radius:999px;display:inline-flex;align-items:center;font-size:15px;font-weight:900;line-height:1;color:#fff;white-space:nowrap;-webkit-text-stroke:.9px rgba(0, 0, 0, .45);paint-order:stroke fill;text-shadow:0 1px 0 rgba(0, 0, 0, .35)}.hsw-res.win{background:linear-gradient(#86e866, #34a92f);box-shadow:inset 0 1px 0 rgba(255, 255, 255, .45),0 2px 0 #1d6b1a}.hsw-res.lose{background:linear-gradient(#ff8f80, #df4136);box-shadow:inset 0 1px 0 rgba(255, 255, 255, .45),0 2px 0 #8c1f16}.hsw-res.draw{background:linear-gradient(#c9ccd8, #8a8fa3);box-shadow:inset 0 1px 0 rgba(255, 255, 255, .45),0 2px 0 #565b70}.hsw-what{flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:19px;font-weight:900;color:#4a2d0e}.hsw-room{flex:none;height:24px;padding:0 9px 0 5px;border-radius:999px;display:inline-flex;align-items:center;gap:4px;font-size:13.5px;font-weight:900;color:#fff;white-space:nowrap;background:linear-gradient(#9d7cf5, #6c47d8);box-shadow:0 0 0 2px #fff,0 2px 0 2px rgba(60, 30, 140, .35)}.hsw-room .ico{flex:none}.hsw-l2{display:flex;align-items:center;gap:16px;min-width:0;overflow:hidden;white-space:nowrap}.hsw-m{flex:none;display:inline-flex;align-items:center;gap:5px;font-size:15px;font-weight:800;color:#9a7a4c}.hsw-m .ico{flex:none}.hsw-rw{display:grid;grid-template-columns:92px 82px 70px 62px;align-items:center;height:50px;padding:0 10px 0 12px;border-radius:12px;background:#fffaf0;box-shadow:inset 0 0 0 2px #ecd8ad,0 2px 0 rgba(120, 90, 40, .12)}.hsw-rc{min-width:0;display:inline-flex;align-items:center;gap:4px}.hsw-rc .ico{flex:none;filter:drop-shadow(0 1px 1px rgba(0, 0, 0, .2))}.hsw-rc b{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:17px;font-weight:900;color:#4a2d0e;font-variant-numeric:tabular-nums}.hsw-rc.up b{color:#23892e}.hsw-rc.down b{color:#d0382b}.hsw-rc.zero{opacity:.38;filter:grayscale(.85)}.hsw-list.msg{justify-content:center}.hsw-msg{margin:auto;display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 20px;text-align:center;color:#8a7a58}.hsw-msg b{font-size:22px;font-weight:900}.hsw-msg small{max-width:640px;font-size:16px;font-weight:800;color:#a58a5e}.hsw-msg.load{flex-direction:row;gap:12px;font-size:21px;font-weight:900}.hsw-msg.empty > .ico{opacity:.6}.hsw-msg.err{color:#c0392b}.hsw-msg.err > .ico{opacity:.85}.hsw-spin{width:30px;height:30px;border-radius:50%;border:5px solid #ecd8ad;border-top-color:#ff9c1a;animation:hsw-spin .8s linear infinite}@keyframes hsw-spin{to{transform:rotate(360deg)}}.hsw-btn{margin-top:4px;height:50px;padding:0 26px;border:0;border-radius:14px;cursor:pointer;font-family:inherit;font-size:20px;font-weight:900;color:#3a1d00;white-space:nowrap;background:linear-gradient(#ffd24a, #ff9c1a);box-shadow:0 5px 0 #a05a00,0 8px 10px rgba(0, 0, 0, .18);text-shadow:0 1px 0 rgba(255, 255, 255, .35);transition:transform .06s,box-shadow .06s,filter .12s}.hsw-btn:hover{filter:brightness(1.05)}.hsw-btn:active{transform:translateY(4px);box-shadow:0 1px 0 #a05a00}.hsw-btn:focus-visible{outline:3px solid #ffb43a;outline-offset:2px}.hsw-hint{flex:none;height:38px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;min-width:0;border-radius:12px;background:linear-gradient(#fff8dc, #ffefb8);box-shadow:inset 0 0 0 2px #f0d58a,0 2px 0 rgba(150, 100, 0, .14);color:#7a5212}.hsw-hint .ico{flex:none}.hsw-hint-t{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15.5px;font-weight:800}@media (prefers-reduced-motion: reduce){.hsw-glow,.hsw-spin{animation:none}}