html { font-size: calc(100vw / 1920 * 100) !important; }
img { display: block; max-width: 100%; }
#tjgContainer.main { width: 100vw; overflow: visible; color: #262626; background: #eef5ff; font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
.message-box { position: fixed; inset: 0; z-index: 9999; display: none; background: rgba(0,0,0,.5); }
.message-box.on { display: block; }
.message-box .message { position: absolute; top: 50%; left: 50%; width: 4.8rem; box-sizing: border-box; padding: .4rem .5rem .24rem; transform: translate(-50%,-50%); border-radius: .09rem; background: #fff; text-align: center; }
.message-box .message img { width: 1.02rem; height: 1.02rem; margin: 0 auto .16rem; object-fit: contain; }
.message-box .message .tip { font-size: .18rem; }
.message-box .message .content { margin-top: .08rem; color: #666; font-size: .14rem; }
.message-box .message .footer-btn { display: flex; align-items: center; justify-content: center; column-gap: .24rem; margin-top: .24rem; }
.message-box .message .btn { min-width: 1.12rem; padding: .1rem .18rem; border-radius: .04rem; background: #3d67ee; color: #fff; cursor: pointer; font-size: .16rem; }
.tjg-hero,
.tjg-hero picture,
.tjg-hero img { display: block; width: 100%; }
.tjg-hero { position: relative; height: 3.3rem; line-height: 0; background: #dfeefa; }
.tjg-hero img { width: 100%; height: 4.8rem; max-width: none; }
.tjg-hero-time { position: absolute; top: .28rem; left: calc(50% - 7.2rem); z-index: 2; display: inline-flex; align-items: center; gap: 0; box-sizing: border-box; padding: .05rem .28rem; overflow: hidden; border: .01rem solid rgba(255, 255, 255, .95); border-radius: .32rem; background: rgba(255, 255, 255, .96); box-shadow: 0 .04rem .16rem rgba(0, 0, 0, .04); color: #595959; font-size: .18rem; line-height: .28rem; white-space: nowrap; }
.tjg-hero-time__dot { flex: none; width: .06rem; height: .06rem; margin-right: .16rem; border-radius: 50%; background: #1c7bef; box-shadow: 0 0 0 .06rem rgba(28, 123, 239, .12); }
.tjg-hero-time__value { display: inline-flex; align-items: center; }
.tjg-main { position: relative; overflow: visible; padding: 0 0 1rem; line-height: 0; }
.tjg-float-actions { position: sticky; top: 4.67rem; z-index: 30; display: flex; flex-direction: column; gap: .08rem; width: fit-content; height: 1.08rem; margin: 0 .24rem -1.08rem auto; transform: none; }
.tjg-float-actions button { display: flex; align-items: center; gap: .08rem; min-width: 1.8rem; height: .5rem; padding: .16rem .32rem; border: 0; border-radius: .08rem; background: linear-gradient(265.52deg, #ffd3a6 1.77%, #ffe9de 101.51%); color: #262626; cursor: pointer; font: inherit; font-size: .16rem; font-weight: 700; line-height: .22rem; text-align: center; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; }
.tjg-float-actions button img { flex: none; width: .0943rem; height: .0946rem; max-width: none; }
.tjg-float-actions span { display: none; }
.tjg-page-bg { position: absolute; z-index: 0; top: 0; left: 0; display: block; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.tjg-page-bg img { width: 100%; min-height: 100%; object-fit: cover; object-position: top center; }
.tjg-main__content { position: relative; z-index: 1; width: min(14.4rem, 100%); margin: 0 auto; }
.tjg-section { position: relative; width: 100%; margin: 0 0 .8rem; }
.tjg-static-art,
.tjg-static-art img { display: block; width: 100%; }
.tjg-newcomer-art { transform: translateY(-.22rem); }
.tjg-newcomer-hit { position: absolute; z-index: 2; top: 65.6%; right: 7%; width: 2.2rem; height: .56rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
.tjg-newcomer-hit.is-received { cursor: not-allowed; border-radius: .56rem; background: rgba(148, 163, 184, .68); box-shadow: inset 0 0 0 .01rem rgba(255, 255, 255, .35); }
.tjg-newcomer-hit.is-ineligible { cursor: not-allowed; border-radius: .56rem; background: rgba(148, 163, 184, .68); box-shadow: inset 0 0 0 .01rem rgba(255, 255, 255, .35); }
.tjg-newcomer-hit.is-ended { cursor: not-allowed; border-radius: .56rem; background: rgba(148, 163, 184, .68); box-shadow: inset 0 0 0 .01rem rgba(255, 255, 255, .35); }
.tjg-newcomer-hit.is-busy { cursor: progress; }
.tjg-newcomer-items { position: absolute; z-index: 2; top: 2.06rem; right: .6rem; bottom: .26rem; left: .6rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: .16rem; }
.tjg-newcomer-item { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: flex-start; gap: .28rem; height: 100%; padding: .08rem .08rem .14rem; box-sizing: border-box; color: #040b4a; text-align: center; }
.tjg-newcomer-item__content-row { display: flex; min-width: 0; align-items: center; justify-content: center; gap: .16rem; width: 100%; }
.tjg-newcomer-item__icon { display: grid; place-items: center; width: .84rem; height: .8rem; margin: 0; }
.tjg-newcomer-item__icon img { width: 100%; height: 100%; object-fit: contain; }
.tjg-newcomer-item__icon span { display: block; width: 100%; height: 100%; background: center / contain no-repeat url('../img/newcomer/cpu.png'); }
.tjg-newcomer-item[data-gift-type='COMPUTE'] .tjg-newcomer-item__icon span { background-image: url('../img/newcomer/cpu.png'); }
.tjg-newcomer-item[data-gift-type='MODEL'] .tjg-newcomer-item__icon span { background-image: url('../img/newcomer/model-api.png'); }
.tjg-newcomer-item.is-gpu .tjg-newcomer-item__icon span { background-image: url('../img/newcomer/gpu.png'); }
.tjg-newcomer-item__content { min-width: 0; line-height: 1.2; }
.tjg-newcomer-item__content strong { display: block; overflow: hidden; color: #040b4a; font-size: .2rem; font-weight: 600; line-height: 1.35; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.tjg-newcomer-item__amount { display: flex; align-items: baseline; justify-content: center; gap: .08rem; margin-top: .06rem; }
.tjg-newcomer-item__amount b { color: #5b24df; font-size: .36rem; font-weight: 800; line-height: 1.1; }
.tjg-newcomer-item__amount span { color: rgba(4, 11, 74, .6); font-size: .14rem; }
.tjg-newcomer-item__claim { display: inline-flex; align-items: center; justify-content: center; gap: .08rem; width: 2.2rem; min-height: .44rem; padding: .06rem .18rem; box-sizing: border-box; border: .02rem solid #1fa6e5; border-radius: .64rem; background: #ebf2fe; color: #253ff0; cursor: pointer; font-size: .18rem; font-weight: 700; line-height: 1.2; }
.tjg-newcomer-item__claim span { font-size: .2rem; line-height: 1; }
.tjg-newcomer-item__claim.is-received,
.tjg-newcomer-item__claim.is-same-type,
.tjg-newcomer-item__claim:disabled { border-color: #dce4e8; background: #ebf2fe; color: #aeb8c5; cursor: not-allowed; }
.tjg-newcomer-item__claim.is-same-type { color: #aeb8c5; }
.tjg-newcomer-item__claim.is-busy { cursor: progress; }
.tjg-newcomer-items[hidden] { display: none; }
.tjg-section--recommender { margin-bottom: 0; }
.tjg-recommender-title,
.tjg-recommender-content { position: relative; }
.tjg-reward-summary { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .24rem; margin: .46rem 0 .24rem; padding: .24rem .24rem .2rem; box-sizing: border-box; border: .01rem solid #88caff; border-radius: .16rem; background: linear-gradient(90deg, rgba(31, 166, 229, .04), rgba(174, 28, 255, .04)); color: #040b4a; line-height: 1.4; }
.tjg-reward-summary__intro { display: flex; flex: 1 1 8rem; align-items: center; gap: .16rem; min-width: 0; }
.tjg-reward-summary__icon { display: block; flex: none; width: .76rem; height: .76rem; object-fit: contain; }
.tjg-reward-summary__intro strong { display: block; font-size: .24rem; line-height: 1.4; }
.tjg-reward-summary__intro p { margin: .06rem 0 0; color: #595959; font-size: .16rem; line-height: 1.4; }
.tjg-reward-summary__link { display: inline-flex; align-items: center; gap: .06rem; padding: .08rem 0; border: 0; background: transparent; color: #265dee; cursor: pointer; font: inherit; font-size: .16rem; white-space: nowrap; }
.tjg-reward-summary__link span { font-size: .22rem; }
.tjg-reward-summary__progress { flex: 0 0 100%; padding: .24rem; border-radius: .16rem; background: rgba(255, 255, 255, .27); line-height: 1.4; }
.tjg-reward-summary__progress[hidden] { display: none; }
.tjg-reward-summary__progress-head { display: flex; align-items: center; justify-content: space-between; color: #040b4a; font-size: .16rem; }
.tjg-reward-summary__progress-current { display: flex; align-items: center; gap: .06rem; }
.tjg-reward-summary__progress-head strong { font-size: .2rem; }
.tjg-reward-summary__progress-head em { color: #040b4a; font-size: .16rem; font-style: normal; }
.tjg-reward-summary__progress-head b { font-size: .24rem; }
.tjg-reward-summary__track { height: .08rem; margin-top: .12rem; overflow: hidden; border-radius: .2rem; background: #fff; }
.tjg-reward-summary__track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f59317, #fcce9a); }
.tjg-recommender-hit { position: absolute; z-index: 2; display: block; padding: 0; border: 0; background: transparent; cursor: pointer; }
.tjg-recommender-hit--reward { top: 4%; right: 4%; width: 20%; height: 12%; }
.tjg-recommender-hit--exchange { right: 2%; bottom: 7%; width: 20%; height: 17%; }
.tjg-cta-overlay { position: sticky; bottom: .2rem; z-index: 5; display: flex; align-items: flex-start; justify-content: center; min-height: 0; height: auto; margin-top: .4rem; padding: 0; box-sizing: border-box; background: transparent; }
.tjg-cta-overlay button { display: block; flex: none; width: 3.98rem; padding: 0; border: 0; background: transparent; cursor: pointer; line-height: 0; transition: transform .2s ease, filter .2s ease; }
.tjg-cta-overlay button:hover { filter: brightness(1.04); transform: translateY(-.04rem); }
.tjg-cta-overlay button[hidden] { display: none; }
.tjg-cta-overlay[hidden] { display: none; }
.tjg-cta-overlay img { display: block; width: 100%; height: auto; max-width: none; }
.tjg-modal[hidden] { display: none; }
.tjg-modal { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; }
.tjg-modal__mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.tjg-modal__panel { position: relative; z-index: 1; width: 8.4rem; padding: .48rem; border-top: .04rem solid #353dff; border-radius: .16rem; background: linear-gradient(180deg, rgba(227, 229, 255, .96), rgba(255, 255, 255, .96)); box-shadow: 0 .24rem .4rem rgba(0, 0, 0, .24); }
.tjg-modal__close { position: absolute; top: .16rem; right: .2rem; border: 0; background: transparent; color: #262626; cursor: pointer; font-size: .32rem; }
.tjg-modal h2 { margin: 0 0 .28rem; color: #262626; text-align: center; font-size: .24rem; line-height: 1.4; }
.tjg-modal p { margin: 0 0 .2rem; color: #262626; font-size: .16rem; line-height: 1.6; }
.tjg-modal textarea { display: block; width: 100%; min-height: 1.2rem; padding: .16rem; resize: vertical; border: 0; border-radius: .12rem; background: rgba(255, 255, 255, .72); color: #265dee; font: inherit; font-size: .14rem; line-height: 1.6; box-sizing: border-box; }
.tjg-modal__hint { margin-top: .16rem !important; color: #595959 !important; }
.tjg-primary-btn { min-width: 2.4rem; padding: .16rem .32rem; border: 0; border-radius: .36rem; background: linear-gradient(90deg, #1fa6e5, #7717ff); color: #fff; cursor: pointer; font: inherit; font-size: .2rem; font-weight: 700; box-shadow: 0 .08rem .18rem rgba(31, 166, 229, .22); }

@media screen and (max-width: 750px) {
  html { font-size: calc(100vw / 750 * 100) !important; }
  .tjg-hero { height: 6.6rem; }
  .tjg-hero img { height: 9.6rem; }
  .tjg-hero-time { top: .28rem; left: .48rem; padding: .06rem .28rem; border-radius: .32rem; font-size: .28rem; line-height: .4rem; }
  .tjg-hero-time__dot { width: .08rem; height: .08rem; margin-right: .2rem; box-shadow: 0 0 0 .08rem rgba(28, 123, 239, .12); }
  .tjg-main { overflow: visible; padding: 0 0 .64rem; }
  .tjg-float-actions { display: none; }
  .tjg-main__content { width: calc(100vw - .64rem); }
  .tjg-newcomer-art { transform: none; }
  .tjg-newcomer-items { top: 3.42rem; right: .34rem; bottom: .12rem; left: .34rem; gap: .04rem; }
  .tjg-newcomer-item { gap: .04rem; padding: .04rem .02rem .08rem; }
  .tjg-newcomer-item__content-row { display: flex; flex-direction: column; gap: 0; }
  .tjg-newcomer-item__icon { width: 1.26rem; height: 1.2rem; margin: 0 0 .04rem; }
  .tjg-newcomer-item__content strong { font-size: .32rem; line-height: 1.25; text-align: left; }
  .tjg-newcomer-item__amount { flex-direction: column; align-items: center; gap: 0; margin-top: .03rem; }
  .tjg-newcomer-item__amount b { font-size: .48rem; line-height: 1; }
  .tjg-newcomer-item__amount span { font-size: .24rem; }
  .tjg-newcomer-item__claim { width: 2rem; min-height: .64rem; padding: .08rem .08rem; font-size: .24rem; }
  .tjg-newcomer-item__claim { margin-top: auto; }
  .tjg-newcomer-item__claim span { font-size: .28rem; }
  .tjg-section { margin-bottom: 1rem; }
  .tjg-section--recommender { margin-bottom: 0; }
  #tjg-upgrade .tjg-static-art img { width: 100%; max-width: none; }
  #tjg-participation .tjg-static-art img { width: calc(100% + .36rem); max-width: none; margin-left: -.18rem; }
  .tjg-recommender-hit--exchange { display: none; }
  .tjg-reward-summary { align-items: flex-start; gap: .16rem; margin: .48rem 0 .48rem; padding: .34rem .34rem .24rem; }
  .tjg-reward-summary__intro { flex-basis: 100%; gap: .12rem; }
  .tjg-reward-summary__icon { width: .76rem; height: .76rem; }
  .tjg-reward-summary__intro strong { font-size: .18rem; }
  .tjg-reward-summary__intro p { font-size: .14rem; }
  .tjg-reward-summary__link { position: absolute; top: .18rem; right: .2rem; font-size: .14rem; }
  .tjg-reward-summary__progress { padding: .16rem; }
  .tjg-reward-summary__progress-head { display: block; font-size: .14rem; }
  .tjg-reward-summary__progress-current { display: flex; align-items: center; gap: .06rem; }
  .tjg-reward-summary__progress-head strong { font-size: .18rem; }
  .tjg-reward-summary__progress-head em { display: block; margin-top: .06rem; font-size: .14rem; }
  .tjg-reward-summary__progress-head b { font-size: .18rem; }
  .tjg-cta-overlay { flex-direction: column; align-items: center; gap: .84rem; min-height: 0; height: auto; margin-top: .8rem; padding: 0; }
  .tjg-cta-overlay button { width: 7rem; }
  .tjg-modal__panel { width: calc(100% - .48rem); padding: .32rem .24rem; }
  .tjg-modal h2 { font-size: .2rem; }
  .tjg-modal p { font-size: .14rem; }
  .tjg-primary-btn { min-width: 2.2rem; padding: .14rem .2rem; font-size: .18rem; }
}
