.cd-report-trigger { top: auto !important; right: auto !important; bottom: 18px; left: 18px; width: 38px; height: 38px; position: absolute; z-index: 4; border-radius: 50%; border: 1px solid #cba54788; background: #090f19e8; color: #e2ba5e; display: grid; place-items: center; }
.cd-report-trigger svg { width: 22px; height: 22px; }
.ce-report-modal { width: min(520px, calc(100vw - 32px)); max-height: 90dvh; overflow: auto; padding: 24px; border: 1px solid #bd963b88; border-radius: 18px; background: #0b131f; color: #eef0f5; box-shadow: 0 24px 100px #000b; }
.ce-report-modal::backdrop { background: rgba(2,6,23,.48); backdrop-filter: blur(3px); }
.ce-report-modal h2 { font-size: 1.35rem; margin: 0; }
.ce-report-modal label { display: grid; gap: 8px; margin: 18px 0; }
.ce-report-modal .cd2-input { width: 100%; max-width: none; }
.ce-report-modal { background: linear-gradient(135deg, rgba(17,24,39,.78), rgba(7,11,18,.68)); border-color: #374151; color: rgba(255,255,255,.92); }
.ce-report-modal h2 { color: rgba(255,255,255,.92); font-weight: 800; }
.ce-report-modal [data-report-context], .ce-report-modal label { color: #b8c3d4; }
.ce-report-modal .cd2-input { background: rgba(2,6,23,.52); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.94); border-radius: 10px; padding: 11px 12px; }
.ce-report-modal .cd2-input:focus { outline: 2px solid #d8ad51; outline-offset: 2px; }
.ce-report-modal .cd2-button { background: rgba(17,24,39,.4); color: #f4cf80; border: 1px solid #374151; }
.ce-report-modal .cd2-button[type="submit"] { background: linear-gradient(135deg, #f7d37f, #c8963c); color: #15110a; }
.ce-report-modal .ce-report-close { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #e7bc61; font-size: 25px; line-height: 1; cursor: pointer; }
.ce-report-modal .ce-report-close:hover { background: #e7bc6118; color: #ffe0a1; }
.ce-report-modal .ce-report-close:focus-visible { outline: 2px solid #d8ad51; outline-offset: 2px; }
.cd2-table .cd-specific-copy-link { border: 1px solid #c5a05266; cursor: pointer; }
.cd2-table .cd-specific-copy-link:hover, .cd2-table .cd-specific-copy-link:focus-visible { border-color: #e7bc61; color: #ffe0a1; outline: 2px solid #d8ad5155; outline-offset: 2px; }
[data-copy-image-status] { margin: 12px 0 0; text-align: center; }
.cd-version-link { color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.cd-version-link:hover { color: #e7c46a; }
.cd-version-thumb { width: 30px; height: 42px; object-fit: contain; border-radius: 4px; float: left; margin-right: 10px; }
.cd2-table [data-specific-badge][hidden] { display: none !important; }
.cd-version-selected { background: #c49c3514; outline: 1px solid #b28a3a88; outline-offset: -1px; }
.cd2-table td[data-label="Owned"] { white-space: nowrap; }
.cd2-table td[data-label="Owned"] .cd2-input { width: 66px; display: inline-block; }
.cd2-table td[data-label="Owned"] [data-specific-badge] { margin: 0 0 0 8px !important; }
#cd2CopiesSection .cd2-rolodex { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(220px, 1fr) minmax(270px, 1.2fr); align-items: start; gap: 18px; margin-top: 20px; }
.cd-copy-list, .cd-copy-viewer { min-width: 0; border: 1px solid #374151; border-radius: 14px; padding: 14px; background: rgba(17,24,39,.4); }
.cd-copy-list [data-copy-version] { display: block; width: 100%; max-width: none; margin-top: 8px; }
#cd2CopiesSection .cd2-rolodex-stack { display: grid; gap: 10px; position: static; height: auto; width: auto; margin: 14px 0; perspective: none; }
#cd2CopiesSection .cd2-rolodex-tile { position: static; transform: none; opacity: 1; width: 100%; height: auto; display: grid; grid-template-columns: 44px 1fr; gap: 4px 10px; text-align: left; padding: 8px; border-radius: 10px; pointer-events: auto; }
#cd2CopiesSection .cd2-rolodex-tile[aria-pressed="true"] { border-color: #e0b650; box-shadow: 0 0 0 1px #e0b65066; background: #ba953515; }
#cd2CopiesSection .cd2-rolodex-tile-img { grid-row: span 2; width: 44px; height: 64px; border-radius: 5px; }
#cd2CopiesSection .cd2-rolodex-tile-img img { width: 100%; height: 100%; object-fit: contain; }
#cd2CopiesSection .cd2-rolodex-tile-name, #cd2CopiesSection .cd2-rolodex-tile-meta { margin: 0; white-space: normal; }
#cd2CopiesSection .cd2-tile-flip-btn { display: none; }
.cd-copy-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cd-copy-stage { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 310px; margin: 16px 0; }
.cd-copy-stage img { width: calc(100% - 72px); max-height: 390px; object-fit: contain; border: 1px solid #d4aa4c; border-radius: 10px; padding: 8px; background: #050a11; }
.cd-copy-stage .cd2-button { min-width: 30px; padding: 7px; }
.cd-copy-sides { display: flex; justify-content: center; gap: 10px; }
.cd-copy-sides [aria-pressed="true"] { border-color: #e0b650; color: #e0b650; }
#cd2CopiesSection [data-copy-panel] { padding: 15px; min-width: 0; }
#cd2CopiesSection .cd2-attr-fields { gap: 8px; }
#cd2CopiesSection .cd2-attr-field { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1.3fr); gap: 8px; }
#cd2CopiesSection .cd2-attr-field label { min-width: 0; }
#cd2CopiesSection .cd2-attr-field .cd2-input { max-width: 100%; min-width: 0; width: 100%; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-copy-serial { display: grid !important; grid-template-columns: auto 18px minmax(0, 1fr) auto; gap: 6px; min-width: 0; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-copy-serial label { min-width: 0; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-copy-serial .cd2-input { width: 100%; min-width: 0; max-width: 100%; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-copy-serial > span:last-child { white-space: nowrap; }
#cd2CopiesSection .cd2-copy-images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-copy-image-slot { min-width: 0; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-copy-image-controls { display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 6px; min-width: 0; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-image-picker { width: 100%; min-width: 0; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-image-picker summary { min-width: 0; min-height: 36px; padding: 6px 8px; gap: 4px; font-size: .75rem; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-image-picker summary span:first-child { min-width: 0; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-camera-btn { width: 32px; min-width: 0; height: 36px; padding: 0; font-size: .8rem; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-image-picker-menu { min-width: 0; width: 100%; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-image-picker-option { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
:is(#cd2CopiesSection, .cd-copy-edit-dialog) .cd2-image-picker-option span { min-width: 0; }
#cd2CopiesSection .cd2-copy-thumb { max-height: 110px; max-width: 100%; object-fit: contain; }
.cd-copy-trade { display: flex; gap: 8px; margin: 14px 0; color: #d8bb72; }
.cd-copy-sides button { display: grid; gap: 5px; }
.cd-copy-sides img { width: 48px; height: 65px; object-fit: contain; }
.cd-copy-edit { display: none; }
.cd-copy-edit-dialog { color: #eee; background: linear-gradient(135deg, rgba(17,24,39,.78), rgba(7,11,18,.68)); border: 1px solid #374151; border-radius: 20px 20px 0 0; margin: auto auto 0; width: min(600px, 100%); max-height: 90dvh; overflow: auto; padding: 18px; }
.cd-copy-edit-dialog::backdrop { background: #000b; }
.cd-copy-edit-dialog h2 { font-size: 1.2rem; }
.cd-copy-edit-dialog [data-copy-panel] { border: 0; padding: 10px 0; }
.cd-copy-edit-dialog .cd2-attr-field { flex-wrap: wrap; }
.cd-copy-edit-dialog .cd2-attr-field { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1.2fr); gap: 7px; }
.cd-copy-edit-dialog .cd2-attr-field[hidden], .cd-copy-edit-dialog [hidden] { display: none !important; }
.cd-copy-edit-dialog .cd2-attr-field label { min-width: 0; }
.cd-copy-edit-dialog .cd2-attr-field .cd2-input { width: 100%; min-width: 0; max-width: 100%; }
.cd-copy-edit-dialog .cd2-input { max-width: 100%; min-width: 0; }
.cd-copy-edit-dialog .cd2-copy-images { grid-template-columns: 1fr; }
.cd-copy-edit-dialog .cd2-copy-thumb { max-height: 110px; max-width: 100%; }
.cd-copy-edit-dialog > .cd2-button { width: 100%; margin-top: 12px; }
.cd-copy-save, .cd-copy-edit { background: #e7bb4c; color: #14100a; font-weight: 800; }
.cd-copy-edit-dialog .cd-copy-save, #cd2CopiesSection .cd-copy-edit { background: #e7bb4c; color: #14100a; }
[data-copy-panel][hidden], #cd2CopiesSection [hidden] { display: none !important; }
@media(min-width: 901px) { .cd2-lower { grid-template-columns: 1fr !important; } }
@media(max-width: 1100px) { #cd2CopiesSection .cd2-rolodex { grid-template-columns: minmax(140px, .7fr) 1fr; } #cd2CopiesSection [data-copy-panels] { grid-column: 1 / -1; } }
@media(max-width: 600px) { #cd2CopiesSection .cd2-rolodex { grid-template-columns: 1fr; } .cd-copy-stage { min-height: 240px; } .cd-copy-stage img { max-height: 320px; } }
@media(max-width: 900px) {
    .cdm-shell { background: transparent; }
    .cdm-row-card { padding: 12px !important; margin-bottom: 8px !important; background: linear-gradient(135deg, rgba(17,24,39,.78), rgba(7,11,18,.68)) !important; }
    .cdm-row-card .cdm-addcopy-btn { display: none; }
    [data-card-editor-expanded="true"] .cdm-row-card .cdm-addcopy-btn { display: block; }
    .cdm-row-top { min-height: 42px; }
    .cdm-row-top .cd-version-thumb { grid-row: span 2; }
    .cdm-row-top .cd-mobile-owned { display: block; }
    #cd2CopiesSection .cd2-rolodex { display: flex; flex-direction: column; gap: 12px; }
    #cd2CopiesSection .cd-copy-list, #cd2CopiesSection .cd-copy-viewer { width: 100%; }
    #cd2CopiesSection .cd2-rolodex-stack { display: none; }
    #cd2CopiesSection [data-copy-panels] { display: none; }
    #cd2CopiesSection > .cd2-panel-title, #cd2CopiesSection > .cd2-panel-copy { display: none; }
    .cd-copy-edit { display: block; width: 100%; margin-top: 14px; }
    .cdm-row-card { position: relative; }
    .cdm-row-card .cdm-row-top { padding-right: 75px; }
    .cd-mobile-owned { color: #b8bdc7; font-size: .72rem; white-space: nowrap; }
    .cdm-row-card .cdm-badge-specific { position: absolute; right: 10px; top: 10px; border: 1px solid #caa34666; background: #b08c2520; color: #e4bd60; font-size: .72rem; }
    .cd-mobile-counts summary { color: #b9bec8; font-size: .72rem; margin: 6px 0; cursor: pointer; }
}
