/* One centered mobile rhythm for every signed-in account view. */
@media (max-width: 600px) {
  body.storefront.account-page.account-is-authenticated .account-dashboard {
    animation: none;
  }

  body.storefront.account-page.account-is-authenticated .account-main:has(.account-dashboard:not([hidden])) {
    width: min(calc(100% - 28px), 560px);
    padding: 18px 0 48px;
  }

  body.storefront.account-page.account-is-authenticated .account-shell {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.storefront.account-page.account-is-authenticated .account-sidebar {
    padding: 0 0 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 66px;
    padding: 7px 4px;
    border: 1px solid #dce5ee;
    border-radius: 13px;
    background: #fff;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a:nth-of-type(n+4) {
    grid-column: span 3;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a span:nth-child(2) {
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[data-account-view=balance]>span:nth-child(2) {
    font-size: 0;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[data-account-view=balance]>span:nth-child(2)::after {
    content: "Баланс";
    font-size: 11px;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[aria-current=page]::before {
    top: 10px;
    bottom: 10px;
  }

  body.storefront.account-page.account-is-authenticated .account-nav-symbol,
  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[aria-current=page] .account-nav-symbol {
    width: 23px;
    height: 23px;
    background: transparent;
    box-shadow: none;
  }

  body.storefront.account-page.account-is-authenticated .account-nav-symbol svg {
    width: 20px;
    height: 20px;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-content {
    min-width: 0;
    border-radius: 0;
    background: transparent;
  }

  body.storefront.account-page.account-is-authenticated .account-view {
    padding: 0;
    animation: none;
  }

  body.storefront.account-page.account-is-authenticated .account-orders-pending {
    display: grid;
    place-items: center;
    min-height: 125px;
    padding: 22px;
    color: #71859c;
    font-size: 13px;
    text-align: center;
  }

  body.storefront.account-page.account-is-authenticated .account-view-lead,
  body.storefront.account-page.account-is-authenticated .account-orders-view .account-view-lead {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    width: 100%;
    margin: 0 0 24px;
    text-align: center;
  }

  body.storefront.account-page.account-is-authenticated .account-view-lead>div {
    width: 100%;
  }

  body.storefront.account-page.account-is-authenticated .account-premium-eyebrow {
    display: block;
    margin-bottom: 9px;
  }

  body.storefront.account-page.account-is-authenticated .account-view-lead h2 {
    justify-content: center;
    font-size: clamp(29px, 8vw, 36px);
    line-height: 1.13;
    text-wrap: balance;
  }

  body.storefront.account-page.account-is-authenticated .account-view-lead p {
    max-width: 34ch;
    margin: 9px auto 0;
    font-size: 13px;
    line-height: 1.55;
  }

  body.storefront.account-page.account-is-authenticated .account-add-order-open {
    justify-content: center;
    min-height: 48px;
    width: min(100%, 260px);
    padding: 0 18px;
    font-size: 13px;
  }

  body.storefront.account-page.account-is-authenticated .account-orders-list-section {
    border-radius: 20px;
  }

  body.storefront.account-page.account-is-authenticated .account-orders-list-section .account-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-height: 0;
    padding: 27px 20px 13px;
    text-align: center;
  }

  body.storefront.account-page.account-is-authenticated .account-empty-copy {
    display: grid;
    justify-items: center;
    width: 100%;
  }

  body.storefront.account-page.account-is-authenticated .account-empty-copy .account-empty-kicker {
    margin-bottom: 18px;
  }

  body.storefront.account-page.account-is-authenticated .account-empty-copy strong {
    max-width: 100%;
    margin: 0 auto;
    font-size: clamp(27px, 7.2vw, 31px);
    line-height: 1.13;
    text-wrap: balance;
  }

  body.storefront.account-page.account-is-authenticated .account-empty-copy p {
    max-width: 33ch;
    margin: 15px auto 20px;
    font-size: 13px;
    line-height: 1.55;
  }

  body.storefront.account-page.account-is-authenticated .account-orders-list-section .account-empty-link {
    justify-self: center;
    min-height: 46px;
    margin: 0 auto;
  }

  body.storefront.account-page.account-is-authenticated .account-empty-art {
    width: 100%;
    min-height: 245px;
    margin: 0 auto;
    animation: none;
  }

  body.storefront.account-page.account-is-authenticated .account-empty-art::before {
    width: 210px;
    height: 210px;
  }

  body.storefront.account-page.account-is-authenticated .account-empty-ticket {
    width: 166px;
    height: 205px;
  }

  body.storefront.account-page.account-is-authenticated .account-wallet-copy {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  body.storefront.account-page.account-is-authenticated .account-wallet-copy p {
    max-width: 30ch;
  }

  body.storefront.account-page.account-is-authenticated .account-favorites-banner {
    align-items: center;
    padding: 27px 22px;
  }

  body.storefront.account-page.account-is-authenticated .account-favorites-banner>a {
    align-self: center;
  }

  body.storefront.account-page.account-is-authenticated .account-hub-empty {
    display: grid;
    justify-items: center;
    min-height: 0;
    padding: 34px 23px;
    text-align: center;
  }

  body.storefront.account-page.account-is-authenticated .account-settings-cover {
    padding: 27px 22px;
  }

  body.storefront.account-page.account-is-authenticated .account-settings-avatar {
    display: none;
  }

  body.storefront.account-page.account-is-authenticated .account-settings-form {
    grid-column: 1 / -1;
    grid-row: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  body.storefront.account-page.account-is-authenticated .account-settings-form label {
    min-width: 0;
  }

  body.storefront.account-page.account-is-authenticated .account-support-hero {
    align-items: center;
    padding: 29px 23px;
    text-align: center;
  }

  body.storefront.account-page.account-is-authenticated .account-support-hero h2,
  body.storefront.account-page.account-is-authenticated .account-support-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  body.storefront.account-page.account-is-authenticated .account-support-hero-action {
    width: min(100%, 270px);
    margin: 0 auto;
  }
}
