/* Order Up on the CogniBump Arcade look (/shared/cb-arcade.css). Linked after it.
   Violet accent; tap-to-order cards that fill a numbered slot as you place them. */
body.cbx.ou-page { --cbx-accent: #6741d9; }
body.cbx.ou-page main { display: block; }

/* ---- shared mini-daily bits (same in emoji-equation / five-snap / pattern-blink) ---- */
.mg-card { scroll-margin-top: 70px; }
.mg-card .cbx-topline { min-height: 34px; }
.mg-card #meta { font-size: 13px; }
.mg-result[hidden] { display: none; }
.mg-marks { display: flex; justify-content: center; gap: 8px; margin: 8px 0 4px; }
.mg-marks i { width: 30px; height: 30px; border-radius: 9px; background: var(--cbx-accent); box-shadow: inset 0 -5px 0 rgba(0,0,0,.18); }
.mg-marks i.no { background: #e9eef3; box-shadow: inset 0 -5px 0 rgba(42,29,23,.08), inset 0 0 0 2px #d9e1e8; }
.mg-share { margin-top: 14px; }
.mg-card .mg-share[hidden] { display: none; }
.mg-card .cbx-answers { padding: 0; margin: 0; }
.mg-links { margin: 14px 4px 0; text-align: center; font-weight: 800; font-size: 14px; color: var(--cbx-muted); }
.mg-read h2 { margin-bottom: 8px; }
.mg-read p { margin: 0 0 12px; }
.mg-read ul { margin: 0 0 12px; }
.mg-read .cbx-note { margin: 4px 0 0; }

/* ---- the order list ---- */
.ou-q { margin: 6px 0 14px; }
.ou-q:empty { display: none; }
.ou-list { display: grid; gap: 10px; }
.ou-list:empty { display: none; }
.ou-opt {
  width: 100%; min-height: 62px; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 10px 16px 10px 12px; border-radius: 18px; border: 2px solid var(--cbx-line); background: #fff; cursor: pointer;
  font: 800 18px/1.25 var(--cbx-body); color: var(--cbx-ink); box-shadow: 0 4px 0 var(--cbx-line);
  transition: transform .1s ease, box-shadow .1s ease, border-color .15s, background .2s; touch-action: manipulation;
  animation: cbx-rise .35s ease both;
}
.ou-opt:nth-child(2) { animation-delay: .05s; } .ou-opt:nth-child(3) { animation-delay: .1s; } .ou-opt:nth-child(4) { animation-delay: .15s; }
.ou-slot {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font: 900 19px var(--cbx-display); color: transparent; border: 2.5px dashed color-mix(in srgb, var(--cbx-accent) 45%, var(--cbx-line));
  background: color-mix(in srgb, var(--cbx-accent) 6%, #fff);
}
@media (hover: hover) {
  .ou-opt:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--cbx-accent); box-shadow: 0 6px 0 color-mix(in srgb, var(--cbx-accent) 35%, var(--cbx-line)); }
}
.ou-opt:active:not(:disabled) { transform: translateY(3px) scale(.99); box-shadow: 0 1px 0 var(--cbx-line); }
.ou-opt:disabled { cursor: default; }
.ou-opt.is-done { background: color-mix(in srgb, var(--cbx-accent) 9%, #fff); border-color: var(--cbx-accent); box-shadow: 0 4px 0 color-mix(in srgb, var(--cbx-accent) 55%, #000); animation: ou-place .3s ease; }
.ou-opt.is-done .ou-slot { color: #fff; background: var(--cbx-accent); border: 0; box-shadow: inset 0 -4px 0 rgba(0,0,0,.2); animation: ou-pop .35s cubic-bezier(.3,1.7,.5,1); }
.ou-opt.is-bad { background: var(--cbx-bad-soft); border-color: var(--cbx-bad); box-shadow: 0 4px 0 #8f241d; animation: cbx-shake .4s ease; }
.ou-opt.is-bad .ou-slot { border-color: var(--cbx-bad); background: #fff; }
.ou-opt.is-reveal { opacity: .85; }
.ou-opt.is-reveal .ou-slot, .ou-opt.is-bad .ou-slot { color: var(--cbx-ink-2); }
.ou-hint { margin: 10px 0 0; text-align: center; font-weight: 800; font-size: 14px; color: var(--cbx-muted); }
.ou-hint[hidden] { display: none; }
@keyframes ou-place { 40% { transform: scale(1.025); } }
@keyframes ou-pop { from { transform: scale(.3); } }
