/* SAHNE · MEZUN PORTALI → ETKİNLİK KAPISI (includes/scenes/alumni.php) — modül sayfası sağ sütunu (kap ~640–680 px; telefonda ~330).
   Geniş kapta telefon (Mezun Alanı) solda, «Kapı kontrolü» sağda; 600 px'ten dar kapta ikisi aynı hücrede sırayla (çapraz geçiş). Adımlar:
   s1 «Kapı kodum»a dokunulur → kod + karekod · s2 görevli kutuya tıklar, kodu yazar · s3 «Okut» → GELDİ, sayaç 1 / 15 ·
   s4 barkod okuyucu → GELDİ Poyraz Kalın, 2 / 14 · s5 Büşra'nın karekodu yeniden okutulur · s6 ZATEN GİRDİ (son adım tek başına anlamlı). */
@property --alm-a { syntax: '<integer>'; inherits: false; initial-value: 0; }

.alm { container-type: inline-size; --H: 464px; --phw: 214px; --spring: cubic-bezier(.34, 1.56, .64, 1);
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --scr: 145px; --ld: .25s;
  --ok-line: #6ee7b7; --ok-bg: #ecfdf5; --ok-ink: #064e3b; --ok-num: #047857;
  --wr-line: #fcd34d; --wr-bg: #fffbeb; --wr-ink: #78350f; --wr-num: #b45309; --sky-num: #0369a1;
  height: var(--H); font-size: 11px; line-height: 1.3; }
.alm svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alm-st { position: relative; display: grid; grid-template-columns: var(--phw) minmax(0, 1fr); gap: 16px; height: 100%; }

/* ═══ TELEFON: MEZUN ALANI ═══ */
.alm-ph { position: relative; z-index: 2; align-self: center; justify-self: center; width: calc(var(--phw) - 4px); height: 428px; padding: 6px; border-radius: 34px;
  background: linear-gradient(150deg, #23466f 0%, var(--navy-night) 38%, #061628 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(11, 36, 64, .3), 0 26px 44px -24px rgba(11, 36, 64, .7);
  transition: opacity .4s var(--ui-ease), translate .55s var(--ui-ease); }
.alm-key { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #2b4c74, #0d2440); }
.alm-key--a { left: -2px; top: 88px; height: 26px; } .alm-key--b { left: -2px; top: 124px; height: 40px; }
.alm-key--c { right: -2px; top: 112px; height: 56px; background: linear-gradient(270deg, #2b4c74, #0d2440); }
.alm-scr { position: relative; height: 100%; overflow: hidden; border-radius: 28px; background: #fafafa; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }

/* durum çubuğu (saat · ada · sinyal, wi-fi, pil) */
.alm-sb { position: absolute; z-index: 3; inset: 0 0 auto; height: 24px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 18px; color: #0b1526; background: #fff; }
.alm-sb > b { font-size: 10.5px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.alm-isl { position: absolute; left: 50%; top: 5px; width: 54px; height: 15px; margin-left: -27px; border-radius: 999px; background: #05070b; }
.alm-sbi { display: flex; align-items: center; gap: 3px; }
.alm-sbi svg { width: 11px; height: 11px; stroke-width: 2.4; }
.alm-sbi .alm-bat { width: 16px; height: 12px; }

/* üst şerit: kurum logosu · ad · Çıkış (mezun.php:165–180) */
.alm-hd { position: absolute; z-index: 3; top: 24px; left: 0; right: 0; height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 9px 0 10px;
  background: rgba(255, 255, 255, .94); box-shadow: inset 0 -1px 0 #e4e4e7; }
.alm-hd > b { flex: 1; min-width: 0; font-size: 11px; font-weight: 800; color: #3f3f46; white-space: nowrap; }
.alm svg.alm-logo { flex: none; width: 22px; height: 22px; border-radius: 50%; stroke: none; box-shadow: 0 1px 3px -1px rgba(16, 37, 64, .45); }
.alm-out { flex: none; display: grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 8px; font-size: 10px; font-weight: 700; color: #52525b;
  box-shadow: inset 0 0 0 1px #d4d4d8, 0 1px 1px rgba(16, 37, 64, .04); background: #fff; }

/* kayan sayfa */
.alm-vp { position: absolute; top: 62px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.alm-pg { display: grid; gap: 8px; padding: 8px; translate: 0 0; transition: translate .8s cubic-bezier(.32, .12, .2, 1) .42s; }
.alm.s1 .alm-pg { translate: 0 calc(-1 * var(--scr)); }
.alm-card { border-radius: 13px; background: #fff; padding: 10px; box-shadow: 0 0 0 1px #e4e4e7, 0 1px 2px rgba(16, 37, 64, .04), inset 0 1px 0 rgba(255, 255, 255, .6); }

/* kimlik kartı (mezun.php:196–228) */
.alm-id__r { display: flex; align-items: center; gap: 9px; }
.alm-av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 6px -3px rgba(16, 37, 64, .6); }
.alm-id__t { min-width: 0; line-height: 1.2; }
.alm-id__t b { display: block; font-size: 13px; font-weight: 900; letter-spacing: -.015em; color: #18181b; white-space: nowrap; }
.alm-id__t span { display: block; margin-top: 2px; font-size: 10px; font-weight: 700; color: #71717a; }
.alm-gr { display: flex; gap: 6px; margin-top: 9px; padding-top: 8px; box-shadow: inset 0 1px 0 #f0f0f2; font-size: 10px; line-height: 13px; }
.alm-gr b { flex: none; font-weight: 900; color: #27272a; }
.alm-gr span { min-width: 0; font-weight: 700; color: #71717a; }

/* yaklaşan etkinlikler (mezun.php:240–330) */
.alm-ev__h { display: block; font-size: 11.5px; font-weight: 900; letter-spacing: -.01em; color: #18181b; }
.alm-it { margin-top: 8px; padding: 9px; border-radius: 10px; box-shadow: inset 0 0 0 1px #e4e4e7; }
.alm-it__t { display: block; font-size: 12px; font-weight: 900; letter-spacing: -.01em; line-height: 15px; color: #18181b; }
.alm-it__m { display: block; margin-top: 2px; font-size: 10px; font-weight: 700; line-height: 13px; color: #71717a; }
.alm-pill { display: inline-flex; align-items: center; height: 20px; margin-top: 8px; padding: 0 8px; border-radius: 999px; background: #d1fae5; color: #065f46; font-size: 10px; font-weight: 900; }
.alm-dt { margin-top: 8px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #e4e4e7; transition: box-shadow .35s var(--ui-ease) .3s; }
.alm.s1 .alm-dt { box-shadow: inset 0 0 0 1px #d6dee9; }
.alm-sum { position: relative; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; }
.alm-sum svg { width: 13px; height: 13px; color: #e11d48; }
.alm-sum b { font-size: 11px; font-weight: 800; color: #18181b; }
.alm-dt__b { max-height: 0; overflow: hidden; transition: max-height .6s var(--ui-ease) .32s; }
.alm.s1 .alm-dt__b { max-height: 220px; }
.alm-dt__in { display: grid; justify-items: center; gap: 6px; padding: 1px 8px 10px; text-align: center; }
.alm-dt__in > * { opacity: 0; translate: 0 4px; transition: opacity .35s var(--ui-ease), translate .45s var(--ui-ease); }
.alm.s1 .alm-dt__in > * { opacity: 1; translate: 0 0; }
.alm.s1 .alm-dt__in > :nth-child(1) { transition-delay: .5s; } .alm.s1 .alm-dt__in > :nth-child(2) { transition-delay: .6s; }
.alm.s1 .alm-dt__in > :nth-child(3) { transition-delay: .68s; } .alm.s1 .alm-dt__in > :nth-child(4) { transition-delay: .8s; }
.alm-dt__n { font-size: 10px; font-weight: 600; line-height: 13px; color: #52525b; }
.alm-dt__n:last-child { color: #71717a; }
/* kod ekranda olduğu gibi durur (mezun.php:304–327: vurgu/çerçeve/tarama göstergesi yok) */
.alm-code { padding: 1px 4px 1px calc(4px + .16em); font-family: var(--mono); font-size: 16px; font-weight: 900; line-height: 22px; letter-spacing: .16em; color: #18181b; }
.alm-qr { position: relative; display: block; width: 92px; height: 92px; padding: 4px; border-radius: 4px; background: #fff; }
.alm-qr svg { width: 84px; height: 84px; fill: #000; stroke: none; clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ui-ease) .62s; }
.alm.s1 .alm-qr svg { clip-path: inset(0 0 0 0); }
/* s5 yeniden okutma: arayüze öğe eklenmez — telefon okuyucuya kalkar, karekodun üstünden bir kez kısa ışık geçer (okuyucunun
   aydınlatması; yalnız opacity + scale, tek seferlik) */
.alm-qr__f { position: absolute; inset: -12px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .72) 52%, rgba(226, 236, 248, .45) 78%, rgba(226, 236, 248, 0)); }
.alm.s5:not(.s6) .alm-qr__f { animation: alm-flash .62s ease-out calc(var(--ld) + .32s) both; }
@keyframes alm-flash { 0% { opacity: 0; scale: .9; } 22% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.04; } }
.alm.s5:not(.s6) .alm-ph { translate: 0 -4px; }

/* «Okulumdan» (mezun.php:392–420, annMezunListe: mezunlara açık duyurular; ilk satır 51350 «Mezun Kariyer Günü» + kapağı). s0'da
   sayfanın devamı olarak ekranın altından görünür (başlık + ilk satırın adı; özet kıvrımın altında); s1'de kaydırma sonrası ekran dışında. */
.alm-an { display: flex; gap: 9px; margin-top: 9px; }
.alm-an__c { flex: none; width: 40px; height: 40px; overflow: hidden; border-radius: 9px; }
.alm svg.alm-cv { display: block; width: 40px; height: 40px; stroke: none; }
.alm-an__t { min-width: 0; }
.alm-an__t b { display: block; font-size: 11.5px; font-weight: 900; letter-spacing: -.01em; line-height: 15px; color: #18181b; }
.alm-an__t span { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; line-height: 13px; color: #52525b; }

/* parmak dokunuşu (s1, «Kapı kodum») */
.alm-tap { position: absolute; right: 30px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: rgba(20, 61, 107, .16); box-shadow: inset 0 0 0 1.5px rgba(20, 61, 107, .34); opacity: 0; pointer-events: none; }
.alm-tap i { position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(20, 61, 107, .4); opacity: 0; }
.alm.s1:not(.s2) .alm-tap { animation: alm-tap 1s var(--ui-ease) .05s both; }
.alm.s1:not(.s2) .alm-tap i { animation: alm-ring .6s ease-out .3s both; }
@keyframes alm-tap { 0% { opacity: 0; scale: 1.3; } 22% { opacity: 1; scale: 1; } 34% { scale: .84; } 52% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
@keyframes alm-ring { 0% { opacity: 0; scale: .6; } 20% { opacity: .9; } 100% { opacity: 0; scale: 2.1; } }

/* ═══ KAPI KONTROLÜ ═══ */
.alm-win { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; transition: opacity .4s var(--ui-ease), translate .55s var(--ui-ease); }
/* uygulama üst şeridi: konum izi · zil · kullanıcı */
.alm-tb { flex: none; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 14px; background: #fff; box-shadow: inset 0 -1px 0 var(--ui-line); }
.alm-bc { flex: 1; min-width: 0; display: flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: #71717a; white-space: nowrap; }
.alm-bc__a { display: inline-flex; align-items: center; gap: 3px; }
.alm-bc svg { width: 11px; height: 11px; color: #a1a1aa; }
.alm-bc b { font-weight: 800; color: #27272a; }
.alm-tb__i { position: relative; flex: none; display: grid; place-items: center; width: 26px; height: 26px; color: #52525b; }
.alm-tb__i svg { width: 15px; height: 15px; stroke-width: 1.9; }
.alm-tb__i::after { content: ""; position: absolute; top: 4px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: #e0352b; box-shadow: 0 0 0 1.5px #fff; }
.alm-tb__av { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--navy-soft); color: #fff; font-size: 11px; font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.alm-band { flex: none; display: flex; align-items: center; gap: 10px; margin: 10px 10px 0; padding: 9px 10px; border-radius: 11px; color: #fff;
  background: linear-gradient(120deg, var(--navy-night), var(--navy) 55%, var(--navy-soft));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 2px rgba(11, 36, 64, .18), 0 10px 20px -14px rgba(11, 36, 64, .7); }
.alm-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.alm-ico svg { width: 17px; height: 17px; stroke-width: 1.9; }
.alm-ttl { flex: 1; min-width: 0; line-height: 1.2; }
.alm-ttl b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.alm-ttl small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .82); white-space: nowrap; font-variant-numeric: tabular-nums; }
.alm-help { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.alm-help svg { width: 15px; height: 15px; }

/* sayaç şeridi 2×2 (admin-alumni-event-checkin.php:236–247) */
.alm-ks { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 12px 0; }
.alm-k { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 7px 10px 6px; overflow: hidden; border-radius: 10px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--ui-line), 0 1px 2px rgba(16, 37, 64, .04); }
.alm-k::before { content: ""; position: absolute; inset: 0; background: var(--fl, rgba(4, 120, 87, .1)); opacity: 0; pointer-events: none; }
.alm-k small { position: relative; font-size: 10px; font-weight: 800; line-height: 12px; letter-spacing: .05em; color: #71717a; white-space: nowrap; }
.alm-k b { position: relative; font-size: 20px; font-weight: 900; line-height: 24px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: #3f3f46; }
.alm-k--in b { color: var(--ok-num); } .alm-k--bk b { color: var(--sky-num); } .alm-k--wl b { color: var(--wr-num); }
.alm-k--bk { --fl: rgba(3, 105, 161, .09); }
.alm.s3:not(.s4) .alm-k--in::before, .alm.s3:not(.s4) .alm-k--bk::before { animation: alm-fl 1s ease-out .8s both; }
.alm.s4:not(.s5) .alm-k--in::before, .alm.s4:not(.s5) .alm-k--bk::before { animation: alm-fl2 1s ease-out .64s both; }
@keyframes alm-fl { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }
@keyframes alm-fl2 { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }
/* sayaçlar ileri/geri sayar (cevaptaki sayılar, :455–466) */
.alm-n { counter-reset: alm-a var(--alm-a); transition: --alm-a .45s var(--ui-ease); }
.alm-n::after { content: counter(alm-a); }
.alm-n--in { --alm-a: 0; } .alm-n--bk { --alm-a: 16; }
.alm.s3 .alm-n--in { --alm-a: 1; transition-delay: .8s; } .alm.s3 .alm-n--bk { --alm-a: 15; transition-delay: .8s; }
.alm.s4 .alm-n--in { --alm-a: 2; transition-delay: .64s; } .alm.s4 .alm-n--bk { --alm-a: 14; transition-delay: .64s; }

/* okutma kutusu (:255–296) */
.alm-box { flex: none; margin: 10px 12px 0; padding: 11px 12px 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px #c6d6ea, 0 1px 2px rgba(16, 37, 64, .04); }
.alm-lbl { display: block; font-size: 10px; font-weight: 800; line-height: 13px; letter-spacing: .05em; color: #71717a; white-space: nowrap; }
.alm-lbl span { letter-spacing: 0; font-weight: 700; }
.alm-row { position: relative; display: flex; gap: 8px; margin-top: 5px; }
.alm-in { position: relative; flex: 1; min-width: 0; display: grid; height: 42px; padding: 2px; border-radius: 10px; background: #fff;
  box-shadow: inset 0 0 0 2px #d4d4d8; transition: box-shadow .3s var(--ui-ease); font-family: var(--mono); }
.alm.s2 .alm-in { box-shadow: inset 0 0 0 2px var(--navy-soft), 0 0 0 3px rgba(29, 79, 134, .14); transition-delay: .28s; }
.alm-in > * { grid-area: 1 / 1; min-width: 0; }
.alm-p0 { align-self: center; justify-self: center; font-size: 14px; font-weight: 800; color: #a1a1aa; white-space: pre; }
.alm-t { display: grid; place-items: center; border-radius: 8px; background: #fff; opacity: 0; transition: opacity .06s linear; }
.alm-tx { display: inline-flex; align-items: center; font-size: 15px; font-weight: 900; color: #18181b; white-space: nowrap; }
.alm-ty { display: inline-block; width: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.alm.s2 .alm-ty { width: 9ch; transition: width .95s steps(9, end) .36s; }
.alm-caret { width: 1.5px; height: 18px; margin-left: 1px; border-radius: 1px; background: var(--navy-soft); animation: alm-blink 1s steps(1) infinite; }
@keyframes alm-blink { 50% { opacity: 0; } }
.alm.s2 .alm-t1 { opacity: 1; transition-delay: .3s; }
.alm.s3 .alm-t1 { opacity: 0; transition-delay: .78s; }
.alm.s4:not(.s5) .alm-t2 { animation: alm-scan .6s linear .1s both; }
@keyframes alm-scan { 0% { opacity: 0; } 3% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; } }
.alm.s5 .alm-t3 { opacity: 1; transition-delay: calc(var(--ld) + .72s); }
.alm.s6 .alm-t3 { opacity: 0; transition-delay: .58s; }
.alm-go { position: relative; flex: none; display: grid; place-items: center; height: 42px; padding: 0 18px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(11, 36, 64, .2), 0 6px 14px -8px rgba(11, 36, 64, .6); }
.alm.s3:not(.s4) .alm-go { animation: alm-push .3s var(--ui-ease) .5s; }
@keyframes alm-push { 50% { scale: .94; } }

/* imleç: .alm-mv satır genişliğinde kayar (translate yüzdesi = satır), .alm-pt tıklama noktası */
.alm-mv { position: absolute; inset: 0; z-index: 6; pointer-events: none; translate: 66% 0; transition: translate .5s var(--ui-ease) .08s; }
.alm.s3 .alm-mv { translate: calc(100% - 34px) 0; }
.alm-pt { position: absolute; left: 0; top: 25px; width: 0; height: 0; }
.alm-pt .ui-cur { left: -5px; top: -3px; transform: translate(14px, 12px); transition: opacity .25s var(--ui-ease); }
.alm.s2:not(.s4) .alm-pt .ui-cur { opacity: 1; transform: none; }
.alm.s2:not(.s3) .alm-pt .ui-cur { animation: alm-cur .7s var(--ui-ease) both; }
.alm.s3:not(.s4) .alm-pt .ui-cur { animation: alm-press .3s var(--ui-ease) .5s; }
@keyframes alm-cur { 0% { opacity: 0; transform: translate(14px, 12px); } 40% { opacity: 1; transform: none; scale: 1; } 55% { scale: .8; } 70%, 100% { opacity: 1; transform: none; scale: 1; } }
@keyframes alm-press { 50% { scale: .8; } }
.alm-rip { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(29, 79, 134, .55); opacity: 0; }
.alm.s2:not(.s3) .alm-rip { animation: alm-rip .55s ease-out .3s both; }
.alm.s3:not(.s4) .alm-rip { animation: alm-rip2 .55s ease-out .52s both; }
@keyframes alm-rip { 0% { opacity: 0; scale: .25; } 12% { opacity: .9; } 100% { opacity: 0; scale: 1.7; } }
@keyframes alm-rip2 { 0% { opacity: 0; scale: .25; } 12% { opacity: .9; } 100% { opacity: 0; scale: 1.7; } }

.alm-hlp { display: block; margin: 7px 0 4px; font-size: 10px; font-weight: 600; line-height: 13.5px; color: #71717a; }
.alm-hlp b { font-weight: 800; color: #52525b; }

/* sonuç kartı (:322–352): ilk sonuca dek gizli (kutu kısa), ilk okutmada açılır; üç durum aynı hücrede */
.alm-res { display: grid; grid-template-rows: 0fr; overflow: hidden; margin: 0 -4px -4px; transition: grid-template-rows .45s var(--ui-ease); }
.alm.s3 .alm-res { grid-template-rows: 1fr; transition-delay: .66s; }
.alm-res__in { display: grid; min-height: 0; overflow: hidden; padding: 9px 4px 4px; }
.alm-rc { grid-area: 1 / 1; min-width: 0; display: grid; align-content: center; padding: 13px 16px 14px; border-radius: 12px; opacity: 0; transform: translateY(6px) scale(.97);
  transition: opacity .22s var(--ui-ease), transform .5s var(--spring); }
.alm-rc b { display: block; font-size: 24px; font-weight: 900; line-height: 30px; letter-spacing: -.01em; }
.alm-rc span { display: block; margin-top: 2px; font-size: 14px; font-weight: 800; line-height: 18px; }
.alm-rc small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; line-height: 15px; opacity: .8; }
.alm-rc--ok { background: var(--ok-bg); color: var(--ok-ink); box-shadow: inset 0 0 0 2px var(--ok-line), 0 6px 16px -12px rgba(4, 120, 87, .7); }
.alm-rc--wr { background: var(--wr-bg); color: var(--wr-ink); box-shadow: inset 0 0 0 2px var(--wr-line), 0 6px 16px -12px rgba(180, 83, 9, .7); }
.alm.s3 .alm-r1 { opacity: 1; transform: none; transition-delay: .78s; }
.alm.s4 .alm-r1 { opacity: 0; transform: translateY(-4px) scale(.98); transition-delay: .5s; transition-duration: .18s; }
.alm.s4 .alm-r2 { opacity: 1; transform: none; transition-delay: .62s; }
.alm.s6 .alm-r2 { opacity: 0; transform: translateY(-4px) scale(.98); transition-delay: .5s; transition-duration: .18s; }
.alm.s6 .alm-r3 { opacity: 1; transform: none; transition-delay: .62s; }

/* son girişler (:358–366) — kutunun altındaki ayrı kart, boş durum; kalan yüksekliği doldurur (flex 1 0 0, en az içerik kadar). Liste JS ile yenilenmez; s3 sonuç kartı açılınca kart
   gerçek sayfadaki gibi aşağı itilir ve pencerenin (.ui-win overflow:hidden) altında kalır. */
.alm-ls { flex: 1 0 0; display: flex; flex-direction: column; margin: 10px 12px 10px; padding: 10px 12px; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1.5px #e4e4e7, 0 1px 2px rgba(16, 37, 64, .04); transition: opacity .3s var(--ui-ease); }
/* itilirken söner: dar kapta (yardım satırı 2 satır) pencere altında başlığın yarısı kalırdı; liste zaten değişmiyor */
.alm.s3 .alm-ls { opacity: 0; transition-delay: .7s; }
.alm-ls__h { font-size: 10.5px; font-weight: 900; line-height: 13px; letter-spacing: .05em; color: #71717a; white-space: nowrap; }
.alm-ls__s { margin-top: 2px; font-size: 10px; font-weight: 700; line-height: 13px; color: #71717a; text-wrap: pretty; }
.alm-ls__e { flex: 1 0 auto; display: grid; place-items: center; margin-top: 8px; padding: 7px 8px; border-radius: 9px; background: #f7f7f8; box-shadow: inset 0 0 0 1px #f0f0f2;
  font-size: 11px; font-weight: 500; line-height: 14px; color: #71717a; text-align: center; }

/* ═══ DAR KAP: iki ekran aynı hücrede, sırayla ═══ */
@container (max-width: 599px) {
  .alm-st { grid-template-columns: minmax(0, 1fr); }
  .alm-ph, .alm-win { grid-area: 1 / 1; }
  .alm-st { --ld: .45s; }
  .alm-win { opacity: 0; translate: 16px 0; }
  .alm.s2 .alm-win { opacity: 1; translate: 0 0; }
  .alm.s2 .alm-ph { opacity: 0; translate: -16px 0; }
  .alm.s5 .alm-win { opacity: 0; translate: 16px 0; }
  .alm.s5 .alm-ph { opacity: 1; translate: 0 0; }
  .alm.s6 .alm-win { opacity: 1; translate: 0 0; }
  .alm.s6 .alm-ph { opacity: 0; translate: -16px 0; }
}
@container (max-width: 400px) {
  .alm-p0__x, .alm-bc__a { display: none; }
  .alm-box { margin-top: 8px; padding: 10px 10px 7px; }
  .alm-ks { gap: 6px; margin-top: 8px; }
  .alm-k { padding: 6px 9px 5px; }
  .alm-tb { height: 32px; }
  .alm-go { padding: 0 15px; }
}
