/*
 * ManamoPDF arayüz teması "Gece Stüdyosu" (gündüz + gece).
 * style.css'ten SONRA yüklenir. Tokenları (tema.css) iki mod için yeniden tanımlar,
 * sol şerit, üst arama, ana sayfa ve araç sayfası düzenini ekler.
 * Sayfalardaki yapı seo/tema1-uygula.mjs ile eklenir; t1.js davranışları bağlar.
 */

/* ---------- Tokenlar: gündüz ---------- */
:root {
  --bg: #f4f5f9;
  --surface: #ffffff;
  --text: #141821;
  --text-muted: #555d70;
  --accent: #d6402a;
  --accent-fg: #ffffff;
  --focus: #d6402a;
  --border: #e1e4ec;
  --control-border: #8a91a3;
  --err: #b3261e;
  --ok: #157a52;
  --warn-bg: #fff4d6;
  --warn-fg: #5e4300;
  --info-bg: #eef0ff;
  --info-fg: #2c2a7a;
  --preview-bg: #eceef4;
  --preview-frame: #8a91a3;
  --t1-s2: #f0f2f7;
  --t1-rail: #ffffff;
  --t1-head: rgba(244, 245, 249, 0.82);
  --t1-hi: #141821;
  --t1-sub: #3a4152;
  --t1-glow1: rgba(124, 108, 255, 0.10);
  --t1-glow2: rgba(255, 90, 60, 0.08);
  --t1-card-shadow: 0 18px 40px -28px rgba(20, 24, 33, 0.35);
  --t1-pill-fg: #0f6b4c;
  --t1-pill-bg: rgba(18, 167, 127, 0.10);
  --t1-pill-bd: rgba(18, 167, 127, 0.30);
  --t1-safe-fg: #2f4a5a;
  --t1-drop-in: linear-gradient(180deg, #ffffff, #fbfbfe);
  --t1-on: linear-gradient(145deg, rgba(255, 90, 60, 0.14), rgba(124, 108, 255, 0.12));
  color-scheme: light;
}

/* ---------- Tokenlar: gece ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0f14;
    --surface: #141821;
    --text: #eef0f5;
    --text-muted: #9aa2b5;
    --accent: #ff7a5c;
    --accent-fg: #ffffff;
    --focus: #ff8a6b;
    --border: #252b38;
    --control-border: #59627a;
    --err: #ff8a80;
    --ok: #3fd39d;
    --warn-bg: #2e2516;
    --warn-fg: #ffd58a;
    --info-bg: #1b1f33;
    --info-fg: #c9ceff;
    --preview-bg: #1a1f2b;
    --preview-frame: #59627a;
    --t1-s2: #1a1f2b;
    --t1-rail: #0a0c10;
    --t1-head: rgba(13, 15, 20, 0.78);
    --t1-hi: #ffffff;
    --t1-sub: #cfd3de;
    --t1-glow1: rgba(124, 108, 255, 0.18);
    --t1-glow2: rgba(255, 90, 60, 0.14);
    --t1-card-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.85);
    --t1-pill-fg: #9fe3c6;
    --t1-pill-bg: rgba(33, 161, 121, 0.12);
    --t1-pill-bd: rgba(33, 161, 121, 0.30);
    --t1-safe-fg: #b9c2d4;
    --t1-drop-in: linear-gradient(180deg, #151924, #11141c);
    --t1-on: linear-gradient(145deg, rgba(255, 90, 60, 0.22), rgba(124, 108, 255, 0.18));
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0f14;
  --surface: #141821;
  --text: #eef0f5;
  --text-muted: #9aa2b5;
  --accent: #ff7a5c;
  --accent-fg: #ffffff;
  --focus: #ff8a6b;
  --border: #252b38;
  --control-border: #59627a;
  --err: #ff8a80;
  --ok: #3fd39d;
  --warn-bg: #2e2516;
  --warn-fg: #ffd58a;
  --info-bg: #1b1f33;
  --info-fg: #c9ceff;
  --preview-bg: #1a1f2b;
  --preview-frame: #59627a;
  --t1-s2: #1a1f2b;
  --t1-rail: #0a0c10;
  --t1-head: rgba(13, 15, 20, 0.78);
  --t1-hi: #ffffff;
  --t1-sub: #cfd3de;
  --t1-glow1: rgba(124, 108, 255, 0.18);
  --t1-glow2: rgba(255, 90, 60, 0.14);
  --t1-card-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.85);
  --t1-pill-fg: #9fe3c6;
  --t1-pill-bg: rgba(33, 161, 121, 0.12);
  --t1-pill-bd: rgba(33, 161, 121, 0.30);
  --t1-safe-fg: #b9c2d4;
  --t1-drop-in: linear-gradient(180deg, #151924, #11141c);
  --t1-on: linear-gradient(145deg, rgba(255, 90, 60, 0.22), rgba(124, 108, 255, 0.18));
  color-scheme: dark;
}

/* ---------- Genel ---------- */
:root { --t1-ready: "Dosyanız hazır · değiştirmek için tıklayın"; }
:root:lang(en) { --t1-ready: "File ready · click to change"; }
:root:lang(de) { --t1-ready: "Datei bereit · zum Ändern klicken"; }
:root:lang(es) { --t1-ready: "Archivo listo · haz clic para cambiarlo"; }
:root:lang(fr) { --t1-ready: "Fichier prêt · cliquez pour le changer"; }
:root:lang(it) { --t1-ready: "File pronto · clicca per cambiarlo"; }
:root:lang(id) { --t1-ready: "File siap · klik untuk mengganti"; }
html.t1 body { position: relative; padding-left: 76px; min-height: 100vh; }
html.t1 body::before, html.t1 body::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
html.t1 body::before { width: min(900px, 100%); height: 900px; right: 0; top: -460px; background: radial-gradient(circle, var(--t1-glow1), transparent 60%); }
html.t1 body::after { width: min(800px, 100%); height: 800px; left: 0; top: -420px; background: radial-gradient(circle, var(--t1-glow2), transparent 60%); }
html.t1 body { overflow-x: hidden; }
.t1-i { width: 20px; height: 20px; flex: none; }

/* ---------- Sol şerit ---------- */
html.t1 .t1-rail { position: fixed; left: 0; top: 0; bottom: 0; width: 76px; z-index: 30; background: var(--t1-rail); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; padding: 18px 0; gap: 6px; }
.t1-rail .t1-logo { display: block; margin-bottom: 18px; line-height: 0; }
.t1-rail .t1-logo img { width: 30px; height: 33px; }
.t1-rail a:not(.t1-logo), .t1-rail button { width: 48px; height: 48px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 14px; display: grid; place-items: center; color: var(--text-muted); background: transparent; position: relative; cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s; }
.t1-rail a:not(.t1-logo):hover, .t1-rail button:hover { background: var(--t1-s2); color: var(--t1-hi); }
.t1-rail a.on { background: var(--t1-on); color: var(--t1-hi); }
.t1-rail a.on::before { content: ""; position: absolute; left: -14px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: #ff5a3c; }
.t1-rail .t1-bot { margin-top: auto; }
.t1-rail .t1-soon-dot { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #ffb547; }
.t1-rail a:focus-visible, .t1-rail button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Üst çubuk ---------- */
html.t1 .site-header { background: transparent; border: 0; position: relative; z-index: 20; }
@media (min-width: 761px) {
  html.t1 .site-header { position: sticky; top: 0; background: var(--t1-head); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
  html.t1 .site-header > .container { padding-top: 6px; padding-bottom: 6px; }
}
html.t1 .site-header > .container { max-width: 1500px; margin: 0 auto; padding: 0 36px; }
html.t1 .brand-row { gap: 18px; min-height: 76px; padding: 14px 0 6px; flex-wrap: nowrap; }
html.t1 .brand { flex: none; }
html.t1 .lang-links { flex: none; }
.t1-search { position: relative; flex: 1; max-width: 720px; margin: 0 auto; }
.t1-search label { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 14px 0 16px; color: var(--text-muted); box-shadow: var(--t1-card-shadow); }
.t1-search label:focus-within { border-color: rgba(255, 106, 77, 0.6); box-shadow: 0 0 0 4px rgba(255, 90, 60, 0.12); }
.t1-search input { flex: 1; min-width: 0; min-height: 46px; margin: 0; padding: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 0.9375rem; }
.t1-search input::placeholder { color: var(--text-muted); opacity: 1; }
.t1-search kbd { font: 12px var(--font-sans); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; color: var(--text-muted); }
.t1-res { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); padding: 6px; max-height: 60vh; overflow: auto; }
.t1-res[hidden] { display: none; }
.t1-res a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--text); text-decoration: none; }
.t1-res a:hover, .t1-res a.sel { background: var(--t1-s2); }
.t1-res a svg { width: 30px; height: 30px; margin: 0; border-radius: 9px; }
.t1-res b { display: block; font-weight: 600; font-size: 0.9rem; }
.t1-res small { display: block; color: var(--text-muted); font-size: 0.78rem; line-height: 1.35; }
.t1-res p { margin: 0; padding: 10px 12px; color: var(--text-muted); font-size: 0.85rem; }
html.t1 .lang-picker select { border-radius: 12px; background-color: var(--surface); border-color: var(--border); }
html.t1 .theme-toggle { border-radius: 12px; background: var(--surface); border-color: var(--border); }

/* Eski kategori menüsü ve araç listesi: arama ve ana sayfa yerine geçti (bağlantılar sayfada kalır) */
html.t1 .cat-nav, html.t1 .tool-rail { display: none !important; }

/* ---------- Ortak parçalar ---------- */
.t1-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; line-height: 1.4; color: var(--t1-pill-fg); background: var(--t1-pill-bg); border: 1px solid var(--t1-pill-bd); }
.t1-pill .t1-i { width: 15px; height: 15px; }
.t1-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px; box-shadow: var(--t1-card-shadow); }
.t1-card h2, .t1-card h3 { margin: 0 0 10px; font-size: 0.95rem; font-weight: 600; color: var(--t1-hi); }
.t1-safe { border-radius: 20px; padding: 16px 18px; background: linear-gradient(145deg, rgba(33, 161, 121, 0.14), rgba(47, 140, 255, 0.09)); border: 1px solid rgba(33, 161, 121, 0.35); }
.t1-safe b { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--t1-hi); }
.t1-safe b .t1-i { color: #1fae7f; }
.t1-safe p { margin: 6px 0 0; color: var(--t1-safe-fg); font-size: 0.8rem; line-height: 1.55; }
.t1-safe ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 0.8rem; color: var(--t1-sub); }
.t1-safe li { display: flex; align-items: center; gap: 8px; }
.t1-safe li .t1-i { width: 15px; height: 15px; color: #1fae7f; }
.t1-desk { display: flex; gap: 12px; align-items: center; border-radius: 18px; padding: 14px 16px; border: 1px solid var(--border); background: linear-gradient(145deg, rgba(124, 108, 255, 0.12), rgba(255, 90, 60, 0.06)); }
.t1-desk .t1-dm { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(145deg, #7c6cff, #a99bff); display: grid; place-items: center; color: #fff; flex: none; }
.t1-desk b { display: block; font-weight: 600; font-size: 0.85rem; color: var(--t1-hi); }
.t1-desk small { display: block; color: var(--text-muted); font-size: 0.76rem; line-height: 1.45; }
.t1-soon { display: inline-block; font-style: normal; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #a86400; background: rgba(255, 181, 71, 0.18); border: 1px solid rgba(255, 181, 71, 0.45); border-radius: 999px; padding: 0 7px; margin-left: 6px; vertical-align: 2px; }
:root[data-theme="dark"] .t1-soon { color: #ffc46b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t1-soon { color: #ffc46b; } }
.t1-pop a { display: flex; gap: 12px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 12px; color: var(--text); text-decoration: none; }
.t1-pop a:hover { background: var(--t1-s2); }
.t1-pop a svg.tile-ico { width: 36px; height: 36px; margin: 0; border-radius: 11px; }
.t1-pop span { min-width: 0; flex: 1; }
.t1-pop b { display: block; font-weight: 600; font-size: 0.84rem; }
.t1-pop small { display: block; color: var(--text-muted); font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t1-pop .t1-i { width: 16px; height: 16px; color: var(--text-muted); }

/* Simgeler: daha canlı degradeler */
.tile-ico.ico-sayfa    { --ico-a: #2f6bff; --ico-b: #5aa2ff; --ico-ink: #1e4fc9; --ico-hi: #ffd2c7; }
.tile-ico.ico-ekle     { --ico-a: #ff5a3c; --ico-b: #ff9a5c; --ico-ink: #c9361c; --ico-hi: #fff4e8; }
.tile-ico.ico-baski    { --ico-a: #f29a1f; --ico-b: #ffc75a; --ico-ink: #8a5300; --ico-hi: #1a1f2b; }
.tile-ico.ico-kucult   { --ico-a: #12a77f; --ico-b: #3fd3a6; --ico-ink: #0b6e53; --ico-hi: #effff8; }
.tile-ico.ico-donustur { --ico-a: #6a55ff; --ico-b: #a08cff; --ico-ink: #4a36d6; --ico-hi: #ffd2c7; }

/* ---------- Ana sayfa ---------- */
.t1-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; padding: 18px 36px 40px; max-width: 1500px; margin: 0 auto; }
.t1-wrap > main.container { max-width: none; margin: 0; padding: 0; }
.t1-home .page-title { font-size: 2.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: var(--t1-hi); }
.t1-home .page-title span { background: linear-gradient(90deg, #ff5a3c, #ff9a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t1-home .lede { color: var(--text-muted); margin: 8px 0 22px; font-size: 0.95rem; max-width: 820px; }
.t1-drop { border-radius: 22px; padding: 2px; background: linear-gradient(120deg, #ff5a3c, #7c6cff 60%, #2f8cff); box-shadow: 0 30px 70px -44px rgba(124, 108, 255, 0.7); transition: box-shadow 0.2s; }
.t1-drop.on { box-shadow: 0 0 0 6px rgba(255, 90, 60, 0.2), 0 30px 70px -40px rgba(124, 108, 255, 0.7); }
.t1-drop > div { border-radius: 20px; background: var(--t1-drop-in); padding: 30px 32px; display: flex; align-items: center; gap: 28px; }
.t1-orb { width: 92px; height: 92px; border-radius: 28px; background: linear-gradient(145deg, #ff5a3c, #ff8a5c); display: grid; place-items: center; color: #fff; box-shadow: 0 18px 40px -12px rgba(255, 90, 60, 0.6); flex: none; }
.t1-orb .t1-i { width: 40px; height: 40px; }
.t1-drop h2 { margin: 0 0 4px; font-size: 1.3rem; color: var(--t1-hi); }
.t1-drop p { margin: 0 0 12px; color: var(--text-muted); }
.t1-fmt { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.t1-fmt li { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--t1-hi); padding: 2px 9px; border-radius: 7px; background: color-mix(in srgb, var(--k) 16%, transparent); border: 1px solid color-mix(in srgb, var(--k) 50%, transparent); }
.t1-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 10px 20px; border: 0; border-radius: 12px; font: inherit; font-weight: 600; font-size: 0.9rem; color: #fff; cursor: pointer; background: linear-gradient(90deg, #ff5a3c, #ff7a4c); box-shadow: 0 12px 26px -12px rgba(255, 90, 60, 0.75); }
.t1-btn:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.t1-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.t1-sec { display: flex; align-items: baseline; justify-content: space-between; margin: 30px 0 12px; scroll-margin-top: 16px; }
.t1-sec h2 { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--t1-hi); }
.t1-sec span { color: var(--text-muted); font-size: 0.8rem; }
#t1-ready { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(120deg, rgba(255, 90, 60, 0.13), rgba(124, 108, 255, 0.12)); border: 1px solid rgba(255, 106, 77, 0.45); }
#t1-ready[hidden] { display: none; }
.t1-down { width: 44px; height: 44px; flex: none; border-radius: 14px; background: linear-gradient(145deg, #ff5a3c, #ff8a5c); display: grid; place-items: center; color: #fff; }
.t1-down .t1-i { width: 24px; height: 24px; animation: t1-hop 1.2s ease-in-out infinite; }
@keyframes t1-hop { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .t1-down .t1-i { animation: none; } }
.t1-rt { min-width: 0; flex: 1; }
.t1-rt b { display: block; font-weight: 600; color: var(--t1-hi); }
.t1-rt small { display: block; color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#t1-ready button { flex: none; min-height: 36px; margin: 0; padding: 6px 12px; border-radius: 10px; background: transparent; color: var(--text); border: 1px solid var(--control-border); font-weight: 500; font-size: 0.8rem; }
/* Araç sütunları */
.t1-home .tool-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; margin: 0; }
.t1-home .tool-cat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 10px 8px; box-shadow: var(--t1-card-shadow); }
.t1-home .tool-cat-title { margin: 0 4px 8px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.t1-home .tool-cat-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--c); box-shadow: 0 0 10px var(--c); }
.t1-home .tool-cat:nth-child(1) { --c: #2f8cff; } .t1-home .tool-cat:nth-child(2) { --c: #ff6a4d; } .t1-home .tool-cat:nth-child(3) { --c: #ffb547; } .t1-home .tool-cat:nth-child(4) { --c: #2fd1a4; } .t1-home .tool-cat:nth-child(5) { --c: #9a7cff; }
.t1-home .tool-cat-title > span:first-child { flex: 1; min-width: 0; }
.t1-home .tool-cat-title .cat-count { flex: none; white-space: nowrap; margin-left: auto; font-size: 0.68rem; background: var(--t1-s2); border: 0; border-radius: 999px; padding: 0 8px; letter-spacing: 0; color: var(--text-muted); }
.t1-home .tool-grid { display: block; margin: 0; }
.t1-home .tool-grid > li { display: block; }
.t1-home .tool-tile { flex-direction: row; justify-content: flex-start; align-items: center; gap: 9px; min-height: 0; padding: 6px; border: 0; border-radius: 9px; background: transparent; box-shadow: none; }
.t1-home .tool-tile:hover { background: var(--t1-s2); box-shadow: none; }
.t1-home .tool-tile .tile-ico { width: 26px; height: 26px; margin: 0; border-radius: 8px; }
.t1-home .tool-tile .nav-t { overflow-wrap: normal; word-break: normal; hyphens: none; font-weight: 500; font-size: 0.82rem; line-height: 1.3; color: var(--t1-sub); }
.t1-home .tool-tile:hover .nav-t { color: var(--t1-hi); }
.t1-home .tool-tile .nav-d { display: none; }
.t1-home .tool-tile .nav-t { flex: 1 1 auto; min-width: 0; }
.t1-home .tool-tile .beta-badge { margin-left: 4px; flex: none; white-space: nowrap; font-size: 0.6rem; padding: 0 6px; }
.t1-home .tool-index.secim .tool-tile.no { opacity: 0.3; filter: grayscale(0.7); cursor: not-allowed; }
.t1-home .tool-index.secim .tool-tile.no:hover { background: transparent; }
.t1-home .tool-index.secim .tool-tile.ok .nav-t { color: var(--t1-hi); font-weight: 600; }
.t1-home .tool-index.secim .tool-tile.ok:hover { background: var(--t1-on); }
.t1-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; align-self: start; }
.t1-side > * { min-width: 0; }

/* ---------- Araç sayfası ---------- */
html.t1 .work-shell { display: grid !important; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; max-width: 1500px; margin: 0 auto; padding: 10px 36px 40px; }
html.t1 .work-shell > main { grid-column: 1; grid-row: 1; }
html.t1 .work-shell > .t1-side { grid-column: 2; grid-row: 1; }
html.t1 .work-shell:has(> .t1-wide-mark) { grid-template-columns: minmax(0, 1fr); }
html.t1 .work-shell:has(> .t1-wide-mark) > .t1-side { grid-column: 1; grid-row: 2; position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
html.t1 .work-shell > main.container { max-width: none; margin: 0; padding: 0; }
.t1-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 14px; font-size: 0.8rem; color: var(--text-muted); }
.t1-crumb a { color: var(--text-muted); text-decoration: none; }
.t1-crumb a:hover { color: var(--t1-hi); text-decoration: underline; }
.t1-crumb .t1-i { width: 14px; height: 14px; }
.t1-crumb [aria-current] { color: var(--t1-hi); font-weight: 500; }
.t1-hero { display: flex; gap: 20px; align-items: center; margin: 0 0 22px; }
.t1-hero-ico { line-height: 0; flex: none; }
.t1-hero .tile-ico { width: 76px; height: 76px; margin: 0; border-radius: 22px; box-shadow: 0 18px 40px -14px var(--ico-a); }
.t1-hero .tool-title { margin: 0; font-size: 2.05rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; color: var(--t1-hi); }
.t1-hero .desc { margin: 6px 0 0; color: var(--text-muted); font-size: 0.95rem; max-width: 760px; }
html.t1 section.tool { background: none; border: 0; box-shadow: none; padding: 0; }
html.t1 section.tool > .tool-form { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--t1-card-shadow); padding: 26px; }
html.t1 .tool-form > label:not(.dropzone) { color: var(--t1-sub); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; }
html.t1 .tool-form .dropzone { min-height: 160px; flex-direction: column; justify-content: center; text-align: center; padding: 24px; border: 2px solid transparent; border-radius: 20px; background: var(--t1-drop-in) padding-box, linear-gradient(120deg, #ff5a3c, #7c6cff 60%, #2f8cff) border-box; transition: box-shadow 0.2s; }
html.t1 .tool-form .dropzone:hover, html.t1 .tool-form .dropzone.is-over, html.t1 .tool-form .dropzone.drag-over { box-shadow: 0 0 0 6px rgba(255, 90, 60, 0.12); }
html.t1 .tool-form .dz-ico { flex: none; width: 60px; height: 60px; min-height: 60px; border-radius: 18px; background: linear-gradient(145deg, #ff5a3c, #ff8a5c); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 36px -12px rgba(255, 90, 60, 0.65); }
html.t1 .tool-form .dz-ico svg { width: 28px; height: 28px; color: #fff; stroke: #fff; }
html.t1 .tool-form .dz-body { align-items: center; text-align: center; }
html.t1 .tool-form .dz-text { font-size: 1.05rem; font-weight: 600; color: var(--t1-hi); }
html.t1 .tool-form .dropzone .dz-name { position: static; transform: none; max-width: 100%; order: 3; display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--t1-hi); background: var(--t1-s2); border: 1px solid var(--border); border-radius: 12px; padding: 8px 14px; }
html.t1 .tool-form .dropzone:has(.dz-name:not([hidden])) .dz-text,
html.t1 .tool-form .dropzone:has(.dz-name:not([hidden])) .dz-sub { display: none; }
html.t1 .tool-form .dropzone:has(.dz-name:not([hidden])) .dz-ico { background: linear-gradient(145deg, #12a77f, #3fd3a6); box-shadow: 0 16px 36px -12px rgba(18, 167, 127, 0.7); }
html.t1 .tool-form .dropzone:has(.dz-name:not([hidden])) .dz-ico svg { display: none; }
html.t1 .tool-form .dropzone:has(.dz-name:not([hidden])) .dz-ico::after { content: ""; width: 28px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html.t1 .tool-form .dropzone:has(.dz-name:not([hidden]))::after { content: var(--t1-ready); order: 4; font-size: 0.8rem; color: var(--text-muted); }
html.t1 .tool-form .dropzone:has(.dz-name:not([hidden])) { min-height: 140px; gap: 10px; }
/* Seçim kartları (select'in yerine, select gizli ama çalışır) */
html.t1 .t1-seg-src { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.t1-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 4px; }
.t1-seg button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 0; margin: 0; padding: 12px 14px; border-radius: 14px; text-align: left; font-weight: 400; cursor: pointer; background: var(--t1-s2); border: 1px solid var(--border); color: var(--t1-sub); box-shadow: none; transition: border-color 0.15s, background 0.15s; }
.t1-seg button:hover { border-color: var(--control-border); }
.t1-seg button b { font-weight: 600; font-size: 0.88rem; color: var(--t1-hi); }
.t1-seg button small { font-size: 0.74rem; color: var(--text-muted); }
.t1-seg button.on { border-color: #ff6a4d; background: var(--t1-on); box-shadow: 0 0 0 3px rgba(255, 90, 60, 0.12); }
/* Düğmeler */
html.t1 .tool-form button[type="submit"] { min-width: 220px; padding: 13px 34px; border-radius: 14px; font-size: 1rem; color: #fff; background: linear-gradient(90deg, #ff5a3c, #ff7a4c); box-shadow: 0 14px 30px -12px rgba(255, 90, 60, 0.75); }
html.t1 button.secondary { border-radius: 12px; }
html.t1 .progress { accent-color: #ff6a4d; }
/* Sonuç kutusu */
html.t1 .tool-form .status[data-kind="ok"] { margin: 18px 0 0; padding: 14px 16px 4px 52px; position: relative; border-radius: 16px 16px 0 0; background: linear-gradient(145deg, rgba(18, 167, 127, 0.16), rgba(47, 140, 255, 0.08)); border: 1px solid rgba(31, 174, 127, 0.4); border-bottom: 0; font-weight: 600; color: var(--t1-hi); }
html.t1 .tool-form .status[data-kind="ok"]::before { content: ""; position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 8px; background: #12a77f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
html.t1 .tool-form .status[data-kind="ok"] + .detail { margin: 0; padding: 0 16px 14px 52px; border-radius: 0 0 16px 16px; background: linear-gradient(145deg, rgba(18, 167, 127, 0.16), rgba(47, 140, 255, 0.08)); border: 1px solid rgba(31, 174, 127, 0.4); border-top: 0; color: var(--t1-sub); }
html.t1 .tool-form .status[data-kind="ok"] + .detail:empty { padding-bottom: 10px; }
html.t1 .tool-form .status[data-kind="error"] { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(255, 90, 60, 0.1); border: 1px solid rgba(255, 90, 60, 0.45); }
/* Sağ panel */
.t1-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: t1s; }
.t1-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--t1-sub); line-height: 1.45; counter-increment: t1s; }
.t1-steps li::before { content: counter(t1s); flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: #fff; background: linear-gradient(145deg, #ff5a3c, #7c6cff); }
.t1-rel { list-style: none; margin: 0; padding: 0; }
.t1-rel a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: var(--t1-sub); text-decoration: none; font-size: 0.82rem; }
.t1-rel a:hover { background: var(--t1-s2); color: var(--t1-hi); }
.t1-rel a::after { content: "→"; color: var(--text-muted); }
/* Rehber metni */
html.t1 .tool-guide { margin-top: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px 26px; max-width: none; }
html.t1 .tool-guide h2 { color: var(--t1-hi); }

/* ---------- Diğer sayfalar (rehber, gizlilik, SSS) ---------- */
html.t1 body:not(:has(.work-shell, .t1-wrap)) > main.container { max-width: 1100px; margin: 10px auto 40px; padding: 26px 30px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--t1-card-shadow); }

/* ---------- Alt bilgi ---------- */
html.t1 .site-footer { border-top: 1px solid var(--border); background: transparent; }
html.t1 .site-footer > .container { max-width: 1500px; padding: 0 36px; margin: 0 auto; }

/* ---------- Telefon sekme çubuğu ---------- */
.t1-tabbar { display: none; }

/* ---------- Orta ekran ---------- */
@media (max-width: 1280px) {
  .t1-wrap { grid-template-columns: minmax(0, 1fr); }
  .t1-wrap .t1-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .t1-home .tool-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  html.t1 .work-shell { grid-template-columns: minmax(0, 1fr); }
  html.t1 .work-shell > .t1-side { grid-column: 1; grid-row: 2; }
  html.t1 .work-shell .t1-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* ---------- Telefon ---------- */
@media (max-width: 760px) {
  html.t1 body { padding-left: 0; padding-bottom: 74px; }
  html.t1 .t1-rail { display: none; }
  html.t1 .site-header > .container { padding: 0 16px; }
  html.t1 .brand-row { flex-wrap: wrap; gap: 10px; min-height: 0; padding: 12px 0 4px; }
  .t1-search { order: 3; flex-basis: 100%; max-width: none; }
  html.t1 .brand { flex: 1; min-width: 0; }
  html.t1 .lang-picker select { max-width: 132px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
  html.t1 .theme-toggle { min-height: 40px; width: 40px; height: 40px; }
  .t1-hero .t1-pill { display: none; }
  .t1-search kbd { display: none; }
  .t1-wrap { padding: 12px 16px 30px; gap: 20px; }
  .t1-home .page-title { font-size: 1.65rem; }
  .t1-drop > div { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; }
  .t1-orb { width: 64px; height: 64px; border-radius: 20px; }
  .t1-orb .t1-i { width: 30px; height: 30px; }
  .t1-btn { width: 100%; justify-content: center; }
  .t1-home .tool-index { grid-template-columns: minmax(0, 1fr); }
  .t1-home .tool-tile { padding: 9px 6px; }
  #t1-ready { flex-wrap: wrap; }
  #t1-ready button { width: 100%; }
  html.t1 .work-shell { padding: 6px 16px 30px; gap: 20px; }
  .t1-hero { gap: 14px; align-items: flex-start; }
  .t1-hero-ico { line-height: 0; flex: none; }
.t1-hero .tile-ico { width: 56px; height: 56px; border-radius: 16px; }
  .t1-hero .tool-title { font-size: 1.55rem; }
  html.t1 section.tool > .tool-form { padding: 16px; border-radius: 18px; }
  html.t1 .tool-form button[type="submit"] { width: 100%; min-width: 0; }
  html.t1 .tool-guide { padding: 18px; }
  html.t1 body:not(:has(.work-shell, .t1-wrap)) > main.container { margin: 10px 16px 30px; padding: 18px; }
  html.t1 .site-footer > .container { padding: 0 16px; }
  .t1-tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--t1-head); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); padding: 8px 6px calc(10px + env(safe-area-inset-bottom)); }
  .t1-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.68rem; color: var(--text-muted); text-decoration: none; }
  .t1-tabbar a.on { color: var(--t1-hi); }
  .t1-tabbar a.on .t1-i { color: #ff5a3c; }
}

/* ---------- Masaüstü uygulaması içinde (iframe): çerçeve parçaları gizli ---------- */
html.t1-frame body { padding-left: 0; padding-bottom: 0; }
html.t1-frame .t1-rail, html.t1-frame .t1-tabbar, html.t1-frame .site-header, html.t1-frame .t1-crumb, html.t1-frame .t1-side, html.t1-frame .site-footer { display: none !important; }
html.t1-frame .work-shell { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }

@media print {
  .t1-rail, .t1-tabbar, .t1-side, .t1-search { display: none !important; }
  html.t1 body { padding: 0; }
}

.t1-deneme { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed rgba(33, 161, 121, 0.35); font-size: 0.8rem; font-weight: 600; color: var(--t1-pill-fg); }
