/* PulseCore Hadron Collider (2026-11-30). The site's dark palette (account.css). */
:root {
    --hc-bg: #0a0b0d; --hc-card: #14161c; --hc-sunk: #0d0f13;
    --hc-line: #23262e; --hc-line2: #2e323d;
    --hc-text: #e8eaef; --hc-dim: #aeb4bf; --hc-mute: #6b7280;
    --hc-p0: #ff3366; --hc-mid: #b05cc4; --hc-p1: #35e8e0;
    --hc-grad: linear-gradient(100deg, #ff3366, #b05cc4 60%, #35e8e0);
    --hc-r: 14px; --hc-r-sm: 9px;
}
html, body.hc-page { background: var(--hc-bg); }
body.hc-page {
    margin: 0; color: var(--hc-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, "PC Glyphs", sans-serif;
    line-height: 1.55;
}
.hc { max-width: 1080px; margin: 0 auto; padding: 28px 16px 64px; }
.hc-head { margin: 8px 0 22px; }
.hc-eyebrow { margin: 0 0 4px; color: var(--hc-p1); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hc-head h1 { margin: 0; font-size: clamp(1.7rem, 4.6vw, 2.6rem); line-height: 1.15; }
.hc-tag {
    margin: 6px 0 0; font-size: clamp(1rem, 2.6vw, 1.2rem); font-weight: 600;
    background: var(--hc-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    width: fit-content;
}
.hc-lead { max-width: 68ch; margin: 12px 0 0; color: var(--hc-dim); }

.hc-card {
    background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: var(--hc-r);
    padding: 18px; margin: 0 0 18px;
}
.hc-card h2 { margin: 0 0 10px; font-size: 1.2rem; }
.hc-card h3 { margin: 18px 0 8px; font-size: 1rem; }
.hc-note { margin: 0 0 12px; color: var(--hc-dim); font-size: .92rem; max-width: 78ch; }

.hc-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hc-bar h2 { margin: 0; }
.hc-controls, .hc-collide { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.hc-collide { margin: 12px 0 0; }
.hc-field { display: inline-flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--hc-mute); }
.hc-field select {
    background: var(--hc-sunk); color: var(--hc-text); border: 1px solid var(--hc-line2);
    border-radius: var(--hc-r-sm); padding: 8px 10px; font: inherit; font-size: .92rem; min-height: 40px;
}
.hc-btn {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px;
    border-radius: var(--hc-r-sm); border: 1px solid var(--hc-line2); background: var(--hc-sunk);
    color: var(--hc-text); font: inherit; font-size: .92rem; cursor: pointer;
}
.hc-btn:hover:not(:disabled) { border-color: var(--hc-p1); }
.hc-btn:focus-visible, .hc-field select:focus-visible, .hc-check input:focus-visible { outline: 2px solid var(--hc-p1); outline-offset: 2px; }
.hc-btn:disabled { opacity: .45; cursor: default; }
.hc-primary { border: 0; background: var(--hc-grad); color: #0a0b0d; font-weight: 600; }
.hc-collide-btn:not(:disabled) { border-color: #ffd166; color: #ffd166; font-weight: 600; box-shadow: 0 0 0 3px rgba(255, 209, 102, .12); }
.hc-check { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--hc-dim); font-size: .9rem; }
.hc-check input { width: 18px; height: 18px; accent-color: var(--hc-mid); }

.hc-stage { position: relative; border-radius: var(--hc-r-sm); overflow: hidden; background: #07080a; border: 1px solid var(--hc-line); }
.hc-stage canvas { display: block; width: 100%; aspect-ratio: 16 / 10; }
.hc-stage-note {
    position: absolute; left: 12px; right: 12px; bottom: 10px; margin: 0;
    font-size: .85rem; color: var(--hc-dim); pointer-events: none;
    text-shadow: 0 1px 3px #000;
}

.hc-read { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 14px 0 0; }
.hc-read > div { background: var(--hc-sunk); border: 1px solid var(--hc-line); border-radius: var(--hc-r-sm); padding: 8px 10px; min-width: 0; }
.hc-read dt { font-size: .72rem; color: var(--hc-mute); text-transform: uppercase; letter-spacing: .05em; }
.hc-read dd { margin: 2px 0 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hc-read .hc-bpt { border-color: rgba(176, 92, 196, .45); }
.hc-read .hc-bpt dt { color: var(--hc-mid); }

.hc-chip {
    display: inline-block; padding: 0 6px; border-radius: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .04em;
    color: var(--hc-mid); border: 1px solid rgba(176, 92, 196, .55); vertical-align: 1px;
}
.hc-list { margin: 0; padding-left: 1.1em; color: var(--hc-dim); }
.hc-list li { margin: 0 0 8px; }
.hc-list b { color: var(--hc-text); }

.hc-table-wrap { overflow-x: auto; }
.hc-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.hc-table th { text-align: left; font-weight: 600; font-size: .75rem; color: var(--hc-mute); padding: 6px 8px; border-bottom: 1px solid var(--hc-line2); white-space: nowrap; }
.hc-table td { padding: 7px 8px; border-bottom: 1px solid var(--hc-line); vertical-align: middle; }
.hc-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.hc-settle { position: relative; width: 120px; height: 8px; border-radius: 4px; background: var(--hc-sunk); border: 1px solid var(--hc-line2); overflow: hidden; }
.hc-settle i { position: absolute; inset: 0 auto 0 0; background: var(--hc-grad); }
.hc-settle-label { display: block; font-size: .72rem; color: var(--hc-mute); margin-top: 2px; }

.hc-ladder { position: relative; height: 92px; margin: 6px 4px 14px; }
.hc-ladder-track { position: absolute; left: 0; right: 0; top: 44px; height: 4px; border-radius: 2px; background: var(--hc-line2); }
.hc-ladder-bpt { position: absolute; left: 0; top: 44px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--hc-mid), rgba(176,92,196,.25)); }
.hc-ladder-tested { position: absolute; top: 30px; height: 32px; width: 2px; background: var(--hc-p1); }
.hc-ladder-mark { position: absolute; top: 40px; width: 2px; height: 12px; background: var(--hc-dim); }
.hc-ladder-label { position: absolute; font-size: .72rem; color: var(--hc-dim); white-space: nowrap; transform: translateX(-50%); }
.hc-ladder-label.up { top: 8px; }
.hc-ladder-label.down { top: 60px; }
.hc-ladder-label.edge-l { transform: none; }
.hc-ladder-label.edge-r { transform: translateX(-100%); }
.hc-ladder-label.minor { display: none; }

@media (max-width: 640px) {
    .hc { padding-top: 18px; }
    .hc-card { padding: 14px; }
    .hc-stage canvas { aspect-ratio: 4 / 5; }
    .hc-ladder-label.minor { display: none; }
}
