/* Homepage navigation contract. Scoped to resist page-specific element styles. */
html { scroll-padding-top: 80px; }
body.searching #show-concepts { display: none; }
#siteHeader, #siteHeader * { box-sizing: border-box; }
#siteHeader { position: sticky; top: 0; z-index: 60; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 26px; width: 100%; height: 64px; min-height: 64px; margin: 0; padding: 0 36px; border: 0; background: #08080cf2; backdrop-filter: blur(6px); color: #f5f5f7; font: 600 13px/1.4 Inter, system-ui, sans-serif; letter-spacing: normal; }
#siteHeader a { text-decoration: none; }
#siteHeader .brand { display: block; flex-shrink: 0; margin: 0; padding: 0; border: 0; background: none; color: #f6121d; font: 400 26px/1 'Bebas Neue', sans-serif; letter-spacing: .06em; white-space: nowrap; }
#siteHeader .nav { display: flex; position: static; inset: auto; max-height: none; overflow: visible; box-shadow: none; flex-direction: row; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; border: 0; background: none; }
#siteHeader .nav > a { display: block; padding: 8px 12px; margin: 0; color: #a6a6af; border: 0; border-radius: 4px; font: inherit; letter-spacing: .02em; white-space: nowrap; }
#siteHeader .nav > a:hover, #siteHeader .nav > a[aria-current="page"] { color: #fff; background: #ffffff0d; }
#siteHeader button { display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: 0; color: #f5f5f7; background: none; font: inherit; cursor: pointer; box-shadow: none; }
#siteHeader :is(button,a,input):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
#siteHeader .signin { display: flex !important; flex-shrink: 0; margin: 0; }
#siteHeader .signin__btn { min-height: 36px; padding: 8px 18px; background: #e50914; border-radius: 8px; white-space: nowrap; font-weight: 700; }
#siteHeader .signin__btn:hover { background: #f6121d; }
#siteHeader .nav-toggle { display: none; width: 40px; height: 40px; font-size: 24px; flex-shrink: 0; }
#siteHeader .search { position: static; display: flex; width: auto; margin: 0; padding: 0; border: 0; background: none; }
#siteHeader .search__btn { width: 40px; height: 40px; flex-shrink: 0; }
#siteHeader #siteSearchPanel { display: none; position: absolute; top: 64px; left: 0; right: 0; align-items: center; gap: 12px; padding: 16px 36px; background: #08080c; border-bottom: 1px solid #ffffff26; }
#siteHeader .search.is-open #siteSearchPanel { display: flex; }
#siteHeader #siteSearchPanel { flex-direction: column; align-items: stretch; }
#siteHeader .site-search__field { display: flex; align-items: center; gap: 12px; width: 100%; }
#siteHeader .site-search__recommendations { min-width: 0; }
#siteHeader #siteSearchHeading { margin: 0 0 10px; color: #f5f5f7; font: 700 16px/1.4 Inter, system-ui, sans-serif; }
#siteHeader #siteSearchFeedback { margin: 0 0 10px; color: #a6a6af; font: 400 13px/1.5 Inter, system-ui, sans-serif; }
#siteHeader #siteSearchFeedback:empty { display: none; }
#siteHeader .site-search__cards { display: flex; gap: 12px; overflow-x: auto; padding: 5px 4px 12px; margin: -4px; list-style: none; scroll-snap-type: x proximity; }
#siteHeader .site-search__cards li { flex: 0 0 180px; min-width: 0; scroll-snap-align: start; }
#siteHeader .site-search__card { display: block; overflow: hidden; border: 1px solid #ffffff26; border-radius: 7px; background: #141418; color: #f5f5f7; }
#siteHeader .site-search__card:hover { border-color: #f6121d; background: #1b1b22; }
#siteHeader .site-search__art { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #252530; }
#siteHeader .site-search__art--pending { display: grid; place-items: center; color: #a6a6af; font-size: 12px; }
#siteHeader .site-search__title { display: block; padding: 10px 10px 4px; font: 700 14px/1.4 Inter, system-ui, sans-serif; overflow-wrap: anywhere; }
#siteHeader .site-search__type { display: block; padding: 0 10px 10px; color: #a6a6af; font: 400 12px/1.4 Inter, system-ui, sans-serif; }
#siteHeader .search__input { display: block; opacity: 1; width: 100%; max-width: none; min-width: 0; height: 44px; margin: 0; padding: 10px 14px; border: 1px solid #666; border-radius: 3px; background: #141418; color: white; font: 400 16px/1.4 Inter, system-ui, sans-serif; pointer-events: auto; }
#siteHeader .search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
#siteHeader .search__clear { display: inline-flex; width: 40px; height: 44px; flex-shrink: 0; opacity: 1; position: static; }
#siteHeader .account { display: none; flex-shrink: 0; position: relative; margin: 0; }
body.logged-in #siteHeader .account { display: block; }
body.logged-in #siteHeader .signin { display: none !important; }
#siteHeader:is([data-account-state="checking"],[data-account-state="unavailable"]) .account { display: block; }
#siteHeader:is([data-account-state="checking"],[data-account-state="unavailable"]) .signin { display: none !important; }
#siteHeader:is([data-account-state="checking"],[data-account-state="unavailable"]) .account__btn { min-width: 44px; min-height: 44px; }
#siteHeader:is([data-account-state="checking"],[data-account-state="unavailable"]) .account__avatar { font-size: 24px; }
#siteHeader .account__btn { gap: 8px; min-height: 40px; }
#siteHeader #accountName { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#siteHeader .account__avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: #e50914; }
#siteHeader .account__avatar img { width: 100%; height: 100%; object-fit: cover; }
#siteHeader .account__menu { display: none; position: absolute; right: 0; top: calc(100% + 12px); min-width: 220px; max-width: calc(100vw - 32px); padding: 12px; border: 1px solid #ffffff26; border-radius: 3px; background: #131318; box-shadow: 0 12px 36px #0008; }
#siteHeader .account__menu.is-open { display: block; }
#siteHeader .account__menu p { margin: 0 0 10px; padding: 0; color: #a6a6af; font: inherit; overflow-wrap: anywhere; }
#siteHeader .account__menu :is(button,a) { display: block; width: 100%; box-sizing: border-box; padding: 10px 8px; text-align: left; border-radius: 3px; color: inherit; font: inherit; }
#siteHeader .account__menu :is(button,a):hover { background: #ffffff12; }
#siteHeader [hidden] { display: none !important; }
#siteHeader .site-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body[data-site-page="war-drawing"] > .app { height: calc(100dvh - 64px); min-height: 0; }
@media (max-width: 1000px) and (min-width: 861px) { #siteHeader { gap: 16px; padding-inline: 24px; } #siteHeader .nav > a { padding-inline: 8px; } }
@media (max-width: 860px) {
  #siteHeader { gap: 10px; padding: 0 16px; }
  #siteHeader .brand { margin-right: auto; font-size: 24px; }
  #siteHeader .nav-toggle { display: inline-flex; }
  #siteHeader .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; margin: 0; padding: 16px; max-height: calc(100dvh - 64px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 4px; background: #08080c; border-bottom: 1px solid #ffffff26; }
  #siteHeader .nav.is-open { display: flex; }
  #siteHeader .nav > a { padding: 13px 12px; font-size: 15px; }
  #siteHeader .search__btn { display: none; }
  #siteHeader #siteSearchPanel { display: flex; position: static; width: 100%; padding: 0 0 12px; border: 0; background: none; }
  #siteHeader .search__clear { display: inline-flex; width: 36px; }
  #siteHeader .site-search__field { gap: 8px; }
  #siteHeader .site-search__cards li { flex-basis: 150px; }
  #siteHeader .signin__btn { padding: 8px 12px; }
  #siteHeader #accountName { display: none; }
}
@media (max-width: 360px) { #siteHeader { padding-inline: 10px; gap: 6px; } #siteHeader .brand { font-size: 21px; } }
