/* Shared navigation; native disclosures and the existing local page finder. */
.yc-header,.yn-dialog{--ys-bg:#faf8f2;--ys-ink:#263a30;--ys-line:#deded3;--ys-soft:#efeee5;--ys-muted:#626c61;--ys-accent:#345b46;--ys-serif:Georgia,'Times New Roman',serif}
html[data-theme=dark] .yc-header,html[data-theme=dark] .yn-dialog{--ys-bg:#1b251f;--ys-ink:#edece2;--ys-line:#3b473e;--ys-soft:#2b382e;--ys-muted:#b5bdae;--ys-accent:#c6d8b8}
html body .yc-header{background:var(--ys-bg)!important;color:var(--ys-ink)!important;border-bottom:1px solid var(--ys-line)!important;box-shadow:none}
html body .yc-header .yn-bar{max-width:1720px;width:calc(100% - 64px);min-height:80px;gap:24px;flex-wrap:nowrap}
html body .yc-header .yn-brand{font-family:var(--ys-serif)!important;font-size:28px!important;font-weight:600;letter-spacing:-1.1px;gap:10px;line-height:1;flex:none}html body .yc-header .yn-brand>span:last-child{font-family:inherit!important}.yc-header .yn-wing{width:29px;height:27px}
.yc-header #yn-nav-slot{margin-left:auto;margin-right:auto;flex:none}html body .yc-header .yn-primary{gap:4px;list-style:none}
html body .yc-header .yn-top-link,html body .yc-header .yn-disclosure>summary{min-height:44px;padding:11px 14px;font:500 13px/1.4 'Inter',sans-serif;letter-spacing:0;border:0;border-radius:9px;gap:8px;color:inherit;white-space:nowrap;transition:background .16s,color .16s}
.yc-header .yn-top-link>svg{display:block;width:18px;height:18px;opacity:.75}.yc-header .yn-top-link[data-yc-place=journal]{margin-right:10px}
html body .yc-header .yn-top-link[aria-current=page]{background:#2f4d3b;color:#fffdf5!important;box-shadow:none;font-weight:600}html body .yc-header .yn-top-link[aria-current=page]:after{display:none}.yc-header .yn-top-link[aria-current=page] svg{opacity:1}
html body .yc-header .yn-top-link:hover,html body .yc-header .yn-disclosure>summary:hover{background:var(--ys-soft)}html body .yc-header .yn-top-link[aria-current=page]:hover{background:#395d48}
html body .yc-header .yn-actions{gap:8px;flex:none;margin-left:0}.yc-header .yn-icon{color:inherit;border:0;background:transparent;min-width:40px;width:40px;height:44px;border-radius:9px}
html body .yc-header .yc-search-trigger{display:flex;align-items:center;width:auto;min-width:160px;gap:10px;padding:0 11px;border:1px solid var(--ys-line);height:40px;border-radius:8px;background:var(--ys-bg)}
.yc-search-trigger svg{width:17px;height:17px}.yc-search-label{font:400 12px/1.4 'Inter',sans-serif;color:var(--ys-muted)}.yc-search-trigger kbd{font:400 10px/1.2 'Inter',sans-serif;margin-left:6px;color:var(--ys-muted);border:0;background:var(--ys-soft);border-radius:3px;padding:3px}
html body .yc-header .yn-account>summary{height:40px;width:40px;min-height:40px;display:grid;place-items:center;padding:8px;border:1px solid var(--ys-line);border-radius:50%;background:var(--ys-soft)}.yc-header .yn-account>summary svg{width:20px;height:20px}.yc-header .yn-login{font-size:12px;padding:10px 4px 10px 12px;white-space:nowrap}.yc-header .yn-mobile-toggle{display:none}
html body .yc-header .yn-panel{background:var(--ys-bg);color:var(--ys-ink);border:1px solid var(--ys-line);border-radius:0 0 16px 16px;top:calc(100% + 1px);box-shadow:0 18px 36px rgba(0,0,0,.12);max-height:calc(100dvh - 102px)}
.yc-browse-heading{display:flex;align-items:center;justify-content:space-between;padding:27px 34px 20px;border-bottom:1px solid var(--ys-line)}html body .yc-browse-heading h2{font:400 30px/1.15 var(--ys-serif)!important;letter-spacing:-.5px;margin:0!important}.yc-browse-heading>a{display:flex;gap:10px;align-items:center;font-size:12px}.yc-browse-heading>a svg{width:16px;height:16px;transform:rotate(-90deg)}
html body .yc-header .yc-place-grid{display:grid;grid-template-columns:1fr 1fr 1.1fr 1fr;gap:30px;padding:26px 34px 22px}html body .yn-column h2{font:600 11px/1.4 'Inter',sans-serif!important;letter-spacing:.045em;text-transform:uppercase;color:var(--ys-muted);margin:0 0 12px!important}
html body .yc-header .yn-item{min-height:38px;padding:8px 9px;margin:0 -9px;border-radius:6px;text-decoration:none}.yc-header .yn-item-title{font-size:13px;font-weight:500}.yc-header .yn-item-description{font-size:11px;line-height:1.45;color:var(--ys-muted);max-width:240px;margin-top:2px}.yc-your-shelf{border-left:1px solid var(--ys-line);padding-left:25px}
html body .yc-header .yn-panel-footer{padding:16px 34px;font-size:11px;gap:18px}.yc-view-setting{display:flex;align-items:center;gap:12px;color:var(--ys-muted);margin-left:auto}.yc-view-setting>[data-yc-view-slot]{min-width:122px}
html body .yc-header .ym-experience-switch{display:flex;margin:0;padding:3px;border:1px solid var(--ys-line);border-radius:7px;background:transparent;box-shadow:none}html body .yc-header .ym-experience-switch a{min-height:29px;padding:5px 9px;font-size:10px;border-radius:4px}.yc-header .ym-experience-switch svg{display:none}
html body .yc-header .ym-experience-switch a[aria-current=true],html body .yc-header .ym-experience-switch a[aria-pressed=true]{background:#2f4d3b!important;color:#fffdf5!important}html body .yc-header .ym-experience-switch a[aria-current=true] span{color:#fffdf5!important;-webkit-text-fill-color:#fffdf5!important}
html body .yc-header .yn-account-panel{width:264px;left:auto;right:0;padding:22px 25px;max-height:calc(100dvh - 100px);border-radius:12px}html body #yn-header a{text-decoration:none!important}.yn-header :focus-visible,.yn-dialog :focus-visible,.yc-mobile-dock :focus-visible{outline:2px solid var(--ys-accent,#345b46);outline-offset:3px}
.yc-mobile-dock{display:none}.yc-frame #yn-header,.yc-frame #yn-scrim,.yc-frame .yc-mobile-dock,.yc-frame .ym-experience-dock,.yc-frame .world-subnav,.yc-frame #yc-player{display:none!important}.yc-frame body{padding-top:0!important}.yc-frame .ww-map-launch{bottom:24px!important}
html body dialog#yn-mobile,html body dialog#yn-search{background:var(--ys-bg)!important;color:var(--ys-ink)!important;opacity:1!important;backdrop-filter:none!important}.yn-search-dialog{border-radius:16px}.yn-search-results .yn-item{border-bottom:1px solid var(--ys-line);border-radius:0;padding:14px 12px}.yn-search-results .yn-item:hover{border-radius:7px}.yn-search-dialog .yn-dialog-heading h2{font-family:var(--ys-serif)!important;font-weight:400!important}
@media(min-width:1121px) and (max-width:1380px){html body .yc-header .yn-bar{width:calc(100% - 40px);gap:16px}html body .yc-header .yn-top-link,html body .yc-header .yn-disclosure>summary{padding:10px}.yc-header .yn-top-link>svg{display:none}.yc-header .yn-top-link[data-yc-place=journal]{margin-right:3px}.yc-header .yn-theme{display:inline-flex}html body .yc-header .yc-search-trigger{min-width:44px;width:44px;padding:10px}.yc-header .yc-search-trigger .yc-search-label,.yc-header .yc-search-trigger kbd{display:none!important}}
@media(max-width:1120px){
 html body .yc-header .yn-bar{min-height:66px;width:calc(100% - 36px);gap:12px}.yc-header .yn-brand{font-size:26px!important}.yc-header .yn-theme{display:none}html body .yc-header .yn-actions{margin-left:auto;gap:8px}html body .yc-header .yc-search-trigger{border:0;background:none;min-width:40px;width:40px;padding:10px}.yc-search-trigger .yc-search-label,.yc-search-trigger kbd{display:none}.yc-header.yn-enhanced .yn-mobile-toggle{display:inline-flex}
 .yc-mobile-dock{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:12001!important;background:var(--ym-bg-1,#faf8f2);color:var(--ym-text-1,#263a30);border-top:1px solid var(--ym-border,#deded3);padding:5px 12px calc(7px + env(safe-area-inset-bottom));min-height:68px}.yc-mobile-dock a,.yc-mobile-dock button{border:0;background:none;color:inherit;font:500 10px/1.3 'Inter',sans-serif;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;border-radius:9px;text-decoration:none;padding:4px}.yc-mobile-dock svg{width:21px;height:21px}.yc-mobile-dock [aria-current=page]{color:#2f4d3b;background:#e9eddf;font-weight:650}.yc-mobile-dock [aria-current=page] svg{stroke-width:2}body:has(.yc-mobile-dock){padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
 html body dialog#yn-mobile{width:min(560px,100vw)}html body dialog#yn-mobile .yn-dialog-heading{background:var(--ys-bg)!important;padding:21px 22px}.yc-mobile .yn-dialog-heading h2{font-family:var(--ys-serif)!important;font-size:30px!important;font-weight:400!important}html body dialog#yn-mobile #yn-navigation{margin:0!important;padding:0 22px!important;width:100%!important;box-sizing:border-box}
 html body dialog#yn-mobile .yn-primary{display:grid!important;grid-template-columns:1fr 1fr;gap:9px!important;margin:0!important;padding:0!important;width:100%!important;list-style:none!important}html body dialog#yn-mobile .yn-primary>li{margin:0!important;padding:0!important;min-width:0;list-style:none!important;border:0}html body dialog#yn-mobile .yn-primary>li:last-child{grid-column:1/-1;margin-top:12px!important;border-top:1px solid var(--ys-line)}
 html body dialog#yn-mobile .yn-top-link{display:flex;min-height:56px;background:var(--ys-soft);border:1px solid var(--ys-line);padding:12px 14px!important;border-radius:9px;font:500 14px/1.3 'Inter',sans-serif;letter-spacing:0;gap:10px}.yc-mobile .yn-top-link>svg{width:20px;height:20px}.yc-mobile .yn-top-link[aria-current=page]{background:#2f4d3b!important;color:#fffdf5!important;border-color:#2f4d3b!important}.yc-mobile .yn-disclosure>summary{font:500 16px/1.3 'Inter',sans-serif!important;padding:19px 0!important;letter-spacing:0!important}.yc-mobile .yc-browse-heading{display:none}
 .yc-mobile .yn-panel-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:24px 20px!important;padding:2px 0 24px!important}.yc-mobile .yn-column{margin:0}.yc-mobile .yn-item{padding:9px 0!important;margin:0!important;min-height:40px!important}.yc-mobile .yn-item-description{display:none}.yc-mobile .yn-item-title{font-size:13px;line-height:1.4}.yc-mobile .yn-item-arrow{display:none}.yc-mobile .yc-your-shelf{padding-left:0;border:0}.yc-mobile .yn-panel-footer{flex-wrap:wrap;padding:16px 0 24px!important;gap:20px}.yc-mobile .yc-view-setting{margin-left:0;order:3;width:100%;justify-content:space-between}.yc-mobile .yn-panel-footer>span{gap:20px}.yc-mobile .ym-experience-switch{display:flex!important;margin:0!important}.yc-mobile .ym-experience-switch a{padding:5px 12px;min-height:32px;font-size:11px}.yc-mobile .ym-experience-switch svg{display:none}.yc-mobile .yn-mobile-account{padding:24px 26px}.yc-mobile .yn-mobile-account .yn-item{min-height:44px;padding:10px 0}.yc-mobile .yn-mobile-account ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}
 html[data-theme=dark] .yc-mobile-dock{background:#1b251f;color:#edece2;border-color:#3b473e}html[data-theme=dark] .yc-mobile-dock [aria-current=page]{background:#334734;color:#e0edd5}
}
html body.yc-has-player .sos-fab{bottom:145px!important}@media(max-width:1120px){html body:has(.yc-mobile-dock) .sos-fab{bottom:94px!important}html body.yc-has-player:has(.yc-mobile-dock) .sos-fab{bottom:174px!important}}
@media(prefers-reduced-motion:reduce){.yc-header *,.yc-mobile *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* These surfaces share pages with older heading and link themes. */
html[data-ym-world] body.ym-world header#yn-header.yc-header .yn-column h2,html[data-ym-world] body.ym-world dialog#yn-mobile .yn-column h2{font:600 11px/1.4 'Inter',sans-serif!important;letter-spacing:.045em!important;color:var(--ys-muted)!important;margin:0 0 12px!important}
html[data-ym-world] body.ym-world header#yn-header.yc-header .yc-browse-heading h2{font:400 30px/1.15 Georgia,serif!important;letter-spacing:-.5px!important}
html[data-ym-world] body.ym-world header#yn-header.yc-header a.yn-top-link[aria-current=page],html[data-ym-world] body.ym-world dialog#yn-mobile a.yn-top-link[aria-current=page]{color:#fffdf5!important;-webkit-text-fill-color:#fffdf5!important}
html[data-ym-world] body.ym-world header#yn-header.yc-header a.yn-top-link[aria-current=page] *,html[data-ym-world] body.ym-world dialog#yn-mobile a.yn-top-link[aria-current=page] *{color:#fffdf5!important;-webkit-text-fill-color:#fffdf5!important}
html body header#yn-header .yc-search-trigger kbd{display:block!important}
@media(min-width:1121px){#yn-navigation .yc-mobile-primary{display:none}}
@media(max-width:1120px){html body header#yn-header #yn-search-open.yc-search-trigger{display:inline-flex!important}html body header#yn-header .yc-search-trigger kbd{display:none!important}html body dialog#yn-mobile #yn-mobile-title{font:400 30px/1.15 Georgia,serif!important}#yn-navigation .yc-mobile-primary{display:list-item}}
/* Join the site's existing priority layer for component-sized labels. */
@layer ymWholeWorld.foundation{
 html[data-ym-unified] body header#yn-header.yc-header{background:var(--site-panel,#faf8f2)!important}
 html[data-ym-unified] body header#yn-header.yc-header .yn-bar{flex-wrap:nowrap!important;padding-top:0!important;padding-bottom:0!important}
 html[data-ym-unified] body header#yn-header.yc-header .yn-column h2,html[data-ym-unified] body dialog#yn-mobile .yn-column h2{font:600 11px/1.4 'Inter',sans-serif!important;letter-spacing:.045em!important;color:var(--ys-muted)!important;margin:0 0 12px!important}
 html[data-ym-unified] body header#yn-header.yc-header .yc-browse-heading h2,html[data-ym-unified] body dialog#yn-mobile #yn-mobile-title{font:400 30px/1.15 Georgia,serif!important;letter-spacing:-.5px!important}
 html[data-ym-unified] body header#yn-header.yc-header a.yn-top-link[aria-current=page],html[data-ym-unified] body dialog#yn-mobile a.yn-top-link[aria-current=page]{color:#fffdf5!important;-webkit-text-fill-color:#fffdf5!important}
}
@media(max-width:1120px){html.yn-modal-open{scrollbar-gutter:auto}html body dialog#yn-mobile #yn-explore-panel{max-height:none!important;height:auto!important;overflow:visible!important}}
/* Menus must stay above the persistent content frame and their own scrim. */
html body header#yn-header.yc-header{z-index:12002!important;position:sticky!important}
html body.yc-shell-active header#yn-header.yc-header{position:fixed!important;top:0;left:0;right:0}
html body #yn-scrim{z-index:12001!important}

/* Keep the desktop theme switch by using a compact search button. */
@media(min-width:1121px) and (max-width:1380px){html body header#yn-header .yc-search-trigger kbd{display:none!important}}

/* Account and navigation controls own their shape, including on pages whose
   primary-action layer styles every submit button. */
@layer ymWholeWorld.foundation {
 html body header#yn-header .yn-account>summary svg{transform:none!important}
 html body header#yn-header .yn-account-panel{box-sizing:border-box;width:288px!important;max-width:calc(100vw - 32px);padding:10px!important;border-radius:12px!important;scroll-padding:12px;max-height:calc(100dvh - 100px);overflow:auto;overscroll-behavior:contain}
 html body header#yn-header .yn-account-heading{margin:0!important;padding:10px 12px 9px!important;font:600 12px/1.4 var(--ym-font,'Inter'),Arial,sans-serif!important;color:var(--ys-muted)!important}
 html body header#yn-header .yn-account-panel .yn-item{box-sizing:border-box;display:flex;align-items:center;min-height:44px!important;padding:10px 12px!important;margin:0!important;border-radius:7px!important;font:500 13px/1.4 var(--ym-font,'Inter'),Arial,sans-serif!important;scroll-margin:10px}
 html body header#yn-header .yn-account-panel .yn-item-title{font:inherit!important;overflow-wrap:anywhere}
 html body :is(header#yn-header,dialog#yn-mobile) .yn-signout{margin:8px 0 0!important;padding:8px 0 0!important;border-top:1px solid var(--ys-line)!important}
 html body :is(header#yn-header,dialog#yn-mobile) .yn-signout button{appearance:none;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start!important;gap:10px!important;width:100%;min-height:44px!important;margin:0!important;padding:10px 12px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:var(--ys-ink)!important;font:500 13px/1.4 var(--ym-font,'Inter'),Arial,sans-serif!important;text-align:left;box-shadow:none!important;cursor:pointer}
 html body :is(header#yn-header,dialog#yn-mobile) .yn-signout button svg{width:18px!important;height:18px!important;flex:none}
 html body :is(header#yn-header,dialog#yn-mobile) .yn-signout button:hover{background:var(--ys-soft)!important;color:var(--ys-ink)!important;filter:none!important;border-color:transparent!important}
 html body :is(header#yn-header,dialog#yn-mobile) .yn-signout button:focus-visible{outline-offset:-3px!important}
 html body header#yn-header .yn-account-panel .yn-item:hover{background:var(--ys-soft)!important}
 html body header#yn-header .yn-account-panel .yn-item:focus-visible{outline-offset:-3px!important}
 html body dialog#yn-mobile .yn-mobile-account{padding:20px 22px calc(22px + env(safe-area-inset-bottom))!important}
 html body dialog#yn-mobile .yn-mobile-account h3{font:600 12px/1.4 var(--ym-font,'Inter'),Arial,sans-serif!important;letter-spacing:0!important;color:var(--ys-muted)!important;margin:0 0 10px!important}
 html body dialog#yn-mobile .yn-mobile-theme{width:100%;min-height:44px!important;gap:10px!important;padding:10px 12px!important;border:1px solid var(--ys-line)!important;border-radius:7px!important;background:var(--ys-soft)!important;color:var(--ys-ink)!important;text-align:left;margin-top:8px}
}

/* Bound dialog headings when page-specific flex rules are present. */
@layer ymWholeWorld.foundation {
 html body dialog#yn-search > .yn-dialog-heading{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 html body dialog#yn-search > .yn-dialog-heading h2{min-width:0!important;overflow-wrap:anywhere}
 @media(max-width:380px){
  html body header#yn-header:has(.lw-house-settings) .yn-bar{width:calc(100% - 20px)!important;gap:6px!important}
  html body header#yn-header:has(.lw-house-settings) .yn-brand{font-size:20px!important;gap:5px!important}
  html body header#yn-header:has(.lw-house-settings) .yn-wing{width:18px!important;height:20px!important;flex-shrink:0}
  html body header#yn-header:has(.lw-house-settings) .yn-actions{gap:4px!important}
  html body header#yn-header .ww-places-button{font-size:12px!important;padding-inline:8px!important;min-width:0!important}
 }
}

@layer ymWholeWorld.foundation { @media(max-width:340px){ html body header#yn-header:has(.lw-house-settings) .yn-wing{display:none!important} } }
