/* ============ Tema değişkenleri (varsayılan: beyaz; koyu tema yalnızca kullanıcı seçerse) ============ */
:root {
  --bg: #fff; --surface: #fff; --ink: #14151a; --muted: #5d606b; --line: #e5e7eb;
  --soft: #f4f5f7; --mark: #ffd60a; --focus: #2f5bff; --tile: 12%; --hmix: #000 12%;
  --shadow: 0 1px 2px rgba(20,21,26,.05), 0 8px 24px -14px rgba(20,21,26,.14);
  --shadow-lg: 0 2px 4px rgba(20,21,26,.04), 0 24px 48px -20px rgba(20,21,26,.22);
  --r: 16px; --h: #14151a;
  color-scheme: light;
}
:root[data-theme=dark] {
  --bg: #0e0f13; --surface: #17191f; --ink: #f3f2ee; --muted: #a0a3af; --line: #272a33;
  --soft: #1d2027; --focus: #8aa2ff; --tile: 20%; --hmix: #fff 35%;
  --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 24px 48px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ============ Temel ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.ic { display: block; flex: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ============ Üst menü ============ */
.hd { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.hd-in { position: relative; display: flex; align-items: center; gap: 10px; height: 68px; }
.logo { display: inline-flex; align-items: center; color: var(--ink); margin-right: auto; }
.logo-svg { display: block; height: 34px; width: auto; }
.logo-svg .lm { stroke: transparent; }
:root[data-theme=dark] .logo-svg .lm { stroke: #32353f; }
.nav { display: none; align-items: center; gap: 2px; }
.nav > a, .dd > summary { display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px; border-radius: 10px; font-size: 15px; font-weight: 550; color: var(--muted); cursor: pointer; list-style: none; transition: color .15s, background .15s; }
.dd > summary::-webkit-details-marker, .mm > summary::-webkit-details-marker { display: none; }
.nav > a:hover, .dd > summary:hover, .dd[open] > summary { color: var(--ink); background: var(--soft); }
.dd > summary .ic { transition: transform .2s; }
.dd[open] > summary .ic { transform: rotate(180deg); }
.dd-p { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: min(760px, calc(100vw - 40px)); padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); }
.dd-p a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background .15s; }
.dd-p a:hover { background: var(--soft); }
.dd-p b, .mm-p b { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.25; }
.dd-p small { color: var(--muted); font-size: 13px; }
.theme, .mm > summary { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; list-style: none; transition: transform .15s, border-color .15s; }
.theme:hover, .mm > summary:hover { border-color: var(--muted); }
.theme:active { transform: scale(.94); }
.t-sun { display: none; }
:root[data-theme=dark] .t-sun { display: block; }
:root[data-theme=dark] .t-moon { display: none; }
.mm[open] > summary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mm-p { position: absolute; left: 0; right: 0; top: calc(100% + 1px); display: grid; gap: 2px; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; padding: 10px 14px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); overscroll-behavior: contain; }
.mm-p a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 12px; }
.mm-p a:active { background: var(--soft); }
.mm-p b { flex: 1; font-size: 15.5px; }
.mm-p small, .mm-all span { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.mm-all { justify-content: space-between; margin-bottom: 6px; padding: 13px 14px !important; background: var(--soft); font-weight: 700; }
@media (min-width: 980px) {
  .hd-in { height: 76px; gap: 12px; }
  .logo-svg { height: 38px; }
  .nav { display: flex; }
  .mm { display: none; }
      }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 56px 0 44px; text-align: center; }
.hero-bg { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 20%, transparent 75%); }
.hero-in { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb65d; box-shadow: 0 0 0 3px color-mix(in srgb, #2fb65d 22%, transparent); }
h1 { font-size: clamp(2.15rem, 6.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.hero h1 { max-width: 13.5em; margin: 22px auto 0; }
mark { background: var(--mark); color: #14151a; padding: 0 .14em; border-radius: .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.5; text-wrap: pretty; }
.hero .lead { max-width: 34em; margin: 18px auto 0; }

.search { position: relative; max-width: 680px; margin: 32px auto 0; }
.search input { width: 100%; height: 64px; padding: 0 60px 0 56px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); font: inherit; font-size: 17px; box-shadow: var(--shadow-lg); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: var(--shadow-lg), 0 0 0 4px color-mix(in srgb, var(--mark) 55%, transparent); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-kbd { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: none; min-width: 28px; padding: 3px 8px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 8px; background: var(--bg); color: var(--muted); font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (hover: hover) and (min-width: 760px) { .search-kbd { display: block; } .search input:focus ~ .search-kbd { opacity: 0; } }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 720px; margin: 20px auto 0; }
.chips a { display: block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s, border-color .15s, background .15s; }
.chips a:hover { color: var(--ink); border-color: var(--ink); background: var(--surface); }

/* Hero kenarlarındaki süs ikonları */
.floats { display: none; }
@media (min-width: 1180px) {
  .floats { display: block; position: absolute; inset: 0; max-width: 1320px; margin: 0 auto; pointer-events: none; }
  .float { position: absolute; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: color-mix(in srgb, var(--h), var(--hmix)); box-shadow: var(--shadow-lg); animation: bob 7s ease-in-out infinite; }
  .f1 { left: 4%; top: 17%; --rot: -9deg; }
  .f2 { left: 12%; top: 46%; --rot: 7deg; animation-delay: -2s; }
  .f3 { left: 3%; top: 70%; --rot: -5deg; animation-delay: -4s; }
  .f4 { left: 17%; top: 80%; --rot: 10deg; animation-delay: -1s; width: 50px; height: 50px; border-radius: 15px; }
  .f5 { right: 4%; top: 15%; --rot: 8deg; animation-delay: -3s; }
  .f6 { right: 12.5%; top: 44%; --rot: -7deg; animation-delay: -5s; }
  .f7 { right: 3%; top: 68%; --rot: 6deg; animation-delay: -1.5s; }
  .f8 { right: 17%; top: 80%; --rot: -10deg; animation-delay: -3.5s; width: 50px; height: 50px; border-radius: 15px; }
}
@keyframes bob { 0%, 100% { transform: rotate(var(--rot)) translateY(0); } 50% { transform: rotate(var(--rot)) translateY(-9px); } }

/* ============ Bölümler ============ */
.sec { padding-top: 56px; }
.sec-tight { padding-top: 28px; }
.sec-hd { margin-bottom: 20px; }
.sec-hd h2, .about h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 750; }
.sec-hd p { margin-top: 5px; color: var(--muted); font-size: 15.5px; }
.sec-hd-row { display: flex; align-items: center; gap: 14px; }
.sec-hd-row > div { flex: 1; min-width: 0; }
.sec-hd h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.more { display: none; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .15s, gap .15s; }
.more:hover { border-color: var(--ink); gap: 9px; }
@media (min-width: 560px) { .more { display: inline-flex; } }

.tile { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--h) var(--tile), transparent); color: color-mix(in srgb, var(--h), var(--hmix)); }
.tile-lg { width: 48px; height: 48px; border-radius: 14px; }
.tile-xl { width: 64px; height: 64px; border-radius: 19px; }

/* Kategori kartları */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat { display: flex; flex-direction: column; gap: 3px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: transform .18s, border-color .18s, box-shadow .18s; }
.cat .tile { margin-bottom: 12px; transition: background .18s, color .18s; }
.cat-name { font-weight: 650; font-size: 15.5px; letter-spacing: -.01em; line-height: 1.25; }
.cat-n { color: var(--muted); font-size: 13.5px; }
.cat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--h) 55%, var(--line)); box-shadow: var(--shadow-lg); }
.cat:hover .tile { background: var(--h); color: #fff; }
@media (min-width: 600px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1140px) { .cats { grid-template-columns: repeat(6, 1fr); } }

/* Araç kartları */
.grid { display: grid; gap: 12px; }
.cat, .tool, .feat, .faq { box-shadow: var(--shadow); }
.tool { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: transform .18s, border-color .18s, box-shadow .18s; }
.tool-body { display: block; flex: 1; min-width: 0; }
.tool-name { font-size: 16px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.tool-desc { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.tool-go { align-self: center; color: var(--muted); opacity: .55; transition: transform .18s, opacity .18s, color .18s; }
.tool:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--h) 55%, var(--line)); box-shadow: var(--shadow-lg); }
.tool:hover .tool-go { opacity: 1; color: color-mix(in srgb, var(--h), var(--hmix)); transform: translateX(3px); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .tool { flex-direction: column; padding: 18px; }
  .tool-go { position: absolute; top: 20px; right: 18px; opacity: 0; }
}
@media (min-width: 1140px) { .grid { grid-template-columns: repeat(5, 1fr); } }

/* Arama durumu */
.searching .no-search { display: none; }
.searching .cat-sec { padding-top: 32px; }
.result-info { padding-top: 4px; color: var(--muted); font-weight: 500; text-align: center; }
.empty { padding-top: 20px; padding-bottom: 60px; text-align: center; color: var(--muted); }
.empty-t { color: var(--ink); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; padding: 11px 20px; border: 0; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; transition: transform .15s, opacity .15s; }
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.97); }
.btn.alt { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.empty .btn, .soon .btn, .nf .btn { margin-top: 18px; }

/* Özellikler */
.feats { display: grid; gap: 12px; }
.feat { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.feat-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 13px; background: var(--mark); color: #14151a; }
.feat h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.feat p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (min-width: 600px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feats { grid-template-columns: repeat(4, 1fr); } }

/* SSS */
.faq { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.faq summary:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.faq-ic { flex: none; color: var(--muted); transition: transform .2s; }
.faq details[open] .faq-ic { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; max-width: 70ch; color: var(--muted); }

/* Kaydırılabilir, ortalı SEO metni */
.seo { padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); text-align: center; overflow: hidden; }
.seo-in { max-height: 320px; overflow-y: auto; padding: 28px clamp(18px, 5vw, 64px) 32px; overscroll-behavior: contain; scrollbar-width: thin; }
.seo h2 { font-size: clamp(1.2rem, 2.6vw, 1.45rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 750; }
.seo h3 { margin-top: 22px; font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; }
.seo p, .seo li { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.seo ol, .seo ul { margin: 0; padding: 0; list-style: none; }
.seo ol { counter-reset: s; }
.seo ol li { counter-increment: s; }
.seo ol li::before { content: counter(s) ". "; font-weight: 700; color: var(--ink); }
.seo a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.seo a:hover { background: var(--mark); color: #14151a; }
.seo strong { color: var(--ink); font-weight: 650; }

/* ============ İç sayfalar ============ */
.page-hd { padding-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span:not([aria-current]) { opacity: .5; }
.page-ttl { display: flex; align-items: flex-start; gap: 18px; margin-top: 22px; }
.page-ttl h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.page-ttl .lead { margin-top: 10px; max-width: 46em; }
.tool-box { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); }
.soon { padding: 28px 0; text-align: center; color: var(--muted); }
.soon-t { color: var(--ink); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.nf { padding-top: 72px; text-align: center; }
.nf .lead { max-width: 32em; margin: 14px auto 0; }
.nf-code { display: inline-block; margin-bottom: 14px; padding: 4px 14px; border-radius: 99px; background: var(--mark); color: #14151a; font-weight: 800; }
@media (max-width: 560px) { .page-ttl .tile-xl { width: 52px; height: 52px; border-radius: 16px; } }

.page-h1 { margin-top: 20px; font-size: clamp(2rem, 5vw, 3rem); }
.prose { max-width: 780px; font-size: 16.5px; line-height: 1.7; }
.prose h2 { margin-top: 32px; font-size: 1.3rem; letter-spacing: -.02em; font-weight: 750; }
.prose p, .prose ul { margin-top: 12px; color: var(--muted); }
.prose ul { padding-left: 20px; list-style: disc; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .mail { margin-top: 20px; }

/* ============ Araç arayüzü ============ */
.t { display: grid; gap: 18px; min-width: 0; }
.t > * { min-width: 0; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); align-items: end; }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.f input, .f select, .f textarea, .inp { width: 100%; min-width: 0; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.f textarea { height: auto; min-height: 170px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus, .inp:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mark) 50%, transparent); }
.f input[type=color] { padding: 4px; cursor: pointer; }
.f input[type=range] { height: 28px; padding: 0; border: 0; accent-color: var(--ink); box-shadow: none; }
.mono, .f textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
.ck { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; cursor: pointer; }
.ck input { width: 19px; height: 19px; accent-color: var(--ink); }
.cks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.outs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.o { display: grid; gap: 4px; align-content: start; padding: 15px 16px; border-radius: 14px; background: var(--soft); min-width: 0; }
.o span { color: var(--muted); font-size: 13.5px; }
.o b { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.o.hl { background: color-mix(in srgb, var(--h) 13%, var(--bg)); }
.o.hl b { font-size: 26px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.acts.mid { justify-content: center; }
.note { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.err { color: #d93036; font-weight: 600; font-size: 14.5px; }
.big { font-size: clamp(2.3rem, 9vw, 4.6rem); line-height: 1.05; font-weight: 800; letter-spacing: -.04em; text-align: center; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mid { text-align: center; }
.drop { display: grid; gap: 6px; place-items: center; padding: 38px 18px; border: 2px dashed color-mix(in srgb, var(--h) 45%, var(--line)); border-radius: 18px; background: color-mix(in srgb, var(--h) 5%, var(--bg)); text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.drop:hover, .drop.on { border-color: var(--h); background: color-mix(in srgb, var(--h) 11%, var(--bg)); }
.drop b { font-size: 17px; }
.drop span { color: var(--muted); font-size: 14px; }
.files { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.files li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; min-width: 0; }
.files li > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files button, .ib { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); font-weight: 700; }
.files button:hover, .ib:hover { border-color: var(--ink); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 13px; background: var(--soft); }
.seg button { padding: 9px 15px; border: 0; border-radius: 10px; background: transparent; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--bg); color: var(--ink); box-shadow: var(--shadow); }
.pre { margin: 0; padding: 14px; border-radius: 12px; background: var(--soft); font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; }
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tw table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tw th, .tw td { padding: 10px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tw th { background: var(--soft); font-weight: 650; }
.tw tr:last-child td { border-bottom: 0; }
.tw td:first-child, .tw th:first-child { text-align: left; }
.prev { display: block; max-width: 100%; max-height: 420px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); background: repeating-conic-gradient(var(--soft) 0 25%, var(--bg) 0 50%) 0 0 / 18px 18px; }
.thumbs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.thumbs figure { margin: 0; display: grid; gap: 6px; font-size: 13px; text-align: center; color: var(--muted); }
.thumbs img { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.thumbs a { font-weight: 600; color: var(--ink); text-decoration: underline; }
.crop { position: relative; width: 100%; max-width: 420px; margin: 0 auto; overflow: hidden; border-radius: 14px; background: var(--soft); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.crop:active { cursor: grabbing; }
.crop canvas { display: block; width: 100%; height: 100%; }
.del { background: color-mix(in srgb, #e5484d 18%, transparent); text-decoration: line-through; }
.ins { background: color-mix(in srgb, #2f9e5b 20%, transparent); }
.hit { background: var(--mark); color: #14151a; border-radius: 3px; }
.game { display: grid; gap: 16px; justify-items: center; }
.game canvas { max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); touch-action: none; }
.score { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.score div { min-width: 96px; padding: 9px 14px; border-radius: 12px; background: var(--soft); text-align: center; font-size: 13px; color: var(--muted); }
.score b { display: block; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pad { display: grid; grid-template-columns: repeat(3, 56px); gap: 6px; justify-content: center; }
.pad button { height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 20px; }
.pad button:active { background: var(--soft); }
.board { display: grid; gap: 6px; width: 100%; margin: 0 auto; touch-action: manipulation; }
.board button { aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); font-weight: 800; font-size: clamp(14px, 4.5vw, 26px); line-height: 1; color: var(--ink); }
.board button.open { background: var(--bg); }
.stage { display: grid; place-items: center; min-height: 240px; padding: 24px; border-radius: 18px; background: var(--soft); text-align: center; font-size: 1.3rem; font-weight: 700; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: background .1s; }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 520px; margin: 0 auto; }
.keys button { width: 40px; height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); font-weight: 700; font-size: 16px; }
.keys button[disabled] { opacity: .3; }

/* ============ Alt bilgi ============ */
.ft { margin-top: 88px; padding: 56px 0 26px; background: #14151a; color: #a3a6b1; font-size: 15px; }
:root[data-theme=dark] .ft { background: #08090c; border-top: 1px solid var(--line); }
.ft .logo { color: #fff; }
.ft .logo-svg { height: 36px; }
.ft .logo-svg .lm { stroke: #353843; }
.ft-top { display: grid; gap: 36px 28px; grid-template-columns: 1fr 1fr; }
.ft-brand, .ft-wide { grid-column: 1 / -1; }
.ft-brand p { max-width: 34em; margin-top: 16px; line-height: 1.6; }
.ft-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ft-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border: 1px solid #2c2f39; border-radius: 99px; color: #e6e6e1; font-size: 13.5px; font-weight: 550; }
.ft-badges .ic { color: var(--mark); }
.ft-h { margin-bottom: 14px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ft-col ul { display: grid; gap: 10px; }
.ft-wide ul { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.ft-col a { color: #a3a6b1; transition: color .15s; }
.ft-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #272a33; font-size: 14px; }
@media (min-width: 900px) {
  .ft-top { grid-template-columns: 1.5fr 1.5fr 1fr .8fr; gap: 40px; }
  .ft-brand, .ft-wide { grid-column: auto; }
}

.searching .chips { display: none; }
.searching .hero { padding-bottom: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
