/* The panels (Collection, Store, Leaderboard, Islands, Wallet) in the look of the menu's Settings and Keyboard
   panels (owner 2026-10-21: "the same style as the settings and keyboard, not white, same thickness for edges"):
   black ink on the kraft sheet, Lato throughout (bold labels, as Settings), boxes drawn like the Keyboard panel's
   keys (a .2rem black edge, .5rem corners, nothing filled in), buttons as the Settings panel's black language pill,
   a choice marked by bold and the underline that grows under it, bars as its volume sliders, the title as a tab label.
   Loaded after hud.css and economy.css, so these rules win; nothing here touches the menu itself. */
#mpHud .mp-card { --edge: .2rem solid var(--black); --rule: .1em solid var(--black); font-family: var(--fontFamily-default); font-size: 16px; color: var(--black); }

/* the title: bold Lato with the tab's underline under it */
#mpHud .mp-card-h { margin-bottom: 1.25em; }
#mpHud .mp-card-h h2 { position: relative; display: inline-block; font-family: var(--fontFamily-default); font-size: 1.5em; font-weight: 700; line-height: 1.1; }
#mpHud .mp-card-h h2::after { content: ''; position: absolute; left: 0; bottom: -.25em; width: 100%; height: .1em; background: var(--black); }
#mpHud .mp-card .mp-muted { color: var(--black); opacity: .75; font-size: .9em; }

/* buttons: the language pill (black, white bold Lato), a little lift on hover; one that is already chosen is the
   key's outline instead; a disabled one fades */
#mpHud .mp-card .mp-btn, #mpHud .mp-card .mp-partner {
  --transition: 0%; min-width: 0; padding: .55rem 1.25rem; border: none; border-radius: 1000px; background: var(--black); color: var(--white);
  font-family: var(--fontFamily-default); font-size: .85em; font-weight: 600; line-height: 100%; letter-spacing: 0; box-shadow: none; transform: none;
  transition: transform var(--transitionDuration) var(--ease), opacity var(--transitionDuration) var(--ease);
}
#mpHud .mp-card .mp-btn:hover, #mpHud .mp-card .mp-partner:hover, #mpHud .mp-card .mp-btn:focus-visible, #mpHud .mp-card .mp-partner:focus-visible { background: var(--black); color: var(--white); box-shadow: none; transform: scale(1.05); outline: none; }
#mpHud .mp-card .mp-btn:active, #mpHud .mp-card .mp-partner:active { transform: scale(.97); }
#mpHud .mp-card .mp-btn[disabled], #mpHud .mp-card .mp-partner[disabled] { opacity: .5; transform: none; }
#mpHud .mp-card .mp-partner.is-on { background: transparent; color: var(--black); border: var(--edge); font-weight: 700; padding: calc(.55rem - .2rem) calc(1.25rem - .2rem); }

/* tabs: as the Settings panel's Low / Medium / High (bold and underlined when chosen) */
#mpHud .mp-card .mp-tab { font-family: var(--fontFamily-default); font-size: 1em; font-weight: 400; color: var(--black); background: none; border: none; box-shadow: none; padding: .25em 0; }
#mpHud .mp-card .mp-tab:hover { font-weight: 700; transform: none; color: var(--black); background: none; box-shadow: none; }
#mpHud .mp-card .mp-tab.is-on { font-weight: 700; font-size: 1em; transform: translateY(-.1em) scale(1.1); }
#mpHud .mp-card .mp-tab::after { bottom: -.25em; height: .1em; }

/* boxes: the Keyboard panel's key outline */
#mpHud .mp-card .mp-sp, #mpHud .mp-card .mp-item { background: transparent; border: var(--edge); border-radius: .5rem; box-shadow: none; }
#mpHud .mp-card .mp-item.t-rare, #mpHud .mp-card .mp-item.t-epic, #mpHud .mp-card .mp-item.t-legendary { border-color: var(--black); background: transparent; }
#mpHud .mp-card .mp-sp b, #mpHud .mp-card .mp-item b { font-family: var(--fontFamily-default); font-size: 1.05em; font-weight: 700; font-variation-settings: normal; }
#mpHud .mp-card .mp-sp small, #mpHud .mp-card .mp-sp p, #mpHud .mp-card .mp-item p, #mpHud .mp-card .mp-item small { color: var(--black); opacity: .75; }
#mpHud .mp-card .mp-type { color: var(--black) !important; font-weight: 700; opacity: .75; }
#mpHud .mp-card .mp-bigball { box-shadow: none; }
#mpHud .mp-card .mp-price, #mpHud .mp-card .mp-price span { color: var(--black); }
#mpHud .mp-card .mp-tagr { border: var(--edge); border-radius: .5rem; }

/* headings inside: bold Lato, the rarity dot drawn in the same ink */
#mpHud .mp-card .mp-rh { font-family: var(--fontFamily-default); font-size: 1.15em; font-weight: 700; }
#mpHud .mp-card .mp-rh span { border: .15rem solid var(--black); }
#mpHud .mp-card .mp-rh em { font-weight: 700; font-size: .8em; }
#mpHud .mp-card .mp-wsec { border-top: var(--rule); }
#mpHud .mp-card .mp-wsec h3 { font-family: var(--fontFamily-default); font-size: 1.05em; font-weight: 700; font-variation-settings: normal; }
#mpHud .mp-card .mp-bigmoney b { font-variation-settings: normal; }

/* lists: rules as thick as the underlines */
#mpHud .mp-card .mp-row, #mpHud .mp-card .mp-rank { border-top: var(--rule); }
#mpHud .mp-card .mp-pos { font-family: var(--fontFamily-default); font-weight: 700; }
#mpHud .mp-card .mp-sw { border: .15rem solid var(--black); }

/* bars: the volume slider (a tan groove in a thin black ring, the filled part a black line) */
#mpHud .mp-card .mp-bar { height: 15px; box-sizing: border-box; padding: 3.5px; border: 1px solid var(--black); border-radius: 1000px; background: #cdb98a; overflow: hidden; }
#mpHud .mp-card .mp-bar i { min-width: 8px; height: 100%; border-radius: 1000px; background: var(--black); }

/* the amount box: a key outline */
#mpHud .mp-card .mp-cashrow input { background: transparent; border: var(--edge); border-radius: .5rem; color: var(--black); font-family: var(--fontFamily-default); }
#mpHud .mp-card .mp-eq, #mpHud .mp-card .mp-unit, #mpHud .mp-card .mp-warn { color: var(--black); }
