.masthead {
    --chrome-accent:#e8b882;
    background:radial-gradient(ellipse at 6% 0,#6d51412b,transparent 56%),linear-gradient(135deg,#1d231f,#121815 63%);
    border-bottom:1px solid #6c573e;box-shadow:0 .45rem 1.4rem #09140e3d;
}
.masthead::after,.footer::before {
    content:"";position:absolute;inset:auto 0 -1px;height:1px;pointer-events:none;
    background:linear-gradient(90deg,transparent,#e7a666 18%,#e6c281 34%,#8d9c68 48%,transparent 69%);
    background-size:230% 100%;animation:chrome-light 12s ease-in-out infinite alternate;
}
.masthead::after {z-index:-1}
@keyframes chrome-light {from{background-position:88% 0;opacity:.65} to{background-position:12% 0;opacity:1}}
.masthead .bar {min-height:4.8rem;gap:clamp(.65rem,1.6vw,1.9rem)}
.masthead .brand {transition:filter .22s}
.masthead .brand:hover {filter:drop-shadow(0 0 .42rem #db785464)}
.masthead .main-nav {gap:clamp(.55rem,1.05vw,1.2rem)}
.masthead .main-nav>a,.masthead .nav-menu>summary {padding-block:.78rem;position:relative}
.masthead .nav-menu>summary::after {transition:rotate .2s}
.masthead .nav-menu[open]>summary::after {rotate:225deg}
.masthead .nav-drop {
    top:calc(100% + .42rem);background:linear-gradient(145deg,#283027,#171e19 60%);
    border-top:2px solid #b8915b;border-inline-color:#514930;box-shadow:0 .85rem 2.2rem #070c09ad;
}
.nav-branch {margin-top:.25rem;border-top:1px solid #665a4370}
.nav-drop .nav-branch-link {font-weight:700;color:#e8d0a6}
.nav-submenu-links {margin:.18rem 0 .4rem .8rem;border-left:1px solid #665a43;background:#111a1466}
.masthead .nav-highlight {
    padding-inline:.18rem;
    color:var(--link-tone);text-shadow:0 0 .8rem var(--link-glow);transition:color .18s,text-shadow .18s;
}
.masthead .nav-bosses {--link-tone:#f09a91;--link-glow:#ec493d8c}
.masthead .nav-items {--link-tone:#efc76e;--link-glow:#e9a93286}
.masthead .nav-workshop {--link-tone:#e59356;--link-glow:#e3713274}
.masthead .nav-highlight:is(:hover,:focus-visible,[aria-current]) {
    color:var(--link-tone);text-shadow:0 0 .45rem var(--link-glow),0 0 1.1rem var(--link-glow);
}
.masthead .nav-highlight[aria-current]::before {background:linear-gradient(90deg,var(--link-tone),transparent)}
.masthead .nav-beta {
    margin-left:.2rem;padding:.12rem .25rem;border:1px solid color-mix(in srgb,var(--link-tone) 55%,transparent);
    border-radius:2px;font-size:.6rem;font-weight:700;letter-spacing:.045em;vertical-align:.12em;
}
.masthead .nav-highlight:is(:hover,:focus-visible)>span {
    display:inline-block;color:transparent;
    background:linear-gradient(110deg,var(--link-tone) 36%,#fff 47%,#fff 53%,var(--link-tone) 64%) 100% 0 / 320% 100% no-repeat;
    background-clip:text;
    animation:nav-swipe .65s ease-out;
}
.masthead .nav-highlight:hover>span {animation:nav-swipe 1.5s ease-out infinite}
@keyframes nav-swipe {
    0% {background-position:100% 0}
    46%,100% {background-position:0 0}
}
.masthead .shop-link::after {
    content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
    background:linear-gradient(110deg,transparent 16%,var(--link-glow) 49%,transparent 80%);
    transform:translateX(-115%);opacity:0;
}
.masthead .bar-actions {gap:.42rem;flex:none}
.masthead .bar-actions :is(.account-link,.shop-link,.header-cart) {
    display:inline-flex;align-items:center;justify-content:center;gap:.35rem;text-decoration:none;white-space:nowrap;
    min-height:2.37rem;padding:.32rem .68rem;border:1px solid #555746;border-radius:2px;
    background:#232a22;color:#e9e3d4;font-size:.89rem;font-weight:600;
    transition:border-color .2s,background-color .2s,color .2s,box-shadow .2s;
}
.masthead .bar-actions .account-link {background:#191f1a}
.masthead .bar-actions .header-cart {background:linear-gradient(145deg,#54422d,#302c22);color:#f5d29a;border-color:#9b7850}
.masthead .bar-actions :is(.account-link,.shop-link,.header-cart):is(:hover,:focus-visible,[aria-current]) {
    background:#443725;color:#ffe5b4;border-color:#bc9362;box-shadow:0 0 .85rem #e0a06029;
}
.masthead .bar-actions .shop-link {
    --link-glow:#ffdc858f;
    position:relative;isolation:isolate;overflow:hidden;
    color:#fff0bd;background:linear-gradient(145deg,#694a22,#362917);
    border-color:#c49c50;box-shadow:inset 0 0 .65rem #f7bd4c33,0 0 .8rem #eaae3a55;
    text-shadow:0 0 .55rem #ffc9669f;
}
.masthead .bar-actions .shop-link:is(:hover,:focus-visible,[aria-current]) {
    color:#fff5d5;background:linear-gradient(145deg,#866127,#493318);
    border-color:#efcf89;box-shadow:inset 0 0 .7rem #ffce6c50,0 0 1rem #ffbc565f;
}
.masthead .shop-link::after {animation:shop-gold-swipe 6s ease-in-out infinite}
@keyframes shop-gold-swipe {
    0%,64% {transform:translateX(-115%);opacity:0}
    76% {opacity:.8}
    91%,100% {transform:translateX(115%);opacity:0}
}
.header-cart svg {flex:none}
.header-cart-count {
    display:grid;place-items:center;min-width:1.2rem;height:1.2rem;padding:0 .21rem;border-radius:1rem;
    color:#281c10;background:#e9b77a;font-size:.72rem;line-height:1;font-variant-numeric:tabular-nums;
}
.masthead .search-control {box-shadow:0 2px 7px #0a120b5e}
.masthead .search-control input {background:#111916}
.masthead .search-control button {background:#293228}
.masthead .search-control:focus-within {box-shadow:0 0 .72rem #a6c6a027}
.footer {
    position:relative;isolation:isolate;padding-block:clamp(1.7rem,4.2vw,3.8rem) 1rem;
    background:linear-gradient(100deg,#161e17ee 10%,#141c16fa 65%),url("hero.webp") center 47%/cover;
    border-top-color:#75583d;
}
.footer::before {inset:-1px 0 auto}
.footer .footer-grid {gap:2rem}
.footer .footer-brand .brand {width:min(100%,11.5rem);margin-bottom:.45rem}
.footer .footer-brand p {font-size:clamp(1rem,1.6vw,1.19rem);color:#d0d4c4;margin-bottom:.65rem}
.footer .footer-discord {
    display:inline-block;padding:.36rem .6rem;border:1px solid #685644;background:#252b21;
    color:#e8d0a4;text-decoration:none;transition:background-color .2s,border-color .2s;
}
.footer .footer-discord:hover {background:#3e3429;border-color:#a1845b}
.footer .footer-grid nav {
    gap:1rem clamp(1rem,4vw,3.5rem);border-left:1px solid #6660498a;padding-left:clamp(.8rem,3vw,2.8rem);
}
.footer .footer-grid nav>div {gap:.37rem}
.footer .footer-grid nav h2 {color:#edc28c}
.footer-tail {display:flex;justify-content:flex-end;border-top:1px solid #6660497d;margin-top:1.5rem;padding-top:.65rem}
.footer-tail:has(.footer-payment) {justify-content:space-between;flex-wrap:wrap;gap:.65rem 1.25rem}
.footer-payment {display:flex;flex-wrap:wrap;gap:.35rem 1rem}
.footer-payment-disclosure {flex-basis:100%;margin:0;color:#b9b8a5;font-size:.8rem;line-height:1.45}
.footer-tail .footer-payment-disclosure a {color:inherit;font-size:inherit;text-decoration:underline;text-underline-offset:.14em}
.footer-tail a {font-size:.88rem;text-decoration:none;color:#dac8aa}
.footer-tail a span {display:inline-block;margin-left:.23rem;transition:transform .2s}
.footer-tail a:hover span {transform:translateY(-.16rem)}
@media(max-width:1220px) {
    .masthead .bar {row-gap:.38rem}
}
@media(max-width:900px) {
    .masthead .bar {min-height:0;gap:.46rem}
    .masthead .main-nav {gap:0}
    .masthead .main-nav>a,.masthead .nav-menu>summary {padding:.55rem .35rem}
    .masthead .nav-drop {box-shadow:none}
}
@media(max-width:760px) {
    .masthead .bar-actions :is(.account-link,.shop-link,.header-cart) {min-height:2.18rem;padding:.27rem .42rem;font-size:.82rem}
    .masthead .header-cart-label {display:none}
    .footer .footer-grid {gap:1.35rem}
    .footer .footer-grid nav {border-left:0;border-top:1px solid #6660497d;padding:1rem 0 0}
}
@media(max-width:380px) {
    .masthead .bar {display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.36rem}
    .masthead .brand {width:min(100%,86px);grid-column:1;grid-row:1}
    .masthead[data-navigation-ready] .menu-toggle {grid-column:2;grid-row:1;padding:.3rem .38rem;font-size:.79rem}
    .masthead .bar-actions {grid-column:3;grid-row:1}
    .masthead .site-search {grid-column:1/-1;grid-row:2}
    .masthead .main-nav {grid-column:1/-1;grid-row:3}
    .masthead .bar-actions {gap:.25rem}
    .masthead .bar-actions :is(.account-link,.shop-link,.header-cart) {padding-inline:.32rem}
    .masthead .bar-actions .header-cart {gap:.22rem}
}
