/* ---------- Gate UI ---------- */
.gate-shell{ padding:10px 0 30px; }
.gate-head{ margin-bottom:14px; }

.gate-title{
  font-size:28px;
  font-weight:900;
  color:#0f172a;
  letter-spacing:-0.02em;
}
.gate-sub{
  margin-top:8px;
  color:#475569;
  max-width:72ch;
  line-height:1.65;
}

.gate-tip{
  margin-top:12px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 12px;
  border-radius:14px;
  background:#f1f5f9;
  border:1px solid #e2e8f0;
  color:#0f172a;
  font-weight:800;
}
.gate-tip-ico{ flex:0 0 auto; }

.gate-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  overflow:hidden;
}

.gate-row{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding:16px;
  border-bottom:1px solid #eef2f7;
}
.gate-row:last-child{ border-bottom:none; }

.gate-left{ display:flex; gap:12px; align-items:flex-start; min-width:0; }
.gate-badge{
  width:34px; height:34px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900; background:#eef2ff; color:#4338ca; flex:0 0 auto;
}
.gate-meta{ min-width:0; }
.gate-name{ font-weight:900; color:#0f172a; }
.gate-desc{ margin-top:4px; color:#64748b; font-size:13px; line-height:1.45; }

.gate-actions{ display:flex; gap:10px; align-items:center; flex:0 0 auto; flex-wrap:wrap; }

.gate-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e2e8f0;
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  font-weight:900;
  color:#0f172a;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease;
  box-shadow:0 4px 16px rgba(15, 23, 42, .06);
}
.gate-btn:hover{ box-shadow:0 8px 22px rgba(15, 23, 42, .10); }
.gate-btn:active{ transform:scale(.98); }

.gate-link{ font-weight:900; color:#4338ca; text-decoration:none; }
.gate-link:hover{ text-decoration:underline; }

/* okundu rozet */
.gate-read{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  background:#ecfdf5;
  color:#065f46;
  border:1px solid #a7f3d0;
}

/* row okununca hafif “tamamlandı” hissi */
.gate-row.is-read{
  background:linear-gradient(0deg, rgba(236,253,245,.55), transparent);
}

/* accept area */
.gate-accept{ padding:16px; background:#f8fafc; }
.gate-check{ display:flex; gap:10px; align-items:flex-start; font-weight:900; color:#0f172a; }
.gate-check input{ margin-top:4px; transform:scale(1.05); }

.gate-foot{
  margin-top:12px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.gate-leftfoot{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }

.gate-progress{
  font-weight:900;
  font-size:13px;
  color:#334155;
  padding:6px 10px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #e2e8f0;
}
.gate-hint{
  font-weight:800;
  font-size:13px;
  color:#475569;
}

.gate-continue{
  border:none;
  background:#0f172a;
  color:#fff;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  min-width:160px;
  box-shadow:0 12px 30px rgba(15,23,42,.16);
}
.gate-continue:active{ transform:scale(.99); }
.gate-continue:disabled{ opacity:.45; cursor:not-allowed; box-shadow:none; }

.gate-note{ margin-top:10px; font-size:12px; color:#64748b; line-height:1.55; }

@media (max-width: 640px){
  .gate-row{ flex-direction:column; align-items:stretch; }
  .gate-actions{ width:100%; justify-content:flex-start; }
  .gate-continue{ width:100%; }
}
