.hh-swatches { display: flex; align-items: center; gap: 18px; }
.hh-swatch-col { flex: 1 1 0; text-align: center; }
.hh-swatch { height: 150px; border-radius: var(--r); border: 1px solid var(--border); margin-bottom: 8px; transition: background 0.15s; }
.hh-hex-readout { font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 4px; }

.hh-match-diamond { flex: 0 0 auto; }
.hh-diamond {
    width: 92px;
    height: 92px;
    border: 3px solid var(--primary);
    border-radius: 14px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
}
.hh-diamond span, .hh-diamond small { transform: rotate(-45deg); display: block; text-align: center; }
.hh-diamond span { font-family: var(--mono); font-weight: 800; font-size: 19px; color: var(--ink); }
.hh-diamond small { font-family: var(--mono); font-size: 8px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }

.hh-channels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 22px; }
.hh-channel { border: 1px solid var(--border); border-radius: var(--r); padding: 12px 14px 14px; position: relative; overflow: hidden; }
.hh-channel-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.hh-channel-bar.r { background: #d9362b; }
.hh-channel-bar.g { background: #1fa34c; }
.hh-channel-bar.b { background: #2f66f3; }
.hh-hex-input {
    width: 58px;
    text-align: center;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 15px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 5px 6px;
    text-transform: uppercase;
    background: var(--surface);
    color: var(--text);
}
.hh-dec { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--ink); }

.hh-target-code { font-family: var(--mono); font-weight: 800; font-size: 30px; text-align: center; color: var(--ink); margin: 10px 0 18px; }
.hh-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hh-option {
    height: 90px;
    border-radius: var(--r);
    border: 2px solid var(--border);
    cursor: pointer;
    position: relative;
}
.hh-option:hover { border-color: var(--primary); }
.hh-option.correct { border-color: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 25%, transparent); }
.hh-option.wrong-pick { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent); }

@media (max-width: 640px) {
    .hh-swatches { flex-direction: column; }
    .hh-match-diamond { order: 2; margin: -10px 0; }
    .hh-swatch { height: 110px; }
    .hh-channels { grid-template-columns: 1fr; }
}
