/* ---------- One Minute Changes ---------- */
.omc-page { --omc-side: 340px; }
.omc-page .page-head { margin-bottom: 16px; }
.omc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.omc-tile { padding: 12px 14px; text-align: center; }
.omc-tile b { display: block; font: 800 24px/1.1 'Barlow Condensed', Inter, sans-serif; }
.omc-tile span { font-size: 11.5px; color: var(--faint); }
.omc-work, .omc-lower { display: grid; grid-template-columns: minmax(0, 1fr) var(--omc-side); gap: 16px; align-items: start; margin-bottom: 16px; }
.omc-work { align-items: stretch; }
.omc-lmain, .omc-lside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.omc-stage { padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 480px; position: relative; }
.omc-stage > .omc-stagehead { position: absolute; top: 18px; left: 22px; right: 22px; width: auto; }
.omc-stage > .omc-pair:first-of-type, .omc-stage > .omc-runrow { margin-top: 28px; }
.omc-stagehead { width: 100%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.omc-stagehead .eyebrow, .omc-result .eyebrow, .omc-choose .eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.omc-info { color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.omc-tierchip { --tc: var(--faint); display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: var(--tc); background: color-mix(in srgb, var(--tc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 40%, transparent); white-space: nowrap; }
.omc-pair { display: flex; align-items: center; gap: 18px; }
.omc-slot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px 10px; border-radius: var(--radius); border: 2px solid var(--border); background: var(--surface2); transition: .12s; }
.omc-slot.now { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); transform: translateY(-2px); }
.omc-cname { font: 800 26px/1 'Barlow Condensed', Inter, sans-serif; }
.omc-box .nut { fill: var(--text); }
.omc-box .fr { stroke: var(--border2); stroke-width: 1.4; }
.omc-box .st { stroke: var(--muted); stroke-width: 1.2; }
.omc-box .dot { fill: var(--accent); }
.omc-box .op { fill: none; stroke: var(--muted); stroke-width: 1.4; }
.omc-box .mk { fill: var(--faint); font-size: 12px; text-anchor: middle; }
.omc-swap { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border2); display: grid; place-items: center; color: var(--muted); }
.omc-swap:hover:not(:disabled) { color: var(--text); border-color: var(--accent); }
.omc-swap:disabled { opacity: .35; }
.omc-swap .i { width: 18px; height: 18px; }
.omc-opts { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.omc-seg { margin: 0; }
.omc-togs { display: flex; gap: 14px; }
.omc-tog { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); cursor: pointer; }
.omc-tog input { accent-color: var(--accent); }
.omc-go { font-size: 16px; padding: 12px 34px; }
.omc-hint { font-size: 12.5px; text-align: center; max-width: 460px; line-height: 1.5; }
.omc-runrow { display: flex; gap: 22px; align-items: center; width: 100%; justify-content: center; }
.omc-ring { position: relative; width: 120px; height: 120px; flex: none; }
.omc-ring svg { width: 100%; height: 100%; }
.omc-ring .bg { fill: none; stroke: var(--surface3); stroke-width: 8; }
.omc-ring .fg { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.omc-ring .fg.low { stroke: var(--accent2); }
.omc-ringlbl { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.omc-ringlbl b { font: 800 30px/1 'Barlow Condensed', Inter, sans-serif; }
.omc-ringlbl small { font-size: 10px; color: var(--faint); letter-spacing: .08em; }
.omc-pad { flex: 1; max-width: 460px; min-height: 190px; border-radius: 22px; background: var(--grad); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; touch-action: manipulation; user-select: none; -webkit-user-select: none; box-shadow: 0 12px 40px rgba(255, 60, 70, .25); cursor: pointer; }
.omc-pad.hit { animation: omcHit .16s ease-out; }
@keyframes omcHit { 0% { transform: scale(.96); filter: brightness(1.25); } 100% { transform: scale(1); filter: none; } }
.omc-stage.count .omc-pad { background: var(--surface3); box-shadow: none; }
.omc-count { font: 800 84px/1 'Barlow Condensed', Inter, sans-serif; font-variant-numeric: tabular-nums; }
.omc-padsub { font-size: 13px; opacity: .85; }
.omc-live { display: flex; gap: 18px; color: var(--muted); font-size: 13.5px; min-height: 20px; }
.omc-live b { color: var(--text); }
.omc-live .ahead b { color: var(--green); }
.omc-live .behind b { color: var(--amber); }
.omc-runbtns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.omc-result { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.omc-result h2 { font-size: 20px; }
.omc-big b { display: block; font: 800 96px/1 'Barlow Condensed', Inter, sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.omc-big span { color: var(--muted); font-size: 13px; }
.omc-resrow { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.omc-wodone { background: var(--green-soft); color: var(--green); border-radius: 10px; padding: 8px 14px; font-size: 13px; }
.omc-spark { width: 100%; max-width: 420px; }
.omc-spark svg { width: 100%; height: 70px; display: block; }
.omc-spark .goal { stroke: var(--green); stroke-dasharray: 4 4; stroke-width: 1; opacity: .7; }
.omc-spark .ln { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.omc-spark .pt { fill: var(--accent); }
.omc-spark span { font-size: 11px; color: var(--faint); }
.omc-choose { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 30; width: 300px; padding: 14px; box-shadow: var(--shadow); }
.omc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.omc-chips .chip { cursor: pointer; border: 1px solid var(--border); }
.omc-chips .chip:disabled { opacity: .35; cursor: default; }
.omc-side { display: flex; flex-direction: column; gap: 16px; }
.omc-card { padding: 16px 18px; }
.omc-card p { font-size: 12.5px; line-height: 1.55; margin: 4px 0 10px; }
.omc-ch { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.omc-ch h3 { font-size: 15px; }
.omc-ch .faint { font-size: 12px; }
.omc-plist { display: flex; flex-direction: column; gap: 6px; }
.omc-prow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--border); text-align: left; }
.omc-prow:hover { border-color: var(--border2); }
.omc-prow .pn { font-weight: 700; flex: 1; }
.omc-prow .px { font-size: 11.5px; }
.omc-prow .pb { --tc: var(--faint); font-weight: 800; color: var(--tc); min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.omc-gridwrap { overflow-x: auto; }
.omc-grid { display: grid; gap: 3px; min-width: max-content; }
.omc-grid .gh { font-size: 11.5px; font-weight: 700; color: var(--muted); display: grid; place-items: center; height: 26px; }
.omc-grid .gh.row { height: 36px; justify-items: end; padding-right: 8px; }
.omc-grid .gc { --tc: var(--faint); --a: .3; height: 36px; padding: 0; min-width: 0; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--tc) calc(var(--a) * 100%), var(--surface2)); }
.omc-grid .gc.empty { background: var(--surface2); border: 1px dashed var(--border); }
.omc-grid .gc.empty:hover { border-color: var(--accent); }
.omc-grid .gc.self { background: transparent; }
.omc-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 11.5px; color: var(--faint); }
.omc-legend span { display: flex; align-items: center; gap: 5px; }
.omc-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--tc); }
.omc-path { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.omc-step { --tc: var(--border2); display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--border); border-left: 3px solid var(--tc); text-align: left; }
.omc-step .sn { font-size: 11px; color: var(--faint); width: 16px; }
.omc-step .sp { flex: 1; font-weight: 700; font-size: 13px; white-space: nowrap; }
.omc-step .sb { font-size: 12px; font-weight: 800; color: var(--tc); white-space: nowrap; }
.omc-step.next { border-color: var(--accent); background: var(--accent-soft); }
.omc-step.next .sb { color: var(--accent); }
.omc-step.done .sp::after { content: ' \2713'; color: var(--green); }
@media (max-width: 1100px) { .omc-work, .omc-lower { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .omc-tiles { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .omc-stage { padding: 16px 12px; min-height: 0; }
  .omc-stage > .omc-stagehead { position: static; }
  .omc-stage > .omc-pair:first-of-type, .omc-stage > .omc-runrow { margin-top: 0; }
  .omc-runrow { flex-direction: column; gap: 12px; }
  .omc-pad { width: 100%; min-height: 220px; }
  .omc-ring { width: 96px; height: 96px; }
  .omc-pair { gap: 10px; }
  .omc-box { width: 80px; height: 94px; }
  .omc-lower { grid-template-columns: 1fr; }
}

.omc-rrow .pn { display: flex; flex-direction: column; line-height: 1.3; }
.omc-rrow .pn small { font-weight: 500; font-size: 11px; color: var(--faint); }
.omc-card .omc-ch .faint { flex-basis: 100%; }
.omc-side .omc-card { flex: none; }
.omc-side { justify-content: flex-start; }

/* count-in, timer and entering your count */
.omc-ring.big { width: 210px; height: 210px; }
.omc-ring.big .omc-ringlbl b { font-size: 64px; }
.omc-ring.big .omc-ringlbl small { font-size: 11px; }
.omc-stage.count .omc-ring .fg { stroke: var(--amber); }
.omc-runmsg { font-size: 17px; font-weight: 600; color: var(--muted); text-align: center; }
.omc-enter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 6px 0; }
.omc-num { width: 140px; text-align: center; font: 800 56px/1 'Barlow Condensed', Inter, sans-serif; background: var(--surface2); border: 2px solid var(--accent); border-radius: 16px; color: var(--text); padding: 8px 6px; -moz-appearance: textfield; }
.omc-num::-webkit-outer-spin-button, .omc-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.omc-num:focus { outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 600px) { .omc-ring.big { width: 170px; height: 170px; } .omc-ring.big .omc-ringlbl b { font-size: 52px; } }
