 body { font-family: Arial, sans-serif; }
  #crossword { border-collapse: collapse; margin-bottom: 1em; }
  #crossword td {
    border: 1px solid #5e5e5e;
    width: 30px; height: 30px;
    text-align: center;
    vertical-align: middle;
    background: #ccc;
    position: relative;
  }
  #crossword td input {
    width: 28px; height: 28px;
    border: none;
    text-transform: uppercase;
    text-align: center;
    font-size: 16px;
    background: white;
    caret-color: black;
  }
  .number {
    position: absolute;
    top: 1px;
    left: 2px;
    font-size: 10px;
    font-weight: bold;
  }
  #clues {
    display: flex;
    gap: 2em;
  }
  #clues div {
    max-width: 300px;
  }
  #clues h3 {
    margin-bottom: 0.3em;
  }
.clue-item {
  margin-bottom: 0.5em;
  display: flex;
  justify-content: space-between; /* soldaki yazı - sağdaki ikonlar */
  align-items: center;
  padding: 8px;
  transition: background-color 0.2s;
}

.clue-text {
  flex: 1; /* yazı sola yaslanır */
}

.clue-icons {
  display: flex;
  flex-direction: row;
  gap: 6px; /* ikonlar arasında boşluk */
}

.clue-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.clue-item:focus {
    outline: 2px solid #0069d9;
    outline-offset: 2px;
}
  @media (max-width: 768px) {
  #crossword td {
    width: 8vw;
    height: 8vw;
  }
  #crossword td input {
    width: 100%;
    height: 100%;
    font-size: 4vw;
  }
  #clues {
    flex-direction: column;
    gap: 1em;
  }
}

.top-bar {
  position: relative; /* Artık sabit değil, içerikle birlikte kayar */
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.4); /* Şeffaf siyah */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 18px;
  margin:0 0 15px 0; /* Altındaki içerik yapışmasın */
 
}

#backBtn {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

#backBtn:hover {
  text-decoration: underline;
}