/* Restricted to merchant and adventure additions. */
.merchant49{--m49-gold:#b29560;--m49-line:#494031;--m49-text:#ded6c7;color:var(--m49-text)}
.merchant49 .merchant-sections-wrap{background:#101112;border:1px solid #38332b;padding:18px}.merchant49 .merchant-sections-bar{gap:8px;border-bottom:1px solid #494031;padding-bottom:18px}.merchant49 .m-section-btn{background:linear-gradient(#26231f,#171615);border:1px solid #514534;border-radius:3px;color:#cfc4ae;box-shadow:none}.merchant49 .m-section-btn.active{background:#352d22;border-color:#ac8d56;color:#eadabb}
.m49{max-width:1180px;margin:auto;font-family:Arial,sans-serif}.m49-heading{display:flex;justify-content:space-between;gap:24px;padding:34px 24px;background:radial-gradient(ellipse at 75% 120%,#4a2d1b80,transparent 60%),linear-gradient(125deg,#171719,#23201b);border:1px solid #504330}.m49 small{display:block;color:#b29973;font-size:10px;letter-spacing:1.8px}.m49 h2{font-family:Georgia,serif;font-size:clamp(25px,3vw,38px);font-weight:400;line-height:1.2;color:#e6d7ba;margin:12px 0}.m49 p{color:#a99f90;font-size:13px;line-height:1.6}.m49-purse{padding:12px 24px;min-width:155px;border-left:1px solid #574630;align-self:center}.m49-purse strong{display:block;font-family:Georgia,serif;color:#ddc18c;font-size:32px;margin:6px 0}.m49-purse span{color:#aca18d;font-size:11px}.m49-tabs{display:flex;gap:6px;margin:24px 0}.m49-tabs button{flex:1;border:1px solid #433b31;background:#19191a;color:#bdb3a2;padding:15px 8px;cursor:pointer;border-radius:2px;font-size:13px}.m49-tabs button[aria-pressed=true]{background:#332b21;color:#eed8ad;border-color:#b39866;box-shadow:inset 0 -2px #b39866}.m49-intro h3{font:24px Georgia,serif;color:#dfd2b8;margin:8px 0}.m49-intro p{margin:8px 0 24px}.m49-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.m49-item{background:linear-gradient(155deg,#252321,#141516);border:1px solid #4b4134;min-width:0;overflow:hidden;transition:border-color .2s}.m49-item:hover{border-color:#a3895f}.m49-art{height:145px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse,#3a332880,#101112 70%);border-bottom:1px solid #39332a}.m49-art>span{position:absolute;top:12px;left:12px;font:11px Georgia,serif;color:#cab284;border:1px solid #625139;padding:5px 8px;z-index:1}.m49-art img{width:85px;height:85px;object-fit:contain;filter:drop-shadow(0 8px 8px #000)}.m49-art.m49-weapon{height:240px;background:#080809}.m49-art.m49-weapon img{width:100%;height:100%;object-fit:contain}.m49-copy{padding:20px}.m49-copy small{font-size:10px;letter-spacing:1px}.m49 h4{font:21px Georgia,serif;color:#e0d4bd;margin:10px 0;min-height:48px}.m49-stats{display:flex;gap:12px;min-height:30px;color:#b5bba6;font-size:11px}.m49-cost{border-top:1px solid #39352e;padding-top:16px;color:#bba783;font-size:12px}.m49-cost strong{font:24px Georgia,serif;color:#dec397}.m49-cost span{float:right;color:#8b8376;padding-top:8px}.m49-copy button{width:100%;padding:12px;margin-top:16px;background:linear-gradient(#5c4930,#392c1c);border:1px solid #937446;color:#f1dfc3;cursor:pointer;border-radius:2px;font:14px Georgia,serif;min-height:44px}.m49-copy button:hover{background:#685236}.m49 button:disabled{opacity:.5;cursor:wait}.m49 button:focus-visible{outline:2px solid #eed4a3;outline-offset:3px}.m49-note{padding:18px 0;border-bottom:1px solid #40382b}.m49-message{min-height:1em}
.av49-damage{position:fixed;z-index:100050;pointer-events:none;text-align:center;transform:translate(-50%,-50%);animation:av49-hit 1.1s both;color:#ffe0a1;text-shadow:0 3px 0 #402207,0 0 12px #000,1px 1px 3px #000;line-height:1}.av49-damage b{font:bold clamp(36px,6vw,64px) Georgia,serif;display:block}.av49-damage small{display:block;font:bold 11px Arial,sans-serif;letter-spacing:2px;margin-bottom:4px}.av49-damage.received{color:#ffb69b}.av49-damage.critical{color:#ffcd72}.av49-damage.critical b{font-size:clamp(46px,7vw,78px)}@keyframes av49-hit{0%{opacity:0;transform:translate(-50%,-30%) scale(.65)}15%{opacity:1;transform:translate(-50%,-50%) scale(1.1)}65%{opacity:1}100%{opacity:0;transform:translate(-50%,-110%) scale(.95)}}
#av49-enemy-skills{display:flex;gap:8px;justify-content:center;position:relative;z-index:4;margin:8px 0}.av49-skill{width:44px;height:44px;border:1px solid #b39866;position:relative;padding:0;background:#131112;cursor:help;overflow:hidden}.av49-skill .v20-skill-art{position:absolute;inset:2px;width:auto;height:auto}.av49-skill.cooldown .v20-skill-art{filter:grayscale(1) brightness(.4)}.av49-skill b{position:relative;z-index:2;color:white;font:bold 24px Georgia,serif;text-shadow:0 1px 4px black}#av49-effects{color:#e9b89b;font:12px Arial,sans-serif;padding:8px;min-height:26px;background:#171311b8;text-align:center}.av49-rest{color:#c8b18a;font:12px/1.6 Arial,sans-serif;padding:12px 20px}.av49-reward{color:#e5c48a;font:24px Georgia,serif;padding:12px;text-align:center}
@media(max-width:600px){.merchant49 .merchant-sections-wrap{padding:8px}.m49-heading{padding:20px 16px;display:block}.m49-purse{border-left:0;border-top:1px solid #524430;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0 0;margin-top:20px}.m49-purse strong{font-size:26px}.m49-purse span{display:none}.m49-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.m49-copy{padding:12px}.m49-art{height:110px}.m49-art.m49-weapon{height:170px}.m49 h4{font-size:17px;min-height:58px}.m49-stats{font-size:10px;gap:5px;flex-wrap:wrap;min-height:34px}.m49-copy small{font-size:9px;line-height:1.5;letter-spacing:0}.m49-cost span{display:none}.m49-cost strong{font-size:21px}.m49-tabs button{font-size:12px}.av49-skill{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.av49-damage{animation:none;opacity:1}}
.av-combat-player>#av49-effects{position:relative;display:block;width:100%;box-sizing:border-box;order:9;z-index:5;min-height:0}.av-combat-player>#av49-effects:empty{display:none}
.m49-art{overflow:hidden;grid-template-rows:minmax(0,1fr);min-height:0}.m49-art.m49-weapon img{position:absolute;inset:0;min-width:0;min-height:0;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
