* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold; }

body {
  background-color: #FF6D70;
  font-size: 48px; }

.container {
  width: 540px;
  margin: 0 auto;
  padding-top: 120px; }

.table {
  width: 540px;
  height: 540px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between; }
  .table .box {
    width: 174.66667px;
    height: 174.66667px;
    display: flex;
    justify-content: center;
    align-items: center; }

.btn {
  width: 100%;
  height: 90px;
  font-size: 48px;
  background-color: #ED494C;
  color: #fff;
  border: none;
  border-radius: 8px;
  margin-top: 20px; }

.home {
  background-color: #000;
  min-height: 100vh; }
  .home .container .table {
    color: #fff;
    font-size: 100px; }
    .home .container .table .box {
      position: relative; }
      .home .container .table .box:nth-child(4n+1) {
        font-style: italic; }
      .home .container .table .box .cross {
        position: absolute;
        left: calc(50% - 60px); }
        .home .container .table .box .cross::before {
          position: absolute;
          content: '';
          width: 120px;
          height: 12px;
          background-color: #ED494C;
          transform: rotate(-45deg); }
        .home .container .table .box .cross::after {
          position: absolute;
          content: '';
          width: 120px;
          height: 12px;
          background-color: #ED494C;
          transform: rotate(45deg); }
      .home .container .table .box .cross-empty {
        position: absolute;
        left: calc(50% - 60px); }
        .home .container .table .box .cross-empty::before {
          position: absolute;
          content: '';
          width: 130px;
          height: 22px;
          background-color: #fff;
          transform: rotate(-45deg); }
        .home .container .table .box .cross-empty::after {
          position: absolute;
          content: '';
          width: 130px;
          height: 22px;
          background-color: #fff;
          transform: rotate(45deg); }
      .home .container .table .box .cross-empty-line-1 {
        position: absolute;
        left: calc(50% - 55px);
        top: 52.5%;
        width: 120px;
        height: 12px;
        background-color: #000;
        transform: rotate(-45deg); }
      .home .container .table .box .cross-empty-line-2 {
        position: absolute;
        left: calc(50% - 55px);
        top: 52.5%;
        width: 120px;
        height: 12px;
        background-color: #000;
        transform: rotate(45deg); }
      .home .container .table .box .circle::before {
        position: absolute;
        content: '';
        top: 50%;
        left: 50%;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        width: 90px;
        height: 90px;
        border: 12px solid #ED494C;
        left: 53%; }
      .home .container .table .box .circle-empty::before {
        position: absolute;
        content: '';
        top: 50%;
        left: 50%;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        width: 110px;
        height: 110px;
        border: 4px solid #FF6D70;
        left: 53%; }
      .home .container .table .box .circle-empty::after {
        position: absolute;
        content: '';
        top: 50%;
        left: 50%;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
        border: 4px solid #FF6D70;
        left: 53%; }
  .home .container .btn-home {
    background-color: #fff;
    color: #FF6D70;
    margin-left: 15px; }

.play .container .score {
  width: 100%;
  height: 64px;
  text-align: center;
  position: relative;
  color: #fff;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: center; }
  .play .container .score .cross-box {
    width: 64px;
    height: 66px;
    border: 4px solid #000;
    background-color: #000;
    position: relative;
    border-radius: 8px 0 0 8px; }
    .play .container .score .cross-box .cross {
      position: absolute;
      left: calc(50% - 20px);
      top: 48%; }
      .play .container .score .cross-box .cross::before {
        position: absolute;
        content: '';
        width: 40px;
        height: 4px;
        background-color: #fff;
        transform: rotate(-45deg); }
      .play .container .score .cross-box .cross::after {
        position: absolute;
        content: '';
        width: 40px;
        height: 4px;
        background-color: #fff;
        transform: rotate(45deg); }
  .play .container .score .circle-box {
    width: 64px;
    height: 66px;
    border: 4px solid #000;
    background-color: #000;
    position: relative;
    border-radius: 0 8px 8px 0; }
    .play .container .score .circle-box::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 30px;
      height: 30px;
      border: 4px solid #fff; }
  .play .container .score .toggleBackground {
    background-color: #ED494C; }
  .play .container .score .score-box {
    flex: 1;
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center; }
  .play .container .score .vs {
    width: 70px;
    height: 74px;
    background-color: #000;
    border-radius: 8px 8px 0 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center; }
  .play .container .score .turn {
    position: absolute;
    top: 72px;
    left: 3px;
    font-size: 20px; }
  .play .container .score .toggleTurn {
    left: 440px; }

.play .container .table .line {
  background-color: #ED494C;
  border-radius: 5px;
  position: absolute; }

.play .container .table .ver-line {
  width: 8px;
  height: 100%; }
  .play .container .table .ver-line:nth-child(1) {
    left: 32.4%; }
  .play .container .table .ver-line:nth-child(2) {
    left: 66.2%; }

.play .container .table .hor-line {
  height: 8px;
  width: 100%; }
  .play .container .table .hor-line:nth-child(1) {
    top: 32.4%; }
  .play .container .table .hor-line:nth-child(2) {
    top: 66.2%; }

.play .container .table .box {
  position: relative; }
  .play .container .table .box .circle {
    position: relative; }
    .play .container .table .box .circle::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 60px;
      height: 60px;
      border: 8px solid #000; }
  .play .container .table .box .cross {
    position: absolute;
    left: calc(50% - 40px);
    top: 50%; }
    .play .container .table .box .cross::before {
      position: absolute;
      content: '';
      width: 80px;
      height: 8px;
      background-color: #fff;
      transform: rotate(-45deg); }
    .play .container .table .box .cross::after {
      position: absolute;
      content: '';
      width: 80px;
      height: 8px;
      background-color: #fff;
      transform: rotate(45deg); }

.play .container .result {
  width: 540px;
  height: 540px;
  margin: 0 auto;
  position: relative;
  text-align: center; }
  .play .container .result .circle::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 40px solid #ED494C; }
  .play .container .result .cross {
    position: absolute;
    left: calc(50% - 230px);
    top: 45%; }
    .play .container .result .cross::before {
      position: absolute;
      content: '';
      width: 460px;
      height: 50px;
      background-color: #ED494C;
      transform: rotate(-45deg); }
    .play .container .result .cross::after {
      position: absolute;
      content: '';
      width: 460px;
      height: 50px;
      background-color: #ED494C;
      transform: rotate(45deg); }
  .play .container .result .draw-cross {
    position: absolute;
    left: calc(30% - 110px);
    top: 47%; }
    .play .container .result .draw-cross::before {
      position: absolute;
      content: '';
      width: 220px;
      height: 30px;
      background-color: #ED494C;
      transform: rotate(-45deg); }
    .play .container .result .draw-cross::after {
      position: absolute;
      content: '';
      width: 220px;
      height: 30px;
      background-color: #ED494C;
      transform: rotate(45deg); }
  .play .container .result .draw-circle::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 20px solid #ED494C;
    left: 75%; }
  .play .container .result .win, .play .container .result .draw-win {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 154px;
    font-style: italic;
    color: #fff;
    opacity: .8; }
  .play .container .result .top {
    top: 20%; }
  .play .container .result .bottom {
    top: 80%; }

@media (max-width: 620px) {
  .table {
    width: 360px;
    height: 360px; }
    .table .box {
      width: 114.66667px;
      height: 114.66667px; }
  .container {
    width: 100%;
    min-height: 90vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; }
  .btn {
    max-width: 260px;
    height: 60px;
    font-size: 36px; }
  .home .container .table {
    font-size: 60px;
    margin-top: 60px; }
    .home .container .table .box .cross {
      left: calc(54% - 45px);
      top: 44%; }
      .home .container .table .box .cross::before {
        position: absolute;
        content: '';
        width: 90px;
        height: 12px;
        background-color: #ED494C;
        transform: rotate(-45deg); }
      .home .container .table .box .cross::after {
        position: absolute;
        content: '';
        width: 90px;
        height: 12px;
        background-color: #ED494C;
        transform: rotate(45deg); }
    .home .container .table .box .circle::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 60px;
      height: 60px;
      border: 12px solid #ED494C; }
    .home .container .table .box .circle-empty::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 80px;
      height: 80px;
      border: 4px solid #FF6D70; }
    .home .container .table .box .circle-empty::after {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 50px;
      height: 50px;
      border: 4px solid #FF6D70; }
    .home .container .table .box .cross-empty {
      left: calc(50% - 50px);
      top: 44%; }
      .home .container .table .box .cross-empty::before {
        position: absolute;
        content: '';
        width: 100px;
        height: 22px;
        background-color: #fff;
        transform: rotate(-45deg); }
      .home .container .table .box .cross-empty::after {
        position: absolute;
        content: '';
        width: 100px;
        height: 22px;
        background-color: #fff;
        transform: rotate(45deg); }
    .home .container .table .box .cross-empty-line-1 {
      position: absolute;
      left: calc(50% - 55px);
      top: 52.5%;
      width: 120px;
      height: 12px;
      background-color: #000;
      transform: rotate(-45deg);
      left: calc(50% - 45px);
      top: 48%;
      width: 90px; }
    .home .container .table .box .cross-empty-line-2 {
      position: absolute;
      left: calc(50% - 55px);
      top: 52.5%;
      width: 120px;
      height: 12px;
      background-color: #000;
      transform: rotate(45deg);
      left: calc(50% - 45px);
      top: 48%;
      width: 90px; }
  .play .container .score {
    width: 100%;
    margin-bottom: 30px; }
    .play .container .score .cross-box, .play .container .score .circle-box {
      border-radius: 0;
      height: 64px; }
    .play .container .score .cross-box .cross {
      left: calc(50% - 15px); }
      .play .container .score .cross-box .cross::before {
        position: absolute;
        content: '';
        width: 30px;
        height: 4px;
        background-color: #fff;
        transform: rotate(-45deg); }
      .play .container .score .cross-box .cross::after {
        position: absolute;
        content: '';
        width: 30px;
        height: 4px;
        background-color: #fff;
        transform: rotate(45deg); }
    .play .container .score .circle-box::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 20px;
      height: 20px;
      border: 4px solid #fff; }
    .play .container .score .vs {
      height: 100%;
      border-radius: 0; }
    .play .container .score .score-box {
      height: 100%;
      font-size: 40px; }
    .play .container .score .turn {
      display: none; }
  .play .container .table .box .circle::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 8px solid #000; }
  .play .container .table .box .cross {
    left: calc(50% - 35px);
    top: 48%; }
    .play .container .table .box .cross::before {
      position: absolute;
      content: '';
      width: 70px;
      height: 8px;
      background-color: #fff;
      transform: rotate(-45deg); }
    .play .container .table .box .cross::after {
      position: absolute;
      content: '';
      width: 70px;
      height: 8px;
      background-color: #fff;
      transform: rotate(45deg); }
  .play .container .result {
    width: 360px;
    height: 360px; }
    .play .container .result .circle::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 200px;
      height: 200px;
      border: 40px solid #ED494C; }
    .play .container .result .cross {
      left: calc(50% - 140px); }
      .play .container .result .cross::before {
        position: absolute;
        content: '';
        width: 280px;
        height: 50px;
        background-color: #ED494C;
        transform: rotate(-45deg); }
      .play .container .result .cross::after {
        position: absolute;
        content: '';
        width: 280px;
        height: 50px;
        background-color: #ED494C;
        transform: rotate(45deg); }
    .play .container .result .draw-cross {
      left: calc(30% - 85px); }
      .play .container .result .draw-cross::before {
        position: absolute;
        content: '';
        width: 170px;
        height: 30px;
        background-color: #ED494C;
        transform: rotate(-45deg); }
      .play .container .result .draw-cross::after {
        position: absolute;
        content: '';
        width: 170px;
        height: 30px;
        background-color: #ED494C;
        transform: rotate(45deg); }
    .play .container .result .draw-circle::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 100px;
      height: 100px;
      border: 20px solid #ED494C;
      left: 75%; }
    .play .container .result .win, .play .container .result .draw-win {
      font-size: 96px; } }

@media (max-width: 399px) {
  .table {
    width: 280px;
    height: 280px; }
    .table .box {
      width: 88px;
      height: 88px; }
  .home .container .table {
    font-size: 50px; }
    .home .container .table .box .cross {
      left: calc(54% - 35px); }
      .home .container .table .box .cross::before {
        position: absolute;
        content: '';
        width: 70px;
        height: 12px;
        background-color: #ED494C;
        transform: rotate(-45deg); }
      .home .container .table .box .cross::after {
        position: absolute;
        content: '';
        width: 70px;
        height: 12px;
        background-color: #ED494C;
        transform: rotate(45deg); }
    .home .container .table .box .circle::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 40px;
      height: 40px;
      border: 12px solid #ED494C; }
    .home .container .table .box .circle-empty::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 60px;
      height: 60px;
      border: 4px solid #FF6D70; }
    .home .container .table .box .circle-empty::after {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 40px;
      height: 40px;
      border: 4px solid #FF6D70; }
    .home .container .table .box .cross-empty {
      left: calc(50% - 40px);
      top: 44%; }
      .home .container .table .box .cross-empty::before {
        position: absolute;
        content: '';
        width: 80px;
        height: 22px;
        background-color: #fff;
        transform: rotate(-45deg); }
      .home .container .table .box .cross-empty::after {
        position: absolute;
        content: '';
        width: 80px;
        height: 22px;
        background-color: #fff;
        transform: rotate(45deg); }
    .home .container .table .box .cross-empty-line-1 {
      position: absolute;
      left: calc(50% - 55px);
      top: 52.5%;
      width: 120px;
      height: 12px;
      background-color: #000;
      transform: rotate(-45deg);
      left: calc(50% - 35px);
      top: 50%;
      width: 70px; }
    .home .container .table .box .cross-empty-line-2 {
      position: absolute;
      left: calc(50% - 55px);
      top: 52.5%;
      width: 120px;
      height: 12px;
      background-color: #000;
      transform: rotate(45deg);
      left: calc(50% - 35px);
      top: 50%;
      width: 70px; }
  .play .container .score .vs {
    width: 60px; }
  .play .container .result {
    width: 280px;
    height: 280px; }
    .play .container .result .circle::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 160px;
      height: 160px;
      border: 40px solid #ED494C; }
    .play .container .result .cross {
      left: calc(50% - 120px); }
      .play .container .result .cross::before {
        position: absolute;
        content: '';
        width: 240px;
        height: 50px;
        background-color: #ED494C;
        transform: rotate(-45deg); }
      .play .container .result .cross::after {
        position: absolute;
        content: '';
        width: 240px;
        height: 50px;
        background-color: #ED494C;
        transform: rotate(45deg); }
    .play .container .result .draw-cross {
      left: calc(30% - 70px);
      top: 44.7%; }
      .play .container .result .draw-cross::before {
        position: absolute;
        content: '';
        width: 140px;
        height: 30px;
        background-color: #ED494C;
        transform: rotate(-45deg); }
      .play .container .result .draw-cross::after {
        position: absolute;
        content: '';
        width: 140px;
        height: 30px;
        background-color: #ED494C;
        transform: rotate(45deg); }
    .play .container .result .draw-circle::before {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      width: 80px;
      height: 80px;
      border: 20px solid #ED494C;
      left: 75%; }
    .play .container .result .win, .play .container .result .draw-win {
      font-size: 76px; } }
