

#game_show {
  height: 100%;
  width: 100%;
  display: flex;

  #play_area {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;

    #game_nav {
      white-space: nowrap;
      font-family: 'Acme';
      font-size: 1.2em;
      background: white;
      height: 34px;
      border-bottom: 1px solid var(--border);
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .nav_items {
        height: 100%;
        display: flex;
        align-items: center;
        line-height: 35px;
      }

      .nav {
        cursor: pointer;
        border-right: 1px solid var(--border);
        padding: 0 10px;
        height: 100%;

        &:hover {
          background: #fff;
          color: dodgerblue;
        }
      }

      .selected {
        background: #fff;
        color: dodgerblue;
      }

      .cancel {
        font-size: 20px;
        color: crimson;
      }

      .move_desc {
        font-size: 0.6em;
        font-family: Arial;
        padding: 10px 0 0 10px;
        border: 0;
        float: left;
        color: #666;
        width: 48%;
        text-align: center;

        &:hover {
          background: none;
          display: inline;

          .move_text {
            display: inline;
            margin: 0;
          }
        }

        .username {
          margin: 0;
          padding: 0;
          color: #444;
        }

        .total_difference {
          display: inline;
          color: #444;
        }

        .words_made {
          .dict {
            color: #444;

            &:hover {
              color: dodgerblue;
            }
          }
        }

        .total_points {
          color: #444;
        }
      }

      #zoomable {
        padding-right: 10px;
      }
    }

    #game_container {
      overflow: hidden;
      position: relative;
      background: #1A1A1A;
      flex-grow: 1;
      height: 0;

      .ui-draggable-dragging {
        z-index: 1;
        cursor: move;
      }

      #game_board {
        display: block;
        background: #111;
        position: relative;
        overflow: hidden;
        padding: 5px;
        margin: 0 auto;
        position: relative;
        left: 10px;
        width: fit-content;

        .hovered {
          border: 1px solid cyan
        }

        .new_item{
          cursor: pointer;
        }

        .cell_row {
          display: flex;
          justify-content: center;
        }
      }
    }

    #info_panel {
      max-height: 400px;
      overflow-y: auto;
      z-index: 1;
      position: absolute;
      width: 100%;
      background: white;

      .content {
        font-size: 1em;
      }

      #information {
        margin: 0;
        padding: 30px 0 100px;

        .item {
          padding: 8px 10px;
          border-bottom: 1px solid #666;

          .head {
            display: inline-block;
            width: 160px;
            text-align: right;
            padding-right: 10px;
          }

          a {
            text-decoration: underline;

            &:hover {
              color: dodgerblue;
            }
          }

          .icon16 {
            position: relative;
            top: 2px;
          }
        }
      }
    }
  }
}

#rack_and_buttons {
  position: relative;
  z-index: 10;

  .inner_rack {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    background: #ddd url("/assets/bar-c5b99f4b.png") center repeat-x;
  }

  .shuffle_rack {
    display: flex;
    align-items: center;
  }

  .player_tiles {
    text-align: left;
    background: #333;
    display: inline-block;
    height: 64px;
    padding: 4px;

    .active_tile {
      margin: 1px;
      height: 62px;
      cursor: pointer;

      .letter_value {
        font-size: 40px;
        top: -3px;
        left: 4px;
      }

      .point_value {
        left: 8px;
        top: auto;
        bottom: 5px;
        font-size: 22px;
      }
    }

    .ui-sortable-helper {
      cursor: move;
    }
  }

  .droppable {
    border-color: paleturquoise;
  }

  .hovered {
    border-color: cyan;
  }

  #shuffle {
    margin: 0 10px;
    font-size: 3em;
    cursor: pointer;
    flex: none;
    display: flex;
    align-items: center;

    background: linear-gradient(var(--player-1) 50%, var(--player-2) 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    transition: 100ms;

    &:hover {
      transform: rotate(90deg);
    }

    &:active {
      transform: rotate(0);
    }
  }

  .disabled {
    color: white;
    background-color: #666 !important;
    background-image: none;
  }

  .cancel_clear_swap, .pass_submit {
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid #333;
    border-left: 1px solid #333;

    div {
      display: flex;
      align-items: center;
    }
  }

  .game_btn {
    padding: 0 20px;
    border: none;
    height: 100%;
    border-radius: 0;
  }

  .pass_btn {
    background-color: var(--btn-danger);
  }

  .submit_btn {
    background-color: var(--btn-yellow);
  }

  .swap_btn {
    background-color: var(--btn-success);
  }

  .clear_btn {
    background-color: var(--btn-primary);
  }
}
