#companyMerchRoot[hidden],#posterMediaPanel[hidden]{display:none!important}
#companyMerchRoot{max-width:1200px;margin:16px auto;color:var(--text-primary)}
.merch-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.merch-top h2{font-size:20px;margin:0}.merch-hint{font-size:13px;color:var(--text-secondary);line-height:1.7;margin:8px 0 18px}.merch-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.merch-types,.merch-main{background:var(--bg-card,#fff);border:1px solid var(--border-color,#e6dfed);border-radius:12px;padding:18px;min-width:0}.merch-types h3{font-size:15px;margin:0 0 12px}.merch-type-list{display:grid;gap:6px;margin-bottom:18px}.merch-type-list button{text-align:left;overflow-wrap:anywhere;padding:9px 12px;border:1px solid transparent;background:transparent;border-radius:7px;color:inherit}.merch-type-list button[aria-pressed=true]{background:#f5e9f2;border-color:#e9cfe1;color:#a22978;font-weight:700}.merch-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.merch-form label{display:grid;gap:6px;flex:1;min-width:140px;font-size:13px}.merch-form .form-input,.merch-form .form-select{width:100%;min-width:0}.merch-types .merch-form{display:grid}.merch-product{border-top:1px solid var(--border-color,#e6dfed);padding:18px 0}.merch-product h3{font-size:17px;margin:0 0 6px;overflow-wrap:anywhere}.merch-product small{color:var(--text-secondary);font-size:12px}.merch-file{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #f0edf3}.merch-file-info{flex:1;min-width:0}.merch-file-info strong{display:block;overflow-wrap:anywhere;font-size:13px}.merch-file-actions{display:flex;gap:6px;flex-shrink:0}.merch-file-actions button{padding:6px 10px}.merch-upload{margin-top:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.merch-upload label{display:grid;gap:6px;flex:1;min-width:180px;font-size:13px}.merch-upload input{max-width:100%;font-size:13px}.merch-status{min-height:22px;font-size:13px;line-height:1.6;white-space:pre-line}.merch-status[data-error=true]{color:#b42318}.merch-empty{padding:26px 0;color:var(--text-secondary);font-size:14px}.merch-main button:disabled,.merch-types button:disabled{opacity:.55;cursor:wait}
@media(max-width:760px){.merch-layout{grid-template-columns:1fr}.merch-types,.merch-main{padding:14px}.merch-type-list{display:flex;flex-wrap:wrap}.merch-types .merch-form{display:flex}.merch-file{flex-wrap:wrap}.merch-file-actions{margin-left:auto}.merch-top h2{font-size:18px}}
.merch-gallery-section,.merch-source-list{margin-top:18px}.merch-gallery-section h4,.merch-source-list h4{font-size:14px;margin:0 0 10px}.merch-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.merch-gallery button{border:1px solid var(--border-color,#e6dfed);border-radius:8px;background:#f6f4f7;padding:0;overflow:hidden;aspect-ratio:1;cursor:zoom-in}.merch-gallery img{width:100%;height:100%;object-fit:cover;display:block}.merch-gallery button:focus-visible{outline:2px solid #8b3283;outline-offset:2px}.merch-upload+.merch-upload{margin-top:8px}
.merch-upload-status{flex-basis:100%;margin:0;font-size:12px;line-height:1.5;color:var(--text-secondary);overflow-wrap:anywhere}.merch-upload-status:empty{display:none}.merch-upload-status[data-error=true]{color:#b42318}
.merch-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.merch-product{min-width:0;border:1px solid var(--border-color,#e6dfed);border-radius:10px;padding:14px}.merch-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.merch-gallery:has(> :only-child){grid-template-columns:minmax(0,1fr)}.merch-file{display:block}.merch-file-actions{margin-top:6px;flex-wrap:wrap}.merch-file-actions button{font-size:12px}.merch-upload{display:grid;gap:7px;padding:9px;border:1px dashed #d4cbd8;border-radius:8px}.merch-upload label{min-width:0;overflow-wrap:anywhere}.merch-upload button{justify-self:start}.merch-upload-status{min-width:0}.merch-drop-hint{font-size:12px;color:var(--text-secondary)}.merch-upload.is-dragging{border-color:#a22978;background:#f9edf5}
@media(max-width:1180px){.merch-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.merch-products{grid-template-columns:1fr}}
