/* Automatic theme; loaded after styles.css and personalized.css. Book covers and photographs keep their original colors. */
@media (prefers-color-scheme: dark) {
 :root{color-scheme:dark;--paper:#171f29;--soft:#232f3d;--ink:#f0f2f1;--muted:#bbc7cd;--line:#465669;--olive:#b8cc96;--gold:#d2c59d;--theme-button-ink:#182019;--theme-field:#1e2a37;--theme-cover:#29394a}
 body{background:var(--paper);color:var(--ink)}
 .primary,.catalog-filter [aria-pressed=true],.new-badge{background:var(--olive);color:var(--theme-button-ink)}
 .header .mobile-cart{background:transparent;color:var(--olive)}
 .primary:hover{background:#cbdcaf;color:var(--theme-button-ink)}
 .cover-button,.upcoming-grid .cover-button{background:var(--theme-cover)}
 .cover-button:hover{background:var(--soft)}
 .personalized-section,.upcoming-section{background:var(--soft)}
 input,select,textarea,#checkout-form input,#checkout-form select,.cart-row input,.account-form input,.catalog-search input,.share-url,.volume-choice select,#discount-state input,.personalized-form input:not([type=checkbox]),.personalized-form select,.personalized-form textarea{background:var(--theme-field);color:var(--ink);border-color:var(--line);accent-color:var(--olive)}
 input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
 .personalized-form .personalized-situation{background:var(--theme-field)}
 .new-inline{background:var(--soft);color:var(--olive);border:1px solid var(--line)}
 .carousel-stage>.carousel-controls button{background:var(--soft);color:var(--olive);border-color:var(--line);box-shadow:0 3px 14px #0005}
 dialog{box-shadow:0 20px 80px #0008}dialog::backdrop{background:#000a}
 .product-buybar{box-shadow:0 -4px 18px #0003}
 .skip{background:var(--soft);color:var(--ink)}
 /* A soft white backing fades into the page around the original logo. */
 .brand{position:relative;isolation:isolate}
 .brand::before{content:"";position:absolute;inset:-3px -7px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at center,#fff 25%,#fffffff2 42%,#ffffffa6 57%,#ffffff45 70%,#fff0 90%);filter:blur(5px)}
 .brand img{filter:none}
 :focus-visible{outline-color:var(--olive)}
}
