.credits-main{max-width:1120px;margin:0 auto;padding:40px 24px 64px;width:100%;display:grid;gap:24px}
.credits-hero{text-align:center;padding:32px 20px;background:var(--bg-secondary);border:1px solid var(--border);border-radius:16px}
.credits-hero h1{font-size:clamp(1.9rem,4vw,2.8rem);color:var(--text-heading);margin:10px 0}
.credits-hero p{max-width:680px;margin:0 auto;color:var(--text-muted);line-height:1.6}
.credits-eyebrow{color:var(--accent-soft-text);font-weight:700;font-size:.8rem;letter-spacing:.12em}
.credits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:16px;align-items:stretch}
.credits-card,.credits-editor{min-width:0;background:var(--bg-secondary);border:1px solid var(--border);border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:14px;overflow-wrap:anywhere}
.credits-profile{display:flex;align-items:center;gap:14px;min-width:0}
.credits-profile img{width:64px;height:64px;object-fit:cover;border-radius:50%;flex:none;background:var(--bg-modifier)}
.credits-profile div{min-width:0}
.credits-profile h2,.credits-profile h3,.credits-editor h2{color:var(--text-heading);margin:0;font-size:1.15rem}
.credits-profile p,.credits-help,.credits-empty{color:var(--text-muted);margin:3px 0;font-size:.9rem}
.credits-tag{align-self:flex-start;border:1px solid var(--accent-soft-border);background:var(--accent-soft-bg);color:var(--accent-soft-text);border-radius:6px;padding:4px 9px;font-size:.78rem;font-weight:600}
.credits-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:0;padding:12px 0 0;border-top:1px solid var(--border);color:var(--text-normal)}
.credits-form{display:grid;gap:10px;margin:0;padding:0;background:none;border:0;max-width:none;width:100%}
.credits-form textarea,.credits-form input[type=text]{width:100%;box-sizing:border-box;background:var(--bg-primary);color:var(--text-normal);border:1px solid var(--border);border-radius:8px;padding:12px;font:inherit}
.credits-form textarea{resize:vertical;min-height:120px}
.credits-editor .credits-form{gap:14px}
.credits-editor .credits-form .credits-help{margin:0;line-height:1.55}
.credits-editor .credits-consent{display:flex;align-items:center;gap:12px;line-height:1.55;color:var(--text-normal);font-size:.9rem;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:var(--bg-modifier);cursor:pointer;min-width:0}
.credits-editor .credits-consent:hover{border-color:var(--accent-soft-border)}
.credits-editor .credits-consent:has(input:checked){border-color:var(--accent-soft-border);background:var(--accent-soft-bg)}
.credits-editor .credits-consent input[type=checkbox]{appearance:none;-webkit-appearance:none;display:grid;place-content:center;width:20px;height:20px;flex:0 0 20px;margin:0;padding:0;border:1px solid var(--text-muted);border-radius:5px;background:var(--bg-secondary);cursor:pointer}
.credits-editor .credits-consent input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}
.credits-editor .credits-consent input[type=checkbox]:checked::after{content:"";width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.credits-editor .credits-consent input[type=checkbox]:focus-visible,.credits-editor-actions .back-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.credits-editor .credits-consent span{min-width:0}
.credits-editor-actions{justify-content:flex-end;border-top:1px solid var(--border);padding-top:16px;gap:10px}
.credits-editor-actions .back-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;box-sizing:border-box;font:inherit;font-size:.9rem;font-weight:600;text-align:center;cursor:pointer}
.credits-editor-actions .credits-withdraw{color:var(--danger)}
.credits-editor-actions .credits-withdraw:hover{border-color:var(--danger)}
@media(max-width:600px){.credits-editor .credits-consent{align-items:flex-start;padding:12px;gap:10px}.credits-editor .credits-consent input[type=checkbox]{margin-top:2px}.credits-editor-actions{flex-direction:column-reverse;align-items:stretch}.credits-editor .credits-editor-actions form,.credits-editor-actions .back-button{width:100%}}
.credits-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.credits-actions form{padding:0;margin:0;border:0;background:none;max-width:none;width:auto}
.credits-hero .credits-actions{justify-content:center;margin-top:18px}
.credits-editor>.back-button{align-self:flex-start}
.credits-notice,.credits-empty{padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--bg-secondary)}
@media(max-width:600px){.credits-main{padding:24px 12px 40px}.credits-card,.credits-editor{padding:16px}.credits-hero{padding:24px 12px}}

.credits-admin{box-sizing:border-box}
.credits-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
.credits-admin-grid .credits-empty{grid-column:1/-1}
.credits-admin-grid .credits-card{gap:16px}
.credits-admin-details{display:grid;gap:9px;border-top:1px solid var(--border);padding-top:14px}
.credits-admin-details p{margin:0}
.credits-id{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--text-normal)}
.credits-admin-status{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:.9rem;color:var(--text-muted)}
.credits-state{border:1px solid var(--border);border-radius:6px;padding:4px 8px;background:var(--bg-modifier);color:var(--text-normal);font-size:.8rem;font-weight:600}
.credits-state--published{color:var(--success);border-color:var(--success)}
.credits-state--pending{color:var(--warning);border-color:var(--warning)}
.credits-state--rejected{color:var(--danger);border-color:var(--danger)}
.credits-admin-grid .credits-actions{margin-top:auto;padding-top:4px}
@media(max-width:700px){.credits-admin-grid{grid-template-columns:minmax(0,1fr)}}

.credits-public-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
.credits-public-grid>.credits-empty{grid-column:1/-1;margin:0}
.credits-public-grid>.credits-public-card:only-child{grid-column:1/-1;justify-self:center;width:100%;max-width:760px}
.credits-public-card{box-sizing:border-box;gap:18px;padding:24px;border-radius:16px}
.credits-public-card .credits-card-header{position:static;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:0;margin:0;background:none;border:0;box-shadow:none;min-width:0}
.credits-public-card .credits-profile{flex:1 1 180px;gap:12px}
.credits-public-card .credits-profile img{width:56px;height:56px}
.credits-public-card .credits-profile h2{border:0;padding:0;margin:0;font-size:1.15rem;line-height:1.35}
.credits-public-card .credits-profile p{margin:3px 0 0;line-height:1.4}
.credits-public-card .credits-tag{align-self:center;flex:none;max-width:100%;border-radius:999px;padding:5px 10px;line-height:1.4}
.credits-public-card .credits-quote{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:12px;margin:0;padding:18px 16px;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:10px;background:var(--bg-modifier);flex:1;min-width:0}
.credits-public-card .credits-quote-icon{width:20px;height:20px;color:var(--accent-soft-text);margin-top:2px;flex:none}
.credits-public-card .credits-message{border:0;padding:0;margin:0;font-size:.98rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
@media(max-width:760px){.credits-public-grid{grid-template-columns:minmax(0,1fr);gap:14px}.credits-public-card{padding:18px}}
@media(max-width:420px){.credits-public-card{padding:14px;gap:14px}.credits-public-card .credits-profile img{width:48px;height:48px}.credits-public-card .credits-quote{gap:8px;padding:12px;grid-template-columns:16px minmax(0,1fr)}.credits-public-card .credits-quote-icon{width:16px;height:16px}}
