.challenge-content{max-width:760px;margin:0 auto}.challenge-content .section-head{gap:12px;flex-wrap:wrap}.challenge-content button,.challenge-content input,.challenge-content select{font:inherit}.challenge-content button{min-height:48px;white-space:normal}.challenge-kids{border:0;padding:0;display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.challenge-kids legend{margin-bottom:8px;font-size:14px}.challenge-kids label{display:flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #ded6ed;border-radius:18px;min-height:48px}.challenge-kids .character-profile img{width:32px;height:32px}.challenge-kids .character-profile small{display:none}.challenge-balance{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.challenge-balance>div{display:flex;flex-direction:column;background:#f0ebfa;padding:18px;border-radius:20px;gap:8px}.challenge-balance span{font-size:14px;color:#6c607c}.challenge-balance strong{font-size:26px;color:#5f489e}.challenge-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.challenge-tabs .btn{min-width:0;padding:10px 6px}.challenge-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.challenge-cards{display:grid;gap:14px}.challenge-card{background:#fff;border:1px solid #e9e2f2;border-radius:22px;padding:20px;overflow-wrap:anywhere}.challenge-card-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.challenge-card-title h3{flex:1;margin:0;min-width:100px;font-size:18px}.challenge-card-title>span svg{width:28px;height:28px}.challenge-card p{white-space:pre-wrap;line-height:1.6}.challenge-meta{display:flex;flex-wrap:wrap;gap:6px;color:#6e627f;font-size:13px}.challenge-meta span{background:#f5f2fa;border-radius:8px;padding:5px 8px}.challenge-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr));gap:8px;margin-top:14px}.challenge-buttons .btn{width:100%;min-height:48px;white-space:normal}.challenge-state{color:#745ab4;font-weight:600}.challenge-check{display:flex;gap:10px;align-items:center;min-height:48px}.challenge-check input{width:20px!important;height:20px!important;flex:none}.challenge-condition{padding:10px 0;border-top:1px solid #eee8f5}.challenge-condition [hidden]{display:none!important}.challenge-condition [data-condition-fields]{padding:8px}.challenge-content .btn{max-width:100%}@media(max-width:380px){.challenge-tabs{gap:5px}.challenge-tabs .btn{font-size:14px}.challenge-card{padding:16px}}body[data-ui-view=challenge] .hero{display:none}
.challenge-tabs .btn{word-break:keep-all;overflow-wrap:normal}
.challenge-option{display:flex;align-items:center;gap:10px;padding:8px 0;flex-wrap:wrap}.challenge-option>span{flex:1;min-width:60px}.challenge-option del{color:#8e829e;font-weight:400;font-size:13px}.challenge-price-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}#dialog [data-reward-price][hidden],#dialog [data-reward-fields][hidden]{display:none!important}.challenge-card small{display:block;line-height:1.6}
.challenge-price-row>*{min-width:0}.challenge-price-row fieldset{border:1px solid #ded6ed;border-radius:16px;padding:12px}#dialog .challenge-buttons .btn{height:100%;white-space:normal;min-height:48px}#dialog .challenge-price-row input{min-width:0;max-width:100%}@media(max-width:380px){.challenge-price-row{grid-template-columns:1fr}}
.challenge-photo-grid,[data-photo-previews]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr));gap:8px;margin:10px 0}.challenge-photo-grid img,.challenge-photo-tile>img{display:block;width:100%;height:130px;object-fit:contain;background:#f6f3fa;border-radius:12px}.challenge-photo-tile{min-width:0}.challenge-photo-tile .btn{width:100%;margin-top:6px}#dialog [data-photo-picker]{margin:16px 0;padding:12px;border:1px solid #e6dfef;border-radius:16px}
.challenge-illustration{display:inline-flex;width:48px;height:48px;flex:none}.challenge-illustration svg,.challenge-card-title .challenge-illustration svg{width:48px;height:48px}.challenge-buttons .btn{min-width:0;box-sizing:border-box}.challenge-buttons:has(>button:nth-child(3)):not(:has(>button:nth-child(4))){grid-template-columns:repeat(3,minmax(0,1fr))}.challenge-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.challenge-stat-grid>div{display:flex;flex-direction:column;gap:8px;padding:14px;background:#f0ebfa;border-radius:16px;overflow-wrap:anywhere}.challenge-stat-grid strong{font-size:24px;color:#634aa8}#dialog .challenge-kids .character-profile img{width:30px;height:30px}#dialog .challenge-kids .character-profile small{display:none}#dialog .challenge-kids label{min-width:0;overflow-wrap:anywhere}
.challenge-toolbar:has(>button:nth-child(4)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.challenge-toolbar .btn{min-width:0}
