.kt [hidden] { display: none !important; }
.kt-bant { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--fmt-accent); border-radius: var(--fmt-radius); background: var(--fmt-accent-soft); font-weight: 600; }
.kt-ayarlar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 28px; margin-bottom: 8px; }
.kt-ayarlar > .fmt-field { display: flex; flex-direction: column; gap: 0; margin: 0; }
.kt-ayarlar > .fmt-field > .fmt-field-label, .kt-grup > legend { display: block; height: 1.4em; margin: 0 0 8px; padding: 0; line-height: 1.4; }
.kt-grup { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.kt-mod-not { flex-basis: 100%; }
.kt-mod-not > p { display: none; margin: 0; }
.kt[data-mod="kelime"] [data-not="kelime"], .kt[data-mod="klasik"] [data-not="klasik"], .kt[data-mod="guncel"] [data-not="guncel"] { display: block; }
.kt-sec { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--fmt-border-strong); border-radius: var(--arac-r-kucuk, 8px); cursor: pointer; }
.kt-sec:has(input:checked) { border-color: var(--fmt-accent); background: var(--fmt-accent-soft); font-weight: 600; }
.kt-sec:has(input:focus-visible) { outline: 2px solid var(--fmt-accent); outline-offset: 2px; }
.kt-ag { flex-basis: 100%; margin: 0; }
.kt:not([data-mod="guncel"]) .kt-tarih, .kt:not([data-mod="kelime"]) .kt-zorluk, .kt:not([data-mod="kelime"]) .kt-tohum { display: none; }
.kt-tohum { margin: 16px 0 0; }
.kt-tohum-satir { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.kt-tohum-satir .fmt-btn { min-height: 44px; }
.kt-tohum-alan { box-sizing: border-box; width: 9.5em; min-height: 44px; padding: 0 10px; border: 1px solid var(--fmt-border-strong); border-radius: var(--arac-r-kucuk, 6px); background: var(--fmt-surface); color: inherit; font: inherit; font-family: var(--fmt-mono); font-variant-numeric: tabular-nums; }
.kt-tohum-alan:focus-visible { outline: 2px solid var(--fmt-accent); outline-offset: 2px; }
.kt-tohum .fmt-hint { margin: 6px 0 0; }
.kt-durum-not { flex: 1 1 auto; color: var(--fmt-muted); }
.kt[data-asama="hazir"][data-odak] .kt-durum-not { color: var(--fmt-ok); font-weight: 700; }
.kt-metin-kap { position: relative; }
.kt-baslat { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; border: 2px dashed var(--fmt-accent); border-radius: var(--fmt-radius); background: color-mix(in srgb, var(--fmt-surface) 94%, transparent); color: inherit; font: inherit; font-size: 1.15rem; font-weight: 700; cursor: text; }
.kt-baslat:focus-visible { outline: 2px solid var(--fmt-accent); outline-offset: 2px; }
.kt[data-odak] .kt-baslat, .kt:not([data-asama="hazir"]) .kt-baslat { display: none; }
.kt[data-asama="hazir"][data-odak] .kt-metin { border-color: var(--fmt-accent); box-shadow: 0 0 0 2px var(--fmt-accent-soft); }
.kt .fmt-select { min-height: 44px; }
.kt-sure-sec { display: flex; align-items: stretch; }
.kt-ok { min-width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--fmt-border-strong); background: var(--fmt-surface); color: inherit; font-size: 1.4rem; cursor: pointer; }
.kt-ok:first-child { border-radius: var(--arac-r-kucuk, 8px) 0 0 var(--arac-r-kucuk, 8px); }
.kt-ok:last-child { border-radius: 0 var(--arac-r-kucuk, 8px) var(--arac-r-kucuk, 8px) 0; }
.kt-ok:hover { background: var(--fmt-accent-soft); }
.kt-ok:focus-visible, .kt-sure-alan:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--fmt-accent); outline-offset: 0; }
.kt-sure-alan { box-sizing: border-box; width: 5.5em; min-height: 44px; padding: 0 8px; border: 1px solid var(--fmt-border-strong); border-inline: 0; background: var(--fmt-surface); color: inherit; font: inherit; font-variant-numeric: tabular-nums; text-align: center; }
.kt-mesaj { min-height: 1.5em; margin: 6px 0; color: var(--fmt-warn); }
.kt-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.kt-ust .fmt-btn { min-height: 44px; }
.kt-sure { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kt-metin { position: relative; box-sizing: content-box; height: calc(3 * 1.9em); padding: 12px 16px; overflow: hidden; border: 1px solid var(--fmt-border-strong); border-radius: var(--fmt-radius); background: var(--fmt-surface); color: var(--fmt-muted); font-size: 1.3rem; line-height: 1.9; overflow-wrap: anywhere; white-space: pre-wrap; }
.kt-metin .kt-d { color: var(--fmt-ok); }
.kt-metin .kt-y { color: var(--fmt-danger); background: var(--fmt-danger-bg); text-decoration: underline; }
.kt-metin .kt-a { background: var(--fmt-accent-soft); box-shadow: inset 2px 0 0 var(--fmt-accent); }
.kt-giris-etiket { display: block; margin-top: 14px; }
.kt-giris { box-sizing: border-box; width: 100%; min-height: 88px; margin-top: 6px; padding: 12px; border: 1px solid var(--fmt-border-strong); border-radius: var(--fmt-radius); background: var(--fmt-surface); color: inherit; font: inherit; font-size: 1.15rem; resize: vertical; }
.kt-giris:focus-visible { outline: 2px solid var(--fmt-accent); outline-offset: 2px; }
.kt-giris[readonly] { opacity: .7; }
.kt-kaynak { margin: 16px 0 0; color: var(--fmt-muted); font-size: .9rem; overflow-wrap: anywhere; }
.kt-kaynak a { color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
.kt-sonuc { margin-top: 16px; }
.kt-sonuc-ic { padding: 16px; border: 1px solid var(--fmt-border-strong); border-radius: var(--fmt-radius); background: var(--fmt-surface); }
.kt-olcu { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 0; }
.kt-olcu dt { color: var(--fmt-muted); font-size: .9rem; }
.kt-olcu dd { margin: 0; font-size: 1.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kt-eylem { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.kt-eylem .fmt-btn { min-height: 44px; }
.kt-paylas { min-height: 1.5em; margin: 8px 0 0; color: var(--fmt-muted); }
.kt-link-yedek { box-sizing: border-box; width: 100%; min-height: 44px; padding: 0 8px; border: 1px solid var(--fmt-border-strong); border-radius: var(--arac-r-kucuk, 6px); background: var(--fmt-surface); color: inherit; font: inherit; }
.kt-gecmis { margin-top: 20px; }
.kt-eniyi { margin: 0 0 8px; font-weight: 700; }
.kt-tablo { width: 100%; border-collapse: collapse; font-size: .92rem; table-layout: fixed; }
.kt-tablo caption { margin-bottom: 6px; font-weight: 700; text-align: left; }
.kt-tablo th, .kt-tablo td { padding: 6px 8px; border-top: 1px solid var(--fmt-border); text-align: left; overflow-wrap: anywhere; }
.kt-tablo thead th { color: var(--fmt-muted); font-weight: 600; }
@media (max-width: 560px) {
    .kt-metin { font-size: 1.1rem; }
    .kt-ayarlar { gap: 10px 16px; }
    .kt-grup { gap: 8px 6px; }
    .kt-sec { min-height: 40px; padding: 0 10px; gap: 6px; }
    .kt-tablo { font-size: .8rem; }
    .kt-tablo th, .kt-tablo td { padding: 6px 4px; }
}
@media (prefers-reduced-motion: no-preference) {
    .kt-metin .kt-a { animation: kt-imlec 1s steps(1) infinite; }
    @keyframes kt-imlec { 50% { box-shadow: none; } }
}
@media (forced-colors: active) {
    .kt-metin .kt-y { outline: 1px solid CanvasText; }
    .kt-metin .kt-a { outline: 2px solid CanvasText; }
    .kt-sec:has(input:checked) { outline: 2px solid CanvasText; }
}
