:root{
    --pop-ink:var(--theme-ink);
    --pop-purple:var(--theme-purple);
    --pop-purple-dark:var(--theme-purple-deep);
    --pop-teal:var(--theme-teal);
    --pop-pink:var(--theme-pink);
    --pop-orange:var(--theme-orange);
    --pop-cream:var(--theme-cream);
    --pop-white:var(--theme-raw-fff);
}

body{background:var(--pop-cream);color:var(--pop-ink);}
.pop-home{overflow:hidden;background:var(--pop-cream);}

.pop-hero{
    position:relative;
    padding:18px 0 34px;
    color:var(--theme-raw-fff);
    background:var(--theme-hero-background);
}
.pop-hero:after{
    content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;
    background:var(--theme-hero-texture);
    mask-image:linear-gradient(to bottom,var(--theme-raw-000),transparent 72%);
}
.pop-burst{position:absolute;border:4px solid var(--theme-raw-rgba-255-255-255-1-6e5bc0);transform:rotate(18deg);}
.pop-burst-a{width:260px;height:260px;right:-110px;top:30px;border-radius:38% 62% 54% 46%;}
.pop-burst-b{width:180px;height:180px;left:-90px;bottom:-40px;border-radius:50%;}
.pop-hero-shell{position:relative;z-index:2;display:grid;gap:18px;}
.pop-hero-copy{text-align:center;padding:8px 0 0;}
.pop-sticker{display:inline-block;padding:6px 10px;background:var(--pop-teal);color:var(--theme-raw-111);font-size:9px;font-weight:950;letter-spacing:.5px;transform:rotate(-2deg);box-shadow:4px 4px 0 var(--theme-raw-rgba-0-0-0-22-41d185);}
.pop-hero-copy h1{margin:13px auto 0;max-width:720px;font-family:"Arial Narrow","Segoe UI",Arial,sans-serif;font-size:clamp(42px,13vw,76px);line-height:.9;letter-spacing:-2px;font-style:italic;font-weight:950;text-shadow:4px 4px 0 var(--theme-raw-rgba-0-0-0-18-09884d);}
.pop-hero-copy h1 strong{display:block;color:var(--pop-teal);}
.pop-hero-copy p{max-width:520px;margin:13px auto 0;color:var(--theme-raw-eee5ff);font-size:14px;font-weight:750;line-height:1.45;}

.pop-feature{position:relative;display:block;max-width:760px;margin:0 auto;border:3px solid var(--theme-raw-101225);border-radius:18px;background:var(--theme-raw-fff);color:var(--theme-raw-111);text-decoration:none;box-shadow:8px 8px 0 var(--theme-raw-101225);transform:rotate(-.5deg);overflow:visible;}
.pop-feature-label{position:absolute;z-index:8;left:14px;top:-14px;padding:7px 12px;background:var(--theme-raw-ffea33);color:var(--theme-raw-111);font-size:11px;font-weight:950;transform:rotate(-3deg);box-shadow:3px 3px 0 var(--theme-raw-101225);}
.pop-feature-images{position:relative;display:grid;grid-template-columns:1fr 1fr;height:280px;overflow:hidden;border-radius:15px 15px 0 0;background:var(--theme-raw-19152b);}
.pop-fighter{position:relative;overflow:hidden;display:flex;align-items:flex-end;min-width:0;}
.pop-fighter:after{content:"";position:absolute;inset:auto 0 0;height:50%;background:linear-gradient(transparent,var(--theme-raw-rgba-0-0-0-82-40bf3c));}
.pop-fighter img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.pop-fighter b{position:relative;z-index:2;width:100%;padding:16px 14px;color:var(--theme-raw-fff);font-family:"Arial Narrow",Arial,sans-serif;font-size:23px;font-style:italic;font-weight:950;text-transform:uppercase;text-shadow:2px 2px 0 var(--theme-raw-000);}
.pop-right b{text-align:right;}
.pop-vs{position:absolute;z-index:5;left:50%;top:50%;display:grid;place-items:center;width:68px;height:68px;transform:translate(-50%,-50%) rotate(-6deg);border:4px solid var(--theme-raw-111);border-radius:18px;background:var(--pop-teal);color:var(--theme-raw-111);font-size:22px;font-weight:950;box-shadow:4px 4px 0 var(--theme-raw-rgba-0-0-0-38-fba052);}
.pop-feature-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;background:var(--theme-raw-fff);border-radius:0 0 15px 15px;font-size:10px;font-weight:900;}
.pop-feature-footer strong{padding:10px 14px;border-radius:8px;background:var(--pop-pink);color:var(--theme-raw-fff);font-size:11px;white-space:nowrap;}
.pop-feature-empty{padding:40px;text-align:center;}


.pop-quick-section{
    padding:26px 0 30px;
    background:
        radial-gradient(circle at 8% 20%,var(--theme-raw-rgba-91-32-200-12-152fa5),transparent 260px),
        var(--theme-raw-0b1023);
    color:var(--theme-raw-fff);
    border-top:1px solid var(--theme-raw-rgba-255-255-255-04-12b43a);
}
.pop-section-head{
    display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;
}
.pop-section-head>div{display:flex;align-items:center;gap:8px;}
.pop-section-head h2{
    margin:0;font-family:"Arial Narrow","Segoe UI",Arial,sans-serif;
    font-size:25px;line-height:1;font-style:italic;font-weight:950;letter-spacing:-.6px;
}
.pop-section-head a{
    color:var(--pop-teal);font-size:9px;font-weight:950;letter-spacing:.3px;text-decoration:none;
}
.pop-section-head a:after{content:"  →";}
.pop-quick-grid{
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;
}
.pop-quick-card{
    position:relative;min-width:0;height:112px;
    display:grid;grid-template-columns:1fr 34px 1fr;align-items:stretch;
    overflow:hidden;border:1px solid var(--theme-raw-48406e);border-radius:10px;
    background:var(--theme-raw-161b35);color:var(--theme-raw-fff);text-decoration:none;
    box-shadow:0 8px 18px var(--theme-raw-rgba-0-0-0-18-09884d);
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.pop-quick-card:hover{
    transform:translateY(-2px);border-color:var(--pop-teal);box-shadow:0 11px 24px var(--theme-raw-rgba-0-0-0-28-ca0b96);
}
.pop-quick-side{
    position:relative;min-width:0;height:112px;overflow:hidden;display:flex;align-items:flex-end;
}
.pop-quick-side:after{
    content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,var(--theme-raw-rgba-7-9-20-9-83dea8));
}
.pop-quick-side img{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .22s ease;
}
.pop-quick-card:hover .pop-quick-side img{transform:scale(1.035);}
.pop-quick-side b{
    position:relative;z-index:2;width:100%;padding:8px 7px;font-size:10px;
    font-weight:950;line-height:1.02;text-transform:uppercase;text-shadow:1px 1px 2px var(--theme-raw-000);
}
.pop-quick-vs{
    z-index:3;align-self:center;justify-self:center;display:grid;place-items:center;
    width:32px;height:32px;margin:0;border:2px solid var(--theme-raw-fff);border-radius:50%;
    background:var(--theme-raw-fff);color:var(--theme-raw-111225);font-size:10px;font-weight:950;
    box-shadow:0 0 0 4px var(--theme-raw-rgba-11-16-35-9-861660);
}
.pop-quick-arrow{display:none;}

.pop-lists-section{
    padding:31px 0 36px;
    background:linear-gradient(180deg,var(--theme-raw-0b1023) 0%,var(--theme-raw-0d1229) 100%);
    color:var(--theme-raw-fff);border-top:1px solid var(--theme-raw-rgba-255-255-255-05-44501a);
}
.pop-section-head-dark h2{color:var(--theme-raw-fff);}
.pop-head-note{
    display:block;color:var(--theme-raw-9299b4);font-size:9px;font-weight:900;letter-spacing:.25px;
}
.pop-filter{
    margin:-3px 0 15px;color:var(--theme-raw-858ca8);font-size:9px;font-weight:900;
}
.pop-filter strong{color:var(--pop-teal);}
.pop-list-grid{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;align-items:start;grid-auto-rows:max-content;
}
.pop-list-card{
    align-self:start;min-width:0;height:auto;overflow:hidden;
    border:1px solid var(--theme-raw-535a79);border-radius:10px;background:var(--theme-raw-151a31);
    box-shadow:0 8px 18px var(--theme-raw-rgba-0-0-0-18-09884d);
    transition:transform .18s ease,border-color .18s ease;
}
.pop-list-card:hover{transform:translateY(-2px);border-color:var(--theme-raw-7b82a4);}
.pop-list-main{
    position:relative;display:grid;grid-template-columns:minmax(0,1.22fr) minmax(112px,.78fr);
    min-height:142px;color:var(--theme-raw-fff);text-decoration:none;overflow:hidden;
}
.pop-list-main:after{
    content:"";position:absolute;inset:0;pointer-events:none;border-bottom:1px solid var(--theme-raw-rgba-255-255-255-13-0634c1);
}
.pop-tone-1 .pop-list-main{background:linear-gradient(110deg,var(--theme-raw-19bebc) 0 57%,var(--theme-raw-16233a) 57%);}
.pop-tone-2 .pop-list-main{background:linear-gradient(110deg,var(--theme-raw-ff6f35) 0 57%,var(--theme-raw-28203b) 57%);}
.pop-tone-3 .pop-list-main{background:linear-gradient(110deg,var(--theme-raw-8259df) 0 57%,var(--theme-raw-20183c) 57%);}
.pop-tone-4 .pop-list-main{background:linear-gradient(110deg,var(--theme-raw-f13d83) 0 57%,var(--theme-raw-2d1730) 57%);}
.pop-list-copy{
    position:relative;z-index:2;min-width:0;display:flex;flex-direction:column;
    justify-content:center;padding:16px 15px 15px;
}
.pop-list-copy small{
    margin-bottom:5px;color:var(--theme-raw-rgba-255-255-255-78-556568);font-size:7px;
    font-weight:950;letter-spacing:.55px;text-transform:uppercase;
}
.pop-list-copy strong{
    margin:0;color:var(--theme-raw-fff);font-family:"Arial Narrow","Segoe UI",Arial,sans-serif;
    font-size:23px;line-height:.9;font-style:italic;font-weight:950;
    letter-spacing:-.4px;text-transform:uppercase;text-shadow:1px 2px 0 var(--theme-raw-rgba-0-0-0-12-a6f872);
}
.pop-list-copy em{
    margin-top:9px;color:var(--theme-raw-rgba-255-255-255-88-d0d52e);font-size:8px;font-style:normal;font-weight:950;
}
.pop-list-art{
    position:relative;overflow:hidden;display:grid;place-items:center;min-width:0;background:var(--theme-raw-11172c);
}
.pop-list-art:before{display:none;}
.pop-list-art:after{
    content:"";position:absolute;inset:0;z-index:2;
    background:linear-gradient(90deg,var(--theme-raw-rgba-12-17-36-18-76d544),transparent 28%);pointer-events:none;
}
.pop-list-art img{
    position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;
}
.pop-list-art b{position:relative;z-index:3;color:var(--theme-raw-fff);font-size:42px;}
.pop-list-actions{
    display:grid;grid-template-columns:1fr 1fr;min-height:38px;background:var(--theme-raw-14192f);border-top:0;
}
.pop-list-actions a{
    display:flex;align-items:center;justify-content:flex-start;min-height:38px;
    padding:0 13px;color:var(--theme-raw-f5f6fb);text-decoration:none;font-size:8px;font-weight:950;letter-spacing:.2px;
}
.pop-list-actions a:after{
    content:"  →";margin-left:6px;color:var(--pop-teal);font-size:13px;line-height:1;
}
.pop-list-actions a+a{border-left:1px solid var(--theme-raw-414863);}
.pop-list-actions .pop-battle-btn{background:var(--theme-raw-181d35);color:var(--theme-raw-fff);}
.pop-list-actions .pop-battle-btn:after{display:none;}

.pop-create-section{padding:0 0 34px;background:var(--theme-raw-0d1229);}
.pop-create-card{
    position:relative;min-height:126px;overflow:hidden;
    display:grid;grid-template-columns:210px minmax(0,1fr) auto 150px;
    align-items:center;gap:22px;padding:18px 28px;
    border:1px solid var(--theme-raw-4a5272);border-radius:12px;
    background:
        radial-gradient(circle at 12% 50%,var(--theme-raw-rgba-32-215-207-18-348af5),transparent 140px),
        radial-gradient(circle at 92% 40%,var(--theme-raw-rgba-255-63-146-13-6affa1),transparent 160px),
        var(--theme-raw-11172e);
    color:var(--theme-raw-fff);text-align:left;box-shadow:none;
}
.pop-create-card:before{
    content:"?";position:relative;inset:auto;width:118px;height:82px;
    display:grid;place-items:center;justify-self:center;border-radius:54% 46% 50% 50%;
    background:var(--pop-teal);color:var(--theme-raw-101225);
    font-family:"Arial Narrow",Arial,sans-serif;font-size:54px;font-style:italic;font-weight:950;
    transform:rotate(-7deg);box-shadow:24px 18px 0 -2px var(--pop-pink);
}
.pop-create-star{
    position:absolute;right:28px;top:14px;color:var(--pop-teal);font-size:24px;transform:rotate(12deg);
}
.pop-create-card>div{min-width:0;}
.pop-create-card small{
    color:var(--pop-pink);font-size:8px;font-weight:950;letter-spacing:.35px;
}
.pop-create-card h2{
    margin:4px 0 0;color:var(--theme-raw-fff);font-family:"Arial Narrow","Segoe UI",Arial,sans-serif;
    font-size:31px;line-height:.92;font-style:italic;font-weight:950;letter-spacing:-.8px;
}
.pop-create-card p{
    margin:7px 0 0;color:var(--theme-raw-aeb4c8);font-size:10px;font-weight:700;
}
.pop-create-card a{
    position:relative;display:inline-flex;align-items:center;justify-content:center;
    min-width:150px;margin:0;padding:12px 16px;border:2px solid var(--theme-raw-0a0e20);border-radius:7px;
    background:var(--pop-teal);color:var(--theme-raw-111225);text-decoration:none;font-size:9px;font-weight:950;
    box-shadow:3px 3px 0 var(--theme-raw-070a16);
}

@media(max-width:1150px){
    .pop-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    .pop-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .pop-create-card{grid-template-columns:150px minmax(0,1fr) auto;}
}

@media(max-width:760px){
    .pop-hero{padding-top:12px;padding-bottom:29px;}
    .pop-hero-shell{padding-left:14px;padding-right:14px;}
    .pop-feature{border-radius:14px;box-shadow:6px 6px 0 var(--theme-raw-101225);}
    .pop-feature-images{height:245px;}
    .pop-fighter b{padding:13px 10px;font-size:18px;}
    .pop-vs{width:55px;height:55px;border-radius:15px;font-size:18px;}
    .pop-feature-footer{align-items:center;}
    .pop-feature-footer>span{max-width:58%;line-height:1.1;}

    .pop-quick-section{padding:22px 0 25px;}
    .pop-quick-section .site-shell,.pop-lists-section .site-shell{
        padding-left:14px;padding-right:14px;
    }
    .pop-section-head{margin-bottom:12px;}
    .pop-section-head h2{font-size:22px;}

    .pop-quick-grid{
        display:flex;gap:10px;margin-right:-14px;padding-right:14px;
        overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;
    }
    .pop-quick-grid::-webkit-scrollbar{display:none;}
    .pop-quick-card{
        flex:0 0 82%;height:102px;grid-template-columns:1fr 32px 1fr;scroll-snap-align:start;
    }
    .pop-quick-side{height:102px;}
    .pop-quick-side b{font-size:10px;}

    .pop-head-note{display:none;}
    .pop-lists-section{padding:26px 0 30px;}
    .pop-list-grid{grid-template-columns:1fr;gap:11px;}
    .pop-list-main{
        grid-template-columns:minmax(0,1.18fr) minmax(112px,.82fr);min-height:124px;
    }
    .pop-list-copy{padding:14px;}
    .pop-list-copy strong{font-size:22px;}
    .pop-list-actions a{min-height:36px;padding:0 12px;}

    .pop-create-section{padding:0 14px 29px;}
    .pop-create-card{
        min-height:0;grid-template-columns:1fr;gap:10px;
        padding:25px 20px 22px;text-align:center;
    }
    .pop-create-card:before{
        width:84px;height:60px;font-size:40px;box-shadow:17px 12px 0 -2px var(--pop-pink);
    }
    .pop-create-card h2{font-size:29px;}
    .pop-create-card p{font-size:10px;}
    .pop-create-card a{
        justify-self:center;min-width:175px;margin-top:4px;
    }
}

@media(max-width:420px){
    .pop-hero-copy h1{font-size:48px;}
    .pop-feature-images{height:220px;}
    .pop-fighter b{font-size:16px;}
    .pop-feature-footer{padding:11px;}
    .pop-feature-footer strong{padding:9px 10px;font-size:9px;}
    .pop-quick-card{flex-basis:88%;}
    .pop-list-main{grid-template-columns:minmax(0,1.25fr) 108px;min-height:118px;}
    .pop-list-copy strong{font-size:20px;}
}

/* =========================================================
   BattleRanker home2 v3 — targeted layout fixes
   ========================================================= */

/* 1. Desktop hero: copy LEFT, featured battle RIGHT. */
@media (min-width:700px){
    .pop-hero{
        padding:34px 0 46px;
    }

    .pop-hero-shell{
        grid-template-columns:minmax(0,.82fr) minmax(470px,1.18fr);
        align-items:center;
        gap:42px;
    }

    .pop-hero-copy{
        text-align:left;
        padding:0;
    }

    .pop-hero-copy h1{
        margin-left:0;
        margin-right:0;
        max-width:560px;
        font-size:clamp(56px,6vw,88px);
    }

    .pop-hero-copy p{
        margin-left:0;
        margin-right:0;
        max-width:520px;
    }

    .pop-feature{
        width:100%;
        max-width:760px;
        margin:0;
        justify-self:end;
    }

    .pop-feature-images{
        height:330px;
    }
}

/* 2. Quick battles: the two images now meet; VS floats on top of the join. */
.pop-quick-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    position:relative;
}

.pop-quick-side{
    min-width:0;
}

.pop-quick-side:first-child{
    grid-column:1;
}

.pop-quick-side:nth-of-type(3){
    grid-column:2;
}

.pop-quick-vs{
    position:absolute;
    z-index:6;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    margin:0;
}

.pop-quick-arrow{
    display:none !important;
}

/* 3. Ranked-list cards: match the supplied reference card.
      Compact body, clean 50/50-ish split, one footer only. */
.pop-list-grid{
    align-items:start;
}

.pop-list-card{
    overflow:hidden;
    border:2px solid var(--theme-raw-4c5575);
    border-radius:12px;
    background:var(--theme-raw-151a31);
    box-shadow:0 7px 16px var(--theme-raw-rgba-0-0-0-22-41d185);
}

.pop-list-main{
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
    min-height:150px;
    background:none !important;
    overflow:hidden;
}

.pop-list-main:after{
    display:none;
}

.pop-list-copy{
    padding:18px 17px 15px;
}

.pop-tone-1 .pop-list-copy{background:var(--theme-raw-20c5c2);}
.pop-tone-2 .pop-list-copy{background:var(--theme-raw-ff6f36);}
.pop-tone-3 .pop-list-copy{background:var(--theme-raw-8058df);}
.pop-tone-4 .pop-list-copy{background:var(--theme-raw-ee3c82);}

.pop-list-copy small{
    margin-bottom:7px;
    color:var(--theme-raw-rgba-255-255-255-88-d0d52e);
    font-size:8px;
}

.pop-list-copy strong{
    color:var(--theme-raw-fff);
    font-size:24px;
    line-height:.91;
    text-shadow:none;
}

.pop-list-copy em{
    margin-top:10px;
    color:var(--theme-raw-fff);
    font-size:8px;
}

.pop-list-art{
    min-height:150px;
    background:var(--theme-raw-11172c);
}

.pop-list-art:after{
    display:none;
}

.pop-list-art img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.pop-list-actions{
    display:block;
    min-height:40px;
    background:var(--theme-raw-191d36);
    border-top:1px solid var(--theme-raw-rgba-255-255-255-12-895780);
}

.pop-list-actions a{
    min-height:40px;
    width:100%;
    justify-content:flex-start;
    padding:0 16px;
    color:var(--theme-raw-fff);
    font-size:9px;
    font-weight:950;
    text-decoration:none;
}

.pop-list-actions a:after{
    display:none;
}

/* Keep the card proportions neat at tablet sizes. */
@media (max-width:1150px) and (min-width:761px){
    .pop-hero-shell{
        grid-template-columns:minmax(0,.78fr) minmax(430px,1.22fr);
        gap:28px;
    }

    .pop-hero-copy h1{
        font-size:58px;
    }

    .pop-list-main{
        min-height:142px;
    }

    .pop-list-art{
        min-height:142px;
    }
}

/* Mobile keeps the same card language, just stacked one per row. */
@media (max-width:760px){
    .pop-list-main{
        grid-template-columns:minmax(0,1.15fr) minmax(105px,.85fr);
        min-height:126px;
    }

    .pop-list-art{
        min-height:126px;
    }

    .pop-list-copy{
        padding:15px 14px 13px;
    }

    .pop-list-copy strong{
        font-size:21px;
    }

    .pop-quick-card{
        grid-template-columns:1fr 1fr;
    }
}


/* ================================================================
   BattleRanker Homepage V4 — ELECTRIC YELLOW THEME 1
   ---------------------------------------------------------------
   Existing homepage layout is preserved.
   The visible identity now comes from central theme tokens.
   ================================================================ */

.theme-home-electric{
    --home-accent:var(--theme-page-accent);
    --home-left:var(--theme-battle-left);
    --home-right:var(--theme-battle-right);
}

/* Whole homepage returns to the dark BattleRanker frame. */
.theme-home-electric .pop-home{
    background:var(--theme-bg)!important;
}

/* ------------------------------------------------
   HERO — retain the graphic texture, replace purple with electric dark.
   ------------------------------------------------ */
.theme-home-electric .pop-hero{
    background:
        radial-gradient(circle at 14% 18%,var(--theme-raw-rgba-231-255-0-10-7c0c34),transparent 270px),
        linear-gradient(135deg,var(--theme-raw-111521) 0%,var(--theme-raw-090d17) 50%,var(--theme-raw-05070d) 100%)!important;
    border-bottom:2px solid var(--home-accent)!important;
}

.theme-home-electric .pop-hero::after{
    background:
        repeating-radial-gradient(circle at 0 0,var(--theme-raw-rgba-231-255-0-10-7c0c34) 0 1px,transparent 1px 10px),
        linear-gradient(115deg,transparent 0 72%,var(--theme-raw-rgba-231-255-0-055-0e4447) 72.2% 72.7%,transparent 72.9%)!important;
    opacity:.20!important;
}

.theme-home-electric .pop-burst{
    border-color:var(--theme-raw-rgba-231-255-0-12-acfeb4)!important;
}

.theme-home-electric .pop-sticker{
    background:var(--home-accent)!important;
    color:var(--theme-ink)!important;
    box-shadow:4px 4px 0 var(--theme-shadow-deep)!important;
}

.theme-home-electric .pop-hero-copy h1 strong{
    color:var(--home-accent)!important;
}

.theme-home-electric .pop-hero-copy p{
    color:var(--theme-raw-c8cddc)!important;
}

/* Featured battle: yellow frame/labels, pink and blue remain battle semantics. */
.theme-home-electric .pop-feature{
    border-color:var(--home-accent)!important;
    background:var(--theme-raw-0d1228)!important;
    box-shadow:8px 8px 0 var(--theme-shadow-deep)!important;
}

.theme-home-electric .pop-feature-label{
    background:var(--home-accent)!important;
    color:var(--theme-ink)!important;
    box-shadow:3px 3px 0 var(--theme-shadow-deep)!important;
}

.theme-home-electric .pop-vs{
    border-color:var(--theme-ink)!important;
    background:var(--home-accent)!important;
    color:var(--theme-ink)!important;
    box-shadow:4px 4px 0 var(--theme-raw-rgba-0-0-0-48-c5c38f)!important;
}

.theme-home-electric .pop-feature-footer{
    background:var(--theme-raw-11172e)!important;
    color:var(--theme-raw-fff)!important;
}

.theme-home-electric .pop-feature-footer strong{
    background:var(--home-accent)!important;
    color:var(--theme-ink)!important;
}

/* ------------------------------------------------
   QUICK BATTLES
   ------------------------------------------------ */
.theme-home-electric .pop-quick-section{
    background:var(--theme-bg)!important;
    border-bottom-color:var(--theme-raw-202841)!important;
}

.theme-home-electric .pop-section-head h2{
    color:var(--theme-raw-fff)!important;
}

.theme-home-electric .pop-section-head > div > span,
.theme-home-electric .pop-section-head a{
    color:var(--home-accent)!important;
}

.theme-home-electric .pop-quick-card{
    border-color:var(--theme-raw-444d69)!important;
    background:var(--theme-raw-11172e)!important;
}

.theme-home-electric .pop-quick-card:hover{
    border-color:var(--home-accent)!important;
    box-shadow:0 11px 24px var(--theme-raw-rgba-0-0-0-30-6d79cf),0 0 18px var(--theme-raw-rgba-231-255-0-08-1625d1)!important;
}

.theme-home-electric .pop-quick-vs{
    border-color:var(--theme-raw-080b14)!important;
    background:var(--home-accent)!important;
    color:var(--theme-ink)!important;
    box-shadow:0 0 0 3px var(--theme-raw-rgba-8-12-29-88-ae81a4)!important;
}

/* ------------------------------------------------
   RANKED LISTS — remove rainbow skin; one reusable yellow theme.
   ------------------------------------------------ */
.theme-home-electric .pop-lists-section{
    background:var(--theme-raw-0d1229)!important;
}

.theme-home-electric .pop-head-note,
.theme-home-electric .pop-filter strong{
    color:var(--home-accent)!important;
}

.theme-home-electric .pop-list-card{
    border-color:var(--theme-raw-414a68)!important;
    background:var(--theme-raw-11172e)!important;
}

.theme-home-electric .pop-list-card:hover{
    border-color:var(--home-accent)!important;
    box-shadow:0 8px 22px var(--theme-raw-rgba-0-0-0-22-41d185),0 0 17px var(--theme-raw-rgba-231-255-0-06-6e76e4)!important;
}

.theme-home-electric .pop-tone-1 .pop-list-copy,
.theme-home-electric .pop-tone-2 .pop-list-copy,
.theme-home-electric .pop-tone-3 .pop-list-copy,
.theme-home-electric .pop-tone-4 .pop-list-copy{
    background:var(--home-accent)!important;
    color:var(--theme-ink)!important;
}

.theme-home-electric .pop-list-copy small,
.theme-home-electric .pop-list-copy strong,
.theme-home-electric .pop-list-copy em{
    color:var(--theme-ink)!important;
}

.theme-home-electric .pop-list-actions{
    background:var(--theme-raw-151b34)!important;
    border-top-color:var(--theme-raw-343d5d)!important;
}

.theme-home-electric .pop-list-actions a{
    color:var(--theme-raw-fff)!important;
}

.theme-home-electric .pop-list-actions a::after{
    color:var(--home-accent)!important;
}

/* ------------------------------------------------
   CREATE CTA
   ------------------------------------------------ */
.theme-home-electric .pop-create-section{
    background:var(--theme-raw-0d1229)!important;
}

.theme-home-electric .pop-create-card{
    border-color:var(--theme-raw-4a526d)!important;
    background:
        radial-gradient(circle at 92% 18%,var(--theme-raw-rgba-231-255-0-08-1625d1),transparent 27%),
        linear-gradient(135deg,var(--theme-raw-151b34),var(--theme-raw-0d1228))!important;
}

.theme-home-electric .pop-create-card::before{
    background:var(--home-accent)!important;
    color:var(--theme-ink)!important;
    box-shadow:24px 18px 0 -2px var(--theme-raw-151b34)!important;
}

.theme-home-electric .pop-create-star,
.theme-home-electric .pop-create-card small{
    color:var(--home-accent)!important;
}

.theme-home-electric .pop-create-card a{
    border-color:var(--theme-raw-090c17)!important;
    background:var(--home-accent)!important;
    color:var(--theme-ink)!important;
    box-shadow:4px 4px 0 var(--theme-shadow-deep)!important;
}

/* Footer */
.theme-home-electric .site-footer{
    border-top-color:var(--theme-raw-303755)!important;
    background:var(--theme-bg-deep)!important;
}

.theme-home-electric .footer-brand{
    color:var(--theme-raw-fff)!important;
}

/* Mobile retains the accepted homepage geometry. */
@media(max-width:760px){
    .theme-home-electric .pop-feature{
        box-shadow:6px 6px 0 var(--theme-shadow-deep)!important;
    }

    .theme-home-electric .pop-list-card{
        border-color:var(--theme-raw-414a68)!important;
    }

    .theme-home-electric .pop-create-card::before{
        box-shadow:17px 12px 0 -2px var(--theme-raw-151b34)!important;
    }
}


/* ================================================================
   Homepage Theme 1 polish — yellow as accent, not slab
   ================================================================ */
.theme-home-electric .pop-tone-1 .pop-list-copy,
.theme-home-electric .pop-tone-2 .pop-list-copy,
.theme-home-electric .pop-tone-3 .pop-list-copy,
.theme-home-electric .pop-tone-4 .pop-list-copy{
    position:relative;
    background:
        linear-gradient(135deg,var(--theme-raw-rgba-231-255-0-055-0e4447),transparent 48%),
        var(--theme-raw-151b34) !important;
    color:var(--theme-raw-fff) !important;
}

.theme-home-electric .pop-tone-1 .pop-list-copy::before,
.theme-home-electric .pop-tone-2 .pop-list-copy::before,
.theme-home-electric .pop-tone-3 .pop-list-copy::before,
.theme-home-electric .pop-tone-4 .pop-list-copy::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:5px;
    background:var(--theme-page-accent);
}

.theme-home-electric .pop-list-copy small{
    color:var(--theme-page-accent)!important;
}

.theme-home-electric .pop-list-copy strong{
    color:var(--theme-raw-fff)!important;
}

.theme-home-electric .pop-list-copy em{
    color:var(--theme-raw-aeb5c8)!important;
}

.theme-home-electric .pop-list-card{
    border-color:var(--theme-raw-414a68)!important;
}

.theme-home-electric .pop-list-card:hover{
    border-color:var(--theme-page-accent)!important;
}

/* Keep yellow concentrated in labels, borders and actions. */
.theme-home-electric .pop-list-actions{
    background:var(--theme-raw-11172e)!important;
}


/* ================================================================
   BattleRanker Homepage V4.1 — ranked card dual actions
   RANKING + BATTLE are equal first-class routes from every list card.
   ================================================================ */
.pop-list-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    min-height:42px !important;
    background:var(--theme-raw-11172e) !important;
    border-top:1px solid var(--theme-raw-343d5d) !important;
}

.pop-list-actions a{
    min-width:0 !important;
    width:auto !important;
    min-height:42px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 10px !important;
    color:var(--theme-raw-fff) !important;
    text-decoration:none !important;
    font-size:9px !important;
    font-weight:950 !important;
    letter-spacing:.25px !important;
    white-space:nowrap !important;
    transition:background .16s ease,color .16s ease !important;
}

.pop-list-actions a + a{
    border-left:1px solid var(--theme-raw-343d5d) !important;
}

.pop-list-actions a::after{
    display:none !important;
}

.theme-home-electric .pop-list-actions .pop-ranking-btn:hover,
.theme-home-electric .pop-list-actions .pop-battle-btn:hover{
    background:var(--theme-page-accent) !important;
    color:var(--theme-ink) !important;
}

.theme-home-electric .pop-list-actions .pop-battle-btn{
    color:var(--theme-page-accent) !important;
}

.theme-home-electric .pop-list-actions .pop-battle-btn:hover{
    color:var(--theme-ink) !important;
}

@media(max-width:760px){
    .pop-list-actions,
    .pop-list-actions a{
        min-height:40px !important;
    }

    .pop-list-actions a{
        font-size:9px !important;
    }
}


/* ================================================================
   BattleRanker Homepage — Ranked List Category Strip
   ================================================================ */
.pop-category-strip{
    display:flex;
    align-items:center;
    gap:8px;
    margin:-1px 0 18px;
    padding:2px 0 3px;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}

.pop-category-strip::-webkit-scrollbar{
    display:none;
}

.pop-category-pill{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 14px;
    border:1px solid var(--theme-raw-414a68);
    border-radius:8px;
    background:var(--theme-raw-11172e);
    color:var(--theme-raw-d6dbea);
    font-family:"Arial Narrow","Segoe UI",Arial,sans-serif;
    font-size:10px;
    line-height:1;
    font-style:italic;
    font-weight:950;
    letter-spacing:.25px;
    text-decoration:none;
    white-space:nowrap;
    transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease;
}

.pop-category-pill:hover{
    transform:translateY(-1px);
    border-color:var(--home-accent);
    color:var(--theme-raw-fff);
}

.pop-category-pill.is-active{
    border-color:var(--home-accent);
    background:var(--home-accent);
    color:var(--theme-ink);
    box-shadow:3px 3px 0 var(--theme-raw-05070d);
}

@media(max-width:760px){
    .pop-category-strip{
        margin:0 -16px 16px;
        padding:2px 16px 5px;
        scroll-padding-left:16px;
    }

    .pop-category-pill{
        min-height:36px;
        padding:0 15px;
        font-size:11px;
    }
}


/* Category-filter empty state — defensive fallback for stale/deep links. */
.pop-category-empty{
    grid-column:1 / -1;
    min-height:180px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:32px 20px;
    border:1px solid var(--theme-raw-414a68);
    border-radius:12px;
    background:var(--theme-raw-11172e);
    text-align:center;
}

.pop-category-empty strong{
    color:var(--home-accent);
    font-size:18px;
    font-style:italic;
    font-weight:950;
}

.pop-category-empty span{
    color:var(--theme-raw-d6dbea);
    font-size:12px;
    font-weight:700;
}

.pop-category-empty a{
    margin-top:8px;
    padding:10px 14px;
    border-radius:7px;
    background:var(--home-accent);
    color:var(--theme-ink);
    font-size:10px;
    font-weight:950;
    text-decoration:none;
}
