/* HOTCS Battlepass. Every rule is scoped to the module root. */
#hotcs-battlepass {
    --bp-surface: var(--card, #16100d);
    --bp-base: var(--bg, #0c0806);
    --bp-ink: var(--text-default, #fff5ef);
    --bp-muted: var(--text-secondary, #aa9c92);
    --bp-action: var(--span, #ff6b2c);
    --bp-gold: var(--money, #ffc857);
    --bp-line: rgba(255, 240, 222, .09);
    --bp-soft: rgba(255, 240, 222, .035);
    --bp-radius: 16px;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--bp-ink);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    isolation: isolate;
}
#hotcs-battlepass *, #hotcs-battlepass *::before, #hotcs-battlepass *::after { box-sizing: border-box; }
#hotcs-battlepass [hidden] { display: none !important; }
#hotcs-battlepass h1, #hotcs-battlepass h2, #hotcs-battlepass h3, #hotcs-battlepass h4,
#hotcs-battlepass p, #hotcs-battlepass figure { margin: 0; }
#hotcs-battlepass h1, #hotcs-battlepass h2, #hotcs-battlepass h3, #hotcs-battlepass h4 { color: var(--bp-ink); font-family: inherit; font-weight: 600; }
#hotcs-battlepass h2 { font-size: clamp(17px, 1.7vw, 23px); line-height: 1.35; letter-spacing: -.035em; }
#hotcs-battlepass h3 { font-size: 15px; line-height: 1.45; letter-spacing: -.025em; }
#hotcs-battlepass p { color: var(--bp-muted); }
#hotcs-battlepass img { display: block; max-width: 100%; }
#hotcs-battlepass button, #hotcs-battlepass input, #hotcs-battlepass select, #hotcs-battlepass textarea { font-family: inherit; font-size: inherit; }
#hotcs-battlepass button { cursor: pointer; }
#hotcs-battlepass svg[fill="none"] { fill: none; }
#hotcs-battlepass a { color: inherit; text-decoration: none; }
#hotcs-battlepass :where(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--bp-action); outline-offset: 4px; }
#hotcs-battlepass input:not([type="checkbox"]):not([type="file"]):focus-visible,
#hotcs-battlepass select:focus-visible, #hotcs-battlepass textarea:focus-visible { outline: none; }
#hotcs-battlepass .bp-panel:focus-visible { outline: none; }
#hotcs-battlepass button:disabled { cursor: not-allowed; opacity: .45; }

/* The map carries the setting; the warm character stays the visual focus. */
#hotcs-battlepass .bp-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 318px;
    overflow: hidden;
    padding: 34px clamp(24px, 3.3vw, 48px);
    margin-bottom: 18px;
    border: 1px solid var(--bp-line);
    border-radius: 20px;
    background-color: var(--bp-surface);
    background-image: linear-gradient(90deg, rgba(18, 11, 7, .98) 0%, rgba(18, 11, 7, .88) 43%, rgba(25, 14, 7, .35) 75%, rgba(18, 11, 7, .38) 100%), linear-gradient(0deg, rgba(18, 11, 7, .9), transparent 65%), url('../img/map.webp');
    background-position: center, center, 66% 52%;
    background-size: cover;
}
#hotcs-battlepass .bp-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 57%, rgba(255, 133, 57, .07)); }
#hotcs-battlepass .bp-hero__content { position: relative; z-index: 2; width: 62%; min-width: 0; }
#hotcs-battlepass .bp-hero__image { position: absolute; z-index: 1; right: 3%; bottom: -11%; height: 115%; width: auto; max-width: 46%; object-fit: contain; object-position: bottom right; filter: drop-shadow(-16px 8px 22px rgba(0, 0, 0, .36)); -webkit-mask-image: linear-gradient(#000 78%, transparent 100%); mask-image: linear-gradient(#000 78%, transparent 100%); }
#hotcs-battlepass .bp-hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--bp-muted); font-size: 10px; font-weight: 500; }
#hotcs-battlepass .bp-hero__title { max-width: 20ch; margin: 0 0 13px; font-size: clamp(25px, 3vw, 42px); line-height: 1.13; letter-spacing: -.055em; text-wrap: balance; }
#hotcs-battlepass .bp-hero__subtitle { max-width: 52ch; font-size: 12px; line-height: 1.85; color: #c7b8ae; }
#hotcs-battlepass .bp-hero__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
#hotcs-battlepass .bp-hero__stats > * { min-width: 0; }
#hotcs-battlepass .bp-hero__stats strong { display: block; font-size: 20px; line-height: 1.3; letter-spacing: -.04em; font-weight: 600; }
#hotcs-battlepass .bp-hero__stats small, #hotcs-battlepass .bp-hero__stats span { font-size: 10px; color: #bfaea0; }
#hotcs-battlepass .bp-stat > span { display: block; margin-bottom: 5px; }
#hotcs-battlepass .bp-stat #bp-countdown { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: clamp(13px, 1.7vw, 20px); }
#hotcs-battlepass .bp-hero__stats .bp-stat__date { font-size: 12px; line-height: 1.75; font-weight: 500; letter-spacing: -.025em; }
#hotcs-battlepass .bp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
#hotcs-battlepass .bp-countdown { display: flex; gap: 12px; align-items: center; font-variant-numeric: tabular-nums; }
#hotcs-battlepass .bp-countdown > * { text-align: center; }
#hotcs-battlepass .bp-countdown strong { font-size: 24px; }

/* Compact title artwork keeps the header focused on the season. */
#hotcs-battlepass .bp-hero.bp-hero--minimal { min-height: 254px; padding: 26px 34px; border: 0; border-radius: 15px; }
#hotcs-battlepass .bp-hero--minimal .bp-hero__content { width: 65%; }
#hotcs-battlepass .bp-hero--minimal .bp-hero__title { margin: 0 0 8px; max-width: 100%; line-height: 1; }
#hotcs-battlepass .bp-hero__wordmark { width: min(100%, 330px); height: auto; }
#hotcs-battlepass .bp-hero__season { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 11px; }
#hotcs-battlepass .bp-hero__season > span:first-child { color: #ffb27b; }
#hotcs-battlepass .bp-hero__season > span:last-child { color: var(--bp-muted); font-size: 8px; }
#hotcs-battlepass .bp-hero--minimal .bp-hero__subtitle { margin-top: 8px; font-size: 10px; }
#hotcs-battlepass .bp-hero--minimal .bp-hero__stats { gap: 8px 18px; margin-top: 10px; font-size: 9px; color: #bfaea0; }
#hotcs-battlepass .bp-hero--minimal .bp-hero__stats > span { font-size: inherit; }
#hotcs-battlepass .bp-hero--minimal #bp-countdown { display: inline; font-size: inherit; font-weight: 500; color: #e7d7c9; }
#hotcs-battlepass .bp-hero--minimal .bp-hero__actions { margin-top: 16px; gap: 8px; }
#hotcs-battlepass .bp-hero--minimal .bp-hero__actions .bp-btn { flex: 0 1 auto; min-height: 36px; padding: 8px 12px; font-size: 9px; }

#hotcs-battlepass .bp-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; height: auto; min-height: 43px; min-width: 0; max-width: 100%; padding: 11px 17px; border: 1px solid var(--bp-line); border-radius: 9px; color: var(--bp-ink); background: var(--bp-soft); font-size: 11px; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none; transition: border-color .16s ease, background-color .16s ease; }
#hotcs-battlepass .bp-btn:hover { background: rgba(255, 240, 222, .08); border-color: rgba(255, 240, 222, .2); }
#hotcs-battlepass .bp-btn--primary { border-color: var(--bp-action); color: #180d07; background: var(--bp-action); font-weight: 600; }
#hotcs-battlepass .bp-btn--primary:hover { background: var(--bp-action); border-color: #ffb586; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
#hotcs-battlepass .bp-btn--ghost { background: transparent; }
#hotcs-battlepass .bp-btn--gold { border-color: rgba(255, 200, 87, .35); color: var(--bp-gold); background: rgba(255, 200, 87, .08); }
#hotcs-battlepass .bp-btn--danger { color: #ff9d84; border-color: rgba(255, 127, 96, .25); }
#hotcs-battlepass .bp-btn--small { min-height: 36px; padding: 8px 11px; font-size: 10px; border-radius: 7px; }
#hotcs-battlepass .bp-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; max-width: 100%; padding: 5px 8px; border: 1px solid var(--bp-line); border-radius: 6px; color: var(--bp-muted); background: var(--bp-soft); font-size: 9px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-pill--draft { border-color: rgba(255, 200, 87, .2); color: var(--bp-gold); background: rgba(255, 200, 87, .06); }
#hotcs-battlepass .bp-pill--premium { border-color: rgba(255, 200, 87, .28); color: var(--bp-gold); background: rgba(255, 200, 87, .07); }
#hotcs-battlepass .bp-pill--success { color: #b7c799; }
#hotcs-battlepass .bp-account { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 13px; margin: 0 0 16px; padding: 16px 20px; border: 1px solid var(--bp-line); border-radius: 12px; background: var(--bp-surface); }
#hotcs-battlepass .bp-account strong { display: block; font-size: 12px; font-weight: 500; }
#hotcs-battlepass .bp-account p { margin-top: 3px; max-width: 75ch; font-size: 10px; }
#hotcs-battlepass .bp-account > div { flex: 1 1 420px; min-width: 0; }
#hotcs-battlepass .bp-account__status { color: var(--bp-muted); font-size: 9px; }
#hotcs-battlepass .bp-account__actions { display: flex; flex-wrap: wrap; gap: 8px; }
#hotcs-battlepass .bp-tabs { display: flex; flex-wrap: wrap; width: 100%; gap: 3px; margin-bottom: 24px; padding: 0 4px; border-bottom: 1px solid var(--bp-line); }
#hotcs-battlepass .bp-tab, #hotcs-battlepass .bp-admin-nav > button { position: relative; min-height: 46px; padding: 12px 18px; border: 0; color: var(--bp-muted); background: transparent; font-size: 11px; line-height: 1.6; font-weight: 500; }
#hotcs-battlepass .bp-tab::after, #hotcs-battlepass .bp-admin-nav > button::after { position: absolute; content: ''; right: 16px; bottom: -1px; left: 16px; height: 2px; background: transparent; }
#hotcs-battlepass .bp-tab:hover, #hotcs-battlepass .bp-admin-nav > button:hover { color: var(--bp-ink); }
#hotcs-battlepass .bp-tab.is-active, #hotcs-battlepass .bp-tab[aria-selected="true"], #hotcs-battlepass .bp-admin-nav > button.is-active { color: var(--bp-ink); }
#hotcs-battlepass .bp-tab.is-active::after, #hotcs-battlepass .bp-tab[aria-selected="true"]::after, #hotcs-battlepass .bp-admin-nav > button.is-active::after { background: var(--bp-action); }
#hotcs-battlepass .bp-panel { min-width: 0; max-width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
#hotcs-battlepass .bp-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 13px; min-width: 0; margin: 0 0 18px; }
#hotcs-battlepass .bp-section-head > div { min-width: 0; }
#hotcs-battlepass .bp-section-head p { max-width: 70ch; margin-top: 6px; font-size: 10px; line-height: 1.8; }
#hotcs-battlepass .bp-section-head__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#hotcs-battlepass .bp-section-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#hotcs-battlepass .bp-muted { color: var(--bp-muted); }
#hotcs-battlepass .bp-note { margin: 14px 0; color: var(--bp-muted); font-size: 10px; line-height: 1.85; }

/* Public navigation reads as one control strip; headings anchor each section. */
#hotcs-battlepass[data-view="public"] .bp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; margin-bottom: 20px; border: 1px solid var(--bp-line); border-radius: 14px; background: var(--bp-surface); box-shadow: inset 0 1px rgba(255, 235, 215, .035); }
#hotcs-battlepass[data-view="public"] .bp-tab { display: flex; justify-content: center; align-items: center; gap: 9px; width: 100%; height: auto; min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid transparent; border-radius: 9px; background: rgba(255, 240, 222, .015); font-size: 10px; line-height: 1.6; transition: color .2s, border-color .2s, background .2s; }
#hotcs-battlepass[data-view="public"] .bp-tab::after { display: none; }
#hotcs-battlepass[data-view="public"] .bp-tab:hover { border-color: rgba(255, 179, 115, .16); background: rgba(255, 240, 222, .04); }
#hotcs-battlepass[data-view="public"] .bp-tab.is-active { border-color: #ff8a4b; color: #211107; background: linear-gradient(130deg, #ff9d57, var(--bp-action)); box-shadow: 0 3px 15px rgba(255, 107, 44, .14), inset 0 1px rgba(255, 234, 206, .24); }
#hotcs-battlepass .bp-tab__icon { display: grid; place-items: center; flex: 0 0 19px; }
#hotcs-battlepass .bp-tab__icon svg { display: block; width: 19px; height: 19px; }
#hotcs-battlepass .bp-tab__label { min-width: 0; }
#hotcs-battlepass[data-view="public"] .bp-section-head { gap: 16px; padding: 20px 22px; margin-bottom: 17px; border: 1px solid rgba(255, 176, 114, .12); border-radius: 13px; background: linear-gradient(100deg, rgba(255, 107, 44, .055), transparent 65%), var(--bp-surface); box-shadow: inset 3px 0 rgba(255, 107, 44, .7); }
#hotcs-battlepass .bp-section-head__title { flex: 1 1 240px; min-width: 0; }
#hotcs-battlepass .bp-section-head__icon { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border: 1px solid rgba(255, 153, 81, .2); border-radius: 12px; color: #ffaf6d; background: radial-gradient(circle at 30% 20%, rgba(255, 153, 81, .12), rgba(255, 153, 81, .03)); }
#hotcs-battlepass .bp-section-head__icon svg { width: 23px; height: 23px; }
#hotcs-battlepass[data-view="public"] .bp-section-head h2 { font-size: clamp(17px, 1.6vw, 21px); }
#hotcs-battlepass[data-view="public"] .bp-section-head p { margin-top: 5px; font-size: 10px; line-height: 1.8; }

/* Actual pages replace the scrollbar, including in the reward editor. */
#hotcs-battlepass .bp-ribbon--paged .bp-ribbon__scroll { overflow: hidden; scrollbar-width: none; }
#hotcs-battlepass .bp-ribbon--paged .bp-ribbon__scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
#hotcs-battlepass .bp-ribbon--paged .bp-ribbon-grid { width: 100%; min-width: 0; }
#hotcs-battlepass .bp-ribbon--paged .bp-level { flex-grow: 1; }
#hotcs-battlepass .bp-ribbon--paged .bp-ribbon-labels { position: relative; left: auto; }
#hotcs-battlepass .bp-ribbon-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 12px 15px; border-top: 1px solid var(--bp-line); }
#hotcs-battlepass .bp-ribbon-pagination__range > span { display: block; margin-top: 3px; font-size: 8px; }
#hotcs-battlepass .bp-ribbon-pagination__range { color: var(--bp-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
#hotcs-battlepass .bp-ribbon-pagination__range strong { color: var(--bp-ink); font-weight: 500; }
#hotcs-battlepass .bp-ribbon-pagination__controls { display: flex; align-items: center; gap: 5px; }
#hotcs-battlepass .bp-page { display: grid; place-items: center; min-width: 34px; height: 36px; padding: 0 8px; border: 1px solid rgba(255, 205, 164, .12); border-radius: 8px; color: var(--bp-muted); background: var(--bp-surface); font-size: 10px; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s, color .2s; }
#hotcs-battlepass .bp-page:hover:not(:disabled) { color: var(--bp-ink); border-color: rgba(255, 151, 81, .45); background: rgba(255, 151, 81, .06); }
#hotcs-battlepass .bp-page[aria-current="page"] { color: #211107; border-color: var(--bp-action); background: var(--bp-action); box-shadow: 0 0 13px rgba(255, 107, 44, .12); }
#hotcs-battlepass .bp-page--arrow svg { width: 17px; height: 17px; }
#hotcs-battlepass .bp-page-status { display: block; min-width: 115px; padding: 0 9px; color: var(--bp-muted); font-size: 10px; text-align: center; font-variant-numeric: tabular-nums; }
#hotcs-battlepass .bp-page-status strong { color: var(--bp-ink); font-weight: 500; }
#hotcs-battlepass .bp-page-ellipsis { display: grid; place-items: center; width: 15px; color: var(--bp-muted); font-size: 10px; }

/* Selection stays on the page, with full artwork and configured description. */
#hotcs-battlepass .bp-reward-preview { --bp-preview-rgb: 189, 171, 144; display: grid; grid-template-columns: minmax(180px, .75fr) minmax(0, 1.4fr); align-items: center; gap: 30px; padding: 26px; border: 1px solid rgba(var(--bp-preview-rgb), .29); border-radius: 16px; background: radial-gradient(ellipse at 15% 45%, rgba(var(--bp-preview-rgb), .09), transparent 65%), var(--bp-surface); box-shadow: inset 0 1px rgba(var(--bp-preview-rgb), .08); }
#hotcs-battlepass .bp-reward-preview--rare { --bp-preview-rgb: 103, 160, 237; }
#hotcs-battlepass .bp-reward-preview--epic { --bp-preview-rgb: 183, 121, 232; }
#hotcs-battlepass .bp-reward-preview--legendary { --bp-preview-rgb: 255, 198, 85; }
#hotcs-battlepass .bp-reward-preview__visual { position: relative; display: grid; place-items: center; min-width: 0; height: 223px; border-right: 1px solid rgba(var(--bp-preview-rgb), .12); }
#hotcs-battlepass .bp-reward-preview__visual::before { content: ''; position: absolute; width: min(85%, 230px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(var(--bp-preview-rgb), .12); background: radial-gradient(circle, rgba(var(--bp-preview-rgb), .16), transparent 70%); box-shadow: 0 0 0 13px rgba(var(--bp-preview-rgb), .025); }
#hotcs-battlepass .bp-reward-preview__art { position: relative; display: grid; place-items: center; width: 92%; height: 190px; }
#hotcs-battlepass .bp-reward-preview__art img, #hotcs-battlepass .bp-reward-preview__visual > img { position: relative; width: 100%; height: 190px; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .5)); }
#hotcs-battlepass .bp-reward-preview__content { min-width: 0; }
#hotcs-battlepass .bp-reward-preview__label { display: block; margin-bottom: 11px; color: var(--bp-muted); font-size: 10px; }
#hotcs-battlepass .bp-reward-preview__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
#hotcs-battlepass .bp-reward-preview__meta .bp-pill { border-color: rgba(var(--bp-preview-rgb), .24); color: rgb(var(--bp-preview-rgb)); background: rgba(var(--bp-preview-rgb), .05); }
#hotcs-battlepass .bp-reward-preview__content h3 { margin-bottom: 11px; font-size: clamp(18px, 2vw, 27px); line-height: 1.4; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-reward-preview__content p { max-width: 65ch; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-reward-preview__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; color: var(--bp-muted); font-size: 10px; }
#hotcs-battlepass .bp-reward-preview__facts > span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 6px 9px; border: 1px solid rgba(var(--bp-preview-rgb), .1); border-radius: 6px; background: rgba(var(--bp-preview-rgb), .025); }
#hotcs-battlepass .bp-reward-preview__facts svg { flex: 0 0 16px; width: 16px; height: 16px; color: rgba(var(--bp-preview-rgb), .9); }
#hotcs-battlepass .bp-reward-preview__status { margin-top: 12px; color: var(--bp-muted); font-size: 9px; }
#hotcs-battlepass .bp-reward-preview__visual { perspective: 650px; }
#hotcs-battlepass .bp-reward-preview__image { transform: translate3d(var(--bp-px, 0px), var(--bp-py, 0px), 0) rotateX(var(--bp-rx, 0deg)) rotateY(var(--bp-ry, 0deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); will-change: auto; }
#hotcs-battlepass .bp-reward-preview__visual.has-parallax .bp-reward-preview__image { transition-duration: .1s; transition-timing-function: linear; will-change: transform; }

/* Inventory contains owned rewards; an unopened season has an honest empty state. */
#hotcs-battlepass .bp-inventory-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
#hotcs-battlepass .bp-inventory-filters { display: flex; flex-wrap: wrap; gap: 7px; }
#hotcs-battlepass .bp-inventory-filter { display: inline-flex; align-items: center; gap: 7px; min-height: 37px; padding: 7px 11px; border: 1px solid var(--bp-line); border-radius: 8px; color: var(--bp-muted); background: var(--bp-surface); font-size: 9px; }
#hotcs-battlepass .bp-inventory-filter[aria-pressed="true"] { color: #ffba82; border-color: rgba(255, 153, 81, .42); background: rgba(255, 153, 81, .075); }
#hotcs-battlepass .bp-inventory-filter__count { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; color: inherit; background: rgba(255, 240, 222, .06); font-size: 8px; }
#hotcs-battlepass .bp-inventory-count { color: var(--bp-muted); font-size: 10px; }
#hotcs-battlepass .bp-inventory-empty { display: grid; grid-template-columns: minmax(190px, .85fr) minmax(0, 1.35fr); align-items: center; gap: 30px; min-height: 282px; padding: 35px; border: 1px solid var(--bp-line); border-radius: 16px; background: radial-gradient(ellipse at 20% 60%, rgba(255, 157, 70, .055), transparent 70%), var(--bp-surface); }
#hotcs-battlepass .bp-inventory-empty__visual { position: relative; height: 200px; min-width: 0; }
#hotcs-battlepass .bp-inventory-empty__visual::before { content: ''; position: absolute; inset: 0 10%; border: 1px dashed rgba(255, 187, 119, .13); border-radius: 50%; background: radial-gradient(circle, rgba(255, 187, 119, .08), transparent 70%); }
#hotcs-battlepass .bp-inventory-empty__case { position: absolute; z-index: 1; left: 16%; bottom: 6%; width: 68%; height: 140px; object-fit: contain; filter: saturate(.65) drop-shadow(0 12px 9px rgba(0, 0, 0, .5)); transform: rotate(-7deg); }
#hotcs-battlepass .bp-inventory-empty__weapon { position: absolute; right: 8%; top: 2%; width: 70%; height: 130px; object-fit: contain; opacity: .5; filter: saturate(.5) drop-shadow(0 9px 8px rgba(0, 0, 0, .4)); transform: rotate(13deg); }
#hotcs-battlepass .bp-inventory-empty__content { min-width: 0; }
#hotcs-battlepass .bp-inventory-empty__content h3 { margin-bottom: 13px; font-size: clamp(17px, 1.9vw, 24px); line-height: 1.45; }
#hotcs-battlepass .bp-inventory-empty__content p { max-width: 60ch; font-size: 11px; line-height: 1.9; }

/* One horizontal strip keeps both tracks tied to the same level markers. */
#hotcs-battlepass .bp-ribbon { min-width: 0; max-width: 100%; margin-bottom: 22px; border: 1px solid rgba(255, 189, 121, .17); border-radius: var(--bp-radius); overflow: hidden; background: radial-gradient(ellipse at 50% 0, rgba(255, 107, 44, .065), transparent 65%), var(--bp-surface); box-shadow: inset 0 1px rgba(255, 222, 188, .04), 0 12px 34px rgba(0, 0, 0, .16); }
#hotcs-battlepass .bp-ribbon__scroll { position: relative; width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #936d47 var(--bp-base); padding: 16px 15px 21px; }
#hotcs-battlepass .bp-ribbon__scroll::-webkit-scrollbar, #hotcs-battlepass .bp-table-wrap::-webkit-scrollbar { height: 6px; }
#hotcs-battlepass .bp-ribbon__scroll::-webkit-scrollbar-thumb, #hotcs-battlepass .bp-table-wrap::-webkit-scrollbar-thumb { background: #665044; border-radius: 9px; }
#hotcs-battlepass .bp-ribbon-grid { display: flex; width: max-content; min-width: 100%; gap: 7px; align-items: stretch; }
#hotcs-battlepass .bp-ribbon-labels { position: sticky; left: -15px; z-index: 4; display: grid; grid-template-rows: 34px 138px 138px; gap: 9px; flex: 0 0 112px; width: 112px; padding-right: 11px; background: var(--bp-surface); box-shadow: 12px 0 18px -10px #000; }
#hotcs-battlepass .bp-ribbon-labels > .bp-level__number { color: var(--bp-muted); font-size: 8px; }
#hotcs-battlepass .bp-ribbon-label { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; padding: 15px 10px; color: var(--bp-muted); font-size: 10px; line-height: 1.5; }
#hotcs-battlepass .bp-ribbon-label strong { color: var(--bp-ink); font-size: 11px; font-weight: 500; }
#hotcs-battlepass .bp-ribbon-label small { font-size: 8px; line-height: 1.6; }
#hotcs-battlepass .bp-ribbon-label--premium { border-top: 1px solid rgba(255, 200, 87, .16); color: var(--bp-gold); }
#hotcs-battlepass .bp-ribbon-label--premium strong { color: var(--bp-gold); }
#hotcs-battlepass .bp-level { display: grid; grid-template-rows: 34px 138px 138px; gap: 9px; flex: 0 0 138px; width: 138px; min-width: 0; }
#hotcs-battlepass .bp-level__number { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; padding: 0 6px; color: var(--bp-muted); font-size: 9px; line-height: 1.4; font-variant-numeric: tabular-nums; }
#hotcs-battlepass .bp-level__number strong { color: var(--bp-ink); font-size: 12px; font-weight: 500; }
#hotcs-battlepass .bp-level > .bp-level__number { position: relative; color: var(--bp-ink); font-size: 10px; font-weight: 500; }
#hotcs-battlepass .bp-level > .bp-level__number::before { content: ''; position: absolute; left: -4px; right: -4px; height: 1px; background: linear-gradient(90deg, rgba(255, 176, 100, .13), rgba(255, 176, 100, .25), rgba(255, 176, 100, .13)); }
#hotcs-battlepass .bp-level__number > span { position: relative; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(255, 176, 100, .22); border-radius: 50%; background: #21160f; box-shadow: 0 0 0 5px var(--bp-surface); transition: border-color .25s, box-shadow .25s, color .25s; }
#hotcs-battlepass .bp-level:focus-within .bp-level__number > span, #hotcs-battlepass .bp-level:has(.bp-reward:hover) .bp-level__number > span { color: #ffd6a1; border-color: var(--bp-action); box-shadow: 0 0 0 5px var(--bp-surface), 0 0 18px rgba(255, 107, 44, .28); }
#hotcs-battlepass .bp-reward { --bp-reward-rgb: 189, 171, 144; --bp-reward-line: #b9a78e; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; width: 100%; height: 138px; padding: 9px 9px 11px; overflow: hidden; border: 1px solid rgba(var(--bp-reward-rgb), .19); border-bottom: 2px solid var(--bp-reward-line); border-radius: 10px; background: radial-gradient(ellipse at 50% 34%, rgba(var(--bp-reward-rgb), .12), transparent 72%), linear-gradient(150deg, #211a15, #15100d); color: var(--bp-ink); text-align: center; box-shadow: inset 0 1px rgba(255, 255, 255, .035); transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
#hotcs-battlepass .bp-reward::after { content: ''; position: absolute; z-index: 3; inset: -45% -50%; pointer-events: none; background: linear-gradient(110deg, transparent 42%, rgba(255, 244, 223, .16) 50%, transparent 58%); transform: translateX(-85%); opacity: 0; }
#hotcs-battlepass .bp-reward--premium { border-top-color: rgba(255, 200, 87, .3); box-shadow: inset 0 1px rgba(255, 200, 87, .12), inset 0 -12px 22px rgba(255, 160, 51, .025); }
#hotcs-battlepass .bp-reward__badge { position: absolute; z-index: 2; top: 7px; right: 7px; display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid rgba(var(--bp-reward-rgb), .28); border-radius: 5px; color: var(--bp-reward-line); background: rgba(15, 10, 7, .55); }
#hotcs-battlepass .bp-reward__badge svg { width: 12px; height: 12px; }
#hotcs-battlepass .bp-reward--premium .bp-reward__badge { color: var(--bp-gold); border-color: rgba(255, 200, 87, .35); }
#hotcs-battlepass .bp-reward__art { position: relative; display: grid; place-items: center; width: 100%; height: 76px; margin-bottom: 2px; }
#hotcs-battlepass .bp-reward__aura { position: absolute; inset: 2px 7px; border-radius: 50%; background: radial-gradient(ellipse, rgba(var(--bp-reward-rgb), .27), rgba(var(--bp-reward-rgb), .06) 45%, transparent 72%); transform: scale(.94); transition: transform .35s, opacity .35s; }
#hotcs-battlepass .bp-reward__sparkle { position: absolute; inset: 2px 0; pointer-events: none; opacity: .35; background: radial-gradient(circle at 18% 27%, rgba(var(--bp-reward-rgb), .9) 0 1px, transparent 2px), radial-gradient(circle at 84% 64%, rgba(var(--bp-reward-rgb), .8) 0 1px, transparent 2px), radial-gradient(circle at 69% 12%, rgba(var(--bp-reward-rgb), .9) 0 1px, transparent 2px); transition: opacity .35s, transform .35s; }
#hotcs-battlepass .bp-reward.is-selected, #hotcs-battlepass .bp-reward[aria-pressed="true"] { border-color: var(--bp-action); box-shadow: inset 0 0 0 1px var(--bp-action); background: rgba(255, 107, 44, .08); }
#hotcs-battlepass .bp-reward__image { position: relative; z-index: 1; width: 100%; height: 72px; margin: 0; object-fit: contain; filter: drop-shadow(0 7px 6px rgba(0, 0, 0, .5)); transition: transform .4s cubic-bezier(.2,.8,.2,1), filter .4s; }
#hotcs-battlepass .bp-reward__name { position: relative; display: -webkit-box; width: 100%; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 9px; line-height: 1.45; font-weight: 500; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-reward__meta { font-size: 8px; line-height: 1.45; color: var(--bp-muted); }
#hotcs-battlepass .bp-reward--empty { justify-content: center; gap: 8px; border-style: dashed; background: transparent; color: var(--bp-muted); }
#hotcs-battlepass button.bp-reward--empty:hover { border-color: var(--bp-action); background: rgba(255, 107, 44, .045); }
#hotcs-battlepass .bp-reward--empty .bp-reward__name { color: var(--bp-muted); }
#hotcs-battlepass .bp-reward__add { font-size: 22px; color: var(--bp-action); line-height: 1; }
#hotcs-battlepass .bp-reward__plus { font-size: 22px; color: var(--bp-action); line-height: 1; }
#hotcs-battlepass .bp-reward__placeholder { font-size: 21px; color: var(--bp-muted); opacity: .4; }
#hotcs-battlepass .bp-reward--disabled .bp-reward__image { opacity: .4; filter: grayscale(.7); }
#hotcs-battlepass .bp-reward--disabled .bp-reward__art { opacity: .65; filter: grayscale(.7); }
#hotcs-battlepass .bp-ribbon-note { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: -5px 0 20px; color: var(--bp-muted); font-size: 9px; line-height: 1.8; }
#hotcs-battlepass .bp-ribbon-note > span:nth-child(2) { color: var(--bp-gold); }
#hotcs-battlepass .bp-reward__lock { position: absolute; top: 7px; right: 7px; font-size: 8px; color: var(--bp-gold); }
#hotcs-battlepass .bp-reward[data-rarity="rare"], #hotcs-battlepass .bp-reward--rare { --bp-reward-rgb: 103, 160, 237; --bp-reward-line: #79aaee; }
#hotcs-battlepass .bp-reward[data-rarity="epic"], #hotcs-battlepass .bp-reward--epic { --bp-reward-rgb: 183, 121, 232; --bp-reward-line: #bd88e9; }
#hotcs-battlepass .bp-reward[data-rarity="legendary"], #hotcs-battlepass .bp-reward--legendary { --bp-reward-rgb: 255, 198, 85; --bp-reward-line: var(--bp-gold); border-color: rgba(255, 198, 85, .5); box-shadow: inset 0 0 24px rgba(255, 184, 65, .07), 0 0 14px rgba(255, 184, 65, .07); }

#hotcs-battlepass .bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; min-width: 0; }
#hotcs-battlepass .bp-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#hotcs-battlepass .bp-card { min-width: 0; padding: 22px; border: 1px solid var(--bp-line); border-radius: var(--bp-radius); background: var(--bp-surface); }
#hotcs-battlepass .bp-card p { margin-top: 8px; font-size: 11px; line-height: 1.8; }
#hotcs-battlepass .bp-card > .bp-btn { margin-top: 17px; }
#hotcs-battlepass .bp-card__image { width: 100%; height: 150px; margin: 5px auto 14px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .2)); }
#hotcs-battlepass .bp-card__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 9px; margin-bottom: 13px; }
#hotcs-battlepass .bp-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
#hotcs-battlepass .bp-card__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
#hotcs-battlepass .bp-price { color: var(--bp-gold); font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.04em; }
#hotcs-battlepass .bp-price small { font-size: 10px; font-weight: 400; color: var(--bp-muted); }
#hotcs-battlepass .bp-price del { margin-right: 8px; font-size: 12px; color: var(--bp-muted); font-weight: 400; }
#hotcs-battlepass .bp-progress { height: 5px; width: 100%; overflow: hidden; border-radius: 6px; background: rgba(255, 240, 222, .08); }
#hotcs-battlepass .bp-progress > span, #hotcs-battlepass .bp-progress > i { display: block; height: 100%; max-width: 100%; border-radius: inherit; background: var(--bp-action); }
#hotcs-battlepass .bp-progress progress { width: 100%; height: 100%; }
#hotcs-battlepass .bp-task-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
#hotcs-battlepass .bp-task-filters .bp-btn { min-height: 36px; padding: 8px 12px; font-size: 9px; }
/* Small line icons identify missions without reusing reward artwork. */
#hotcs-battlepass .bp-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#hotcs-battlepass .bp-task { --bp-task-rgb: 255, 146, 75; position: relative; isolation: isolate; display: grid; grid-template-columns: 80px minmax(0, 1fr); align-content: start; gap: 17px 20px; min-height: 210px; padding: 24px; overflow: hidden; border-color: rgba(var(--bp-task-rgb), .2); background: radial-gradient(ellipse at 12% 20%, rgba(var(--bp-task-rgb), .1), transparent 60%), var(--bp-surface); box-shadow: inset 0 1px rgba(255, 240, 222, .035); transition: border-color .3s, box-shadow .3s; }
#hotcs-battlepass .bp-task::before { display: none; }
#hotcs-battlepass .bp-task::after { content: ''; position: absolute; top: 24px; bottom: 24px; left: 0; width: 2px; background: linear-gradient(transparent, rgba(var(--bp-task-rgb), .8), transparent); }
#hotcs-battlepass .bp-task--precision { --bp-task-rgb: 110, 166, 239; }
#hotcs-battlepass .bp-task--time { --bp-task-rgb: 113, 188, 174; }
#hotcs-battlepass .bp-task--victory { --bp-task-rgb: 255, 198, 85; }
#hotcs-battlepass .bp-task--premium { border-top-color: rgba(255, 198, 85, .38); }
#hotcs-battlepass .bp-task__visual { position: relative; align-self: center; min-width: 0; height: 80px; display: grid; place-items: center; }
#hotcs-battlepass .bp-task__visual::before, #hotcs-battlepass .bp-task__visual::after { display: none; }
#hotcs-battlepass .bp-task__art { position: relative; width: 80px; max-width: 100%; height: 80px; display: grid; place-items: center; border: 1px solid rgba(var(--bp-task-rgb), .22); border-radius: 16px; color: rgb(var(--bp-task-rgb)); background: rgba(var(--bp-task-rgb), .045); }
#hotcs-battlepass .bp-task__art svg { width: 48px; height: 48px; stroke-width: 1.45; transition: transform .25s ease-out; }
#hotcs-battlepass .bp-task__emblem { position: absolute; z-index: 2; right: -3px; bottom: 0; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(var(--bp-task-rgb), .4); border-radius: 10px; color: rgb(var(--bp-task-rgb)); background: #201710; box-shadow: 0 5px 14px rgba(0, 0, 0, .3); }
#hotcs-battlepass .bp-task__emblem svg { width: 19px; height: 19px; }
#hotcs-battlepass .bp-task__body { position: relative; min-width: 0; align-self: center; }
#hotcs-battlepass .bp-task__body h3 { font-size: 15px; line-height: 1.5; }
#hotcs-battlepass .bp-task__body p { margin-top: 8px; font-size: 11px; line-height: 1.8; }
#hotcs-battlepass .bp-task__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 13px; }
#hotcs-battlepass .bp-task__top .bp-pill:first-child { border-color: rgba(var(--bp-task-rgb), .22); color: rgb(var(--bp-task-rgb)); background: rgba(var(--bp-task-rgb), .055); }
#hotcs-battlepass .bp-task__bottom { position: relative; grid-column: 1 / -1; min-width: 0; padding-top: 16px; border-top: 1px solid rgba(var(--bp-task-rgb), .12); }
#hotcs-battlepass .bp-task__rewards { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 13px; font-size: 11px; }
#hotcs-battlepass .bp-task__reward { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(255, 196, 103, .19); border-radius: 7px; color: #ffd58a; background: rgba(255, 196, 103, .07); }
#hotcs-battlepass .bp-task__reward img { width: 19px; height: 19px; object-fit: contain; }
#hotcs-battlepass .bp-task__reward--tokens { border-color: rgba(224, 201, 150, .18); color: #dfc9a8; background: rgba(224, 201, 150, .035); }
#hotcs-battlepass .bp-task__goal { margin: 0 0 10px; padding: 0; border: 0; color: #c4b2a5; font-size: 9px; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-task__progress { position: relative; height: 5px; overflow: hidden; border-radius: 5px; background: repeating-linear-gradient(125deg, rgba(var(--bp-task-rgb), .12) 0 5px, rgba(var(--bp-task-rgb), .04) 5px 10px); }
#hotcs-battlepass .bp-task__progress::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(var(--bp-task-rgb), .4), transparent); opacity: 0; transform: translateX(-100%); }
#hotcs-battlepass .bp-task__status { display: block; margin-top: 9px; font-size: 8px; color: var(--bp-muted); }
#hotcs-battlepass .bp-shop-card { display: flex; flex-direction: column; align-items: flex-start; }
#hotcs-battlepass .bp-shop-card__image { width: 100%; height: 150px; object-fit: contain; margin: 12px 0 15px; filter: drop-shadow(0 7px 9px rgba(0, 0, 0, .22)); }
#hotcs-battlepass .bp-shop-card__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding-top: 19px; margin-top: auto; }
#hotcs-battlepass .bp-shop-card__bottom > strong { color: var(--bp-gold); font-size: 21px; font-weight: 500; line-height: 1.4; letter-spacing: -.04em; }
#hotcs-battlepass .bp-shop-card__bottom > strong small { font-size: 9px; font-weight: 400; color: var(--bp-muted); }
#hotcs-battlepass .bp-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
#hotcs-battlepass .bp-filters button { min-height: 35px; padding: 7px 11px; border: 1px solid var(--bp-line); border-radius: 7px; color: var(--bp-muted); background: var(--bp-soft); font-size: 10px; }
#hotcs-battlepass .bp-filters button.is-active { color: var(--bp-action); border-color: rgba(255, 107, 44, .35); }
#hotcs-battlepass .bp-detail { display: block; min-width: 0; }
#hotcs-battlepass .bp-detail__image { display: flex; align-items: center; justify-content: center; width: 100%; height: 210px; margin: 0 auto 20px; border-radius: 12px; background: var(--bp-soft); }
#hotcs-battlepass .bp-detail__item { width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .25)); }
#hotcs-battlepass .bp-detail > .bp-pill { margin-bottom: 12px; }
#hotcs-battlepass .bp-detail > h2 { margin-bottom: 10px; }
#hotcs-battlepass .bp-detail > p { font-size: 11px; line-height: 1.85; }
#hotcs-battlepass .bp-detail__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
#hotcs-battlepass .bp-detail__facts > span { padding: 6px 9px; border: 1px solid var(--bp-line); border-radius: 6px; color: var(--bp-muted); font-size: 9px; }
#hotcs-battlepass .bp-notice { margin-top: 19px; padding: 13px 15px; border-left: 2px solid rgba(255, 200, 87, .5); border-radius: 0 7px 7px 0; color: var(--bp-muted); background: rgba(255, 200, 87, .045); font-size: 10px; line-height: 1.85; }
#hotcs-battlepass .bp-empty__icon { color: var(--bp-gold); font-size: 26px; line-height: 1; opacity: .6; margin-bottom: 6px; }
#hotcs-battlepass .bp-detail__content { min-width: 0; }
#hotcs-battlepass .bp-detail__content > .bp-pill { margin-bottom: 12px; }
#hotcs-battlepass .bp-detail__content p { max-width: 65ch; font-size: 11px; margin-top: 10px; }
#hotcs-battlepass .bp-detail__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
#hotcs-battlepass .bp-empty { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; min-width: 0; padding: 30px; border: 1px solid var(--bp-line); border-radius: var(--bp-radius); background: var(--bp-surface); }
#hotcs-battlepass .bp-empty p { max-width: 75ch; font-size: 11px; line-height: 1.85; }
#hotcs-battlepass .bp-empty--error { border-color: rgba(255, 141, 107, .3); }
#hotcs-battlepass .bp-empty__image { height: 90px; width: 120px; object-fit: contain; margin-bottom: 6px; }

/* Administration uses the same quiet surfaces and keeps long tables local. */
#hotcs-battlepass .bp-admin-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
#hotcs-battlepass .bp-admin-header > div { min-width: 0; }
#hotcs-battlepass .bp-admin-header .bp-hero__eyebrow { margin-bottom: 10px; }
#hotcs-battlepass .bp-admin-header h1 { font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -.045em; }
#hotcs-battlepass .bp-admin-header p { margin-top: 10px; max-width: 80ch; font-size: 11px; }
#hotcs-battlepass .bp-admin-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px 20px; margin-bottom: 18px; border: 1px solid var(--bp-line); border-radius: 12px; background: var(--bp-surface); }
#hotcs-battlepass .bp-admin-toolbar .bp-field { flex: 1 1 320px; max-width: 440px; }
#hotcs-battlepass .bp-admin-toolbar > .bp-pill { margin-bottom: 12px; }
#hotcs-battlepass .bp-admin-nav { display: flex; flex-wrap: wrap; gap: 0; min-width: 0; max-width: 100%; margin-bottom: 24px; border-bottom: 1px solid var(--bp-line); }
#hotcs-battlepass .bp-admin-nav > button { padding-right: 13px; padding-left: 13px; font-size: 10px; }
#hotcs-battlepass .bp-admin-nav > button::after { left: 12px; right: 12px; }
#hotcs-battlepass .bp-admin-content { min-width: 0; }
#hotcs-battlepass .bp-summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; }
#hotcs-battlepass .bp-summary { display: flex; flex-direction: column; gap: 8px; padding: 19px; }
#hotcs-battlepass .bp-summary > span { font-size: 10px; color: var(--bp-muted); }
#hotcs-battlepass .bp-summary strong { display: block; color: var(--bp-ink); font-size: 25px; line-height: 1.3; font-weight: 600; letter-spacing: -.04em; }
#hotcs-battlepass .bp-summary p { margin-top: 5px; font-size: 10px; }
#hotcs-battlepass .bp-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 28px; }
#hotcs-battlepass .bp-overview-grid .bp-card > .bp-pill { margin-top: 16px; }
#hotcs-battlepass .bp-integration__items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
#hotcs-battlepass .bp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; }
#hotcs-battlepass .bp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; min-width: 0; grid-column: 1 / -1; }
#hotcs-battlepass .bp-system-form .bp-form-grid { margin-top: 20px; }
#hotcs-battlepass .bp-system-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column: 1 / -1; }
#hotcs-battlepass .bp-form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; grid-column: 1 / -1; padding-top: 5px; }
#hotcs-battlepass .bp-form-state { color: var(--bp-muted); font-size: 9px; }
#hotcs-battlepass .bp-form-error { grid-column: 1 / -1; min-width: 0; padding: 13px 15px; border: 1px solid rgba(255, 141, 107, .35); border-radius: 8px; background: rgba(255, 105, 72, .06); color: #ffb39b; font-size: 10px; line-height: 1.85; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-form-error p { color: inherit; }
#hotcs-battlepass .bp-form-error .bp-btn { margin-top: 10px; }
#hotcs-battlepass .bp-form-error small { display: block; margin-top: 8px; font-size: 9px; }
#hotcs-battlepass .bp-form > h2, #hotcs-battlepass .bp-form > h3 { grid-column: 1 / -1; margin-top: 8px; }
#hotcs-battlepass .bp-form > p, #hotcs-battlepass .bp-form > .bp-note { grid-column: 1 / -1; }
#hotcs-battlepass .bp-form__section { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; padding: 20px; border: 1px solid var(--bp-line); border-radius: 12px; background: var(--bp-soft); }
#hotcs-battlepass .bp-form__section > h3 { grid-column: 1 / -1; }
#hotcs-battlepass .bp-field { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; width: 100%; margin-bottom: 0; white-space: normal; }
#hotcs-battlepass .bp-field > span, #hotcs-battlepass .bp-field > label { color: var(--bp-ink); font-size: 10px; font-weight: 500; line-height: 1.6; }
#hotcs-battlepass .bp-field > small { color: var(--bp-muted); font-size: 9px; line-height: 1.8; }
#hotcs-battlepass .bp-field--wide { grid-column: 1 / -1; }
#hotcs-battlepass .bp-field input, #hotcs-battlepass .bp-field select, #hotcs-battlepass .bp-field textarea,
#hotcs-battlepass .bp-form input:not([type="checkbox"]), #hotcs-battlepass .bp-form select, #hotcs-battlepass .bp-form textarea { width: 100%; min-width: 0; max-width: 100%; height: 45px; margin: 0; padding: 10px 12px; border: 1px solid rgba(255, 240, 222, .14); border-radius: 8px; color: var(--bp-ink); background: var(--bp-base); font-size: 11px; line-height: 1.7; box-shadow: none; text-overflow: ellipsis; }
#hotcs-battlepass .bp-field textarea, #hotcs-battlepass .bp-form textarea { height: 110px; min-height: 88px; resize: vertical; white-space: pre-wrap; }
#hotcs-battlepass .bp-field select, #hotcs-battlepass .bp-form select { display: block; float: none; appearance: auto; padding-right: 30px; color-scheme: dark; }
#hotcs-battlepass .bp-field input:focus, #hotcs-battlepass .bp-field select:focus, #hotcs-battlepass .bp-field textarea:focus,
#hotcs-battlepass .bp-form input:not([type="checkbox"]):focus, #hotcs-battlepass .bp-form select:focus, #hotcs-battlepass .bp-form textarea:focus { border-color: var(--bp-action); color: var(--bp-ink); background: var(--bp-base); box-shadow: none; filter: none; }
#hotcs-battlepass .bp-field input::placeholder, #hotcs-battlepass .bp-field textarea::placeholder { color: var(--bp-muted); opacity: .7; }
#hotcs-battlepass .bp-field input[type="checkbox"], #hotcs-battlepass .bp-form input[type="checkbox"] { appearance: auto; width: 18px; min-width: 18px; height: 18px; padding: 0; margin: 0; accent-color: var(--bp-action); border-radius: 4px; }
#hotcs-battlepass .bp-field--check, #hotcs-battlepass .bp-check { display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--bp-line); border-radius: 8px; background: var(--bp-soft); font-size: 10px; }
#hotcs-battlepass .bp-form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 8px; }
#hotcs-battlepass .bp-image-picker { min-width: 0; padding-top: 8px; }
#hotcs-battlepass .bp-image-picker h3 { margin-bottom: 14px; font-size: 12px; }
#hotcs-battlepass .bp-image-picker__current { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 18px; margin-bottom: 18px; }
#hotcs-battlepass .bp-image-picker__preview { width: 110px; height: 100px; object-fit: contain; padding: 8px; border-radius: 10px; background: radial-gradient(circle, rgba(255, 157, 70, .09), transparent 72%); }
#hotcs-battlepass .bp-image-picker__status { margin: 9px 0 4px; font-size: 9px; line-height: 1.8; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-image-picker__current small { color: var(--bp-muted); font-size: 8px; }
#hotcs-battlepass .bp-image-picker__caption { margin-bottom: 11px; font-size: 9px; }
#hotcs-battlepass .bp-image-picker__gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
#hotcs-battlepass .bp-image-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 100%; height: auto; min-width: 0; padding: 10px 6px; border: 1px solid var(--bp-line); border-radius: 9px; color: var(--bp-muted); background: var(--bp-soft); font-size: 8px; }
#hotcs-battlepass .bp-image-choice img { width: 100%; height: 51px; object-fit: contain; }
#hotcs-battlepass .bp-image-choice:hover, #hotcs-battlepass .bp-image-choice[aria-pressed="true"] { border-color: var(--bp-action); color: var(--bp-ink); background: rgba(255, 107, 44, .055); }
#hotcs-battlepass .bp-image-picker__link { margin-top: 16px; color: var(--bp-muted); font-size: 9px; }
#hotcs-battlepass .bp-image-picker__link summary { width: fit-content; cursor: pointer; }
#hotcs-battlepass .bp-image-picker__link .bp-field { margin-top: 12px; }
#hotcs-battlepass .bp-form__error, #hotcs-battlepass .bp-error { grid-column: 1 / -1; padding: 12px 14px; border: 1px solid rgba(255, 141, 107, .3); border-radius: 8px; color: #ffb39b; background: rgba(255, 105, 72, .06); font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-form__error:empty, #hotcs-battlepass .bp-error:empty { display: none; }
#hotcs-battlepass .bp-table-wrap { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--bp-line); border-radius: 12px; background: var(--bp-surface); scrollbar-width: thin; scrollbar-color: #665044 var(--bp-base); }
#hotcs-battlepass .bp-table { border-collapse: collapse; width: 100%; min-width: 670px; margin: 0; color: var(--bp-ink); font-size: 10px; line-height: 1.7; }
#hotcs-battlepass .bp-table th { padding: 13px 16px; color: var(--bp-muted); background: var(--bp-soft); border-bottom: 1px solid var(--bp-line); font-size: 9px; font-weight: 500; text-align: left; white-space: nowrap; }
#hotcs-battlepass .bp-table td { padding: 14px 16px; border-bottom: 1px solid var(--bp-line); vertical-align: middle; max-width: 360px; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-table tr:last-child td { border-bottom: 0; }
#hotcs-battlepass .bp-table tbody tr:hover { background: rgba(255, 240, 222, .025); }
#hotcs-battlepass .bp-table__actions { display: flex; flex-wrap: nowrap; gap: 7px; align-items: center; white-space: nowrap; }
#hotcs-battlepass .bp-table__image { width: 52px; height: 42px; object-fit: contain; }
#hotcs-battlepass .bp-table .bp-btn { min-height: 33px; padding: 7px 10px; font-size: 9px; }
#hotcs-battlepass .bp-inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#hotcs-battlepass .bp-row-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 7px; }
#hotcs-battlepass .bp-pack-editor { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--bp-line); border-radius: 12px; background: var(--bp-surface); }
#hotcs-battlepass .bp-pack-editor legend { padding: 0 8px; color: var(--bp-ink); font-size: 12px; font-weight: 500; }
#hotcs-battlepass .bp-pack-editor__rows { display: grid; gap: 13px; margin-bottom: 16px; }
#hotcs-battlepass .bp-pack-editor__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; gap: 8px; align-items: end; min-width: 0; }
#hotcs-battlepass .bp-pack-editor__row > .bp-btn { min-height: 45px; padding: 0; font-size: 19px; }
#hotcs-battlepass .bp-pack-editor__row > .bp-field > span { font-size: 8px; }
#hotcs-battlepass .bp-pack-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
#hotcs-battlepass .bp-pack { padding: 18px; border: 1px solid var(--bp-line); border-radius: 10px; background: var(--bp-soft); }
#hotcs-battlepass .bp-pack strong { display: block; margin-bottom: 6px; font-size: 18px; font-weight: 500; }
#hotcs-battlepass .bp-pack span { color: var(--bp-gold); font-size: 13px; }
#hotcs-battlepass .bp-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 21px 0; }
#hotcs-battlepass .bp-pack-grid .bp-pack { color: var(--bp-ink); text-align: left; transition: border-color .16s ease, background-color .16s ease; }
#hotcs-battlepass .bp-pack-grid .bp-pack span { display: block; font-size: 9px; color: var(--bp-muted); }
#hotcs-battlepass .bp-pack-grid .bp-pack b { display: block; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--bp-gold); }
#hotcs-battlepass .bp-pack-grid .bp-pack.is-active, #hotcs-battlepass .bp-pack-grid .bp-pack[aria-pressed="true"] { border-color: var(--bp-action); background: rgba(255, 107, 44, .065); }
#hotcs-battlepass .bp-pack-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding: 20px 0 0; }
#hotcs-battlepass .bp-pack-total > span { font-size: 11px; color: var(--bp-muted); }
#hotcs-battlepass .bp-pack-total > strong { color: var(--bp-gold); font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em; }
#hotcs-battlepass .bp-premium > .bp-pill { margin-bottom: 14px; }
#hotcs-battlepass .bp-premium > h2, #hotcs-battlepass .bp-packs > h2 { padding-right: 20px; margin-bottom: 12px; }
#hotcs-battlepass .bp-premium > p, #hotcs-battlepass .bp-packs > p { margin-top: 9px; font-size: 11px; line-height: 1.85; }
#hotcs-battlepass .bp-premium__symbol { display: block; width: 112px; height: 80px; margin-bottom: 16px; color: transparent; background: url('../img/vip.svg') center / contain no-repeat; font-size: 0; line-height: 1; }
#hotcs-battlepass .bp-premium .bp-price { margin-top: 24px; font-size: 30px; }

/* Native dialogs remain in the top layer over HOTCS's scroll container. */
#hotcs-battlepass .bp-modal { position: fixed; inset: 0; width: min(760px, calc(100vw - 36px)); min-width: 0; max-width: calc(100vw - 36px); max-height: calc(100vh - 44px); max-height: calc(100dvh - 44px); margin: auto; padding: 0; overflow: auto; opacity: 1; animation: none; transform: none; border: 1px solid rgba(255, 240, 222, .16); border-radius: 18px; color: var(--bp-ink); background: var(--bp-surface); box-shadow: 0 25px 100px rgba(0, 0, 0, .65); font-family: inherit; }
#hotcs-battlepass .bp-modal::backdrop { background: rgba(8, 5, 3, .76); backdrop-filter: blur(5px); }
#hotcs-battlepass .bp-modal__inner { position: relative; min-width: 0; padding: 30px; }
#hotcs-battlepass .bp-modal__close { position: absolute; z-index: 2; top: 14px; right: 14px; display: flex; justify-content: center; align-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid var(--bp-line); border-radius: 8px; color: var(--bp-muted); background: var(--bp-surface); font-size: 25px; font-weight: 400; line-height: 1; }
#hotcs-battlepass .bp-modal__close:hover { border-color: var(--bp-action); color: var(--bp-ink); }
#hotcs-battlepass .bp-modal__content { min-width: 0; }
#hotcs-battlepass .bp-modal__content > h2 { padding-right: 30px; margin-bottom: 12px; }
#hotcs-battlepass .bp-modal__content > p { font-size: 11px; line-height: 1.85; }
#hotcs-battlepass .bp-modal__content .bp-form { margin-top: 22px; }
#hotcs-battlepass .bp-modal__footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; grid-column: 1 / -1; margin-top: 24px; }
#hotcs-battlepass .bp-modal__image { width: 100%; height: 190px; margin: 6px auto 20px; object-fit: contain; }
#hotcs-battlepass .bp-toast { position: fixed; z-index: 1200; right: 24px; bottom: 24px; width: max-content; max-width: min(520px, calc(100vw - 32px)); padding: 14px 18px; border: 1px solid rgba(255, 200, 87, .3); border-radius: 10px; color: var(--bp-ink); background: var(--bp-surface); box-shadow: 0 12px 32px rgba(0, 0, 0, .4); font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-toast--error { border-color: rgba(255, 141, 107, .4); }

/* Motion answers hover/focus; idle cards do not run hundreds of animations. */
@keyframes bp-item-sheen { 0% { opacity: 0; transform: translateX(-85%); } 20% { opacity: 1; } 80% { opacity: .7; } 100% { opacity: 0; transform: translateX(85%); } }
@keyframes bp-mission-scan { 0% { opacity: 0; transform: translateX(-100%); } 25% { opacity: .8; } 100% { opacity: 0; transform: translateX(100%); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #hotcs-battlepass button.bp-reward:not(.bp-reward--empty):hover { z-index: 2; transform: translateY(-4px); border-color: rgba(var(--bp-reward-rgb), .65); box-shadow: 0 7px 20px rgba(var(--bp-reward-rgb), .14), inset 0 0 22px rgba(var(--bp-reward-rgb), .09); }
    #hotcs-battlepass button.bp-reward:not(.bp-reward--empty):hover::after { animation: bp-item-sheen .95s ease-out; }
    #hotcs-battlepass .bp-reward:hover .bp-reward__image { transform: translateY(-4px) rotate(-3deg) scale(1.09); filter: drop-shadow(0 9px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 7px rgba(var(--bp-reward-rgb), .22)); }
    #hotcs-battlepass .bp-reward:hover .bp-reward__aura { transform: scale(1.24); }
    #hotcs-battlepass .bp-reward:hover .bp-reward__sparkle { opacity: .95; transform: translateY(-3px); }
    #hotcs-battlepass .bp-task:hover { border-color: rgba(var(--bp-task-rgb), .36); }
    #hotcs-battlepass .bp-task:hover .bp-task__art svg { transform: translateY(-2px); }
}
#hotcs-battlepass button.bp-reward:focus-visible { border-color: var(--bp-action); box-shadow: 0 0 16px rgba(var(--bp-reward-rgb), .2); }

@media (min-width: 1440px) {
    #hotcs-battlepass .bp-hero { min-height: 344px; }
    #hotcs-battlepass .bp-hero__image { right: 6%; }
}
@media (max-width: 1024px) {
    #hotcs-battlepass .bp-hero { min-height: 310px; padding: 28px; }
    #hotcs-battlepass .bp-hero__content { width: 66%; }
    #hotcs-battlepass .bp-hero__image { right: -3%; max-width: 47%; height: 105%; bottom: -7%; }
    #hotcs-battlepass .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #hotcs-battlepass .bp-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #hotcs-battlepass .bp-card { padding: 20px; }
    #hotcs-battlepass .bp-admin-nav > button { padding-right: 11px; padding-left: 11px; }
}
@media (max-width: 768px) {
    #hotcs-battlepass { font-size: 12px; }
    #hotcs-battlepass .bp-hero { min-height: 318px; padding: 27px 24px; border-radius: 16px; background-image: linear-gradient(90deg, rgba(18, 11, 7, .96), rgba(18, 11, 7, .78) 52%, rgba(18, 11, 7, .54)), linear-gradient(0deg, rgba(18, 11, 7, .75), transparent), url('../img/map.webp'); }
    #hotcs-battlepass .bp-hero__content { width: 76%; }
    #hotcs-battlepass .bp-hero__image { right: -16%; bottom: -6%; height: 95%; max-width: 57%; opacity: .82; }
    #hotcs-battlepass .bp-hero__title { font-size: clamp(25px, 5.2vw, 34px); }
    #hotcs-battlepass .bp-hero__stats { gap: 12px 18px; margin-top: 20px; }
    #hotcs-battlepass .bp-hero__actions { margin-top: 20px; }
    #hotcs-battlepass .bp-section-head { gap: 12px; }
    #hotcs-battlepass .bp-tabs { margin-bottom: 20px; }
    #hotcs-battlepass .bp-tab { padding: 12px 13px; font-size: 10px; }
    #hotcs-battlepass .bp-grid--two { grid-template-columns: minmax(0, 1fr); }
    #hotcs-battlepass .bp-overview-grid { grid-template-columns: minmax(0, 1fr); }
    #hotcs-battlepass .bp-detail__image { height: 165px; }
    #hotcs-battlepass .bp-ribbon__scroll { padding-left: 11px; padding-right: 11px; }
    #hotcs-battlepass .bp-ribbon-labels { left: -11px; flex-basis: 92px; width: 92px; padding-right: 8px; }
    #hotcs-battlepass .bp-ribbon-label { padding-left: 5px; padding-right: 6px; }
    #hotcs-battlepass .bp-ribbon-label strong { font-size: 9px; }
    #hotcs-battlepass .bp-ribbon-label small { font-size: 8px; }
    #hotcs-battlepass .bp-empty { padding: 24px; }
    #hotcs-battlepass .bp-admin-header { margin-bottom: 20px; }
    #hotcs-battlepass .bp-admin-toolbar { padding: 14px 16px; }
    #hotcs-battlepass .bp-admin-nav > button { flex-grow: 1; font-size: 9px; padding: 10px 9px; }
    #hotcs-battlepass .bp-modal { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
    #hotcs-battlepass .bp-modal__inner { padding: 24px; }
    #hotcs-battlepass .bp-task-grid { grid-template-columns: minmax(0, 1fr); }
    #hotcs-battlepass[data-view="public"] .bp-tab { gap: 7px; padding: 10px 8px; font-size: 9px; }
    #hotcs-battlepass[data-view="public"] .bp-section-head { padding: 17px 18px; gap: 12px; }
    #hotcs-battlepass .bp-section-head__icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
    #hotcs-battlepass .bp-section-head__icon svg { width: 20px; height: 20px; }
    #hotcs-battlepass .bp-reward-preview { gap: 22px; padding: 22px; }
    #hotcs-battlepass .bp-reward-preview__visual { height: 195px; }
    #hotcs-battlepass .bp-reward-preview__art, #hotcs-battlepass .bp-reward-preview__art img { height: 160px; }
    #hotcs-battlepass .bp-inventory-empty { padding: 26px; gap: 22px; }
    #hotcs-battlepass .bp-hero.bp-hero--minimal { padding: 23px 26px; }
}
@media (max-width: 520px) {
    #hotcs-battlepass .bp-hero { min-height: 358px; padding: 24px 19px; align-items: flex-start; }
    #hotcs-battlepass .bp-hero__content { width: 100%; }
    #hotcs-battlepass .bp-hero__image { right: -24%; height: 75%; max-width: 74%; bottom: -7%; opacity: .38; }
    #hotcs-battlepass .bp-hero__eyebrow { max-width: 100%; gap: 6px; margin-bottom: 17px; }
    #hotcs-battlepass .bp-hero__title { max-width: 100%; font-size: 27px; }
    #hotcs-battlepass .bp-hero__subtitle { max-width: 34ch; font-size: 10px; color: #cebeb1; }
    #hotcs-battlepass .bp-hero__stats { gap: 13px 16px; }
    #hotcs-battlepass .bp-hero__stats strong { font-size: 18px; }
    #hotcs-battlepass .bp-hero__stats small, #hotcs-battlepass .bp-hero__stats span { font-size: 8px; }
    #hotcs-battlepass .bp-hero__actions { gap: 8px; }
    #hotcs-battlepass .bp-hero__actions .bp-btn { min-height: 41px; padding: 10px 12px; font-size: 9px; }
    #hotcs-battlepass .bp-account { padding: 15px 17px; }
    #hotcs-battlepass .bp-account p { font-size: 9px; }
    #hotcs-battlepass .bp-account strong { font-size: 10px; }
    #hotcs-battlepass .bp-tabs { gap: 0; padding: 0; }
    #hotcs-battlepass .bp-tab { flex: 1 1 50%; min-height: 42px; padding: 10px 8px; font-size: 9px; }
    #hotcs-battlepass .bp-tab::after { left: 10px; right: 10px; }
    #hotcs-battlepass .bp-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    #hotcs-battlepass .bp-card { padding: 18px; }
    #hotcs-battlepass .bp-card__image { height: 145px; }
    #hotcs-battlepass .bp-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #hotcs-battlepass .bp-section-head h2 { font-size: 17px; }
    #hotcs-battlepass .bp-section-head p { font-size: 9px; }
    #hotcs-battlepass .bp-section-head > .bp-btn { width: 100%; }
    #hotcs-battlepass .bp-detail__image { height: 155px; }
    #hotcs-battlepass .bp-ribbon-labels { flex-basis: 77px; width: 77px; }
    #hotcs-battlepass .bp-ribbon-label { padding-left: 1px; padding-right: 4px; }
    #hotcs-battlepass .bp-ribbon-label strong { font-size: 8px; }
    #hotcs-battlepass .bp-ribbon-label small { font-size: 7px; }
    #hotcs-battlepass .bp-level { flex-basis: 116px; width: 116px; }
    #hotcs-battlepass .bp-ribbon { border-radius: 12px; }
    #hotcs-battlepass .bp-empty { padding: 23px 18px; }
    #hotcs-battlepass .bp-empty h2 { font-size: 17px; }
    #hotcs-battlepass .bp-empty p { font-size: 10px; }
    #hotcs-battlepass .bp-form, #hotcs-battlepass .bp-form-grid, #hotcs-battlepass .bp-form__section, #hotcs-battlepass .bp-system-packs { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    #hotcs-battlepass .bp-form__section { padding: 15px; }
    #hotcs-battlepass .bp-field input, #hotcs-battlepass .bp-field select, #hotcs-battlepass .bp-field textarea { font-size: 10px; }
    #hotcs-battlepass .bp-admin-toolbar .bp-field { flex-basis: 100%; max-width: none; }
    #hotcs-battlepass .bp-admin-toolbar > .bp-pill { margin-bottom: 0; }
    #hotcs-battlepass .bp-admin-nav > button { flex-basis: 33.333%; padding: 10px 5px; font-size: 8px; }
    #hotcs-battlepass .bp-admin-header .bp-btn { width: 100%; }
    #hotcs-battlepass .bp-summary { gap: 10px; padding: 16px 13px; }
    #hotcs-battlepass .bp-summary strong { font-size: 23px; }
    #hotcs-battlepass .bp-summary p { font-size: 9px; }
    #hotcs-battlepass .bp-modal__inner { padding: 23px 18px; }
    #hotcs-battlepass .bp-modal__content > h2 { font-size: 18px; }
    #hotcs-battlepass .bp-pack-list { gap: 8px; }
    #hotcs-battlepass .bp-pack { padding: 14px 12px; }
    #hotcs-battlepass .bp-pack strong { font-size: 15px; }
    #hotcs-battlepass .bp-pack span { font-size: 11px; }
    #hotcs-battlepass .bp-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #hotcs-battlepass .bp-pack-editor { padding: 15px; }
    #hotcs-battlepass .bp-toast { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); font-size: 10px; }
    #hotcs-battlepass .bp-task { grid-template-columns: 68px minmax(0, 1fr); gap: 16px 15px; padding: 19px; min-height: 210px; }
    #hotcs-battlepass .bp-task__visual { height: 103px; }
    #hotcs-battlepass .bp-task__visual::before { width: 83px; height: 83px; }
    #hotcs-battlepass .bp-task__art { width: 102px; height: 90px; }
    #hotcs-battlepass .bp-task--time .bp-task__art, #hotcs-battlepass .bp-task--utility .bp-task__art { height: 103px; }
    #hotcs-battlepass .bp-task__emblem { width: 28px; height: 28px; right: -2px; bottom: 0; border-radius: 8px; }
    #hotcs-battlepass .bp-task__emblem svg { width: 16px; height: 16px; }
    #hotcs-battlepass .bp-task__body h3 { font-size: 12px; }
    #hotcs-battlepass .bp-task__body p { font-size: 9px; }
    #hotcs-battlepass .bp-task__top { gap: 5px; margin-bottom: 10px; }
    #hotcs-battlepass .bp-task__top .bp-pill { font-size: 7px; }
    #hotcs-battlepass .bp-task__reward { font-size: 10px; }
    #hotcs-battlepass[data-view="public"] .bp-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 5px; }
    #hotcs-battlepass[data-view="public"] .bp-tab { min-height: 45px; font-size: 9px; }
    #hotcs-battlepass .bp-tab__icon { flex-basis: 16px; }
    #hotcs-battlepass .bp-tab__icon svg { width: 16px; height: 16px; }
    #hotcs-battlepass[data-view="public"] .bp-section-head { padding: 16px; gap: 10px; }
    #hotcs-battlepass .bp-section-head__title { flex-basis: calc(100% - 44px); }
    #hotcs-battlepass .bp-section-head__icon { flex-basis: 34px; width: 34px; height: 34px; }
    #hotcs-battlepass .bp-section-head__actions, #hotcs-battlepass .bp-section-head__actions .bp-btn { width: 100%; }
    #hotcs-battlepass .bp-ribbon-pagination { padding: 11px; gap: 9px; }
    #hotcs-battlepass .bp-ribbon-pagination__range { width: 100%; }
    #hotcs-battlepass .bp-ribbon-pagination__controls { gap: 4px; }
    #hotcs-battlepass .bp-page { min-width: 30px; height: 34px; padding: 0 6px; font-size: 9px; }
    #hotcs-battlepass .bp-page-ellipsis { width: 12px; }
    #hotcs-battlepass .bp-reward-preview { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
    #hotcs-battlepass .bp-reward-preview__visual { height: 190px; border-right: 0; border-bottom: 1px solid rgba(var(--bp-preview-rgb), .15); padding-bottom: 14px; }
    #hotcs-battlepass .bp-reward-preview__visual::before { width: min(85%, 180px); }
    #hotcs-battlepass .bp-reward-preview__art, #hotcs-battlepass .bp-reward-preview__art img { height: 145px; }
    #hotcs-battlepass .bp-reward-preview__content h3 { font-size: 19px; }
    #hotcs-battlepass .bp-inventory-filter { padding: 8px; gap: 5px; font-size: 8px; }
    #hotcs-battlepass .bp-inventory-empty { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px; }
    #hotcs-battlepass .bp-inventory-empty__visual { height: 160px; }
    #hotcs-battlepass .bp-inventory-empty__case { height: 120px; }
    #hotcs-battlepass .bp-inventory-empty__weapon { height: 110px; }
    #hotcs-battlepass .bp-hero.bp-hero--minimal { min-height: 264px; padding: 20px; }
    #hotcs-battlepass .bp-hero--minimal .bp-hero__content { width: 100%; }
    #hotcs-battlepass .bp-hero__wordmark { width: min(100%, 270px); }
    #hotcs-battlepass .bp-hero__season { font-size: 10px; gap: 10px; }
    #hotcs-battlepass .bp-hero--minimal .bp-hero__subtitle { font-size: 9px; }
    #hotcs-battlepass .bp-hero--minimal .bp-hero__stats { font-size: 8px; }
    #hotcs-battlepass .bp-ribbon-pagination__range { width: auto; }
    #hotcs-battlepass .bp-image-picker__gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #hotcs-battlepass .bp-image-picker__current { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
    #hotcs-battlepass .bp-image-picker__preview { width: 82px; height: 85px; }
}
@media (max-width: 375px) {
    #hotcs-battlepass .bp-hero { padding: 22px 17px; }
    #hotcs-battlepass .bp-hero__title { font-size: 25px; }
    #hotcs-battlepass .bp-hero__eyebrow .bp-pill { font-size: 8px; }
    #hotcs-battlepass .bp-hero__actions .bp-btn { flex: 1 1 100%; }
    #hotcs-battlepass .bp-hero__stats { gap: 10px 15px; }
    #hotcs-battlepass .bp-admin-nav > button { flex-basis: 50%; font-size: 9px; }
    #hotcs-battlepass .bp-ribbon-labels { flex-basis: 70px; width: 70px; }
    #hotcs-battlepass .bp-card { padding: 16px; }
    #hotcs-battlepass .bp-task { grid-template-columns: 68px minmax(0, 1fr); padding: 16px; gap: 15px 13px; }
    #hotcs-battlepass .bp-task__visual::before { width: 65px; height: 65px; }
    #hotcs-battlepass .bp-task__art { width: 79px; }
}
@media (max-width: 320px) {
    #hotcs-battlepass .bp-hero { padding: 20px 14px; }
    #hotcs-battlepass .bp-hero__title { font-size: 23px; }
    #hotcs-battlepass .bp-hero__eyebrow { gap: 5px; }
    #hotcs-battlepass .bp-pill { font-size: 8px; padding: 5px 6px; }
    #hotcs-battlepass .bp-card { padding: 15px; }
    #hotcs-battlepass .bp-modal__inner { padding: 22px 15px; }
    #hotcs-battlepass .bp-pack-list { grid-template-columns: minmax(0, 1fr); }
    #hotcs-battlepass .bp-pack-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    #hotcs-battlepass *, #hotcs-battlepass *::before, #hotcs-battlepass *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    #hotcs-battlepass .bp-reward-preview__image { transform: none !important; }
}

/* Halloween lives inside the public module; HOTCS and administration stay native. */
#hotcs-battlepass[data-theme="halloween"] {
    --bp-base: #120d15;
    --bp-surface: #1b1421;
    --bp-ink: #fff0d8;
    --bp-muted: #b4a6b5;
    --bp-action: #ff7a2b;
    --bp-gold: #ffd075;
    --bp-premium: #c8a6ef;
    --bp-line: rgba(215, 181, 226, .12);
    --bp-soft: rgba(234, 206, 246, .035);
    --bp-pumpkin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 8c-1-3 1-5 3-6' fill='none' stroke='%23ffb467' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M16 9C6 3 1 14 5 23c2 5 7 6 11 4 4 2 9 1 11-4 4-9-1-20-11-14Z' fill='%23ff7a2b'/%3E%3Cpath d='m9 14 5 4H8Zm14 0-5 4h6ZM8 21l5 1 3-2 3 2 5-1-4 5h-8Z' fill='%23170d1c'/%3E%3C/svg%3E");
    --bp-bat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24'%3E%3Cpath d='m18 8-2-5 4 2 4-2-2 5c6-6 11-6 17-7-2 4-2 8 1 12-4-2-7-1-8 3-5-2-8 0-12 7-4-7-7-9-12-7-1-4-4-5-8-3 3-4 3-8 1-12 6 1 11 1 17 7Z' fill='%23c8a6ef'/%3E%3C/svg%3E");
    --bp-candy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='m5 10 8 3-3 8-8 2 2-7-2-4Zm22 12-8-3 3-8 8-2-2 7 2 4Z' fill='%23c8a6ef'/%3E%3Crect x='10' y='8' width='12' height='16' rx='5' transform='rotate(-35 16 16)' fill='%23ffac66'/%3E%3Cpath d='m10 13 12 4m-13 1 11 4' stroke='%23fff0d8' stroke-width='2'/%3E%3C/svg%3E");
}

/* The generated Inferno scene is a complete backdrop, rather than a cutout. */
#hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal {
    min-height: 310px;
    padding: 27px 34px;
    border: 1px solid rgba(255, 143, 70, .17);
    border-radius: 17px;
    background: #160f1b;
    box-shadow: inset 0 1px rgba(255, 211, 172, .035);
}
#hotcs-battlepass[data-theme="halloween"] .bp-hero__image {
    z-index: 0;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    opacity: 1;
    filter: none;
    -webkit-mask-image: none;
    mask-image: none;
}
#hotcs-battlepass[data-theme="halloween"] .bp-hero::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(16, 10, 20, .86), rgba(16, 10, 20, .63) 32%, rgba(16, 10, 20, .1) 62%, transparent 80%), linear-gradient(0deg, rgba(16, 10, 20, .64), transparent 42%);
}
#hotcs-battlepass[data-theme="halloween"] .bp-hero::after {
    z-index: 1;
    background: radial-gradient(ellipse at 80% 112%, rgba(255, 110, 21, .2), transparent 57%);
    opacity: .7;
}
#hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__content { width: 63%; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__title { margin-bottom: 10px; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__wordmark {
    width: min(100%, 410px);
    max-height: 140px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 4px 15px rgba(4, 0, 8, .62));
}
#hotcs-battlepass[data-theme="halloween"] .bp-hero__season { gap: 10px; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__season > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #ffb776; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__season > span:first-child::before { content: ''; flex: 0 0 17px; width: 17px; height: 17px; background: var(--bp-pumpkin-icon) center / contain no-repeat; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__subtitle { max-width: 47ch; color: #e1ccbc; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__stats { color: #c8b9c8; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal #bp-countdown { color: #f2dcc6; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__actions .bp-btn--ghost { background: rgba(21, 13, 27, .62); border-color: rgba(235, 206, 226, .19); }
#hotcs-battlepass[data-theme="halloween"] .bp-btn--primary { color: #231009; }
#hotcs-battlepass[data-theme="halloween"] .bp-btn--primary:hover { border-color: #ffc58e; }
#hotcs-battlepass[data-theme="halloween"] .bp-btn--gold { color: var(--bp-premium); border-color: rgba(200, 166, 239, .32); background: rgba(200, 166, 239, .07); }
#hotcs-battlepass[data-theme="halloween"] .bp-account { border-color: rgba(214, 176, 227, .12); background: linear-gradient(100deg, rgba(157, 102, 193, .055), transparent 65%), var(--bp-surface); }

/* Warm ordinary rewards and a restrained violet Premium track. */
#hotcs-battlepass[data-theme="halloween"] .bp-tabs { border-color: rgba(217, 175, 235, .16); }
#hotcs-battlepass[data-theme="halloween"] .bp-tab { background: rgba(225, 197, 239, .025); }
#hotcs-battlepass[data-theme="halloween"] .bp-tab:hover { border-color: rgba(228, 190, 245, .25); background: rgba(207, 159, 232, .065); }
#hotcs-battlepass[data-theme="halloween"] .bp-tab.is-active { border-color: #ff9b54; color: #241007; background: linear-gradient(120deg, #ffae61, #ff7a2b); box-shadow: 0 3px 16px rgba(255, 122, 43, .13), inset 0 1px rgba(255, 224, 175, .3); }
#hotcs-battlepass[data-theme="halloween"] .bp-tab[data-tab="rewards"] .bp-tab__icon svg { display: none; }
#hotcs-battlepass[data-theme="halloween"] .bp-tab[data-tab="rewards"] .bp-tab__icon::after { content: ''; width: 21px; height: 21px; background: var(--bp-candy-icon) center / contain no-repeat; }
#hotcs-battlepass[data-theme="halloween"] .bp-tab[data-tab="rewards"].is-active .bp-tab__icon::after { filter: brightness(0); opacity: .86; }
#hotcs-battlepass[data-theme="halloween"] .bp-section-head { border-color: rgba(255, 147, 82, .16); background: linear-gradient(100deg, rgba(255, 122, 43, .07), rgba(165, 111, 211, .025) 78%), var(--bp-surface); box-shadow: inset 3px 0 var(--bp-action); }
#hotcs-battlepass[data-theme="halloween"] .bp-section-head__icon { border-color: rgba(255, 145, 69, .28); background: rgba(255, 122, 43, .065); }
#hotcs-battlepass[data-theme="halloween"] .bp-section-head__icon svg { display: none; }
#hotcs-battlepass[data-theme="halloween"] .bp-section-head__icon::after { content: ''; width: 27px; height: 27px; background: var(--bp-pumpkin-icon) center / contain no-repeat; }
#hotcs-battlepass[data-theme="halloween"]:has(.bp-tab[data-tab="tasks"].is-active) .bp-section-head__icon::after { width: 29px; background-image: var(--bp-bat-icon); }
#hotcs-battlepass[data-theme="halloween"]:has(.bp-tab[data-tab="inventory"].is-active) .bp-section-head__icon::after { background-image: var(--bp-candy-icon); }
#hotcs-battlepass[data-theme="halloween"]:has(.bp-tab[data-tab="rating"].is-active) .bp-section-head__icon svg { display: block; }
#hotcs-battlepass[data-theme="halloween"]:has(.bp-tab[data-tab="rating"].is-active) .bp-section-head__icon::after { display: none; }
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon { border-color: rgba(222, 155, 119, .24); background: radial-gradient(ellipse at 25% 0, rgba(255, 122, 43, .07), transparent 60%), radial-gradient(ellipse at 80% 100%, rgba(177, 125, 222, .09), transparent 67%), var(--bp-surface); }
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-labels { background: #1b1421; }
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-label > span { font-size: 0; line-height: 1; }
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-label > span::before { content: ''; display: block; width: 23px; height: 23px; background: var(--bp-pumpkin-icon) center / contain no-repeat; }
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-label--premium { border-top-color: rgba(200, 166, 239, .22); color: var(--bp-premium); }
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-label--premium strong { color: var(--bp-premium); }
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-label--premium > span::before { width: 27px; background-image: var(--bp-bat-icon); }
#hotcs-battlepass[data-theme="halloween"] .bp-level__number > span { border-color: rgba(255, 153, 85, .27); background: #281927; }
#hotcs-battlepass[data-theme="halloween"] .bp-level > .bp-level__number::before { background: linear-gradient(90deg, rgba(242, 172, 122, .11), rgba(242, 172, 122, .25), rgba(242, 172, 122, .11)); }
#hotcs-battlepass[data-theme="halloween"] .bp-reward { background: radial-gradient(ellipse at 50% 34%, rgba(var(--bp-reward-rgb), .14), transparent 70%), linear-gradient(150deg, #281c24, #17121b); }
#hotcs-battlepass[data-theme="halloween"] .bp-reward--premium { border-top-color: rgba(200, 166, 239, .38); background: radial-gradient(ellipse at 50% 34%, rgba(var(--bp-reward-rgb), .13), transparent 72%), linear-gradient(150deg, #2b1b34, #18131e); box-shadow: inset 0 1px rgba(200, 166, 239, .13); }
#hotcs-battlepass[data-theme="halloween"] .bp-reward--premium::before { content: ''; position: absolute; z-index: 2; top: 9px; left: 9px; width: 20px; height: 13px; background: var(--bp-bat-icon) center / contain no-repeat; opacity: .65; pointer-events: none; }
#hotcs-battlepass[data-theme="halloween"] .bp-reward--premium .bp-reward__badge { color: var(--bp-premium); border-color: rgba(200, 166, 239, .38); background: rgba(19, 11, 25, .6); }
#hotcs-battlepass[data-theme="halloween"] .bp-reward__badge { background: rgba(19, 11, 25, .65); }
#hotcs-battlepass[data-theme="halloween"] .bp-reward.is-selected,
#hotcs-battlepass[data-theme="halloween"] .bp-reward[aria-pressed="true"] { border-color: var(--bp-action); background: radial-gradient(ellipse at 50% 30%, rgba(var(--bp-reward-rgb), .13), transparent 70%), linear-gradient(150deg, #39201e, #221321); box-shadow: inset 0 0 0 1px var(--bp-action), 0 0 18px rgba(255, 122, 43, .08); }
#hotcs-battlepass[data-theme="halloween"] .bp-reward--empty { background: rgba(10, 7, 15, .18); }
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-pagination { background: rgba(16, 10, 23, .2); }
#hotcs-battlepass[data-theme="halloween"] .bp-page { border-color: rgba(213, 173, 236, .19); background: #231829; color: #d4c0dc; }
#hotcs-battlepass[data-theme="halloween"] .bp-page:hover:not(:disabled) { border-color: rgba(255, 163, 94, .6); background: rgba(255, 122, 43, .1); }
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-note > span:nth-child(2) { color: var(--bp-premium); }
#hotcs-battlepass[data-theme="halloween"] .bp-reward-preview { background: radial-gradient(ellipse at 15% 45%, rgba(var(--bp-preview-rgb), .11), transparent 63%), linear-gradient(135deg, #251829, #1b1421 70%); }
#hotcs-battlepass[data-theme="halloween"] .bp-reward-preview__visual::before { border-color: rgba(var(--bp-preview-rgb), .18); box-shadow: 0 0 0 13px rgba(var(--bp-preview-rgb), .025), 0 0 48px rgba(var(--bp-preview-rgb), .055); }
#hotcs-battlepass[data-theme="halloween"] .bp-pill--premium { color: var(--bp-premium); border-color: rgba(200, 166, 239, .3); background: rgba(200, 166, 239, .08); }

/* Seasonal silhouettes sit behind the original CS artwork and event emblems. */
#hotcs-battlepass[data-theme="halloween"] .bp-task { --bp-task-rgb: 255, 145, 75; background: radial-gradient(ellipse at 9% 25%, rgba(var(--bp-task-rgb), .1), transparent 62%), linear-gradient(135deg, #251a28, var(--bp-surface)); }
#hotcs-battlepass[data-theme="halloween"] .bp-task--precision { --bp-task-rgb: 175, 143, 234; }
#hotcs-battlepass[data-theme="halloween"] .bp-task--time { --bp-task-rgb: 127, 193, 180; }
#hotcs-battlepass[data-theme="halloween"] .bp-task--victory { --bp-task-rgb: 255, 198, 100; }
#hotcs-battlepass[data-theme="halloween"] .bp-task--premium { border-top-color: rgba(200, 166, 239, .38); }
#hotcs-battlepass[data-theme="halloween"] .bp-task::before { inset: 18px 22px auto auto; width: 96px; height: 60px; opacity: .065; background: var(--bp-bat-icon) center / contain no-repeat; }
#hotcs-battlepass[data-theme="halloween"] .bp-task:nth-child(3n)::before { width: 71px; height: 71px; background-image: var(--bp-pumpkin-icon); }
#hotcs-battlepass[data-theme="halloween"] .bp-task__emblem { background: #2a1b30; }
#hotcs-battlepass[data-theme="halloween"] .bp-task__goal { color: #d0bfcf; }
#hotcs-battlepass[data-theme="halloween"] .bp-task__reward--tokens { color: #dbc5eb; border-color: rgba(200, 166, 239, .21); background: rgba(200, 166, 239, .045); }
#hotcs-battlepass[data-theme="halloween"] .bp-inventory-empty { background: radial-gradient(ellipse at 20% 60%, rgba(184, 125, 226, .08), transparent 65%), var(--bp-surface); }
#hotcs-battlepass[data-theme="halloween"] .bp-inventory-empty__visual::before { border-color: rgba(200, 166, 239, .22); background: radial-gradient(circle, rgba(200, 166, 239, .1), transparent 70%); }
#hotcs-battlepass[data-theme="halloween"] .bp-inventory-filter[aria-pressed="true"] { color: #ffc496; border-color: rgba(255, 145, 67, .46); background: rgba(255, 122, 43, .09); }
#hotcs-battlepass[data-theme="halloween"] .bp-modal { border-color: rgba(200, 166, 239, .24); background: #211628; }
#hotcs-battlepass[data-theme="halloween"] .bp-modal::backdrop { background: rgba(12, 7, 17, .82); }
#hotcs-battlepass[data-theme="halloween"] .bp-premium__symbol { filter: drop-shadow(0 4px 14px rgba(164, 107, 219, .17)); }

@keyframes bp-halloween-lantern { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
@media (prefers-reduced-motion: no-preference) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero::after { animation: bp-halloween-lantern 6s ease-in-out infinite; }
}
@media (min-width: 1440px) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal { min-height: 318px; }
}
@media (max-width: 1024px) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal { padding: 27px 28px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__wordmark { width: min(100%, 375px); }
}
@media (max-width: 768px) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal { min-height: 315px; padding: 26px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__image { object-position: 64% 58%; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__content { width: 74%; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero::before { background: linear-gradient(90deg, rgba(16, 10, 20, .88), rgba(16, 10, 20, .67) 43%, rgba(16, 10, 20, .1)), linear-gradient(0deg, rgba(16, 10, 20, .58), transparent 58%); }
}
@media (max-width: 520px) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal { min-height: 382px; padding: 22px 20px; align-items: flex-start; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__content { width: 100%; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__wordmark { width: min(100%, 330px); max-height: 118px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__image { object-position: 100% 60%; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero::before { background: linear-gradient(180deg, rgba(16, 10, 20, .83), rgba(16, 10, 20, .61) 53%, rgba(16, 10, 20, .1)), linear-gradient(90deg, rgba(16, 10, 20, .4), transparent 75%); }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero::after { background: radial-gradient(ellipse at 78% 113%, rgba(255, 110, 21, .24), transparent 58%); }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__subtitle { max-width: 36ch; font-size: 9px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__actions { max-width: 275px; margin-top: 15px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-section-head__icon::after { width: 24px; height: 24px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-ribbon-label > span::before { width: 20px; height: 20px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-ribbon-label--premium > span::before { width: 23px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-tab[data-tab="rewards"] .bp-tab__icon::after { width: 19px; height: 19px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-task::before { right: 17px; width: 78px; }
}
@media (max-width: 375px) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal { min-height: 394px; padding: 21px 17px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__wordmark { max-height: 109px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__season { font-size: 9px; gap: 8px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__actions .bp-btn { min-height: 34px; padding: 8px 10px; }
}

/* The season, centered controls and remaining time share the lower banner row. */
#hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-content: normal; gap: 18px; min-height: 326px; padding: 16px 30px; margin-bottom: 14px; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__image { object-position: 50% 36%; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__wordmark { width: min(100%, 570px); max-height: none; height: auto; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__title { margin-bottom: 6px; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__footer { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; width: 100%; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__season { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; margin: 0; font-size: 10px; line-height: 1.5; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__season > span:last-child { padding-left: 24px; color: #bcaaa5; font-size: 9px; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__stats { display: block; margin: 0; text-align: right; font-size: 9px; line-height: 1.5; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__stats > span { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal #bp-countdown { display: block; color: #efdbc7; font-size: 10px; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero__actions { position: relative; z-index: 3; left: auto; bottom: auto; transform: none; width: 100%; max-width: none; justify-content: center; margin: 0; }
#hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__actions { max-width: none; margin-top: 0; }
@media (max-width: 768px) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal { min-height: 292px; padding: 18px 24px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__image { object-position: 64% 58%; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__wordmark { width: min(100%, 470px); }
}
@media (max-width: 520px) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal { min-height: 0; padding: 18px 20px 180px; gap: 10px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__wordmark { width: min(100%, 360px); }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__image { inset: auto 0 0; height: 166px; object-fit: cover; object-position: 100% 60%; }
}
@media (max-width: 680px) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__season { grid-column: 1; grid-row: 1; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__stats { grid-column: 2; grid-row: 1; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero__actions { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 375px) {
    #hotcs-battlepass[data-theme="halloween"] .bp-hero.bp-hero--minimal { padding: 18px 17px 180px; }
    #hotcs-battlepass[data-theme="halloween"] .bp-hero--minimal .bp-hero__actions .bp-btn { padding: 8px 7px; white-space: nowrap; }
}

/* Persisted plugin state: compact counters and native accessible progress. */
#hotcs-battlepass .bp-plugin-status { display: block; max-width: 100%; color: var(--bp-muted); font-size: 9px; line-height: 1.7; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-player-progress { display: grid; gap: 7px; }
#hotcs-battlepass .bp-player-progress .bp-pill { justify-self: start; }
#hotcs-battlepass .bp-player-progress progress, #hotcs-battlepass progress.bp-task__progress { display: block; width: 100%; height: 5px; padding: 0; border: 0; border-radius: 5px; appearance: none; overflow: hidden; background: var(--bp-soft); accent-color: var(--bp-accent); }
#hotcs-battlepass .bp-player-progress progress::-webkit-progress-bar, #hotcs-battlepass progress.bp-task__progress::-webkit-progress-bar { background: var(--bp-soft); border-radius: 5px; }
#hotcs-battlepass .bp-player-progress progress::-webkit-progress-value, #hotcs-battlepass progress.bp-task__progress::-webkit-progress-value { background: #ff8a2e; border-radius: 5px; }
#hotcs-battlepass .bp-player-progress progress::-moz-progress-bar, #hotcs-battlepass progress.bp-task__progress::-moz-progress-bar { background: #ff8a2e; border-radius: 5px; }
#hotcs-battlepass .bp-task__part { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 6px 0; color: var(--bp-muted); font-size: 9px; line-height: 1.6; }
#hotcs-battlepass .bp-task__part > span { min-width: 0; overflow-wrap: anywhere; }
#hotcs-battlepass .bp-task__part > strong { flex-shrink: 0; color: var(--bp-text); font-size: 9px; font-variant-numeric: tabular-nums; }
#hotcs-battlepass .bp-rating-table .bp-table { min-width: 500px; }

/* Quiet track labels. Append after the module/theme rules.
   Geometry remains owned by the existing 112 / 92 / 77 / 70 px ribbon layout. */
#hotcs-battlepass .bp-ribbon-grid > .bp-ribbon-labels {
    background: transparent;
    box-shadow: none;
}

#hotcs-battlepass .bp-ribbon-labels > .bp-level__number {
    justify-content: flex-start;
    padding-right: 8px;
    padding-left: 8px;
    color: #baafa5;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
}

#hotcs-battlepass .bp-ribbon-labels > .bp-ribbon-label {
    --bp-label-accent: #dc9a68;
    --bp-label-edge: rgba(220, 154, 104, .28);
    min-width: 0;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    border: 1px solid rgba(239, 215, 191, .055);
    border-left: 2px solid var(--bp-label-edge);
    border-radius: 7px;
    color: #b8aca3;
    background: rgba(18, 12, 9, .26);
    box-shadow: inset 0 1px rgba(239, 215, 191, .025);
    line-height: 1.5;
    text-align: left;
}

#hotcs-battlepass .bp-ribbon-labels > .bp-ribbon-label--premium {
    --bp-label-accent: #baa5cd;
    --bp-label-edge: rgba(186, 165, 205, .28);
}

#hotcs-battlepass .bp-ribbon-labels .bp-ribbon-label > span {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 17px;
    color: var(--bp-label-accent);
    font-size: 15px;
    line-height: 1;
    opacity: .8;
}

#hotcs-battlepass .bp-ribbon-labels .bp-ribbon-label strong {
    display: block;
    max-width: 100%;
    color: #e1d2c5;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
}

#hotcs-battlepass .bp-ribbon-labels .bp-ribbon-label--premium strong {
    color: #d0bfdc;
}

#hotcs-battlepass .bp-ribbon-labels .bp-ribbon-label small {
    display: block;
    max-width: 100%;
    color: #b8aca3;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}

/* Reuse the existing Halloween artwork at the scale of a track marker. */
#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-labels .bp-ribbon-label > span {
    font-size: 0;
}

#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-labels .bp-ribbon-label > span::before {
    width: 15px;
    height: 15px;
}

#hotcs-battlepass[data-theme="halloween"] .bp-ribbon-labels .bp-ribbon-label--premium > span::before {
    width: 19px;
    height: 13px;
}

@media (max-width: 768px) {
    #hotcs-battlepass .bp-ribbon-labels > .bp-level__number {
        padding-right: 7px;
        padding-left: 7px;
    }
    #hotcs-battlepass .bp-ribbon-labels > .bp-ribbon-label {
        padding-right: 7px;
        padding-left: 7px;
    }
}

@media (max-width: 520px) {
    #hotcs-battlepass .bp-ribbon-labels > .bp-level__number {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 9px;
    }
    #hotcs-battlepass .bp-ribbon-labels > .bp-ribbon-label {
        gap: 6px;
        padding-right: 4px;
        padding-left: 4px;
        border-radius: 6px;
    }
    #hotcs-battlepass .bp-ribbon-labels .bp-ribbon-label strong {
        font-size: 10px;
    }
}

@media (max-width: 375px) {
    #hotcs-battlepass .bp-ribbon-labels > .bp-level__number,
    #hotcs-battlepass .bp-ribbon-labels > .bp-ribbon-label {
        padding-right: 4px;
        padding-left: 3px;
    }
    #hotcs-battlepass .bp-ribbon-labels .bp-ribbon-label strong {
        font-size: 9px;
    }
}

/* Static web corners sit behind the reward contents; they never capture clicks. */
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon {
    position: relative;
    isolation: isolate;
    border-color: rgba(214, 135, 83, .3);
    background: radial-gradient(ellipse at 0 0, rgba(255, 126, 44, .13), transparent 47%), radial-gradient(ellipse at 100% 100%, rgba(155, 113, 190, .12), transparent 48%), #19111c;
    box-shadow: inset 0 1px rgba(255, 204, 159, .07), 0 10px 30px rgba(0, 0, 0, .16);
}
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon::before,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon::after {
    content: '';
    position: absolute;
    z-index: 0;
    width: 240px;
    height: 240px;
    background: url('../img/halloween-corner-web-20261004.svg') center / contain no-repeat;
    opacity: .32;
    pointer-events: none;
}
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon::before { top: 0; left: 0; }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon::after { right: 0; bottom: 0; transform: rotate(180deg); opacity: .25; }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon__scroll { z-index: 1; padding-top: 26px; padding-bottom: 24px; }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon-pagination { position: relative; z-index: 1; background: rgba(13, 8, 17, .35); }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-level > .bp-level__number > span { border-radius: 8px; border-color: rgba(255, 152, 89, .32); color: #f2d8bb; background: #251721; box-shadow: 0 0 0 4px #19111c, inset 0 1px rgba(255, 214, 174, .06); }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-level:focus-within > .bp-level__number > span,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-level:has(.bp-reward:hover) > .bp-level__number > span { border-color: #ff9f5c; color: #ffdcab; box-shadow: 0 0 0 4px #19111c, 0 0 14px rgba(255, 126, 44, .2); }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward { border-radius: 9px; box-shadow: inset 0 1px rgba(255, 230, 203, .045); }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward.is-selected,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #ff8f43, 0 0 20px rgba(255, 116, 30, .15); }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward-preview {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: rgba(var(--bp-preview-rgb), .31);
    background: radial-gradient(ellipse at 16% 48%, rgba(var(--bp-preview-rgb), .13), transparent 62%), linear-gradient(125deg, #251821, #17121d 75%);
}
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward-preview::before,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward-preview::after {
    content: '';
    position: absolute;
    z-index: 0;
    width: 170px;
    height: 170px;
    background: url('../img/halloween-corner-web-20261004.svg') center / contain no-repeat;
    opacity: .24;
    pointer-events: none;
}
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward-preview::before { top: 0; left: 0; }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward-preview::after { right: 0; bottom: 0; transform: rotate(180deg); opacity: .17; }
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward-preview__visual,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward-preview__content { position: relative; z-index: 1; }
@media (max-width: 520px) {
    #hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon::before,
    #hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon::after { width: 165px; height: 165px; opacity: .25; }
    #hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward-preview::before,
    #hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-reward-preview::after { width: 125px; height: 125px; opacity: .2; }
}

/* Public Halloween surfaces: static edge decoration and clear control states.
   Append after the module/theme CSS. Hero and reward-track geometry are untouched. */

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-account {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: rgba(210, 175, 215, .18);
    background: linear-gradient(110deg, rgba(239, 150, 85, .055), transparent 48%, rgba(169, 128, 193, .055)), #1c141e;
    box-shadow: inset 0 1px rgba(245, 209, 174, .045);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-account::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    opacity: .16;
    pointer-events: none;
    background: url('../img/halloween-corner-web-20261004.svg') top left / contain no-repeat;
    transform: rotate(90deg);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-account .bp-pill:not(.bp-pill--premium) {
    color: #e2c3a5;
    border-color: rgba(232, 166, 111, .19);
    background: rgba(239, 150, 85, .05);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-account > .bp-btn--ghost {
    color: #ddcadd;
    border-color: rgba(202, 171, 220, .21);
    background: rgba(145, 106, 163, .045);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-account > .bp-btn--ghost:hover {
    color: #f3dfcc;
    border-color: rgba(237, 172, 114, .36);
    background: rgba(239, 150, 85, .075);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-tabs {
    border-color: rgba(213, 166, 134, .2);
    background: linear-gradient(100deg, #21171e, #1c1420);
    box-shadow: inset 0 1px rgba(245, 209, 174, .045);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-tab {
    color: #c8b7c5;
    background: rgba(213, 183, 225, .025);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-tab:hover {
    color: #f1dfcc;
    border-color: rgba(237, 172, 114, .25);
    background: rgba(239, 150, 85, .065);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-tab.is-active,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-tab[aria-selected="true"] {
    color: #281409;
    border-color: #e7a062;
    background: linear-gradient(120deg, #edb273, #e68c46);
    box-shadow: inset 0 1px rgba(255, 232, 190, .28), 0 2px 10px rgba(222, 111, 39, .1);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-section-head {
    border-color: rgba(223, 158, 110, .2);
    background: linear-gradient(105deg, rgba(227, 131, 68, .065), transparent 55%, rgba(177, 133, 201, .04)), #1c141e;
    box-shadow: inset 2px 0 #c78250, inset 0 1px rgba(245, 209, 174, .035);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-section-head__icon {
    border-color: rgba(231, 162, 107, .25);
    background: rgba(229, 141, 78, .055);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon-pagination {
    border-top-color: rgba(217, 168, 126, .15);
    background: linear-gradient(100deg, rgba(112, 69, 40, .075), rgba(106, 75, 127, .05));
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-page {
    color: #cebecf;
    border-color: rgba(197, 167, 214, .2);
    background: #261b2a;
    box-shadow: inset 0 1px rgba(236, 208, 249, .025);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-page:hover:not(:disabled) {
    color: #f3dfcc;
    border-color: rgba(232, 163, 107, .48);
    background: #342121;
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-page[aria-current="page"] {
    color: #281409;
    border-color: #e7a062;
    background: #eaa365;
    box-shadow: inset 0 1px rgba(255, 232, 190, .22);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-task-filters .bp-btn,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-inventory-filter {
    color: #cdbbc9;
    border-color: rgba(194, 164, 209, .19);
    background: #211723;
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-task-filters .bp-btn:hover,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-inventory-filter:hover {
    color: #f1dfcc;
    border-color: rgba(232, 163, 107, .36);
    background: #2c1d25;
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-task-filters .bp-btn[aria-pressed="true"],
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-inventory-filter[aria-pressed="true"] {
    color: #f4c698;
    border-color: rgba(234, 163, 101, .45);
    background: #34211f;
    box-shadow: inset 0 1px rgba(244, 188, 131, .07);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-task {
    border-color: rgba(var(--bp-task-rgb), .23);
    background: radial-gradient(ellipse at 7% 25%, rgba(var(--bp-task-rgb), .09), transparent 58%), linear-gradient(135deg, #261923, #1b1420);
    box-shadow: inset 0 1px rgba(235, 204, 177, .045);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-task__emblem {
    background: #261b2a;
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-task__reward--xp {
    color: #edc393;
    border-color: rgba(227, 165, 106, .21);
    background: rgba(225, 139, 76, .055);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-inventory-empty,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-empty {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: rgba(199, 165, 211, .21);
    background: radial-gradient(ellipse at 14% 68%, rgba(212, 127, 66, .055), transparent 58%), linear-gradient(125deg, #241823, #1a1320);
    box-shadow: inset 0 1px rgba(235, 204, 177, .04);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-inventory-empty::after,
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-empty::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    opacity: .18;
    pointer-events: none;
    background: url('../img/halloween-corner-web-20261004.svg') top left / contain no-repeat;
    transform: rotate(90deg);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-empty::after {
    width: 130px;
    height: 130px;
    opacity: .15;
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-empty__icon {
    color: #d49e73;
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-empty--error {
    border-color: rgba(255, 141, 107, .3);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-rating-table .bp-table-wrap {
    border-color: rgba(199, 165, 211, .2);
    background: #1c141f;
    scrollbar-color: #74536a #1a121d;
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-rating-table .bp-table-wrap::-webkit-scrollbar-thumb {
    background: #74536a;
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-rating-table .bp-table th {
    color: #d4bdaa;
    border-bottom-color: rgba(221, 164, 117, .17);
    background: #251a23;
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-rating-table .bp-table td {
    border-bottom-color: rgba(204, 175, 216, .085);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-rating-table .bp-table tbody tr:hover {
    background: rgba(234, 164, 100, .04);
}

#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-rating-table .bp-table tbody tr:nth-child(-n+3) td:first-child {
    color: #efb879;
}

@media (max-width: 520px) {
    #hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-account::after {
        width: 74px;
        height: 74px;
        opacity: .13;
    }
    #hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-inventory-empty::after,
    #hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-empty::after {
        width: 115px;
        height: 115px;
        opacity: .13;
    }
}

/* Keep the left corner web in the ribbon background and the row labels legible. */
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon {
    isolation: isolate;
}
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon::before {
    z-index: 0;
    opacity: .12;
}
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon__scroll {
    position: relative;
    z-index: 1;
    isolation: isolate;
}
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon-grid {
    position: relative;
    z-index: 1;
}
#hotcs-battlepass[data-view="public"][data-theme="halloween"] .bp-ribbon-labels > .bp-ribbon-label {
    background: #19111c;
}

/* Pack cards own their layout instead of inheriting HOTCS's horizontal button flex. */
#hotcs-battlepass[data-view="public"] .bp-pack-grid > .bp-pack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 24px 14px 20px;
    align-content: start;
    align-items: center;
    justify-items: start;
    gap: 6px;
    width: 100%;
    min-width: 0;
    height: auto;
    text-align: left;
}
#hotcs-battlepass[data-view="public"] .bp-pack-grid > .bp-pack > strong,
#hotcs-battlepass[data-view="public"] .bp-pack-grid > .bp-pack > span,
#hotcs-battlepass[data-view="public"] .bp-pack-grid > .bp-pack > b {
    min-width: 0;
    margin: 0;
}
#hotcs-battlepass[data-view="public"] .bp-pack-grid > .bp-pack > strong {
    line-height: 24px;
    font-variant-numeric: tabular-nums;
}
#hotcs-battlepass[data-view="public"] .bp-pack-grid > .bp-pack > span {
    line-height: 14px;
}
#hotcs-battlepass[data-view="public"] .bp-pack-grid > .bp-pack > b {
    line-height: 20px;
    font-variant-numeric: tabular-nums;
}

/* Actual player progress connects the level markers; decorative webs stay behind it. */
#hotcs-battlepass[data-view="public"] .bp-level > .bp-level__number::before { display: none; }
#hotcs-battlepass[data-view="public"] .bp-level__connector,
#hotcs-battlepass[data-view="public"] .bp-level__lead { position: absolute; z-index: 0; top: 50%; left: 50%; width: calc(100% + 7px); height: 3px; transform: translateY(-50%); border-radius: 3px; background: #3e2b35; pointer-events: none; }
#hotcs-battlepass[data-view="public"] .bp-level__lead { left: -4px; width: calc(50% + 4px); }
#hotcs-battlepass[data-view="public"] .bp-level:last-child .bp-level__connector { width: 50%; }
#hotcs-battlepass[data-view="public"] .bp-level:last-child .bp-level__connector > i { width: min(100%, calc(var(--bp-segment-fill, 0%) * 2)); }
#hotcs-battlepass[data-view="public"] .bp-level__connector > i,
#hotcs-battlepass[data-view="public"] .bp-level__lead > i { display: block; width: var(--bp-segment-fill, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff7339, #ffbb69); box-shadow: 0 0 9px rgba(255, 135, 56, .3); transition: width .35s ease; }
#hotcs-battlepass[data-view="public"] .bp-level > .bp-level__number > span { z-index: 1; }
#hotcs-battlepass[data-view="public"] .bp-level.is-complete > .bp-level__number > span { border-color: #dc834f; color: #ffc98f; background: #342024; }
#hotcs-battlepass[data-view="public"] .bp-level.is-current > .bp-level__number > span { color: #28130b; border-color: #ffb569; background: #ffa153; box-shadow: 0 0 0 4px #19111c, 0 0 16px rgba(255, 144, 64, .28); }

/* Premium remains inspectable, while its locked state is explicit. */
#hotcs-battlepass[data-view="public"] .bp-reward--locked .bp-reward__image { opacity: .42; filter: saturate(.3); }
#hotcs-battlepass[data-view="public"] .bp-reward--locked .bp-reward__aura { opacity: .2; }
#hotcs-battlepass[data-view="public"] .bp-reward--locked .bp-reward__sparkle { display: none; }
#hotcs-battlepass[data-view="public"] .bp-reward__lock { z-index: 3; width: 28px; height: 28px; border-color: rgba(200, 166, 239, .42); background: #251b30; color: #dbb9ff; }
#hotcs-battlepass[data-view="public"] .bp-reward__lock svg { width: 15px; height: 15px; }
#hotcs-battlepass[data-view="public"] .bp-reward-preview--locked .bp-reward-preview__facts > span:last-child { color: #dbb9ff; }
#hotcs-battlepass[data-view="public"] .bp-reward-preview__content > .bp-btn { max-width: 100%; white-space: normal; text-align: center; }
#hotcs-battlepass[data-view="public"] .bp-premium-cta { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 22px; padding: 22px 25px; border: 1px solid rgba(200, 166, 239, .25); border-radius: 14px; background: linear-gradient(110deg, rgba(153, 100, 199, .08), transparent 60%), #201521; }
#hotcs-battlepass[data-view="public"] .bp-premium-cta__icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(200, 166, 239, .23); border-radius: 12px; color: #dbb9ff; background: rgba(200, 166, 239, .055); }
#hotcs-battlepass[data-view="public"] .bp-premium-cta__icon svg { width: 26px; height: 26px; }
#hotcs-battlepass[data-view="public"] .bp-premium-cta h3 { font-size: 15px; line-height: 1.6; }
#hotcs-battlepass[data-view="public"] .bp-premium-cta p { margin-top: 4px; color: #baa5bb; font-size: 10px; line-height: 1.8; }
#hotcs-battlepass[data-view="public"] .bp-premium-cta > .bp-btn { white-space: normal; text-align: center; }

/* Mission icons stay beside their titles, including on narrow screens. */
#hotcs-battlepass[data-view="public"] .bp-task { grid-template-columns: 80px minmax(0, 1fr); }
#hotcs-battlepass[data-view="public"] .bp-task__visual { height: 80px; }
#hotcs-battlepass[data-view="public"] .bp-task__visual::before,
#hotcs-battlepass[data-view="public"] .bp-task__visual::after { display: none; }
#hotcs-battlepass[data-view="public"] .bp-task__art { width: 80px; max-width: 100%; height: 80px; border-radius: 16px; }
@media (max-width: 680px) {
    #hotcs-battlepass[data-view="public"] .bp-premium-cta { grid-template-columns: 40px minmax(0, 1fr); gap: 13px; padding: 18px; }
    #hotcs-battlepass[data-view="public"] .bp-premium-cta__icon { width: 40px; height: 40px; }
    #hotcs-battlepass[data-view="public"] .bp-premium-cta > .bp-btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 520px) {
    #hotcs-battlepass[data-view="public"] .bp-task { grid-template-columns: 56px minmax(0, 1fr); }
    #hotcs-battlepass[data-view="public"] .bp-task__visual,
    #hotcs-battlepass[data-view="public"] .bp-task__art { width: 56px; height: 56px; border-radius: 12px; }
    #hotcs-battlepass[data-view="public"] .bp-task__art svg { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    #hotcs-battlepass .bp-task__art svg { transition: none; transform: none; }
    #hotcs-battlepass[data-view="public"] .bp-level__connector > i,
    #hotcs-battlepass[data-view="public"] .bp-level__lead > i { transition: none; }
}
