.i58d_introduce_bg {
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}
.item_box#header {
  text-align: center;
  margin-bottom: 20px;
}
.item_box#header h3 {
  font-size: 5em;
  color: #333;
  padding-bottom: 5px;
  border-bottom: 2px solid #ddd;
}
.lucking_box {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.main_pic {
  width: 100%;
  max-height: 200px;
  overflow: hidden;
}
.main_pic a {
  display: block;
  height: 100%;
}
.main_pic img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.infos {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 4rem;
  color: #333;
  line-height: 1;
}
.infos span,
.infos a {
  flex: 1 1 50%;
  /* 🎯 修正核心：縮小所有項目（包括數據項）的預設間距 */
  margin-bottom: 5px;
  box-sizing: border-box;
  padding-right: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.infos span:nth-child(-n+4),
.infos a:nth-child(-n+4) {
  flex-basis: 100%;
}
.infos span:nth-child(4),
.infos a:nth-child(4) {
  /* 獲取獎金 (數據項最後一個) */
  margin-bottom: 10px;
}
.infos span:nth-last-child(-n+3),
.infos a:nth-last-child(-n+3) {
  flex-basis: auto !important;
}
.infos .copy-link {
  cursor: pointer;
  color: #007bff;
  font-weight: bold;
  text-decoration: underline;
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 5px;
}
.infos a[download] {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5px;
}
.infos span:nth-last-child(3),
.infos span:nth-last-child(2),
.infos a:nth-last-child(1) {
  flex-basis: auto !important;
  margin-right: 15px;
}
@media only screen and (min-width: 751px) {
  .i58d_introduce_bg {
    max-width: 1200px;
    padding: 20px;
  }
  .item_box#header h3 {
    font-size: 2.2em;
  }
  .lucking_box {
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 25px;
    transition: box-shadow 0.3s;
  }
  .lucking_box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .main_pic {
    width: 250px;
    max-height: none;
  }
  .main_pic img {
    height: 100%;
  }
  .infos {
    flex: 1;
    padding: 20px;
    flex-wrap: wrap;
    font-size: 1.5em;
    flex-direction: row;
  }
  .infos span,
  .infos a {
    flex: 1 1 auto;
    margin-right: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
  }
  .infos span:nth-last-child(-n+3),
  .infos a:nth-last-child(-n+3) {
    flex-basis: auto;
    margin-left: auto;
    margin-right: 15px;
  }
  .infos span:nth-last-child(-n+2),
  .infos a:nth-last-child(-n+2) {
    margin-left: 0;
  }
  .infos span:nth-child(-n+4),
  .infos a:nth-child(-n+4) {
    flex-basis: auto;
  }
}
