body.yk-sd-open{
  overflow:hidden!important;
  overscroll-behavior:none;
  touch-action:none;
}
.yk-sd-overlay{
  position:fixed;
  inset:0;
  z-index:99999;
  background:rgba(4,20,36,.76);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  box-sizing:border-box;
  overflow:hidden;
  animation:sdFade .25s ease;
}
.yk-sd-overlay.leaving{opacity:0;transition:.22s}
.yk-sd-card{
  position:relative;
  width:min(920px,96vw);
  max-width:920px;
  max-height:min(92vh,920px);
  max-height:min(92dvh,920px);
  overflow:hidden;
  background:#fff;
  border-radius:28px;
  box-shadow:0 30px 90px rgba(0,0,0,.38);
  display:grid;
  grid-template-columns:minmax(280px,44%) 1fr;
  animation:sdPop .38s cubic-bezier(.2,.8,.2,1);
}
.yk-sd-visual{
  min-height:460px;
  background:#071f38;
  overflow:hidden;
}
.yk-sd-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.yk-sd-body{
  min-width:0;
  padding:54px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.yk-sd-kicker{
  font-size:12px;
  font-weight:900;
  letter-spacing:.22em;
  color:#6d7b89;
  margin-bottom:12px;
}
.yk-sd-body h2{
  font-size:clamp(30px,4vw,48px);
  line-height:1.03;
  color:#082b4c;
  font-weight:900;
  margin:0 0 20px;
  overflow-wrap:anywhere;
}
.yk-sd-body p{
  font-size:17px;
  line-height:1.75;
  color:#425466;
  margin:0 0 28px;
}
.yk-sd-check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-weight:700;
  color:#34495e;
  margin-bottom:20px;
  cursor:pointer;
}
.yk-sd-check input{
  flex:0 0 auto;
  width:19px;
  height:19px;
  margin-top:1px;
  accent-color:#73c92d;
}
.yk-sd-close{
  width:100%;
  border:0;
  border-radius:13px;
  background:#73c92d;
  color:#fff;
  font-weight:900;
  min-height:48px;
  padding:13px 24px;
  cursor:pointer;
}
.yk-sd-x{
  position:absolute;
  right:14px;
  top:12px;
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  box-shadow:0 4px 16px rgba(0,0,0,.15);
  font-size:27px;
  line-height:38px;
  color:#0b2f50;
  z-index:5;
  cursor:pointer;
}
.yk-sd-particle{
  position:fixed;
  z-index:100000;
  left:var(--x);
  top:-20px;
  width:8px;
  height:16px;
  border-radius:3px;
  pointer-events:none;
  animation:sdFall var(--dur) linear var(--delay) infinite;
  background:#e7b62c;
}
.yk-sd-particle.confetti:nth-child(3n){background:#d92525}
.yk-sd-particle.confetti:nth-child(3n+1){background:#fff}
.yk-sd-particle.stars{width:7px;height:7px;border-radius:50%;box-shadow:0 0 10px #f3d678}
.yk-sd-particle.flag{background:#e32929}
.yk-sd-particle.flag:nth-child(even){background:#fff}
@keyframes sdFade{from{opacity:0}to{opacity:1}}
@keyframes sdPop{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@keyframes sdFall{to{transform:translateY(110vh) rotate(520deg)}}

/* Tablet */
@media (max-width:900px){
  .yk-sd-overlay{padding:14px}
  .yk-sd-card{
    width:min(760px,96vw);
    grid-template-columns:40% 1fr;
  }
  .yk-sd-visual{min-height:390px}
  .yk-sd-body{padding:38px 32px}
  .yk-sd-body h2{font-size:34px}
  .yk-sd-body p{font-size:15.5px;line-height:1.6}
}

/* Mobile: tek kolon, ekran dışına taşmadan, içerik kendi içinde scroll */
@media (max-width:720px){
  body.yk-sd-open{
    position:fixed;
    width:100%;
  }
  .yk-sd-overlay{
    align-items:flex-end;
    padding:
      max(8px,env(safe-area-inset-top))
      8px
      max(8px,env(safe-area-inset-bottom));
  }
  .yk-sd-card{
    width:100%;
    max-width:none;
    max-height:calc(100vh - 16px);
    max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));
    border-radius:22px 22px 16px 16px;
    grid-template-columns:1fr;
    grid-template-rows:minmax(150px,34dvh) minmax(0,1fr);
  }
  .yk-sd-visual{
    min-height:0;
    height:auto;
    max-height:34dvh;
  }
  .yk-sd-visual img{
    object-fit:cover;
    object-position:center 20%;
  }
  .yk-sd-body{
    min-height:0;
    padding:22px 20px calc(18px + env(safe-area-inset-bottom));
    justify-content:flex-start;
  }
  .yk-sd-kicker{
    font-size:10px;
    letter-spacing:.18em;
    margin-bottom:7px;
  }
  .yk-sd-body h2{
    font-size:clamp(24px,7vw,30px);
    line-height:1.08;
    margin-bottom:11px;
  }
  .yk-sd-body p{
    font-size:14px;
    line-height:1.52;
    margin-bottom:16px;
  }
  .yk-sd-check{
    font-size:13px;
    line-height:1.35;
    margin-bottom:14px;
  }
  .yk-sd-check input{
    width:20px;
    height:20px;
  }
  .yk-sd-close{
    position:sticky;
    bottom:0;
    min-height:46px;
    font-size:14px;
  }
  .yk-sd-x{
    right:10px;
    top:10px;
    width:42px;
    height:42px;
    font-size:30px;
    line-height:40px;
  }
  .yk-sd-particle{display:none!important}
}

/* Çok küçük / kısa telefonlar */
@media (max-width:420px), (max-height:650px){
  .yk-sd-card{
    grid-template-rows:minmax(115px,28dvh) minmax(0,1fr);
  }
  .yk-sd-visual{max-height:28dvh}
  .yk-sd-body{padding:16px 16px calc(14px + env(safe-area-inset-bottom))}
  .yk-sd-body h2{font-size:23px;margin-bottom:8px}
  .yk-sd-body p{font-size:13px;line-height:1.45;margin-bottom:12px}
  .yk-sd-check{font-size:12.5px;margin-bottom:10px}
  .yk-sd-close{min-height:43px;padding:10px 16px}
}

/* Yatay mobil: görsel solda, metin sağda */
@media (max-height:520px) and (orientation:landscape){
  .yk-sd-overlay{align-items:center;padding:8px}
  .yk-sd-card{
    width:min(900px,98vw);
    max-height:calc(100dvh - 16px);
    grid-template-columns:40% 1fr;
    grid-template-rows:1fr;
    border-radius:18px;
  }
  .yk-sd-visual{height:100%;max-height:none;min-height:0}
  .yk-sd-body{padding:15px 18px}
  .yk-sd-body h2{font-size:22px}
  .yk-sd-body p{font-size:12.5px;line-height:1.4}
  .yk-sd-check{font-size:12px}
}
