/* Onyx Circuit — FORGE layer UI (track select + garage). Onyx palette:
   void #06030c, violet #171233 / #6d4bb8, gold #f0c86e, cyan #3aa6f0. */

#ocf-bar { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(240, 200, 110, .25); }
.ocf-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.ocf-label { font-family: Georgia, 'Times New Roman', serif; letter-spacing: .22em; font-size: 11px; color: #f0c86e; }
.ocf-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.ocf-chip {
  font-family: Georgia, 'Times New Roman', serif; font-size: 12px; letter-spacing: .06em;
  color: #cfc6f2; background: rgba(23, 18, 51, .85); border: 1px solid rgba(109, 75, 184, .65);
  border-radius: 999px; padding: 5px 12px; cursor: pointer;
}
.ocf-chip:hover { border-color: #f0c86e; color: #fff; }
.ocf-chip.ocf-on { background: linear-gradient(180deg, #2a1e5e, #171233); border-color: #f0c86e; color: #f0c86e; }
.ocf-chip.ocf-locked { opacity: .45; }
.ocf-best { font-size: 12px; color: #9d92c9; letter-spacing: .08em; }
.ocf-garage-btn {
  margin-left: auto; font-family: Georgia, 'Times New Roman', serif; font-size: 12px; letter-spacing: .1em;
  color: #0a0710; background: linear-gradient(180deg, #f6d68a, #d9a83f); border: 1px solid #f0c86e;
  border-radius: 6px; padding: 6px 14px; cursor: pointer; font-weight: bold;
}
.ocf-garage-btn:hover { filter: brightness(1.08); }

#ocf-overlay {
  position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center;
  background: rgba(4, 2, 10, .72); backdrop-filter: blur(3px);
}
.ocf-panel {
  width: min(520px, 92vw); max-height: 88vh; overflow: auto; padding: 22px 24px;
  background: linear-gradient(165deg, #171233, #0a0716 70%); border: 1px solid #f0c86e;
  border-radius: 12px; box-shadow: 0 18px 60px rgba(0, 0, 0, .6); color: #ece7fb;
}
.ocf-panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ocf-panel-title { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; letter-spacing: .18em; color: #f0c86e; }
.ocf-panel-cr { font-size: 14px; color: #f0c86e; letter-spacing: .08em; }
.ocf-up-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 0; border-top: 1px solid rgba(109, 75, 184, .35);
}
.ocf-up-name { font-family: Georgia, 'Times New Roman', serif; font-size: 16px; color: #fff; }
.ocf-up-desc { font-size: 12px; color: #9d92c9; margin-top: 2px; }
.ocf-pips { margin-top: 5px; font-size: 11px; letter-spacing: 4px; color: #3d3466; }
.ocf-pip.ocf-lit { color: #f0c86e; text-shadow: 0 0 8px rgba(240, 200, 110, .7); }
.ocf-buy {
  flex: none; font-family: Georgia, 'Times New Roman', serif; font-size: 13px; letter-spacing: .06em;
  color: #f0c86e; background: rgba(23, 18, 51, .9); border: 1px solid #f0c86e; border-radius: 6px;
  padding: 8px 14px; cursor: pointer;
}
.ocf-buy:hover:not(:disabled) { background: #2a1e5e; }
.ocf-buy:disabled { opacity: .4; cursor: default; }
.ocf-note { margin-top: 14px; font-size: 12px; line-height: 1.5; color: #9d92c9; }
.ocf-close {
  margin-top: 16px; width: 100%; font-family: Georgia, 'Times New Roman', serif; letter-spacing: .14em;
  color: #0a0710; background: linear-gradient(180deg, #f6d68a, #d9a83f); border: 1px solid #f0c86e;
  border-radius: 6px; padding: 9px 0; cursor: pointer; font-weight: bold;
}

#ocf-toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 10002;
  font-family: Georgia, 'Times New Roman', serif; font-size: 15px; letter-spacing: .12em; color: #f0c86e;
  background: rgba(10, 7, 22, .92); border: 1px solid #f0c86e; border-radius: 999px; padding: 9px 22px;
  opacity: 0; transition: opacity .5s; pointer-events: none; white-space: nowrap;
}
