.cps-detail[hidden], .cps-detail [hidden] { display: none !important; }
.cps-detail {
    box-sizing: border-box;
    max-width: 760px;
    margin: 12px auto 16px;
    padding: 10px;
    border: 1px solid #ead4bb;
    border-radius: 10px;
    background: #fff7eb;
    color: #382415;
    text-align: left;
    font: 14px/1.45 system-ui, -apple-system, "Microsoft YaHei", sans-serif;
}
.cps-detail-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin: 0 2px 9px; }
.cps-detail-header strong { color: #91331e; }
.cps-detail .cps-detail-header a { color: #76503d; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cps-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(222px,100%),1fr)); gap: 8px; }
.cps-detail-game { min-width: 0; padding: 10px; border: 1px solid #ead9c4; border-radius: 8px; background: #fffdf9; }
.cps-detail-product { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cps-detail .cps-detail-product img { box-sizing: border-box; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 8px; margin: 0; object-fit: cover; }
.cps-detail-product strong { font-size: 16px; color: #2e2019; overflow-wrap: anywhere; }
.cps-detail-product b { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #a7311c; color: #fff; font-size: 12px; white-space: nowrap; }
.cps-detail-product small { display: block; color: #984228; font-size: 12px; }
.cps-detail .cps-detail-game p { margin: 7px 0; padding: 0; color: #5b493d; text-indent: 0; font: 13px/1.4 system-ui, -apple-system, "Microsoft YaHei", sans-serif; }
.cps-detail .cps-detail-download { display: flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 8px; border-radius: 7px; background: #ac351f; color: #fff; text-decoration: none; font-weight: 800; }
.cps-detail .cps-detail-download:hover { background: #8d2616; color: #fff; }
.cps-detail-scan { margin: 8px auto 0; text-align: center; color: #694b3d; }
.cps-detail-scan [data-cps-detail-code] { box-sizing: content-box; width: 144px; height: 144px; padding: 10px; margin: 0 auto 4px; border-radius: 6px; background: #fff; }
