/* --- Gizli içerik kartı (konu görünümü) --- */
.tth_box {
  --tth-bg: #141414;
  --tth-text: #ececec;
  --tth-muted: #9a9a9a;
  background: var(--tth-bg);
  color: var(--tth-text);
  border: 1px solid #2c2c2c;
  border-left: 3px solid #c62828;
  border-radius: 4px;
  box-sizing: border-box;
  margin: 14px 0;
  overflow-wrap: anywhere;
  padding: 16px 18px;
}
.tth_box .tth_title {
  color: #f0f0f0;
  font-size: 15px;
  font-weight: 700;
}
.tth_box p {
  color: var(--tth-muted);
  margin: 10px 0;
}
.tth_actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 8px;
}
.tth_box small {
  color: var(--tth-muted);
  display: block;
  font-size: 11px;
}
.tth_box .button,
.tth_editor .button {
  align-items: center;
  border-radius: 3px;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  text-align: center;
}
.tth_box .tth_pay {
  background: #c62828;
  border: 1px solid #e53935;
  color: #fff;
}
.tth_unlocked { border-left-color: #4caf7a; }
.tth_unlocked > strong { color: #8ad7ad; }
.tth_body { margin-top: 12px; }
.tth_body img { height: auto; max-width: 100%; }
.tth_feedback {
  background: rgba(198, 40, 40, 0.1);
  border: 1px solid rgba(198, 40, 40, 0.25);
  border-radius: 3px;
  color: #e8a0a0;
  margin: 10px 0 0;
  padding: 8px 10px;
}

/* --- Editör altı bar --- */
.tth_editor {
  align-items: center;
  background: #121212;
  border: 1px solid #2a2a2a;
  border-top: 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 12px;
  padding: 10px 12px;
  width: 100%;
}
.tth_editor.tth_editor_ready {
  border-top: 1px solid #2a2a2a;
  margin-top: -1px;
}
.tth_editor .tth_insert {
  background: #c62828 !important;
  border: 1px solid #e53935 !important;
  color: #fff !important;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.tth_editor .tth_insert:hover {
  background: #e53935 !important;
  color: #fff !important;
}
.tth_editor .tth_price,
.tth_editor .tth_price_fixed {
  align-items: center;
  color: #c8c8c8;
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
  margin: 0;
}
.tth_editor input[type="number"] {
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  box-sizing: border-box;
  color: #eee;
  max-width: 100%;
  padding: 5px 8px;
  width: 72px;
}
.tth_editor small {
  color: #888;
  flex: 1 1 100%;
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
  opacity: 1;
}

/* SCEditor toolbar lock button */
.sceditor-button-tthgizli {
  width: 22px !important;
}
.sceditor-button-tthgizli div {
  background: transparent !important;
  color: #ff5252 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  text-align: center !important;
  text-indent: 0 !important;
  width: 22px !important;
}
.sceditor-button-tthgizli:hover div {
  color: #ff8a80 !important;
}
.tth-sce-block {
  background: rgba(198, 40, 40, 0.1);
  border: 1px dashed #ce354b;
  margin: 4px 0;
  padding: 8px;
}

.tth_box a:focus-visible,
.tth_editor button:focus-visible,
.sceditor-button-tthgizli:focus-visible {
  outline: 2px solid #ee8a9a;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .tth_box { padding: 14px; }
  .tth_actions .button { width: 100%; }
  .tth_editor .tth_insert { width: 100%; }
}
