/* The bar at the bottom of every Earndle page (index.html, higher-lower.html). Uses the page's colour variables. */
/* The bar at the bottom: full width, under the game, with a torn payslip edge on top. */
body { flex-direction: column; align-items: center; padding-bottom: 0; }
.bbar { width: calc(100% + 32px); margin: auto -16px 0; padding-top: 28px; position: relative; }
.bbar::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 10px; background: var(--green-dark);
  -webkit-mask: radial-gradient(circle at 7px 0, transparent 5px, #000 5.5px) 0 0 / 14px 10px repeat-x;
          mask: radial-gradient(circle at 7px 0, transparent 5px, #000 5.5px) 0 0 / 14px 10px repeat-x; }
.bbin { background: var(--green-dark); color: var(--paper); padding: 16px 28px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap; }
.bbstats { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
/* Like the payslip: the logo, then each number in the payslip's serif with a small spaced-out label, dashed lines between. */
.bblogo { font: 400 26px "DM Serif Display", serif; color: var(--paper); text-decoration: none; margin-right: 22px; letter-spacing: .5px; }
.bblogo span { color: #8fd3a8; }
.bbstats > div { display: flex; flex-direction: column; line-height: 1.1; padding: 0 18px; border-left: 1px dashed rgba(217,209,189,.45); }
.bbstats b { font: 400 24px "DM Serif Display", serif; color: var(--paper); white-space: nowrap; }
.bbstats b .fire { font-size: 16px; }
.bbstats .l { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--line); opacity: .8; white-space: nowrap; margin-top: 3px; }
.bbbtn { text-align: center; margin-left: 18px; background: var(--paper); color: var(--green-dark); border: 0; border-radius: 12px; padding: 10px 16px; font: 800 14px Inter, sans-serif; cursor: pointer; white-space: nowrap; box-shadow: 0 3px 0 #0c3a23; }
.bbbtn:hover { background: var(--line); }
.bbbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 #0c3a23; }
.bblinks { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; font-size: 14px; font-weight: 600; margin-left: auto; }
.bblinks a { color: var(--paper); text-decoration: none; white-space: nowrap; }
.bblinks a:hover { color: var(--line); text-decoration: underline; text-underline-offset: 3px; }
.bblinks a.bbpill { border: 2px solid var(--paper); color: var(--paper); border-radius: 12px; padding: 7px 14px; font-weight: 800; }
.bblinks a.bbpill:hover { background: var(--paper); color: var(--green-dark); text-decoration: none; }
.bblinks .partner img { display: block; }
.framed .partner { display: none; }
/* The language switcher (EARNDLE_I18N.switcher in i18n.js): EN · NL · ES · FR. */
.bblang { display: inline-flex; gap: 2px; border: 1px solid rgba(244,239,226,.35); border-radius: 999px; padding: 2px; }
.bblinks .bblang a { padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: rgba(244,239,226,.75); text-decoration: none; }
.bblinks .bblang a.on { background: var(--paper); color: var(--green-dark); }
.bblinks .bblang a:hover { color: var(--paper); text-decoration: none; } .bblinks .bblang a.on:hover { color: var(--green-dark); }
@media (max-width: 899px) {
  .bbin { flex-direction: column; align-items: stretch; padding: 16px 16px 22px; }
  .bblogo { display: none; }
  .bbstats { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 14px; }
  .bbstats > div { padding: 0 6px; align-items: center; text-align: center; }
  .bbstats > div:first-of-type { border-left: 0; }
  .bbstats b { font-size: 22px; }
  .bbbtn { grid-column: 1 / -1; margin: 0; width: 100%; padding: 12px; }
  .bblinks { margin: 0; justify-content: center; border-top: 1px dashed rgba(217,209,189,.4); padding-top: 14px; }
}
