/* A self-contained night scene: its colours stay readable in every site theme. */
.halloween-leaders{position:relative;isolation:isolate;--hw-ink:#fff0d7;--hw-muted:#d8c6dc;--hw-gold:#ffd294;--hw-purple:#c8b1ee;--hw-line:#6d587878;--hw-surface:#24263d;--hw-night:#1b2035;--hw-orange:#f4a45e}
.hw-eventbar,.hw-dialog,.hw-city-side{box-sizing:border-box;color:var(--hw-ink,#fff0d7);font-family:var(--font-ui,system-ui,sans-serif)}
.hw-eventbar{display:grid;grid-template-columns:66px minmax(210px,.95fr) minmax(220px,1.2fr) auto;align-items:center;gap:18px;position:relative;overflow:hidden;min-width:0;min-height:114px;margin-bottom:14px;padding:16px 21px;border:1px solid #b988697a;border-radius:22px;background:radial-gradient(ellipse at 0 0,#94644a36,transparent 55%),radial-gradient(ellipse at 75% 120%,#8b609b2c,transparent 55%),#23243a;box-shadow:0 7px 32px #16152318,inset 0 1px #ffefd91c}
.hw-eventbar:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,#ffe0a385 1px,transparent 1.3px);background-size:107px 81px;opacity:.25}
.hw-eventbar>*{position:relative;z-index:1;min-width:0}.hw-event-emblem{width:66px;text-align:center}.hw-event-emblem svg{display:block;width:64px;height:59px;filter:drop-shadow(0 0 10px #f3a35239)}.hw-event-emblem>span{display:block;margin-top:-2px;color:#dfbd8e;font-size:9px;font-weight:850;letter-spacing:.24em}
.hw-eyebrow{display:block;color:#eebd88;font-size:10px;font-weight:850;line-height:1.4;letter-spacing:.12em}.hw-event-heading h2{margin:5px 0 4px;color:#fff0d7;font-size:clamp(18px,1.7vw,25px);font-weight:850;line-height:1.13;letter-spacing:-.035em}.hw-event-subtitle{display:block;color:#d9c8d9;font-size:12px;line-height:1.35}
.hw-lantern-head,.hw-lantern-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.hw-lantern-head{margin-bottom:9px;font-size:11px;color:#ffe1a9}.hw-lantern-head>span{font-weight:850;white-space:nowrap}.hw-lantern-head strong{font-size:11px;color:#e4d3e5;white-space:nowrap;font-variant-numeric:tabular-nums}.hw-progress{position:relative;height:9px;border:1px solid #685973;border-radius:9px;background:#161c2c;overflow:hidden}.hw-progress>span{display:block;height:100%;min-width:2px;width:0;background:linear-gradient(90deg,#bd827f,#f3b167,#ffe7a4);box-shadow:0 0 10px #ffdc9870;transition:width 1.4s ease;border-radius:inherit}.hw-progress>i{position:absolute;top:0;bottom:0;left:25%;width:2px;background:#24253d90}.hw-progress>i:nth-of-type(2){left:50%}.hw-progress>i:nth-of-type(3){left:75%}.hw-lantern-foot{margin-top:7px;color:#d6c4da;font-size:10px;line-height:1.35}.hw-lantern-foot>span:last-child{text-align:right;flex-shrink:0}
.hw-event-actions{display:grid;gap:8px;text-align:right}.hw-countdown{color:#d9c8d9;font-size:11px;font-variant-numeric:tabular-nums}.hw-event-actions>div{display:flex;align-items:center;gap:7px;justify-content:flex-end}.hw-rewards-button,.hw-motion,.hw-small-button,.hw-past-toggle,.hw-inline-button,.hw-close{font:inherit;cursor:pointer;touch-action:manipulation}.hw-rewards-button{min-height:39px;padding:9px 13px;border-radius:11px;border:1px solid #f1bb7b;background:#f3bd7c;color:#35253a;font-size:12px;font-weight:850;box-shadow:0 3px 14px #efa96218;white-space:nowrap;transition:background .18s,transform .18s}.hw-rewards-button:hover{background:#ffd69f;transform:translateY(-1px)}.hw-motion{display:grid;place-items:center;width:34px;height:34px;padding:0;background:#46354f45;color:#ead4f2;border:1px solid #89729570;border-radius:10px;font-size:21px;line-height:1}.hw-motion:hover{background:#594061}.hw-eventbar button:focus-visible,.hw-dialog button:focus-visible{outline:3px solid #afefe1;outline-offset:3px}
.hw-city-side{display:none;min-width:0;pointer-events:none;user-select:none;position:relative;overflow:hidden;border-radius:28px;background:linear-gradient(180deg,#20253e 0%,#252b41 55%,#303746 100%);border:1px solid #9a7b9a40;align-self:stretch;min-height:180px}.hw-city-side:before{content:"";position:absolute;left:20%;right:20%;bottom:12%;height:30%;background:#efb3750d;border-radius:50%;filter:blur(12px)}.hw-city-art{display:block;width:100%;height:100%;position:absolute;inset:0}.hw-window,.hw-lamp,.hw-city-pumpkin{opacity:.3;transition:opacity 2s}.halloween-leaders[data-hw-stage="1"] .hw-city-left .hw-window,.halloween-leaders[data-hw-stage="1"] .hw-city-pumpkin,.halloween-leaders[data-hw-stage="2"] .hw-window,.halloween-leaders[data-hw-stage="2"] .hw-city-pumpkin,.halloween-leaders[data-hw-stage="3"] :is(.hw-window,.hw-lamp,.hw-city-pumpkin),.halloween-leaders[data-hw-stage="4"] :is(.hw-window,.hw-lamp,.hw-city-pumpkin){opacity:1}.hw-resident-one{animation:hw-resident-walk 12s ease-in-out infinite}.hw-resident-two{animation:hw-resident-walk-two 17s ease-in-out infinite}.hw-bat-one{transform-origin:95px 120px;animation:hw-bat-drift 14s ease-in-out infinite}.hw-event-complete .hw-event-emblem{animation:hw-lantern-breathe 4s ease-in-out infinite}
.hw-dialog{--hw-ink:#fff0d7;--hw-muted:#d8c6dc;--hw-gold:#ffd294;--hw-line:#6d587878;width:min(1010px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;border:1px solid #ae8878;border-radius:25px;background:#24263d;color:var(--hw-ink);box-shadow:0 30px 100px #0a0b1870;overscroll-behavior:contain}.hw-dialog[open]{display:flex;flex-direction:column}.hw-dialog::backdrop{background:#101423ba;backdrop-filter:blur(4px)}.hw-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;padding:22px 26px 19px;border-bottom:1px solid var(--hw-line);background:radial-gradient(ellipse at 0 0,#99674425,transparent 70%),#24263d}.hw-dialog-head h2{margin:5px 0 0;font-size:27px;color:#fff0d7;font-weight:850;letter-spacing:-.03em;line-height:1.12}.hw-close{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;min-width:38px;min-height:38px;padding:9px;border:1px solid #83708d80;border-radius:12px;background:#ffffff08;color:#f3e1ee;position:relative;inset:auto;line-height:1}.hw-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.hw-close:hover{background:#ffffff13}.hw-dialog-body{padding:22px 26px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8d6c96 #24263d;min-height:0}.hw-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:15px 26px;border-top:1px solid var(--hw-line);background:#202337;color:#d8c6dc;font-size:11px}.hw-dialog-footer .hw-small-button{white-space:nowrap}
.hw-personal{display:grid;grid-template-columns:175px minmax(0,1fr);align-items:center;gap:25px;margin-bottom:19px}.hw-balance{display:flex;flex-direction:column;gap:5px;padding:18px 19px;border:1px solid #b48b6566;border-radius:18px;background:linear-gradient(120deg,#dca27116,#a86c7f12)}.hw-balance>span{font-size:12px;color:#e1c9ba;font-weight:750}.hw-balance strong{font-size:36px;line-height:1.1;color:#ffdc9a;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.hw-balance strong>span{font-size:25px}.hw-balance small{font-size:10px;color:#dbc3d5;line-height:1.35}.hw-personal-copy h3,.hw-public-welcome h3{font-size:20px;margin:0 0 7px;font-weight:850;color:#fff0d7;letter-spacing:-.02em}.hw-personal-copy p,.hw-public-welcome p{font-size:13px;line-height:1.55;color:#dccadd;margin:0}.hw-earn-rules{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px!important}.hw-earn-rules>span{border:1px solid #75657e65;padding:5px 8px;border-radius:8px;font-size:10px;background:#ffffff03;color:#e5d1dd;white-space:nowrap}
.hw-final{display:flex;align-items:center;gap:15px;padding:14px 17px;margin-bottom:24px;border-radius:16px;background:linear-gradient(100deg,#7c628d35,#5e65832b);border:1px solid #a08bb360}.hw-final-art{width:52px;height:52px;flex-shrink:0}.hw-final-art svg{width:100%;height:100%}.hw-final h3{margin:3px 0 4px;font-size:17px;color:#f7e5ff;letter-spacing:-.02em}.hw-final p{margin:0;color:#d8cbe6;line-height:1.45;font-size:12px}.hw-final-label{margin-left:auto;flex-shrink:0;color:#dec6f1;font-size:12px;white-space:nowrap;font-weight:750}.hw-final .hw-small-button{margin-left:auto;flex-shrink:0}.hw-final .hw-eyebrow{color:#d3b4ec;font-size:9px}
.hw-dialog-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:25px;align-items:start}.hw-section-heading{margin-bottom:14px}.hw-section-heading h3{font-size:19px;color:#fff0d7;font-weight:850;margin:4px 0 5px;letter-spacing:-.025em}.hw-section-heading p{font-size:11px;line-height:1.45;color:#d8c6dc;margin:0}.hw-missions{list-style:none;padding:0;margin:0;display:grid;gap:9px}.hw-mission{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid #71647c70;background:#ffffff03;border-radius:13px;min-width:0}.hw-mission>div{min-width:0;flex:1}.hw-mission strong{display:block;color:#f1dfec;font-size:12px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}.hw-mission small{display:block;color:#ccb8d2;font-size:9px;margin-top:4px;font-variant-numeric:tabular-nums}.hw-mission-mark{align-self:flex-start;margin-top:1px;flex-shrink:0;font-size:20px;line-height:1;color:#dfb880}.hw-mission-progress{height:3px;background:#141b2c;border-radius:3px;margin-top:8px;overflow:hidden}.hw-mission-progress>span{display:block;height:100%;background:#b69fc7;border-radius:3px}.hw-mission.is-complete{border-color:#82b8a134;background:#7bc5a405}.hw-mission.is-complete .hw-mission-mark{color:#a5d7c5}.hw-mission.is-complete strong,.hw-mission.is-complete small{color:#b6c6c4}.hw-mission.is-complete .hw-mission-progress>span{background:#91beaa}.hw-claimed{color:#b6d0c5;font-size:10px;flex-shrink:0}.hw-small-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:34px;padding:7px 10px;border-radius:9px;border:1px solid #8a729975;background:#493c5a55;color:#f0dff6;font-size:11px;font-weight:750;line-height:1.3;transition:background .18s}.hw-small-button:not(:disabled):hover{background:#69516d}.hw-small-button.hw-primary{background:#edbb8052;border-color:#d9a56b;color:#ffe4bb}.hw-small-button.hw-primary:not(:disabled):hover{background:#ba824b66}.hw-small-button:disabled{opacity:.48;cursor:default}.hw-small-button.hw-equipped{color:#b8e7d3;background:#568f8030;border-color:#77baa078}.hw-mission>.hw-small-button{flex-shrink:0;min-width:70px;padding:6px;font-size:10px}.hw-past-toggle{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:13px 0;margin-top:4px;border:0;background:transparent;color:#e0c3ec;text-align:left;font-size:11px;font-weight:750}.hw-past-toggle:hover{color:#f7d8ff}.hw-past-toggle>span{font-size:19px}.hw-past-missions{max-height:280px;overflow:auto;padding:2px 3px 5px;scrollbar-width:thin;overscroll-behavior:contain}.hw-fineprint{font-size:10px;color:#c9b6ce;line-height:1.55;margin:11px 0 0}
.hw-catalog-list{display:grid;gap:10px}.hw-catalog-item{display:flex;gap:14px;align-items:center;padding:14px;border-radius:15px;border:1px solid #7b668477;background:linear-gradient(115deg,#b88b9c0a,#8a75ae0b)}.hw-catalog-art{display:grid;place-items:center;flex-shrink:0;width:67px;height:76px;border-radius:15px;border:1px solid #a48bb533;background:radial-gradient(circle,#ad85ae20,transparent 80%)}.hw-catalog-art>svg{width:56px;height:61px}.hw-catalog-info{min-width:0;flex:1}.hw-item-rarity{color:#c3a0d8;font-size:8px;font-weight:800;letter-spacing:.09em;line-height:1.4;display:block}.hw-catalog-info h4{margin:5px 0 4px;color:#f7e7ed;font-size:14px;line-height:1.3;font-weight:800}.hw-catalog-info p{margin:0 0 9px;font-size:10px;line-height:1.5;color:#d5c1d9}.hw-catalog-price{font-size:11px;color:#ffdc9a;font-weight:800}.hw-catalog-item.is-owned{border-color:#8fb69d66}.hw-catalog-item.is-owned .hw-item-rarity{color:#b3d5bf}.hw-item-frame{width:53px;height:48px;display:grid;place-items:center;border:3px solid #dca45d;border-radius:11px;box-shadow:inset 0 0 10px #eca95820,0 0 10px #eca95820}.hw-item-frame svg{width:42px;height:42px}.hw-item-fireflies{position:relative;display:block;width:56px;height:60px}.hw-item-fireflies i{position:absolute;font-style:normal;font-weight:850;color:#ffe5a4;font-size:17px;text-shadow:0 0 8px #ffdf89aa}.hw-item-fireflies i:nth-child(1){left:0;top:32px;transform:rotate(-15deg)}.hw-item-fireflies i:nth-child(2){left:19px;top:18px;transform:rotate(5deg)}.hw-item-fireflies i:nth-child(3){left:35px;top:2px;transform:rotate(15deg)}.hw-item-fireflies b{position:absolute;left:34px;top:38px;color:#c4ebbc;font-size:13px}
.hw-message{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid #b88f6c88;border-radius:11px;background:#9c734019;color:#eed6b5;line-height:1.5;font-size:12px;margin:0 0 15px}.hw-message-error{border-color:#dc979677;color:#f4c7c9;background:#b5556317}.hw-inline-button{color:#f5dbb1;background:none;border:none;padding:5px;text-decoration:underline;font-size:11px;font-weight:750;flex-shrink:0}.hw-loading{padding:20px 8px;color:#dccbdf;font-size:12px}.hw-loading-keyboard{display:inline-block;font-size:25px;margin-right:7px;vertical-align:middle;animation:hw-lantern-breathe 2s ease-in-out infinite}.hw-public-welcome{display:flex;align-items:center;gap:25px;margin-bottom:20px}.hw-welcome-ghost{width:80px;flex-shrink:0}.hw-welcome-ghost svg{display:block;width:100%;height:90px;animation:hw-ghost-float 4s ease-in-out infinite}.hw-public-body .hw-dialog-columns{display:block}.hw-public-body .hw-catalog-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hw-name-decoration{display:inline-flex;align-items:center;gap:3px;margin-left:5px;flex-shrink:0;vertical-align:middle}.hw-nick-ghost{display:inline-flex;width:27px;height:31px;vertical-align:middle;animation:hw-ghost-float 4s ease-in-out infinite}.hw-nick-ghost svg{width:100%;height:100%}.hw-nick-keeper{font-size:18px;color:#d5aaf3;text-shadow:0 0 7px #e8b9fa55}.hw-pumpkin-frame{outline:2px solid #cb8646;outline-offset:2px;box-shadow:0 0 12px #ed9d4524!important}.hw-firefly-name:after{content:"✧";display:inline-block;position:relative;margin-left:5px;color:#d6a652;text-shadow:0 0 9px #ffe49e6b}
.lb-table tr[data-halloween-frame="pumpkin_frame"] .ranked-name{outline:2px solid #ca873f;outline-offset:2px;box-shadow:0 0 13px #eaa55b30}.lb-table tr[data-halloween-trail="firefly_trail"] .lb-name-cell>.hw-nick-ghost{margin-left:6px}.hw-nick-firefly{display:inline-block;position:relative;margin-left:5px;color:var(--warm,#ba823b);text-shadow:0 0 8px #e8bd6455}.hw-owner-ghost{position:fixed;width:43px;height:49px;pointer-events:none!important;user-select:none;z-index:24;opacity:.85;transition:left .7s cubic-bezier(.18,.7,.3,1),top .7s cubic-bezier(.18,.7,.3,1);contain:layout style}.hw-owner-ghost svg{width:100%;height:100%;animation:hw-ghost-float 4s ease-in-out infinite}.battle-mode .hw-owner-ghost,.ds-rotation-board .hw-owner-ghost,.board-display .hw-owner-ghost,body:has(dialog[open]) .hw-owner-ghost{display:none}.hw-witch-pet .pet-follower:before{content:"";position:absolute;width:46%;height:39%;left:28%;top:-4%;clip-path:polygon(0 83%,26% 72%,45% 0,85% 70%,100% 83%,90% 100%,8% 100%);background:linear-gradient(173deg,#9d7ab5 0 64%,#e6a15c 65% 78%,#826199 80%);z-index:1;transform:rotate(-9deg);filter:drop-shadow(0 2px 2px #24213b33)}.hw-motion-off .hw-owner-ghost{transition:none}.hw-motion-off .hw-owner-ghost svg{animation:none}
.hw-firefly-trail .typing-box .ch.current{position:relative}.hw-firefly-trail .typing-box .ch.current:after{content:"✦";position:absolute;left:25%;top:-.8em;font-size:.45em;line-height:1;color:var(--warm,#c18537);text-shadow:0 0 7px #efc96c77;pointer-events:none;animation:hw-lantern-breathe 2s ease-in-out infinite}.hw-firefly-trail .typing-box .ch.correct:has(+.current){text-shadow:0 0 8px #e8bd6444}.hw-motion-off .typing-box .ch.current:after{animation:none}
@keyframes hw-resident-walk{0%,100%{transform:translate(0,0)}45%,55%{transform:translate(13px,-5px)}}@keyframes hw-resident-walk-two{0%,100%{transform:translate(0,0)}40%,60%{transform:translate(-11px,-3px)}}@keyframes hw-bat-drift{0%,100%{transform:translate(0,0) rotate(-2deg)}50%{transform:translate(5px,-8px) rotate(3deg)}}@keyframes hw-lantern-breathe{0%,100%{opacity:.8}50%{opacity:1}}@keyframes hw-ghost-float{0%,100%{transform:translateY(1px) rotate(-2deg)}50%{transform:translateY(-3px) rotate(2deg)}}
@media(min-width:1280px){.halloween-leaders{display:grid;grid-template-columns:76px minmax(0,1fr) 76px;gap:12px}.halloween-leaders>.hw-eventbar{grid-column:1/-1;grid-row:1;margin-bottom:0}.halloween-leaders>.card{grid-column:2;grid-row:2;min-width:0}.halloween-leaders>.hw-city-left{display:block;grid-column:1;grid-row:2}.halloween-leaders>.hw-city-right{display:block;grid-column:3;grid-row:2}}
@media(min-width:1700px){.halloween-leaders{grid-template-columns:105px minmax(0,1fr) 105px;gap:16px}.hw-eventbar{padding:18px 25px;grid-template-columns:76px minmax(270px,1fr) minmax(310px,1.3fr) auto;min-height:123px;gap:23px}.hw-event-emblem{width:76px}.hw-event-emblem svg{width:73px;height:66px}.hw-event-heading h2{font-size:27px}.hw-event-subtitle{font-size:13px}.hw-lantern-head,.hw-lantern-head strong,.hw-countdown{font-size:12px}.hw-rewards-button{font-size:13px}}
@media(max-width:1050px){.hw-eventbar{grid-template-columns:52px minmax(190px,1fr) auto;gap:12px;padding:14px 17px;min-height:121px}.hw-event-emblem{width:52px;grid-row:1/3}.hw-event-emblem svg{width:51px;height:48px}.hw-event-heading{grid-column:2;grid-row:1}.hw-event-heading h2{font-size:20px}.hw-event-subtitle{font-size:11px}.hw-lantern{grid-column:2;grid-row:2}.hw-event-actions{grid-column:3;grid-row:1/3}.hw-lantern-head{margin-bottom:5px}.hw-lantern-foot{margin-top:5px}.hw-lantern-foot>span:last-child{display:none}.hw-eventbar .hw-eyebrow{font-size:8px}.hw-event-heading h2{margin:3px 0}.hw-lantern-head,.hw-lantern-head strong{font-size:10px}.hw-event-subtitle{display:none}.hw-progress{height:7px}}
@media(max-width:650px){.hw-eventbar{grid-template-columns:44px minmax(0,1fr);gap:9px 11px;padding:13px;border-radius:17px;min-height:0;margin-bottom:12px}.hw-event-emblem{grid-column:1;grid-row:1;width:44px}.hw-event-emblem svg{width:44px;height:41px}.hw-event-emblem>span{font-size:7px}.hw-event-heading{grid-column:2;grid-row:1}.hw-event-heading h2{font-size:19px;line-height:1.16}.hw-eventbar .hw-eyebrow{font-size:8px;letter-spacing:.08em}.hw-lantern{grid-column:1/-1;grid-row:2}.hw-lantern-head,.hw-lantern-head strong{font-size:10px}.hw-lantern-foot{font-size:9px}.hw-lantern-foot>span:last-child{display:block}.hw-event-actions{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:space-between;gap:8px}.hw-event-actions>div{gap:6px}.hw-countdown{font-size:9px;text-align:left}.hw-rewards-button{min-height:34px;font-size:10px;padding:7px 10px}.hw-motion{width:31px;height:31px;font-size:19px}.hw-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 18px);border-radius:18px}.hw-dialog-head{padding:17px 15px;gap:10px}.hw-dialog-head .hw-eyebrow{font-size:8px;letter-spacing:.07em}.hw-dialog-head h2{font-size:21px;margin-top:5px}.hw-close{width:34px;height:34px;min-width:34px;min-height:34px;padding:8px;border-radius:10px}.hw-dialog-body{padding:16px 13px}.hw-dialog-footer{padding:12px 13px;flex-wrap:wrap;font-size:9px;gap:10px}.hw-dialog-footer .hw-small-button{margin-left:auto;font-size:10px}.hw-personal{grid-template-columns:115px minmax(0,1fr);gap:12px;margin-bottom:14px}.hw-balance{padding:12px;border-radius:12px}.hw-balance>span{font-size:10px}.hw-balance strong{font-size:29px}.hw-balance strong>span{font-size:18px}.hw-balance small{font-size:8px}.hw-personal-copy h3,.hw-public-welcome h3{font-size:16px;line-height:1.25}.hw-personal-copy p,.hw-public-welcome p{font-size:10px}.hw-earn-rules{gap:4px;margin-top:8px!important}.hw-earn-rules>span{font-size:8px;padding:3px 5px;white-space:normal}.hw-final{gap:9px;padding:11px;margin-bottom:18px;flex-wrap:wrap;border-radius:12px}.hw-final-art{width:37px;height:43px}.hw-final>div:nth-child(2){flex:1;min-width:160px}.hw-final h3{font-size:14px}.hw-final p{font-size:10px}.hw-final .hw-eyebrow{font-size:8px}.hw-final-label,.hw-final .hw-small-button{font-size:10px;margin-left:auto}.hw-dialog-columns{grid-template-columns:minmax(0,1fr);gap:22px}.hw-section-heading h3{font-size:18px}.hw-section-heading .hw-eyebrow{font-size:9px}.hw-mission{padding:10px;gap:9px}.hw-mission strong{font-size:11px}.hw-catalog-item{gap:12px;padding:12px}.hw-catalog-info h4{font-size:14px}.hw-catalog-art{width:61px;height:70px}.hw-message{font-size:10px;flex-wrap:wrap;gap:7px;padding:10px}.hw-message>.hw-small-button{margin-left:auto}.hw-public-body .hw-catalog-list{grid-template-columns:1fr}.hw-public-welcome{gap:13px}.hw-welcome-ghost{width:49px}.hw-welcome-ghost svg{height:65px}.hw-public-welcome p{line-height:1.6}}
/* The display's main rating remains a calm, opaque surface. No event art overlays names. */
.board-display .halloween-leaders>.card{margin:0!important}.board-display .halloween-leaders .lb-header{margin-bottom:9px}.board-display .halloween-leaders .lb-controls{margin-bottom:9px}.board-display .halloween-leaders .lb-table{background:var(--bg-card,var(--bg))}.board-display .halloween-leaders .lb-table .lb-score-value{font-variant-numeric:tabular-nums}
.halloween-leaders.hw-event-finished{display:block}.hw-event-finished .hw-city-side,.hw-event-finished .hw-lantern,.hw-event-finished .hw-event-subtitle,.hw-event-finished .hw-event-emblem>span{display:none!important}.hw-event-finished .hw-eventbar{display:flex;min-height:0;padding:11px 16px;gap:13px;margin-bottom:12px}.hw-event-finished .hw-event-emblem{width:35px;flex-shrink:0}.hw-event-finished .hw-event-emblem svg{width:35px;height:34px}.hw-event-finished .hw-event-heading{flex:1}.hw-event-finished .hw-event-heading h2{font-size:17px}.hw-event-finished .hw-event-actions{display:block}.hw-event-finished .hw-countdown{display:none}.hw-event-finished .hw-event-actions .hw-motion{display:none}
.hw-motion-off :is(.hw-resident,.hw-bat,.hw-event-emblem,.hw-welcome-ghost svg,.hw-nick-ghost,.hw-loading-keyboard){animation:none!important}.hw-motion-off .hw-progress>span,.hw-motion-off :is(.hw-window,.hw-lamp,.hw-city-pumpkin){transition:none!important}
@media(prefers-reduced-motion:reduce){:is(.hw-resident,.hw-bat,.hw-event-emblem,.hw-welcome-ghost svg,.hw-nick-ghost,.hw-loading-keyboard){animation:none!important}.hw-progress>span,:is(.hw-window,.hw-lamp,.hw-city-pumpkin){transition:none!important}.hw-rewards-button:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.hw-owner-ghost{transition:none}.hw-owner-ghost svg,.hw-firefly-trail .typing-box .ch.current:after{animation:none}}

/* The permanent collection: seven different frames, with quiet table artwork. */
.hw-catalog-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 13px}.hw-catalog-filter{display:inline-flex;align-items:center;gap:5px;min-height:31px;padding:6px 9px;border:1px solid #8c759b66;border-radius:9px;background:#ffffff04;color:#d6c3df;font:inherit;font-size:10px;font-weight:750;line-height:1.3;cursor:pointer;touch-action:manipulation}.hw-catalog-filter>span{display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;border-radius:5px;background:#ffffff09;color:#c2adc9;font-size:8px;font-variant-numeric:tabular-nums}.hw-catalog-filter[aria-pressed="true"]{color:#ffdfaa;background:#c59a6030;border-color:#d2a76d}.hw-catalog-filter[aria-pressed="true"]>span{color:#ffdfaa;background:#e3b47d18}.hw-catalog-filter:hover{background:#78608a30}.hw-catalog-empty{font-size:12px;color:#d0bad9;line-height:1.5;padding:18px 0}.hw-catalog-actions{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap}.hw-price-distance{display:block;flex-basis:100%;font-size:9px;color:#c9b7d2;line-height:1.4}.hw-frame-preview{display:block;width:75px;height:65px}.hw-frame-preview>svg{display:block;width:100%;height:100%;overflow:visible}.hw-catalog-art:has(.hw-frame-preview){width:79px;height:78px;border-color:#c1a1d22c}.hw-frame-preview[data-hw-frame="moon_frame"] .hw-preview-border{stroke:#b0d3f1;stroke-width:1.8}.hw-frame-preview[data-hw-frame="moon_frame"] .hw-preview-back{fill:#354456}.hw-frame-preview[data-hw-frame="web_frame"] .hw-preview-border{stroke:#c7cadd;stroke-dasharray:3 2}.hw-frame-preview[data-hw-frame="witch_frame"] .hw-preview-border{stroke:#c1a4e5;stroke-width:3}.hw-frame-preview[data-hw-frame="witch_frame"] .hw-preview-back{fill:#49405d}.hw-frame-preview[data-hw-frame="ghost_frame"] .hw-preview-border{stroke:#a5e4d1;stroke-width:2.5;stroke-dasharray:1 2;stroke-linecap:round}.hw-frame-preview[data-hw-frame="ghost_frame"] .hw-preview-back{fill:#34504f}.hw-frame-preview[data-hw-frame="vampire_frame"] .hw-preview-border{stroke:#d27f97;stroke-width:3.5}.hw-frame-preview[data-hw-frame="vampire_frame"] .hw-preview-back{fill:#563747}.hw-frame-preview[data-hw-frame="midnight_frame"] .hw-preview-border{stroke:#f3d59c;stroke-width:3.5}.hw-frame-preview[data-hw-frame="midnight_frame"] .hw-preview-back{fill:#48405f}
.hw-catalog-item[data-rarity="epic"]{border-color:#b190c165;background:linear-gradient(115deg,#a980bf15,#8a75ae09)}.hw-catalog-item[data-rarity="epic"] .hw-item-rarity{color:#d1ade9}.hw-catalog-item[data-rarity="legendary"]{border-color:#c4a17280;background:linear-gradient(115deg,#d6a96c19,#8a75ae0b)}.hw-catalog-item[data-rarity="legendary"] .hw-item-rarity{color:#e9c48e}.hw-catalog-item[data-rarity="mythic"]{border-color:#d6b3d0a6;background:radial-gradient(ellipse at 0 100%,#d1a56922,transparent 80%),linear-gradient(115deg,#b686c22b,#8561b519);box-shadow:inset 0 1px #ffe5c71a}.hw-catalog-item[data-rarity="mythic"] .hw-item-rarity{color:#f1c9ec;letter-spacing:.13em}.hw-catalog-item[data-rarity="mythic"] .hw-catalog-art{border-color:#e3c79770;background:radial-gradient(circle,#e3be8c1f,#b58bd810 65%,transparent)}.hw-catalog-item.is-equipped{box-shadow:inset 3px 0 #a3d5bd;background-color:#86c3a60a}.hw-nick-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;width:30px;height:32px;margin-left:4px}.hw-nick-badge>svg{display:block;width:100%;height:100%;overflow:visible}.hw-nick-badge[data-hw-badge="eclipse_badge"]{width:33px;height:34px}.hw-nick-badge.hw-nick-keeper{width:28px;height:30px;text-shadow:none}
:is(.lb-table tr[data-halloween-frame="moon_frame"] .ranked-name,[data-hw-frame="moon_frame"]:not(.hw-frame-preview)){outline:1px solid #a8cae5;outline-offset:3px;box-shadow:inset 0 0 0 1px #95b8d280,0 0 12px #b6cce523!important;background-image:linear-gradient(125deg,#b8d6ef12,#a6a7d50c)}
:is(.lb-table tr[data-halloween-frame="web_frame"] .ranked-name,[data-hw-frame="web_frame"]:not(.hw-frame-preview)){outline:2px dashed #aeb5ce;outline-offset:2px;box-shadow:0 0 10px #c4c5df18!important;background-image:linear-gradient(135deg,#bdc4df1c 0 1%,transparent 1% 4%,#bdc4df17 4% 5%,transparent 5% 8%,#bdc4df10 8% 9%,transparent 9%)}
:is(.lb-table tr[data-halloween-frame="witch_frame"] .ranked-name,[data-hw-frame="witch_frame"]:not(.hw-frame-preview)){outline:2px solid #bc9ce1;outline-offset:2px;box-shadow:inset 3px 0 #a5d7ba55,inset -3px 0 #a5d7ba55,0 0 14px #bc90e12b!important;background-image:linear-gradient(110deg,#80a99015,#9f6aca12)}
:is(.lb-table tr[data-halloween-frame="ghost_frame"] .ranked-name,[data-hw-frame="ghost_frame"]:not(.hw-frame-preview)){outline:2px dotted #a1d8cc;outline-offset:3px;border-radius:19px 7px 19px 7px;box-shadow:inset 0 0 16px #a5e1ca13,0 0 13px #a1d8cc30!important;background-image:linear-gradient(125deg,#a1d8cc13,transparent)}
:is(.lb-table tr[data-halloween-frame="vampire_frame"] .ranked-name,[data-hw-frame="vampire_frame"]:not(.hw-frame-preview)){outline:2px solid #ce809b;outline-offset:2px;border-inline:3px solid #a2577599;border-radius:6px 15px 6px 15px;box-shadow:inset 0 0 15px #d88a9d15,0 0 14px #c45c8b30!important;background-image:linear-gradient(130deg,#b04b6b1b,transparent 60%)}
:is(.lb-table tr[data-halloween-frame="midnight_frame"] .ranked-name,[data-hw-frame="midnight_frame"]:not(.hw-frame-preview)){outline:2px solid #e7c78f;outline-offset:3px;border-radius:14px;box-shadow:inset 0 0 0 2px #c5a2e766,0 0 0 1px #b59ac6,0 0 17px #caaddf35!important;background-image:radial-gradient(circle at 9% 14%,#e7c78f80 0 1px,transparent 1.5px),radial-gradient(circle at 91% 80%,#d6bcf980 0 1px,transparent 1.5px),linear-gradient(130deg,#bb9fe51c,#debd8d0a)}
@media(max-width:650px){.hw-catalog-filter{padding:6px 8px;font-size:9px;min-height:31px}.hw-catalog-filters{gap:5px}.hw-catalog-art:has(.hw-frame-preview){width:65px;height:71px}.hw-frame-preview{width:63px;height:60px}.hw-price-distance{font-size:8px}.hw-catalog-item[data-rarity="mythic"] .hw-item-rarity{letter-spacing:.07em}.hw-nick-badge{width:26px;height:29px}.hw-nick-badge[data-hw-badge="eclipse_badge"]{width:29px;height:31px}}

/* Lightweight, click-through Halloween shower. */
.kt-pumpkin-shower{position:fixed;inset:0;z-index:2147483000;pointer-events:none!important;overflow:hidden;contain:strict}
.kt-pumpkin-shower *{pointer-events:none!important;user-select:none}
.kt-pumpkin-drop{position:absolute;left:var(--x);top:-90px;font-size:var(--size);line-height:1.2;opacity:.82;animation:kt-pumpkin-fall var(--fall) linear var(--delay) infinite;will-change:transform}
.kt-pumpkin-message{position:absolute;top:18%;left:50%;transform:translateX(-50%);width:max-content;max-width:88vw;padding:16px 25px;border:1px solid #ffb95b80;border-radius:24px;background:#25182ee8;color:#ffe1a3;text-align:center;font:800 clamp(19px,3vw,38px)/1.3 system-ui,sans-serif;box-shadow:0 8px 28px #160c252b;animation:kt-pumpkin-message-in .4s ease-out}
@keyframes kt-pumpkin-fall{to{transform:translate3d(0,calc(100vh + 180px),0) rotate(var(--spin))}}
@keyframes kt-pumpkin-message-in{from{opacity:0;translate:0 -12px}to{opacity:1;translate:0 0}}
.kt-pumpkin-shower-still .kt-pumpkin-drop{top:var(--y);animation:none;will-change:auto;opacity:.55}.kt-pumpkin-shower-still .kt-pumpkin-message{animation:none}
@media(prefers-reduced-motion:reduce){.kt-pumpkin-drop{top:var(--y);animation:none;will-change:auto}.kt-pumpkin-message{animation:none}}

/* Full-screen seasonal attacks: bounded particles, transform/opacity only. */
.hw-boss-tempest{overflow:hidden;pointer-events:none!important;contain:strict;background:radial-gradient(ellipse at center,#431a4226,transparent 70%)}.hw-boss-tempest *{pointer-events:none!important}
.hw-attack-bat{position:absolute;left:-110px;top:var(--lane);font-size:var(--size);line-height:1;animation:hw-bat-flight var(--flight) linear var(--delay) infinite;will-change:transform;opacity:.9}
@keyframes hw-bat-flight{0%{transform:translate3d(-10vw,0,0) rotate(-12deg)}50%{transform:translate3d(58vw,var(--lift),0) rotate(14deg)}100%{transform:translate3d(calc(100vw + 200px),0,0) rotate(-12deg)}}
.hw-pumpkin-burst{position:absolute;width:100px;height:100px}.hw-pumpkin-piece{position:absolute;inset:0;font:90px/1 system-ui;animation:hw-pumpkin-shatter 3.8s ease-out var(--delay) infinite;will-change:transform,opacity}.hw-pumpkin-piece:nth-child(1){clip-path:inset(0 50% 50% 0)}.hw-pumpkin-piece:nth-child(2){clip-path:inset(0 0 50% 50%)}.hw-pumpkin-piece:nth-child(3){clip-path:inset(50% 50% 0 0)}.hw-pumpkin-piece:nth-child(4){clip-path:inset(50% 0 0 50%)}
@keyframes hw-pumpkin-shatter{0%,18%{transform:scale(.8);opacity:0}28%,38%{transform:scale(1);opacity:.9}90%,100%{transform:translate3d(var(--dx),var(--dy),0) rotate(var(--turn)) scale(.5);opacity:0}}
.kt-pumpkin-shower[data-weather=wind]:not(.kt-pumpkin-shower-still) .kt-pumpkin-drop{top:var(--y);left:-100px;animation-name:kt-pumpkin-wind}.kt-pumpkin-shower[data-weather=swirl]:not(.kt-pumpkin-shower-still) .kt-pumpkin-drop{animation-name:kt-pumpkin-swirl}
@keyframes kt-pumpkin-wind{0%{transform:translate3d(-100px,100px,0) rotate(0deg)}50%{transform:translate3d(55vw,-60px,0) rotate(180deg)}100%{transform:translate3d(calc(100vw + 200px),-180px,0) rotate(380deg)}}
@keyframes kt-pumpkin-swirl{0%{transform:translate3d(-10vw,0,0) rotate(0deg)}30%{transform:translate3d(16vw,30vh,0) rotate(150deg)}65%{transform:translate3d(-14vw,65vh,0) rotate(280deg)}100%{transform:translate3d(10vw,calc(100vh + 180px),0) rotate(420deg)}}
@media(prefers-reduced-motion:reduce){.hw-attack-bat,.hw-pumpkin-piece{display:none}.kt-pumpkin-shower .kt-pumpkin-drop{animation:none!important;left:var(--x)!important;top:var(--y)!important}}

/* Only individual pumpkins receive clicks; the rest of the screen stays usable. */
.kt-pumpkin-shower button.kt-pumpkin-drop{padding:0;border:0;background:transparent;line-height:1;box-shadow:none;min-width:0;min-height:0;font-family:inherit;cursor:pointer;touch-action:manipulation;pointer-events:auto!important}
.kt-pumpkin-shower button.kt-pumpkin-drop:disabled{pointer-events:none!important}
.kt-pumpkin-shower button.kt-pumpkin-catching{filter:grayscale(.6);opacity:.5}
.kt-pumpkin-shower button.kt-pumpkin-caught{opacity:.35;filter:drop-shadow(0 0 12px #ffd36e)}
.kt-pumpkin-message{max-width:calc(100vw - 32px);text-align:center}
