:root{
  --bcw-bg:#0c0906;
  --bcw-wood:#1a0f09;
  --bcw-panel:#2a160c;
  --bcw-panel-deep:#1d0f09;
  --bcw-panel-hi:#3a2012;
  --bcw-line:#6a3f1f;
  --bcw-line-soft:#442711;
  --bcw-gold:#d58a22;
  --bcw-gold-hi:#f0b44d;
  --bcw-text:#d7a15d;
  --bcw-muted:#9d7449;
  --bcw-cream:#dbc39a;
  --bcw-red:#7b1c16;
  --bcw-green:#8b9b57;
  --bcw-shadow:#050302;
}
*{box-sizing:border-box}
html{background:var(--bcw-bg)}
body.bcw-warband{
  margin:0;
  color:var(--bcw-text);
  background:
    radial-gradient(circle at 20% 0%,rgba(126,54,19,.12),transparent 34rem),
    repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0 1px,transparent 1px 4px),
    #0b0805;
  font-family:Tahoma,Verdana,Arial,sans-serif;
  font-size:13px;
  line-height:1.45;
}
a{color:var(--bcw-gold);text-decoration:none}a:hover{color:var(--bcw-gold-hi)}
button,input,select{font:inherit}
.bcw-page-frame{
  width:min(100% - 24px,1080px);
  margin:14px auto 36px;
  background:linear-gradient(180deg,#1f1009 0,#140b07 100%);
  border:1px solid #603819;
  box-shadow:0 0 0 1px #120905,0 18px 70px #000;
}
.bcw-site-header{border-bottom:1px solid #6e421f;background:#2a150b}
.bcw-topbar{min-height:80px;display:flex;align-items:center;justify-content:space-between;padding:10px 16px 7px;background:linear-gradient(#351b0e,#241208)}
.bcw-brand img{display:block;width:310px;max-width:55vw;height:58px;object-fit:contain;object-position:left center}
.bcw-account{text-align:right;color:#8f6945;font-size:12px}.bcw-account-name{display:block;color:#d3a25e}.bcw-account a{font-size:11px}
.bcw-ornament{height:28px;overflow:hidden;border-top:1px solid #4a2915;border-bottom:1px solid #150a05;background:#28160d;position:relative}
.bcw-ornament:before,.bcw-ornament:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent 0 16px,rgba(207,139,45,.16) 16px 18px,transparent 18px 34px);opacity:.8}
.bcw-ornament:after{transform:scaleX(-1);opacity:.28}
.bcw-ornament span{position:absolute;left:50%;top:50%;width:260px;height:1px;background:#966025;transform:translate(-50%,-50%);box-shadow:0 -5px #4e2e17,0 5px #4e2e17}
.bcw-nav{display:flex;align-items:center;gap:2px;min-height:42px;padding:0 12px;background:linear-gradient(#29160c,#1b0e08);border-top:1px solid #513018}
.bcw-nav-link{position:relative;display:flex;align-items:center;min-height:42px;padding:0 13px;color:#c67e25;font-size:12px;text-shadow:0 1px #000}
.bcw-nav-link:hover,.bcw-nav-link.is-active{color:#ffb43a;background:rgba(0,0,0,.13)}
.bcw-nav-link.is-active:after{content:"";position:absolute;left:13px;right:13px;bottom:0;height:2px;background:#b12b18;box-shadow:0 0 8px rgba(185,42,24,.65)}
.bcw-nav-spacer{flex:1}.bcw-coin-mark{display:flex;align-items:center;gap:6px;color:#ad7b3d;font-size:11px;white-space:nowrap}.bcw-coin-mark img{width:20px;height:20px;object-fit:cover;border-radius:50%;filter:saturate(.85) brightness(.9)}
.bcw-main{min-height:600px;background:radial-gradient(circle at 50% -40%,rgba(97,48,18,.12),transparent 55%),linear-gradient(180deg,#160c07,#100906);padding-bottom:26px}
.bcw-page-heading{padding:18px 22px 12px;border-bottom:1px solid #39200f;background:rgba(0,0,0,.09)}
.bcw-page-heading h1{margin:1px 0 2px;color:#d9a254;font:normal 20px/1.2 Georgia,'Times New Roman',serif;letter-spacing:.02em;text-shadow:0 1px #000}.bcw-page-heading p{margin:4px 0 0;color:#8e6844;font-size:11px}.bcw-eyebrow{text-transform:uppercase;letter-spacing:.16em;color:#80441f;font-size:9px}
.bcw-content{padding:0 16px}.bcw-content>p:empty{display:none}
.bcw-footer{display:flex;justify-content:space-between;gap:15px;padding:15px 17px;color:#513522;font-size:10px;border-top:1px solid #3e2412;background:#130b07}

/* Blood & Coin Core reset: compact, raw, Mercs-like rather than modern cards. */
.bcw-warband .bc-shell{--bc-bg:transparent;--bc-panel:#2a160c;--bc-panel2:#341b0e;--bc-border:#5a351a;--bc-gold:#c77d1f;--bc-gold2:#e5aa45;--bc-text:#d2a062;--bc-muted:#956d45;--bc-green:#899853;max-width:none;margin:0;padding:18px 0 30px;color:var(--bcw-text)}
.bcw-warband .bc-heading{margin:0 0 14px;padding:0 2px 10px;border-bottom:1px solid #3e2412}.bcw-warband .bc-heading h2{font:normal 20px/1.2 Georgia,serif;color:#d9a254}.bcw-warband .bc-heading p,.bcw-warband .bc-card p{color:#98704a;font-size:11px}.bcw-warband .bc-kicker{color:#81512d;font-size:9px;letter-spacing:.15em}
.bcw-warband .bc-card,.bcw-warband .bc-slot{border-radius:0;background:linear-gradient(180deg,#2d180d,#241209);border:1px solid #563218;box-shadow:inset 0 0 0 1px rgba(255,183,75,.025),0 1px 0 #070403;padding:12px}
.bcw-warband .bc-card:hover,.bcw-warband .bc-character-choice:hover{border-color:#74451f;background:#321a0e}
.bcw-warband .bc-button{min-height:30px;border-radius:0;padding:6px 11px;background:linear-gradient(#5c3518,#3c220f);border:1px solid #7d4c20;color:#e9a83e!important;font-weight:normal;box-shadow:inset 0 1px rgba(255,255,255,.04),0 1px #090503;text-shadow:0 1px #000}
.bcw-warband .bc-button:hover{background:linear-gradient(#71421c,#472711);border-color:#a16327;color:#ffc35a!important}
.bcw-warband .bc-button-secondary{background:#25140b;border-color:#64401f;color:#cc8d3a!important}.bcw-warband .bc-text-button{color:#a75a46}
.bcw-warband input,.bcw-warband select,.bc-character-create-form input{border-radius:0!important;background:#1b0e08!important;border:1px solid #503019!important;color:#d7a15d!important;box-shadow:inset 0 1px 6px rgba(0,0,0,.4);min-height:30px;padding:6px 8px!important}
.bcw-warband input:focus,.bcw-warband select:focus{outline:1px solid #9b5e25;outline-offset:0}
.bcw-warband .bc-alert{border-radius:0;padding:9px 11px;font-size:11px}

/* Character page shortcodes do not have .bc-shell wrappers. */
.bcw-warband .bc-character-select-ui,.bcw-warband .bc-character-create-ui{margin:16px 0}
.bcw-warband .bc-character-choice-list{display:grid;gap:6px}
.bcw-warband .bc-character-choice{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;min-height:58px;padding:7px 10px;border:1px solid #4f2d16;background:linear-gradient(90deg,#29150b,#211008);box-shadow:inset 0 0 0 1px rgba(255,255,255,.018)}
.bcw-warband .bc-character-choice.is-active{border-color:#8e541f;background:linear-gradient(90deg,#32180c,#241109)}
.bcw-warband .bc-character-choice__mark{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid #67401f;background:#160b06;color:#db9a38;font:18px Georgia,serif}
.bcw-warband .bc-character-choice__info strong{display:block;color:#d8a25b;font:normal 14px Georgia,serif}.bcw-warband .bc-character-choice__info span{display:block;margin-top:2px;color:#8f6a48;font-size:10px}.bcw-warband .bc-character-active-label{color:#99a36a;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.bcw-warband .bc-character-create-form{display:grid;grid-template-columns:160px minmax(220px,1fr) auto;gap:7px 10px;align-items:center;padding:12px;border:1px solid #57331a;background:#261309}.bcw-warband .bc-character-create-form label{color:#d09a53}.bcw-warband .bc-character-create-form p{grid-column:2/4;margin:0;color:#805e3e;font-size:10px}.bcw-warband .bc-character-create-form button{grid-column:3;grid-row:1/2}

.bcw-warband .bc-heading-row{align-items:center;gap:15px}.bcw-warband .bc-balance{min-width:170px;border-radius:0;border-color:#553118;background:#1d0f08;padding:8px 10px}.bcw-warband .bc-balance span{font-size:9px}.bcw-warband .bc-balance strong{font-size:15px;color:#df9e38;font-weight:normal}
.bcw-warband .bc-character-tabs{gap:3px;margin:0 0 13px;padding:7px;background:#1b0e08;border:1px solid #422610}.bcw-warband .bc-character-tabs a{border-radius:0;padding:5px 10px;border:1px solid transparent;color:#a8753e}.bcw-warband .bc-character-tabs a:hover,.bcw-warband .bc-character-tabs a.is-active{border-color:#70431d;background:#2c170c;color:#e19c36}
.bcw-warband .bc-section-title{display:flex;align-items:baseline;gap:10px;margin:0 0 5px;padding:0 2px}.bcw-warband .bc-section-title h3{margin:0;color:#c9924c;font:normal 14px Georgia,serif}.bcw-warband .bc-section-title .bc-kicker{order:2}
.bcw-warband .bc-shop-section{margin-top:16px}.bcw-warband .bc-loadout-section{margin-top:17px}

/* Mercenaries-style marketplace: one item per horizontal strip. */
.bcw-warband .bc-grid.bc-grid-items{display:block}
.bcw-warband .bc-grid.bc-grid-items .bc-item-card{display:grid;grid-template-columns:72px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;min-height:78px;margin:0 0 5px;padding:7px 9px}
.bcw-warband .bc-item-card .bc-item-icon{grid-column:1;grid-row:1/3;width:64px;height:62px;border-radius:0;border:1px solid #56351c;background:radial-gradient(circle,#2b1a10,#140b06);color:#6f4929;font-size:18px;box-shadow:inset 0 0 15px rgba(0,0,0,.35)}
.bcw-warband .bc-item-card h4{grid-column:2;grid-row:1;margin:0;color:#d7a05a;font:normal 13px Georgia,serif;align-self:end}.bcw-warband .bc-item-card .bc-item-price{grid-column:3;grid-row:1;margin:0 0 1px 16px;color:#d99027;font-size:11px;font-weight:normal;align-self:end;white-space:nowrap}.bcw-warband .bc-item-card>form,.bcw-warband .bc-item-card>a.bc-button{grid-column:3;grid-row:2;align-self:start;justify-self:end;margin-top:4px}.bcw-warband .bc-item-card .bc-equip-form{display:flex}.bcw-warband .bc-owned-label{right:auto;left:88px;top:auto;bottom:9px;color:#76854c;font-size:8px}.bcw-warband .bc-item-card.is-owned h4{padding-bottom:12px}

/* Inventory loadout: squared equipment boxes, intentionally game-menu-like. */
.bcw-warband .bc-loadout-grid{grid-template-columns:repeat(5,1fr);gap:5px}.bcw-warband .bc-slot{min-height:76px;padding:8px;text-align:center;background:linear-gradient(#2b160b,#1f1008)}.bcw-warband .bc-slot span{font-size:8px;color:#775338}.bcw-warband .bc-slot strong{margin-top:12px;color:#b98449;font-size:11px;font-weight:normal}.bcw-warband .bc-slot form{margin-top:5px}.bcw-warband .bc-slot .bc-text-button{font-size:9px}

.bcw-warband .bc-grid-characters{grid-template-columns:1fr}.bcw-warband .bc-character-card{min-height:62px}.bcw-warband .bc-create-card{margin-top:9px;border-radius:0}.bcw-warband .bc-character-mark{border-radius:50%;width:40px;height:40px;font-size:15px}
.bcw-generic-post{padding:14px;border-bottom:1px solid #3b210f}.bcw-generic-post h2{margin:0 0 6px;font:16px Georgia,serif}

.bcw-js .bcw-enter{animation:bcw-enter .24s ease-out both;animation-delay:var(--bcw-delay,0ms)}
@keyframes bcw-enter{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.bcw-js .bcw-enter{animation:none}}

@media(max-width:760px){
  .bcw-page-frame{width:100%;margin:0;border-left:0;border-right:0}.bcw-topbar{min-height:66px;padding:8px 10px}.bcw-brand img{width:235px;height:48px;max-width:68vw}.bcw-account-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bcw-ornament{height:20px}.bcw-nav{overflow-x:auto;padding:0 5px;scrollbar-width:none}.bcw-nav::-webkit-scrollbar{display:none}.bcw-nav-link{min-height:38px;padding:0 10px;white-space:nowrap}.bcw-nav-spacer,.bcw-coin-mark{display:none}.bcw-main{min-height:calc(100vh - 130px)}.bcw-page-heading{padding:12px 12px 9px}.bcw-content{padding:0 10px}.bcw-warband .bc-shell{padding-top:12px}.bcw-warband .bc-heading-row{display:flex;flex-direction:column;align-items:stretch}.bcw-warband .bc-character-create-form{grid-template-columns:1fr}.bcw-warband .bc-character-create-form label,.bcw-warband .bc-character-create-form input,.bcw-warband .bc-character-create-form p,.bcw-warband .bc-character-create-form button{grid-column:1;grid-row:auto}.bcw-warband .bc-character-choice{grid-template-columns:36px 1fr auto;padding:7px}.bcw-warband .bc-loadout-grid{grid-template-columns:repeat(3,1fr)}.bcw-warband .bc-grid.bc-grid-items .bc-item-card{grid-template-columns:58px minmax(0,1fr) auto;column-gap:8px}.bcw-warband .bc-item-card .bc-item-icon{width:52px;height:55px}.bcw-warband .bc-item-card .bc-item-price{font-size:10px;margin-left:6px}.bcw-warband .bc-item-card .bc-button{padding:5px 7px;font-size:10px}.bcw-warband .bc-owned-label{left:75px}.bcw-footer{padding:12px}.bcw-footer span:last-child{display:none}
}
@media(max-width:470px){
  .bcw-warband .bc-grid.bc-grid-items .bc-item-card{grid-template-columns:55px 1fr;grid-template-rows:auto auto auto}.bcw-warband .bc-item-card .bc-item-icon{grid-column:1;grid-row:1/4}.bcw-warband .bc-item-card h4{grid-column:2;grid-row:1}.bcw-warband .bc-item-card .bc-item-price{grid-column:2;grid-row:2;margin:2px 0}.bcw-warband .bc-item-card>form,.bcw-warband .bc-item-card>a.bc-button{grid-column:2;grid-row:3;justify-self:start}.bcw-warband .bc-owned-label{display:none}.bcw-warband .bc-item-card.is-owned h4{padding-bottom:0}.bcw-warband .bc-loadout-grid{grid-template-columns:repeat(2,1fr)}
}

/* v0.2 — Blood & Coin identity pass: iron, dried blood and old gold. */
:root{
  --bcw-bg:#080707;--bcw-wood:#151010;--bcw-panel:#201616;--bcw-panel-deep:#140e0e;--bcw-panel-hi:#2b1b19;
  --bcw-line:#563b31;--bcw-line-soft:#33231f;--bcw-gold:#b98643;--bcw-gold-hi:#d7ad68;
  --bcw-text:#c8ad89;--bcw-muted:#806e5d;--bcw-cream:#d6c3a4;--bcw-red:#8c201b;--bcw-green:#7f8757;--bcw-shadow:#020202;
}
body.bcw-warband{background:radial-gradient(circle at 18% 0%,rgba(118,22,18,.10),transparent 32rem),repeating-linear-gradient(0deg,rgba(255,255,255,.009) 0 1px,transparent 1px 4px),#080707;color:var(--bcw-text)}
.bcw-page-frame{background:linear-gradient(180deg,#151010,#0e0b0b);border-color:#49352e;box-shadow:0 0 0 1px #050404,0 18px 70px #000}
.bcw-site-header{background:#181111;border-bottom-color:#4d3029}.bcw-topbar{background:linear-gradient(#211716,#130e0e);border-top:2px solid #6f1e1a}.bcw-account{color:#78695c}.bcw-account-name{color:#c6a978}
.bcw-ornament{height:22px;background:#121010;border-top-color:#35251f;border-bottom-color:#050404}
.bcw-ornament:before{background:repeating-linear-gradient(90deg,transparent 0 30px,rgba(145,104,58,.16) 30px 31px,transparent 31px 59px),linear-gradient(90deg,transparent,rgba(128,28,23,.18),transparent);opacity:1}
.bcw-ornament:after{display:none}.bcw-ornament span{width:210px;background:#6e4c31;box-shadow:0 -4px #2d211c,0 4px #2d211c}
.bcw-nav{background:linear-gradient(#191313,#100c0c);border-top-color:#2d211c;border-bottom:1px solid #070505}.bcw-nav-link{color:#a98250}.bcw-nav-link:hover,.bcw-nav-link.is-active{color:#d8b46e;background:rgba(116,25,21,.10)}.bcw-nav-link.is-active:after{height:1px;background:#9b2821;box-shadow:0 0 7px rgba(155,40,33,.55)}
.bcw-coin-mark{color:#9d7b4d}.bcw-coin-mark img{filter:saturate(.75) contrast(1.08)}
.bcw-main{background:radial-gradient(circle at 50% -45%,rgba(124,32,26,.08),transparent 54%),linear-gradient(180deg,#100d0d,#0b0909)}
.bcw-page-heading{border-bottom-color:#2d211d;background:linear-gradient(90deg,rgba(118,25,21,.10),transparent 45%)}.bcw-page-heading h1{color:#c9aa76}.bcw-page-heading p{color:#796b5d}.bcw-eyebrow{color:#8e342b}.bcw-footer{color:#4f4540;border-top-color:#2d211d;background:#0d0a0a}
.bcw-warband .bc-shell{--bc-panel:#201616;--bc-panel2:#291a18;--bc-border:#4b352d;--bc-gold:#ad7b3f;--bc-gold2:#d0a25d;--bc-text:#c7aa83;--bc-muted:#7d6a59;--bc-green:#7e8758;color:var(--bcw-text)}
.bcw-warband .bc-heading{border-bottom-color:#30231e}.bcw-warband .bc-heading h2{color:#c7a571}.bcw-warband .bc-heading p,.bcw-warband .bc-card p{color:#806e5c}.bcw-warband .bc-kicker{color:#8a3b30}
.bcw-warband .bc-card,.bcw-warband .bc-slot{background:linear-gradient(180deg,#211817,#191212);border-color:#49342c;box-shadow:inset 3px 0 0 rgba(116,28,23,.22),inset 0 0 0 1px rgba(211,171,107,.018),0 1px #030303}
.bcw-warband .bc-card:hover,.bcw-warband .bc-character-choice:hover{border-color:#6b4939;background:#271a18}
.bcw-warband .bc-button{background:linear-gradient(#332520,#211815);border-color:#654839;color:#cfa25f!important;box-shadow:inset 0 1px rgba(255,255,255,.025),0 1px #030303}.bcw-warband .bc-button:hover{background:linear-gradient(#432b27,#281b18);border-color:#87372d;color:#e1bc77!important}.bcw-warband .bc-button-secondary{background:#171111;border-color:#49372f;color:#ae8b5c!important}.bcw-warband .bc-text-button{color:#a44b40}
.bcw-warband input,.bcw-warband select,.bc-character-create-form input{background:#100c0c!important;border-color:#41302a!important;color:#c8ad89!important}.bcw-warband input:focus,.bcw-warband select:focus{outline-color:#8e3a30}
.bcw-warband .bc-character-choice{border-color:#41302a;background:linear-gradient(90deg,#1d1514,#151010)}.bcw-warband .bc-character-choice.is-active{border-color:#79342b;background:linear-gradient(90deg,#261715,#171111);box-shadow:inset 3px 0 #8f2821}.bcw-warband .bc-character-choice__mark{border-radius:2px;border-color:#543b31;background:#0d0a0a;color:#b98a4d}.bcw-warband .bc-character-choice__info strong{color:#c7a574}.bcw-warband .bc-character-choice__info span{color:#76675b}.bcw-warband .bc-character-active-label{color:#8d925f}
.bcw-warband .bc-character-create-form{border-color:#49342c;background:#181111;box-shadow:inset 3px 0 rgba(126,31,25,.24)}.bcw-warband .bc-character-create-form label{color:#bc9968}.bcw-warband .bc-character-create-form p{color:#706158}
.bcw-warband .bc-balance{border-color:#47332b;background:#110d0d}.bcw-warband .bc-balance strong{color:#c99a52}.bcw-warband .bc-character-tabs{background:#100c0c;border-color:#33251f}.bcw-warband .bc-character-tabs a{color:#92754e}.bcw-warband .bc-character-tabs a:hover,.bcw-warband .bc-character-tabs a.is-active{border-color:#63382f;background:#211615;color:#cba15e}.bcw-warband .bc-section-title h3{color:#bea071}
.bcw-warband .bc-grid.bc-grid-items .bc-item-card{position:relative}.bcw-warband .bc-grid.bc-grid-items .bc-item-card:before{content:"";position:absolute;left:-1px;top:9px;bottom:9px;width:2px;background:#6f211c;opacity:.45}.bcw-warband .bc-item-card:hover:before{opacity:.9}
.bcw-warband .bc-item-card .bc-item-icon{border-color:#49372f;background:radial-gradient(circle,#211918,#0c0909);color:#665249}.bcw-warband .bc-item-card h4{color:#c6a574}.bcw-warband .bc-item-card .bc-item-price{color:#bf8d48}.bcw-warband .bc-owned-label{color:#747c52}
.bcw-warband .bc-slot{background:linear-gradient(#1e1615,#141010)}.bcw-warband .bc-slot span{color:#675950}.bcw-warband .bc-slot strong{color:#aa8b63}

/* v0.3 — texture + hardware pass. Less "CSS skin", more actual game-menu material. */
body.bcw-warband{
  background-color:#070606;
  background-image:url('../images/ui/iron-grain.png');
  background-repeat:repeat;
}
body.bcw-warband:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(ellipse at 50% 0%,rgba(116,24,20,.10),transparent 52%),linear-gradient(rgba(0,0,0,.12),rgba(0,0,0,.38));
}
.bcw-page-frame{position:relative;z-index:1;background:#0e0b0b url('../images/ui/dark-leather.png') repeat;border-color:#574239;box-shadow:0 0 0 1px #020202,0 0 0 3px #181111,0 24px 85px #000}
.bcw-page-frame:before,.bcw-page-frame:after{content:"";position:absolute;width:48px;height:48px;z-index:8;pointer-events:none;background:url('../images/ui/corner-bracket.png') no-repeat;background-size:48px 48px;opacity:.8}
.bcw-page-frame:before{left:-1px;top:-1px}.bcw-page-frame:after{right:-1px;bottom:-1px;transform:rotate(180deg)}
.bcw-site-header{background:#141010 url('../images/ui/dark-leather.png') repeat}
.bcw-topbar{position:relative;background:rgba(8,7,7,.48);min-height:84px;border-top:0}
.bcw-topbar:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:url('../images/ui/blood-streak.png') center/auto 18px repeat-x;opacity:.95;pointer-events:none}
.bcw-brand img{filter:drop-shadow(0 2px 2px #000) saturate(.92);transition:filter .16s ease,transform .16s ease}.bcw-brand:hover img{filter:drop-shadow(0 2px 3px #000) saturate(1.05) brightness(1.04);transform:translateY(-1px)}
.bcw-ornament{height:30px;background:#121010 url('../images/ui/riveted-strip.png') center/auto 28px repeat-x;border:0;box-shadow:inset 0 1px #655043,inset 0 -1px #000}
.bcw-ornament:before{content:"";display:block;position:absolute;left:50%;top:50%;width:35px;height:35px;transform:translate(-50%,-50%);background:url('../images/blood-coin.png') center/cover no-repeat;border-radius:50%;filter:sepia(.1) saturate(.72) contrast(1.12) brightness(.78);box-shadow:0 0 0 2px #17100e,0 0 0 3px #76543a,0 2px 6px #000;opacity:1}
.bcw-ornament:after{content:"";display:block;position:absolute;left:50%;top:50%;width:74px;height:1px;transform:translate(-50%,-50%);background:#8b211b;box-shadow:0 0 5px rgba(132,24,20,.45);opacity:.7}.bcw-ornament span{display:none}
.bcw-nav{background:rgba(9,8,8,.72) url('../images/ui/iron-grain.png') repeat;border-top:1px solid #2b211e;border-bottom:1px solid #000;box-shadow:inset 0 1px rgba(255,255,255,.015)}
.bcw-nav-link{text-transform:uppercase;letter-spacing:.055em;font-size:10px;color:#9d805a}.bcw-nav-link.is-active{color:#d4ae72}.bcw-nav-link.is-active:before{content:"";position:absolute;left:8px;top:11px;width:3px;height:19px;background:#84231d;transform:skew(-12deg);box-shadow:0 0 4px rgba(132,35,29,.4)}.bcw-nav-link.is-active:after{display:none}
.bcw-coin-mark{font-size:9px;letter-spacing:.08em;text-transform:uppercase}.bcw-coin-mark img{width:18px;height:18px;box-shadow:0 0 0 1px #654832,0 1px 3px #000}
.bcw-main{position:relative;background:rgba(8,7,7,.66) url('../images/ui/grime.png') repeat}
.bcw-main:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.15),transparent 9%,transparent 91%,rgba(0,0,0,.18));opacity:.9}
.bcw-page-heading,.bcw-content{position:relative;z-index:1}
.bcw-page-heading{padding:15px 22px 13px;background:rgba(10,8,8,.62);border-bottom:0}
.bcw-page-heading:after{content:"";position:absolute;left:16px;right:16px;bottom:-9px;height:18px;background:url('../images/ui/blood-streak.png') left center/620px 23px no-repeat;opacity:.5;pointer-events:none}
.bcw-page-heading h1{font-family:Georgia,'Times New Roman',serif;font-size:19px;color:#c9ab79;text-shadow:0 1px #000}.bcw-eyebrow{font-size:8px;color:#854039;letter-spacing:.22em}.bcw-page-heading p{font-size:10px;color:#73675e}
.bcw-content{padding:8px 17px 0}

/* Physical-looking panels: raster grain + corner hardware instead of floating web cards. */
.bcw-warband .bc-card,.bcw-warband .bc-slot,.bcw-warband .bc-character-choice,.bcw-warband .bc-character-create-form,.bcw-warband .bc-character-tabs,.bcw-warband .bc-balance{
  position:relative;background-color:#191313;background-image:url('../images/ui/dark-leather.png'),url('../images/ui/grime.png');background-repeat:repeat;border:1px solid #493830;box-shadow:inset 0 0 0 1px rgba(0,0,0,.42),0 1px 0 #000;
}
.bcw-warband .bc-card:after,.bcw-warband .bc-character-choice:after,.bcw-warband .bc-character-create-form:after{
  content:"";position:absolute;width:4px;height:4px;border-radius:50%;right:6px;top:6px;background:#5e4b3d;box-shadow:0 0 0 1px #0c0908,0 1px rgba(255,255,255,.12),0 calc(100% - 0px) 0 #5e4b3d;opacity:.65;pointer-events:none;
}
.bcw-warband .bc-card:hover,.bcw-warband .bc-character-choice:hover{border-color:#655044;background-color:#1e1514}
.bcw-warband .bc-button{position:relative;background:#211a18 url('../images/ui/iron-grain.png') repeat;border:1px solid #5f4a3d;box-shadow:inset 0 1px rgba(255,255,255,.04),inset 0 -2px rgba(0,0,0,.35),0 1px #000;color:#cba363!important;text-transform:uppercase;letter-spacing:.045em;font-size:9px}
.bcw-warband .bc-button:before{content:"";position:absolute;left:4px;top:4px;width:2px;height:2px;border-radius:50%;background:#826a52;opacity:.55}.bcw-warband .bc-button:hover{background-color:#2a201d;border-color:#7d5444;color:#e0b975!important;transform:translateY(-1px)}.bcw-warband .bc-button:active{transform:translateY(1px);box-shadow:inset 0 2px 3px #000}
.bcw-warband input,.bcw-warband select,.bc-character-create-form input{background:#0c0a0a url('../images/ui/iron-grain.png') repeat!important;border-color:#3c302b!important}

/* Marketplace rows become little armoury ledger plates. */
.bcw-warband .bc-grid.bc-grid-items .bc-item-card{overflow:hidden;min-height:82px;margin-bottom:6px;background-color:#171111;background-image:url('../images/ui/dark-leather.png'),url('../images/ui/grime.png');border-color:#48372f;padding:8px 10px 8px 9px;transition:border-color .13s ease,transform .13s ease,filter .13s ease}
.bcw-warband .bc-grid.bc-grid-items .bc-item-card:before{left:0;top:0;bottom:0;width:4px;background-image:url('../images/ui/blood-streak.png');background-size:auto 20px;background-position:center;opacity:.52}
.bcw-warband .bc-grid.bc-grid-items .bc-item-card:hover{transform:translateX(2px);border-color:#685043;filter:brightness(1.025)}
.bcw-warband .bc-item-card .bc-item-icon{background:#0d0b0b url('../images/ui/iron-grain.png') repeat;border-color:#4c3c34;box-shadow:inset 0 0 0 1px #090707,inset 0 0 18px rgba(0,0,0,.55);transition:transform .13s ease}.bcw-warband .bc-item-card:hover .bc-item-icon{transform:translateY(-1px)}
.bcw-warband .bc-item-card h4{font-size:13px;color:#c8a66f;letter-spacing:.01em}.bcw-warband .bc-item-card .bc-item-price{font-family:Georgia,serif;color:#c2944e}.bcw-warband .bc-item-card .bc-item-price:before{content:"";display:inline-block;width:11px;height:11px;margin-right:4px;vertical-align:-2px;background:url('../images/blood-coin.png') center/cover;border-radius:50%;filter:saturate(.65) brightness(.78)}

/* Equipment slots feel stamped rather than like web cards. */
.bcw-warband .bc-loadout-grid{gap:7px}.bcw-warband .bc-slot{min-height:82px;background-color:#141010;background-image:url('../images/ui/iron-grain.png');border-color:#443832}.bcw-warband .bc-slot:before{content:"";position:absolute;inset:4px;border:1px solid rgba(145,104,69,.13);pointer-events:none}.bcw-warband .bc-slot span{text-transform:uppercase;letter-spacing:.09em;font-size:7px;color:#6c5d54}.bcw-warband .bc-slot strong{font-family:Georgia,serif;color:#b6976c}

/* Character quirks: stamped initials + blood-selected notch. */
.bcw-warband .bc-character-choice{overflow:hidden}.bcw-warband .bc-character-choice.is-active:before{content:"";position:absolute;left:-6px;top:50%;width:16px;height:16px;transform:translateY(-50%) rotate(45deg);background:#82231e;box-shadow:0 0 6px rgba(112,20,18,.35)}
.bcw-warband .bc-character-choice__mark{background:#0b0909 url('../images/ui/iron-grain.png') repeat;border-color:#5b493c;font-family:Georgia,serif;text-shadow:0 1px #000;box-shadow:inset 0 0 8px #000}

.bcw-footer{position:relative;background:#0c0909 url('../images/ui/iron-grain.png') repeat;border-top:1px solid #332824;padding-top:17px}.bcw-footer:before{content:"";position:absolute;left:0;right:0;top:-9px;height:18px;background:url('../images/ui/riveted-strip.png') center/auto 18px repeat-x;opacity:.55}

@media (prefers-reduced-motion:no-preference){
 .bcw-warband .bc-card,.bcw-warband .bc-slot,.bcw-warband .bc-character-choice{transition:border-color .13s ease,transform .13s ease,filter .13s ease}
}


/* v0.4 — Mercenary training sheet. Compact Warband character builder. */
.bcw-warband .bc-character-builder{
  margin:16px 0 18px;
  border:1px solid #4d3b33;
  background:#100c0c url('../images/ui/dark-leather.png') repeat;
  box-shadow:inset 0 0 0 1px #080606,0 1px #000;
  position:relative;
}
.bcw-warband .bc-character-builder:before{
  content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:url('../images/ui/blood-streak.png') left center/520px 18px repeat-x;opacity:.7;
}
.bcw-warband .bc-builder-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:20px;
  padding:14px 15px 11px;border-bottom:1px solid #30241f;background:rgba(7,6,6,.35)
}
.bcw-warband .bc-builder-head h3{margin:2px 0 3px;color:#c9a873;font:normal 17px Georgia,serif}
.bcw-warband .bc-builder-head p{margin:0;color:#776860;font-size:10px}
.bcw-warband .bc-builder-stamp{padding:5px 8px;border:1px solid #513630;color:#8f554c;background:#130d0d;font-size:8px;text-transform:uppercase;letter-spacing:.12em;transform:rotate(-1deg)}
.bcw-warband .bc-builder-form{padding:10px}
.bcw-warband .bc-builder-columns{display:grid;grid-template-columns:.92fr 1.06fr 1.16fr;gap:7px;align-items:start}
.bcw-warband .bc-builder-panel{
  border:1px solid #4a3830;background:#171111 url('../images/ui/grime.png') repeat;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.48);padding:8px;min-width:0
}
.bcw-warband .bc-builder-panel-title{padding:0 0 7px;margin:0 0 4px;border-bottom:1px solid #32251f}
.bcw-warband .bc-builder-panel-title strong{display:block;color:#c5a16c;font:normal 14px Georgia,serif}
.bcw-warband .bc-builder-panel-title em{display:block;margin-top:2px;color:#9c7a56;font-size:9px;font-style:italic}
.bcw-warband .bc-stat-row{min-height:27px;display:flex;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px solid rgba(108,78,60,.17)}
.bcw-warband .bc-stat-row>span{color:#b69062;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bcw-warband .bc-stepper{display:grid;grid-template-columns:18px 26px 18px;align-items:center;flex:0 0 auto}
.bcw-warband .bc-stepper input{
  width:26px!important;min-height:22px!important;height:22px!important;padding:0!important;text-align:center!important;
  border:0!important;background:transparent!important;color:#c7aa80!important;box-shadow:none!important;font-size:10px
}
.bcw-warband .bc-stepper button{
  width:18px;height:18px;padding:0;border:0;background:transparent;color:#9e6f3b;font:bold 15px/16px Georgia,serif;text-shadow:0 1px #000;cursor:pointer
}
.bcw-warband .bc-stepper button:hover{color:#e0ae5f;background:#261915}
.bcw-warband .bc-derived-stats{margin-top:7px;padding-top:4px;border-top:1px solid #392b24}
.bcw-warband .bc-derived-stats>div{display:flex;justify-content:space-between;gap:8px;padding:3px 0;color:#8f7357;font-size:9px}
.bcw-warband .bc-derived-stats strong{color:#b99a70;font-weight:normal}
.bcw-warband .bc-builder-rule{margin:8px 0 0;padding:7px;border-left:2px solid #76241e;background:#100c0c;color:#75665e;font-size:8px;line-height:1.45}
.bcw-warband .bc-builder-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:10px 2px 0}
.bcw-warband .bc-builder-status{margin-right:auto;color:#74665d;font-size:9px}
.bcw-warband .bc-builder-actions .bc-button{min-width:122px}

@media(max-width:760px){
  .bcw-warband .bc-builder-columns{grid-template-columns:1fr}
  .bcw-warband .bc-builder-head{display:block}
  .bcw-warband .bc-builder-stamp{display:inline-block;margin-top:9px}
  .bcw-warband .bc-builder-actions{align-items:flex-end;flex-wrap:wrap}
  .bcw-warband .bc-builder-status{width:100%;margin:0}
}

/* v0.4.1 — locked training, character dropdowns, in-world confirmations. */
.bcw-warband .bc-character-choice{grid-template-columns:42px minmax(0,1fr) auto;position:relative;overflow:visible}
.bcw-warband .bc-character-choice__actions{display:flex;align-items:center;gap:6px}
.bcw-warband .bc-character-menu-toggle{width:25px;height:25px;padding:0;border:1px solid #4a3931;background:#100c0c url('../images/ui/iron-grain.png') repeat;color:#ad875a;cursor:pointer;font:13px/1 Georgia,serif;box-shadow:inset 0 0 0 1px #080606}
.bcw-warband .bc-character-menu-toggle:hover,.bcw-warband .bc-character-choice.is-menu-open .bc-character-menu-toggle{border-color:#765045;color:#d2a462;background-color:#211514}
.bcw-warband .bc-character-choice.needs-training{border-left-color:#8a672c}
.bcw-warband .bc-character-choice.needs-training .bc-character-choice__info span{color:#a17c43}
.bcw-warband .bc-character-dropdown{grid-column:1/-1;margin:7px -4px -2px;padding:8px 10px 9px;border-top:1px solid #392b26;background:#0d0a0a url('../images/ui/iron-grain.png') repeat;box-shadow:inset 0 8px 18px rgba(0,0,0,.28)}
.bcw-warband .bc-character-dropdown[hidden]{display:none!important}
.bcw-warband .bc-character-dropdown form{margin:0}
.bcw-warband .bc-character-dropdown-link{display:inline-block;padding:5px 8px;border:1px solid #594238;background:#1a1211;color:#c49b65!important;font:10px Georgia,serif;text-decoration:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.25)}
.bcw-warband button.bc-character-dropdown-link{font:10px Georgia,serif}
.bcw-warband .bc-character-dropdown-link:hover{border-color:#795246;background:#251715;color:#dfb271!important}
.bcw-warband .bc-character-dropdown-link:disabled{opacity:.38;cursor:not-allowed}
.bcw-warband .bc-character-dropdown small{display:block;margin-top:6px;color:#6f6058;font-size:8px;line-height:1.4}
.bcw-warband .bc-retrain-link{border-left:3px solid #76241e}

html.bcw-modal-open,html.bcw-modal-open body{overflow:hidden}
.bcw-confirm-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px;opacity:0;transition:opacity .12s ease}
.bcw-confirm-modal[hidden]{display:none!important}
.bcw-confirm-modal.is-open{opacity:1}
.bcw-confirm-shade{position:absolute;inset:0;background:rgba(3,2,2,.76);backdrop-filter:blur(1px)}
.bcw-confirm-box{position:relative;width:min(390px,calc(100vw - 28px));padding:20px 20px 16px;border:1px solid #675044;background:#120e0e url('../images/ui/dark-leather.png') repeat;color:#a98e72;box-shadow:inset 0 0 0 1px #090707,inset 0 0 36px rgba(0,0,0,.5),0 18px 55px rgba(0,0,0,.58);transform:translateY(5px) scale(.985);transition:transform .12s ease}
.bcw-confirm-modal.is-open .bcw-confirm-box{transform:translateY(0) scale(1)}
.bcw-confirm-box:before{content:"";position:absolute;left:7px;right:7px;top:6px;height:2px;background:url('../images/ui/blood-streak.png') center/260px 14px repeat-x;opacity:.72}
.bcw-confirm-box:after{content:"";position:absolute;inset:5px;border:1px solid rgba(171,124,75,.10);pointer-events:none}
.bcw-confirm-rivet{position:absolute;width:4px;height:4px;border-radius:50%;background:#745f4e;box-shadow:0 1px #000}.bcw-confirm-rivet-a{left:9px;top:9px}.bcw-confirm-rivet-b{right:9px;top:9px}
.bcw-confirm-mark{width:33px;height:33px;margin:0 auto 8px;background:url('../images/blood-coin.png') center/cover no-repeat;filter:saturate(.72) brightness(.82);opacity:.9}
.bcw-confirm-kicker{display:block;text-align:center;color:#7d6758;font-size:7px;letter-spacing:.18em;text-transform:uppercase}
.bcw-confirm-box h3{margin:5px 0 8px;text-align:center;color:#c9a46d;font:normal 18px Georgia,serif;text-shadow:0 1px #000}
.bcw-confirm-box p{margin:0 auto 14px;max-width:320px;text-align:center;color:#8d7665;font-size:10px;line-height:1.55}
.bcw-confirm-actions{display:flex;justify-content:center;gap:7px;padding-top:11px;border-top:1px solid #30241f}
.bcw-confirm-actions .bc-button{min-width:92px}

@media(max-width:540px){
 .bcw-warband .bc-character-choice{grid-template-columns:36px minmax(0,1fr) auto}
 .bcw-warband .bc-character-choice__actions{gap:4px}
 .bcw-warband .bc-character-active-label{display:none}
}


/* v0.4.2 — old Mercs-style perk ledger and reset control. */
.bcw-warband .bc-perks-panel{margin:8px 0 0;border:1px solid #49372f;background:#130e0e url('../images/ui/grime.png') repeat;box-shadow:inset 0 0 0 1px rgba(0,0,0,.46)}
.bcw-warband .bc-perks-head{display:grid;grid-template-columns:minmax(0,1fr) 78px;align-items:end;gap:10px;padding:8px 9px 6px;border-bottom:1px solid #352720;background:rgba(7,5,5,.28)}
.bcw-warband .bc-perks-head strong{display:block;color:#c5a16c;font:normal 14px Georgia,serif}
.bcw-warband .bc-perks-head em{display:block;margin-top:2px;color:#806c5c;font-size:8px;font-style:italic}
.bcw-warband .bc-perks-head>span{text-align:right;color:#a58a67;font:italic 10px Georgia,serif}
.bcw-warband .bc-perk-row{display:grid;grid-template-columns:minmax(0,1fr) 78px;align-items:center;gap:10px;min-height:27px;padding:4px 8px;border-bottom:1px solid rgba(94,67,53,.2);cursor:pointer;transition:background .08s ease,border-color .08s ease}
.bcw-warband .bc-perk-row:last-child{border-bottom:0}
.bcw-warband .bc-perk-row:hover{background:rgba(94,39,32,.09)}
.bcw-warband .bc-perk-row.is-selected{background:rgba(113,34,27,.12);box-shadow:inset 2px 0 #76241e}
.bcw-warband .bc-perk-copy{color:#aa8156;font-size:9px;line-height:1.35}
.bcw-warband .bc-perk-copy strong{color:#c79a60;font-weight:normal}
.bcw-warband .bc-perk-buy{display:flex;align-items:center;justify-content:flex-end;gap:6px;color:#927149;font-size:9px}
.bcw-warband .bc-perk-price{min-width:45px;text-align:right}
.bcw-warband .bc-perk-checkbox{position:absolute;opacity:0;pointer-events:none}
.bcw-warband .bc-perk-plus{display:grid;place-items:center;width:16px;height:16px;border:1px solid #5e4537;background:#18100f;color:#9b7549;font:14px/1 Georgia,serif;box-shadow:inset 0 0 0 1px #080606}
.bcw-warband .bc-perk-row.is-selected .bc-perk-plus{border-color:#84443a;color:#d2a466;background:#241311}
.bcw-warband .bc-perk-row.is-selected .bc-perk-plus:before{content:'×';font-size:12px}.bcw-warband .bc-perk-row.is-selected .bc-perk-plus{font-size:0}
.bcw-warband .bc-builder-actions .bc-button-secondary{min-width:105px}
@media(max-width:540px){.bcw-warband .bc-perks-head,.bcw-warband .bc-perk-row{grid-template-columns:minmax(0,1fr) 64px}.bcw-warband .bc-perk-copy{font-size:8px}.bcw-warband .bc-builder-actions .bc-button{min-width:0}}

/* v0.5.0 — Mercenary inventory / HUD identity */
.bcw-player-mark{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 10px 0 14px;border-left:1px solid rgba(126,83,53,.22);font:10px Georgia,serif;text-transform:uppercase;letter-spacing:.08em;color:#a88658;white-space:nowrap}
.bcw-player-summary{display:flex;align-items:center;gap:7px;color:#b89a6c}.bcw-player-summary b{font-weight:normal;color:#c4a472}.bcw-player-summary i{font-style:normal;color:#6f1f1c;font-size:12px}.bcw-player-summary span{color:#ae8b5d}
.bcw-coin-medallion{display:flex;width:23px;height:23px;align-items:center;justify-content:center}.bcw-coin-medallion img{display:block;width:23px;height:23px;object-fit:contain;filter:saturate(.8) brightness(.9)}.bcw-coin-label{color:#b49362}
.bcw-warband .bc-inventory-shell .bc-heading p{max-width:580px}.bcw-warband .bc-inventory-shell .bc-balance span{font-size:8px;text-transform:uppercase;letter-spacing:.12em}.bcw-warband .bc-inventory-shell .bc-balance strong{font-family:Georgia,serif;color:#c9a35f}
.bcw-warband .bc-merc-equipment-grid{display:grid;grid-template-columns:repeat(4,90px) minmax(250px,1fr) 90px;grid-template-rows:auto auto;gap:8px;align-items:stretch;max-width:760px}
.bcw-warband .bc-merc-slot{position:relative;min-height:108px;padding:6px;text-align:center;background:#120e0e url('../images/ui/iron-grain.png');border:1px solid #47372f;box-shadow:inset 0 0 0 3px #0b0808,inset 0 0 0 4px rgba(146,101,63,.12)}
.bcw-warband .bc-merc-slot-image{height:66px;display:flex;align-items:center;justify-content:center;margin-bottom:3px;background:rgba(0,0,0,.14);overflow:hidden}.bcw-warband .bc-merc-slot-image img{width:100%;height:100%;object-fit:contain}.bcw-warband .bc-merc-slot-image span{font-size:8px;color:#57473d;text-transform:uppercase;letter-spacing:.08em}
.bcw-warband .bc-merc-slot b{display:block;font:normal 9px Georgia,serif;color:#b78d56}.bcw-warband .bc-merc-slot small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:7px;color:#715f50}.bcw-warband .bc-merc-slot form{margin:2px 0 0}.bcw-warband .bc-merc-slot .bc-text-button{font-size:7px;padding:0;color:#765549}
.bcw-warband .bc-equipment-summary{grid-column:1/5;grid-row:2;padding:8px 10px;background:#17100e url('../images/ui/dark-leather.png');border:1px solid #4a352b;box-shadow:inset 0 0 0 1px rgba(181,127,72,.05)}.bcw-warband .bc-equipment-summary h4{margin:0 0 7px;color:#c29c68;font:normal 11px Georgia,serif}.bcw-warband .bc-equipment-summary dl{display:grid;grid-template-columns:1fr 1fr;column-gap:22px;row-gap:2px;margin:0}.bcw-warband .bc-equipment-summary dl div{display:flex;justify-content:space-between;border-bottom:1px dotted rgba(127,85,54,.24);font-size:9px}.bcw-warband .bc-equipment-summary dt{color:#8e704f}.bcw-warband .bc-equipment-summary dd{margin:0;color:#c39b63}.bcw-warband .bc-stat-note{margin:7px 0 0!important;font-size:7px!important;color:#66554a!important}
.bcw-warband .bc-merc-slot-horse{grid-column:5;grid-row:2}.bcw-warband .bc-merc-weapon-slot{grid-row:3}.bcw-warband .bc-merc-weapon-slot:nth-of-type(7){grid-column:1}.bcw-warband .bc-merc-weapon-slot:nth-of-type(8){grid-column:2}.bcw-warband .bc-merc-weapon-slot:nth-of-type(9){grid-column:3}.bcw-warband .bc-merc-weapon-slot:nth-of-type(10){grid-column:4}
.bcw-warband .bc-owned-inventory{margin-top:20px}.bcw-warband .bc-inventory-list{display:flex;flex-direction:column;gap:6px;max-width:760px}.bcw-warband .bc-inventory-row{display:grid;grid-template-columns:74px minmax(0,1fr) auto;min-height:76px;align-items:center;border:1px solid #49372f;background:#181110 url('../images/ui/dark-leather.png');box-shadow:inset 3px 0 0 rgba(112,30,23,.26)}.bcw-warband .bc-inventory-thumb{height:74px;display:flex;align-items:center;justify-content:center;border-right:1px solid #413029;background:#0d0a0a url('../images/ui/iron-grain.png');overflow:hidden}.bcw-warband .bc-inventory-thumb img{width:100%;height:100%;object-fit:contain}.bcw-warband .bc-inventory-thumb span{font-size:8px;color:#5b4b41}.bcw-warband .bc-inventory-copy{padding:8px 11px}.bcw-warband .bc-inventory-copy h4{margin:0 0 5px;color:#c9a36c;font:normal 12px Georgia,serif}.bcw-warband .bc-inventory-copy p{margin:0!important;font-size:8px!important;color:#725f4f!important}.bcw-warband .bc-inventory-row .bc-equip-form{display:flex;gap:5px;padding:0 10px}.bcw-warband .bc-inventory-row select{max-width:82px;background:#120d0b;color:#a88457;border:1px solid #4a3529;font-size:9px}
@media(max-width:760px){.bcw-player-mark{display:none}.bcw-warband .bc-merc-equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.bcw-warband .bc-equipment-summary{grid-column:1/-1;grid-row:auto}.bcw-warband .bc-merc-slot-horse,.bcw-warband .bc-merc-weapon-slot{grid-column:auto!important;grid-row:auto!important}.bcw-warband .bc-inventory-row{grid-template-columns:58px minmax(0,1fr);}.bcw-warband .bc-inventory-thumb{height:68px}.bcw-warband .bc-inventory-row .bc-equip-form{grid-column:2;padding:0 8px 8px}.bcw-warband .bc-equipment-summary dl{grid-template-columns:1fr}}

/* v0.5.1 — centred armoury frame */
.bcw-warband .bc-loadout-section{max-width:800px;margin:20px auto 0;padding:14px 16px 16px;position:relative;border:1px solid #594034;background:rgba(13,9,9,.34);box-shadow:inset 0 0 0 1px #090606,inset 0 0 0 5px rgba(112,76,50,.045),0 8px 22px rgba(0,0,0,.16)}
.bcw-warband .bc-loadout-section:before,.bcw-warband .bc-loadout-section:after{content:"";position:absolute;width:13px;height:13px;pointer-events:none}
.bcw-warband .bc-loadout-section:before{left:5px;top:5px;border-left:1px solid #805c3c;border-top:1px solid #805c3c}.bcw-warband .bc-loadout-section:after{right:5px;bottom:5px;border-right:1px solid #805c3c;border-bottom:1px solid #805c3c}
.bcw-warband .bc-merc-equipment-grid{grid-template-columns:repeat(5,90px);grid-template-rows:auto auto auto;gap:8px;max-width:482px;margin:0 auto;justify-content:center}
.bcw-warband .bc-merc-slot{width:90px;min-height:108px;box-sizing:border-box}
.bcw-warband .bc-equipment-summary{grid-column:1/5;grid-row:2;width:auto;box-sizing:border-box}
.bcw-warband .bc-merc-slot-horse{grid-column:5;grid-row:2;width:90px;min-height:108px}
.bcw-warband .bc-merc-weapon-slot{grid-row:3}
.bcw-warband .bc-owned-inventory{max-width:800px;margin:20px auto 0}.bcw-warband .bc-inventory-list{max-width:none}
@media(max-width:760px){.bcw-warband .bc-loadout-section{padding:10px;margin-top:14px}.bcw-warband .bc-merc-equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.bcw-warband .bc-merc-slot{width:auto}.bcw-warband .bc-equipment-summary{grid-column:1/-1;grid-row:auto}.bcw-warband .bc-merc-slot-horse,.bcw-warband .bc-merc-weapon-slot{width:auto;grid-column:auto!important;grid-row:auto!important}}

/* v0.5.2 — inventory equip actions refresh in-place instead of leaving the page. */
.bc-equip-form button:disabled,.bc-merc-slot form button:disabled{opacity:.58;cursor:wait}
.bcw-loadout-refreshed .bc-merc-loadout{animation:bcwLoadoutSettle .22s ease-out both}
@keyframes bcwLoadoutSettle{from{opacity:.68;transform:translateY(2px)}to{opacity:1;transform:none}}


/* v0.5.3 — cleaner iron trim, full-width rugged divider and inventory selling. */
.bcw-ornament:after{display:none!important}
.bcw-page-heading:after{left:0;right:0;bottom:-9px;background-image:url('../images/ui/blood-streak.png');background-position:left center;background-size:520px 20px;background-repeat:repeat-x;opacity:.48}
.bcw-warband .bc-inventory-actions{display:flex;align-items:center;gap:6px;padding:0 8px 0 0}
.bcw-warband .bc-inventory-actions form{display:flex;align-items:center;gap:5px;margin:0}
.bcw-warband .bc-button-sell{border-color:#65342f;color:#bb7d6d!important;background-color:#1b1111}
.bcw-warband .bc-button-sell:hover{border-color:#8b433a;color:#d59b88!important;background-color:#261313}
@media(max-width:760px){.bcw-warband .bc-inventory-actions{grid-column:2;flex-wrap:wrap;padding:0 8px 8px}.bcw-warband .bc-inventory-row .bc-equip-form{grid-column:auto;padding:0}}


/* v0.5.4 — ledger marketplace categories + obvious loadout controls. */
.bcw-warband .bc-market-filters{display:flex;flex-wrap:wrap;gap:5px;margin:13px 0 18px;padding:8px;border:1px solid #3f3029;background:#0f0b0b url('../images/ui/iron-grain.png') repeat;box-shadow:inset 0 0 0 1px #080606}
.bcw-warband .bc-market-filters a{padding:5px 8px;border:1px solid #46352d;background:#17100e;color:#9d7c54!important;font:9px Georgia,serif;text-decoration:none}
.bcw-warband .bc-market-filters a:hover,.bcw-warband .bc-market-filters a.is-active{border-color:#775044;background:#241513;color:#d0a164!important;box-shadow:inset 2px 0 #76241e}
.bcw-warband .bc-shop-section{margin:0 0 22px}
.bcw-warband .bc-market-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.bcw-warband .bc-market-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;min-height:78px;align-items:center;border:1px solid #49372f;background:#181110 url('../images/ui/dark-leather.png');box-shadow:inset 3px 0 0 rgba(112,30,23,.24);position:relative}
.bcw-warband .bc-market-row.is-owned{opacity:.72}
.bcw-warband .bc-market-thumb{height:76px;display:flex;align-items:center;justify-content:center;border-right:1px solid #413029;background:#0d0a0a url('../images/ui/iron-grain.png');overflow:hidden}
.bcw-warband .bc-market-thumb img{width:100%;height:100%;object-fit:contain}.bcw-warband .bc-market-thumb span{font-size:7px;color:#5b4b41}
.bcw-warband .bc-market-copy{padding:8px 9px;min-width:0}.bcw-warband .bc-market-copy h4{margin:0 0 5px;color:#c9a36c;font:normal 11px Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcw-warband .bc-market-copy p{margin:0!important;color:#725f4f!important;font-size:7px!important}
.bcw-warband .bc-market-buy{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;padding:7px 8px;white-space:nowrap}.bcw-warband .bc-market-buy strong{color:#c39958;font:normal 10px Georgia,serif}.bcw-warband .bc-market-buy form{margin:0}.bcw-warband .bc-market-buy .bc-button{min-width:54px;padding:5px 8px}
.bcw-warband .bc-owned-label{position:static;padding:3px 5px;border:1px solid #4f4134;color:#776b59;font-size:7px;text-transform:uppercase;letter-spacing:.08em}
.bcw-warband .bc-button-unequip{margin-top:4px!important;padding:3px 6px!important;min-width:62px!important;border-color:#65342f!important;color:#c18a78!important;background:#1b1111!important;font-size:7px!important;line-height:1.2!important}
.bcw-warband .bc-button-unequip:hover{border-color:#8b433a!important;color:#dda38e!important;background:#271313!important}
@media(max-width:900px){.bcw-warband .bc-market-list{grid-template-columns:1fr}}
@media(max-width:540px){.bcw-warband .bc-market-row{grid-template-columns:58px minmax(0,1fr) auto}.bcw-warband .bc-market-thumb{height:68px}.bcw-warband .bc-market-filters{gap:4px}.bcw-warband .bc-market-filters a{padding:4px 6px;font-size:8px}}
