/* Kaen Studio — kömür siyahı zemin, ateş kırmızısı vurgu. Düzen: 1280px konteyner, bölümler ince çizgilerle ayrılır. */
:root {
  --bg: #0A0605;
  --s1: #120B09;
  --s2: #1A100D;
  --bd: #2A1915;
  --bd2: #3D241D;
  --tx: #F7EDE8;
  --t2: #C9B3AA;
  --t3: #A38D84;
  --red: #FF3B1F;
  --red-soft: #FF6A4D;
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --fire: linear-gradient(180deg, #FFE08A 0%, #FF7A2E 38%, #FF3B1F 62%, #B3140F 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; }
a { color: var(--tx); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1280px; margin: 0 auto; padding-inline: 48px; }
.fire-text { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: var(--red-soft);
}
.eyebrow svg { width: 10px; height: 13px; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px var(--font-body); padding: 16px 28px; border-radius: 999px;
  border: 1px solid var(--bd2); background: transparent; color: var(--tx); cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s, border-color .2s;
}
.btn:hover { border-color: var(--red); color: var(--tx); }
.btn-fire { background: var(--red); border-color: var(--red); color: var(--bg); box-shadow: 0 10px 34px -8px rgba(255,59,31,.7); }
.btn-fire:hover { background: #FF5A3A; color: var(--bg); transform: translateY(-2px); box-shadow: 0 16px 44px -8px rgba(255,59,31,.85); }
.btn svg { width: 12px; height: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,6,5,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--bd); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 30px; height: 30px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-story { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--red); color: #FFD9CF; }
.nav-story svg { width: 11px; height: 14px; }
.nav-story:hover { background: rgba(255,59,31,.12); color: #fff; }
.nav .btn { padding: 10px 20px; font-size: 15px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--bd2); background: transparent; color: var(--tx); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 18px; height: 18px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-block: 40px 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; }
.hero-lead { font-size: 19px; color: var(--t2); max-width: 34em; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.flame-stage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 400 / 520; margin-inline: auto; }
.flame-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.flame-stage .flame-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.flame-stage.gl-on .flame-fallback { display: none; }
.flame-stage::before { content: ""; position: absolute; inset: 8% -10% 0; background: radial-gradient(closest-side at 50% 62%, rgba(255,30,10,.38), transparent); filter: blur(10px); animation: pulse 2.6s ease-in-out infinite; pointer-events: none; }

/* Stats */
.stats { border-block: 1px solid var(--bd); background: var(--s1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 32px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1.2; }
.stat span { font-size: 14px; color: var(--t3); }

/* Sections */
.section { padding-block: 104px 40px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { font: 600 14px var(--font-body); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--bd2); background: transparent; color: var(--tx); cursor: pointer; transition: all .2s; }
.chip-btn:hover { border-color: var(--red); }
.chip-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--bg); }

/* Project cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: var(--s1); border: 1px solid var(--bd); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: var(--tx); transition: border-color .25s, box-shadow .25s, transform .25s; }
a.card:hover { color: var(--tx); border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 24px 60px -24px rgba(255,59,31,.55); transform: translateY(-4px); }
.card[hidden] { display: none; }
.card-thumb { position: relative; overflow: hidden; height: 180px; background: radial-gradient(120% 90% at 50% 120%, #3A0F08 0%, var(--s1) 60%); display: flex; align-items: flex-end; justify-content: space-between; padding: 0 22px 14px; border-bottom: 1px solid var(--bd); }
.card-thumb.has-img { padding: 12px 14px; }
.card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
a.card:hover .card-thumb img { transform: scale(1.06); }
.card-thumb .no { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 13px; color: var(--t3); padding-bottom: 6px; }
.card-thumb.has-img .no { background: rgba(10,6,5,.82); color: var(--tx); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--bd2); backdrop-filter: blur(6px); }
.card-thumb svg { position: relative; z-index: 1; width: 96px; height: 124px; filter: drop-shadow(0 0 16px var(--c)); transition: transform .3s; }
a.card:hover .card-thumb svg { transform: scale(1.08); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--t3); }
.card h3 { font-size: 19px; }
.card p { font-size: 14px; line-height: 1.55; color: var(--t2); }
.card-cta { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--red-soft); }
.pill { font: 700 12px var(--font-body); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.live { background: #13301F; color: #6BE3A4; }
.pill.dev { background: #3A2A10; color: #F5C451; }
.pill.soon { background: #24191A; color: var(--t2); }

/* Mini flames */
.mini-flame .o, .mini-flame .i { transform-box: fill-box; }
.mini-flame .o { transform-origin: 50% 95%; animation: flick 1.6s ease-in-out infinite; }
.mini-flame .i { transform-origin: 50% 95%; animation: flick 1.1s ease-in-out infinite reverse; }

/* Contact */
.contact { position: relative; margin-top: 64px; border-top: 1px solid var(--bd); background: radial-gradient(70% 110% at 50% 135%, #8A1008 0%, #2E0805 45%, var(--bg) 75%); overflow: hidden; }
.contact .embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contact-inner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; padding-block: 112px 80px; }
.contact-copy { display: flex; flex-direction: column; gap: 22px; }
.contact-copy h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.contact-copy p { font-size: 18px; color: var(--t2); max-width: 26em; }
.form { background: rgba(18,11,9,.82); border: 1px solid var(--bd2); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 100px -40px rgba(255,59,31,.55); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--t2); }
.field input, .field select, .field textarea { width: 100%; background: var(--s1); border: 1px solid var(--bd2); border-radius: 12px; color: var(--tx); font: 500 16px var(--font-body); padding: 15px 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #8C766E; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,59,31,.25); }
.field-error { font-size: 13px; font-weight: 500; color: #FF8A73; min-height: 0; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { font-size: 13px; color: var(--t3); }
.form-status { font-size: 15px; font-weight: 600; padding: 14px 16px; border-radius: 12px; }
.form-status.ok { background: #13301F; color: #6BE3A4; }
.form-status.err { background: #3A1410; color: #FF8A73; }
.hp { position: absolute; left: -9999px; }

.footer-bar { position: relative; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 28px 40px; border-top: 1px solid var(--bd2); font-size: 14px; color: var(--t2); }
.footer-bar nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-bar a { color: var(--t2); }

/* Story page */
.story-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-block: 16px 40px; }
.story-hero .flame-stage { max-width: 340px; }
.story-hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; }
.story-hero p { font-size: 20px; color: var(--t2); max-width: 30em; }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-block: 64px; }
.stage { display: flex; flex-direction: column; gap: 18px; padding: 36px 32px; border: 1px solid var(--bd); border-radius: 20px; background: var(--s1); }
.stage.hot { border-color: var(--red); background: radial-gradient(100% 100% at 50% 120%, #4A0B06 0%, var(--s1) 70%); }
.stage-flame { height: 150px; display: flex; align-items: flex-end; }
.stage-flame svg { filter: drop-shadow(0 0 14px rgba(255,59,31,.8)); }
.stage .no { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: var(--red-soft); }
.stage h3 { font-size: 28px; }
.stage p { color: var(--t2); line-height: 1.7; }
.quote { position: relative; margin-top: 48px; border-block: 1px solid var(--bd); background: radial-gradient(60% 140% at 50% 120%, #5A0D07 0%, #1A0705 55%, var(--bg) 85%); overflow: hidden; }
.quote .embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.quote figure { position: relative; max-width: 1080px; margin: 0 auto; padding: 120px 48px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4vw, 52px); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.quote figcaption { color: var(--t2); }
.forge { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; padding-block: 104px; }
.forge-copy { display: flex; flex-direction: column; gap: 18px; }
.forge-copy h2 { font-size: clamp(26px, 3vw, 36px); }
.forge-copy p { color: var(--t2); font-size: 17px; }
.forge ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bd); }
.forge li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--bd); }
.forge li b { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.forge li span { font-size: 14px; color: var(--t3); }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 48px; margin-bottom: 120px; border-radius: 24px; border: 1px solid var(--red); background: radial-gradient(80% 160% at 100% 100%, #5A0D07 0%, var(--s1) 60%); box-shadow: 0 40px 100px -50px rgba(255,59,31,.8); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: var(--t2); font-size: 17px; margin-top: 10px; }

/* Project page */
.crumbs { font-size: 14px; color: var(--t3); display: flex; gap: 8px; padding-top: 32px; }
.crumbs a { color: var(--t3); }
.p-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 40px 48px; }
.p-head > div { display: flex; flex-direction: column; gap: 18px; flex: 1 1 560px; min-width: 0; }
.p-head h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.p-head p { font-size: 20px; color: var(--t2); max-width: 32em; }
.showcase { position: relative; background: radial-gradient(80% 90% at 50% 120%, #5A0D07 0%, #1E0906 50%, var(--s1) 80%); border: 1px solid var(--bd); border-radius: 20px; min-height: 540px; display: flex; align-items: center; justify-content: center; gap: 40px; padding: 40px; flex-wrap: wrap; overflow: hidden; }
.showcase .embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phone { position: relative; width: 220px; height: 440px; border-radius: 32px; border: 1px solid var(--bd2); background: var(--s2); display: flex; align-items: center; justify-content: center; color: var(--t3); font-size: 14px; text-align: center; padding: 16px; overflow: hidden; }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone.main { width: 240px; height: 480px; border-color: var(--red); color: var(--tx); box-shadow: 0 30px 80px -30px rgba(255,59,31,.7); }
.p-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; padding-block: 64px; }
.p-body h2 { font-size: 26px; margin-bottom: 20px; }
.p-body p { font-size: 17px; line-height: 1.7; color: var(--t2); max-width: 38em; margin-bottom: 16px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--bd); align-self: start; }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--bd); }
.facts dt { font-size: 13px; color: var(--t3); }
.facts dd { margin: 6px 0 0; font-size: 16px; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--bd); padding-block: 48px 72px; }
.next small { display: block; font-size: 14px; color: var(--t3); margin-bottom: 8px; }
.next b { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 600; }
.next .arrow { font-size: 28px; color: var(--red); }

/* Reveal on scroll: content is visible by default; JS adds a gentle rise only when motion is allowed */
.reveal.pending { opacity: 0; transform: translateY(24px); }
.reveal { transition: opacity .8s ease, transform .8s ease; }

@keyframes flick { 0%,100% { transform: scale(1,1) skewX(0); } 25% { transform: scale(.97,1.04) skewX(1.4deg); } 50% { transform: scale(1.03,.97) skewX(-1.2deg); } 75% { transform: scale(.99,1.02) skewX(.6deg); } }
@keyframes pulse { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

/* Responsive */
@media (max-width: 960px) {
  .container { padding-inline: 24px; }
  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .hero .flame-stage { order: -1; max-width: 250px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner, .forge, .p-body { grid-template-columns: 1fr; gap: 40px; }
  .stages { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: rgba(10,6,5,.97); border-bottom: 1px solid var(--bd); display: none; }
  .nav.open { display: flex; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--bd); }
  .nav .nav-story, .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 1px solid var(--red); }
}
@media (max-width: 560px) {
  .form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding-top: 72px; }
  .contact-inner { padding-block: 72px 56px; }
  .cta-band { padding: 32px 24px; }
  .quote figure { padding: 80px 24px; }
  .showcase { min-height: 0; }
  .phone { width: 180px; height: 360px; }
  .phone.main { width: 200px; height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Keşifler */
.kesif-hero { display: flex; flex-direction: column; gap: 18px; padding-block: 48px 32px; }
.kesif-hero h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; }
.kesif-hero > p { font-size: 18px; color: var(--t2); max-width: 42em; }
.kesif-toolbar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.kesif-toolbar .field { max-width: 480px; }
.kesif-no { font-family: var(--font-mono); font-size: 13px; color: var(--red-soft); }
.pill.replaces { background: var(--s2); border: 1px solid var(--bd2); color: var(--red-soft); align-self: flex-start; }
.kesif-cats { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--t3); }
.kesif-cats span { background: var(--bg); border: 1px solid var(--bd); padding: 2px 8px; border-radius: 6px; }
.kesif-info { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--t2); font-family: var(--font-mono); }
.kesif-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.kesif-actions .btn { padding: 10px 18px; font-size: 14px; }
.kesif-link { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--t3); }
.kesif-empty { padding: 48px 24px; text-align: center; color: var(--t2); border: 1px dashed var(--bd2); border-radius: 16px; }
.kesif-single { max-width: 760px; margin: 0 auto; padding-block: 32px 72px; display: flex; flex-direction: column; gap: 24px; }
.kesif-back { font-size: 14px; font-weight: 600; color: var(--t2); align-self: flex-start; }
.kesif-single .card-body { padding: 32px; gap: 16px; }
.kesif-single .card h1, .kesif-single .card h3 { font-size: clamp(28px, 4vw, 42px); }
.kesif-single .card p { font-size: 17px; line-height: 1.65; }
.kesif-single .kesif-link { display: none; }
.kesif-stage { position: relative; overflow: hidden; }
.kesif-stage > .embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kesif-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--bd); }
.kesif-nav a { font-size: 14px; font-weight: 600; color: var(--t2); }
.kesif-nav a:hover { color: var(--red); }
.kesif-meta-r { display: inline-flex; align-items: center; gap: 10px; }
[hidden] { display: none !important; }
.kesif-gh { color: var(--t2); display: inline-flex; align-items: center; }
.kesif-gh:hover { color: var(--red); }
.kesif-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.k-head { display: flex; flex-direction: column; gap: 12px; padding-block: 36px 20px; }
.k-head h1 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.1; }
.k-head > p { font-size: 17px; color: var(--t2); max-width: 48em; }
.k-priv { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-family: var(--font-mono); color: var(--t3); }
.k-priv svg { width: 15px; height: 15px; color: var(--red-soft); flex-shrink: 0; }
.k-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.k-bar .btn { padding: 11px 20px; font-size: 14px; }
.k-box { position: relative; background: var(--s1); border: 1px solid var(--bd2); border-radius: 18px; overflow: hidden; }
.k-ex { height: calc(100vh - 140px); min-height: 520px; width: 100%; }
.k-load { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 36px 20px; color: var(--t2); font-weight: 600; }
.k-load svg { width: 28px; height: 36px; flex-shrink: 0; }
.k-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 24px; text-align: center; border: 2px dashed var(--bd2); border-radius: 16px; margin: 20px; transition: border-color .2s, background .2s; cursor: pointer; }
.k-drop.over, .k-drop:hover { border-color: var(--red); background: var(--s2); }
.k-drop p { color: var(--t2); font-size: 15px; }
.k-drop small { color: var(--t3); font-size: 13px; }
.k-warn { margin: 12px 20px 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--bd2); background: var(--s2); color: var(--t2); font-size: 13px; }
.k-err { margin: 12px 20px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--red); background: var(--s2); color: var(--red-soft); font-size: 14px; font-weight: 600; }
.k-cmp { position: relative; max-width: 100%; margin: 20px auto; user-select: none; touch-action: pan-y; overflow: hidden; border-radius: 12px; border: 1px solid var(--bd); background: repeating-conic-gradient(var(--s2) 0 25%, var(--s1) 0 50%) 50% / 20px 20px; }
.k-cmp img { display: block; width: 100%; height: auto; max-height: 68vh; object-fit: contain; pointer-events: none; }
.k-cmp-before { position: absolute; inset: 0; overflow: hidden; }
.k-cmp-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); transform: translateX(-50%); cursor: ew-resize; }
.k-cmp-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 999px; background: var(--red); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; border: 2px solid var(--tx); }
.k-cmp-tag { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--bd2); color: var(--tx); font-size: 12px; font-weight: 600; pointer-events: none; }
.k-cmp-tag.l { left: 12px; }
.k-cmp-tag.r { right: 12px; }
.k-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 20px 48px; border-bottom: 1px solid var(--bd); font-size: 14px; color: var(--t2); }
.k-foot a { color: var(--red-soft); font-weight: 600; }
.k-more { padding-block: 48px 80px; }
.k-more h2 { font-size: 24px; margin-bottom: 24px; }
@media (max-width: 760px) { .k-ex { height: 75vh; min-height: 420px; } .k-drop { margin: 12px; padding: 36px 16px; } }

/* Araç sayfaları: ortak düzen (yalnızca tema değişkenleri) */
.k-pad { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.k-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.k-row > .field { flex: 1 1 160px; min-width: 0; }
.k-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.k-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.k-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--bd); border-radius: 12px; background: var(--bg); font-size: 14px; }
.k-list li b { font-weight: 600; word-break: break-all; }
.k-list .btn { padding: 8px 14px; font-size: 13px; }
.k-preview { display: flex; align-items: center; justify-content: center; min-height: 240px; padding: 14px; border-radius: 12px; border: 1px solid var(--bd); overflow: auto; background: repeating-conic-gradient(var(--s2) 0 25%, var(--s1) 0 50%) 50% / 20px 20px; }
.k-preview img, .k-preview svg, .k-preview video, .k-preview canvas { max-width: 100%; height: auto; display: block; }
.k-stat { font-family: var(--font-mono); font-size: 13px; color: var(--t3); }
.k-good { color: var(--red-soft); font-weight: 700; }
.k-range { width: 100%; accent-color: var(--red); }
.k-wave { padding: 12px; background: var(--bg); border: 1px solid var(--bd); border-radius: 12px; }
.k-mono { font-family: var(--font-mono) !important; font-size: 14px !important; line-height: 1.6 !important; }
.k-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.k-time { font-family: var(--font-mono); font-size: 32px; color: var(--tx); }
@media (max-width: 760px) { .k-cols { grid-template-columns: 1fr; } }
.field input[type="color"] { height: 48px; padding: 4px; cursor: pointer; }
