/* ================= templates: ten complete looks for the public site (Settings → Look) =================
   Fetched only when one of these is chosen (or tried with ?look=…); the site's own look and the plain colour
   palettes in styles.css never load this file. A template is written on the page as <html data-look="…"> like a
   palette, and sets more than colour: its paper, its shapes, frames, shadows, buttons and heading decoration,
   and it comes with its own pair of fonts (src/settings.js, TEMPLATES). Pages, order, sizes and every flow stay
   as they are; the reader, the character dialog, the cart and the checkout keep their own dark setting.
   No template adds motion. */

/* each template draws its own paper, so the night-sky picture is not fetched behind it */
html:is([data-look="classic"],[data-look="playful"],[data-look="dreams"],[data-look="cinematic"],[data-look="bedtime"],[data-look="handcrafted"],[data-look="explorer"],[data-look="comic"],[data-look="literary"],[data-look="folk"],[data-look="storybook"]).sky body::after{display:none}

/* ---------- 1. Classic Storybook: cloth-bound covers, cream paper, gold rules ---------- */
html[data-look="classic"]{--wall:#f6efdf;--wall2:#ece1c9;--ink:#2b2118;--muted:#6b5b4a;--card:#fbf6ea;--line:#d8c7a3;--cta:#8c2f2b;--sun:#c79a3b;--teal:#4f7a6a;--on:#8c2f2b;
  --btn1:#a23a34;--btn2:#7c2622;--bar:rgba(246,239,223,.96);--band:#274237;--band-ink:#f6efdf;--hero-ink:#fbf3dc;
  --paper:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .28 0 0 0 0 .14 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),radial-gradient(120% 80% at 50% 0,#fbf6ea,transparent 60%),#f3ead6;
  --hero:radial-gradient(60% 90% at 80% 30%,rgba(255,236,180,.16),transparent 62%),linear-gradient(135deg,#1c382f,#2c5443 60%,#35614c);
  --deep1:linear-gradient(135deg,#7c2622,#96352e);--deep2:linear-gradient(135deg,#1f3d33,#2f5a48);--deep3:linear-gradient(135deg,#253d5c,#34587f)}
html[data-look="classic"] header.top{border-bottom:3px double var(--line)}
html[data-look="classic"] .brand span{background:var(--cta);color:#fbf3dc;border-radius:4px}
html[data-look="classic"] .nav button{border-radius:6px}
html[data-look="classic"] :is(.hero,.phero){outline:1.5px solid rgba(214,178,94,.75);outline-offset:-11px}
html[data-look="classic"] :is(.promo,.seccard,.pricecard,.arcbox){border-radius:6px;border-color:transparent;box-shadow:0 20px 30px -24px rgba(43,33,24,.85)}
html[data-look="classic"] :is(.promo,.seccard,.pricecard,.arcbox):not(:focus-visible){outline:1px solid rgba(226,194,120,.7);outline-offset:-8px}
html[data-look="classic"] .seccard{background:linear-gradient(150deg,color-mix(in srgb,var(--sc) 60%,#3a2a1c),color-mix(in srgb,var(--sc) 42%,#20160e))}
html[data-look="classic"] :is(.how li,.tri>div,.finder,.msoon,.soonbox){border:3px double #c9b383;border-radius:6px;box-shadow:0 14px 24px -22px rgba(43,33,24,.7)}
html[data-look="classic"] .sec{border-bottom:3px double var(--line);padding-bottom:10px}
html[data-look="classic"] .btn{border-radius:8px;box-shadow:inset 0 0 0 2px var(--btn2),inset 0 0 0 3px rgba(240,210,140,.7),0 10px 18px -12px rgba(60,20,15,.9)}
html[data-look="classic"] .btn.alt{box-shadow:none}
html[data-look="classic"] :is(.chip,.fmore summary,.in.search,.finder .occ){border-radius:6px}
html[data-look="classic"] .seccount{border-radius:4px}
html[data-look="classic"] .trust{border-block:1px solid rgba(214,178,94,.8)}
html[data-look="classic"] .hf :is(.hphoto,.hsix){border-color:#fbf3dc;border-radius:4px}

/* ---------- 2. Modern Playful: bright shapes, chunky shadows, marker headings ---------- */
html[data-look="playful"]{--wall:#fffdf7;--wall2:#fff3d6;--ink:#1f2340;--muted:#5d6285;--card:#ffffff;--line:#e7e3f7;--cta:#ff5a5f;--sun:#ffc93c;--teal:#18c7b0;--on:#e8384f;
  --btn1:#ff7a59;--btn2:#ff4f6d;--bar:rgba(255,253,247,.95);--band:#ffe066;--band-ink:#1f2340;--hero-ink:#1f2340;
  --paper:radial-gradient(circle,rgba(255,90,95,.2) 0 5px,transparent 5.6px) 20px 30px/190px 170px,radial-gradient(circle,rgba(24,199,176,.22) 0 7px,transparent 7.6px) 110px 120px/230px 210px,radial-gradient(circle,rgba(123,108,240,.18) 0 4px,transparent 4.6px) 60px 90px/150px 190px,radial-gradient(40% 30% at 0 0,rgba(255,201,60,.3),transparent 70%),radial-gradient(40% 30% at 100% 30%,rgba(255,143,171,.22),transparent 70%),#fffdf7;
  --hero:radial-gradient(circle at 92% 12%,#ff8fab 0 15%,transparent 15.2%),radial-gradient(circle at 0% 108%,#5ad1c5 0 13%,transparent 13.2%),radial-gradient(circle at 58% 118%,rgba(255,255,255,.5) 0 22%,transparent 22.2%),linear-gradient(120deg,#ffd43b,#ffb84d);
  --deep1:radial-gradient(circle at 100% 0,rgba(255,255,255,.16) 0 32%,transparent 32.3%),linear-gradient(135deg,#5548d9,#7c6cf0);--deep2:radial-gradient(circle at 100% 0,rgba(255,255,255,.18) 0 32%,transparent 32.3%),linear-gradient(135deg,#f0434f,#ff7a59);--deep3:radial-gradient(circle at 100% 0,rgba(255,255,255,.18) 0 32%,transparent 32.3%),linear-gradient(135deg,#0c9a88,#22bfa9)}
html[data-look="playful"] .brand span{background:var(--cta);color:#fff;border-radius:50%}
html[data-look="playful"] :is(.hero,.phero){border-radius:36px;margin-top:16px}
html[data-look="playful"] :is(.promo,.seccard,.pricecard,.arcbox){border-radius:34px;border-color:transparent;box-shadow:0 9px 0 rgba(31,35,64,.16)}
html[data-look="playful"] .promo.p1{border-radius:34px 34px 34px 10px}
html[data-look="playful"] .promo.p2{border-radius:34px 34px 10px 34px}
html[data-look="playful"] .seccard{background:radial-gradient(circle at 100% 0,rgba(255,255,255,.22) 0 36%,transparent 36.3%),radial-gradient(circle at 0 100%,rgba(0,0,0,.1) 0 22%,transparent 22.3%),var(--sc)}
html[data-look="playful"] :is(.how li,.tri>div,.finder,.msoon,.soonbox){border:0;border-radius:26px;box-shadow:0 7px 0 var(--line),0 0 0 2px var(--line)}
html[data-look="playful"] .sec{background:linear-gradient(transparent 58%,#ffe066 58% 90%,transparent 90%) no-repeat 0 0/170px 100%}
html[data-look="playful"] .btn{box-shadow:0 5px 0 #c9304a}
html[data-look="playful"] .btn:active{transform:translateY(3px);box-shadow:0 2px 0 #c9304a}
html[data-look="playful"] .btn.alt{box-shadow:none}
html[data-look="playful"] .chip{border-width:2px}
html[data-look="playful"] .hf .hphoto{border-radius:24px;transform:rotate(-2.5deg)}
html[data-look="playful"] .hf .hsix{border-radius:24px;transform:rotate(2deg)}

/* ---------- 3. Watercolour Dreams: washes on white, organic edges, light serif ---------- */
html[data-look="dreams"]{--wall:#fdfbf8;--wall2:#f4eef0;--ink:#3d4660;--muted:#757d95;--card:#fffefd;--line:#ebe3e6;--cta:#b9789a;--sun:#e0ae58;--teal:#8cc8c0;--on:#a8607f;
  --btn1:#d596b0;--btn2:#a67fbd;--bar:rgba(253,251,248,.93);--band:#f7eff3;--hero-ink:#35405c;
  --paper:radial-gradient(38% 30% at 6% 4%,rgba(160,206,224,.3),transparent 72%),radial-gradient(40% 32% at 96% 14%,rgba(244,184,204,.28),transparent 72%),radial-gradient(46% 34% at 30% 100%,rgba(196,178,232,.26),transparent 72%),radial-gradient(30% 24% at 86% 66%,rgba(250,220,160,.2),transparent 72%),#fdfbf8;
  --hero:radial-gradient(52% 80% at 14% 18%,rgba(255,255,255,.9),transparent 62%),radial-gradient(46% 70% at 88% 22%,rgba(244,184,204,.7),transparent 66%),radial-gradient(60% 70% at 66% 104%,rgba(160,196,236,.7),transparent 66%),linear-gradient(120deg,#dff0ed,#ece6f8 55%,#fbe7ee);
  --deep1:radial-gradient(70% 90% at 12% 10%,rgba(255,255,255,.22),transparent 60%),linear-gradient(135deg,#4d6f97,#6a8cb3);--deep2:radial-gradient(70% 90% at 12% 10%,rgba(255,255,255,.22),transparent 60%),linear-gradient(135deg,#9a5880,#b97b9c);--deep3:radial-gradient(70% 90% at 12% 10%,rgba(255,255,255,.22),transparent 60%),linear-gradient(135deg,#3f8179,#62a59a)}
html[data-look="dreams"] header.top{border-bottom-color:transparent}
html[data-look="dreams"] .brand span{border-radius:50% 46% 52% 44%}
html[data-look="dreams"] :is(.hero,.phero){border-radius:46px 60px 50px 64px/56px 46px 62px 48px;margin-top:16px}
html[data-look="dreams"] :is(.promo,.seccard,.pricecard,.arcbox){border-radius:36px 46px 38px 50px/44px 36px 48px 38px;border-color:transparent;box-shadow:0 30px 50px -36px rgba(90,110,150,.6)}
html[data-look="dreams"] .seccard{background:radial-gradient(70% 90% at 10% 8%,rgba(255,255,255,.28),transparent 60%),linear-gradient(150deg,color-mix(in srgb,var(--sc) 70%,#fff),color-mix(in srgb,var(--sc) 80%,#55607a))}
html[data-look="dreams"] :is(.how li,.tri>div,.finder,.msoon,.soonbox){background:rgba(255,255,255,.72);border:1px solid #f0e8ec;border-radius:30px;box-shadow:0 22px 40px -32px rgba(90,110,150,.55)}
html[data-look="dreams"] .sec{font-style:italic;background:radial-gradient(closest-side,rgba(244,184,204,.5),transparent) no-repeat -24px 50%/170px 150%}
html[data-look="dreams"] .sec span{font-style:normal}
html[data-look="dreams"] .btn{font-family:var(--ui);font-weight:700;letter-spacing:.02em;box-shadow:0 14px 28px -14px rgba(166,127,189,.95)}
html[data-look="dreams"] .btn.alt{box-shadow:none}
html[data-look="dreams"] .trust{border-radius:0 0 40px 40px}
html[data-look="dreams"] .hf :is(.hphoto,.hsix){border-radius:30px 36px 28px 38px/36px 28px 38px 30px}

/* ---------- 4. Cinematic Adventure: dark screen, amber and teal light, tall capitals ---------- */
html[data-look="cinematic"]{color-scheme:dark;--wall:#0b0c0f;--wall2:#15171c;--ink:#f3efe6;--muted:#9aa0aa;--card:#14161b;--line:#2a2d35;--cta:#f5a524;--sun:#f5a524;--teal:#2bb3b1;--on:#f5a524;
  --btn1:#ffb938;--btn2:#e8920c;--bar:rgba(11,12,15,.94);--band:#000;--band-ink:#f3efe6;--hero-ink:#fff;
  --paper:radial-gradient(80% 46% at 50% 0,rgba(245,165,36,.1),transparent 70%),radial-gradient(60% 40% at 100% 100%,rgba(43,179,177,.1),transparent 70%),#0b0c0f;
  --hero:linear-gradient(180deg,rgba(0,0,0,.6),transparent 24%,transparent 74%,rgba(0,0,0,.66)),radial-gradient(64% 90% at 76% 42%,rgba(255,170,60,.6),transparent 62%),linear-gradient(110deg,#04161d 0%,#0d3540 46%,#7a3d12 100%);
  --deep1:linear-gradient(100deg,rgba(0,0,0,.45),transparent 70%),linear-gradient(135deg,#0d3540,#17606c);--deep2:linear-gradient(100deg,rgba(0,0,0,.45),transparent 70%),linear-gradient(135deg,#5a2a0c,#96531a);--deep3:linear-gradient(100deg,rgba(0,0,0,.45),transparent 70%),linear-gradient(135deg,#1c1f27,#3a404f)}
html[data-look="cinematic"] :is(.hero :is(h1,h2),.phero :is(h1,h2),.sec,.msech,.btn,.nav button,.promo b,.seccard b,.pricecard h3){text-transform:uppercase;letter-spacing:.04em}
html[data-look="cinematic"] .sec span{text-transform:none;letter-spacing:0}
html[data-look="cinematic"] .brand span{background:var(--sun);color:#000;border-radius:2px}
html[data-look="cinematic"] .nav button{border-radius:3px}
html[data-look="cinematic"] :is(.hero,.phero){box-shadow:inset 0 7px 0 #000,inset 0 -7px 0 #000}
html[data-look="cinematic"] :is(.promo,.seccard,.pricecard,.arcbox){border-radius:3px;border-color:transparent;border-top:3px solid var(--sun);box-shadow:0 30px 60px -30px #000}
html[data-look="cinematic"] .seccard{background:linear-gradient(100deg,rgba(0,0,0,.74),rgba(0,0,0,.12)),var(--sc)}
html[data-look="cinematic"] :is(.how li,.tri>div,.finder,.msoon,.soonbox){border-radius:3px;border-left:3px solid var(--sun)}
html[data-look="cinematic"] .sec{border-left:5px solid var(--sun);padding-left:14px}
html[data-look="cinematic"] .btn{border-radius:3px;color:#17110a;letter-spacing:.08em;box-shadow:0 0 0 1px rgba(245,165,36,.4),0 12px 30px -10px rgba(245,165,36,.65)}
html[data-look="cinematic"] .btn.alt{color:var(--ink);box-shadow:none}
html[data-look="cinematic"] :is(.hero,.phero,.pricecard,.arcbox) .btn.alt{color:#fff}
html[data-look="cinematic"] :is(.chip,.fmore summary,.in.search,.finder .occ,.seccount){border-radius:3px}
html[data-look="cinematic"] .hf :is(.hphoto,.hsix){border-radius:2px;border-color:#f3efe6}

/* ---------- 5. Bedtime Magic: midnight blue, lavender, soft gold, stars and a moon ---------- */
html[data-look="bedtime"]{color-scheme:dark;--wall:#141a3a;--wall2:#1c2450;--ink:#eef0ff;--muted:#aab0d6;--card:#1d2552;--line:#343d78;--cta:#f3d28a;--sun:#f3d28a;--teal:#a8b8ff;--on:#f3d28a;
  --btn1:#f8e0a4;--btn2:#e9c26e;--bar:rgba(20,26,58,.93);--band:#1c2450;--hero-ink:#fff;
  --paper:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M68 50a34 34 0 1 1-30-33.7A27 27 0 0 0 68 50z' fill='%23f3d28a' fill-opacity='.5'/%3E%3C/svg%3E") no-repeat right 5% top 86px/min(130px,22vw),radial-gradient(circle,rgba(255,255,255,.8) 0 1.1px,transparent 1.7px) 0 0/130px 130px,radial-gradient(circle,rgba(243,210,138,.7) 0 1.3px,transparent 1.9px) 66px 40px/170px 170px,radial-gradient(circle,rgba(168,184,255,.6) 0 1px,transparent 1.6px) 30px 96px/110px 110px,radial-gradient(60% 40% at 50% 0,rgba(120,110,210,.35),transparent 70%),linear-gradient(180deg,#141a3a,#1a1f48 60%,#241f4f);
  --hero:radial-gradient(circle,rgba(255,255,255,.75) 0 1.2px,transparent 1.8px) 0 0/72px 72px,radial-gradient(40% 60% at 84% 18%,rgba(243,210,138,.3),transparent 65%),linear-gradient(160deg,#222a64,#3a3486 60%,#5b4a9c);
  --deep1:linear-gradient(135deg,#2b3478,#434da0);--deep2:linear-gradient(135deg,#4a3a86,#6a55ad);--deep3:linear-gradient(135deg,#1f4a6e,#2f6a92)}
html[data-look="bedtime"] .brand span{background:var(--sun);color:#2a2350;border-radius:50%}
html[data-look="bedtime"] :is(.hero,.phero){border-radius:32px;margin-top:16px;box-shadow:0 0 60px -24px rgba(168,184,255,.8)}
html[data-look="bedtime"] :is(.promo,.seccard,.pricecard,.arcbox){border-radius:28px;border:1px solid rgba(243,210,138,.38);box-shadow:0 0 44px -20px rgba(168,184,255,.8)}
html[data-look="bedtime"] .seccard{background:radial-gradient(circle,rgba(255,255,255,.5) 0 1px,transparent 1.6px) 0 0/58px 58px,linear-gradient(160deg,color-mix(in srgb,var(--sc) 46%,#1c2450),color-mix(in srgb,var(--sc) 24%,#141a3a))}
html[data-look="bedtime"] :is(.how li,.tri>div,.finder,.msoon,.soonbox){background:rgba(255,255,255,.05);border:1px solid rgba(168,184,255,.28);border-radius:24px}
html[data-look="bedtime"] .sec{padding-left:34px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c1 6.5 4.500 10 11 11-6.500 1-10 4.500-11 11-1-6.500-4.500-10-11-11 6.500-1 10-4.500 11-11z' fill='%23f3d28a'/%3E%3C/svg%3E") no-repeat 0 .3em/22px 22px}
html[data-look="bedtime"] .btn{color:#2a2350;box-shadow:0 0 28px -6px rgba(243,210,138,.8)}
html[data-look="bedtime"] .btn.alt{color:var(--ink);box-shadow:none}
html[data-look="bedtime"] :is(.hero,.phero,.pricecard,.arcbox) .btn.alt{color:#fff}
html[data-look="bedtime"] .trust{border-radius:0 0 28px 28px}
html[data-look="bedtime"] .hf :is(.hphoto,.hsix){border-radius:26px;border-color:rgba(248,224,164,.9)}

/* ---------- 6. Whimsical Handcrafted: kraft paper, cut-paper shapes, tape and stitches ---------- */
html[data-look="handcrafted"]{--wall:#f3ead8;--wall2:#e8dcc3;--ink:#3b2f2a;--muted:#75655a;--card:#fffaf0;--line:#cbb89a;--cta:#d9603f;--sun:#e9b44c;--teal:#5a9a8b;--on:#b9482a;
  --btn1:#e2714f;--btn2:#c9502f;--bar:rgba(243,234,216,.96);--band:#e8dcc3;--hero-ink:#3b2f2a;
  --paper:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .26 0 0 0 0 .16 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),#f3ead8;
  --hero:radial-gradient(circle at 10% 112%,#8fc0a9 0 30%,transparent 30.2%),radial-gradient(circle at 94% -12%,#f2a07b 0 27%,transparent 27.2%),radial-gradient(circle at 70% 120%,#f4c9a0 0 24%,transparent 24.2%),#f7e3a6;
  --deep1:linear-gradient(135deg,#3f7f72,#52968a);--deep2:linear-gradient(135deg,#c14f30,#dc6c4b);--deep3:linear-gradient(135deg,#75599f,#9176bd)}
html[data-look="handcrafted"] header.top{border-bottom:2px dashed #b7a283}
html[data-look="handcrafted"] .brand span{border-radius:255px 15px 225px 15px/15px 225px 15px 255px}
html[data-look="handcrafted"] :is(.hero,.phero){border:3px solid var(--ink);border-radius:255px 15px 225px 15px/15px 225px 15px 255px;margin-top:16px}
html[data-look="handcrafted"] :is(.promo,.seccard,.pricecard,.arcbox){border:2.5px solid var(--ink);border-radius:255px 15px 225px 15px/15px 225px 15px 255px;box-shadow:5px 6px 0 rgba(59,47,42,.2)}
html[data-look="handcrafted"] :is(.promo,.seccard,.pricecard,.arcbox):not(:focus-visible){outline:2px dashed rgba(255,255,255,.6);outline-offset:-10px}
html[data-look="handcrafted"] .seccard{background:repeating-linear-gradient(100deg,rgba(255,255,255,.05) 0 3px,transparent 3px 11px),color-mix(in srgb,var(--sc) 84%,#5a4030)}
html[data-look="handcrafted"] .seccard:nth-child(odd){transform:rotate(-.6deg)}
html[data-look="handcrafted"] .seccard:nth-child(even){transform:rotate(.5deg)}
html[data-look="handcrafted"] :is(.how li,.tri>div,.msoon,.soonbox){border:2px solid var(--ink);border-radius:15px 225px 15px 255px/255px 15px 225px 15px;background:linear-gradient(rgba(233,180,76,.8),rgba(233,180,76,.8)) no-repeat 50% 0/84px 13px,var(--card);box-shadow:4px 5px 0 rgba(59,47,42,.14)}
html[data-look="handcrafted"] .finder{border:2px dashed #a8927a;border-radius:15px 225px 15px 255px/255px 15px 225px 15px}
html[data-look="handcrafted"] .sec{padding-bottom:9px;background:linear-gradient(-2deg,transparent 46%,var(--teal) 47% 53%,transparent 54%) no-repeat 0 100%/150px 12px}
html[data-look="handcrafted"] .btn{border:2px solid var(--ink);border-radius:255px 15px 225px 15px/15px 225px 15px 255px;box-shadow:3px 4px 0 var(--ink)}
html[data-look="handcrafted"] .btn:hover{transform:translate(-1px,-1px);box-shadow:4px 5px 0 var(--ink)}
html[data-look="handcrafted"] .btn.alt{box-shadow:none}
html[data-look="handcrafted"] .chip{border:2px solid var(--ink);border-radius:255px 15px 225px 15px/15px 225px 15px 255px}
html[data-look="handcrafted"] .hf .hphoto{border-color:#fffaf0;border-radius:6px;transform:rotate(-3deg)}
html[data-look="handcrafted"] .hf .hsix{border-color:#fffaf0;border-radius:6px;transform:rotate(2.5deg)}

/* ---------- 7. Nature Explorer: field-guide greens, earth, contour lines, trail markers ---------- */
html[data-look="explorer"]{--wall:#f1eee0;--wall2:#e3e2cc;--ink:#26301f;--muted:#5a664d;--card:#faf8ec;--line:#c5c9a6;--cta:#c5622f;--sun:#d9a431;--teal:#4f8f7a;--on:#a94f22;
  --btn1:#5c8a3f;--btn2:#3f6b2b;--bar:rgba(38,48,31,.97);--bar-ink:#f1eee0;--bar-bg:#26301f;--band:#dfe3c6;--hero-ink:#f7f5e6;
  --paper:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' fill='none' stroke='%235a7040' stroke-opacity='.15' stroke-width='1.2'%3E%3Cpath d='M-10 40c40-30 80 20 130 0s90-30 150 0M-10 80c50-24 90 26 140 6s80-36 140-6M-10 130c40-34 100 30 150 4s70-28 130 0M-10 180c60-30 90 24 140 4s90-30 140 0M-10 226c50-26 80 22 130 2s100-30 150 0'/%3E%3Cellipse cx='196' cy='108' rx='26' ry='12'/%3E%3Cellipse cx='196' cy='108' rx='13' ry='5'/%3E%3C/svg%3E"),#f1eee0;
  --hero:radial-gradient(64% 46% at 18% 114%,#1c4429 0 99%,transparent 100%),radial-gradient(72% 50% at 82% 122%,#2a5d35 0 99%,transparent 100%),radial-gradient(30% 42% at 86% 10%,rgba(255,224,140,.5),transparent 70%),linear-gradient(180deg,#3a7556,#66a06c);
  --deep1:linear-gradient(#d9a431,#d9a431) no-repeat 28px 0/46px 7px,linear-gradient(135deg,#2a5534,#3f7848);--deep2:linear-gradient(#d9a431,#d9a431) no-repeat 28px 0/46px 7px,linear-gradient(135deg,#70492a,#94663b);--deep3:linear-gradient(#d9a431,#d9a431) no-repeat 28px 0/46px 7px,linear-gradient(135deg,#27575e,#3b7c84)}
html[data-look="explorer"] header.top .hmusic[aria-pressed="true"]{border-color:var(--sun);color:var(--sun)}
html[data-look="explorer"] .brand span{background:var(--btn1);color:#fff;border-radius:50% 6px 50% 6px}
html[data-look="explorer"] .nav button{border-radius:8px}
html[data-look="explorer"] :is(.promo,.seccard,.pricecard,.arcbox){border-radius:14px;border:1.5px solid rgba(38,48,31,.3);box-shadow:0 4px 0 rgba(38,48,31,.28)}
html[data-look="explorer"] .seccard{background:linear-gradient(#d9a431,#d9a431) no-repeat 24px 0/40px 7px,linear-gradient(150deg,color-mix(in srgb,var(--sc) 58%,#3d5a2f),color-mix(in srgb,var(--sc) 42%,#1d2a16))}
html[data-look="explorer"] :is(.how li,.tri>div,.finder,.msoon,.soonbox){border:1.5px solid #b9bd98;border-radius:10px;box-shadow:0 3px 0 #d5d8b8}
html[data-look="explorer"] .sec{padding:0 0 8px 36px;border-bottom:2px dashed var(--line);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21C3 9 10 3 21 3c0 11-6 18-18 18z' fill='%235c8a3f'/%3E%3Cpath d='M4 20L16 8' stroke='%23f1eee0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 .25em/24px 24px}
html[data-look="explorer"] .btn{border-radius:10px;box-shadow:0 4px 0 #2c4c1e}
html[data-look="explorer"] .btn:active{transform:translateY(2px);box-shadow:0 2px 0 #2c4c1e}
html[data-look="explorer"] .btn.alt{box-shadow:none}
html[data-look="explorer"] :is(.chip,.fmore summary,.in.search,.finder .occ){border-radius:8px}
html[data-look="explorer"] .seccount{border-radius:5px}
html[data-look="explorer"] .hf :is(.hphoto,.hsix){border-radius:10px;border-color:#f7f5e6}

/* ---------- 8. Bold Comic Adventure: black outlines, halftone dots, caption boxes ---------- */
html[data-look="comic"]{--wall:#fff3b0;--wall2:#ffe680;--ink:#111111;--muted:#44445a;--card:#ffffff;--line:#111111;--cta:#e62429;--sun:#ffd60a;--teal:#00b4d8;--on:#d11a1f;
  --btn1:#ff3b3f;--btn2:#e62429;--bar:rgba(255,255,255,.97);--band:#111111;--band-ink:#ffffff;--hero-ink:#111111;
  --paper:radial-gradient(circle,rgba(230,36,41,.17) 0 2.2px,transparent 2.8px) 0 0/16px 16px,#fff3b0;
  --hero:radial-gradient(circle,rgba(255,255,255,.4) 0 2px,transparent 2.6px) 0 0/14px 14px,repeating-conic-gradient(from 0deg at 72% 46%,#ffd60a 0 9deg,#ffbe0b 9deg 18deg);
  --deep1:radial-gradient(circle,rgba(255,255,255,.18) 0 2px,transparent 2.6px) 0 0/12px 12px,#1d4ed8;--deep2:radial-gradient(circle,rgba(255,255,255,.18) 0 2px,transparent 2.6px) 0 0/12px 12px,#e62429;--deep3:radial-gradient(circle,rgba(255,255,255,.18) 0 2px,transparent 2.6px) 0 0/12px 12px,#7b2cbf}
html[data-look="comic"] header.top{border-bottom:4px solid #111}
html[data-look="comic"] .brand span{background:var(--cta);color:#fff;border-radius:4px}
html[data-look="comic"] .nav button{border-radius:4px}
html[data-look="comic"] :is(.hero,.phero){border-block:4px solid #111}
html[data-look="comic"] .hero :is(h1,h2){text-shadow:3px 3px 0 #fff}
html[data-look="comic"] :is(.promo,.seccard,.pricecard,.arcbox){border:3.5px solid #111;border-radius:4px;box-shadow:6px 6px 0 #111}
html[data-look="comic"] .promo.p1{transform:rotate(-.7deg)}
html[data-look="comic"] .promo.p2{transform:rotate(.7deg)}
html[data-look="comic"] .seccard{background:radial-gradient(circle,rgba(255,255,255,.2) 0 2px,transparent 2.6px) 0 0/12px 12px,var(--sc)}
html[data-look="comic"] :is(.seccard b,.promo b){text-shadow:2px 2px 0 #111}
html[data-look="comic"] :is(.how li,.tri>div,.finder,.msoon,.soonbox){border:3px solid #111;border-radius:4px;box-shadow:5px 5px 0 #111;background:#fff}
html[data-look="comic"] .sec{background:var(--sun);border:3px solid #111;box-shadow:4px 4px 0 #111;padding:6px 14px 4px}
html[data-look="comic"] .sec span{color:#333}
html[data-look="comic"] .btn{border:3px solid #111;border-radius:6px;box-shadow:4px 4px 0 #111;letter-spacing:.06em}
html[data-look="comic"] .btn:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 #111}
html[data-look="comic"] .btn.alt{box-shadow:none}
html[data-look="comic"] :is(.chip,.fmore summary,.in.search,.finder .occ){border:2.5px solid #111;border-radius:4px}
html[data-look="comic"] .seccount{border-radius:3px;background:#111}
html[data-look="comic"] .hf :is(.hphoto,.hsix){border-radius:4px;box-shadow:0 0 0 3px #111}

/* ---------- 9. Elegant Literary: ivory, ink, oxblood, hairlines and white space ---------- */
html[data-look="literary"]{--wall:#faf9f6;--wall2:#f0eee8;--ink:#1a1a1a;--muted:#66665f;--card:#ffffff;--line:#d9d6cd;--cta:#7a1f2b;--sun:#a8894a;--teal:#3d5a5a;--on:#7a1f2b;
  --btn1:#1a1a1a;--btn2:#1a1a1a;--bar:rgba(250,249,246,.97);--band:#faf9f6;--hero-ink:#f4f1e8;
  --paper:#faf9f6;--hero:linear-gradient(#162136,#162136);--deep1:linear-gradient(#162136,#162136);--deep2:linear-gradient(#6d1b26,#6d1b26);--deep3:linear-gradient(#2c4141,#2c4141)}
html[data-look="literary"] header.top{border-bottom:1px solid var(--ink)}
html[data-look="literary"] .brand span{border-radius:0}
html[data-look="literary"] .nav button{border-radius:0}
html[data-look="literary"] :is(.hero,.phero){outline:1px solid rgba(190,160,96,.85);outline-offset:-13px}
html[data-look="literary"] :is(.promo,.seccard,.pricecard,.arcbox){border-radius:0;border-color:transparent;box-shadow:none}
html[data-look="literary"] :is(.promo,.pricecard,.arcbox):not(:focus-visible){outline:1px solid rgba(255,255,255,.4);outline-offset:-8px}
html[data-look="literary"] .seccard{background:linear-gradient(var(--sc),var(--sc)) no-repeat 0 0/100% 5px,#fff;color:var(--ink);border:1px solid var(--ink)}
html[data-look="literary"] .seccard .secnote{color:#55554f}
html[data-look="literary"] .seccard .seccount{background:transparent;color:var(--ink);border:1px solid var(--ink);border-radius:0}
html[data-look="literary"] :is(.how li,.tri>div,.msoon,.soonbox){background:transparent;border:0;border-top:1px solid var(--ink);border-radius:0;box-shadow:none}
html[data-look="literary"] .finder{border-radius:0;border:1px solid var(--line);box-shadow:none}
html[data-look="literary"] .sec{font-style:italic;font-weight:500;border-top:1px solid var(--ink);padding-top:18px}
html[data-look="literary"] .sec span{font-style:normal}
html[data-look="literary"] .msech{font-family:var(--ui);text-transform:uppercase;letter-spacing:.16em;font-size:1rem;font-weight:700}
html[data-look="literary"] .btn{border-radius:0;box-shadow:none;font-family:var(--ui);font-size:.9em;text-transform:uppercase;letter-spacing:.12em}
html[data-look="literary"] :is(.hero,.phero,.pricecard,.arcbox) .btn:not(.alt){background:#f4f1e8;color:#162136}
html[data-look="literary"] :is(.chip,.fmore summary,.in.search,.finder .occ){border-radius:0;border-width:1px}
html[data-look="literary"] .trust{border-bottom:1px solid var(--ink)}
html[data-look="literary"] .newtag{border-radius:0}
html[data-look="literary"] .bk{box-shadow:0 14px 20px -16px rgba(26,26,26,.7)}
html[data-look="literary"] .hf :is(.hphoto,.hsix){border-radius:0;border-width:1px;border-color:rgba(244,241,232,.9);box-shadow:none}

/* ---------- 10. Folk Art Fairytale: teal, red and mustard, scalloped edges, painted flowers ---------- */
html[data-look="folk"]{--wall:#fbf1dc;--wall2:#f3e2bd;--ink:#2a1e3a;--muted:#66566c;--card:#fff8e8;--line:#e0c88f;--cta:#c8372d;--sun:#e8a71c;--teal:#1f7a78;--on:#c8372d;
  --btn1:#d94a3a;--btn2:#b82c25;--bar:rgba(23,85,90,.97);--bar-ink:#fbf1dc;--bar-bg:#17555a;--band:#e8a71c;--band-ink:#2a1e3a;--hero-ink:#fbf1dc;
  --scallop:radial-gradient(circle at 12px 0,#e8a71c 0 9px,transparent 9.6px) repeat-x 0 0/24px 12px;
  --motif:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%23c8372d' fill-opacity='.1'%3E%3Cg transform='translate(30 30)'%3E%3Cellipse rx='4' ry='10' cy='-11'/%3E%3Cellipse rx='4' ry='10' cy='11'/%3E%3Cellipse rx='10' ry='4' cx='-11'/%3E%3Cellipse rx='10' ry='4' cx='11'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%231f7a78' fill-opacity='.11'%3E%3Cg transform='translate(90 90) rotate(45)'%3E%3Cellipse rx='4' ry='10' cy='-11'/%3E%3Cellipse rx='4' ry='10' cy='11'/%3E%3Cellipse rx='10' ry='4' cx='-11'/%3E%3Cellipse rx='10' ry='4' cx='11'/%3E%3C/g%3E%3Ccircle cx='90' cy='30' r='3'/%3E%3Ccircle cx='30' cy='90' r='3'/%3E%3C/g%3E%3Cg fill='%23e8a71c' fill-opacity='.32'%3E%3Ccircle cx='30' cy='30' r='3.500'/%3E%3Ccircle cx='90' cy='90' r='3.500'/%3E%3C/g%3E%3C/svg%3E");
  --paper:var(--motif),#fbf1dc;
  --hero:var(--scallop),radial-gradient(circle at 12px 12px,#e8a71c 0 9px,transparent 9.6px) repeat-x 0 100%/24px 12px,radial-gradient(60% 80% at 80% 30%,rgba(255,240,200,.16),transparent 62%),linear-gradient(135deg,#14494e,#1f7a78);
  --deep1:var(--scallop),linear-gradient(135deg,#a82720,#d04434);--deep2:var(--scallop),linear-gradient(135deg,#14494e,#1f7a78);--deep3:var(--scallop),linear-gradient(135deg,#52265f,#783b89)}
html[data-look="folk"] header.top .hmusic[aria-pressed="true"]{border-color:var(--sun);color:var(--sun)}
html[data-look="folk"] .brand span{background:var(--sun);color:#2a1e3a;border-radius:50%}
html[data-look="folk"] :is(.promo,.seccard,.pricecard,.arcbox){border-radius:18px;border-color:transparent;box-shadow:0 0 0 3px #fbf1dc,0 0 0 6px var(--sun),0 22px 30px -18px rgba(42,30,58,.7)}
html[data-look="folk"] .seccard{background:var(--scallop),linear-gradient(150deg,color-mix(in srgb,var(--sc) 76%,#2a1e3a),color-mix(in srgb,var(--sc) 52%,#2a1e3a))}
html[data-look="folk"] :is(.how li,.tri>div,.finder,.msoon,.soonbox){border:2px solid var(--sun);border-radius:16px;box-shadow:inset 0 0 0 4px var(--card),inset 0 0 0 5.5px rgba(200,55,45,.5)}
html[data-look="folk"] .sec{padding:0 0 10px 40px;border-bottom:3px dotted var(--sun);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-16 -16 32 32'%3E%3Cg fill='%23c8372d'%3E%3Cellipse rx='4' ry='9' cy='-7'/%3E%3Cellipse rx='4' ry='9' cy='7'/%3E%3Cellipse rx='9' ry='4' cx='-7'/%3E%3Cellipse rx='9' ry='4' cx='7'/%3E%3C/g%3E%3Ccircle r='4' fill='%23e8a71c'/%3E%3C/svg%3E") no-repeat 0 .15em/30px 30px}
html[data-look="folk"] .btn{box-shadow:0 0 0 3px #fbf1dc,0 0 0 5px var(--sun)}
html[data-look="folk"] .btn.alt{box-shadow:none}
html[data-look="folk"] .chip{border:2px solid var(--sun)}
html[data-look="folk"] .hf :is(.hphoto,.hsix){border-radius:22px;border-color:#fbf1dc;box-shadow:0 0 0 3px var(--sun),0 14px 26px -12px rgba(0,0,0,.6)}

/* ================= refinement pass: hierarchy, restraint and one connected hero in every template =================
   The same aims for each look, kept in that look's own colours and character: the headline and the book lead; the
   photo-to-character steps read as one sequence; decoration sits behind the content, never across it. Nothing here
   changes the order, the wording or the size of the hero. */
/* shared: a headline in two balanced lines, calmer supporting text, and the two demo pictures framed alike and square to the arrows */
html:is([data-look="classic"],[data-look="playful"],[data-look="dreams"],[data-look="cinematic"],[data-look="bedtime"],[data-look="handcrafted"],[data-look="explorer"],[data-look="comic"],[data-look="literary"],[data-look="folk"]) .hero :is(h1,h2){max-width:16ch}
html:is([data-look="classic"],[data-look="playful"],[data-look="dreams"],[data-look="cinematic"],[data-look="bedtime"],[data-look="handcrafted"],[data-look="explorer"],[data-look="comic"],[data-look="literary"],[data-look="folk"]) .hero .lede{line-height:1.55}
html:is([data-look="classic"],[data-look="playful"],[data-look="dreams"],[data-look="cinematic"],[data-look="bedtime"],[data-look="handcrafted"],[data-look="explorer"],[data-look="comic"],[data-look="literary"],[data-look="folk"]) .trust li{font-weight:600}
html:is([data-look="playful"],[data-look="handcrafted"]) .hf :is(.hphoto,.hsix){transform:none}
html:is([data-look="classic"],[data-look="playful"],[data-look="dreams"],[data-look="cinematic"],[data-look="bedtime"],[data-look="handcrafted"],[data-look="explorer"],[data-look="comic"],[data-look="literary"],[data-look="folk"]) .hf figcaption{font-size:.8rem;letter-spacing:.03em}

/* 1. Classic Storybook: the gold rule frames the hero outside the book, and the book casts a warm shadow */
html[data-look="classic"] :is(.hero,.phero){outline-offset:-6px}
html[data-look="classic"] .hb{box-shadow:0 30px 50px -22px rgba(8,22,16,.95),0 0 0 1px rgba(226,194,120,.35)}
html[data-look="classic"] .hero .lede{color:rgba(251,243,220,.84)}

/* 2. Modern Playful: one soft glow behind the book instead of shapes crossing the text; a quieter page */
html[data-look="playful"]{
  --paper:radial-gradient(circle,rgba(255,90,95,.14) 0 4px,transparent 4.6px) 20px 30px/260px 240px,radial-gradient(circle,rgba(24,199,176,.16) 0 5px,transparent 5.6px) 150px 150px/300px 280px,radial-gradient(40% 30% at 0 0,rgba(255,201,60,.22),transparent 70%),#fffdf7;
  --hero:radial-gradient(40% 62% at 78% 46%,rgba(255,255,255,.6),transparent 70%),radial-gradient(circle at 100% 0,#ff8fab 0 9%,transparent 9.2%),linear-gradient(120deg,#ffd43b,#ffbe55)}
html[data-look="playful"] .hb{box-shadow:0 26px 0 -14px rgba(31,35,64,.16),0 30px 44px -24px rgba(31,35,64,.55)}
html[data-look="playful"] .hero .lede{color:#3d4266}
html[data-look="playful"] .sec{background-size:120px 100%}

/* 3. Watercolour Dreams: a headline with enough ink to lead, and washes kept to the edges */
html[data-look="dreams"]{--hero-ink:#2a3350;
  --hero:radial-gradient(46% 70% at 80% 44%,rgba(255,255,255,.85),transparent 66%),radial-gradient(40% 60% at 100% 0,rgba(244,184,204,.6),transparent 66%),radial-gradient(50% 60% at 0 100%,rgba(160,196,236,.55),transparent 66%),linear-gradient(120deg,#e3f1ee,#ece6f8 55%,#fbe9ee)}
html[data-look="dreams"] .hero :is(h1,h2){font-weight:700;letter-spacing:-.005em}
html[data-look="dreams"] .hero .lede{color:#46506e}
html[data-look="dreams"] .hb{box-shadow:0 30px 50px -26px rgba(70,90,140,.7)}
html[data-look="dreams"] .sec{background-size:120px 130%}

/* 4. Cinematic Adventure: the title in two lines, like a poster, with the light falling on the book */
html[data-look="cinematic"] .hero :is(h1,h2){max-width:none;letter-spacing:.02em;font-size:clamp(2.1rem,4vw,3.25rem)}
html[data-look="cinematic"] .hb{box-shadow:0 34px 70px -18px #000,0 0 60px -10px rgba(255,170,60,.35)}
html[data-look="cinematic"] .hero .lede{color:rgba(243,239,230,.82)}

/* 5. Bedtime Magic: stars stay in the sky around the page, not across the words; a moonlit glow behind the book */
html[data-look="bedtime"]{--hero:radial-gradient(40% 62% at 78% 44%,rgba(243,210,138,.22),transparent 68%),radial-gradient(circle,rgba(255,255,255,.55) 0 1px,transparent 1.6px) 0 0/120px 120px,linear-gradient(160deg,#222a64,#35307e 60%,#55469a)}
html[data-look="bedtime"] .hero :is(h1,h2){max-width:none;letter-spacing:-.01em;font-size:clamp(2.1rem,4.1vw,3.3rem)}
html[data-look="bedtime"] .hb{box-shadow:0 30px 60px -20px rgba(6,8,30,.9),0 0 70px -12px rgba(243,210,138,.4)}
html[data-look="bedtime"] .seccard{background:linear-gradient(160deg,color-mix(in srgb,var(--sc) 46%,#1c2450),color-mix(in srgb,var(--sc) 24%,#141a3a))}
html[data-look="bedtime"] .hero .lede{color:rgba(238,240,255,.86)}

/* 6. Whimsical Handcrafted: cut-paper shapes tucked into the corners, a headline with more weight, level photos */
html[data-look="handcrafted"]{--hero:radial-gradient(circle at 100% 110%,#f4c9a0 0 30%,transparent 30.2%),radial-gradient(circle at 104% -14%,#f2a07b 0 22%,transparent 22.2%),radial-gradient(circle at -4% 112%,#8fc0a9 0 16%,transparent 16.2%),#f7e3a6}
html[data-look="handcrafted"] .hero :is(h1,h2){max-width:19ch;-webkit-text-stroke:.5px currentColor}
html[data-look="handcrafted"] .hb{box-shadow:7px 9px 0 rgba(59,47,42,.22)}
html[data-look="handcrafted"] .seccard:nth-child(odd),html[data-look="handcrafted"] .seccard:nth-child(even){transform:none}
html[data-look="handcrafted"] :is(.how li,.tri>div,.msoon,.soonbox){background:var(--card)}

/* 7. Nature Explorer: the hills sit lower so the words stand on clear sky */
html[data-look="explorer"]{--hero:radial-gradient(64% 34% at 18% 116%,#1c4429 0 99%,transparent 100%),radial-gradient(72% 38% at 84% 122%,#2a5d35 0 99%,transparent 100%),radial-gradient(34% 52% at 80% 40%,rgba(255,236,170,.26),transparent 70%),linear-gradient(180deg,#356f52,#5d9966)}
html[data-look="explorer"] .hb{box-shadow:0 30px 50px -22px rgba(10,30,16,.9)}
html[data-look="explorer"] .hero .lede{color:rgba(247,245,230,.88)}

/* 8. Bold Comic Adventure: softer rays behind the action, menu lettering that can be read at a glance */
html[data-look="comic"]{--hero:radial-gradient(40% 62% at 78% 46%,rgba(255,255,255,.55),transparent 70%),repeating-conic-gradient(from 0deg at 78% 46%,#ffd60a 0 10deg,#ffcf1a 10deg 20deg);
  --paper:radial-gradient(circle,rgba(230,36,41,.1) 0 2px,transparent 2.6px) 0 0/18px 18px,#fff3b0}
html[data-look="comic"] .nav button,html[data-look="comic"] header.top .in{font-family:var(--ui);font-weight:700;letter-spacing:0;text-transform:none}
html[data-look="comic"] .hb{box-shadow:0 0 0 3px #111,9px 9px 0 3px #111}
html[data-look="comic"] .hero .lede{color:#222;font-weight:700}

/* 9. Elegant Literary: the hairline frame clears the book; a quiet, exact shadow */
html[data-look="literary"] :is(.hero,.phero){outline-offset:-7px}
html[data-look="literary"] .hb{box-shadow:0 24px 40px -22px rgba(0,0,0,.85)}
html[data-look="literary"] .hero .lede{color:rgba(244,241,232,.8)}

/* 10. Folk Art Fairytale: the painted pattern fades back so the page reads first */
html[data-look="folk"]{--paper:linear-gradient(rgba(251,241,220,.6),rgba(251,241,220,.6)),var(--motif),#fbf1dc}
html[data-look="folk"] .hb{box-shadow:0 0 0 3px #fbf1dc,0 0 0 6px var(--sun),0 30px 44px -18px rgba(6,30,34,.9)}
html[data-look="folk"] .hero .lede{color:rgba(251,241,220,.88)}

/* >>> cartoon and comic looks (written by a script: edit the script, not this block) >>> */
/* ================= Manga Pop: a look drawn like a Japanese comic =================
   An original drawing in the spirit of the style: no real comic's characters, colours or lettering are copied. */
/* ---------- Manga Pop: black ink on white paper, speed lines, screentone dots, hot pink and cyan ---------- */
html[data-look="manga"]{--wall:#ffffff;--wall2:#f3f3f6;--ink:#111111;--muted:#55555f;--card:#ffffff;--line:#111111;--cta:#ff3d8b;--sun:#ffe45c;--teal:#00b8d9;--on:#e0206f;--btn1:#ff5aa0;--btn2:#ff3d8b;--bar:rgba(255,255,255,.97);--band:#111;--band-ink:#fff;--hero-ink:#111;
  --paper:radial-gradient(circle,rgba(17,17,17,.1) 0 1.4px,transparent 2px) 0 0/12px 12px,linear-gradient(180deg,#fff 0,#fff 30%,rgba(255,255,255,.86)),#fff;
  --hero:radial-gradient(circle at 78% 46%,#fff 0 22%,rgba(255,255,255,0) 60%),radial-gradient(46% 70% at 20% 46%,rgba(255,255,255,.92) 0 50%,rgba(255,255,255,0) 100%),repeating-conic-gradient(from 0deg at 78% 46%,rgba(17,17,17,0) 0 2.6deg,rgba(17,17,17,.14) 2.6deg 3.4deg),radial-gradient(circle,rgba(255,61,139,.28) 0 2px,transparent 2.6px) 0 0/14px 14px,linear-gradient(120deg,#fff,#ffe1ee);
  --deep1:radial-gradient(circle,rgba(255,255,255,.14) 0 1.6px,transparent 2.2px) 0 0/10px 10px,linear-gradient(#111,#111);--deep2:radial-gradient(circle,rgba(255,255,255,.2) 0 1.6px,transparent 2.2px) 0 0/10px 10px,linear-gradient(#ff3d8b,#ff3d8b);--deep3:radial-gradient(circle,rgba(255,255,255,.2) 0 1.6px,transparent 2.2px) 0 0/10px 10px,linear-gradient(#00a5c4,#00a5c4)}
html[data-look="manga"] header.top{border-bottom:3px solid #111}
html[data-look="manga"] .brand span{background:#111;color:#fff;border-radius:4px}
html[data-look="manga"] :is(.hero,.phero){border:3px solid #111;border-radius:6px;margin-top:16px}
html[data-look="manga"] .hero :is(h1,h2){color:#111;text-shadow:4px 4px 0 #ff3d8b;letter-spacing:.01em}
html[data-look="manga"] .hero .lede{color:#222;font-weight:700;line-height:1.55}
html[data-look="manga"] .hero :is(h1,h2){max-width:none;font-size:clamp(1.9rem,3.5vw,2.9rem)}
html[data-look="manga"] :is(.promo,.seccard,.pricecard,.arcbox){border:3px solid #111;border-radius:6px;box-shadow:0 6px 0 #ff3d8b}
html[data-look="manga"] .seccard{background:radial-gradient(circle,rgba(255,255,255,.2) 0 1.6px,transparent 2.2px) 0 0/10px 10px,linear-gradient(var(--sc),var(--sc))}
html[data-look="manga"] :is(.how li,.tri>div,.finder,.msoon,.soonbox,.gfband,.gfind){border:3px solid #111;border-radius:6px;box-shadow:0 5px 0 #111}
html[data-look="manga"] :is(.gfcard,.gftile,.gfpill){border-color:#111}
html[data-look="manga"] .btn{border:3px solid #111;border-radius:8px;box-shadow:0 5px 0 #111;}
html[data-look="manga"] .btn:active{transform:translateY(4px);box-shadow:0 1px 0 #111}
html[data-look="manga"] .btn.alt{box-shadow:none}
html[data-look="manga"] :is(.chip,.fmore summary,.in.search,.finder .occ){border:2px solid #111}
html[data-look="manga"] .hf :is(.hphoto,.hsix){border-color:#fff;border-radius:4px;box-shadow:0 0 0 3px #111}
html[data-look="manga"] .hf figcaption{font-size:.8rem;letter-spacing:.03em}
html[data-look="manga"] .hb{box-shadow:0 0 0 3px #111,8px 10px 0 3px #111}
html[data-look="manga"] .trust li{font-weight:700}
html[data-look="manga"].sky body::after{display:none}

html[data-look="manga"] .sec{background:#111;color:#fff;padding:7px 18px 5px;transform:skewX(-7deg);box-shadow:5px 5px 0 #ff3d8b}
html[data-look="manga"] .sec span{color:#ddd}
html[data-look="manga"] .msech{letter-spacing:.02em}
html[data-look="manga"] .nav button,html[data-look="manga"] header.top .in,html[data-look="manga"] .btn{font-family:var(--ui);font-weight:800;letter-spacing:0}
html[data-look="manga"] .promo.p1{transform:rotate(-.6deg)}
html[data-look="manga"] .promo.p2{transform:rotate(.6deg)}
html[data-look="manga"] .newtag{border-radius:2px}
/* <<< cartoon and comic looks <<< */

/* ---------- 12. Storybook Watercolour (the 2026 redesign): painted paper, torn-paper sections, its own home page ----------
   Unlike the other templates this one also lays the home page out differently: its own menu (Discover, Create a Book,
   Storyshelf+, Library), a hero picture of a child stepping out of a window into a book, Read / Personalise / Follow,
   four featured books, "Make it theirs" (the photo → character → book row with the walking boy, moved there by app.js,
   sbArrange) and the series. The full shelf with search and filters opens from "View all". Art: /assets/sb/. */
html[data-look="storybook"]{--wall:#fdf2e3;--wall2:#f6e4cc;--ink:#1f2e22;--muted:#5a5446;--card:#fff9f0;--line:#dcc9a8;--cta:#2e5a35;--cta-ink:#fff;--sun:#d4a63a;--teal:#2f4f86;--on:#2e5a35;
  --btn1:#2e5a35;--btn2:#24492b;--bar:rgba(253,242,227,.96);--band:#2e5a35;--band-ink:#f4ecdc;--hero-ink:#1f2e22;
  --paper:url(/assets/sb/paper.webp) 0 0/600px repeat,#fdf2e3;
  --hero:linear-gradient(135deg,#2e5a35,#3c6e43);--deep1:linear-gradient(135deg,#a63e32,#b9523f);--deep2:linear-gradient(135deg,#2e5a35,#3c6e43);--deep3:linear-gradient(135deg,#2f4f86,#3d63a3);
  --sb-read:#2e6b3a;--sb-read-t:#e3efdd;--sb-pers:#a63e32;--sb-pers-t:#f7e0d6;--sb-fol:#2f4f86;--sb-fol-t:#e0e6f2;--sb-parch:#f3dec0;--sb-light:#fff9f0}
html[data-look="storybook"] body{font-size:17px}
html[data-look="storybook"] .wrap{max-width:1240px}
html[data-look="storybook"] :is(h1,h2,h3,.sbh2,.sbh3){font-family:var(--disp)}

/* the menu */
html[data-look="storybook"] header.top{gap:28px;padding:18px 0 8px;position:relative;z-index:5}
html[data-look="storybook"] .brand{font-family:var(--disp);font-weight:600;font-size:2rem;color:var(--cta);letter-spacing:-.01em}
html[data-look="storybook"] .brand span{display:none}
html[data-look="storybook"] header.top>.nav{display:none}
html[data-look="storybook"] .sbnav{display:flex;align-items:center;gap:6px;flex:1;margin-left:20px}
html[data-look="storybook"] .sbnav button{background:none;border:0;padding:10px 14px;border-radius:999px;font-family:var(--disp);font-weight:500;font-size:1.08rem;color:var(--ink);min-height:44px}
html[data-look="storybook"] .sbnav button:hover{background:rgba(46,90,53,.08);color:var(--cta)}
html[data-look="storybook"] .sbnav .sbsearch{margin-left:auto;width:44px;padding:0;display:grid;place-items:center}
html[data-look="storybook"] .sbnav svg,html[data-look="storybook"] .sbmenu svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
html[data-look="storybook"] .sbmenu{background:none;border:0;width:44px;height:44px;place-items:center;color:var(--ink)}
html[data-look="storybook"] header.top .hmusic,html[data-look="storybook"] header.top .lang{background:rgba(255,255,255,.55);border-color:var(--line)}

/* the old home sections this template replaces */
html[data-look="storybook"] #home>:is(.hero,.trust,#bkshelf,#giftband,.promos,#rows,#colcards,#how,.how){display:none}
html[data-look="storybook"] #home:not(.sball)>:is(#library,.filters,#fmore,#shelf){display:none}
html[data-look="storybook"] #home .msec:has(.msoon){display:none}
html[data-look="storybook"] .mascot{display:none}

/* hero */
html[data-look="storybook"] .sbhero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.75fr);gap:12px;align-items:center;position:relative;padding:4px 0 0}
html[data-look="storybook"] .sbleaf{position:absolute;pointer-events:none;user-select:none;height:auto}
html[data-look="storybook"] .sbleaf1{width:170px;left:-150px;top:-120px;transform:rotate(16deg)}
html[data-look="storybook"] .sbhtext{position:relative;z-index:1}
html[data-look="storybook"] .sbhero h1{font-weight:600;font-size:clamp(2.2rem,4.2vw,3.3rem);line-height:1.04;margin:0;max-width:11ch;color:var(--ink);letter-spacing:-.01em}
html[data-look="storybook"] .sbswash{width:150px;height:16px;display:block;margin:6px 0 0}
html[data-look="storybook"] .sbswash path{fill:none;stroke:var(--sun);stroke-width:4;stroke-linecap:round}
html[data-look="storybook"] .sblede{font-family:var(--disp);font-size:1.25rem;line-height:1.45;color:#3a3a30;max-width:24em;margin:14px 0 0}
html[data-look="storybook"] .sblede.c{margin:8px auto 0;text-align:center;max-width:30em}
html[data-look="storybook"] .sbbtns{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:16px}
html[data-look="storybook"] .sbbtn{display:inline-flex;align-items:center;gap:10px;background:var(--cta);color:#fff;border:0;border-radius:999px;padding:13px 28px;min-height:48px;font-family:var(--disp);font-weight:500;font-size:1.15rem;box-shadow:0 10px 20px -12px rgba(30,60,35,.8)}
html[data-look="storybook"] .sbbtn:hover{background:var(--btn2)}
html[data-look="storybook"] .sbbtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html[data-look="storybook"] .sbbtn.sm{padding:8px 20px;min-height:40px;font-size:1rem}
html[data-look="storybook"] .sbbtn.blue{background:var(--sb-fol)}
html[data-look="storybook"] .sblink{background:none;border:0;padding:8px 2px;font-weight:800;color:var(--cta);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px;cursor:pointer;font-size:1rem}
html[data-look="storybook"] .sblink.blue{color:var(--sb-fol)}
html[data-look="storybook"] .sbnote{margin:10px 0 0;font-size:.95rem;font-weight:700;color:var(--muted)}
html[data-look="storybook"] .sbnote.c{text-align:center}
html[data-look="storybook"] .sbhart img{display:block;width:100%;height:auto;mix-blend-mode:multiply;-webkit-mask-image:radial-gradient(ellipse 80% 85% at 52% 50%,#000 78%,transparent 100%);mask-image:radial-gradient(ellipse 80% 85% at 52% 50%,#000 78%,transparent 100%)}

/* torn-paper bands, full width */
html[data-look="storybook"] .sbtorn{position:relative;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);background:var(--sb-light)}
html[data-look="storybook"] .sbtorn::before,html[data-look="storybook"] .sbtorn::after{content:"";position:absolute;left:0;right:0;height:30px;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 30%22 preserveAspectRatio=%22none%22%3E%3Cg%3E%3Cpath d=%22M0 30 L0 9.9 L31 4.6 L52 9.2 L81 4.1 L122 11.3 L148 7.0 L185 12.2 L202 10.0 L223 12.4 L242 10.8 L270 5.5 L286 16.1 L329 4.7 L356 16.4 L376 8.9 L406 12.4 L429 5.4 L472 9.2 L493 10.7 L517 5.2 L554 7.9 L579 4.1 L621 6.3 L661 9.6 L682 11.4 L708 13.6 L742 4.9 L763 9.3 L779 3.7 L806 12.5 L839 16.4 L863 9.1 L892 9.1 L931 9.3 L958 6.7 L979 13.4 L997 6.8 L1034 15.0 L1077 16.0 L1117 13.5 L1150 10.8 L1165 7.5 L1190 6.0 L1215 12.6 L1252 6.7 L1294 3.1 L1319 11.2 L1346 4.3 L1390 9.4 L1430 11.2 L1440 4.8 L1440 30 Z%22 fill=%22%23fff%22/%3E%3Cpath d=%22M0 30 L0 12.9 L31 7.6 L52 12.2 L81 7.1 L122 14.3 L148 10.0 L185 15.2 L202 13.0 L223 15.4 L242 13.8 L270 8.5 L286 19.1 L329 7.7 L356 19.4 L376 11.9 L406 15.4 L429 8.4 L472 12.2 L493 13.7 L517 8.2 L554 10.9 L579 7.1 L621 9.3 L661 12.6 L682 14.4 L708 16.6 L742 7.9 L763 12.3 L779 6.7 L806 15.5 L839 19.4 L863 12.1 L892 12.1 L931 12.3 L958 9.7 L979 16.4 L997 9.8 L1034 18.0 L1077 19.0 L1117 16.5 L1150 13.8 L1165 10.5 L1190 9.0 L1215 15.6 L1252 9.7 L1294 6.1 L1319 14.2 L1346 7.3 L1390 12.4 L1430 14.2 L1440 7.8 L1440 30 Z%22 fill=%22%23FFF9F0%22/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat;filter:drop-shadow(0 -2px 2px rgba(110,80,30,.16));pointer-events:none}
html[data-look="storybook"] .sbtorn::before{top:-29px}
html[data-look="storybook"] .sbtorn::after{bottom:-29px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 30%22 preserveAspectRatio=%22none%22%3E%3Cg transform=%22translate%280 30%29 scale%281 -1%29%22%3E%3Cpath d=%22M0 30 L0 14.1 L41 6.7 L56 5.2 L91 12.8 L125 15.2 L146 14.6 L165 3.5 L181 3.3 L211 14.6 L250 5.0 L279 3.7 L302 9.8 L318 8.0 L339 7.1 L376 4.9 L395 3.0 L428 4.2 L454 4.5 L482 8.8 L497 13.6 L524 13.3 L548 16.0 L584 11.9 L606 8.0 L622 15.3 L639 4.0 L658 7.3 L673 11.4 L700 8.3 L730 15.7 L760 8.9 L778 15.6 L812 10.0 L853 12.5 L881 16.5 L921 8.8 L950 12.8 L988 15.8 L1018 16.9 L1051 14.6 L1078 4.1 L1122 10.8 L1155 8.5 L1192 14.0 L1221 9.2 L1261 13.1 L1277 8.2 L1305 16.9 L1339 5.2 L1373 5.4 L1393 10.4 L1416 3.3 L1440 10.2 L1440 30 Z%22 fill=%22%23fff%22/%3E%3Cpath d=%22M0 30 L0 17.1 L41 9.7 L56 8.2 L91 15.8 L125 18.2 L146 17.6 L165 6.5 L181 6.3 L211 17.6 L250 8.0 L279 6.7 L302 12.8 L318 11.0 L339 10.1 L376 7.9 L395 6.0 L428 7.2 L454 7.5 L482 11.8 L497 16.6 L524 16.3 L548 19.0 L584 14.9 L606 11.0 L622 18.3 L639 7.0 L658 10.3 L673 14.4 L700 11.3 L730 18.7 L760 11.9 L778 18.6 L812 13.0 L853 15.5 L881 19.5 L921 11.8 L950 15.8 L988 18.8 L1018 19.9 L1051 17.6 L1078 7.1 L1122 13.8 L1155 11.5 L1192 17.0 L1221 12.2 L1261 16.1 L1277 11.2 L1305 19.9 L1339 8.2 L1373 8.4 L1393 13.4 L1416 6.3 L1440 13.2 L1440 30 Z%22 fill=%22%23FFF9F0%22/%3E%3C/g%3E%3C/svg%3E");filter:drop-shadow(0 2px 2px rgba(110,80,30,.16))}
html[data-look="storybook"] .sbtorn.sbparch{background:var(--sb-parch)}
html[data-look="storybook"] .sbtorn.sbparch::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 30%22 preserveAspectRatio=%22none%22%3E%3Cg%3E%3Cpath d=%22M0 30 L0 14.1 L41 6.7 L56 5.2 L91 12.8 L125 15.2 L146 14.6 L165 3.5 L181 3.3 L211 14.6 L250 5.0 L279 3.7 L302 9.8 L318 8.0 L339 7.1 L376 4.9 L395 3.0 L428 4.2 L454 4.5 L482 8.8 L497 13.6 L524 13.3 L548 16.0 L584 11.9 L606 8.0 L622 15.3 L639 4.0 L658 7.3 L673 11.4 L700 8.3 L730 15.7 L760 8.9 L778 15.6 L812 10.0 L853 12.5 L881 16.5 L921 8.8 L950 12.8 L988 15.8 L1018 16.9 L1051 14.6 L1078 4.1 L1122 10.8 L1155 8.5 L1192 14.0 L1221 9.2 L1261 13.1 L1277 8.2 L1305 16.9 L1339 5.2 L1373 5.4 L1393 10.4 L1416 3.3 L1440 10.2 L1440 30 Z%22 fill=%22%23fff%22/%3E%3Cpath d=%22M0 30 L0 17.1 L41 9.7 L56 8.2 L91 15.8 L125 18.2 L146 17.6 L165 6.5 L181 6.3 L211 17.6 L250 8.0 L279 6.7 L302 12.8 L318 11.0 L339 10.1 L376 7.9 L395 6.0 L428 7.2 L454 7.5 L482 11.8 L497 16.6 L524 16.3 L548 19.0 L584 14.9 L606 11.0 L622 18.3 L639 7.0 L658 10.3 L673 14.4 L700 11.3 L730 18.7 L760 11.9 L778 18.6 L812 13.0 L853 15.5 L881 19.5 L921 11.8 L950 15.8 L988 18.8 L1018 19.9 L1051 17.6 L1078 7.1 L1122 13.8 L1155 11.5 L1192 17.0 L1221 12.2 L1261 16.1 L1277 11.2 L1305 19.9 L1339 8.2 L1373 8.4 L1393 13.4 L1416 6.3 L1440 13.2 L1440 30 Z%22 fill=%22%23F3DEC0%22/%3E%3C/g%3E%3C/svg%3E")}
html[data-look="storybook"] .sbtorn.sbparch::after{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 30%22 preserveAspectRatio=%22none%22%3E%3Cg transform=%22translate%280 30%29 scale%281 -1%29%22%3E%3Cpath d=%22M0 30 L0 9.9 L31 4.6 L52 9.2 L81 4.1 L122 11.3 L148 7.0 L185 12.2 L202 10.0 L223 12.4 L242 10.8 L270 5.5 L286 16.1 L329 4.7 L356 16.4 L376 8.9 L406 12.4 L429 5.4 L472 9.2 L493 10.7 L517 5.2 L554 7.9 L579 4.1 L621 6.3 L661 9.6 L682 11.4 L708 13.6 L742 4.9 L763 9.3 L779 3.7 L806 12.5 L839 16.4 L863 9.1 L892 9.1 L931 9.3 L958 6.7 L979 13.4 L997 6.8 L1034 15.0 L1077 16.0 L1117 13.5 L1150 10.8 L1165 7.5 L1190 6.0 L1215 12.6 L1252 6.7 L1294 3.1 L1319 11.2 L1346 4.3 L1390 9.4 L1430 11.2 L1440 4.8 L1440 30 Z%22 fill=%22%23fff%22/%3E%3Cpath d=%22M0 30 L0 12.9 L31 7.6 L52 12.2 L81 7.1 L122 14.3 L148 10.0 L185 15.2 L202 13.0 L223 15.4 L242 13.8 L270 8.5 L286 19.1 L329 7.7 L356 19.4 L376 11.9 L406 15.4 L429 8.4 L472 12.2 L493 13.7 L517 8.2 L554 10.9 L579 7.1 L621 9.3 L661 12.6 L682 14.4 L708 16.6 L742 7.9 L763 12.3 L779 6.7 L806 15.5 L839 19.4 L863 12.1 L892 12.1 L931 12.3 L958 9.7 L979 16.4 L997 9.8 L1034 18.0 L1077 19.0 L1117 16.5 L1150 13.8 L1165 10.5 L1190 9.0 L1215 15.6 L1252 9.7 L1294 6.1 L1319 14.2 L1346 7.3 L1390 12.4 L1430 14.2 L1440 7.8 L1440 30 Z%22 fill=%22%23F3DEC0%22/%3E%3C/g%3E%3C/svg%3E")}

/* Read / Personalise / Follow */
html[data-look="storybook"] .sbstrip{display:block;margin-top:14px;margin-bottom:30px}
html[data-look="storybook"] .sbstripin{max-width:1160px;margin:0 auto;padding:12px 20px 8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-look="storybook"] .sbpill{all:unset;cursor:pointer;display:flex;gap:14px;align-items:center;padding:6px 24px;border-radius:18px}
html[data-look="storybook"] .sbpill+.sbpill{border-left:1px solid var(--line)}
html[data-look="storybook"] .sbpill:hover{background:rgba(255,255,255,.7)}
html[data-look="storybook"] .sbpill:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
html[data-look="storybook"] .sbpill b{display:block;font-family:var(--disp);font-weight:600;font-size:1.45rem;line-height:1.2}
html[data-look="storybook"] .sbpill small{display:block;font-size:.95rem;font-weight:600;color:var(--muted);line-height:1.35}
html[data-look="storybook"] .sbico{flex:0 0 54px;height:54px;border-radius:50%;display:grid;place-items:center}
html[data-look="storybook"] .sbico svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html[data-look="storybook"] .sbico.sbread{background:var(--sb-read-t);color:var(--sb-read)}
html[data-look="storybook"] .sbico.sbpers{background:var(--sb-pers-t);color:var(--sb-pers)}
html[data-look="storybook"] .sbico.sbfol{background:var(--sb-fol-t);color:var(--sb-fol)}
html[data-look="storybook"] .sbpill:nth-child(1) b{color:var(--sb-read)}
html[data-look="storybook"] .sbpill:nth-child(2) b{color:var(--sb-pers)}
html[data-look="storybook"] .sbpill:nth-child(3) b{color:var(--sb-fol)}

/* our stories */
html[data-look="storybook"] .sbstories{display:block;padding:16px 0 0;scroll-margin-top:16px}
html[data-look="storybook"] .sbkick{margin:0 0 4px;text-align:center;font-weight:800;font-size:.85rem;letter-spacing:.12em;text-transform:uppercase}
html[data-look="storybook"] .sbk-read{color:var(--sb-read)}
html[data-look="storybook"] .sbk-pers{color:var(--sb-pers)}
html[data-look="storybook"] .sbk-fol{color:var(--sb-fol);text-align:left}
html[data-look="storybook"] .sbh2{margin:0;text-align:center;font-weight:600;font-size:clamp(1.8rem,3.2vw,2.4rem);line-height:1.1;color:var(--ink)}
html[data-look="storybook"] .sbh2.big{font-size:clamp(2rem,3.6vw,2.8rem)}
html[data-look="storybook"] .sbsub{margin:2px 0 10px;text-align:center;font-weight:600;color:var(--muted)}
html[data-look="storybook"] .sbsub.l{text-align:left;font-size:1.05rem}
html[data-look="storybook"] .sbchips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 14px}
html[data-look="storybook"] .sbchip{background:#fff;border:0;border-radius:999px;padding:8px 18px;min-height:40px;display:inline-flex;align-items:center;font-weight:700;font-size:.95rem;color:var(--ink);text-decoration:none;box-shadow:0 2px 8px rgba(90,60,20,.1);cursor:pointer}
html[data-look="storybook"] .sbchip:hover{color:var(--cta);box-shadow:0 4px 12px rgba(90,60,20,.18)}
html[data-look="storybook"] .sbfeat{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
html[data-look="storybook"] .sbcard{display:flex;flex-direction:column;gap:3px;background:rgba(255,249,240,.6);border-radius:16px;padding:10px 10px 12px}
html[data-look="storybook"] .sbcard h3{margin:0;font-weight:600;font-size:1.45rem;line-height:1.2}
html[data-look="storybook"] .sbcard p{margin:0 0 2px;color:#4a4538;line-height:1.5}
html[data-look="storybook"] .sbage{font-size:.82rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#6e6450}
html[data-look="storybook"] .sbprice{font-size:.95rem;font-weight:700;color:#6e6450}
html[data-look="storybook"] .sbcardbtns{display:flex;align-items:center;gap:14px;margin-top:4px;flex-wrap:wrap}
html[data-look="storybook"] .bk.sbcov{width:100%;margin-bottom:6px;border-radius:4px 10px 10px 4px;box-shadow:inset 6px 0 0 rgba(0,0,0,.12),0 16px 28px rgba(90,60,20,.22),0 3px 6px rgba(90,60,20,.18);transform-origin:center bottom}
html[data-look="storybook"] .bk.sbcov:hover,html[data-look="storybook"] .bk.sbcov:focus-visible{transform:translateY(-6px)}
html[data-look="storybook"] .sbnew{position:absolute;top:10px;right:-6px;z-index:3;background:var(--sun);color:var(--ink);font-family:var(--ui);font-weight:800;font-size:.8rem;padding:3px 12px;border-radius:999px}
html[data-look="storybook"] .sbh3{margin:18px 0 10px;text-align:center;font-weight:500;font-size:1.6rem;color:#3a3a30}
html[data-look="storybook"] .sbmore{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;max-width:1040px;margin:0 auto}
html[data-look="storybook"] .sbmini{display:flex;flex-direction:column;gap:4px}
html[data-look="storybook"] .sbmini .bk.sbcov{margin-bottom:10px;box-shadow:inset 5px 0 0 rgba(0,0,0,.12),0 12px 22px rgba(90,60,20,.22)}
html[data-look="storybook"] .sbmini b{font-family:var(--disp);font-weight:600;font-size:1.1rem;line-height:1.25}
html[data-look="storybook"] .sbmini span{font-size:.88rem;font-weight:700;color:#6e6450}
html[data-look="storybook"] .sbctr{display:flex;justify-content:center;margin-top:14px}
html[data-look="storybook"] .sbghost{background:transparent;border:2px solid var(--cta);color:var(--cta);border-radius:999px;padding:11px 28px;min-height:48px;font-family:var(--disp);font-weight:500;font-size:1.1rem}
html[data-look="storybook"] .sbghost:hover{background:var(--cta);color:#fff}
html[data-look="storybook"] #home.sball>#library{margin-top:40px}

/* make it theirs */
html[data-look="storybook"] .sbtheirs{display:block;margin-top:40px;scroll-margin-top:40px}
html[data-look="storybook"] .sbtheirsin{max-width:1180px;margin:0 auto;padding:18px 20px 22px;text-align:center;position:relative}
html[data-look="storybook"] .sbleaf2{width:150px;left:-24px;top:-66px;transform:rotate(-20deg);z-index:1}
html[data-look="storybook"] .sbblossom{width:170px;right:-10px;top:-56px;transform:scaleX(-1) rotate(-10deg);z-index:1}
html[data-look="storybook"] .sbflow{max-width:720px;margin:6px auto 10px;text-align:left}
html[data-look="storybook"] .sbflow .flow{color:var(--ink)}
html[data-look="storybook"] .sbflow .flow{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:40px}
html[data-look="storybook"] .sbflow .herobk{max-width:236px;width:100%;justify-self:center;padding-top:0}
html[data-look="storybook"] .sbflow figcaption,html[data-look="storybook"] .sbflow .hdeliver{font-family:var(--disp);font-size:1.1rem;color:var(--ink)}
html[data-look="storybook"] .sbflow :is(.hfdown,.hfcurve) path{stroke:var(--sb-pers)}
html[data-look="storybook"] .sbflow .hfbox img{border:6px solid #fff;box-shadow:0 12px 26px rgba(90,60,20,.22)}

/* a story that keeps going */
html[data-look="storybook"] .sbfollow{display:block;position:relative;padding:30px 0 clamp(100px,12vw,180px);scroll-margin-top:30px}
html[data-look="storybook"] .sbfollow::after{content:"";position:absolute;left:calc(50% - 50vw);right:calc(50% - 50vw);bottom:0;height:clamp(150px,20vw,330px);background:url(/assets/sb/landscape.webp) center bottom/100% auto no-repeat;mix-blend-mode:multiply;pointer-events:none;z-index:-1}
html[data-look="storybook"] .sbfollowin{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:28px;align-items:center;background:linear-gradient(135deg,#e3e9f4,#eef1f7);border-radius:28px;padding:18px 28px;box-shadow:0 18px 40px -28px rgba(47,79,134,.6)}
html[data-look="storybook"] .sbfollow .sbh2{text-align:left}
html[data-look="storybook"] .sbseries{display:flex;gap:12px;max-width:560px;justify-self:end;width:100%}
html[data-look="storybook"] .sbseries .bk.sbcov{flex:1 1 0;min-width:0;margin:0;box-shadow:inset 5px 0 0 rgba(0,0,0,.12),0 12px 22px rgba(90,60,20,.22)}

/* the rest of the home page and the footer */
html[data-look="storybook"] #faq{margin-top:0;padding-top:0}
html[data-look="storybook"] .faq details{padding-top:6px;padding-bottom:6px}
html[data-look="storybook"] #home>#faq{margin:22px 0 8px}
html[data-look="storybook"] footer{background:var(--cta);color:#f4ecdc;margin:0 calc(50% - 50vw);padding:28px max(20px,calc(50vw - 600px));border:0}
html[data-look="storybook"] footer :is(a,button){color:#f4ecdc}

/* the order of the home page's parts: hero, Read/Personalise/Follow, our stories (and the full shelf when opened),
   the gift finder, make it theirs, the series, the questions. A gift page (/gifts/…) opens on its own heading and the finder. */
html[data-look="storybook"] #home:not([hidden]){display:flex;flex-direction:column}
html[data-look="storybook"] #home>*{order:20}
html[data-look="storybook"] #home>.sbhero{order:1}
html[data-look="storybook"] #home>.sbstrip{order:2}
html[data-look="storybook"] #home>.sbstories{order:3}
html[data-look="storybook"] #home>:is(#library,.filters,#fmore,#shelf){order:4}
html[data-look="storybook"] #home>#giftfind{order:5}
html[data-look="storybook"] #home>.sbtheirs{order:6}
html[data-look="storybook"] #home>.sbfollow{order:7}
html[data-look="storybook"] #home>#faq{order:8}
html[data-look="storybook"] #home>.faq{order:9}
html[data-look="storybook"][data-gift] #home>:is(.sbhero,.sbstrip){display:none}
html[data-look="storybook"][data-gift] #home>#giftpage{order:0;margin-top:18px}
html[data-look="storybook"][data-gift] #home>#giftfind{order:1;margin-top:10px}
html[data-look="storybook"][data-gift] #home>.sbstories{order:2}
html[data-look="storybook"] #giftpage h1{font-weight:600;color:var(--ink)}
html[data-look="storybook"] #giftpage .gfkick a{color:var(--sb-pers);font-weight:800}

/* the gift finder, on paper */
html[data-look="storybook"] #giftfind{margin:30px 0 0;background:var(--sb-light);border:0;border-radius:26px;padding:18px 26px 16px;box-shadow:0 18px 40px -30px rgba(110,80,30,.55);scroll-margin-top:20px}
html[data-look="storybook"] #giftfind .gfhead h2{font-family:var(--disp);font-weight:600;font-size:clamp(1.7rem,3vw,2.3rem);color:var(--ink)}
html[data-look="storybook"] #giftfind .gfhead h2::before{content:"Gifts";display:block;font-family:var(--ui);font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--sb-pers);margin-bottom:2px}
html[data-look="storybook"] #giftfind .gfbar i.on{background:var(--sb-pers)}
html[data-look="storybook"] #giftfind .gfq{font-family:var(--disp);font-size:1.2rem;color:var(--ink)}
html[data-look="storybook"] #giftfind :is(.gftile,.gfpill){background:#fff;border:1px solid var(--line);color:var(--ink);box-shadow:0 2px 8px rgba(90,60,20,.08)}
html[data-look="storybook"] #giftfind :is(.gftile,.gfpill):hover,html[data-look="storybook"] #giftfind :is(.gftile,.gfpill)[aria-pressed="true"]{border-color:var(--sb-pers);color:var(--sb-pers)}
html[data-look="storybook"] #giftfind .gfi{stroke:var(--sb-pers)}
html[data-look="storybook"] #giftfind .gflink{color:var(--cta)}
html[data-look="storybook"] #giftfind .gfcard{background:#fff;border-color:var(--line)}
html[data-look="storybook"] #giftfind .gfcard .btn{background:var(--cta);color:#fff}

/* menu link and "Give as a gift" */
html[data-look="storybook"] .sbnav .sbnl{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;font-family:var(--disp);font-weight:500;font-size:1.08rem;color:var(--ink);text-decoration:none;min-height:44px}
html[data-look="storybook"] .sbnav .sbnl:hover{background:rgba(46,90,53,.08);color:var(--cta)}
html[data-look="storybook"] .sbnav :is(button,.sbnl){white-space:nowrap}
@media (max-width:1100px) and (min-width:861px){html[data-look="storybook"] .sbnav{gap:0;margin-left:6px}html[data-look="storybook"] .sbnav :is(button,.sbnl){padding:8px 9px;font-size:1rem}html[data-look="storybook"] header.top{gap:12px}}
html[data-look="storybook"] .sbgift{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:7px;margin-top:6px;font-weight:800;font-size:.92rem;color:var(--sb-pers);min-height:32px}
html[data-look="storybook"] .sbgift span{font-weight:600;color:#6e6450}
html[data-look="storybook"] .sbgift svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
html[data-look="storybook"] .sbgift:hover{text-decoration:underline;text-underline-offset:3px}
html[data-look="storybook"] .sbgift:focus-visible{outline:3px solid var(--sun);outline-offset:2px;border-radius:6px}
@media (max-width:860px){
  html[data-look="storybook"] .sbnav .sbnl{font-size:1.2rem;padding:12px 16px}
  html[data-look="storybook"] #giftfind{margin-top:24px;padding:14px 12px}
  html[data-look="storybook"] .sbgift span{display:none}
}

/* phones and small tablets */
@media (max-width:860px){
  html[data-look="storybook"] header.top{flex-wrap:wrap;gap:6px}
  html[data-look="storybook"] .brand{font-size:1.65rem;margin-left:10px}
  html[data-look="storybook"] .sbmenu{display:grid;order:3}
  html[data-look="storybook"] .sbnav{display:none;order:4;flex-basis:100%;flex-direction:column;align-items:stretch;margin:6px 0 0;padding:8px;background:var(--sb-light);border-radius:18px;box-shadow:0 12px 30px -14px rgba(90,60,20,.4)}
  html[data-look="storybook"] header.top.sbopen .sbnav{display:flex}
  html[data-look="storybook"] .sbnav button{text-align:left;font-size:1.2rem;padding:12px 16px}
  html[data-look="storybook"] .sbnav .sbsearch{margin:0;width:auto;display:flex;gap:10px}
  html[data-look="storybook"] .sbnav .sbsearch::after{content:"Search";font-family:var(--disp)}
  html[data-look="storybook"] header.top .rowx{margin-left:auto}
  html[data-look="storybook"] .sbhero{grid-template-columns:1fr;gap:0}
  html[data-look="storybook"] .sbhart{order:-1;margin:0 -20px}
  html[data-look="storybook"] .sbleaf1{width:110px;left:-60px;top:-60px}
  html[data-look="storybook"] .sbhero h1{max-width:none}
  html[data-look="storybook"] .sblede{font-size:1.1rem}
  html[data-look="storybook"] .sbstripin{grid-template-columns:1fr;padding:8px 6px}
  html[data-look="storybook"] .sbpill+.sbpill{border-left:0;border-top:1px solid var(--line)}
  html[data-look="storybook"] .sbpill{padding:8px 12px}
  html[data-look="storybook"] .sbico{flex-basis:52px;height:52px}
  html[data-look="storybook"] .sbico svg{width:32px;height:32px}
  html[data-look="storybook"] .sbfeat{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  html[data-look="storybook"] .sbcard{padding:10px 10px 12px}
  html[data-look="storybook"] .sbstories{padding-top:10px}
  html[data-look="storybook"] .sbtheirs{margin-top:30px}
  html[data-look="storybook"] .sbfollow{padding-top:22px}
  html[data-look="storybook"] .sbfollowin{padding:22px 18px}
  html[data-look="storybook"] .sbcard h3{font-size:1.2rem}
  html[data-look="storybook"] .sbcard p{display:none}
  html[data-look="storybook"] .sbmore{display:flex;overflow-x:auto;gap:12px;padding-bottom:10px;scroll-snap-type:x mandatory}
  html[data-look="storybook"] .sbmini{flex:0 0 42%;scroll-snap-align:start}
  html[data-look="storybook"] .sbh3{margin-top:16px}
  html[data-look="storybook"] .sbleaf2{width:100px;top:-50px}
  html[data-look="storybook"] .sbblossom{width:110px;top:-40px}
  html[data-look="storybook"] .sbtheirsin{padding:22px 14px 26px}
  html[data-look="storybook"] .sbfollowin{grid-template-columns:1fr;gap:18px}
  html[data-look="storybook"] .sbseries{overflow-x:auto;padding-bottom:8px}
  html[data-look="storybook"] .sbseries .bk.sbcov{flex:0 0 38%}
}
@media (prefers-reduced-motion:reduce){html[data-look="storybook"] .bk.sbcov{transition:none}html[data-look="storybook"] .bk.sbcov:hover{transform:none}}
