body[data-tree-open]{overflow:hidden!important}
#tree-dialog{position:fixed;inset:84px 0 0;z-index:105;background:#111417;color:#f0f2f4;display:flex;flex-direction:column;padding:20px max(20px,calc((100vw - 1456px)/2));font-family:inherit}
#tree-dialog *{box-sizing:border-box}
#tree-dialog button{font:inherit;cursor:pointer;color:inherit}
.tree-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid #30353a}
.tree-heading small{font-size:10px;letter-spacing:.16em;color:#e7a345}.tree-heading h2{margin:6px 0 0;font-size:25px}.tree-heading>button{background:#23282e;border:1px solid #3a4148;border-radius:10px;width:40px;height:40px;font-size:25px!important}
.tree-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;min-height:0;flex:1}.tree-sidebar{padding-top:20px;overflow:auto}.tree-sidebar button{display:flex;justify-content:space-between;width:100%;padding:17px 14px;margin-bottom:8px;background:none;border:1px solid transparent;border-radius:10px;text-align:left}.tree-sidebar button:hover,.tree-sidebar button.active{background:#29231b;border-color:#7f5928;color:#ffb44d!important}
.tree-main{overflow:auto;padding:20px 8px 30px 0;overscroll-behavior:contain;min-width:0}#tree-search{display:flex;gap:8px;position:sticky;top:0;z-index:2;padding-bottom:14px;background:#111417}#tree-search input{flex:1;min-width:0;background:#1d2228;border:1px solid #39414a;border-radius:10px;padding:13px;color:#fff;font:inherit}#tree-search button,.tree-primary{border:0;border-radius:9px;background:#ffad37;color:#211406!important;padding:10px 17px;font-weight:700!important}
.tree-breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:#929ba5}.tree-breadcrumbs button{border:0;background:none;padding:4px 0;text-align:left}.tree-breadcrumbs button:hover{color:#ffad37!important}.tree-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0}.tree-section-head h3{font-size:23px;margin:0 0 7px}.tree-section-head p{font-size:12px;color:#9ea7b1;line-height:1.5;margin:0;overflow-wrap:anywhere}
.tree-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tree-category{min-width:0;border:1px solid #303740;border-radius:11px;background:#191e24;overflow:hidden}.tree-category-open{display:flex;align-items:center;gap:12px;padding:16px;width:100%;min-height:86px;border:0;background:none;text-align:left}.tree-category:hover{border-color:#8d622b;background:#211f1b}.tree-category-open img{width:48px;height:48px;object-fit:contain;border-radius:8px;flex:none}.tree-category-open>span{min-width:0;flex:1}.tree-category strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.35}.tree-category small{display:block;font-size:11px;color:#9da7b2;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-select{width:100%;border:0;border-top:1px solid #39332b;background:#2f271a;padding:9px;color:#ffb54a!important}.tree-pagination{display:flex;align-items:center;justify-content:space-between;margin:25px 0;gap:10px;font-size:12px}.tree-pagination button{border:1px solid #3a434e;background:#222931;border-radius:8px;padding:10px 15px}.tree-pagination button:disabled{opacity:.3;cursor:default!important}.tree-status{color:#a8b0b9;padding:25px 0;font-size:14px}
.tree-launch{padding:13px!important;color:#ffb649!important;border:1px solid #69502b!important;border-radius:10px!important;background:#241e15!important;text-align:left;font-weight:700}.tree-admin-banner{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px;border:1px solid #6a512e;border-radius:12px;margin:16px 0}.tree-admin-banner span{display:block;margin-top:7px;font-size:12px;color:#939fa9}
#tree-edit{padding:16px;background:#1c2229;border:1px solid #3d4652;border-radius:10px;display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:20px}#tree-edit label{font-size:12px;display:flex;flex-direction:column;gap:7px}#tree-edit input{color:#eee;background:#12171d;border:1px solid #44505e;padding:9px;border-radius:6px;max-width:260px}#tree-edit img{width:55px;height:55px;object-fit:contain}
#tree-suggestions{display:flex;flex-direction:column;max-height:310px;overflow:auto}#tree-suggestions button{text-align:left;padding:11px;background:#1d232b;border:1px solid #3a424c;color:#f0f2f5;font:inherit}#tree-suggestions small{display:block;font-size:11px;color:#a4afb9;margin-top:5px}.tree-seller-open{margin-top:8px;align-self:start}
@media(max-width:1000px){.tree-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tree-layout{grid-template-columns:180px minmax(0,1fr);gap:16px}}
@media(max-width:620px){#tree-dialog{padding:12px}.tree-heading h2{font-size:18px}.tree-layout{display:flex;flex-direction:column;gap:0}.tree-sidebar{display:flex;flex:none;padding-top:10px;gap:6px;overflow-x:auto}.tree-sidebar button{white-space:nowrap;width:auto;padding:10px}.tree-main{padding-top:10px}.tree-grid{grid-template-columns:1fr}.tree-section-head{align-items:start;flex-direction:column;gap:12px}.tree-heading{padding-bottom:10px}.tree-category-open{min-height:70px;padding:13px}.tree-admin-banner{flex-wrap:wrap}}

html:has(body[data-tree-open]){overflow:hidden!important;overscroll-behavior:none}body[data-tree-open] .market-support-widget{visibility:hidden}
.tree-category.has-cover .tree-category-open img[src$=".jpg"]{width:48px;height:48px;object-fit:contain;border-radius:8px}

/* Breadcrumb control returns from a selected category to its parent. */
.market-subcategory-heading.market-subcategory-back{display:inline-flex;align-items:center;gap:7px;margin:0 0 9px 0;padding:2px 6px 2px 0;border:0;background:transparent;color:#c8cbd0;font:inherit;font-size:12px;font-weight:700;letter-spacing:.025em;text-align:left;cursor:pointer;transition:color .16s ease}
.market-subcategory-heading.market-subcategory-back::before{content:"\2039";color:#f3a54b;font-size:16px;line-height:1}
.market-subcategory-heading.market-subcategory-back:hover{color:#fff}
@media(max-width:760px){.market-subcategory-heading.market-subcategory-back{font-size:11px}}
.market-shortcuts .market-category-loading{grid-column:1/-1;align-self:center;padding:16px;color:#a9afb8;font-size:14px;text-align:center}

.market-category-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 14px;color:#a9a196;font-size:13px;line-height:1.5}
.market-category-breadcrumbs button{border:0;background:transparent;color:#d4cec2;padding:2px 0;font:inherit;cursor:pointer}
.market-category-breadcrumbs button:hover{color:#ffb34a}
.market-category-breadcrumbs [aria-current="page"]{color:#f3eee5;font-weight:600}
.market-category-breadcrumb-separator{color:#77736c}
