.turtle-soup-player {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f8f8f8;

  &__loading,
  &__error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #999;
  }

  &__header {
    background-color: #fff;
    padding: 16px;
    border-bottom: 1px solid #eee;
  }

  &__title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }

  &__title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
  }

  &__status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    
    &--waiting {
      background-color: #e5e5e5;
      color: #666;
    }
    
    &--playing {
      background-color: #e6f7ff;
      color: #1890ff;
    }
    
    &--revealing {
      background-color: #fff7e6;
      color: #fa8c16;
    }
    
    &--completed {
      background-color: #f6ffed;
      color: #52c41a;
    }
    
    &--ended {
      background-color: #fff1f0;
      color: #f5222d;
    }
  }

  &__room-info {
    display: flex;
    align-items: center;
  }

  &__room-code {
    font-size: 14px;
    color: #666;
  }

  &__players-section {
    background-color: #fff;
    padding: 16px;
    margin-bottom: 8px;
  }

  &__section-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    display: block;
  }

  &__players {
    display: flex;
    flex-wrap: wrap;
  }

  &__player-item {
    margin-right: 16px;
    margin-bottom: 16px;
    position: relative;
  }

  &__empty-players {
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
  }

  &__scroll-section {
    flex: 1;
    padding: 0 16px;
    overflow-y: auto;
  }

  &__content {
    padding: 16px 0;
  }

  &__waiting-tip {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #666;
  }

  &__question-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  &__question-category {
    color: #4285f4;
    font-size: 14px;
    font-weight: 500;
  }

  &__question-difficulty {
    color: #666;
    font-size: 14px;
  }

  &__question-section {
    background-color: #fff;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
  }

  &__soup-title {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
  }

  &__revealed-clues {
    display: flex;
    flex-wrap: wrap;
  }

  &__clue {
    background-color: #f0f0f0;
    padding: 8px 12px;
    border-radius: 6px;
    margin-right: 12px;
    margin-bottom: 12px;
  }

  &__clue-type {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 4px;
  }

  &__clue-value {
    font-size: 14px;
    color: #333;
    display: block;
  }

  &__answer-section {
    background-color: #fff;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
  }

  &__answer-input {
    margin-bottom: 16px;
  }

  &__textarea {
    width: 100%;
    height: 120px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
  }

  &__final-answer {
    background-color: #f6ffed;
    border-left: 3px solid #52c41a;
    padding: 12px;
  }

  &__final-answer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
  }

  &__actions {
    background-color: #fff;
    padding: 16px;
    border-top: 1px solid #eee;
  }
} 