/* 0.9.5 (Pat ticket, Bit Bite go 2026-11-15): base English font -> m6x11 by Daniel Linssen (studio standard pixel font; licence
   cleared: free to use with credit -> Credits screen, reached from the pause / settings dialog, never on the gameplay screen).
   Loaded LAST so it wins over style.css / px_dialogs_0800.css / injected dialog CSS. Sizes are whole 16 px steps (16 = 1x, 32 = 2x):
   the per-rule sizes were remapped in place (<24 px -> 16, >=24 -> 32); this sheet only pins the family + weight so nothing falls
   back to a smooth system font or a faux bold. InaPx (assets/ui_px_1023/) stays in the repo, unused. */
@font-face { font-family: "m6x11"; src: url("../assets/fonts/m6x11.ttf?v=0.9.5") format("truetype"); font-display: block; }
html:not(#m6a):not(#m6b):not(#m6c) body, html:not(#m6a):not(#m6b):not(#m6c) body *:not(#lives):not(#coin-glyph) {
  font-family: m6x11, monospace !important; font-weight: 400 !important; font-synthesis: none !important; font-style: normal !important;
  -webkit-font-smoothing: none; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeSpeed; }
/* Credits screen (DOM, full-screen, above the pause dialog z 65) */
#credits-panel { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: #142328; color: #FFF8F0; text-align: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); box-sizing: border-box; }
#credits-panel.hidden { display: none; }
#credits-panel .cr-title { font-size: 32px; line-height: 32px; color: #E87838; text-transform: uppercase; margin-bottom: 8px; }
#credits-panel .cr-grp { font-size: 16px; line-height: 16px; color: #A6BCC1; text-transform: uppercase; }
#credits-panel .cr-line { font-size: 16px; line-height: 16px; color: #FFF8F0; max-width: 328px; }
#credits-panel .cr-gap { height: 8px; }
#credits-panel #credits-close { margin-top: 16px; min-width: 160px; min-height: 48px; padding: 0 16px; font-size: 16px; line-height: 16px; color: #FFF8F0; text-transform: uppercase;
  background: #A8674A; border: 2px solid #86503C; border-radius: 0; cursor: pointer; touch-action: manipulation; }
#credits-panel #credits-close:focus-visible { outline: 2px solid #C8DCE0; outline-offset: 2px; }
/* Credits entry in the pause / settings dialog. Layout B (Shiela's art panel): a chip in the free header strip between PAUSED and X.
   Fallback layout (art missing): a normal row button under Resume / Restart / Quit. */
#pause-dialog .pd-card #pd-credits { display: block; width: 100%; margin-top: 8px; padding: 10px; font-size: 16px; line-height: 16px; border: 0; border-radius: 8px; background: #557177; color: #fff; }
#pause-dialog.pd-b .pd-card #pd-credits { position: absolute; left: 184px; top: 32px; width: 104px; height: 28px; margin: 0; padding: 0; font-size: 16px !important; line-height: 16px;
  color: #FFF8F0 !important; background: #3A5A60 !important; border: 2px solid #557177 !important; border-radius: 0; text-transform: uppercase; }
#pause-dialog.pd-b .pd-card #pd-credits:active { background: #2A474E !important; }
