/* MyCard October Halloween | v1.0.36 | 2026-09-29 */
html body#top#top#top .hero {
    position:relative!important;
    background:#21102f!important;
    overflow:hidden!important;
}
html body#top#top#top .hero-art {
    background:none!important;
    z-index:2!important;
}
html body#top#top#top .hero:not(.has-october-art) .hero-art { visibility:hidden!important; }
.halloween-fallback {
    position:absolute; inset:0; z-index:1;
    display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
    padding:5% 12%; color:#fff1e3;
    background:radial-gradient(ellipse at 80% 50%,#6c3288 0,transparent 46%),linear-gradient(120deg,#21102f,#351747);
}
.halloween-eyebrow { font-size:clamp(.65rem,1.2vw,1rem); letter-spacing:.22em; color:#ffb66e; font-weight:800; }
.halloween-fallback h1 { position:relative; z-index:1; max-width:65%; margin:16px 0; font-size:clamp(1.5rem,4vw,4rem); line-height:1.2; color:#fff1e3; text-shadow:none; }
.halloween-fallback p { position:relative; z-index:1; max-width:65%; font-size:clamp(.75rem,1.5vw,1.3rem); margin:0; color:#e6cfee; }
.halloween-pumpkin { position:absolute; right:12%; top:50%; transform:translateY(-50%) rotate(-8deg); font-size:clamp(4rem,15vw,15rem); filter:drop-shadow(0 20px 35px #12081d); }
.hero.has-october-art .halloween-fallback { visibility:hidden; }
/* Section ornaments replace the anniversary cake illustration. */
html body#top#top#top main > section.section:not(.inline-detail) { --board-accent:#54217b; --board-wash:rgba(84,33,123,.12); }
html body#top#top#top :focus-visible { outline:3px solid #d66c19!important; outline-offset:4px; }
@media(max-width:700px) {
    .halloween-fallback { padding:7% 7%; }
    .halloween-fallback h1 { margin:10px 0; max-width:68%; font-size:clamp(1.2rem,5.6vw,2rem); }
    .halloween-pumpkin { right:5%; font-size:24vw; }
}
/* Release: v1.0.0 | 2026-09-27 | October theme and localized missing-art fallback. */
/* Final cascade: replace the inherited anniversary section emblem and blue wash. */
html body#top#top#top#top#top#top {
    background:radial-gradient(ellipse at 10% 0%,#ede0f5,transparent 45%),linear-gradient(#f4eaf8,#fff3e6)!important;
}
html body#top#top#top#top#top#top:not(.inline-detail-standalone-mode) main > section.section:not(.inline-detail) {
    background:linear-gradient(135deg,#f4eaf8,#fff6ee)!important;
}
html body#top#top#top#top#top#top:not(.inline-detail-standalone-mode) main > section.section:not(.inline-detail):nth-of-type(even) {
    background:linear-gradient(135deg,#fff3e6,#f8effa)!important;
}

html body#top#top#top#top#top#top [class*="pagination"] button.is-active { background:#803bb0!important; }
/* Release: v1.0.0 | 2026-09-27 | Verified responsive Halloween palette. */

/* Restore the source-sized title icon in every homepage section. */
html body#top#top#top#top#top#top main > section > .section-heading .section-title-icon-frame { display:flex!important; }

/* Release: v1.0.1 | 2026-09-27 | Source refresh, pumpkin section icons and purple card actions. */

/* Release: v1.0.2 | 2026-09-27 | Refreshed red-envelope quick link and check-in artwork from source. */

/* Release: v1.0.3 | 2026-09-27 | Source image paths refreshed with verified missing-upload fallbacks. */

/* Release: v1.0.4 | 2026-09-27 | Social image fallback now uses verified October img paths. */

/* All modal backdrops follow the campaign takeover; navigation retains only its controls. */
html body#top#top#top#top#top#top.inline-detail-modal-mode main > #inlineDetail.inline-detail {
    background:var(--popup-backdrop-color)!important;
    -webkit-backdrop-filter:var(--popup-backdrop-filter)!important;
    backdrop-filter:var(--popup-backdrop-filter)!important;
}
html body#top#top#top .campaign-takeover__art {
    background:radial-gradient(circle at 50% 18%,rgba(255,174,67,.22),transparent 45%),linear-gradient(145deg,#21102f 0%,#54217b 58%,#803bb0 100%)!important;
}

/* Release: v1.0.5 | 2026-09-27 | Unified modal backdrop, transparent popup navigation and purple artwork panel. */

/* One continuous modal backdrop reaches the viewport bottom; keep the navigation card. */
html body#top#top#top#top#top#top > .popup-navigation-backdrop {
    display:none!important;
}
html body#top#top#top#top#top#top.campaign-takeover-open > .campaign-takeover,
html body#top#top#top#top#top#top.share-dialog-open > .share-dialog,
html body#top#top#top#top#top#top.register-claim-dialog-open > .register-claim-dialog,
html body#top#top#top#top#top#top.inline-detail-modal-mode main > #inlineDetail.inline-detail {
    bottom:0!important;
    padding-bottom:calc(var(--popup-nav-bottom) + 28px)!important;
}
html body#top#top#top#top#top#top.home-notice-open > #homeNotice.home-notice::before {
    bottom:0!important;
}
@media(max-width:768px) {
    html body#top#top#top#top#top#top.home-notice-open > #homeNotice.home-notice {
        bottom:0!important;
        padding-bottom:calc(var(--popup-nav-bottom) + 14px)!important;
    }
}

/* Release: v1.0.6 | 2026-09-27 | Restore navigation card and extend a single modal backdrop to the viewport bottom. */

/* Quick-link artwork is an uncropped illustration, not a circular avatar. */
html body#top#top#top#top#top#top [id="8icons"].quick-panel .has-icon,
html body#top#top#top#top#top#top [id="8icons"].quick-panel .has-icon > img {
    border-radius:0!important;
    overflow:visible!important;
    clip-path:none!important;
}
html body#top#top#top#top#top#top [id="8icons"].quick-panel .has-icon > img {
    object-fit:contain!important;
}

/* Release: v1.0.7 | 2026-09-27 | Show complete quick-link illustrations without circular cropping. */

/* Release: v1.0.8 | 2026-09-27 | Recover October Sheet edits and synchronize daily, weekly and full-month activities. */

/* Share one backdrop between the quick-menu surround and the first content part. */
html body#top#top#top#top#top#top:not(.inline-detail-standalone-mode) > main {
    background:linear-gradient(90deg,#f4eaf8,#fff6ee)!important;
}
html body#top#top#top#top#top#top:not(.inline-detail-standalone-mode) main > #limited.section,
html body#top#top#top#top#top#top:not(.inline-detail-standalone-mode) main:has(> #limited[hidden]) > #membertasks.section {
    background:transparent!important;
}

/* Release: v1.0.9 | 2026-09-27 | Connect the quick-menu surround and first content part with a shared backdrop. */

/* Release: v1.0.10 | 2026-09-28 | Upgrade all eight section mascot watermarks from v3 to verified v5 artwork. */

/* Release: v1.0.11 | 2026-09-29 | Refresh three UR prize images from the live October Sheet. */

/* Release: v1.0.12 | 2026-09-30 | Sync Halloween rewards, renamed invitation, October schedules and LINE STORE bonus from 43 live tabs. */

/* Release: v1.0.13 | 2026-09-30 | Sync limited-point subtitle dates from the live October Sheet in eight locales. */

/* Release: v1.0.14 | 2026-09-30 | Sync 48 October rush sessions, payment campaigns and first-top-up eligibility in eight locales. */

/* Release: v1.0.15 | 2026-09-30 | Sync AFTEE and Pi Wallet descriptions to 5 percent in eight locales. */

/* Release: v1.0.16 | 2026-09-30 | Sync October takeover dates and LINE mycard10 keyword in eight locales. */

/* Release: v1.0.17 | 2026-09-30 | Sync October EDM routes, fourteen top-up sessions, notices and quick entries. */

/* Release: v1.0.18 | 2026-09-30 | Sync social rewards, October birthdays, seven-day mystery tickets and navigation. */

/* Release: v1.0.19 | 2026-09-30 | Apply source A-and-B popup routing rules before page initialization. */

/* Release: v1.0.20 | 2026-09-30 | Refresh 114 source-popup rules including member-message campaigns. */

/* Release: v1.0.21 | 2026-09-30 | Match member-message rules against utm_campaign=msgpush. */

/* Release: v1.0.22 | 2026-09-30 | Sync LINE mycard20 keyword, rush subtitle and scheduled quick entries. */

/* Release: v1.0.36 | 2026-10-04 | Sync scheduled top-up shortcut and notification dot from October Sheet. */
