/* 9527138 homepage mobile density only. Desktop and business behaviour unchanged. */
@media (max-width: 767px) {
  #app > .shell > .theme-brand-header {
    height:calc(50px + env(safe-area-inset-top));
  }
  #app .theme-brand-header .topbar-inner {
    height:50px;
    padding:4px 8px;
    gap:7px;
  }
  #app .theme-home-brand { height:42px; gap:6px; }
  #app .theme-brand-header:not(.has-member) .theme-home-brand-mark {
    flex-basis:36px; width:36px; height:36px; border-radius:11px;
  }
  #app .theme-brand-header:not(.has-member) .theme-home-brand h1 {
    font-size:19px; line-height:21px;
  }
  #app .theme-brand-header:not(.has-member) .theme-home-brand-domain {
    font-size:13px; line-height:14px;
  }
  #app > .shell.draw-scroll-page > .theme-brand-header ~ #lottery-wrap .draw-pin-anchor > #lottery-balls {
    top:calc(54px + env(safe-area-inset-top, 0px));
  }
  #app .theme-brand-header ~ #lottery-wrap .balls {
    height:64px; padding:5px 4px; gap:2px;
  }
  #app .theme-brand-header ~ #lottery-wrap .ball-num {
    width:32px; height:32px; border-width:3px; font-size:20px;
  }
  #app .theme-brand-header ~ #lottery-wrap .ball-meta {
    margin-top:3px; font-size:10px;
  }
  #app .theme-brand-header ~ #lottery-wrap .ball.special::before {
    top:10px; font-size:16px;
  }
  #app #post-groups { padding-top:9px; }
  #app #post-groups .post-group { margin-bottom:14px; }
  #app #post-groups .group-title {
    min-height:36px; padding:8px 11px; font-size:14px;
  }
  #app #post-groups .post-list { padding-top:8px; padding-bottom:2px; }
  #app #post-groups .post-list > .theme-post-card {
    min-height:0; margin-bottom:9px; border-radius:11px;
  }
  #app #post-groups .post-list > .theme-post-card > .post-link {
    min-height:62px; padding:7px 8px; column-gap:4px; row-gap:4px;
  }
  #app #post-groups .theme-post-card > .post-link > .theme-post-title {
    font-size:12.5px!important; line-height:1.4!important; gap:2px 3px;
  }
  #app #post-groups .theme-post-card .theme-post-kind {
    min-height:19px; padding:0 3px; font-size:11.5px; line-height:17px;
  }
  #app #post-groups .theme-post-card .theme-post-suffix {
    font-size:10.5px; line-height:1.4;
  }
  #app #post-groups .theme-post-title > .mz-sale-price {
    font-size:12.5px!important; line-height:1.4!important;
  }
  #app #post-groups .theme-post-card .theme-post-meta { gap:4px; }
  #app #post-groups .theme-post-meta > .theme-post-status,
  #app #post-groups .theme-post-meta > .theme-post-stat {
    min-height:22px; padding:3px 2px; border-radius:6px; gap:2px;
  }
  #app #post-groups .theme-post-meta > .theme-post-status { font-size:10.5px; }
  #app #post-groups .theme-post-meta .theme-post-stat b { font-size:11px; }
  #app .theme-brand-header ~ .bottom-nav {
    height:calc(56px + env(safe-area-inset-bottom));
    padding:4px 5px calc(4px + env(safe-area-inset-bottom));
  }
  #app .theme-brand-header ~ .bottom-nav .nav-item {
    min-height:44px; font-size:10.5px;
  }
  #app .theme-brand-header ~ .bottom-nav .nav-icon {
    width:25px; height:25px; font-size:21px; border-radius:8px;
  }
}
@media (max-width: 360px) {
  #app .theme-brand-header:not(.has-member) .theme-home-brand h1 { font-size:18px; }
  #app .theme-brand-header ~ #lottery-wrap .ball-num { width:29px; height:29px; font-size:18px; }
  #app #post-groups .theme-post-card > .post-link > .theme-post-title { font-size:12px!important; }
}
