/* Kazanç bildirimi (Alpha 2.1 · build 38) — src/sale-notice.js. Kenar ışığı alttan iki yana tırmanır, tepede birleşir; tepeden inen
   koyu halka dolar, ortada tutar sayar. Her şey pointer-events:none; sayfanın üstünde, dokunmayı engellemez.
   Telefon uygulamasında (html.native-app) çerçeve ekran köşesine uyar (iPhone ≈ 40 pt). */
@property --sale-s{syntax:'<angle>';inherits:false;initial-value:0deg}
#sale-notice{--sale-r:0px;position:fixed;inset:0;z-index:2147482000;pointer-events:none;visibility:hidden}
html.native-app #sale-notice{--sale-r:40px}
#sale-notice.is-on{visibility:visible}
#sale-notice .sale-edge{position:absolute;inset:0;border-radius:var(--sale-r);padding:2.5px;opacity:0;
  background:conic-gradient(from 180deg,#8fe0ff 0deg,#fff var(--sale-s),transparent calc(var(--sale-s) + .5deg) calc(360deg - var(--sale-s) - .5deg),#fff calc(360deg - var(--sale-s)),#8fe0ff 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);filter:drop-shadow(0 0 4px #5ad1ff)}
#sale-notice .sale-edge.halo{padding:10px;filter:blur(9px)}
#sale-notice.is-on .sale-edge{animation:sale-climb 2.4s cubic-bezier(.45,0,.3,1) both}
@keyframes sale-climb{0%{opacity:1;--sale-s:0deg}48%{opacity:1;--sale-s:180deg}100%{opacity:0;--sale-s:180deg}}
/* Tepede birleşme noktası (çentik / kamera adası) */
#sale-notice .sale-spot{position:absolute;left:50%;top:0;width:200px;height:calc(env(safe-area-inset-top,0px) + 22px);margin-left:-100px;border-radius:0 0 50% 50%;opacity:0;
  background:radial-gradient(ellipse 50% 70% at 50% 0,#d9f6ffcc,#5ad1ff55 55%,transparent 75%)}
#sale-notice.is-on .sale-spot{animation:sale-spot 1.3s 1.05s ease-out both}
@keyframes sale-spot{0%{opacity:0}25%{opacity:1}100%{opacity:0}}
/* Halka */
#sale-notice .sale-ring{position:absolute;left:50%;top:calc(env(safe-area-inset-top,0px) + 8px);width:92px;height:92px;border-radius:50%;display:grid;place-items:center;transform:translateX(-50%);transform-origin:50% 0;opacity:0;
  background:radial-gradient(circle at 50% 35%,#0e2a58,#04102a);box-shadow:0 16px 30px -14px #000c,0 0 0 1px #5ad1ff22;color:#fff}
#sale-notice .sale-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
#sale-notice .sale-ring circle{fill:none;stroke-width:8}
#sale-notice .sale-ring .bg{stroke:#ffffff10}
#sale-notice .sale-ring .fill{stroke:url(#sale-ring-g);stroke-linecap:round;stroke-dasharray:0 100}
#sale-notice .sale-ring .in{position:relative;display:grid;justify-items:center;gap:1px}
#sale-notice .sale-ring .big{font:700 25px/1 Outfit,Inter,system-ui,sans-serif;letter-spacing:-1px;white-space:nowrap;font-variant-numeric:tabular-nums}
#sale-notice .sale-ring .big small{font-size:13px;letter-spacing:0;margin-left:1px}
#sale-notice .sale-ring .sub{max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 8.5px/1.2 Inter,system-ui,sans-serif;color:#8fb3d6}
#sale-notice.is-on .sale-ring{animation:sale-pop 2.5s 1.1s cubic-bezier(.2,1.2,.35,1) both}
#sale-notice.is-on .sale-ring .fill{animation:sale-fill 1.1s 1.35s cubic-bezier(.3,.7,.3,1) both}
@keyframes sale-pop{0%{opacity:0;transform:translateX(-50%) translateY(-34px) scale(.45)}16%,80%{opacity:1;transform:translateX(-50%)}100%{opacity:0;transform:translateX(-50%) translateY(-30px) scale(.55)}}
@keyframes sale-fill{to{stroke-dasharray:100 100}}
/* Hareket azaltma: ışık yok, halka yerinde belirir (dolu). */
#sale-notice.is-reduced .sale-edge,#sale-notice.is-reduced .sale-spot{display:none}
#sale-notice.is-reduced .sale-ring{animation:sale-fade 2.6s ease both}
#sale-notice.is-reduced .sale-ring .fill{animation:none;stroke-dasharray:100 100}
@keyframes sale-fade{0%{opacity:0}10%,85%{opacity:1}100%{opacity:0}}
@media (min-width:900px){#sale-notice .sale-ring{top:14px}}
