/* Creature sale: pf-panel blocks, a deep list of species rows and the ba-outcome confirmation. */
dialog.window.sell-modal{width:min(640px,calc(100vw - 12px));max-height:calc(100dvh - 12px)}
#sell-body,#promote-body{display:flex;flex-direction:column;gap:6px;padding:6px;overflow:auto;max-height:calc(100dvh - 48px)}
.sl-body{padding:6px}
.sl-gold{display:inline-flex;align-items:center;gap:2px;color:#e8c547;white-space:nowrap}
.sl-gold img,.sl-gold .tibia-icon{flex:0 0 auto}
.sl-prices{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:6px}
.sl-price{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 2px;background:#262626;border:1px solid #111;border-top:3px solid var(--slot-edge);box-shadow:inset 1px 1px #000,1px 1px #6a6a6a,inset 0 -10px 12px var(--slot-glow)}
.sl-price b{color:#c0c0c0;font-weight:normal}
.sl-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr auto;gap:6px;align-items:end;margin-bottom:6px}
.sl-filters label{display:flex;flex-direction:column;gap:2px;color:#c0c0c0}
.sl-filters label.sl-check{flex-direction:row;align-items:center;gap:4px;padding-bottom:4px}
.sl-filters input[type=number]{width:100%}
.sl-only{display:flex;align-items:center;justify-content:space-between;gap:6px}
.sl-tools{display:flex;gap:4px;justify-content:flex-end;margin-bottom:4px}
.sl-list{display:flex;flex-direction:column;gap:2px;max-height:min(46dvh,420px);overflow:auto;padding:2px;background:#1c1c1c;border:1px solid #111;box-shadow:inset 1px 1px #000,1px 1px #6a6a6a}
.sl-row{display:grid;grid-template-columns:auto 34px minmax(0,1fr) auto auto;align-items:center;gap:6px;padding:3px 5px;background:#2b2b2b;border:1px solid #111;cursor:pointer}
.sl-row:nth-child(even){background:#323232}
.sl-row.is-on{border-color:#c5b47c;box-shadow:inset 0 0 0 1px #c5b47c}
.sl-row.is-empty{cursor:default;opacity:.6}
.sl-row .sprite,.sl-row img{width:32px;height:32px}
.sl-name{display:flex;flex-direction:column;min-width:0}
.sl-name strong{color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sl-name small{color:#a9a9a9}
.sl-bands{display:flex;gap:2px;flex-wrap:wrap;justify-content:flex-end}
.sl-chip{min-width:22px;padding:1px 3px;text-align:center;color:#fff;background:#1c1c1c;border:1px solid var(--slot-edge);box-shadow:inset 0 0 6px var(--slot-glow);text-shadow:1px 1px #000}
.sl-total{display:flex;flex-direction:column;align-items:flex-end;min-width:64px}
.sl-total b{color:#fff}
.sl-foot{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px;background:#3d3d3d url('/assets/ui/classic/panel-texture.png');border:1px solid #111;box-shadow:1px 1px #6a6a6a,inset 1px 1px #6a6a6a}
.sl-foot b{color:#fff}
.sl-message{min-height:0;margin:0;color:#e4ca78;text-align:center}
.sl-message:empty{display:none}
@media(max-width:600px){
 .sl-prices{grid-template-columns:repeat(3,1fr)}
 .sl-filters{grid-template-columns:1fr 1fr}
 .sl-filters label:first-child{grid-column:1/-1}
 .sl-row{grid-template-columns:auto 34px minmax(0,1fr) auto}
 .sl-bands{grid-column:3/-1;justify-content:flex-start}
 .sl-total{grid-row:1;grid-column:4}
}
.collection-species header .sell-species{min-height:20px;padding:1px 6px}
.collection-species header [data-promote-species]{margin-left:auto}
.bp-move{border-color:#c5b47c;color:#e8c547}
.sl-foot small{color:#a9a9a9}
.sl-name .sl-kept{color:#c0c0c0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sl-only{flex-wrap:wrap}
.sl-consent{display:flex;justify-content:center;gap:4px;margin:0 0 4px;color:#e4ca78}
