.diagnostic-deck{width:100%;max-width:520px;margin:22px auto 0;color:#e9f0f4}
.diagnostic-deck-stage{position:relative;width:calc(100% - 30px);aspect-ratio:1440/2038;margin:0 30px 28px 0;isolation:isolate}
.diagnostic-deck-card{position:absolute;inset:0;display:block;overflow:hidden;border:1px solid #52616d;border-radius:8px;background:#f4f4f4;box-shadow:0 14px 26px #0008;transform-origin:50% 95%;transition:transform .32s ease,box-shadow .32s ease;outline-offset:5px}
.diagnostic-deck-card img{display:block;width:100%;height:100%;object-fit:cover}
.diagnostic-deck-card[data-slot="0"]{z-index:4;transform:translate(0,0) rotate(-1deg)}
.diagnostic-deck-card[data-slot="1"]{z-index:3;transform:translate(12px,5px) rotate(1.4deg);pointer-events:none}
.diagnostic-deck-card[data-slot="2"]{z-index:2;transform:translate(21px,10px) rotate(2.5deg);pointer-events:none}
.diagnostic-deck-card[data-slot="3"]{z-index:1;transform:translate(28px,15px) rotate(3.4deg);pointer-events:none}
.diagnostic-deck-card[data-slot="0"]:hover{transform:translate(0,-5px) rotate(0deg);box-shadow:0 20px 34px #000a}
.diagnostic-deck-controls{display:flex;justify-content:center;align-items:center;gap:28px}
.diagnostic-deck-controls button{width:48px;height:48px;border:1px solid #5b6d7c;border-radius:50%;background:#17232d;color:#e8f1f7;font-size:22px;line-height:1}
.diagnostic-deck-controls button:hover{background:#b9dced;color:#122633}
.diagnostic-deck-count{min-width:68px;text-align:center;font-size:18px;font-weight:700;letter-spacing:1px}.diagnostic-deck-count small{font-size:13px;color:#9daebc;font-weight:400}
.diagnostic-deck-hint,.diagnostic-deck-disclaimer{text-align:center!important;margin:12px 0 0!important;font-size:13px!important;line-height:1.5!important;color:#b5c4d1!important}
.diagnostic-deck-disclaimer{font-size:12px!important;color:#8f9eac!important;margin-top:5px!important}
.report-layout>.diagnostic-deck{max-width:500px}
@media(max-width:620px){.diagnostic-deck{max-width:380px}.diagnostic-deck-controls{gap:22px}.diagnostic-deck-controls button{width:44px;height:44px}}
