/*****************************************************************************************/
/**------- 共用 X 樣式 -------**/
/*****************************************************************************************/
#accumulated_top_up h1 {
  font-size: 40px;
}
#accumulated_top_up h2 {
  font-size: 26px;
}
#accumulated_top_up h3 {
  font-size: 22.5px;
}
#accumulated_top_up h4 {
  font-size: 21px;
}
#accumulated_top_up h5 {
  font-size: 17px;
}
#accumulated_top_up h6 {
  font-size: 15.5px;
}
#accumulated_top_up p {
  font-size: 14px;
}
#accumulated_top_up small {
  font-size: 12px;
}

.txt-a {
  color: tomato;
  font-weight: 700;
}
.txt-b {
  color: #555 !important;
}
.txt-c {
  color: #333 !important;
}
.txt-d {
  color: #dd720d !important;
}
.link-a {
  color: #3498db;
  border-bottom: 1px solid #3498db;
}
.link-a:hover {
  color: coral;
  border-bottom: 1px solid coral;
}
.text-align-center {
  text-align: center;
}
.cursor-unset {
  cursor: none !important;
}

/* google 驗證使用 */
.grecaptcha-badge {
  display: none;
}

/*****************************************************************************************/
/**------- 累積儲值專區 X 首頁 -------**/
/*****************************************************************************************/

#accumulated_top_up .card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  flex-wrap: nowrap;
}

#accumulated_top_up .card {
  flex-direction: row;
  border-radius: 0.5rem;
  cursor: pointer;
  border: none;
  border-radius: calc(1rem - 0px);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
  margin: 1rem;
}

#accumulated_top_up .card,
#accumulated_top_up .item {
  height: -webkit-fill-available;
}

#accumulated_top_up .card:hover {
  scale: 1.05;
  transition: all 0.3s ease;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

#accumulated_top_up .card-img {
  width: 100%;
  max-width: 180px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

#accumulated_top_up .card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
  display: inline-grid;
  min-height: 140px;
}

#accumulated_top_up .card-body h5.card-game {
  align-self: center;
  margin: 0;
  margin-bottom: 5px;
  font-weight: 600;
}

#accumulated_top_up .card-body h4.card-title {
  line-height: 1.3;
  height: 110px;
  word-break: break-word;
  word-wrap: break-word;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

#accumulated_top_up .card-body h6.card-time {
  display: flex;
  align-items: flex-end;
  align-content: end;
}

#accumulated_top_up .card-body h6.card-time img {
  width: 20px;
  margin-right: 3px;
}

/*************************************/
/** --共用 X 按鈕設定-- **/
/*************************************/
#accumulated_top_up .card-btn,
#accumulated_top_up .item-btn {
  background: #03a9f4;
  color: #fff;
  border-radius: 0.5rem;
  border: none;
  width: 100%;
  max-width: 160px;
  height: 38px;
  align-self: end;
  margin: 0 auto;
}

#accumulated_top_up .item-btn-a /*內頁-前往領取*/ {
  background: #03a9f4;
}
#accumulated_top_up .item-btn-b/*內頁-領取*/ {
  background: #f18e31;
}
#accumulated_top_up .item-btn-c/*內頁-已達成*/ {
  background: #b4b4b4;
}

#accumulated_top_up .item-btn-copy/*內頁-複製*/ {
  background: #e99d50;
  border-radius: 0.3rem;
  width: 30px;
  height: 20px;
  font-size: 10px;
  padding: 0;
}

#accumulated_top_up .card-btn:hover,
#accumulated_top_up .item-btn-a:hover {
  background: #0391d3;
}
#accumulated_top_up .item-btn-b:hover,
#accumulated_top_up .item-btn-copy:hover {
  background: #df832e;
}

#accumulated_top_up .m-08 {
  margin: 0.8rem;
}

/*活動須知-閃爍效果*/
#accumulated_top_up button.btn-click-modal {
  /* background-color: #08b1ff;
  border-radius: 50px;
  color: #fff; */
  animation: flashing 1.8s infinite ease-in-out;
}
/*純線條-閃爍*/
@keyframes flashing {
  0% {
    filter: hue-rotate(200deg) drop-shadow(0px 0px 1px #fdcc2a);
    transform: scale(1.05);
  }
  50% {
    filter: invert(0%) drop-shadow(0px 0px 0.5px #0391d3);
    transform: scale(0.8);
  }
  100% {
    filter: hue-rotate(200deg) drop-shadow(0px 0px 1px #fdcc2a);
    transform: scale(1.05);
  }
}
/*色塊-閃爍*/
/* @keyframes flashing {
  0% {
    filter: hue-rotate(200deg) drop-shadow(0px 0px 1px #fdcc2a);
    border-radius: 50px;
    transform: scale(1);
  }
  50% {
    background-color: #08b1ff;
    filter: invert(0%);
    border-radius: 50px;
    color: #fff;
    transform: scale(0.85);
  }
  100% {
    filter: hue-rotate(200deg) drop-shadow(0px 0px 1px #fdcc2a);
    border-radius: 50px;
    transform: scale(1);
  }
} */

/*************************************/
/*優惠標章*/
/*************************************/
#accumulated_top_up .sale_img img {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 60px;

  filter: drop-shadow(5px 5px 3px rgba(0, 0, 0, 0.3));
}
/*************************************/

/*****************************************************************************************/
/**------- 累積儲值專區 X 內頁 -------**/
/*****************************************************************************************/

/**------- 遊戲帳號/伺服器/角色  -------**/
#game_info_block {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

#game_info_block .game_user {
  display: flex;
}

#accumulated_top_up .game_user .logo_img {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  margin-right: 1.5rem;
}

#game_info_block .game_user ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding-inline-start: 0;
}

.game_user ul li h4 {
  font-weight: 600;
}
.game_user ul li h6 {
  margin-bottom: 0.7rem;
}

/*切換伺服器/角色*/
.game_user button.change_link {
  background-color: transparent;
  color: #4ec3f7;
  font-size: 14px;
  outline: none;
  border: none;
  border-bottom: 1px solid #4ec3f7;
  padding: 0;
  padding-bottom: 1px;
  margin-left: 2px;
}
.game_user button.change_link:hover,
.game_user button.change_link:active {
  filter: hue-rotate(190deg);
}
.game_user button.change_link img {
  width: 13px;
  padding-bottom: 1px;
  margin-right: 2px;
}

/*ICON+活動日期*/
.game_user .even_time {
  width: fit-content;
  display: flex;
  padding: 0;
}
.game_user .even_time img {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  margin-right: 3px;
}

.game_user .even_time p.date {
  width: fit-content;
  color: #555;
  display: flex;
}
.game_user .even_time .date span:nth-child(1) {
  background: #4ec3f7;
  color: #fff;
  border: 1px solid #4ec3f7;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  padding: 0.1rem 0.5rem 0.1rem 0.7rem;
}
.game_user .even_time .date span:nth-child(2) {
  background: #fff;
  border: 1px solid #4ec3f7;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  padding: 0.1rem 0.7rem 0.1rem 0.5rem;
}
.game_user .even_time .date span:nth-child(2) br {
  display: none;
}

/**------- 累計儲值總金額 X 進度條 -------**/
#topup-progress-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
}

.topup-progress {
  width: 75%;
  max-width: 1000px;
}

.topup-progress h4 {
  color: #495057;
  padding-left: 5px;
}

.topup-progress span {
  padding-left: 0.5rem;
}

/* 灰色背景條 */
.progress-bar {
  width: 100%;
  height: 20px;
  background: #e5e5e5;
  border-radius: 999px;
  padding: 3.5px;
  position: relative;
  overflow: hidden;
}

/* 藍色進度 */
.progress-fill {
  height: 100%;
  background: #82c9f5;
  border-radius: 999px;
  width: 0%;
  transition: width 0.4s ease;
}

/* 中間顯示文字 */
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #555;
  pointer-events: none; /* 不影響點擊 */
}

/**------- BTN-發獎記錄/活動須知 -------**/
.progress-bar-link {
  display: flex;
  flex-direction: row;
}

.progress-bar-link button {
  background: url(../img/accumulated/icon_link.png) no-repeat center center;
  background-size: auto;
  width: 70px;
  height: 70px;
  color: #03a9f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1.3rem;
  border: none;
  outline: none;
}

.progress-bar-link button:hover,
.progress-bar-link button:active,
.progress-bar-link button:focus,
.progress-bar-link button:focus-visible {
  cursor: pointer;
  filter: hue-rotate(195deg) brightness(0.9);
  border: none !important;
  outline: none !important;
}

/**------- 獎勵項目 X 各品項  -------**/

.item,
.item-block,
.item-title,
.item-body,
.item-award,
.item-progress {
  display: flex;
}

.item {
  flex-direction: row;
}
.item-block {
  width: 100%;
  flex-direction: column;
  padding: 1.5rem 1.5rem;
  justify-content: space-between;
}

/**------- 標題 -------**/

.item-title {
  align-items: center;
  margin-bottom: 0.5rem;
}
.item-title img {
  width: 20px;
  margin-bottom: 6px;
}
.item-title h5 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #03a9f4;
}

/**------- 獎勵內容 -------**/

.item-body {
  justify-content: space-between;
  flex-direction: row;
  gap: 1rem;
  height: 100%;
  min-height: 160px;
  margin-bottom: 0.5rem;
}
.item-body img {
  width: 100%;
  height: 100%;
  max-width: 160px;
  max-height: 160px;
}
.item-award {
  flex-direction: column;
}
.item-award h3 {
  font-weight: 600;
  color: #444;
}

.item-award h6 {
  line-height: 22px;
  color: #777;
  text-align: justify;
  word-break: break-all;
}

/**------- 進度金額 X BTN -------**/
.item-progress {
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
}

.item-progress p {
  width: 100%;
  align-self: flex-end;
  color: #777;
  border-bottom: 1px solid #bdbdbd;
  margin-bottom: 0.2rem;
}

/********************************************************************************************************/
/**------- 累儲專區-RWD -------**/

/********************************************************************************************************/

@media (min-width: 1201px) {
  #game_info_block .game_user ul li .logo_img {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  /*****************************/
  /*累儲-首頁*/
  #accumulated_top_up .card-row {
    display: grid;
    flex-wrap: nowrap;
  }

  #accumulated_top_up .card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    display: inline-grid;
    min-height: 140px;
    justify-content: center;
  }

  #accumulated_top_up .card-btn {
    margin-top: 1.2rem;
  }

  /*****************************/
  /*累儲-內頁*/
  #game_info_block {
    padding: 2.5rem 1rem 1rem 1rem;
  }
  #game_info_block .game_user .logo_img {
    display: none !important;
  }
  #game_info_block .game_user ul li .logo_img {
    display: block !important;
    width: 25px;
    height: 25px;
    margin-right: 0.3rem;
    border-radius: 5px;
  }
  #game_info_block .game_user ul li:nth-child(1) {
    display: flex;
  }

  #accumulated_top_up .item-btn {
    margin-top: 0.5rem;
  }
}

@media (max-width: 976px) {
  #accumulated_top_up .md_d_none {
    display: none;
  }
}

@media (max-width: 576px) {
  /*****************************/
  /* 共用 X 樣式*/
  #accumulated_top_up h1 {
    font-size: 30px;
  }
  #accumulated_top_up h2 {
  }
  #accumulated_top_up h3 {
    font-size: 19.5px;
  }
  #accumulated_top_up h4 {
    font-size: 18px;
  }
  #accumulated_top_up h5 {
    font-size: 15.5px;
  }
  #accumulated_top_up h6 {
    font-size: 14px;
    line-height: 20px;
  }
  #accumulated_top_up p {
    line-height: 18px;
  }
  #accumulated_top_up small {
  }

  /*****************************/
  /*累儲-首頁*/
  #accumulated_top_up .card-row {
    display: flex;
    flex-direction: column;
    margin: 1rem 0.5rem;
  }
  #accumulated_top_up .card {
    margin: 1rem 0;
  }

  #accumulated_top_up .card-img {
    max-width: 140px;
    height: 100%;
    max-height: 240px;
  }

  #accumulated_top_up .card-body {
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
  }

  #accumulated_top_up .card-body h6.card-time {
    align-items: flex-start;
  }
  #accumulated_top_up .card-body h6.card-time img {
    width: 15px;
    margin-top: 2px;
    display: none;
  }
  #accumulated_top_up .card-btn {
    height: 25px;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0rem;
  }

  /*****************************/
  /*累儲-內頁*/
  #game_info_block {
    width: 90%;
    margin: auto;
    padding: 2rem 0rem 1rem 0rem;
  }
  #game_info_block .game_user ul li h4 {
    margin-bottom: 0;
  }

  #game_info_block .game_user ul li:nth-child(1) {
    align-items: center;
    margin-bottom: 5px;
  }

  .game_user ul li h6 {
    line-height: 1.4;
  }
  .game_user ul li h6 span {
    color: #555;
  }
  .game_user button.change_link {
    float: inline-end;
  }
  .game_user .even_time img {
    display: none;
  }
  .game_user .even_time .date span:nth-child(1) {
    padding: 0.1rem 0rem 0.1rem 0.8rem;
  }
  .game_user .even_time .date span:nth-child(2) br {
    display: contents;
  }

  #topup-progress-bar {
    flex-direction: column;
    gap: 0;
  }
  .topup-progress {
    width: 100%;
  }
  .topup-progress h2 {
    padding-left: 0;
  }
  .topup-progress span {
    padding-left: 0;
  }
  .item-block {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  }
  .item-body img {
    max-width: 110px;
    max-height: 110px;
  }

  #accumulated_top_up .item-btn {
    max-width: 110px !important;
    height: 100%;
    max-height: 30px !important;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 479px) {
  #accumulated_top_up .xs_d_none {
    display: none;
  }
  #game_info_block .game_user ul {
    margin-bottom: 0;
  }
}

@media (max-width: 378px) {
}
/* 火狐專用 */

.fill-available {
  width: 100%;
  /* 其他瀏覽器的預設寬度 */
}

/* 只在火狐瀏覽器中應用特定的樣式 */
@-moz-document url-prefix() {
  .fill-available {
    width: -moz-available;
  }
}
