/* The private-mode badge is visible on desktop as well. */
body.yens-beta .yens-beta-badge {
  position: fixed;
  bottom: 8px;
  left: 8px;
  z-index: 99999;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgb(15 23 42 / 60%);
  color: #fff;
  font: 600 10px/1.2 sans-serif;
  pointer-events: none;
}
body.yens-beta .yens-beta-menu[hidden] { display: none !important; }
@media (max-width: 600px) {
  body.yens-beta .yens-top-strip {
    box-sizing: border-box;
    height: 34px;
    max-height: 34px;
    padding: 8px 0;
    font-size: 12px;
    line-height: 18px;
    overflow: hidden;
  }
  body.yens-beta .yens-top-strip-text {
    display: flex;
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    white-space: nowrap;
  }
  body.yens-beta .yens-top-strip-text > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.yens-beta .yens-top-strip-link {
    flex-shrink: 0;
    margin-left: 0;
    text-decoration: none;
  }
  body.yens-beta.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
    display: none !important;
  }
  body.yens-beta section.yd-card.yd-profile {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px;
  }
  body.yens-beta section.yd-card.yd-profile .yd-avatar {
    width: 44px;
    height: 44px;
    grid-row: auto;
  }
  body.yens-beta section.yd-card.yd-profile .yd-who h2 {
    margin: 0 0 4px;
    font-size: 18px !important;
    font-weight: 800 !important;
  }
  body.yens-beta section.yd-card.yd-profile .yd-meta { margin: 0; font-size: 13px; }
  body.yens-beta nav.yd-links { display: none !important; }
  body.yens-beta .yens-beta-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: var(--yens-beta-menu-top, 100px);
    z-index: 99990;
    box-sizing: border-box;
    max-height: min(70vh, var(--yens-beta-menu-space, 70vh));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid #e2edf3;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgb(15 23 42 / 18%);
    color: #0f172a;
  }
  body.yens-beta .yens-beta-menu-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e2edf3;
  }
  body.yens-beta .yens-beta-menu-header strong { font-size: 16px; overflow-wrap: anywhere; }
  body.yens-beta .yens-beta-menu-header a { font-size: 12px; color: #067aa9; }
  body.yens-beta .yens-beta-menu-row {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 24px;
    color: #0f172a;
    text-decoration: none;
    overflow-wrap: anywhere;
  }
  body.yens-beta .yens-beta-menu-row[aria-current="page"] { background: #eaf7ff; color: #067aa9; font-weight: 700; }
  body.yens-beta .yens-beta-menu-row.is-logout { color: #b4232c; border-top: 1px solid #e2edf3; }
  body.yens-beta .yens-beta-menu a:focus-visible { outline: 2px solid #067aa9; outline-offset: -3px; }
}
