/* Datalife Engine v19 – Forum Tasarım (Demo)
   Sticky header + mobile bottom nav + sticky ads + quick menu modal */

:root{
  --bg:#0b1220;
  --bg2:#0e1a2c;
  --card:#0f1f36;
  --card2:#132747;
  --stroke:rgba(255,255,255,.08);
  --stroke2:rgba(255,255,255,.12);
  --text:#e9f2ff;
  --muted:#9eb2ce;
  --brand:#22c7a9;
  --brand2:#2a8cff;
  --warn:#ffb020;

  --r:18px;
  --shadow:0 12px 34px rgba(0,0,0,.38);
  --shadow2:0 8px 18px rgba(0,0,0,.24);

  --adW:280px;
  --gap:18px;
  --mobileNavH:64px;
}

html{
  --ad-left:0px;
  --ad-right:0px;
  color-scheme:dark;

}
html[data-ad-left="on"]{ --ad-left: var(--adW); }
html[data-ad-right="on"]{ --ad-right: var(--adW); }

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(42,140,255,.22), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(34,199,169,.18), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  color:var(--text);
  min-height:100vh;

}

/* -------------------------------------------------
   Page Loader (tam ekran)
-------------------------------------------------- */
body.is-loading{ overflow:hidden; }

.page-loader{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(42,140,255,.22), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(34,199,169,.18), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  transition: opacity .25s ease, visibility .25s ease;
}
.page-loader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }

.page-loader__inner{
  width:min(440px, 92vw);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  text-align:center;
}

.page-loader__gif{
  width:min(220px, 64vw);
  max-width:220px;
  height:auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.55));
  user-select:none;
  -webkit-user-drag:none;
}

.page-loader__text{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:650;
  letter-spacing:.2px;
}
.page-loader__label{ font-size:15px; }

.page-loader__dots{ display:inline-flex; gap:2px; }
.page-loader__dots span{ opacity:.25; animation: loaderDots 1.2s infinite; }
.page-loader__dots span:nth-child(2){ animation-delay:.15s; }
.page-loader__dots span:nth-child(3){ animation-delay:.3s; }

@keyframes loaderDots{
  0%, 100%{ opacity:.25; transform: translateY(0); }
  50%{ opacity:.95; transform: translateY(-2px); }
}

.page-loader__progress{
  width:clamp(220px, 62vw, 360px);
  height:12px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  border:1px solid var(--stroke);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

.page-loader__bar{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg, var(--brand2), var(--brand));
  position:relative;
  transition: width .18s ease;
}
.page-loader__bar::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.28) 50%, transparent 100%);
  transform: translateX(-120%);
  animation: loaderShimmer 1.1s linear infinite;
}
@keyframes loaderShimmer{ to{ transform: translateX(120%); } }

.page-loader__percent{
  font-size:12px;
  color:rgba(158,178,206,.9);
  letter-spacing:.4px;
}

a{ color:inherit; text-decoration:none; }
button, input{ font:inherit; color:inherit; }

.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

::selection{ background:rgba(34,199,169,.25); }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(1.4) blur(14px);
  background:rgba(11,18,32,.72);
  border-bottom:1px solid var(--stroke);
}

/* Guard: mobile panels should never appear on desktop */
.mobile-search-panel,
.mobile-apps-panel{
  display:none;
}

/* Even if body class leaks, keep them hidden on desktop */
body.search-open .mobile-search-panel,
body.apps-open .mobile-apps-panel{
  display:none;
}

.header-inner{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 18px;
}

.brand{ display:flex; align-items:center; gap:10px; }

/* Logo yanındaki uygulamalar menüsü */
.brand-group{
  display:flex;
  align-items:center;
  gap:10px;
}

.apps-menu{
  position:relative;
  display:flex;
  align-items:center;
}

.apps-trigger{
  width:42px;
  height:42px;
  border-radius:14px;
}

.apps-dots{
  width:18px;
  height:18px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:3px;
}

.apps-dots > span{
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(210,225,255,.65);
}

.apps-dots > span:nth-child(1){ background:#2a8cff; }
.apps-dots > span:nth-child(2){ background:#22c7a9; }
.apps-dots > span:nth-child(3){ background:#f6c343; }
.apps-dots > span:nth-child(4){ background:#ff4d5a; }
.apps-dots > span:nth-child(5){ background:#a86bff; }
.apps-dots > span:nth-child(6){ background:#2a8cff; }
.apps-dots > span:nth-child(7){ background:#22c7a9; }
.apps-dots > span:nth-child(8){ background:#ff4d5a; }
.apps-dots > span:nth-child(9){ background:#f6c343; }

.apps-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:320px;
  padding:14px;
  border-radius:16px;
  border:1px solid var(--stroke2);
  background:rgba(12,20,36,.96);
  box-shadow:0 18px 52px rgba(0,0,0,.55);
  backdrop-filter:saturate(1.2) blur(10px);

  opacity:0;
  transform:translateY(-8px);
  visibility:hidden;
  pointer-events:none;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.apps-dropdown::before{
  content:"";
  position:absolute;
  top:-7px;
  left:16px;
  width:12px;
  height:12px;
  background:rgba(12,20,36,.96);
  border-left:1px solid var(--stroke2);
  border-top:1px solid var(--stroke2);
  transform:rotate(45deg);
}

.apps-menu.is-open .apps-dropdown{
  opacity:1;
  transform:translateY(0);
  visibility:visible;
  pointer-events:auto;
}

.apps-title{
  font-size:12px;
  letter-spacing:.8px;
  font-weight:700;
  opacity:.92;
}

.apps-links{
  display:flex;
  gap:18px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(160,190,255,.12);
}

.apps-link{
  flex:1;
  text-align:center;
  font-weight:800;
  letter-spacing:.4px;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid rgba(160,190,255,.12);
  background:rgba(19,39,71,.25);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.apps-link:hover{
  transform:translateY(-1px);
  background:rgba(19,39,71,.45);
  border-color:rgba(160,190,255,.22);
}

.apps-link--blog{
  color:#2a8cff;
  box-shadow: inset 0 -3px 0 rgba(42,140,255,.85);
}
.apps-link--forum{
  color:#ff4d5a;
  box-shadow: inset 0 -3px 0 rgba(255,77,90,.85);
}
.apps-link--analiz{
  color:#f6c343;
  box-shadow: inset 0 -3px 0 rgba(246,195,67,.85);
}

@media (max-width: 860px){
  /* Mobilde de logo yanındaki "R10.NET UYGULAMALARI" butonu kalsın */
  .apps-menu{ display:flex; }
  /* Küçük ekranlarda dropdown taşmasını önle */
  .apps-dropdown{ min-width: min(320px, calc(100vw - 36px)); }
}

.brand-logo{ height:100%; width:auto; max-width:180px; display:block; }
.brand-mark{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(34,199,169,.25), rgba(42,140,255,.18));
  border:1px solid var(--stroke);
  box-shadow: var(--shadow2);
}
.brand-text{ font-weight:500; letter-spacing:.6px; }
.brand-dot{ color:var(--brand); }

.search{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border:1px solid var(--stroke);
  border-radius:14px;
  background:rgba(15,31,54,.7);
}
.search input{
  width:100%;
  border:0;
  background:transparent;
  outline:none;
  font-size:14px;
  color:var(--text);
}
.search input::placeholder{ color:rgba(158,178,206,.75); }

.icon-btn{
  border:1px solid var(--stroke);
  background:rgba(19,39,71,.55);
  border-radius:12px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.icon-btn:hover{ transform: translateY(-1px); border-color:var(--stroke2); background:rgba(19,39,71,.8); }
.icon-btn:active{ transform: translateY(0px); }

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(19,39,71,.55);
  box-shadow: var(--shadow2);
  font-size:13px;
  white-space:nowrap;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.pill:hover{ transform: translateY(-1px); border-color:var(--stroke2); background:rgba(19,39,71,.8); }
.pill-primary{
  background:linear-gradient(135deg, rgba(34,199,169,.18), rgba(42,140,255,.22));
  border-color:rgba(42,140,255,.25);
}
.pill .badge{
  margin-left:2px;
  font-weight:500;
  font-size:12px;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(42,140,255,.22);
  border:1px solid rgba(42,140,255,.35);
}
.pill .sep{ opacity:.6; }

.pill-icononly{ padding:9px 10px; gap:0; }
.pill-icononly .pill-text{ display:none; }

/* Mobilde gösterilecek R10 uygulamalar butonu (desktop'ta gizli) */
.m-apps-btn{ display:none; }

.r10-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:10px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.2px;
  color:rgba(235,245,255,.95);
  background:linear-gradient(135deg, rgba(42,140,255,.35), rgba(34,199,169,.25));
  border:1px solid rgba(255,255,255,.14);
}

/* Mobil header ikonları */
.m-header-icons{
  display:none;
  align-items:center;
  gap:8px;
}
.m-avatar{
  display:none;
  width:36px;
  height:36px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(19,39,71,.55);
  position:relative;
}
.m-avatar-dot{
  position:absolute;
  right:-1px;
  bottom:-1px;
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--brand);
  border:2px solid rgba(11,18,32,.85);
}

/* Page grid */
.page{
  width:100%;
  padding:18px;
}

.content-grid{
  width:100%;
  display:grid;
  gap:var(--gap);
  grid-template-columns: var(--ad-left) minmax(0, 1fr) var(--ad-right);
  align-items:start;
}

/*
  IMPORTANT:
  Reklam slotları data-ad-left/right ile kapatıldığında (display:none),
  grid auto-placement kalan elemanları sola kaydırıp "main" alanını daraltıyordu.
  Kolonları sabitlemek için her parçayı kendi kolonuna kilitliyoruz.
  (1100px altı tek kolon modunda bu ayar override edilir.)
*/
.content-grid > .ad-left{ grid-column:1; }
.content-grid > .main{ grid-column:2; }
.content-grid > .ad-right{ grid-column:3; }

.ad-slot{ min-width:0; }
.ad-card{
  border-radius:var(--r);
  border:1px solid var(--stroke);
  background:rgba(15,31,54,.65);
  box-shadow: var(--shadow2);
  padding:14px;
}
.ad-card.sticky{
  position:sticky;
  top:84px;
}
.ad-title{ font-weight:500; letter-spacing:.8px; }
.ad-sub{ color:var(--muted); font-size:12px; margin-top:4px; }

html[data-ad-left="off"] .ad-left{ display:none; }
html[data-ad-right="off"] .ad-right{ display:none; }

.main{ min-width:0; }

/* Footer (header gibi, full width) */
.site-footer{
  margin-top:22px;
  width:100%;
  backdrop-filter:saturate(1.4) blur(14px);
  background:rgba(11,18,32,.72);
  border-top:1px solid var(--stroke);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 18px;
  color:rgba(233,242,255,.78);
}

.footer-note{
  padding: 10px 18px 16px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  border-top:1px solid rgba(255,255,255,.06);
  color:rgba(233,242,255,.86);
}
.footer-note .rights{
  position:relative;
  padding:6px 14px;
  border-radius:999px;
  font-weight:600;
  letter-spacing:.3px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(160,190,255,.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  overflow:hidden;
}
.footer-note .rights::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  background: linear-gradient(90deg, transparent, rgba(160,190,255,.42), transparent);
  transform: translateX(-65%);
  opacity:.0;
}
.footer-note:hover .rights::before{
  opacity:1;
  animation: footerShimmer 1.6s linear infinite;
}
.footer-note .version{
  font-size:12px;
  opacity:.78;
  letter-spacing:.2px;
}
@keyframes footerShimmer{
  from{ transform: translateX(-65%); }
  to{ transform: translateX(65%); }
}
.footer-links{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
/* Footer sağ linkler: buton görünümü (istek: gizlilik/kurallar/iletişim) */
.footer-links a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(160,190,255,.18);
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  color: rgba(233,242,255,.86);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.2px;
  opacity:1;
  overflow:hidden;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, color .12s ease;
}
.footer-links a::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  background: linear-gradient(90deg, transparent, rgba(160,190,255,.34), transparent);
  transform: translateX(-65%);
  opacity:0;
}
.footer-links a:hover{
  transform: translateY(-1px);
  border-color: rgba(160,190,255,.30);
  background: rgba(19,39,71,.30);
  color: rgba(233,242,255,.95);
}
.footer-links a:hover::before{
  opacity:1;
  animation: footerLinkShimmer 1.6s linear infinite;
}
.footer-links a:active{ transform: translateY(0px) scale(.99); }
.footer-links a.is-active{
  border-color: rgba(42,140,255,.42);
  background: rgba(42,140,255,.16);
}
@keyframes footerLinkShimmer{
  from{ transform: translateX(-65%); }
  to{ transform: translateX(65%); }
}
/* JS ripple */
.footer-links a .ripple{
  position:absolute;
  width:10px;
  height:10px;
  border-radius:999px;
  transform: translate(-50%, -50%) scale(1);
  pointer-events:none;
  background: rgba(233,242,255,.35);
  animation: footerRipple .62s ease-out forwards;
}
@keyframes footerRipple{
  from{ opacity:.55; transform: translate(-50%, -50%) scale(1); }
  to{ opacity:0; transform: translate(-50%, -50%) scale(18); }
}



.footer-center{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  text-align:center;
}
.footer-center .rights{
  position:relative;
  padding:6px 14px;
  border-radius:999px;
  font-weight:600;
  letter-spacing:.3px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(160,190,255,.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.footer-center .version{
  font-size:12px;
  opacity:.82;
  letter-spacing:.2px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
}
.footer-center .version .dot{
  opacity:.55;
}

@media (max-width: 860px){
  .footer-inner{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
  }
  .footer-links{ justify-content:center; }
}
/* Cards + sections */
.card{
  border-radius:var(--r);
  border:1px solid var(--stroke);
  background:rgba(15,31,54,.66);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-head{
  padding:12px;
  border-bottom:1px solid var(--stroke);
  background:rgba(19,39,71,.35);
}

.top-panels{
  display:grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap:var(--gap);
}

.segmented{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.seg{
  border:1px solid var(--stroke);
  background:rgba(19,39,71,.35);
  border-radius:999px;
  padding:8px 10px;
  cursor:pointer;
  font-size:12px;
  font-weight:500;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.seg:hover{ transform: translateY(-1px); border-color:var(--stroke2); background:rgba(19,39,71,.6); }
.seg.is-active{
  background:linear-gradient(135deg, rgba(34,199,169,.22), rgba(42,140,255,.18));
  border-color:rgba(34,199,169,.35);
}

.tabs{
  display:flex;
  gap:8px;
  overflow:auto;
  padding-bottom:2px;
}
.tabs::-webkit-scrollbar{ height:6px; }
.tabs::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.12); border-radius:999px; }

.tab{
  border:1px solid var(--stroke);
  background:rgba(19,39,71,.2);
  border-radius:12px;
  padding:8px 10px;
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
  cursor:pointer;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.tab:hover{ transform: translateY(-1px); border-color:var(--stroke2); background:rgba(19,39,71,.55); }
.tab.is-active{
  background:linear-gradient(135deg, rgba(42,140,255,.22), rgba(34,199,169,.14));
  border-color:rgba(42,140,255,.35);
}

.table{ display:block; }
.t-row{
  display:grid;
  grid-template-columns: 34px minmax(0, 1fr) 240px 76px 76px 130px;
  gap:12px;
  align-items:center;
  padding:10px 12px;
  border-bottom:1px solid var(--stroke);
}
.table.tiny .t-row{
  grid-template-columns: minmax(0, 1fr) 64px;
}
.t-row.t-head{
  position:sticky;
  top:0;
  z-index:2;
  background:rgba(11,18,32,.85);
  font-size:11px;
  letter-spacing:.9px;
  font-weight:500;
  color:rgba(158,178,206,.9);
  text-transform:uppercase;
}
.t-row.link{ cursor:pointer; }
.t-row.link:hover{ background:rgba(19,39,71,.25); }

/* En Aktif Üyelerimiz: satır hover */
.members .table.tiny .t-row:not(.t-head){
  transition: background .14s ease, transform .14s ease;
}
.members .table.tiny .t-row:not(.t-head):hover{
  background: rgba(19,39,71,.25);
  transform: translateY(-1px);
}

.t-cell{ min-width:0; font-size:13px; }
.t-cell.shrink{ width:34px; }
.t-cell.right{ text-align:right; }
.t-cell.center{ text-align:center; }

.topic-ico{ filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.cat{ color:rgba(158,178,206,.92); }

.pillnum{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:36px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(34,199,169,.12);
  border:1px solid rgba(34,199,169,.28);
  font-weight:500;
  font-size:12px;
}

.muted{ color:rgba(158,178,206,.85); }

.user{ display:flex; align-items:center; gap:10px; }
.avatar{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(42,140,255,.25), rgba(34,199,169,.16));
  border:1px solid var(--stroke);
  font-weight:500;
  letter-spacing:.4px;
}
.user-meta{ min-width:0; }
.user-name{ font-weight:500; }
.user-tag{ font-size:11px; color:rgba(158,178,206,.85); letter-spacing:.4px; }

/* Banner */
.banners{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:var(--gap);
  margin-top:var(--gap);
}
.banner{
  border:1px solid var(--stroke);
  background:rgba(15,31,54,.28);
  padding:0;
  height:auto;
  line-height:0;
  overflow:hidden;
  border-radius:var(--r);
  box-shadow: var(--shadow2);
  transform: translateY(0);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  position:relative;
}

.banner::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 50%), rgba(42,140,255,.28), transparent 60%);
  opacity:0;
  transition: opacity .16s ease;
  pointer-events:none;
}

.banner:hover{
  transform: translateY(-2px);
  border-color: var(--stroke2);
  box-shadow: 0 16px 40px rgba(0,0,0,.42);
}
.banner:hover::before{ opacity:1; }
.banner:hover img{ transform: scale(1.02); }
.banner a,
.banner center{ display:block; width:100%; }
.banner img{
  display:block;
  width:100%;
  height:auto;
  transition: transform .2s ease;
}
/* Tri cards */
.tri{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:var(--gap);
  margin-top:var(--gap);
}
.mini{
  display:flex;
  gap:12px;
  padding:16px;
  border-radius:var(--r);
  border:1px solid var(--stroke);
  background:rgba(15,31,54,.66);
  box-shadow: var(--shadow2);
  transition: transform .12s ease, border-color .12s ease;
}
.mini:hover{ transform: translateY(-2px); border-color:var(--stroke2); }
.mini-ico{
  width:44px; height:44px;
  border-radius:16px;
  display:grid; place-items:center;
  background:rgba(42,140,255,.16);
  border:1px solid rgba(42,140,255,.22);
  flex:0 0 auto;
}
.mini h3{ margin:0 0 6px 0; font-size:14px; }
.mini p{ margin:0; color:rgba(158,178,206,.9); font-size:13px; line-height:1.4; }

/* Forum blocks */
.forum-block{ margin-top:var(--gap); }
.block-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:4px 2px 10px 2px;
}
.block-left{ display:flex; align-items:center; gap:10px; }
.dot{ width:10px; height:10px; border-radius:999px; background:var(--brand2); box-shadow:0 0 0 6px rgba(42,140,255,.12); }
.block-head h2{ margin:0; font-size:16px; letter-spacing:.2px; }
.count{
  font-size:12px;
  font-weight:500;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(19,39,71,.35);
  border:1px solid var(--stroke);
  white-space:nowrap;
}
.count:hover{ border-color:var(--stroke2); }

.card.list{ overflow:hidden; }
.list-row{
  display:grid;
  grid-template-columns: minmax(0, 1fr) clamp(120px, 14vw, 150px) clamp(190px, 26vw, 240px);
  gap:14px;
  padding:12px;
  border-bottom:1px solid var(--stroke);
  align-items:center;
}
.list-row.head{
  background:rgba(11,18,32,.85);
  position:sticky;
  top:0;
  z-index:1;
  font-size:11px;
  font-weight:500;
  letter-spacing:.9px;
  color:rgba(158,178,206,.9);
}

/* Kategori başlığı: taşmayı/alt alta gelmeyi engelle */
.list-row.head > div{ white-space:nowrap; }
.list-row.head > .center{ text-align:left; }
.list-row.head > .right{ text-align:right; }
.forum-name{ display:flex; gap:12px; align-items:flex-start; min-width:0; }
.f-ico{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius:16px;
  background:rgba(34,199,169,.12);
  border:1px solid rgba(34,199,169,.25);
  flex:0 0 auto;
}
.title{ font-weight:500; }
.desc{ font-size:13px; color:rgba(158,178,206,.88); margin-top:3px; line-height:1.35; }
.stat{ font-size:13px; color:rgba(158,178,206,.9); }
.last{ font-size:13px; }
.last-title{ font-weight:500; }

/* "Duyurular ve Kurallar" gibi önemli ana kategori bloklarını daha belirgin göster */
/*
  Kullanıcı isteği: diğer kategori ana başlıkları da aynı tasarım olsun.
  Bunun için JS, tüm bloklara .is-accent ekler.
  Sadece "duyuru/kurallar" gibi bloklar ayrıca .is-announce alır ve rozet görünür.
*/
.forum-block.is-announce,
.forum-block.is-accent{
  position:relative;
}

/* Başlık şeridi: daha dolu, daha "kart" hissi */
.forum-block.is-announce .block-head,
.forum-block.is-accent .block-head{
  padding:12px 12px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(255,176,32,.22), transparent 55%),
    radial-gradient(900px 260px at 90% 0%, rgba(42,140,255,.18), transparent 60%),
    rgba(19,39,71,.35);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.forum-block.is-announce .dot,
.forum-block.is-accent .dot{
  background: var(--warn);
  box-shadow: 0 0 0 6px rgba(255,176,32,.14);
}

/* Başlıktaki rozet (JS ekliyor) */
.block-badge{
  font-size:11px;
  font-weight:700;
  letter-spacing:.6px;
  text-transform:uppercase;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,176,32,.26);
  background: rgba(255,176,32,.14);
  color: rgba(255,235,205,.95);
  line-height:1;
}

/* Kart: üstte ince bir vurgu çizgisi + biraz daha güçlü gölge */
.forum-block.is-announce .card,
.forum-block.is-accent .card{
  position:relative;
  border-color: rgba(255,176,32,.20);
  box-shadow:
    0 16px 40px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,176,32,.10) inset;
}
.forum-block.is-announce .card::before,
.forum-block.is-accent .card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:3px;
  background: linear-gradient(90deg, rgba(255,176,32,.85), rgba(42,140,255,.65), rgba(34,199,169,.55));
}

/* Liste satırlarına yumuşak hover (masaüstü) */
.forum-block.is-announce .list-row:not(.head),
.forum-block.is-accent .list-row:not(.head){
  transition: background .14s ease, transform .14s ease;
}
.forum-block.is-announce .list-row:not(.head):hover,
.forum-block.is-accent .list-row:not(.head):hover{
  background: rgba(255,176,32,.06);
}

/* Giriş animasyonu (JS: görünür olunca .is-revealed ekler) */
.forum-block.is-announce,
.forum-block.is-accent{
  transform: translateY(6px);
  opacity: .96;
  transition: transform .22s ease, opacity .22s ease;
}
.forum-block.is-announce.is-revealed,
.forum-block.is-accent.is-revealed{
  transform: none;
  opacity: 1;
}

/* Mobile bottom nav */
.mobile-nav{
  display:none;
  position:fixed;
  width:100vw;
  left:50%;
  transform:translateX(-50%);
  right:auto;
  bottom:0;
  height:var(--mobileNavH);
  background:rgba(11,18,32,.9);
  border-top:1px solid var(--stroke);
  backdrop-filter:saturate(1.4) blur(14px);
  z-index:60;
  padding:8px 10px;
  gap:8px;
}
.mobile-nav .m-item{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border-radius:14px;
  border:1px solid transparent;
  background:transparent;
  cursor:pointer;
  padding:6px 4px;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.mobile-nav .m-item:hover{ transform: translateY(-1px); background:rgba(19,39,71,.35); }
.mobile-nav .m-item.is-active{
  background:rgba(42,140,255,.18);
  border-color:rgba(42,140,255,.3);
}
.m-ico{ font-size:18px; }
.m-txt{ font-size:11px; font-weight:500; letter-spacing:.2px; opacity:.95; }

/* Modal (Quick Menu) */
.modal{
  position:fixed;
  inset:0;
  z-index:80;
  opacity:0;
  pointer-events:none;
  transition: opacity .16s ease;
}
.modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}
.modal-sheet{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  top:0;
  background:linear-gradient(180deg, rgba(15,31,54,.95), rgba(11,18,32,.95));
  border-top-left-radius:24px;
  border-top-right-radius:24px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:12px;
  transform: translateY(10px);
  transition: transform .16s ease;
}
.modal.is-open .modal-sheet{ transform: translateY(0); }

.qm-top{ display:flex; align-items:center; gap:12px; }
.qm-avatar{
  width:52px; height:52px;
  border-radius:20px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(42,140,255,.28), rgba(34,199,169,.18));
  border:1px solid rgba(255,255,255,.12);
  font-weight:500;
}
.qm-meta{ min-width:0; }
.qm-name{ font-weight:500; }
.verified{ margin-left:6px; }
.qm-last{ font-size:12px; color:rgba(158,178,206,.9); margin-top:4px; }
.qm-exit{
  margin-left:auto;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
}

.qm-tabs{ display:flex; gap:10px; }
.qm-tab{
  flex:1;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  border-radius:14px;
  padding:10px;
  cursor:pointer;
  font-weight:500;
}
.qm-tab.is-active{
  background:rgba(34,199,169,.14);
  border-color:rgba(34,199,169,.28);
}

.qm-view{ flex:1; min-height:0; display:flex; }
.qm-view[hidden]{ display:none !important; }
.qm-view .qm-list{ flex:1; }

.qm-list{
  flex:1;
  overflow:auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.12);
}
.qm-row{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border:0;
  background:transparent;
  cursor:pointer;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.qm-row:hover{ background:rgba(255,255,255,.06); }
.qm-ico{ width:26px; text-align:center; }
.qm-label{ flex:1; text-align:left; font-weight:500; }
.qm-actions{ display:flex; gap:10px; opacity:.9; }
.qm-badge{
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,176,32,.28);
  background:rgba(255,176,32,.12);
  font-weight:500;
}

.qm-bottom{ display:flex; gap:10px; }
.qm-btn{
  flex:1;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  border-radius:16px;
  padding:12px;
  cursor:pointer;
  font-weight:500;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.qm-btn-primary{
  background:linear-gradient(135deg, rgba(42,140,255,.25), rgba(34,199,169,.14));
  border-color:rgba(42,140,255,.28);
}
.qm-count{
  font-size:12px;
  padding:3px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
}

.qm-close{
  position:absolute;
  top:10px;
  right:10px;
  width:40px;
  height:40px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  cursor:pointer;
}

/* Footer üstü bilgi şeridi (Yasal Uyarı + İstatistikler) */
.info-strip{
  width:100%;
  padding: 0 18px 18px;
  background: none; /* kanka: arka plan rengini kaldırdım */
}

.info-inner{
  display:grid;
  gap: var(--gap);
}

.info-card{
  border-radius: 16px;
  border:1px solid var(--stroke);
  background: var(--card);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.legal-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px 16px;
}

.legal-icon{
  width:44px;
  height:44px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight:700;
  color:#0b1220;
  background: linear-gradient(135deg, rgba(42,140,255,.22), rgba(34,199,169,.18));
  border:1px solid var(--stroke);
}

.legal-title{
  font-size:16px;
  color: var(--text);
  margin:0 0 6px;
}

.legal-text{
  color: var(--muted);
  font-size:13px;
  line-height:1.55;
}

.online-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
}

.online-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.online-ico{
  width:40px;
  height:40px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(42,140,255,.10);
  border:1px solid var(--stroke);
}

.online-top{
  font-size:12px;
  color: var(--muted);
}

.online-bottom{
  font-size:14px;
  color: var(--text);
}

.btn-soft{
  border:1px solid var(--stroke2);
  background: rgba(42,140,255,.08);
  color: var(--text);
  padding:10px 14px;
  border-radius: 12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-soft:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  background: rgba(42,140,255,.12);
}
.btn-soft:active{ transform: translateY(0); }

.stats-grid{
  display:grid;
  gap: var(--gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.stat-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.stat-ico{
  width:38px;
  height:38px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(34,199,169,.10);
  border:1px solid var(--stroke);
}

.stat-label{
  font-size:12px;
  color: var(--muted);
}

.stat-value{
  font-size:18px;
  color: var(--text);
  letter-spacing:.2px;
}

.stat-name{
  font-size:16px;
  color: var(--text);
}

.countup{
  font-variant-numeric: tabular-nums;
}

/* Responsive */
@media (max-width: 860px){
  .online-bar{ flex-direction:column; align-items:stretch; }
  .btn-soft{ justify-content:center; }
  .stats-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .stats-grid{ grid-template-columns: 1fr; }
  .legal-card{ padding:14px; }
}


/* Responsive */
@media (max-width: 1240px){
  :root{ --adW:260px; }
  .top-panels{ grid-template-columns: 340px minmax(0,1fr); }
  .t-row{ grid-template-columns: 34px minmax(0, 1fr) 220px 70px 70px 120px; }
}

@media (max-width: 1100px){
  /* Ads off on smaller screens */
  .ad-slot{ display:none; }
  .content-grid{ grid-template-columns: 1fr; }
  /* Tek kolon modunda grid-column kilitlerini kaldır */
  .content-grid > .main,
  .content-grid > .ad-left,
  .content-grid > .ad-right{ grid-column:auto; }
  html{ --ad-left:0px; --ad-right:0px; }
}

@media (max-width: 860px){
  /* Mobil header: sticky yerine daha stabil fixed (bazı cihazlarda sticky bozulabiliyor) */
  .site-header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:999;
  }

  /* Fixed header içerik üstüne binmesin */
  body{ padding-top: var(--headerH, 64px); }

  /* Mobil üst header: sadece arama + giriş/kayıt + reklam ayarları (logo yanındaki apps butonu zaten var) */
  .header-actions{ display:flex; }
  .m-header-icons{ display:none; }
  .m-avatar{ display:none; }

  /* Mobil header: logo yanındaki 9'lu apps butonunu gizle, sağ tarafa R10 butonu gelir */
  .brand-group .apps-menu{ display:none; }

  /* Mobil: reklam ayarını header'dan kaldır, yerine R10 uygulama butonu */
  .ads-btn{ display:none; }
  .m-apps-btn{ display:inline-flex; }

  /* Giriş/Kayıt: mobilde header'da hiç görünmesin */
  .pill-auth{ display:none; }

  /* Mobil arama paneli: header'ın hemen altında tam genişlik */
  .mobile-search-panel{
    display:none;
    position:fixed;
    left:0;
    right:0;
    top: var(--headerH, 64px);
    z-index: 998;
    padding: 10px 12px;
    background: rgba(10,16,28,.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    max-height: calc(100vh - var(--headerH, 64px));
    overflow:auto;
  }
  body.search-open .mobile-search-panel{ display:block; }
  .mobile-search-panel .search{ display:flex; width: 100%; max-width: none; }
  .mobile-search-panel .search-input{ width: 100%; }

  /* Mobil uygulamalar paneli: arama paneli gibi header'ın altından açılır */
  .mobile-apps-panel{
    display:none;
    position:fixed;
    left:0;
    right:0;
    top: var(--headerH, 64px);
    z-index: 998;
    padding: 10px 12px;
    background: rgba(10,16,28,.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    max-height: calc(100vh - var(--headerH, 64px));
    overflow:auto;
  }
  body.apps-open .mobile-apps-panel{ display:block; }
  .mobile-apps-inner{ width:100%; max-width:none; }
  .mobile-apps-panel .apps-links{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px; }
  .mobile-apps-panel .apps-link{ display:flex; justify-content:center; }


/* Mobil popup'lar: header ile alt navbar arasına otursun (X butonları header altında kalmasın) */
.modal{
  top: var(--headerH, 64px);
  bottom: var(--mobileNavH);
  left:0;
  right:0;
}
/* Sheet tüm alanı kaplasın (artık 0..0 aralığı header/navbar arası) */
.modal-sheet{
  border-radius: 22px;
}

/* Fullscreen overlay (giriş/kayıt vs): mobilde header+navbar arasında kalsın */
.overlay{
  inset: var(--headerH, 64px) 0 var(--mobileNavH) 0;
  padding: 12px 12px 12px;
}
.overlay-shell{
  max-height: calc(100% - 24px);
}

  .top-panels{ grid-template-columns: 1fr; }
  .banners{ grid-template-columns: 1fr; }
  .tri{ grid-template-columns: 1fr; }
  .list-row{ grid-template-columns: 1fr; }
  .list-row.head{ display:none; }

  /* Mobilde ana kategori başlıkları (hepsi aynı tasarım) */
  .forum-block.is-announce .block-head,
  .forum-block.is-accent .block-head{
    padding:10px 10px;
    border-radius:18px;
  }
  .forum-block.is-announce .block-left,
  .forum-block.is-accent .block-left{ gap:8px; }
  .forum-block.is-announce .block-badge{ padding:6px 9px; }
  .forum-block.is-announce .count,
  .forum-block.is-accent .count{ padding:8px 10px; }

  .mobile-nav{ display:flex; }
  body{ padding-bottom: calc(var(--mobileNavH) + 12px); }
  .t-row{ grid-template-columns: 34px minmax(0,1fr) 100px; }
  .t-row .t-cell:nth-child(3),
  .t-row .t-cell:nth-child(4),
  .t-row .t-cell:nth-child(5){ display:none; }

  /* -------------------------------------------------
     Mobil forum/kategori listesi: daha "kart" görünüm
     (ikon + başlık + açıklama + istatistik + son mesaj)
     JS, satırlara .m-row class'ı ekler.
  -------------------------------------------------- */
  .card.list{ background:transparent; border-color:transparent; }
  .card.list .list-row.m-row{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px;
    margin:10px 10px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;
    background: rgba(12,18,30,.55);
    box-shadow: 0 10px 22px rgba(0,0,0,.22);
    border-bottom: none;
  }
  /* kartların arası net olsun */
  .card.list .list-row.m-row + .list-row.m-row{ margin-top:0; }

  /* hover efektinde radius doğru olsun */
  .card.list .list-row.m-row::before{ border-radius:18px; inset:0; }

  .card.list .list-row.m-row .forum-name{
    align-items:center;
    gap:12px;
  }
  .card.list .list-row.m-row .f-ico{
    width:44px;
    height:44px;
    border-radius:18px;
  }
  .card.list .list-row.m-row .title{ font-size:15px; line-height:1.25; }
  .card.list .list-row.m-row .desc{ font-size:12.5px; line-height:1.35; }

  /* İstatistikleri "pill" şeklinde yan yana */
  .card.list .list-row.m-row .stat{
    display:flex;
    gap:8px;
    align-items:center;
    justify-content:flex-start;
    font-size:12px;
  }
  .card.list .list-row.m-row .stat > div{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 10px;
    border-radius:999px;
    background: rgba(19,39,71,.42);
    border:1px solid rgba(255,255,255,.10);
    color: rgba(220,235,255,.92);
    white-space:nowrap;
  }
  .card.list .list-row.m-row .stat .muted{ color: rgba(158,178,206,.88); }

  /* Son mesaj: üstte ayırıcı + 2 satır clamp */
  .card.list .list-row.m-row .last{
    text-align:left;
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:10px;
    display:flex;
    flex-direction:column;
    gap:4px;
  }
  .card.list .list-row.m-row .last-title{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .card.list .list-row.m-row .last .muted{ font-size:12px; }

  /* Desktop'tan gelen hizalamaları düzelt */
  .card.list .list-row.m-row .center,
  .card.list .list-row.m-row .right{ text-align:left; }
}

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



/* -----------------------------
   Updates (Jan 2026):
   - Ads scroll (no sticky)
   - Category hover effects
   - Search trigger near logo + expand on click
   - Fullscreen auth overlay
------------------------------ */

.sticky{ position:static; top:auto; }

.brand-group{ display:flex; align-items:center; gap:12px; min-width: 0; }
.search-trigger{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
  white-space:nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}
.search-trigger:hover{ background: rgba(255,255,255,.10); border-color: rgba(160,190,255,.22); transform: translateY(-1px); }
.search-trigger:active{ transform: translateY(0px); }
.search-trigger span{ font-size:14px; opacity:.92; }

/* Header search (desktop flyout: opens to the LEFT) */
.header-search-box{ position:relative; display:inline-flex; align-items:center; }
.search-trigger--icon{
  padding:10px;
  width:40px; height:40px;
  display:grid;
  place-items:center;
  gap:0;
}
.search-trigger--icon svg{ width:18px; height:18px; }

.search-fly{
  position:absolute;
  right: calc(100% + 10px);
  top:50%;
  transform: translateY(-50%) scaleX(.05);
  transform-origin: right center;
  opacity:0;
  pointer-events:none;
  visibility:hidden;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border:1px solid var(--stroke);
  border-radius:14px;
  background:rgba(15,31,54,.78);
  backdrop-filter:saturate(1.2) blur(14px);
  box-shadow: var(--shadow2);
  width: min(360px, 68vw);
  max-width: 360px;
  z-index: 50;
  overflow:hidden;
  transition: transform .22s ease, opacity .18s ease, visibility 0s linear .22s;
}
.search-fly input{
  flex:1;
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  color:var(--text);
  font-size:14px;
}
.search-fly input::placeholder{ color:rgba(158,178,206,.75); }

body.search-open .search-fly{
  transform: translateY(-50%) scaleX(1);
  opacity:1;
  pointer-events:auto;
  visibility:visible;
  transition: transform .24s ease, opacity .18s ease, visibility 0s;
}
body.search-open .search-trigger{ opacity:.65; }

/* Mobile search bar (full width under header) */
.search-mobile{ display:none; }

@media (max-width: 860px){
  /* Desktop arama formunu mobilde gizle; paneldeki tam genişlik aramayı kullan */
  .search-fly{ display:none; }

  .search-mobile{ display:flex; margin:0; width:100%; }
  body:not(.search-open) .search-mobile{ display:none; }

  /* trigger as icon-only on mobile */
  .search-trigger{ padding:10px; width:40px; height:40px; gap:0;
}

  .search-trigger span{ display:none; }
}



/* Category hover (list rows) */
.list-row:not(.head){
  position:relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  will-change: transform;
}
.list-row:not(.head)::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:16px;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(110,170,255,.22), transparent 48%);
  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.list-row:not(.head):hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.26);
  border-color: rgba(120,160,255,.35);
}
.list-row:not(.head):hover::before{ opacity:1; }

/* Fullscreen auth overlay */
.overlay[hidden]{ display:none; }
.overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding: 64px 18px 40px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}
.overlay-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(8px);
}
.overlay-shell{
  position:relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 120px);
  display:grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(12,18,30,.94);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.overlay-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(20,32,52,.78), rgba(12,18,30,.35));
}
.overlay-brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.overlay-content{
  padding: 22px;
  overflow:auto;
}
.overlay-title{
  font-size: 18px;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
  margin-bottom: 14px;
}
.auth-table{
  display:grid;
  gap:12px;
}
.auth-row{
  display:grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items:center;
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}


/* Auth popup rows hover */
.auth-row{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  will-change: transform;
}
.auth-row::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 18px;
  background: radial-gradient(520px circle at var(--mx,50%) var(--my,50%), rgba(110,170,255,.20), transparent 52%);
  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.auth-row:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  border-color: rgba(120,160,255,.32);
  box-shadow: 0 16px 36px rgba(0,0,0,.30);
}
.auth-row:hover::before{ opacity:1; }
.auth-row:active{ transform: translateY(0px); }
.auth-thumb{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.auth-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.auth-name{ font-size: 15px; color: rgba(255,255,255,.92); }
.auth-desc{ font-size: 13px; color: rgba(255,255,255,.72); margin-top:4px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{ background: rgba(255,255,255,.12); border-color: rgba(160,190,255,.28); transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  background: rgba(80,140,255,.22);
  border-color: rgba(90,150,255,.32);
}
.btn-primary:hover{ background: rgba(80,140,255,.30); border-color: rgba(120,175,255,.44); }

.overlay-footer{
  padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(0deg, rgba(20,32,52,.78), rgba(12,18,30,.35));
}
body.overlay-open{ overflow:hidden; }



/* ============================
   Mini cards (Ürünler/SSS/Destek) – modern hover + detay
============================ */
.mini{
  position:relative;
  overflow:hidden;
}
.mini::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(80,140,255,.16), transparent 55%);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
}
.mini:hover::before{ opacity:1; }

.mini-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mini h3{ font-weight:500; }
.mini p{ line-height:1.35; }

.mini-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
}
.mini-tags .tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
}
.mini-note{
  margin-top:8px;
  font-size:12px;
  color: rgba(255,255,255,.72);
}

.mini-more{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform: translateY(-2px);
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease;
}
.mini.is-open .mini-more{
  max-height:160px;
  opacity:1;
  transform: translateY(0);
}

.mini-btn{
  align-self:flex-start;
  align-items:center;
  gap:8px;
  margin-top:4px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}
.mini-btn:hover{
  transform: translateY(-1px);
  background: rgba(80,140,255,.10);
  border-color: rgba(120,175,255,.34);
}
.mini-btn:active{ transform: translateY(0px); }
.mini-arrow{
  margin-left:4px;
  opacity:.85;
  transition: transform .18s ease;
}
.mini.is-open .mini-arrow{
  transform: translateX(4px) rotate(90deg);
}

/* Tri cards responsive */
@media (max-width: 860px){
  .tri{ grid-template-columns: 1fr; }
}

/* ---- Ads: always scroll with page (no sticky/fixed) ---- */
.ad-left, .ad-right, .ad-slot, .ad-card{
  position: sticky !important;
  top: 10% !important;
}
.ad-card.sticky{
  position: static !important;
  top: auto !important;
}



/* Üst kısım scroll progress bar */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;

    /* site kahve / turuncu temaya uygun gradient */
    background: linear-gradient(
        90deg,
        #f97316,
        #facc15,
        #ffedd5
    );
    background-size: 200% 100%;

    transform-origin: left;
    transform: scaleX(0);
    opacity: 0;

    box-shadow:
        0 0 10px rgba(249, 115, 22, 0.8),
        0 0 18px rgba(250, 204, 21, 0.7);

    pointer-events: none;
    z-index: 999999; /* header ve hero’nun üstüne çıksın */

    transition:
        transform 0.12s ease-out,
        opacity 0.18s ease-out;
}

/* İstersen body’nin üstünde 4px boşluk bırak ki içerik bar’ın altına yapışmasın */
body {
    padding-top: 4px;
}

/* Toast (Reklam bildirimleri) */
.toast-host{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  z-index:90;
  display:flex;
  flex-direction:column;
  gap:10px;
  pointer-events:none;
  padding:0 12px;
  max-width:min(560px, calc(100vw - 24px));
}
@media (max-width: 860px){
  .toast-host{
    bottom: calc(var(--mobileNavH) + 18px);
  }
}

.toast{
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(11,18,32,.82);
  backdrop-filter:saturate(1.4) blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,.42);
  overflow:hidden;
  opacity:0;
  transform: translateY(18px) scale(.98);
  will-change: transform, opacity;
}

.toast::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(420px 140px at 20% 0%, rgba(42,140,255,.22), transparent 60%),
    radial-gradient(380px 160px at 80% 0%, rgba(34,199,169,.18), transparent 60%);
  opacity:.75;
  pointer-events:none;
}
.toast > *{ position:relative; z-index:1; }

.toast-emoji{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:18px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  flex:0 0 auto;
}

.toast-body{
  flex:1 1 auto;
  min-width:0;
  font-size:13px;
  color:rgba(233,242,255,.95);
  line-height:1.25rem;
}

.toast-x{
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
.toast-x:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.toast.is-in{
  animation: toastIn .38s cubic-bezier(.2,.9,.2,1) forwards;
}
.toast.is-out{
  animation: toastOut .26s ease forwards;
}

@keyframes toastIn{
  from{ opacity:0; transform: translateY(18px) scale(.98); }
  to{ opacity:1; transform: translateY(0px) scale(1); }
}
@keyframes toastOut{
  from{ opacity:1; transform: translateY(0px) scale(1); }
  to{ opacity:0; transform: translateY(10px) scale(.98); }
}


.topic-body[hidden]{ display:none !important; }

/* Tabs boş içerik (emoji + duyuru) */
.topic-body{ position:relative; }
.topic-body.is-empty{
  padding:18px 12px;
  min-height: 260px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.topic-body.is-empty .empty-state{
  width:100%;
  max-width: 760px;
  text-align:center;
  padding:26px 18px;
  border-radius:18px;
 border: 2px solid rgb(20 58 87);
    background: rgb(17 33 58);
  box-sizing:border-box;
}
.topic-body.is-empty .empty-emoji{
  font-size: clamp(44px, 6vw, 76px);
  line-height:1;
  margin-bottom: 12px;
  display:inline-block;
}
.topic-body.is-empty .empty-text{
  font-size: clamp(14px, 2.2vw, 18px);
 color: rgb(222 233 246);
  font-weight: 600;
  letter-spacing:.2px;
}



@media (max-width: 520px){
  .topic-body.is-empty{ min-height: 210px; }
  .topic-body.is-empty .empty-state{ padding:22px 14px; }
}


/* Perf: replace external loader GIF with lightweight CSS spinner */
.page-loader__spinner{width:48px;height:48px;border-radius:999px;border:4px solid rgba(255,255,255,.25);border-top-color:rgba(255,255,255,.9);animation:pageLoaderSpin 1s linear infinite;}
@keyframes pageLoaderSpin{to{transform:rotate(360deg);}}
@media (prefers-reduced-motion: reduce){.page-loader__spinner{animation:none;}}













  /* Zip teması paleti (style.css :root) ile uyumlu */
    #dle-welcome{
      --bg:#0b1220;
      --bg2:#0e1a2c;
      --card:#0f1f36;
      --stroke:rgba(255,255,255,.10);
      --stroke2:rgba(255,255,255,.14);
      --text:#e9f2ff;
      --muted:#9eb2ce;
      --brand:#22c7a9;
      --brand2:#2a8cff;
      --warn:#ffb020;

      --r:18px;
      --shadow:0 18px 48px rgba(0,0,0,.42);
      --shadow2:0 10px 26px rgba(0,0,0,.28);

      padding: clamp(14px, 2.2vw, 24px);
      color: var(--text);
      font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Arial,"Apple Color Emoji","Segoe UI Emoji";
    }

    #dle-welcome .dle-wrap{
      max-width: 100%;
      margin: 0 auto;
      border-radius: calc(var(--r) + 6px);
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.06);
      box-shadow: 0 10px 30px rgba(0,0,0,.18);
      overflow: hidden;
    }

    /* Üst başlık satırı */
    #dle-welcome .dle-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 12px;
      padding: 14px clamp(14px, 2vw, 18px);
      background: rgba(11,18,32,.62);
      backdrop-filter: blur(12px) saturate(1.2);
      border-bottom: 1px solid rgba(255,255,255,.06);
    }

    #dle-welcome .dle-title{
      margin:0;
      font-size: clamp(16px, 1.6vw, 20px);
      font-weight: 750;
      letter-spacing: .2px;
    }

    #dle-welcome .dle-notice{
      display:flex;
      align-items:center;
      gap: 10px;
      font-size: 12.5px;
      color: rgba(158,178,206,.95);
      white-space: nowrap;
      user-select:none;
    }

    #dle-welcome .dle-dot{
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.95), rgba(255,255,255,.25) 40%, transparent 60%),
                  linear-gradient(180deg, var(--brand2), var(--brand));
      box-shadow: 0 0 0 3px rgba(42,140,255,.18), 0 0 18px rgba(34,199,169,.35);
      flex: 0 0 auto;
    }

    #dle-welcome .dle-age{
      opacity:.95;
    }

    /* HERO (banner) */
    #dle-welcome .dle-hero{
      position: relative;
      isolation:isolate;
      padding: clamp(16px, 2.4vw, 26px);
      min-height: clamp(210px, 24vw, 290px);

      background:
        radial-gradient(900px 420px at 15% 10%, rgba(42,140,255,.22), transparent 60%),
        radial-gradient(800px 420px at 90% 0%, rgba(34,199,169,.18), transparent 60%),
        linear-gradient(180deg, rgba(14,26,44,.92), rgba(11,18,32,.94));
      border-top: 1px solid rgba(255,255,255,.04);
    }

    /* hareketli yıldız / toz efekti */
    #dle-welcome .dle-hero::before{
      content:"";
      position:absolute;
      inset:-40%;
      z-index:-1;
      background:
        radial-gradient(circle, rgba(255,255,255,.10) 1px, transparent 2px) 0 0/34px 34px,
        radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 2px) 12px 18px/46px 46px,
        radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 2px) 8px 10px/60px 60px;
      transform: translate3d(calc(var(--px,0px) * .35), calc(var(--py,0px) * .35), 0);
      animation: dleStars 26s linear infinite;
      opacity:.65;
      filter: blur(.2px);
    }
    @keyframes dleStars{
      0%{ transform: translate3d(calc(var(--px,0px) * .35), calc(var(--py,0px) * .35), 0) rotate(0deg); }
      100%{ transform: translate3d(calc(var(--px,0px) * .35), calc(var(--py,0px) * .35), 0) rotate(360deg); }
    }

    /* yumuşak ışık */
    #dle-welcome .dle-hero::after{
      content:"";
      position:absolute;
      inset:0;
      z-index:-1;
      background:
        radial-gradient(420px 220px at 50% 40%, rgba(255,176,32,.10), transparent 55%),
        radial-gradient(480px 260px at 50% 55%, rgba(42,140,255,.08), transparent 60%);
      pointer-events:none;
    }

    #dle-welcome .dle-grid{
      display:grid;
      grid-template-columns: 1fr 1.35fr 1fr;
      align-items:center;
      gap: clamp(12px, 2.2vw, 22px);
    }

    /* Sol/sağ görseller */
    #dle-welcome .dle-side{
      display:flex;
      align-items:center;
      justify-content:center;
    }

    #dle-welcome .dle-side img{
      width: min(280px, 92%);
      max-height: clamp(170px, 20vw, 250px);
      object-fit: contain;
      filter: drop-shadow(0 18px 28px rgba(0,0,0,.55));
      transform: translate3d(calc(var(--px,0px) * .6), calc(var(--py,0px) * .6), 0);
      transition: transform .25s ease, filter .25s ease;
      will-change: transform;
      user-select:none;
      -webkit-user-drag:none;
    }

    #dle-welcome .dle-side img:hover{
      transform: translate3d(calc(var(--px,0px) * .7), calc(var(--py,0px) * .7), 0) scale(1.02);
      filter: drop-shadow(0 22px 34px rgba(0,0,0,.62));
    }

    /* Orta içerik */
    #dle-welcome .dle-mid{
      text-align:center;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap: 10px;
      padding: 6px 0;
    }

    #dle-welcome .dle-pill{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid var(--stroke);
      background: rgba(15,31,54,.55);
      box-shadow: var(--shadow2);
      color: rgba(233,242,255,.92);
      font-size: 12.5px;
      letter-spacing:.2px;
    }

    #dle-welcome .dle-pill b{
      color: var(--warn);
      font-weight: 800;
    }

    #dle-welcome .dle-illu{
      width: clamp(62px, 8vw, 86px);
      height: clamp(62px, 8vw, 86px);
      border-radius: 999px;
      display:grid;
      place-items:center;
      background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 55%),
        linear-gradient(180deg, #ffce52, #ff8b2a);
      box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12) inset;
      transform: translate3d(calc(var(--px,0px) * .4), calc(var(--py,0px) * .4), 0);
      transition: transform .25s ease;
    }

    #dle-welcome .dle-illu svg{
      width: 54%;
      height: 54%;
      filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
    }

    #dle-welcome .dle-big{
      margin:0;
      font-size: clamp(28px, 3.8vw, 48px);
      line-height: 1.05;
      font-weight: 900;
      letter-spacing: .8px;
      text-transform: uppercase;
      background: linear-gradient(90deg, rgba(233,242,255,.92), rgba(42,140,255,.95), rgba(34,199,169,.92));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-shadow: 0 10px 28px rgba(0,0,0,.28);
    }

    #dle-welcome .dle-sub{
      margin:0;

      color: rgba(158,178,206,.92);
      font-size: clamp(12.5px, 1.2vw, 14.5px);
      line-height: 1.5;
    }

    #dle-welcome .dle-actions{
      margin-top: 6px;
      display:flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content:center;
    }

    #dle-welcome .dle-btn{
      border: 1px solid var(--stroke2);
      background: rgba(19,39,71,.62);
      color: rgba(233,242,255,.95);
      padding: 10px 14px;
      border-radius: 12px;
      font-weight: 750;
      font-size: 13px;
      box-shadow: var(--shadow2);
      transition: transform .2s ease, background .2s ease, border-color .2s ease;
      cursor:pointer;
      text-decoration:none;
      display:inline-flex;
      align-items:center;
      gap:10px;
    }

    #dle-welcome .dle-btn:hover{
      transform: translateY(-1px);
      border-color: rgba(42,140,255,.45);
      background: rgba(19,39,71,.78);
    }

    #dle-welcome .dle-btn.primary{
      border-color: rgba(34,199,169,.55);
      background: linear-gradient(90deg, rgba(42,140,255,.26), rgba(34,199,169,.22));
    }

    #dle-welcome .dle-btn .mini{
      width: 8px; height: 8px; border-radius: 99px;
      background: linear-gradient(180deg, var(--brand2), var(--brand));
      box-shadow: 0 0 14px rgba(34,199,169,.35);
    }

    /* Responsive */
    @media (max-width: 920px){
      #dle-welcome .dle-grid{
        grid-template-columns: 1fr;
        gap: 14px;
      }
      #dle-welcome .dle-side{ order: 2; }
      #dle-welcome .dle-mid{ order: 1; }
      #dle-welcome .dle-side:last-child{ order: 3; }
      #dle-welcome .dle-notice{ white-space: normal; text-align:right; }
    }

    @media (prefers-reduced-motion: reduce){
      #dle-welcome .dle-hero::before{ animation: none; }
      #dle-welcome .dle-side img,
      #dle-welcome .dle-illu{ transition:none; }
    }
	
	
	
	
/* -------------------------------------------------
   Animated / FX <hr>  (fullstory.tpl)
   Beyaz sweep (ışık) kaldırıldı — tek parça
-------------------------------------------------- */

hr{
  border: 0;
  height: 0;
  margin: 18px 0;
  position: relative;
  overflow: visible;
  background: transparent;
}

hr::before{
  content:"";
  display:block;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(var(--fs-accent2-rgb, 79,70,229), .10),
      rgba(var(--fs-accent2-rgb, 79,70,229), .85),
      rgba(var(--fs-accent2-rgb, 79,70,229), .10),
      transparent
    );

  transform: translateZ(0);
  animation: hrGlowPulse 2.6s ease-in-out infinite;
}

/* Hover'da daha belirgin (isteğe bağlı) */
hr:hover::before{
  box-shadow:

}

/* Motion hassasiyeti olanlar için animasyonu kapat */
@media (prefers-reduced-motion: reduce){
  hr::before{ animation: none; }
}

/* Animasyon */
@keyframes hrGlowPulse{
  0%, 100%{ opacity: .75; transform: scaleX(.98); }
  50%{ opacity: 1; transform: scaleX(1); }
}

	
	
	
	
	
