.sell-view{min-height:100vh}.sell-page{padding-top:28px;padding-bottom:130px}.sell-shell{max-width:980px;margin:0 auto}.sell-heading{margin-bottom:24px}.sell-heading p,.sell-selected-product span,.sell-full-head p{margin:0 0 5px;color:var(--accent,#0084ff);font-size:12px;font-weight:800;letter-spacing:.09em}.sell-heading h1{margin:0;font-size:clamp(27px,4vw,38px)}.sell-step{display:grid;gap:28px}.sell-product-search{position:relative}.sell-product-search>input,.sell-full-browser>input{width:100%;height:52px;padding:0 52px 0 48px;border:1px solid var(--border,#263137);border-radius:14px;background:var(--surface,#121a1e);color:inherit;font:inherit;outline:none}.sell-product-search>input:focus,.sell-full-browser>input:focus,.sell-field input:focus,.sell-field textarea:focus,.sell-number-wrap input:focus{border-color:#0084ff;box-shadow:0 0 0 3px rgba(0,132,255,.12)}.sell-search-icon{position:absolute;left:18px;top:17px;width:17px;height:17px;border:2px solid currentColor;border-radius:50%;opacity:.6}.sell-search-icon:after{content:"";position:absolute;width:7px;height:2px;background:currentColor;right:-5px;bottom:-2px;transform:rotate(45deg)}#sell-search-clear{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;border-radius:9px;background:transparent;color:inherit;font-size:24px}.sell-search-results{position:absolute;z-index:30;top:58px;left:0;right:0;max-height:380px;overflow:auto;padding:7px;border:1px solid var(--border,#263137);border-radius:14px;background:var(--surface,#121a1e);box-shadow:0 18px 42px rgba(0,0,0,.28)}.sell-search-result{display:flex;width:100%;align-items:center;gap:12px;padding:9px;border:0;border-radius:10px;background:transparent;color:inherit;text-align:left}.sell-search-result:hover,.sell-search-result:focus-visible{background:rgba(128,128,128,.11)}.sell-search-result img{width:42px;height:42px;border-radius:10px;object-fit:cover}.sell-search-result span{display:grid}.sell-search-result small{color:var(--muted,#8d9aa0);margin-top:3px}.sell-search-empty{padding:18px;text-align:center;color:var(--muted,#8d9aa0)}.sell-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.sell-section-title h2,.sell-catalog-picker>h2,.sell-form-section h2{margin:0;font-size:20px}.sell-section-title>span{color:var(--muted,#8d9aa0);font-size:13px}.sell-media-section{display:grid;gap:12px}.sell-media-dropzone{min-height:190px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #53636c;border-radius:18px;background:rgba(127,127,127,.035);color:inherit}.sell-media-dropzone:hover,.sell-media-dropzone.is-dragover{border-color:#0084ff;background:rgba(0,132,255,.07)}.sell-media-dropzone small{color:var(--muted,#8d9aa0)}.media-add-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#0084ff;color:#fff;font-size:28px}.sell-media-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.sell-media-card,.sell-media-add{position:relative;aspect-ratio:1;border:1px solid var(--border,#263137);border-radius:14px;overflow:hidden;background:var(--surface,#121a1e)}.sell-media-card img,.sell-media-card video{width:100%;height:100%;object-fit:cover}.sell-media-card.is-dragging{opacity:.45}.media-cover{position:absolute;left:7px;bottom:7px;padding:4px 7px;border-radius:7px;background:#0084ff;color:#fff;font-size:10px;font-weight:700}.media-remove{position:absolute;right:6px;top:6px;width:27px;height:27px;border:0;border-radius:50%;background:rgba(0,0,0,.68);color:#fff}.media-order{position:absolute;left:6px;top:6px;display:flex;gap:3px}.media-order button{width:25px;height:25px;border:0;border-radius:7px;background:rgba(0,0,0,.62);color:#fff}.media-video{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:#fff;font-size:25px;text-shadow:0 2px 6px #000}.sell-media-add{display:grid;place-items:center;border-style:dashed;color:#0084ff;font-size:30px}.sell-catalog-picker{display:grid;gap:22px}.sell-popular-section{display:grid;gap:11px}.sell-popular-section h3{margin:0;font-size:17px}.sell-product-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.sell-product-card,.sell-other-card{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:116px;padding:9px;border:1px solid var(--border,#263137);border-radius:14px;background:var(--surface,#121a1e);color:inherit}.sell-product-card:hover,.sell-other-card:hover{border-color:rgba(0,132,255,.65);background:rgba(0,132,255,.06)}.sell-product-card img{width:64px;height:64px;border-radius:13px;object-fit:cover}.sell-product-card span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.sell-other-card{grid-column:span 2;color:#0084ff;font-weight:750}.sell-full-browser{padding:18px;border:1px solid var(--border,#263137);border-radius:18px;background:var(--surface,#121a1e)}.sell-full-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.sell-full-head h3{margin:0}.sell-full-head button{border:0;background:transparent;color:inherit;font-size:26px}.sell-full-grid{margin-top:14px;max-height:520px;overflow:auto;padding-right:3px}.sell-full-grid .sell-product-card{min-height:105px}.sell-back{justify-self:start;display:flex;align-items:center;gap:9px;padding:7px 0;border:0;background:transparent;color:inherit;font-size:22px;font-weight:800}.sell-selected-product{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid var(--border,#263137);border-radius:16px;background:var(--surface,#121a1e)}.sell-selected-product img{width:58px;height:58px;border-radius:13px;object-fit:cover}.sell-selected-product div{display:grid;flex:1}.sell-selected-product strong{font-size:17px}.sell-selected-product button{border:0;background:transparent;color:#0084ff;font-weight:700}.sell-form{display:grid;gap:22px}.sell-form-section{display:grid;gap:12px}.sell-category-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.sell-category-row button{flex:0 0 auto;padding:10px 14px;border:1px solid var(--border,#263137);border-radius:11px;background:var(--surface,#121a1e);color:inherit;font-weight:650}.sell-category-row button.is-active{border-color:#0084ff;background:#0084ff;color:#fff}.sell-child-row{padding-left:4px}.sell-field{display:grid;gap:8px}.sell-field>span:first-child,.sell-price-fields label>span:first-child{font-weight:750}.sell-input-wrap,.sell-textarea-wrap,.sell-number-wrap{position:relative;display:block}.sell-field input,.sell-field textarea,.sell-number-wrap input{width:100%;border:1px solid var(--border,#263137);border-radius:12px;background:var(--surface,#121a1e);color:inherit;font:inherit;outline:none}.sell-field input{height:48px;padding:0 74px 0 14px}.sell-field textarea{min-height:112px;resize:none;overflow:hidden;padding:13px 14px 30px;line-height:1.5}.sell-input-wrap small,.sell-textarea-wrap small{position:absolute;right:12px;bottom:9px;color:var(--muted,#8d9aa0);font-size:11px;pointer-events:none}.sell-info-box{display:flex;gap:11px;padding:14px;border-radius:13px;background:rgba(0,132,255,.08);color:inherit}.sell-info-box>span{flex:0 0 auto;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#0084ff;color:#fff;font-weight:800}.sell-info-box p{margin:1px 0 0;line-height:1.45;font-size:13px}.sell-price-card{display:grid;gap:16px;padding:18px;border:1px solid var(--border,#263137);border-radius:18px;background:var(--surface,#121a1e)}.sell-price-fields{display:grid;grid-template-columns:1fr;gap:12px;align-items:end}.sell-price-fields.is-currency{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr)}.sell-price-fields label{display:grid;gap:8px}.sell-number-wrap input{height:50px;padding:0 40px 0 14px}.sell-number-wrap b{position:absolute;right:14px;top:14px}.price-swap{align-self:end;display:grid;place-items:center;height:50px;color:#0084ff;font-size:22px}.sell-price-fields output{display:flex;align-items:center;height:50px;padding:0 14px;border:1px solid var(--border,#263137);border-radius:12px;background:rgba(127,127,127,.04)}.sell-totals{display:grid;gap:5px;padding-top:14px;border-top:1px solid var(--border,#263137)}.sell-totals>span{color:var(--muted,#8d9aa0)}.sell-totals>strong{font-size:25px}.sell-totals small{color:var(--muted,#8d9aa0)}.sell-agreements{display:grid;gap:11px}.sell-agreements label{display:flex;align-items:flex-start;gap:10px;line-height:1.4}.sell-agreements input{width:19px;height:19px;margin-top:1px;accent-color:#0084ff}.sell-field-error,.sell-submit-error{display:block;min-height:0;margin:0;color:#ff6363;font-style:normal;font-size:12px}.sell-create-button{justify-self:center;min-width:220px;padding:14px 28px;border:0;border-radius:13px;background:#0084ff;color:#fff;font:inherit;font-weight:800}.sell-create-button:disabled{background:#52616a;color:#aab3b8;cursor:not-allowed}.sell-submit-error{text-align:center;font-size:13px}.sell-toast{position:fixed;z-index:100;left:50%;bottom:28px;transform:translate(-50%,18px);padding:12px 17px;border:1px solid var(--border,#263137);border-radius:12px;background:var(--surface,#121a1e);box-shadow:0 10px 30px rgba(0,0,0,.3);opacity:0;transition:opacity .28s ease-out,transform .28s ease-out}.sell-toast.is-visible{opacity:1;transform:translate(-50%,0)}.sell-field[hidden],#price-quantity-copy[hidden],#price-swap[hidden]{display:none!important}
html.light .sell-search-results,html.light .sell-product-card,html.light .sell-other-card,html.light .sell-full-browser,html.light .sell-selected-product,html.light .sell-field input,html.light .sell-field textarea,html.light .sell-price-card,html.light .sell-number-wrap input{background:#fff}
@media(max-width:767px){.sell-page{padding-top:14px;padding-left:12px;padding-right:12px;padding-bottom:120px}.sell-heading{margin-bottom:17px}.sell-heading h1{font-size:25px}.sell-step{gap:22px}.sell-media-dropzone{min-height:155px}.sell-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sell-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sell-product-card,.sell-other-card{min-height:96px}.sell-product-card img{width:50px;height:50px}.sell-product-card span{font-size:10px}.sell-full-browser{padding:13px}.sell-full-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:430px}.sell-selected-product{padding:11px}.sell-back{font-size:19px}.sell-price-fields.is-currency{grid-template-columns:1fr}.price-swap{height:24px;transform:rotate(90deg)}.sell-create-button{width:100%}.sell-toast{bottom:100px;max-width:calc(100vw - 28px);white-space:nowrap}}
@media(max-width:359px){.sell-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sell-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.sell-toast{transition:none}}

/* Two-stage sell flow: catalogue selection first, listing media and form second. */
.sell-heading{margin:0}
.sell-step[hidden],.sell-media-grid[hidden],.sell-full-browser[hidden],.sell-search-results[hidden],#full-section-empty[hidden]{display:none!important}
.sell-media-surface{min-height:190px;overflow:hidden;border:1px dashed #53636c;border-radius:18px;background:rgba(127,127,127,.035)}
.sell-media-surface:hover,.sell-media-surface:has(.is-dragover){border-color:#0084ff;background:rgba(0,132,255,.07)}
.sell-media-surface .sell-media-dropzone{min-height:188px;border:0;background:transparent}
.sell-media-surface .sell-media-grid{padding:12px}
.sell-media-more{grid-column:1/-1;display:flex;min-height:42px;align-items:center;justify-content:center;gap:8px;border:1px dashed #53636c;border-radius:11px;color:#0084ff;font-weight:750}
.sell-media-more span{font-size:20px}
.sell-product-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.sell-product-card,.sell-other-card{display:block;min-width:0;min-height:0;width:100%;padding:0;border-radius:9px;color:var(--text)}
.sell-product-card .game-art,.sell-other-card .game-art{display:block;width:100%;height:94px;border-radius:0}
.sell-product-card .game-art img{width:100%;height:100%;border-radius:0;object-fit:cover}
.sell-product-card .game-details,.sell-other-card .game-details{display:block;height:44px;padding:8px 12px;text-align:left}
.sell-product-card .game-details h3,.sell-other-card .game-details h3{margin:0;overflow:hidden;font-size:12px;font-weight:400;line-height:15px;text-overflow:ellipsis;white-space:nowrap}
.sell-other-card{grid-column:auto;color:#0084ff}
.sell-other-art{display:grid!important;place-items:center;background:linear-gradient(135deg,rgba(0,132,255,.16),rgba(0,132,255,.04))!important}
.sell-other-art b{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#0084ff;color:#fff;font-size:26px;font-weight:400}
.sell-full-grid .sell-product-card{display:block!important}

@media(max-width:767px){
  .sell-media-surface{min-height:155px}
  .sell-media-surface .sell-media-dropzone{min-height:153px}
  .sell-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .sell-popular-section .sell-product-card:nth-child(n+8){display:none}
  .sell-product-card .game-art,.sell-other-card .game-art{height:72px}
  .sell-product-card .game-details,.sell-other-card .game-details{height:39px;padding:6px 8px}
  .sell-product-card .game-details h3,.sell-other-card .game-details h3{font-size:10px}
  .sell-other-art b{width:35px;height:35px;font-size:23px}
}

.sell-agreements{gap:12px;margin-top:20px}
.sell-agreements label{align-items:flex-start;gap:12px;min-width:0}
.sell-agreements label>span{min-width:0;overflow-wrap:anywhere}
.sell-agreements input{flex:0 0 19px;margin:1px 0 0}
.sell-agreements a{color:#0084ff;text-decoration:none}
.sell-agreements a:hover{text-decoration:underline;text-underline-offset:2px}
.sell-agreements a:focus-visible{border-radius:3px;outline:2px solid #45b8ff;outline-offset:2px}
.sell-category-row{scrollbar-width:none;-ms-overflow-style:none}
.sell-category-row::-webkit-scrollbar{display:none;width:0;height:0}
.sell-category-row.is-dragging{user-select:none;-webkit-user-select:none}
label:has(#listing-title)>span:first-child,label:has(#listing-description)>span:first-child,label:has(#listing-auto-message)>span:first-child,label:has(#listing-quantity)>span:first-child{font-size:14px}
.sell-info-box{max-height:120px;margin-bottom:20px;overflow:hidden;opacity:1;transition:opacity 230ms ease,max-height 230ms ease,padding-top 230ms ease,padding-bottom 230ms ease,margin-bottom 230ms ease}
.sell-info-box.is-hidden{max-height:0;margin-bottom:20px;padding-top:0;padding-bottom:0;opacity:0;pointer-events:none}
#quantity-field{transition:margin-top 230ms ease}
#create-listing-button{margin-top:32px}
#listing-price{-moz-appearance:textfield;appearance:textfield}
#listing-price::-webkit-inner-spin-button,#listing-price::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}
#sell-popular-sections{display:grid;row-gap:32px}
.sell-popular-section{row-gap:16px}
.sell-popular-section>.sell-product-grid{row-gap:16px}
.sell-shell.is-step-transitioning{position:relative;overflow:hidden;transition:height 275ms ease-in-out}
.sell-shell.is-step-transitioning>.sell-step{position:absolute;inset:0 0 auto;width:100%}
@media(max-width:359px){
  .sell-popular-section .sell-product-card:nth-child(n+6){display:none}
}

/* Compact catalogue icons; JS supplies the exact responsive column count. */
.sell-shell{max-width:1092px}
.sell-product-grid{grid-template-columns:repeat(var(--sell-columns,6),minmax(0,1fr));gap:12px}
.sell-product-card,.sell-other-card{display:block;min-width:0;width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);text-align:left;box-shadow:none}
.sell-product-card:hover,.sell-other-card:hover{border-color:transparent;background:transparent;transform:translateY(-2px)}
.sell-icon-image{display:block;width:100%;aspect-ratio:1;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface-top)}
.sell-icon-image img{display:block;width:100%;height:100%;object-fit:cover}
.sell-icon-name{display:block;margin-top:7px;overflow:hidden;color:var(--text);font-size:11px;line-height:15px;text-overflow:ellipsis;white-space:nowrap}
.sell-other-card:hover .sell-icon-name{color:#0084ff}
.sell-other-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:3px;padding:3px}
.sell-other-preview img{display:block;width:100%;height:100%;min-width:0;min-height:0;border-radius:5px;object-fit:cover}
.sell-full-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr))!important}
.sell-full-grid .sell-product-card{display:block!important}
.sell-full-scroll{position:relative}
.sell-full-scroll-track{display:none}

@media(max-width:767px){
  .sell-view .header>.search{display:none!important}
  .sell-view .header.container{grid-template-rows:46px;row-gap:0}
  .sell-product-grid{grid-template-columns:repeat(var(--sell-columns,4),minmax(0,1fr));gap:8px}
  .sell-popular-section .sell-product-card:nth-child(n){display:block}
  .sell-product-card,.sell-other-card{padding:6px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0}
  .sell-product-card:hover,.sell-other-card:hover,.sell-product-card:active,.sell-other-card:active{border:0;background:transparent;box-shadow:none;transform:translateY(-2px)}
  .sell-product-card:focus,.sell-other-card:focus{outline:0;box-shadow:none}
  .sell-product-card:focus-visible,.sell-other-card:focus-visible{outline:0;box-shadow:none}
  .sell-product-card:focus-visible .sell-icon-name,.sell-other-card:focus-visible .sell-icon-name{color:#0084ff;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
  .sell-icon-image{border:0;border-radius:9px}
  .sell-icon-name{margin-top:6px;font-size:10px;line-height:14px}
  .sell-full-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding-right:10px;scrollbar-width:none;-ms-overflow-style:none}
  .sell-full-grid::-webkit-scrollbar{display:none;width:0;height:0}
  .sell-full-scroll-track{position:absolute;top:14px;right:1px;bottom:0;display:block;width:4px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.1);pointer-events:none}
  .sell-full-scroll-track[hidden]{display:none}
  .sell-full-scroll-track span{position:absolute;top:0;left:0;width:4px;min-height:28px;border-radius:999px;background:#008cff;transform:translateY(0);will-change:transform}
  html.light .sell-full-scroll-track{background:rgba(0,0,0,.12)}
}
.sell-product-search.search{order:0;width:100%;max-width:none;margin:0 0 2px;flex:initial}
.sell-product-search.search>input{height:auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.sell-product-search.search>input:focus{border:0;box-shadow:none}
.sell-product-search .smart-search-panel{position:absolute;left:0;right:0;top:calc(100% + 8px);max-height:min(430px,calc(100vh - 165px))}
