/* Fixed dark HUD surfaces, matching the existing in-game-inspired assistant cards. */
.hc-version{--hc-accent:#f0c766;margin:18px 0;padding:18px;border:1px solid #57482e;border-radius:12px;background:radial-gradient(ellipse at 100% 0,#44341b55,transparent 70%),#17191f;color:#e9e3d2} /* theme-ok: fixed dark assistant surface in both themes */
.hc-upgrade{--hc-accent:#c4b1ff;border-color:#665286;background:radial-gradient(ellipse at 100% 0,#62429a44,transparent 70%),#191722} /* theme-ok: fixed dark assistant surface in both themes */
.hc-published{border-color:#43594d;background:#18221d} /* theme-ok: fixed dark assistant surface in both themes */
.hc-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.hc-head strong{color:var(--hc-accent)}.hc-head span{font-size:.8rem;color:#c3baa8} /* theme-ok: fixed dark assistant surface in both themes */
.hc-pct{font:700 2.6rem/1.3 ui-monospace,monospace;color:var(--hc-accent);margin-top:12px}
.hc-track{height:9px;background:#303039;border-radius:9px;overflow:hidden;margin:12px 0 20px}.hc-track>div{height:100%;background:linear-gradient(90deg,#77623e,var(--hc-accent));transition:width .6s}.hc-upgrade .hc-track>div{background:linear-gradient(90deg,#6841b3,#a295ef,#b5e7f4)} /* theme-ok: fixed dark assistant surface in both themes */
.hc-version h3{font-size:.9rem;margin:18px 0 10px}.hc-names{display:flex;flex-wrap:wrap;gap:8px}.hc-name{padding:8px 12px;border-radius:6px;border:1px solid #504b40;border-top:2px solid var(--hc-accent);font-size:.85rem;overflow-wrap:anywhere;max-width:100%;background:#ffffff05} /* theme-ok: fixed dark assistant surface in both themes */
.hc-muted{font-size:.78rem;color:#bbb3a2;line-height:1.7}.hc-message{border-top:1px solid #504b40;padding:12px 0;margin-top:14px}.hc-message small,.hc-message strong{display:block}.hc-message small{color:var(--hc-accent);font-size:.75rem;margin-bottom:6px}.hc-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.88rem;line-height:1.7;margin:6px 0} /* theme-ok: fixed dark assistant surface in both themes */
.hc-form{margin-top:12px}.hc-form label{display:flex;gap:8px;align-items:center;margin:10px 0;font-size:.85rem}.hc-form input[type=checkbox]{width:18px;height:18px;flex:none}.hc-form textarea,.hc-form select{box-sizing:border-box;width:100%;padding:10px;border-radius:8px;border:1px solid #5a5663;background:#0f1218;color:#e9e3d2;font:inherit}.hc-form textarea{min-height:90px;resize:vertical}.hc-form small{display:block;color:#bbb3a2;font-size:.75rem;line-height:1.6}.hc-form :focus-visible{outline:2px solid #c4b1ff;outline-offset:3px} /* theme-ok: fixed dark assistant surface in both themes */
@media(max-width:560px){.hg-two{grid-template-columns:minmax(0,1fr)}.hc-version{padding:14px}.hc-pct{font-size:2.2rem}}
@media(prefers-reduced-motion:reduce){.hc-track>div{transition:none}}

.hc-names{max-height:260px;overflow:auto;padding:2px}.hc-names:focus-visible{outline:2px solid var(--hc-accent);outline-offset:3px}.hc-published summary{cursor:pointer}.hc-published summary:after{content:"＋";color:var(--hc-accent)}.hc-published[open] summary:after{content:"−"}

.hc-name,.hc-message-author{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}.hc-name img,.hc-message-author img{border-radius:4px;flex:none}.hc-credit-name{font-weight:600}.hc-credit-realm{font-size:.85em;color:var(--text3)}

.hc-name,.hc-credit-name,.hc-credit-realm{min-width:0;max-width:100%;overflow-wrap:anywhere}

button.hc-name{font-family:inherit;text-align:left;color:inherit;cursor:help}button.hc-name:focus-visible{outline:2px solid var(--hc-accent);outline-offset:3px}.hc-amount-tip{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 32px);box-sizing:border-box;padding:10px 14px;border:1px solid var(--bhl);border-radius:8px;background:var(--s2);color:var(--text);font:500 13px/1.5 system-ui,sans-serif;box-shadow:0 4px 20px #0003;pointer-events:none;overflow-wrap:anywhere}.hc-amount-tip::backdrop{background:transparent}
