@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, input, textarea, p, th, td, section, article, footer {
  padding: 0;
  margin: 0;
}
body {
  font-family: 'Noto Sans TC', sans-serif,Roboto;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: .08rem;	
  background: #191919;
}
/* Reset */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* Clearfix hack */
.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
section, article, footer {
  display: block;
}
img {
  border: 0;
  display: block;
  margin: 0 auto;
}
ul, ol, li {
  list-style-type: none;
  list-style-image: none;
}
:link, :visited, :hover, :active, :focus {
  -webkit-transition: color .4s linear, background-color .4s linear, border-color .4s linear, padding .4s linear, opacity .4s linear, all .4s, -webkit-filter .4s linear;
  -o-transition: color .4s linear, background-color .4s linear, border-color .4s linear, padding .4s linear, filter .4s linear, opacity .4s linear, all .4s;
  transition: color .4s linear, background-color .4s linear, border-color .4s linear, padding .4s linear, filter .4s linear, opacity .4s linear, all .4s, -webkit-filter .4s linear, all 0.5s ease-out;
}
a {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
  outline: none;
  transition: all 0.5s ease-out;
}
a:hover, a:active {
  transition: all 0.5s ease-out;
}

.wrap {
  display: block;
  position: relative;
  width: 100%;
}

/*賽別*----------*/
.comp{display: block; width: 100%; padding: 1rem 0; text-align: center;font-size: 4.5rem;font-weight: 700;color: #fff;font-family:Roboto, 'Noto Sans TC', sans-serif;letter-spacing: 3px;margin-top: 7vh;}

.main-cnt{display: block; position: relative;width: 100%; overflow: hidden;font-family:Roboto, 'Noto Sans TC', sans-serif;text-align: center;}

/*選手*----------*/
.player{display: block; float: left;width: 44.9999%;overflow: hidden;}
.name{ display: block; overflow: hidden;width: 100%; }
.name span{font-size: 2.5rem;font-weight: 300;color: #fff; line-height: 2; padding:.3rem 2rem; border: 2px solid #fff; border-radius: 2.5rem;}
.timing{display: block;overflow: hidden;font-size: 17rem;font-weight: 500;color: #fff;letter-spacing: 2px; }
.goal{display: block;overflow: hidden;font-size: 11rem;font-weight: 500;color: #ff5c5c;}
.blu{/*color:#06a0fd;*/color:#6ef2f9;}

/*局*----------*/
.inn{display: block; float: left;width: 10%; background:#393939;  border-radius:8rem; height: 360px; margin-top: 100px;}
.inn p{font-size: 4rem;color: #fff;font-weight: 400; line-height:1; position: relative;top: 50%; transform: translate(0, -50%);}
.inn p b{display: block;font-weight: 500;font-size: 6rem; padding-top: 1rem;}

/*球數狀態*----------*/
.balls{display: block; width:75%; margin: 3rem auto;overflow: hidden;}
.balls ul{}
.balls li{display:inline-block; width: calc(7.65% - .25rem);overflow: hidden;}
.balls li > div.wh,.balls li > div.rd,.balls li > div.bl,.balls li > div.ing,.balls li > div.non{display: block; width: 50px; height: 50px; margin: 0 auto; border-radius: 2rem;}
.balls li > div.wh{ background: #fff;}
.balls li > div.rd{ background: #ff5c5c;}
.balls li > div.bl{ background: #6ef2f9;}
.balls li > div.ing{ background: #ff5c5c; border: 4px solid #fff;}
.balls li > div.non{ background: #393939;}

/*設定區*----------*/
.set_area{display: block; position: fixed; bottom: .5rem; width: 100%; padding: 1rem; font-family:Roboto, 'Noto Sans TC', sans-serif;font-size: 2rem;font-weight: 400;color: #fff;letter-spacing: 2px; border-top:3px solid rgba(255,255,255,.3);}
.set_L,.set_R{display: block; float: left; width: 49.999%;}
.set_L p{display: block; float: left;  margin: .25rem 1.25rem;}
.set_R p{display: block; float:right;  margin: .25rem 1.25rem;}


/*RWD  ========================================================================================*/

@media screen and (max-width:1600px) {
.comp { font-size: 4rem; margin-top: 5vh;}
.timing{font-size: 16rem; }	
.goal {font-size: 10rem;}
.balls {
  display: block;
  width: 80%;
  margin: 1rem auto;
  overflow: hidden;
  padding: 0;
}
.balls li {
  display: inline-block;
  width: calc(7.65% - .02rem);
  overflow: hidden;
}
.balls li > div.wh,.balls li > div.rd,.balls li > div.bl,.balls li > div.ing,.balls li > div.non{ width: 40px; height: 40px;}
}

@media screen and (max-width:1440px) {
.comp {
  font-size: 4.5vw;
  margin-top: 3vh;
  padding: .5rem 0;
}
.name span {font-size: 2.25rem;}
.timing { font-size: 14vw;}	
.set_area {
  bottom: 0;
  font-size: 2.2vw;
  padding: .5rem;
}
.inn {height: 280px;}
.inn p { font-size:3vw;}
}

@media screen and (max-width:1366px) {
}

@media screen and (max-width:1280px) {
.goal {
  font-size: 12vw;
}
.balls {margin: 1rem auto;}
}
@media screen and (max-width:1190px) {
.comp {
    font-size: 5vw;
    margin-top: 10vh;
    padding: 1rem 0;
  }
.balls {margin: 3rem auto 1rem;}
}
@media screen and (max-width:1024px) {

.inn {height: 240px;}

}

@media screen and (max-width:930px) {
.comp {
  margin-top: 2vh;
  padding: 1rem 0 0 0;
}
.name span {
  font-size: 1.4rem;
}	
 .timing {
    font-size: 12.5vw;
  }
.inn {
  width: 10%;
  height: 150px;
  margin-top: 50px;
}

.inn p b {
  display: block;
  font-weight: 500;
  font-size: 7.5vw;
  padding-top: .5rem;
}
 .goal {
    font-size: 11vw;
  }
/*.set_area {
  bottom: .25rem;
  font-size: 1.3rem;
  padding: .5rem;
}*/

.balls {
  margin: 0 auto;
}
	}

@media screen and (max-width:820px) {

.balls {
  margin: 0 auto;
}
.balls li > div.wh,.balls li > div.rd,.balls li > div.bl,.balls li > div.ing,.balls li > div.non{ width: 30px; height: 30px;}
}

@media screen and (max-width:815px) {
 .comp {
    margin-top: 1.5vh;
    padding: .5rem 0 0 0;
  }

}

@media screen and (max-width:480px) {

}
@media screen and (max-width:390px) {
 
}
