/* House edge quiz */
.heq .cc-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.heq-score { font: 600 14px/1 var(--mono, monospace); color: var(--c-muted); white-space: nowrap; }
.heq-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin: 0 0 18px; }
.heq-bar i { display: block; height: 100%; width: 0; background: var(--accent, #c8ff50); transition: width .3s ease; }
.heq-q { font-size: 18px; line-height: 1.45; margin: 0 0 16px; font-weight: 600; }
.heq-opts { display: grid; gap: 8px; }
.heq-o { text-align: left; min-height: 48px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: var(--text); font: 15px/1.35 inherit; cursor: pointer; }
.heq-o:hover:not(:disabled) { border-color: rgba(255,255,255,.3); }
.heq-o.is-ok { border-color: #4ade80; background: rgba(74,222,128,.12); }
.heq-o.is-bad { border-color: #f87171; background: rgba(248,113,113,.12); }
.heq-o:disabled { cursor: default; }
.heq-why { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); font-size: 15px; line-height: 1.55; }
.heq-why a { white-space: nowrap; }
.heq-end { text-align: center; padding: 10px 0; }
.heq-big { font: 700 44px/1.1 var(--mono, monospace); margin: 6px 0 8px; color: var(--accent, #c8ff50); }
.heq-end .cc-actions { justify-content: center; }
/* 2.6.51: one question card, centred (the A+B two-column grid left the right half empty). */
.ccc .heq .cc-calc, .ccc[data-ds="2"] .heq .cc-calc { grid-template-columns: minmax(0, 760px) !important; justify-content: center; }
.heq [hidden] { display: none !important; }
