.halloween-view{color:#f5efff;background:#0b0b22;min-height:85vh;border:1px solid #40265c;border-radius:20px;overflow:hidden}
.halloween-view[hidden]{display:none!important}
.hw-art{position:relative;background-position:center;background-size:cover;background-repeat:no-repeat}
.hw-cover{height:230px;background-image:linear-gradient(#0d071422,#0c061dc4),url('../halloween/banner.webp');display:flex;align-items:flex-end}
.hw-cover-title{padding:24px 20px;background:linear-gradient(0deg,#110c26ee,transparent);width:100%;text-shadow:0 3px 10px #10041e}
.hw-cover-title span{font-weight:800;letter-spacing:.3em;color:#fd9d56}.hw-cover-title h1{font-family:Georgia,serif;font-size:clamp(24px,6vw,42px);line-height:1.1;color:#ffd8a5;margin:8px 0}.hw-cover-title small{color:#e4cce5}
.hw-inner{display:grid;gap:17px;padding:14px}.hw-notice{border:1px solid #714682;background:#26173c;padding:10px 13px;border-radius:12px;margin:0;font-size:13px;color:#f3b37e}
.hw-counter-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hw-counter,.hw-card{background:linear-gradient(140deg,#151b39,#100d2c);border:1px solid #484078;border-radius:14px;padding:14px;box-shadow:inset 0 1px #8f5dbc20}
.hw-counter{display:grid;gap:6px}.hw-counter small,.hw-card small{color:#cab3e1}.hw-counter strong{font-size:28px;font-variant-numeric:tabular-nums;color:#ffe2ae}
.hw-card h2{color:#fff1d9;font-size:20px;margin:8px 0}.hw-card p{color:#e0cbe9;line-height:1.45;font-size:14px;margin:8px 0 12px}.hw-game>img{width:100%;height:auto;aspect-ratio:2.5;object-fit:cover;border-radius:10px;border:1px solid #6a3888}
.hw-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
.hw-actions button,.hw-rewards button,.hw-primary{border:1px solid #8544c9;background:linear-gradient(145deg,#422577,#6f2bab);border-radius:10px;color:white;font-weight:650;padding:11px 5px;cursor:pointer;min-height:42px;font-size:13px}
.hw-primary{width:100%;margin-top:12px;background:linear-gradient(120deg,#a44817,#d96a1b)}
.hw-actions button:disabled,.hw-rewards button:disabled,.hw-primary:disabled{opacity:.45;cursor:default}
.hw-king label{display:block;font-size:13px;color:#d9bbee;margin-top:10px}.hw-king select{display:block;width:100%;background:#101328;color:#f7eaff;border:1px solid #6c568f;border-radius:9px;padding:10px;margin-top:5px}
.hw-progress{height:13px;border-radius:20px;overflow:hidden;background:#423456;margin:15px 0 6px}.hw-progress span{height:100%;width:0%;display:block;background:linear-gradient(90deg,#ff9a26,#e1448f);transition:width .35s}
.hw-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hw-rewards article{display:grid;justify-items:center;align-content:start;gap:7px;background:#201638;border:1px solid #473464;border-radius:11px;padding:10px;text-align:center;min-width:0}.hw-rewards img,.hw-reward-symbol{width:100px;max-width:100%;height:100px;object-fit:contain;border-radius:9px}.hw-reward-symbol{font-size:56px;display:grid;place-content:center}.hw-rewards strong{font-size:13px}.hw-rewards small{font-size:12px}.hw-rewards button{width:100%}.hw-board{display:grid;gap:9px}.hw-board>div{display:flex;justify-content:space-between;border-bottom:1px solid #49325c;padding:6px 3px;gap:7px}.hw-board span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:640px){.hw-inner{grid-template-columns:repeat(2,1fr)}.hw-counter-row,.hw-notice,.hw-card:has(.hw-rewards),.hw-card:has(.hw-board),#hwReload{grid-column:span 2}}

.games-view #halloweenEntry[hidden]{display:none!important}

/* Halloween chapter II: fully static, decorative assets / responsive layout. */
.hw-feature-icon{font-size:48px;letter-spacing:.12em;text-align:center;background:radial-gradient(ellipse,#5b257e99,transparent 70%);padding:26px 0;color:#ffb66b;border-radius:12px}
.hw-chip-grid{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.hw-chip-grid span{border:1px solid #814594;background:#291739;border-radius:20px;padding:8px 11px;font-size:12px;color:#f5ddf3}
.hw-artifacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}
.hw-artifacts .hw-item{background:#1d1737;border:1px solid #59416f;border-radius:10px;padding:12px 6px;text-align:center;font-size:12px;line-height:1.35;min-width:0;overflow-wrap:anywhere}
.hw-artifacts .hw-item.locked{opacity:.48;filter:grayscale(.6)}
.hw-artifacts .hw-item span{display:block;font-size:24px;margin-bottom:6px}
.hw-achievement-card .hw-artifacts{grid-template-columns:repeat(2,minmax(0,1fr))}
.hw-collection>button{margin-top:12px;min-height:42px;width:100%;background:#48216c;color:#fff;border:1px solid #a060c7;border-radius:10px}
.hw-collection>button:disabled{opacity:.45}
.hw-actions button small{color:#edc9ef;font-size:10px;font-weight:400}
.hw-cauldron .hw-actions button{min-height:68px}
@media(min-width:640px){.hw-collection,.hw-achievement-card{grid-column:span 2}.hw-artifacts{grid-template-columns:repeat(6,minmax(0,1fr))}}

.halloween-owned-cosmetics{display:inline-flex;max-width:100%;flex-wrap:wrap;margin:8px 10px;padding:7px 12px;border:1px solid #9e62d4;border-radius:15px;color:#ffd8a5;background:#231333dd;font-size:12px;font-weight:650;box-shadow:0 0 15px #b852eb33}

.profile-hero.halloween-dark-lord{border:3px solid #eba45e!important;outline:2px solid #863cb0;outline-offset:-9px;box-shadow:inset 0 0 0 2px #7b438e,inset 0 0 40px #3c114daa;background-image:linear-gradient(145deg,#2c103433,#1d102733)!important}

/* Curse is an explicit, accessible status, not a hidden timer. */
.hw-curse-state{border:1px solid #bb618d;border-radius:10px;background:#4c1935;color:#ffe3ef!important;padding:10px 12px;margin:10px 0!important}
.hw-curse-state[hidden]{display:none!important}
.hw-candy-actions button{min-height:82px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;line-height:1.3}
.hw-candy-actions button small{font-weight:400;font-size:11px;line-height:1.35;color:#f1cde5}
