/* P5.1 calculated character totals: compact source accounting inside the existing design. */
.gc51-breakdown{
 margin:13px 2px 2px;
 padding:11px 14px;
 border:1px solid rgba(150,167,198,.22);
 border-radius:9px;
 background:rgba(15,18,30,.45);
 color:#cfdae8;
}
.gc51-breakdown>summary{cursor:pointer;color:#9fc8e6;font-size:12px;font-weight:700}
.gc51-breakdown>p{font-size:11px;line-height:1.55;color:#aeb6c9;margin:12px 0}
.gc51-bonus-group{margin:10px 0;padding:8px 10px;border-left:2px solid rgba(127,171,206,.62);background:rgba(106,136,173,.07)}
.gc51-bonus-group>strong{display:block;font-size:12px;color:#dce8f5;margin-bottom:5px}
.gc51-bonus-group>div{display:flex;justify-content:space-between;gap:14px;padding:3px 0;border-top:1px solid rgba(180,197,220,.08);font-size:11px}
.gc51-bonus-group>div span{color:#adbacb}
.gc51-bonus-group>div b{color:#8cdbbc;white-space:nowrap}
.gc51-breakdown h4{color:#e9be8b;font-size:12px;margin:15px 0 6px}
.gc51-breakdown ul{margin:4px 0 0 16px;padding:0;color:#d2bba4;font-size:11px;line-height:1.7}
.gc51-breakdown li{overflow-wrap:anywhere}
@media(max-width:650px){.gc51-breakdown{padding:10px}.gc51-bonus-group>div{gap:8px}}

/* P5.2: show live calculated totals next to manually saved in-game snapshots. */
.gc52-calculated{display:block;margin-top:2px;font-size:10px;line-height:1.2;
 color:#8fdec3;font-weight:600;white-space:nowrap}
.gc52-table-calculated{display:block;color:#8fdec3;font-size:9px;
 font-weight:500;line-height:1.15;margin-top:3px;white-space:nowrap}
.gc49-core-card:has(.gc52-calculated){min-height:70px}
