@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@400;500;600&display=swap');

* { box-sizing:border-box; margin:0; padding:0; }

:root {
  --bg: #f7f4f0;
  --bg2: #fff;
  --bg3: #ede9e3;
  --lacivert: #0d1b2a;
  --turuncu: #e85d04;
  --turuncu2: #c44d00;
  --yazi: #1a1a1a;
  --yazi2: #4a4640;
  --yazi3: #9a9088;
  --sinir: #ddd8d0;
  --yesil: #15803d;
  --mavi: #1d4ed8;
  --kirmizi: #b91c1c;
}

html, body { 
  max-width: 100vw; 
  overflow-x: hidden; 
  -webkit-tap-highlight-color: transparent; 
}

/* ── GÜVENLİK (Kopyalama ve Yazdırma Engeli) ── */
body { 
  font-family: 'DM Sans', sans-serif; 
  background: var(--bg); 
  color: var(--yazi); 
  min-height: 100vh; 
  -webkit-user-select: none; 
  -ms-user-select: none; 
  user-select: none; 
}
textarea, input { user-select: text; }
@media print { body { display: none !important; } }

img { max-width: 100%; height: auto; }

/* ── NAVİGASYON ── */
.nav { background: var(--bg2); border-bottom: 1px solid var(--sinir); height: 64px; display: flex; align-items: center; padding: 0 24px; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; margin-right: 28px; flex-shrink: 0; }
.logo-sq { width: 38px; height: 38px; background: var(--turuncu); display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; border-radius: 8px; }
.logo-name { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--lacivert); line-height: 1.2; }
.logo-tag { font-size: 10px; color: var(--turuncu); letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
/* Desktop menüde 6 buton sığması için gap biraz kısıldı */
.nav-links { display: flex; gap: 2px; flex: 1; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nl { background: none; border: none; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--yazi2); padding: 8px 12px; cursor: pointer; border-radius: 8px; transition: all .15s; min-height: 40px; display: flex; align-items: center; white-space: nowrap; }
.nl:hover { background: var(--bg3); color: var(--yazi); }
.nl.active { background: rgba(232,93,4,.1); color: var(--turuncu); }
.nav-right { display: flex; gap: 10px; align-items: center; margin-left: auto; }

/* ── BUTONLAR ── */
.btn-ghost { background: none; border: 1.5px solid var(--sinir); font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; color: var(--yazi2); padding: 10px 18px; cursor: pointer; border-radius: 8px; transition: all .15s; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.btn-ghost:hover { border-color: var(--turuncu); color: var(--turuncu); }
.btn-solid { background: var(--turuncu); color: #fff; border: none; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; padding: 10px 18px; cursor: pointer; border-radius: 8px; transition: all .15s; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.btn-solid:hover { background: var(--turuncu2); box-shadow: 0 4px 12px rgba(232,93,4,0.3); }
.btn-solid:disabled { background: var(--bg3); color: var(--yazi3); cursor: not-allowed; box-shadow: none; }

/* ── SAYFA YÖNETİMİ & GRİD ── */
.page { display: none; animation: fadeIn .25s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; width: 100%; box-sizing: border-box; }
.section { padding: 40px 0; }

/* ── HERO ALANI ── */
.hero { background: var(--lacivert); padding: 60px 0 50px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,93,4,.2); border: 1px solid rgba(232,93,4,.3); border-radius: 20px; padding: 4px 12px; font-size: 12px; color: var(--turuncu); font-weight: 600; margin-bottom: 16px; }
.dot-green { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(32px,4vw,54px); color: #fff; line-height: 1.15; margin-bottom: 16px; word-wrap: break-word; }
.hero h1 span { color: var(--turuncu); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 480px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero { background: var(--turuncu); color: #fff; border: none; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; padding: 12px 24px; cursor: pointer; border-radius: 8px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s; }
.btn-hero:hover { background: var(--turuncu2); }
.btn-hero-o { background: transparent; color: rgba(255,255,255,.8); border: 1.5px solid rgba(255,255,255,.25); font-family: 'DM Sans', sans-serif; font-size: 15px; padding: 12px 24px; cursor: pointer; border-radius: 8px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s; }
.btn-hero-o:hover { border-color: rgba(255,255,255,.6); color: #fff; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 260px; }
.stat-cell { padding: 20px 18px; display: flex; flex-direction: column; justify-content: center; }
.stat-cell:nth-child(1) { background: var(--turuncu); border-radius: 12px 0 0 0; }
.stat-cell:nth-child(2) { background: rgba(255,255,255,.08); border-radius: 0 12px 0 0; }
.stat-cell:nth-child(3) { background: rgba(255,255,255,.08); border-radius: 0 0 0 12px; }
.stat-cell:nth-child(4) { background: var(--turuncu); border-radius: 0 0 12px 0; }
.stat-n { font-family: 'DM Serif Display', serif; font-size: 28px; color: #fff; }
.stat-l { font-size: 12px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; font-weight: 500; }

.card { background: var(--bg2); border: 1px solid var(--sinir); border-radius: 12px; box-sizing: border-box; max-width: 100%; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.g-main { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.sb-card { background: var(--bg2); border: 1px solid var(--sinir); border-radius: 12px; padding: 20px; margin-bottom: 16px; max-width: 100%; overflow: hidden; }

.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.sec-title { font-family: 'DM Serif Display', serif; font-size: 24px; color: var(--lacivert); }
.sec-more { font-size: 14px; color: var(--turuncu); cursor: pointer; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* ── FORMLAR ── */
label { display: block; font-size: 13px; font-weight: 600; color: var(--yazi2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea { width: 100%; max-width: 100%; box-sizing: border-box; padding: 12px 14px; font-family: 'DM Sans', sans-serif; font-size: 15px; border: 1.5px solid var(--sinir); border-radius: 8px; background: var(--bg); color: var(--yazi); outline: none; transition: border-color .15s; min-height: 44px; }
input:focus, select:focus, textarea:focus { border-color: var(--turuncu); }

/* ── REKLAM ALANLARI ── */
#ad-space-1, #ad-space-2, #ad-space-3 { position: relative; display: block; width: 100%; margin-bottom: 20px; }
#ad-space-1 a, #ad-space-2 a, #ad-space-3 a { position: relative; display: block; }
.ad-label { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.6); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px; letter-spacing: 0.5px; text-transform: uppercase; z-index: 10; pointer-events: none; }

/* ── FORUM & KATEGORİ SEÇİCİ (PILLS) ── */
.cat-pill-wrap { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.cat-pill-wrap::-webkit-scrollbar { display: none; }
.cat-pill { background: var(--bg2); border: 1.5px solid var(--sinir); border-radius: 20px; padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--yazi2); cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.cat-pill.active { background: var(--lacivert); border-color: var(--lacivert); color: #fff; }

.tab-bar { display: flex; border-bottom: 1.5px solid var(--sinir); margin-bottom: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tab-bar::-webkit-scrollbar { display: none; }
.tab { background: none; border: none; border-bottom: 2.5px solid transparent; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--yazi3); padding: 12px 18px; cursor: pointer; margin-bottom: -1.5px; transition: all .2s; white-space: nowrap; min-height: 44px; }
.tab.active { color: var(--turuncu); border-bottom-color: var(--turuncu); }

.feed-card { background: var(--bg2); border: 1px solid var(--sinir); border-radius: 14px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.03); max-width: 100%; transition: transform 0.2s, box-shadow 0.2s; }
.feed-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.fc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.fc-user { display: flex; align-items: center; gap: 12px; }
.fc-avatar { width: 40px; height: 40px; background: var(--turuncu); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; flex-shrink: 0; }
.fc-name { font-size: 15px; font-weight: 600; color: var(--yazi); }
.fc-time { font-size: 12px; color: var(--yazi3); margin-top: 3px; }
.fc-body { padding: 16px 20px; }
.fc-title { font-size: 18px; font-weight: 700; color: var(--lacivert); margin-bottom: 8px; line-height: 1.4; word-wrap: break-word; overflow-wrap: break-word; }
.fc-desc { font-size: 14px; color: var(--yazi2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-wrap: break-word; overflow-wrap: break-word; }
.fc-actions { display: flex; align-items: center; gap: 24px; padding: 12px 20px 18px; border-top: 1px solid var(--bg); }
.fc-btn { background: none; border: none; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--yazi3); cursor: pointer; transition: color 0.2s; min-height: 36px; }
.fc-btn:hover { color: var(--turuncu); }
.fc-btn.liked { color: var(--kirmizi); }

/* ── 2. EL PAZARI ── */
.pazar-card { background: var(--bg2); border: 1px solid var(--sinir); border-radius: 14px; margin-bottom: 24px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.03); position: relative; transition: opacity 0.2s; }
.pazar-header { display: flex; align-items: center; padding: 14px 16px; }
.pazar-actions { padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.pazar-price { font-size: 18px; font-weight: 700; color: var(--yesil); background: rgba(21,128,61,0.1); padding: 4px 12px; border-radius: 20px; }
.pazar-content { padding: 0 16px 16px; }
.pazar-desc { font-size: 14px; color: var(--yazi2); line-height: 1.5; margin-top: 6px; }

/* ── ETİKETLER ── */
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.tag-cozuldu { background: rgba(21,128,61,.1); color: var(--yesil); }
.tag-soru { background: rgba(29,78,216,.1); color: var(--mavi); }
.tag-rehber { background: rgba(232,93,4,.1); color: var(--turuncu2); }
.tag-teknik { background: rgba(109,40,217,.1); color: #6d28d9; }
.tag-acil { background: rgba(185,28,28,.1); color: var(--kirmizi); }
.tag-tartisma { background: rgba(8,145,178,.1); color: #0e7490; }

/* ── HESAPLAMA ARAÇLARI & SİMÜLATÖR ── */
.tool-card { background: var(--bg2); border: 1px solid var(--sinir); border-radius: 12px; padding: 20px 10px; cursor: pointer; transition: all .2s ease; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100px; }
.tool-card:hover { border-color: var(--turuncu); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.tool-card.active-tool { border-color: var(--turuncu); background: rgba(232,93,4,.05); box-shadow: inset 0 0 0 1px var(--turuncu); }
.inp-lbl { display: block; font-size: 12px; font-weight: 600; color: var(--yazi3); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.res-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.res-tile { background: var(--bg3); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.res-lbl { font-size: 11px; color: var(--yazi2); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; font-weight: 600; }
.res-val { font-size: 20px; font-weight: 700; color: var(--turuncu); word-wrap: break-word; }
.formula-strip { background: var(--lacivert); border-radius: 8px; padding: 12px 16px; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.7); font-family: monospace; line-height: 1.6; word-wrap: break-word; overflow-x: auto; }

/* ── MODAL VE BOTTOM SHEET ── */
.modal-wrap { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(13,27,42,.6); z-index: 200; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-wrap.show { display: flex; }
.modal { background: var(--bg2); border-radius: 16px; padding: 30px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-sizing: border-box; box-shadow: 0 10px 40px rgba(0,0,0,0.2); animation: modalIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-title { font-family: 'DM Serif Display', serif; font-size: 24px; color: var(--lacivert); margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--yazi3); margin-bottom: 20px; }

.bs-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(13, 27, 42, 0.7); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bs-overlay.show { opacity: 1; visibility: visible; }
.bs-panel { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg); border-radius: 24px 24px 0 0; max-height: 92vh; height: 88vh; z-index: 1000; transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; flex-direction: column; box-shadow: 0 -6px 24px rgba(0,0,0,0.15); max-width: 800px; margin: 0 auto; }
.bs-overlay.show .bs-panel { transform: translateY(0); }
.bs-drag-handle { width: 48px; height: 6px; background: var(--sinir); border-radius: 10px; margin: 16px auto; }
.bs-content { padding: 0 24px 24px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }

/* ── ONAY VE UYARI KUTULARI ── */
.consent-block { border: 1.5px solid var(--sinir); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; background: var(--bg); }
.consent-top { display: flex; align-items: flex-start; gap: 12px; }
.consent-cb { width: 18px; height: 18px; accent-color: var(--turuncu); cursor: pointer; flex-shrink: 0; margin-top: 2px; }
.consent-lbl { font-size: 13px; color: var(--yazi2); line-height: 1.5; flex: 1; }

.alert-box { padding: 12px 16px; border-radius: 8px; font-size: 13px; line-height: 1.6; margin: 10px 0; display: flex; gap: 10px; font-weight: 500; }
.a-err { background: rgba(185,28,28,.08); border: 1px solid rgba(185,28,28,.2); color: var(--kirmizi); }
.a-ok { background: rgba(21,128,61,.08); border: 1px solid rgba(21,128,61,.2); color: var(--yesil); }
.a-info { background: rgba(29,78,216,.08); border: 1px solid rgba(29,78,216,.2); color: var(--mavi); }

.divider-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 13px; color: var(--yazi3); font-weight: 500; }
.divider-or::before, .divider-or::after { content: ''; flex: 1; height: 1px; background: var(--sinir); }
.btn-google { width: 100%; background: #fff; border: 1.5px solid var(--sinir); font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; padding: 12px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--yazi); transition: background 0.2s; }
.btn-google:hover { background: var(--bg); border-color: var(--sinir); }

/* ── ADMİN PANELİ BİLEŞENLERİ ── */
.adm-tab-content { animation: fadeIn 0.2s ease; }
.adm-row { padding: 14px 20px; border-bottom: 1px solid var(--bg3); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-row:last-child { border-bottom: none; }
.adm-row select { font-size: 12px; padding: 6px 10px; width: auto; min-height: auto; border-color: var(--sinir); }

.sim-ic-item { padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--bg3); transition: background .15s; min-height: 60px; }
.sim-ic-item:hover { background: var(--bg3); }
.sim-ic-item.sel { background: rgba(232,93,4,.06); border-left: 4px solid var(--turuncu); }

.r-card { background: var(--bg2); border: 1px solid var(--sinir); border-radius: 12px; padding: 20px; cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 16px; }
.r-card:hover { border-color: var(--turuncu); box-shadow: 0 6px 16px rgba(0,0,0,.06); }

.usta-card { background: var(--bg2); border: 1px solid var(--sinir); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 16px; transition: border-color .15s; flex-wrap: wrap; }
.usta-card:hover { border-color: var(--turuncu); }

/* ── MOBİL ALT NAVİGASYON ── */
/* 6 Buton sığabilmesi için fontlar ve gap güncellendi */
.mob-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg2); border-top: 1px solid var(--sinir); padding: 8px 0 14px; z-index: 100; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); }
.mob-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; border: none; background: none; padding: 4px 0; min-height: 48px; }
.mob-nav-item span:first-child { font-size: 20px; transition: transform 0.2s; }
.mob-nav-item.active span:first-child { transform: scale(1.15); }
.mnl { font-size: 10px; color: var(--yazi3); font-weight: 600; transition: color 0.2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90%; }
.mob-nav-item.active .mnl { color: var(--turuncu); }

/* ── CAROUSEL & UPLOAD ── */
.carousel-container { position: relative; width: 100%; max-width: 100%; background: var(--lacivert); overflow: hidden; border-bottom: 1px solid var(--sinir); border-top: 1px solid var(--sinir); }
.carousel-track { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: background 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.dot.active { background: #fff; }

.file-upload-wrap { border: 2px dashed var(--sinir); border-radius: 10px; padding: 20px 10px; text-align: center; cursor: pointer; background: var(--bg); transition: all 0.2s; margin-bottom: 8px; display: block; }
.file-upload-wrap:hover { border-color: var(--turuncu); background: rgba(232,93,4,0.03); }
.file-upload-lbl { font-size: 14px; font-weight: 600; color: var(--yazi2); display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
#konu-resimler, #pazar-resimler { display: none; }

.upload-progress-container { width: 100%; height: 6px; background: var(--bg3); border-radius: 3px; overflow: hidden; margin-top: 10px; display: none; }
.upload-progress-bar { height: 100%; background: var(--turuncu); width: 0%; transition: width 0.3s ease; }

/* ── STATUS & LOADERS ── */
.status-ok { color: var(--yesil); font-weight: 700; background: rgba(21,128,61,0.1); padding: 2px 8px; border-radius: 4px; }
.status-warn { color: var(--turuncu); font-weight: 700; background: rgba(232,93,4,0.1); padding: 2px 8px; border-radius: 4px; }
.status-err { color: var(--kirmizi); font-weight: 700; background: rgba(185,28,28,0.1); padding: 2px 8px; border-radius: 4px; }

.skeleton { background: linear-gradient(90deg, var(--bg3) 25%, #f8f8f8 50%, var(--bg3) 75%); background-size: 200% 100%; animation: loading 1.5s infinite; border-radius: 6px; }
.skeleton-text { height: 16px; margin-bottom: 8px; width: 100%; }
.skeleton-title { height: 24px; margin-bottom: 12px; width: 70%; }
.skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; }
@keyframes loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

#toast-container { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; align-items: center; width: 90%; max-width: 400px; }
.toast { background: var(--lacivert); color: #fff; padding: 14px 24px; border-radius: 30px; font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.2); animation: toastIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; pointer-events: auto; display: flex; align-items: center; gap: 10px; line-height: 1.4; }
.toast.success { background: var(--yesil); }
.toast.error { background: var(--kirmizi); }
.toast.info { background: var(--lacivert); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(10px) scale(0.95); } }

.search-wrapper { position: relative; margin-bottom: 20px; }
.search-wrapper input { padding-left: 40px; border-radius: 12px; height: 50px; font-size: 15px; }
.search-wrapper::before { content: '🔍'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; opacity: 0.6; pointer-events: none; }

/* ── MOBİL UYARLAMALAR ── */
@media(max-width:768px) {
  .page { padding-bottom: 85px; }
  .nav-links { display: none; }
  .nav-right { display: none; } 
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { display: none; }
  .g-main { grid-template-columns: 1fr; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .sim-grid { grid-template-columns: 1fr!important; gap: 16px; }
  .mob-nav { display: flex!important; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .container { padding: 0 16px; }
  body { font-size: 15px; }
  .sec-title { font-size: 20px; }
  input[type=text], input[type=email], input[type=password], input[type=number], select, textarea { font-size: 16px !important; }
  .tools-menu-wrap { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tools-menu-wrap::-webkit-scrollbar { display: none; }
  .tools-menu-wrap .tool-card { flex: 0 0 100px; padding: 16px 8px; scroll-snap-align: start; }
  .tools-menu-wrap .tool-card div:nth-child(1) { font-size: 26px; margin-bottom: 6px; }
  .bs-panel { border-radius: 20px 20px 0 0; }
  #toast-container { bottom: 95px; }
}