.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 10px;
  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;
  padding:5px 9px;
  cursor: pointer;
}

#backBtn:hover {
  text-decoration: underline;
}
#hintBtn {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px 11px;
  float:left;
}
#hintBtn:hover {
  opacity: 0.8;
}
.left-buttons {
  display: flex;
  gap: 5px; /* Butonlar arası boşluk */
  align-items: center;
}
.suren {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
}
    .soru {
      background: black;
      color: white;
      padding: 12px 20px;
      border-radius: 8px;
      font-size: 18px;
      margin: 10px auto;
      text-align: center;
      width: 90%;
    }
    .cevap-kutular {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      margin: 10px auto 30px;
    }
    .kelime-row {
      display: flex;
      gap: 10px;
    }
    .kutu {
      width: 48px;
      height: 48px;
      border: 2px solid #aaa;
      border-radius: 6px;
      text-align: center;
      line-height: 48px;
      font-size: 22px;
      background: white;
    }
    .kutu.dogru {
      background-color: #4caf50;
      color: white;
      border-color: #4caf50;
    }
    .daire-wrapper {
      position: relative;
      width: 60vw;
      height: 60vw;
      max-width: 300px;
      max-height: 300px;
      border-radius: 50%;
      background: #ffffffdb;
      box-shadow: 0 0 12px rgba(0,0,0,0.2);
      touch-action: none;
      overflow: hidden;
      margin: auto;
    }
    .daire-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }
    .harf {
      position: absolute;
      width: 56px;
      height: 56px;
      background: #d1caca;
      border-radius: 50%;
      text-align: center;
      line-height: 56px;
      font-size: 24px;
      color: black;
      user-select: none;
      touch-action: none;
      z-index: 2;
      transition: all 0.2s;
    }
    .harf.selected {
      background: orange;
      color: white;
    }
    .message-box {
      position: fixed;
       top: 35%;
      left: 50%;
      transform: translateX(-50%);
      background: #000;
      color: white;
      padding: 10px 20px;
      border-radius: 10px;
      display: none;
      z-index: 9999;
}
    .kutu.kucuk {
    width: 40px;
    height: 40px;
    line-height: 42px;
    }
    .kutu.kucuk8 {
    width: 38px;
    height: 38px;
    line-height: 40px;
    }
    .kutu.kucuk9 {
    width: 36px;
    height: 36px;
    line-height: 38px;
    }
.kelime-row.dar {
  gap: 7px;
}
.kelime-row.dar8 {
  gap: 5px;
}
.kelime-row.dar9 {
  gap: 3px;
}
.kelime-row.uzun {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cell-number {
      position: absolute;
      top: -6px;
      left: -6px;
      background: black;
      color: white;
      font-size: 11px;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      text-align: center;
      line-height: 18px;
      z-index: 3;
    }
    .modal-content {
    background-color: #1e0c0ce3;
}
#xbody {
  color: #fff;
  padding: 10px;
  font-size: 18px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 9999;
}
.modal-header {
    padding: 5px 15px;
    border-bottom: 1px solid #e5e5e50a;
}
.close {
    opacity: 10 !important;
}
.modal-title {color:rgb(242, 255, 0)}
.question {
      background-color: rgba(0, 0, 0, 0.5); /* yarı saydam siyah */
      color: white;
      padding: 15px 20px;
      border-radius: 10px;
      font-size: 22px;
      text-align: center;
      margin: 20px auto;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* hafif gölge */
    }