#camelTraderPanel{z-index:24}
#camelTraderPanel>.overlay-card{width:min(1050px,calc(100vw - 32px));max-height:calc(100dvh - 80px);padding:0;overflow:auto;background:#e1cc9f;color:#30271c;border:6px solid #735a36;border-image:url('themes/scene10/c-paper-frame.webp') 112 stretch}
#camelTraderPanel .major-event{width:100%;padding:14px;box-sizing:border-box;background:transparent}
#camelTraderPanel .major-story{margin-bottom:6px}
#camelTraderPanel .major-story img{width:95px;height:100px;object-fit:contain}
#camelTraderPanel .major-title{margin:5px 0;font:700 24px/28px var(--fantasy-title)}
.camel-chat{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}
.camel-trade-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(290px,1.1fr);gap:18px}
.camel-wares{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.camel-good{display:flex;flex-direction:column;min-width:0;gap:5px}
.camel-good .ability,.camel-selected-card .ability,.camel-owned-card{position:relative!important;display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;height:180px!important;min-height:180px!important;margin:0!important;padding:5px!important;transform:none!important;background:#e7d5af!important;color:#30271c!important;border:5px solid #705637!important;border-image:url('themes/scene10/c-paper-frame.webp') 112 stretch!important;box-sizing:border-box!important;gap:3px!important}
.camel-good .ability-art:not(.af15-art),.camel-selected-card .ability-art:not(.af15-art),.camel-owned-card .ability-art:not(.af15-art){position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:45px!important;height:60px!important;flex:none!important}
#camelTraderPanel .ability-art:not(.af15-art) :is(img,svg){max-width:100%!important;max-height:60px!important;object-fit:contain!important}
#camelTraderPanel .ability>strong,.camel-owned-card>strong{position:static!important;display:block!important;margin:0!important;font:700 15px/18px var(--fantasy-title)!important;white-space:normal!important;color:#30271c!important}
#camelTraderPanel :is(.loot-effect,.camel-owned-rules){font:14px/17px var(--fantasy-copy)!important;color:#30271c!important;position:static!important;min-height:0!important}
#camelTraderPanel .loot-tags{display:flex!important;justify-content:center!important;gap:5px!important;font:12px/14px var(--fantasy-copy)!important}
#camelTraderPanel .loot-tags>span{background:transparent!important;color:#30271c!important}
#camelTraderPanel .owner{position:static!important;display:block!important;font:12px/14px var(--fantasy-copy)!important;color:#30271c!important;background:transparent!important}
#camelTraderPanel .icon,#camelTraderPanel .loot-stat-icon{width:18px;height:18px;vertical-align:middle}
#camelTraderPanel .loot-glyph{width:13px;height:13px}
.camel-good>p{font:13px/16px var(--fantasy-copy);min-height:32px;margin:0}
#camelTraderPanel button{min-height:32px;background:#2e4b36;color:#f4e3bb;border:1px solid #9e8050;padding:4px 7px;font:14px/18px var(--fantasy-copy)}
#camelTraderPanel button:disabled{background:#77715d;color:#eee1bc;opacity:1}
.camel-good>button{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:auto}
.camel-removal h3{font:700 18px/22px var(--fantasy-title);margin:0 0 8px}
.camel-removal select{display:block;width:100%;margin:5px 0 9px;padding:5px;color:#30271c;background:#f0e0ba;border:1px solid #846b44;font:14px/18px var(--fantasy-copy)}
.camel-selected-card{max-width:170px;margin:0 auto}
.camel-selected-card>p{font:13px/16px var(--fantasy-copy);margin:4px 0}
.camel-removal-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.camel-error{padding:5px;border:1px solid #9b4c38;color:#702b20!important}
#camelTraderHome{position:fixed;inset:110px 20px 90px;display:flex;align-items:center;justify-content:center;text-align:center}
#camelTraderHome[hidden]{display:none!important}
#camelTraderHome>div{background:#30251ee8;border:3px solid #8b7149;padding:22px;color:#f3e2bb}
@media(max-width:760px){.camel-trade-layout{grid-template-columns:1fr}.camel-good .ability{height:170px!important;min-height:170px!important}}
