/* TWJ Step 6 — compact private body statistics */
.twj6-tabs{display:flex;gap:5px;padding:5px;background:#1b283c;border:1px solid #354966;border-radius:12px;margin:3px 0 15px}
.twj6-tabs button{flex:1;min-height:43px;border:0;border-radius:9px;font-weight:800;font-size:13px;color:#a9c6f6;background:transparent}
.twj6-tabs button.active{background:#3765b5;color:#fff}
.twj6-body{display:grid;gap:9px;padding-bottom:10px}
.twj6-intro h2{font-size:26px;line-height:1.15;margin:4px 0}
.twj6-intro p{font-size:12px;margin:5px 0 8px}
.twj6-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.twj6-metrics>div{background:#1b2638;border:1px solid #35465c;border-radius:12px;padding:12px;display:grid;gap:9px;min-width:0}
.twj6-metrics small{font-size:10px;letter-spacing:.07em;color:#b1c7ec;font-weight:800}
.twj6-metrics strong{font-size:clamp(19px,4vw,26px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.twj6-metrics strong em{font-size:11px;font-style:normal;font-weight:600;color:#9db8e8}
.twj6-body .card{margin:2px 0!important;padding:12px!important;background:#1a202e;border-color:#34455f;border-radius:13px}
.twj6-card h3{font-size:16px;margin:0 0 10px}
.twj6-goaltrack{display:grid;gap:9px}
.twj6-track{height:12px;background:#303d54;border-radius:12px;overflow:hidden}
.twj6-track i{display:block;height:100%;background:#6697f8;border-radius:12px}
.twj6-goalnumbers{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.twj6-goalnumbers>span{display:grid;gap:3px;color:#aebedc;font-size:10px}
.twj6-goalnumbers strong{font-size:12px;color:#eff4ff}
.twj6-goaltrack p{margin:0;color:#cad8ec;font-size:12px}
.twj6-goaltrack small{line-height:1.5;color:#9cabbe;font-size:11px}
.twj6-muted{font-size:11px;color:#a9b9cf;line-height:1.6;margin:5px 0}
.twj6-error{padding:9px;border:1px solid #925a5a;border-radius:8px;color:#ffbcbc;font-size:12px}
.twj6-row{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.twj6-row h3{margin:0}
.twj6-row label{display:flex;gap:7px;align-items:center;font-size:11px}
.twj6-row select{width:auto;min-width:135px;max-width:195px;min-height:36px;margin:0;font-size:11px;padding:6px}
.twj6-chart{width:100%;max-height:190px;display:block}
.twj6-fold>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:9px;align-items:center;min-height:40px;padding:5px 0;font-size:14px;font-weight:800;color:#f0f5ff}
.twj6-fold>summary::-webkit-details-marker{display:none}
.twj6-fold>summary:after{content:"⌄";color:#b5cef6;font-size:20px;font-weight:400}
.twj6-fold[open]>summary:after{content:"⌃"}
.twj6-fold>summary small{font-weight:600;font-size:10px;color:#9fbce6;white-space:nowrap}
.twj6-form{display:grid;gap:10px;border-top:1px solid #34445e;padding-top:12px}
.twj6-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.twj6-form label{font-size:11px;color:#c6d5ea;min-width:0}
.twj6-form label small{font-size:10px;color:#8eabd9}
.twj6-form input,.twj6-form select{width:100%;min-height:41px;max-width:100%;font-size:13px;background:#111b2c;color:#fff;border-color:#445774;padding:8px 9px;margin:5px 0 0}
.twj6-form input[type=file]{padding:8px}
.twj6-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.twj6-actions button,.twj6-form>button{min-height:44px;font-size:12px}
.twj6-form .msg{font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.twj6-history{display:grid;gap:2px;border-top:1px solid #364961}
.twj6-record{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #344259;padding:9px 1px}
.twj6-record>span:first-child{display:grid;gap:5px;min-width:0}
.twj6-record strong{font-size:12px;color:#eef4ff}
.twj6-record small{font-size:10px;color:#abbfdc}
.twj6-recordactions{display:flex;gap:5px;flex-shrink:0}
.twj6-recordactions button,.twj6-photo-item button{border:1px solid #456185;background:#202d42;color:#b9d2ff;padding:5px 8px;min-height:34px;border-radius:8px;font-size:10px}
.twj6-recordactions button:last-child,.twj6-photo-item button:last-child{color:#ffc0c7;border-color:#84525b}
.twj6-photos{display:grid;gap:6px;margin:12px 0}
.twj6-photo-item{display:grid;gap:6px;padding:9px;background:#1d293a;border:1px solid #33465f;border-radius:10px}
.twj6-photo-item strong{font-size:12px}
.twj6-photo-item small{font-size:10px;color:#adbed9}
.twj6-photo-item>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.twj6-compare{display:flex!important;gap:5px;align-items:center;margin:0;font-size:10px!important;cursor:pointer}
.twj6-compare input{min-width:18px;width:18px;height:18px;min-height:18px;margin:0}
.twj6-dialog{background:#172132;color:#f3f6fd;border:1px solid #567099;border-radius:16px;padding:14px;max-height:92dvh;max-width:96vw;width:min(900px,95vw)}
.twj6-dialog::backdrop{background:#000d}
.twj6-dialog h3{font-size:15px;margin:0}
.twj6-dialog .ghost{min-height:37px}
.twj6-dialog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:12px}
.twj6-dialog-grid figure{margin:0;min-width:0}
.twj6-dialog-grid img{width:100%;max-height:75dvh;object-fit:contain;background:#0c111b;border-radius:9px}
.twj6-dialog-grid figcaption{font-size:11px;margin:7px;color:#bbcbe3}
.twj6-profile-tile{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:57px;border:1px solid #3b5680;border-radius:12px;background:#203453;color:#bad4ff;font-size:13px;text-align:left;font-weight:800;padding:10px 14px;margin:7px 0 13px}
.twj6-profile-tile span{font-size:20px}
@media(max-width:365px){.twj6-fields{gap:7px}.twj6-form input{padding:7px 5px;font-size:12px}.twj6-goalnumbers strong{font-size:11px}}
@media(min-width:700px){.twj6-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.twj6-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
