
.cm-options .kind-tag-mute { display: none; }

@media (pointer: coarse) {
  .cm.menu-say .cm-options .opt:has(.kind-tag-mute),
  .cm.menu-read .cm-options .opt:has(.kind-tag-mute) { padding-top: var(--rp, 1.6rem); }
}

@media not all and (pointer: coarse) {
  .cm.menu-say .cm-options .opt:has(.kind-tag-mute):focus-visible,
  .cm.menu-read .cm-options .opt:has(.kind-tag-mute):focus-visible { outline: none; }
  .cm.menu-say .cm-options .opt:has(.kind-tag-mute):focus-visible .opt-text,
  .cm.menu-read .cm-options .opt:has(.kind-tag-mute):focus-visible .opt-text { background-size: 100% 2px; }
}

#codex-drawer .cx-margins {
  padding: 2px 2px 26px;
}

#codex-drawer .cx-margins .mg-chapter {
  font-family: var(--font-type, 'Courier New', monospace);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pp-type-dim, rgba(34, 36, 43, 0.80));
  border-bottom: 1px solid var(--pp-rule, rgba(43, 58, 85, 0.28));
  padding-bottom: 4px;
  margin: 22px 0 12px;
}
#codex-drawer .cx-margins > .mg-chapter:first-child { margin-top: 6px; }

#codex-drawer .cx-margins .mg-rule {
  border-bottom: 1px solid var(--pp-rule, rgba(43, 58, 85, 0.28));
  margin: 22px 0 12px;
  height: 0;
}
#codex-drawer .cx-margins > .mg-rule:first-child { margin-top: 6px; }

#codex-drawer .cx-margins .mg-scene {
  font-family: var(--font-type, 'Courier New', monospace);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--pp-type-faint, rgba(34, 36, 43, 0.70));
  margin: 14px 2px 5px;
}

#codex-drawer .cx-margins .mg-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
#codex-drawer .cx-margins .mg-line {
  font-family: var(--font-hand, 'Segoe Script', cursive);
  color: var(--pp-graphite, #3a3f45);
  font-size: 17px;
  line-height: 1.5;
  margin: 0 2px 4px 10px;
  padding: 0;
}

@media (max-width: 640px) {
  #codex-drawer .cx-margins .mg-line { font-size: 16px; margin-left: 6px; }
  #codex-drawer .cx-margins .mg-scene { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  #codex-drawer .cx-margins,
  #codex-drawer .cx-margins * { transition: none !important; animation: none !important; }
}
:is(body.reduce-motion, :root.rm) #codex-drawer .cx-margins,
:is(body.reduce-motion, :root.rm) #codex-drawer .cx-margins * {
  transition: none !important;
  animation: none !important;
}

#stage.pings-stand-down #codex-drawer .cx-pings {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cm-options button.opt-ammo-row.has-clip { padding-left: 2.6rem; }
.cm-options button.opt-ammo-row.has-ribbon { padding-left: 1.5rem; }
.cm-options button.opt-ammo-row > .opt-ammo {
  position: absolute;
  left: 0.15rem;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
}
.cm-options .opt-ammo.clipping {
  cursor: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
  transition: none;
}
.cm-options .opt-ammo-ribbon {
  display: block;
  width: 9px;
  height: 18px;
  background: var(--pp-graphite, #3a3f45);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
  opacity: 0.82;
}
@media (forced-colors: active) {
  .cm-options .opt-ammo-ribbon { background: CanvasText; forced-color-adjust: none; }
}
