.shop-admin-main{padding-bottom:70px}.shop-admin-main>label{display:grid;gap:9px;margin:26px 0;max-width:700px}.shop-admin-main select,.shop-admin-main input[type=number]{border:1px solid var(--line);border-radius:10px;background:var(--bg);color:inherit;padding:12px;font:inherit;min-width:0}.shop-admin-panel{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:24px;margin-top:24px}.shop-check{display:flex;align-items:center;gap:9px;font-size:12px}.shop-format-files{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.shop-format-files label{display:grid;gap:10px;border:1px solid var(--line);border-radius:10px;padding:14px;overflow:hidden;font-size:12px}.shop-format-files small{font-size:10px;overflow-wrap:anywhere;min-height:32px}.shop-format-files input{width:100%;font-size:10px}.shop-track-files{padding:24px 0;border-top:1px solid var(--line)}#shop-upload-progress{margin-bottom:15px;color:var(--muted)}#shop-leave{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:14px;max-width:90vw}#shop-leave::backdrop{background:#0009}@media(max-width:1000px){.shop-format-files{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.shop-admin-panel{padding:16px}.shop-format-files{grid-template-columns:1fr}.shop-admin-panel .copy-intro{flex-wrap:wrap}}
.sale-track{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line)}.sale-track h3{font-size:15px;margin:0}.sale-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sale-actions select{min-width:90px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:inherit;padding:10px 34px 10px 12px}.sale-actions button{border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:var(--purple);color:inherit;font:inherit;cursor:pointer}.sale-actions small{color:var(--muted)}.release-platforms{display:flex;gap:10px;flex-wrap:wrap}.release-platforms a{display:inline-flex;gap:10px;align-items:center;padding:12px 16px;border:1px solid var(--line);border-radius:10px;font-size:13px}.release-platforms .platform-icon{width:19px;height:19px}@media(max-width:600px){.sale-track{display:block}.sale-actions{margin-top:14px}}
.shop-sim-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:10px}.shop-sim-heading h2,.shop-sim-heading h3{margin:0}.shop-sim-form{display:grid;grid-template-columns:minmax(160px,1fr) 110px minmax(110px,1fr) auto;align-items:end;gap:12px;margin:18px 0}.shop-sim-form label{display:grid;gap:5px;min-width:0;font-size:.8125rem;color:var(--muted)}.shop-sim-form select{width:100%;min-width:0;min-height:36px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:inherit;padding:7px 34px 7px 10px;font:inherit}.shop-sim-quote{font-size:.8125rem;line-height:1.5;overflow-wrap:anywhere;align-self:center}.shop-simulation [hidden]{display:none!important}.shop-sim-actions .button{white-space:normal}@media(max-width:900px){.shop-sim-form{grid-template-columns:minmax(0,1fr) 110px}.shop-sim-form .button{justify-self:stretch}.shop-sim-actions{grid-column:1/-1}}@media(max-width:500px){.shop-sim-form{grid-template-columns:minmax(0,1fr)}.shop-sim-form select{min-height:40px;font-size:1rem}.shop-sim-actions .button{min-height:40px}}
.shop-sim-form .button{white-space:normal;line-height:1.4}@media(min-width:501px) and (max-width:900px){.shop-sim-form{grid-template-columns:repeat(2,minmax(0,1fr))}}

.purchase-section+.purchase-section{margin-top:26px}
.purchase-section h2{font-size:1.125rem;line-height:1.3;margin:0 0 12px}
.shop-table-wrap{overflow:hidden}
.shop-table tbody th{min-width:160px}
.shop-identity{display:flex;align-items:center;gap:10px;min-width:0}
.shop-identity img{width:40px;height:40px;border-radius:7px;object-fit:cover;flex:none;border:1px solid var(--line)}
.shop-identity img.shop-cover-logo{object-fit:contain;background:#121214;padding:5px}
.shop-identity strong,.shop-identity small{display:block;overflow-wrap:anywhere}
.shop-identity strong{font-weight:600;line-height:1.35;font-size:.875rem}
.shop-identity small{color:var(--muted);margin-top:2px;font-size:.75rem}
.shop-table td.shop-table-number{white-space:nowrap;font-variant-numeric:tabular-nums}
.shop-caption{display:none}
.purchase-status{display:inline-block;padding:2px 7px;border:1px solid var(--line);border-radius:999px;color:var(--muted);white-space:nowrap;font-size:.75rem}
.purchase-status[data-status=paid]{background:#479e651c;border-color:#479e654d;color:var(--text)}
.shop-table td.shop-table-actions{border-inline-start:1px solid var(--line);padding-inline-start:16px;min-width:145px}
a.shop-identity{border-radius:7px}
a.shop-identity:hover strong{text-decoration:underline;text-underline-offset:3px}
a.shop-identity:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.shop-cart-table{--shop-meta-columns:2}
.shop-cart-table th:first-child{width:55%}
:is(.shop-cart-table,.shop-purchase-table) td.shop-table-actions{width:1%;min-width:64px}
.shop-purchase-table th .purchase-files{margin-inline-start:calc(var(--data-table-thumb,40px) + 10px)}
.shop-cart-total{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap;padding:12px;background:var(--panel);border-top:1px solid var(--line)}
.shop-cart-total dl{display:flex;align-items:baseline;gap:12px;margin:0;font-size:.875rem;font-variant-numeric:tabular-nums}
.shop-cart-total dt{color:var(--muted)}
.shop-cart-total dd{margin:0;font-weight:600}
.public-shell #shop-checkout{min-height:36px;padding:7px 14px;white-space:normal}
.shop-cart-empty{margin:0;padding:16px;border:1px solid var(--line);border-radius:12px}
#checkout-message:not(:empty){margin:8px 0 0;color:var(--muted);font-size:.8125rem}
#checkout-message:empty{margin:0}
.shop-cart-links{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:16px}
.purchase-files{margin-top:6px}
.purchase-files summary{min-height:26px;padding:4px 0;cursor:pointer;color:var(--muted);font-size:.75rem}
.purchase-files ul{margin:6px 0 0;padding:0;list-style:none;max-width:34ch}
.purchase-files li+li{margin-top:7px}
.purchase-files a{font-size:.75rem;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}

@container (max-width:680px){
 .purchase-status{max-width:100%;white-space:normal}
 .shop-table,.shop-table tbody{display:block}
 .shop-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .shop-table tbody tr{display:grid;grid-template-columns:repeat(var(--shop-meta-columns,4),minmax(0,1fr));padding:12px;gap:8px;border-top:1px solid var(--line)}
 .shop-table tbody tr:first-child{border-top:0}
 .shop-table tbody :is(th,td){padding:0;min-width:0}
 .shop-table tbody th{grid-column:1/-1;width:auto;padding-bottom:4px}
 .shop-cart-total{justify-content:space-between;gap:10px}
 .shop-caption{display:block;color:var(--muted);font-size:.6875rem;margin-bottom:2px}
 .shop-table td.shop-table-number{white-space:normal}
 .shop-table td.shop-table-actions{grid-column:1/-1;border-inline-start:0;border-top:1px solid var(--line);padding:10px 0 0;min-width:0}
 :is(.shop-cart-table,.shop-purchase-table) tbody tr{
  grid-template-columns:repeat(2,minmax(0,1fr)) max-content;
 }
 :is(.shop-cart-table,.shop-purchase-table) tbody th{grid-column:1/-2}
 .shop-table td.table-action-cell{
  grid-column:-2/-1;grid-row:1/span 2;align-self:center;
  width:auto;border-top:0;padding:0;
 }
 .shop-purchase-table td.table-action-cell{grid-row:1/span 3}
 .purchase-files ul{max-width:none}
}
@container (max-width:380px){
 .public-shell #shop-checkout{width:100%}
}

.purchase-status[data-status=pending]{background:#bf8d2526;border-color:#bf8d255c;color:var(--text)}
.purchase-status[data-status=refunded],.purchase-status[data-status=expired]{background:#89878d22;border-color:#89878d55;color:var(--text)}
.purchase-status[data-status=failed]{background:#c5555526;border-color:#c555555c;color:var(--text)}
.shop-history-main .service-intro{align-items:center;flex-wrap:wrap}
.shop-history-section{scroll-margin-top:100px}
.shop-history-table thead th:first-child{width:42%}
.shop-lab-table thead th:first-child{width:32%}
.shop-lab-table .purchase-status{white-space:normal}
.shop-history-table .shop-order-cell{width:23%;min-width:150px}
.shop-order-meta{line-height:1.4;overflow-wrap:anywhere}
.shop-order-meta small{display:block;color:var(--muted);font-size:.75rem}
.shop-order-paging{display:flex;align-items:center;gap:8px}
.shop-order-paging .table-actions{margin-inline-start:auto}
.shop-order-paging{border-top:1px solid var(--line);padding:10px 12px;justify-content:space-between;flex-wrap:wrap;font-size:.8125rem;color:var(--muted)}

@container (max-width:680px){
 .shop-history-table{--shop-meta-columns:3}
 .shop-history-table .shop-order-cell{width:auto;min-width:0;grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px}
 .shop-order-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
}

.shop-price-table{margin-top:12px}
.shop-price-table th[scope=row]{min-width:140px}
.shop-price-table td{width:17%}
.shop-price-table input{max-width:100%;width:100%;font-variant-numeric:tabular-nums}
@container (max-width:620px){
 .shop-price-table table,.shop-price-table tbody{display:block}
 .shop-price-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .shop-price-table tbody tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px}
 .shop-price-table th[scope=row]{grid-column:1/-1;padding:0}
 .shop-price-table td{width:auto;min-width:0;padding:0}
 .shop-price-table td::before{content:attr(data-label);display:block;font-size:.6875rem;color:var(--muted);margin-bottom:5px}
}
@container (max-width:400px){
 .shop-price-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}
}
