/* V176 stage 8: corrections based on iPhone screenshots. */
/* Remove the absolutely-positioned emoji decorations that collide with labels. */
.challenge .stats>div{padding:13px 12px!important;min-height:78px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important}
.challenge .stats>div::before{content:none!important;display:none!important}
.challenge .stats small{position:static!important;display:block!important;margin:0!important;padding:0!important;font-size:clamp(12px,3.3vw,15px)!important;line-height:1.3!important;white-space:normal!important}
.challenge .stats strong{position:static!important;display:block!important;margin:0!important;font-size:clamp(16px,4.5vw,21px)!important;line-height:1.25!important;overflow-wrap:normal!important;word-break:normal!important}
/* Compact disclosures while preserving comfortable tap targets and a fixed right-hand plus. */
.challenge section.card:has(>details.challenge-disclosure){padding:0!important;margin:10px 0!important;overflow:hidden!important}
.challenge .challenge-disclosure>summary{display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;align-items:center!important;gap:12px!important;min-height:60px!important;padding:12px 16px!important;margin:0!important;font-size:clamp(15px,4.2vw,19px)!important;line-height:1.3!important;list-style:none!important}
.challenge .challenge-disclosure>summary::after{content:'+'!important;float:none!important;justify-self:center!important;font-size:26px!important;line-height:1!important}
.challenge .challenge-disclosure[open]>summary::after{content:'−'!important}
.challenge .challenge-disclosure>summary::-webkit-details-marker{display:none!important}
.challenge .challenge-disclosure[open]>:not(summary){margin-left:16px!important;margin-right:16px!important}
/* Trim excessive gap after the day advance button. */
.challenge .market-section #next{margin:14px 0 6px!important;min-height:50px!important}
.challenge .market-section #day{margin:8px 0 2px!important;min-height:0!important}
.challenge .market-section{padding-bottom:14px!important}
.challenge .market-chart{margin-top:10px!important}
/* Header: prevent button overlap with title on compact phones. */
.challenge .stock-preview .preview-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important}
.challenge .stock-preview .preview-heading h3{min-width:0!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;line-height:1.3!important;font-size:clamp(12px,3.3vw,15px)!important}
.challenge .stock-preview #show-all{margin:0!important;min-width:0!important;padding:10px 9px!important;font-size:clamp(11px,3vw,13px)!important;white-space:nowrap!important}
@media(max-width:350px){.challenge .stock-preview .preview-heading{grid-template-columns:1fr!important}.challenge .stock-preview #show-all{justify-self:start!important}}
