.minecraft-item-icon{image-rendering:pixelated;object-fit:contain;filter:drop-shadow(4px 8px 4px #3f302025);display:block;margin:auto}
.shop-grid:has(.product-card:only-child){grid-template-columns:minmax(0,480px)}
.featured-products:has(.product-card:only-child){grid-template-columns:minmax(0,1fr)}
.shop-intro{flex-wrap:wrap}.shop-intro>div:first-child{flex:1;min-width:220px}
.prefix-custom-colors .color-field{grid-template-columns:36px minmax(0,1fr)}

.heads-catalog-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:18px 0;color:var(--ink)}.heads-catalog-summary strong{font-size:16px}.heads-catalog-summary span{font-size:13px;color:var(--muted)}.heads-pagination label{display:flex;align-items:center;gap:10px;font-size:13px}.heads-pagination input{width:78px;padding:6px 10px;min-height:36px}.heads-grid[aria-busy=true]{opacity:.55;pointer-events:none}.head-catalog-admin{margin-top:20px}.head-catalog-admin p{font-size:13px}.head-catalog-admin dl{display:grid;grid-template-columns:1fr auto;gap:10px;margin:18px 0}.head-catalog-admin dd{margin:0}.head-catalog-admin .button{margin-top:12px}
@media(max-width:650px){.heads-catalog-summary{align-items:flex-start;flex-direction:column}.heads-pagination{gap:8px}.heads-pagination label{gap:5px}.heads-pagination input{width:64px}.head-catalog-admin dl{font-size:13px}}
.prefix-custom-colors .color-field .hex-input{grid-column:1/-1;grid-row:3;width:100%;text-align:center}
.prefix-custom-colors .color-field .icon-button{grid-column:2;grid-row:2;justify-self:end}
#selected-file{display:flex;gap:10px;align-items:center;font-size:13px;padding:12px}
#selected-file svg{width:18px;height:18px;flex-shrink:0}
#selected-file span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workshop-tabs{flex-wrap:wrap}.decor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}.decor-card{padding:32px 24px;text-align:center}.decor-card h2{margin:18px 0 8px;font-size:25px}.decor-card p{color:var(--muted);font-size:13px;min-height:42px;margin-bottom:22px}.modal.workshop-wide{width:min(980px,calc(100vw - 40px));max-width:980px}.decor-editor{display:grid;grid-template-columns:210px 1fr;gap:28px;margin:24px 0}.decor-preview{border:1px solid var(--border);background:var(--panel);padding:24px 14px;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:180px}.decor-preview small{font-size:13px;color:var(--muted);text-align:center;margin-top:12px}.decor-preview canvas{max-width:100%;height:auto}.decor-flags{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 20px}.decor-flags .confirmation-check{margin:0;font-size:13px}.json-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:15px 0 22px}.json-actions input[type=file]{display:none}.json-actions .field-label{flex:1;min-width:100px}.pose-controls{display:grid;gap:12px;margin-top:26px}.pose-row{display:grid;grid-template-columns:100px repeat(3,1fr);gap:10px;font-size:13px;align-items:center}.pose-row label{display:flex;align-items:center;gap:5px;color:var(--muted)}.pose-row input{min-width:0;width:100%;padding:0;min-height:20px}.pose-row output{width:31px;text-align:right;font-size:13px}.exchange-quantity{border-top:1px solid var(--border);padding-top:20px;margin:25px 0 22px}.quantity-presets{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.quantity-presets button{font-size:13px;border:1px solid var(--border);background:var(--panel);border-radius:2px;padding:5px 12px;color:var(--ink)}.quantity-presets button:hover{background:var(--red);color:var(--paper)}input[type=range]{padding:0;min-height:24px;accent-color:var(--red);width:100%;background:transparent;border:0}.exchange-totals{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:13px;color:var(--muted)}.exchange-totals b{color:var(--ink)}.heads-pagination{display:flex;align-items:center;justify-content:center;gap:30px;margin:24px 0}.heads-actions{margin:10px 0 24px}.head-order-top{display:grid;grid-template-columns:220px 1fr;gap:30px;margin:25px 0}.head-order-preview{border:1px solid var(--border);background:var(--panel);display:grid;place-items:center;min-height:220px}.head-order-top textarea{background:var(--panel);color:var(--ink);border:1px solid var(--border);padding:12px;width:100%;resize:vertical;font:inherit;font-size:13px}.head-order-top strong{font:700 22px var(--serif)}.head-order-top .confirmation-check{margin:14px 0}.recent-head-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;max-height:260px;overflow:auto;margin-top:16px}.recent-head{background:var(--panel);color:var(--ink);border:1px solid var(--border);padding:8px;font-size:13px;text-align:center}.recent-head canvas{width:100%;height:auto;display:block}.recent-head small,.recent-head time{display:block;font-size:13px;color:var(--muted)}.prefix-custom-colors{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.prefix-custom-colors .color-field{display:grid;grid-template-columns:36px 1fr 26px;gap:8px;border:1px solid var(--border);padding:12px;min-width:0}.prefix-custom-colors .color-field>span{grid-column:1/-1;font-size:13px}.prefix-custom-colors input[type=color]{width:36px;height:36px;min-height:36px;padding:2px}.prefix-custom-colors .hex-input{font:11px Consolas,monospace;min-width:0;padding:5px;min-height:36px}.prefix-custom-colors .icon-button{padding:2px}.skin-history{padding:28px;margin-top:28px}.skin-history>p{font-size:13px;margin-bottom:20px}.skin-history-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.skin-history-card{background:var(--panel);border:1px solid var(--border);padding:14px;text-align:center;min-width:0}.skin-history-card canvas{width:100%;max-width:180px;height:auto;display:block;margin:auto}.skin-history-card strong,.skin-history-card small{display:block}.skin-history-card small{font-size:13px;color:var(--muted);margin:7px 0}.skin-history-card>div{display:flex;justify-content:center;gap:16px;margin-top:12px}.skin-history-card .status-badge{font-size:13px}.shield-preview svg{clip-path:polygon(10% 8%,90% 8%,90% 65%,50% 95%,10% 65%)}.banner-layer .icon-button{margin-left:0}.banner-layer>span:nth-child(2){flex:1}
@media(max-width:1000px){.decor-grid{grid-template-columns:1fr 1fr}.prefix-custom-colors{grid-template-columns:1fr}.skin-history-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.decor-grid{grid-template-columns:1fr}.modal.workshop-wide{width:calc(100vw - 24px);padding:26px 18px}.decor-editor,.head-order-top{grid-template-columns:1fr;gap:16px}.decor-preview{min-height:130px;max-height:320px}.decor-preview canvas{max-height:270px;width:auto}.head-order-preview canvas{width:170px;height:170px}.head-order-preview{min-height:170px}.pose-row{grid-template-columns:70px repeat(3,minmax(0,1fr));gap:5px}.pose-row label{gap:2px;flex-wrap:wrap}.pose-row input{width:calc(100% - 13px)}.pose-row output{display:none}.exchange-totals{flex-direction:column;gap:6px}.recent-head-grid{grid-template-columns:repeat(3,1fr)}.skin-history{padding:18px}.skin-history-grid{grid-template-columns:repeat(2,1fr);gap:10px}.skin-history-card{padding:9px}.skin-history-card>div{gap:8px;flex-wrap:wrap}.quantity-presets{gap:6px}.quantity-presets button{padding:5px 9px}.prefix-custom-colors .color-field{grid-template-columns:36px 1fr 26px}}

.prefix-custom-colors .color-field{grid-template-columns:36px minmax(0,1fr)}
