@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap');


*{-webkit-text-size-adjust:none;}
html,body{width:100%;margin:0;padding:0;}
body{margin:0;padding:0;font-family:'Noto Sans TC',sans-serif;font-size:16px;line-height:1.5;background:#1b063a;position:initial;}
h1,h2,h3,h4,p,ul,ol,li{margin:0;padding:0;list-style:none;}
img{border:none;}
a{text-decoration:none;cursor:pointer;outline:none;}
a:hover{text-decoration:none;}
button{outline:0;border:0;}

#content * {font-family:'Noto Sans TC', sans-serif;}
#content {position: relative;}
#content #headArea {position:relative; margin: 0 auto; width:100%; height: 1050px; background: url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/bg_header.webp) center no-repeat;}
#content #headArea .inner {text-indent: 101%; overflow: hidden; white-space: nowrap; height: 100%;}
#content #headArea .fixObj {white-space: normal; text-indent: 0;}
#content #headArea .fixObj .bnsLogo {margin-left: -560px;top: 50px;}
#content #headArea .fixObj .bnsLogo a {margin-top: 0; /*filter: drop-shadow(0px 0px 20px #e67daf);*/}
#content #topBtn {display: none; width: 45px; height: 45px; color:#fff; font-size:10px; text-align:center; text-decoration:none; line-height:20px; padding-top:20px; border-radius:10px; box-sizing:border-box; position:fixed; bottom:20px; right:20px; z-index: 100; background-color: rgba(0,0,0,0.6); }
#content #topBtn:before {content:'\25B2'; width:100%; text-align:center; font-size:12px; position:absolute; top:5px; left:0;}
#content #topBtn:hover {background-color:rgba(0,0,0,0.5);}
#content #att .list li {list-style: decimal; margin-left: 1em;}
#content .sct i {font-style: normal;}
#headArea .inner > a,.sct a[class*="btn"]{-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;}
#headArea .inner > a:hover,.sct a:hover{-webkit-filter:contrast(150%);filter:contrast(150%);}
#content #headArea2 {position:relative; margin: 0 auto; width:100%; height:auto; background:none center no-repeat;}
.banner{
  display: none;
  width: 280px;
  height: 180px;
  position: fixed;
  bottom: 10rem;
  right: 2rem;
  background: none no-repeat 50% 0;
  background-size: cover;
  -webkit-animation:fadeDiscolour 4s ease-in-out infinite,vertical 1.6s ease-in-out infinite alternate;
  animation:fadeDiscolour 4s ease-in-out infinite,vertical 1.6s ease-in-out infinite alternate;
  z-index: 100;
}
#content a.banner:hover {
  -webkit-filter: contrast(130%) brightness(130%);filter: contrast(130%) brightness(130%);
}
@media screen and (max-width: 1500px) {
  .banner{right: 0;}
}

/*#bodyArea {height: 3240px;}
.mob #bodyArea {height: 2700px;}*/

/* item list */
.sct [class*="btn"]{position:absolute;display:block;width:77px;height:28px;}
.sct [class*="item-list"]{position:absolute;overflow:hidden;text-indent:-9999px;width:959px;left:50%;margin-left:-478px}
.sct [class*="item-list"] li{position:relative;width:200px;height:50px;margin:20px 88px 266px 0px;float:left;}
.sct [class*="item-list"] li:nth-child(3n){margin-right:0}
.sct [class*="item-list"] li a{position:absolute;text-indent:-9999px;z-index:10;width:20px;height:20px;background:none;}
.sct [class*="item-list"] li a.btn_info{width:46px;height:46px;top:0px;right:2px;background:none no-repeat 50% 50%;background-size:cover;z-index:15;}
.sct [class*="item-list"] li a.btn_more{width:104px;height:40px;background:none no-repeat 50% 50%;top:0px;left:0;right:0;margin:0 auto;/*border:1px solid #aaaaaa;*/border-radius:10px;padding:0;background-size:cover;box-sizing:border-box;}
.sct [class*="item-list"] li a.btn_more:before{display:block;content:'詳細說明';color:#d04131;font-size:16px;font-weight:700;text-align:center;text-indent:0;line-height:1.4;position:absolute;top:50%;left:50%;width:100%;transform:translate(-50%,-50%);padding-bottom:2px;/*text-shadow:1px 0 rgba(133,41,9,.75);*/}
.mob .sct [class*="item-list"]{width:300px;margin-left:-148px;}
.mob .sct [class*="item-list"] li{width:91px;height:40px;margin:105px 6px 5px 3px;}
/*.mob .sct [class*="item-list"] li:nth-child(3n){margin-right:0px;}*/
.mob .sct [class*="item-list"] li a.btn_info{width:20px;height:20px;top:0;right:2px;background-image:none;background-size:cover;}
.mob .sct [class*="item-list"] li a.btn_more{width:52px;height:20px;padding:0;}
.mob .sct [class*="item-list"] li a.btn_more:before{font-size:0.6rem;letter-spacing:-0.5px;padding-bottom:1px;}
/** preview/tooltip/modal/youtube **/

.sct [class*="btn-info"]{width:46px;height:46px;left:50%;margin-left:-23px;background:none no-repeat 50% 50%;background-size:cover;}
.sct [class*="btn-more"]{width:104px;height:40px;left:50%;margin-left:-46px;background:none 50% 50%;background-size:cover;border-radius:10px;/*border:1px solid #aaaaaa;*/padding:0;box-sizing:border-box;}
.sct [class*="btn-more"]:before{display:block;content:'詳細說明';color:#d04131;font-size:17px;font-weight:700;text-align:center;text-indent:0;line-height:1.4;position:absolute;top:50%;left:50%;width:100%;transform:translate(-50%,-50%);padding-bottom:6px;/*text-shadow:1px 0 rgba(133,41,9,.75);*/}
.mob .sct [class*="btn-info"]{width:20px;height:20px;margin-left:-10px;background-image:none;background-size:cover;}
.mob .sct [class*="btn-more"]{width:52px;height:20px;margin-left:-26px;padding:0;}
.mob .sct [class*="btn-more"]:before{font-size:0.6rem;line-height:1.2;letter-spacing:-0.5px;padding-bottom:0px;}
.popup_content{width:300px;padding:1rem 0.5rem;background:#282a37;box-shadow:3px 3px 3px rgba(0,0,0,0.3);}
.popup_content h3{margin:0 20px;padding:16px 0 9px;font-size:16px;color:#e6c31f; border-bottom:1px solid #3e414f;font-weight:700;}
.popup_content p{margin:0;padding:10px 20px 20px;font-size:14px;color:#dddddd;text-align:justify;}
.popup_content p i{font-style:normal;}
.popup_content img{width:100%;}
body #modal-header,body #modal-text{background:#282a37;}
body #modal-text{text-align:justify;}
#btc .tooltip i,#modal-text i{font-style:normal;}
#btc .tooltip i.small,#modal-text i.small,.popup_content p i.small{color:#aaaaaa;font-size:13px;}


.mob #content {
  margin-top: 71px;
}
.mob #content #headArea {
  background: url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/m/bg_header.webp) no-repeat 50% 0;
  background-size: cover;
  height: calc(1020px / 2);
}
.mob #content #headArea .inner {
  width: 100%;
  max-width: 375px;
}
.mob #content #headArea .fixObj .bnsLogo {
  top: 0px;
  margin-left: -210px;
}
.mob #content #headArea .fixObj .bnsLogo a {
  width: 110px;
  height: 50px;
  margin-top: 10px;
  background-size: contain;
}
.mob #content #headArea .snsList {
  width: 127px;
  top: 10px;
  right: 10px;
}
.mob #content #headArea .snsList li {
  font-size: 0.8rem;
}
.mob #content #headArea .snsList li:not(.fbShare) {
  float: right;
}
.mob #content #headArea .snsList li a {
  padding: 0;
  min-width: 90px;
}
.mob #content #headArea .snsList li a.facebook {
  min-width: auto;
  /*margin-left: 63px;*/
  margin-left: 0px;
}
.mob #content #headArea2 {
  background: none no-repeat 50% 0;
  background-size: cover;
  height: auto;
}
@media screen and (max-width: 320px) {
  .mob #content #headArea .inner {
    width: 100%;
    max-width: auto;
  }
}

#content #sct1 {
  background: url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/bg_section1.webp) center no-repeat;
  height: 1200px;
}
#content #sct1 .inner{padding-top:25px;}
#content #sct1 table{width:850px;margin:0 auto;margin-top:1rem;text-indent:0;white-space:initial;}
#content #sct1 table thead tr td{color:#e9d8ff;font-size:18px;height:32px;font-weight:500;}
/*#content #sct1 table tr{display:block;}*/
#content #sct1 table td{height:44px;text-align:center;font-size:15px;color:#fbf7ff;}
#content #sct1 table td:nth-child(1){width:340px}
#content #sct1 table td:nth-child(2){width:auto}
#content #sct1 table td:nth-child(3){width:210px}
#content #sct1 table td:nth-child(4){width:170px}
#content #sct1 .sct__txt{padding-top:2.4rem;text-indent:0;}
#content #sct1 .sct__tips{top:1055px;position:absolute;left:0;right:0;text-indent:0;white-space:normal;}
#content #sct2 {
  background: url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/bg_section2.webp) center no-repeat;
  height: 550px;
}
#content #sct2 .inner{padding-top:4.5rem;}
#content #sct2 table{width:750px;margin:0 auto;margin-top:1rem;text-indent:0;white-space:initial;}
#content #sct2 table thead tr td{color:#e9d8ff;font-size:18px;height:32px;font-weight:500;}
#content #sct2 table td{height:44.5px;text-align:center;font-size:15px;color:#fbf7ff;}
#content #sct2 table td:nth-child(1){width:190px}
#content #sct2 table td:nth-child(2){width:auto}
#content #sct2 table td:nth-child(3){width:210px}
#content #sct2 .sct__txt{padding-top:0;text-indent:0;width:850px;text-align:left;}
.use-mobile, .mob .use-pc{display:none;}
.use-pc, .mob .use-mobile{display:block;}


.mob #content #sct1 {
  background: url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/m/bg_section1.webp) center no-repeat, url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/m/bg_section1-bk.webp) center no-repeat;
  height: calc(1280px / 2);
  background-size: 375px 100%, 1280px 100%;
  background-repeat: no-repeat, repeat-x;
}
.mob #content #sct1 .inner{padding-top:2.5rem;}
.mob #content #sct1 table{width:286px;margin-top:5px;}
.mob #content #sct1 table thead tr td{font-size:0.6rem;line-height:1;height:19px;}
.mob #content #sct1 table thead tr td:nth-child(2),.mob #content #sct1 table thead tr td:nth-child(4){font-size:0.5rem;}
.mob #content #sct1 table td{height:22px;font-size:0.55rem;line-height:1;letter-spacing:-0.5px;}
.mob #content #sct1 table td:nth-child(1){width:118px}
.mob #content #sct1 table td:nth-child(3){width:76px}
.mob #content #sct1 table td:nth-child(4){width:57px}
.mob #content #sct1 .sct__txt{letter-spacing:-0.5px;line-height:1.4;padding-top:0;margin-bottom:5px}
.mob #content #sct1 .sct__tips{top:575px;}
.mob #content #sct2 {
  background: url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/m/bg_section2.webp) center no-repeat, url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/m/bg_section2-bk.webp) center no-repeat;
  height: calc(700px / 2);
  background-size: 375px 100%, 1280px 100%;
  background-repeat: no-repeat, repeat-x;
}
.mob #content #sct2 .inner{padding-top:3rem;}
.mob #content #sct2 table{width:286px;margin-top:13px;}
.mob #content #sct2 table thead tr td{font-size:0.6rem;line-height:1;height:15px;}
.mob #content #sct2 table td{height:22px;font-size:0.6rem;}
.mob #content #sct2 table td:nth-child(1){width:55px}
.mob #content #sct2 table td:nth-child(3){width:85px}
.mob #content #sct2 .sct__txt{letter-spacing:-0.5px;line-height:1.4;padding-top:0;width:80%;text-align:center;}

#content .sct h2 {
  text-indent: 101%;
  overflow: hidden;
  white-space: nowrap;
}
#content .sct .inner {
  /*padding: 0 50px;*/
  text-indent: 101%; overflow: hidden; white-space: nowrap; height: 100%; font-size: 0;
}
#content .sct [class*=frm--] {
  padding: 40px 50px;
  position: relative;
}
#content .sct [class*=sct__ttl--] {
  height: 80px;
  margin-bottom: 40px;
  text-align: center;
}
#content .sct .sct__ttl--1 {
  text-indent: 101%;
  overflow: hidden;
  white-space: nowrap;
}
#content .sct .sct__subTtl {
  color: #d0b069;
  font-size: 48px;
  font-weight: 900;
  text-align: center;
  margin: 5px 0;
}
#content .sct .sct__subTtl--1 {
  color: #d8eaff;
  font-size: 26px;
  margin: 35px 0;
}
#content .sct .sct__txt {
  margin: 10px auto;
  padding: 0 10px;
  font-size: 18px;
  color: #f7c8ff;
  text-align: center;
}
#content .sct .sct__tips {
  margin: 25px auto;
  padding: 0 10px;
  font-size: 15px;
  color: #ffd700;
  text-align: center;
}

.mob #content .sct .inner {
  width: 100%;
  padding: 0 1rem;
  max-width: 370px;
}
.mob #content .sct .sct__txt {
  padding: 0 20px;
  font-size: 0.6rem;
}
.mob #content .sct .sct__tips {
  padding: 0 10px;
  font-size: 0.55rem;
  margin: auto;
}
@media screen and (max-width: 320px) {
  .mob #content .sct .inner {
    max-width: auto;
    padding: 0 0.5rem;
  }
}


#content #att {
  background: #1b063a url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/bg_caution.webp) 50% 0 repeat-x;
  height: 400px;
  /*position: absolute;
  left: 0;
  right: 0;
  bottom: 0;*/
  margin: 0 auto;
}
#content #att .inner {
  width: 1000px;
  padding: 40px 0 100px 0;
}
#content #att dt {
  height: auto;
  font-size: 26px;
  font-weight: 700;
  color: #9899a0;
  /*background: none 0 0 no-repeat;*/
  text-shadow: none;
  text-indent:0;
  padding-bottom: 1rem;
}
#content #att dd ul {
  position: relative;
  margin-left: 0.5rem;
}
#content #att dd li {
  color: #b5b5b7;
  font-size: 15px;
  list-style: decimal;
  margin-left: 1.2em;
  margin-bottom: 0.5em;
  font-weight: 500;
  letter-spacing: -0.5px;
  /*list-style:none;*/
  text-align: justify;
  text-indent:0;white-space:initial;
}
#content #att dd li span {color:#ff00f5}
/*#content #att dd li:before{position:absolute;left:0;color:#ddb386;}
#content #att dd li:nth-child(1):before{content:'\2776';}
#content #att dd li:nth-child(2):before{content:'\2777';}
#content #att dd li:nth-child(3):before{content:'\2778';}
#content #att dd li:nth-child(4):before{content:'\2779';}
#content #att dd li:nth-child(5):before{content:'\277A';}
#content #att dd li:nth-child(6):before{content:'\277B';}*/
#content #att .sct__chara {
  background: none center no-repeat;
  width: 330px;
  height: 400px;
  position: absolute;
  bottom: -50px;
  left: 50%;
  margin-left: -600px;
  z-index: 100;
  pointer-events: none;
}

.mob #content #bodyArea #att {
  height: 400px;
  background-image: url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/m/bg_caution.webp);
  background-size: 1280px 100%;
}
.mob #content #bodyArea #att .inner {
  width: 80%;
  margin: 0 auto;
  padding: 1rem 0.5rem 4rem;
}
@media screen and (max-width: 767px) {
  .mob #content #bodyArea #att .inner {
    width: 100%;
    max-width: 320px;
  }
}
.mob #content #att dt {
  background-size: auto 20px;
  font-size: 1.2rem;
  height: auto;
  padding-bottom: 0.5rem;
}
.mob #content #bodyArea #att li {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}
.mob #content #att .sct__chara {
  display: none;
}

.br-m, .mob .br-pc{display:none;}
.br-pc, .mob .br-m{display:block;}

#content a:hover {
  filter: contrast(120%) brightness(110%);
}


/* reward */
#sct1 .area-reward{position:relative;}
#sct1 .area-reward a{display:flex;width:110px;height:30px;position:absolute;top:50%;color:#fff3de;font-size:15px;line-height:initial;text-align:center;text-indent:0;font-weight:500;user-select:none;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none;padding-bottom:3px;box-sizing:border-box;letter-spacing:0px;align-items:center;justify-content:center;text-shadow:2px 2px 10px rgba(0,0,0,.36);/*background:#120a02;border:2px solid #7a6958;border-radius:50px;*/margin:0 auto;left:0;right:0;margin-top:-15px;margin-top:-13px;text-shadow:2px 0 5px rgba(0,0,0,0.4);}
#sct1 .area-reward a[class*="btn-link"]{background:url(//image.tw.ncsoft.com/bns/pc/event/2508/missioncodesummer/btn_reward.webp) no-repeat 0 0;background-size:cover;}
#sct1 .area-reward a.btn-link-login{background-position-y:0;}
#sct1 .area-reward a.btn-link-reward{background-position-y:-30px;}
#sct1 .area-reward a.btn-link-receive{background-position-y:-60px;}
#sct1 .area-reward a.btn-link-uncompleted,#sct1 .area-reward a.btn-link-end{background-position-y:-90px;}
#sct1 .area-reward a.btn-link-end{color:#a4a4a4;}
#sct1 a.lock{cursor: not-allowed;-webkit-filter:grayscale(1);filter:grayscale(1);}
.btn-link-receive, .btn-link-uncompleted{cursor:not-allowed;}

.mob #sct1 .area-reward a{width:55px;height:15px;font-size:0.55rem;background-size:55px 75px;margin-top:-8px;padding-bottom:0;}
.mob #sct1 .area-reward a.btn-link-reward{background-position-y:-15px;}
.mob #sct1 .area-reward a.btn-link-receive{background-position-y:-30px;}
.mob #sct1 .area-reward a.btn-link-uncompleted,.mob #sct1 .area-reward a.btn-link-end{background-position-y:-45px;}

#content .sct a[class*=btn-link-]{-webkit-transition:background .3s ease;transition:background .3s ease;}


/* ColcoBox */
#colorbox,#cboxOverlay,#cboxWrapper{max-width:100%;top:0;left:0;position:absolute;z-index:10002;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}
#colorbox,#cboxContent,#cboxLoadedContent{-webkit-box-sizing:content-box;box-sizing:content-box;}
#cboxOverlay{position:fixed;width:100%;height:100%;background:rgba(0,0,0,0.8);}
#colorbox{outline:0;}
#colorbox #cboxWrapper{max-width:none;-webkit-transition:opacity .5s ease;-moz-transition:opacity .5s ease;-ms-transition:opacity .5s ease;-o-transition:opacity .5s ease;transition:opacity .5s ease;}
#colorbox #cboxWrapper #cboxMiddleLeft,#colorbox #cboxWrapper #cboxBottomLeft{clear:left;}
#colorbox #cboxWrapper #cboxContent{position:relative;overflow:visible;}
#colorbox #cboxWrapper #cboxContent #cboxLoadedContent{overflow:hidden;-webkit-overflow-scrolling:touch;}
#colorbox #cboxWrapper #cboxContent #cboxTitle{width:100%;margin:0 auto;text-align:center;color:#ffffff;font-size:1.2rem}
#colorbox #cboxWrapper #cboxContent #cboxCurrent{top:-22px;right:205px;position:absolute;text-indent:-9999px;}
#colorbox #cboxWrapper #cboxContent #cboxLoadingOverlay,#colorbox #cboxWrapper #cboxContent #cboxLoadingGraphic{top:0;left:0;position:absolute;width:100%;height:100%;}
#colorbox #cboxWrapper #cboxContent #cboxPrevious,#colorbox #cboxWrapper #cboxContent #cboxNext,#colorbox #cboxWrapper #cboxContent #cboxClose,#colorbox #cboxWrapper #cboxContent #cboxSlideshow{width:20px;height:20px;cursor:pointer;border:0;padding:0;margin:0;overflow:visible;text-indent:-9999px;position:absolute;top:-20px;background:none;}
#colorbox #cboxWrapper #cboxContent #cboxPrevious:active,#colorbox #cboxWrapper #cboxContent #cboxNext:active,#colorbox #cboxWrapper #cboxContent #cboxClose:active,#colorbox #cboxWrapper #cboxContent #cboxSlideshow:active{outline:0;}
#colorbox #cboxWrapper #cboxContent .cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:100%;-ms-interpolation-mode:bicubic;}
#colorbox #cboxWrapper #cboxContent .cboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0;background:#000000;}
#colorbox #cboxWrapper #cboxContent #cboxError{padding:50px;border:1px solid #cccccc;}
#colorbox #cboxWrapper #cboxContent #cboxClose{top:-36px;right:-36px;width:36px;height:36px;cursor:pointer;display:block;}
#colorbox #cboxWrapper #cboxContent #cboxClose::before, #colorbox #cboxWrapper #cboxContent #cboxClose::after{content:"";width:36px;height:1px;position:absolute;left:50%;top:50%;background:#fff;-ms-transform:rotate(45deg);transform:rotate(45deg);margin-left:-18px;}
#colorbox #cboxWrapper #cboxContent #cboxClose::after{-ms-transform: rotate(-45deg);transform: rotate(-45deg);}
.mob #colorbox #cboxWrapper #cboxContent #cboxClose{top:-24px;right:-24px;width:24px;height:24px;}
.mob #colorbox #cboxWrapper #cboxContent #cboxClose::before, .mob #colorbox #cboxWrapper #cboxContent #cboxClose::after{background:#ffffff;width:24px;margin-left:-12px;}


/* animation */
@-webkit-keyframes vertical{
  0%{-webkit-transform: translateY(0);transform: translateY(0);}
  100%{-webkit-transform: translateY(-5px);transform: translateY(-5px);}
}
@keyframes vertical{
  0%{-webkit-transform: translateY(0);transform: translateY(0);}
  100%{-webkit-transform: translateY(-5px);transform: translateY(-5px);}
}

@-webkit-keyframes scale {
  0% {-webkit-transform:scale(.9);transform:scale(.9);}
  100% {-webkit-transform:translateY(1);transform:translateY(1);}
}
@keyframes scale {
  0% {-webkit-transform:scale(.9);transform:scale(.9);}
  100% {-webkit-transform:translateY(1);transform:translateY(1);}
}

@-webkit-keyframes fade {
  50% {opacity:1;}
}
@keyframes fade {
  50% {opacity:1;}
}

@-webkit-keyframes fadeDiscolour {
  25%,75% {-webkit-filter:brightness(1.5);filter:brightness(1.5);}
}
@keyframes fadeDiscolour {
  25%,75% {-webkit-filter:brightness(1.5);filter:brightness(1.5);}
}
