.bodhi-system-bar {
  --bodhi-ink: #17492e;
  background: #17492e;
  color: #fffef6;
  font:
    600 12px/1.5 Arial,
    sans-serif;
  position: relative;
  z-index: 31;
}
.bodhi-system-inner {
  max-width: 1280px;
  margin: auto;
  padding: 9px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.bodhi-system-products,
.bodhi-system-account {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}
.bodhi-system-bar a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.bodhi-system-bar a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bodhi-system-bar a[aria-current='page'] {
  color: #17492e;
  background: #e3f0de;
  border-radius: 6px;
  padding: 2px 9px;
}
.bodhi-system-home {
  font-size: 13px;
  letter-spacing: 1.7px;
  font-weight: 800;
}
.bodhi-system-home span {
  color: #b8c9b6;
  margin-left: 10px;
}
.bodhi-system-coins {
  border: 1px solid #a2b69c;
  border-radius: 20px;
  padding: 2px 12px;
  gap: 5px;
}
.bodhi-system-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bodhi-system-status {
  color: #d5e2d1;
}
.bodhi-system-bar button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px;
}
.bodhi-system-bar :focus-visible,
.bodhi-wallet :focus-visible {
  outline: 3px solid #dfa82e;
  outline-offset: 3px;
}
.bodhi-wallet {
  color: #17492e;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px 86px;
  font-family: inherit;
}
.bodhi-wallet-eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 800;
}
.bodhi-wallet h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 20px 0;
}
.bodhi-wallet > p {
  max-width: 690px;
  font-size: 16px;
  line-height: 1.8;
  color: #4c6552;
  margin: 0 0 24px;
}
.bodhi-wallet-balance {
  border: 1px solid #cad8c5;
  border-radius: 14px;
  background: #edf3e7;
  padding: 22px;
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.bodhi-wallet-balance strong {
  font-size: 23px;
}
.bodhi-wallet-balance a,
.bodhi-wallet-balance button {
  color: #17492e;
  text-decoration: underline;
}
.bodhi-wallet-balance button {
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.bodhi-wallet-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.bodhi-wallet-packs article {
  border: 1px solid #cad8c5;
  border-radius: 18px;
  background: #fffef8;
  padding: 28px;
  box-shadow: 0 8px 24px #17492e05;
}
.bodhi-wallet-pack-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.bodhi-wallet-packs h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 26px 0 12px;
  letter-spacing: -1px;
}
.bodhi-wallet-packs h2 small {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}
.bodhi-wallet-packs p {
  font-size: 28px;
  margin: 0 0 28px;
}
.bodhi-wallet-packs p span {
  display: block;
  font-size: 12px;
  color: #53634f;
  margin-top: 4px;
}
.bodhi-wallet-buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 9px;
  color: #fffef8 !important;
  background: #17492e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  min-height: 48px;
}
.bodhi-wallet-buy:hover {
  background: #28603c;
}
.bodhi-wallet .bodhi-wallet-note {
  font-size: 13px;
  max-width: 800px;
}
.bd-product-hub {
  padding-block: 35px 50px;
}
.bd-product-hub-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.bd-product-hub h2 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 10px 0;
}
.bd-product-hub-heading p {
  color: #5a6a54;
  max-width: 410px;
  font-size: 14px;
  line-height: 1.7;
}
.bd-product-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bd-product-card {
  color: #17492e;
  border: 1px solid #cbd8c4;
  border-radius: 18px;
  padding: 28px;
  background: #f3f6ec;
  text-decoration: none;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: start;
  transition: background 0.15s;
}
.bd-product-card:hover {
  background: #e6efdb;
}
.bd-product-card > span {
  font-size: 12px;
  letter-spacing: 1px;
}
.bd-product-card h3 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 25px 0 10px;
}
.bd-product-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #53634f;
  max-width: 270px;
  margin-bottom: 24px;
}
.bd-product-card strong {
  margin-top: auto;
  font-size: 14px;
}
.bd-product-hub-note {
  font-size: 12px;
  color: #53634f;
  margin-top: 18px;
}
.bodhi-coins-intro {
  max-width: 1120px;
  margin: auto;
  padding: 50px 28px 0;
}
.bodhi-coins-intro h1 {
  font-size: 48px;
  letter-spacing: -1.5px;
  margin: 14px 0;
}
.bodhi-coins-intro p {
  line-height: 1.8;
  max-width: 760px;
}
.bodhi-coins-checkout {
  max-width: 1120px;
  padding: 0 28px 65px;
  margin: auto;
}
.bd-coin-grid article[data-selected='true'] {
  outline: 2px solid #17492e;
  outline-offset: 4px;
}
.bd-coin-grid button {
  min-height: 44px;
}
@media (max-width: 820px) {
  .bodhi-system-inner {
    flex-wrap: wrap;
    padding: 7px 18px;
    gap: 3px;
  }
  .bodhi-system-products {
    gap: 14px;
  }
  .bodhi-system-account {
    margin-left: auto;
    gap: 12px;
  }
  .bd-product-hub-heading {
    display: block;
  }
  .bd-product-cards {
    gap: 12px;
  }
  .bd-product-card {
    padding: 22px;
  }
  .bodhi-wallet-packs {
    gap: 12px;
  }
  .bodhi-wallet-packs article {
    padding: 22px;
  }
}
@media (max-width: 600px) {
  .bodhi-system-inner {
    padding: 6px 16px;
  }
  .bodhi-system-products {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .bodhi-system-account {
    width: 100%;
    justify-content: flex-end;
    font-size: 11px;
    gap: 12px;
  }
  .bodhi-system-name {
    max-width: 115px;
  }
  .bodhi-system-home {
    font-size: 11px;
  }
  .bodhi-wallet {
    padding: 45px 20px 55px;
  }
  .bodhi-wallet-packs,
  .bd-product-cards {
    grid-template-columns: 1fr;
  }
  .bodhi-wallet-packs article {
    padding: 26px;
  }
  .bodhi-wallet-packs h2 {
    margin-top: 18px;
  }
  .bodhi-wallet-balance {
    align-items: start;
    flex-direction: column;
  }
  .bd-product-card {
    min-height: 225px;
  }
  .bodhi-coins-intro,
  .bodhi-coins-checkout {
    padding-inline: 20px;
  }
  .bodhi-coins-intro h1 {
    font-size: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bd-product-card {
    transition: none;
  }
}

/* The product strip stays navigation-only. Wallet and identity belong to each header. */
.bodhi-system-inner {
  justify-content: center;
}
.bodhi-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font:
    600 13px/1.4 Arial,
    sans-serif;
  color: #17492e;
}
.bodhi-header-actions a {
  text-decoration: none;
}
.bodhi-coin-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border: 1px solid #dfcc8e;
  border-radius: 30px;
  background: linear-gradient(120deg, #fffdf3, #f8edcc);
  color: #17492e;
  box-shadow: 0 2px 0 #c9a65a25;
  white-space: nowrap;
}
.bodhi-coin-emblem {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 1px #8d64242a);
}
.bodhi-coin-link small {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.bodhi-coin-link strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.bodhi-coin-link:hover {
  border-color: #af802c;
  box-shadow: 0 3px 12px #b58c2929;
}
.bodhi-header-account {
  position: relative;
}
.bodhi-header-account > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  border-radius: 9px;
  padding: 9px 8px;
  max-width: 150px;
  overflow-wrap: anywhere;
}
.bodhi-header-account > summary::-webkit-details-marker {
  display: none;
}
.bodhi-header-account[open] > summary {
  background: #eef3e9;
}
.bodhi-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 250px;
  max-width: calc(100vw - 32px);
  padding: 9px;
  border: 1px solid #d9e2d1;
  border-radius: 16px;
  background: #fffef8;
  box-shadow: 0 12px 35px #12332225;
  z-index: 80;
}
.bodhi-account-menu a,
.bodhi-account-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 9px;
  color: #17492e;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.bodhi-account-menu a:hover,
.bodhi-account-menu button:hover {
  background: #edf4e8;
}
.bodhi-google-link {
  border: 1px solid #d6ded2 !important;
  margin-bottom: 5px;
}
.bodhi-google-link > span {
  color: #4285f4;
  font:
    700 20px/1 Arial,
    sans-serif;
}
.bodhi-header-actions :focus-visible {
  outline: 3px solid #b07c22;
  outline-offset: 3px;
}
.bodhi-coin-unavailable {
  font-size: 12px;
}
@media (max-width: 650px) {
  .bodhi-header-actions {
    gap: 3px;
  }
  .bodhi-coin-emblem {
    width: 30px;
    height: 30px;
  }
  .bodhi-coin-link {
    padding: 3px 7px 3px 3px;
    gap: 4px;
  }
  .bodhi-coin-link small {
    font-size: 10px;
  }
  .bodhi-coin-link strong {
    font-size: 13px;
  }
  .bodhi-header-account > summary {
    max-width: 90px;
    font-size: 12px;
    padding: 8px 5px;
    gap: 3px;
  }
}

.bodhi-header-actions .bodhi-coin-emblem {
  width: 36px;
  height: 36px;
}
.bodhi-coin-link,
.bodhi-header-account > summary {
  min-height: 44px;
  box-sizing: border-box;
}
@media (max-width: 650px) {
  .bodhi-header-actions .bodhi-coin-emblem {
    width: 30px;
    height: 30px;
  }
}
