/* CLUE BOX - theme-aware */
.clue-box {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}
body .clue-box {
  background: var(--surface-color, #ffae00);
  border: 1px solid #E2E8F0;
  color: var(--text-primary);
  min-height: 200px;
  font-size: 24px;
  padding: 30px;
  align-content: center;
}
/* body.dark-theme .clue-box,
body:not(.light-theme):not(.dark-theme) .clue-box {
  background: var(--surface-color, #161B22);
  border: 1px solid var(--border-color, rgba(255,255,255,0.2));
  color: var(--text-primary, #F8FAFC);
} */
.clue-box p { margin: 0 0 8px 0; }
.clue-box p:last-child { margin-bottom: 0; }

/* TABLE STYLING */
table {
  margin-top: 20px;
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

th, td {
  border: 1px solid var(--border-color, rgba(255,255,255,0.2));
  padding: 10px;
  text-align: center;
  color: var(--text-primary, #F8FAFC);
}

td.partial {
  background: #3b82f6;
  font-weight: bold;
}

th {
  background: var(--header-footer-color, #282828);
  color: var(--text-primary, #F8FAFC);
}
.correct { background: #1f8f4a; font-weight: bold; }
.wrong { background: #8f1f1f; font-weight: bold; }

/* IMAGE & INFO AREA */
#imageContainer {
  margin: 20px 0;
  text-align: center;
}

#characterImage {
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  /* filter: blur(10px);  */
  transition: filter 0.5s;
}

/* Hint button and container */
.hint-container {
  margin: 15px auto;
  padding: 10px;
  background: var(--surface-color, #161B22);
  border-left: 5px solid var(--accent, #ffae00);
  border-radius: 5px;
  max-width: 600px;
  min-height: 20px;
  font-style: italic;
  display: none; /* Hidden by default */
  color: var(--text-primary, #F8FAFC);
  padding-bottom: 0px;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

#hintBtn {
  background-color: var(--accent, #ffae00);
  color: var(--text-primary, #0F172A);
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
}

#hintBtn:hover {
  background-color: var(--header-footer-color, #282828);
  color: var(--accent, #ffae00);
}

/* INPUT WRAPPER */
.input-wrapper {
  display: flex;
  margin: 0 auto;
  gap: 10px;
  max-width: 500px;
  position: relative;
}


@media (max-width: 768px) {
  /* Hide IMDb column on mobile */
  .imdb_col {
    display: none;
  }
  th, td {
    padding: 3px;
  }
  /* Also hide the header cell */
  th.imdb_col {
    display: none;
  }
}
