﻿@media (max-width: 520px) {
  body {
    background: #f2f2f2;
  }

  .type_list {
    gap: 6px !important;
    padding: 6px 8px 4px !important;
  }

  .type_list .type_item {
    min-height: 42px !important;
    padding: 5px 3px !important;
    border-radius: 7px !important;
  }

  .type_list .type_name {
    font-size: 13px !important;
    line-height: 18px !important;
  }

  .type_list .type_date {
    font-size: 11px !important;
    line-height: 15px !important;
  }

  .kaijiang_wrap,
  .lottery-override-wrap {
    margin: 4px 8px 8px !important;
    padding: 8px 5px 10px !important;
  }

  .lottery-top-row,
  .kj_top_info {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "issue history"
      "count count" !important;
    align-items: center !important;
    row-gap: 3px !important;
    column-gap: 8px !important;
    padding: 0 4px 7px !important;
    font-size: 12px !important;
  }

  .lottery-top-row > div:first-child,
  .kj_top_info > div:first-child {
    grid-area: issue !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 12px !important;
    line-height: 18px !important;
  }

  .lottery-countdown {
    grid-area: count !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 18px !important;
    white-space: nowrap !important;
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .lottery-history-link,
  .kj_top_info > div:last-child {
    grid-area: history !important;
    text-align: right !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    line-height: 18px !important;
  }

  .txt_orange {
    font-size: 12px !important;
  }

  .lottery-override-balls {
    padding: 4px 0 2px !important;
    gap: 2px !important;
  }

  .lottery-override-balls .ball_item {
    min-width: 39px !important;
  }

  .lottery-ball {
    width: 38px !important;
    height: 38px !important;
    line-height: 30px !important;
    font-size: 17px !important;
  }

  .lottery-override-balls .ball_name {
    font-size: 12px !important;
    line-height: 16px !important;
    margin-top: 2px !important;
  }

  .lottery-pending-text {
    font-size: 10px !important;
    max-width: 42px !important;
  }

  .lottery-override-balls .plus_wrap {
    font-size: 22px !important;
    min-width: 14px !important;
  }

  .gonggao {
    height: 32px !important;
    min-height: 32px !important;
    margin-top: 8px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    line-height: 32px !important;
  }

  .gonggao uni-view,
  .gonggao view,
  .gonggao marquee {
    height: 32px !important;
    min-height: 32px !important;
    line-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  .gundong_wrap {
    height: 46px !important;
    min-height: 46px !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
  }

  .gundong_wrap uni-view,
  .gundong_wrap view,
  .gundong_wrap marquee {
    height: 46px !important;
    min-height: 46px !important;
    line-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  .gundong_wrap b,
  .gundong_wrap font {
    line-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
  }

  .gundong_wrap font[size="6"] {
    font-size: 24px !important;
  }

  .gundong_wrap [style*="font-size:25pt"],
  .gundong_wrap [style*="font-size: 25pt"] {
    font-size: 24px !important;
    line-height: 46px !important;
  }

  uni-image[src*="ad-"] {
    margin: 6px 0 8px !important;
  }

  .generated-ziliao-wrap {
    padding: 8px 7px 4px !important;
  }

  .generated-ziliao-title {
    height: 38px !important;
    font-size: 16px !important;
    margin-bottom: 7px !important;
  }

  .generated-ziliao-title b {
    font-size: 16px !important;
  }

  .generated-ziliao-card {
    margin-bottom: 8px !important;
  }

  .generated-ziliao-name {
    height: 32px !important;
    font-size: 17px !important;
  }

  .generated-ziliao-row {
    min-height: 34px !important;
    padding: 6px 7px !important;
    font-size: 14px !important;
  }

  .generated-ziliao-row .qishu {
    font-size: 13px !important;
  }
}
