/* İlk açılış rehberi (onboard.js). app.css değişkenlerini kullanır. */
.ob { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(5, 8, 14, .84); backdrop-filter: blur(4px); transition: background .2s; }
.ob-panel { width: 100%; max-width: 680px; max-height: calc(100vh - 32px); display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  padding: 20px 22px 16px; transition: opacity .2s, transform .2s; }
.ob-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ob-count { font-weight: 700; font-size: 13px; color: var(--accent-ink); background: var(--accent); border-radius: 99px; padding: 2px 10px; }
.ob-dots { display: flex; gap: 6px; flex: 1; }
.ob-dots i { width: 22px; height: 4px; border-radius: 99px; background: var(--line); }
.ob-dots i.done { background: #6b4d0b; }
.ob-dots i.on { background: var(--accent); }
.ob-title { font-size: 22px; margin: 0 0 10px; }
.ob-body { overflow-y: auto; min-height: 120px; padding-right: 4px; }
.ob-body p { margin: 0 0 10px; }
.ob-sub { font-size: 15px; margin: 14px 0 6px; color: var(--accent); }
.ob-list { margin: 0 0 10px; padding-left: 20px; }
.ob-list li { margin-bottom: 6px; }
.ob-body code { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; font-size: 13px; }
.ob-body kbd, .ob-keys kbd { display: inline-block; min-width: 1.6em; text-align: center; font-family: inherit; font-weight: 600; font-size: 12px; line-height: 1.6; padding: 0 5px;
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--panel2); color: var(--text); }
.ob-field { margin: 8px 0; }
.ob-field input { font-size: 17px; padding: 10px 12px; max-width: 360px; }
.ob-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 10px; }
.ob-table th, .ob-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ob-table thead th { color: var(--muted); }
.ob-table tbody th { color: var(--muted); white-space: nowrap; font-weight: 600; }
.ob-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--panel2);
  border: 1px solid var(--line); color: var(--accent); }
.ob-conf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ob-go { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.ob-go:empty { display: none; }
.ob-foot { display: flex; align-items: center; gap: 12px; justify-content: space-between; border-top: 1px solid var(--line);
  margin-top: 12px; padding-top: 12px; }
.ob-keys { text-align: center; }

/* "Göster" anında: katman saydamlaşır, panel çekilir, hedef öğe halkayla vurgulanır */
.ob.ob-peek { background: transparent; backdrop-filter: none; pointer-events: none; }
.ob.ob-peek .ob-panel { opacity: 0; transform: translateY(30px) scale(.97); }
.ob-peek-note { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink);
  font-weight: 700; padding: 8px 16px; border-radius: 99px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); white-space: nowrap; }
.ob-ring { outline: 3px solid var(--accent) !important; outline-offset: 4px; animation: ob-ring 1s ease-out 2; }
@keyframes ob-ring {
  0% { box-shadow: 0 0 0 0 rgba(245, 184, 46, .8); }
  100% { box-shadow: 0 0 0 22px rgba(245, 184, 46, 0); }
}
body.ob-open { overflow: hidden; }

/* Ayarlar / Yardım başındaki "yeniden göster" bağlantısı */
.ob-reopen { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; margin-bottom: var(--gap); }
.ob-reopen-help { justify-content: flex-start; color: var(--muted); }

@media (max-width: 640px) {
  .ob { padding: 8px; align-items: stretch; }
  .ob-panel { max-height: none; padding: 16px; }
  .ob-keys { display: none; }
  .ob-dots i { width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ob-ring { animation: none; }
  .ob-panel { transition: none; }
}
