/* XMB mode. Progressive enhancement over the plain document.
   Every rule is gated behind body[data-mode="xmb"][data-xmb="ready"], set by xmb.js only
   when it finishes. A failed script leaves data-xmb unset and the plain
   document untouched. The slide is driven from the frame loop in xmb.js,
   not by a CSS transition, so a move that arrives mid-slide retargets
   from the current position instead of restarting. */

/* ---- screen shell ----

   The screen is <main id="content"> itself. Categories stay inside it,
   items stay inside their <ul class="items">, and both are positioned by
   transform from --x/--y in the screen's native coordinate space. */

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen {
  position: fixed;
  top: calc(50% - 136px * var(--xmb-scale, 1));
  left: calc(50% - 240px * var(--xmb-scale, 1));
  width: 480px;
  height: 272px;
  margin: 0;
  max-width: none;
  overflow: hidden;
  transform: scale(var(--xmb-scale, 1));
  transform-origin: top left;
  background: linear-gradient(
    178deg,
    var(--m-top, #2f7a6a) 0%,
    var(--m-mid, #0f3239) 46%,
    var(--m-bot, #050d11) 100%
  );
  color: #eef6f5;
  font: 300 12px/1.35 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* The letterbox around the screen is dark, never white, at any aspect
   ratio. --m-bot is set on the body from the same month table. */
body[data-mode="xmb"][data-xmb="ready"] {
  background: var(--m-bot, #050d11);
}

/* The plain page chrome has no place on the device screen, but it must
   stay in the document and stay readable to a screen reader. */
body[data-mode="xmb"][data-xmb="ready"] .site-header,
body[data-mode="xmb"][data-xmb="ready"] .site-footer,
body[data-mode="xmb"][data-xmb="ready"] .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Blank wave layer. Step 6 owns it. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-wave {
  position: absolute;
  inset: 0;
  width: 480px;
  height: 272px;
}

/* ---- the cross ---- */

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category,
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  transform: translate3d(
    calc(var(--x, 0) * 1px),
    calc(var(--y, 0) * 1px),
    0
  );
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-icon {
  display: block;
}

/* ---- category row ---- */

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8f4f2;
  opacity: 0.46;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category[data-state="active"] {
  color: #fff;
  opacity: 1;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category .xmb-icon {
  width: 24px;
  height: 24px;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category[data-state="active"] .xmb-icon {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 5px rgba(190, 245, 238, 0.85))
    drop-shadow(0 0 14px rgba(120, 220, 205, 0.45));
}

/* Only the active category shows its label, fixed at (140, 138) in
   screen space. The active category box always sits at (136, 96), so a
   constant offset lands the label on the right spot. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category .category-title {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  transform: translate3d(4px, 42px, 0);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category[data-state="inactive"] .category-title,
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category .category-description {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* "Nothing here yet." sits at the selected-item slot for an empty active
   category. The active category box is always at (136, 96), so a constant
   offset lands the note at (188, 175). */
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category .items-empty {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  transform: translate3d(52px, 71px, 0);
  font-size: 12px;
  font-weight: 400;
  color: rgba(232, 244, 242, 0.55);
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category[data-state="inactive"] .items-empty {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* An empty active category has nothing to open and no item glow. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen.xmb-no-items .xmb-glow-item,
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen.xmb-no-items .xmb-key-open {
  display: none;
}

/* ---- item column ----

   The <ul class="items"> stays inside its category. The active category
   sits at the cross point (box top-left 136, 96), so cancelling its own
   --x/--y puts the list origin at screen (0, 0); items then carry true
   screen coordinates. */

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .category .items {
  position: absolute;
  left: calc(var(--x, 0) * -1px);
  top: calc(var(--y, 0) * -1px);
  width: 480px;
  height: 272px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  opacity: 0;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item[data-state="selected"] {
  opacity: 1;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item[data-state="below"] {
  opacity: 0.5;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item[data-state="above"] {
  opacity: 0.3;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item[data-state="hidden"] {
  opacity: 0;
}

/* An item whose centre travels through the category row. The layout sets
   this from the animated position, so it applies mid-slide too. It wins
   over every data-state above. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item.xmb-behind {
  opacity: 0;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-disc {
  width: 40px;
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item .xmb-icon {
  width: 22px;
  height: 22px;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item[data-state="selected"] .xmb-icon {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 4px rgba(190, 245, 238, 0.9))
    drop-shadow(0 0 12px rgba(120, 220, 205, 0.5));
}

/* Only the selected item shows its text. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item article {
  margin: 0;
  white-space: nowrap;
  opacity: 0;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item[data-state="selected"] article {
  opacity: 1;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item .item-title {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item .item-meta {
  margin: 4px 0 0;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(232, 244, 242, 0.62);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  hyphens: none;
}

body[data-mode="xmb"][data-xmb="ready"] .item-meta .item-meta-seg {
  white-space: nowrap;
}

/* The body and links stay readable; step 4 opens them. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item .item-body,
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item .item-control,
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen .items .item .item-links {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- selection glow ---- */

body[data-mode="xmb"][data-xmb="ready"] .xmb-glow {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(180, 248, 238, 0.3) 0%,
    rgba(120, 220, 205, 0.1) 42%,
    transparent 68%
  );
  pointer-events: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-glow-cat {
  top: 68px;
  left: 108px;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-glow-item {
  top: 127px;
  left: 108px;
}

/* ---- status bar ---- */

body[data-mode="xmb"][data-xmb="ready"] .xmb-status {
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(238, 246, 245, 0.62);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-status-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-clock {
  font-variant-numeric: tabular-nums;
  color: rgba(238, 246, 245, 0.85);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-batt {
  position: relative;
  display: flex;
  gap: 1px;
  width: 17px;
  height: 9px;
  padding: 1px;
  border: 1px solid rgba(238, 246, 245, 0.55);
  border-radius: 1px;
}

/* Unknown level: outline only, dimmed. It claims nothing. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-batt[data-known="no"] {
  border-color: rgba(238, 246, 245, 0.3);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-batt-seg {
  flex: 1;
  background: transparent;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-batt[data-segments="1"] .xmb-batt-seg:nth-child(-n + 1),
body[data-mode="xmb"][data-xmb="ready"] .xmb-batt[data-segments="2"] .xmb-batt-seg:nth-child(-n + 2),
body[data-mode="xmb"][data-xmb="ready"] .xmb-batt[data-segments="3"] .xmb-batt-seg:nth-child(-n + 3) {
  background: rgba(238, 246, 245, 0.85);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-batt[data-low="yes"] .xmb-batt-seg:nth-child(1) {
  background: #e8875a;
}

/* Charging: the level stays readable underneath, the bolt sits over it. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-batt[data-charging="yes"] .xmb-batt-seg {
  opacity: 0.4;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-batt-bolt {
  display: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-batt[data-charging="yes"] .xmb-batt-bolt {
  display: block;
  position: absolute;
  left: 50%;
  top: 1px;
  width: 5px;
  height: 7px;
  margin-left: -2.5px;
  background: #ffffff;
  clip-path: polygon(62% 0, 12% 58%, 44% 58%, 34% 100%, 88% 40%, 54% 40%);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-batt::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -3px;
  width: 2px;
  height: 3px;
  background: rgba(238, 246, 245, 0.55);
}

/* ---- soft keys ---- */

body[data-mode="xmb"][data-xmb="ready"] .xmb-keys {
  position: absolute;
  right: 12px;
  bottom: 9px;
  display: flex;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(232, 244, 242, 0.7);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-keys b {
  font-weight: 400;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-keys .xmb-key-back {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-keys .xmb-key-back:focus-visible {
  outline: 2px solid rgba(190, 245, 238, 0.9);
  outline-offset: 2px;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-key-glyph {
  position: relative;
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 4px;
  vertical-align: -2px;
  border: 1px solid rgba(232, 244, 242, 0.7);
  border-radius: 50%;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-key-glyph-x::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(
      45deg,
      transparent 44%,
      rgba(232, 244, 242, 0.8) 44% 56%,
      transparent 56%
    ),
    linear-gradient(
      -45deg,
      transparent 44%,
      rgba(232, 244, 242, 0.8) 44% 56%,
      transparent 56%
    );
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-key-glyph-o::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(232, 244, 242, 0.8);
  border-radius: 50%;
}

/* ---- LCD filter. Gated behind the xmb-lcd class on the root
   container (the screen). On by default; step 8 adds the toggle. ---- */

body[data-mode="xmb"][data-xmb="ready"] .xmb-overlay,
body[data-mode="xmb"][data-xmb="ready"] .xmb-vignette {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen.xmb-lcd .xmb-overlay {
  display: block;
  mix-blend-mode: screen;
  background: radial-gradient(
      120% 90% at 50% 45%,
      rgba(255, 255, 255, 0.07),
      transparent 70%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 60, 60, 0.03) 0 1px,
      rgba(60, 255, 120, 0.03) 1px 2px,
      rgba(60, 120, 255, 0.03) 2px 3px
    );
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-screen.xmb-lcd .xmb-vignette {
  display: block;
  box-shadow: inset 0 0 46px rgba(0, 0, 0, 0.5);
}

/* ---- open state ----

   body[data-open] holds the open item's id. The cross shifts left, dims,
   and the soft-key bar keeps Back only. No transition: step 5 adds motion. */

body[data-mode="xmb"][data-xmb="ready"][data-open] .xmb-screen .category[data-state="active"],
body[data-mode="xmb"][data-xmb="ready"][data-open] .xmb-screen .item[data-state="selected"] {
  opacity: 0.5;
}

body[data-mode="xmb"][data-xmb="ready"][data-open] .xmb-screen .category[data-state="inactive"] {
  opacity: 0.23;
}

body[data-mode="xmb"][data-xmb="ready"][data-open] .xmb-screen .item[data-state="below"] {
  opacity: 0.25;
}

body[data-mode="xmb"][data-xmb="ready"][data-open] .xmb-screen .item[data-state="above"] {
  opacity: 0.15;
}

body[data-mode="xmb"][data-xmb="ready"][data-open] .xmb-key-open {
  display: none;
}

/* ---- detail sheet ----

   The sheet is a fixed frame; its body is the only scrollable surface in
   XMB mode. The native scrollbar is hidden; mouse wheel and touch drag
   scroll it through normal browser behaviour. */

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet {
  position: absolute;
  top: 26px;
  bottom: 26px;
  right: 14px;
  width: 300px;
  display: none;
  background: linear-gradient(180deg, rgba(6, 20, 24, 0.8), rgba(4, 12, 16, 0.88));
  border: 1px solid rgba(180, 248, 238, 0.22);
  border-radius: 2px;
  backdrop-filter: blur(2px);
}

body[data-mode="xmb"][data-xmb="ready"][data-open] .xmb-sheet {
  display: block;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet-body {
  position: absolute;
  inset: 0;
  padding: 12px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet-body::-webkit-scrollbar {
  display: none;
}

/* Edge fades: 20-unit gradients from the sheet background to transparent,
   shown only when content sits past that edge. Toggled by a class from
   the scroll handler. Static gradients, not animations. */

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet::before,
body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet::before {
  top: 0;
  background: linear-gradient(180deg, rgba(6, 20, 24, 0.95), transparent);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(6, 20, 24, 0.95), transparent);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet.xmb-sheet-top::before {
  opacity: 1;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet.xmb-sheet-bottom::after {
  opacity: 1;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .item-title {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .item-meta {
  margin: 0 0 8px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(232, 244, 242, 0.6);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  hyphens: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .item-body {
  margin: 0 0 7px;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(232, 244, 242, 0.88);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .item-body p {
  margin: 0 0 7px;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .item-body p:last-child {
  margin-bottom: 0;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .item-body code {
  padding: 0;
  background: none;
  font-size: 0.95em;
  color: rgba(210, 250, 244, 0.9);
}

/* The settings control. One button, sized like the link chips, with the
   current value as its label. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .item-control {
  margin: 10px 0 0;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .setting {
  padding: 3px 9px;
  border: 1px solid rgba(180, 248, 238, 0.45);
  border-radius: 2px;
  background: rgba(12, 30, 30, 0.5);
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.07em;
  color: rgba(226, 252, 247, 0.95);
  cursor: pointer;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .setting:hover {
  border-color: rgba(214, 253, 248, 0.85);
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .setting:focus-visible {
  outline: 2px solid rgba(190, 245, 238, 0.9);
  outline-offset: 1px;
}

/* The screen takes focus by script so the arrow keys reach the menu. It is
   not a control, so it must not draw a focus ring. The selection glow is
   the cursor. */
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen:focus,
body[data-mode="xmb"][data-xmb="ready"] .xmb-screen:focus-visible {
  outline: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet .item-links a {
  padding: 1px 5px;
  border: 1px solid rgba(180, 248, 238, 0.3);
  border-radius: 2px;
  font-size: 8px;
  letter-spacing: 0.07em;
  color: rgba(210, 250, 244, 0.9);
  text-decoration: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet a:focus-visible {
  outline: 2px solid rgba(190, 245, 238, 0.9);
  outline-offset: 2px;
}

/* ---- focus. Programmatic focus draws no ring; keyboard focus draws the
   interface ring. The ring is never removed, only restyled. ---- */

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet:focus,
body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet a:focus,
body[data-mode="xmb"][data-xmb="ready"] .xmb-keys .mode-toggle:focus {
  outline: none;
}

body[data-mode="xmb"][data-xmb="ready"] .xmb-sheet:focus-visible,
body[data-mode="xmb"][data-xmb="ready"] .xmb-keys .mode-toggle:focus-visible {
  outline: 2px solid rgba(190, 245, 238, 0.9);
  outline-offset: 2px;
}

/* ---- live region: one polite announcement, visually hidden ---- */

body[data-mode="xmb"][data-xmb="ready"] .xmb-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- plain mode after a toggle ----

   The XMB layer stays in the DOM when the mode switches to plain, so the
   injected and decorative nodes must hide or the plain document changes
   appearance. A fresh plain load has none of these nodes; this rule only
   matters after a toggle. */

body[data-mode="plain"] .xmb-icon,
body[data-mode="plain"] .xmb-disc,
body[data-mode="plain"] .xmb-wave,
body[data-mode="plain"] .xmb-glow,
body[data-mode="plain"] .xmb-status,
body[data-mode="plain"] .xmb-keys,
body[data-mode="plain"] .xmb-sheet,
body[data-mode="plain"] .xmb-live,
body[data-mode="plain"] .xmb-overlay,
body[data-mode="plain"] .xmb-vignette {
  display: none;
}

/* ---- mode toggle inside the soft-key bar ---- */

body[data-mode="xmb"][data-xmb="ready"] .xmb-keys .mode-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 9px;
  letter-spacing: 0.05em;
  cursor: pointer;
}

body[data-mode="xmb"][data-xmb="ready"][data-open] .xmb-keys .mode-toggle {
  display: none;
}
