/* Hediye sihirbazı "Üç soruda hediye" (Design 3 Kas 2026; prototip wiki/raw/hediye-sihirbazi-2026-11-03/prototype.html). Önek .mxhd-
   (Hesabım şablonlarındaki .mxhs- ile çakışmasın diye, ORK 3 Kas); yalnız mx_hediye_sihirbazi.twig yükler, her kural .mxhd kökü altında. Renkler sitenin --mx-* değişkenleri (yedek değer = canlı değer). */
.mxhd{max-width:1140px;margin:0 auto;padding:28px 20px calc(64px + env(safe-area-inset-bottom,0px));color:var(--mx-ink,#38444f);font-size:16px;line-height:1.5}
.mxhd,.mxhd *{box-sizing:border-box}
.mxhd .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mxhd [hidden]{display:none!important}
.mxhd .mxhd-giris h1{margin:0 0 8px;font-size:30px;line-height:1.2;font-weight:700;letter-spacing:-.01em;color:inherit}
.mxhd .mxhd-giris p{margin:0;max-width:34em;font-size:16px}

/* Cümle: hem ilerleme göstergesi hem geri dönüş denetimi */
.mxhd .mxhd-cumle{margin:24px 0 0;padding:16px 20px 20px;background:var(--mx-surface-stone,#f6f4f0);border-radius:var(--mx-radius-md,8px);font-size:24px;line-height:1.85;font-weight:600;max-width:900px}
.mxhd .mxhd-bosluk,.mxhd .mxhd-dolu{display:inline-block;min-height:44px;font:inherit;line-height:1.3;padding:5px 2px 4px;margin:0;border:0;background:none;color:inherit;position:relative;white-space:nowrap}
.mxhd .mxhd-bosluk{color:var(--mx-ink-muted,#6f6f6f);font-weight:500;border-bottom:2px dashed var(--mx-line-control,#8a8a84)}
.mxhd .mxhd-bosluk[aria-current="step"]{border-bottom-color:var(--mx-action,#3e7479)}
.mxhd .mxhd-dolu{color:var(--mx-action-strong,#2f5c61);cursor:pointer;text-decoration:none;border-radius:var(--mx-radius-sm,2px);
  background-image:linear-gradient(var(--mx-action,#3e7479),var(--mx-action,#3e7479));background-repeat:no-repeat;background-position:0 100%;background-size:100% 2px}
.mxhd .mxhd-dolu.yeni{animation:mxhd-cizgi .32s cubic-bezier(.2,.7,.2,1) both}
@keyframes mxhd-cizgi{from{background-size:0 2px}to{background-size:100% 2px}}
.mxhd .mxhd-dolu:hover{background-color:var(--mx-action-tint,#3e74791f)}
.mxhd .mxhd-dolu svg{width:.55em;height:.55em;margin-left:.18em;vertical-align:.08em;opacity:.7}
.mxhd .mxhd-cumle-not{display:block;margin-top:8px;font-size:14px;font-weight:400;line-height:1.4;color:var(--mx-ink-muted,#6f6f6f)}

/* Soru */
.mxhd .mxhd-soru{margin-top:28px;max-width:900px}
.mxhd .mxhd-soru h2,.mxhd .mxhd-sonuc h2{margin:0 0 14px;font-size:21px;line-height:1.3;font-weight:700;color:inherit}
.mxhd .mxhd-soru h2:focus,.mxhd .mxhd-sonuc h2:focus,.mxhd .mxhd-bos:focus{outline:none}
.mxhd .mxhd-soru h2:focus-visible,.mxhd .mxhd-sonuc h2:focus-visible,.mxhd .mxhd-bos:focus-visible{outline:3px solid var(--mx-action,#3e7479);outline-offset:4px;border-radius:var(--mx-radius-sm,2px)}
.mxhd .mxhd-secenekler{display:grid;grid-template-columns:1fr;gap:10px}
.mxhd .mxhd-sec{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:56px;width:100%;margin:0;padding:13px 44px 13px 16px;text-align:left;
  font:600 17px/1.3 var(--mx-font-sans,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif);color:var(--mx-ink,#38444f);background:var(--mx-surface,#fff);border:1px solid var(--mx-line-control,#8a8a84);border-radius:var(--mx-radius-md,8px);cursor:pointer;position:relative;
  transition:border-color .15s,background-color .15s}
.mxhd .mxhd-sec small{font-size:14px;font-weight:400;color:var(--mx-ink-muted,#6f6f6f)}
.mxhd .mxhd-sec:hover{border-color:var(--mx-action,#3e7479);background:var(--mx-action-tint,#3e74791f)}
.mxhd .mxhd-sec[aria-pressed="true"]{border:2px solid var(--mx-action,#3e7479);padding:12px 43px 12px 15px}
.mxhd .mxhd-sec[aria-pressed="true"]::after{content:"";position:absolute;right:16px;top:50%;width:12px;height:7px;margin-top:-6px;border-left:2.5px solid var(--mx-action,#3e7479);border-bottom:2.5px solid var(--mx-action,#3e7479);transform:rotate(-45deg)}
.mxhd .mxhd-geri{margin-top:14px;min-height:44px;padding:0 4px;border:0;background:none;font:600 15px var(--mx-font-sans,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif);color:var(--mx-action-link,#2f6a70);text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* Odak: tüm denetimler */
.mxhd button:focus-visible,.mxhd a:focus-visible{outline:3px solid var(--mx-action,#3e7479);outline-offset:2px}
.mxhd .mxhd-dolu:focus-visible{outline-offset:1px}

/* Sonuç */
.mxhd .mxhd-sonuc{margin-top:32px}
.mxhd .mxhd-kartlar{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid var(--mx-line-warm,#e3e3dc)}
.mxhd .mxhd-kart{display:grid;grid-template-columns:112px 1fr;gap:4px 16px;margin:0;padding:20px 0;border-bottom:1px solid var(--mx-line-warm,#e3e3dc)}
.mxhd .mxhd-gorsel{position:relative;align-self:start}
.mxhd .mxhd-gorsel img{display:block;width:100%;max-width:none;height:auto;aspect-ratio:1;object-fit:cover;border-radius:var(--mx-radius-md,8px);background:var(--mx-surface-stone,#f6f4f0)}
.mxhd .mxhd-gorsel .mxhd-ek{position:absolute;right:-6px;bottom:-6px;width:46%;border:3px solid var(--mx-surface,#fff);border-radius:var(--mx-radius-md,8px)}
.mxhd .mxhd-govde{min-width:0;display:flex;flex-direction:column;gap:6px}
.mxhd .mxhd-etiket{margin:0;font-size:14px;font-weight:600;color:var(--mx-danger,#9c6350)}
.mxhd .mxhd-ad{margin:0;font-size:17px;line-height:1.35;font-weight:600}
.mxhd .mxhd-ad a{color:var(--mx-ink,#38444f);text-decoration:none}
.mxhd .mxhd-ad a:hover{text-decoration:underline;text-underline-offset:3px}
.mxhd .mxhd-neden{margin:0;font-size:15px;line-height:1.5}
.mxhd .mxhd-fiyat{margin:4px 0 0;font-size:20px;font-weight:700;line-height:1.2}
.mxhd .mxhd-fiyat small{display:block;margin-top:2px;font-size:13px;font-weight:400;color:var(--mx-ink-muted,#6f6f6f)}
.mxhd .mxhd-kargo{margin:0;font-size:14px;line-height:1.4;color:var(--mx-ink,#38444f)}
.mxhd .mxhd-kargo.tamam{color:var(--mx-success,#3e7a38)}
.mxhd .mxhd-kargo.tamam::before{content:"";display:inline-block;width:9px;height:5px;margin:0 7px 3px 1px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.mxhd .mxhd-eylem{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px}
.mxhd .mxhd-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;flex:1 1 auto;min-width:0;
  font:600 16px var(--mx-font-sans,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif);color:#fff;background:var(--mx-action,#3e7479);border:0;border-radius:var(--mx-radius-sm,2px);cursor:pointer;text-decoration:none}
.mxhd .mxhd-btn:hover{background:var(--mx-action-strong,#2f5c61);color:#fff}
.mxhd .mxhd-btn[aria-busy="true"]{opacity:.75;cursor:progress}
.mxhd .mxhd-btn.eklendi{background:var(--mx-surface,#fff);color:var(--mx-success,#3e7a38);box-shadow:inset 0 0 0 1px var(--mx-success,#3e7a38)}
.mxhd .mxhd-btn.eklendi::before{content:"";width:11px;height:6px;margin-top:-3px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.mxhd .mxhd-bag{flex:none;display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:var(--mx-action-link,#2f6a70);text-decoration:underline;text-underline-offset:3px}
.mxhd .mxhd-hata{grid-column:1/-1;margin:6px 0 0;font-size:14px;color:var(--mx-danger,#9c6350)}

.mxhd .mxhd-bilgi{margin-top:28px;max-width:640px}
.mxhd .mxhd-bilgi p{margin:0 0 8px}
.mxhd .mxhd-ana{font-size:18px;font-weight:600;line-height:1.4}
.mxhd .mxhd-dilek{color:var(--mx-ink-muted,#6f6f6f)}
.mxhd .mxhd-bastan{margin-top:10px;min-height:44px;padding:0 18px;font:600 15px var(--mx-font-sans,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif);color:var(--mx-action-strong,#2f5c61);background:var(--mx-surface,#fff);border:1px solid var(--mx-action,#3e7479);border-radius:var(--mx-radius-sm,2px);cursor:pointer}
.mxhd .mxhd-bastan:hover{background:var(--mx-action-tint,#3e74791f)}
.mxhd .mxhd-bos{padding:20px;border:1px solid var(--mx-line-warm,#e3e3dc);border-radius:var(--mx-radius-md,8px)}

@media (min-width:600px){
  .mxhd .mxhd-secenekler[data-n="4"],.mxhd .mxhd-secenekler[data-n="5"]{grid-template-columns:1fr 1fr}
  .mxhd .mxhd-secenekler[data-n="3"]{grid-template-columns:1fr 1fr 1fr}
}
@media (min-width:768px){
  .mxhd{padding:40px 32px 80px}
  .mxhd .mxhd-giris h1{font-size:36px}
  .mxhd .mxhd-cumle{font-size:30px;padding:26px 28px 28px}
  .mxhd .mxhd-kart{grid-template-columns:168px 1fr;grid-template-rows:auto 1fr;gap:4px 24px;padding:24px 0}
  .mxhd .mxhd-gorsel{grid-row:1 / span 2}
  .mxhd .mxhd-eylem{grid-column:2;align-self:start}
  .mxhd .mxhd-btn{flex:0 0 auto}
}
@media (min-width:1024px){
  .mxhd{padding:48px 30px 96px}
  .mxhd .mxhd-giris h1{font-size:40px}
  .mxhd .mxhd-cumle{font-size:36px;padding:30px 34px 32px}
  .mxhd .mxhd-secenekler[data-n="4"]{grid-template-columns:repeat(4,1fr)}
  .mxhd .mxhd-secenekler[data-n="5"]{grid-template-columns:repeat(3,1fr)}
  .mxhd .mxhd-kartlar{grid-template-columns:repeat(3,1fr);gap:0 32px;border-top:0}
  .mxhd .mxhd-kart{display:flex;flex-direction:column;padding:0;border-bottom:0;gap:16px}
  .mxhd .mxhd-govde{flex:1;gap:8px}
  .mxhd .mxhd-gorsel{grid-row:auto}
  .mxhd .mxhd-eylem{grid-column:1;margin-top:auto;padding-top:8px;align-self:stretch}
  .mxhd .mxhd-btn{flex:1 1 auto}
  .mxhd .mxhd-sonuc h2{font-size:24px;margin-bottom:24px}
}
@media (prefers-reduced-motion:reduce){
  .mxhd .mxhd-dolu.yeni{animation:none}
  .mxhd .mxhd-sec{transition:none}
}
