/* Bug reports */
.bug-steps{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:22px;align-items:start}
.bug-link h2,.bug-report-panel h2,.bug-signin h2{font:500 28px/1.15 var(--serif);margin-block:4px 10px}
.bug-link p:not(.section-label):not(.status-line):not(.form-message):not(.captcha-status),.bug-signin p{color:var(--muted);font-size:12px;line-height:1.7}
.bug-linked{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;border-color:#9cc79f40}
.bug-linked>div{display:flex;gap:14px;align-items:flex-start}.bug-linked>div>.icon{flex:none;width:26px;height:26px;color:#9cc79f;margin-top:6px}
.bug-form{display:grid;gap:12px;margin-top:14px}.bug-form fieldset{display:grid;gap:12px;border:0;padding:0;margin:0;min-width:0}.bug-form fieldset:disabled{opacity:.55}
.bug-form .field{display:grid;gap:6px;flex-basis:auto}.bug-form textarea{resize:vertical;min-height:140px;line-height:1.6}
.bug-actions{display:flex;flex-wrap:wrap;gap:10px}
.bug-flash{display:flex;gap:12px;align-items:center;margin-bottom:22px;border-color:#9cc79f40;color:var(--text)}.bug-flash .icon{color:#9cc79f;width:20px;height:20px;flex:none}
.bug-section{margin-top:44px}
.bug-tiers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bug-tier{border:1px solid var(--border);border-radius:12px;padding:18px;background:var(--surface)}
.bug-tier small{display:block;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}
.bug-tier strong{display:block;margin:8px 0 10px;font:500 24px/1.1 var(--serif);color:var(--gold)}
.bug-tier p{color:var(--muted);font-size:12px;line-height:1.6}
.bug-tier-critical{border-color:#d8b87855;background:radial-gradient(ellipse at 100% 0,#d8b8781c,transparent 65%),var(--surface)}
.bug-rules h2{font:500 26px/1.15 var(--serif);margin-bottom:12px}.bug-rules ul{margin:0 0 12px;padding-inline-start:20px;display:grid;gap:8px;color:var(--muted);font-size:13px;line-height:1.6}
.bug-list{display:grid;gap:12px}
.bug-card{padding:0;overflow:hidden}.bug-card>summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 18px;align-items:center;padding:16px 20px;cursor:pointer;list-style:none}
.bug-card>summary::-webkit-details-marker{display:none}.bug-card>summary:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.bug-card[data-unread]{border-color:#d8b87866}
.bug-card-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;min-width:0}.bug-card-title strong{font-weight:600;overflow-wrap:anywhere}
.bug-card-meta{color:var(--muted);font-size:11px}
.bug-card>*:not(summary){margin-inline:20px}.bug-card>*:last-child{margin-bottom:20px}
.bug-status{display:inline-block;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:600;letter-spacing:.4px;border:1px solid var(--border)}
.bug-status-open{color:var(--gold);border-color:#d8b87844}.bug-status-approved{color:#9cc79f;border-color:#9cc79f44;background:#9cc79f12}.bug-status-denied{color:#c98b7e;border-color:#c98b7e40}
.bug-reward{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:12px 14px;border-radius:9px;background:#d8b8780f;color:var(--gold-light);font-size:13px}.bug-reward .icon{width:16px;height:16px;color:var(--gold)}
.bug-description h3,.bug-replies h3{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);margin:16px 0 8px}
.bug-description p{font-size:13px;line-height:1.7;color:var(--text);overflow-wrap:anywhere}
.bug-thread{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.bug-message{border:1px solid var(--border);border-radius:10px;padding:12px 14px;background:#ffffff05}.bug-message small{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}
.bug-message p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.bug-from-gm{border-color:#d8b87840}.bug-from-gm small span:first-child{color:var(--gold)}.bug-from-system small span:first-child{color:#9cc79f}
.bug-signin{text-align:center;padding:36px 22px}.bug-signin .btn{margin-top:14px}
html[data-theme=light] .bug-message{background:#00000004}html[data-theme=light] .bug-status-approved{color:#3f7a46}html[data-theme=light] .bug-reward{color:#7a5a1f}
@media(max-width:900px){.bug-steps{grid-template-columns:1fr}.bug-tiers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.bug-tiers{grid-template-columns:1fr}.bug-card>summary{padding:14px 16px}.bug-card>*:not(summary){margin-inline:16px}}
