/* Progress stays in its existing destination; these summaries fit narrow phones. */
.progress-snapshot{margin:18px 0 22px}
.progress-snapshot-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
#community-content .progress-snapshot-heading h3{font-size:20px;margin:0}
.progress-snapshot-heading button,.progress-specialty button{min-height:44px;white-space:normal;text-align:left}
.progress-snapshot dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.progress-snapshot-stat{min-width:0;padding:16px;border:1px solid #415764;border-radius:10px;background:#142630;display:flex;flex-direction:column;gap:7px}
.progress-snapshot-stat dt{font-size:13px;line-height:1.4;color:#d3dfe2}
.progress-snapshot-stat dd{margin:0;font-size:27px;line-height:1.25;color:#efd39f;font-variant-numeric:tabular-nums}
.progress-snapshot-stat dd span{font-size:15px;color:#adbfca}
.progress-snapshot-stat small{font-size:11px;line-height:1.5;color:#b1c4ce;overflow-wrap:anywhere}
.progress-specialty{margin:20px 0;padding:22px;border:1px solid #80764e;border-radius:14px;background:linear-gradient(140deg,#303626,#152832);min-width:0}
#community-content .progress-specialty h3{font-size:26px;margin:10px 0}
#community-content .progress-specialty p{font-size:14px;line-height:1.6}
.progress-specialty ul{list-style:none;padding:0;margin:14px 0 18px}
.progress-specialty li{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #51615b;font-size:13px;line-height:1.5}
.progress-specialty li span{min-width:0;overflow-wrap:anywhere}
.progress-specialty li b{flex-shrink:0;font-variant-numeric:tabular-nums;color:#ead7a8}
.progress-specialty-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.progress-specialty-complete{font-size:13px;line-height:1.6;color:#c9dfbe}
.progress-challenge-results{border:1px solid #415764;background:#142630;border-radius:12px;padding:20px;margin:20px 0}
#community-content .progress-challenge-results h3{font-size:22px;margin:0 0 12px}
#community-content .progress-challenge-results p{font-size:14px;line-height:1.6}
.progress-pack-list{margin:18px 0 0}
.progress-pack-list>div{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #3b515e;padding:12px 0;font-size:14px;line-height:1.5}
.progress-pack-list dt{color:#e0e6e5}.progress-pack-list dd{margin:0;text-align:right;color:#eed3a0;font-variant-numeric:tabular-nums}
.progress-pack-list small{display:block;color:#b5c6cf;font-size:12px}
#community-content .badge-availability-note{margin-top:10px;font-size:12px;min-height:0;color:#c8d0c4}
.game-achievement.legacy,.game-achievement.restricted{border-style:dashed}
.game-achievement.earned.legacy,.game-achievement.earned.restricted{border-style:solid}
#community-content .badge-group-heading{font-size:18px;margin:20px 0 0}
.progress-snapshot :focus-visible,.progress-specialty :focus-visible,.badge-availability-group summary:focus-visible{outline:2px solid #e8c784;outline-offset:4px}
@media(max-width:600px){.progress-snapshot dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.progress-snapshot-stat{padding:13px 11px}.progress-specialty{padding:17px}.progress-challenge-results{padding:16px}.progress-specialty-actions{display:grid;grid-template-columns:minmax(0,1fr)}.progress-pack-list>div{flex-direction:column;gap:4px}.progress-pack-list dd{text-align:left}.game-earned>span{display:block;max-width:90px;line-height:1.5}.progress-snapshot-heading{align-items:flex-start}.progress-snapshot-heading button{width:100%}}
@media(max-width:360px){.progress-snapshot-stat dd{font-size:24px}.progress-snapshot-stat dd span{font-size:13px}.progress-snapshot-stat dt{font-size:12px}.progress-specialty{padding:14px}.progress-specialty li{gap:9px}}

/* One next action replaces separate overview prompts for a quest, frame and Vault. */
.progress-next-reward{min-width:0;margin:18px 0 22px;padding:20px;border:1px solid #7d775a;border-radius:14px;background:linear-gradient(125deg,#263331,#132530);overflow-wrap:anywhere}
#community-content .progress-next-reward h3{font-size:25px;line-height:1.25;margin:9px 0}
#community-content .progress-next-reward p{font-size:14px;line-height:1.6;margin:10px 0}
.progress-next-reward>small{display:block;color:#b9cbd1;font-size:12px;line-height:1.5;margin:7px 0}
.progress-next-reward>.community-primary{min-height:44px;margin-top:13px;white-space:normal;text-align:left}
.progress-reward-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #40554f;margin-top:18px;padding-top:12px;font-size:13px;color:#bdd0d6}
.progress-reward-summary b{font-variant-numeric:tabular-nums;color:#ecd29f}
.progress-next-reward .progress-reward-summary button,.progress-reward-frame button{min-height:44px}
.progress-reward-frame{margin-top:8px;color:#c3d0d4;font-size:13px}
.progress-reward-frame>summary{cursor:pointer;min-height:44px;box-sizing:border-box;padding:13px 0;line-height:1.5}
.progress-next-reward :focus-visible{outline:2px solid #e8c784;outline-offset:3px}
@media(max-width:600px){.progress-next-reward{padding:16px}.progress-next-reward>.community-primary{width:100%}#community-content .progress-next-reward h3{font-size:23px}.progress-reward-summary{gap:6px}}

/* Filters live inside the existing challenge catalog and keep their focus when results change. */
.challenge-catalog-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.challenge-catalog-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:14px;color:#c9d7e0}
.challenge-catalog-filters select{width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:10px;background:#080f17;color:#e4edf4;border:1px solid #3b4a58;border-radius:7px;font:inherit;font-size:16px}
.challenge-catalog-filters select:focus-visible{outline:2px solid #e8c784;outline-offset:3px}
#community-content .challenge-catalog-count,#community-content .challenge-catalog-empty{font-size:14px;line-height:1.6;color:#b9cbd1}
@media(max-width:420px){.challenge-catalog-filters{grid-template-columns:minmax(0,1fr);gap:10px}}
/* Long historical titles need a readable card on narrow phone screens. */
@media (max-width:380px){.game-tiers{grid-template-columns:minmax(0,1fr)}#community-content .game-tier h3{min-height:0;margin:8px 0 12px}.game-tier .eyebrow{overflow-wrap:normal}}
