/* The lab's band on every tier example: what this page is, and the way back to the lab.
   Self-contained (system fonts, explicit properties) so it survives any host stylesheet. */
:root { --oml-band-h: 36px; }
.oml-band {
  position: relative;
  z-index: 60;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--oml-band-h);
  margin: 0;
  padding: 0 max(12px, env(safe-area-inset-right)) 0 max(6px, env(safe-area-inset-left));
  background: #0d0d0c;
  color: rgba(242, 239, 232, 0.8);
  border-bottom: 1px solid rgba(201, 168, 106, 0.28);
  font: 500 12px/1.3 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.01em;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.oml-band * { box-sizing: border-box; }
.oml-band__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px 0 6px;
  border-radius: 999px;
  color: #f2efe8;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.oml-band__back svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1); }
.oml-band__back:hover { background: rgba(201, 168, 106, 0.16); color: #e0bd7c; }
.oml-band__back:hover svg { transform: translateX(-3px); }
.oml-band__back:focus-visible { outline: 2px solid #c9a86a; outline-offset: 1px; }
.oml-band__label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  padding: 2px 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.oml-band__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #c9a86a; }
.oml-band--cut .oml-band__label { flex: 1; justify-content: flex-end; }
.oml-band__cut {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(201, 168, 106, 0.16);
  color: #e0bd7c;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.oml-band__cut svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1); }
.oml-band__cut:hover { background: #c9a86a; color: #0d0d0c; }
.oml-band__cut:hover svg { transform: translateX(3px); }
.oml-band__cut:focus-visible { outline: 2px solid #c9a86a; outline-offset: 1px; }
/* The build's own tier switch (T1…T4), carried into the band: same links, current tier filled. */
.oml-band__tiers { display: inline-flex; flex: none; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(201, 168, 106, 0.12); }
.oml-band__tiers a {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #e0bd7c;
  font: 600 11.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.oml-band__tiers a:hover { background: rgba(201, 168, 106, 0.24); color: #f2efe8; }
.oml-band__tiers a[aria-current='page'] { background: #c9a86a; color: #0d0d0c; }
.oml-band__tiers a:focus-visible { outline: 2px solid #c9a86a; outline-offset: 1px; }
/* A shop shows an 18+ gate over the page: the way back to the lab stays on top of it. */
.oml-band--shop { z-index: 95; }
.oml-band__short { display: none; }
@media (max-width: 700px) {
  .oml-band__full { display: none; }
  .oml-band__short { display: inline; }
  .oml-band { font-size: 11.5px; }
  /* With a link to the other cut: back and cut link on top, the label below. */
  .oml-band--cut { flex-wrap: wrap; height: auto; min-height: var(--oml-band-h); row-gap: 0; padding-top: 3px; padding-bottom: 6px; }
  .oml-band--cut .oml-band__cut, .oml-band--cut .oml-band__tiers { order: 2; margin-left: auto; }
  .oml-band--cut .oml-band__label { order: 3; flex: 1 0 100%; justify-content: flex-start; padding-left: 8px; }
  /* A long label (the shop's, or one with a build's note) wraps instead of losing its end. */
  .oml-band--shop, .oml-band--long { height: auto; min-height: var(--oml-band-h); padding-top: 4px; padding-bottom: 4px; }
  .oml-band--shop .oml-band__label, .oml-band--long .oml-band__label { white-space: normal; align-items: flex-start; line-height: 1.3; }
  .oml-band--shop .oml-band__dot, .oml-band--long .oml-band__dot { margin-top: 5px; }
}
@media print { .oml-band { display: none; } }
