body.shop-skin-on { background-attachment: fixed !important; overflow-x: hidden; }
body.shop-skin-hide-origin .layui-layer-loading,
body.shop-skin-hide-origin .layui-layer-shade { display: none !important; }
body.shop-skin-on .pay-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
body.shop-skin-on .pay-list .pay,
body.shop-skin-on .pay-list a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 7px;
    padding: 2px 6px;
    text-decoration: none;
    color: #111;
    font-size: 12px;
    line-height: 1.2;
}
body.shop-skin-on .pay-list .pay span,
body.shop-skin-on .pay-list a span {
    color: #111;
}
body.shop-skin-on .pay-list .pay img,
body.shop-skin-on .pay-list a img {
    width: 14px;
    height: 14px;
    object-fit: cover;
    border-radius: 3px;
}
body.shop-skin-item .acg-cover,
body.shop-skin-item .col-lg-6:has(.acg-cover) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
body.shop-skin-item .acg-cover {
    background: rgba(255,255,255,.92);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
}
body.shop-skin-item .item-cover,
body.shop-skin-item .acg-cover img {
    display: block !important;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
}
body.shop-skin-item .item-detail,
body.shop-skin-item .panel.item-detail,
body.shop-skin-item .item-detail .panel-header,
body.shop-skin-item .item-detail .panel-body {
    background: #ffc0d4 !important;
    border: none !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(15,23,42,.08) !important;
    padding: 6px 4px 12px !important;
    color: #0f172a !important;
}
body.shop-skin-item .item-detail .panel-header {
    background: #ffc0d4 !important;
    border: none !important;
    padding: 14px 18px 6px !important;
}
body.shop-skin-item .item-detail .panel-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}
body.shop-skin-item .item-detail .panel-body {
    padding: 8px 18px 20px !important;
    color: #0f172a !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
}
body.shop-skin-item .item-detail .panel-body,
body.shop-skin-item .item-detail .panel-body p,
body.shop-skin-item .item-detail .panel-body span,
body.shop-skin-item .item-detail .panel-body li,
body.shop-skin-item .item-detail .panel-body td,
body.shop-skin-item .item-detail .panel-body div {
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: #0f172a !important;
}
body.shop-skin-item .item-detail img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
}
.shop-skin-cover {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(15,23,42,.12);
}
body.shop-skin-on .navbar-acg {
    background: rgba(255,255,255,.94);
}
body.shop-skin-on .panel:nth-of-type(1) {
    background: #fff;
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
}
body.shop-skin-hide-origin .panel:nth-of-type(2) {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}
.shop-skin-hide-origin .panel:nth-of-type(2) > .panel-header,
.shop-skin-hide-origin .panel:nth-of-type(2) .chip-list,
.shop-skin-hide-origin .panel:nth-of-type(2) .item-list,
.shop-skin-hide-origin .panel:nth-of-type(2) .mb-3 { display: none !important; }
#shop-skin-root {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 12px;
    box-sizing: border-box;
}
.shop-skin-card {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
}
.shop-skin-search { display:flex; gap:8px; }
.shop-skin-search input {
    flex:1; border:1px solid #e2e8f0; border-radius:10px; padding:10px 12px; background:#fff; outline:none; color:#0f172a;
}
.shop-skin-search button {
    background:#16a34a; color:#fff; border:none; border-radius:10px; padding:10px 18px; font-weight:600; white-space:nowrap;
}
.shop-skin-title { font-weight:700; margin-bottom:10px; display:flex; align-items:center; gap:6px; color:#0f172a; }
.shop-skin-cat-wrap { position:relative; }
.shop-skin-cat { max-height: 264px; overflow-x: hidden; overflow-y: auto; padding-right: 18px; }
.shop-skin-cat a {
    display:flex; align-items:center; gap:8px; height:44px; box-sizing:border-box; padding:0 8px; color:#0f172a; text-decoration:none; border-radius:10px;
}
.shop-skin-cat a span:nth-child(2) { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.shop-skin-cat a.is-on span:nth-child(2) { color:#db2777; font-weight:600; }
.shop-skin-cat .count {
    min-width:28px; height:22px; border-radius:11px; background:#dcfce7; color:#15803d;
    font-size:12px; display:flex; align-items:center; justify-content:center; padding:0 6px;
}
.shop-skin-cat-hint {
    position:absolute; right:0; top:38%; writing-mode:vertical-rl; color:#2563eb;
    font-size:12px; letter-spacing:2px; pointer-events:none;
}
.shop-skin-table { width:100%; border-collapse:collapse; }
.shop-skin-table th { color:#64748b; font-weight:600; font-size:13px; padding:8px 6px; }
.shop-skin-table td { padding:14px 6px; border-top:1px solid rgba(226,232,240,.8); vertical-align:middle; }
.shop-skin-name { display:flex; align-items:flex-start; gap:8px; color:#0f172a; line-height:1.35; text-decoration:none; }
a.shop-skin-name:hover { color:#1d4ed8; }
.shop-skin-price { color:#db2777; font-weight:700; white-space:nowrap; }
.shop-skin-stock { color:#16a34a; white-space:nowrap; }
.shop-skin-buy {
    background:#2563eb; color:#fff !important; border:none; border-radius:8px;
    padding:6px 12px; font-size:13px; text-decoration:none; display:inline-flex; align-items:center; gap:4px;
}
.shop-skin-buy[disabled] { background:#94a3b8; }
.sd-plane, .sd-ico-search, .sd-ico-cat, .sd-ico-list, .sd-box {
    display:inline-block; width:18px; height:18px; border-radius:50%;
    background:#3b82f6; flex-shrink:0;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M2 21l21-9L2 3v7l15 2-15 2v7z'/></svg>") center/14px no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M2 21l21-9L2 3v7l15 2-15 2v7z'/></svg>") center/14px no-repeat;
}
.sd-ico-search {
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/></svg>") center/14px no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/></svg>") center/14px no-repeat;
}
.sd-ico-cat {
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='8' fill='none' stroke='white' stroke-width='3'/><circle cx='12' cy='12' r='3' fill='white'/></svg>") center/14px no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='8' fill='none' stroke='white' stroke-width='3'/><circle cx='12' cy='12' r='3' fill='white'/></svg>") center/14px no-repeat;
}
.sd-ico-list {
    border-radius:4px;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M14 6l-1-2H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-5z'/></svg>") center/14px no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M14 6l-1-2H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-5z'/></svg>") center/14px no-repeat;
}
.sd-cart {
    display:inline-block; width:12px; height:12px; background:#fff;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1 1 0 0020 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/></svg>") center/12px no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1 1 0 0020 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/></svg>") center/12px no-repeat;
}
.sd-box {
    border-radius:4px; background:#22c55e;
    mask: none; -webkit-mask: none;
    width:12px; height:12px; vertical-align:middle;
}
.sd-modal-mask { position:fixed; inset:0; background:rgba(15,23,42,.45); z-index:9999; display:flex; align-items:flex-end; justify-content:center; }
@media (min-width: 768px) { .sd-modal-mask { align-items:center; } }
.sd-modal {
    width:min(520px,100%); max-height:92vh; overflow:auto;
    background:linear-gradient(180deg,#fff 0%, #fff6fb 100%);
    border-radius:18px 18px 0 0; padding:16px 16px 24px; position:relative;
}
@media (min-width: 768px) { .sd-modal { border-radius:18px; } }
.sd-modal h3 { margin:0 32px 8px 0; font-size:16px; font-weight:700; }
.sd-close { position:absolute; right:14px; top:12px; border:none; background:transparent; font-size:22px; color:#64748b; }
.sd-price { color:#16a34a; font-size:22px; font-weight:800; margin:8px 0; }
.sd-badge { display:inline-block; background:#dcfce7; color:#166534; border-radius:6px; padding:2px 6px; font-size:12px; margin-right:6px; }
.sd-badge.stock { background:#ede9fe; color:#6d28d9; }
.sd-field { margin:10px 0; }
.sd-field label { display:block; font-size:13px; color:#334155; margin-bottom:4px; }
.sd-field input { width:100%; border:1px solid #e2e8f0; border-radius:8px; padding:8px 10px; background:#fff; }
.sd-pay { display:flex; flex-wrap:wrap; gap:6px; }
.sd-pay a {
    display:inline-flex; align-items:center; gap:4px; border:1px solid #93c5fd;
    border-radius:7px; padding:2px 6px; background:#dbeafe; text-decoration:none; color:#111; font-size:12px; line-height:1.2;
}
.sd-pay a span { color:#111; }
.sd-pay a img { width:14px; height:14px; object-fit:cover; border-radius:3px; }
.sd-pay a.is-on { border-color:#2563eb; box-shadow:0 0 0 2px rgba(37,99,235,.15); }
.sd-tip { background:#fff7ed; color:#9a3412; border-radius:10px; padding:10px; font-size:12px; margin:10px 0; line-height:1.55; }
.sd-desc { color:#475569; font-size:13px; line-height:1.55; margin-bottom:6px; }
.sd-desc img { max-width:100%; height:auto; border-radius:10px; }
.sd-desc a { color:#2563eb; }
.sd-service { font-size:13px; color:#334155; margin:8px 0 12px; }
.sd-service a { color:#2563eb; text-decoration:none; }
.sd-pay-title { display:flex; align-items:center; gap:6px; font-size:13px; color:#334155; margin:12px 0 8px; padding-top:10px; border-top:1px dashed #e2e8f0; }
