#lhWheel{position:fixed;inset:0;z-index:9500;display:flex;align-items:center;justify-content:center;cursor:pointer}
#lhWheel .wbg{position:absolute;inset:0;background:rgba(10,6,20,.78);animation:lhwDim .3s ease-out both}
#lhWheel.clear .wbg{transition:background .4s;background:rgba(10,6,20,.18)}
#lhWheel .wbox{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 16px;max-width:100%;text-align:center}
#lhWheel .wbox.drop{animation:lhwDrop .62s cubic-bezier(.3,.7,.4,1) both}
#lhWheel .wbox.fade{transition:opacity .35s;opacity:0}
#lhWheel .wbox.shake{animation:lhwShake .2s steps(1) 1}
#lhWheel .wk{margin:0;font:400 10px/1 'Press Start 2P','Pixelify Sans',monospace;color:#e8d49a;letter-spacing:1px}
#lhWheel .wstage{position:relative;line-height:0}
#lhWheel .wstage canvas{image-rendering:pixelated;image-rendering:crisp-edges;display:block}
#lhWheel .winfo{position:absolute;right:-14px;top:-14px;width:44px;height:44px;border-radius:50%;border:2px solid #130a25;background:#2a1c4a;color:#e8d49a;font:700 16px/1 Georgia,serif;cursor:pointer;box-shadow:0 0 0 2px #e8d49a inset}
#lhWheel .wline{margin:6px 0 0;min-height:40px;max-width:330px;font:600 16px/1.3 'Space Grotesk',system-ui,sans-serif;color:#fff4dc}
#lhWheel .wline.win{color:#e8d49a}
#lhWheel .wodds{margin:0;max-width:320px;font:500 12px/1.4 'Space Grotesk',system-ui;color:#c9b8e8}
#lhWheel .wskip{margin:0;font:500 11px/1 'Space Grotesk',system-ui;color:#8f7fb3}
#lhWheel .wfx{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;image-rendering:pixelated}
#lhWheel.out{transition:opacity .25s;opacity:0}
#lhWheel.rm .wbox{animation:lhwFade .35s both}
@keyframes lhwDim{from{opacity:0}to{opacity:1}}
@keyframes lhwFade{from{opacity:0}to{opacity:1}}
@keyframes lhwDrop{0%{transform:translateY(-110vh)}62%{transform:translateY(14px)}80%{transform:translateY(-6px)}100%{transform:translateY(0)}}
@keyframes lhwShake{0%{transform:translate(2px,0)}25%{transform:translate(-2px,1px)}50%{transform:translate(2px,-1px)}75%{transform:translate(-1px,0)}100%{transform:translate(0,0)}}
#lhBadgeFx{position:fixed;inset:0;z-index:9400;cursor:pointer}
#lhBadgeFx .bbg{position:absolute;inset:0;background:rgba(10,6,20,.55);animation:lhwDim .15s both}
#lhBadgeFx .bstage{position:fixed;display:flex;align-items:center;justify-content:center}
#lhBadgeFx .bmed{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;z-index:1}
#lhBadgeFx .bmed img{width:100%;height:100%;image-rendering:pixelated;display:block}
#lhBadgeFx .bemo{font-size:96px;line-height:1}
#lhBadgeFx .bburst{position:fixed;width:192px;height:192px;left:calc(50% - 96px);top:calc(42% - 96px);background:url(../h/img/badgefx/pearl_burst_sheet.d8d174e3a2.png) 0 0/768px 192px no-repeat;image-rendering:pixelated;opacity:0;pointer-events:none}
#lhBadgeFx:not(.t-pearl) .bburst{display:none}
#lhBadgeFx .bspk{position:fixed;width:24px;height:24px;background:url(../h/img/badgefx/silver_sparkle_sheet.4f743d60fa.png) 0 0/96px 24px;image-rendering:pixelated;animation:lhbSpk .48s steps(4) both}
@keyframes lhbSpk{from{background-position:0 0}to{background-position:-96px 0}}
#lhBadgeFx .btext{position:fixed;left:16px;right:16px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;color:#fff4dc;font:500 14px/1.35 'Space Grotesk',system-ui}
#lhBadgeFx .btext b{font:700 17px/1.2 'Space Grotesk',system-ui;color:#e8d49a}
#lhBadgeFx .btext small{font-size:13px;max-width:320px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#c9b8e8}
#lhBadgeFx .btext.fade{transition:opacity .2s;opacity:0}
#lhBadgeFx.rm .bstage,#lhBadgeFx.rm .btext{opacity:0;transition:opacity .3s}#lhBadgeFx.rm.in .bstage,#lhBadgeFx.rm.in .btext{opacity:1}
#lhBadgeFx.out{opacity:0;transition:opacity .12s}
#lhBadgeFx .bmore{position:fixed;left:50%;top:42%;transform:translate(-50%,-50%);width:288px;height:96px;background:url(../h/img/badgefx/more_card_frame.6c36b588fc.png) 0 0/288px 96px;image-rendering:pixelated;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#fff4dc;font:600 13px/1.2 'Space Grotesk',system-ui;text-align:center}
#lhBadgeFx .bmore .ofgo{min-height:44px;padding:0 14px;position:absolute;top:104px}
button.tab.bbump{transform:translateY(-3px)}button.tab.bdot{position:relative}button.tab.bdot::after{content:'';position:absolute;top:6px;right:16px;width:8px;height:8px;background:#e8d49a;border:2px solid #130a25}
/* Eddy 23:50: red pixel-gradient frame + polished Press Start 2P text */
#lhWheel .wbox{background:#130a25;padding:16px 18px 14px;border:4px solid #a8202e;border-image:linear-gradient(180deg,#ff6a4f 0 25%,#e0373a 25% 50%,#b3222f 50% 75%,#6e1426 75% 100%) 1;box-shadow:0 0 0 2px #130a25,0 6px 0 2px rgba(0,0,0,.35);image-rendering:pixelated;gap:12px}
#lhWheel .wk{position:relative;padding:7px 14px 6px;background:#b3222f;box-shadow:inset 0 -3px 0 #6e1426,inset 0 2px 0 #ff6a4f,0 0 0 2px #130a25;font:400 10px/1 'Press Start 2P',monospace;letter-spacing:2px;color:#fff1d0;text-shadow:2px 0 #130a25,-2px 0 #130a25,0 2px #130a25,0 -2px #130a25,2px 2px #130a25,-2px -2px #130a25,2px -2px #130a25,-2px 2px #130a25}
#lhWheel .wk::before,#lhWheel .wk::after{content:'';position:absolute;top:50%;width:8px;height:8px;margin-top:-4px;background:#e8d49a;box-shadow:0 0 0 2px #130a25}#lhWheel .wk::before{left:-14px}#lhWheel .wk::after{right:-14px}
#lhWheel .wline{min-height:44px;margin:2px 0 0;max-width:300px;font:400 10px/1.7 'Press Start 2P',monospace;letter-spacing:.5px;color:#fff1d0;text-shadow:1px 0 #130a25,-1px 0 #130a25,0 1px #130a25,0 -1px #130a25,1px 1px #130a25,-1px -1px #130a25,1px -1px #130a25,-1px 1px #130a25}
#lhWheel .wline.win{color:#ffe08a}
#lhWheel .wskip{font:400 8px/1 'Press Start 2P',monospace;letter-spacing:1px;color:#c9b8e8;text-shadow:1px 0 #130a25,-1px 0 #130a25,0 1px #130a25,0 -1px #130a25;padding:6px 10px;border:2px solid #4a3578;background:#1d1236}
#lhWheel .wodds{font:400 8px/1.6 'Press Start 2P',monospace;color:#e8d49a}
#lhWheel .winfo{font:400 12px/1 'Press Start 2P',monospace;border-radius:0;box-shadow:inset 0 -3px 0 #1a1030,0 0 0 2px #e8d49a;right:-24px;top:-58px}
button.tab.bdot{position:relative}button.tab.bdot::after{content:"";position:absolute;top:6px;right:calc(50% - 16px);width:8px;height:8px;background:#ff5a4f;box-shadow:0 0 0 2px #130a25;image-rendering:pixelated;pointer-events:none}
html.lhDcats body #lhTest{display:none!important}
