/* =============================================================================
   Repertuar Pro — Kullanıcı repertuarı + giriş sayfaları için ek stiller
   console.css'ten SONRA yüklenir. Yalnızca --c-* token'ları kullanılır.
   Sayfalar: setlists, lyrics, lyric-new/edit, devices, subscriptions, policies,
   auth/login, auth/register, auth/remove-account
   ============================================================================= */

/* ---------- Ortak yardımcılar ---------- */
.c-chip.off { background: var(--c-tile-2); color: var(--c-ink-2); }
.c-chip.off:hover { background: var(--c-blue-tonal); color: var(--c-navy); }
.c-chip .x { width: 16px; height: 16px; }
.c-tile .line2 a.pill:hover { background: var(--c-tile-2); }
.u-mut { color: var(--c-mut); }
.u-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.u-meter { height: 8px; border-radius: 999px; background: var(--c-tile); overflow: hidden; margin-top: 8px; }
.u-meter > span { display: block; height: 100%; border-radius: 999px; background: var(--c-blue); }
.u-meter.full > span { background: var(--c-amber); }

/* ---------- Şarkı sözleri satırı ---------- */
.c-row.lyric { grid-template-columns: minmax(0, 1fr) 112px 236px; }
.c-row.lyric .c-cell { min-height: 84px; }
.c-row.lyric .c-cell:first-child { padding: 12px 18px 12px 14px; gap: 14px; }
.c-row.lyric .c-app { width: 44px; height: 44px; background: var(--c-tile); color: var(--c-ink-2); }
.c-row.lyric .c-app svg { width: 20px; height: 20px; }
.c-row.lyric .c-cell.c-acts { justify-content: flex-end; padding-right: 10px; }
.c-row.lyric .ttl button { text-align: left; }
.c-row.lyric .ttl button:hover b { text-decoration: underline; text-underline-offset: 3px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cat-chips a, .cat-chips span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--c-tile); color: var(--c-ink-2); }
.cat-chips a:hover { background: var(--c-blue-tonal); color: var(--c-navy); }
.cat-chips svg { width: 13px; height: 13px; }
.cat-chips .set { background: var(--c-magenta-tonal); color: var(--c-magenta); }
.cat-chips .none { background: transparent; box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-mut); }
.cat-chips .add { background: transparent; color: var(--c-blue); padding: 0 6px; }
.cat-chips .add:hover { background: var(--c-blue-tonal); }
@media (max-width: 1100px) {
  .c-row.lyric { grid-template-columns: minmax(0, 1fr) 100px; }
  .c-row.lyric .c-cell.c-acts { grid-column: 1 / -1; min-height: 0; padding: 4px 8px; justify-content: flex-start; }
  .c-row.lyric .c-cell:last-child { border-radius: 12px 12px 16px 16px; }
}
@media (max-width: 760px) {
  .c-row.lyric { grid-template-columns: minmax(0, 1fr) 76px; }
  .c-row.lyric .c-cell:last-child { display: flex; }
  .c-row.lyric .c-cell:first-child { padding: 12px 12px; gap: 10px; border-radius: 12px; }
  .c-row.lyric .c-app { display: none; }
  .c-row.lyric .c-notecell { border-radius: 12px; }
  .c-row.lyric .c-cell.c-acts { border-radius: 12px; flex-wrap: wrap; }
  .c-row.lyric .c-note { min-width: 48px; padding: 0 8px; }
}

/* Kategori yönetimi diyaloğu */
.mg-grp { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-mut); margin: 16px 0 6px; display: flex; align-items: center; gap: 8px; }
.mg-grp svg { width: 16px; height: 16px; }
.mg-list { display: flex; flex-direction: column; gap: 4px; background: var(--c-tile); border-radius: 12px; padding: 4px; }
.mg-list label { display: flex; align-items: center; gap: 12px; background: var(--c-surface); border-radius: 10px; padding: 6px 14px; cursor: pointer; min-height: 48px; }
.mg-list label .n { margin-left: auto; font-size: 12.5px; color: var(--c-mut); }
.mg-list label.saving .n::after { content: " · kaydediliyor…"; }
/* Seçili satır belirgin: kategori mavi, setlist magenta (chip renkleriyle aynı) */
.mg-list label { transition: background .15s, box-shadow .15s, color .15s; }
.mg-list label:hover { background: var(--c-tile-2); }
.mg-list label:has(input:checked) { background: var(--c-blue-tonal); color: var(--c-navy); font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--c-blue-tonal-2); }
.mg-list label:has(input:checked) .n { color: var(--c-navy); }
#cpSets label:has(input:checked), #mgSets label:has(input:checked) { background: var(--c-magenta-tonal); color: var(--c-magenta); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-magenta) 35%, transparent); }
#cpSets label:has(input:checked) .n, #mgSets label:has(input:checked) .n { color: var(--c-magenta); }
#cpSets label:has(input:checked) .c-check input, #mgSets label:has(input:checked) .c-check input { background: var(--c-magenta); border-color: var(--c-magenta); }
.mg-list label:has(input:focus-visible) { outline: 2px solid var(--c-blue); outline-offset: 1px; }

/* ---------- Söz editörü ---------- */
.ed-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ed-form { display: flex; flex-direction: column; gap: 18px; }
/* Üstten hizalı: etiketler ve kutular aynı hizada; başlığın sayacı altta kalır */
.ed-row2 { display: grid; grid-template-columns: minmax(0, 1fr) 200px 200px; gap: 12px; align-items: start; }
.ed-notebtn { width: 100%; height: 52px; border-radius: 12px; background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-line); display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; font-size: 15px; color: var(--c-ink); }
.ed-notebtn:hover { background: var(--c-tile); }
.ed-colbtn { width: 100%; min-height: 52px; border-radius: 12px; background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-line); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; text-align: left; transition: background .15s; }
.ed-colbtn:hover { background: var(--c-tile); }
.ed-colbtn:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--c-blue-tonal-2), 0 0 0 4px var(--c-blue-tonal); }
.ed-colbtn .cat-chips { flex: 1; margin-top: 0; min-width: 0; }
.ed-colact { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--c-blue-tonal); color: var(--c-navy); font-weight: 500; font-size: 13px; white-space: nowrap; flex: 0 0 auto; }
.ed-colact svg { width: 16px; height: 16px; }
.cp-new { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; background: var(--c-tile); border-radius: 12px; padding: 8px; }
.cp-new .c-seg { grid-column: 1 / -1; justify-self: start; background: var(--c-surface); }
.cp-new .c-seg button.on { background: var(--c-blue-tonal); color: var(--c-navy); box-shadow: none; }
.cp-new .c-field input { height: 40px; background: var(--c-surface); }
.cp-new .c-field .hint { padding-left: 4px; }
.cp-new .c-btn { height: 40px; }
#cpDlg .mg-list { max-height: 208px; overflow: auto; }
#cpDlg .mg-grp:first-of-type { margin-top: 4px; }
@media (max-width: 560px) { .cp-new { grid-template-columns: minmax(0, 1fr); } .ed-colbtn { flex-wrap: wrap; } }
.ed-notebtn:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--c-blue-tonal-2), 0 0 0 4px var(--c-blue-tonal); }
.ed-notebtn .c-note { height: 32px; min-width: 44px; pointer-events: none; }
.ed-notebtn .chev { margin-left: auto; color: var(--c-mut); width: 18px; height: 18px; }
.ed-counter { font-size: 12px; color: var(--c-mut); padding-left: 16px; display: flex; justify-content: space-between; gap: 8px; }
.ed-counter b { font-weight: 500; color: var(--c-ink-2); }
.c-field textarea.ed-text { min-height: 420px; font-size: 16px; line-height: 1.7; background: var(--c-surface); }
.ed-drop { border: 2px dashed var(--c-line); border-radius: 16px; padding: 18px; display: flex; align-items: center; gap: 14px; background: var(--c-surface); transition: background .15s, border-color .15s; cursor: pointer; }
.ed-drop:hover { background: var(--c-tile); }
.ed-drop.over { border-color: var(--c-blue); background: var(--c-blue-tonal); }
.ed-drop .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--c-blue-tonal); color: var(--c-blue); display: grid; place-items: center; flex: 0 0 auto; }
.ed-drop b { font-weight: 500; display: block; }
.ed-drop small { color: var(--c-mut); font-size: 12.5px; }
.ed-drop .c-btn { margin-left: auto; }
.ed-drop.busy .ico svg { animation: u-spin 1s linear infinite; }
.ed-file { display: flex; align-items: center; gap: 10px; background: var(--c-green-tonal); color: var(--c-green); border-radius: 12px; padding: 8px 8px 8px 14px; font-size: 13.5px; }
.ed-file svg { width: 18px; height: 18px; }
.ed-file .c-btn { margin-left: auto; height: 32px; }
.ed-pv { background: var(--c-surface); border-radius: 16px; display: flex; flex-direction: column; position: sticky; top: 0; max-height: calc(100dvh - 140px); min-height: 420px; overflow: hidden; }
.ed-pv .pv-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--c-line); flex-wrap: wrap; }
.ed-pv .pv-head h3 { margin: 0; font-family: var(--c-display); font-weight: 500; font-size: 20px; min-width: 0; overflow-wrap: anywhere; }
.ed-pv .pv-head .grow { flex: 1; }
.ed-pv .pv-body { padding: 20px 22px 32px; overflow: auto; white-space: pre-wrap; line-height: 1.7; font-weight: 450; color: var(--c-ink); font-size: 18px; flex: 1; overflow-wrap: anywhere; }
.ed-pv .pv-body.empty { color: var(--c-mut); font-style: italic; font-size: 15px; }
.ed-pv .pv-foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--c-line); background: var(--c-tile); font-size: 12.5px; color: var(--c-mut); flex-wrap: wrap; }
.ed-pv .sz { display: inline-flex; gap: 2px; background: var(--c-surface); border-radius: 999px; padding: 2px; }
.ed-pv .sz button { width: 34px; height: 34px; border-radius: 50%; font-weight: 600; }
.ed-pv .sz button:hover { background: var(--c-tile-2); }
.ed-acts { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.ed-acts .grow { flex: 1; font-size: 12.5px; color: var(--c-mut); }
.ed-tabs { display: none; }
.ed-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--c-surface); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--c-ink-2); }
.ed-meta .cat-chips { margin-top: 0; }
@media (max-width: 1100px) { .ed-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); } }
@media (max-width: 900px) {
  .ed-tabs { display: inline-flex; align-self: flex-start; }
  .ed-grid { grid-template-columns: minmax(0, 1fr); }
  .ed-grid[data-tab="edit"] .ed-pv { display: none; }
  .ed-grid[data-tab="preview"] .ed-form { display: none; }
  .ed-pv { position: static; max-height: none; min-height: 360px; }
}
@media (max-width: 760px) {
  .ed-row2 { grid-template-columns: minmax(0, 1fr); }
  .ed-drop { flex-wrap: wrap; padding: 14px; }
  .ed-drop .c-btn { margin-left: 0; width: 100%; justify-content: center; }
  .c-field textarea.ed-text { min-height: 320px; }
  .ed-acts .c-btn { flex: 1; justify-content: center; }
  .ed-acts .grow { flex-basis: 100%; }
}

/* ---------- Cihazlar ---------- */
.c-row.device { grid-template-columns: minmax(0, 1fr) 150px 170px 72px; }
.c-row.device .c-cell { min-height: 96px; }
.c-row.device .c-cell:first-child { padding: 14px 18px; gap: 16px; }
.c-row.device .c-app { background: var(--c-tile); color: var(--c-ink-2); }
.c-row.device .c-app.web { background: var(--c-blue-tonal); color: var(--c-navy); }
.c-row.device .c-cell.c-num .val { font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.c-row.device .c-cell.c-num .c-badge { height: 22px; font-size: 11.5px; padding: 0 8px; }
.c-row.device .c-status small { font-size: 11.5px; color: var(--c-mut); }
.c-row.device.removed .c-cell { opacity: .55; }
.c-row.device .c-cell:last-child { justify-content: center; }
@media (max-width: 1100px) {
  .c-row.device { grid-template-columns: minmax(0, 1fr) 140px 72px; }
  .c-row.device .c-cell.c-num { grid-column: 1 / -1; order: 5; min-height: 0; flex-direction: row; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px 12px 16px 16px; }
}
@media (max-width: 760px) {
  .c-row.device { grid-template-columns: minmax(0, 1fr) 64px; }
  .c-row.device .c-cell:first-child { padding: 12px 14px; gap: 12px; border-radius: 12px; }
  .c-row.device .c-cell:last-child { display: flex; border-radius: 12px; }
  .c-row.device .c-status { grid-column: 1 / -1; order: 4; flex-direction: row; justify-content: flex-start; padding: 8px 14px; min-height: 0; border-radius: 12px; text-align: left; flex-wrap: wrap; }
  .c-row.device .c-status svg { width: 18px; height: 18px; }
  .c-row.device .c-cell.c-num { padding: 8px 14px; }
  .c-row.device .c-cell.c-num .val { font-size: 16px; }
  .c-row.device .c-app { width: 40px; height: 40px; }
}

/* ---------- Abonelik özeti + ödemeler ---------- */
.sub-hero { background: var(--c-surface); border-radius: 20px; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 24px; align-items: center; }
.sub-hero .who { display: flex; gap: 16px; align-items: center; }
.sub-hero .who .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--c-green-tonal); color: var(--c-green); display: grid; place-items: center; flex: 0 0 auto; }
.sub-hero .who .ico svg { width: 28px; height: 28px; }
.sub-hero .who h2 { margin: 0; font-family: var(--c-display); font-weight: 500; font-size: 22px; }
.sub-hero .who p { margin: 4px 0 0; color: var(--c-ink-2); font-size: 13.5px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sub-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.sub-facts > div { background: var(--c-tile); border-radius: 12px; padding: 12px 14px; }
.sub-facts .lbl { font-size: 12.5px; color: var(--c-ink-2); }
.sub-facts .val { font-family: var(--c-display); font-size: 20px; font-weight: 500; margin-top: 2px; line-height: 1.2; }
.sub-facts .val small { display: block; font-family: var(--c-font); font-size: 12px; font-weight: 400; color: var(--c-mut); margin-top: 2px; }
.sub-facts .val.green { color: var(--c-green); }
.sub-hero .sub-bar { grid-column: 1 / -1; }
.sub-hero.none .who .ico { background: var(--c-amber-tonal); color: var(--c-amber); }
.c-banner .grow { flex: 1; }
.c-banner a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.c-row.pay { grid-template-columns: minmax(0, 1fr) 150px 170px 64px; }
.c-row.pay .c-cell { min-height: 88px; }
.c-row.pay .c-cell:first-child { padding: 12px 18px; gap: 16px; }
.c-row.pay .c-app { background: var(--c-tile); color: var(--c-ink-2); }
.c-row.pay .c-app.google { background: var(--c-green-tonal); color: var(--c-green); }
.c-row.pay .c-app.apple { background: var(--c-tile-2); color: var(--c-ink); }
.c-row.pay .c-cell.c-num .val { font-size: 16px; }
.c-row.pay .c-cell:last-child { justify-content: center; }
@media (max-width: 1100px) {
  .sub-hero { grid-template-columns: minmax(0, 1fr); }
  .c-row.pay { grid-template-columns: minmax(0, 1fr) 140px 64px; }
  .c-row.pay .c-cell.c-num { grid-column: 1 / -1; order: 5; min-height: 0; flex-direction: row; gap: 10px; align-items: center; padding: 10px 18px; border-radius: 12px 12px 16px 16px; }
}
@media (max-width: 760px) {
  .sub-hero { padding: 16px; gap: 16px; border-radius: 16px; }
  .sub-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sub-facts .val { font-size: 17px; }
  .c-row.pay { grid-template-columns: minmax(0, 1fr); }
  .c-row.pay .c-cell:first-child { padding: 12px 14px; gap: 12px; border-radius: 12px; }
  .c-row.pay .c-status { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 8px 14px; border-radius: 12px; }
  .c-row.pay .c-cell:last-child:not(.c-num) { display: flex; min-height: 0; justify-content: flex-end; padding: 2px 6px; border-radius: 12px; }
  .c-row.pay .c-cell.c-num { padding: 8px 14px; }
  .c-banner { flex-wrap: wrap; }
}

/* ---------- Politikalar ---------- */
.pol-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.pol-toc { position: sticky; top: 0; background: var(--c-surface); border-radius: 16px; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.pol-toc .lbl { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mut); padding: 2px 10px 8px; }
.pol-toc a { padding: 8px 10px; border-radius: 10px; font-size: 13.5px; color: var(--c-ink-2); line-height: 1.35; }
.pol-toc a:hover { background: var(--c-tile); }
.pol-toc a.on { background: var(--c-blue-tonal); color: var(--c-navy); font-weight: 500; }
.prose { background: var(--c-surface); border-radius: 16px; padding: 32px 40px 40px; font-size: 16px; line-height: 1.75; color: var(--c-ink-2); max-width: 820px; }
.prose h2 { font-family: var(--c-display); font-weight: 500; font-size: 26px; color: var(--c-ink); margin: 0 0 4px; line-height: 1.25; }
.prose .upd { font-size: 13px; color: var(--c-mut); margin: 0 0 24px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.prose h3 { font-family: var(--c-display); font-weight: 500; font-size: 19px; color: var(--c-ink); margin: 32px 0 8px; scroll-margin-top: 16px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1000px) {
  .pol-grid { grid-template-columns: minmax(0, 1fr); }
  .pol-toc { position: static; flex-direction: row; overflow-x: auto; padding: 6px; gap: 4px; scrollbar-width: none; }
  .pol-toc::-webkit-scrollbar { display: none; }
  .pol-toc .lbl { display: none; }
  .pol-toc a { white-space: nowrap; flex: 0 0 auto; }
}
@media (max-width: 760px) { .prose { padding: 20px 18px 28px; font-size: 15.5px; } .prose h2 { font-size: 22px; } }

/* ---------- Giriş / kayıt / hesap silme (kabuksuz) ---------- */
html.auth-page, html.auth-page body { height: auto; min-height: 100%; overflow: auto; }
.auth { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--c-bg); }
.auth-brand { background: var(--c-navy); color: #fff; padding: 40px 48px; display: flex; flex-direction: column; gap: 28px; position: relative; overflow: hidden; }
:root[data-theme="dark"] .auth-brand { background: var(--c-blue-tonal); }
.auth-brand .logo img { height: 40px; width: auto; display: block; }
.auth-brand h1 { margin: 0; font-family: var(--c-display); font-weight: 500; font-size: 40px; line-height: 1.12; letter-spacing: -.015em; max-width: 520px; }
.auth-brand h1 em { font-style: normal; opacity: .7; }
.auth-brand ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; opacity: .9; }
.auth-brand li { display: flex; align-items: center; gap: 12px; }
.auth-brand li svg { width: 20px; height: 20px; opacity: .85; }
.auth-brand .mock { margin-top: auto; align-self: center; max-width: min(420px, 100%); width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.auth-brand .foot { font-size: 12.5px; opacity: .6; display: flex; gap: 14px; flex-wrap: wrap; }
.auth-brand .foot a:hover { text-decoration: underline; }
.auth-main { display: flex; flex-direction: column; padding: 24px 32px; }
.auth-main .top { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding: 24px 0 32px; display: flex; flex-direction: column; gap: 18px; }
.auth-card h2 { margin: 0; font-family: var(--c-display); font-weight: 500; font-size: 30px; color: var(--c-ink); }
.auth-card .lead { margin: -8px 0 4px; color: var(--c-ink-2); font-size: 14.5px; }
.auth-card form { display: flex; flex-direction: column; gap: 16px; }
.auth-card .c-field input { background: var(--c-tile); }
.auth-card .pw .in input { padding-right: 52px; }
.auth-card .pw .eye { position: absolute; right: 6px; top: 6px; }
.auth-card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.auth-submit { height: 48px; border-radius: 999px; background: var(--c-navy); color: #fff; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; transition: filter .2s; }
.auth-submit:hover { filter: brightness(1.15); }
.auth-submit:disabled { opacity: .55; pointer-events: none; }
.auth-submit.danger { background: var(--c-red); }
:root[data-theme="dark"] .auth-submit { background: var(--c-blue-tonal-2); color: var(--c-ink); }
:root[data-theme="dark"] .auth-submit.danger { background: var(--c-red-tonal); color: var(--c-red); }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--c-mut); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auth-social button { height: 46px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line); background: var(--c-surface); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 500; color: var(--c-ink); transition: background .2s; }
.auth-social button:hover { background: var(--c-tile); }
.auth-social .g { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-family: var(--c-display); font-weight: 800; font-size: 14px; background: var(--c-blue-tonal); color: var(--c-blue); }
.auth-alt { text-align: center; font-size: 14px; color: var(--c-ink-2); }
.auth-alt a, .auth-link { color: var(--c-blue); font-weight: 500; }
.auth-alt a:hover, .auth-link:hover { text-decoration: underline; }
.auth-legal { font-size: 12.5px; color: var(--c-mut); text-align: center; line-height: 1.6; }
.auth-legal a { color: var(--c-ink-2); text-decoration: underline; text-underline-offset: 2px; }
.auth-err { display: none; align-items: center; gap: 10px; background: var(--c-red-tonal); color: var(--c-red); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; }
.auth-err.on { display: flex; }
.auth-err svg { width: 18px; height: 18px; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 2px 0 0; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--c-tile-2); transition: background .2s; }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--c-red); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: var(--c-amber); }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: var(--c-blue); }
.pw-meter[data-s="4"] i { background: var(--c-green); }
.c-field.ok .hint { color: var(--c-green); }
.auth-check { align-items: flex-start; font-size: 13.5px; color: var(--c-ink-2); line-height: 1.5; min-height: 0; }
.auth-check input { margin-top: 2px; flex: 0 0 auto; }
.auth-check a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }
.auth-check.err { color: var(--c-red); }
.auth-check.err input { border-color: var(--c-red); }
.auth-info { background: var(--c-surface); border-radius: 16px; padding: 4px; display: flex; flex-direction: column; gap: 2px; box-shadow: inset 0 0 0 1px var(--c-line); }
.auth-info div { display: flex; gap: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--c-ink-2); line-height: 1.5; }
.auth-info svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.auth-info b { color: var(--c-ink); font-weight: 500; }
.auth-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.auth-done .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--c-green-tonal); color: var(--c-green); display: grid; place-items: center; }
.auth-done .ico svg { width: 30px; height: 30px; }
.auth-done p { margin: 0; color: var(--c-ink-2); }
@media (max-width: 960px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-brand { padding: 20px 20px 22px; gap: 12px; }
  .auth-brand h1 { font-size: 24px; }
  .auth-brand ul, .auth-brand .mock, .auth-brand .foot { display: none; }
  .auth-brand .logo img { height: 30px; }
  .auth-main { padding: 12px 16px 28px; }
  .auth-main .top { position: absolute; top: 14px; right: 12px; }
  .auth-main .top .c-iconbtn { color: #fff; }
  :root[data-theme="dark"] .auth-main .top .c-iconbtn { color: var(--c-ink); }
  .auth-card { padding-top: 8px; margin-top: 0; }
  .auth-card h2 { font-size: 26px; }
}
@media (max-width: 400px) { .auth-social { grid-template-columns: 1fr; } }

/* Kategorileri yönet penceresi: geniş, listeler ekrana sığar ve kendi içinde kayar */
#catDlg > div { max-width: 860px; }
#catDlg .mg-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 30dvh; overflow: auto; }
@media (max-width: 640px) { #catDlg .mg-list { grid-template-columns: 1fr; } }

/* Ritim: uygulamadaki "Tempo ve ritim" hapları + Ritim seçici penceresi (ritim-secici.js) */
.ed-ritim-haplar { display: flex; flex-wrap: wrap; gap: 6px; }
.rt-hap { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--c-tile); color: var(--c-ink); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; box-shadow: inset 0 0 0 1px var(--c-line); transition: background .2s; }
.rt-hap > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-hap:hover { background: var(--c-tile-2); }
.rt-hap.on { background: var(--c-magenta); color: #fff; box-shadow: none; }
.rt-hap .icon { width: 15px; height: 15px; flex: 0 0 auto; }
.rt-hap.mavi { background: var(--c-blue-tonal); color: var(--c-blue); box-shadow: none; font-variant-numeric: tabular-nums; }
.rt-hap.mavi.on { background: var(--c-magenta); color: #fff; }
.rt-govde { display: flex; flex-direction: column; gap: 14px; }
.rt-govde h2 { margin: 0; }
.rt-ozet { display: flex; align-items: center; gap: 10px; padding: 12px 8px 12px 16px; border-radius: 16px; background: var(--c-magenta-tonal); }
.rt-ozet > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rt-ozet b { font-size: 17px; color: var(--c-magenta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-ozet span { font-size: 13px; color: var(--c-ink-2); }
.rt-sekmeler { display: flex; }
.rt-sekmeler button { flex: 1; height: 38px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.rt-sekmeler button .icon { width: 16px; height: 16px; }
.rt-serit { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
.rt-serit .rt-hap { flex: 0 0 auto; }
.rt-liste { max-height: min(46vh, 420px); overflow: auto; margin-top: 6px; }
.rt-baslik { font-size: 13px; font-weight: 700; color: var(--c-mut); padding: 12px 12px 6px; }
.rt-satir { display: flex; align-items: center; gap: 8px; padding: 6px 4px 6px 12px; border-radius: 14px; cursor: pointer; }
.rt-satir:hover, .rt-satir:focus-visible { background: var(--c-tile); outline: none; }
.rt-satir.on { background: var(--c-magenta-tonal); }
.rt-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rt-ad b { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-satir.on .rt-ad b, .rt-tik { color: var(--c-magenta); }
.rt-ad span { font-size: 12px; color: var(--c-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-tik .icon { width: 18px; height: 18px; }
.rt-olcu { padding: 3px 9px; border-radius: 8px; background: var(--c-blue-tonal); color: var(--c-navy); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rt-yildiz { width: 36px; height: 36px; color: var(--c-mut); }
.rt-yildiz.on { color: var(--c-amber); }
.rt-yildiz.on .icon { fill: currentColor; }
.rt-bos { text-align: center; color: var(--c-ink-2); font-size: 14px; padding: 24px 12px; margin: 0; }
.rt-etk { font-size: 13px; font-weight: 600; color: var(--c-ink-2); margin: 4px 4px 8px; }
.rt-haplar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rt-ayar { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; border-radius: 18px; background: var(--c-tile); margin-bottom: 14px; }
.rt-pay { display: flex; align-items: center; gap: 18px; }
.rt-pay .c-iconbtn { background: var(--c-surface); }
.rt-pay b { font-size: 34px; font-weight: 700; min-width: 110px; text-align: center; font-variant-numeric: tabular-nums; }
.rt-pay b.pasif { color: var(--c-mut); }
.rt-alt { font-size: 12px; color: var(--c-mut); }
.rt-ayar .rt-hap { background: var(--c-surface); }
.rt-ayar .rt-hap.on { background: var(--c-magenta); }

