.cp7-profile,.cp7-settings{font-family:"Trebuchet MS",Arial,sans-serif;color:#183b63}
.cp7-header{display:flex;gap:24px;align-items:center;padding:24px;border:1px solid #aac0d2;border-top:4px solid #658c3d;border-radius:10px;background:linear-gradient(135deg,#fff,#e4edf5);box-shadow:0 4px 16px #173f6814}
.cp7-header>img{width:126px;height:150px;object-fit:cover;border:3px solid #cfad54;border-radius:9px;box-shadow:0 4px 10px #0002}
.cp7-header h1{font-size:32px;margin:6px 0;color:#173f68;font-weight:700;overflow-wrap:anywhere}.cp7-header small{font-size:11px;letter-spacing:2px;color:#667b8f}.cp7-header p{font-size:17px;margin:0 0 12px}
.cp7-badges{display:flex;flex-wrap:wrap;gap:8px}.cp7-membership,.cp7-state{display:inline-block;padding:5px 12px;border-radius:20px;background:#fff4cc;border:1px solid #d2b767;color:#785509;font-size:13px;font-weight:bold}
.cp7-state{background:#e9eff5;border-color:#adc1d1;color:#315a78}.cp7-state.cp7-pk{background:#ffebeb;color:#b72929;border-color:#df9b9b}.cp7-state.cp7-hero{background:#e1f2ff;color:#14689b;border-color:#87b8d6;display:inline-block;box-shadow:none;letter-spacing:0}.cp7-state.cp7-warning{background:#fff3df;color:#895f17}
.cp7-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:14px 0}.cp7-metrics>div{padding:14px 10px;border:1px solid #c5d5e2;border-radius:7px;background:#fff;text-align:center}.cp7-metrics small{display:block;color:#6d8192;font-size:12px}.cp7-metrics strong{display:block;font-size:21px;color:#173f68;margin-top:4px;overflow-wrap:anywhere}
.cp7-panel{margin:16px 0;border:1px solid #b6c9d8;border-radius:9px;background:#fff;overflow:visible;padding:16px}.cp7-panel h2{margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #d0dce5;color:#315f84;font-size:19px;font-weight:bold}
.cp7-muted{font-size:13px;color:#6b7f90;margin:8px 0}.cp7-attributes{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.cp7-attributes>div{display:flex;flex-direction:column;gap:6px;padding:14px;background:#f0f5f9;border-radius:6px}.cp7-attributes span{font-size:13px;color:#637b8f}.cp7-attributes strong{font-size:20px;color:#294d69;overflow-wrap:anywhere}
.cp7-equipment{position:relative;height:480px;max-width:650px;margin:auto;background:linear-gradient(135deg,#15283b,#0c1621);border:1px solid #638097;border-radius:9px;isolation:isolate}.cp7-silhouette{position:absolute;inset:4% 18%;width:64%;height:92%;object-fit:contain;opacity:.9;pointer-events:none}
.cp7-slot{position:absolute;width:100px;height:68px;border:1px solid #8eabc2;border-radius:7px;background:linear-gradient(#203a50ed,#122536ef);color:white;z-index:1;box-shadow:0 2px 8px #0003}.cp7-side-0{left:3%}.cp7-side-1{right:3%}.cp7-slot[open]{z-index:5;border-color:#edc36f}.cp7-slot summary{height:100%;list-style:none;cursor:pointer;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.cp7-slot summary::-webkit-details-marker{display:none}.cp7-slot summary:focus-visible{outline:3px solid #eac46b;outline-offset:3px}.cp7-slot-label{font-size:10px;color:#d8e8f3}.cp7-slot img{max-width:72px;max-height:42px;object-fit:contain;image-rendering:auto}.cp7-slot-empty{color:#a1b6c7;font-size:20px}
.cp7-item-info{position:absolute;top:0;width:190px;padding:12px;border-radius:7px;background:#102a40;color:#edf6fd;border:1px solid #cfb267;box-shadow:0 5px 15px #0007;overflow-wrap:anywhere;font-size:13px}.cp7-side-0 .cp7-item-info{left:104%}.cp7-side-1 .cp7-item-info{right:104%}.cp7-item-info b{display:block;color:#ffe29a;margin-bottom:7px}.cp7-item-info span{display:block;margin:3px 0}
.cp7-disabled{text-align:center;padding:64px 20px;border:1px solid #c3d1dc;background:#f2f6fa;border-radius:10px;color:#294d69}.cp7-disabled>span{font-size:38px}.cp7-disabled h1{font-size:28px;margin:14px 0}.cp7-disabled p{font-size:14px;color:#718598}
.cp7-settings{padding:18px;background:#fff;border:1px solid #bfd0dd;border-radius:8px}.cp7-settings h1{font-size:27px;color:#234d70;margin:0 0 18px}.cp7-visibility-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(150px,2fr) auto;gap:12px;align-items:center;padding:16px 0;border-top:1px solid #d5e0e9}.cp7-visibility-row h2{font-size:17px;margin:0;overflow-wrap:anywhere}.cp7-visibility-row label{display:flex;flex-direction:column;gap:5px;font-size:12px}.cp7-visibility-row select{padding:9px;border:1px solid #a8bfce;border-radius:5px;background:white;color:#173f68;max-width:100%}.cp7-visibility-row button{padding:10px 18px;background:#315f84;color:white;border:0;border-radius:5px;cursor:pointer}
@media(max-width:700px){.cp7-header{padding:16px;gap:14px}.cp7-header>img{width:90px;height:110px}.cp7-header h1{font-size:26px}.cp7-header small{letter-spacing:1px;font-size:9px}.cp7-panel{padding:12px}.cp7-visibility-row{grid-template-columns:1fr}.cp7-visibility-row button{justify-self:start}}
@media(max-width:420px){.cp7-slot{width:76px}.cp7-slot img{max-width:58px}.cp7-slot-label{font-size:9px}.cp7-item-info{width:155px}.cp7-metrics strong{font-size:18px}.cp7-header h1{font-size:23px}.cp7-header>img{width:74px;height:96px}}


.cp7-slot details { height: 100%; }
.cp7-slot img { max-height: 29px; }
.cp74-item-name {
    max-width: 100%; padding: 0 4px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; font-size: 11px;
}
.cp7-slot .cp7-item-info { display: none; width: clamp(120px, 32vw, 230px); }
.cp7-slot:nth-last-child(-n+3) .cp7-item-info { top: auto; bottom: 0; }
.cp7-slot:has(details[open]), .cp7-slot:has(summary:focus-visible) { z-index: 5; border-color: #edc36f; }
.cp7-slot details[open] + .cp7-item-info, .cp7-slot:has(summary:focus-visible) .cp7-item-info { display: block; }
@media (hover: hover) {
    .cp7-slot:hover { z-index: 6; border-color: #edc36f; }
    .cp7-slot:hover .cp7-item-info { display: block; }
}
.cp7-item-info .cp74-excellent { color: #8ce6aa; }

.cp7-slot .cp76-socket { color: #d397ff; }
