/* Original blackfencer.com charcoal styling, shared by the five palettes. */
.weapon-choice{position:relative;min-width:0;isolation:isolate;text-align:center}
.weapon-choice.is-open{z-index:12;isolation:auto}
.weapon-card{position:relative;width:100%;background:#111;border:1px solid #343434;box-shadow:0 4px 14px #0000002e;overflow:hidden;transition:border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease}
.weapon-choice.is-open .weapon-card{border-color:#9b7a39;box-shadow:0 9px 24px #00000057;transform:translateY(-2px)}
.weapon-card .weapon-trigger{display:block;width:100%;padding:0;text-align:center;line-height:inherit;background:transparent;color:inherit;border:0}
.weapon-card .weapon-trigger:focus-visible{outline:2px solid #c49a47;outline-offset:-3px}
.weapon-card:focus-within{outline:2px solid #c49a47;outline-offset:2px}
.weapon-card .weapon-picture,.weapon-section .weapon-card .weapon-picture,[data-tone=oliva] .weapon-section .weapon-card .weapon-picture{display:block;position:relative;width:100%;margin:0;aspect-ratio:4/3;min-height:106px;overflow:hidden;background:#f4f4f4;border:0}
.weapon-card .weapon-picture img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center;mix-blend-mode:normal;transform:none;transition:transform 300ms ease,filter 300ms ease}
.weapon-choice.is-open .weapon-picture img{transform:scale(1.035)}
.weapon-shade{position:absolute;inset:0;background:linear-gradient(to top,#000000d6 0%,#0000002e 58%,#00000005 100%);pointer-events:none}
.weapon-card .weapon-trigger .weapon-name,#category-dialog .weapon-card .weapon-trigger .weapon-name{position:absolute;right:8px;bottom:18px;left:8px;z-index:1;display:block;margin:0;padding:0;color:#fff;font:700 .85rem/1.15 Georgia,"Times New Roman",serif;text-align:center;text-shadow:0 2px 4px #000000e6,0 0 1px #000;text-transform:uppercase;overflow-wrap:normal;text-wrap:balance;transition:transform 250ms ease}
.weapon-choice.is-open .weapon-name{transform:translateY(-34px)}
.weapon-chevron{position:absolute;left:50%;bottom:7px;z-index:2;display:block;width:7px;height:7px;margin-left:-4px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);filter:drop-shadow(0 1px 1px #000);transition:opacity 250ms ease,transform 250ms ease}
.weapon-choice.is-open .weapon-chevron{opacity:0;transform:rotate(225deg)}
.weapon-card .category-materials{position:absolute;inset:0;width:100%;min-width:0;min-height:0;aspect-ratio:auto;transform:none;margin:0;padding:6px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#000000d1;opacity:0;visibility:hidden;pointer-events:none;z-index:3;box-shadow:none;transition:opacity 250ms ease,visibility 0s linear 250ms}
.weapon-choice:hover .category-materials,.weapon-choice:focus-within .category-materials{opacity:0;visibility:hidden;pointer-events:none}
.weapon-choice.is-open .category-materials{opacity:1;visibility:visible;pointer-events:auto;transition:opacity 250ms ease,visibility 0s}
.weapon-card .category-materials>a,.weapon-card .category-materials>button,.weapon-card .category-materials>.steel{width:78%;min-height:44px;flex:0 0 auto;padding:7px 3px;display:flex;align-items:center;justify-content:center;color:#fff;background:#171717;border:1px solid #b88b39;font:700 .75rem/1.1 Georgia,"Times New Roman",serif;letter-spacing:0;white-space:nowrap;text-decoration:none;text-transform:uppercase;transition:background-color 160ms ease,color 160ms ease;filter:none}
.weapon-card .category-materials>a:hover,.weapon-card .category-materials>a:focus-visible{color:#fff;background:#9b742b;filter:none;outline:2px solid #e0b966;outline-offset:-3px}
.weapon-card .category-materials>button:disabled{opacity:.4;cursor:not-allowed}
.weapon-count{display:block;margin-top:7px;text-align:center;color:var(--muted);font-size:.5625rem;line-height:1.6}
.category-strip{padding-top:4px}
.weapon-section .weapon-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:20px 12px;width:calc(80% - 20px);margin-inline:auto}
.weapon-section .weapon-choice{flex:0 0 calc((100% - 60px)/6);width:calc((100% - 60px)/6)}
#category-dialog .weapon-grid{align-items:start}
#category-dialog .weapon-card .category-materials{min-width:0}
.category-strip .weapon-card .weapon-trigger .weapon-name{font-size:.72rem;right:5px;left:5px;bottom:17px}
.category-strip .weapon-card .category-materials>a,.category-strip .weapon-card .category-materials>button{width:86%;font-size:.6875rem}
@media(max-width:1050px){.weapon-section .weapon-grid{width:calc(80% - 12px)}.weapon-section .weapon-choice{flex-basis:calc((100% - 36px)/4);width:calc((100% - 36px)/4)}}
@media(max-width:740px){.weapon-section .weapon-grid{width:calc(80% - 3.2px);gap:18px 8px}.weapon-section .weapon-choice{flex-basis:calc((100% - 16px)/3);width:calc((100% - 16px)/3)}.weapon-choice.is-open .weapon-card{transform:none}.weapon-card .weapon-trigger .weapon-name,#category-dialog .weapon-card .weapon-trigger .weapon-name{font-size:.78rem}}
@media(max-width:520px){.weapon-section .weapon-choice{flex-basis:calc((100% - 8px)/2);width:calc((100% - 8px)/2)}#category-dialog .weapon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weapon-card .weapon-picture{min-height:110px}.category-strip .weapon-card .weapon-trigger .weapon-name{font-size:.72rem}.weapon-card .category-materials{padding:6px 0}}
@media(prefers-reduced-motion:reduce){.weapon-card,.weapon-card .weapon-picture img,.weapon-card .weapon-name,.weapon-chevron,.weapon-card .category-materials,.weapon-card .category-materials>a{transition:none!important}.weapon-choice.is-open .weapon-card{transform:none}.weapon-choice.is-open .weapon-picture img{transform:none}.weapon-choice.is-open .weapon-name{transform:none}}
