.theme-switch{position:fixed;left:18px;bottom:18px;z-index:1000;border:1px solid #c5dbe866;border-radius:30px;padding:10px 16px;background:#082b44ed;color:#e7f4ff;box-shadow:0 4px 20px #00132033;font:500 12px/1.3 system-ui;cursor:pointer}.theme-switch:hover{background:#124766}.theme-switch:focus-visible{outline:3px solid #eccc98;outline-offset:3px}
html[data-theme="ocean"]{color-scheme:dark;--cream:#071e34;--paper:#0b2942;--navy:#e2f1fa;--ink:#e2f1fa;--text:#d4e4ee}
html[data-theme="ocean"] body{background:#061b2e;color:#d4e4ee}
html[data-theme="ocean"] :is(.content-world,.books-and-picks,.authors-section,.worlds-section,.workshop-section,.events-section,.site-footer,.footer-main,.footer-bottom,.wp-content-area,.wp-page,.page-shell){background-color:#08243c;background-image:none;color:#c3d7e7}
html[data-theme="ocean"] .content-world{background:radial-gradient(ellipse at 15% 5%,#103b58,transparent 45%),linear-gradient(160deg,#08243c,#05182d)!important}
html[data-theme="ocean"] :is(.content-world,.site-footer,.wp-content-area) :is(h1,h2,h3,h4,.book-card__price,.text-link,.book-card__title button,.journey-step strong,.footer-main a){color:#edf4f7}
html[data-theme="ocean"] :is(.author-card p,.book-card__author,.worlds-copy p,.workshop-info>p,.event-card__content>p,.event-location,.footer-bottom,.process-story p){color:#b5cddd}
html[data-theme="ocean"] :is(.book-card,.event-card,.drawer,.book-modal,.review-modal,.search-modal,.detail-modal){background:#10334e;color:#dceaf2;border-color:#3a6078}
html[data-theme="ocean"] :is(.book-card__cover-wrap,.book-card__content,.event-card__content){background:#10334e}
html[data-theme="ocean"] :is(.chip,.journey-step,.process-story,.catalog-arrow){color:#cde4f3;border-color:#59778c;background-color:transparent}
html[data-theme="ocean"] .chip.is-active{background:#24536f;color:#fff;border-color:#91b6cb}
html[data-theme="ocean"] .newsletter{background-color:#0a2b45}
html[data-theme="ocean"] :is(.newsletter__copy h2,.newsletter__copy p){color:#092f49}
html[data-theme="ocean"] .worlds-section>img{filter:drop-shadow(0 12px 22px #0005)}
html[data-theme="ocean"] .theme-switch{background:#e6d6b7;color:#10334e;border-color:#f5e7cd}
@media(max-width:680px){.theme-switch{left:10px;bottom:10px;padding:8px 12px;font-size:11px}}

/* One continuous ocean backdrop; inset content containers must not form rectangular seams. */
html[data-theme="ocean"] :is(.books-and-picks,.authors-section,.worlds-section,.workshop-section,.events-section){background:transparent!important}

html[data-theme="ocean"] .content-world{background:#08243c!important}
html[data-theme="ocean"] .hero.exact-hero::after{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2070%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22r%22%20x%3D%22-5%25%22%20y%3D%22-20%25%22%20width%3D%22110%25%22%20height%3D%22140%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.11%22%20numOctaves%3D%223%22%20seed%3D%2212%22%20result%3D%22n%22/%3E%3CfeDisplacementMap%20in%3D%22SourceGraphic%22%20in2%3D%22n%22%20scale%3D%224%22%20xChannelSelector%3D%22R%22%20yChannelSelector%3D%22G%22/%3E%3C/filter%3E%3C/defs%3E%3Cpath%20fill%3D%22%2308243c%22%20filter%3D%22url%28%23r%29%22%20d%3D%22M-10%2030%20Q70%2048%20180%2027%20T380%2023%20Q470%203%20580%2014%20T800%2025%20Q920%2047%201040%2028%20T1240%2025%20Q1350%2039%201450%2018%20L1450%2085%20L-10%2085Z%22/%3E%3C/svg%3E") center bottom/100% 100% no-repeat!important}
html[data-theme="ocean"] :is(.main-catalog,.catalog-shelf,.book-grid,.book-card,.book-card__cover-wrap,.book-card__content){background:transparent!important;box-shadow:none}

/* Theme control belongs to the header action row. */
.site-header .theme-switch{position:static;inset:auto;flex:0 0 32px;width:32px;height:32px;padding:0;border-radius:50%;display:inline-grid;place-items:center;background:transparent;color:#fff2d4;border:1px solid #fff2d444;box-shadow:none;font-size:20px;line-height:1;vertical-align:middle}
.site-header .theme-switch:hover{background:#ffffff18}
html[data-theme="ocean"] .site-header .theme-switch{background:transparent;color:#fff2d4;border-color:#fff2d444}
@media(max-width:680px){.site-header .theme-switch{width:30px;height:30px;flex-basis:30px;font-size:18px;padding:0}}

/* Ocean theme: header blue tint increased by 20 percentage points. */
html[data-theme="ocean"] .site-header{background:rgba(3,30,58,.42)!important}
@media(max-width:680px){html[data-theme="ocean"] .site-header{background:rgba(3,30,58,.38)!important}}

html[data-theme="ocean"] .site-header{background:transparent!important;--header-paper:rgba(3,30,58,.42)}
@media(max-width:680px){html[data-theme="ocean"] .site-header{--header-paper:rgba(3,30,58,.38)}}

html[data-theme="ocean"] .site-header{--header-paper:rgba(2,24,46,.62)}
@media(max-width:680px){html[data-theme="ocean"] .site-header{--header-paper:rgba(2,24,46,.58)}}
