/* Karen Cossey: the 2026 look (docs/redesign-notes.md, mockups in docs/mockups/).
   Loaded after Divi's own styles by functions.php. "kc-" classes are used in the page layouts
   kept under staging/; the rest restyles Divi and WooCommerce defaults. */

@font-face{font-family:Fraunces;font-weight:600;font-display:swap;src:url(../fonts/fraunces-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:Fraunces;font-weight:700;font-display:swap;src:url(../fonts/fraunces-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Nunito Sans";font-weight:400;font-display:swap;src:url(../fonts/nunito-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Nunito Sans";font-weight:700;font-display:swap;src:url(../fonts/nunito-sans-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:Cutive;font-weight:400;font-display:swap;src:url(../fonts/cutive-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Metamorphous;font-weight:400;font-display:swap;src:url(../fonts/metamorphous-latin-400-normal.woff2) format("woff2")}

:root{
	--kc-navy:#16213e;
	--kc-cream:#fbf7f0;
	--kc-orange:#c93a08;
	--kc-sky:#8fd3f4;
	--kc-purple:#4b2e83;
	--kc-plum:#2a1a48;
	--kc-gold:#f0c36d;
	--kc-muted:#5d5473;
	--kc-text:#3d3556;
	/* Karen's switch, 2026-10-25: the newsletter strip and the menu highlight (hover and current page); --kc-strip-btn is the sign-up button on the strip (orange; var(--kc-navy) was the first version). To go back to sky blue, change --kc-strip or --kc-menu to var(--kc-sky). */
	--kc-strip:var(--kc-gold);
	--kc-menu:var(--kc-gold);
	--kc-strip-btn:var(--kc-orange);
	--kc-serif:Fraunces,Georgia,"Times New Roman",serif;
	--kc-sans:"Nunito Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* ---- Base ---- */
html body,html body input,html body textarea,html body select,html body button{font-family:var(--kc-sans)}
html body{color:var(--kc-navy);background:var(--kc-cream);font-size:18px;line-height:1.55}
html body #page-container,html body #main-content,html body .et_pb_section{background-color:transparent}
html body #main-content{background:var(--kc-cream)}
html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{font-family:var(--kc-serif);font-weight:700;color:inherit;line-height:1.15;padding-bottom:.35em;text-transform:none;letter-spacing:normal}
html body a{color:var(--kc-orange)}
html body .entry-content a,html body .et_pb_text a{text-underline-offset:2px}

/* ---- Buttons ---- */
.kc-btn,html body .woocommerce button.button.alt,html body .woocommerce a.button.alt,html body .woocommerce button.single_add_to_cart_button{
	display:inline-block;font-family:var(--kc-sans);font-weight:700;font-size:17px;line-height:1.2;
	padding:14px 26px;border-radius:999px;text-align:center;text-decoration:none!important;
	border:2px solid transparent;transition:filter .15s,transform .15s}
.kc-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}
/* a button whose link is not known yet (the Runaway Rescue button on the Secret Vault page until Karen sends the BookFunnel address): shown, but plainly not clickable */
.kc-btn--soon,.kc-btn--soon:hover{opacity:.55;cursor:not-allowed;filter:none;transform:none}
.kc-btn:focus-visible{outline:3px solid var(--kc-sky);outline-offset:3px}
.kc-btn--orange,html body .woocommerce button.button.alt,html body .woocommerce a.button.alt,html body .woocommerce button.single_add_to_cart_button{background:var(--kc-orange)!important;color:#fff!important;--kc-link:#fff}
.kc-btn--purple{background:var(--kc-purple);color:#fff!important;--kc-link:#fff}
.kc-btn--gold{background:var(--kc-gold);color:var(--kc-plum)!important;--kc-link:var(--kc-plum)}
.kc-btn--navy{background:var(--kc-navy);color:#fff!important;--kc-link:#fff}
.kc-btn--line{border-color:#fff;color:#fff!important;--kc-link:#fff}
.kc-btn--ghost{border-color:var(--kc-navy);color:var(--kc-navy)!important;--kc-link:var(--kc-navy)}
.kc-btns{display:flex;gap:14px;flex-wrap:wrap;margin-top:6px}
html body .woocommerce button.single_add_to_cart_button:after{display:none}

/* ---- Header (Theme Builder layout: staging/layouts/header.txt) ----
   The long prefix outranks Divi's styles on product pages, which put "#et-boc" in front of
   every rule. */
html body.et-db #page-container .et-l--header .kc-header{background:var(--kc-navy)!important;padding:0!important;box-shadow:0 2px 14px rgba(0,0,0,.18)}
html body.et-db #page-container .et-l--header .kc-header .et_pb_row.kc-header__row{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1180px;min-height:68px;padding:0 28px!important;margin:0 auto}
html body.et-db #page-container .et-l--header .kc-header .et_pb_row.kc-header__row>.et_pb_column{width:auto!important;margin:0!important;flex:none}
html body.et-db #page-container .et-l--header .kc-header .et_pb_row.kc-header__row>.et_pb_column:last-child{flex:1;display:flex;justify-content:flex-end}
html body.et-db #page-container .et-l--header .kc-brand,html body.et-db #page-container .et-l--header .kc-brand .et_pb_text_inner{font-family:var(--kc-serif);font-weight:700;font-size:26px;line-height:1.1;white-space:nowrap}
html body.et-db #page-container .et-l--header .kc-header .kc-brand.et_pb_text a{color:#fff!important;text-decoration:none}
html body.et-db #page-container .et-l--header .kc-brand .kc-logo{display:block;line-height:0}
html body.et-db #page-container .et-l--header .kc-brand .kc-logo img{height:76px;width:auto;display:block}
html body.et-db #page-container .et-l--header .kc-nav{background:transparent!important}
html body.et-db #page-container .et-l--header .kc-nav .et-menu>li{padding-left:15px;padding-right:15px}
html body.et-db #page-container .et-l--header .kc-nav .et-menu>li>a{color:#fff!important;font-family:var(--kc-sans);font-weight:700;font-size:16px;padding:24px 0!important;opacity:1}
html body.et-db #page-container .et-l--header .kc-nav .et-menu>li>a:hover{color:var(--kc-menu)!important;opacity:1}
html body.et-db #page-container .et-l--header .kc-nav .et-menu>li.current-menu-item>a,html body.et-db #page-container .et-l--header .kc-nav .et-menu>li.current-menu-ancestor>a{color:var(--kc-menu)!important}
html body.et-db #page-container .et-l--header .kc-nav .et-menu .menu-item-has-children>a:first-child{padding-right:22px!important}
html body.et-db #page-container .et-l--header .kc-nav .et-menu .menu-item-has-children>a:first-child:after{color:#fff;top:24px;right:0}
html body.et-db #page-container .et-l--header .kc-nav .nav li ul{background:#fff!important;border-top:3px solid var(--kc-orange);border-radius:0 0 10px 10px;box-shadow:0 12px 30px rgba(22,33,62,.18);width:270px;padding:10px 0}
html body.et-db #page-container .et-l--header .kc-nav .nav li li{padding:0 10px}
html body.et-db #page-container .et-l--header .kc-nav .nav li li a{color:var(--kc-navy)!important;font-family:var(--kc-sans);font-weight:700;font-size:15px;width:250px;padding:8px 10px}
html body.et-db #page-container .et-l--header .kc-nav .nav li li a:hover{background:var(--kc-cream);color:var(--kc-orange)!important;opacity:1}
html body.et-db #page-container .et-l--header .kc-nav .mobile_menu_bar:before{color:#fff!important;font-size:34px}
html body.et-db #page-container .et-l--header .kc-nav .et_mobile_nav_menu{margin:0}
html body.et-db #page-container .et-l--header .kc-nav .et_mobile_menu{background:#fff!important;border-top:3px solid var(--kc-orange);left:auto;right:-20px;width:min(340px,92vw);padding:10px 0}
html body.et-db #page-container .et-l--header .kc-nav .et_mobile_menu li a{color:var(--kc-navy)!important;font-family:var(--kc-sans);font-weight:700;font-size:17px;border-bottom:1px solid #eee;padding:11px 22px}
html body.et-db #page-container .et-l--header .kc-nav .et_mobile_menu ul.sub-menu{padding-left:0}
html body.et-db #page-container .et-l--header .kc-nav .et_mobile_menu li li a{font-weight:400;font-size:16px;padding-left:38px}
@media (max-width:980px){
	html body.et-db #page-container .et-l--header .kc-header .et_pb_row.kc-header__row{min-height:60px;padding:0 20px!important}
	html body.et-db #page-container .et-l--header .kc-brand,html body.et-db #page-container .et-l--header .kc-brand .et_pb_text_inner{font-size:23px}
	html body.et-db #page-container .et-l--header .kc-brand .kc-logo img{height:54px}
}

/* ---- Footer (Divi's own footer) ---- */
html body #main-footer{background:var(--kc-navy)}
html body #main-footer #footer-bottom{background:transparent;padding:26px 0}
html body #footer-info,html body #footer-info a{color:#fff;font-size:15px;opacity:.92}
html body #footer-info a{text-decoration:underline;text-underline-offset:2px}
/* Each footer link stays whole (nowrap), but the line may break between links: on a narrow phone the four links and the copyright
   are wider than the screen, and the page used to scroll sideways with "Privacy" off the edge (found 2026-10-17). */
@media (min-width:981px){html body #footer-info .kc-footer-links{margin-left:-9px}}
html body #footer-info .kc-footer-links a{display:inline-block;margin:0 9px;white-space:nowrap}
html body #footer-info .kc-copy{display:inline-block;margin-left:9px;white-space:nowrap}
html body #main-footer .et-social-icon a{color:#fff}

/* ---- Bands (page sections) ---- */
/* Reset inside the new sections. Rules here start "html body.et-db #page-container" so they
   also win on product pages, where Divi puts "#et-boc" in front of its own rules. Divi's default text-module style forces Mouse Memoirs capitals
   and red, blue and black colours with !important, and Divi may apply it to any page when it
   rebuilds the page's cache. These rules outrank it. Bands set sizes and colours through the
   variables: --kc-h1, --kc-h2, --kc-h3 (heading sizes) and --kc-link (link colour). */
/* Older posts show their text through a Theme Builder "post content" module with its own colour: the new bands start from navy */
html body.et-db #page-container :where(.et_pb_section[class*="kc-"]){color:var(--kc-navy)}
html body.et-db #page-container .et_pb_section[class*="kc-"] .et_pb_text{font-family:var(--kc-sans);font-size:inherit;line-height:inherit;color:inherit!important;border-width:0}
html body.et-db #page-container .et_pb_section[class*="kc-"] .et_pb_text :is(h1,h2,h3,h4){font-family:var(--kc-serif)!important;font-style:normal!important;font-weight:700!important;text-transform:none!important;letter-spacing:normal!important;text-align:inherit!important;line-height:1.15!important;color:inherit!important}
html body.et-db #page-container .et_pb_section[class*="kc-"] .et_pb_text h1{font-size:var(--kc-h1,46px)!important}
html body.et-db #page-container .et_pb_section[class*="kc-"] .et_pb_text h2{font-size:var(--kc-h2,38px)!important}
html body.et-db #page-container .et_pb_section[class*="kc-"] .et_pb_text h3{font-size:var(--kc-h3,26px)!important}
html body.et-db #page-container .et_pb_section[class*="kc-"] .et_pb_text a{color:var(--kc-link,var(--kc-orange))!important;font-size:inherit!important;line-height:inherit!important}
html body.et-db #page-container .kc-band{padding:72px 0!important}
html body.et-db #page-container .kc-band>.et_pb_row,html body.et-db #page-container .kc-hero>.et_pb_row,html body.et-db #page-container .kc-news>.et_pb_row{width:100%;max-width:1180px;padding:0 28px!important;margin:0 auto}
/* In a post (not a page) Divi makes every row 80% wide, and only the styles Divi has saved for each row say otherwise. For the words
   post (2902) those were missing for the first three bands, which came out narrower than the rest (2026-10-17). This rule is stronger
   than Divi's own, so the bands are the same width whatever Divi has or hasn't saved. */
html body.et-db.et_pb_pagebuilder_layout.single #page-container #main-content :is(.kc-band,.kc-hero,.kc-news,.kc-shero)>.et_pb_row{width:100%;max-width:1180px}
.kc-sub{color:var(--kc-muted);max-width:640px;margin-bottom:30px}
.kc-eyebrow{font-weight:700;font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:var(--kc-sky);margin-bottom:14px}

html body.et-db #page-container .kc-mystery,html body.et-db #page-container .kc-about-band{background:var(--kc-cream)!important}

/* Hero: newest book */
html body.et-db #page-container .kc-hero{background:radial-gradient(ellipse at 76% 45%,#34508f 0%,#1d2c57 45%,#16213e 75%)!important;color:#fff;overflow:hidden;padding:50px 0!important}
.kc-hero__in{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:500px}
.kc-hero__txt{max-width:520px}
.kc-hero{--kc-h1:52px}
.kc-hero h1{margin-bottom:6px}
.kc-hero .kc-lead{font-size:20px;margin-bottom:10px;color:#fff}
.kc-hero .kc-fans{font-size:16px;opacity:.85;font-style:italic;margin-bottom:24px;color:#fff}
.kc-hero .kc-btns{margin-top:0}
.kc-hero__covers{position:relative;width:570px;height:520px;flex:none}
.kc-hero .kc-hero__covers img{position:absolute;right:0;top:0;height:470px;width:auto;border-radius:6px;box-shadow:0 22px 50px rgba(0,0,0,.45);transform:rotate(5deg)}
/* The Book 3 Coming Soon cover in the home page hero, tilted the other way and in front of Book 2 (Karen, 2026-11-10; it was a dashed box); Book 2 stays whole, in front of it */
.kc-hero .kc-hero__covers img.kc-soon-pic{right:auto;left:-8px;top:58px;height:440px;transform:rotate(-4deg)}
.kc-hero .kc-hero__covers img:not(.kc-soon-pic){z-index:2}

/* Rows of covers */
html body.et-db #page-container ul.kc-books{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin:0 0 34px;padding:0;list-style:none;line-height:1.4}
html body.et-db #page-container ul.kc-books--two{grid-template-columns:repeat(2,minmax(0,220px))}
html body.et-db #page-container ul.kc-books--three{grid-template-columns:repeat(3,minmax(0,220px))}
html body.et-db #page-container ul.kc-books--three{grid-template-columns:repeat(3,minmax(0,220px))}
.kc-books li{padding:0;margin:0;list-style:none}
.kc-book a{--kc-link:currentColor;color:inherit;text-decoration:none;display:block}
.kc-book img,.kc-book .kc-ph{width:100%;height:auto;aspect-ratio:5/8;object-fit:cover;border-radius:6px;box-shadow:0 12px 28px rgba(22,33,62,.25);display:block;transition:transform .15s}
.kc-book a:hover img{transform:translateY(-3px)}
.kc-ph{border:2px dashed #b9b4c9;box-shadow:none!important;display:flex!important;align-items:center;justify-content:center;text-align:center;font-weight:700;color:var(--kc-muted);padding:12px}
.kc-book .kc-n,.kc-book .kc-t{display:block}
.kc-book .kc-n{margin-top:12px;font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--kc-orange)}
.kc-book .kc-t{font-family:var(--kc-serif);font-weight:700;font-size:19px;line-height:1.2;margin-top:2px}

/* Fantasy band */
html body.et-db #page-container .kc-fantasy{background:var(--kc-plum)!important;color:#fff}
.kc-fantasy .kc-sub{color:#d9d0ee;margin-bottom:14px}
.kc-fantasy .kc-fansline{font-style:italic;margin:0 0 28px;color:#fff;opacity:.95}
.kc-fantasy .kc-book .kc-n{color:var(--kc-gold)}
.kc-fantasy .kc-book img{box-shadow:0 12px 28px rgba(0,0,0,.45);background:#fff}
.kc-split{display:flex;align-items:center;justify-content:space-between;gap:60px}
.kc-split__txt{max-width:560px}
html body.et-db #page-container .kc-split ul.kc-books{margin:0;flex:none;width:480px}

/* Newsletter strip */
html body.et-db #page-container .kc-news{background:var(--kc-strip)!important;padding:54px 0!important}
.kc-news__in{display:flex;align-items:center;justify-content:space-between;gap:30px}
.kc-news{--kc-h2:34px}
.kc-news h2{margin-bottom:0}
.kc-news p{color:var(--kc-navy);margin:0}
.kc-news .kc-btn{white-space:nowrap;background:var(--kc-strip-btn)}
.kc-news .kc-btn:focus-visible{outline-color:var(--kc-navy)}

/* About */
.kc-about{max-width:820px;margin:0 auto;text-align:center}
.kc-about{--kc-h2:34px}
.kc-about p{color:var(--kc-text);margin-bottom:10px}
.kc-about a{font-weight:700}

/* About page */
html body.et-db #page-container .kc-about-intro{background:#fff!important}
.kc-aboutpage{display:grid;grid-template-columns:minmax(0,420px) 1fr;gap:56px;align-items:center}
.kc-aboutpage__photo img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:50% 30%;border-radius:22px;box-shadow:0 14px 34px rgba(22,33,62,.18);display:block}
.kc-aboutpage .kc-eyebrow{color:var(--kc-orange)}
.kc-aboutpage p{color:var(--kc-text)}
.kc-aboutpage .kc-btns{margin-top:18px}
.kc-btns--logo{align-items:center;column-gap:22px;row-gap:16px}
html body.et-db #page-container .kc-btns--logo img.kc-aboutlogo{display:block;height:72px;width:auto;max-width:100%;margin:0}

/* Series pages: intro band */
html body.et-db #page-container .kc-shero{background:radial-gradient(ellipse at 80% 30%,#34508f 0%,#1d2c57 45%,#16213e 80%)!important;color:#fff;padding:64px 0 60px!important}
html body.et-db #page-container .kc-shero--fantasy{background:radial-gradient(ellipse at 80% 30%,#5a3c96 0%,#3a2366 45%,#2a1a48 80%)!important}
html body.et-db #page-container .kc-shero>.et_pb_row{width:100%;max-width:1180px;padding:0 28px!important;margin:0 auto}
.kc-shero{--kc-h1:50px}
.kc-shero .et_pb_text_inner{max-width:760px}
.kc-shero .kc-lead{font-size:20px;color:#fff;margin-bottom:10px}
.kc-shero .kc-fans{font-size:17px;font-style:italic;opacity:.88;color:#fff;margin-bottom:24px}
.kc-shero--fantasy .kc-eyebrow{color:var(--kc-gold)}

/* Series pages: books in reading order */
html body.et-db #page-container ol.kc-order{list-style:none;padding:0;margin:0;display:grid;gap:26px}
html body.et-db #page-container ol.kc-order>li.kc-entry{list-style:none;margin:0;padding:26px;background:#fff;border-radius:22px;box-shadow:0 8px 30px rgba(22,33,62,.08);display:grid;grid-template-columns:170px 1fr;gap:30px;align-items:start}
.kc-entry__pic{display:block;--kc-link:currentColor}
.kc-entry__pic img,.kc-entry__pic .kc-ph{width:100%;height:auto;aspect-ratio:5/8;object-fit:cover;border-radius:6px;box-shadow:0 10px 24px rgba(22,33,62,.22);display:block}
.kc-entry .kc-n{font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--kc-orange);margin:0 0 4px;padding:0}
.kc-entry{--kc-h3:28px}
.kc-entry h3{margin:0 0 10px}
.kc-entry h3 a{--kc-link:currentColor;text-decoration:none}
.kc-entry p{color:var(--kc-text)}
.kc-entry .kc-meta{font-size:15px;font-weight:700;color:var(--kc-muted)}
.kc-entry .kc-btn{font-size:16px;padding:11px 22px}
.kc-series--fantasy .kc-entry .kc-n{color:var(--kc-purple)}

/* Series pages: features, note, quotes, questions */
html body.et-db #page-container ul.kc-chips{list-style:none;padding:0;margin:0 0 30px;display:flex;flex-wrap:wrap;gap:10px}
html body.et-db #page-container ul.kc-chips li{list-style:none;margin:0;padding:8px 16px;border-radius:999px;background:var(--kc-cream);border:1.5px solid #e6dccb;font-weight:700;font-size:15px;color:var(--kc-navy)}
.kc-series--fantasy ul.kc-chips li{background:#f3eefb;border-color:#ddd0f0;color:var(--kc-plum)}
.kc-note{background:var(--kc-cream);border-left:6px solid var(--kc-orange);border-radius:12px;padding:22px 26px;margin:0 0 34px;--kc-h3:22px}
.kc-series--fantasy .kc-note{border-left-color:var(--kc-purple);background:#f7f3fc}
.kc-note h3{margin:0 0 6px}
.kc-note p{color:var(--kc-text);margin:0;padding:0}
.kc-quotes{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:30px}
.kc-quotes:last-child{margin-bottom:0}
.kc-quote{margin:0;padding:24px 26px;background:#fff;border:1.5px solid #ece6da;border-radius:18px}
.kc-quote p{font-family:var(--kc-serif);font-weight:600;font-size:19px;line-height:1.4;color:var(--kc-navy);margin:0 0 12px;padding:0}
.kc-quote figcaption{font-size:15px;font-weight:700;color:var(--kc-muted)}
.kc-qa{display:grid;grid-template-columns:1fr 1fr;gap:18px 40px;--kc-h3:21px}
.kc-qa h3{margin:0 0 6px}
.kc-qa p{color:var(--kc-text);margin:0;padding:0}
.kc-qa+h2{margin-top:48px}
/* The eight question pictures on the fantasy character facts page: four across, two on a phone. Plain pictures, not links. */
.kc-pins{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:30px}
.kc-pins img{display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 12px 28px rgba(22,33,62,.22);background:var(--kc-plum)}
.kc-pin{display:flex;flex-direction:column;align-items:center}
.kc-pins .kc-pin__save{margin-top:12px;padding:7px 16px;border:2px solid var(--kc-orange);border-radius:999px;font-weight:700;font-size:15px;line-height:1.2;color:var(--kc-orange);text-decoration:none!important;transition:background .15s,color .15s}
.kc-pins .kc-pin__save:hover,.kc-pins .kc-pin__save:focus-visible{background:var(--kc-orange);color:#fff}
/* the page text colour rule beats the one above and left the orange words on an orange pill; this one wins (Karen, 2026-10-30: white words on hover) */
html body.et-db #page-container .kc-pins a.kc-pin__save:hover,html body.et-db #page-container .kc-pins a.kc-pin__save:focus-visible,html body.et-db #page-container .kc-pins a.kc-pin__save:active{background:var(--kc-orange);color:#fff!important}
@media (max-width:640px){.kc-pins{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kc-pins img{border-radius:10px}}

/* Book pages: top (cover, title, buy box) */
html body.et-db #page-container .kc-booktop{background:#fff!important;padding:48px 0 56px!important}
html body.et-db #page-container .kc-booktop>.et_pb_row{display:flex;gap:56px;align-items:flex-start}
html body.et-db #page-container .kc-booktop>.et_pb_row>.et_pb_column{margin:0!important}
html body.et-db #page-container .kc-booktop>.et_pb_row>.et_pb_column_2_5{width:36%!important;flex:none}
html body.et-db #page-container .kc-booktop>.et_pb_row>.et_pb_column_3_5{flex:1;width:auto!important}
.kc-bookcover img,.kc-bookcover .kc-ph{width:100%;max-width:420px;height:auto;aspect-ratio:5/8;object-fit:cover;border-radius:8px;box-shadow:0 22px 50px rgba(22,33,62,.28);display:block}
.kc-ph--big{font-size:22px}
.kc-booktop{--kc-h1:44px}
.kc-crumb{font-size:15px;color:var(--kc-muted);margin-bottom:14px}
.kc-booktop .kc-eyebrow{color:var(--kc-orange);margin-bottom:8px}
.kc-series--fantasy.kc-booktop .kc-eyebrow{color:var(--kc-purple)}
.kc-booktop h1{margin:0}
.kc-subtitle{font-family:var(--kc-serif);font-weight:600;font-size:20px;color:var(--kc-muted);margin:4px 0 0}
.kc-booktop .kc-lead{font-size:18px;color:var(--kc-text);margin:16px 0 14px}
.kc-booktop ul.kc-chips{margin-bottom:22px}
.kc-booktop ul.kc-chips li{font-size:14px;padding:6px 14px}
.kc-btns--small .kc-btn{font-size:15px;padding:10px 20px}
.kc-order-note{font-size:15px;color:var(--kc-muted);margin-top:14px}
.kc-soon-note{font-weight:700;font-size:18px;color:var(--kc-orange)}

/* Where to buy (books are not sold on this site; the buttons go to Amazon and bookshops) */
html body.et-db #page-container .kc-wtb{background:var(--kc-cream);border:1.5px solid #ece2d0;border-radius:18px;padding:20px 22px;margin:0 0 18px;--kc-h2:20px}
.kc-series--fantasy .kc-wtb{background:#f7f3fc;border-color:#e3d8f3}
html body.et-db #page-container .kc-wtb h2.kc-wtb__title{margin:0 0 10px;padding:0}
html body.et-db #page-container .kc-wtb table.kc-prices{width:100%;border-collapse:collapse;border:0;margin:0 0 12px}
html body.et-db #page-container .kc-wtb table.kc-prices th,html body.et-db #page-container .kc-wtb table.kc-prices td{border:0;border-top:1px solid #e6dccb;padding:10px 8px 10px 0;vertical-align:middle;font-size:16px;color:var(--kc-text);background:none}
html body.et-db #page-container .kc-wtb table.kc-prices th{font-weight:700;color:var(--kc-navy);text-align:left}
html body.et-db #page-container .kc-wtb td.kc-price{font-family:var(--kc-serif);font-weight:700;font-size:20px;color:var(--kc-navy);white-space:nowrap}
html body.et-db #page-container .kc-wtb table.kc-prices td:last-child{text-align:right;padding-right:0}
html body.et-db #page-container .kc-wtb .kc-btn{font-size:15px;padding:9px 18px;white-space:nowrap}
html body.et-db #page-container .kc-wtb .kc-shops{font-size:15px;color:var(--kc-text);margin:0 0 8px;padding:0}
html body.et-db #page-container .kc-wtb .kc-usd{font-size:14px;color:var(--kc-muted);margin:0;padding:0}

/* Book pages: blurb, note and facts */
.kc-bookbody{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:56px;align-items:start}
.kc-blurb p{color:var(--kc-text)}
.kc-blurb .kc-tagline{font-family:var(--kc-serif);font-weight:600;font-size:21px;line-height:1.35;color:var(--kc-navy)}
html body.et-db #page-container ul.kc-loves{list-style:none;padding:0;margin:0 0 20px}
html body.et-db #page-container ul.kc-loves li{list-style:none;position:relative;padding:0 0 8px 26px;color:var(--kc-text)}
html body.et-db #page-container ul.kc-loves li:before{content:"";position:absolute;left:4px;top:.6em;width:9px;height:9px;border-radius:50%;background:var(--kc-orange)}
.kc-series--fantasy ul.kc-loves li:before{background:var(--kc-purple)}
.kc-blurb .kc-note{margin-top:26px}
.kc-facts{background:var(--kc-cream);border-radius:18px;padding:24px 24px 14px;position:sticky;top:96px;--kc-h2:24px}
.kc-series--fantasy .kc-facts{background:#f7f3fc}
.kc-facts table{width:100%;border-collapse:collapse;border:0;margin:0}
.kc-facts th,.kc-facts td{text-align:left;vertical-align:top;border:0;border-top:1px solid #e6dccb;padding:9px 0;font-size:15px;line-height:1.4}
.kc-facts th{font-weight:700;color:var(--kc-navy);width:42%;padding-right:12px}
.kc-facts td{color:var(--kc-text)}
.kc-small{font-size:14px;color:var(--kc-muted);margin-top:12px}
.kc-pubs{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:30px 0 6px;--kc-h3:26px}
.kc-pub{text-align:center}
.kc-pub img{display:block;width:100%;max-width:300px;height:auto;margin:-12px auto -4px}
.kc-rights .kc-note{background:#fff;padding:30px 34px;margin:0}
.kc-rights .kc-note p{max-width:920px}
html body.et-db #page-container .kc-rights ul.kc-chips{margin:20px 0 0}
.kc-pubcontact{text-align:center;font-size:19px;max-width:640px;margin:34px auto 0!important}
.kc-pubcontact+.kc-small{text-align:center;margin-top:20px}
.kc-pub h3{margin:0 0 8px}
.kc-pub p{color:var(--kc-text);max-width:420px;margin:0 auto}
.kc-band h2[id]{scroll-margin-top:90px}

/* Book pages: series strip */
html body.et-db #page-container ul.kc-books--strip{grid-template-columns:repeat(4,minmax(0,200px))}
.kc-book--here img,.kc-book--here .kc-ph{outline:4px solid var(--kc-orange);outline-offset:4px}
.kc-series--fantasy .kc-book--here img{outline-color:var(--kc-purple)}
.kc-series--fantasy .kc-book .kc-n{color:var(--kc-purple)}

/* Retired stories page: two series cards */
.kc-split2{display:grid;grid-template-columns:1fr 1fr;gap:28px;--kc-h2:28px}
.kc-card{background:#fff;border-radius:22px;padding:30px;box-shadow:0 8px 30px rgba(22,33,62,.08);border-top:8px solid var(--kc-orange)}
.kc-card--fantasy{border-top-color:var(--kc-purple)}
.kc-card .kc-n{font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--kc-muted);margin:0 0 4px}
.kc-card p{color:var(--kc-text)}
html body.et-db #page-container .kc-card ul.kc-books--two{grid-template-columns:repeat(2,minmax(0,160px));margin:18px 0 22px}
/* Three covers in the mystery card (Book 3 with its Coming Soon cover, Karen 2026-11-10): three across, two across on a small phone */
html body.et-db #page-container .kc-card ul.kc-books--three{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0 22px}
@media (max-width:560px){html body.et-db #page-container .kc-card ul.kc-books--three{grid-template-columns:repeat(2,minmax(0,1fr))}}
.kc-more{margin-top:30px;max-width:none}

/* Free books page: what you get, and the sign-up card around Karen's Acumbamail form */
.kc-gift{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:start;margin:0 0 26px;--kc-h3:22px}
.kc-gift__pic img{width:100%;height:auto;border-radius:6px;box-shadow:0 10px 24px rgba(22,33,62,.22);display:block}
.kc-gift--big{grid-template-columns:200px 1fr;gap:30px;align-items:center}
.kc-gift--big .kc-btns{margin-top:14px}
html body.et-db #page-container .et_pb_text h2.kc-also-gifts{margin-top:46px}
.kc-gift .kc-gift__go{margin:16px 0 0;color:var(--kc-navy)}.kc-gift .kc-gift__go+.kc-btns{margin-top:8px}
.kc-gift h3{margin:0 0 6px}
/* Book reports (the Resources sign-up page and its thank-you page): a card for each book */
.kc-rcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:26px}
.kc-rcards--list{grid-template-columns:1fr;gap:14px;margin-top:18px}
.kc-rcard{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:start;background:#fff;border:1px solid #e8e1d4;border-radius:16px;padding:16px;--kc-h3:20px}
.kc-rcards--list .kc-rcard{grid-template-columns:112px 1fr;gap:16px;padding:14px}
.kc-rcard__pic img{display:block;width:100%;height:auto;aspect-ratio:5/8;object-fit:cover;border-radius:6px;box-shadow:0 8px 18px rgba(22,33,62,.22)}
.kc-rcard__pic--rep{display:flex;flex-direction:column;align-items:center;gap:8px}
.kc-rcard__piclink{display:block;width:100%}
.kc-rcard__pic--rep img{aspect-ratio:827/1170;object-fit:contain}
.kc-rcard .kc-rcard__sample{font-weight:700;font-size:14px;line-height:1.2;color:var(--kc-orange);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.kc-rcard .kc-rcard__sample:hover,.kc-rcard .kc-rcard__sample:focus-visible{color:var(--kc-navy)}
.kc-rcard .kc-n{display:block;margin:0 0 2px;font-weight:700;font-size:14px;color:var(--kc-orange)}
.kc-rcard h3{margin:0 0 6px}
.kc-rcard p{color:var(--kc-text);margin:0 0 8px;padding:0;font-size:16px;line-height:1.45}
.kc-rcard .kc-btns{margin-top:10px}
.kc-rcard .kc-btn{padding:10px 18px;font-size:15px}
.kc-minis{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0 22px}
.kc-minis a{display:block;width:96px}
.kc-minis img{display:block;width:100%;height:auto;aspect-ratio:827/1170;object-fit:cover;border-radius:6px;box-shadow:0 8px 18px rgba(22,33,62,.22)}
.kc-minis a:hover img{transform:translateY(-2px)}
@media (max-width:900px){.kc-rcards{grid-template-columns:1fr}}
.kc-gift p{color:var(--kc-text)}
html body.et-db #page-container .kc-freebooks .et_pb_column_1_2:last-child{background:#fff;border-radius:22px;padding:30px!important;box-shadow:0 8px 30px rgba(22,33,62,.10);border-top:8px solid var(--kc-orange)}
.kc-signup{--kc-h2:30px}
.kc-signup p{color:var(--kc-text)}
html body.et-db #page-container .kc-freebooks .et_pb_code{margin:10px 0 16px}

/* Fact sheets: cards, and the sheet pages beside the facts */
html body.et-db #page-container ul.kc-sheets{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,260px));gap:26px}
html body.et-db #page-container ul.kc-sheets li{list-style:none;margin:0;padding:0}
.kc-sheet a{display:block;text-decoration:none;--kc-link:currentColor;color:var(--kc-navy)}
.kc-sheet img{width:100%;height:auto;border-radius:10px;box-shadow:0 10px 26px rgba(22,33,62,.2);display:block;transition:transform .15s}
.kc-sheet a:hover img{transform:translateY(-3px)}
.kc-sheet .kc-t{display:block;font-family:var(--kc-serif);font-weight:700;font-size:19px;margin-top:12px}
.kc-sheet .kc-n{display:block;font-weight:700;font-size:14px;color:var(--kc-purple);margin-top:2px}
.kc-sheetbody{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:48px;align-items:start}
.kc-sheettxt p{color:var(--kc-text)}
.kc-sheettxt h2{margin-top:26px}
.kc-sheetpics{display:grid;gap:22px}
.kc-sheetpics img{width:100%;height:auto;border-radius:12px;box-shadow:0 14px 34px rgba(22,33,62,.2);display:block}
/* "Take a look inside" slider on the fantasy character facts page: the cover and four sample pages. A row you can swipe or scroll; js/peek.js adds the buttons and dots. */
@media (min-width:901px) and (min-height:900px){.kc-sheetpics{position:sticky;top:104px}}
.kc-peek{position:relative;max-width:460px;margin:0 auto}
.kc-peek[id]{scroll-margin-top:96px}
.kc-peek__track{position:relative;display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:0 0 14px}
.kc-peek--js .kc-peek__track{scrollbar-width:none;padding-bottom:4px}
.kc-peek--js .kc-peek__track::-webkit-scrollbar{display:none}
.kc-peek__slide{flex:0 0 100%;scroll-snap-align:start;margin:0}
.kc-peek__slide img{display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 10px 16px -8px rgba(22,33,62,.35)}
.kc-peek__slide a{display:block}
.kc-peek__cap{display:block;text-align:center;font-weight:700;font-size:16px;color:var(--kc-purple);margin-top:12px}
.kc-peek .kc-peek__btn{flex:none;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:var(--kc-purple);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:opacity .15s,background .15s}
.kc-peek .kc-peek__btn:hover{background:var(--kc-plum)}
.kc-peek .kc-peek__btn:disabled{opacity:.3;cursor:default}
.kc-peek .kc-peek__btn:focus-visible,.kc-peek .kc-peek__dot:focus-visible{outline:3px solid var(--kc-orange);outline-offset:2px}
.kc-peek__ctl{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px}
.kc-peek__dots{display:flex;justify-content:center;gap:2px}
.kc-peek .kc-peek__dot{position:relative;width:24px;height:24px;padding:0;border:0;background:none;cursor:pointer}
.kc-peek .kc-peek__dot:before{content:"";position:absolute;left:7px;top:7px;width:10px;height:10px;border-radius:50%;background:#c9c0dd;transition:background .15s}
.kc-peek .kc-peek__dot[aria-current="true"]:before{background:var(--kc-purple)}
.kc-peek__note{font-size:16px;line-height:1.5;color:var(--kc-text);text-align:center;margin:10px 0 0;padding:0}
/* Free Downloads page: the band that holds only the slider and a short text, the two columns centred side by side on a computer */
@media (min-width:981px){html body.et-db #page-container .kc-peekband>.et_pb_row{display:flex;align-items:center}}

/* Book list (the shop page): one card per book, in reading order */
html body.et-db #page-container ul.kc-shoplist{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
html body.et-db #page-container ul.kc-shoplist>li.kc-shopbook{list-style:none;margin:0;padding:20px;background:#fff;border-radius:18px;box-shadow:0 8px 30px rgba(22,33,62,.08);display:grid;grid-template-columns:120px 1fr;gap:22px;align-items:start}
.kc-series--fantasy ul.kc-shoplist>li.kc-shopbook{background:#fbf9fe}
.kc-shopbook__pic{display:block;--kc-link:currentColor}
.kc-shopbook__pic img,.kc-shopbook__pic .kc-ph{width:100%;height:auto;aspect-ratio:5/8;object-fit:cover;border-radius:6px;box-shadow:0 8px 20px rgba(22,33,62,.22);display:block}
.kc-shopbook{--kc-h3:22px}
.kc-shopbook .kc-n{font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--kc-orange);margin:0 0 4px;padding:0}
.kc-series--fantasy .kc-shopbook .kc-n{color:var(--kc-purple)}
.kc-shopbook h3{margin:0 0 8px}
.kc-shopbook h3 a{--kc-link:currentColor;text-decoration:none}
.kc-shopbook .kc-meta{font-size:15px;color:var(--kc-text);margin:0 0 10px;padding:0}
.kc-shopbook .kc-btn{font-size:15px;padding:9px 18px}

/* ---- Review panel with three story pictures (fantasy series page; Karen, 2026-10-23) ---- */
.kc-quotes--one{grid-template-columns:1fr}
/* A picture beside a single review on a book page (REVIEW_PICS in tools/layouts.py; The Battle of the Snake, 2026-11-15): the review card centred beside it; below it on a phone */
.kc-quotes--pic{align-items:center}
.kc-quotepic{margin:0}
html body.et-db #page-container .kc-quotepic img{display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 14px 30px rgba(22,33,62,.18)}
.kc-quotepic .kc-swap{border-radius:18px;box-shadow:0 14px 30px rgba(22,33,62,.18)}
html body.et-db #page-container .kc-quotepic .kc-swap img{height:100%;box-shadow:none;border-radius:0}
html body.et-db #page-container .kc-quotepic .kc-swap.kc-hero-pic--tap img{border-radius:18px}
.kc-quotepic .kc-swap.kc-hero-pic--tap{margin-bottom:30px}
html body.et-db #page-container .kc-quotepanel{padding:64px 0 72px!important}
.kc-quotepanel .et_pb_text_inner{max-width:920px;margin:0 auto;text-align:center}
.kc-quotepanel .kc-qmark{display:block;font:700 110px/.75 var(--kc-serif);color:var(--kc-gold);margin:0 0 6px}
html body.et-db #page-container .kc-quotepanel blockquote{margin:0;padding:0;border:0;background:none}
html body.et-db #page-container .kc-quotepanel blockquote p{font-family:var(--kc-serif);font-weight:600;font-size:25px;line-height:1.5;color:#fff;margin:0 auto 20px;max-width:800px;padding:0}
html body.et-db #page-container .kc-quotepanel p.kc-qwho{margin:0;font:800 17px/1.3 var(--kc-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--kc-gold)}
html body.et-db #page-container .kc-quotepanel ul.kc-qpics{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:38px auto 0;padding:0;max-width:900px}
html body.et-db #page-container .kc-quotepanel ul.kc-qpics li{margin:0;padding:0;list-style:none}
.kc-quotepanel .kc-qpics img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 12px 28px rgba(0,0,0,.45)}

/* Reading ladder page (/books-for-advanced-young-readers/, Karen 2026-11-14): one table per rung; Karen's own books lead their rung on a pale gold row with a "My book" tag.
   On a phone each book becomes a card, its cells labelled from data-label. */
html body.et-db #page-container h3.kc-ladder__rung{margin:34px 0 10px;font-size:22px;color:var(--kc-navy)}
html body.et-db #page-container table.kc-ladder{width:100%;border-collapse:collapse;border:0;margin:0 0 10px;font-size:15px;line-height:1.5}
html body.et-db #page-container table.kc-ladder th,html body.et-db #page-container table.kc-ladder td{border:0;border-top:1px solid #e6dccb;padding:12px 14px 12px 0;vertical-align:top;text-align:left;color:var(--kc-text)}
html body.et-db #page-container table.kc-ladder thead th{border-top:0;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--kc-plum,#5b3d7a);padding-bottom:8px}
html body.et-db #page-container table.kc-ladder tbody th{width:27%;color:var(--kc-navy);font-weight:400}
html body.et-db #page-container table.kc-ladder td:nth-child(2),html body.et-db #page-container table.kc-ladder td:nth-child(3){width:16%}
html body.et-db #page-container .kc-ladder__by{display:block;font-size:14px;color:#6b6478}
html body.et-db #page-container tr.kc-ladder__mine th,html body.et-db #page-container tr.kc-ladder__mine td{background:#fbf3df}
html body.et-db #page-container tr.kc-ladder__mine th{padding-left:12px;border-left:4px solid var(--kc-gold)}
html body.et-db #page-container .kc-mine{display:inline-block;margin-top:6px;padding:2px 9px;border-radius:999px;background:var(--kc-gold);color:var(--kc-navy);font-size:12px;font-weight:700;letter-spacing:.04em}
@media (max-width:760px){
	html body.et-db #page-container table.kc-ladder thead{display:none}
	html body.et-db #page-container table.kc-ladder tr{display:block;border-top:1px solid #e6dccb;padding:12px 0}
	html body.et-db #page-container table.kc-ladder tr.kc-ladder__mine{padding:12px;border-left:4px solid var(--kc-gold);background:#fbf3df}
	html body.et-db #page-container table.kc-ladder tbody th,html body.et-db #page-container table.kc-ladder td{display:block;width:auto!important;border:0;padding:3px 0;background:none!important}
	html body.et-db #page-container tr.kc-ladder__mine th{border-left:0;padding-left:0}
	html body.et-db #page-container table.kc-ladder td::before{content:attr(data-label) ": ";font-weight:700;color:var(--kc-navy)}
}
/* Home page "Hi, I'm Karen" with Karen's photo (2026-11-15): beside the words on a computer, above them on a phone. .kc-swap: the photo by the pōhutukawa swaps to
   the one with the unicorn when the mouse is over it; on a screen with no hover, js/hero-pic.js makes a tap swap it (the same classes as the series hero pictures). */
.kc-about--pic{display:grid;grid-template-columns:260px 1fr;gap:44px;align-items:center;max-width:900px;text-align:left}
.kc-swap{position:relative;width:100%;border-radius:18px;overflow:hidden;box-shadow:0 14px 30px rgba(22,33,62,.22)}
.kc-swap img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;transition:opacity .35s ease}
.kc-swap img+img{opacity:0}
@media (hover:hover){.kc-swap:hover img:first-child{opacity:0}.kc-swap:hover img+img{opacity:1}}
.kc-swap.kc-hero-pic--alt img:first-child{opacity:0}.kc-swap.kc-hero-pic--alt img+img{opacity:1}
.kc-swap.kc-hero-pic--tap{overflow:visible;cursor:pointer;-webkit-tap-highlight-color:transparent}
.kc-swap.kc-hero-pic--tap img{border-radius:18px}
.kc-swap.kc-hero-pic--tap::after{color:var(--kc-navy)}
@media (prefers-reduced-motion:reduce){.kc-swap img{transition:none}}
/* About page photo swap (2026-11-15): the same .kc-swap, in the square frame the About photo had (22 px corners, its shadow). */
.kc-aboutpage__photo .kc-swap{border-radius:22px;box-shadow:0 14px 34px rgba(22,33,62,.18)}
html body.et-db #page-container .kc-aboutpage__photo .kc-swap img{height:100%;aspect-ratio:auto;box-shadow:none;border-radius:0}
html body.et-db #page-container .kc-aboutpage__photo .kc-swap.kc-hero-pic--tap img{border-radius:22px}
.kc-aboutpage__photo .kc-swap.kc-hero-pic--tap{margin-bottom:30px}
@media (max-width:760px){.kc-about--pic{grid-template-columns:1fr;gap:26px;text-align:center}.kc-about--pic .kc-swap{width:min(70%,240px);margin:0 auto}.kc-about--pic .kc-swap.kc-hero-pic--tap{margin-bottom:30px}}
.kc-about--pic .kc-swap.kc-hero-pic--tap{margin-bottom:30px}
/* ---- Phones and tablets ---- */
@media (max-width:900px){
	html body{font-size:17px}
	html body.et-db #page-container .kc-band{padding:48px 0!important}
	html body.et-db #page-container .kc-band>.et_pb_row,html body.et-db #page-container .kc-hero>.et_pb_row,html body.et-db #page-container .kc-news>.et_pb_row{padding:0 20px!important}
	html body.et-db #page-container .kc-hero{padding:34px 0 40px!important}
	.kc-hero__in{flex-direction:column-reverse;min-height:0;gap:18px}
	.kc-hero__covers{width:340px;max-width:100%;height:310px}
	.kc-hero .kc-hero__covers img{height:290px}
	.kc-hero .kc-hero__covers img.kc-soon-pic{top:30px;left:-6px;height:268px}
	html body.et-db #page-container .kc-hero{--kc-h1:34px}
	.kc-hero .kc-lead{font-size:18px}
	.kc-btns .kc-btn{width:100%}
	html body.et-db #page-container .kc-band{--kc-h2:30px}
	html body.et-db #page-container ul.kc-books,html body.et-db #page-container ul.kc-books--two,html body.et-db #page-container ul.kc-books--three{grid-template-columns:repeat(2,1fr);gap:18px}
	.kc-split{flex-direction:column;align-items:stretch;gap:28px}
	html body.et-db #page-container .kc-split ul.kc-books{width:auto}
	.kc-news__in{flex-direction:column;align-items:flex-start}
	html body.et-db #page-container .kc-news{--kc-h2:28px}
	.kc-aboutpage{grid-template-columns:1fr;gap:28px}
	.kc-aboutpage__photo{max-width:340px}
	html body.et-db #page-container .kc-shero{padding:40px 0 40px!important}
	html body.et-db #page-container .kc-shero>.et_pb_row{padding:0 20px!important}
	html body.et-db #page-container .kc-shero{--kc-h1:34px}
	.kc-shero .kc-lead{font-size:18px}
	html body.et-db #page-container ol.kc-order>li.kc-entry{grid-template-columns:96px 1fr;column-gap:16px;row-gap:0;padding:18px;grid-auto-rows:auto}
	.kc-entry__txt{display:contents}
	.kc-entry__pic{grid-column:1;grid-row:1 / span 2;align-self:start}
	.kc-entry .kc-n,.kc-entry h3{grid-column:2;align-self:start}
	.kc-entry__txt>p:not(.kc-n){grid-column:1 / -1;margin-top:14px}
	.kc-entry{--kc-h3:22px}
	.kc-quotes,.kc-qa,.kc-split2,.kc-pubs{grid-template-columns:1fr}
	.kc-sheetbody{grid-template-columns:1fr;gap:30px}
	html body.et-db #page-container ul.kc-shoplist{grid-template-columns:1fr}
	html body.et-db #page-container ul.kc-shoplist>li.kc-shopbook{grid-template-columns:96px 1fr;gap:16px;padding:16px}
	html body.et-db #page-container ul.kc-sheets{grid-template-columns:repeat(2,1fr);gap:18px}
	.kc-gift{grid-template-columns:90px 1fr;gap:16px}
	.kc-gift--big{grid-template-columns:110px 1fr;gap:18px}
	html body.et-db #page-container .kc-freebooks .et_pb_column_1_2:last-child{padding:22px!important;margin-top:10px!important}
	html body.et-db #page-container .kc-wtb table.kc-prices tr{display:grid;grid-template-columns:1fr auto;gap:2px 10px;border-top:1px solid #e6dccb;padding:10px 0}
	html body.et-db #page-container .kc-wtb table.kc-prices th,html body.et-db #page-container .kc-wtb table.kc-prices td{border:0;padding:0}
	html body.et-db #page-container .kc-wtb table.kc-prices td:empty{display:none}
	html body.et-db #page-container .kc-wtb table.kc-prices td:last-child{grid-column:1 / -1;text-align:left;padding-top:6px}
	html body.et-db #page-container .kc-booktop{padding:28px 0 40px!important}
	html body.et-db #page-container .kc-booktop>.et_pb_row{flex-direction:column;gap:22px;padding:0 20px!important}
	html body.et-db #page-container .kc-booktop>.et_pb_row>.et_pb_column_2_5{width:46%!important;max-width:180px}
	.kc-booktop{--kc-h1:32px}
	.kc-bookbody{grid-template-columns:1fr;gap:30px}
	.kc-facts{position:static}
	html body.et-db #page-container ul.kc-books--strip{grid-template-columns:repeat(2,1fr)}
	html body.et-db #page-container .kc-band{--kc-h1:34px}
}

/* ---- Tidy-up: puzzles, contact form, legal text, book report templates ---- */

/* The old share bar and dot navigation on older posts */
.essb_displayed_sidebar,.essb_break_scroll,ul.et_pb_side_nav{display:none!important}

/* Links in the dark page headings are light; posts end flush against the footer */
.kc-shero{--kc-link:#8fd3f4}
html body.single-post #main-content article.et_pb_post{margin-bottom:0!important;padding-bottom:0!important}

/* Puzzle cards */
html body #page-container ul.kc-puzzles{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
html body #page-container ul.kc-puzzles li{list-style:none;margin:0;padding:0}
.kc-puzzlecard a{display:block;text-decoration:none;--kc-link:currentColor;color:var(--kc-navy)}
.kc-puzzlecard img{width:100%;height:auto;border-radius:14px;box-shadow:0 10px 26px rgba(22,33,62,.2);display:block;transition:transform .15s}
.kc-puzzlecard a:hover img{transform:translateY(-3px)}
.kc-puzzlecard .kc-t{display:block;font-family:var(--kc-serif);font-weight:700;font-size:21px;line-height:1.2;margin-top:14px}
.kc-puzzlecard .kc-n{display:block;font-weight:700;font-size:14px;color:var(--kc-orange);margin-top:4px}

/* A single puzzle: picture beside the words */
.kc-puzzlebody,.kc-reportbody{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center}
.kc-puzzlepic img{width:100%;height:auto;border-radius:16px;box-shadow:0 14px 34px rgba(22,33,62,.22);display:block}
.kc-puzzletxt p,.kc-reporttxt p{color:var(--kc-text)}
.kc-puzzletxt{--kc-h2:32px}

/* Book report templates */
.kc-reportbody{grid-template-columns:minmax(0,320px) minmax(0,1fr);align-items:start}
.kc-reportpic img{width:100%;height:auto;border-radius:10px;box-shadow:0 14px 34px rgba(22,33,62,.22);display:block}
.kc-reporttxt .kc-meta{font-size:15px;color:var(--kc-muted);margin:0 0 18px}
.kc-reporttxt video{width:100%;max-width:560px;border-radius:12px;margin-top:26px;background:#16213e;display:block}
.kc-reporttxt{--kc-h2:32px}

/* Map of the Kingdom of Lamark on the two fantasy book pages: words beside the map */
.kc-mapbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,480px);gap:56px;align-items:center}
.kc-mappic img{width:100%;height:auto;border-radius:12px;box-shadow:0 14px 34px rgba(22,33,62,.22);display:block}
.kc-maptxt p{color:var(--kc-text)}
.kc-maptxt{--kc-h2:32px}
/* Chapter samples: Karen's story in a narrow reading column on cream "paper" */
html body.et-db #page-container .kc-chapter{padding:56px 0 64px!important}
.kc-chapter .et_pb_text_inner{max-width:700px;margin:0 auto}
.kc-chapter{--kc-h2:32px;--kc-h3:22px}
html body.et-db #page-container .kc-chapter p{font-size:19px;line-height:1.75;color:var(--kc-text);margin:0 0 .7em}
html body.et-db #page-container .et_pb_section.kc-chapter .et_pb_text h2{margin:1.7em 0 .35em;text-align:center!important}
html body.et-db #page-container .et_pb_section.kc-chapter .et_pb_text h2:first-child{margin-top:0}
html body.et-db #page-container .et_pb_section.kc-chapter .et_pb_text h3{margin:0 0 1.1em;font-weight:600!important;color:var(--kc-muted)!important;text-align:center!important}
html body.et-db #page-container .kc-chapter p[style*="center"]{font-size:17px;color:var(--kc-muted)}
html body.et-db #page-container .kc-chapter p.kc-end{text-align:center;font-weight:700;margin-top:2em;color:var(--kc-navy)}
html body.et-db #page-container .kc-chapter img.aligncenter{display:block;margin:30px auto;max-width:min(100%,300px);height:auto;border-radius:12px;box-shadow:0 12px 30px rgba(22,33,62,.22)}
html body.et-db #page-container .kc-chapter p:has(>img){margin:0}
/* Section break inside a chapter sample (Karen, 2026-11-10): her three gulls picture, centred */
html body.et-db #page-container .kc-chapter hr.kc-break{display:block;border:0;height:68px;width:100%;max-width:520px;margin:30px auto;padding:0;background:url(../images/section-break-gulls.webp) center/contain no-repeat transparent;opacity:1}
/* The Trespasser's chapter one uses Karen's treasure chest picture (2026-11-10), half the size it first had (Karen, 2026-11-10) */
html body.et-db #page-container .kc-chapter hr.kc-break.kc-break--treasure{background-image:url(../images/section-break-treasure.webp);max-width:330px;height:42px}
/* The Con Artist's Takeover sample (Karen, 2026-11-11): three cars scene break, and a picture above each chapter heading (prologue, chapter one, chapter two) */
html body.et-db #page-container .kc-chapter hr.kc-break.kc-break--cars{background-image:url(../images/section-break-cars.webp)}
html body.et-db #page-container .kc-chapter img.kc-chapter-img{display:block;margin:38px auto 8px;max-width:min(100%,520px);max-height:300px;width:auto;height:auto}
html body.et-db #page-container .kc-chapter img.kc-chapter-img+h2{margin-top:.3em}
/* The "read on" band under a chapter */
.kc-wtb__title{margin-top:8px}
@media (max-width:900px){
	html body.et-db #page-container .kc-chapter{padding:36px 0 44px!important}
	html body.et-db #page-container .kc-chapter p{font-size:18px}
}
/* Privacy policy and cookies notice: readable text */
.kc-legal .et_pb_text_inner{max-width:820px}
.kc-legal{--kc-h2:26px}
.kc-legal h2{margin:34px 0 10px}
.kc-legal p{color:var(--kc-text);margin:0 0 14px}

/* Contact page: photo and the form */
.kc-contactpic img{width:100%;max-width:420px;height:auto;border-radius:18px;box-shadow:0 14px 34px rgba(22,33,62,.2);display:block;margin:0 0 18px}
html body #page-container .kc-contact .et_pb_contact_form_container{margin:0;padding:0}
/* Contact page photo swap (2026-11-15): the same .kc-swap, square, in the old photo's corners, shadow and spacing */
.kc-contactpic .kc-swap{max-width:420px;border-radius:18px;box-shadow:0 14px 34px rgba(22,33,62,.2);margin:0 0 18px}
html body.et-db #page-container .kc-contactpic .kc-swap img{height:100%;max-width:none;margin:0;box-shadow:none;border-radius:0}
html body.et-db #page-container .kc-contactpic .kc-swap.kc-hero-pic--tap img{border-radius:18px}
.kc-contactpic .kc-swap.kc-hero-pic--tap{margin-bottom:48px}
html body #page-container .kc-contact .et_pb_contact_field input,html body #page-container .kc-contact .et_pb_contact_field textarea{background:#fff!important;border:2px solid #d9cfbc!important;border-radius:12px!important;color:var(--kc-text)!important;font-family:var(--kc-sans)!important;font-size:17px!important;padding:14px 16px!important}
html body #page-container .kc-contact .et_pb_contact_field input:focus,html body #page-container .kc-contact .et_pb_contact_field textarea:focus{border-color:var(--kc-orange)!important;outline:0}
html body #page-container .kc-contact .et_pb_contact_field input::placeholder,html body #page-container .kc-contact .et_pb_contact_field textarea::placeholder{color:#7a7468!important;opacity:1}
html body #page-container .et_pb_section.kc-contact .et_pb_module .et_pb_contact_submit.et_pb_button.et_pb_button{background:var(--kc-orange)!important;border:0!important;border-radius:999px!important;color:#fff!important;font-family:var(--kc-sans)!important;font-size:17px!important;font-weight:700!important;letter-spacing:0!important;padding:13px 30px!important;text-transform:none!important;box-shadow:none!important}
html body #page-container .et_pb_section.kc-contact .et_pb_module .et_pb_contact_submit.et_pb_button.et_pb_button:hover{background:#a82f05!important;padding:13px 30px!important}
html body #page-container .et_pb_section.kc-contact .et_pb_module .et_pb_contact_submit.et_pb_button.et_pb_button:after{display:none!important}
/* RAR-Review page (/rar-review/): the "I am a..." choice looks like the other boxes, and the cover is left out on phones and tablets so the form is not pushed down the page */
html body #page-container .kc-reviewform .et_pb_contact_field select.et_pb_contact_select{background:#fff!important;border:2px solid #d9cfbc!important;border-radius:12px!important;color:var(--kc-text)!important;font-family:var(--kc-sans)!important;font-size:17px!important;padding:14px 18px!important;height:auto!important}
html body #page-container .kc-reviewform .et_pb_contact_field_options_title{font-family:var(--kc-sans)!important;color:var(--kc-navy)!important}
@media (max-width:980px){html body #page-container .kc-reviewform .kc-reviewpic{display:none}}
html body #page-container .kc-contact .et-pb-contact-message p{color:var(--kc-text)}
@media (max-width:900px){
	html body #page-container ul.kc-puzzles{grid-template-columns:1fr;gap:26px}
	.kc-puzzlebody,.kc-reportbody{grid-template-columns:1fr;gap:28px}
	.kc-reportpic{max-width:260px}
	.kc-mapbody{grid-template-columns:1fr;gap:28px}
	.kc-mappic{max-width:440px}
}

/* Poetry page ("Poems Recited by Poet"): the poem lists under each book, and Sharon Manssen's poem in full */
html body.et-db #page-container ul.kc-poemlist{list-style:none;padding:0;margin:0 0 14px}
html body.et-db #page-container ul.kc-poemlist li{list-style:none;display:grid;grid-template-columns:104px 1fr;gap:4px 16px;align-items:baseline;margin:0;padding:11px 0;border-top:1px solid #eadfcb;color:var(--kc-text)}
html body.et-db #page-container ul.kc-poemlist li:first-child{border-top:0;padding-top:0}
.kc-poemlist .kc-ch{font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--kc-orange)}
.kc-poemlist .kc-pt{font-family:var(--kc-serif);font-weight:700;font-size:20px;line-height:1.3;color:var(--kc-navy)}
.kc-poemlist .kc-by{display:block;font-family:var(--kc-sans);font-weight:400;font-size:16px;color:var(--kc-muted);margin-top:1px}
.kc-poem{max-width:560px;margin:0 0 30px;padding:8px 0 0 24px;border-left:6px solid var(--kc-sky)}
.kc-poem p{font-size:20px;line-height:1.6;color:var(--kc-text);margin:0 0 20px;padding:0}
@media (max-width:900px){
	.kc-entry__txt>ul.kc-poemlist{grid-column:1 / -1;margin-top:14px}
	html body.et-db #page-container ul.kc-poemlist li{grid-template-columns:1fr;gap:0}
	.kc-poem{padding-left:16px}
	.kc-poem p{font-size:18px}
}

/* Poetry page: "Read the poem" button and the pop-up box (a <dialog>, opened by js/poems.js) */
.kc-readpoem{display:inline-block;margin-top:10px;padding:6px 18px;background:#fff;border:2px solid var(--kc-orange);border-radius:999px;color:var(--kc-orange);font:700 15px/1.3 var(--kc-sans);cursor:pointer}
.kc-readpoem:hover,.kc-readpoem:focus-visible{background:var(--kc-orange);color:#fff}
dialog.kc-poemdlg{position:fixed;box-sizing:border-box;width:calc(100% - 32px);max-width:640px;max-height:calc(100vh - 40px);overflow:auto;margin:auto;padding:36px 40px 30px;background:#fff;color:var(--kc-text);border:0;border-radius:22px;box-shadow:0 24px 70px rgba(22,33,62,.45);--kc-h2:30px}
dialog.kc-poemdlg::backdrop{background:rgba(22,33,62,.74)}
.kc-poemdlg form{margin:0}
.kc-poemdlg h2{margin:0;color:var(--kc-navy)}
.kc-poemdlg .kc-by{margin:0 0 22px;color:var(--kc-muted);font-size:17px}
.kc-poemdlg .kc-poem{margin:0 0 20px;max-width:none}
.kc-poemdlg__note{font-size:15px;color:var(--kc-muted);margin:0 0 20px}
button.kc-poemdlg__x{position:absolute;top:10px;right:14px;width:40px;height:40px;padding:0;background:none;border:0;border-radius:50%;color:var(--kc-navy);font:400 30px/1 var(--kc-sans);cursor:pointer}
button.kc-poemdlg__x:hover,button.kc-poemdlg__x:focus-visible{background:var(--kc-cream)}
.kc-poemdlg .kc-btn{border:0;cursor:pointer;font-size:16px;padding:11px 26px}
@media (max-width:900px){
	dialog.kc-poemdlg{padding:30px 22px 24px;--kc-h2:24px}
}
/* A credit box inside a poem pop-up (Sharon Manssen's) */
.kc-poemdlg .kc-note{margin:0 0 22px;padding:16px 20px}
.kc-poemdlg .kc-note p{font-size:16px}
/* Text for search engines and screen readers only (see kc_hidden_post_heading in functions.php) */
.kc-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.kc-legal ul{margin:0 0 14px;padding-left:1.3em}
.kc-legal li{margin:0 0 6px;color:var(--kc-text)}
/* Note above the newsletter forms: a child under 13 asks a parent to sign up (Karen, 2026-10-17) */
html body .kc-parentnote{max-width:640px;margin:18px auto;padding:14px 20px 14px!important;background:var(--kc-cream);border:2px solid var(--kc-orange);border-radius:14px;color:var(--kc-navy);font:600 17px/1.5 var(--kc-sans);text-align:center}
/* Older character and word posts: their first section was built with its own old fonts (Poppins, Open Sans). The class
   kc-oldfix, added to that section by staging/scripts/fonts-fix.php, brings in the site's text and heading reset
   (the rules for sections with a kc- class); these lines add the quote box and set heading sizes for long headings. */
html body.et-db #page-container .et_pb_section.kc-oldfix{--kc-h2:30px;--kc-h3:24px}
html body.et-db #page-container .et_pb_section.kc-oldfix .et_pb_testimonial,
html body.et-db #page-container .et_pb_section.kc-oldfix .et_pb_testimonial_description,
html body.et-db #page-container .et_pb_section.kc-oldfix .et_pb_testimonial_description p,
html body.et-db #page-container .et_pb_section.kc-oldfix .et_pb_testimonial_author{font-family:var(--kc-sans)!important;color:var(--kc-text)!important;font-size:17px;line-height:1.6}
html body.et-db #page-container .et_pb_section.kc-oldfix .et_pb_testimonial_author{font-weight:700;color:var(--kc-navy)!important}

html body.et-db #page-container .et_pb_section.kc-oldfix .et_pb_text h3{text-align:center!important;font-size:22px!important;color:var(--kc-muted)!important}
/* A little space between a heading and the two series cards under it (e.g. "Books to try next") */
html body.et-db #page-container .et_pb_text h2+.kc-split2{margin-top:30px}


/* ---- Meeka's word cards (/unusual-words-for-tweens-flumadiddle/): flip cards ----
   Each card is a hidden tick box plus its label. Ticking the box (a tap, a click, or Space when it has the focus) turns
   the card over, so no script is needed, and both sides stay in the page's text for search engines and screen readers.
   --n is the number of letters in the word: it sizes the word so that it fits its card. */
html body.et-db #page-container ul.kc-flips{list-style:none;margin:0 0 30px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:22px}
html body.et-db #page-container ul.kc-flips>li.kc-flip{list-style:none;margin:0;padding:0;position:relative;container-type:inline-size;--c:var(--kc-purple);--ink:#fff;--say:#e5dcf6}
html body.et-db #page-container ul.kc-flips>li.kc-flip:nth-child(5n+2){--c:var(--kc-orange);--ink:#fff;--say:#ffe6da}
html body.et-db #page-container ul.kc-flips>li.kc-flip:nth-child(5n+3){--c:var(--kc-navy);--ink:var(--kc-gold);--say:#d6dff5}
html body.et-db #page-container ul.kc-flips>li.kc-flip:nth-child(5n+4){--c:var(--kc-gold);--ink:var(--kc-plum);--say:var(--kc-plum)}
html body.et-db #page-container ul.kc-flips>li.kc-flip:nth-child(5n+5){--c:var(--kc-sky);--ink:var(--kc-navy);--say:var(--kc-navy)}
.kc-flip__chk{position:absolute;top:0;left:0;width:1px;height:1px;margin:0;opacity:0}
.kc-flip__card{display:block;height:100%;perspective:1200px;cursor:pointer;border-radius:22px;-webkit-tap-highlight-color:transparent}
.kc-flip__chk:focus-visible+.kc-flip__card{outline:3px solid var(--kc-orange);outline-offset:4px}
.kc-flip__inner{display:grid;height:100%;min-height:270px;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.4,.15,.25,1)}
.kc-flip__chk:checked+.kc-flip__card .kc-flip__inner{transform:rotateY(180deg)}
.kc-flip__face{grid-area:1/1;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:22px 16px;text-align:center;border-radius:22px;box-shadow:0 8px 26px rgba(22,33,62,.14);-webkit-backface-visibility:hidden;backface-visibility:hidden}
.kc-flip__front{background:var(--c);color:var(--ink);padding:22px 10px}
.kc-flip__front::after{content:"Tap to flip \21BB";margin-top:14px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;opacity:.85}
.kc-flip__word{display:block;font-family:var(--kc-serif);font-weight:700;font-style:normal;line-height:1.1;overflow-wrap:anywhere;font-size:22px;font-size:min(30px,calc(130cqw / var(--n)))}
.kc-flip__say{display:block;font-size:14px;font-size:min(15px,7cqw);line-height:1.3;color:var(--say)}
.kc-flip__say b{font-weight:700}
.kc-flip__back{background:#fff;color:var(--kc-navy);border:5px solid var(--c);padding:18px 14px;transform:rotateY(180deg)}
.kc-flip__kind{display:inline-block;padding:3px 12px;border-radius:999px;background:var(--c);color:var(--ink);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.kc-flip__def{display:block;font-family:var(--kc-serif);font-weight:700;font-size:19px;line-height:1.25}
.kc-flip__ex{display:block;font-size:15px;line-height:1.4;font-style:italic;color:var(--kc-text)}
.kc-flips__more{font-family:var(--kc-serif);font-weight:600;font-size:20px;color:var(--kc-navy);margin:34px 0 0;text-align:center}
@media (prefers-reduced-motion:reduce){.kc-flip__inner{transition:none}}
@media (max-width:479px){
	html body.et-db #page-container ul.kc-flips{grid-template-columns:1fr;gap:18px}
	.kc-flip__inner{min-height:210px}
}

/* The Meeka band under the cards: her picture beside her description */
.kc-wordmeeka{display:grid;grid-template-columns:minmax(0,300px) 1fr;gap:48px;align-items:center}
.kc-wordmeeka__pic img{display:block;width:100%;max-width:300px;height:auto}
.kc-wordmeeka .kc-eyebrow{color:var(--kc-orange)}
.kc-wordmeeka p{color:var(--kc-text)}
.kc-wordmeeka .kc-quote{margin-top:22px}
@media (max-width:767px){
	.kc-wordmeeka{grid-template-columns:1fr;gap:26px}
	.kc-wordmeeka__pic img{max-width:240px}
}

/* Resources page: three cards in a row */
.kc-split2--three{grid-template-columns:repeat(3,1fr)}
@media (max-width:980px){.kc-split2--three{grid-template-columns:1fr}}
@media (max-width:640px){
	html body.et-db #page-container .kc-quotepanel{padding:44px 0 52px!important}
	.kc-quotepanel .kc-qmark{font-size:84px}
	html body.et-db #page-container .kc-quotepanel blockquote p{font-size:20px;line-height:1.5}
	html body.et-db #page-container .kc-quotepanel p.kc-qwho{font-size:15px}
	html body.et-db #page-container .kc-quotepanel ul.kc-qpics{gap:10px;margin-top:28px}
	.kc-quotepanel .kc-qpics img{border-radius:10px}
}

/* Series pages (2026-10-29, draft for Karen): one small line drawing in each series hero (computers only; it would crowd the words on a phone) and a tiny themed icon in each
   tag pill: a magnifying glass, fingerprint and padlock on the mystery page; a star, moon and leaf on the fantasy page. The pages carry kc-theme--mystery / kc-theme--fantasy
   (tools/layouts.py themed()); the drawings and icons are the SVG files in ../images/. To drop them, remove this block. */
.kc-shero--art{position:relative;overflow:hidden}
.kc-shero--art::after{content:"";position:absolute;right:max(24px,calc((100% - 1180px)/2 + 28px));top:50%;width:min(34%,400px);aspect-ratio:1;transform:translateY(-50%);background:center/contain no-repeat;opacity:.7;pointer-events:none}
.kc-shero--art-mystery::after{background-image:url(../images/hero-art-mystery.svg)}
/* The fantasy hero picture (Karen, 2026-10-29): her own picture of Crimson and Kinsey in a vine frame, a real image so the mouse can be over it. Beside the words on a computer
   (1240 px and up), under the buttons on a phone or tablet. If a second picture is on the page (.kc-hero-pic--swap: Kinsey and Anvil the dwarf, round, the same height as the oval), the mouse over the first swaps
   to it. The moon-and-vine line drawing (hero-art-fantasy.svg) is kept: to go back to it, remove the picture from hero_pic() in tools/layouts.py and give the hero the classes
   kc-shero--art kc-shero--art-fantasy again, with .kc-shero--art-fantasy::after{background-image:url(../images/hero-art-fantasy.svg)}. */
.kc-shero--pic .et_pb_text_inner{position:relative}
.kc-hero-pic{display:block;position:relative;width:min(100%,var(--pic-m,260px));aspect-ratio:600/448;margin:30px 0 0}
.kc-hero-pic img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 26px rgba(0,0,0,.35));transition:opacity .3s ease}
.kc-hero-pic--swap img+img{opacity:0}
@media (hover:hover){.kc-hero-pic--swap:hover img:first-child{opacity:0}.kc-hero-pic--swap:hover img+img{opacity:1}}
/* Phones and tablets have no mouse to hover with, so a tap swaps the pictures instead (js/hero-pic.js adds .kc-hero-pic--tap on a screen with no hover, then toggles .kc-hero-pic--alt on each tap).
   Until the first tap a small "Tap me!" sits under the picture. */
.kc-hero-pic--alt img:first-child{opacity:0}.kc-hero-pic--alt img+img{opacity:1}
.kc-hero-pic--tap{cursor:pointer;-webkit-tap-highlight-color:transparent;margin-bottom:34px}
.kc-hero-pic--tap::after{content:"Tap me!";position:absolute;left:0;right:0;top:100%;margin-top:9px;text-align:center;font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--kc-gold);pointer-events:none}
.kc-hero-pic--tap.kc-hero-pic--tapped::after{display:none}
.kc-hero-pic--tap:focus-visible{outline:3px solid var(--kc-gold);outline-offset:6px;border-radius:50%}
@media (min-width:1240px){.kc-hero-pic{position:absolute;left:calc(100% + 20px);top:50%;width:var(--pic-w,340px);margin:0;transform:translateY(-50%)}}
@media (prefers-reduced-motion:reduce){.kc-hero-pic img{transition:none}}
@media (max-width:1239px){.kc-shero--art::after{display:none}}
html body.et-db #page-container [class*="kc-theme--"] ul.kc-chips li[class*="kc-ic--"]::before{content:"";display:inline-block;width:16px;height:16px;margin:-3px 8px 0 -2px;vertical-align:middle;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li::before{background:var(--kc-orange)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li::before{background:var(--kc-purple)}
/* tags: the small picture in each pill under "What the series is like" on the two series pages (Karen, 2026-10-30: better icons). Mystery: her detective badges, matched to the tag (tools/layouts.py,
   the icons list in chips()); fantasy: my own simple line drawings in purple (icon-fantasy-*.svg). The pill's own colour rule for the picture (the older plain icons) is replaced by these. */
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li[class*="kc-ic--"]::before{width:30px;height:30px;margin:-7px 9px -7px -9px;background:center/contain no-repeat;-webkit-mask:none;mask:none;filter:drop-shadow(0 1px 2px rgba(22,33,62,.25))}
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li.kc-ic--key::before{background-image:url(../images/medal-key.webp)}
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li.kc-ic--fingerprint::before{background-image:url(../images/medal-fingerprint.webp)}
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li.kc-ic--folder::before{background-image:url(../images/medal-folder.webp)}
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li.kc-ic--backpack::before{background-image:url(../images/medal-backpack.webp)}
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li.kc-ic--footprint::before{background-image:url(../images/medal-footprint.webp)}
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li.kc-ic--camera::before{background-image:url(../images/medal-camera.webp)}
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li.kc-ic--notebook::before{background-image:url(../images/medal-notebook.webp)}
html body.et-db #page-container .kc-theme--mystery ul.kc-chips li.kc-ic--torch::before{background-image:url(../images/medal-torch.webp)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li[class*="kc-ic--"]::before{width:22px;height:22px;margin:-5px 9px 0 -4px}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--hero::before{-webkit-mask-image:url(../images/icon-fantasy-hero.svg);mask-image:url(../images/icon-fantasy-hero.svg)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--unicorn::before{-webkit-mask-image:url(../images/icon-fantasy-unicorn.svg);mask-image:url(../images/icon-fantasy-unicorn.svg)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--dragon::before{-webkit-mask-image:url(../images/icon-fantasy-dragon.svg);mask-image:url(../images/icon-fantasy-dragon.svg)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--dwarf::before{-webkit-mask-image:url(../images/icon-fantasy-dwarf.svg);mask-image:url(../images/icon-fantasy-dwarf.svg)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--castle::before{-webkit-mask-image:url(../images/icon-fantasy-castle.svg);mask-image:url(../images/icon-fantasy-castle.svg)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--swords::before{-webkit-mask-image:url(../images/icon-fantasy-swords.svg);mask-image:url(../images/icon-fantasy-swords.svg)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--shield::before{-webkit-mask-image:url(../images/icon-fantasy-shield.svg);mask-image:url(../images/icon-fantasy-shield.svg)}
/* Fantasy pills with Karen's own badges (2026-11-13), in place of my line drawings, the same size as the mystery badges: a girl hero (fantasystory.png), a talking unicorn
   (icons.png, row 1, left), dragons and tworns (icons.png, row 2, left; the smoke curl kept), dwarves and elves (icons3.png, row 2, middle elf), a medieval kingdom
   (Kingdom2.jpg, row 1, left) and quests and battles (kingdom3.jpg, row 2, middle, a map). Courage and loyalty: a lion shield (kingdom3.jpg, row 3, left). Cut with tools/cut_badges.py. */
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--b::before{width:30px;height:30px;margin:-7px 9px -7px -9px;background:center/contain no-repeat;-webkit-mask:none;mask:none;filter:drop-shadow(0 1px 2px rgba(22,33,62,.25))}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--b.kc-ic--hero::before{background-image:url(../images/chip-fantasy-hero.webp)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--b.kc-ic--unicorn::before{background-image:url(../images/chip-fantasy-unicorn.webp)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--b.kc-ic--dragon::before{background-image:url(../images/chip-fantasy-dragon.webp)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--b.kc-ic--dwarf::before{background-image:url(../images/chip-fantasy-elf.webp)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--b.kc-ic--castle::before{background-image:url(../images/chip-fantasy-castle.webp)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--b.kc-ic--swords::before{background-image:url(../images/chip-fantasy-quest.webp)}
html body.et-db #page-container .kc-theme--fantasy ul.kc-chips li.kc-ic--b.kc-ic--shield::before{background-image:url(../images/chip-fantasy-shield.webp)}

/* The guide's discussion questions (Karen, 2026-10-29): each marked with one of her detective badges (folder, camera, key, footprint, backpack; cut from her icon sheet, ../images/medal-*.webp) */
html body.et-db #page-container ul.kc-medals{list-style:none;padding:0;margin:0 0 20px}
html body.et-db #page-container ul.kc-medals li{list-style:none;position:relative;min-height:54px;margin:0 0 20px;padding:7px 0 0 72px;color:var(--kc-text)}
html body.et-db #page-container ul.kc-medals li::before{content:"";position:absolute;left:0;top:0;width:54px;height:54px;background:center/contain no-repeat;filter:drop-shadow(0 3px 6px rgba(22,33,62,.2))}
html body.et-db #page-container ul.kc-medals li.kc-medal--folder::before{background-image:url(../images/medal-folder.webp)}
html body.et-db #page-container ul.kc-medals li.kc-medal--camera::before{background-image:url(../images/medal-camera.webp)}
html body.et-db #page-container ul.kc-medals li.kc-medal--key::before{background-image:url(../images/medal-key.webp)}
html body.et-db #page-container ul.kc-medals li.kc-medal--footprint::before{background-image:url(../images/medal-footprint.webp)}
html body.et-db #page-container ul.kc-medals li.kc-medal--backpack::before{background-image:url(../images/medal-backpack.webp)}
html body.et-db #page-container ul.kc-medals li.kc-medal--notebook::before{background-image:url(../images/medal-notebook.webp)}
/* Which book a discussion question comes from (Karen, 2026-11-10): a small line under the question */
html body.et-db #page-container ul.kc-medals li .kc-from{display:block;margin-top:4px;font-size:14px;font-weight:700;letter-spacing:.02em;color:var(--kc-muted)}

/* "Meet the Crime Stopper Kids" (Karen, 2026-10-29): four portrait cards on the mystery series page, 4 across on a computer, 2 across on a tablet or phone */
html body.et-db #page-container ul.kc-gang{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
html body.et-db #page-container ul.kc-gang li{list-style:none;margin:0;padding:0;background:#fff;border-radius:22px;box-shadow:0 8px 30px rgba(22,33,62,.08);overflow:hidden}
.kc-gang img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.kc-gang li>div{padding:16px 18px 20px}
.kc-gang h3{margin:0 0 6px;--kc-h3:24px}
.kc-gang p{margin:0;font-size:15px;line-height:1.45;color:var(--kc-text)}
@media (max-width:900px){html body.et-db #page-container ul.kc-gang{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kc-gang li>div{padding:12px 14px 16px}.kc-gang h3{--kc-h3:21px}.kc-gang p{font-size:14px}}

/* Titles on the mystery pages in Cutive (Karen, 2026-10-30): the typewriter-style font she uses for the titles in the books themselves. Page titles, section headings (h1, h2) and the book card titles on the
   mystery series page, the Crime Stopper Kids book pages and the parent guide; smaller headings stay in Fraunces. Cutive has one weight (regular), so the bold is switched off here
   (a bold forced on it would smear). Needs !important because an earlier rule forces Fraunces on every heading in the redesigned pages. Self-hosted, SIL Open Font License 1.1. The pages carry kc-cutive (tools/layouts.py cutive()). To drop it, delete this block and the cutive(...) calls. */
html body.et-db #page-container .et_pb_section.kc-cutive .et_pb_text :is(h1,h2),html body.et-db #page-container .et_pb_section.kc-cutive .et_pb_text .kc-entry h3,html body.et-db #page-container .et_pb_section.kc-cutive .et_pb_text .kc-gang h3,html body.et-db #page-container .et_pb_section.kc-cutive .et_pb_text .kc-rcard h3{font-family:Cutive,"Courier New",Georgia,serif!important;font-weight:400!important;letter-spacing:.005em}
/* the book cards' titles too (the "books in reading order" cards on the series page and the guide; Karen, 2026-10-30) */
@media (max-width:600px){html body.et-db #page-container .et_pb_section.kc-cutive .et_pb_text .kc-entry h3{--kc-h3:20px}}
/* the four kids' names on the character cards are in Cutive too (Karen, 2026-10-30; the shared rule above). Her "BOOK 1" labels above the card titles were in Cutive for a day and she put them back to the original font. */
/* the series strip on each book page ("The series, in reading order", also "The books" on the guide): the book titles in Cutive too (Karen, 2026-10-30). Her "Book 1 · you are here" labels were in Cutive for a few minutes and she put them back to the original font. */
html body.et-db #page-container .et_pb_section.kc-cutive .kc-book .kc-t{font-family:Cutive,"Courier New",Georgia,serif!important;font-weight:400!important;font-size:20px;line-height:1.2}
@media (max-width:600px){html body.et-db #page-container .et_pb_section.kc-cutive .kc-book .kc-t{font-size:18px}}
/* Titles on the fantasy pages in Metamorphous (Karen chose it from four options, 2026-10-30; the pages had Cinzel, the font of her books, for a few hours first). The Crimson and the Guardian series
   page, the two book pages, the fantasy character facts page and the Battle of the Snake chapter-one page (the last two added 2026-10-31): page titles, section headings (h1, h2) and the book card titles; smaller headings stay in Fraunces. Metamorphous has one weight (regular), so the bold is switched
   off here. Self-hosted, SIL Open Font License 1.1. Same !important reason as the Cutive block above. The pages carry kc-metamorphous (tools/layouts.py metamorphous()). To drop it, delete this
   block and the metamorphous(...) calls. */
html body.et-db #page-container .et_pb_section.kc-metamorphous .et_pb_text :is(h1,h2),html body.et-db #page-container .et_pb_section.kc-metamorphous .et_pb_text .kc-entry h3{font-family:Metamorphous,Georgia,serif!important;font-weight:400!important;letter-spacing:.01em}
/* Mystery book pages: the "readers who love..." bullets are Karen's detective badges (cut from her icon sheets, 2026-10-30), one after another, in place of the dots. The fantasy pages keep dots. */
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li{min-height:50px;padding:7px 0 14px 58px;margin:0 0 4px}
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li::before{left:0;top:0;width:42px;height:42px;border-radius:0;background:center/contain no-repeat;filter:drop-shadow(0 2px 4px rgba(22,33,62,.22))}
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li:nth-child(8n+1)::before{background-image:url(../images/medal-footprint.webp)}
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li:nth-child(8n+2)::before{background-image:url(../images/medal-fingerprint.webp)}
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li:nth-child(8n+3)::before{background-image:url(../images/medal-key.webp)}
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li:nth-child(8n+4)::before{background-image:url(../images/medal-camera.webp)}
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li:nth-child(8n+5)::before{background-image:url(../images/medal-torch.webp)}
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li:nth-child(8n+6)::before{background-image:url(../images/medal-notebook.webp)}
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li:nth-child(8n+7)::before{background-image:url(../images/medal-folder.webp)}
html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li:nth-child(8n)::before{background-image:url(../images/medal-backpack.webp)}
@media (max-width:600px){html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li{min-height:44px;padding-left:48px}html body.et-db #page-container .et_pb_section.kc-cutive ul.kc-loves li::before{width:36px;height:36px}}
/* Fantasy character facts page: Karen's fantasy badges as the bullets, one per fact in order (cut from her sheets with see-through edges, 240 x 240, 2026-11-13).
   Dragons: the dragonet (dragons.jpg, top row, middle), the dragonologist (dragons.jpg, row 2, middle), the ice dragon (Dragons3.jpg, row 3, middle) and the dragon stone
   (dragons.jpg, row 4, right). Elves: an elf and a dwarf arguing (Elves.jpg, top row, middle), an elf under a tree with an hourglass (Elves2.jpg, row 2, left), an elf
   on a pedestal (Elves.jpg, row 3, middle) and an elf in the four seasons (Elves.jpg, row 4, middle). Unicorns: a glowing white unicorn among stars (Unicorn1.jpg, top
   left), a brown unicorn (unicorn4.jpg, row 2, middle), a gold unicorn whose horn reaches past the ring (unicorn3.jpg, row 3, middle) and "Unicorn Day April 9"
   (unicorn3.jpg, row 4, left). Dwarves: a dwarf with a pickaxe in a cave (Dwarf4.jpg, top left), a dwarf with an axe that reaches past the ring (Dwarf1.jpg,
   row 2, left), an old white-bearded dwarf (Dwarf3.jpg, row 3, right) and two dwarves with braided beards (Dwarf3.jpg, row 4, left).
   All cut with tools/cut_badges.py. Bigger than the mystery badges because the pictures are more
   detailed. Other creatures: add them to FACT_BADGES in tools/layouts.py and four lines here. */
html body.et-db #page-container ul.kc-loves.kc-badges li{min-height:56px;padding:14px 0 10px 70px;margin:0 0 14px}
html body.et-db #page-container ul.kc-loves.kc-badges li::before{left:0;top:0;width:56px;height:56px;border-radius:0;background:center/contain no-repeat;filter:drop-shadow(0 2px 4px rgba(22,33,62,.22))}
html body.et-db #page-container ul.kc-badges--dragons li:nth-child(1)::before{background-image:url(../images/badge-dragon-dragonet.webp)}
html body.et-db #page-container ul.kc-badges--dragons li:nth-child(2)::before{background-image:url(../images/badge-dragon-dragonologist.webp)}
html body.et-db #page-container ul.kc-badges--dragons li:nth-child(3)::before{background-image:url(../images/badge-dragon-ice.webp)}
html body.et-db #page-container ul.kc-badges--dragons li:nth-child(4)::before{background-image:url(../images/badge-dragon-stone.webp)}
html body.et-db #page-container ul.kc-badges--elves li:nth-child(1)::before{background-image:url(../images/badge-elf-dwarves.webp)}
html body.et-db #page-container ul.kc-badges--elves li:nth-child(2)::before{background-image:url(../images/badge-elf-long-life.webp)}
html body.et-db #page-container ul.kc-badges--elves li:nth-child(3)::before{background-image:url(../images/badge-elf-proud.webp)}
html body.et-db #page-container ul.kc-badges--elves li:nth-child(4)::before{background-image:url(../images/badge-elf-ageless.webp)}
html body.et-db #page-container ul.kc-badges--unicorns li:nth-child(1)::before{background-image:url(../images/badge-unicorn-forever.webp)}
html body.et-db #page-container ul.kc-badges--unicorns li:nth-child(2)::before{background-image:url(../images/badge-unicorn-colours.webp)}
html body.et-db #page-container ul.kc-badges--unicorns li:nth-child(3)::before{background-image:url(../images/badge-unicorn-alicorn.webp)}
html body.et-db #page-container ul.kc-badges--unicorns li:nth-child(4)::before{background-image:url(../images/badge-unicorn-day.webp)}
html body.et-db #page-container ul.kc-badges--dwarves li:nth-child(1)::before{background-image:url(../images/badge-dwarf-caves.webp)}
html body.et-db #page-container ul.kc-badges--dwarves li:nth-child(2)::before{background-image:url(../images/badge-dwarf-battle.webp)}
html body.et-db #page-container ul.kc-badges--dwarves li:nth-child(3)::before{background-image:url(../images/badge-dwarf-age.webp)}
html body.et-db #page-container ul.kc-badges--dwarves li:nth-child(4)::before{background-image:url(../images/badge-dwarf-beards.webp)}
@media (max-width:600px){html body.et-db #page-container ul.kc-loves.kc-badges li{min-height:46px;padding:10px 0 12px 58px}html body.et-db #page-container ul.kc-loves.kc-badges li::before{width:46px;height:46px}}
/* the "Read the full guide →" line under a parents' note (2026-10-30) */
.kc-note p+p{margin-top:12px}
