/* ==========================================================================
   YARDIM.CSS — "?" yardım paneli, tanıtım turu ve "Yeni" işaretleri (js/yardim.js)
   Sade ve sessiz: kendiliğinden açılmaz, renkler temanın değişkenleriyle.
   ========================================================================== */
.yardim-dugme {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--panel); color: var(--ink);
  font: 600 18px/1 inherit; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.yardim-dugme:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, .16); }
.yardim-dugme.acik { background: var(--gold); color: #fff; border-color: var(--gold); }
.yardim-dugme:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* Maskotlu düğme (js/maskot.js): baykuş ortada, köşede küçük "?" */
.yardim-dugme.maskotlu { width: 64px; height: 64px; }
.yardim-dugme.maskotlu .maskot { width: 54px; height: 54px; }
.yardim-dugme.maskotlu.acik { background: var(--panel); border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft), 0 2px 10px rgba(0, 0, 0, .12); }
.yardim-soru {
  position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
  border: 2px solid var(--panel);
}
.yardim-simge .maskot { width: 38px; height: 38px; display: block; }

.yardim-panel {
  position: fixed; right: 18px; bottom: 92px; z-index: 901;
  width: min(380px, calc(100vw - 24px)); max-height: min(640px, calc(100vh - 100px));
  display: flex; flex-direction: column;
  background: var(--panel); color: var(--ink);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  overflow: hidden;
}
.yardim-panel[hidden] { display: none; }
.yardim-bas { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; }
.yardim-baslik { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.yardim-simge:empty { display: none; }
.yardim-ara {
  margin: 0 14px 10px; padding: 8px 10px; font: inherit; font-size: 13.5px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--bg); color: inherit;
}
.yardim-govde { overflow-y: auto; padding: 0 14px 14px; font-size: 13.5px; line-height: 1.5; }
.yardim-govde p { margin: 4px 0 8px; }
.yardim-alt { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); margin: 14px 0 6px; }
.yardim-ekran .yardim-alt { margin-top: 2px; }
.yardim-ipucu { margin: 8px 0; padding-left: 18px; }
.yardim-ipucu li { margin: 4px 0; }
.yardim-sss { border-top: 1px solid var(--border); padding: 7px 0; }
.yardim-sss summary { cursor: pointer; font-weight: 600; }
.yardim-sss p { margin: 6px 0 2px; }
.yardim-kilavuz { margin: 0; padding-left: 16px; }
.yardim-kilavuz li { margin: 8px 0; }
.yardim-destek { border-top: 1px solid var(--border); margin-top: 12px; }
.yardim-destek summary { cursor: pointer; list-style-position: inside; }
.yardim-destek form { display: flex; flex-direction: column; gap: 6px; }
.yardim-destek input, .yardim-destek textarea {
  font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--bg); color: inherit; resize: vertical;
}
.yardim-destek .btn { align-self: flex-end; }

/* Tanıtım turu: vurgulanan alanın çevresi karartılır; tıklanabilir öğe engellenmez. */
.yardim-tur-spot {
  position: fixed; z-index: 950; border-radius: 10px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(15, 17, 32, .45); outline: 2px solid var(--gold);
  transition: top .2s ease, left .2s ease, width .2s ease, height .2s ease;
}
.yardim-tur-kutu {
  position: fixed; z-index: 951; padding: 12px 14px; font-size: 13.5px; line-height: 1.5;
  background: var(--panel); color: var(--ink); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.yardim-tur-kutu p { margin: 0 0 10px; }
.yardim-tur-alt { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* "Yeni" işareti: küçük, sessiz. */
.yeni-isaret {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; line-height: 1.5; vertical-align: middle;
  background: var(--gold-soft); color: var(--gold);
}

@media (max-width: 640px) {
  .yardim-dugme { right: 12px; bottom: 12px; }
  .yardim-panel { right: 12px; left: 12px; width: auto; bottom: 76px; max-height: calc(100vh - 100px); }
  .yardim-dugme.maskotlu { width: 56px; height: 56px; }
  .yardim-dugme.maskotlu .maskot { width: 46px; height: 46px; }
}
@media print { .yardim-dugme, .yardim-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .yardim-dugme, .yardim-tur-spot { transition: none; } }
