/* 比赛详情页专用（含移动端） */
/* 详情页移动端 */
  @media (max-width: 767px) {
    .hz-com-detail > .container.bg-white {
      width: calc(100% - 16px) !important;
      max-width: 100% !important;
      margin: 8px auto !important;
      padding: 0 !important;
      border-radius: 12px !important;
      box-sizing: border-box;
      overflow: hidden;
    }
    .hz-com-detail > .container.bg-white > div[style*="padding"] {
      padding: 12px 12px 8px !important;
    }
    .hz-com-detail .ui.divided.grid {
      margin: 0 !important;
    }
    .hz-com-detail .ui.huge.header {
      font-size: 22px !important;
      line-height: 1.35 !important;
      margin: 0 0 6px !important;
      padding: 0 4px;
      word-break: break-word;
      text-align: center;
    }
    .hz-com-detail .centered.row {
      margin-top: 8px !important;
      padding: 4px 0 !important;
    }
    .hz-com-detail .main-content {
      align-items: stretch;
      width: 100%;
    }
    .hz-com-detail .main-content > div[style*="width: 100%"],
    .hz-com-detail .main-content > div {
      width: 100% !important;
    }
    .hz-com-detail .card {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 12px;
    }
    .hz-com-detail .sub-card {
      width: 100%;
      justify-content: center;
    }
    .hz-com-detail .sub-card > div {
      width: 100%;
      text-align: center;
    }
    .hz-com-detail .left-label {
      left: 50%;
      transform: translateX(-50%);
      border-radius: 999px;
      font-size: 12px;
      height: auto;
      line-height: 1.2;
      padding: 6px 12px;
      z-index: 2;
    }
    .hz-com-detail .hz-detail-cup {
      width: 100% !important;
      max-width: 240px !important;
      height: auto !important;
      max-height: 200px !important;
      object-fit: contain;
      margin: 8px auto 0;
      display: block;
    }
    .hz-com-detail .hz-detail-info-wrap {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      gap: 12px;
    }
    .hz-com-detail .hz-detail-info-basic,
    .hz-com-detail .hz-detail-info-stats {
      margin-left: 0 !important;
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      box-sizing: border-box;
      background: #f7f9fc;
      border-radius: 10px;
      padding: 12px 14px;
    }
    .hz-com-detail .ui.header {
      font-size: 17px !important;
      margin: 0 0 8px !important;
    }
    .hz-com-detail .ui.list .item {
      padding: 8px 0 !important;
    }
    .hz-com-detail .ui.list .item .header {
      font-size: 12px !important;
      color: #6b7c96 !important;
      margin-bottom: 2px;
    }
    .hz-com-detail .ui.list .item .description {
      font-size: 14px !important;
      color: #1f2a44 !important;
      word-break: break-word;
      line-height: 1.45;
    }
    .hz-com-detail .btns {
      display: flex !important;
      flex-wrap: wrap !important;
      justify-content: stretch !important;
      gap: 8px !important;
      padding: 12px 0 4px !important;
      width: 100%;
    }
    .hz-com-detail .btns .item {
      flex: 1 1 calc(50% - 8px);
      min-width: calc(50% - 8px);
      margin: 0 !important;
    }
    .hz-com-detail .btns button,
    .hz-com-detail .btns a,
    .hz-com-detail .btns .ui.button {
      width: 100% !important;
      max-width: 100% !important;
      min-height: 40px !important;
      height: auto !important;
      margin: 0 !important;
      font-size: 14px !important;
      line-height: 1.3 !important;
      padding: 10px 8px !important;
      border-radius: 8px !important;
      display: flex !important;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
    }
    .hz-com-detail .simu-hr {
      margin: 10px 0 !important;
    }
    /* 成绩 / 排名表：横向滚动，避免撑破 */
    .hz-com-detail .container.bg-white .ui.table,
    .hz-com-detail table.ui.table {
      display: block;
      width: 100% !important;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      white-space: nowrap;
      font-size: 12px;
    }
    .hz-com-detail .container.bg-white {
      overflow: visible;
    }
    .hz-com-detail > .container.bg-white[style*="margin-top"] {
      width: calc(100% - 16px) !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
    .hz-com-detail > .container.bg-white[style*="margin-top"] > div[style*="padding"] {
      padding: 12px !important;
    }
    .hz-com-detail .ui.grid > .four.wide.column,
    .hz-com-detail .ui.grid > .twelve.wide.column {
      width: 100% !important;
      padding: 6px 0 !important;
    }
    /* 报名弹窗 */
    .hz-com-detail .ui.modal,
    #join_auth_modal.ui.modal,
    #modify_enroll_name_modal.ui.modal,
    #invite_friends_modal.ui.modal {
      width: calc(100% - 24px) !important;
      max-width: 100% !important;
      margin: 0 auto !important;
    }
    #invite_friends_modal .ui.two.column.grid > .column {
      width: 100% !important;
      padding: 8px 0 !important;
    }
    #invite_friends_modal .ui.labeled.icon.input,
    #join_auth_modal .ui.labeled.icon.input,
    #modify_enroll_name_modal .ui.labeled.icon.input {
      width: 100% !important;
      max-width: 100% !important;
    }
    #join_auth_modal .ui.labeled.icon.input .ui.label,
    #modify_enroll_name_modal .ui.labeled.icon.input .ui.label {
      min-width: 5.5em;
    }
  }
