.cw-tabs{display:flex;gap:4px;border-bottom:1px solid #596064;margin-bottom:16px}.cards-view .cw-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:10px 16px;min-height:44px}.cards-view .cw-tabs button[aria-pressed=true]{color:#f2ca73;border-bottom-color:#f2ca73}.cw-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.cw-toolbar>button{margin-left:auto}.cw-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:16px;align-items:center;border-bottom:1px solid #596064;border-left:3px solid #d7ad57;padding:12px;background:#272b2d}.cw-thumb{width:52px;height:72px;overflow:hidden;pointer-events:none}.cw-thumb .cd-face{width:100%;height:100%}.cw-info,.cw-actions{display:flex;flex-direction:column;gap:4px;min-width:0}.cw-info strong{font-size:18px;overflow-wrap:anywhere}.cw-info small,.cw-info span,.cw-actions small{color:#c1c7ca}.cw-actions{align-items:flex-end}.cw-actions strong{color:#f2ca73;font-variant-numeric:tabular-nums}.cw-actions button{min-height:40px}.cw-offer{border-left-color:#64dec9}#cwOffers h4{margin:20px 0 8px}#cwStatus:empty{display:none}#cwSalesTitle{margin:20px 0 12px}.cw-dialog{width:min(480px,calc(100vw - 24px));max-height:90dvh;overflow:auto;background:#272b2d;color:#f2f0ea;border:1px solid #819095;padding:20px}.cw-dialog::backdrop{background:#000b}.cw-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}.cw-dialog h3{margin:0}.cw-dialog label{display:flex;flex-direction:column;gap:5px;margin-top:12px}.cw-dialog input,.cw-dialog select,.cw-dialog button{min-height:44px;max-width:100%}.cw-dialog input,.cw-dialog select{width:100%;background:#191d20;color:#f2f0ea;border:1px solid #7b8589;padding:8px}.cw-dialog button,.cw-toast button{background:#323b3e;color:#f2f0ea;border:1px solid #818b8e;padding:8px 12px;cursor:pointer}.cw-dialog button:disabled{opacity:.5;cursor:wait}.cw-dialog-actions{display:flex;gap:12px;margin-top:16px}.cw-dialog-actions button:first-child{border-color:#f2ca73;color:#f2ca73}.cw-preview{width:155px;margin:16px auto}.cw-preview .cd-face{width:100%}#cwDialogError{color:#ffb0a8;overflow-wrap:anywhere}.cw-toast{position:fixed;right:20px;bottom:90px;z-index:130;display:flex;gap:12px;align-items:center;max-width:calc(100vw - 24px);padding:14px 18px;background:#252c2f;color:#f2f0ea;border:1px solid #b18a43;border-left:4px solid #f2ca73;box-shadow:0 4px 18px #0006;animation:cw-arrive .2s ease-out}.cw-toast strong{min-width:0}.cw-toast[hidden],.cw-dialog [hidden],#cdMarket [hidden],#cwNotification[hidden]{display:none!important}#cwNotification{font-size:12px;max-width:150px;white-space:normal}@keyframes cw-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:520px){.cards-view .cw-tabs button{padding:8px 10px;flex:1}.cw-row{gap:10px;grid-template-columns:42px minmax(0,1fr);padding:10px}.cw-thumb{width:42px;height:58px}.cw-actions{grid-column:2;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between}.cw-info strong{font-size:16px}.cw-toast{right:12px;bottom:90px;flex-wrap:wrap;gap:8px;padding:12px}.cw-toast strong{flex-basis:100%}}@media(prefers-reduced-motion:reduce){.cw-toast{animation:none}}

@media(max-width:700px){body.has-chat-dock .cw-toast{bottom:calc(var(--mobile-chat-height,56px) + var(--mobile-ticket-height,0px) + 12px)}}

.cw-swap-side h4{margin:16px 0 10px}.cw-swap-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cw-swap-cards>div{min-width:0}.cw-swap-cards strong,.cw-swap-cards small{display:block;overflow-wrap:anywhere;margin-top:4px}.cw-swap-cards small{color:#c1c7ca}.cw-swap-picker{max-height:280px;overflow:auto;margin-top:10px}.cw-dialog .cw-swap-pick{display:flex;flex-direction:row;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #596064;margin:0}.cw-dialog .cw-swap-pick input{width:18px;min-height:18px;height:18px;flex-shrink:0}.cw-swap-pick img{width:32px;height:45px;object-fit:contain}.cw-swap-pick span{overflow-wrap:anywhere;font-size:13px}.cw-swap-pick{cursor:pointer}.cw-swap-cards .cd-face{width:100%}@media(max-width:420px){.cw-swap-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
