/* PondLife 7.82 — approved Trading Post visual refinements */
body:has(#trading-post) .sp-trading-rarity-panel{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body:has(#trading-post) .sp-trading-rarity-panel #trading-rarity-grid{border:3px solid #c79b43!important;border-radius:8px!important;padding:0!important;overflow:hidden!important}
body:has(#trading-post) .pl782-wallet{margin-top:18px;padding:12px;border:1px solid #d9b56c;border-radius:12px;background:#fff9ef}
body:has(#trading-post) .pl782-wallet h3{margin:0 0 10px;color:#371852;font-size:16px}
body:has(#trading-post) .pl782-wallet-balances{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body:has(#trading-post) .pl782-wallet-balances>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px;background:#f6ecf8;border-radius:9px;color:#371852}
body:has(#trading-post) .pl782-wallet-balances small{font-size:12px}
body:has(#trading-post) .pl782-wallet-balances strong{margin-left:auto;font-size:14px}
body:has(#trading-post) .pl782-wallet-balances img{width:26px;height:26px;object-fit:contain}
body:has(#trading-post) .sp-trading-image-wrap{position:relative!important;overflow:visible!important}
body:has(#trading-post) .pl782-rarity-diamond{position:absolute;top:3px;left:4px;width:14px;height:14px;transform:rotate(45deg);border:2px solid #fff;box-shadow:0 1px 4px #37185255;background:#414B5A;z-index:2;border-radius:2px}
body:has(#trading-post) .rarity-common .pl782-rarity-diamond{background:#414B5A}
body:has(#trading-post) .rarity-uncommon .pl782-rarity-diamond{background:#176A43}
body:has(#trading-post) .rarity-rare .pl782-rarity-diamond{background:#2059A8}
body:has(#trading-post) .rarity-epic .pl782-rarity-diamond{background:#7032A0}
body:has(#trading-post) .rarity-legendary .pl782-rarity-diamond{background:#986000}
body:has(#trading-post) .rarity-mythical .pl782-rarity-diamond{background:#92288C}
body:has(#trading-post) .rarity-special .pl782-rarity-diamond{background:#A92065}
body:has(#trading-post) .rarity-event .pl782-rarity-diamond{background:#4D419F}
body:has(#trading-post) .pl782-coin-pending{display:block;font-size:10px;color:#6c527a;margin:3px 0}
@media(min-width:1001px){body:has(#trading-post) #trading-duplicates .sp-trading-list-heading,body:has(#trading-post) #trading-missing .sp-trading-list-heading{min-height:70px!important}}
body:has(#trading-post) #trading-trade-modal .sp-trading-modal-card{background:#fff9f1!important;color:#35194e!important;border:2px solid #c79b43!important;box-shadow:0 20px 65px #2e16444d!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-modal-card h2,body:has(#trading-post) #trading-trade-modal .sp-trading-modal-kicker{color:#371852!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-modal-subtitle{color:#604b6b!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-selected-row{background:#f4eafa!important;color:#35194e!important;border:1px solid #d8b46b!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-selected-row :is(b,strong,small){color:#35194e!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-modal-breakdown>div{background:#f5edf8!important;border:1px solid #e5d7eb!important;color:#35194e!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-modal-breakdown :is(span,strong){color:#35194e!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-modal-reward{background:#fff0c9!important;border:1px solid #c79b43!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-modal-reward :is(span,strong){color:#35194e!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-modal-close{background:#f1e5f6!important;color:#35194e!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-modal-actions .secondary{background:#fff9f1!important;color:#35194e!important;border:1px solid #7032a0!important}
body:has(#trading-post) #trading-trade-modal .sp-trading-confirm-button{background:#7032a0!important;color:white!important}
