/* 9.5.0 / v19 — light phone cards, kill ghost text, unlock feed scroll */

@media (max-width: 1023px) {
  html,
  html body.bu-board-page:not(.bu-nalog-page) {
    height: auto !important;
    max-height: none !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html body.bu-board-page:not(.bu-nalog-page) {
    background: #f4f7fb !important;
  }

  html body.bu-board-page:not(.bu-nalog-page) .bu-board-shell-wrap,
  html body.bu-board-page:not(.bu-nalog-page) .bu-board-main-col,
  html body.bu-board-page:not(.bu-nalog-page) .bu-board,
  html body.bu-board-page:not(.bu-nalog-page) .bu-shell,
  html body.bu-board-page:not(.bu-nalog-page) .bu-board-body,
  html body.bu-board-page:not(.bu-nalog-page) .bu-term-grid,
  html body.bu-board-page:not(.bu-nalog-page) #bu-list-pane,
  html body.bu-board-page:not(.bu-nalog-page) .bu-board-list,
  html body.bu-board-page:not(.bu-nalog-page) .bu-board-list-scroll {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    flex: none !important;
  }

  html body.bu-board-page #bu-list-pane,
  html body.bu-board-page .bu-board-list,
  html body.bu-board-page .bu-board-list-scroll {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #f4f7fb !important;
    padding-bottom: 110px !important;
  }

  html body.bu-board-page #bu-feed,
  html body.bu-board-page .bu-feed {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding: 0 0 110px !important;
    background: transparent !important;
  }

  html body.bu-board-page #bu-feed .bu-item,
  html body.bu-board-page .bu-feed .bu-item,
  html body.bu-term .bu-feed .bu-row,
  html body.bu-board-page .bu-feed .bu-item.compact {
    display: block !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-template-areas: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html body.bu-board-page .bu-item.is-demo::before,
  html body.bu-board-page .bu-feed .bu-row.is-demo::before,
  html body.bu-board-page .bu-feed .bu-item.compact.is-demo::before {
    content: none !important;
    display: none !important;
  }

  html body.bu-board-page #bu-feed .bu-item.compact > :not(.bu-mload),
  html body.bu-board-page .bu-feed .bu-item.compact > :not(.bu-mload) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  html body.bu-board-page #bu-feed .bu-item.compact > .bu-mload,
  html body.bu-board-page .bu-feed .bu-item.compact > .bu-mload {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    width: 100% !important;
    overflow: visible !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }

  html body.bu-board-page #bu-feed .bu-mload,
  html body.bu-board-page .bu-feed .bu-mload {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    padding: 16px !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 22px !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-live {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: #dcfce7 !important;
    color: #10b981 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-live i {
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: #10b981 !important;
    display: inline-block !important;
    animation: bu-v19-pulse 1.4s ease-in-out infinite !important;
  }

  html body.bu-board-page #bu-feed .bu-mload .bu-demo-ribbon {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    background: #fef3c7 !important;
    color: #f59e0b !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-route {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-route i {
    flex: 0 0 auto !important;
    color: #0066ff !important;
    font-style: normal !important;
    font-weight: 800 !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-end,
  html body.bu-board-page #bu-feed .bu-mload-end b,
  html body.bu-board-page #bu-feed .bu-mload .bu-ccflag {
    display: inline !important;
    color: #0f172a !important;
    font-style: normal !important;
    white-space: nowrap !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-end {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-specs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-chip {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 4px 8px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-foot {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-price {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
  }

  html body.bu-board-page #bu-feed .bu-mload-go {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #0066ff !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
  }

  html body.bu-board-page #bu-dispo-fab,
  html body.bu-board-page .bu-dispo-fab {
    display: flex !important;
    position: fixed !important;
    right: 16px !important;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 50 !important;
  }
}

@keyframes bu-v19-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (min-width: 1024px) {
  html body.bu-board-page #bu-feed .bu-mload {
    display: none !important;
  }
  html body.bu-board-page #bu-feed .bu-desk-row {
    display: grid !important;
  }
}
