/* The Closed Sector — Market v2. Independent of inventory.css. */
.tcs-market{--tm-text:#eef0e8;--tm-muted:#93a3a8;--tm-line:rgba(229,237,232,.1);--tm-accent:#e3e7d8;display:block;grid-column:1/-1;min-width:0;width:100%;max-width:100%;padding:4px 0 28px;color:var(--tm-text);font-family:inherit}
.tcs-market :where([class^="tm-"],[class*=" tm-"]){box-sizing:border-box}
.tcs-market [hidden]{display:none!important}
.tcs-market :where(button,input,select){font-family:inherit;outline-offset:3px}
.tcs-market :where(button,a,input,select):focus-visible{outline:2px solid #e3e7d8;outline-offset:3px}
.tcs-market :where(button){cursor:pointer;touch-action:manipulation;letter-spacing:normal;text-transform:none}
.tcs-market .tm-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}
.tcs-market .tm-title{font-family:Bender,Arial,sans-serif;font-size:clamp(24px,3.1vw,36px);font-weight:700;line-height:1.08;letter-spacing:-.03em;margin:0;padding:50px 0 0 0;color:var(--tm-text)}
.tcs-market .tm-eyebrow{margin-top:9px;font-size:10px;font-weight:600;letter-spacing:.14em;color:var(--tm-muted)}
.tcs-market .tm-tool{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--tm-line);border-radius:9px;background:rgba(255,255,255,.035);color:#cad3d2;font-size:25px;line-height:1}
.tcs-market .tm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;background:linear-gradient(115deg,rgba(37,55,62,.48),rgba(23,38,43,.34));border:1px solid var(--tm-line);border-radius:13px}
.tcs-market .tm-tabs{display:flex;flex:none;gap:4px;padding:3px;border-radius:10px;background:rgba(0,0,0,.24)}
.tcs-market .tm-tab{min-height:39px;padding:10px 17px;border:1px solid transparent;border-radius:7px;background:none;color:var(--tm-muted);font-size:13px;font-weight:600;line-height:1.25;white-space:nowrap}
.tcs-market .tm-tab[aria-pressed="true"]{background:var(--tm-accent);color:#172126;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.tcs-market .tm-search{display:flex;align-items:center;gap:9px;flex:0 1 365px;min-width:0;min-height:44px;padding:0 12px;border:1px solid var(--tm-line);border-radius:9px;background:rgba(0,0,0,.2);color:var(--tm-muted)}
.tcs-market .tm-search>span{font-family:Arial,sans-serif;font-size:25px;line-height:1}
.tcs-market .tm-search:focus-within{border-color:rgba(227,231,216,.48);box-shadow:0 0 0 3px rgba(227,231,216,.04)}
.tcs-market .tm-search input{box-sizing:border-box;display:block;flex:1 1 auto;min-width:0;width:100%;max-width:none;height:42px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--tm-text);font-family:inherit;font-size:13px;outline:none}
.tcs-market .tm-search input::placeholder{color:#899a9f;opacity:1}
.tcs-market .tm-search input::-webkit-search-cancel-button{display:none}
.tcs-market .tm-search button,.tcs-market .tm-selected button{flex:none;display:grid;place-items:center;width:26px;height:32px;margin:0;padding:0;border:0;background:none;color:var(--tm-muted);font-size:22px;line-height:1}
.tcs-market .tm-categories{display:flex;gap:5px;flex-wrap:nowrap;min-width:0;max-width:100%;padding:17px 0 10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#405258 transparent;-webkit-overflow-scrolling:touch}
.tcs-market .tm-chip{display:inline-flex;flex:none;align-items:center;gap:6px;min-height:35px;margin:0;padding:8px 11px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--tm-muted);font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap}
.tcs-market .tm-chip[aria-pressed="true"]{color:var(--tm-text);background:rgba(233,239,224,.075);border-color:rgba(233,239,224,.15)}
.tcs-market .tm-chip [data-tm-arrow]{min-width:9px;color:#b9c6bd}
.tcs-market .tm-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:0 0 13px;border-bottom:1px solid var(--tm-line)}
.tcs-market .tm-sorts{display:flex;flex-wrap:nowrap;gap:3px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin}
.tcs-market .tm-sorts .tm-chip{font-size:11px;padding:7px 10px}
.tcs-market .tm-selects{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.tcs-market .tm-selects select{box-sizing:border-box;width:auto;max-width:100%;min-width:0;height:34px;margin:0;padding:5px 25px 5px 10px;border:1px solid var(--tm-line);border-radius:7px;background-color:#142329;color:#becbc9;font-size:11px;line-height:1.3;cursor:pointer;color-scheme:dark}
.tcs-market .tm-reset{padding:8px 5px;border:0;background:none;color:var(--tm-muted);font-size:11px;line-height:1.3}
.tcs-market .tm-selected{display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;margin-top:13px;padding:2px 7px 2px 12px;border:1px solid rgba(227,231,216,.2);border-radius:7px;color:#d7dfd4;background:rgba(227,231,216,.05);font-size:12px;overflow-wrap:anywhere; padding: 5px 9px;}
.tcs-market .tm-selected a {color: #fff; font-weight: bold;}
.tcs-market .tm-summary{padding:17px 1px 13px;color:var(--tm-muted);font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums}
.tcs-market .tm-notice{margin:0 0 14px;padding:12px 14px;border:1px solid rgba(227,173,111,.25);border-radius:8px;background:rgba(174,120,64,.06);color:#e0c7a8;font-size:12px;line-height:1.5}
.tcs-market .tm-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;align-items:start;min-width:0;width:100%;margin:0 0 10px 0;padding:0;transition:opacity .15s}
/* No transform, filter or overflow clipping on the popup's ancestors. */
.tcs-market .tm-lot.market-row{--tm-rgb:205,215,221;display:grid;grid-template-columns:80px minmax(0,1.5fr) minmax(80px,.7fr) minmax(110px,.8fr) 125px;align-items:center;gap:16px;position:relative;min-width:0;width:100%;height:auto;margin:0;padding:12px;border:1px solid rgba(var(--tm-rgb),.2);border-radius:10px;background:linear-gradient(100deg,rgba(var(--tm-rgb),.07),rgba(16,29,34,.55));box-shadow:none;overflow:visible;color:var(--tm-text);transform:none;filter:none;opacity:1}
.tcs-market .tm-lot.rarity1{--tm-rgb:205,215,221}
.tcs-market .tm-lot.rarity2{--tm-rgb:92,170,224}
.tcs-market .tm-lot.rarity3{--tm-rgb:176,124,230}
.tcs-market .tm-lot.rarity4{--tm-rgb:221,178,82}
.tcs-market .tm-lot.rarity5{--tm-rgb:224,99,101}
.tcs-market .tm-cover{position:relative;display:block;min-width:0;width:100%;height:auto;aspect-ratio:1/1;margin:0;padding:0;border:1px solid rgba(var(--tm-rgb),.23);border-radius:11px;background:radial-gradient(ellipse at 50% 15%,rgba(var(--tm-rgb),.15),transparent 70%),linear-gradient(160deg,#1a2a31,#101d22);box-shadow:inset 0 1px 0 rgba(var(--tm-rgb),.055);color:var(--tm-text);text-align:left;overflow:hidden;transition:border-color .18s,box-shadow .18s}
.tcs-market .tm-cover.set-item::before,.tcs-market .tm-cover.set-item::after{content:none}
.tcs-market .tm-image{position:absolute!important;inset:15%!important;display:block;width:70%!important;height:70%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:contain;pointer-events:none;filter:drop-shadow(0 8px 7px rgba(0,0,0,.24));opacity:1}
.tcs-market .tm-state{position:absolute;top:5px;left:5px;z-index:1;margin:0;padding:0;font-family:Bender,Arial,sans-serif;font-size:10px;font-variant-numeric:tabular-nums;line-height:14px;color:#c5cfcd;white-space:nowrap}
.tcs-market .tm-corner{position:absolute;top:5px;right:5px;z-index:1;display:flex;align-items:center;gap:5px;min-height:14px}
.tcs-market .tm-own{display:block;padding:1px 4px;border-radius:3px;background:rgba(0,0,0,.3);color:#c8d6ba;font-size:8px;line-height:12px;letter-spacing:.04em}
.tcs-market .tm-set{font-size:10px;line-height:14px;color:#d6c999}
.tcs-market .tm-condition{position:absolute;left:5px;right:5px;bottom:5px;height:3px;margin:0;background:rgba(var(--tm-rgb),.12);border-radius:2px;overflow:hidden}
.tcs-market .tm-condition>span{display:block;height:100%;background:rgba(var(--tm-rgb),.8);border-radius:inherit}
.tcs-market .tm-lot--damaged .tm-state{color:#ed9994}
.tcs-market .tm-lot--damaged .tm-condition>span{background:#dc8a83}
.tcs-market .tm-lot__body{display:contents}
.tcs-market .tm-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;height:auto;min-height:32px;margin:0;padding:0;border:0;background:none;color:#e8ece5;font-size:12px;font-weight:500;line-height:16px;text-align:left;overflow-wrap:anywhere}
.tcs-market .tm-seller{height:auto;min-width:0;margin-top:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#83969b;font-size:10px;line-height:17px}
.tcs-market .tm-seller a{color:inherit;text-decoration:none}
.tcs-market .tm-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;margin-top:0;min-width:0;color:#edf0e4;font-family:Bender,Arial,sans-serif;font-size:19px;font-weight:700;line-height:1.15;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.tcs-market .tm-price>span{color:#83969b;font-family:inherit;font-size:9px;font-weight:400}
.tcs-market .tm-action{display:block;width:100%;min-height:38px;margin:0;padding:8px 5px;border:1px solid rgba(var(--tm-rgb),.18);border-radius:7px;background:rgba(var(--tm-rgb),.055);color:#d1dbd5;font-size:11px;line-height:1.25;text-align:center;transition:background .18s,border-color .18s}
.tcs-market .tm-lot[data-sold]{opacity:.3;pointer-events:none}
.tcs-market .tm-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:230px;padding:35px 15px;color:var(--tm-muted);font-size:12px;line-height:1.5;text-align:center}
.tcs-market .tm-empty>span:first-child{font-size:32px;opacity:.45}
.tcs-market .tm-empty strong{color:#d5ded7;font-size:16px;font-weight:500}
.tcs-market .tm-more{display:flex;justify-content:center;margin-top:10px;}
.tcs-market .tm-more__button{min-width:180px;min-height:42px;margin:0;padding:10px 22px;border:1px solid var(--tm-line);border-radius:9px;background:rgba(227,231,216,.07);color:#dfe4d5;font-size:12px;line-height:1.4}
.tcs-market button:disabled{opacity:.5;cursor:wait}
.tcs-market.tm-loading .tm-grid{opacity:.4;pointer-events:none}
.tcs-market.tm-loading .tm-tool{animation:tm-pulse 1s ease-in-out infinite}
@keyframes tm-pulse{50%{opacity:.4}}
@media(hover:hover){.tcs-market .tm-cover:hover{border-color:rgba(var(--tm-rgb),.58);box-shadow:inset 0 0 28px rgba(var(--tm-rgb),.035),0 5px 14px rgba(0,0,0,.12)}.tcs-market .tm-action:hover{background:rgba(var(--tm-rgb),.13);border-color:rgba(var(--tm-rgb),.4)}.tcs-market .tm-chip:hover,.tcs-market .tm-tool:hover,.tcs-market .tm-more__button:hover{background:rgba(235,240,227,.1);color:#e3e7d8}.tcs-market .tm-name:hover,.tcs-market .tm-seller a:hover,.tcs-market .tm-reset:hover{color:#fff}}
@media(max-width:700px){.tcs-market .tm-toolbar{flex-wrap:wrap;gap:12px;padding:11px}.tcs-market .tm-search{flex:1 1 100%}.tcs-market .tm-tabs{width:100%}.tcs-market .tm-tab{flex:1}.tcs-market .tm-controls{gap:9px}.tcs-market .tm-selects{width:100%}.tcs-market .tm-selects select{flex:1}.tcs-market .tm-grid{grid-template-columns:minmax(0,1fr);gap:9px}.tcs-market .tm-price{font-size:17px}.tcs-market .tm-search input{font-size:16px}.tcs-market .tm-eyebrow{font-size:9px;letter-spacing:.1em}}
@media(max-width:520px){.tcs-market .tm-grid{grid-template-columns:minmax(0,1fr);gap:8px}.tcs-market .tm-header{margin-bottom:19px}.tcs-market .tm-lot__body{padding-top:8px}.tcs-market .tm-name{font-size:11px;line-height:15px;height:30px}.tcs-market .tm-price{font-size:16px;gap:3px}.tcs-market .tm-price>span{font-size:8px}.tcs-market .tm-action{font-size:10px;min-height:35px}.tcs-market .tm-cover{border-radius:9px}.tcs-market .tm-sorts .tm-chip{padding:7px 9px}}
@media(max-width:350px){.tcs-market .tm-grid{gap:6px}.tcs-market .tm-tab{padding:10px 9px;font-size:12px}.tcs-market .tm-selects{gap:4px}.tcs-market .tm-selects select{padding-left:6px;font-size:10px}.tcs-market .tm-reset{font-size:10px}}
@media(max-width:700px){.tcs-market .tm-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tcs-market .tm-selects select{width:100%}.tcs-market .tm-reset{grid-column:1/-1;justify-self:end;padding:4px 0}}
@media(prefers-reduced-motion:reduce){.tcs-market .tm-cover,.tcs-market .tm-action,.tcs-market .tm-grid{transition:none}.tcs-market.tm-loading .tm-tool{animation:none}}

/* Each offer is a horizontal row, including narrow screens. */
@media(max-width:900px){.tcs-market .tm-lot.market-row{grid-template-columns:68px minmax(0,1fr) minmax(110px,.6fr) 112px;gap:12px}.tcs-market .tm-cover{grid-column:1;grid-row:1/3}.tcs-market .tm-name{grid-column:2;grid-row:1;min-height:0}.tcs-market .tm-seller{grid-column:2;grid-row:2;align-self:start}.tcs-market .tm-price{grid-column:3;grid-row:1/3}.tcs-market .tm-action{grid-column:4;grid-row:1/3}}
@media(max-width:600px){.tcs-market .tm-lot.market-row{grid-template-columns:64px minmax(0,1fr) 82px;column-gap:10px;row-gap:5px;padding:10px}.tcs-market .tm-cover{grid-row:1/4}.tcs-market .tm-name{grid-column:2/4;grid-row:1;line-height:16px;height:auto;min-height:0;font-size:12px}.tcs-market .tm-seller{grid-column:2;grid-row:2;font-size:10px}.tcs-market .tm-price{grid-column:2;grid-row:3;align-self:start;font-size:16px}.tcs-market .tm-action{grid-column:3;grid-row:2/4;min-height:36px;font-size:10px}.tcs-market .tm-price>span{font-size:9px}}
/* Integrated listing screen. No selectors for popup_body/wmodal or their contents. */
.tcs-market .tm-views{display:flex;gap:6px;margin:0 0 18px;border-bottom:1px solid var(--tm-line);padding-bottom:12px}
.tcs-market .tm-view{display:inline-block;padding:9px 16px;border:1px solid transparent;border-radius:8px;color:var(--tm-muted);font-size:13px;text-decoration:none}
.tcs-market .tm-view[aria-current="page"]{color:#e3e7d8;background:rgba(227,231,216,.08);border-color:var(--tm-line)}
.tcs-market .tm-sell__intro h3{margin:0 0 8px;font-family:Bender,Arial,sans-serif;font-size:23px;color:var(--tm-text)}
.tcs-market .tm-sell__intro p,.tcs-market .tm-sell__hint{margin:0;color:var(--tm-muted);font-size:12px;line-height:1.6}
.tcs-market .tm-sell__account{margin:16px 0;padding:12px 14px;border:1px solid var(--tm-line);border-radius:9px;background:#142329;color:#d8e0d5;font-size:12px;line-height:1.8}
.tcs-market .tm-sell__pricing{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;padding:16px;border:1px solid var(--tm-line);border-radius:12px;background:rgba(255,255,255,.02)}
.tcs-market .tm-sell__pricing label{display:flex;flex-direction:column;gap:8px;min-width:0;color:#adbfbe;font-size:12px}
.tcs-market .tm-sell__pricing input,.tcs-market .tm-sell__pricing select{box-sizing:border-box;width:100%;min-width:0;height:42px;margin:0;padding:8px 10px;border:1px solid var(--tm-line);border-radius:7px;background:#0e1d23;color:#eef0e8;font-family:inherit;font-size:14px;color-scheme:dark;box-shadow:none}
.tcs-market .tm-sell__pricing p{grid-column:1/-1;margin:0;color:var(--tm-muted);font-size:11px;line-height:1.5}
.tcs-market .tm-sell__tools{display:flex;align-items:center;gap:10px;margin:18px 0 10px}.tcs-market .tm-sell__tools .tm-search{flex:1;max-width:480px}
.tcs-market .tm-sell__selection{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:10px 0}.tcs-market .tm-sell__selection>span{margin-left:auto;color:var(--tm-muted);font-size:11px}
.tcs-market .tm-sell__list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0}
.tcs-market .tm-sell-row{--tm-rgb:205,215,221;display:grid;grid-template-columns:22px 64px minmax(0,1fr) minmax(100px,.3fr);align-items:center;gap:14px;min-width:0;padding:12px;border:1px solid rgba(var(--tm-rgb),.2);border-radius:9px;background:linear-gradient(100deg,rgba(var(--tm-rgb),.06),transparent);cursor:pointer}
.tcs-market .tm-sell-row>input{appearance:auto!important;-webkit-appearance:checkbox!important;position:static!important;width:18px!important;height:18px!important;opacity:1!important;margin:0;accent-color:#ccd9c6;cursor:pointer}
.tcs-market .tm-sell-row__image{display:block;width:64px;height:64px;object-fit:contain;margin:0;padding:5px;box-sizing:border-box}
.tcs-market .tm-sell-row__info{display:flex;flex-direction:column;gap:5px;min-width:0}.tcs-market .tm-sell-row__info strong{font-size:13px;font-weight:500;color:#e5e9dd;overflow-wrap:anywhere}.tcs-market .tm-sell-row__info span{color:var(--tm-muted);font-size:11px;line-height:1.4}
.tcs-market .tm-sell-row__price{color:#dce5d6;font-family:Bender,Arial,sans-serif;font-size:17px;font-weight:600;overflow-wrap:anywhere;text-align:right}
.tcs-market .tm-sell-row--selected{border-color:rgba(var(--tm-rgb),.6);background-color:rgba(var(--tm-rgb),.06)}.tcs-market .tm-sell-row--invalid .tm-sell-row__price{color:#ed9994}
.tcs-market .tm-sell__checkout{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0;padding:16px;border:1px solid var(--tm-line);border-radius:12px;background:#142329}.tcs-market .tm-sell__checkout>div{display:flex;flex-direction:column;gap:6px;min-width:0}.tcs-market .tm-sell__checkout strong{color:#e3e7d8;font-size:14px;font-weight:500}.tcs-market .tm-sell__checkout span{color:var(--tm-muted);font-size:12px;line-height:1.5}.tcs-market .tm-sell__checkout [data-ts-validation]{color:#ed9994}
@media(max-width:650px){.tcs-market .tm-sell__pricing{grid-template-columns:minmax(0,1fr);padding:12px}.tcs-market .tm-sell__pricing input,.tcs-market .tm-sell__pricing select{font-size:16px}.tcs-market .tm-sell__pricing .tm-chip{justify-self:start}.tcs-market .tm-sell-row{grid-template-columns:18px 48px minmax(0,1fr);gap:8px;padding:10px}.tcs-market .tm-sell-row__image{width:48px;height:48px}.tcs-market .tm-sell-row__price{grid-column:3;text-align:left;font-size:16px}.tcs-market .tm-sell-row__info strong{font-size:12px}.tcs-market .tm-sell__selection>span{flex-basis:100%;margin:5px 0}.tcs-market .tm-sell__checkout{flex-direction:column;align-items:stretch;gap:14px}.tcs-market .tm-sell__checkout .tm-more__button{width:100%}}

/* Inline per-item price editor; native modal styles remain site-owned. */
.tcs-market .tm-sell-price-button,.tcs-market .tm-sell-price-reset{background:none;border:0;padding:4px 0;color:inherit;font:inherit;cursor:pointer;text-align:inherit}
.tcs-market .tm-sell-price-button{text-decoration:none}
.tcs-market .tm-sell-price-reset{display:block;margin-left:auto;font-size:12px;opacity:.7}
.tcs-market .tm-sell-price-input{box-sizing:border-box;width:100%;min-width:0;max-width:190px;padding:4px 0;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;color:#fff;font:inherit;text-align:inherit}
.tcs-market .tm-sell-row__price [hidden]{display:none!important}
@media(max-width:650px){.tcs-market .tm-sell-price-reset{margin-left:0}}

.tcs-market .tm-sell__pricing[hidden]{display:none!important}

.tcs-market .tm-sell-price-button--placeholder{opacity:.45}
.tcs-market .tm-sell-price-input:focus{border:0;outline:none;box-shadow:none;background:transparent;color:#fff}
.tcs-market .tm-sell-price-input::placeholder{color:rgba(255,255,255,.45);opacity:1}
.tcs-market .tm-sell-price-input{appearance:textfield;-moz-appearance:textfield}
.tcs-market .tm-sell-price-input::-webkit-inner-spin-button,.tcs-market .tm-sell-price-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
/* === THE CLOSED SECTOR: COLLECTOR ===
   Scoped to .tcs-collector. Native wmodal windows use the site's own CSS. */
.tcs-collector{--tc-text:#eef0e8;--tc-muted:#93a3a8;--tc-line:rgba(229,237,232,.1);--tc-accent:#e3e7d8;display:block;min-width:0;width:100%;margin:32px 0;color:var(--tc-text);font-family:inherit}
.tcs-collector :where([class^="tc-"],[class*=" tc-"]){box-sizing:border-box}
.tcs-collector [hidden]{display:none!important}
.tcs-collector :where(button,input,select){font-family:inherit;letter-spacing:normal;text-transform:none}
.tcs-collector :where(button,input,select,summary):focus-visible{outline:2px solid var(--tc-accent);outline-offset:3px}
.tcs-collector button{cursor:pointer;touch-action:manipulation}
.tcs-collector button:disabled{opacity:.4;cursor:default}
.tcs-collector .tc-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.tcs-collector .tc-header h2{margin:0;padding:0;color:var(--tc-text);font:700 clamp(24px,3vw,34px)/1.1 Bender,Arial,sans-serif;letter-spacing:-.025em}
.tcs-collector .tc-header p{margin:8px 0 0;font-size:12px;line-height:1.5;color:var(--tc-muted)}
.tcs-collector .tc-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;border:1px solid transparent;border-radius:7px;background:var(--tc-accent);color:#172126;font-size:13px;font-weight:600;line-height:1.2;white-space:normal;transition:background .15s}
.tcs-collector .tc-action:hover:not(:disabled){background:#f2f4eb}
.tcs-collector .tc-create{flex-shrink:0}
.tcs-collector .tc-muted{color:var(--tc-muted)}
.tcs-collector .tc-loyalty{margin-bottom:22px;padding:16px 18px;border:1px solid var(--tc-line);border-radius:10px;background:linear-gradient(110deg,rgba(44,62,64,.3),rgba(22,38,43,.18));font-size:12px}
.tcs-collector .tc-loyalty summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;cursor:pointer;list-style:none;line-height:1.5}
.tcs-collector .tc-loyalty summary::-webkit-details-marker{display:none}
.tcs-collector .tc-loyalty summary b{margin-left:10px;font-weight:500;color:var(--tc-muted)}
.tcs-collector .tc-progress{display:block;grid-column:1/-1;height:4px;border-radius:2px;overflow:hidden;background:rgba(255,255,255,.07)}
.tcs-collector .tc-progress i{display:block;height:100%;background:#c8d3be}
.tcs-collector .tc-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:18px;padding-top:16px;border-top:1px solid var(--tc-line)}
.tcs-collector .tc-level-info{display:flex;flex-direction:column;gap:7px;line-height:1.4;color:var(--tc-muted)}
.tcs-collector .tc-level-info strong{margin-bottom:3px;color:var(--tc-text)}
.tcs-collector .tc-level-info b{color:var(--tc-text);font-weight:500}
.tcs-collector .tc-toolbar{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:12px;background:rgba(29,46,52,.45);border:1px solid var(--tc-line);border-radius:11px}
.tcs-collector .tc-tabs{display:flex;gap:4px;max-width:100%;overflow-x:auto;scrollbar-width:thin}
.tcs-collector .tc-tabs button{flex:none;min-height:39px;padding:10px 13px;border:0;border-radius:7px;background:transparent;color:var(--tc-muted);font-size:13px;font-weight:600;white-space:nowrap}
.tcs-collector .tc-tabs button[aria-pressed="true"]{background:var(--tc-accent);color:#172126}
.tcs-collector .tc-tabs button span{margin-left:5px;opacity:.65;font-size:11px}
.tcs-collector .tc-search{display:block;flex:0 1 275px;min-width:100px}
.tcs-collector .tc-search input{box-sizing:border-box;display:block;width:100%;min-width:0;height:40px;margin:0;padding:0 12px;background:rgba(0,0,0,.16);border:1px solid var(--tc-line);border-radius:7px;color:var(--tc-text);font-size:13px;box-shadow:none}
.tcs-collector .tc-search input::placeholder{color:var(--tc-muted)}
.tcs-collector .tc-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 0 12px;border-bottom:1px solid var(--tc-line)}
.tcs-collector .tc-filters{display:flex;gap:4px;flex:1 1 auto}
.tcs-collector .tc-filters button,.tcs-collector .tc-refresh{padding:8px 10px;min-height:34px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--tc-muted);font-size:12px;white-space:nowrap}
.tcs-collector .tc-filters button[aria-pressed="true"]{border-color:rgba(230,240,224,.15);background:rgba(230,240,224,.065);color:var(--tc-text)}
.tcs-collector .tc-filters span{margin-left:4px;opacity:.65}
.tcs-collector .tc-refresh{border-color:var(--tc-line)}
.tcs-collector .tc-sort{display:flex;align-items:center;gap:8px;color:var(--tc-muted);font-size:12px}
.tcs-collector .tc-sort select{margin:0;padding:7px 9px;height:35px;max-width:180px;border:1px solid var(--tc-line);border-radius:6px;background:#132329;color:var(--tc-text);font-size:12px}
.tcs-collector .tc-summary{margin:12px 0 18px;color:var(--tc-muted);font-size:11px;line-height:1.5}
.tcs-collector .tc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0}
.tcs-collector .tc-grid[aria-busy="true"]{opacity:.55;pointer-events:none}
.tcs-collector .tc-card{--tc-rgb:205,215,221;min-width:0;display:flex;flex-direction:column;border:1px solid rgba(var(--tc-rgb),.24);border-radius:11px;overflow:hidden;background:linear-gradient(155deg,rgba(var(--tc-rgb),.055),rgba(13,27,32,.6));transition:border-color .15s}
.tcs-collector .tc-card:hover{border-color:rgba(var(--tc-rgb),.48)}
.tcs-collector .tc-rarity2{--tc-rgb:89,166,245}.tcs-collector .tc-rarity3{--tc-rgb:176,124,230}.tcs-collector .tc-rarity4{--tc-rgb:221,177,81}.tcs-collector .tc-rarity5{--tc-rgb:221,96,86}
.tcs-collector .tc-cover{position:relative;display:flex;align-items:center;justify-content:center;height:170px;padding:20px 24px 38px;background:radial-gradient(ellipse at center,rgba(var(--tc-rgb),.13),transparent 72%);border-bottom:1px solid rgba(var(--tc-rgb),.13)}
.tcs-collector .tc-cover img{display:block;width:100%;height:100%;max-width:220px;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(0,0,0,.22))}
.tcs-collector .tc-have{position:absolute;bottom:11px;left:12px;right:12px;text-align:center;color:var(--tc-muted);font-size:10px;line-height:1.3}
.tcs-collector .tc-have--yes{color:#c7d7af}
.tcs-collector .tc-card-body{display:flex;flex-direction:column;flex:1;gap:13px;padding:16px}
.tcs-collector .tc-card h3{padding:0;margin:0;color:var(--tc-text);font:600 17px/1.25 Bender,Arial,sans-serif;overflow-wrap:anywhere;min-height:43px}
.tcs-collector .tc-deadline{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:var(--tc-muted);font-size:11px;line-height:1.4}
.tcs-collector .tc-deadline time{color:#b8c5c4}.tcs-collector .tc-deadline .tc-deadline--soon{color:#e3b085}
.tcs-collector .tc-reward{display:flex;flex-direction:column;gap:5px;margin-top:auto}
.tcs-collector .tc-reward>span{color:var(--tc-muted);font-size:10px}
.tcs-collector .tc-reward strong{color:var(--tc-text);font:600 23px/1.25 Bender,Arial,sans-serif;overflow-wrap:anywhere}
.tcs-collector .tc-reward small{font-size:12px;font-weight:400}
.tcs-collector .tc-card-footer{margin-top:3px}
.tcs-collector .tc-card-footer .tc-action{width:100%}
.tcs-collector .tc-status{display:flex;justify-content:center;align-items:center;min-height:40px;padding:10px;border:1px solid var(--tc-line);border-radius:7px;color:var(--tc-muted);font-size:12px}
.tcs-collector .tc-status--taken{color:#c7d7af;background:rgba(170,196,137,.04)}
.tcs-collector .tc-notice{padding:13px 15px;margin:12px 0;border:1px solid rgba(202,164,96,.3);border-radius:8px;background:rgba(202,164,96,.05);color:#e5d8bf;font-size:13px;line-height:1.5}
.tcs-collector .tc-empty{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;min-height:240px;padding:28px;text-align:center;line-height:1.5;font-size:13px;color:var(--tc-muted)}
.tcs-collector .tc-empty strong{color:var(--tc-text);font-size:17px}
.tcs-collector .tc-empty button{margin-top:6px}
.tcs-collector .tc-footer{display:flex;flex-direction:column;align-items:center;gap:15px;margin-top:22px;color:var(--tc-muted);font-size:11px}
.tcs-collector .tc-footer button{min-width:180px;background:rgba(230,240,224,.06);border-color:var(--tc-line);color:var(--tc-text)}
.tcs-collector .tc-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.tcs-collector .tc-toolbar{flex-wrap:wrap}.tcs-collector .tc-search{flex:1 1 100%}.tcs-collector .tc-grid{gap:10px}.tcs-collector .tc-card-body{padding:12px}.tcs-collector .tc-reward strong{font-size:20px}}
@media(max-width:650px){.tcs-collector .tc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tcs-collector .tc-header{align-items:flex-start;flex-direction:column;gap:13px}.tcs-collector .tc-header p{font-size:11px}.tcs-collector .tc-cover{height:130px;padding:14px 14px 36px}.tcs-collector .tc-card h3{font-size:15px;min-height:38px}.tcs-collector .tc-reward strong{font-size:18px}.tcs-collector .tc-reward small{font-size:10px}.tcs-collector .tc-tabs{width:100%}.tcs-collector .tc-tabs button{padding:10px;font-size:12px}.tcs-collector .tc-controls{gap:9px}.tcs-collector .tc-filters{flex-basis:100%}.tcs-collector .tc-refresh{margin-left:auto}.tcs-collector .tc-loyalty{padding:13px}.tcs-collector .tc-loyalty summary{grid-template-columns:minmax(0,1fr);gap:5px}.tcs-collector .tc-progress{margin-top:6px}.tcs-collector .tc-search input{font-size:16px}.tcs-collector .tc-card-footer .tc-action{font-size:12px;padding:10px 6px}}
@media(max-width:370px){.tcs-collector .tc-grid{grid-template-columns:minmax(0,1fr)}.tcs-collector .tc-levels{grid-template-columns:minmax(0,1fr)}.tcs-collector .tc-cover{height:160px}.tcs-collector .tc-card h3{min-height:0}}
@media(prefers-reduced-motion:reduce){.tcs-collector *{transition:none!important}}

/* Sales report. Scoped to the sale panel; native wmodal styles remain untouched. */
.tcs-market .tm-report{margin-top:32px;padding:24px;border:1px solid #ffffff12;border-radius:14px;background:#101d22;color:#eceee9;min-width:0}
.tcs-market .tm-report [hidden],.tcs-market .tm-report[hidden]{display:none!important}
.tcs-market .tm-report__header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.tcs-market .tm-report__header h3{margin:0;font-size:22px;color:inherit}
.tcs-market .tm-report__header p{margin:6px 0 0;color:#9caeae}
.tcs-market .tm-report__logo{width:108px;max-height:46px;object-fit:contain}
.tcs-market .tm-report__tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:22px}
.tcs-market .tm-report__tools label{display:flex;flex-direction:column;gap:7px;color:#9caeae;font-size:13px}
.tcs-market .tm-report__tools select{color:#eef1ec;background:#192a30;border:1px solid #ffffff16;border-radius:8px;padding:10px;font:inherit;max-width:100%}
.tcs-market .tm-report__stats{display:flex;flex-wrap:wrap;gap:20px 36px;margin-bottom:18px}
.tcs-market .tm-report__stats>div{display:flex;flex-direction:column;gap:6px}
.tcs-market .tm-report__stats span{color:#9caeae;font-size:12px}
.tcs-market .tm-report__stats strong{font-size:17px;font-weight:500}
.tcs-market .tm-report__up{color:#8ecbb2}.tcs-market .tm-report__down{color:#e89c93}
.tcs-market .tm-report__chart{position:relative;min-width:0}
.tcs-market .tm-report__chart svg{display:block;width:100%;height:auto;overflow:visible}
.tcs-market .tm-report__grid{stroke:#ffffff12;stroke-width:1}
.tcs-market .tm-report__axis{fill:#91a5a7;font-size:11px;font-family:inherit}
.tcs-market .tm-report__line{fill:none;stroke:#9ccab6;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.tcs-market .tm-report__point{fill:#b4d9c8;outline:none}
.tcs-market .tm-report__point:focus{stroke:#fff;stroke-width:3}
.tcs-market .tm-report__active{fill:#eef7ef;stroke:#89bba5;stroke-width:2}
.tcs-market .tm-report__tooltip{position:absolute;top:4px;max-width:calc(100% - 24px);box-sizing:border-box;padding:12px 15px;border:1px solid #88b19a66;border-radius:10px;background:#15282af2;box-shadow:0 8px 24px #0004;pointer-events:none;display:flex;flex-direction:column;gap:5px;font-size:12px;z-index:1}
.tcs-market .tm-report__tooltip strong{font-size:17px;color:#eaf6ed}
.tcs-market .tm-report__hint{font-size:12px;line-height:1.6;color:#91a5a7;margin:12px 0}
.tcs-market .tm-report__table{font-size:13px;color:#afbebc}
.tcs-market .tm-report__table summary{cursor:pointer;padding:8px 0}
.tcs-market .tm-report__table>div{max-height:300px;overflow:auto}
.tcs-market .tm-report__table table{width:100%;border-collapse:collapse;text-align:left}
.tcs-market .tm-report__table th,.tcs-market .tm-report__table td{padding:10px 8px;border-bottom:1px solid #ffffff12;font-size:12px}
@media(max-width:600px){.tcs-market .tm-report{padding:16px 12px}.tcs-market .tm-report__header h3{font-size:18px}.tcs-market .tm-report__logo{width:80px}.tcs-market .tm-report__chart svg{height:240px}.tcs-market .tm-report__stats{gap:14px 20px}.tcs-market .tm-report__tools label{flex:1;min-width:100px}.tcs-market .tm-report__header{align-items:start}.tcs-market .tm-report__tooltip{font-size:11px}}

/* v12: grouped sale catalogue, searchable item menus and readable text. */
.tcs-market,.tcs-collector{font-family: "Advent Pro", sans-serif; font-size: 13pt;}
.tcs-market .tm-tab,.tcs-market .tm-view,.tcs-market .tm-chip,.tcs-market .tm-sorts .tm-chip,.tcs-market .tm-reset,.tcs-market .tm-selects select,.tcs-market .tm-action,.tcs-market .tm-more__button{font-size:15px;min-height:40px}
.tcs-market .tm-search input,.tcs-market .tm-sell__pricing input,.tcs-market .tm-sell__pricing select{font-size:16px}
.tcs-market .tm-name{font-size:17px;line-height:1.35;height:auto;min-height:0}
.tcs-market .tm-seller,.tcs-market .tm-summary,.tcs-market .tm-selected,.tcs-market .tm-notice,.tcs-market .tm-state,.tcs-market .tm-sell__account,.tcs-market .tm-sell__hint,.tcs-market .tm-sell__selection>span{font-size:14px;line-height:1.5}
.tcs-market .tm-price{font-size:21px}.tcs-market .tm-price>span{font-size:13px}
.tcs-market .tm-sell__intro p,.tcs-market .tm-sell__pricing label,.tcs-market .tm-sell__pricing p,.tcs-market .tm-sell-row__info span,.tcs-market .tm-sell__checkout span{font-size:14px;line-height:1.5}
.tcs-market .tm-sell-row__info strong,.tcs-market .tm-sell__checkout strong{font-size:17px;line-height:1.4}
.tcs-market .tm-sell-price-button,.tcs-market .tm-sell-price-input{font-size:18px}
.tcs-market .tm-sell-group{--tm-rgb:205,215,221;display:flex;align-items:center;gap:18px;min-width:0;padding:16px;border:1px solid rgba(var(--tm-rgb),.25);border-radius:10px;color:#edf1e8;background:linear-gradient(100deg,rgba(var(--tm-rgb),.09),transparent);text-decoration:none}
.tcs-market .tm-sell-group.rarity2{--tm-rgb:92,170,224}.tcs-market .tm-sell-group.rarity3{--tm-rgb:176,124,230}.tcs-market .tm-sell-group.rarity4{--tm-rgb:221,178,82}.tcs-market .tm-sell-group.rarity5{--tm-rgb:224,99,101}
.tcs-market .tm-sell-group:hover{border-color:rgba(var(--tm-rgb),.65)}
.tcs-market .tm-sell-group>img{width:64px;height:64px;object-fit:contain;flex:none}
.tcs-market .tm-sell-group>div{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
.tcs-market .tm-sell-group strong{font-size:18px;line-height:1.35;overflow-wrap:anywhere;font-weight:500}
.tcs-market .tm-sell-group>div>span{font-size:14px;line-height:1.5;color:#adbcba}
.tcs-market .tm-sell-group__arrow{font-size:22px;flex:none;color:#adbcba}
.tcs-market .tm-related{margin-top:32px;padding-top:24px;border-top:1px solid #ffffff18;min-width:0}
.tcs-market .tm-related h3{font-size:23px;margin:0 0 10px;color:inherit}
.tcs-market .tm-related>p{font-size:15px;color:#adbcba;line-height:1.5;margin-bottom: 10px;}
.tcs-market .tm-related>[data-related-more]{margin:18px 0}
.tcs-market .tm-report__axis{font-family:Bender,Arial,sans-serif;font-size:11px}
.tcs-market .tm-report__tools{align-items:flex-end}
.tcs-market .tm-report__tools>label{margin:0;padding:0;font-size:14px}
.tcs-market .tm-report__tools select,.tcs-market .tm-report__tools>button{box-sizing:border-box;height:42px;min-height:42px;margin:0;font-size:16px}
.tcs-market .tm-report__tools>button{display:inline-flex;align-items:center;justify-content:center}
.tcs-market .tm-report__stats span,.tcs-market .tm-report__hint,.tcs-market .tm-report__table,.tcs-market .tm-report__table th,.tcs-market .tm-report__table td{font-size:14px}
.tcs-market .tm-report__stats strong{font-size:19px}.tcs-market .tm-report__tooltip{font-size:14px}
.tcs-market .tm-report__chart,.tcs-market .tm-report__chart svg{outline:none!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent}
.tcs-collector .tc-header p,.tcs-collector .tc-loyalty,.tcs-collector .tc-summary,.tcs-collector .tc-deadline,.tcs-collector .tc-status,.tcs-collector .tc-footer,.tcs-collector .tc-have,.tcs-collector .tc-reward>span,.tcs-collector .tc-reward small{font-size:14px;line-height:1.5}
.tcs-collector .tc-action,.tcs-collector .tc-tabs button,.tcs-collector .tc-filters button,.tcs-collector .tc-refresh,.tcs-collector .tc-sort,.tcs-collector .tc-sort select{font-size:15px}
.tcs-collector .tc-tabs button span{font-size:13px}.tcs-collector .tc-search input{font-size:16px}
.tcs-collector .tc-name{font-size:18px;line-height:1.4}
.tcs-market .tcs-picker-host,.tcs-collector .tcs-picker-host{position:relative;overflow:visible}
.tcs-market .tcs-item-picker,.tcs-collector .tcs-item-picker{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:50;max-height:360px;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;border:1px solid #81928d55;border-radius:10px;padding:6px;background:#14242a;box-shadow:0 12px 28px #0007;text-align:left;min-width:0}
.tcs-market .tcs-item-picker[hidden],.tcs-collector .tcs-item-picker[hidden]{display:none!important}
.tcs-market .tcs-item-picker .tcs-item-picker__option,.tcs-collector .tcs-item-picker .tcs-item-picker__option{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;height:auto;min-height:64px;margin:0;padding:10px;border:0;border-radius:6px;background:transparent;color:#edf1e8;text-align:left;font:inherit;line-height:1.4;cursor:pointer;white-space:normal}
.tcs-market .tcs-item-picker__option img,.tcs-collector .tcs-item-picker__option img{display:block;width:44px;height:44px;object-fit:contain;flex:none}
.tcs-market .tcs-item-picker__option span,.tcs-collector .tcs-item-picker__option span{display:flex;flex-direction:column;gap:4px;min-width:0}
.tcs-market .tcs-item-picker__option strong,.tcs-collector .tcs-item-picker__option strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}
.tcs-market .tcs-item-picker__option small,.tcs-collector .tcs-item-picker__option small{font-size:13px;color:#a7b6b3}
.tcs-market .tcs-item-picker__option:hover,.tcs-market .tcs-item-picker__option[aria-selected="true"],.tcs-collector .tcs-item-picker__option:hover,.tcs-collector .tcs-item-picker__option[aria-selected="true"]{background:#ffffff12}
.tcs-market .tcs-item-picker .tcs-item-picker__more,.tcs-collector .tcs-item-picker .tcs-item-picker__more{display:block;width:100%;height:auto;min-height:42px;padding:10px;margin:0;background:transparent;color:#dce6db;border:0;font:inherit;font-size:15px;cursor:pointer}
.tcs-market .tcs-item-picker p,.tcs-collector .tcs-item-picker p{font-size:14px;line-height:1.5;margin:12px;color:#a7b6b3}
@media(max-width:650px){.tcs-market .tm-sell-group{gap:12px;padding:12px}.tcs-market .tm-sell-group>img{width:48px;height:48px}.tcs-market .tm-sell-group strong{font-size:16px}.tcs-market .tm-name{font-size:16px}.tcs-market .tm-report__tools>button{height:auto}.tcs-market .tm-report__table>div{overflow:auto}.tcs-market .tm-report__table table{min-width:500px}.tcs-market .tm-sell-row__info strong{font-size:16px}.tcs-market .tm-sell-row__info span{font-size:13px}}

/* Accepted collector cards retain their space until the list is refreshed. */
.tcs-collector .tc-card--accepted,.tcs-collector .tc-card--completed{opacity:.4;transition:opacity .18s ease}
.tcs-collector .tc-card--accepted .tc-action,.tcs-collector .tc-card--completed .tc-action{cursor:default}

/* Collector catalog: one card per item, only in Available. */
.tcs-collector .tc-card-group{box-sizing:border-box;width:100%;margin:0;padding:0;text-align:left;font:inherit;color:var(--tc-text);cursor:pointer;white-space:normal;appearance:none}
.tcs-collector .tc-card-group:focus-visible{outline:2px solid rgba(var(--tc-rgb),.8);outline-offset:3px}
.tcs-collector .tc-card-group>.tc-cover,.tcs-collector .tc-card-group>.tc-card-body{box-sizing:border-box;width:100%}
.tcs-collector .tc-group-title{padding:0;margin:0;color:var(--tc-text);font:600 18px/1.3 Bender,Arial,sans-serif;overflow-wrap:anywhere;min-height:43px}
.tcs-collector .tc-group-count{font-size:15px;color:var(--tc-muted)}
.tcs-collector .tc-group-open{font-size:14px;line-height:1.4;color:var(--tc-text);margin-top:4px}
.tcs-collector .tc-item-nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px}
.tcs-collector .tc-item-nav[hidden]{display:none}
.tcs-collector .tc-item-nav strong{font-size:18px;font-weight:500;overflow-wrap:anywhere;min-width:0}
@media(max-width:650px){.tcs-collector .tc-group-title{font-size:16px;min-height:40px}.tcs-collector .tc-card-group .tc-reward strong{font-size:18px}}


/* ADAPTIVE
----------------------------------------------- */

@media screen and (max-width: 959px) {  
    .tcs-market .tm-title {padding: 0;}
}

@media (max-width: 959px) {
    .tcs-market .tm-lot.market-row {
        grid-template-columns: 80px minmax(0, 1fr) 82px;
    }
}