/* C3 yasal: kabul modalı, geliştirme bandı, bağlantılar. Renkler tema belirteçlerinden (3 tema, koyu/açık); dış kaynak yok. */
html.yasal-acik, html.yasal-acik body { overflow: hidden; }
.yasal-bg { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 0; background: var(--bg); }
.yasal-modal { width: min(760px, 100%); height: 100%; max-height: 100dvh; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--panel-solid); color: var(--text); border: 1px solid var(--line-2); outline: none; overflow-y: auto; overflow-x: hidden; }
.yasal-modal > * { flex: 0 0 auto; }
@media (min-width: 800px) { .yasal-modal { height: min(820px, calc(100dvh - 32px)); max-height: none; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); } .yasal-bg { background: rgba(3,5,12,.82); padding: 16px; } }
.yasal-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.yasal-ust h2 { margin: 0; font-size: var(--fs-20); color: var(--text-strong, var(--text)); }
.yasal-dil { display: flex; gap: 6px; }
.yasal-dil .btn { min-width: 44px; min-height: 44px; }
.yasal-modal > .yasal-govde { flex: 1 1 180px; min-height: 140px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 12px 14px; background: var(--panel-2, var(--panel-solid)); }
.yasal-govde:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.yasal-metin { overflow-wrap: anywhere; line-height: 1.55; }
.yasal-metin p, .yasal-metin ol, .yasal-metin ul { margin: 0 0 10px; }
.yasal-metin ol, .yasal-metin ul { padding-left: 22px; }
.yasal-metin li { margin-bottom: 8px; }
.yasal-metin a { color: var(--accent); text-decoration: underline; }
.yasal-metin li.sorumluluk { list-style-position: inside; margin: 12px 0; padding: 10px 12px; border: 2px solid var(--warn); border-radius: var(--r-md); background: var(--panel-solid); color: var(--text-strong, var(--text)); font-weight: 700; }
.yasal-iskelet { padding: 24px 0; color: var(--muted); }
.yasal-hata-kutu { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.yasal-baglanti { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.yasal-baglanti a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
.yasal-onay { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 4px; cursor: pointer; line-height: 1.4; }
.yasal-onay input { flex: 0 0 auto; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); }
.yasal-hata { margin: 0; color: var(--bad); font-weight: 600; }
.yasal-dugme { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.yasal-dugme .btn { min-height: 44px; flex: 1 1 150px; }
.yasal-bant { position: fixed; top: 0; left: 0; right: 0; z-index: 60; min-height: 40px; display: flex; align-items: center; gap: 12px; padding: 4px 8px 4px 14px; background: var(--panel-solid); color: var(--text); border-bottom: 2px solid var(--warn); font-size: var(--fs-13); }
.yasal-bant-t { flex: 1; min-width: 0; }
.yasal-bant a { color: var(--accent); min-height: 40px; display: inline-flex; align-items: center; }
.yasal-bant-x { min-width: 44px; min-height: 40px; background: transparent; border: 0; color: var(--text); font-size: var(--fs-20); cursor: pointer; border-radius: var(--r-md); }
.yasal-bant-x:focus-visible, .yasal-bant a:focus-visible, .yasal-baglanti a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.yasal-bant.ayar { position: static; border: 1px solid var(--warn); border-radius: var(--r-md); margin: 4px 0; }
html.has-bant .shell { padding-top: 40px; box-sizing: border-box; }
.yasal-linkler nav { display: flex; flex-wrap: wrap; gap: 2px 16px; align-items: center; }
.yasal-linkler nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
.yasal-marka { margin: 6px 0 0; }
