.dw-nav-item{position:relative;list-style:none!important;display:flex;align-items:center;flex-wrap:wrap;min-width:0}.dw-nav-item>a{color:#e7dab6;text-decoration:none;padding:12px 9px!important;line-height:1.3}.dw-nav-item>a[aria-current=page],.dw-nav-item.dw-nav-active>a{color:#ffe296;text-decoration:underline;text-underline-offset:6px}.dw-nav-toggle{appearance:none;background:transparent!important;border:0!important;color:#e7c76d!important;padding:10px 6px!important;min-height:44px;cursor:pointer;line-height:1}.dw-nav-toggle:focus-visible,.dw-nav-item a:focus-visible{outline:2px solid #ffe296;outline-offset:3px}.dw-nav-children{display:none!important;position:absolute;top:100%;left:0;z-index:999;background:#11100e;border:1px solid #66552e;padding:8px!important;margin:0!important;min-width:190px;max-width:calc(100vw - 40px);box-shadow:0 12px 28px #0008}.dw-nav-children li{list-style:none!important}.dw-nav-children a{display:block;padding:12px!important;color:#eee2c3;text-decoration:none;white-space:normal}.dw-nav-open>.dw-nav-children{display:block!important}.dw-nav-utility>a{font-size:.85em}.dw-nav-action>a{border:1px solid #ad8f45!important;border-radius:3px;padding:10px 15px!important;color:#ffe296!important}.dw-nav-utility-first{margin-left:12px!important}.dw-nav-item .dropdown-nav-toggle{display:none!important}
@media(max-width:1024px){.dw-nav-item{width:100%;justify-content:space-between}.dw-nav-item>a{flex:1;padding:14px 12px!important}.dw-nav-toggle{padding:14px!important}.dw-nav-children{position:static;width:100%;max-width:none;box-shadow:none;margin:0 12px 8px!important;border-left:1px solid #66552e}.dw-nav-utility-first{margin:14px 0 0!important;padding-top:12px;border-top:1px solid #66552e}.dw-nav-action{margin:8px 12px!important;width:auto}.dw-nav-action>a{text-align:center}.dw-nav-utility>a{font-size:1em}}
.dw-navigation-story,.dw-navigation-entry{max-width:960px;margin:48px auto;padding:30px 24px;border-top:1px solid #64522b;color:inherit}.dw-navigation-story h2,.dw-navigation-entry h2{font-family:'Bodoni Moda',Didot,serif;color:#ffe296}.dw-navigation-entry a,.dw-navigation-story a{color:#ffe296}.dw-watch-shell{max-width:1120px;margin:auto;padding:64px 24px;color:#e8ddc1}.dw-watch-shell h1{font:clamp(44px,7vw,80px)/1.1 'Bodoni Moda',Didot,serif;color:#ffe296}.dw-watch-shell video{display:block;width:100%;max-width:720px;aspect-ratio:1;object-fit:contain;background:#080807;border:1px solid #64522b;margin:24px auto}.dw-watch-shell p{max-width:64ch;line-height:1.8}.dw-watch-actions{display:flex;gap:20px;flex-wrap:wrap}.dw-watch-actions a{color:#ffe296}.dw-footer-col a{overflow-wrap:anywhere}

/* Actual Kadence desktop: six main links above four compact utilities.
   Keep branding and native desktop/mobile visibility at the current 1024 breakpoint. */
@media(min-width:1025px){
 #masthead #site-navigation .primary-menu-container>ul:has(>.dw-nav-item){display:grid!important;grid-template-columns:repeat(6,max-content);column-gap:0;row-gap:2px;justify-content:end;align-items:center;padding:5px 0!important;margin:0!important}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-item{margin:0!important;min-width:0;justify-content:center;align-self:center}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-item>a{font-size:12px!important;letter-spacing:.025em!important;white-space:nowrap;padding:6px 5px!important;line-height:1.3}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-item>.dw-nav-toggle{min-height:32px;padding:6px 3px!important;font-size:12px!important;line-height:1}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-utility-first{grid-column:3;grid-row:2;border-top:0;margin-left:0!important}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-utility-first~.dw-nav-utility{grid-row:2}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-utility:nth-child(8){grid-column:4}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-utility:nth-child(9){grid-column:5}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-utility:nth-child(10){grid-column:6}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-utility>a{font-size:11px!important;padding:5px 6px!important}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-action>a{padding:5px 12px!important}
 #masthead .site-header-main-section-right:has(#site-navigation .dw-nav-item){min-width:0;flex:1;justify-content:flex-end}
 #masthead .site-header-item-main-navigation:has(.dw-nav-item){margin-left:18px;min-width:0}
 #masthead .site-main-header-inner-wrap:has(#site-navigation .dw-nav-item){height:auto;min-height:80px;align-items:center}
}
/* Universe's own title must clear measured sticky chrome; Atlas keeps its approved landing/animation. */
#ww-store #universe.ww-universe-section{scroll-margin-top:var(--dw-universe-anchor-margin,0px)}
/* Public Universe layout: restore the existing component under the Worlds reset. */
#ww-store #universe.ww-universe-section > h2{box-sizing:border-box;max-width:1200px;margin:32px auto 12px;padding:0 24px;font:400 clamp(34px,5vw,64px)/1.15 Didot,Georgia,serif;color:#e9c77a}
#ww-store #universe.ww-universe-section > p{box-sizing:border-box;max-width:1200px;margin:16px auto 32px;padding:0 24px}
#ww-store #universe.ww-universe-section[data-ww-universe-phase="ready"] > #universe-heading{position:absolute;width:1px;height:1px;max-width:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
#ww-store #universe.ww-universe-section [data-ww-universe-host] > .ww-universe{box-sizing:border-box;width:100%;max-width:1200px;margin:0 auto;padding:32px 24px}
#ww-store #universe.ww-universe-section .ww-universe :is(h2,h3){font-family:Didot,Georgia,serif;font-weight:400;line-height:1.15;color:var(--u-gold,#e9c77a)}
#ww-store #universe.ww-universe-section .ww-universe h2{font-size:clamp(34px,5vw,64px);margin:12px 0}
#ww-store #universe.ww-universe-section .ww-universe h3{font-size:29px;margin:18px 0}
#ww-store #universe.ww-universe-section .ww-universe > header > p{margin:12px 0}
#ww-store #universe.ww-universe-section .ww-universe > header > .universe-eyebrow{font-size:11px;letter-spacing:.18em;color:var(--u-gold,#e9c77a)}
@media(max-width:480px){
 #ww-store #universe.ww-universe-section > h2,#ww-store #universe.ww-universe-section > p{padding-left:12px;padding-right:12px}
 #ww-store #universe.ww-universe-section[data-ww-universe-phase="ready"] > #universe-heading{padding:0}
 #ww-store #universe.ww-universe-section [data-ww-universe-host] > .ww-universe{padding:24px 12px}
}


/* Shared organized footer; existing colours, wordmark and legal wording retained. */
#dw-lite-footer.dw-footer-organized .dw-footer-content{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:32px;align-items:start}
#dw-lite-footer.dw-footer-organized .dw-footer-col{min-width:0;margin:0}
#dw-lite-footer.dw-footer-organized .dw-footer-col h3{line-height:1.35;white-space:normal}
#dw-lite-footer.dw-footer-organized .dw-footer-col a{max-width:100%;overflow-wrap:anywhere}
#dw-lite-footer.dw-footer-organized .dw-social-links{display:flex;flex-wrap:wrap;gap:6px}
#dw-lite-footer.dw-footer-organized .dw-social-links a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;box-sizing:border-box}
@media(max-width:1000px){#dw-lite-footer.dw-footer-organized .dw-footer-content{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}}
@media(max-width:640px){#dw-lite-footer.dw-footer-organized .dw-footer-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}#dw-lite-footer.dw-footer-organized .dw-footer-col a{display:flex;align-items:center;min-height:44px}}
@media(max-width:340px){#dw-lite-footer.dw-footer-organized .dw-footer-content{grid-template-columns:minmax(0,1fr)}}

/* Shared header: readable single-row hierarchy; native Kadence drawer below the measured-fit target. */
#masthead .dw-nav-item > :is(a,.dw-nav-toggle),
#masthead .dw-nav-children a { font-size:14px!important;line-height:1.4!important;letter-spacing:.02em!important }
#masthead .dw-nav-children {padding:8px!important;border-radius:12px;border-color:#74633f;background:#151613;min-width:220px}
#masthead .dw-nav-children a {padding:11px 14px!important;min-height:44px;box-sizing:border-box;border-radius:7px}
#masthead .dw-nav-children a:hover,#masthead .dw-nav-children a:focus-visible {background:#26352d;color:#ffe3a2!important}
:is(#masthead,#mobile-drawer) .dw-nav-profile-toggle {display:flex;align-items:center;gap:8px;border:1px solid #6f8f78!important;border-radius:999px;background:#18261f!important;min-height:44px!important;padding:9px 13px!important;color:#f1d793!important;font-family:inherit;font-weight:500;white-space:nowrap}
:is(#masthead,#mobile-drawer) .dw-profile-icon {font-size:19px;color:#87c4a4;line-height:1}
#masthead .dw-nav-profile > .dw-nav-children {left:auto;right:0;min-width:218px}
@media(min-width:1281px){
 #masthead #main-header {display:block!important}
 #masthead #mobile-header {display:none!important}
 #masthead #site-navigation .primary-menu-container>ul:has(>.dw-nav-item){display:flex!important;flex-wrap:nowrap;gap:7px;justify-content:flex-end;align-items:center;padding:12px 0!important}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-item {display:flex!important;flex:0 0 auto;justify-content:flex-start;grid-column:auto!important;grid-row:auto!important;margin:0!important}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-item>a {font-size:14px!important;padding:11px 5px!important;white-space:nowrap}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-item>.dw-nav-profile-toggle {font-size:14px!important;line-height:1.4!important;padding:9px 13px!important;min-height:44px!important}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-item>.dw-nav-toggle:not(.dw-nav-profile-toggle){min-height:44px;padding:11px 3px!important;font-size:14px!important}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-utility-first {padding-left:14px;border-left:1px solid #655b3d;margin-left:8px!important}
 #masthead #site-navigation .primary-menu-container>ul>.dw-nav-action>a {min-height:44px;box-sizing:border-box;padding:11px 15px!important;border-radius:8px}
 #masthead .site-main-header-inner-wrap:has(#site-navigation .dw-nav-item){min-height:96px;gap:22px}
 #masthead .site-header-item-main-navigation:has(.dw-nav-item){margin-left:0;min-width:0}
 #masthead .site-header-main-section-right:has(.dw-nav-item){min-width:0;flex:1 1 auto}
 #masthead .site-header-main-section-left:has(+.site-header-main-section-right .dw-nav-item){flex:0 0 auto}
 #masthead .site-branding .custom-logo {max-width:46px;max-height:46px;width:auto;height:auto}
 #masthead .site-branding .site-title {font-size:20px!important;white-space:nowrap}
}
@media(max-width:1280px){
 #masthead #main-header {display:none!important}
 #masthead #mobile-header {display:block!important}
 #mobile-drawer .dw-nav-item {width:100%;justify-content:space-between}
 #mobile-drawer .dw-nav-item > a {flex:1;padding:14px 12px!important;font-size:16px!important;min-height:44px;box-sizing:border-box}
 #mobile-drawer .dw-nav-toggle {padding:14px!important;min-height:44px;font-size:16px!important}
 #mobile-drawer .dw-nav-children {position:static;width:100%;min-width:0;max-width:none;box-shadow:none;margin:0 12px 8px!important;border-left:1px solid #66552e}
 #mobile-drawer .dw-nav-children a {font-size:16px!important;line-height:1.45!important;min-height:44px}
 #mobile-drawer .dw-nav-utility-first {margin:14px 0 0!important;padding-top:12px;border-top:1px solid #66552e}
 #mobile-drawer .dw-nav-profile-toggle {justify-content:flex-start;width:100%;margin:8px 12px;font-size:16px!important}
 #mobile-drawer .dw-nav-profile > .dw-nav-children {min-width:0}
 #mobile-drawer .dw-nav-action {margin:8px 12px!important;width:auto}
 #mobile-drawer .dw-nav-action>a {text-align:center}
}
/* One shared gap for subpage title/label arrival; homepage hero and passage stay intact. */
body {--dw-subpage-breath:clamp(24px,3vw,40px)}
body:not(.home):not(.woocommerce-shop):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout) #masthead {margin-bottom:var(--dw-subpage-breath)}
/* Native Woo account navigation moves above content; every endpoint remains visible. */
body.dw-account-page .woocommerce:has(>.account-navigation-wrap) {display:block!important;grid-template-columns:none!important;gap:0!important}
body.dw-account-page .account-navigation-wrap {display:flex!important;flex-wrap:wrap;align-items:center;gap:12px 16px;float:none!important;position:static!important;width:100%!important;max-width:none!important;margin:0 0 30px!important;padding:0!important}
body.dw-account-page .account-navigation-wrap>.woocommerce-MyAccount-navigation {flex:1 1 640px;min-width:0;margin:0!important}
body.dw-account-page .kadence-account-avatar {display:flex;align-items:center;gap:10px;margin:0;padding:0;border:0;background:transparent}
body.dw-account-page .kadence-customer-image a {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
body.dw-account-page .kadence-customer-image img {width:40px;height:40px;border-radius:50%}
body.dw-account-page .kadence-customer-name {max-width:180px;font-size:14px;line-height:1.4;overflow-wrap:anywhere}

body.dw-account-page .woocommerce-MyAccount-navigation,
body.dw-account-page .woocommerce-MyAccount-content {float:none!important;clear:both;width:100%!important;min-width:0}
body.dw-account-page .woocommerce-MyAccount-navigation {margin:0 0 30px;border:1px solid #5c674e;border-radius:14px;background:#162019;padding:8px 12px}
body.dw-account-page .woocommerce-MyAccount-navigation ul {display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0!important;padding:0!important;list-style:none}
body.dw-account-page .woocommerce-MyAccount-navigation li {margin:0;padding:0;border:0!important;list-style:none}
body.dw-account-page .woocommerce-MyAccount-navigation a {display:flex;align-items:center;box-sizing:border-box;min-height:44px;padding:10px 13px;color:#e8ddbd;text-decoration:none;font-size:14px;line-height:1.4;border-radius:8px;white-space:normal}
body.dw-account-page .woocommerce-MyAccount-navigation .is-active a {background:#324b3d;color:#ffe3a2;border:1px solid #91ac84}
body.dw-account-page .woocommerce-MyAccount-navigation a:focus-visible {outline:2px solid #e9c77a;outline-offset:2px}
body.dw-account-page .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout {margin-left:auto}
/* Dashboard title is the existing Universe title, not the generic My Account template heading. */
body.dw-universe-dashboard .entry-header {display:none}
body.dw-universe-dashboard .entry-content-wrap {padding-top:0}
body.dw-universe-dashboard #your-universe {margin:0;width:100%;max-width:none}
body.dw-universe-dashboard #your-universe > h1 {font:400 clamp(32px,4vw,54px)/1.15 Didot,Georgia,serif;color:#e9c77a;margin:10px 0 24px}
body.dw-universe-dashboard #your-universe [data-ww-universe-host] > .ww-universe {box-sizing:border-box;display:block;max-width:1290px;width:100%;margin:0 auto;padding:0}
body.dw-universe-dashboard .ww-universe > header {grid-column:1/-1;margin:0 0 8px}
body.dw-universe-dashboard .ww-universe > header > h1 {font:400 clamp(32px,4vw,54px)/1.15 Didot,Georgia,serif;color:#e9c77a;margin:10px 0 14px}
body.dw-universe-dashboard .ww-universe > header > p {max-width:65ch;line-height:1.7;margin:8px 0}
body.dw-universe-dashboard .ww-universe > .universe-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,350px);gap:24px 30px;align-items:start}
body.dw-universe-dashboard .universe-visual {grid-column:1;grid-row:1;min-width:0}
body.dw-universe-dashboard .universe-sidebar {grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:24px;min-width:0}
body.dw-universe-dashboard .universe-inspector {min-width:0;width:auto;margin:0}
body.dw-universe-dashboard .universe-display:not([hidden]) {min-width:0;margin:0;padding:20px;border:1px solid #61583e;border-radius:14px;background:#181c17}
body.dw-universe-dashboard .universe-display h3 {margin:0 0 12px;font:400 25px/1.2 Didot,Georgia,serif;color:#e9c77a}
body.dw-universe-dashboard .universe-display :is(button,select) {max-width:100%;min-height:44px;font-size:14px}
body.dw-universe-dashboard .universe-display > button {margin:6px 6px 6px 0}
body.dw-universe-dashboard .ww-universe > .universe-player {grid-column:1/-1;grid-row:4}
body.dw-universe-dashboard .ww-universe > .universe-library {grid-column:1/-1;grid-row:5;min-width:0}
body.dw-universe-dashboard .universe-art {max-width:100%;min-width:0}
body.dw-universe-dashboard .universe-art > svg {max-width:100%;height:auto}
body.dw-universe-dashboard .universe-inspector :is(input,select,button),body.dw-universe-dashboard .universe-positions select {max-width:100%;box-sizing:border-box}
@media(max-width:980px){
 body.dw-universe-dashboard .ww-universe>.universe-grid {grid-template-columns:minmax(0,1fr);gap:24px}
 body.dw-universe-dashboard .universe-visual {grid-column:1;grid-row:1}
 body.dw-universe-dashboard .universe-sidebar {grid-column:1;grid-row:2}
 body.dw-universe-dashboard .ww-universe>.universe-player {grid-row:5}
 body.dw-universe-dashboard .ww-universe>.universe-library {grid-row:6}
}
@media(max-width:540px){
 body.dw-account-page .woocommerce-MyAccount-navigation {padding:8px;margin-bottom:24px}
 body.dw-account-page .woocommerce-MyAccount-navigation ul {gap:4px}
 body.dw-account-page .woocommerce-MyAccount-navigation a {font-size:13px;padding:10px}
 body.dw-account-page .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout {margin-left:0}
 body.dw-universe-dashboard .universe-display:not([hidden]) {padding:16px}
}

/* Dashboard context tabs: full native menu is the no-JS fallback and stays full on other endpoints. */
body.dw-universe-dashboard .account-navigation-wrap {margin-bottom:20px!important}
@media(max-width:768px){
 body.dw-account-page #primary>.content-container {box-sizing:border-box;width:100%;max-width:none;padding-inline:16px!important}
 body.dw-account-page #primary .content-wrap,
 body.dw-account-page #primary .entry,
 body.dw-account-page #primary .entry-content-wrap,
 body.dw-account-page #primary .entry-content,
 body.dw-account-page #primary .woocommerce,
 body.dw-account-page #primary .woocommerce-MyAccount-content,
 body.dw-account-page #primary #your-universe {box-sizing:border-box;width:100%;max-width:none;padding-inline:0!important;margin-inline:0!important}
 body.dw-universe-dashboard #your-universe [data-ww-universe-host]>.ww-universe {padding:0!important;margin-inline:0!important;max-width:none}
 body.dw-universe-dashboard #your-universe>h1,
 body.dw-universe-dashboard .ww-universe>header>h1 {font-size:34px!important;line-height:1.16;margin-top:4px}
 body.dw-universe-dashboard .account-navigation-wrap {gap:8px;margin-bottom:18px!important}
 body.dw-universe-dashboard .woocommerce-MyAccount-navigation {padding:6px;margin-bottom:0}
 body.dw-universe-dashboard .woocommerce-MyAccount-navigation a {padding:10px;font-size:14px}
}

/* A zero-held inspector has no artwork: keep its showcase directly below the actual empty-state information. */
body.woocommerce-account.dw-universe-dashboard .universe-inspector:has(> select:disabled) > .universe-world-art:empty {display:none!important;min-height:0!important;height:auto!important;margin:0!important}

/* The shared header supplies these links on all Worlds routes, including the child pages. */
body:has(#masthead .dw-nav-children a[href$="/worlds/#atlas"]) #ww-store > nav.ww-subnav {
  display: none !important;
}

/* Match the original logo heights and keep the square asset from shrinking in flex layout. */
#masthead .site-branding img.custom-logo {
  --dw-header-sigil-size: 64px;
  flex: 0 0 auto;
  width: var(--dw-header-sigil-size) !important;
  min-width: var(--dw-header-sigil-size) !important;
  max-width: var(--dw-header-sigil-size) !important;
  object-fit: contain;
}
@media (max-width: 1024px) {
  #masthead .site-branding img.custom-logo { --dw-header-sigil-size: 56px; }
}
@media (max-width: 767px) {
  #masthead .site-branding img.custom-logo { --dw-header-sigil-size: 48px; }
}
#worlds-story { scroll-margin-top: 110px; }

/* Cosmos Forge: gold signatures and jade interaction seams. */
#masthead .site-header-row-container-inner {
    background-image: linear-gradient(105deg, #141311, #111511 60%, #14251d);
}
#masthead .site-branding :is(img.custom-logo, .site-title) {
    filter: brightness(1.16) saturate(.86) drop-shadow(0 0 5px #d7a34c66);
}
#masthead .dw-nav-item > :is(a,button) {
    text-shadow: 0 0 9px #e4b96055;
}
#masthead .dw-nav-item > :is(a,button):is(:hover,:focus-visible),
#masthead .dw-nav-open > :is(a,button) {
    text-shadow: 0 0 11px #ffd784bb;
}
:is(#masthead,#mobile-drawer) .dw-nav-children {
    background: linear-gradient(145deg, #1c3529, #151612 68%);
}
#masthead :is(.site-branding,.dw-nav-item) { position: relative; }
#masthead :is(.site-branding,.dw-nav-item)::after {
    content: "";
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 13px;
    background: url("brand-katana.svg?v=da9f3a00a782") no-repeat left center / 100% 100%;
    filter: drop-shadow(0 0 3px #fbd48490);
    clip-path: inset(0 100% 0 0);
    transition: clip-path .33s cubic-bezier(.17,.73,.24,1);
}
#masthead .dw-nav-item:has(> .dw-nav-children)::after { width: 218px; }
#masthead .dw-nav-profile::after { left: auto; right: 0; }
#masthead :is(.site-branding,.dw-nav-item):has(:focus-visible)::after,
#masthead .dw-nav-item.dw-nav-open::after {
    clip-path: inset(0);
}
@media (hover: hover) and (pointer: fine) {
    #masthead :is(.site-branding,.dw-nav-item):hover::after { clip-path: inset(0); }
}
@media (hover: none) {
    #masthead :is(.site-branding,.dw-nav-item)::after { transition: none; }
}
@media (min-width: 1281px) {
    #masthead .site-branding img.custom-logo {
        --dw-header-sigil-size: clamp(66px, 5.1vw, 72px);
        height: var(--dw-header-sigil-size) !important;
        min-height: var(--dw-header-sigil-size) !important;
        max-height: var(--dw-header-sigil-size) !important;
    }
    #masthead .site-branding .site-title {
        width: clamp(162px, 13vw, 184px) !important;
        height: clamp(76px, 6.1vw, 86px) !important;
    }
}
@media (max-width: 1280px) {
    #masthead .site-branding .site-title { width: 140px !important; height: 66px !important; }
}
@media (max-width: 390px) {
    #masthead .site-branding .site-title { width: 118px !important; height: 56px !important; }
}

/* Keep the original branded portal button, with the hover finish visible at rest. */
body.home .dw-hero-overlay-text a.dw-enter-ww {
    border-color: #ffe296f2 !important;
    background-color: #201b16aa;
    box-shadow: 0 0 24px #e9c77a59, inset 0 0 16px #e9c77a1f;
}
body.home .dw-hero-overlay-text a.dw-enter-ww .dw-enter-mark {
    filter: brightness(1.3) drop-shadow(0 0 6px #ffd682bf);
}
body.home .dw-hero-overlay-text a.dw-enter-ww:not(.dw-enter-go) .dw-enter-star { opacity: .56; }
body.home .dw-hero-overlay-text a.dw-enter-ww:not(.dw-enter-go) .dw-enter-star.s1 { opacity: .96; }
body.home .dw-hero-overlay-text a.dw-enter-ww:not(.dw-enter-go) .dw-enter-star.s6 { opacity: .38; }

body.home .dw-philosophy > .dw-philosophy-content:has(> .dw-kintsugi-unified) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(170px, 22vw, 238px);
    grid-template-areas: "heading note" "copy note";
    align-items: center;
    column-gap: clamp(22px, 4vw, 52px);
}
body.home .dw-kintsugi-unified { grid-area: note; display: block; width: 100%; height: auto; overflow: visible; }
body.home .dw-philosophy-content:has(> .dw-kintsugi-unified) > h2 { grid-area: heading; }
body.home .dw-philosophy-content:has(> .dw-kintsugi-unified) > p { grid-area: copy; }
.dw-kintsugi-unified path { stroke-linecap: round; stroke-linejoin: round; }
.dw-note-form {
    fill: url(#dw-kintsugi-enamel);
    stroke: url(#dw-kintsugi-metal);
    stroke-width: 1.3px;
    filter: drop-shadow(0 0 2px #d6a3619c);
}
.dw-note-seam,.dw-note-branches,.dw-note-gleam { fill: none; stroke: #ffe3a7; }
.dw-note-seam { stroke-width: 1.7px; filter: drop-shadow(0 0 2px #ffc466d6); }
.dw-note-branches { stroke-width: .9px; opacity: .68; }
.dw-note-gleam { stroke: #fff7d6; stroke-width: 2.5px; opacity: 0; }
.dw-note-playing .dw-note-form { animation: dwNoteForm 5.8s ease both; }
.dw-note-playing .dw-note-seam {
    stroke-dasharray: 1;
    animation: dwNoteDraw 1.85s .42s ease-out both, dwNoteGlow 3.5s 1.6s ease both;
}
.dw-note-playing .dw-note-branches {
    stroke-dasharray: 1;
    animation: dwNoteDraw 1.4s 1.2s ease-out both;
}
.dw-note-playing .dw-note-gleam {
    stroke-dasharray: .16 1;
    filter: drop-shadow(0 0 4px #ffe5a4) drop-shadow(0 0 7px #efa95b);
    animation: dwNoteGleam 1.65s 2.15s ease-out both;
}
@keyframes dwNoteDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dwNoteForm {
    0%,100% { opacity: 1; }
    43%,65% { opacity: .76; }
}
@keyframes dwNoteGlow {
    0%,100% { filter: drop-shadow(0 0 2px #ffc466d6); }
    52% { filter: drop-shadow(0 0 4px #ffe0a1) drop-shadow(0 0 9px #e2a64e); }
}
@keyframes dwNoteGleam {
    0% { stroke-dashoffset: .2; opacity: 0; }
    24%,71% { opacity: 1; }
    100% { stroke-dashoffset: -1; opacity: 0; }
}
@media (max-width: 768px) {
    body.home .dw-philosophy > .dw-philosophy-content:has(> .dw-kintsugi-unified) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "note" "heading" "copy";
        row-gap: 12px;
    }
    body.home .dw-kintsugi-unified { width: clamp(134px, 42vw, 176px); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
    #masthead :is(.site-branding,.dw-nav-item)::after { transition: none; }
    #masthead .dw-nav-children, .dw-kintsugi-unified path,
    body.home .dw-hero-overlay-text a.dw-enter-ww:not(.dw-enter-go) .dw-enter-star { animation: none; }
}

/* A separate deck sits below the existing apex loop, with a clear levitation gap. */
html body.home .dw-hero.dwr-hero .dwr-apex:has(> .dw-fusion-board) {
    animation: dwSigilHover 5.2s ease-in-out infinite;
}
.dw-fusion-board {
    position: absolute;
    top: calc(100% - 9px);
    left: 50%;
    display: block;
    width: 135%;
    height: auto;
    transform: translateX(-50%);
    overflow: visible;
    animation: dwFusionBalance 5.2s ease-in-out infinite;
}
.dw-fusion-rail { filter: drop-shadow(0 0 3px #70ffc8); }
@keyframes dwSigilHover {
    0%,100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -4px); }
}
@keyframes dwFusionBalance {
    0%,100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 4px); }
}
#tirta-holy-water { scroll-margin-top: 118px; }
@media (prefers-reduced-motion: reduce) {
    html body.home .dw-hero.dwr-hero .dwr-apex:has(> .dw-fusion-board),
    .dw-fusion-board { animation: none; }
}

/* Native Woo account routes share one plate and one current-page indicator. */
body.woocommerce-account.dw-account-page .woocommerce > .account-navigation-wrap {
  --dw-account-line: #77603e;
  --dw-account-ink: #eae1d1;
  --dw-account-gold: #f4d895;
  display: grid !important;
  grid-template-columns: fit-content(15rem) minmax(0, 1fr);
  gap: 8px 16px;
  box-sizing: border-box;
  padding: 10px 14px 8px !important;
  border: 1px solid var(--dw-account-line);
  border-radius: 15px;
  background: linear-gradient(130deg, #1d2922 0%, #131c18 47%, #151614 100%);
  box-shadow: inset 0 1px 0 #e9c77a22, 0 8px 22px #0003;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap > .kadence-account-avatar {
  grid-column: 1 / -1;
  position: static;
  min-width: 0;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap:has(> .dw-account-pulse) > .kadence-account-avatar {
  grid-column: 1;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .kadence-customer-image,
body.woocommerce-account.dw-account-page .account-navigation-wrap .kadence-customer-image img {
  position: static;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .kadence-customer-image {
  flex: 0 0 auto;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .kadence-customer-image img {
  display: block;
  width: 36px;
  height: 36px;
  max-width: 36px;
  border: 1px solid #a58956;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .kadence-account-avatar .kadence-customer-name {
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--dw-account-ink);
  font-size: 14px;
  font-weight: 600;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap > .woocommerce-MyAccount-navigation {
  grid-column: 1 / -1;
  box-sizing: border-box;
  padding: 7px 0 0;
  border: 0;
  border-top: 1px solid #b8965d40;
  border-radius: 0;
  background: transparent;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .woocommerce-MyAccount-navigation > ul {
  gap: 4px;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .woocommerce-MyAccount-navigation > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid transparent !important;
  border-radius: 7px;
  background: transparent;
  color: var(--dw-account-ink) !important;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .01em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .woocommerce-MyAccount-navigation > ul > li > a::before,
body.woocommerce-account.dw-account-page .account-navigation-wrap .woocommerce-MyAccount-navigation > ul > li > a::after {
  content: none !important;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .woocommerce-MyAccount-navigation > ul > li > a:hover {
  background: #e9c77a12;
  color: var(--dw-account-gold) !important;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .woocommerce-MyAccount-navigation > ul > li > a[aria-current="page"] {
  border-color: #bc9659 !important;
  background: linear-gradient(150deg, #355246, #26392f);
  color: var(--dw-account-gold) !important;
  font-weight: 700;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap a:focus-visible {
  outline: 2px solid #ffe7ae;
  outline-offset: 2px;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap > .dw-account-pulse {
  display: grid;
  align-self: center;
  gap: 3px 10px;
  width: min(100%, 320px);
  min-width: 0;
  margin: 0;
  color: var(--dw-account-ink);
  font-size: 13px;
  line-height: 1.3;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap > .dw-account-pulse:has(> .dw-account-rank) {
  grid-template-columns: auto minmax(0, 1fr);
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .dw-account-rank {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  display: block;
  width: 46px;
  height: 46px;
  max-width: none;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 42%;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .dw-account-pulse-label {
  color: var(--dw-account-gold);
  font-weight: 650;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .dw-account-pulse-detail {
  color: #d3cab9;
  font-size: 12px;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .dw-account-pulse > progress {
  appearance: none;
  width: 100%;
  max-width: 260px;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #0c1411;
  color: #9fcb9f;
  accent-color: #9fcb9f;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .dw-account-pulse > progress::-webkit-progress-bar {
  border-radius: inherit;
  background: #0c1411;
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .dw-account-pulse > progress::-webkit-progress-value {
  background: linear-gradient(90deg, #568b75, #a7cd9d 72%, #f4d895);
}

body.woocommerce-account.dw-account-page .account-navigation-wrap .dw-account-pulse > progress::-moz-progress-bar {
  background: linear-gradient(90deg, #568b75, #a7cd9d 72%, #f4d895);
}

@media (max-width: 640px) {
  body.woocommerce-account.dw-account-page .woocommerce > .account-navigation-wrap {
    grid-template-columns: fit-content(35%) minmax(0, 1fr);
    column-gap: 9px;
    padding-inline: 10px !important;
  }

  body.woocommerce-account.dw-account-page .account-navigation-wrap .woocommerce-MyAccount-navigation > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-account.dw-account-page .account-navigation-wrap .woocommerce-MyAccount-navigation > ul > li {
    min-width: 0;
    margin: 0;
  }

  body.woocommerce-account.dw-account-page .account-navigation-wrap .woocommerce-MyAccount-navigation > ul > li > a {
    justify-content: start;
    text-align: left;
  }

}

/* Keep the katana as the top-level nav accent. */
#masthead .dw-nav-item > a { text-decoration: none !important; }
#masthead .dw-nav-item > a::before,
#masthead .dw-nav-item > a::after {
    content: none !important;
}

:is(#masthead,#mobile-drawer) .dw-nav-profile-toggle {
    --dw-profile-light: 0;
    --dw-profile-rim: #6f8f78;
    border-color: var(--dw-profile-rim) !important;
    background-image: linear-gradient(110deg, #18261f 3%, #244533 23%, #315540 29%, #1c3025 45%, #18261f 50%) !important;
    background-size: 210% 100% !important;
    background-position: calc(100% * (1 - var(--dw-profile-light))) center !important;
    box-shadow: 0 0 0 1px rgb(137 226 177 / calc(.24 * var(--dw-profile-light))),
        0 0 12px rgb(94 207 145 / calc(.32 * var(--dw-profile-light))),
        inset 0 1px 0 rgb(194 255 213 / calc(.22 * var(--dw-profile-light)));
    transition: border-color .18s ease-out, box-shadow .18s ease-out, background-position .36s ease-out;
}
@media (hover: hover) {
    :is(#masthead,#mobile-drawer) .dw-nav-profile-toggle:hover {
        --dw-profile-light: 1;
        --dw-profile-rim: #84d5a6;
    }
}
:is(#masthead,#mobile-drawer) .dw-nav-profile-toggle:focus-visible,
:is(#masthead,#mobile-drawer) .dw-nav-profile-toggle:active,
:is(#masthead,#mobile-drawer) .dw-nav-profile-toggle[aria-expanded="true"] {
    --dw-profile-light: 1;
    --dw-profile-rim: #84d5a6;
}
:is(#masthead,#mobile-drawer) .dw-nav-profile-toggle:focus-visible {
    outline: 2px solid #b0efc8;
    outline-offset: 3px;
}
:is(#masthead,#mobile-drawer) .dw-nav-profile > .dw-nav-children {
    border-color: #4c6e58;
}
@media (prefers-reduced-motion: reduce) {
    :is(#masthead,#mobile-drawer) .dw-nav-profile-toggle {
        transition: none;
    }
}
@media (forced-colors: active) {
    :is(#masthead,#mobile-drawer) .dw-nav-profile-toggle:focus-visible {
        outline-color: Highlight;
    }
}

/* Small labels use the same sans serif as the site's controls. */
#ww-store .ww-tile-k {
    font: 650 12px/1.35 var(--dw-sans, system-ui, sans-serif);
    letter-spacing: .085em;
}

.dw-nav-cart > a {
    display: inline-flex;
    align-items: center;
    gap: .4em;
}
.dw-nav-cart-icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
}

@media (min-width: 1281px) {
    /* Keep the blade centered under the first utility after the divider. */
    #masthead .dw-nav-utility-first::after {
        left: 14px;
        width: calc(100% - 14px);
    }
}

@media (min-width: 1440px) {
    #masthead #site-navigation .primary-menu-container > ul:has(> .dw-nav-item) {
        gap: clamp(10px, 1vw, 14px);
    }
}

@media (max-width: 600px) {
    /* Remove stacked insets from reading sections, with a gutter at the card edge. */
    body.page-id-1048 .entry-content > :is(.dw-intro-section, .dw-journey-section, .dw-process-section, #why-docta-wasabi, #worlds-story) {
        margin-inline: -22px !important;
        padding-inline: 14px !important;
    }
    .entry-content :is(.dw-philosophy-card, .dw-answer-card, .dw-process-step, .dw-tier-card) {
        padding-inline: 14px !important;
    }
    #ww-store .ww-tile-body {
        padding-inline: 13px;
    }
    .dw-shop-ways .dw-shop-way > div,
    .dw-store-card-copy {
        min-width: 0;
    }
}

#mobile-drawer .dw-nav-item > .dw-nav-toggle:not(.dw-nav-profile-toggle) {
    display: inline-grid;
    place-items: center;
    flex: 0 0 48px;
    min-height: 48px;
    margin-inline-end: 8px;
    border: 1px solid #7d6b45 !important;
    border-radius: 8px;
    padding: 0 !important;
}
#mobile-drawer .dw-nav-toggle > span {
    transition: transform .16s ease;
}
#mobile-drawer .dw-nav-toggle[aria-expanded="true"] > span {
    transform: rotate(180deg);
}
#mobile-drawer .dw-nav-children a {
    overflow-wrap: anywhere;
}
@media (max-width: 600px) {
    body.page-id-1803 #dw-watch > :is(p, h1, .dw-watch-actions) {
        margin-inline: -56px;
    }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
    body.home .dw-sister.dw-sister-in-view .dw-sister-sigil {
        animation: dwSisFloat 2.8s ease-in-out infinite;
    }
    body.home .dw-sister.flow.dw-sister-in-view .dw-sister-sigil {
        animation-name: dwSisBreathe;
        animation-duration: 3.2s;
    }
}
/* The touch card clips overflow for its press effect. Keep its badge inside. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  body.page-id-1046 .dw-tiers .dw-tier-featured > .dw-tier-badge {
    position: static;
    align-self: flex-start;
    margin-block-end: 8px;
  }
}

/* Keep editorial gold link styling out of the filled Universe action. */
#ww-store.ww-page-club .circle-sigil-story .circle-actions a.ww-btn.ww-gold:any-link {
  color: #1a1408;
  -webkit-text-fill-color: currentColor;
}

/* Book is a prominent link in the desktop header and the touch drawer. */
:is(#masthead, #mobile-drawer) .dw-nav-action > a {
    border-color: #b18b4c !important;
    background: linear-gradient(150deg, #49341d, #282218);
    color: #ffe5ad !important;
}
:is(#masthead, #mobile-drawer) .dw-nav-action > a:is(:focus-visible, :active) {
    border-color: #ffe6ad !important;
    box-shadow: 0 0 0 1px #efc578, 0 0 13px #efb85b88, inset 0 0 0 1px #ffdf9d50;
}
@media (hover: hover) {
    :is(#masthead, #mobile-drawer) .dw-nav-action > a:hover {
        border-color: #ffe6ad !important;
        box-shadow: 0 0 0 1px #efc578, 0 0 13px #efb85b88, inset 0 0 0 1px #ffdf9d50;
    }
}

/* Woo keeps the actions and destinations. These rules style the account controls. */
body.dw-account-order-actions .woocommerce-MyAccount-content :is(a.button, button.button, input.button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid #977443;
    border-radius: 8px;
    background: #221b13;
    color: #ffe5ad;
    font: 650 14px/1.25 system-ui, sans-serif;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    box-shadow: none;
}
body.dw-account-order-actions .woocommerce-MyAccount-content :is(a.button, button.button, input.button):is(:hover, :focus-visible) {
    border-color: #efc276;
    background: #392a18;
    color: #fff0cf;
}
body.dw-account-order-actions .woocommerce-MyAccount-content :is(a.button, button.button, input.button):focus-visible {
    outline: 2px solid #ffe6ad;
    outline-offset: 2px;
}
body.dw-account-order-actions .woocommerce-MyAccount-content .woocommerce-info a.button {
    background: linear-gradient(150deg, #ffe4a1, #c99343);
    color: #211609;
}
body.dw-account-order-actions .woocommerce-MyAccount-content .woocommerce-info a.button:is(:hover, :focus-visible) {
    background: #ffe8b0;
    color: #211609;
}
@media (max-width: 640px) {
    body.dw-account-order-actions .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message) a.button {
        float: none;
        margin: 8px 0;
    }
}

/* The Home blade owns space beneath the sigil and wordmark at every width. */
#masthead .site-branding {
    padding-block: 5px 21px;
}
#masthead .site-branding > a.brand::after {
    content: none;
}
#masthead .site-branding::after {
    bottom: 1px;
    height: 15px;
    background-image: url("brand-home-katana.svg?v=390f647062c0");
}


/* A folded jade silk panel unfurls between the bamboo rails on every dropdown. */
:is(#masthead, #mobile-drawer) .dw-nav-item > .dw-nav-children {
    padding-inline: 20px !important;
    background-color: #14251e;
    background-image: url("brand-bamboo-rail.svg?v=0d9ed6ff9c5a"),
        url("brand-bamboo-rail.svg?v=0d9ed6ff9c5a"),
        repeating-linear-gradient(100deg, #ffd99508 0 1px, transparent 1px 4px),
        linear-gradient(105deg, #173629, #234637 22%, #172e25 49%, #1c342a 67%, #161d18 100%);
    background-position: left 2px top, right 2px top 17px, center, center;
    background-size: 15px 60px, 15px 60px, 100% 100%, 100% 100%;
    background-repeat: repeat-y, repeat-y, no-repeat, no-repeat;
}
#mobile-drawer .dw-nav-item > .dw-nav-children { position: relative; }
#mobile-drawer .dw-nav-item > .dw-nav-children::before { top: 1px; max-height: calc(100% - 2px); }
:is(#masthead, #mobile-drawer) .dw-nav-item > .dw-nav-children::before {
    content: "";
    position: absolute;
    top: -6px;
    inset-inline-start: 0;
    width: 24px;
    height: 138px;
    max-height: calc(100% + 5px);
    z-index: 1;
    background: url("brand-silk-tie.svg?v=1792036ba4e6") left top / 100% 100% no-repeat;
    pointer-events: none;
}
:is(#masthead, #mobile-drawer) .dw-nav-item > .dw-nav-children::after {
    content: "";
    position: absolute;
    inset: auto 13px 2px;
    height: 1px;
    background: linear-gradient(90deg, #88623580, #e8c482, #88623580);
    pointer-events: none;
}
:is(#masthead, #mobile-drawer) .dw-nav-item.dw-nav-open > .dw-nav-children {
    animation: dwSilkUnfurl .36s cubic-bezier(.19,.7,.28,1) both;
}
@keyframes dwSilkUnfurl {
    from { clip-path: inset(-8px 0 100% 0); opacity: .66; }
    72% { clip-path: inset(-8px 0 4% 0); opacity: .98; }
    to { clip-path: inset(-8px 0 0 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    :is(#masthead, #mobile-drawer) .dw-nav-item.dw-nav-open > .dw-nav-children {
        animation: none;
    }
}
@media (forced-colors: active) {
    :is(#masthead, #mobile-drawer) .dw-nav-item > .dw-nav-children { background-image: none; }
    :is(#masthead, #mobile-drawer) .dw-nav-item > .dw-nav-children::before,
    :is(#masthead, #mobile-drawer) .dw-nav-item > .dw-nav-children::after {
        content: none;
    }
}

/* Give the profile blade its own line under the taller, centered control. */
#masthead #site-navigation .primary-menu-container > ul > .dw-nav-profile > .dw-nav-profile-toggle,
#mobile-drawer .dw-nav-profile > .dw-nav-profile-toggle {
    min-height: 50px !important;
    justify-content: center;
}
@media (min-width: 1280px) {
    #masthead #site-navigation .primary-menu-container > ul > .dw-nav-profile {
        padding-block: 13px;
    }
}

/* Reflect one gold streak across the existing transparent brand artwork. */
#masthead .site-branding > a.brand {
    position: relative;
    --dw-sigil-mask-size: 64px;
}
#masthead .site-branding .site-title {
    position: relative;
}
#masthead .site-branding > a.brand::before,
#masthead .site-branding .site-title::before {
    content: "";
    position: absolute;
    pointer-events: none;
    background: linear-gradient(108deg, transparent 37%, #dba74b55 44%, #fff3bceb 50%, #eebf6455 56%, transparent 63%);
    background-size: 300% 100%;
    background-position: right center;
    mask-repeat: no-repeat;
}
#masthead .site-branding > a.brand::before {
    z-index: 1;
    inset: 0;
    mask-image: var(--dw-sigil-mask, url("/wp-content/uploads/worlds/assets/dw-sigil-gold-256w.webp"));
    mask-size: var(--dw-sigil-mask-size) auto;
    mask-position: left center;
}
#masthead .site-branding .site-title::before {
    inset: 0;
    mask-image: var(--dw-wordmark-mask, url("/wp-content/uploads/worlds/assets/docta-wasabi-wordmark-gold-400w.webp"));
    mask-size: contain;
    mask-position: left center;
}
@media (min-width: 1281px) {
    #masthead .site-branding > a.brand { --dw-sigil-mask-size: clamp(66px, 5.1vw, 72px); }
}
@media (max-width: 1024px) {
    #masthead .site-branding > a.brand { --dw-sigil-mask-size: 56px; }
}
@media (max-width: 767px) {
    #masthead .site-branding > a.brand { --dw-sigil-mask-size: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
    #masthead .site-branding > a.brand:focus-visible::before,
    #masthead .site-branding > a.brand:focus-visible .site-title::before {
        animation: dwBrandSweep .64s ease-out both;
    }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #masthead .site-branding > a.brand:hover::before,
    #masthead .site-branding > a.brand:hover .site-title::before {
        animation: dwBrandSweep .64s ease-out both;
    }
    #masthead .site-branding > a.brand:is(:hover,:focus-visible) .site-title::before {
        animation-delay: .14s;
    }
}
@keyframes dwBrandSweep {
    from { background-position: right center; }
    to { background-position: left center; }
}
@media (forced-colors: active) {
    #masthead .site-branding > a.brand::before,
    #masthead .site-branding .site-title::before { content: none; }
}

/* A warm edge shows the target, followed by a short gold press on activation. */
:is(#masthead,#mobile-drawer) .dw-nav-children a {
    position: relative;
    border-radius: 7px;
    transition: box-shadow .18s ease-out, background-color .18s ease-out;
}
:is(#masthead,#mobile-drawer) .dw-nav-children a::before { content: none !important; }
:is(#masthead,#mobile-drawer) .dw-nav-children a:is(:hover,:focus-visible,:active) {
    background: linear-gradient(105deg, #61482280, #322a1c55 68%, #e6bd6633);
    color: #fff0bf !important;
    text-shadow: 0 0 8px #efbd6288;
    box-shadow: inset 0 0 0 1px #e4b96191, inset 0 0 13px #d19a3e38, 0 0 9px #d3a75938;
}
:is(#masthead,#mobile-drawer) .dw-nav-children a:active {
    animation: dwSilkLinkPress .21s ease-out both;
}
@keyframes dwSilkLinkPress {
    from { box-shadow: inset 0 0 0 1px #fff1c5, inset 0 0 22px #ffe0a099, 0 0 13px #f0bf6b80; }
    to { box-shadow: inset 0 0 0 1px #e4b96191, inset 0 0 13px #d19a3e38, 0 0 9px #d3a75938; }
}
@media (prefers-reduced-motion: reduce) {
    :is(#masthead,#mobile-drawer) .dw-nav-children a { transition: none; animation: none; }
}

/* Keep the account blade and silk panel anchored to the account control, clear of Book. */
#masthead .dw-nav-item.dw-nav-profile:has(> .dw-nav-children)::after {
    width: 100%;
}
#masthead .dw-nav-item.dw-nav-profile > .dw-nav-children {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 15px !important;
}
#masthead .dw-nav-item.dw-nav-profile > .dw-nav-children a {
    overflow-wrap: anywhere;
}

/* Keep the account control, hilt and panel on a single wider column. */
@media (min-width: 1281px) {
    #masthead #site-navigation .primary-menu-container > ul > .dw-nav-profile > .dw-nav-profile-toggle {
        min-width: clamp(184px, 13.6vw, 196px);
    }
    #masthead .dw-nav-item.dw-nav-profile > .dw-nav-children {
        padding-inline: 21px 16px !important;
    }
    #masthead .dw-nav-item.dw-nav-profile > .dw-nav-children a { padding-inline: 9px !important; }
}

/* Give the highlight the same silhouette and placement as its sword. */
#masthead :is(.site-branding,.dw-nav-item) {
    --dw-katana-art: url("brand-katana.svg?v=3e82621e6497");
    --dw-katana-width: 100%;
    --dw-katana-height: 13px;
    --dw-katana-bottom: -4px;
    --dw-katana-left: 0px;
    --dw-katana-right: auto;
    --dw-katana-jewel: 23.8%;
    --dw-katana-jewel-delay: .67s;
}
#masthead .dw-nav-item:has(> .dw-nav-children) { --dw-katana-width: 218px; }
#masthead .dw-nav-item.dw-nav-profile {
    --dw-katana-width: 100%;
    --dw-katana-left: auto;
    --dw-katana-right: 0px;
}
#masthead .site-branding {
    --dw-katana-art: url("brand-home-katana.svg?v=04e513d2f17a");
    --dw-katana-height: 15px;
    --dw-katana-bottom: 1px;
    --dw-katana-jewel: 29.3%;
    --dw-katana-jewel-delay: .82s;
}
@media (min-width: 1281px) {
    #masthead .dw-nav-utility-first {
        --dw-katana-width: calc(100% - 14px);
        --dw-katana-left: 14px;
    }
}
#masthead :is(.site-branding,.dw-nav-item)::after {
    background-image: url("brand-katana-spark.svg?v=79cfa5076977"), var(--dw-katana-art);
    background-position: var(--dw-katana-jewel) center, left center;
    background-size: 0 0, 100% 100%;
    background-repeat: no-repeat;
    animation: var(--dw-katana-spark, none);
}
#masthead .site-branding::after {
    background-image: url("brand-katana-spark.svg?v=79cfa5076977"), var(--dw-katana-art);
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    #masthead :is(.site-branding,.dw-nav-item)::before {
        content: "";
        position: absolute;
        z-index: 1001;
        pointer-events: none;
        left: var(--dw-katana-left);
        right: var(--dw-katana-right);
        bottom: var(--dw-katana-bottom);
        width: var(--dw-katana-width);
        height: var(--dw-katana-height);
        background: linear-gradient(108deg, transparent 37%, #dba74b55 44%, #fff3bceb 50%, #eebf6455 56%, transparent 63%) right center / 300% 100%;
        mask: var(--dw-katana-art) left center / 100% 100% no-repeat;
        animation: var(--dw-katana-sweep, none);
    }
    #masthead :is(.site-branding,.dw-nav-item):has(:focus-visible),
    #masthead .dw-nav-item.dw-nav-open {
        --dw-katana-sweep: dwBrandSweep .64s ease-out both;
        --dw-katana-spark: dwKatanaSpark .32s var(--dw-katana-jewel-delay) ease-out both;
    }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    #masthead :is(.site-branding,.dw-nav-item):hover {
        --dw-katana-sweep: dwBrandSweep .64s ease-out both;
        --dw-katana-spark: dwKatanaSpark .32s var(--dw-katana-jewel-delay) ease-out both;
    }
}
@keyframes dwKatanaSpark {
    0%, 100% { background-size: 0 0, 100% 100%; }
    25% {
        background-size: 18px 18px, 100% 100%;
        background-position: calc(var(--dw-katana-jewel) + 4px) center, left center;
    }
    66% {
        background-size: 10px 10px, 100% 100%;
        background-position: calc(var(--dw-katana-jewel) + 2px) center, left center;
    }
}

/* Keep the original static ribbon when reduced motion is enabled. */
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    :is(#masthead,#mobile-drawer) .dw-nav-item > .dw-nav-children::before {
        background-image: url("brand-silk-breeze.svg?v=240562bdd0c4");
    }
}

/* The clasp keeps its size. Only the silk follows the panel height. */
@media (forced-colors: none) {
    #masthead .dw-nav-item.dw-nav-profile > .dw-nav-children::before,
    #mobile-drawer .dw-nav-utility:has(> a[href$="/my-account/"]) > .dw-nav-children::before {
        height: auto;
        bottom: 1px;
        max-height: none;
        background-image: url("galaxy-silk-clasp.svg?v=03f8d9a60ab5"), url("galaxy-silk-long-static.svg?v=009bf8ff8321");
        background-position: left top, left top 20px;
        background-size: 24px 25px, 24px calc(100% - 20px);
        background-repeat: no-repeat;
    }
    #mobile-drawer .dw-nav-utility:has(> a[href$="/my-account/"]) > .dw-nav-children::before { top: 1px; }
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    #masthead .dw-nav-item.dw-nav-profile > .dw-nav-children::before,
    #mobile-drawer .dw-nav-utility:has(> a[href$="/my-account/"]) > .dw-nav-children::before {
        background-image: url("galaxy-silk-clasp.svg?v=03f8d9a60ab5"), url("galaxy-silk-long.svg?v=65c25b6bc951");
    }
}
