/* 7.76 — Scoped presentation only. No Worker or trade transaction changes. */
body:has(#trading-post) .sp-trading-page,body:has(#trading-post) .sp-combined-puddles{background:#fff7f0!important;color:#26134f!important}
body:has(#trading-post) :is(.sp-trading-list-panel,.sp-trading-history-panel,.pl-trading-help-link,.sp-trading-duck-card,.sp-combined-puddles-how,.sp-trading-rarity-panel){background:#fffaf6!important;border:1px solid #e9d6df!important;border-radius:13px!important;box-shadow:0 3px 12px #40204b0a!important;color:#24134b!important}
body:has(#trading-post) :is(.sp-trading-duck-card h3,.sp-trading-duck-card small,.sp-trading-meta-points,.sp-history-row b,.sp-history-row small,.pl-trading-help-link strong,.pl-trading-help-link small,.sp-section-title small){color:#321652!important;opacity:1!important}
body:has(#trading-post) .sp-trading-duck-card{padding:10px!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;text-align:center!important}
body:has(#trading-post) .sp-trading-duck-card h3{margin:3px 0 0!important;line-height:1.25!important;min-height:0!important}
body:has(#trading-post) .sp-trading-meta{margin:0!important;padding:0!important;gap:4px!important;display:flex!important;flex-direction:column!important;align-items:center!important}
body:has(#trading-post) .sp-trading-meta-points{font-weight:900!important;font-size:12px!important}
body:has(#trading-post) .sp-trading-qty-control{display:grid!important;grid-template-columns:30px 30px 30px!important;align-items:center!important;justify-content:center!important;gap:0!important;width:92px!important;min-height:32px!important;height:32px!important;margin:3px auto!important;border:1px solid #d9b9d5!important;border-radius:8px!important;background:#fff!important;overflow:hidden!important}
body:has(#trading-post) .sp-trading-qty-control button{width:30px!important;height:30px!important;min-width:0!important;margin:0!important;padding:0!important;line-height:30px!important;color:#351353!important;background:transparent!important}
body:has(#trading-post) .sp-trading-qty-control span{width:30px!important;line-height:30px!important;color:#24134b!important;font-weight:800!important}
body:has(#trading-post) .pl76-toolbar{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 85px!important;gap:8px!important;margin:12px 0!important}
body:has(#trading-post) .pl76-toolbar :is(input,select){display:block!important;width:100%!important;min-width:0!important;height:37px!important;border:1px solid #d9c3df!important;border-radius:8px!important;background:#fff!important;color:#29144b!important;padding:6px 10px!important;font:700 12px Nunito,system-ui,sans-serif!important}
body:has(#trading-post) .sp-trading-filter-pills[hidden],body:has(#trading-post) .sp-trading-list-tools .sp-trading-page-size,body:has(#trading-post) .sp-trading-list-tools>label{display:none!important}
body:has(#trading-post) .sp-trading-list-tools{min-height:0!important;margin:0 0 8px!important}
body:has(#trading-post) .sp-history-refresh{display:grid!important;place-items:center!important;background:#34134e!important;color:#fff!important;border:1px solid #dca84e!important;width:36px!important;height:36px!important;border-radius:10px!important;font-size:24px!important}
body:has(#trading-post) .sp-trading-history-panel{background-image:linear-gradient(#fffaf2d9,#fffaf2e6),var(--pl76-history-bg,none)!important;background-size:cover!important;background-position:center!important}
body:has(#trading-post) .sp-history-row{background:#fff9f5!important;border:1px solid #e6cbdc!important;color:#251447!important}
body:has(#trading-post) .sp-history-row>div>strong{display:block!important;margin-top:5px!important;font-size:12px!important;font-weight:900!important}
body:has(#trading-post) .sp-history-row .positive{color:#116b48!important}body:has(#trading-post) .sp-history-row .negative{color:#a51e67!important}
body:has(#trading-post) .sp-rarity-board-row{background:#fff9f5!important;border:1px solid #eadbe2!important;color:#28144e!important;display:grid!important;grid-template-columns:1.25fr 1fr 1fr!important}
body:has(#trading-post) .sp-rarity-board-row :is(strong,b){background:none!important;border:0!important;color:#28144e!important;font-weight:800!important}
body:has(#trading-post) .sp-rarity-board-head{color:#28144e!important}
body:has(#trading-post) .sp-rarity-board-name{color:#28144e!important}
body:has(#trading-post) .sp-trading-badge{background:transparent!important;border:0!important;padding:0!important;font-weight:900!important}
body:has(#trading-post) .rarity-common .sp-trading-badge{color:#425268!important}
body:has(#trading-post) .rarity-uncommon .sp-trading-badge{color:#126947!important}
body:has(#trading-post) .rarity-rare .sp-trading-badge{color:#205ca7!important}
body:has(#trading-post) .rarity-epic .sp-trading-badge{color:#6730a7!important}
body:has(#trading-post) .rarity-legendary .sp-trading-badge{color:#865509!important}
body:has(#trading-post) .rarity-mythical .sp-trading-badge{color:#8b238c!important}
body:has(#trading-post) .rarity-special .sp-trading-badge{color:#a51e67!important}
body:has(#trading-post) .rarity-event .sp-trading-badge{color:#5142a0!important}
@media(max-width:650px){body:has(#trading-post) .pl76-toolbar{grid-template-columns:1fr 1fr!important}body:has(#trading-post) .pl76-toolbar input{grid-column:1/-1!important}}
