.trade-dock{margin:0 0 18px}.trade-dock p{padding:0 8px}.trade-modal{color:#f5ecdb;background:linear-gradient(135deg,#291b3e,#130e20 70%);border:1px solid #d5b36f;border-radius:22px;width:min(900px,94vw);max-height:90dvh;padding:28px;box-shadow:0 25px 110px #000c;overflow:auto}.trade-modal::backdrop{background:#090511bd;backdrop-filter:blur(5px)}.trade-header{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:18px}.trade-header h2{font-size:clamp(25px,3vw,36px);margin:10px 0}.trade-header p,.trade-footer p{line-height:1.5;color:#c9bcd8;font-size:14px}.trade-close{width:auto;margin:0;background:#ffffff0b;color:#e2d3eb;border:1px solid #675278}.trade-target{display:flex;align-items:center;gap:18px;color:#e9cc8d;font-size:14px;margin:0 0 20px}.trade-target select{max-width:350px;margin:0}.trade-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.trade-columns fieldset,.trade-side{min-width:0;padding:16px;border:1px solid #695174;border-radius:12px;background:#100b1b66;margin:0}.trade-columns legend,.trade-side h3{font:22px Georgia;color:#f3d494;padding:0 5px;margin:0 0 12px}.trade-list{display:flex;flex-direction:column;gap:9px;max-height:32dvh;overflow-y:auto;padding:3px}.trade-choice{display:flex;gap:10px;align-items:center;margin:0;cursor:pointer}.trade-choice input{width:19px;height:19px;flex-shrink:0;margin:0;accent-color:#ecc66e}.trade-property{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-width:0;border:1px solid #695174;border-left:5px solid var(--group);border-radius:7px;padding:13px 12px;background:#2f2342}.trade-property strong{font-size:15px;overflow-wrap:anywhere}.trade-property small{white-space:nowrap;letter-spacing:0;color:#d6c49f}.trade-choice:has(input:checked) .trade-property{background:#5a4428;border-color:#eed18d}.trade-footer{margin-top:22px;border-top:1px solid #5b436d;padding-top:12px}.trade-buttons{display:flex;justify-content:flex-end;gap:12px}.trade-buttons button{width:auto;min-width:150px;padding:14px 24px}.trade-hint{font-size:12px!important}.trade-summary{color:#f3d494!important;font-weight:600}.trade-incoming{width:min(1040px,94vw);border:2px solid #f4d68d}.trade-incoming .trade-side{padding:22px}.trade-incoming .trade-property{padding:20px 14px}.trade-incoming .trade-property strong{font-size:19px}.trade-error:empty{display:none}.trade-error{color:#ffc2cb;background:#6d213a77;padding:12px;border-radius:8px}@media(max-width:600px){.trade-modal{padding:18px;width:96vw;max-height:94dvh}.trade-columns{grid-template-columns:1fr;gap:14px}.trade-list{max-height:23dvh}.trade-target{display:block}.trade-target select{max-width:none;margin-top:7px}.trade-buttons{flex-wrap:wrap}.trade-buttons button{flex:1;min-width:120px;padding:12px}.trade-header{gap:10px}.trade-incoming .trade-property strong{font-size:16px}}
