.bounty-page { color: #24354b; }
.bounty-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.bounty-heading h2 { margin:0 0 12px; font-size:26px; }
.bounty-heading p,.bounty-hint { color:#748196; line-height:1.8; }
.bounty-intro { text-align:center; color:#748196; margin:-12px 0 28px; }
.bounty-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.bounty-card,.bounty-panel { background:#fff; border:1px solid #e5ebf2; border-radius:12px; padding:24px; min-width:0; overflow-wrap:anywhere; }
.bounty-card { display:flex; flex-direction:column; gap:14px; }
.bounty-card h3 { margin:0; font-size:19px; line-height:1.5; color:#24354b; }
.bounty-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; color:#748196; }
.bounty-status { display:inline-block; padding:4px 10px; border-radius:5px; background:#edf3fb; color:#4773a4; font-size:12px; font-weight:400; }
.bounty-status.approved { color:#25835d; background:#eaf7ef; }
.bounty-excerpt { margin:0; color:#748196; line-height:1.8; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.bounty-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:auto; padding-top:8px; }
.bounty-actions.centered { justify-content:center; margin-top:24px; }
.bounty-button { display:inline-flex; align-items:center; justify-content:center; border:1px solid #2c6ecb; background:#2c6ecb; color:#fff; border-radius:6px; padding:9px 18px; font-size:14px; line-height:1.6; cursor:pointer; text-decoration:none; }
.bounty-button:hover,.bounty-button:focus { background:#245cb0; color:#fff; text-decoration:none; }
.bounty-button.secondary { color:#2c6ecb; background:#f5f8ff; border-color:#d8e5fa; }
.bounty-button.secondary:hover { background:#eaf1fc; }
.bounty-link { color:#2c6ecb; }
.bounty-home-card:hover { text-decoration:none; border-color:#afc8ec; }
.bounty-empty { text-align:center; padding:40px 20px; color:#8894a6; background:#f8fafc; border-radius:10px; }
.bounty-tabs { display:flex; gap:24px; border-bottom:1px solid #e5ebf2; margin:16px 0 24px; }
.bounty-tabs a { padding:12px 4px; color:#748196; text-decoration:none; border-bottom:2px solid transparent; }
.bounty-tabs a.active { color:#2c6ecb; border-color:#2c6ecb; font-weight:600; }
.bounty-detail { max-width:920px; margin:auto; }
.bounty-back { display:inline-block; margin-bottom:18px; color:#2c6ecb; }
.bounty-panel { margin-bottom:20px; }
.bounty-panel[id],#bounty-result { scroll-margin-top:90px; }
.bounty-panel h2 { margin:18px 0 26px; line-height:1.5; font-size:26px; }
.bounty-panel h3 { margin:22px 0 14px; font-size:18px; }
.bounty-panel h3:first-child { margin-top:0; }
.bounty-text { white-space:pre-line; line-height:1.9; color:#526276; }
.bounty-notice { margin:18px 0; padding:14px 18px; color:#27734f; background:#edf8f1; border:1px solid #ccebd6; border-radius:6px; }
.bounty-notice.error { background:#fff2f0; color:#b4473b; border-color:#f3d0ca; }
.bounty-form { margin-top:20px; }
.bounty-form>label { display:block; font-weight:600; margin-bottom:10px; }
.bounty-form textarea { box-sizing:border-box; width:100%; display:block; padding:12px; margin-bottom:18px; border:1px solid #d7e0ec; border-radius:6px; line-height:1.8; resize:vertical; background:#fff; color:#24354b; font:inherit; }
.bounty-form textarea:focus { outline:2px solid #b9d2f4; outline-offset:1px; }
.bounty-form fieldset { border:0; padding:0; margin:0 0 20px; }
.bounty-form legend { border:0; font-size:14px; font-weight:600; margin-bottom:12px; }
.bounty-checkbox { display:flex; align-items:center; gap:8px; padding:10px 12px; background:#f7f9fc; margin:0 0 8px; border-radius:6px; font-weight:400; cursor:pointer; }
.bounty-checkbox input { margin:0; width:16px; height:16px; flex-shrink:0; }
.bounty-required { color:#cf534a; }
.bounty-support-saved { color:#25835d; font-size:13px; line-height:1.8; margin:0; }
.bounty-conversion>summary { list-style:none; width:fit-content; }
.bounty-conversion>summary::-webkit-details-marker { display:none; }
.bounty-pagination { margin-top:24px; }
.h5-body .bounty-page { padding-bottom:20px; }
.h5-body .bounty-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
.h5-body .bounty-card,.h5-body .bounty-panel { padding:18px; }
.h5-body .bounty-heading { align-items:flex-start; flex-direction:column; gap:12px; }
.h5-body .bounty-heading h2,.h5-body .bounty-panel h2 { font-size:22px; }
.h5-body .bounty-pagination .pagination { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; }
.h5-body .bounty-pagination .pagination li>* { display:block; padding:6px 12px; background:#fff; border-radius:4px; }
.h5-body .bounty-pagination .pagination .active>* { color:#fff; background:#2c6ecb; }
@media (max-width:767px) { .bounty-grid { grid-template-columns:minmax(0,1fr); } .bounty-heading { flex-wrap:wrap; } .bounty-card,.bounty-panel { padding:18px; } }

