/* ===== Player File Container ===== */
.playerFile {
  display: table;
  padding: 0;
  background-color: transparent;
  border: 1px solid #ccc;
  border-radius: 0px;
  scroll-margin-top: 100px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.playerFileHeader {
  background-color: #fef200;
  padding: 1px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1em;
}

.favorite-star {
  float: right;

  cursor: pointer;
  font-size: 1.6em;
  color:purple
}


/* ===== Opponent Table Styling ===== */
.opponentTable {
  table-layout: fixed;
  width: 100%;
  display: table;
  overflow-x: auto;
  border-collapse: collapse;
}
.opponentTable thead th {
  position: sticky;
  top: 0;
  background-color: #fef200;
  z-index: 2;
  padding: 2px;
  border: 1px solid #ccc;
  font-size: 14px;
  overflow: hidden;
  text-overflow: hidden;
  white-space: nowrap;
}
.opponentTable th,
.opponentTable td {
  padding: 2px;
  border: 1px solid #ccc;
  font-size: 14px;
  text-overflow: hidden;
  overflow: hidden;
  white-space: nowrap;
}

/* ===== Column Width & Alignment ===== */
.opponentTable .stl_pc_ot_round {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    text-align: left;
  }
.opponentTable .stl_pc_ot_rank,
.opponentTable .stl_pc_ot_title,
.opponentTable .stl_pc_ot_points,
.opponentTable .stl_pc_ot_result {
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  text-align: center;
  position: relative;
}

.opponentTable .stl_pc_ot_rating {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  text-align: left;
}

.opponentTable .stl_pc_ot_color {
  width: 15px;
  max-width: 15px;
  text-align: left;
}

.opponentTable .stl_pc_ot_name {
  width: 40%;
  min-width: 40px;
  text-align: left;
}

/* ===== Name Link Styling ===== */
.opponentTable .stl_link_name {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

/* ===== Detail Text Styling ===== */
.opponentTable .stl_tl_detail {
  display: block;
  font-size: 0.9em;
  font-style: italic;
  font-weight: normal;
  color: #444;
  max-height: 100px;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

/* ===== Responsive Typography ===== */
@media (min-width: 768px) {
  .opponentTable {
    display: table;
    width: 768px;
    overflow-x: visible;
  }

  .opponentTable th,
  .opponentTable td {
    font-size: 16px;
  }
}