/* free_packs page: ported from design/redesign-2026-10/free-packs (build_free.py page CSS + its E block). */
:root{--band:#7a3fc9}.fbase em{text-wrap:balance}

.eall{display:inline-block;margin-top:22px;font-weight:800;font-size:17px;color:var(--ink);border-bottom:3px solid var(--sc);cursor:pointer;transition:color 160ms ease}
@media (hover:hover) and (pointer:fine){.eall:hover{color:var(--sc)}}

.wide2{max-width:1100px;margin:0 auto;padding:0 32px}
.fhead{background:var(--band);color:#fff8ee;padding:40px 0 46px}
.fhead .rh{font-family:'Alice',serif;font-size:15px;letter-spacing:.22em;text-transform:uppercase;border-bottom:1.5px solid #ffe3b3;padding-bottom:8px;margin-bottom:20px;display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:space-between}
.fhead .rh span{white-space:nowrap}
.fhead h1{font-family:'Alice',serif;font-weight:400;font-size:56px;line-height:1.05}
.fhead .ie{font-family:'Alice',serif;font-size:24px;line-height:1.4;margin-top:8px;color:rgba(255,248,238,.92)}
.fhead .ie em{font-style:normal;color:#ffe3b3}
.fhead .facts{display:flex;align-items:center;gap:22px;margin-top:26px}
.fhead .fcta{display:inline-block;padding:13px 22px;border-radius:6px;background:#fff8ee;color:#5b2a6b;font-weight:800;font-size:16px;cursor:pointer;transition:background-color 180ms ease}
.fhead .facts span:not(.fcta){font-size:16px;color:rgba(255,248,238,.9)}
/* one line of controls: theme menu, kind drop-down, search */
.tools-row{display:flex;align-items:center;gap:30px;padding:24px 0 16px;border-bottom:1.5px solid #efd59f}
.tbar{display:flex;gap:24px;white-space:nowrap}
.tbar button{all:unset;cursor:pointer;font-family:'Alice',serif;font-size:15px;letter-spacing:.14em;text-transform:uppercase;padding:6px 0;position:relative;color:var(--ink)}
.tbar button::after{content:"";position:absolute;left:0;right:.14em;bottom:0;height:2px;background:#7a3fc9;transform:scaleX(0);transition:transform 200ms var(--eo)}
.tbar button.on{color:#7a3fc9}.tbar button.on::after{transform:scaleX(1)}
.kindl{font-size:15px;font-weight:700;color:var(--ink-soft);display:flex;align-items:center;gap:10px;white-space:nowrap}
.kindl select{font:inherit;font-family:'Alice',serif;font-size:19px;font-weight:400;color:var(--ink);background:#fff;border:0;border-bottom:2px solid #d99a2b;padding:4px 26px 4px 2px;cursor:pointer}
.srch{margin-left:auto;display:flex;border-bottom:2px solid #efd59f;padding:4px 0;width:250px}
.srch input{all:unset;font-family:'Mulish',sans-serif;font-size:16px;width:100%}
.srch input::placeholder{color:var(--ink-dim)}
/* shelves split into kind rows */
.shelf{background:var(--sg);padding:44px 0 40px}
.shelf h2{font-family:'Alice',serif;font-weight:400;font-size:42px;margin:0 0 6px}
.shelf .sd{font-size:17px;color:var(--ink-soft);margin-bottom:8px}
.krow{padding-top:22px}
.krow h3{font-family:'Mulish',sans-serif;font-size:14px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--sc);padding-bottom:8px;border-bottom:1.5px solid color-mix(in srgb,var(--sc) 30%,transparent)}
.krow h3 span{color:var(--ink-dim);font-weight:700;margin-left:6px}
.pgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 26px;padding:18px 0 6px}
.pc{display:block;cursor:pointer;color:var(--ink);min-width:0}
.pc .cv{display:block;background:#fff;border-radius:10px;padding:10px}
.pc img{display:block;width:100%;aspect-ratio:1;object-fit:contain}
.pc small{display:block;margin-top:12px;font-size:13.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sc)}
.pc h4{font-family:'Alice',serif;font-weight:400;font-size:20px;line-height:1.25;margin-top:4px;transition:color 160ms ease}
.fhead h1,.fhead .ie,.etx h2{text-wrap:balance}
.hide{display:none!important}
.none{text-align:center;padding:60px 0;font-family:'Alice',serif;font-size:22px;color:var(--ink-soft)}
@media (hover:hover) and (pointer:fine){.pc:hover h4{color:var(--sc)}.fhead .fcta:hover{background:#ffe3b3}}
@media (max-width:600px){
 .fhead h1{font-size:46px}.fhead .ie{font-size:21px}.fhead .rh{font-size:13px;letter-spacing:.12em}
 .wide2{padding:0 20px}
}
@media (max-width:900px){
 .tools-row{flex-wrap:wrap;gap:14px 24px}.tbar{width:100%;overflow-x:auto}.srch{margin-left:0;width:100%}
 .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


:root{--sun:#fffaf2;--pk:#ffd9e6;--tl:#d6f4ee;--gd:#ffe9b8;--rp:#7a2d8f;--pop:#e0457b}
.frame{background:var(--sun)!important}
.fhead{background:#f4ecff;color:var(--ink,#2a1c47);padding:32px 0 38px;overflow:hidden}
.fhead .wide2{position:relative;min-height:250px}
.fhead .nb{white-space:nowrap}
@media (min-width:961px){.fhead h1{font-size:68px}}
.fhead h1,.fhead .ie{max-width:calc(100% - 360px)}
.fhead .rh{color:#0a6f63;border-bottom-color:#d9c6f5}
.fhead h1{color:var(--rp)}
.fhead .ie{color:var(--ink-soft,#5a4a7e)}.fhead .ie em{color:var(--pop)}
.scene{position:absolute;right:32px;top:58px;width:300px;height:210px}
.scene img{position:absolute;aspect-ratio:1;height:auto;object-fit:contain;background:#fff;padding:8px;border-radius:12px}
.scene .s1{width:58%;left:0;top:0;box-shadow:6px 6px 0 var(--pk)}
.scene .s2{width:52%;right:2%;bottom:0;box-shadow:6px 6px 0 var(--tl);z-index:2}
@media (hover:hover) and (pointer:fine){.eall:hover{color:#c42f66}}
.foot.light{background:#f4ecff!important}.foot.light .rh,.foot.light h6{color:#0a6f63!important}.foot.light h3 em,.foot.light .fwm i{color:var(--rp)!important}
.foot.light .fsign,.foot.light .fbase{border-color:#dccbf5!important}.foot.light .fform input{border-bottom-color:var(--rp)!important}
.foot.light .fcovers img{box-shadow:6px 6px 0 var(--pk)!important}
@media (max-width:760px){.fhead .wide2{min-height:0}.fhead h1,.fhead .ie{max-width:none}.scene{display:none}}
@media (max-width:960px) and (min-width:761px){.scene{width:240px;height:170px}.fhead h1,.fhead .ie{max-width:calc(100% - 290px)}}

/* live wiring: a series' full list (?series=), the back link, the empty shelf */
.shelf .krow:first-child{padding-top:0}
.pc small{font-size:15px}
.krow h3{font-size:15px}
.none a{color:var(--rp);border-bottom:2px solid var(--pop)}
@media (max-width:600px){.fhead .rh{font-size:15px;letter-spacing:.08em}}
/* shelves: a heading line, then up to four packs from that shelf */
.shf{padding:56px 0 0}.shf:last-of-type,.shelf:last-of-type{padding-bottom:72px}
.shd{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 32px;padding-bottom:16px;margin-bottom:10px;border-bottom:2px solid var(--sc)}
.shd h2{font-family:'Alice',serif;font-weight:400;font-size:40px;line-height:1.1;color:var(--sc);text-wrap:balance}
.shd .sd{font-family:'Alice',serif;font-size:21px;line-height:1.4;color:var(--ink-soft);margin-top:8px;max-width:640px}
.shd .ek{font-size:16px;line-height:1.5;color:var(--ink-soft);margin-top:6px;max-width:640px}
.shd .eall{margin:0 0 3px;white-space:nowrap}
@media (max-width:760px){.shf{padding-top:42px}.shd h2{font-size:30px}.shd .sd{font-size:18px}}
