/* B?RLE?T?REL?M ??? ne??eli ?ocuk aray?z? + ses vurgular? */

/* T?m oyun metni: ComfortaaOkul (uygulama geneli ??? 131) */
#birlestirelim-overlay,
#birlestirelim-overlay button,
#birlestirelim-overlay .birles-card,
#birlestirelim-overlay .birles-card__txt,
#birlestirelim-overlay .birles-tray-chip,
#birlestirelim-overlay .birles-tray-chip--word,
#birlestirelim-overlay .birles-hece-seg,
#birlestirelim-overlay .birles-sentence-word__text,
#birlestirelim-overlay .birles-cumle-result-word,
#birlestirelim-overlay .birles-play__narration {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif !important;
}

/* Ortak ekran a??l?? kap?s? ? video/medya haz?r olana kadar */
.birles-view-boot {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(120, 210, 255, 0.18), transparent 55%),
    linear-gradient(165deg, #0a2030 0%, #071820 100%);
  animation: birlesViewBootIn 0.35s ease both;
}

.birles-body {
  position: relative;
}

.birles-body.is-view-booting {
  min-height: 220px;
  position: relative;
}

/* Boot a??kken i?erik haz?rlan?r ama g?r?nmez ? yar?m yerle?mi? flash yok */
.birles-body.is-view-booting > *:not(.birles-view-boot) {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Boot kalk?nca i?erik yumu?ak gelsin (anl?k pop yok) */
.birles-body:not(.is-view-booting) > .birles-hub--flower,
.birles-body:not(.is-view-booting) > .birles-sound-view,
.birles-body:not(.is-view-booting) > .birles-play,
.birles-body:not(.is-view-booting) > .birles-groups-scene,
.birles-body:not(.is-view-booting) > .birles-letters,
.birles-body:not(.is-view-booting) > .birles-howto {
  animation: birlesContentReveal 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes birlesContentReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.birles-view-boot__orb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, #9be7ff 28%, #2a8fc4 70%, #0a3a55 100%);
  box-shadow: 0 0 32px rgba(100, 210, 255, 0.6);
  animation: birlesPoolBootPulse 1.4s ease-in-out infinite;
}

.birles-view-boot__title {
  margin: 0;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eaf7ff;
}

.birles-view-boot__text {
  margin: 0;
  font-size: clamp(1.15rem, 4.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(210, 235, 250, 0.9);
}

.birles-view-boot__bar {
  width: min(280px, 72vw);
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.birles-view-boot__bar > i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ec8f0, #b8f0ff, #5ec8f0);
  animation: birlesPoolBootBar 1.1s ease-in-out infinite;
}

@keyframes birlesViewBootIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.birles-hub--flower,
.birles-sound-view {
  opacity: 0;
  transition: opacity 0.38s ease;
}

.birles-hub--flower.is-media-ready,
.birles-sound-view.is-media-ready {
  opacity: 1;
}

.birles-howto.is-booting .birles-howto__media {
  opacity: 0;
}

.birles-howto__boot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  font-size: clamp(1.25rem, 4.5vw, 1.55rem);
  font-weight: 800;
  color: #eaf7ff;
  background: rgba(8, 20, 36, 0.72);
}

.birles-howto__frame {
  position: relative;
}

.birles-howto:not(.is-booting) .birles-howto__boot {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .birles-view-boot,
  .birles-hub--flower,
  .birles-sound-view {
    animation: none;
    transition: none;
  }
  .birles-body:not(.is-view-booting) > .birles-hub--flower,
  .birles-body:not(.is-view-booting) > .birles-sound-view,
  .birles-body:not(.is-view-booting) > .birles-play,
  .birles-body:not(.is-view-booting) > .birles-groups-scene,
  .birles-body:not(.is-view-booting) > .birles-letters,
  .birles-body:not(.is-view-booting) > .birles-howto,
  .birles-cumle-mid.is-dropping .birles-cumle-mid__word,
  .birles-cumle-mid.is-flying .birles-cumle-mid__word,
  .birles-cumle-flyword.is-peel-fly,
  .birles-cumle-mid.is-splitting .birles-cumle-mid__syl,
  .birles-cumle-mid.is-splitting .birles-cumle-mid__plus {
    animation: none !important;
    transition: none !important;
  }
  .birles-cumle-mid.is-arrived .birles-cumle-mid__word,
  .birles-cumle-mid.is-landed .birles-cumle-mid__word {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .birles-cumle-mid.is-landed .birles-cumle-mid__syls {
    opacity: 1;
    filter: none;
    transform: none;
  }
  .birles-cumle-mid.is-syls-enter .birles-cumle-mid__syl,
  .birles-cumle-mid.is-syls-enter .birles-cumle-mid__plus,
  .birles-cumle-mid.is-syls-exit .birles-cumle-mid__syl,
  .birles-cumle-mid.is-syls-exit .birles-cumle-mid__plus,
  .birles-cumle-mid.is-syls-only .birles-cumle-mid__syl,
  .birles-cumle-mid.is-syls-only .birles-cumle-mid__plus,
  .birles-cumle-mid.is-merging .birles-cumle-mid__syl,
  .birles-cumle-mid.is-merging .birles-cumle-mid__plus,
  .birles-cumle-mid__word-chip.is-arrive,
  .birles-cumle-mid__word-chip.is-speaking {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

body.birles-lock {
  overflow: hidden !important;
}

/* Native fullscreen ?l?e?i ? Kristal + Havuz + Ses Yuvas? */
html.nova-perf-ultra-early.nova-has-session body.birles-pool-fs,
html.nova-perf-ultra-early.nova-has-session body.birles-kristal-fs,
html.nova-perf-ultra-early.nova-has-session body.birles-sirala-fs,
html.nova-perf-ultra-early.nova-has-session body.birles-mancinik-fs,
body.birles-pool-fs,
body.birles-kristal-fs,
body.birles-sirala-fs,
body.birles-mancinik-fs {
  overflow: hidden !important;
  overscroll-behavior: none;
  zoom: 1 !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
}

body.birles-kristal-fs,
body.birles-sirala-fs,
body.birles-mancinik-fs {
  position: fixed !important;
  inset: 0 !important;
  height: 100% !important;
  height: 100dvh !important;
  background: #05030c !important;
}

.birles-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 12050;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: max(10px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 209, 102, 0.55), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(76, 201, 240, 0.4), transparent 40%),
    radial-gradient(circle at 70% 85%, rgba(6, 214, 160, 0.35), transparent 45%),
    linear-gradient(160deg, #123047 0%, #1b4332 48%, #264653 100%);
  box-sizing: border-box;
}

/* Ses Evreni: Ak?c? ?l?ek bozulmas?n (zoom:1 / boyut b?y?tme YOK).
   Alttaki ana men? s?z?nt?s?: html mask (#birles-zoom-mask) ile kapat?l?r. */
#birlestirelim-overlay.open {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.birles-overlay.open {
  display: flex !important;
  opacity: 1 !important;
  /* fill-mode: both kullanma ? telefonda opacity:0?da kalabiliyor */
  animation: birlesFadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

/* A??l?? kap?s? ??k??? ? anl?k kaybolma yerine yumu?ak solma */
.birles-view-boot.is-leaving {
  animation: birlesViewBootOut 0.28s ease forwards;
  pointer-events: none;
}

@keyframes birlesViewBootOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Body zoom d???nda tam ekran ?rt? ? boyutlar? de?i?tirmez, sadece ana men?y? gizler */
#birles-zoom-mask {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 12040;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 209, 102, 0.55), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(76, 201, 240, 0.4), transparent 40%),
    radial-gradient(circle at 70% 85%, rgba(6, 214, 160, 0.35), transparent 45%),
    linear-gradient(160deg, #123047 0%, #1b4332 48%, #264653 100%);
}
#birles-zoom-mask.is-on {
  display: block;
}
/* Mask html k?k?nde ? body alt? se?ici ?al??m?yordu ? ye?il bo? ekran */
html.birles-kristal-open #birles-zoom-mask,
html:has(body.birles-kristal-fs) #birles-zoom-mask,
html:has(body.birles-pool-fs) #birles-zoom-mask,
html:has(body.birles-sirala-fs) #birles-zoom-mask,
html:has(body.birles-mancinik-fs) #birles-zoom-mask,
body.birles-pool-fs #birles-zoom-mask,
body.birles-kristal-fs #birles-zoom-mask,
body.birles-sirala-fs #birles-zoom-mask,
body.birles-mancinik-fs #birles-zoom-mask {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

@keyframes birlesFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Shell: overlay y?ksekli?ini doldur (i?erik font/?l?ek de?i?mez) */
.birles-shell {
  position: relative;
  width: min(820px, 100%);
  height: 100%;
  max-height: 100%;
  min-height: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f3fffb 48%, #eef9ff 100%);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.38),
    inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

/* Telefon Ak?c? zoom: overlay kutusunu CSS ile de b?y?t (JS as?l kaynak) */
html.nova-perf-ultra-early.nova-has-session
  body.birles-lock:not(.birles-pool-fs):not(.birles-kristal-fs):not(.birles-sirala-fs):not(.birles-mancinik-fs)
  #birlestirelim-overlay.open:not(.is-pool-play) {
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: calc(100vw / var(--nova-perf-body-zoom, 0.74)) !important;
  height: calc(100dvh / var(--nova-perf-body-zoom, 0.74)) !important;
  max-width: none !important;
  max-height: none !important;
  transform-origin: top left;
}

.birles-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 16px 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), transparent);
}

.birles-top-text {
  flex: 1;
  min-width: 0;
}

.birles-eyebrow {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--birles-accent, #e76f51);
}

#birles-title {
  margin: 2px 0 0;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(1.7rem, 5.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1b3a4b;
}

.birles-sub {
  margin: 4px 0 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: #567183;
}

/* ?? Profesyonel ba?l?klar: SES EVREN? + 1. GRUP ?? */
.birles-top--universe,
.birles-top--group {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 14px 16px 8px;
}

.birles-top--universe {
  background:
    radial-gradient(ellipse 70% 100% at 50% -35%, rgba(86, 170, 230, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), transparent);
}

.birles-top--group {
  background:
    radial-gradient(ellipse 65% 100% at 50% -35%, color-mix(in srgb, var(--chip, #e76f51) 14%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), transparent);
}

.birles-top--universe .birles-top-text,
.birles-top--group .birles-top-text {
  grid-column: 2;
  text-align: center;
  position: relative;
}

.birles-top--universe #birles-back,
.birles-top--group #birles-back {
  grid-column: 1;
}

.birles-top--universe .birles-close,
.birles-top--group .birles-close {
  grid-column: 3;
}

#birles-title.birles-title--universe,
#birles-title.birles-title--group {
  position: relative;
  display: inline-block;
  margin: 0 !important;
  padding: 4px 8px 10px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-weight: 800 !important;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16324f;
  -webkit-text-fill-color: #16324f;
  text-shadow: none;
  filter: none;
}

#birles-title.birles-title--universe {
  font-size: clamp(1.85rem, 6.5vw, 2.55rem) !important;
  letter-spacing: 0.12em;
  color: #1a4a6e;
  -webkit-text-fill-color: #1a4a6e;
  background: linear-gradient(180deg, #2b6a9e 0%, #1a4a6e 55%, #16324f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9));
}

#birles-title.birles-title--group {
  font-size: clamp(1.65rem, 5.8vw, 2.25rem) !important;
  letter-spacing: 0.1em;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--chip, #e76f51) 55%, #16324f) 0%,
    color-mix(in srgb, var(--chip, #e76f51) 75%, #1a3044) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9));
}

#birles-title.birles-title--universe::after,
#birles-title.birles-title--group::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  height: 3px;
  border-radius: 999px;
}

#birles-title.birles-title--universe::after {
  width: min(86%, 200px);
  background: linear-gradient(90deg, transparent, #4a9fd8 20%, #6bb3e0 50%, #4a9fd8 80%, transparent);
  opacity: 0.85;
}

#birles-title.birles-title--group::after {
  width: min(72%, 140px);
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--chip, #e76f51) 70%, #ffd166) 25%,
    var(--chip, #e76f51) 50%,
    color-mix(in srgb, var(--chip, #e76f51) 70%, #ffd166) 75%,
    transparent
  );
  opacity: 0.9;
}

.birles-icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 16px;
  background: rgba(27, 58, 75, 0.08);
  color: #1b3a4b;
  font-size: 1.15rem;
  cursor: pointer;
}

.birles-body {
  flex: 1;
  overflow: auto;
  padding: 6px 16px 20px;
  -webkit-overflow-scrolling: touch;
}

.birles-body:has(.birles-hub--flower) {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.birles-hub {
  position: relative;
}

/* ?????? Grup se?im ? d?nya portal kartlar? (oyun) ?????? */
.birles-hub--groups {
  position: relative;
  padding: 8px 0 22px;
  min-height: min(70vh, 540px);
}

.birles-body:has(.birles-hub--groups) {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.birles-groups-scene {
  position: absolute;
  inset: -10px -6px 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 28px;
}

.birles-groups-scene__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.65;
  animation: birlesNebulaDrift 12s ease-in-out infinite;
}

.birles-groups-scene__nebula--1 {
  width: 62%;
  height: 45%;
  top: -12%;
  left: -14%;
  background: radial-gradient(circle, rgba(255, 190, 90, 0.55), transparent 70%);
}

.birles-groups-scene__nebula--2 {
  width: 58%;
  height: 42%;
  bottom: -10%;
  right: -12%;
  background: radial-gradient(circle, rgba(88, 190, 255, 0.45), transparent 72%);
  animation-delay: -5s;
}

.birles-groups-scene__cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
  animation: birlesCloudFloat 9s ease-in-out infinite;
}

.birles-groups-scene__cloud--1 {
  width: 72px;
  height: 28px;
  top: 8%;
  right: 6%;
}

.birles-groups-scene__cloud--2 {
  width: 56px;
  height: 22px;
  bottom: 14%;
  left: 4%;
  animation-delay: -3s;
}

.birles-groups-scene__dust {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffe08a;
  box-shadow: 0 0 10px rgba(255, 210, 80, 0.8);
  animation: birlesDustTwinkle 3.5s ease-in-out infinite;
}

.birles-groups-scene__dust--1 { top: 18%; left: 12%; }
.birles-groups-scene__dust--2 { top: 42%; right: 14%; animation-delay: 1.1s; }
.birles-groups-scene__dust--3 { bottom: 22%; left: 28%; animation-delay: 2.2s; }

@keyframes birlesNebulaDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, -6px) scale(1.05); }
}

@keyframes birlesCloudFloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-6px); opacity: 1; }
}

@keyframes birlesDustTwinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}

.birles-group-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* ?????? D?nya kart? ?????? */
.birles-wcard {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 0 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  animation: birlesWcardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0s);
  -webkit-tap-highlight-color: transparent;
}

@keyframes birlesWcardIn {
  from { opacity: 0; transform: translateY(22px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

.birles-wcard__shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 14px;
  border-radius: 50%;
  background: rgba(22, 50, 79, 0.22);
  filter: blur(6px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.birles-wcard__shell {
  position: relative;
  display: block;
  padding: 3px;
  border-radius: 26px;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--chip, #2a9d8f) 55%, #ffffff) 0%,
    color-mix(in srgb, var(--chip, #2a9d8f) 85%, #1a3044) 100%
  );
  box-shadow:
    0 14px 32px color-mix(in srgb, var(--chip, #2a9d8f) 28%, rgba(22, 50, 79, 0.2)),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-wcard__aura {
  position: absolute;
  inset: -4px;
  border-radius: 30px;
  background: radial-gradient(
    circle at 50% 40%,
    color-mix(in srgb, var(--chip, #2a9d8f) 35%, transparent),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.birles-wcard__frame {
  position: relative;
  display: block;
  min-height: 118px;
  padding: 28px 12px 12px;
  border-radius: 23px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, color-mix(in srgb, var(--chip, #2a9d8f) 22%, #ffffff), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, color-mix(in srgb, var(--chip, #2a9d8f) 12%, transparent), transparent 50%),
    linear-gradient(180deg, #fffef9 0%, color-mix(in srgb, var(--soft, #f7fffc) 92%, #ffffff) 55%, #f8fbff 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.birles-wcard__crown,
.birles-wcard__eggbadge {
  display: none !important;
}

.birles-wcard.has-egg .birles-wcard__frame {
  padding-right: 12px;
}

.birles-wcard__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 14px 14px;
}

.birles-wcard__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  min-width: 132px;
  max-width: 72%;
  padding: 7px 22px 9px;
  text-align: center;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--chip, #2a9d8f) 92%, #ffffff) 0%,
    var(--chip, #2a9d8f) 100%
  );
  border-radius: 0 0 16px 16px;
  box-shadow:
    0 6px 14px color-mix(in srgb, var(--chip, #2a9d8f) 35%, transparent),
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.birles-wcard__ribbon::before,
.birles-wcard__ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  background: color-mix(in srgb, var(--chip, #2a9d8f) 70%, #1a3044);
}

.birles-wcard__ribbon::before {
  left: -10px;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.birles-wcard__ribbon::after {
  right: -10px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.birles-wcard__ribbon-text {
  display: block;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.82rem, 3vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 0 color-mix(in srgb, var(--chip, #2a9d8f) 65%, #1a3044);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.birles-wcard__flag {
  position: static;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: color-mix(in srgb, var(--chip, #2a9d8f) 75%, #16324f);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 3px 8px rgba(22, 50, 79, 0.1),
    inset 0 0 0 2px color-mix(in srgb, var(--chip, #2a9d8f) 25%, transparent);
}

.birles-wcard.is-started .birles-wcard__flag {
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--chip, #2a9d8f) 90%, #fff) 0%, var(--chip, #2a9d8f) 100%);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--chip, #2a9d8f) 38%, transparent);
}

.birles-wcard.is-complete .birles-wcard__flag {
  color: #7a5200;
  background: linear-gradient(180deg, #fff6c8 0%, #ffd54a 100%);
  box-shadow: 0 3px 12px rgba(255, 190, 40, 0.35);
}

.birles-wcard__crown {
  position: absolute;
  top: 6px;
  left: 10px;
  z-index: 4;
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 4px rgba(255, 190, 40, 0.5));
  animation: birlesCrownBob 2.5s ease-in-out infinite;
}

@keyframes birlesCrownBob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-3px) rotate(4deg); }
}

.birles-wcard__layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.birles-wcard__portal {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 68px;
  gap: 0;
}

.birles-wcard__pedestal {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 20px;
  z-index: 0;
  pointer-events: none;
}

.birles-wcard__pedestal i {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #e8edf2 0%, #b8c5d4 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.birles-wcard__pedestal i:first-child {
  bottom: 0;
  width: 52px;
  height: 10px;
}

.birles-wcard__pedestal i:last-child {
  bottom: 6px;
  width: 38px;
  height: 8px;
  opacity: 0.85;
}

.birles-wcard__crystal {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  margin-bottom: 2px;
}

.birles-wcard__crystal-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: none;
  /* --gpct: 0?100 dolum; sonsuz spin yok (kasma yok) */
  background: conic-gradient(
    from -90deg,
    color-mix(in srgb, var(--chip, #2a9d8f) 88%, #ffe08a) 0% calc(var(--gpct, 0) * 1%),
    rgba(255, 255, 255, 0.42) calc(var(--gpct, 0) * 1%) 100%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.2px));
  opacity: 0.95;
  animation: none;
  transform: translateZ(0);
}

.birles-wcard.is-complete .birles-wcard__crystal-ring {
  background: conic-gradient(
    from -90deg,
    #ffe566 0% 100%
  );
  opacity: 1;
}

@keyframes birlesCrystalSpin {
  to { transform: rotate(360deg); }
}

.birles-wcard__crystal-core {
  position: absolute;
  inset: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
    linear-gradient(155deg, color-mix(in srgb, var(--chip, #2a9d8f) 70%, #fff) 0%, var(--chip, #2a9d8f) 50%, color-mix(in srgb, var(--chip, #2a9d8f) 80%, #1a3044) 100%);
  box-shadow:
    0 0 20px color-mix(in srgb, var(--chip, #2a9d8f) 45%, transparent),
    inset 0 3px 0 rgba(255, 255, 255, 0.4),
    inset 0 -5px 10px rgba(0, 0, 0, 0.15);
  text-shadow: 0 2px 0 color-mix(in srgb, var(--chip, #2a9d8f) 60%, #1a3044);
}

.birles-wcard__stars,
.birles-wstar,
.birles-wcard__star-num {
  display: none !important;
}

/* Ejderha yumurtas? rozeti ? ?er?eve sa? ?st */
.birles-wcard__eggbadge {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 52px;
  pointer-events: none;
}

.birles-wcard__eggbadge-shine {
  position: absolute;
  inset: -6px -8px auto -8px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 200, 80, 0.55) 0%,
    rgba(255, 140, 40, 0.2) 45%,
    transparent 72%
  );
  pointer-events: none;
}

.birles-wcard__eggbadge-ring {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.75), transparent 42%),
    linear-gradient(155deg, #fff4c8 0%, #f0b040 42%, #c45a12 100%);
  box-shadow:
    0 0 0 2px rgba(255, 245, 210, 0.95),
    0 0 0 4px rgba(180, 90, 20, 0.45),
    0 6px 14px rgba(140, 60, 10, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 6px rgba(120, 40, 0, 0.25);
}

.birles-wcard__eggbadge-egg {
  display: block;
  width: 30px;
  height: auto;
  filter: drop-shadow(0 2px 3px rgba(80, 20, 0, 0.35));
  transform: translateY(1px);
}

.birles-wcard__eggbadge-chip {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: -6px;
  padding: 2px 7px 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a1a0e 0%, #4a2c14 45%, #1a1008 100%);
  box-shadow:
    0 2px 0 #0e0804,
    0 4px 10px rgba(22, 50, 79, 0.22),
    inset 0 1px 0 rgba(255, 220, 140, 0.35),
    inset 0 0 0 1px rgba(255, 190, 80, 0.35);
}

.birles-wcard__eggbadge-plus {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ffe29a;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.55),
    0 0 8px rgba(255, 180, 60, 0.55);
}

.birles-wcard__eggbadge-check {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  font-size: 0.52rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(160deg, #5adf8a, #2f9e57);
  box-shadow: 0 1px 3px rgba(20, 80, 40, 0.4);
}

.birles-wcard__eggbadge.is-ready .birles-wcard__eggbadge-ring {
  animation: birlesEggBadgePulse 2.2s ease-in-out infinite;
}

.birles-wcard__eggbadge.is-ready .birles-wcard__eggbadge-shine {
  animation: birlesEggBadgeGlow 2.2s ease-in-out infinite;
}

.birles-wcard__eggbadge.is-claimed .birles-wcard__eggbadge-ring {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(155deg, #d8efe0 0%, #6fbf88 45%, #2f7a4a 100%);
  box-shadow:
    0 0 0 2px rgba(230, 255, 240, 0.9),
    0 0 0 4px rgba(40, 120, 70, 0.4),
    0 5px 12px rgba(30, 80, 50, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.birles-wcard__eggbadge.is-claimed .birles-wcard__eggbadge-shine {
  background: radial-gradient(
    circle,
    rgba(120, 220, 160, 0.4) 0%,
    transparent 70%
  );
}

@keyframes birlesEggBadgePulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.04);
  }
}

@keyframes birlesEggBadgeGlow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.birles-wcard__chest {
  display: none !important;
}

.birles-wcard__mid {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0;
}

.birles-wcard__runes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.birles-wrune {
  animation: birlesRuneIn 0.5s ease both;
  animation-delay: calc(var(--ri, 0) * 0.05s + var(--delay, 0s));
}

@keyframes birlesRuneIn {
  from { opacity: 0; transform: translateY(6px) scale(0.8); }
  to { opacity: 1; transform: none; }
}

.birles-wrune__gem {
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
  clip-path: polygon(50% 0%, 92% 22%, 92% 72%, 50% 100%, 8% 72%, 8% 22%);
  background: linear-gradient(180deg, #ffffff 0%, #eef3f8 100%);
  box-shadow:
    0 3px 0 color-mix(in srgb, var(--chip, #2a9d8f) 25%, rgba(22, 50, 79, 0.15)),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -4px 8px rgba(22, 50, 79, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.birles-wrune__letter {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1;
  color: color-mix(in srgb, var(--chip, #2a9d8f) 70%, #16324f);
}

.birles-wrune.is-lit .birles-wrune__gem {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--chip, #2a9d8f) 80%, #fff) 0%,
    var(--chip, #2a9d8f) 100%
  );
  box-shadow:
    0 3px 0 color-mix(in srgb, var(--chip, #2a9d8f) 55%, #1a3044),
    0 0 14px color-mix(in srgb, var(--chip, #2a9d8f) 45%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.birles-wrune.is-lit .birles-wrune__letter {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.birles-wcard__trail {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.birles-wcard__tube {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 11px;
  border-radius: 999px;
  background: rgba(22, 50, 79, 0.1);
  box-shadow: inset 0 2px 4px rgba(22, 50, 79, 0.12);
  overflow: hidden;
}

.birles-wcard__tube i {
  display: block;
  height: 100%;
  width: calc(var(--gpct, 0) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--chip, #2a9d8f), #ffe08a);
  box-shadow: 0 0 10px color-mix(in srgb, var(--chip, #2a9d8f) 40%, transparent);
  transition: width 0.45s ease;
}

.birles-wcard__tube-shine {
  position: absolute;
  inset: 1px 8px 1px 4px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
}

.birles-wcard__trail-label {
  flex-shrink: 0;
  font-size: 0.64rem;
  font-weight: 900;
  color: #7a93a3;
  letter-spacing: 0.03em;
}

.birles-wcard__aside {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 54px;
  padding-top: 2px;
}

.birles-wcard__chest {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px 4px 5px;
  border-radius: 12px;
  background: linear-gradient(180deg, #5a3d1e 0%, #3d2812 100%);
  box-shadow:
    0 4px 0 #2a1a0a,
    0 6px 14px rgba(22, 50, 79, 0.2),
    inset 0 1px 0 rgba(255, 220, 120, 0.25);
}

.birles-wcard__chest-lid {
  position: absolute;
  top: -3px;
  left: 4px;
  right: 4px;
  height: 6px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #8a5e28 0%, #5a3d1e 100%);
}

.birles-wcard__chest.is-ready {
  animation: birlesChestBounce 2s ease-in-out infinite;
}

@keyframes birlesChestBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.birles-wcard__chest-egg {
  display: block;
  width: 22px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.birles-wcard__chest-tag {
  font-size: 0.68rem;
  font-weight: 900;
  color: #ffe08a;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.birles-wcard__chest-check {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font-size: 0.55rem;
  font-weight: 900;
  color: #fff;
  background: #3d9a5f;
}

.birles-wcard__launch {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
}

.birles-wcard__launch-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--chip, #2a9d8f) 45%, transparent);
  opacity: 0;
  animation: birlesLaunchPulse 2.5s ease-out infinite;
}

@keyframes birlesLaunchPulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.25); opacity: 0; }
}

.birles-wcard__launch-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--chip, #2a9d8f) 75%, #ffffff) 0%,
    var(--chip, #2a9d8f) 55%,
    color-mix(in srgb, var(--chip, #2a9d8f) 85%, #1a3044) 100%
  );
  box-shadow:
    0 6px 0 color-mix(in srgb, var(--chip, #2a9d8f) 55%, #1a3044),
    0 10px 22px color-mix(in srgb, var(--chip, #2a9d8f) 38%, transparent),
    inset 0 3px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease;
}

.birles-wcard__launch-btn span {
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  margin-left: 3px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.birles-wcard__glint {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.7);
  filter: blur(1px);
  animation: birlesGlintFlash 4s ease-in-out infinite;
}

.birles-wcard__glint--1 {
  width: 6px;
  height: 6px;
  top: 22%;
  left: 18%;
}

.birles-wcard__glint--2 {
  width: 4px;
  height: 4px;
  bottom: 24%;
  right: 22%;
  animation-delay: 1.8s;
}

@keyframes birlesGlintFlash {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  45% { opacity: 0.9; transform: scale(1); }
  55% { opacity: 0; }
}

.birles-wcard.is-complete .birles-wcard__shell {
  background: linear-gradient(165deg, #ffe08a 0%, #e9a825 50%, #c88612 100%);
}

.birles-wcard.is-complete .birles-wcard__frame {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 230, 120, 0.35), transparent 55%),
    linear-gradient(180deg, #fffef5 0%, #fff8e0 100%);
}

.birles-wcard:hover .birles-wcard__shell,
.birles-wcard:focus-visible .birles-wcard__shell {
  transform: translateY(-4px);
}

.birles-wcard:hover .birles-wcard__aura,
.birles-wcard:focus-visible .birles-wcard__aura {
  opacity: 1;
}

.birles-wcard:hover .birles-wcard__shadow,
.birles-wcard:focus-visible .birles-wcard__shadow {
  transform: scale(1.05);
  opacity: 0.32;
}

.birles-wcard:hover .birles-wcard__launch-btn,
.birles-wcard:focus-visible .birles-wcard__launch-btn {
  transform: scale(1.08);
}

.birles-wcard:active .birles-wcard__shell {
  transform: translateY(1px);
}

.birles-wcard:active .birles-wcard__launch-btn {
  transform: scale(0.95) translateY(3px);
  box-shadow:
    0 2px 0 color-mix(in srgb, var(--chip, #2a9d8f) 55%, #1a3044),
    0 4px 10px color-mix(in srgb, var(--chip, #2a9d8f) 28%, transparent);
}

.birles-wcard:focus-visible {
  outline: none;
}

@media (max-width: 380px) {
  .birles-wcard__portal { width: 58px; }
  .birles-wcard__crystal { width: 48px; height: 48px; }
  .birles-wrune__gem { width: 38px; height: 44px; }
  .birles-wrune__letter { font-size: 1.1rem; }
  .birles-wcard__launch { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .birles-groups-scene__nebula,
  .birles-groups-scene__cloud,
  .birles-groups-scene__dust,
  .birles-wcard__crystal-ring,
  .birles-wcard__eggbadge.is-ready .birles-wcard__eggbadge-ring,
  .birles-wcard__eggbadge.is-ready .birles-wcard__eggbadge-shine,
  .birles-wcard__launch-pulse,
  .birles-wcard__glint,
  .birles-wcard__crown {
    animation: none !important;
  }

  .birles-wcard {
    animation: none !important;
  }

  .birles-wrune {
    animation: none !important;
  }
}

.birles-path-label {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a93a3;
}

.birles-fusion-section {
  margin: 0 0 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(27, 58, 75, 0.1);
}
.birles-fusion-section:last-child {
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: 0;
}

.birles-fusion-section__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 4px 2px 10px;
  border-bottom: 3px solid color-mix(in srgb, var(--chip, #2a9d8f) 55%, #1b3a4b);
}

.birles-fusion-section__head .birles-path-label {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1b3a4b;
  line-height: 1.2;
}

.birles-fusion-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: #1b3a4b;
  box-shadow: 0 4px 10px rgba(27, 58, 75, 0.18);
}

.birles-group-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  margin-bottom: 12px;
  border-radius: 22px;
  border: 2px solid color-mix(in srgb, var(--chip, #2a9d8f) 42%, transparent);
  background: linear-gradient(
    120deg,
    var(--soft, #eaf8f5) 0%,
    color-mix(in srgb, var(--chip, #2a9d8f) 12%, #ffffff) 55%,
    #ffffff 100%
  );
  box-shadow: 0 8px 20px color-mix(in srgb, var(--chip, #2a9d8f) 16%, transparent);
}

.birles-group-banner--soft {
  border-width: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, color-mix(in srgb, var(--chip, #2a9d8f) 18%, transparent), transparent 60%),
    linear-gradient(120deg, #fffdf8 0%, var(--soft, #eaf8f5) 55%, #ffffff 100%);
  box-shadow:
    0 10px 24px rgba(27, 58, 75, 0.08),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.9);
}
.birles-group-banner__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.birles-group-banner__text strong {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.2rem;
  color: #1b3a4b;
}
.birles-group-banner__text span {
  font-size: 0.9rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--chip, #2a9d8f) 55%, #567183);
}
.birles-group-banner__prog {
  margin-top: 2px;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: color-mix(in srgb, var(--chip, #2a9d8f) 72%, #16324f) !important;
}
.birles-izle-btn--tiny {
  padding: 8px 12px;
  font-size: 0.75rem;
  align-self: center;
}
/* Gruplar: pembe/turuncu de??il ??? aktif grup rengi */
.birles-izle-btn--group {
  color: #fff !important;
  background: var(--chip, #2a9d8f) !important;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--chip, #2a9d8f) 36%, transparent) !important;
}

/* ?????? Ses ?i?e??i ? oyun arenas? + y?r?nge y?ld?zlar? ?????? */
.birles-hub--flower {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 0 4px;
}

.birles-flower-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 8px 12px 12px;
  overflow: visible;
}

.birles-flower {
  --orb: clamp(82px, 22vw, 118px);
  --halo: 8px;
  position: relative;
  flex: 0 1 auto;
  width: min(92vw, 440px, calc(100dvh - 210px), calc(100vh - 210px));
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
  z-index: 1;
}

.birles-flower--dense {
  --orb: clamp(72px, 20vw, 104px);
  --halo: 8px;
  width: min(94vw, 460px, calc(100dvh - 200px), calc(100vh - 200px));
  max-width: 460px;
}

.birles-flower-arena {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 36px;
  overflow: visible;
}

.birles-flower-arena__glow {
  position: absolute;
  inset: 2% 1% 4%;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 252, 245, 0.55) 38%, transparent 72%),
    radial-gradient(circle at 22% 28%, color-mix(in srgb, var(--chip, #2a9d8f) 18%, transparent), transparent 48%),
    radial-gradient(circle at 78% 72%, rgba(120, 190, 255, 0.16), transparent 46%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.7) 0%, rgba(240, 252, 255, 0.35) 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.85),
    inset 0 -18px 40px rgba(27, 58, 75, 0.04);
}

.birles-flower-arena__spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 220, 120, 0.7);
  box-shadow: 0 0 12px rgba(255, 200, 80, 0.5);
  animation: birlesArenaSpark 4.5s ease-in-out infinite;
}

.birles-flower-arena__spark--1 {
  top: 14%;
  left: 18%;
  animation-delay: 0s;
}

.birles-flower-arena__spark--2 {
  top: 22%;
  right: 14%;
  width: 4px;
  height: 4px;
  animation-delay: 1.4s;
}

.birles-flower-arena__spark--3 {
  bottom: 18%;
  left: 24%;
  width: 5px;
  height: 5px;
  animation-delay: 2.6s;
}

@keyframes birlesArenaSpark {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.birles-flower__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.birles-flower__ring--outer {
  inset: 14%;
  border: 2px solid color-mix(in srgb, var(--chip, #2a9d8f) 22%, transparent);
  box-shadow:
    0 0 24px color-mix(in srgb, var(--chip, #2a9d8f) 12%, transparent),
    inset 0 0 20px rgba(255, 255, 255, 0.35);
  opacity: 0.7;
}

.birles-flower__ring--inner {
  inset: 24%;
  border: 2px dashed color-mix(in srgb, var(--chip, #2a9d8f) 32%, transparent);
  opacity: 0.5;
}

.birles-flower__center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(160px, 44vw, 220px);
  height: clamp(160px, 44vw, 220px);
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, transparent 68%);
  box-shadow: 0 0 48px color-mix(in srgb, var(--chip, #2a9d8f) 16%, transparent);
  overflow: visible;
  animation: none;
  will-change: auto;
}

.birles-flower__mascot {
  display: block;
  width: 138%;
  height: 138%;
  max-width: none;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  pointer-events: none;
  transform: translateZ(0);
  filter: drop-shadow(0 16px 28px rgba(22, 50, 79, 0.28));
}

.birles-flower__seed {
  display: none;
}

@keyframes birlesFlowerPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.birles-flower-petal {
  position: absolute;
  z-index: 3;
  width: calc(var(--orb) + 28px);
  height: calc(var(--orb) + var(--halo) + 10px);
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  transform: translate(-50%, -50%);
  animation: birlesPetalBloom 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 0.07s);
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
}

.birles-flower-petal__cluster {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-flower-petal__stars-row,
.birles-orbit-star {
  display: none !important;
}

.birles-flower-petal__orb-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--orb) + 22px);
  height: calc(var(--orb) + 22px);
}

/* Kal?n SVG ilerleme ? ince conic yerine net metre */
.birles-flower-petal__meter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  transform: translateZ(0);
}

.birles-flower-petal__meter-track,
.birles-flower-petal__meter-fill {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.birles-flower-petal__meter-track {
  stroke: rgba(90, 110, 130, 0.18);
  stroke-width: 8.5;
}

.birles-flower-petal__meter-fill {
  stroke: var(--chip, #06d6a0);
  stroke-width: 8.5;
}

.birles-flower-petal__meter.is-started .birles-flower-petal__meter-fill {
  filter: drop-shadow(0 1px 2px color-mix(in srgb, var(--chip, #06d6a0) 30%, transparent));
}

.birles-flower-petal__meter.is-full .birles-flower-petal__meter-fill {
  stroke: #e4b03a;
  filter: drop-shadow(0 1px 3px rgba(212, 160, 40, 0.35));
}

.birles-flower-petal__meter.is-full .birles-flower-petal__meter-track {
  stroke: rgba(212, 160, 40, 0.25);
}

.birles-flower-petal__check {
  position: absolute;
  left: 50%;
  top: -2px;
  right: auto;
  bottom: auto;
  z-index: 7;
  display: grid;
  place-items: center;
  width: clamp(26px, 7vw, 32px);
  height: clamp(26px, 7vw, 32px);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(160deg, #3dd68c 0%, #1fa866 100%);
  border: 2.5px solid #fff;
  box-shadow:
    0 3px 10px rgba(22, 50, 79, 0.22),
    0 0 0 1px rgba(31, 168, 102, 0.35);
  pointer-events: none;
  transform: translate(-50%, -42%);
}

.birles-flower-petal__check svg {
  display: block;
  width: 58%;
  height: 58%;
}

.birles-flower-petal__ring {
  display: none !important;
}

.birles-flower-petal__orb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: var(--orb);
  height: var(--orb);
  padding: calc(var(--orb) * 0.06) calc(var(--orb) * 0.08) calc(var(--orb) * 0.08);
  box-sizing: border-box;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, #ffffff 0%, #fffef9 38%, #f4faff 100%);
  border: 2px solid rgba(22, 50, 79, 0.07);
  box-shadow:
    0 14px 28px rgba(22, 50, 79, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -5px 14px rgba(22, 50, 79, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: visible;
}

/* S?ra numaras? ? yuvarla??n sol-?st k??esine as?l? rozet (orb i?inde de?il) */
.birles-flower-petal__ord {
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: clamp(24px, 6.2vw, 30px);
  height: clamp(24px, 6.2vw, 30px);
  border-radius: 999px;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(0.82rem, 2.6vw, 1.05rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0 !important;
  color: var(--chip, #06d6a0);
  background: #fff;
  border: 2.5px solid var(--chip, #06d6a0);
  box-shadow:
    0 2px 8px rgba(22, 50, 79, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  pointer-events: none;
  overflow: visible;
  transform: translate(-18%, -18%);
}

.birles-flower-petal.is-complete .birles-flower-petal__ord {
  opacity: 0.88;
}

.birles-flower-petal__shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.75) 0%,
    transparent 42%,
    transparent 58%,
    rgba(255, 255, 255, 0.15) 100%
  );
  pointer-events: none;
}

.birles-flower-petal__letter {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: calc(var(--orb) * 0.48);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0 !important;
  color: var(--chip, #06d6a0);
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  -webkit-font-smoothing: antialiased;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  transform: translateY(0.04em);
}

.birles-flower-petal__sub {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: -0.06em;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: calc(var(--orb) * 0.34);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0 !important;
  color: color-mix(in srgb, var(--chip, #06d6a0) 78%, #16324f);
  text-align: center;
  opacity: 1;
  overflow: visible;
  white-space: nowrap;
}

/* Alt harf yoksa b?y?k harfi daha da b?y?t */
.birles-flower-petal__orb:not(:has(.birles-flower-petal__sub)) .birles-flower-petal__letter {
  font-size: calc(var(--orb) * 0.56);
  line-height: 1;
  transform: translateY(0.02em);
}

.birles-flower-petal.is-complete .birles-flower-petal__orb {
  border-color: rgba(212, 160, 40, 0.28);
  box-shadow:
    0 14px 28px rgba(22, 50, 79, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 0.95);
}

.birles-flower-petal.is-complete .birles-flower-petal__ring {
  display: none !important;
}

.birles-flower-petal:hover .birles-flower-petal__cluster,
.birles-flower-petal:focus-visible .birles-flower-petal__cluster {
  transform: scale(1.06);
}

.birles-flower-petal:hover .birles-flower-petal__orb,
.birles-flower-petal:focus-visible .birles-flower-petal__orb {
  box-shadow:
    0 18px 34px rgba(22, 50, 79, 0.16),
    inset 0 2px 0 rgba(255, 255, 255, 0.98);
}

.birles-flower-petal:focus-visible {
  outline: none;
}

.birles-flower-petal:active .birles-flower-petal__cluster {
  transform: scale(0.96);
}

.birles-flower--solo .birles-flower-petal {
  --orb: clamp(124px, 36vw, 156px);
  --halo: 10px;
}

.birles-flower--solo .birles-flower__ring--inner {
  opacity: 0.25;
}

.birles-flower--solo .birles-flower__center {
  opacity: 1;
}

@keyframes birlesPetalBloom {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 380px) {
  .birles-flower {
    --orb: clamp(78px, 23vw, 96px);
    --halo: 8px;
    width: min(96vw, calc(100dvh - 190px), calc(100vh - 190px));
  }
  .birles-flower--dense {
    --orb: clamp(72px, 21vw, 88px);
    --halo: 8px;
  }
  .birles-flower-stage {
    padding: 6px 8px 10px;
  }
  .birles-flower-petal__letter {
    font-size: calc(var(--orb) * 0.5);
  }
  .birles-flower-petal__sub {
    font-size: calc(var(--orb) * 0.36);
  }
  .birles-flower-petal__orb:not(:has(.birles-flower-petal__sub)) .birles-flower-petal__letter {
    font-size: calc(var(--orb) * 0.58);
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-flower-petal,
  .birles-flower__center,
  .birles-flower-arena__spark,
  .birles-orbit-star.is-lit .birles-orbit-star__icon {
    animation: none !important;
  }
}

.birles-fusion-grid--hece {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.birles-sound-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.birles-sound-chip-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: birlesChipIn 0.45s ease both;
  animation-delay: var(--delay, 0s);
}

.birles-sound-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 16px 14px 14px;
  border: 3px solid var(--chip, #06d6a0);
  border-radius: 22px;
  cursor: pointer;
  text-align: left;
  color: #1b3a4b;
  background: #fff;
  box-shadow: 0 12px 26px rgba(27, 58, 75, 0.12);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.2, 1.2), box-shadow 0.2s ease, border-color 0.2s ease;
}

.birles-izle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: stretch;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.15rem;
  color: #1b3a4b;
  background: linear-gradient(135deg, #ffe08a, #ffb4a2);
  box-shadow: 0 6px 14px rgba(255, 122, 89, 0.22);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.birles-izle-btn__ico {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  background: #fff;
  color: #ff7a59;
}
.birles-izle-btn:hover,
.birles-izle-btn:focus-visible {
  transform: translateY(-1px) scale(1.02);
}
.birles-izle-btn.is-empty {
  filter: grayscale(0.35);
  opacity: 0.72;
}
.birles-izle-btn--hero {
  flex-direction: column;
  gap: 2px;
  min-width: 96px;
  border-radius: 18px;
  padding: 10px 12px;
  align-self: stretch;
  font-size: 1.28rem;
  line-height: 1.1;
}
.birles-izle-btn--hero small {
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.85;
  line-height: 1.1;
}

.birles-sound-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}
.birles-sound-hero .birles-listen-main {
  margin-bottom: 0;
}
.birles-sound-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
  min-width: 96px;
}

.birles-yaz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.15rem;
  color: #143447;
  background: linear-gradient(135deg, #b8f2e6, #7bdff2);
  box-shadow: 0 6px 14px rgba(58, 134, 255, 0.18);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.birles-yaz-btn__ico {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  background: #fff;
  color: #1b6b8a;
}
.birles-yaz-btn--hero {
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 96px;
  border-radius: 18px;
  padding: 10px 12px;
  font-size: 1.28rem;
  line-height: 1.1;
}
.birles-yaz-btn--hero small {
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.85;
  line-height: 1.1;
}
.birles-yaz-btn:hover,
.birles-yaz-btn:focus-visible {
  transform: translateY(-1px) scale(1.02);
}

/* ?????? Harf yaz?l???? (Maarif ? dik temel) ?????? */
.birles-yaz {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 2px 18px;
  --chip: #e4572e;
}
.birles-yaz__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.birles-yaz__cases {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(27, 58, 75, 0.06);
}
.birles-yaz__case {
  min-width: 48px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1b3a4b;
  cursor: pointer;
}
.birles-yaz__case.is-on {
  background: #fff;
  color: color-mix(in srgb, var(--chip) 80%, #1b3a4b);
  box-shadow: 0 4px 14px rgba(27, 58, 75, 0.12);
}
.birles-yaz__meta {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(20, 52, 71, 0.62);
}
.birles-yaz__stage {
  position: relative;
  border-radius: 22px;
  overflow: visible;
  background:
    radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--chip) 14%, transparent), transparent 60%),
    #f4f8fb;
  box-shadow: 0 12px 32px rgba(27, 58, 75, 0.1);
}
.birles-yaz__svg {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  height: auto;
  touch-action: none;
  overflow: visible;
}
.birles-yaz__stage.is-shake {
  animation: birles-yaz-shake 0.45s ease;
}
@keyframes birles-yaz-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}
.birles-yaz__hit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  touch-action: none;
}
.birles-yaz__paper {
  fill: #fffef8;
  stroke: rgba(27, 58, 75, 0.08);
  stroke-width: 1.5;
}
.birles-yaz__guide {
  stroke: rgba(58, 134, 255, 0.28);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.birles-yaz__guide--mid {
  stroke: rgba(255, 140, 0, 0.45);
  stroke-dasharray: 4 5;
}
.birles-yaz__ghost {
  stroke: rgba(27, 58, 75, 0.1);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
.birles-yaz__stroke {
  stroke: color-mix(in srgb, var(--chip) 75%, #1b3a4b);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  shape-rendering: geometricPrecision;
  transition: none !important;
  -webkit-transition: none !important;
}
.birles-yaz__stroke.is-done {
  stroke: #1a7a62;
}
.birles-yaz__stroke.is-live {
  stroke: #ff8c1a;
}
.birles-yaz__stroke.is-fail {
  stroke: #d62828;
}
.birles-yaz__user {
  stroke: rgba(27, 58, 75, 0.35);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  pointer-events: none;
}
.birles-yaz__pen {
  fill: #ff8c1a;
  stroke: #fff;
  stroke-width: 2;
  pointer-events: none;
}
/* SVG circle: hidden attribute g?venilir de??il */
.birles-yaz__pen[hidden] {
  display: none !important;
}
/* SVG g: hidden attribute her taray?c?da g?venilir de??il */
.birles-yaz__dot[hidden],
.birles-yaz__dot:not(.is-on) {
  display: none !important;
}
.birles-yaz__dot.is-on {
  display: inline !important;
}
.birles-yaz__dot-ring {
  fill: rgba(255, 183, 3, 0.42);
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 2.2;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}
.birles-yaz__dot-num {
  fill: rgba(26, 18, 0, 0.92);
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 9px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.6;
}
.birles-yaz__dot.is-on .birles-yaz__dot-ring {
  animation: birles-yaz-pulse 1s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes birles-yaz-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
.birles-yaz__tip {
  margin: 0;
  min-height: 1.3em;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1b3a4b;
}
.birles-yaz__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.birles-yaz-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 12px 8px 14px;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  color: #143447;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.birles-yaz-act__ico {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
}
.birles-yaz-act__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.15;
}
.birles-yaz-act__txt strong {
  font-size: 0.95rem;
  font-weight: 800;
}
.birles-yaz-act__txt small {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.72;
}
.birles-yaz-act--demo {
  color: #fff;
  background: linear-gradient(165deg, #5fd0ff 0%, #2a9df4 45%, #1b6fd4 100%);
  box-shadow:
    0 8px 0 #1558a8,
    0 14px 24px rgba(42, 157, 244, 0.32);
}
.birles-yaz-act--demo .birles-yaz-act__ico {
  color: #1b6fd4;
}
.birles-yaz-act--write {
  color: #0f3d32;
  background: linear-gradient(165deg, #9dffc4 0%, #3dd68c 50%, #1fad6a 100%);
  box-shadow:
    0 8px 0 #158a52,
    0 14px 24px rgba(31, 173, 106, 0.3);
}
.birles-yaz-act--write .birles-yaz-act__ico {
  color: #158a52;
}
.birles-yaz-act--back {
  color: #4a3418;
  background: linear-gradient(165deg, #ffe29a 0%, #ffc14a 55%, #f0a202 100%);
  box-shadow:
    0 8px 0 #c47d00,
    0 14px 24px rgba(240, 162, 2, 0.28);
}
.birles-yaz-act--back .birles-yaz-act__ico {
  color: #b36b00;
}
.birles-yaz-act:hover,
.birles-yaz-act:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.birles-yaz-act:active {
  transform: translateY(3px);
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.18),
    0 8px 14px rgba(0, 0, 0, 0.12);
}
.birles-yaz-act.is-on {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
.birles-yaz__status {
  margin: 0;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}
.birles-yaz__status.is-ok {
  color: #1a7a62;
}
.birles-yaz__status.is-bad {
  color: #c1121f;
}

@media (max-width: 420px) {
  .birles-yaz__actions {
    gap: 8px;
  }
  .birles-yaz-act {
    min-height: 82px;
    padding: 10px 6px 12px;
    border-radius: 18px;
  }
  .birles-yaz-act__ico {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
  .birles-yaz-act__txt strong {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-yaz__stroke {
    transition: none !important;
  }
  .birles-yaz__dot.is-on .birles-yaz__dot-ring,
  .birles-yaz__stage.is-shake {
    animation: none !important;
  }
}

@keyframes birlesChipIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.birles-sound-chip:hover,
.birles-sound-chip:focus-visible {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--chip, #06d6a0);
  box-shadow:
    0 18px 34px rgba(27, 58, 75, 0.16),
    0 0 0 4px var(--glow, rgba(6, 214, 160, 0.28));
}

.birles-sound-chip__ord {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--chip, #06d6a0);
}

.birles-sound-chip__letter {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--chip, #06d6a0);
}

.birles-sound-chip__letter small {
  margin-left: 4px;
  font-size: 1.2rem;
  opacity: 0.72;
}

.birles-sound-chip__title {
  margin-top: 8px;
  font-weight: 800;
  font-size: 1rem;
}

.birles-sound-chip__hint {
  font-size: 0.78rem;
  color: #6b8494;
  line-height: 1.25;
  font-weight: 600;
}

.birles-listen-main {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 16px;
  margin-bottom: 16px;
  border: 0;
  border-radius: 28px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--chip, #06d6a0), #1b3a4b 70%);
  box-shadow: 0 16px 34px rgba(27, 58, 75, 0.25);
  overflow: hidden;
}

.birles-listen-main__ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  animation: birlesRing 1.8s ease-out infinite;
}

@keyframes birlesRing {
  0% {
    transform: scale(0.55);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.birles-listen-main__letter {
  position: relative;
  z-index: 1;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  animation: birlesPulse 1.6s ease-in-out infinite;
}

.birles-listen-main__cap {
  position: relative;
  z-index: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
}

@keyframes birlesPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.birles-fusion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.birles-fusion-grid--word {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.birles-fusion-grid--cumle {
  grid-template-columns: 1fr;
  gap: 12px;
}

.birles-fusion-card--cumle {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.birles-fusion-card--cumle .birles-fusion-card__media {
  width: auto;
  height: auto;
  min-width: 72px;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.birles-fusion-card--cumle .birles-fusion-card__result {
  font-size: 1.18rem;
  line-height: 1.35;
  flex: 1;
}

.birles-fusion-card--cumle .birles-fusion-card__body {
  flex: 1;
  min-width: 0;
}

/* ?????? C?mle sahnesi (yaln?zca birles-play--cumle) ?????? */
.birles-play--cumle .birles-play__narration {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #16324f;
  margin-bottom: 14px;
}

.birles-sentence-board {
  position: relative;
  margin: 0 0 18px;
  padding: 16px 16px 18px;
  border-radius: 26px;
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(255, 225, 150, 0.35), transparent 42%),
    radial-gradient(100% 80% at 90% 10%, rgba(46, 196, 182, 0.18), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
  border: 2px solid rgba(22, 50, 79, 0.1);
  box-shadow:
    0 18px 40px rgba(22, 50, 79, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.birles-sentence-board::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--chip, #2a9d8f), #ffb703);
}

.birles-sentence-board.is-intro {
  animation: birles-sentence-intro 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-sentence-board__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0 2px 0 8px;
}

.birles-sentence-board__kicker {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #16324f;
}

.birles-sentence-board__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: #16324f;
  box-shadow: 0 6px 14px rgba(22, 50, 79, 0.22);
}

.birles-sentence-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  justify-content: center;
  min-height: 72px;
  padding: 18px 2px 2px;
}

/* C?mle ?stte hep tam g?r?n?r ??? belirgin kelime kartlar? */
.birles-sentence-word {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 18px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid rgba(22, 50, 79, 0.1);
  box-shadow: 0 8px 18px rgba(22, 50, 79, 0.08);
  opacity: 1;
  transform: none;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

/* Tik: yan de??il ?st ??? sat?r? kayd?rmaz */
.birles-sentence-word__mark {
  display: none;
  position: absolute;
  left: 50%;
  top: -11px;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
  background: #1f8a70;
  box-shadow:
    0 4px 10px rgba(31, 138, 112, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.birles-sentence-word__mark::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  margin: 4px auto 0;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.birles-sentence-word__text {
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 5.5vw, 2.3rem);
  line-height: 1.18;
  color: #12293a;
  letter-spacing: 0.025em;
}

.birles-sentence-word.is-focus {
  z-index: 2;
  transform: translateY(-4px) scale(1.06);
  border-color: var(--chip, #2a9d8f);
  background: linear-gradient(180deg, #ffffff, #eefaf7);
  box-shadow:
    0 16px 32px color-mix(in srgb, var(--chip, #2a9d8f) 28%, transparent),
    0 0 0 4px color-mix(in srgb, var(--chip, #2a9d8f) 22%, transparent);
}

.birles-sentence-word.is-focus .birles-sentence-word__text {
  color: #12293a;
  font-weight: 700;
}

/* Son okuma: di??erleri s?n?k, okunan kelime belirgin ??? kom??ular? kapatmaz */
.birles-sentence-board.is-reading-pass .birles-sentence-word:not(.is-speaking-now) {
  opacity: 0.42;
  filter: saturate(0.75);
  transform: scale(0.97);
}

.birles-sentence-word.is-speaking-now {
  z-index: 5;
  opacity: 1 !important;
  filter: none !important;
  transform: translateY(-3px) scale(1.06);
  border-color: #e85d04;
  border-width: 3px;
  background: linear-gradient(180deg, #fff8ef, #ffe8cc);
  box-shadow:
    0 12px 24px rgba(232, 93, 4, 0.28),
    0 0 0 4px rgba(232, 93, 4, 0.2);
  animation: birles-sentence-speak-pulse 0.9s ease-in-out infinite;
}

.birles-sentence-word.is-speaking-now .birles-sentence-word__text {
  color: #e85d04;
  font-weight: 700 !important;
  font-size: clamp(1.6rem, 4.9vw, 2.05rem);
}

.birles-sentence-word.is-read {
  border-color: color-mix(in srgb, #1f8a70 55%, rgba(22, 50, 79, 0.12));
  background: linear-gradient(180deg, #ffffff, #e9f8f2);
  box-shadow: 0 10px 22px rgba(31, 138, 112, 0.16);
}

.birles-sentence-word.is-read .birles-sentence-word__mark {
  display: block;
}

.birles-sentence-word.is-read .birles-sentence-word__text {
  color: #1a6b55;
  font-weight: 700 !important;
}

.birles-sentence-word.is-pop {
  animation: birles-sentence-word-pop 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes birles-sentence-speak-pulse {
  0%,
  100% {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
      0 12px 24px rgba(232, 93, 4, 0.26),
      0 0 0 4px rgba(232, 93, 4, 0.18);
  }
  50% {
    transform: translateY(-5px) scale(1.08);
    box-shadow:
      0 14px 28px rgba(232, 93, 4, 0.34),
      0 0 0 5px rgba(232, 93, 4, 0.26);
  }
}

.birles-sentence-dot {
  display: inline-flex;
  align-items: flex-end;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: #16324f;
  padding: 0 4px 10px;
}

.birles-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.birles-drop-zone__cap {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b8796;
}

.birles-play--cumle .birles-stage {
  min-height: 210px;
  margin: 4px 0 8px;
  padding: 18px 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 251, 248, 0.95)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(22, 50, 79, 0.015) 10px,
      rgba(22, 50, 79, 0.015) 11px
    );
  border: 2px dashed color-mix(in srgb, var(--chip, #2a9d8f) 35%, rgba(22, 50, 79, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.birles-play--cumle .birles-stage.is-quiet {
  min-height: 72px;
  opacity: 0.55;
  border-style: solid;
}

.birles-drop-zone--cumle {
  gap: 12px;
}

.birles-drop-zone--cumle .birles-drop-zone__cap {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: #16324f;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(22, 50, 79, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
}

.birles-play--cumle .birles-cards--cumle-hero .birles-card__face {
  font-size: clamp(2rem, 7vw, 2.6rem);
  min-width: 120px;
  padding: 18px 22px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(22, 50, 79, 0.16);
}

.birles-card__txt--cumle {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 5.5vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  display: inline;
  text-wrap: balance;
}

.birles-cumle-result-word {
  font-family: inherit;
  font-weight: 700;
  color: #0a4d3c;
  border-radius: 10px;
  padding: 0 0.14em;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

/* Okunan kelime: turuncu vurgu ??? kal?nl?k ayn? kals?n */
.birles-cumle-result-word.is-on {
  font-weight: 700 !important;
  color: #e85d04;
  background: rgba(255, 183, 77, 0.38);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.22);
}

/* Okunmu?? kelime: incelmesin, sadece hafif s?n?k kals?n */
.birles-cumle-result-word.is-done {
  font-weight: 700 !important;
  color: #1a6b55;
  background: transparent;
  box-shadow: none;
}

.birles-cumle-result-dot {
  font-weight: 700;
  color: #1a6b55;
}

.birles-card--cumle-result.is-merged .birles-card__face {
  min-width: min(92vw, 420px);
  padding: 16px 20px;
}

.birles-cards--drop-in {
  animation: birles-drop-in 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-cards--return-up {
  animation: birles-return-up 0.58s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.birles-play--cumle .birles-cards--return-up .birles-card {
  box-shadow: 0 14px 28px rgba(22, 50, 79, 0.16);
}

.birles-cards--split .birles-card {
  animation: birles-split-pop 0.4s ease both;
}

.birles-cards--split .birles-card:nth-child(3) {
  animation-delay: 0.08s;
}

.birles-cards--split .birles-card:nth-child(5) {
  animation-delay: 0.16s;
}

@keyframes birles-sentence-intro {
  0% {
    opacity: 0.55;
    transform: translateY(-8px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes birles-sentence-word-pop {
  0% {
    transform: scale(0.96);
  }
  45% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes birles-drop-in {
  0% {
    opacity: 0;
    transform: translateY(-96px) scale(0.68);
  }
  68% {
    opacity: 1;
    transform: translateY(8px) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes birles-return-up {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-110px) scale(0.72);
  }
}

@keyframes birles-split-pop {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.birles-play--cumle .birles-tray {
  display: none;
}

/* ?? Zirve Ma?aras? ? C?mle Treni (pool + cumle) ?? */
.birles-play--pool.birles-play--cumle .birles-pool__boot-title {
  color: #e8f4ff;
  text-shadow: 0 2px 12px rgba(40, 120, 200, 0.45);
}

.birles-play--pool.birles-play--cumle .birles-sentence-board {
  position: absolute;
  top: 3.2%;
  left: 4%;
  right: 4%;
  z-index: 6;
  margin: 0;
  padding: 12px 14px 14px;
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(18, 36, 72, 0.88) 0%, rgba(8, 18, 40, 0.92) 100%);
  border: 1.5px solid rgba(160, 210, 255, 0.35);
  box-shadow:
    0 10px 28px rgba(0, 8, 24, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  overflow: visible;
}

.birles-play--pool.birles-play--cumle .birles-sentence-board::before {
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, #7dd3fc, #38bdf8 50%, #fbbf24);
}

.birles-play--pool.birles-play--cumle .birles-sentence-board__kicker {
  color: #c7e7ff;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}

.birles-play--pool.birles-play--cumle .birles-sentence-board__step {
  background: linear-gradient(160deg, #38bdf8, #0284c7);
  color: #fff;
  box-shadow: 0 4px 12px rgba(14, 116, 144, 0.45);
}

.birles-play--pool.birles-play--cumle .birles-sentence-bar {
  padding-top: 12px;
  min-height: 56px;
  gap: 8px;
}

.birles-play--pool.birles-play--cumle .birles-sentence-word {
  position: relative;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(180, 220, 255, 0.28);
  box-shadow: 0 4px 14px rgba(0, 10, 30, 0.35);
  color: #f0f7ff;
}

.birles-play--pool.birles-play--cumle .birles-sentence-word__text {
  color: #fffef8;
  font-weight: 900;
  font-size: clamp(1.15rem, 4.2vmin, 1.55rem);
  letter-spacing: 0.02em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 0 10px rgba(125, 211, 252, 0.25);
}

.birles-play--pool.birles-play--cumle .birles-sentence-word.is-focus:not(.is-read),
.birles-play--pool.birles-play--cumle .birles-sentence-word.is-active-now:not(.is-read) {
  background: linear-gradient(165deg, rgba(253, 224, 71, 0.72) 0%, rgba(251, 191, 36, 0.78) 100%);
  border: 3px solid rgba(255, 250, 220, 0.98);
  transform: translateY(-5px) scale(1.16);
  box-shadow:
    0 0 0 5px rgba(251, 191, 36, 0.55),
    0 0 28px rgba(251, 191, 36, 0.65),
    0 14px 30px rgba(0, 20, 50, 0.55);
  animation: birlesSentenceFocusPulse 1.1s ease-in-out infinite;
  z-index: 6;
}

.birles-play--pool.birles-play--cumle .birles-sentence-word.is-focus:not(.is-read) .birles-sentence-word__text,
.birles-play--pool.birles-play--cumle .birles-sentence-word.is-active-now:not(.is-read) .birles-sentence-word__text {
  color: #1a1200;
  font-weight: 900;
  font-size: clamp(1.35rem, 4.8vmin, 1.85rem);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 14px rgba(255, 236, 150, 0.7);
}

.birles-play--pool.birles-play--cumle .birles-sentence-word.is-focus:not(.is-read)::before,
.birles-play--pool.birles-play--cumle .birles-sentence-word.is-active-now:not(.is-read)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.45), 0 0 12px rgba(251, 191, 36, 0.8);
  animation: birlesFocusDot 1s ease-in-out infinite;
  pointer-events: none;
  z-index: 7;
}

@keyframes birlesFocusDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.75;
  }
}

/* ??lem d??? kelimeler s?n?k ? hangisinde oldu?umuz net olsun */
.birles-play--pool.birles-play--cumle .birles-sentence-bar.is-teaching .birles-sentence-word:not(.is-focus):not(.is-active-now):not(.is-read) {
  opacity: 0.32;
  filter: saturate(0.45) brightness(0.78);
  transform: scale(0.94);
}

.birles-play--pool.birles-play--cumle .birles-sentence-bar.is-teaching .birles-sentence-word.is-read:not(.is-focus):not(.is-active-now) {
  opacity: 0.7;
  filter: none;
  transform: scale(0.97);
}

/* Kelime c?mlede kal?r ? kopyas? ayr?l?p iner */
.birles-play--pool.birles-play--cumle .birles-sentence-word.is-peeling {
  opacity: 1 !important;
  filter: none !important;
  animation: none !important;
  transform: scale(1.03) !important;
  z-index: 3;
  background: rgba(251, 191, 36, 0.3);
  border-color: rgba(252, 211, 77, 0.9);
  box-shadow:
    0 0 0 3px rgba(251, 191, 36, 0.38),
    0 8px 20px rgba(0, 20, 50, 0.38);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.birles-play--pool.birles-play--cumle .birles-sentence-word.is-peeling.is-peeling-active {
  box-shadow:
    0 0 0 4px rgba(125, 211, 252, 0.45),
    0 0 18px rgba(125, 211, 252, 0.35),
    inset 0 0 12px rgba(125, 211, 252, 0.12);
}

.birles-play--pool.birles-play--cumle .birles-sentence-word.is-peeling.is-peeling-active::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(186, 230, 253, 0.55);
  animation: birlesPeelRipple 0.75s ease-out both;
  pointer-events: none;
}

.birles-play--pool.birles-play--cumle .birles-sentence-board.is-word-peeling {
  overflow: visible;
}

@keyframes birlesPeelRipple {
  0% {
    opacity: 0.95;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes birlesSentenceFocusPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 3px rgba(251, 191, 36, 0.28),
      0 10px 22px rgba(0, 20, 50, 0.42);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 0 5px rgba(251, 191, 36, 0.42),
      0 12px 26px rgba(0, 20, 50, 0.48);
  }
}

/* U?an kelime kopyas? ? c?mleden ayr?l?p alta iner */
.birles-cumle-flyword {
  position: fixed;
  z-index: 13020;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 18px;
  border-radius: 14px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.35rem, 5.2vmin, 2.05rem);
  font-weight: 900;
  color: #f4f9ff;
  pointer-events: none;
  transform: translate(0, 0) scale(1);
  will-change: transform;
  overflow: visible;
  box-sizing: border-box;
}

.birles-cumle-flyword--from-bar {
  background: rgba(251, 191, 36, 0.32);
  border: 2.5px solid rgba(252, 211, 77, 0.92);
  box-shadow:
    0 8px 22px rgba(0, 20, 50, 0.42),
    0 0 0 3px rgba(251, 191, 36, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.birles-cumle-flyword.is-peel-fly {
  animation: birlesWordPeelAndFly 1.35s cubic-bezier(0.28, 1, 0.32, 1) forwards;
}

@keyframes birlesWordPeelAndFly {
  0% {
    transform: translate(0, 0) scale(1);
    background: rgba(251, 191, 36, 0.32);
    border-color: rgba(252, 211, 77, 0.92);
    box-shadow:
      0 8px 22px rgba(0, 20, 50, 0.42),
      0 0 0 3px rgba(251, 191, 36, 0.35);
  }
  14% {
    transform: translate(0, -20px) scale(1.16);
    background: rgba(251, 191, 36, 0.42);
    border-color: rgba(253, 224, 71, 0.98);
    box-shadow:
      0 18px 42px rgba(251, 191, 36, 0.45),
      0 0 0 5px rgba(252, 211, 77, 0.48),
      0 0 32px rgba(255, 220, 100, 0.35);
  }
  28% {
    transform: translate(calc(var(--fly-dx) * 0.08), calc(-20px + var(--fly-dy) * 0.12)) scale(1.14);
    background: rgba(125, 211, 252, 0.35);
    border-color: rgba(186, 230, 253, 0.88);
  }
  100% {
    transform: translate(var(--fly-dx), var(--fly-dy)) scale(var(--fly-scale));
    background: linear-gradient(165deg, #38bdf8 0%, #0284c7 52%, #0369a1 100%);
    border-color: rgba(224, 242, 254, 0.95);
    box-shadow:
      0 14px 36px rgba(0, 20, 50, 0.55),
      0 0 0 4px rgba(56, 189, 248, 0.38),
      0 0 32px rgba(125, 211, 252, 0.55);
  }
}

.birles-cumle-flyword__link {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 3px;
  height: var(--link-h, 60px);
  margin-bottom: 4px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(186, 230, 253, 0.05) 0%,
    rgba(125, 211, 252, 0.55) 55%,
    rgba(251, 191, 36, 0.65) 100%
  );
  border-radius: 999px;
  opacity: 0;
  animation: birlesFlyLink 1.35s ease-out both;
  pointer-events: none;
}

@keyframes birlesFlyLink {
  0%,
  12% {
    opacity: 0;
    height: 0;
  }
  25% {
    opacity: 0.85;
    height: var(--link-h, 60px);
  }
  70% {
    opacity: 0.45;
  }
  100% {
    opacity: 0;
    height: calc(var(--link-h, 60px) * 0.35);
  }
}

.birles-cumle-flyword__glow {
  position: absolute;
  inset: -10px -14px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 55%, rgba(255, 220, 100, 0.42), transparent 70%);
  opacity: 0;
  z-index: -1;
  animation: birlesFlyGlow 1.35s ease-out both;
}

@keyframes birlesFlyGlow {
  0%,
  10% {
    opacity: 0;
    transform: scale(0.85);
  }
  22% {
    opacity: 1;
    transform: scale(1.15);
  }
  100% {
    opacity: 0.2;
    transform: scale(1.05);
  }
}

.birles-cumle-flyword__txt {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 30, 60, 0.45);
}

.birles-play--pool.birles-play--cumle .birles-sentence-word.is-read {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(74, 222, 128, 0.55);
}

.birles-play--pool.birles-play--cumle .birles-sentence-word.is-speaking-now {
  background: rgba(251, 191, 36, 0.22);
  border-color: rgba(252, 211, 77, 0.75);
}

.birles-play--pool.birles-play--cumle .birles-sentence-dot {
  color: rgba(200, 230, 255, 0.85);
  font-weight: 900;
}

.birles-play--pool.birles-play--cumle .birles-stage {
  top: 26%;
  left: 5%;
  right: 5%;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 16px 14px 18px;
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(12, 28, 58, 0.78), rgba(6, 14, 32, 0.84));
  border: 1.5px solid rgba(140, 200, 255, 0.28);
  box-shadow:
    0 12px 28px rgba(0, 8, 24, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  pointer-events: auto;
  z-index: 4;
}

.birles-play--pool.birles-play--cumle .birles-stage.is-quiet {
  opacity: 0.92;
  min-height: 0;
}

/* Ortadaki hece paneli ? havuz kelime panosuna kar??mas?n */
.birles-play--pool.birles-play--cumle .birles-cumle-mid,
.birles-play--pool.birles-play--cumle .birles-hece-board {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

.birles-cumle-mid.is-syls-only {
  min-height: 0;
  gap: 10px;
  justify-content: center;
}

.birles-cumle-mid.is-syls-only .birles-cumle-mid__syls {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Ba?lang??ta heceler gizli ? yava??a gelsin / gitsin */
.birles-cumle-mid.is-syls-only:not(.is-syls-enter):not(.is-syls-exit):not(.is-merging):not(.is-merged) .birles-cumle-mid__syl,
.birles-cumle-mid.is-syls-only:not(.is-syls-enter):not(.is-syls-exit):not(.is-merging):not(.is-merged) .birles-cumle-mid__plus {
  opacity: 0;
  transform: translateY(10px) scale(0.92);
}

.birles-cumle-mid.is-syls-only .birles-cumle-mid__syl,
.birles-cumle-mid.is-syls-only .birles-cumle-mid__plus {
  will-change: opacity, transform;
}

.birles-cumle-mid.is-syls-enter .birles-cumle-mid__syl {
  animation: birlesSylFadeIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  animation-delay: calc(var(--si, 0) * 0.14s) !important;
}

.birles-cumle-mid.is-syls-enter .birles-cumle-mid__plus {
  animation: birlesPlusFadeIn 0.55s ease both !important;
  animation-delay: calc(0.06s + var(--si, 0) * 0.14s) !important;
}

.birles-cumle-mid.is-syls-exit .birles-cumle-mid__syl {
  animation: birlesSylFadeOut 0.58s ease both !important;
  animation-delay: calc(var(--si, 0) * 0.1s) !important;
}

.birles-cumle-mid.is-syls-exit .birles-cumle-mid__plus {
  animation: birlesPlusFadeOut 0.45s ease both !important;
  animation-delay: calc(var(--si, 0) * 0.1s) !important;
}

/* Ejder Yuvas?: Sihirli Havuz raf birle?mesi ? yava? kay ? kelime */
.birles-cumle-mid.is-merging .birles-cumle-mid__syls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.birles-play--pool.birles-play--cumle .birles-cumle-mid.is-merging .birles-cumle-mid__syl.birles-hece-seg.is-fuse,
.birles-play--cumle .birles-cumle-mid.is-merging .birles-cumle-mid__syl.birles-hece-seg.is-fuse,
.birles-cumle-mid.is-merging .birles-cumle-mid__syl.birles-hece-seg.is-fuse {
  z-index: calc(4 + var(--merge-i, 0));
  will-change: transform, opacity;
  animation: birlesCumleTrayJoin 1.05s ease forwards !important;
}

.birles-cumle-mid.is-merging .birles-cumle-mid__plus.is-fade {
  animation: birlesPlusFadeOut 0.45s ease forwards !important;
}

.birles-cumle-mid.is-merged .birles-cumle-mid__syls {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
}

.birles-cumle-mid__word-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.2rem;
  min-height: 4.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 1.1rem;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.85rem, 7vw, 2.65rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #ecfdf5;
  background:
    linear-gradient(165deg, rgba(34, 197, 94, 0.42) 0%, rgba(6, 78, 59, 0.88) 100%);
  border: 3px solid rgba(74, 222, 128, 0.72);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(74, 222, 128, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.birles-cumle-mid__word-chip.is-arrive {
  animation: birlesCumleWordArrive 0.75s cubic-bezier(0.2, 0.9, 0.2, 1.15) both;
}

.birles-cumle-mid__word-chip.is-speaking {
  border-color: rgba(134, 239, 172, 0.95);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(74, 222, 128, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: birlesSpeakBounce 0.45s ease infinite alternate;
}

.birles-cumle-mid.is-syls-exit .birles-cumle-mid__word-chip {
  animation: birlesSylFadeOut 0.58s ease both !important;
}

/* Havuz tray slide ile ayn? mant?k: yava??a merkeze kay + solukla? */
@keyframes birlesCumleTrayJoin {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--merge-dx, 0px), 0, 0) scale(0.84);
    opacity: 0.18;
  }
}

@keyframes birlesCumleWordArrive {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  60% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes birlesSylFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.88);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes birlesPlusFadeIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes birlesSylFadeOut {
  from {
    opacity: 1;
    transform: none;
    filter: none;
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.9);
    filter: blur(2px);
  }
}

@keyframes birlesPlusFadeOut {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: scale(0.6);
  }
}

.birles-cumle-mid--idle {
  opacity: 0.85;
  animation: none;
  padding: 8px 0;
  min-height: 0;
}

@keyframes birlesCumleMidIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.birles-cumle-mid__cap {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* Kelime: c?mleden iner ? hecelere ayr?l?r */
.birles-cumle-mid__word {
  margin: 0;
  padding: 12px 24px;
  border-radius: 16px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.85rem, 6.8vmin, 2.55rem);
  font-weight: 900;
  color: #f8fafc;
  background: linear-gradient(165deg, rgba(56, 189, 248, 0.42) 0%, rgba(14, 116, 144, 0.62) 100%);
  border: 2.5px solid rgba(186, 230, 253, 0.75);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  max-width: min(92vw, 440px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 2;
  will-change: transform, opacity;
  box-shadow:
    0 10px 28px rgba(0, 20, 50, 0.42),
    0 0 0 3px rgba(56, 189, 248, 0.22);
}

.birles-cumle-mid__word.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.birles-cumle-mid.is-arrived .birles-cumle-mid__word {
  animation: birlesWordLandPulse 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes birlesWordLandPulse {
  0% {
    opacity: 0.85;
    transform: scale(1.14);
    box-shadow:
      0 0 0 6px rgba(125, 211, 252, 0.45),
      0 14px 32px rgba(0, 20, 50, 0.48);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 10px 28px rgba(0, 20, 50, 0.42),
      0 0 0 3px rgba(56, 189, 248, 0.22);
  }
}

.birles-cumle-mid.is-splitting .birles-cumle-mid__word {
  animation: birlesWordToSyls 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes birlesWordToSyls {
  0% {
    opacity: 1;
    transform: scale(1);
    letter-spacing: 0;
  }
  35% {
    opacity: 1;
    transform: scale(1.08);
    letter-spacing: 0.12em;
    filter: brightness(1.15);
  }
  65% {
    opacity: 0.55;
    transform: scale(1.02);
    letter-spacing: 0.28em;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.82);
    letter-spacing: 0.35em;
  }
}

.birles-cumle-mid.is-landed .birles-cumle-mid__word {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.4em) scale(0.9);
}

.birles-cumle-mid__syls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.35rem;
  width: 100%;
  padding: 8px 6px 6px;
  min-height: 3.4em;
  opacity: 0;
  transform: scale(0.88);
  pointer-events: none;
  filter: saturate(0.65);
}

.birles-cumle-mid.is-awaiting .birles-cumle-mid__syls,
.birles-cumle-mid.is-flying .birles-cumle-mid__syls,
.birles-cumle-mid.is-arrived .birles-cumle-mid__syls {
  opacity: 0;
  transform: scale(0.88);
}

.birles-cumle-mid.is-splitting .birles-cumle-mid__syls {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}

.birles-cumle-mid.is-landed .birles-cumle-mid__syls {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}

.birles-cumle-mid.is-splitting .birles-cumle-mid__syl {
  animation: birlesSylReveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.32s + var(--si, 0) * 0.18s);
}

.birles-cumle-mid.is-splitting .birles-cumle-mid__plus {
  animation: birlesPlusReveal 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.28s + var(--si, 0) * 0.18s);
}

@keyframes birlesSylReveal {
  from {
    opacity: 0;
    transform: scale(0.42) translateY(22px);
    filter: blur(4px);
  }
  55% {
    opacity: 1;
    transform: scale(1.12) translateY(-4px);
    filter: blur(0);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes birlesPlusReveal {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.birles-cumle-mid__dot {
  font-size: clamp(1.55rem, 5.4vmin, 2.1rem);
  font-weight: 900;
  color: rgba(186, 230, 253, 0.75);
  line-height: 1;
  user-select: none;
}

.birles-cumle-mid__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15em;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.35rem, 4.8vmin, 1.85rem);
  font-weight: 900;
  color: rgba(251, 191, 36, 0.92);
  line-height: 1;
  user-select: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  opacity: 0;
}

.birles-cumle-mid.is-landed .birles-cumle-mid__plus,
.birles-cumle-mid.is-splitting .birles-cumle-mid__plus {
  opacity: 1;
}

.birles-cumle-mid__syl.birles-hece-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.85em;
  min-height: 2.75em;
  padding: 0.18em 0.35em;
  margin: 0;
  border-radius: 18px;
  font-size: clamp(2.6rem, 10vmin, 3.7rem);
  font-weight: 900;
  line-height: 1;
  color: #0f172a;
  background: linear-gradient(165deg, #ffffff 0%, #e0f2fe 100%);
  border: 3px solid rgba(56, 189, 248, 0.62);
  box-shadow:
    0 10px 22px rgba(0, 20, 50, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  text-shadow: none !important;
  position: relative;
  opacity: 0;
}
.birles-cumle-mid__syl.birles-hece-seg:not(.is-fuse) {
  transform: none !important;
}
.birles-cumle-mid:not(.is-syls-enter):not(.is-syls-exit):not(.is-merging)
  .birles-cumle-mid__syl.birles-hece-seg:not(.is-fuse) {
  animation: none !important;
}

.birles-cumle-mid.is-landed .birles-cumle-mid__syl,
.birles-cumle-mid.is-splitting .birles-cumle-mid__syl {
  opacity: 1;
}

.birles-play--pool.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-on,
.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-on {
  color: #0f172a !important;
  background: linear-gradient(165deg, #fffbeb 0%, #fde68a 100%) !important;
  border-color: #16a34a !important;
  font-weight: 900 !important;
  transform: none !important;
  scale: none !important;
  box-shadow:
    0 8px 18px rgba(0, 20, 50, 0.35),
    0 0 0 3px rgba(22, 163, 74, 0.28) !important;
  text-shadow: none !important;
  padding: 0.28em 0.55em !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-on::after,
.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-on::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 18% !important;
  right: 18% !important;
  bottom: 0.28em !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: #16a34a !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-done,
.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-done {
  color: #14532d !important;
  background: linear-gradient(165deg, #ecfdf5 0%, #bbf7d0 100%) !important;
  border-color: #22c55e !important;
  padding: 0.28em 0.55em !important;
}
.birles-play--pool.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-done:not(.is-fuse),
.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-done:not(.is-fuse) {
  transform: none !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-done::after,
.birles-play--cumle .birles-cumle-mid__syl.birles-hece-seg.is-done::after {
  content: none !important;
  display: none !important;
}

.birles-cumle-mid.is-word-done .birles-cumle-mid__word {
  opacity: 0;
  visibility: hidden;
  border-color: rgba(74, 222, 128, 0.7);
  background: rgba(22, 101, 52, 0.45);
}

.birles-cumle-mid.is-word-done .birles-cumle-mid__syls {
  opacity: 1;
  filter: none;
  transform: none;
}

.birles-play--pool.birles-play--cumle .birles-drop-zone__cap {
  color: #dbeafe;
  background: rgba(15, 40, 80, 0.7);
  border-color: rgba(125, 211, 252, 0.3);
}

.birles-play--pool.birles-play--cumle .birles-cards--cumle-hero .birles-card__face,
.birles-play--pool.birles-play--cumle .birles-card--cumle-result .birles-card__face,
.birles-play--pool.birles-play--cumle .birles-card--cumle-solo .birles-card__face {
  background: linear-gradient(165deg, #1e3a5f 0%, #0f1c33 100%);
  border-color: rgba(125, 211, 252, 0.45);
  color: #f0f7ff;
  box-shadow: 0 14px 32px rgba(0, 10, 30, 0.5);
}

.birles-play--pool.birles-play--cumle .birles-card__txt--cumle,
.birles-play--pool.birles-play--cumle .birles-cumle-result-word {
  color: #e8f4ff;
}

.birles-play--pool.birles-play--cumle .birles-cumle-result-word.is-on {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.18);
}

.birles-play--pool.birles-play--cumle .birles-cumle-result-word.is-done {
  color: #86efac;
  background: transparent;
}

.birles-play--pool.is-boom-playing .birles-hece-seg,
.birles-play--pool.is-boom-playing .birles-sentence-word__text,
.birles-play--pool.is-boom-playing .birles-cumle-result-word {
  font-size: clamp(1.7rem, 6.4vmin, 2.4rem) !important;
  font-weight: 900 !important;
}

.birles-play--pool.birles-play--cumle .birles-pool__burst {
  color: #f0f9ff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 0 24px rgba(56, 189, 248, 0.55);
}

/* ?st c?mle panosu ? daha okunakl? kelime kutular? */
.birles-play--pool.birles-play--cumle .birles-sentence-board {
  top: 2.4%;
  padding: 14px 16px 16px;
}

.birles-play--pool.birles-play--cumle .birles-sentence-word {
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 16px;
}

.birles-play--pool.birles-play--cumle .birles-sentence-word__text {
  font-size: clamp(1.35rem, 4.6vmin, 1.85rem);
  letter-spacing: 0.02em;
}

.birles-play--pool.birles-play--cumle .birles-sentence-board.is-complete {
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow:
    0 10px 28px rgba(0, 8, 24, 0.55),
    0 0 0 2px rgba(34, 197, 94, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.birles-play--pool.birles-play--cumle .birles-sentence-board.is-complete .birles-sentence-word {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.45);
}

.birles-play--pool.birles-play--cumle .birles-sentence-board.is-complete .birles-sentence-board__step {
  background: linear-gradient(160deg, #4ade80, #16a34a);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.45);
}

.birles-play--pool.birles-play--cumle .birles-drop-zone__cap {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 8px 16px;
}

.birles-play--pool.birles-play--cumle .birles-cards--cumle-hero .birles-card__face {
  font-size: clamp(1.85rem, 6.5vmin, 2.45rem);
  min-width: 132px;
  padding: 20px 24px;
}

/* Tamam kutusu + ye?il tik */
.birles-cumle-done {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(92%, 440px);
  margin: 0 auto;
  opacity: 1;
  /* both kullanma ? telefonda opacity:0?da kalabiliyor */
  animation: birlesCumleDoneIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: auto;
}

.birles-cumle-done--read {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@keyframes birlesCumleDoneIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.birles-cumle-done__burst {
  position: absolute;
  left: 50%;
  top: 44px;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(74, 222, 128, 0.45) 0%, rgba(74, 222, 128, 0) 68%),
    radial-gradient(circle at 22% 30%, rgba(253, 224, 71, 0.7) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 18% 72%, rgba(134, 239, 172, 0.9) 0 5px, transparent 6px),
    radial-gradient(circle at 82% 70%, rgba(253, 224, 71, 0.85) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 88%, rgba(74, 222, 128, 0.9) 0 4px, transparent 5px);
  animation: birlesCumleSpark 0.9s ease-out both;
}

@keyframes birlesCumleSpark {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.birles-cumle-done__tick {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #4ade80 0%, #16a34a 55%, #15803d 100%);
  box-shadow:
    0 12px 32px rgba(22, 163, 74, 0.6),
    0 0 0 6px rgba(74, 222, 128, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
  animation: birlesCumleTickPop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-cumle-done__ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid rgba(134, 239, 172, 0.85);
  animation: birlesCumleRing 0.85s 0.12s ease-out both;
  pointer-events: none;
}

@keyframes birlesCumleRing {
  0% {
    opacity: 0.95;
    transform: scale(0.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

.birles-cumle-done__tick.is-static {
  width: 56px;
  height: 56px;
  animation: none;
}

.birles-cumle-done__tick svg {
  display: block;
  overflow: visible;
}

.birles-cumle-done__tick circle {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2.5;
}

.birles-cumle-done__tick path {
  stroke: #fff;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: birlesCumleTickDraw 0.55s 0.18s ease forwards;
}

.birles-cumle-done__tick.is-static path {
  stroke-dashoffset: 0;
  animation: none;
}

@keyframes birlesCumleTickPop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  60% {
    transform: scale(1.12);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes birlesCumleTickDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.birles-cumle-done__label {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.05rem, 3.8vmin, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #dcfce7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.birles-cumle-done__box {
  width: 100%;
  padding: 18px 16px 20px;
  border-radius: 22px;
  text-align: center;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 253, 245, 0.98) 100%);
  border: 3px solid #22c55e;
  box-shadow:
    0 14px 36px rgba(0, 20, 40, 0.45),
    0 0 0 4px rgba(34, 197, 94, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  box-sizing: border-box;
  overflow: visible;
}

.birles-cumle-done__text {
  display: block;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(2.1rem, 8.5vmin, 3.1rem);
  font-weight: 900;
  line-height: 1.2;
  color: #0f3d2e;
  letter-spacing: 0.01em;
  white-space: nowrap;
  max-width: 100%;
  overflow: visible;
}

.birles-cumle-done__word {
  display: inline-block;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(2.25rem, 9.5vmin, 3.35rem);
  font-weight: 900;
  line-height: 1.15;
  color: #134e3a;
  padding: 0.14em 0.2em;
  margin: 0.06em 0.04em;
  border-radius: 12px;
  max-width: none;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.birles-cumle-done__word.is-on {
  color: #9a3412;
  background: rgba(253, 186, 116, 0.55);
  transform: translateY(-2px) scale(1.06);
}

.birles-cumle-done__word.is-done {
  color: #15803d;
  background: transparent;
}

.birles-cumle-done__dot {
  font-weight: 900;
  color: #0f3d2e;
  font-size: clamp(1.45rem, 5.4vmin, 2rem);
}

.birles-cumle-done--read .birles-cumle-done__box {
  border-color: #38bdf8;
  box-shadow:
    0 14px 36px rgba(0, 20, 40, 0.45),
    0 0 0 4px rgba(56, 189, 248, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.98) 100%);
}

.birles-fusion-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(27, 58, 75, 0.1);
  cursor: pointer;
  text-align: left;
  color: #1b3a4b;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.birles-fusion-card--hece {
  padding: 10px;
  border-radius: 16px;
  gap: 7px;
}

.birles-fusion-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(27, 58, 75, 0.14);
}

.birles-fusion-card:active {
  transform: scale(0.97);
}

.birles-fusion-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #ffe8c8, #d8fff3);
}

.birles-fusion-card--hece .birles-fusion-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

/* Kelime vitrini: foto olsun/olmas?n ayn? kare + ayn? alt yaz? blo??u */
.birles-fusion-card--showcase {
  height: 100%;
  padding: 10px;
  gap: 10px;
  border-radius: 22px;
  box-shadow:
    0 10px 24px rgba(27, 58, 75, 0.1),
    inset 0 0 0 1px rgba(27, 58, 75, 0.04);
}

.birles-fusion-card--showcase .birles-fusion-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.75), transparent 45%),
    linear-gradient(155deg, #fff1d6 0%, #d8f7ee 55%, #dff0ff 100%);
}

.birles-fusion-card--showcase .birles-fusion-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 3.1rem;
}

.birles-fusion-card--showcase .birles-fusion-card__badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  padding: 4px 9px;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  box-shadow: 0 4px 12px rgba(27, 58, 75, 0.16);
}

.birles-fusion-card__placeholder {
  position: absolute;
  inset: 0;
  display: block;
}

.birles-fusion-card__art {
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.02);
  transition: transform 0.25s ease;
}

.birles-fusion-card--showcase:hover .birles-fusion-card__art {
  transform: scale(1.06);
}

/* G?rselsiz hece/c?mle: kompakt etiket ??eridi */
.birles-fusion-card--badge-only .birles-fusion-card__media {
  aspect-ratio: auto;
  min-height: 40px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #e8f7f2, #fff4e4);
}

.birles-fusion-card--cumle.birles-fusion-card--badge-only .birles-fusion-card__media {
  min-height: 36px;
  padding: 8px 12px;
}

.birles-fusion-card--badge-only .birles-fusion-card__badge {
  position: static;
}

.birles-fusion-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.birles-fusion-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d3b4a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(27, 58, 75, 0.12);
}

.birles-fusion-card--word .birles-fusion-card__badge {
  color: #0f5c4c;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 4px 12px rgba(27, 58, 75, 0.14),
    inset 0 0 0 2px #2a9d8f;
}

.birles-fusion-card--cumle .birles-fusion-card__badge {
  color: #1b3a4b;
  background: #fff;
  box-shadow: inset 0 0 0 2px #3d7ea6;
}

.birles-fusion-card--hece .birles-fusion-card__badge {
  color: #5a3d12;
  box-shadow: inset 0 0 0 2px #e9a84a;
}

.birles-fusion-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.birles-fusion-card__result {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
}

.birles-fusion-card--hece .birles-fusion-card__result {
  font-size: 1.05rem;
}

.birles-miss {
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ffe0d6;
  color: #c1121f;
}

.birles-fusion-card__label {
  font-size: 0.72rem;
  color: #5f7584;
  line-height: 1.3;
  font-weight: 600;
}

.birles-play__narration {
  display: none !important;
}

.birles-yaz__tip,
.birles-yaz__status {
  display: none !important;
}

.birles-reveal__msg,
.birles-piramit-done,
.birles-metin-done,
.birles-hece-board__kicker {
  display: none !important;
}

/* ?????? Kelime heceleme panosu: ?stte kelime, altta heceler ?????? */
.birles-hece-board {
  margin: 0 0 16px;
  padding: 18px 16px 20px;
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 209, 102, 0.22), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f3faf8 100%);
  border: 2px solid rgba(22, 50, 79, 0.1);
  box-shadow:
    0 16px 36px rgba(22, 50, 79, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.birles-hece-board--spotlight {
  animation: birles-hece-board-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-hece-board__kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--chip, #2a9d8f) 75%, #5a7385);
}

.birles-hece-board__full {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.12em;
  margin: 0 auto 14px;
  padding: 10px 6px 14px;
  min-height: 3.6rem;
}

.birles-hece-seg {
  display: inline-block;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(2.85rem, 11vw, 4.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #1a3344;
  padding: 0.06em 0.1em;
  border-radius: 12px;
  overflow: visible;
  transform-origin: center center;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 0.2s ease,
    box-shadow 0.2s ease;
}

.birles-hece-seg.is-on {
  color: #082a38;
  background: transparent;
  transform: scale(1.22);
  box-shadow: none;
  text-shadow:
    0 0 10px rgba(255, 220, 120, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.35);
  z-index: 3;
  position: relative;
  padding: 0.14em 0.18em;
  font-weight: 900;
  animation: none;
}

.birles-hece-seg.is-done {
  /* Konu?ma bitti ? yerinde kal?r, hafif ye?il */
  color: #0a4d3c;
  background: #e6f7f0;
  transform: none;
  padding: 0.14em 0.18em;
  box-shadow: none;
  position: relative;
  animation: none;
}

.birles-hece-seg.is-done::after {
  content: "";
  position: absolute;
  left: 0.16em;
  right: 0.16em;
  bottom: 0.08em;
  height: 4px;
  border-radius: 999px;
  background: #1a9b75;
  opacity: 0.95;
  pointer-events: none;
}

.birles-hece-board.is-complete .birles-hece-seg {
  color: #0d3b4a;
  background: transparent;
  transform: none;
  box-shadow: none;
  padding: 0.14em 0.16em;
  position: relative;
  animation: none;
}

.birles-hece-board.is-complete .birles-hece-seg::after {
  content: "";
  position: absolute;
  left: 0.12em;
  right: 0.12em;
  bottom: 0.06em;
  height: 5px;
  border-radius: 999px;
  background: #178a68;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

@media (max-width: 640px) {
  .birles-hece-seg.is-done::after,
  .birles-hece-board.is-complete .birles-hece-seg::after {
    height: 6px;
    bottom: 0.05em;
  }
}

@keyframes birles-hece-board-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes birles-hece-board-out {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
}

.birles-play--kelime .birles-hece-board {
  margin-bottom: 18px;
}

.birles-play__narration[hidden] {
  display: none !important;
}

.birles-audio-hint {
  margin: 0 0 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c1121f;
  background: #ffe8e2;
  border-radius: 12px;
  padding: 8px 10px;
}

.birles-stage {
  min-height: 170px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  transition: opacity 0.35s ease, min-height 0.35s ease;
}

/* ?? Havuz birle?tirme ? tam ekran (yeni katman) ?? */
.birles-overlay.is-pool-play {
  padding: 0 !important;
  margin: 0 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  background: #041018 !important;
  align-items: stretch;
  justify-content: stretch;
  z-index: 13050;
}

.birles-overlay.is-pool-play .birles-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  background: #041018;
  box-shadow: none;
  /* fixed geri/X ?stte kesilmesin */
  overflow: visible;
}

.birles-overlay.is-pool-play .birles-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  /* Status bar / notch alt?nda kalmas?n ? safe-area yoksa da minimum bo?luk */
  padding-top: max(36px, calc(env(safe-area-inset-top, 0px) + 14px));
  padding-right: max(12px, calc(env(safe-area-inset-right, 0px) + 8px));
  padding-bottom: 8px;
  padding-left: max(12px, calc(env(safe-area-inset-left, 0px) + 8px));
  background: linear-gradient(180deg, rgba(4, 16, 24, 0.78) 0%, transparent 100%);
  box-sizing: border-box;
}

.birles-overlay.is-pool-play .birles-top-text {
  display: none !important;
}

.birles-overlay.is-pool-play .birles-top #birles-back {
  order: 1;
  margin-right: auto;
}

.birles-overlay.is-pool-play .birles-top #birles-close,
.birles-overlay.is-pool-play .birles-top .birles-close {
  order: 3;
  margin-left: auto;
}

.birles-overlay.is-pool-play .birles-top #birles-title,
.birles-overlay.is-pool-play .birles-top .birles-sub,
.birles-overlay.is-pool-play .birles-top .birles-eyebrow {
  color: #eaf7ff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.birles-overlay.is-pool-play .birles-icon-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 0;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
}

.birles-overlay.is-pool-play .birles-body {
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: block;
  min-height: 0;
  height: 100%;
  width: 100%;
}

/* Masa?st?: hub gibi telefon ?er?evesi ? 9:16 contain, bozulmaz */
@media (min-width: 901px) {
  .birles-overlay.is-pool-play {
    padding: max(10px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px)) !important;
    align-items: stretch !important;
    justify-content: center !important;
    background:
      radial-gradient(ellipse 70% 50% at 50% 20%, rgba(56, 189, 248, 0.12), transparent 60%),
      #041018 !important;
  }

  .birles-overlay.is-pool-play .birles-shell {
    position: relative;
    inset: auto;
    width: min(820px, 100%, calc(100dvh * 9 / 16));
    max-width: min(820px, calc(100dvh * 9 / 16));
    height: 100%;
    max-height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #041018;
    box-shadow:
      0 24px 60px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .birles-overlay.is-pool-play .birles-top {
    position: absolute;
    left: 0;
    right: 0;
  }

  .birles-overlay.is-pool-play .birles-body {
    position: absolute;
    inset: 0;
  }

  .birles-pool__stagebox {
    width: min(100%, calc(100% * 9 / 16 * 16 / 9)) !important;
    /* JS boyutlar; CSS fallback contain */
    max-width: 100%;
    max-height: 100%;
  }

  .birles-play-gate__target {
    max-width: min(88%, 420px);
    font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  }

  .birles-play--cumle .birles-play-gate__target {
    font-size: clamp(1.25rem, 3.4vw, 1.85rem);
  }
}

.birles-play--pool {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  background: #041018;
  overflow: hidden;
}

.birles-pool {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.birles-pool__stagebox {
  /* JS yoksa bile COVER ? 100vw?177.78vw letterbox yap?yordu */
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 100vw, 100dvw, calc(100vh * 9 / 16), calc(100dvh * 9 / 16));
  height: max(100%, 100vh, 100dvh, calc(100vw * 16 / 9), calc(100dvw * 16 / 9));
  min-width: 0;
  min-height: 0;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #041018;
  z-index: 0;
  pointer-events: none;
}

/* Opacity katmanda (div) ? telefonda <video> opacity ge?i?i g?venilir de?il */
.birles-pool__layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.birles-pool__layer--boom {
  z-index: 2;
}

.birles-pool__layer.is-on {
  opacity: 1;
}

.birles-pool__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 1;
  pointer-events: none;
  /* Katman opacity y?netir; video?da transition yok */
  transition: none;
}

.birles-pool__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 42%,
    rgba(12, 48, 72, 0.55) 0%,
    rgba(4, 16, 24, 0.92) 70%,
    #041018 100%
  );
  will-change: opacity;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Patlama an? ? flash kapal? (sadece video opakl???) */
.birles-pool__flash {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
}

.birles-pool__flash.is-on {
  display: none !important;
  animation: none !important;
}

.birles-pool__flash[hidden] {
  display: none !important;
}

@keyframes birlesPoolFlash {
  0%,
  100% {
    opacity: 0;
  }
}

.birles-pool__ui {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.birles-play--pool .birles-hece-board {
  position: absolute;
  top: 2.8%;
  left: 0;
  right: 0;
  z-index: 3;
  width: fit-content;
  max-width: min(92%, 340px);
  margin: 0 auto;
  padding: 0.38em 0.85em 0.42em;
  transform: none;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255, 253, 246, 0.88) 0%, rgba(255, 243, 214, 0.9) 45%, rgba(234, 246, 255, 0.86) 100%);
  border: 3px solid rgba(255, 210, 120, 0.98);
  box-shadow:
    0 0 0 3px rgba(30, 70, 110, 0.28),
    0 10px 26px rgba(0, 12, 28, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(180, 140, 60, 0.18);
  backdrop-filter: blur(6px);
  pointer-events: auto;
  text-align: center;
}

.birles-play--pool .birles-hece-board--spotlight {
  animation: birlesPoolWordIn 0.28s ease both;
}

@keyframes birlesPoolWordIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.birles-play--pool .birles-hece-board__full {
  margin: 0;
  padding: 0;
  min-height: 0;
  gap: 0;
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.birles-play--pool .birles-hece-seg {
  font-size: clamp(2.7rem, 11vmin, 3.85rem);
  line-height: 1.05;
  padding: 0.04em 0.08em;
  color: #0d2234;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.birles-play--pool .birles-hece-seg.is-on {
  padding: 0.08em 0.12em;
  background: transparent;
  transform: scale(1.24);
  box-shadow: none;
  animation: none;
  font-weight: 900;
}

.birles-play--pool .birles-hece-seg.is-done,
.birles-play--pool .birles-hece-board.is-complete .birles-hece-seg {
  padding: 0.08em 0.1em;
  transform: none;
}

/*
 * Kelime: okurken yaln?zca AKT?F hecede ye?il ?izgi.
 * Bitince (is-complete) t?m hecelerde ye?il ?izgi kals?n.
 * Mint/mavi arka plan yok.
 */
.birles-play--kelime .birles-hece-seg.is-on,
.birles-play--kelime .birles-hece-seg.is-done,
.birles-play--kelime .birles-hece-board.is-complete .birles-hece-seg,
.birles-play--pool.birles-play--kelime .birles-hece-seg.is-on,
.birles-play--pool.birles-play--kelime .birles-hece-seg.is-done,
.birles-play--pool.birles-play--kelime .birles-hece-board.is-complete .birles-hece-seg {
  color: #122a3c !important;
  background: transparent !important;
  transform: none !important;
  scale: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  animation: none !important;
  font-weight: 700 !important;
  padding: 0.08em 0.1em !important;
  position: relative !important;
  z-index: 2;
}

.birles-play--kelime .birles-hece-board:not(.is-complete) .birles-hece-seg.is-done::after,
.birles-play--pool.birles-play--kelime .birles-hece-board:not(.is-complete) .birles-hece-seg.is-done::after {
  content: none !important;
  display: none !important;
}

.birles-play--kelime .birles-hece-seg.is-on::after,
.birles-play--kelime .birles-hece-board.is-complete .birles-hece-seg::after,
.birles-play--pool.birles-play--kelime .birles-hece-seg.is-on::after,
.birles-play--pool.birles-play--kelime .birles-hece-board.is-complete .birles-hece-seg::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0.1em !important;
  right: 0.1em !important;
  bottom: 0.04em !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #16a34a !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}

@media (max-width: 640px) {
  .birles-play--kelime .birles-hece-seg.is-on::after,
  .birles-play--kelime .birles-hece-board.is-complete .birles-hece-seg::after,
  .birles-play--pool.birles-play--kelime .birles-hece-seg.is-on::after,
  .birles-play--pool.birles-play--kelime .birles-hece-board.is-complete .birles-hece-seg::after {
    height: 5px !important;
  }
}

.birles-play--pool .birles-stage {
  position: absolute;
  top: 26%;
  left: 0;
  right: 0;
  min-height: 0;
  height: 22%;
  margin: 0;
  display: grid;
  place-items: center;
  pointer-events: auto;
  z-index: 4;
}

.birles-play--pool .birles-tray {
  position: absolute;
  top: 48%;
  left: 6%;
  right: 6%;
  margin: 0;
  max-width: none;
  z-index: 4;
  pointer-events: auto;
}

.birles-play--pool .birles-tray__label {
  color: rgba(220, 245, 255, 0.75);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.birles-play--pool .birles-reveal {
  position: absolute;
  left: 0;
  right: 0;
  /* B?y?k patlama yaz?s?n?n alt?nda ? ?ak??mas?n */
  top: calc(28% + 7.4rem);
  z-index: 5;
  width: min(62%, 280px);
  max-width: min(62%, 280px);
  margin: 0 auto;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.birles-play--pool .birles-reveal.is-pop {
  animation: none !important;
}

.birles-play--pool .birles-reveal.is-pop .birles-reveal__frame {
  animation: birlesPoolRevealPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes birlesPoolRevealPop {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  70% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.birles-play--pool .birles-reveal__frame {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, #fffaf0 0%, #ffe6b0 40%, #efc06a 78%, #d9a84a 100%);
  border: 2.5px solid rgba(255, 248, 220, 0.98);
  box-shadow:
    0 0 0 3px rgba(90, 50, 10, 0.3),
    0 12px 28px rgba(0, 16, 32, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.birles-play--pool .birles-reveal__frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 1;
}

.birles-play--pool .birles-reveal__img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.birles-pool__burst {
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  z-index: 6;
  margin: 0 auto;
  min-width: 0;
  width: fit-content;
  max-width: 88%;
  padding: 0.28em 0.7em 0.34em;
  opacity: 0;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(3.1rem, 15vmin, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.02;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.45);
  background: linear-gradient(
    165deg,
    rgba(12, 36, 64, 0.55) 0%,
    rgba(6, 22, 42, 0.62) 100%
  );
  border: 3px solid rgba(240, 252, 255, 0.95);
  border-radius: 22px;
  box-shadow: none;
  pointer-events: none;
  will-change: opacity;
  transform: none;
}

.birles-play--pool .birles-pool__burst.is-boom-in,
.birles-play--pool.is-boom-playing .birles-pool__burst.is-boom-in {
  font-size: clamp(3.1rem, 15vmin, 5.2rem);
}

.birles-play--pool.birles-play--cumle .birles-pool__burst,
.birles-play--pool.birles-play--cumle .birles-pool__burst.is-boom-in {
  font-size: clamp(2.4rem, 11vmin, 4.4rem);
  max-width: min(96vw, 640px);
  padding: 0.38em 0.85em 0.44em;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.birles-pool__burst.is-rise,
.birles-pool__burst.is-boom-in {
  animation: birlesPoolBurstFade 0.55s ease forwards;
}

@keyframes birlesPoolBurstBoom {
  0%,
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes birlesPoolBurstFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.birles-play--pool .birles-card.is-dim .birles-card__face {
  opacity: 0.88;
  transform: scale(0.98);
  filter: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, rgba(220, 240, 255, 0.86) 100%);
}

.birles-pool__boot {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: rgba(4, 16, 24, 0.72);
  backdrop-filter: blur(8px);
  text-align: center;
  pointer-events: auto;
}

.birles-pool__boot[hidden] {
  display: none !important;
}

.birles-play--pool.is-booting .birles-pool__ui {
  visibility: hidden;
}

.birles-pool__boot-orb {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, #9be7ff 28%, #2a8fc4 70%, #0a3a55 100%);
  box-shadow: 0 0 36px rgba(100, 210, 255, 0.7);
  animation: birlesPoolBootPulse 1.5s ease-in-out infinite;
}

.birles-pool__boot-title {
  margin: 0;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(1.5rem, 5.8vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eaf7ff;
}

.birles-pool__boot-text {
  margin: 0;
  font-size: clamp(1.15rem, 4.2vw, 1.4rem);
  font-weight: 700;
  color: rgba(210, 235, 250, 0.9);
}

.birles-pool__boot-bar {
  width: min(300px, 78vw);
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.birles-pool__boot-bar > i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ec8f0, #b8f0ff, #5ec8f0);
  animation: birlesPoolBootBar 1.1s ease-in-out infinite;
}

@keyframes birlesPoolBootPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes birlesPoolBootBar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}

.birles-play--pool .birles-stage.is-finale-fade,
.birles-play--pool .birles-tray.is-finale-fade {
  opacity: 0;
  transform: translate3d(0, -10px, 0) scale(0.94);
  pointer-events: none;
  transition:
    opacity 0.48s ease-out,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.birles-play--pool .birles-stage.is-finale,
.birles-play--pool .birles-tray.is-finale {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* C?mle: ?st panel + tamam kutusu birlikte yumu?ak?a kaybolsun (yerini koru ? z?plama yok) */
.birles-play--pool.birles-play--cumle .birles-stage.is-cumle-done-out,
.birles-play--pool.birles-play--cumle .birles-sentence-board.is-cumle-done-out,
.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-stage.is-cumle-done-out,
.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-board.is-cumle-done-out {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translate3d(0, 8px, 0) scale(0.97);
  transition:
    opacity 2s ease,
    transform 2s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: opacity, transform;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-stage:not(.is-cumle-done-out) {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Patlamadan sonra ?st c?mle paneli tamamen kapal? kals?n (yer de tutmas?n) */
.birles-play--pool.birles-play--cumle .birles-sentence-board.is-after-boom,
.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-board.is-after-boom {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .birles-play--pool.birles-play--cumle .birles-stage.is-cumle-done-out,
  .birles-play--pool.birles-play--cumle .birles-sentence-board.is-cumle-done-out,
  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-stage.is-cumle-done-out,
  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-board.is-cumle-done-out {
    transition-duration: 0.2s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-play--pool .birles-stage.is-finale-fade,
  .birles-play--pool .birles-tray.is-finale-fade {
    transition-duration: 0.12s;
    transform: none;
  }
  .birles-pool__flash.is-on {
    animation-duration: 0.25s;
  }
  .birles-pool__burst.is-rise,
  .birles-pool__burst.is-boom-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.birles-play--pool .birles-card__face {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.72) 0%, rgba(210, 240, 255, 0.68) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 10px 28px rgba(0, 40, 70, 0.35),
    0 0 18px rgba(100, 200, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #0d2a3a;
  backdrop-filter: blur(3px);
}

.birles-play--pool .birles-plus {
  color: #dff6ff;
  text-shadow: 0 0 12px rgba(120, 220, 255, 0.8);
}

.birles-play--pool .birles-card.is-merged .birles-card__face,
.birles-play--pool .birles-card--result .birles-card__face,
.birles-play--pool .birles-card--final .birles-card__face {
  background: linear-gradient(160deg, #9be7ff 0%, #4eb8e8 55%, #2a7fad 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 28px rgba(100, 210, 255, 0.7),
    0 12px 28px rgba(0, 40, 70, 0.4);
}

.birles-play--pool .birles-tray-chip {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(180, 230, 255, 0.55);
  box-shadow: 0 6px 16px rgba(0, 30, 50, 0.3);
}

.birles-play--pool .birles-play-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  flex: none;
  margin: 0;
  pointer-events: auto;
}

/* ?? Tam ekran alt katman (Havuz / birle?tir) ?? */
.birles-fs-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.birles-fs-dock__bar {
  pointer-events: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px max(16px, calc(10px + env(safe-area-inset-bottom, 0px)));
  background:
    linear-gradient(180deg, rgba(3, 14, 22, 0.55) 0%, rgba(3, 14, 22, 0.92) 38%, #041018 100%);
  border-top: 1px solid rgba(160, 220, 255, 0.22);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.birles-fs-dock__prog {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #eaf7ff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(200, 235, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.birles-fs-dock__actions {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.birles-fs-dock__actions--solo {
  justify-content: center;
  width: 100%;
}

.birles-fs-dock__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  min-width: 42px;
  padding: 0 14px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  color: #12364a;
  background: #f3f9ff;
  box-shadow:
    0 3px 0 #8eacbf,
    0 6px 14px rgba(0, 0, 0, 0.28);
  opacity: 1;
  -webkit-tap-highlight-color: transparent;
}

.birles-fs-dock__btn:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 #8eacbf,
    0 3px 8px rgba(0, 0, 0, 0.22);
}

.birles-fs-dock__btn--replay {
  width: 42px;
  padding: 0;
  font-size: 1.2rem;
  background: #f3f9ff;
  color: #12364a;
  box-shadow:
    0 3px 0 #8eacbf,
    0 6px 14px rgba(0, 0, 0, 0.28);
}

.birles-fs-dock__btn--replay:active {
  box-shadow:
    0 1px 0 #8eacbf,
    0 3px 8px rgba(0, 0, 0, 0.22);
}

.birles-fs-dock__btn--soft {
  background: #f3f9ff;
  color: #12364a;
}

.birles-fs-dock__btn--go {
  min-width: 78px;
  color: #fff;
  background: linear-gradient(135deg, #2ec4a0, #1b8f78);
  box-shadow:
    0 3px 0 #146b5a,
    0 6px 14px rgba(30, 180, 150, 0.35);
}

.birles-fs-dock__btn--go:active {
  box-shadow:
    0 1px 0 #146b5a,
    0 3px 8px rgba(30, 180, 150, 0.28);
}

.birles-fs-dock__btn--go.is-locked,
.birles-fs-dock__btn--go:disabled {
  color: #fff;
  background: linear-gradient(135deg, #7d9590, #5f7470);
  box-shadow:
    0 3px 0 #4a5c58,
    0 4px 10px rgba(0, 0, 0, 0.22);
  cursor: not-allowed;
  opacity: 1;
}

@media (max-width: 380px) {
  .birles-fs-dock__bar { gap: 8px; padding-left: 8px; padding-right: 8px; }
  .birles-fs-dock__actions { gap: 6px; }
  .birles-fs-dock__btn { padding: 0 11px; font-size: 0.78rem; }
  .birles-fs-dock__btn--go { min-width: 68px; }
}

.birles-stage.is-quiet {
  min-height: 48px;
  opacity: 0.35;
}

.birles-tray {
  min-height: 0;
  margin: 4px auto 14px;
  max-width: 560px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.birles-tray.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.birles-tray__label {
  display: none !important;
}

/* Alt hece kutusu ba?l??? ? okunakl?, hece oldu?u belli */
.birles-tray__cap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 10px;
  pointer-events: none;
}

.birles-tray__cap-txt {
  flex: 0 0 auto;
  font-family: "Baloo 2", "Comfortaa", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.92rem, 3.4vw, 1.12rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.42em 0.95em;
  border-radius: 999px;
  color: #0b3d32;
  background: linear-gradient(180deg, #fff8db 0%, #fde68a 100%);
  border: 2px solid rgba(180, 130, 40, 0.55);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.birles-tray__cap-mark {
  flex: 1 1 auto;
  max-width: 72px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(253, 230, 138, 0.85), transparent);
  opacity: 0.9;
}

.birles-tray__cap--hece .birles-tray__cap-txt {
  color: #064e3b;
  background: linear-gradient(180deg, #ecfdf5 0%, #a7f3d0 100%);
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow:
    0 6px 16px rgba(6, 95, 70, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.birles-tray__cap--hece .birles-tray__cap-mark {
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.9), transparent);
}

.birles-play--pool .birles-tray__cap-txt {
  text-shadow: none;
}

.birles-drop-zone__cap,
.birles-cumle-mid__cap,
.birles-hece-board__kicker,
.birles-sentence-board__kicker {
  display: none !important;
}

.birles-tray__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 16px;
  border-radius: 24px;
  background: #f2fbf7;
  background-image: linear-gradient(180deg, #f7fdfb 0%, #e8f8f1 100%);
  /* Telefonda inset g?lge yerine ger?ek ?er?eve */
  border: 4px solid #148a68 !important;
  outline: 2px solid rgba(20, 138, 104, 0.35);
  outline-offset: 1px;
  box-shadow: 0 12px 28px rgba(26, 155, 117, 0.18);
  min-height: 92px;
  box-sizing: border-box;
}

.birles-tray__row--final {
  background: #e8f8f1;
  background-image: linear-gradient(180deg, #f2fcf7 0%, #e0f6ec 100%);
  border: 4px solid #0f7a5c !important;
  outline: 2px solid rgba(15, 122, 92, 0.4);
  outline-offset: 1px;
  box-shadow: 0 12px 28px rgba(26, 155, 117, 0.2);
}

.birles-tray__plus {
  font-size: 1.5rem;
  font-weight: 800;
  color: #148a68;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.birles-tray__plus.is-fade,
.birles-tray.is-merging .birles-tray__plus {
  opacity: 0;
  transform: scale(0.4);
}

.birles-tray-chip {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 4px solid #0f7a5c !important;
  outline: 2px solid rgba(15, 122, 92, 0.35);
  outline-offset: 0;
  cursor: pointer;
  min-width: 70px;
  min-height: 64px;
  padding: 4px 8px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif !important;
  font-size: clamp(2.45rem, 10vw, 3.5rem);
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #0a4d3c !important;
  background: #d4f3e6 !important;
  box-shadow: 0 8px 16px rgba(26, 155, 117, 0.22);
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.birles-tray-chip__txt,
.birles-tray-chip > span {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif !important;
  font-weight: 700 !important;
  font-size: inherit;
  line-height: 1.1;
  color: inherit;
  letter-spacing: inherit;
}

.birles-tray-chip.is-dim {
  opacity: 0.38;
  filter: grayscale(0.2);
  transform: scale(0.92);
}

.birles-tray-chip.is-speaking,
.birles-tray-chip.is-waiting {
  transform: scale(1.08);
  border-color: #0f7a5c !important;
  outline-color: rgba(15, 122, 92, 0.45);
  box-shadow: 0 12px 24px rgba(26, 155, 117, 0.28);
  background: #c8eedc !important;
  color: #0a4d3c !important;
  animation: birlesSpeakBounce 0.45s ease infinite alternate;
}

.birles-tray-chip.is-arrive {
  animation: birlesTrayArrive 0.75s cubic-bezier(0.2, 0.9, 0.2, 1.2) both;
}

.birles-tray.is-merging .birles-tray-chip.is-join:first-of-type {
  animation: birlesTraySlideRight 1s ease forwards;
}
.birles-tray.is-merging .birles-tray-chip.is-join:last-of-type {
  animation: birlesTraySlideLeft 1s ease forwards;
}

.birles-tray-chip--word {
  min-width: 132px;
  min-height: 78px;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif !important;
  font-size: clamp(2.7rem, 11vw, 3.9rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #1a3344 !important;
  background: #e6f7f0 !important;
  border: 4px solid #0f7a5c !important;
  outline: 2px solid rgba(15, 122, 92, 0.4);
  outline-offset: 0;
  box-shadow: 0 10px 22px rgba(26, 155, 117, 0.28);
}

.birles-tray-chip--word .birles-tray-chip__txt,
.birles-tray-chip--word > span {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif !important;
  font-weight: 700 !important;
  font-size: inherit !important;
  color: inherit !important;
}

.birles-tray-chip--word.is-speaking,
.birles-tray-chip--word.is-waiting {
  /* Kelime haz?r: okunurken de ye??il ?er?eve korunsun */
  color: #0a4d3c !important;
  background: #c8eedc !important;
  border-color: #0a5c45 !important;
  outline-color: rgba(10, 92, 69, 0.45);
  box-shadow: 0 12px 26px rgba(26, 155, 117, 0.32);
  animation: birlesMergedGlow 0.55s ease infinite alternate;
}

@media (max-width: 640px) {
  .birles-tray__row,
  .birles-tray__row--final {
    border-width: 4px !important;
    border-color: #0f7a5c !important;
    border-style: solid !important;
    padding: 14px 12px;
    outline-width: 2px;
    box-shadow: 0 10px 22px rgba(26, 155, 117, 0.2);
  }

  .birles-tray-chip {
    -webkit-appearance: none !important;
    appearance: none !important;
    border-width: 4px !important;
    border-color: #0f7a5c !important;
    border-style: solid !important;
    min-width: 76px;
    min-height: 70px;
    font-size: clamp(2.5rem, 11vw, 3.4rem) !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(26, 155, 117, 0.24);
  }

  .birles-tray-chip--word {
    border-width: 4px !important;
    border-color: #0a5c45 !important;
    min-width: min(88vw, 240px);
    min-height: 88px;
    font-size: clamp(2rem, 8vw, 2.85rem) !important;
    font-weight: 700 !important;
  }
}

.birles-card.is-fly-down {
  animation: birlesFlyDown 0.8s cubic-bezier(0.4, 0.05, 0.2, 1) forwards;
  z-index: 5;
}

@keyframes birlesFlyDown {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  70% {
    transform: translateY(64px) scale(0.82);
    opacity: 0.75;
  }
  100% {
    transform: translateY(108px) scale(0.45);
    opacity: 0;
  }
}

@keyframes birlesTrayArrive {
  0% {
    transform: translateY(-30px) scale(0.45);
    opacity: 0;
  }
  70% {
    transform: translateY(3px) scale(1.08);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes birlesTraySlideRight {
  to {
    transform: translateX(36px) scale(0.82);
    opacity: 0.2;
  }
}
@keyframes birlesTraySlideLeft {
  to {
    transform: translateX(-36px) scale(0.82);
    opacity: 0.2;
  }
}

.birles-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.birles-plus {
  font-size: 1.8rem;
  font-weight: 800;
  color: #7a93a3;
}

.birles-card {
  position: relative;
  min-width: 88px;
  min-height: 104px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  color: #1b3a4b;
  background: transparent;
  animation: birlesCardIn 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
}

.birles-card__face {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 88px;
  min-height: 104px;
  padding: 6px 10px;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 14px 28px rgba(27, 58, 75, 0.14),
    inset 0 0 0 3px color-mix(in srgb, var(--chip, #06d6a0) 55%, white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.birles-card__txt {
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(2.7rem, 11vw, 3.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
}

.birles-card__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  pointer-events: none;
  opacity: 0;
}

/* Okunan ses vurgusu */
.birles-card.is-speaking .birles-card__face {
  transform: scale(1.14);
  background: linear-gradient(160deg, #ffd166, #ff7a59);
  color: #fff;
  box-shadow:
    0 0 0 6px rgba(255, 122, 89, 0.35),
    0 18px 36px rgba(255, 122, 89, 0.45);
  animation: birlesSpeakBounce 0.45s ease infinite alternate;
}

.birles-card.is-speaking .birles-card__pulse {
  opacity: 1;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.55), transparent 70%);
  animation: birlesSpeakGlow 0.7s ease-out infinite;
}

.birles-card.is-dim .birles-card__face {
  opacity: 0.78;
  transform: scale(0.97);
  filter: none;
}

.birles-card.is-joining .birles-card__face {
  background: linear-gradient(160deg, #4cc9f0, #06d6a0);
  color: #fff;
}

.birles-card.is-merged .birles-card__face,
.birles-card--result .birles-card__face,
.birles-card--final .birles-card__face {
  min-width: 128px;
  /* Yumu??ak ye??il ??? telefonda inset g?lge yerine ger?ek border */
  background: #e6f7f0;
  color: #0a4d3c;
  border: 4px solid #0f7a5c !important;
  outline: 2px solid rgba(15, 122, 92, 0.35);
  box-shadow: 0 14px 28px rgba(26, 155, 117, 0.22);
  animation: birlesMergedPop 0.65s cubic-bezier(0.2, 0.9, 0.2, 1.35) both;
}

.birles-card.is-merged .birles-card__txt,
.birles-card--result .birles-card__txt,
.birles-card--final .birles-card__txt {
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(2.85rem, 12vw, 4.2rem) !important;
  color: #1a3344 !important;
}

.birles-card.is-merged.is-speaking .birles-card__face {
  background: #d4f0e4;
  color: #0a4d3c;
  border-color: #0a5c45 !important;
  box-shadow: 0 18px 36px rgba(26, 155, 117, 0.28);
  animation: birlesMergedGlow 0.55s ease infinite alternate;
}

/* C?mle: tek heceli kelime de ye??il vurgulans?n (turuncu speak yok) */
.birles-play--cumle .birles-card.is-speaking .birles-card__face,
.birles-play--cumle .birles-card--cumle-solo.is-speaking .birles-card__face {
  transform: scale(1.08);
  background: #c8eedc !important;
  color: #0a4d3c !important;
  border: 4px solid #0f7a5c !important;
  outline: 2px solid rgba(15, 122, 92, 0.4);
  box-shadow: 0 14px 28px rgba(26, 155, 117, 0.28) !important;
  animation: birlesMergedGlow 0.55s ease infinite alternate;
}

.birles-play--cumle .birles-card.is-speaking .birles-card__txt,
.birles-play--cumle .birles-card--cumle-solo.is-speaking .birles-card__txt {
  color: #1a3344 !important;
}

.birles-play--cumle .birles-card.is-speaking .birles-card__pulse {
  background: radial-gradient(circle, rgba(26, 155, 117, 0.35), transparent 70%);
}

@keyframes birlesSpeakBounce {
  from {
    transform: scale(1.1) rotate(-2deg);
  }
  to {
    transform: scale(1.18) rotate(2deg);
  }
}

@keyframes birlesSpeakGlow {
  from {
    transform: scale(0.9);
    opacity: 0.85;
  }
  to {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes birlesMergedPop {
  0% {
    transform: scale(0.55);
    opacity: 0.2;
  }
  70% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes birlesMergedGlow {
  from {
    filter: brightness(1);
    transform: scale(1.08);
  }
  to {
    filter: brightness(1.12);
    transform: scale(1.16);
  }
}

@keyframes birlesCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.86);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.birles-cards.is-merge .birles-card:first-child {
  animation: birlesSlideRight 0.75s ease forwards;
}
.birles-cards.is-merge .birles-card:last-child {
  animation: birlesSlideLeft 0.75s ease forwards;
}
.birles-cards.is-merge .birles-plus {
  animation: birlesFadeOut 0.35s ease forwards;
}

@keyframes birlesSlideRight {
  to {
    transform: translateX(34px) scale(0.88);
    opacity: 0.3;
  }
}
@keyframes birlesSlideLeft {
  to {
    transform: translateX(-34px) scale(0.88);
    opacity: 0.3;
  }
}
@keyframes birlesFadeOut {
  to {
    opacity: 0;
    transform: scale(0.5);
  }
}

.birles-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 8px 0 14px;
  text-align: center;
}

.birles-reveal[hidden] {
  display: none !important;
}

.birles-reveal.is-pop {
  animation: birlesMergedPop 0.6s ease both;
}

.birles-reveal img,
.birles-reveal__img {
  width: min(220px, 58vw);
  height: min(220px, 58vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  background: linear-gradient(160deg, #ffe8c8, #d8fff3 50%, #d7f3ff);
  box-shadow: 0 16px 34px rgba(27, 58, 75, 0.18);
}

/* 9:16 nas?l yap?l?r videosu */
.birles-howto {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: 16px;
}
.birles-howto__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 36, 0.72);
}
.birles-howto__sheet {
  position: relative;
  z-index: 1;
  width: min(360px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fffdf8, #eef9ff);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}
.birles-howto__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 14px;
  background: rgba(27, 58, 75, 0.1);
  color: #1b3a4b;
  font-size: 1rem;
  cursor: pointer;
}
.birles-howto__title {
  margin: 0 40px 0 4px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1b3a4b;
}
.birles-howto__frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: inset 0 0 0 2px rgba(27, 58, 75, 0.08);
}
.birles-howto__media {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
}

/* ?? Kristal Ma?aras? ? viewport?u kaplayan 9:16 (cover) ?? */
.birles-kristal {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  min-height: 100%;
  min-height: -webkit-fill-available;
  max-width: none !important;
  max-height: none !important;
  z-index: 14000 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 0;
  margin: 0;
  background: #05030c;
  overflow: hidden;
  box-sizing: border-box;
}

#birlestirelim-overlay[data-kristal-under="1"] {
  visibility: hidden !important;
  pointer-events: none !important;
}

.birles-kristal__backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #05030c;
  z-index: 0;
}

/* Y?kleme kap?s? ? video+foto haz?r olana kadar */
.birles-kristal__boot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(280px, 78vw);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: auto;
}

.birles-kristal.is-ready .birles-kristal__boot {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
  pointer-events: none;
}

.birles-kristal__boot-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
}

.birles-kristal__boot-crystal {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
}

.birles-kristal__boot-facet {
  position: absolute;
  inset: 12px;
  background: linear-gradient(145deg, #9ee7ff 0%, #4eb8e8 42%, #2a6f9e 100%);
  clip-path: polygon(50% 0%, 92% 28%, 78% 92%, 22% 92%, 8% 28%);
  box-shadow: 0 0 24px rgba(90, 190, 255, 0.45);
  animation: birlesKristalSpin 2.4s ease-in-out infinite;
}

.birles-kristal__boot-facet--2 {
  inset: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(160, 230, 255, 0.2));
  opacity: 0.85;
  animation-delay: -0.6s;
}

.birles-kristal__boot-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 210, 255, 0.35) 0%, transparent 68%);
  animation: birlesKristalPulse 1.6s ease-in-out infinite;
}

.birles-kristal__boot-title {
  margin: 0;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  font-weight: 800;
  color: #eaf7ff;
  letter-spacing: 0.03em;
}

.birles-kristal__boot-text {
  margin: 0;
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  font-weight: 700;
  color: rgba(210, 230, 245, 0.88);
}

.birles-kristal__boot-bar {
  width: 100%;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.birles-kristal__boot-bar > i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ec8f0, #b8f0ff, #5ec8f0);
  background-size: 200% 100%;
  animation: birlesKristalBar 1.15s ease-in-out infinite;
}

@keyframes birlesKristalSpin {
  0%,
  100% {
    transform: rotate(-6deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.06);
  }
}

@keyframes birlesKristalPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes birlesKristalBar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}

/* 9:16 sahne ? COVER (JS + CSS); asla 100vw?177.78vw letterbox yok */
.birles-kristal__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: max(100%, 100vw, 100dvw, calc(100vh * 9 / 16), calc(100dvh * 9 / 16));
  height: max(100%, 100vh, 100dvh, calc(100vw * 16 / 9), calc(100dvw * 16 / 9));
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.97);
  filter: blur(8px);
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}

.birles-kristal.is-ready .birles-kristal__stage {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
  pointer-events: none;
}

.birles-kristal.is-ready .birles-kristal__frame {
  pointer-events: auto;
}

/* Masaustu: koyu letterbox; sahne boyutu JS contain ile gelir */
@media (min-width: 901px) {
  .birles-kristal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(ellipse 60% 50% at 50% 30%, rgba(124, 58, 237, 0.18), transparent 65%),
      #05030c;
  }

  .birles-kristal__backdrop {
    position: absolute;
  }
}
}

.birles-kristal__close {
  position: fixed;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.birles-kristal.is-ready .birles-kristal__close {
  opacity: 1;
  pointer-events: auto;
}

/* Sol ?st: 3 kristal hak */
.birles-kristal__lives {
  position: fixed;
  top: max(10px, env(safe-area-inset-top, 0px));
  left: max(10px, env(safe-area-inset-left, 0px));
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  background:
    linear-gradient(165deg, rgba(18, 28, 52, 0.82) 0%, rgba(8, 14, 28, 0.88) 100%);
  border: 1.5px solid rgba(140, 210, 255, 0.45);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateY(-6px) scale(0.92);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-kristal.is-ready .birles-kristal__lives {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.birles-kristal__life {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(22px, 5.5vmin, 28px);
  height: clamp(22px, 5.5vmin, 28px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
}

.birles-kristal__life-star {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 7px rgba(80, 180, 255, 0.7));
}

.birles-kristal__life.is-lost {
  opacity: 0.28;
  transform: scale(0.82);
  filter: grayscale(1) brightness(0.7);
}

.birles-kristal__life.is-lost .birles-kristal__life-star {
  filter: none;
}

.birles-kristal__lives.is-hit {
  animation: birlesKristalLivesHit 0.48s ease;
}

.birles-kristal__life.is-pop {
  animation: birlesKristalLifePop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes birlesKristalLivesHit {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(2px);
  }
}

@keyframes birlesKristalLifePop {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  35% {
    transform: scale(1.35) rotate(-8deg);
    opacity: 1;
    filter: brightness(1.4);
  }
  100% {
    transform: scale(0.82);
    opacity: 0.28;
    filter: grayscale(1) brightness(0.7);
  }
}

.birles-kristal.is-lives-out .birles-kristal__lives {
  border-color: rgba(255, 120, 120, 0.7);
  box-shadow:
    0 0 0 2px rgba(255, 90, 90, 0.35),
    0 4px 18px rgba(180, 40, 40, 0.35);
  animation: birlesKristalLivesHit 0.5s ease;
}

.birles-kristal.is-lives-out .birles-kristal__stage {
  filter: saturate(0.7) brightness(0.85);
  transition: filter 0.45s ease;
}

.birles-kristal__ask {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 0px));
  left: max(108px, calc(env(safe-area-inset-left, 0px) + 96px));
  right: 52px;
  z-index: 4;
  margin: 0;
  padding: 0.35em 0.7em;
  border-radius: 14px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1rem, 3.1vmin, 1.3rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  color: #f4fbff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 12px rgba(80, 160, 255, 0.45);
  background: rgba(8, 16, 36, 0.28);
  border: 1px solid rgba(180, 210, 255, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.birles-kristal__ask[hidden],
.birles-kristal.is-genel .birles-kristal__ask {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.birles-kristal.is-ready .birles-kristal__ask:not([hidden]) {
  opacity: 1;
}

.birles-kristal__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0614;
  border-radius: 0;
}

.birles-kristal__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  opacity: 0.42;
  will-change: opacity;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.birles-kristal.is-vid-restore .birles-kristal__video {
  /* JS animate eder; s?n?f sadece durum i?areti */
}

.birles-kristal__slots {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ?er?eve cam alanlar? ? 720?1280 karedan ?l??lm?? % (2?3) */
.birles-kristal__slot {
  position: absolute;
  width: 18.6%;
  /* alt hizas? korunur; ?st bo?lu?u kapatmak i?in biraz yukar? + daha y?ksek */
  height: 14.7%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease;
}

.birles-kristal__slot--0 { left: 18.9%; top: 14.2%; }
.birles-kristal__slot--1 { left: 63.2%; top: 14.2%; }
.birles-kristal__slot--2 { left: 18.9%; top: 40.7%; }
.birles-kristal__slot--3 { left: 63.2%; top: 40.7%; }
.birles-kristal__slot--4 { left: 18.9%; top: 67.4%; }
.birles-kristal__slot--5 { left: 63.2%; top: 67.4%; }

/* ?er?eve alt?: isim plaketi + (genel) konum se?imleri */
.birles-kristal__under {
  position: absolute;
  z-index: 3;
  /* Slot merkezine hizal?; c?mle tek sat?r ? 440px s?n?r? k?r?yordu */
  width: max-content;
  min-width: 0;
  max-width: min(96vw, 720px);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateX(-50%) translateY(8px) scale(0.9);
  transform-origin: top center;
  pointer-events: none;
  overflow: visible;
  transition:
    opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-kristal__under.is-blank {
  display: none;
}

/* Slot merkezleri (18.9% + 18.6%/2 ? 28.2%; 63.2% + 9.3% ? 72.5%) */
.birles-kristal__under--0 { left: 28.2%; top: calc(14.2% + 14.7% + 0.15%); }
.birles-kristal__under--1 { left: 72.5%; top: calc(14.2% + 14.7% + 0.15%); }
.birles-kristal__under--2 { left: 28.2%; top: calc(40.7% + 14.7% + 0.15%); }
.birles-kristal__under--3 { left: 72.5%; top: calc(40.7% + 14.7% + 0.15%); }
.birles-kristal__under--4 { left: 28.2%; top: calc(67.4% + 14.7% + 0.15%); }
.birles-kristal__under--5 { left: 72.5%; top: calc(67.4% + 14.7% + 0.15%); }

/* ?er?eve alt? cisim ad? ? ?er?eveye ba?l? plaket */
.birles-kristal__name {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.birles-kristal__name.is-blank {
  display: none;
}

.birles-kristal__name-peg {
  display: block;
  width: 12px;
  height: 7px;
  margin-bottom: -1px;
  background: linear-gradient(180deg, #c4a6e8 0%, #6b4a9a 55%, #3d2a5c 100%);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 6px rgba(180, 140, 255, 0.45);
}

.birles-kristal__name-plate {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  width: max-content;
  max-width: none;
  min-width: 0;
  padding: 0.36em 0.65em 0.4em;
  box-sizing: border-box;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  /* T?m kelimelerde ayn? b?y?k punto ? ?er?eve kelimeye g?re b?y?r */
  font-size: clamp(1.05rem, 3.4vmin, 1.35rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.06em;
  white-space: nowrap !important;
  word-break: keep-all;
  overflow-wrap: normal;
  overflow: visible;
  /* Admin?deki b?y?k/k???k harf aynen korunur */
  text-transform: none;
  color: #fff8ff;
  background:
    linear-gradient(165deg, rgba(48, 28, 72, 0.48) 0%, rgba(18, 10, 34, 0.52) 100%);
  border: 1.5px solid rgba(200, 170, 255, 0.65);
  border-radius: 9px;
  box-shadow:
    0 0 0 1px rgba(60, 30, 100, 0.4),
    0 5px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(180, 140, 255, 0.45);
}

/* Do?ru hedef de?il: gri ?er?eve + soluk yaz? */
.birles-kristal__under.is-dim-name .birles-kristal__name-peg {
  background: linear-gradient(180deg, #a8a8b4 0%, #6e6e7a 55%, #45454f 100%);
  box-shadow: none;
  opacity: 0.7;
}

.birles-kristal__under.is-dim-name .birles-kristal__name-plate {
  color: rgba(210, 210, 220, 0.62);
  border-color: rgba(150, 150, 162, 0.55);
  background:
    linear-gradient(165deg, rgba(52, 52, 62, 0.55) 0%, rgba(28, 28, 36, 0.62) 100%);
  box-shadow:
    0 0 0 1px rgba(90, 90, 100, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  filter: saturate(0.25) brightness(0.88);
}

.birles-kristal__under.is-dim-name .birles-kristal__gem,
.birles-kristal__under.is-dim-name .birles-kristal__gem-wrap {
  opacity: 0.4;
  filter: grayscale(0.75) brightness(0.85);
  animation: none !important;
  -webkit-text-fill-color: rgba(190, 190, 200, 0.7);
  text-decoration-color: rgba(160, 160, 170, 0.45);
}

.birles-kristal.is-genel-spark .birles-kristal__under.is-dim-name .birles-kristal__name--genel .birles-kristal__name-plate,
.birles-kristal__under.is-dim-name .birles-kristal__name.is-speaking .birles-kristal__name-plate {
  color: rgba(210, 210, 220, 0.62);
  border-color: rgba(150, 150, 162, 0.55);
  background:
    linear-gradient(165deg, rgba(52, 52, 62, 0.55) 0%, rgba(28, 28, 36, 0.62) 100%);
  box-shadow:
    0 0 0 1px rgba(90, 90, 100, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.35);
  filter: saturate(0.25) brightness(0.88);
  animation: none !important;
}

.birles-kristal__under.is-dim-name:has(.birles-kristal__name.is-speaking) {
  filter: none !important;
  transform: translateX(-50%) translateY(0) scale(1) !important;
}

.birles-kristal.is-names-on .birles-kristal__under:not(.is-blank),
.birles-kristal.is-genel .birles-kristal__under:not(.is-blank) {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  transform-origin: top center;
}

.birles-kristal.is-genel .birles-kristal__under:not(.is-blank) {
  pointer-events: auto;
  transition-duration: 0.28s;
}

.birles-kristal.is-names-on .birles-kristal__under--0 { transition-delay: 0.05s; }
.birles-kristal.is-names-on .birles-kristal__under--1 { transition-delay: 0.12s; }
.birles-kristal.is-names-on .birles-kristal__under--2 { transition-delay: 0.19s; }
.birles-kristal.is-names-on .birles-kristal__under--3 { transition-delay: 0.26s; }
.birles-kristal.is-names-on .birles-kristal__under--4 { transition-delay: 0.33s; }
.birles-kristal.is-names-on .birles-kristal__under--5 { transition-delay: 0.4s; }

.birles-kristal.is-genel .birles-kristal__under--0,
.birles-kristal.is-genel .birles-kristal__under--1,
.birles-kristal.is-genel .birles-kristal__under--2,
.birles-kristal.is-genel .birles-kristal__under--3,
.birles-kristal.is-genel .birles-kristal__under--4,
.birles-kristal.is-genel .birles-kristal__under--5 {
  transition-delay: 0s;
}

@keyframes birlesKristalHeartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  18% {
    transform: scale(1.03);
  }
  36% {
    transform: scale(1);
  }
  54% {
    transform: scale(1.045);
  }
  78% {
    transform: scale(1);
  }
}

/* MP3 ?alarken: hafif b?y? + alt?n vurgu; kom?u isimleri kapatma */
.birles-kristal__under:has(.birles-kristal__name.is-speaking) {
  z-index: 8 !important;
  opacity: 1 !important;
  width: max-content;
  max-width: min(96vw, 720px);
  transform: translateX(-50%) translateY(4px) scale(1.06) !important;
  transform-origin: top center !important;
  transition:
    opacity 0.22s ease,
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1) !important;
  filter: drop-shadow(0 4px 10px rgba(255, 190, 60, 0.45));
}

.birles-kristal__name.is-speaking {
  z-index: 8 !important;
  opacity: 1 !important;
}

.birles-kristal__name-plate {
  position: relative;
}

.birles-kristal__name.is-speaking .birles-kristal__name-plate {
  width: max-content;
  min-width: 0;
  max-width: none;
  white-space: nowrap !important;
  flex-wrap: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  /* Konu?urken de ayn? b?y?k punto ? sadece vurgu */
  font-size: clamp(1.05rem, 3.4vmin, 1.35rem);
  letter-spacing: 0.06em;
  padding: 0.4em 0.72em 0.44em;
  border-color: rgba(255, 224, 140, 0.98);
  background:
    linear-gradient(165deg, rgba(88, 48, 130, 0.99) 0%, rgba(32, 14, 58, 0.99) 100%);
  box-shadow:
    0 0 0 3px rgba(255, 214, 120, 0.55),
    0 0 24px rgba(255, 200, 80, 0.45),
    0 8px 22px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  animation: birlesKristalHeartbeat 1.85s ease-in-out infinite;
  transform-origin: center center;
}

/* Plaka oku: glow yoksa kelimeyi i?aretler */
.birles-kristal__cue--plate {
  bottom: calc(100% + 4px);
}

/*
 * Vurgu: hafif alt?n ton + ince alt ?izgi.
 * Geni? kutu/scale yok ? yan?ndaki sesler kapanmaz.
 */
.birles-kristal__plain {
  color: #f4f7ff;
  -webkit-text-fill-color: #f4f7ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.birles-kristal__gem-wrap {
  display: inline;
  position: relative;
  vertical-align: baseline;
  margin: 0 0.12em;
  padding: 0;
  line-height: inherit;
}

.birles-kristal__cue {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%) translateY(6px) scale(0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd56a;
  filter:
    drop-shadow(0 0 6px rgba(255, 210, 100, 0.95))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

.birles-kristal__cue svg {
  display: block;
  width: clamp(16px, 4.2vmin, 22px);
  height: auto;
}

.birles-kristal__name.is-cue .birles-kristal__cue {
  animation: birlesKristalCueIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    birlesKristalCueOut 0.45s ease 1.05s forwards;
}

@keyframes birlesKristalCueIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.55);
  }
  60% {
    opacity: 1;
    transform: translateX(-50%) translateY(2px) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes birlesKristalCueOut {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(8px) scale(0.85);
  }
}

.birles-kristal__gem {
  display: inline;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 0.02em;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-weight: 900;
  line-height: inherit;
  letter-spacing: inherit;
  vertical-align: baseline;
  white-space: nowrap;
  color: #ffe7a0;
  -webkit-text-fill-color: #ffe7a0;
  text-shadow:
    0 0 8px rgba(255, 210, 100, 0.55),
    0 1px 2px rgba(0, 0, 0, 0.75);
  text-decoration: underline;
  text-decoration-color: rgba(255, 214, 120, 0.95);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
  -webkit-text-decoration-skip: none;
  transform: none;
  filter: none;
  animation: none;
}

.birles-kristal__gem::before,
.birles-kristal__gem::after {
  content: none;
  display: none;
}

.birles-kristal__name.is-speaking .birles-kristal__gem {
  margin: 0;
  padding: 0 0.02em;
  color: #fff3c4;
  -webkit-text-fill-color: #fff3c4;
  background: none;
  border: none;
  box-shadow: none;
  text-shadow:
    0 0 10px rgba(255, 220, 120, 0.7),
    0 1px 2px rgba(0, 0, 0, 0.8);
  text-decoration: underline;
  text-decoration-color: #ffe08a;
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.15em;
  text-decoration-skip-ink: none;
  transform: none;
  filter: none;
  animation: none;
}

.birles-kristal__name.is-speaking .birles-kristal__gem::before,
.birles-kristal__name.is-speaking .birles-kristal__gem::after {
  content: none;
  display: none;
}

.birles-kristal__slot:not(.is-empty):active {
  transform: scale(0.97);
}

.birles-kristal__slot.is-empty {
  cursor: default;
  pointer-events: none;
}

.birles-kristal__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.birles-kristal__badge {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 2;
  min-width: 26px;
  height: 26px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.birles-kristal__slot.is-right .birles-kristal__badge,
.birles-kristal__slot.is-wrong .birles-kristal__badge {
  opacity: 1;
  transform: scale(1);
}

.birles-kristal__slot.is-right .birles-kristal__badge {
  background: linear-gradient(160deg, #5adf8a, #2f9e57);
  box-shadow: 0 4px 12px rgba(47, 158, 87, 0.55);
}

.birles-kristal__slot.is-wrong .birles-kristal__badge {
  background: linear-gradient(160deg, #ff7b7b, #d62828);
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.5);
}

.birles-kristal__slot.is-right::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 3px rgba(90, 220, 130, 0.85);
  border-radius: inherit;
  pointer-events: none;
}

.birles-kristal__slot.is-wrong::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 3px rgba(230, 70, 70, 0.85);
  border-radius: inherit;
  pointer-events: none;
}

/* Genel: ?er?eve t?klanmaz ? konum chip?leri kullan?l?r */
.birles-kristal.is-genel .birles-kristal__slot.is-genel-slot:not(.is-empty) {
  cursor: default;
}

.birles-kristal.is-genel .birles-kristal__slot.is-genel-slot:not(.is-empty):active {
  transform: none;
}

/* Genel: emoji konum butonlar? ? 1?? ?lk ? 2?? Orta ? 3?? Son */
.birles-kristal__pos {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-width: 100%;
  max-width: none;
  margin: 5px 0 0;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(6, 22, 34, 0.94) 0%, rgba(3, 12, 20, 0.97) 100%);
  border: 1.5px solid rgba(120, 210, 240, 0.4);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  pointer-events: auto;
}

/* Genel konum sat?r?: plaket yerine sabit slot geni?li?i */
.birles-kristal__under:has(.birles-kristal__pos) {
  width: 22%;
  min-width: 22%;
  max-width: 26%;
}

.birles-kristal__pos-btn {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-height: clamp(36px, 9vmin, 48px);
  margin: 0;
  padding: 0;
  border: 2.5px solid transparent;
  border-radius: 12px;
  font-size: clamp(1.15rem, 4.2vmin, 1.55rem);
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    filter 0.18s ease,
    transform 0.14s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    border-color 0.18s ease;
}

.birles-kristal__pos-emoji {
  display: block;
  line-height: 1;
  font-weight: 900;
  transform: translateY(0.02em);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  user-select: none;
  pointer-events: none;
}

.birles-kristal__pos-btn--basinda .birles-kristal__pos-emoji,
.birles-kristal__pos-btn--sonda .birles-kristal__pos-emoji {
  font-size: 0.92em;
  color: #fffef8;
  -webkit-text-fill-color: #fffef8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.birles-kristal__pos-btn--ortada .birles-kristal__pos-emoji {
  font-size: 0.78em;
  color: #fffef8;
  -webkit-text-fill-color: #fffef8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.birles-kristal__pos-btn.is-right .birles-kristal__pos-emoji,
.birles-kristal__pos-btn.is-locked .birles-kristal__pos-emoji {
  color: #063820;
  -webkit-text-fill-color: #063820;
  text-shadow: none;
  filter: none;
}

/* ?lk ? turuncu */
.birles-kristal__pos-btn--basinda {
  background: linear-gradient(160deg, #ffb06a 0%, #ff7a2e 45%, #e04810 100%);
  border-color: rgba(255, 220, 170, 0.7);
  box-shadow:
    0 3px 10px rgba(220, 90, 20, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Orta ? ye?il */
.birles-kristal__pos-btn--ortada {
  background: linear-gradient(160deg, #5af0c0 0%, #1ec890 45%, #0a9868 100%);
  border-color: rgba(190, 255, 230, 0.65);
  box-shadow:
    0 3px 10px rgba(20, 160, 120, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Son ? mavi */
.birles-kristal__pos-btn--sonda {
  background: linear-gradient(160deg, #7eb8ff 0%, #3f6ef0 45%, #2440b8 100%);
  border-color: rgba(190, 220, 255, 0.7);
  box-shadow:
    0 3px 10px rgba(50, 90, 220, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.birles-kristal__pos-btn:not(.is-on):not(.is-right) {
  filter: saturate(0.5) brightness(0.68);
  opacity: 0.72;
}

.birles-kristal__pos-btn.is-on:not(.is-right) {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.75),
    0 6px 16px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.birles-kristal__pos-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.birles-kristal__pos-btn.is-right,
.birles-kristal__pos-btn.is-locked {
  filter: none !important;
  opacity: 1 !important;
  background: linear-gradient(160deg, #c8ffd8 0%, #58e892 45%, #18b858 100%) !important;
  border-color: rgba(230, 255, 240, 0.95) !important;
  box-shadow:
    0 0 0 3px rgba(90, 235, 150, 0.65),
    0 0 16px rgba(60, 220, 130, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.birles-kristal__pos-btn:disabled {
  cursor: default;
}

/* Genel intro: sol ?st ?er?evede ? ? ? s?rayla b?y?yerek g?ster */
.birles-kristal__under.is-demo-under {
  z-index: 12 !important;
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) scale(1.08) !important;
  filter: drop-shadow(0 6px 18px rgba(80, 220, 255, 0.55));
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s ease !important;
}

.birles-kristal__slot.is-demo-slot {
  z-index: 11;
  box-shadow:
    0 0 0 3px rgba(120, 240, 255, 0.85),
    0 0 22px rgba(80, 220, 255, 0.55);
  border-radius: 6px;
}

.birles-kristal__pos.is-demo-row {
  transform: scale(1.12);
  transform-origin: top center;
  border-color: rgba(180, 245, 255, 0.75);
  box-shadow:
    0 0 0 2px rgba(100, 230, 255, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-kristal__pos-btn.is-demo {
  filter: none !important;
  opacity: 1 !important;
  z-index: 3;
  transform: scale(1.42) !important;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 22px rgba(255, 230, 120, 0.85),
    0 6px 16px rgba(0, 0, 0, 0.4) !important;
  animation: birlesKristalPosDemoPulse 0.7s ease-in-out infinite;
}

@keyframes birlesKristalPosDemoPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.18);
  }
}

/* Genel ba?ar?: aqua/neon parlama ? Tamam?a kadar s?rer */
@keyframes birlesKristalGenelGemPulse {
  0%,
  100% {
    color: #b8fff8;
    -webkit-text-fill-color: #b8fff8;
    text-shadow:
      0 0 6px rgba(80, 255, 240, 0.7),
      0 0 16px rgba(40, 200, 255, 0.55),
      0 1px 2px rgba(0, 0, 0, 0.75);
    filter: drop-shadow(0 0 4px rgba(60, 240, 255, 0.55));
  }
  50% {
    color: #fff9c8;
    -webkit-text-fill-color: #fff9c8;
    text-shadow:
      0 0 10px rgba(255, 240, 120, 0.95),
      0 0 22px rgba(80, 220, 255, 0.7),
      0 1px 2px rgba(0, 0, 0, 0.75);
    filter: drop-shadow(0 0 10px rgba(255, 230, 100, 0.75));
  }
}

@keyframes birlesKristalGenelWrapSpark {
  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(80, 240, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(255, 220, 90, 0.85));
  }
}

.birles-kristal.is-genel-spark .birles-kristal__gem--genel {
  color: #b8fff8;
  -webkit-text-fill-color: #b8fff8;
  text-decoration-color: rgba(120, 255, 250, 0.95);
  text-decoration-thickness: 0.16em;
  animation: birlesKristalGenelGemPulse 1.6s ease-in-out infinite;
}

.birles-kristal.is-genel-spark .birles-kristal__gem-wrap--genel {
  animation: birlesKristalGenelWrapSpark 1.6s ease-in-out infinite;
}

.birles-kristal.is-genel-spark .birles-kristal__name--genel .birles-kristal__name-plate {
  border-color: rgba(120, 240, 255, 0.85);
  box-shadow:
    0 0 0 2px rgba(60, 200, 255, 0.4),
    0 0 22px rgba(80, 220, 255, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.birles-kristal.is-genel-revealed .birles-kristal__under {
  pointer-events: none;
}

/* Genel: altta KONTROL */
.birles-kristal__kontrol {
  position: fixed;
  left: 50%;
  bottom: max(8px, env(safe-area-inset-bottom, 0px));
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(112px, 34vw, 200px);
  height: clamp(40px, 10vmin, 54px);
  margin: 0;
  padding: 0 1.1em;
  border: 2px solid rgba(210, 245, 255, 0.88);
  border-radius: 999px;
  transform: translateX(-50%) translateY(8px) scale(0.92);
  background:
    linear-gradient(165deg, #7ef0ff 0%, #2ec8e8 42%, #1288b8 100%);
  color: #062838;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.82rem, 3vmin, 1.12rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 0 0 3px rgba(8, 40, 60, 0.38),
    0 6px 18px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(80, 220, 255, 0.38);
  opacity: 0;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-kristal.is-genel.is-ready .birles-kristal__kontrol:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.birles-kristal.is-done .birles-kristal__kontrol,
.birles-kristal__kontrol[hidden] {
  opacity: 0 !important;
  pointer-events: none !important;
}

.birles-kristal__kontrol-shine {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 66%
  );
  transform: translateX(-60%);
  animation: birlesKristalKontrolShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes birlesKristalKontrolShine {
  0%,
  45% {
    transform: translateX(-70%);
  }
  70%,
  100% {
    transform: translateX(70%);
  }
}

.birles-kristal__kontrol-label {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.birles-kristal__kontrol:active:not(:disabled) {
  transform: translateX(-50%) scale(0.94);
}

.birles-kristal__hint {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 4;
  margin: 0;
  font-size: clamp(0.72rem, 2.2vmin, 0.85rem);
  font-weight: 700;
  text-align: center;
  color: rgba(230, 240, 255, 0.78);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.birles-kristal.is-ready .birles-kristal__hint {
  opacity: 1;
}

.birles-kristal.is-done .birles-kristal__hint {
  display: none;
}

.birles-kristal.is-done .birles-kristal__close {
  opacity: 0.35;
  pointer-events: none;
}

/* Bitince: sonraki etkinlik veya bitir */
.birles-kristal__next {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  z-index: 12;
  min-width: clamp(140px, 42vmin, 220px);
  height: clamp(52px, 13vmin, 68px);
  margin: 0;
  padding: 0 1.1em;
  border: 2.5px solid rgba(255, 220, 140, 0.9);
  border-radius: 999px;
  transform: translateX(-50%) scale(0.85);
  background: linear-gradient(165deg, #ffe08a 0%, #e8a820 45%, #b87510 100%);
  color: #3a2200;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1rem, 3.6vmin, 1.35rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 0 0 5px rgba(40, 20, 0, 0.4),
    0 10px 28px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(255, 200, 80, 0.55);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-kristal.is-done .birles-kristal__next:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.birles-kristal__next:active {
  transform: translateX(-50%) scale(0.94);
}

/* Bitince altta Tamam + ilerleme ? kristal plaket */
.birles-kristal__exit {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: clamp(132px, 38vw, 168px);
  height: auto;
  margin: 0;
  padding: 10px 18px 10px 12px;
  border: 1.5px solid rgba(255, 236, 190, 0.72);
  border-radius: 999px;
  transform: translateX(-50%) translateY(10px) scale(0.92);
  background:
    linear-gradient(145deg, rgba(48, 28, 18, 0.92) 0%, rgba(22, 14, 28, 0.94) 100%);
  color: #fff8e8;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 0 0 3px rgba(12, 6, 20, 0.45),
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 240, 200, 0.18);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-kristal__exit-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffe6a0 0%, #e8b84a 55%, #c48928 100%);
  color: #2a1a08;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.birles-kristal__exit-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}

.birles-kristal__exit-label {
  font-size: clamp(0.92rem, 2.8vmin, 1.05rem);
  font-weight: 900;
  color: #fff6df;
  letter-spacing: 0.04em;
}

.birles-kristal__exit-frac {
  font-size: clamp(0.72rem, 2.2vmin, 0.82rem);
  font-weight: 800;
  color: rgba(255, 220, 150, 0.88);
  letter-spacing: 0.12em;
}

.birles-kristal.is-done .birles-kristal__exit:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.birles-kristal__exit:active {
  transform: translateX(-50%) scale(0.96);
}

.birles-reveal--textonly {
  padding-top: 4px;
}

.birles-reveal__word[hidden],
.birles-reveal--msgonly .birles-reveal__word {
  display: none !important;
}

.birles-reveal strong,
.birles-reveal__word {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 2.15rem;
  color: #1b3a4b;
}

.birles-reveal span,
.birles-reveal__msg {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-weight: 800;
  color: #0f6b56;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.birles-play-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.birles-btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #06d6a0, #1b3a4b);
  box-shadow: 0 12px 24px rgba(27, 58, 75, 0.22);
}

.birles-btn--ghost {
  background: rgba(27, 58, 75, 0.08);
  color: #1b3a4b;
  box-shadow: none;
}

/* ?????? Metinler (Netflix tarz? vitrin + okuyucu) ?????? */
.birles-fusion-section--metin {
  margin-top: 8px;
}

/* ?????? Piramit (ak?c? okuma ? c?mle ??? hik?ye) ?????? */
.birles-fusion-section--piramit {
  margin-top: 8px;
}

.birles-piramit-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  --chip: #3a86ff;
}

.birles-piramit-tile {
  --chip: inherit;
  flex: 0 0 min(72vw, 248px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--chip) 22%, #fff8e8) 0%,
      #fff 38%,
      color-mix(in srgb, var(--chip) 10%, #f3fafc) 100%
    );
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--chip) 28%, transparent),
    0 12px 28px rgba(20, 40, 55, 0.12);
  color: #143447;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.birles-piramit-tile:hover,
.birles-piramit-tile:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--chip) 55%, #ffb703),
    0 18px 36px rgba(20, 40, 55, 0.16);
  outline: none;
}

.birles-piramit-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 0;
}

.birles-piramit-tile__speed {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.birles-piramit-tile__dash {
  display: block;
  height: 3px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--chip) 70%, #ff8a00);
  transform-origin: left center;
  animation: birles-piramit-dash 1.1s ease-in-out infinite;
}

.birles-piramit-tile__dash:nth-child(1) {
  width: 8px;
  opacity: 0.45;
  animation-delay: 0s;
}
.birles-piramit-tile__dash:nth-child(2) {
  width: 14px;
  opacity: 0.7;
  animation-delay: 0.12s;
}
.birles-piramit-tile__dash:nth-child(3) {
  width: 22px;
  opacity: 1;
  animation-delay: 0.24s;
}

@keyframes birles-piramit-dash {
  0%,
  100% {
    transform: scaleX(0.55);
    opacity: 0.4;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.birles-piramit-tile__tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a2200;
  background: linear-gradient(90deg, #ffb703, #ff8c1a);
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.35);
}

.birles-piramit-tile__title {
  display: block;
  padding: 0 14px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #102836;
}

.birles-piramit-tile__diamond {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 2px 12px 0;
  padding: 12px 8px 14px;
  min-height: 132px;
  border-radius: 16px;
  background:
    radial-gradient(80% 70% at 50% 40%, color-mix(in srgb, var(--chip) 18%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(16, 40, 54, 0.06), rgba(16, 40, 54, 0.02));
}

.birles-piramit-tile__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--w, 40%);
  height: 9px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--chip) 42%, #d7e6ef);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: filter 0.15s ease;
}

.birles-piramit-tile__bar.is-peak {
  height: 12px;
  background: linear-gradient(90deg, #ffb703, color-mix(in srgb, var(--chip) 65%, #ff8c1a));
  box-shadow: 0 2px 10px rgba(255, 140, 0, 0.35);
}

.birles-piramit-tile__bar-txt {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 200px;
  padding: 1px 6px;
  border-radius: 6px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #102836;
  background: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.birles-piramit-tile__bar.is-peak .birles-piramit-tile__bar-txt {
  background: #fff6d8;
  font-size: 0.64rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.birles-piramit-tile:hover .birles-piramit-tile__bar:not(.is-peak) {
  filter: brightness(1.08);
}

.birles-piramit-tile__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px 14px;
}

.birles-piramit-tile__meta {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(20, 52, 71, 0.55);
}

.birles-piramit-tile__go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--chip) 85%, #1b3a4b),
    color-mix(in srgb, var(--chip) 55%, #ff8c1a)
  );
  box-shadow: 0 4px 12px color-mix(in srgb, var(--chip) 35%, transparent);
}

.birles-piramit-tile__go::after {
  content: "???";
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .birles-piramit-tile__dash {
    animation: none;
    opacity: 0.85;
    transform: none;
  }
}

.birles-piramit-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: min(100%, calc(100dvh - 120px));
  padding: 2px 2px 0;
  --chip: #3a86ff;
}

.birles-piramit-hero {
  text-align: center;
  padding: 4px 8px 0;
}

.birles-piramit-hero__kicker {
  margin: 0 0 4px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--chip) 80%, #1b3a4b);
}

.birles-piramit-hero__title {
  margin: 0 0 4px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.7rem, 5.5vw, 2.25rem);
  font-weight: 800;
  color: #123247;
  letter-spacing: 0.01em;
}

.birles-piramit-hero__lead {
  margin: 0 auto;
  max-width: 28rem;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(20, 52, 71, 0.65);
}

.birles-piramit-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 14px 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 28px;
  border: 3px solid color-mix(in srgb, var(--chip) 42%, rgba(255, 209, 102, 0.55));
  background:
    radial-gradient(100% 70% at 50% -10%, color-mix(in srgb, var(--chip) 28%, #ffe08a), transparent 58%),
    radial-gradient(80% 50% at 100% 100%, rgba(255, 183, 3, 0.16), transparent 50%),
    linear-gradient(180deg, #fffef9 0%, #f3fbf8 55%, #eef8ff 100%);
  box-shadow:
    0 18px 40px rgba(27, 58, 75, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.birles-piramit-line {
  margin: 0;
  padding: 8px 16px 12px;
  border-radius: 16px;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  /* B?y?k punto; s???mazsa JS k???lt?r ??? width:100% YASAK (?l??m? bozar) */
  font-size: clamp(1.45rem, 5.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.55;
  color: #143447;
  width: max-content;
  max-width: none;
  box-sizing: border-box;
  white-space: nowrap;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.birles-piramit-line.is-live {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--chip) 45%, #ffe566),
    color-mix(in srgb, var(--chip) 25%, #ffd166)
  );
  color: #0a1f2c;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--chip) 88%, #ff8a00),
    0 10px 24px color-mix(in srgb, var(--chip) 38%, transparent);
  transform: scale(1.06);
}

.birles-piramit-line.is-read,
.birles-piramit-line.is-done {
  color: rgba(27, 58, 75, 0.38);
}

.birles-piramit-stack.is-finished .birles-piramit-line {
  color: #0c7a52;
}

.birles-piramit-word {
  display: inline-block;
  padding: 2px 5px 4px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.birles-piramit-word.is-live,
.birles-piramit-word.is-speak {
  background: #ffb703;
  color: #1a1200;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.5);
  font-weight: 800;
  transform: scale(1.04);
}

.birles-piramit-word.is-read {
  opacity: 0.5;
}

.birles-piramit-stack.is-fast .birles-piramit-line.is-live {
  transform: scale(1.04);
}

.birles-piramit-done {
  margin: 4px 0 0;
  padding: 12px 16px;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  font-weight: 800;
  color: #0d6b4f;
  border-radius: 18px;
  background: linear-gradient(135deg, #d8fff0, #fff4d4);
  border: 2px solid rgba(26, 155, 117, 0.28);
  box-shadow: 0 8px 20px rgba(26, 155, 117, 0.12);
}

.birles-piramit-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.birles-piramit-actions .birles-btn {
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
}

/* Piramit / Hik?ye: altta Ba?la ? metin ?nce okunur */
.birles-read-gate {
  position: sticky;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px max(14px, env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.88) 32%,
    rgba(255, 255, 255, 0.98) 100%
  );
  pointer-events: none;
}

.birles-read-gate__start {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(68vw, 260px);
  min-height: clamp(52px, 12.5vw, 64px);
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.25rem, 4.8vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #0b2838;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--chip, #2a9d8f) 18%, #ffe08a) 0%,
      color-mix(in srgb, var(--chip, #2a9d8f) 35%, #ffb703) 48%,
      color-mix(in srgb, var(--chip, #2a9d8f) 55%, #fb8500) 100%
    );
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.65),
    0 0 0 6px color-mix(in srgb, var(--chip, #2a9d8f) 28%, rgba(255, 183, 3, 0.35)),
    0 14px 28px rgba(22, 50, 79, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.birles-read-gate__start:active {
  transform: scale(0.96);
  filter: brightness(0.98);
}

.birles-read-gate__start[hidden] {
  display: none !important;
}

.birles-read-gate.is-started .birles-read-gate__start {
  display: none !important;
}

.birles-read-gate__ico {
  display: inline-flex;
  width: 1.1em;
  height: 1.1em;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 40, 56, 0.12);
  font-size: 0.72em;
}

.birles-read-gate__back {
  pointer-events: auto;
  border: 0;
  background: transparent;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(20, 52, 71, 0.62);
  cursor: pointer;
  padding: 4px 10px;
  -webkit-tap-highlight-color: transparent;
}

.birles-read-gate.is-started .birles-read-gate__back {
  display: none;
}

/* ?? K?sa metin alt dock: Ba?lat ? Hece / Kelime ?? */
.birles-metin-view {
  display: flex;
  flex-direction: column;
  min-height: min(72vh, 640px);
  padding-bottom: 8px;
}

.birles-metin-dock {
  position: sticky;
  bottom: 0;
  z-index: 8;
  margin-top: auto;
  padding: 12px 12px max(16px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 246, 0) 0%,
    rgba(255, 253, 246, 0.92) 28%,
    rgba(247, 252, 248, 0.98) 100%
  );
  pointer-events: none;
}

.birles-metin-dock > * {
  pointer-events: auto;
}

.birles-metin-dock__aa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(100%, 420px);
  margin: 0 auto;
}

.birles-metin-aa {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 10px 12px;
  border: 2px solid rgba(21, 83, 50, 0.14);
  border-radius: 18px;
  background: #fffefb;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  color: #16324f;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 6px 16px rgba(22, 50, 79, 0.08);
}

.birles-metin-aa.is-on {
  border-color: rgba(22, 163, 74, 0.55);
  box-shadow:
    0 0 0 3px rgba(22, 163, 74, 0.16),
    0 8px 18px rgba(22, 50, 79, 0.1);
}

.birles-metin-aa__mark {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.birles-metin-aa--color .birles-metin-aa__mark b {
  color: #2563eb;
  font-weight: 900;
}

.birles-metin-aa--color .birles-metin-aa__mark i {
  color: #dc2626;
  font-style: normal;
  font-weight: 900;
}

.birles-metin-aa--plain .birles-metin-aa__mark {
  color: #111827;
}

.birles-metin-aa__label {
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0.78;
}

.birles-metin-dock__zoom {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(21, 83, 50, 0.12);
}

.birles-metin-dock__zoom-a {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  color: #16324f;
  width: 1.1em;
  text-align: center;
}

.birles-metin-dock__zoom-a.is-big {
  font-size: 1.45rem;
}

.birles-metin-dock__zoom-range {
  flex: 1;
  min-width: 0;
  accent-color: #16a34a;
  height: 28px;
}

.birles-metin-dock__start-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.birles-metin-dock__start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 320px);
  min-height: clamp(54px, 13vw, 68px);
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.28rem, 4.6vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #fffefb;
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 52%, #15803d 100%);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.7),
    0 0 0 6px rgba(22, 163, 74, 0.22),
    0 14px 28px rgba(21, 128, 61, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.birles-metin-dock__start:active {
  transform: scale(0.97);
  filter: brightness(0.97);
}

.birles-metin-dock__start-ico {
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.7em;
}

.birles-metin-dock__back {
  border: 0;
  background: transparent;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(21, 83, 50, 0.62);
  cursor: pointer;
  padding: 4px 10px;
  -webkit-tap-highlight-color: transparent;
}

.birles-metin-dock__modes {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  animation: birles-metin-dock-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-metin-dock__modes[hidden] {
  display: none !important;
}

.birles-metin-dock__hint {
  margin: 0;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.95rem, 3.2vw, 1.1rem);
  font-weight: 800;
  color: rgba(21, 83, 50, 0.78);
}

.birles-metin-dock__mode-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(100%, 440px);
  margin: 0 auto;
}

.birles-metin-mode {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: clamp(88px, 22vw, 112px);
  padding: 14px 12px;
  border: 2px solid rgba(22, 163, 74, 0.28);
  border-radius: 22px;
  cursor: pointer;
  background:
    linear-gradient(165deg, #ffffff 0%, #f0fdf4 55%, #dcfce7 100%);
  box-shadow:
    0 10px 22px rgba(21, 128, 61, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  color: #14532d;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.birles-metin-mode:active {
  transform: scale(0.97);
}

.birles-metin-mode--hece:hover,
.birles-metin-mode--hece:focus-visible {
  border-color: rgba(22, 163, 74, 0.55);
  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.2),
    0 12px 24px rgba(21, 128, 61, 0.16);
}

.birles-metin-mode--kelime {
  background:
    linear-gradient(165deg, #ffffff 0%, #eff6ff 55%, #dbeafe 100%);
  border-color: rgba(37, 99, 235, 0.28);
  color: #1e3a8a;
}

.birles-metin-mode--kelime:hover,
.birles-metin-mode--kelime:focus-visible {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.2),
    0 12px 24px rgba(30, 64, 175, 0.14);
}

.birles-metin-mode__mark {
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.birles-metin-mode__label {
  font-size: clamp(1.2rem, 4.2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.birles-metin-mode__sub {
  font-size: clamp(0.72rem, 2.6vw, 0.84rem);
  font-weight: 700;
  opacity: 0.72;
  text-align: center;
  line-height: 1.25;
  max-width: 12.5em;
}

.birles-metin-dock__tools {
  display: grid;
  grid-template-columns: auto 1fr 1.15fr;
  gap: 8px;
  align-items: center;
  width: min(100%, 480px);
  margin: 0 auto;
}

.birles-metin-dock__prog {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(21, 83, 50, 0.7);
  padding: 0 4px;
  white-space: nowrap;
}

.birles-metin-dock__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.88rem, 3vw, 1rem);
  font-weight: 800;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.birles-metin-dock__tool:active:not(:disabled) {
  transform: scale(0.97);
}

.birles-metin-dock__tool--soft {
  color: #14532d;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1.5px rgba(22, 163, 74, 0.22),
    0 6px 14px rgba(21, 128, 61, 0.1);
}

.birles-metin-dock__tool--go {
  color: #fffefb;
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 50%, #15803d 100%);
  box-shadow: 0 8px 18px rgba(21, 128, 61, 0.22);
}

.birles-metin-dock__tool.is-locked,
.birles-metin-dock__tool:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.birles-metin-dock__tool-ico {
  font-size: 1.05em;
  line-height: 1;
}

@keyframes birles-metin-dock-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .birles-metin-dock {
    padding: 10px 10px max(14px, env(safe-area-inset-bottom, 0px));
  }

  .birles-metin-dock__mode-row {
    gap: 8px;
  }

  .birles-metin-mode {
    border-radius: 18px;
    padding: 12px 8px;
    min-height: 84px;
  }

  .birles-metin-dock__tools {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 6px;
    width: 100%;
  }

  .birles-metin-aa {
    min-height: 58px;
    border-radius: 16px;
  }

  .birles-metin-dock__tool {
    min-height: 46px;
    padding: 8px 6px;
    border-radius: 14px;
  }

  .birles-metin-dock__tool-txt {
    font-size: 0.82rem;
  }
}

@media (min-width: 900px) {
  .birles-metin-dock__start {
    width: min(100%, 360px);
  }

  .birles-metin-dock__mode-row {
    width: min(100%, 520px);
    gap: 14px;
  }

  .birles-metin-mode {
    min-height: 120px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-metin-dock__modes {
    animation: none;
  }
}

@media (max-width: 640px) {
  .birles-piramit-stack {
    gap: 7px;
    padding: 18px 10px 20px;
  }

  .birles-piramit-line {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    padding: 7px 12px 11px;
  }
}

.birles-metin-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.birles-metin-tile {
  flex: 0 0 min(72vw, 260px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #143447;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
}

.birles-metin-tile__poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffe8c8, #d8fff3 50%, #cfe8ff);
  box-shadow: 0 14px 30px rgba(22, 50, 79, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.birles-metin-tile:hover .birles-metin-tile__poster,
.birles-metin-tile:focus-visible .birles-metin-tile__poster {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(22, 50, 79, 0.22);
}

.birles-metin-tile__img,
.birles-metin-tile__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.birles-metin-tile__ph {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(145deg, #ffd9a8, #9fe8d8 55%, #9ec9ef);
}

.birles-metin-tile__shade {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(10, 24, 36, 0.78));
}

.birles-metin-tile__title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.15rem, 3.6vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.birles-metin-tile__meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5f7584;
  padding: 0 4px;
}

.birles-metin-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: min(100%, calc(100dvh - 120px));
  padding-bottom: 0;
}

.birles-metin-view .birles-metin-dock {
  margin-top: auto;
}

.birles-metin-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #102536;
  box-shadow: 0 18px 42px rgba(16, 37, 54, 0.22);
}

.birles-metin-hero__img,
.birles-metin-hero__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.birles-metin-hero__ph {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(135deg, #2a9d8f, #1b3a4b 55%, #16324f);
}

.birles-metin-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 28, 0.1) 20%, rgba(8, 18, 28, 0.78) 100%);
}

.birles-metin-hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 18px 18px 20px;
}

.birles-metin-hero__kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.birles-metin-hero__title {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.7rem, 5.5vw, 2.35rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

/* Hik?ye: c?mleler yan yana tek ak??? ? heceleme kelimenin ?st?nde */
.birles-metin-story {
  margin: 0;
  padding: 28px 20px 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f4fbf8);
  border: 2px solid rgba(22, 50, 79, 0.08);
  box-shadow: 0 14px 32px rgba(22, 50, 79, 0.09);
  overflow: visible;
}

.birles-metin-story.is-finished {
  box-shadow:
    0 14px 32px rgba(22, 50, 79, 0.09),
    0 0 0 3px color-mix(in srgb, var(--chip, #2a9d8f) 35%, transparent);
}

.birles-metin-story {
  --metin-zoom: 1;
}

.birles-metin-story__flow {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: calc(clamp(1.55rem, 5.4vw, 2.05rem) * var(--metin-zoom, 1));
  font-weight: 700;
  line-height: 2.05;
  color: #12293a;
  text-wrap: pretty;
}

.birles-metin-syl {
  color: inherit;
}

.birles-metin-story.is-color .birles-metin-syl[data-si="0"],
.birles-metin-story.is-color .birles-metin-syl[data-si="2"],
.birles-metin-story.is-color .birles-metin-syl[data-si="4"],
.birles-metin-story.is-color .birles-metin-syl[data-si="6"] {
  color: #2563eb;
}

.birles-metin-story.is-color .birles-metin-syl[data-si="1"],
.birles-metin-story.is-color .birles-metin-syl[data-si="3"],
.birles-metin-story.is-color .birles-metin-syl[data-si="5"],
.birles-metin-story.is-color .birles-metin-syl[data-si="7"] {
  color: #dc2626;
}

.birles-metin-story.is-plain .birles-metin-syl {
  color: #12293a;
}

.birles-metin-word {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  padding: 3px 5px;
  margin: 0 1px;
  border-radius: 10px;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.birles-metin-word__txt {
  display: inline-block;
}

.birles-metin-word.is-live {
  z-index: 6;
  background: color-mix(in srgb, var(--chip, #2a9d8f) 18%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip, #2a9d8f) 32%, transparent);
  transform: translateY(-1px);
}

.birles-metin-word.is-speak .birles-metin-word__txt,
.birles-metin-word.is-speak {
  color: #0d3b4a;
}

.birles-metin-word__txt.is-ghost {
  color: color-mix(in srgb, #12293a 28%, #ffffff);
  opacity: 0.55;
  text-shadow: none;
}

.birles-metin-word.is-read {
  color: #1a7a62;
}

/* Tek ye?il alt ?izgi (text-decoration yok ? ?ift ?izgi olmas?n) */
.birles-metin-word.is-read .birles-metin-word__txt {
  box-shadow: none;
  text-decoration: none;
}

.birles-metin-word.is-read::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 3.5px;
  border-radius: 999px;
  background: #6fc4a8;
  pointer-events: none;
  z-index: 1;
}

.birles-metin-dot {
  font-weight: 800;
  margin-right: 0.15em;
}

/* Kelimenin ?st?nde hece balonu */
.birles-metin-float {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px) scale(0.92);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid color-mix(in srgb, var(--chip, #2a9d8f) 55%, #16324f);
  box-shadow: 0 14px 28px rgba(16, 37, 54, 0.2);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  animation: birles-metin-float-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  z-index: 8;
}

.birles-metin-float::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: #fff;
  border-right: 2px solid color-mix(in srgb, var(--chip, #2a9d8f) 55%, #16324f);
  border-bottom: 2px solid color-mix(in srgb, var(--chip, #2a9d8f) 55%, #16324f);
  transform: rotate(45deg);
}

.birles-metin-float__syl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  padding: 6px 10px;
  border-radius: 12px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #16324f;
  background: #f3faf8;
  border: 2px solid rgba(22, 50, 79, 0.1);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease;
}

.birles-metin-float__syl.is-on {
  background: linear-gradient(135deg, #ff9b6a, #ffd166);
  border-color: transparent;
  color: #16324f;
  transform: scale(1.12);
  box-shadow: 0 8px 16px rgba(255, 155, 106, 0.35);
}

.birles-metin-float__plus {
  font-weight: 800;
  color: #7a93a3;
  font-size: 0.95rem;
}

.birles-metin-float__word {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0d3b4a;
  padding: 2px 8px;
}

.birles-metin-float.is-merging .birles-metin-float__syl {
  transform: scale(0.92);
  opacity: 0.85;
}

.birles-metin-float.is-word {
  border-color: var(--chip, #2a9d8f);
  background: linear-gradient(180deg, #fffef8, #e8faf4);
}

.birles-metin-float.is-out {
  animation: birles-metin-float-out 0.28s ease forwards;
}

@keyframes birles-metin-float-in {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes birles-metin-float-out {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.9);
  }
}

.birles-metin-done {
  margin: 0;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a7a62;
}

.birles-metin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .birles-sound-rail {
    grid-template-columns: 1fr;
  }
  .birles-fusion-grid,
  .birles-fusion-grid--word {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .birles-fusion-grid--hece {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .birles-sound-hero {
    grid-template-columns: 1fr;
  }
  .birles-sound-hero__actions {
    flex-direction: row;
    min-width: 0;
  }
  .birles-izle-btn--hero,
  .birles-yaz-btn--hero,
  .birles-rakam-btn--hero {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-listen-main__letter,
  .birles-listen-main__ring,
  .birles-card,
  .birles-card.is-speaking .birles-card__face,
  .birles-reveal.is-pop {
    animation: none !important;
  }
}



/* ?????? Soft storybook sound hub ? lanes ?????? */
.birles-sound-view--story {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 0 18px;
}

.birles-sound-hero--story {
  margin-bottom: 4px;
}

.birles-sound-hero--evren {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.birles-ses-evreni {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  cursor: pointer;
  background: #0e2238;
  box-shadow:
    0 16px 36px rgba(22, 50, 79, 0.16),
    inset 0 0 0 2px rgba(255, 255, 255, 0.55);
  aspect-ratio: 16 / 9;
  max-height: min(46vh, 320px);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.birles-ses-evreni-wrap {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.birles-ses-evreni-wrap .birles-ses-evreni {
  width: 100%;
}

/* Resmin sa? en ?st k??esi ? manuel tan?t?m */
.birles-ses-tanitim {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(0.82rem, 3.2vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  color: #16324f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 244, 210, 0.94) 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 196, 60, 0.55),
    0 6px 16px rgba(8, 20, 40, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.birles-ses-tanitim:hover,
.birles-ses-tanitim:focus-visible {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.03);
  outline: none;
  box-shadow:
    0 0 0 2px rgba(255, 196, 60, 0.7),
    0 8px 18px rgba(8, 20, 40, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.birles-ses-tanitim:active {
  transform: scale(0.97);
}

.birles-ses-evreni:hover,
.birles-ses-evreni:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 20px 42px rgba(22, 50, 79, 0.2),
    inset 0 0 0 2px rgba(255, 255, 255, 0.75);
  outline: none;
}

.birles-ses-evreni:active {
  transform: scale(0.985);
}

.birles-ses-evreni.is-ping .birles-ses-evreni__letter-wrap {
  animation: birlesEvrenPing 0.55s ease;
}

@keyframes birlesEvrenPing {
  0% { transform: translate(-50%, -50%) scale(1); }
  40% { transform: translate(-50%, -50%) scale(1.12); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.birles-ses-evreni__vid {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  background: #0e2238;
}

.birles-ses-evreni__letter-wrap {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: none;
  box-shadow: none;
  padding: 0;
  filter:
    drop-shadow(0 0 10px rgba(255, 248, 230, 0.95))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.65))
    drop-shadow(0 3px 8px rgba(18, 40, 70, 0.5));
}

.birles-ses-evreni__letter {
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(4.6rem, 19vw, 6.6rem);
  font-weight: 800;
  line-height: 0.92;
  color: var(--chip, #5b4fd6);
  letter-spacing: 0 !important;
  -webkit-font-smoothing: antialiased;
  /* A??k dumanda okunakl?l?k: kal?n a??k stroke + dolgu */
  -webkit-text-stroke: 4.5px rgba(255, 252, 245, 0.98);
  paint-order: stroke fill;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 1),
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 10px rgba(20, 45, 80, 0.4);
}

.birles-ses-evreni__lower {
  margin-top: 2px;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(1.7rem, 6.6vw, 2.3rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0 !important;
  color: color-mix(in srgb, var(--chip, #5b4fd6) 85%, #16324f);
  -webkit-text-stroke: 2.5px rgba(255, 252, 245, 0.96);
  paint-order: stroke fill;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 1),
    0 1px 4px rgba(20, 45, 80, 0.3);
}

.birles-ses-evreni__hint {
  position: absolute;
  left: 50%;
  bottom: 8%;
  z-index: 3;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #16324f;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 6px 16px rgba(22, 50, 79, 0.16);
  pointer-events: none;
}

.birles-sound-hero--evren .birles-sound-hero__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.birles-sound-hero--evren .birles-izle-btn--hero,
.birles-sound-hero--evren .birles-yaz-btn--hero,
.birles-sound-hero--evren .birles-rakam-btn--hero {
  flex: 1 1 0;
}

@media (max-width: 640px) {
  .birles-ses-evreni {
    border-radius: 22px;
    max-height: min(42vh, 280px);
  }
  .birles-ses-evreni__hint {
    font-size: 0.95rem;
    padding: 9px 14px;
    bottom: 6%;
  }
  .birles-ses-tanitim {
    top: 8px;
    right: 8px;
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-ses-evreni.is-ping .birles-ses-evreni__letter-wrap {
    animation: none !important;
  }
}

.birles-lanes-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 2px 2px;
}

.birles-lanes-head .birles-path-label {
  margin: 0;
}

.birles-lanes-head__hint {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(22, 50, 79, 0.55);
}

.birles-lanes-head__prog {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 10px 0 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: inset 0 0 0 1px rgba(22, 50, 79, 0.06);
}

.birles-lanes-head__prog-main {
  font-size: 1.28rem;
  font-weight: 800;
  color: #16324f;
}

.birles-lanes-head__prog-group {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(22, 50, 79, 0.62);
}

.birles-lane-card.is-starred {
  border-color: color-mix(in srgb, #e9a825 55%, var(--lane));
  box-shadow: none;
}

/* Eski TAMAM rozeti ? art?k kullan?lm?yor (y?ld?z butona as?l?) */
.birles-lane-card__done {
  display: none !important;
}

.birles-lane-card.is-starred .birles-lane-card__go,
.birles-lane-card__go.is-replay {
  color: #5a3208;
  text-shadow: none;
  background: linear-gradient(165deg, #ffe8a3 0%, #f0a202 100%);
  box-shadow: none;
  justify-content: center;
  text-align: center;
}

.birles-lane-card.is-starred:active .birles-lane-card__go,
.birles-lane-card:active .birles-lane-card__go.is-replay {
  box-shadow: none;
  opacity: 0.92;
}

/* Y?ld?z ?d?l overlay */
.birles-star-fx {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(18, 36, 58, 0.55);
  cursor: pointer;
}

.birles-star-fx.is-out {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.birles-star-fx__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: min(92vw, 440px);
  text-align: center;
  pointer-events: none;
}

.birles-star-fx__vid {
  display: block;
  width: min(82vw, 380px);
  height: auto;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35));
}

.birles-star-fx__vid.is-hidden,
.birles-star-fx__canvas.is-hidden {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
  overflow: hidden;
}

.birles-star-fx__canvas {
  display: block;
  width: min(82vw, 380px);
  height: auto;
  background: transparent;
  image-rendering: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35));
}

.birles-star-fx__title {
  margin: 8px 0 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 800;
  color: #fff8e7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.birles-star-fx__sub {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 248, 230, 0.95);
}

@keyframes birlesStarFxIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.birles-egg-toast {
  display: none;
}

.birles-egg-reward {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(255, 214, 120, 0.28), transparent 62%),
    rgba(10, 22, 40, 0.72);
  cursor: pointer;
  animation: birlesEggRewardIn 0.35s ease;
}

.birles-egg-reward.is-out {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.birles-egg-reward__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: min(92vw, 420px);
  padding: 22px 18px 20px;
  border-radius: 28px;
  text-align: center;
  background:
    linear-gradient(165deg, #fffdf6 0%, #fff1cc 42%, #ffe8a8 100%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

.birles-egg-reward__kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a56b12;
}

.birles-egg-reward__title {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.35rem, 5.2vw, 1.75rem);
  font-weight: 800;
  color: #16324f;
}

.birles-egg-reward__plus {
  margin: 4px 0 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(3.4rem, 16vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
  color: #e76f2d;
  text-shadow:
    0 3px 0 #fff6d8,
    0 10px 24px rgba(231, 111, 45, 0.35);
  animation: birlesEggPlusPop 0.7s cubic-bezier(0.22, 1.35, 0.36, 1) both;
}

.birles-egg-reward__sub {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #8a5a12;
}

.birles-egg-reward__eggs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 3vw, 18px);
  margin: 4px 0 10px;
  width: 100%;
}

.birles-egg-reward__egg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  max-width: 130px;
  animation: birlesEggBounce 0.7s cubic-bezier(0.22, 1.2, 0.36, 1) both;
  animation-delay: calc(0.12s + var(--i, 0) * 0.1s);
}

.birles-egg-reward__egg img {
  display: block;
  width: min(28vw, 118px);
  height: auto;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(22, 50, 79, 0.28));
}

.birles-egg-reward__egg:nth-child(2) img {
  width: min(34vw, 142px);
  max-height: 178px;
  transform: translateY(-6px);
}

.birles-egg-reward__egg-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #16324f;
}

.birles-egg-reward__hint {
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(22, 50, 79, 0.55);
}

.birles-egg-reward__confetti {
  position: absolute;
  top: -8%;
  left: 50%;
  width: 10px;
  height: 14px;
  border-radius: 3px;
  z-index: 1;
  transform: translateX(-50%);
  animation: birlesEggConfetti var(--dur, 2.2s) linear var(--delay, 0s) both;
  pointer-events: none;
}

@keyframes birlesEggRewardIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes birlesEggPlusPop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes birlesEggBounce {
  0% { transform: translateY(28px) scale(0.6); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes birlesEggConfetti {
  0% {
    transform: translate(-50%, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), 110vh) rotate(var(--rot, 360deg));
    opacity: 0.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-egg-reward,
  .birles-egg-reward__plus,
  .birles-egg-reward__egg,
  .birles-egg-reward__confetti {
    animation: none !important;
  }
}

.birles-lanes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  padding: 6px 2px 4px;
}

/* B?l?m kart? ? d?z, ak?c? (3D/g?lge yok) */
.birles-lane-card {
  --lane: #2a9d8f;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  padding: 10px 12px 10px 10px;
  border: 2.5px solid color-mix(in srgb, var(--lane) 65%, #16324f);
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  color: #16324f;
  overflow: visible;
  background: color-mix(in srgb, var(--lane) 8%, #fffefb);
  box-shadow: none;
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.birles-lane-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--lane);
  pointer-events: none;
  z-index: 1;
  box-shadow: none;
}

.birles-lane-card:hover,
.birles-lane-card:focus-visible {
  transform: none;
  filter: none;
  background: color-mix(in srgb, var(--lane) 12%, #ffffff);
  box-shadow: none;
}

.birles-lane-card:active {
  transform: none;
  opacity: 0.92;
  box-shadow: none;
}

.birles-lane-card--hece { --lane: #0ea5e9; }
.birles-lane-card--kelime { --lane: #0284c7; }
.birles-lane-card--cumle { --lane: #f97316; }
.birles-lane-card--piramit { --lane: #9b5de5; }
.birles-lane-card--metin { --lane: #16a34a; }
.birles-lane-card--kristal { --lane: #8b5cf6; }
.birles-lane-card--mancinik { --lane: #ea580c; }
.birles-lane-card--kopru { --lane: #0284c7; }
.birles-lane-card--yaziUstasi { --lane: #eab308; }

/* ??? Tema renkleri ???
 * Sihirli Havuz ? deniz / havuz mavisi (emoji)
 * Ejder Yuvas? ? alev turuncusu
 * Kristal Ma?aras? ? mor kristal (emoji)
 * K?sa Metinler ? ye?il
 */
.birles-play--pool:not(.birles-play--cumle) {
  --chip: #0ea5e9 !important;
  --theme: #0ea5e9;
  --theme-deep: #0369a1;
}
.birles-play--pool.birles-play--cumle {
  --chip: #f97316 !important;
  --theme: #f97316;
  --theme-deep: #c2410c;
}
.birles-sirala:not(.birles-sirala--cumle) {
  --theme: #0ea5e9;
  --theme-deep: #0369a1;
}
.birles-sirala--cumle {
  --theme: #f97316;
  --theme-deep: #c2410c;
}
.birles-metin-view {
  --chip: #16a34a !important;
  --theme: #16a34a;
  --theme-deep: #15803d;
}

/* Sihirli Havuz ? deniz/havuz mavisi ?er?eve + ?lerle */
.birles-play--pool:not(.birles-play--cumle) .birles-hece-board {
  border-color: #38bdf8;
  background:
    linear-gradient(160deg, rgba(224, 242, 254, 0.96) 0%, rgba(186, 230, 253, 0.94) 50%, rgba(125, 211, 252, 0.9) 100%);
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.3),
    0 10px 26px rgba(0, 12, 28, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.birles-play--pool:not(.birles-play--cumle) .birles-play-ctrl--go,
.birles-sirala:not(.birles-sirala--cumle) .birles-play-ctrl--go {
  color: #fffefb;
  background: linear-gradient(180deg, #67e8f9 0%, #0ea5e9 48%, #0369a1 100%);
  box-shadow: none;
}
.birles-play--pool:not(.birles-play--cumle) .birles-play-start {
  background: linear-gradient(180deg, #67e8f9 0%, #0ea5e9 55%, #0284c7 100%);
  border-color: rgba(125, 211, 252, 0.9);
}
.birles-play--kelime .birles-hece-seg.is-on::after,
.birles-play--kelime .birles-hece-board.is-complete .birles-hece-seg::after,
.birles-play--pool.birles-play--kelime .birles-hece-seg.is-on::after,
.birles-play--pool.birles-play--kelime .birles-hece-board.is-complete .birles-hece-seg::after {
  background: #0284c7 !important;
}

/* Sihirli Havuz ? S?ra Sende ? havuz mavisi yuvalar */
.birles-sirala:not(.birles-sirala--cumle) .birles-sirala__nest {
  border-color: rgba(125, 211, 252, 0.85);
  background: rgba(3, 105, 161, 0.3);
}
.birles-sirala:not(.birles-sirala--cumle) .birles-sirala__nest.is-target {
  border-color: #38bdf8;
  background: rgba(14, 165, 233, 0.32);
}
.birles-sirala:not(.birles-sirala--cumle) .birles-sirala__nest.is-filled {
  border-color: rgba(56, 189, 248, 0.95);
  background: rgba(3, 105, 161, 0.45);
}
.birles-sirala:not(.birles-sirala--cumle) .birles-sirala__rack {
  border-color: rgba(125, 211, 252, 0.32);
  background: rgba(8, 47, 73, 0.55);
}
.birles-sirala:not(.birles-sirala--cumle) .birles-sirala__chip {
  border-color: rgba(125, 211, 252, 0.8);
  background: linear-gradient(160deg, #38bdf8, #0369a1);
}

/* Ejder Yuvas? ? alev turuncusu buton + ?er?eve */
.birles-play--pool.birles-play--cumle .birles-play-ctrl--go,
.birles-sirala--cumle .birles-play-ctrl--go {
  color: #fffefb;
  background: linear-gradient(180deg, #fb923c 0%, #f97316 48%, #c2410c 100%);
  box-shadow: none;
}
.birles-play--pool.birles-play--cumle .birles-play-start {
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 55%, #c2410c 100%);
  border-color: rgba(253, 186, 116, 0.9);
}
.birles-play--pool.birles-play--cumle .birles-sentence-board {
  border-color: rgba(249, 115, 22, 0.55);
}
.birles-sirala--cumle .birles-sirala__nests {
  border-color: rgba(251, 146, 60, 0.45);
  background:
    linear-gradient(165deg, rgba(67, 20, 7, 0.55), rgba(28, 10, 4, 0.62));
}
.birles-sirala--cumle .birles-sirala__nest {
  border-color: rgba(251, 146, 60, 0.75) !important;
  background:
    linear-gradient(160deg, rgba(124, 45, 18, 0.88) 0%, rgba(67, 20, 7, 0.9) 55%, rgba(40, 12, 4, 0.92) 100%) !important;
  box-shadow:
    0 0 0 2px rgba(60, 20, 0, 0.4),
    0 8px 18px rgba(0, 12, 40, 0.35),
    inset 0 1px 0 rgba(254, 215, 170, 0.22) !important;
}
.birles-sirala--cumle .birles-sirala__nest.is-target {
  border-color: #fb923c !important;
  background:
    linear-gradient(160deg, rgba(234, 88, 12, 0.55), rgba(124, 45, 18, 0.75)) !important;
}
.birles-sirala--cumle .birles-sirala__nest.is-filled,
.birles-sirala--cumle .birles-sirala__nest.is-correct {
  border-color: #fdba74 !important;
}
.birles-sirala--cumle .birles-sirala__rack {
  border-color: rgba(251, 146, 60, 0.35);
  background:
    linear-gradient(165deg, rgba(67, 20, 7, 0.65), rgba(28, 10, 4, 0.72));
}
.birles-sirala--cumle .birles-sirala__chip {
  border-color: rgba(253, 186, 116, 0.85);
  background: linear-gradient(160deg, #fb923c, #c2410c);
}
.birles-sirala--cumle .birles-sirala__burst-chip--cumle,
.birles-sirala__burst-chip--cumle {
  border-color: rgba(251, 146, 60, 0.85) !important;
  background:
    linear-gradient(165deg, rgba(67, 20, 7, 0.7), rgba(28, 10, 4, 0.75)) !important;
  color: #ffedd5 !important;
  box-shadow: none !important;
}

/* K?sa Metinler ? ye?il */
.birles-metin-hero {
  box-shadow: 0 12px 28px rgba(22, 101, 52, 0.18);
}
.birles-metin-hero__ph {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(135deg, #22c55e, #166534 55%, #14532d);
}
.birles-metin-hero__kicker {
  color: #86efac;
}
.birles-metin-word {
  border-color: rgba(22, 163, 74, 0.28);
}
.birles-metin-word.is-live,
.birles-metin-word.is-speak {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.14);
}
.birles-metin-word.is-read {
  border-color: rgba(22, 163, 74, 0.45);
}
.birles-metin-word.is-read::after {
  background: #16a34a;
}
.birles-metin-view .birles-play-ctrl--go,
.birles-metin-view .birles-lane-bar__go,
.birles-metin-view .birles-play-start {
  color: #fffefb;
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 50%, #15803d 100%);
  border-color: rgba(134, 239, 172, 0.75);
  box-shadow: none;
}
.birles-metin-tile {
  border-color: rgba(22, 163, 74, 0.35);
}
.birles-metin-tile:hover .birles-metin-tile__poster,
.birles-metin-tile:focus-visible .birles-metin-tile__poster {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.45);
}

/* ?? Yaz? Ustas? ? kelime yaz?l??? ?? */
.birles-yazu {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 2px 24px;
  --chip: #0d9488;
  --ink: #0f5c56;
  --paper: #fffdf6;
  isolation: isolate;
}
.birles-yazu__ambient {
  pointer-events: none;
  position: absolute;
  inset: -8px -6px auto;
  height: 220px;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 80% at 18% 20%, rgba(45, 212, 191, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 70% at 88% 10%, rgba(251, 191, 36, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(15, 118, 110, 0.08), transparent 60%);
}
.birles-yazu__hero {
  text-align: center;
  padding: 16px 16px 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 253, 250, 0.55)),
    linear-gradient(145deg, rgba(15, 118, 110, 0.12), rgba(255, 253, 246, 0.9));
  border: 1px solid rgba(15, 118, 110, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 14px 36px rgba(15, 80, 70, 0.1);
}
.birles-yazu__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.18);
}
.birles-yazu__word-big {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(2.15rem, 9vmin, 3rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.birles-yazu__progress-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.birles-yazu__progress {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f766e;
}
.birles-yazu__dots {
  display: inline-flex;
  gap: 6px;
}
.birles-yazu__dot-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.22);
  display: block;
}
.birles-yazu__dot-pip.is-on {
  background: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.22);
}
.birles-yazu__dot-pip.is-done {
  background: #22c55e;
}
.birles-yazu__words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.birles-yazu__word {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 84px;
  min-height: 50px;
  padding: 0 18px;
  border: 1.5px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 80, 70, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.birles-yazu__word:hover {
  transform: translateY(-1px);
}
.birles-yazu__word.is-on {
  background: linear-gradient(165deg, #5eead4, #0d9488);
  border-color: #0f766e;
  color: #042f2e;
  box-shadow:
    0 8px 0 #0f766e,
    0 14px 22px rgba(13, 148, 136, 0.28);
}
.birles-yazu__word.is-done:not(.is-on) {
  border-color: rgba(34, 197, 94, 0.45);
  color: #166534;
  background: #f0fdf4;
}
.birles-yazu__word-check {
  font-size: 0.85rem;
  color: #16a34a;
}
.birles-yazu__meta {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #3f6f6a;
}
.birles-yazu__stage-wrap {
  position: relative;
  width: 100%;
  max-width: min(100%, 560px);
  margin: 2px auto 0;
  padding: 10px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(240, 253, 250, 0.35)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(15, 118, 110, 0.03) 11px,
      rgba(15, 118, 110, 0.03) 12px
    );
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 40px rgba(15, 70, 60, 0.12);
}
.birles-yazu__stage {
  position: relative;
  width: 100%;
  touch-action: none;
}
.birles-yazu__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(56vh, 480px);
  overflow: visible;
}
.birles-yazu__paper {
  fill: var(--paper);
  stroke: rgba(15, 118, 110, 0.16);
  stroke-width: 1.4;
  filter: drop-shadow(0 8px 18px rgba(15, 80, 70, 0.1));
}
.birles-yazu__paper-edge {
  fill: rgba(13, 148, 136, 0.14);
  stroke: none;
}
.birles-yazu__guide {
  stroke: rgba(58, 134, 255, 0.38);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.birles-yazu__guide--mid {
  stroke-dasharray: 6 5;
  stroke: rgba(245, 158, 11, 0.55);
  stroke-width: 1.9;
}
.birles-yazu__ghost {
  stroke: rgba(15, 92, 86, 0.22);
  stroke-width: 17;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.birles-yazu__stroke {
  stroke: #0f766e;
  stroke-width: 17;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.96;
}
.birles-yazu__stroke.is-live {
  stroke: #f59e0b;
}
.birles-yazu__stroke.is-done {
  stroke: #15803d;
}
.birles-yazu__stroke.is-done.is-live {
  stroke: #15803d;
}
.birles-yazu__stroke.is-fail {
  stroke: #dc2626;
}
.birles-yazu__user {
  stroke: rgba(245, 158, 11, 0.62);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.birles-yazu__pen {
  fill: #f59e0b;
  stroke: #fff;
  stroke-width: 2.5;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.45));
}
.birles-yazu__pen[hidden] {
  display: none !important;
}
.birles-yazu__hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  touch-action: none;
  cursor: crosshair;
}
.birles-yazu__tip {
  margin: 0;
  min-height: 1.25em;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 700;
  color: #0f766e;
}
.birles-yazu__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.birles-yazu-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 84px;
  padding: 10px 8px 12px;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  color: #143447;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.birles-yazu-act__ico {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
  color: inherit;
}
.birles-yazu-act__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.15;
}
.birles-yazu-act strong {
  font-size: 0.92rem;
  font-weight: 800;
}
.birles-yazu-act small {
  font-size: 0.66rem;
  font-weight: 700;
  opacity: 0.72;
}
.birles-yazu-act--write {
  color: #0f3d32;
  background: linear-gradient(165deg, #9dffc4 0%, #3dd68c 50%, #1fad6a 100%);
  box-shadow:
    0 7px 0 #158a52,
    0 12px 22px rgba(31, 173, 106, 0.28);
}
.birles-yazu-act--listen {
  color: #fff;
  background: linear-gradient(165deg, #5fd0ff 0%, #2a9df4 45%, #1b6fd4 100%);
  box-shadow:
    0 7px 0 #1558a8,
    0 12px 22px rgba(42, 157, 244, 0.28);
}
.birles-yazu-act--listen .birles-yazu-act__ico {
  color: #1b6fd4;
}
.birles-yazu-act--write .birles-yazu-act__ico {
  color: #158a52;
}
.birles-yazu-act--back {
  color: #4a3418;
  background: linear-gradient(165deg, #ffe29a 0%, #ffc14a 55%, #f0a202 100%);
  box-shadow:
    0 7px 0 #c47d00,
    0 12px 22px rgba(240, 162, 2, 0.26);
}
.birles-yazu-act--back .birles-yazu-act__ico {
  color: #b36b00;
}
.birles-yazu-act:hover,
.birles-yazu-act:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.birles-yazu-act:active {
  transform: translateY(3px);
}
.birles-yazu-act.is-on {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
.birles-yazu__wide-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  max-width: 560px;
  margin: 2px auto 0;
  min-height: 64px;
  padding: 12px 16px;
  border: 1.5px dashed rgba(15, 118, 110, 0.35);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(240, 253, 250, 0.95), rgba(255, 255, 255, 0.92));
  color: var(--ink);
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  box-shadow: 0 8px 20px rgba(15, 80, 70, 0.08);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.birles-yazu__wide-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.55);
  background: linear-gradient(165deg, #ccfbf1, #fff);
}
.birles-yazu__wide-btn-ico {
  display: grid;
  place-items: center;
  color: #0d9488;
  margin-bottom: 2px;
}
.birles-yazu__wide-btn strong {
  font-size: 1.05rem;
  font-weight: 800;
}
.birles-yazu__wide-btn small {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.7;
}
.birles-yazu__status {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 16px;
}
.birles-yazu__status.is-ok {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.birles-yazu__status.is-bad {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.22);
}

/* Geni? yaz ? telefon/tablet tam ekran yan panel; yaln?z ?arp? */
.birles-yazu__sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: block;
  pointer-events: none;
}
.birles-yazu__sheet[hidden] {
  display: none !important;
}
.birles-yazu__sheet.is-open {
  pointer-events: auto;
}
.birles-yazu__sheet-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(45, 212, 191, 0.16), transparent 55%),
    linear-gradient(180deg, #f4fffb 0%, #fffdf6 45%, #eefaf6 100%);
  box-shadow: none;
  animation: birlesYazuSheetIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.birles-yazu__sheet-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 6;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.14);
  color: #0f766e;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(8, 40, 36, 0.12);
}
.birles-yazu__sheet-close:hover,
.birles-yazu__sheet-close:active {
  background: rgba(15, 118, 110, 0.24);
}
.birles-yazu__stage--wide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  touch-action: none;
}
.birles-yazu__stage--wide .birles-yazu__svg {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}
.birles-yazu__stage--wide .birles-yazu__paper {
  rx: 12;
}
.birles-yazu__stage--wide .birles-yazu__ghost {
  stroke-width: 18;
}
.birles-yazu__stage--wide .birles-yazu__stroke {
  stroke-width: 18;
}
.birles-yazu__stage--wide .birles-yazu__user {
  stroke-width: 15;
}
.birles-yazu__stage--wide .birles-yazu__hit {
  inset: 0;
}
.birles-yazu__wide-hint {
  position: absolute;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 7;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.88);
  color: #fff;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(8, 40, 36, 0.25);
}
.birles-yazu__wide-hint[hidden] {
  display: none !important;
}
@keyframes birlesYazuSheetIn {
  from {
    transform: translateX(28px);
    opacity: 0.55;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Masa?st?: Geni? yaz butonu yok (JS de gizler) */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .birles-yazu__wide-btn {
    display: none !important;
  }
  .birles-yazu__sheet {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .birles-yazu__svg {
    max-height: min(46vh, 380px);
  }
  .birles-yazu__word {
    min-height: 52px;
    font-size: 1.26rem;
  }
  .birles-yazu-act {
    min-height: 78px;
    padding: 8px 6px 10px;
    border-radius: 18px;
  }
  .birles-yazu-act__ico {
    width: 34px;
    height: 34px;
  }
  .birles-yazu__sheet-close {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-yazu__sheet-panel,
  .birles-yazu__word,
  .birles-yazu-act,
  .birles-yazu__wide-btn {
    animation: none !important;
    transition: none !important;
  }
}

.birles-lane-card__ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--lane) 16%, #fff);
  border: 2px solid color-mix(in srgb, var(--lane) 45%, #fff);
  box-shadow: none;
}

.birles-lane-card__ico svg {
  width: 36px;
  height: 36px;
  display: block;
}

.birles-lane-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding-right: 4px;
  transform: translateY(-0.06em);
}

.birles-lane-card__title {
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1.1;
}

.birles-lane-card__sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(22, 50, 79, 0.58);
  line-height: 1.15;
}

.birles-lane-card__side {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  margin-right: 4px;
  overflow: visible;
}

.birles-lane-card__count {
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  color: #16324f;
  background: color-mix(in srgb, var(--lane) 14%, #fff);
  border: 2px solid color-mix(in srgb, var(--lane) 40%, #fff);
  box-shadow: none;
  overflow: visible;
}

/* Oyun butonu ? d?z, ak?c? */
.birles-lane-card__go {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  align-self: center;
  z-index: 2;
  min-width: 92px;
  min-height: 40px;
  padding: 0.48em 1.15em;
  border: 0;
  border-radius: 999px;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
  text-shadow: none;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--lane) 75%, #ffffff) 0%,
    var(--lane) 55%,
    color-mix(in srgb, var(--lane) 55%, #16324f) 100%
  );
  box-shadow: none;
  transition: opacity 0.12s ease;
  overflow: visible;
}

.birles-lane-card__go::before {
  content: none;
  display: none;
}

/* Butona as?l? y?ld?z rozeti */
.birles-lane-card__star-pin {
  position: absolute;
  top: -10px;
  right: -7px;
  z-index: 3;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: rotate(12deg);
  filter: none;
}

.birles-lane-card__star-pin-glow {
  display: none !important;
  animation: none !important;
}

.birles-lane-card__star-pin-ico {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.9rem;
  line-height: 1;
  color: #fff7cc;
  text-shadow: none;
  background: linear-gradient(165deg, #ffe566 0%, #f59e0b 100%);
  border: 2px solid #fff8dc;
  box-shadow: none;
}

@keyframes birlesStarPinPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-lane-card__star-pin-glow {
    animation: none;
  }
}

.birles-lane-card:hover .birles-lane-card__go,
.birles-lane-card:focus-visible .birles-lane-card__go {
  filter: none;
  transform: none;
  opacity: 0.95;
}

.birles-lane-card:active .birles-lane-card__go {
  transform: none;
  opacity: 0.88;
  box-shadow: none;
}

@media (max-width: 640px) {
  .birles-lane-card {
    border-width: 2.5px;
    gap: 8px 10px;
    padding: 9px 10px 9px 9px;
  }

  .birles-lane-card__ico {
    width: 48px;
    height: 48px;
  }

  .birles-lane-card__go {
    min-width: 84px;
    min-height: 38px;
    font-size: 1.18rem;
  }

  .birles-lane-card__star-pin {
    top: -9px;
    right: -6px;
  }
}

.birles-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 0 14px;
}

.birles-gallery--story {
  animation: birlesLevelPop 0.4s ease both;
}

.birles-gallery__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 6px 0 8px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96) 55%, rgba(255, 253, 248, 0));
}

.birles-fusion-section--gallery {
  margin: 0;
  padding: 0;
  border: 0;
}

.birles-gallery .birles-fusion-grid,
.birles-gallery .birles-piramit-rail,
.birles-gallery .birles-metin-rail {
  animation: birlesLevelPop 0.45s ease both;
}

.birles-lane-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 10px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 90% at 10% 0%, rgba(255, 209, 102, 0.18), transparent 50%),
    linear-gradient(180deg, #fffdf8 0%, #f3fffb 100%);
  box-shadow:
    0 10px 24px rgba(22, 50, 79, 0.08),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.9);
}

.birles-lane-bar__track {
  flex: 1 1 auto;
  min-width: 40px;
  max-width: 80px;
  height: 7px;
  border-radius: 999px;
  background: rgba(22, 50, 79, 0.1);
  overflow: hidden;
}

.birles-lane-bar__track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd166, #2a9d8f);
  transition: width 0.35s ease;
}

.birles-lane-bar__progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 52px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #16324f;
  background: rgba(22, 50, 79, 0.08);
  white-space: nowrap;
}

.birles-btn--go {
  color: #fff;
  background: linear-gradient(135deg, #2a9d8f, #1b6b5a);
  box-shadow: 0 6px 0 #145a45, 0 10px 22px rgba(42, 157, 143, 0.28);
}

.birles-btn--go.is-locked,
.birles-btn--go:disabled {
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #8aa8a3, #6d8a84);
  box-shadow: 0 4px 0 #5a736e, 0 6px 14px rgba(22, 50, 79, 0.12);
  cursor: not-allowed;
  opacity: 0.78;
}

.birles-btn--soft {
  color: #16324f;
  background: linear-gradient(135deg, #fff8e8, #ffe4bc);
  box-shadow: 0 6px 0 #e0c07a, 0 8px 18px rgba(200, 140, 40, 0.18);
}

@media (max-width: 640px) {
  .birles-lane-bar { gap: 6px; padding: 10px 8px; }
  .birles-lane-bar .birles-btn {
    padding: 10px 12px;
    font-size: 0.84rem;
  }
  .birles-lane-bar .birles-btn--replay {
    padding: 10px 11px;
    font-size: 1.15rem;
  }
  .birles-lane-bar__progress {
    padding: 8px 9px;
    font-size: 0.76rem;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-gallery--story,
  .birles-gallery .birles-fusion-grid,
  .birles-gallery .birles-piramit-rail,
  .birles-gallery .birles-metin-rail,
  .birles-lane-card {
    animation: none !important;
  }
}

/* ===== Ses Yuvas? (s?ralama) ===== */
.birles-sirala {
  position: fixed;
  inset: 0;
  z-index: 12050;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Masaustu: Sira Sende ? hub/havuz gibi 9:16 contain */
@media (min-width: 901px) {
  .birles-sirala {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(ellipse 60% 50% at 50% 30%, rgba(56, 189, 248, 0.14), transparent 65%),
      #041018;
  }

  .birles-sirala__backdrop {
    position: absolute;
  }

  .birles-sirala__stage {
    /* JS stagebox contain; board UI stage icinde kalir */
    max-width: min(820px, 100%, calc(100dvh * 9 / 16));
    margin: 0 auto;
  }
}
.birles-sirala.is-booting .birles-sirala__board,
.birles-sirala.is-booting .birles-sirala__close,
.birles-sirala.is-booting .birles-fs-dock,
.birles-sirala.is-booting .birles-sirala__replay {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.birles-sirala__boot {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 35%, rgba(60, 140, 200, 0.35), transparent 60%),
    rgba(4, 16, 24, 0.88);
  transition: opacity 0.24s ease;
}
.birles-sirala__boot.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.birles-sirala__boot-orb {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, #9be7ff 28%, #2a8fc4 70%, #0a3a55 100%);
  box-shadow: 0 0 28px rgba(100, 210, 255, 0.6);
  animation: birlesPoolBootPulse 1.35s ease-in-out infinite;
}
.birles-sirala__boot-title {
  margin: 0;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  font-weight: 800;
  color: #eaf7ff;
}
.birles-sirala__boot-text {
  margin: 0;
  font-size: clamp(1.15rem, 4.2vw, 1.4rem);
  font-weight: 700;
  color: rgba(210, 235, 250, 0.9);
}
.birles-sirala__boot-bar {
  width: min(280px, 72vw);
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.birles-sirala__boot-bar > i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ec8f0, #b8f0ff, #5ec8f0);
  animation: birlesPoolBootBar 1.1s ease-in-out infinite;
}
.birles-sirala__backdrop {
  position: absolute;
  inset: 0;
  background: #041018;
}
.birles-sirala__stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* Video tam ekran ? altta siyah ?erit kalmas?n */
  bottom: 0;
  height: auto;
  overflow: hidden;
}
.birles-sirala__stagebox {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}
.birles-sirala__layer {
  position: absolute;
  inset: 0;
  transition: none;
  will-change: opacity;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}
.birles-sirala__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.birles-sirala__flash {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
  pointer-events: none;
}
.birles-sirala__flash.is-on {
  display: none !important;
  animation: none !important;
}
@keyframes birlesSiralaFlash {
  0%,
  100% {
    opacity: 0;
  }
}
.birles-sirala__board {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  /* Alt: dock + sar? kutular i?in bo?luk ? kutular ?eridin ?st?nde kals?n */
  padding:
    max(12px, env(safe-area-inset-top))
    4%
    calc(var(--birles-dock-h, 72px) + 28px);
  box-sizing: border-box;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.birles-sirala__board.is-finale {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none;
}
.birles-sirala.is-done .birles-sirala__rack,
.birles-sirala.is-done .birles-sirala__nests,
.birles-sirala.is-done .birles-sirala__chip,
.birles-sirala.is-success-hold .birles-sirala__rack,
.birles-sirala.is-success-hold .birles-sirala__nests,
.birles-sirala.is-success-hold .birles-sirala__chip {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
  transform: translateY(6px);
}
.birles-sirala__ask,
.birles-sirala__hint {
  display: none !important;
}
.birles-sirala__nests {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(6px, 2vmin, 12px);
  width: 100%;
  max-width: 96%;
  /* Hece / Kelime / Ejder ? ayn? dikey konum */
  margin: clamp(40px, 11vh, 130px) 0 0;
  pointer-events: auto;
  flex-shrink: 0;
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}
.birles-sirala__nests.is-shake {
  animation: birlesSiralaShake 0.55s ease;
}
@keyframes birlesSiralaShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
.birles-sirala__nest {
  flex: 1 1 0;
  min-width: 0;
  max-width: 72px;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 14px;
  border: 2.5px dashed rgba(255, 230, 160, 0.75);
  background: rgba(10, 40, 60, 0.28);
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.birles-sirala__nest.is-target {
  border-style: solid;
  border-color: #ffd56a;
  background: rgba(255, 200, 80, 0.22);
  transform: scale(1.04);
}
.birles-sirala__nest.is-filled {
  border-style: solid;
  border-color: rgba(120, 220, 180, 0.85);
  background: rgba(20, 80, 70, 0.4);
}
.birles-sirala__nest-num {
  font-size: 0.72rem;
  font-weight: 900;
  color: rgba(255, 245, 210, 0.85);
}
.birles-sirala__nest-slot {
  width: 100%;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 0;
}
.birles-sirala__rack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 2.2vmin, 14px);
  width: 100%;
  max-width: 96%;
  margin-top: auto;
  margin-bottom: 12px;
  padding: 10px 6px;
  border-radius: 16px;
  background: rgba(6, 24, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: auto;
  min-height: 72px;
  flex-shrink: 0;
  z-index: 2;
  transition: opacity 0.65s ease, visibility 0.65s ease, transform 0.65s ease;
}
.birles-sirala__chip {
  min-width: clamp(52px, 14vmin, 72px);
  min-height: clamp(52px, 14vmin, 72px);
  padding: 0.12em 0.18em;
  border-radius: 14px;
  border: 2px solid rgba(255, 220, 140, 0.85);
  background: linear-gradient(165deg, #fff4c8 0%, #ffd166 45%, #e9a820 100%);
  color: #3a2200;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(1.85rem, 8vmin, 2.75rem);
  font-weight: 900;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.birles-sirala__chip:active,
.birles-sirala__chip.is-dragging {
  cursor: grabbing;
  opacity: 0.45;
}
.birles-sirala__chip.is-placed {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  font-size: clamp(1.65rem, 7vmin, 2.4rem);
  box-shadow: none;
}
.birles-sirala__ghost {
  position: fixed;
  z-index: 13000;
  pointer-events: none;
  opacity: 0.95;
  margin: 0;
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.birles-sirala__hint {
  display: none !important;
}
.birles-sirala__replay {
  /* Flex ak???ndan ??k ? gizlenince sar? kutular tepeye z?plamas?n */
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  z-index: 8;
  width: clamp(68px, 16vmin, 88px);
  height: clamp(68px, 16vmin, 88px);
  border-radius: 50%;
  border: 3px solid rgba(255, 230, 160, 0.95);
  background: rgba(20, 90, 150, 0.96);
  color: #fff;
  font-size: clamp(1.75rem, 5.8vmin, 2.35rem);
  cursor: pointer;
  pointer-events: auto;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
}
.birles-sirala.is-success-hold .birles-sirala__replay,
.birles-sirala.is-done .birles-sirala__replay {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  /* display:none kullanma ? layout bozulmas?n */
}
.birles-sirala__burst {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 8;
  margin: 0;
  transform: translate(-50%, -50%);
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(2.7rem, 12vmin, 4.8rem);
  font-weight: 900;
  color: #fff8e0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.birles-sirala__burst.is-boom-in {
  opacity: 1;
  animation: birlesSiralaBurstFade 0.55s ease forwards;
}
.birles-sirala.is-boom-playing .birles-sirala__burst.is-boom-in {
  font-size: clamp(3rem, 13.5vmin, 5.2rem);
}
@keyframes birlesSiralaBurst {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes birlesSiralaBurstFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.birles-sirala__close {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 12;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(20, 10, 40, 0.7);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
}
.birles-sirala__next,
.birles-sirala__exit {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 12;
  transform: translateX(-50%);
  cursor: pointer;
}
.birles-sirala__next {
  min-width: 150px;
  height: 56px;
  padding: 0 1.1em;
  border-radius: 999px;
  border: 2.5px solid rgba(255, 220, 140, 0.9);
  background: linear-gradient(165deg, #ffe08a, #e8a820);
  color: #3a2200;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
}
.birles-sirala__exit {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2.5px solid rgba(245, 230, 255, 0.85);
  background: linear-gradient(160deg, #7a45b8, #3a1a68);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
}
.birles-lane-card--sirala {
  --lane-accent: #38bdf8;
}

.birles-sirala__chip.is-selected {
  outline: 3px solid #38bdf8;
  outline-offset: 2px;
  transform: scale(1.06);
}
.birles-sirala__burst-chip {
  display: inline-block;
  padding: 0.28em 0.7em 0.34em;
  border-radius: 0.5em;
  background: linear-gradient(165deg, rgba(255, 244, 200, 0.72), rgba(255, 209, 102, 0.78) 50%, rgba(233, 168, 32, 0.82));
  color: #2a1800;
  border: 3px solid rgba(255, 245, 210, 0.95);
  box-shadow: none;
  text-shadow: none;
  animation: none;
}
@keyframes birlesSiralaChipPulse {
  0%, 100% { transform: none; }
}
.birles-sirala__nests {
  max-width: min(96%, 420px);
}
.birles-sirala__nest {
  max-width: 88px;
}

/* S?ra Sende: Tekrar / T?m?n? g?r / ?lerle ? ?effaf; video alta kadar g?r?n?r */
.birles-sirala .birles-fs-dock--playctrls {
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding:
    0 10px
    max(12px, calc(8px + env(safe-area-inset-bottom, 0px)));
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
}
.birles-sirala .birles-fs-dock {
  position: absolute;
  z-index: 90;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.birles-sirala .birles-play-ctrls--sirala {
  pointer-events: none;
  max-width: min(98vw, 560px);
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.birles-sirala .birles-play-ctrls--sirala .birles-play-ctrl,
.birles-sirala .birles-play-ctrls--sirala .birles-play-prog {
  pointer-events: auto;
}
.birles-sirala {
  --birles-dock-h: calc(72px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 420px) {
  .birles-sirala {
    --birles-dock-h: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  .birles-sirala .birles-play-ctrls--sirala {
    gap: 5px;
  }
}

/* Tablet: hoparl?r biraz daha b?y?k */
@media (min-width: 600px) and (max-width: 1100px) {
  .birles-sirala {
    --birles-dock-h: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .birles-sirala__replay {
    width: clamp(76px, 12vmin, 96px);
    height: clamp(76px, 12vmin, 96px);
    font-size: clamp(2rem, 5vmin, 2.5rem);
  }
}

/* Tan?t?m s?ras?nda etkile?ime izin ver ? dokununca ses kesilir */
.birles-sirala.is-intro .birles-sirala__rack,
.birles-sirala.is-intro .birles-sirala__nests {
  pointer-events: auto;
}
.birles-sirala__nest.is-tutor-pulse,
.birles-sirala__chip.is-tutor-pulse {
  animation: birlesSiralaTutorPulse 1.05s ease-in-out infinite;
}
.birles-sirala__nest.is-tutor-pulse {
  border-color: #ffe08a !important;
  background: rgba(255, 214, 90, 0.28) !important;
  box-shadow:
    0 0 0 3px rgba(255, 220, 120, 0.75),
    0 0 22px rgba(255, 200, 80, 0.55) !important;
  transform: scale(1.06);
}
.birles-sirala__chip.is-tutor-pulse {
  box-shadow:
    0 0 0 3px rgba(255, 236, 170, 0.95),
    0 10px 24px rgba(0, 0, 0, 0.35);
  transform: scale(1.07);
}
@keyframes birlesSiralaTutorPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.18);
  }
}
.birles-sirala__chip-ph {
  flex: 0 0 auto !important;
  min-width: clamp(52px, 14vmin, 72px) !important;
  min-height: clamp(52px, 14vmin, 72px) !important;
  box-sizing: border-box !important;
  border: none !important;
  background: transparent !important;
  visibility: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
}
.birles-sirala__chip.is-lifted {
  position: fixed !important;
  z-index: 15000 !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}
.birles-sirala__rack {
  touch-action: none;
}
.birles-sirala__nest.is-correct {
  border-color: #86efac !important;
  background: rgba(16, 120, 60, 0.55) !important;
  box-shadow:
    0 0 0 3px rgba(74, 222, 128, 0.85),
    0 0 22px rgba(74, 222, 128, 0.55) !important;
}
.birles-sirala__nest-check {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 5;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.95rem, 3.8vmin, 1.25rem);
  font-weight: 900;
  line-height: 1;
  color: #052e16;
  background: #4ade80;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  animation: birlesSiralaCheckPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  pointer-events: none;
}
.birles-sirala__chip.is-correct {
  box-shadow:
    0 0 0 3px rgba(74, 222, 128, 0.95),
    0 8px 18px rgba(0, 0, 0, 0.35);
}
.birles-sirala__nest.is-wrong {
  border-color: #fca5a5 !important;
  background: rgba(140, 30, 40, 0.55) !important;
  box-shadow:
    0 0 0 3px rgba(248, 113, 113, 0.9),
    0 0 22px rgba(239, 68, 68, 0.55) !important;
}
.birles-sirala__nest-x {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 5;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.95rem, 3.8vmin, 1.25rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  background: #ef4444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  animation: birlesSiralaCheckPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  pointer-events: none;
}
.birles-sirala__chip.is-wrong {
  box-shadow:
    0 0 0 3px rgba(248, 113, 113, 0.95),
    0 8px 18px rgba(0, 0, 0, 0.35);
  filter: saturate(0.85);
}
@keyframes birlesSiralaCheckPop {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  70% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.birles-sirala__nest {
  position: relative;
  border: 2.5px dashed rgba(255, 245, 200, 0.95) !important;
  background: rgba(8, 28, 48, 0.72) !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(0, 0, 0, 0.25);
}
.birles-sirala.is-success-hold .birles-sirala__rack,
.birles-sirala.is-success-hold .birles-sirala__nests {
  pointer-events: none;
}
.birles-sirala__exit {
  display: none !important;
}
.birles-sirala__board {
  /* dock ?st?nde sar? kutular i?in alt bo?luk (yukar?daki padding-bottom ile ayn?) */
  padding-bottom: calc(var(--birles-dock-h, 72px) + 28px);
}

/* Zirve Ma?aras? ? c?mle kelime s?ralama (ejderha / kristal) */
.birles-sirala--cumle .birles-sirala__flash.is-on {
  display: none !important;
  animation: none !important;
}

.birles-sirala--cumle .birles-sirala__nests {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(96%, 580px);
  margin-top: clamp(40px, 11vh, 130px);
  padding: 10px 12px 12px;
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(8, 24, 52, 0.55), rgba(4, 12, 28, 0.62));
  border: 1.5px solid rgba(125, 211, 252, 0.28);
  box-shadow:
    0 10px 28px rgba(0, 8, 24, 0.45),
    inset 0 1px 0 rgba(186, 230, 253, 0.12);
}

.birles-sirala--cumle .birles-sirala__nest {
  position: relative;
  flex: 0 1 auto;
  min-width: clamp(70px, 19vmin, 104px);
  min-height: clamp(64px, 17vmin, 88px);
  max-width: none;
  aspect-ratio: auto;
  border-radius: 18px 18px 22px 22px !important;
  border: 2.5px solid rgba(56, 189, 248, 0.55) !important;
  background:
    linear-gradient(160deg, rgba(15, 40, 78, 0.82) 0%, rgba(8, 22, 48, 0.88) 55%, rgba(12, 30, 60, 0.9) 100%) !important;
  box-shadow:
    0 0 0 2px rgba(0, 20, 50, 0.45),
    0 8px 18px rgba(0, 12, 40, 0.4),
    inset 0 1px 0 rgba(186, 230, 253, 0.2),
    inset 0 -8px 16px rgba(2, 8, 24, 0.35) !important;
  clip-path: polygon(8% 0, 92% 0, 100% 12%, 100% 88%, 92% 100%, 8% 100%, 0 88%, 0 12%);
}

.birles-sirala--cumle .birles-sirala__nest::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 5px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.85), transparent);
  pointer-events: none;
  opacity: 0.9;
}

.birles-sirala--cumle .birles-sirala__nest.is-target {
  border-color: rgba(74, 222, 128, 0.85) !important;
  box-shadow:
    0 0 0 3px rgba(74, 222, 128, 0.28),
    0 8px 18px rgba(0, 12, 40, 0.4),
    inset 0 0 18px rgba(74, 222, 128, 0.18) !important;
}

.birles-sirala--cumle .birles-sirala__nest.is-filled {
  border-color: rgba(125, 211, 252, 0.75) !important;
  background:
    linear-gradient(160deg, rgba(20, 55, 100, 0.88) 0%, rgba(10, 28, 58, 0.92) 100%) !important;
}

.birles-sirala--cumle .birles-sirala__nest-num {
  color: #7dd3fc;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  font-weight: 900;
}

.birles-sirala--cumle .birles-sirala__nest-slot {
  border-radius: 14px;
}

.birles-sirala--cumle .birles-sirala__rack {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(96%, 580px);
  margin-top: auto;
  margin-bottom: 0;
  padding: 12px 14px;
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(10, 28, 58, 0.72), rgba(6, 14, 32, 0.78));
  border: 1.5px solid rgba(140, 200, 255, 0.28);
  box-shadow:
    0 10px 24px rgba(0, 8, 24, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.birles-sirala--cumle .birles-sirala__chip {
  min-width: clamp(72px, 18vmin, 118px);
  min-height: clamp(52px, 13vmin, 70px);
  padding: 0.15em 0.35em;
  border-radius: 16px 16px 20px 20px;
  border: 2.5px solid rgba(125, 211, 252, 0.7);
  background:
    linear-gradient(165deg, #e0f2fe 0%, #bae6fd 38%, #7dd3fc 72%, #38bdf8 100%);
  color: #0c1929;
  font-size: clamp(1.7rem, 7vmin, 2.45rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 18px rgba(0, 20, 50, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -6px 12px rgba(14, 116, 144, 0.22);
  clip-path: polygon(7% 0, 93% 0, 100% 14%, 100% 86%, 93% 100%, 7% 100%, 0 86%, 0 14%);
}

.birles-sirala--cumle .birles-sirala__chip.is-placed {
  background:
    linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 45%, #bae6fd 100%);
  border-color: rgba(56, 189, 248, 0.85);
  color: #0f172a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 8px rgba(0, 20, 50, 0.25);
}

.birles-sirala--cumle .birles-sirala__chip.is-correct {
  border-color: #4ade80 !important;
  background:
    linear-gradient(165deg, #ecfdf5 0%, #bbf7d0 55%, #86efac 100%) !important;
  color: #14532d !important;
}

.birles-sirala--cumle .birles-sirala__nest.is-correct {
  border-color: #4ade80 !important;
  box-shadow:
    0 0 0 3px rgba(74, 222, 128, 0.3),
    0 8px 18px rgba(0, 12, 40, 0.4),
    inset 0 0 16px rgba(74, 222, 128, 0.2) !important;
}

.birles-sirala--cumle .birles-sirala__nest-check {
  background: linear-gradient(160deg, #4ade80, #16a34a);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.5);
}

/* Patlama c?mlesi ? ejderha patlamas?n?n merkezine, b?y?k okunakl? */
.birles-sirala--cumle .birles-sirala__burst {
  top: 32%;
  font-size: clamp(2.15rem, 9.5vmin, 3.6rem);
  width: min(96vw, 640px);
  text-align: center;
}

.birles-sirala--cumle .birles-sirala__burst.is-boom-in {
  opacity: 1 !important;
  visibility: visible !important;
  animation: birlesSiralaBurstFade 0.55s ease forwards;
}

@keyframes birlesSiralaBurstCumle {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.birles-sirala--cumle .birles-sirala__burst-chip--cumle,
.birles-sirala__burst-chip--cumle {
  display: inline-block;
  /* Kutuya g?re b?y?k yaz?; ASLA alt sat?ra ta?ma */
  font-size: clamp(1.75rem, 6.2vw + 0.35rem, 3.35rem) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  padding: 0.32em 0.5em !important;
  max-width: min(96vw, 720px);
  width: max-content;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  overflow: visible;
  text-overflow: clip;
  border-radius: 18px !important;
  border: 3px solid rgba(125, 211, 252, 0.8) !important;
  background:
    linear-gradient(165deg, rgba(12, 28, 58, 0.62), rgba(6, 14, 32, 0.68)) !important;
  color: #f0f9ff !important;
  box-shadow: none !important;
  letter-spacing: 0.01em;
}

/* ?? Ejder Yuvas? S?ra sende = ilk c?mle sahnesiyle ayn? boyut dili ?? */
.birles-sirala--cumle {
  --birles-dock-h: calc(76px + env(safe-area-inset-bottom, 0px));
}

/* Video tam ekran ? siyah alt ?erit yok */
.birles-sirala--cumle .birles-sirala__stage {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
}

.birles-sirala--cumle .birles-sirala__vid {
  object-fit: cover;
  object-position: center 68%;
}

/* Kompakt k???ltmeyi kald?r ? ilk sahnedeki yaz? ?l?e?ine ?ek */
.birles-sirala--cumle .birles-sirala__nests {
  gap: 8px;
  max-width: min(96%, 520px);
  /* hece/kelime ile ayn? dikey hiza (?st margin ortak kuraldan gelir) */
  margin-top: clamp(40px, 11vh, 130px);
  padding: 10px 12px 12px;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(8, 24, 52, 0.5), rgba(4, 12, 28, 0.55));
}

.birles-sirala--cumle .birles-sirala__nest {
  min-width: clamp(70px, 18vmin, 100px);
  min-height: clamp(58px, 15vmin, 82px);
  border-radius: 16px 16px 20px 20px !important;
}

.birles-sirala--cumle .birles-sirala__nest-num {
  font-size: 0.82rem;
}

.birles-sirala--cumle .birles-sirala__rack {
  gap: 10px;
  max-width: min(96%, 520px);
  margin-top: auto;
  margin-bottom: 0;
  padding: 10px 12px;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(10, 28, 58, 0.65), rgba(6, 14, 32, 0.7));
}

.birles-sirala--cumle .birles-sirala__chip {
  min-width: clamp(76px, 19vmin, 120px);
  min-height: clamp(54px, 14vmin, 72px);
  padding: 0.4em 0.6em;
  font-size: clamp(1.2rem, 4.2vmin, 1.45rem);
  border-radius: 14px 14px 18px 18px;
}

.birles-sirala--cumle .birles-sirala__board {
  padding:
    max(12px, env(safe-area-inset-top, 0px))
    max(12px, env(safe-area-inset-left, 0px) + 10px)
    calc(var(--birles-dock-h, 72px) + 28px)
    max(12px, env(safe-area-inset-right, 0px) + 10px);
}

.birles-sirala--cumle .birles-sirala__replay {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  opacity: 0 !important;
}

/* Cumle dock da ?effaf kals?n ? siyah ?erit yok */
.birles-sirala--cumle .birles-fs-dock__bar {
  gap: 8px;
  padding: 6px 10px max(8px, calc(6px + env(safe-area-inset-bottom, 0px)));
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.birles-sirala--cumle .birles-fs-dock__prog {
  min-width: 44px;
  height: 34px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 0.74rem;
}

.birles-sirala--cumle .birles-fs-dock__btn {
  height: 34px;
  min-width: 34px;
  padding: 0 11px;
  border-radius: 11px;
  font-size: 0.76rem;
  box-shadow:
    0 2px 0 #8eacbf,
    0 4px 10px rgba(0, 0, 0, 0.24);
}

.birles-sirala--cumle .birles-fs-dock__btn--replay {
  width: 34px;
  font-size: 1.05rem;
}

.birles-sirala--cumle .birles-fs-dock__btn--go {
  min-width: 58px;
}

@media (max-width: 480px) {
  .birles-sirala--cumle {
    --birles-dock-h: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .birles-sirala--cumle .birles-sirala__vid {
    object-position: center 72%;
  }
}

/*
 * Zirve Ma?aras? HUD ? video stagebox DI?INDA flex kolon.
 * ?st: geri/X ? c?mle paneli ? hece paneli (?ak??ma yok).
 * Alt: dock ?st?nde ejderler g?r?n?r.
 */
/* Zirve Ma?aras?: ince alt dock */
.birles-play--pool.birles-play--cumle .birles-fs-dock__bar {
  gap: 8px;
  padding: 6px 10px max(8px, calc(6px + env(safe-area-inset-bottom, 0px)));
  background:
    linear-gradient(180deg, rgba(3, 14, 22, 0.28) 0%, rgba(3, 14, 22, 0.88) 48%, #041018 100%);
}

.birles-play--pool.birles-play--cumle .birles-fs-dock__prog {
  min-width: 44px;
  height: 34px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 0.74rem;
}

.birles-play--pool.birles-play--cumle .birles-fs-dock__btn {
  height: 34px;
  min-width: 34px;
  padding: 0 11px;
  border-radius: 11px;
  font-size: 0.76rem;
  box-shadow:
    0 2px 0 #8eacbf,
    0 4px 10px rgba(0, 0, 0, 0.24);
}

.birles-play--pool.birles-play--cumle .birles-fs-dock__btn--replay {
  width: 34px;
  font-size: 1.05rem;
}

.birles-play--pool.birles-play--cumle .birles-fs-dock__btn--go {
  min-width: 58px;
}

.birles-overlay.is-pool-play {
  --birles-head-h: calc(max(36px, env(safe-area-inset-top, 0px) + 14px) + 54px);
  /* Alt dock kald?r?ld? ? Ba?la / kontroller ortada */
  --birles-dock-h: env(safe-area-inset-bottom, 0px);
}

.birles-play--pool.birles-play--cumle {
  --birles-head-h: calc(max(36px, env(safe-area-inset-top, 0px) + 14px) + 54px);
  --birles-dock-h: env(safe-area-inset-bottom, 0px);
}

.birles-play--pool.birles-play--cumle .birles-pool {
  top: 0;
  bottom: var(--birles-dock-h);
  height: auto;
}

.birles-play--pool.birles-play--cumle .birles-pool__vid {
  object-fit: cover;
  object-position: center 68%;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--birles-dock-h, 72px);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding:
    var(--birles-head-h, 90px)
    max(12px, env(safe-area-inset-left, 0px) + 10px)
    10px
    max(12px, env(safe-area-inset-right, 0px) + 10px);
  box-sizing: border-box;
  pointer-events: none;
  overflow: visible;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud > * {
  pointer-events: auto;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-board {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: min(100%, 440px);
  margin: 0;
  z-index: 2;
  flex: 0 0 auto;
  padding: 10px 12px 12px;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(14, 36, 72, 0.92) 0%, rgba(8, 18, 42, 0.94) 100%);
  border: 2.5px solid rgba(125, 211, 252, 0.7);
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.18),
    0 12px 28px rgba(0, 8, 28, 0.5),
    inset 0 1px 0 rgba(186, 230, 253, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  clip-path: polygon(3% 0, 97% 0, 100% 10%, 100% 90%, 97% 100%, 3% 100%, 0 90%, 0 10%);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-board::before {
  display: none;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-board__top {
  margin-bottom: 2px;
  justify-content: flex-end;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-board__kicker {
  display: none !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-board__step {
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(160deg, #38bdf8, #0284c7);
  color: #fff;
  box-shadow: 0 3px 10px rgba(14, 116, 144, 0.4);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-bar {
  padding-top: 6px;
  min-height: 0;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-word {
  min-height: 46px;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(180, 220, 255, 0.3);
  color: #f0f7ff;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-word__text {
  font-size: clamp(1.38rem, 4.8vmin, 1.75rem) !important;
  font-weight: 800;
  color: #f4f9ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-word.is-focus,
.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-word.is-active-now {
  background: linear-gradient(165deg, rgba(253, 224, 71, 0.78) 0%, rgba(245, 158, 11, 0.82) 100%) !important;
  border: 3px solid rgba(255, 252, 230, 0.98) !important;
  box-shadow:
    0 0 0 5px rgba(251, 191, 36, 0.5),
    0 0 26px rgba(251, 191, 36, 0.6),
    0 12px 26px rgba(0, 20, 50, 0.5) !important;
  transform: translateY(-4px) scale(1.14) !important;
  z-index: 6;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-word.is-focus .birles-sentence-word__text,
.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-word.is-active-now .birles-sentence-word__text {
  color: #1a1200 !important;
  font-weight: 900 !important;
  font-size: clamp(1.42rem, 5.2vmin, 1.9rem) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-bar.is-teaching .birles-sentence-word:not(.is-focus):not(.is-active-now):not(.is-read) {
  opacity: 0.32;
  filter: saturate(0.45) brightness(0.78);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-bar.is-teaching .birles-sentence-word.is-read:not(.is-focus):not(.is-active-now) {
  opacity: 0.7;
  filter: none;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-word.is-read {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(74, 222, 128, 0.55);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-dot {
  font-size: clamp(1.2rem, 4vmin, 1.45rem);
  color: rgba(200, 230, 255, 0.85);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-stage {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: min(100%, 400px);
  margin: 0;
  z-index: 2;
  flex: 0 1 auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding: 14px 14px 16px;
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(10, 28, 58, 0.72), rgba(6, 14, 32, 0.78));
  border: 1.5px solid rgba(140, 200, 255, 0.32);
  box-shadow:
    0 12px 28px rgba(0, 8, 24, 0.42),
    inset 0 1px 0 rgba(186, 230, 253, 0.12);
  backdrop-filter: blur(8px);
  clip-path: polygon(4% 0, 96% 0, 100% 12%, 100% 88%, 96% 100%, 4% 100%, 0 88%, 0 12%);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-stage.is-quiet {
  opacity: 0.95;
  min-height: 0;
  padding: 10px 12px;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-mid,
.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-hece-board {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-mid {
  gap: 8px;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-mid__cap {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #93c5fd;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-mid__word {
  padding: 6px 14px;
  border-radius: 12px;
  font-size: clamp(1.28rem, 4.6vmin, 1.65rem) !important;
  background: rgba(15, 40, 80, 0.5);
  border: 1.5px solid rgba(125, 211, 252, 0.45);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-mid__syls {
  gap: 0.55rem;
  padding: 4px 0 0;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-mid__dot {
  font-size: clamp(1.45rem, 5vmin, 1.9rem) !important;
  color: rgba(125, 211, 252, 0.8);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-mid__syl.birles-hece-seg {
  min-width: 2.35em;
  min-height: 2.25em;
  padding: 0.12em 0.28em;
  border-radius: 14px;
  font-size: clamp(2.4rem, 9.5vmin, 3.4rem) !important;
  border-width: 2.5px;
  background: linear-gradient(165deg, #f0f9ff 0%, #bae6fd 100%);
  color: #0c1929;
  box-shadow:
    0 6px 14px rgba(0, 20, 50, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  clip-path: polygon(8% 0, 92% 0, 100% 14%, 100% 86%, 92% 100%, 8% 100%, 0 86%, 0 14%);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-mid__syl.birles-hece-seg.is-on {
  padding: 0.28em 0.55em !important;
  background: linear-gradient(165deg, #fffbeb 0%, #fde68a 100%) !important;
  border-color: #16a34a !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-mid__syl.birles-hece-seg.is-on::after {
  bottom: 0.22em !important;
  height: 4px !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done {
  gap: 10px;
  width: min(100%, 400px);
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__tick {
  width: 58px;
  height: 58px;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__tick svg {
  width: 48px;
  height: 48px;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__label {
  font-size: clamp(1.05rem, 3.6vmin, 1.28rem) !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__box {
  padding: 16px 14px 18px;
  border-radius: 16px;
  border-width: 3px;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__text {
  font-size: clamp(2rem, 8vmin, 2.85rem) !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  white-space: nowrap !important;
}

.birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__word {
  font-size: clamp(2.2rem, 9vmin, 3.1rem) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

.birles-play--pool.birles-play--cumle .birles-fs-dock {
  z-index: 80;
}

@media (max-width: 480px) {
  .birles-overlay.is-pool-play {
    --birles-head-h: calc(max(40px, env(safe-area-inset-top, 0px) + 16px) + 54px);
    --birles-dock-h: env(safe-area-inset-bottom, 0px);
  }

  .birles-play--pool.birles-play--cumle {
    --birles-head-h: calc(max(40px, env(safe-area-inset-top, 0px) + 16px) + 54px);
    --birles-dock-h: env(safe-area-inset-bottom, 0px);
  }

  .birles-overlay.is-pool-play .birles-top {
    padding-top: max(40px, calc(env(safe-area-inset-top, 0px) + 16px));
  }

  .birles-cumle-hud {
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-stage {
    max-height: none;
    overflow: visible;
    padding: 10px 12px 12px;
  }

  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done {
    gap: 8px;
    width: min(100%, 360px);
  }

  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__tick {
    width: 48px;
    height: 48px;
  }

  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__tick svg {
    width: 40px;
    height: 40px;
  }

  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__box {
    padding: 18px 10px 20px;
    min-height: 4.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__text {
    font-size: clamp(2.1rem, 10vw, 2.9rem) !important;
  }

  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__word {
    font-size: clamp(2.05rem, 9.6vw, 2.85rem) !important;
    padding: 0.12em 0.14em !important;
  }

  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-cumle-done__dot {
    font-size: clamp(1.7rem, 8vw, 2.3rem) !important;
  }

  .birles-play--pool.birles-play--cumle .birles-pool__vid {
    object-position: center 72%;
  }
}

/* ?? Ses ekran? tan?t?m turu (SVG mask spotlight ? mobil zoom g?venli) ?? */
.birles-sound-tour {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 13000;
  pointer-events: auto;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.28s ease;
  -webkit-tap-highlight-color: transparent;
}
.birles-sound-tour.is-on {
  opacity: 1;
}
.birles-sound-tour.is-ready .birles-sound-tour__ring,
.birles-sound-tour.is-ready .birles-sound-tour__caption {
  opacity: 1;
}

.birles-sound-tour__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.birles-sound-tour__ring {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  pointer-events: none;
  border: 2.5px solid rgba(255, 214, 102, 0.98);
  box-shadow:
    0 0 0 5px rgba(255, 196, 60, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  opacity: 0;
  transition:
    left 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.28s ease,
    opacity 0.22s ease;
  animation: birlesTourPulse 1.85s ease-in-out infinite;
  will-change: left, top, width, height;
}

@keyframes birlesTourPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255, 196, 60, 0.2), 0 10px 28px rgba(0, 0, 0, 0.28); }
  50% { box-shadow: 0 0 0 8px rgba(255, 196, 60, 0.32), 0 12px 32px rgba(0, 0, 0, 0.3); }
}

.birles-sound-tour__caption {
  position: absolute;
  z-index: 4;
  max-width: calc(100% - 24px);
  padding: 12px 14px 14px;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 252, 245, 0.98) 0%, rgba(255, 244, 220, 0.96) 100%);
  border: 1.5px solid rgba(255, 196, 60, 0.55);
  box-shadow:
    0 14px 36px rgba(8, 16, 32, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: #1b3a4b;
  opacity: 0;
  transition: opacity 0.25s ease, top 0.32s cubic-bezier(0.22, 1, 0.36, 1), left 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  box-sizing: border-box;
}

.birles-sound-tour__step {
  margin: 0 0 4px;
  font-family: Fredoka, "Baloo 2", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c2410c;
}

.birles-sound-tour__title {
  margin: 0;
  font-family: Fredoka, "Baloo 2", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  color: #123447;
}

.birles-sound-tour__sub {
  margin: 4px 0 0;
  font-family: Fredoka, "Baloo 2", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  color: #4a6678;
}

.birles-sound-tour__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.birles-sound-tour__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(27, 58, 75, 0.18);
  transition: background 0.25s ease, width 0.25s ease;
}
.birles-sound-tour__dot.is-done {
  background: rgba(194, 65, 12, 0.45);
}
.birles-sound-tour__dot.is-on {
  width: 18px;
  background: #ea580c;
}

.birles-sound-tour__skip {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: Fredoka, "Baloo 2", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff8eb;
  background: linear-gradient(135deg, rgba(28, 40, 58, 0.94), rgba(15, 23, 42, 0.9));
  box-shadow:
    0 0 0 1.5px rgba(255, 214, 102, 0.45),
    0 10px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.birles-sound-tour__skip:active {
  transform: scale(0.96);
}

/* Vurgu: ?l?ek YOK (?l??m? bozar) ? sadece halka / hafif parlakl?k */
#birlestirelim-overlay .is-tour-focus,
.birles-sound-view .is-tour-focus {
  position: relative;
  z-index: 1;
  filter: brightness(1.05) saturate(1.06);
  transition: filter 0.3s ease;
}

html.birles-tour-active,
body.birles-tour-active {
  overflow: hidden;
}
body.birles-tour-active #birlestirelim-overlay .birles-shell {
  pointer-events: none;
}
body.birles-tour-active #birles-sound-tour {
  pointer-events: auto;
}

/* ?? Sihirli Havuz / Ejder Yuvas?: ?st metin + orta Ba?la / kontroller ?? */
.birles-play-gate {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  /* Geri / X ile ayn? sat?r: top bar padding + buton y?ksekli?i ortas? */
  padding:
    max(36px, calc(env(safe-area-inset-top, 0px) + 14px))
    58px
    max(16px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  box-sizing: border-box;
}

.birles-play-gate__target {
  margin: 0;
  max-width: min(88vw, 560px);
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(2.05rem, 8vw, 3.15rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.03em;
  color: #fffef8;
  text-shadow:
    0 2px 0 rgba(8, 28, 48, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.65),
    0 0 18px rgba(255, 220, 120, 0.35);
  background:
    linear-gradient(180deg, rgba(18, 52, 78, 0.72) 0%, rgba(8, 28, 48, 0.82) 100%);
  box-shadow:
    0 0 0 3px rgba(255, 236, 170, 0.75),
    0 0 0 6px rgba(56, 189, 248, 0.22),
    0 16px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 1;
  transform: translateY(0) scale(1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    filter 0.55s ease;
}

.birles-play--cumle .birles-play-gate__target {
  font-size: clamp(1.55rem, 6.2vw, 2.45rem);
  line-height: 1.22;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.birles-play-gate__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  pointer-events: none;
  position: relative;
}

.birles-play-start {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: min(72vw, 280px);
  min-height: 76px;
  padding: 16px 36px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(1.55rem, 5.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0b3b2e;
  background:
    linear-gradient(180deg, #ffe08a 0%, #ffb703 42%, #fb8500 100%);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.55),
    0 0 0 6px rgba(255, 183, 3, 0.35),
    0 18px 36px rgba(0, 0, 0, 0.32),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
  z-index: 2;
}
.birles-play-start:active {
  transform: scale(0.96);
  filter: brightness(0.98);
}
.birles-play-start[hidden],
.birles-play-start.is-gone {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.birles-play-start__ico {
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 59, 46, 0.12);
  font-size: 0.78em;
  line-height: 1;
}

/* Hece/kelime patlamas?nda ?stteki sabit yaz?lar (hedef + hece panosu) kaybolsun */
.birles-play-gate__target.is-finale-fade,
.birles-play--pool .birles-hece-board.is-finale-fade,
.birles-play--pool .birles-play__narration.is-finale-fade {
  opacity: 0 !important;
  transform: translateY(-12px) scale(0.96) !important;
  filter: blur(2px);
  pointer-events: none !important;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    filter 0.55s ease !important;
  animation: none !important;
}
.birles-play-gate__target.is-finale,
.birles-play--pool .birles-hece-board.is-finale,
.birles-play--pool .birles-play__narration.is-finale {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
}

/* A??l?? bitmeden Ba?la / kontroller g?r?nmesin */
.birles-play--pool.is-booting .birles-play-gate,
.birles-play--pool.is-gate-pending .birles-play-gate,
.birles-body.is-view-booting .birles-play-gate {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.birles-play-ctrls {
  pointer-events: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: min(98vw, 560px);
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}
.birles-play-ctrls[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.birles-play-prog {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  min-width: 54px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 4px 8px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(15, 35, 55, 0.72) 0%, rgba(8, 22, 36, 0.88) 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 236, 170, 0.4),
    0 6px 14px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff8e7;
  font-family: "ComfortaaOkul", "Comfortaa", sans-serif;
  pointer-events: none;
  user-select: none;
  box-sizing: border-box;
}
.birles-play-prog__kind {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1;
}
.birles-play-prog__num {
  font-size: clamp(0.95rem, 3.2vw, 1.12rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.birles-play-ctrl {
  pointer-events: auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  /* TemelYazi dar butonda ta??r?p kesiyor ? Comfortaa ile s??d?r */
  font-family: "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(0.9rem, 3.2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  box-sizing: border-box;
  color: #123447;
  background:
    linear-gradient(180deg, #ffffff 0%, #e8f4ff 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.65),
    0 6px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease, opacity 0.2s ease;
}
.birles-play-ctrl__ico {
  display: block;
  font-size: 0.95em;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5));
}
.birles-play-ctrl__txt {
  display: block;
  line-height: 1;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  font-size: inherit;
}
.birles-play-ctrl__short {
  display: none;
}
.birles-play-ctrl__full {
  display: inline;
}
.birles-play-ctrl--go {
  min-width: 0;
  color: #fffdf7;
  background:
    linear-gradient(180deg, #5eead4 0%, #14b8a6 45%, #0f766e 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.55),
    0 8px 16px rgba(15, 118, 110, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.birles-play-ctrl--all {
  color: #1e3a5f;
  background:
    linear-gradient(180deg, #dbeafe 0%, #93c5fd 100%);
}
.birles-play-ctrl--replay {
  color: #7c2d12;
  background:
    linear-gradient(180deg, #ffedd5 0%, #fdba74 100%);
}
.birles-play-ctrl:not(.is-locked):active {
  transform: scale(0.96);
}
.birles-play-ctrl.is-locked,
.birles-play-ctrl:disabled {
  cursor: default;
  opacity: 0.42;
  filter: grayscale(0.35);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.25),
    0 6px 12px rgba(0, 0, 0, 0.14);
}

/* Ba?lamadan ?nce oyun i?eri?i hi? g?r?nmesin (silik bile de?il) */
.birles-play-gate:not(.is-playing) ~ .birles-pool .birles-pool__ui,
.birles-play:has(.birles-play-gate:not(.is-playing)) .birles-pool__ui,
.birles-play:has(.birles-play-gate:not(.is-playing)) .birles-cumle-hud,
.birles-play:has(.birles-play-gate:not(.is-playing)) .birles-hece-board,
.birles-play:has(.birles-play-gate:not(.is-playing)) .birles-sentence-board,
.birles-play:has(.birles-play-gate:not(.is-playing)) .birles-stage,
.birles-play:has(.birles-play-gate:not(.is-playing)) .birles-tray,
.birles-play:has(.birles-play-gate:not(.is-playing)) .birles-reveal,
.birles-play:has(.birles-play-gate:not(.is-playing)) .birles-play__narration,
.birles-play:has(.birles-play-gate:not(.is-playing)) .birles-pool__burst {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.birles-play:has(.birles-play-gate.is-playing) .birles-pool__ui,
.birles-play:has(.birles-play-gate.is-playing) .birles-cumle-hud {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease;
}

/* Ba?la an?nda video katman? g?r?n?r kals?n ? siyah flash yok */
.birles-play--pool .birles-pool__layer--merge {
  background: #0a3048;
}
.birles-play--pool .birles-pool__vid--merge {
  background: transparent;
}

@media (max-width: 560px) {
  /* ??ren + S?ra Sende: tek ortak alt kontrol ?eridi */
  .birles-play-ctrls,
  .birles-sirala .birles-play-ctrls--sirala,
  .birles-play-gate.is-playing .birles-play-ctrls {
    gap: 6px !important;
    max-width: min(98vw, 560px) !important;
    width: 100% !important;
    padding:
      0 10px
      max(12px, calc(8px + env(safe-area-inset-bottom, 0px))) !important;
    box-sizing: border-box !important;
    align-items: center !important;
    overflow: visible !important;
  }
  .birles-play-ctrl,
  .birles-sirala .birles-play-ctrl,
  .birles-play-gate .birles-play-ctrl {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 8px !important;
    font-family: "ComfortaaOkul", "Comfortaa", sans-serif !important;
    font-size: clamp(0.82rem, 3.3vw, 0.95rem) !important;
    font-weight: 800 !important;
    gap: 4px !important;
    border-radius: 14px !important;
    overflow: visible !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    align-self: center !important;
  }
  .birles-play-prog,
  .birles-sirala .birles-play-prog,
  .birles-play-gate .birles-play-prog {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    min-width: 48px !important;
    max-width: 56px !important;
    padding: 4px 6px !important;
    flex: 0 0 auto !important;
    border-radius: 14px !important;
    align-self: center !important;
  }
  .birles-play-ctrl__ico,
  .birles-sirala .birles-play-ctrl__ico,
  .birles-play-gate .birles-play-ctrl__ico {
    display: block !important;
    font-size: 0.95em !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }
  .birles-play-ctrl__txt,
  .birles-sirala .birles-play-ctrl__txt,
  .birles-play-gate .birles-play-ctrl__txt {
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: 1em !important;
    line-height: 1 !important;
    letter-spacing: -0.01em;
  }
  .birles-play-ctrl__full {
    display: none !important;
  }
  .birles-play-ctrl__short {
    display: inline !important;
  }
  .birles-sirala .birles-fs-dock--playctrls {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 420px) {
  .birles-play-ctrls,
  .birles-sirala .birles-play-ctrls--sirala,
  .birles-play-gate.is-playing .birles-play-ctrls {
    gap: 5px !important;
    padding:
      0 8px
      max(10px, calc(6px + env(safe-area-inset-bottom, 0px))) !important;
  }
  .birles-play-prog,
  .birles-sirala .birles-play-prog,
  .birles-play-gate .birles-play-prog {
    min-width: 44px !important;
    max-width: 52px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 3px 4px !important;
    border-radius: 12px !important;
  }
  .birles-play-prog__kind {
    font-size: 0.48rem;
    letter-spacing: 0.01em;
  }
  .birles-play-prog__num {
    font-size: 0.74rem;
  }
  .birles-play-ctrl,
  .birles-sirala .birles-play-ctrl,
  .birles-play-gate .birles-play-ctrl {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 6px !important;
    font-size: clamp(0.78rem, 3.4vw, 0.9rem) !important;
    gap: 3px !important;
    border-radius: 12px !important;
  }
  .birles-play-ctrl__ico,
  .birles-sirala .birles-play-ctrl__ico,
  .birles-play-gate .birles-play-ctrl__ico {
    display: block !important;
    font-size: 0.9em !important;
  }
  .birles-play-ctrl__txt {
    overflow: visible !important;
    font-size: 1em !important;
    line-height: 1 !important;
  }
  .birles-play-ctrl__full {
    display: none !important;
  }
  .birles-play-ctrl__short {
    display: inline !important;
  }
  .birles-play-start {
    min-height: 68px;
    min-width: min(82vw, 260px);
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
  }
  .birles-play-gate__target {
    max-width: min(84vw, 480px);
    min-height: 48px;
    padding: 10px 16px;
    font-size: clamp(1.75rem, 7.4vw, 2.35rem);
  }
  .birles-play--cumle .birles-play-gate__target {
    font-size: clamp(1.4rem, 5.8vw, 1.95rem);
  }
  .birles-cumle-mid__word {
    font-size: clamp(1.5rem, 6.2vmin, 1.9rem);
  }
  .birles-cumle-mid__syl.birles-hece-seg {
    font-size: clamp(2.35rem, 9.5vmin, 3.3rem);
    min-width: 2.35em;
    min-height: 2.3em;
    padding: 0.12em 0.28em;
  }
  .birles-sirala--cumle .birles-sirala__burst-chip--cumle,
  .birles-sirala__burst-chip--cumle {
    font-size: clamp(1.55rem, 5.5vw + 0.25rem, 2.75rem) !important;
    padding: 0.28em 0.42em !important;
    max-width: min(96vw, 520px);
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    line-height: 1.05 !important;
  }
  .birles-play--pool.birles-play--cumle .birles-pool__burst,
  .birles-play--pool.birles-play--cumle .birles-pool__burst.is-boom-in {
    font-size: clamp(1.85rem, 9.5vmin, 3.1rem);
    max-width: min(96vw, 420px);
  }
}

/* Oyun ba?lay?nca kontrolleri alta kayd?r ? S?ra Sende dock ile ayn? konum */
.birles-play-gate.is-playing {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}
.birles-play-gate.is-playing .birles-play-gate__center {
  justify-content: flex-end;
  padding-bottom: 0;
  width: 100%;
}
.birles-play-gate.is-playing .birles-play-ctrls {
  pointer-events: none;
  max-width: min(98vw, 560px);
  width: 100%;
  padding:
    0 10px
    max(12px, calc(8px + env(safe-area-inset-bottom, 0px)));
  box-sizing: border-box;
  gap: 8px;
}
.birles-play-gate.is-playing .birles-play-ctrl,
.birles-play-gate.is-playing .birles-play-prog {
  pointer-events: auto;
}

/* C?mlede oynarken ?stte c?mle panosu kals?n ? hedef balonu gizle */
.birles-play--cumle .birles-play-gate.is-playing .birles-play-gate__target {
  visibility: hidden;
  height: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

/* Lane giri? sesi ? hece/kelime/c?mle hedefi + Ba?la vurgusu */
@keyframes birles-intro-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.12); }
}
@keyframes birles-intro-glow {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(255, 236, 170, 0.55),
      0 14px 34px rgba(0, 0, 0, 0.28),
      0 0 28px rgba(255, 200, 80, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(255, 236, 170, 0.95),
      0 16px 40px rgba(0, 0, 0, 0.3),
      0 0 42px rgba(255, 183, 3, 0.65);
  }
}
.birles-play-gate__target.is-intro-hl {
  animation: birles-intro-pulse 1.1s ease-in-out infinite, birles-intro-glow 1.1s ease-in-out infinite;
  color: #fff8e1;
  z-index: 3;
}
.birles-play-start.is-intro-hl {
  animation: birles-intro-pulse 1.1s ease-in-out infinite;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.75),
    0 0 0 10px rgba(255, 183, 3, 0.55),
    0 22px 44px rgba(0, 0, 0, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.6);
  z-index: 3;
}

/* ?? Kelime: sabit ?st kelime varken hecelenmi? ye?il panoyu asla g?sterme ?? */
.birles-play:has(.birles-play-gate) .birles-hece-board,
.birles-play--kelime .birles-hece-board {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ?? Telefon / d???k g??: havuz + s?ra sende + hub performans ?? */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .birles-play--pool .birles-hece-board,
  .birles-play-gate__target,
  .birles-sirala .birles-play-ctrls--sirala,
  .birles-play--pool .birles-pool__boot,
  .birles-play--pool .birles-card__face,
  .birles-play--pool.birles-play--cumle .birles-sentence-board,
  .birles-play--pool.birles-play--cumle .birles-cumle-hud .birles-sentence-board,
  .birles-kristal__close,
  .birles-play-gate__target {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Intro/tutor pulse kapat ? patlama kelimesi animasyonu KALSIN */
  .birles-play-gate__target.is-intro-hl,
  .birles-play-start.is-intro-hl,
  .birles-sirala__nest.is-tutor-pulse,
  .birles-sirala__chip.is-tutor-pulse {
    animation: none !important;
    filter: none !important;
  }

  .birles-play--pool .birles-pool__layer,
  .birles-sirala__layer {
    will-change: auto !important;
  }

  .birles-play--pool .birles-pool__vid,
  .birles-sirala__vid,
  .birles-kristal__video,
  .birles-flower__mascot,
  .birles-ses-evreni__vid {
    transform: translateZ(0);
  }

  /* Yuvarlak ortadaki mascot: daha hafif, daha h?zl? a??l?r */
  .birles-flower__mascot {
    width: 112% !important;
    height: 112% !important;
    filter: none !important;
  }

  .birles-flower__center {
    box-shadow: 0 8px 22px rgba(22, 50, 79, 0.18) !important;
  }

  .birles-flower-petal {
    animation-duration: 0.32s !important;
    animation-delay: calc(var(--i, 0) * 0.028s) !important;
  }

  .birles-flower-arena__spark {
    animation: none !important;
    opacity: 0.45;
  }

  .birles-groups-scene__nebula {
    filter: blur(18px) !important;
    animation: none !important;
    opacity: 0.5;
  }

  .birles-groups-scene__cloud {
    animation: none !important;
  }

  /* Ses hub harf: drop-shadow filtreleri yerine text-shadow */
  .birles-ses-evreni__letter-wrap {
    filter: none !important;
  }

  .birles-ses-evreni__letter {
    -webkit-text-stroke: 3.5px rgba(255, 252, 245, 0.98);
    text-shadow:
      0 0 8px rgba(255, 248, 230, 0.95),
      0 2px 6px rgba(18, 40, 70, 0.55),
      0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .birles-ses-evreni__lower {
    -webkit-text-stroke: 2px rgba(255, 252, 245, 0.96);
  }

  .birles-lane-card {
    content-visibility: visible;
    contain: none;
    isolation: auto;
    background: color-mix(in srgb, var(--lane) 8%, #fffefb);
    box-shadow: none;
    transition: opacity 0.12s ease;
    filter: none !important;
  }

  .birles-lane-card::before {
    box-shadow: none;
  }

  .birles-lane-card:hover,
  .birles-lane-card:focus-visible {
    transform: none;
    filter: none !important;
    box-shadow: none;
  }

  .birles-lane-card:active {
    transform: none;
    opacity: 0.92;
  }

  .birles-lane-card.is-starred {
    box-shadow: none;
  }

  .birles-lane-card__ico {
    box-shadow: none;
  }

  .birles-lane-card__go {
    transition: opacity 0.12s ease;
    box-shadow: none;
  }

  .birles-lane-card__go::before {
    display: none;
  }

  .birles-lane-card:hover .birles-lane-card__go,
  .birles-lane-card:focus-visible .birles-lane-card__go {
    filter: none;
    transform: none;
  }

  .birles-lane-card.is-starred .birles-lane-card__go,
  .birles-lane-card__go.is-replay {
    box-shadow: none;
  }

  .birles-lane-card__star-pin {
    filter: none;
  }

  .birles-lane-card__star-pin-glow {
    display: none !important;
    animation: none !important;
  }

  .birles-flower-petal__orb {
    box-shadow:
      0 6px 14px rgba(22, 50, 79, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  }

  /* Animasyon kapal? ortamlarda bile patlama kelimesi g?r?ns?n */
  .birles-pool__burst.is-boom-in,
  .birles-pool__burst.is-rise,
  .birles-sirala__burst.is-boom-in {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
  }
  .birles-sirala__burst.is-boom-in {
    transform: translate(-50%, -50%) !important;
  }
}

/* ?? Rakam ??retimi (BONUS) ?? */
.birles-rakam-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: #5b3410;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(165deg, #fffaf0 0%, #fef3c7 38%, #fcd34d 78%, #f59e0b 100%);
  box-shadow:
    0 0 0 1px rgba(180, 83, 9, 0.22),
    0 0 0 2px rgba(255, 255, 255, 0.65) inset,
    0 8px 16px rgba(146, 64, 14, 0.18);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.birles-rakam-btn:hover,
.birles-rakam-btn:focus-visible {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.03);
  box-shadow:
    0 0 0 1px rgba(180, 83, 9, 0.3),
    0 0 0 2px rgba(255, 255, 255, 0.75) inset,
    0 10px 20px rgba(146, 64, 14, 0.24);
}

.birles-rakam-btn__ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(160deg, #ffffff 0%, #fff7ed 100%);
  box-shadow:
    0 0 0 1px rgba(180, 83, 9, 0.16),
    0 3px 7px rgba(146, 64, 14, 0.14);
}

.birles-rakam-btn__ico svg {
  display: block;
}

.birles-rakam-btn__title {
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #78350f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.birles-rakam-btn__sub,
.birles-rakam-btn--hero small {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: rgba(120, 53, 15, 0.78);
}

.birles-rakam-btn--hero {
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  border-radius: 18px;
  padding: 10px 10px;
  font-size: 1.28rem;
  line-height: 1.1;
  min-height: 0;
}

.birles-sound-hero--evren .birles-rakam-btn--hero {
  flex: 1 1 0;
}

.birles-rakam {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 2px 2px 8px;
  box-sizing: border-box;
}

/* Body: rakam ekran? tam y?kseklik ? alt beyaz bo?luk kalmas?n */
.birles-body:has(> .birles-rakam) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 2px 8px 8px;
  overflow: hidden;
  background: #122438;
}

.birles-overlay:has(.birles-rakam--playing) .birles-top {
  padding-bottom: 4px;
}

/* ?lk a??l?? ? ortalanm?? Ba?la kart? */
.birles-rakam--gate {
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding: 12px;
}

.birles-rakam--gate .birles-rakam__intro {
  flex: 0 0 auto;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 28px 20px 24px;
  gap: 14px;
}

.birles-rakam--gate .birles-rakam__stage,
.birles-rakam--gate .birles-rakam__progress,
.birles-rakam--gate .birles-rakam__foot,
.birles-rakam--gate .birles-rakam__loader,
.birles-rakam--gate .birles-rakam__skip {
  display: none !important;
}

.birles-rakam--apple-play.birles-rakam--loading .birles-rakam__loader,
.birles-rakam--write-play.birles-rakam--loading .birles-rakam__loader {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

/* Ba?la sonras? ? intro tamamen yok, sahne dolu */
.birles-rakam--playing {
  position: relative;
  gap: 6px;
  padding: 0;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.birles-rakam--playing .birles-rakam__intro {
  display: none !important;
}

.birles-rakam--playing .birles-rakam__stage {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  border-radius: 18px;
}

.birles-rakam__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 18px 14px 16px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.92));
  border: 2px solid color-mix(in srgb, var(--chip, #2a9d8f) 28%, transparent);
  box-shadow: 0 10px 24px rgba(22, 50, 79, 0.08);
}

.birles-rakam__intro-badge {
  display: grid;
  place-items: center;
  width: clamp(52px, 14vw, 64px);
  height: clamp(52px, 14vw, 64px);
  border-radius: 16px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  background: linear-gradient(165deg, var(--chip, #2a9d8f), color-mix(in srgb, var(--chip, #2a9d8f) 65%, #16324f));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--chip, #2a9d8f) 35%, transparent);
}

.birles-rakam__intro-title {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.2rem, 4.2vw, 1.45rem);
  font-weight: 800;
  color: #123247;
  letter-spacing: 0.02em;
}

.birles-rakam__intro-lead {
  display: none;
}

.birles-rakam__start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: min(56vw, 200px);
  min-height: 46px;
  margin-top: 4px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  color: #0b2838;
  background: linear-gradient(180deg, #ffe08a, #ffb703 48%, #fb8500);
  box-shadow: 0 8px 20px rgba(22, 50, 79, 0.18);
}

.birles-rakam__start-ico {
  display: inline-flex;
  width: 1.1em;
  height: 1.1em;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 40, 56, 0.12);
  font-size: 0.72em;
}

.birles-rakam__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #122438;
  box-shadow: none;
}

.birles-rakam__loader {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  width: 100%;
  min-height: 100%;
  background: rgba(18, 36, 56, 0.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.birles-rakam--loading .birles-rakam__loader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.birles-rakam--loading .birles-rakam__stage {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.birles-rakam__loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(72vw, 210px);
  padding: 22px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 224, 138, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(10px) scale(0.96);
  opacity: 0.85;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.birles-rakam--loading .birles-rakam__loader-card {
  transform: none;
  opacity: 1;
}

.birles-rakam__loader-spin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3.5px solid rgba(255, 224, 138, 0.22);
  border-top-color: #ffe08a;
  animation: birlesRakamSpin 0.75s linear infinite;
  will-change: transform;
}

.birles-rakam__loader-text {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.95rem, 3.6vw, 1.12rem);
  font-weight: 800;
  color: #ffe08a;
  letter-spacing: 0.02em;
}

@keyframes birlesRakamSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .birles-rakam__loader {
    /* Telefon: t?m rakam alan?n? kapla, g?venli alanlara sayg? */
    position: absolute;
    inset: 0;
    min-height: min(70dvh, 100%);
  }

  .birles-rakam__loader-card {
    min-width: min(82vw, 200px);
    padding: 20px 24px;
    gap: 12px;
  }

  .birles-rakam__loader-spin {
    width: 40px;
    height: 40px;
  }
}

.birles-rakam--write-play .birles-rakam__progress,
.birles-rakam--write-play .birles-rakam__foot {
  display: none !important;
}

.birles-rakam--write-play .birles-rakam__stage {
  overflow: visible;
}

.birles-rakam__stage--apple {
  min-height: min(calc(100dvh - 118px), 760px);
  background: #1a120e;
}

.birles-rakam--playing .birles-rakam__stage--apple {
  min-height: 0;
  flex: 1 1 auto;
}

.birles-rakam--playing .birles-rakam-scene--apple {
  padding: 0 0 52px;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.birles-rakam--playing .birles-rakam-apple__board {
  width: auto;
  max-width: 100%;
  max-height: calc(100% - 4px);
  height: auto;
  flex: 0 1 auto;
  aspect-ratio: 768 / 1376;
  border-radius: 12px;
  margin: 0 auto;
}

.birles-rakam__stage.is-step-in {
  opacity: 0;
  transform: scale(0.94) translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-rakam__stage.is-step-active {
  opacity: 1;
  transform: none;
}

.birles-rakam__stage.is-step-out {
  opacity: 0;
  transform: scale(0.97) translateY(-10px);
  transition: opacity 0.48s ease, transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}

.birles-rakam__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 8px 4px;
  flex: 0 0 auto;
}

/* TEMP test skip ? sonra kald?r */
.birles-rakam__skip {
  position: absolute;
  right: 10px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 80;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0b2838;
  background: rgba(255, 224, 138, 0.95);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  -webkit-tap-highlight-color: transparent;
}

.birles-rakam__skip[hidden] {
  display: none !important;
}

.birles-rakam__pip {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease, background 0.25s ease;
}

.birles-rakam__pip.is-live {
  transform: scale(1.35);
  background: var(--chip, #2a9d8f);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip, #2a9d8f) 30%, transparent);
}

.birles-rakam__pip.is-done {
  background: #22c55e;
}

.birles-rakam__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* display:flex [hidden] ua kural?n? ezer ? telefonda foot hep g?r?n?yordu */
.birles-rakam__foot[hidden],
.birles-rakam__progress[hidden],
.birles-rakam__stage[hidden],
.birles-rakam__intro[hidden] {
  display: none !important;
}

.birles-rakam--apple-play .birles-rakam__progress,
.birles-rakam--apple-play .birles-rakam__foot {
  display: none !important;
}

.birles-rakam__replay,
.birles-rakam__back {
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-weight: 800;
}

.birles-rakam__replay {
  color: #0b2838;
  background: linear-gradient(180deg, #ffe08a, #ffb703);
}

.birles-rakam__back {
  color: rgba(20, 52, 71, 0.75);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(20, 52, 71, 0.12);
}

.birles-rakam-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px 24px;
}

.birles-rakam-scene__caption {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  font-weight: 800;
  color: #e8f4ff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.birles-rakam-scene__sub {
  margin: -6px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(200, 230, 255, 0.82);
}

/* ?? Kedi ad?m? ?? */
.birles-rakam-scene--cat {
  background: #1a2f4a;
  overflow: hidden;
  gap: 10px;
  padding: 12px 10px 16px;
}

.birles-rakam-scene--cat[data-count="5"],
.birles-rakam-scene--cat[data-count="6"],
.birles-rakam-scene--cat[data-count="7"],
.birles-rakam-scene--cat[data-count="8"],
.birles-rakam-scene--cat[data-count="9"] {
  gap: 6px;
  padding: 8px 8px 12px;
}

.birles-rakam-cat__glow,
.birles-rakam-car__glow,
.birles-rakam-fin__glow,
.birles-rakam-fin__rays,
.birles-rakam-fin__burst {
  display: none !important;
}

.birles-rakam-cat__frame {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  animation: birlesRakamCatIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-rakam-cat__frame--multi[data-count="7"],
.birles-rakam-cat__frame--multi[data-count="8"],
.birles-rakam-cat__frame--multi[data-count="9"] {
  padding: 8px;
  border-radius: 20px;
}

.birles-rakam-cat__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 16px);
  max-width: 100%;
}

.birles-rakam-cat__frame--multi[data-count="3"] .birles-rakam-cat__row,
.birles-rakam-cat__frame--multi[data-count="4"] .birles-rakam-cat__row {
  gap: clamp(6px, 1.8vw, 12px);
}

.birles-rakam-cat__frame--multi[data-count="5"] .birles-rakam-cat__row,
.birles-rakam-cat__frame--multi[data-count="6"] .birles-rakam-cat__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 1.4vw, 10px);
  max-width: min(94vw, 340px);
}

.birles-rakam-cat__frame--multi[data-count="7"] .birles-rakam-cat__row,
.birles-rakam-cat__frame--multi[data-count="8"] .birles-rakam-cat__row,
.birles-rakam-cat__frame--multi[data-count="9"] .birles-rakam-cat__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(4px, 1.2vw, 8px);
  max-width: min(92vw, 320px);
  max-height: min(54vh, 420px);
}

.birles-rakam-cat__num {
  display: grid;
  place-items: center;
  margin: 10px auto 0;
  min-width: clamp(52px, 15vw, 76px);
  min-height: clamp(52px, 15vw, 76px);
  border-radius: 18px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  color: #0f2940;
  background: linear-gradient(165deg, #fff8e1 0%, #ffe08a 55%, #fbbf24 100%);
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.45) translateY(10px);
  pointer-events: none;
}

.birles-rakam-cat__num[hidden] {
  display: none !important;
}

.birles-rakam-cat__num.is-on {
  display: grid;
  animation: birlesRakamCatNumIn 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-rakam-cat__frame--multi .birles-rakam-cat__img {
  width: min(34vw, 140px);
}

.birles-rakam-cat__frame--multi[data-count="2"] .birles-rakam-cat__img,
.birles-rakam-cat__frame--multi[data-count="3"] .birles-rakam-cat__img {
  width: min(30vw, 120px);
}

.birles-rakam-cat__frame--multi[data-count="4"] .birles-rakam-cat__img {
  width: min(26vw, 108px);
}

.birles-rakam-cat__frame--multi[data-count="5"] .birles-rakam-cat__img,
.birles-rakam-cat__frame--multi[data-count="6"] .birles-rakam-cat__img {
  width: 100%;
  max-width: min(24vw, 96px);
  margin: 0 auto;
}

.birles-rakam-cat__frame--multi[data-count="7"] .birles-rakam-cat__img,
.birles-rakam-cat__frame--multi[data-count="8"] .birles-rakam-cat__img,
.birles-rakam-cat__frame--multi[data-count="9"] .birles-rakam-cat__img {
  width: 100%;
  max-width: min(22vw, 88px);
  margin: 0 auto;
}

.birles-rakam-cat__img {
  display: block;
  width: min(72vw, 260px);
  height: auto;
  max-height: min(28vh, 220px);
  border-radius: 20px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.birles-rakam-cat__frame--multi[data-count="7"] .birles-rakam-cat__img,
.birles-rakam-cat__frame--multi[data-count="8"] .birles-rakam-cat__img,
.birles-rakam-cat__frame--multi[data-count="9"] .birles-rakam-cat__img {
  max-height: min(16vh, 110px);
  border-radius: 14px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.birles-rakam-cat__bubble {
  position: relative;
  z-index: 2;
  max-width: min(92%, 320px);
  margin-top: 4px;
  padding: 14px 18px 12px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  animation: birlesRakamPop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.birles-rakam-scene--cat[data-count="7"] .birles-rakam-cat__bubble,
.birles-rakam-scene--cat[data-count="8"] .birles-rakam-cat__bubble,
.birles-rakam-scene--cat[data-count="9"] .birles-rakam-cat__bubble {
  margin-top: 2px;
  padding: 10px 14px 9px;
}

.birles-rakam-cat__ask {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.35;
  color: #123247;
}

.birles-rakam-scene--cat[data-count="7"] .birles-rakam-cat__ask,
.birles-rakam-scene--cat[data-count="8"] .birles-rakam-cat__ask,
.birles-rakam-scene--cat[data-count="9"] .birles-rakam-cat__ask {
  font-size: clamp(0.95rem, 3.6vw, 1.18rem);
}

.birles-rakam-cat__hint {
  margin: 6px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(18, 50, 71, 0.62);
}

@keyframes birlesRakamCatIn {
  from {
    opacity: 0;
    transform: scale(0.82) translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes birlesRakamCatGlow {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* ?? Parmak ad?m? ?? */
.birles-rakam-scene--finger {
  background: radial-gradient(circle at 50% 12%, rgba(255, 180, 120, 0.2), transparent 50%),
    linear-gradient(180deg, #142238 0%, #1c3148 100%);
}

.birles-rakam-finger__lead {
  margin: 0 0 4px;
  max-width: 20rem;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  font-weight: 700;
  color: rgba(232, 244, 255, 0.92);
}

.birles-rakam-finger__lead strong {
  font-size: 1.15em;
  color: #fde047;
}

.birles-rakam-finger__stage {
  position: relative;
  width: min(78vw, 260px);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.birles-rakam-finger__img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
  animation: birlesRakamFingerIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-rakam-finger__num {
  display: grid;
  place-items: center;
  min-width: clamp(52px, 15vw, 76px);
  min-height: clamp(52px, 15vw, 76px);
  border-radius: 18px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  color: #0f2940;
  background: linear-gradient(165deg, #fff8e1 0%, #ffe08a 55%, #fbbf24 100%);
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.45) translateY(10px);
  pointer-events: none;
}

.birles-rakam-finger__num[hidden] {
  display: none !important;
}

.birles-rakam-finger__num.is-on {
  display: grid;
  animation: birlesRakamCarNumIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Eski ok+rozet vurgu ? kullan?lm?yor */
.birles-rakam-finger__callout {
  display: none !important;
}

.birles-rakam-finger__badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #0f2940;
  background: #fde047;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  order: 2;
}

.birles-rakam-finger__arrow {
  width: 52px;
  height: auto;
  overflow: visible;
  order: 1;
  margin-right: -2px;
  animation: birlesRakamArrowBounce 1.1s ease-in-out 1.9s infinite;
}

.birles-rakam-finger__arrow-line {
  fill: none;
  stroke: #ff6b35;
  stroke-width: 4.5;
  stroke-linecap: round;
}

@keyframes birlesRakamCalloutIn {
  from {
    opacity: 0;
    transform: translate(10px, 0) scale(0.86);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes birlesRakamFingerIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes birlesRakamFingerPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes birlesRakamArrowBounce {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-4px, -3px);
  }
}

@keyframes birlesRakamPop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ?? Araba ad?m? ?? */
.birles-rakam-scene--car {
  justify-content: center;
  gap: 8px;
  padding: 10px 10px 14px;
  background: #122538;
  overflow: hidden;
}

.birles-rakam-scene--car[data-count="5"],
.birles-rakam-scene--car[data-count="6"],
.birles-rakam-scene--car[data-count="7"],
.birles-rakam-scene--car[data-count="8"],
.birles-rakam-scene--car[data-count="9"] {
  gap: 6px;
  padding: 8px 8px 10px;
}

.birles-rakam-car__glow {
  position: absolute;
  left: 50%;
  top: 36%;
  width: min(78vw, 340px);
  height: min(52vw, 220px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 220, 210, 0.28), transparent 70%);
  pointer-events: none;
  animation: birlesRakamCatGlow 2.6s ease-in-out infinite;
}

.birles-rakam-car__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(94%, 440px);
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.birles-rakam-car__fleet {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 3vw, 20px);
  width: 100%;
}

.birles-rakam-car__fleet--multi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(6px, 1.6vw, 12px) clamp(8px, 2vw, 14px);
  align-items: end;
  justify-items: center;
  width: 100%;
  max-height: min(62vh, 560px);
}

.birles-rakam-car__fleet--multi[data-count="3"],
.birles-rakam-car__fleet--multi[data-count="5"],
.birles-rakam-car__fleet--multi[data-count="6"],
.birles-rakam-car__fleet--multi[data-count="7"],
.birles-rakam-car__fleet--multi[data-count="8"],
.birles-rakam-car__fleet--multi[data-count="9"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: min(58vh, 520px);
}

.birles-rakam-car__fleet--multi[data-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.birles-rakam-car__slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.birles-rakam-car__fleet--multi .birles-rakam-car__img {
  max-width: 100%;
  max-height: min(22vh, 160px);
  width: auto;
}

.birles-rakam-car__fleet--multi[data-count="5"] .birles-rakam-car__img,
.birles-rakam-car__fleet--multi[data-count="6"] .birles-rakam-car__img {
  max-height: min(16vh, 120px);
}

.birles-rakam-car__fleet--multi[data-count="7"] .birles-rakam-car__img,
.birles-rakam-car__fleet--multi[data-count="8"] .birles-rakam-car__img,
.birles-rakam-car__fleet--multi[data-count="9"] .birles-rakam-car__img {
  max-height: min(13.5vh, 108px);
}

.birles-rakam-car__num {
  display: grid;
  place-items: center;
  margin-top: 0;
  min-width: clamp(48px, 14vw, 72px);
  min-height: clamp(48px, 14vw, 72px);
  padding: 0 0.12em;
  border-radius: 18px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  color: #0f2940;
  background: linear-gradient(165deg, #fff8e1 0%, #ffe08a 55%, #fbbf24 100%);
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.45) translateY(10px);
  pointer-events: none;
}

.birles-rakam-car__fleet--multi .birles-rakam-car__num {
  min-width: clamp(34px, 8.5vw, 48px);
  min-height: clamp(34px, 8.5vw, 48px);
  border-radius: 12px;
  border-width: 2px;
  font-size: clamp(1.25rem, 5vw, 1.85rem);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.birles-rakam-car__fleet--multi[data-count="7"] .birles-rakam-car__num,
.birles-rakam-car__fleet--multi[data-count="8"] .birles-rakam-car__num,
.birles-rakam-car__fleet--multi[data-count="9"] .birles-rakam-car__num {
  min-width: clamp(30px, 7.5vw, 42px);
  min-height: clamp(30px, 7.5vw, 42px);
  font-size: clamp(1.1rem, 4.4vw, 1.55rem);
  border-radius: 10px;
}

.birles-rakam-car__num[hidden] {
  display: none !important;
}

.birles-rakam-car__num.is-on {
  display: grid;
  animation: birlesRakamCarNumIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-rakam-car__img {
  display: block;
  width: 100%;
  max-width: min(88vw, 400px);
  height: auto;
  max-height: min(46vh, 340px);
  object-fit: contain;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.55));
  animation: birlesRakamCatIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes birlesRakamCarNumIn {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(16px);
  }
  70% {
    opacity: 1;
    transform: scale(1.08) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes birlesRakamCatNumIn {
  0% {
    opacity: 0;
    transform: scale(0.82) translateY(6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.birles-rakam-car__bubble {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-width: min(94%, 360px);
  margin-top: 2px;
  padding: 14px 18px 12px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(56, 200, 190, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  animation: birlesRakamPop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.birles-rakam-scene--car[data-count="5"] .birles-rakam-car__bubble,
.birles-rakam-scene--car[data-count="6"] .birles-rakam-car__bubble,
.birles-rakam-scene--car[data-count="7"] .birles-rakam-car__bubble,
.birles-rakam-scene--car[data-count="8"] .birles-rakam-car__bubble,
.birles-rakam-scene--car[data-count="9"] .birles-rakam-car__bubble {
  padding: 10px 14px 9px;
  border-radius: 16px;
}

.birles-rakam-car__ask {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  font-weight: 900;
  line-height: 1.35;
  color: #123247;
}

.birles-rakam-scene--car[data-count="5"] .birles-rakam-car__ask,
.birles-rakam-scene--car[data-count="6"] .birles-rakam-car__ask,
.birles-rakam-scene--car[data-count="7"] .birles-rakam-car__ask,
.birles-rakam-scene--car[data-count="8"] .birles-rakam-car__ask,
.birles-rakam-scene--car[data-count="9"] .birles-rakam-car__ask {
  font-size: clamp(0.95rem, 3.4vw, 1.15rem);
}

@media (max-width: 420px) {
  .birles-rakam-car__img {
    max-height: min(40vh, 280px);
  }
  .birles-rakam-car__fleet--multi .birles-rakam-car__img {
    max-height: min(18vh, 130px);
  }
  .birles-rakam-car__fleet--multi[data-count="7"] .birles-rakam-car__img,
  .birles-rakam-car__fleet--multi[data-count="8"] .birles-rakam-car__img,
  .birles-rakam-car__fleet--multi[data-count="9"] .birles-rakam-car__img {
    max-height: min(12vh, 96px);
  }
  .birles-rakam-car__num {
    min-width: 58px;
    min-height: 58px;
    font-size: 2.6rem;
  }
  .birles-rakam-car__fleet--multi .birles-rakam-car__num {
    min-width: 36px;
    min-height: 36px;
    font-size: 1.35rem;
  }
}

@media (min-width: 900px) {
  .birles-rakam-car__stage {
    width: min(72%, 480px);
  }
  .birles-rakam-car__img {
    max-height: min(48vh, 380px);
  }
  .birles-rakam-car__fleet--multi[data-count="7"] .birles-rakam-car__img,
  .birles-rakam-car__fleet--multi[data-count="8"] .birles-rakam-car__img,
  .birles-rakam-car__fleet--multi[data-count="9"] .birles-rakam-car__img {
    max-height: min(15vh, 130px);
  }
}

/* ?? Kalem sayma ad?m? ?? */
.birles-rakam--pencil-play .birles-rakam__stage--pencil {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 236, 179, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, #fff8e7 0%, #f3e7c8 48%, #e8d7a8 100%);
}

.birles-rakam-scene--pencil {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 6px 10px max(12px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow: hidden;
}

.birles-rakam-pencil__stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 4px 0;
}

.birles-rakam-pencil__fleet {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(6px, 2vw, 14px);
  width: 100%;
  max-width: 560px;
}

.birles-rakam-pencil__fleet--multi[data-count="5"],
.birles-rakam-pencil__fleet--multi[data-count="6"],
.birles-rakam-pencil__fleet--multi[data-count="7"],
.birles-rakam-pencil__fleet--multi[data-count="8"],
.birles-rakam-pencil__fleet--multi[data-count="9"] {
  gap: clamp(4px, 1.4vw, 10px);
}

.birles-rakam-pencil__slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transition: transform 0.28s ease;
}

.birles-rakam-pencil__slot.is-counted {
  transform: translateY(-4px) scale(1.04);
}

.birles-rakam-pencil__img {
  display: block;
  width: auto;
  height: auto;
  max-height: min(42vh, 280px);
  max-width: min(28vw, 120px);
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(60, 40, 10, 0.22));
  user-select: none;
  -webkit-user-drag: none;
}

.birles-rakam-pencil__fleet--multi .birles-rakam-pencil__img {
  max-height: min(32vh, 200px);
  max-width: min(18vw, 88px);
}

.birles-rakam-pencil__fleet--multi[data-count="5"] .birles-rakam-pencil__img,
.birles-rakam-pencil__fleet--multi[data-count="6"] .birles-rakam-pencil__img {
  max-height: min(28vh, 170px);
  max-width: min(14vw, 72px);
}

.birles-rakam-pencil__fleet--multi[data-count="7"] .birles-rakam-pencil__img,
.birles-rakam-pencil__fleet--multi[data-count="8"] .birles-rakam-pencil__img,
.birles-rakam-pencil__fleet--multi[data-count="9"] .birles-rakam-pencil__img {
  max-height: min(24vh, 140px);
  max-width: min(11vw, 58px);
}

.birles-rakam-pencil__num {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 6px;
  border-radius: 14px;
  transform: translate(-50%, -50%) scale(0.6);
  background: linear-gradient(165deg, #fff9e8, #ffe08a 55%, #f5c518);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #5a3a08;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(90, 60, 10, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.birles-rakam-pencil__fleet--multi .birles-rakam-pencil__num {
  min-width: 30px;
  min-height: 30px;
  font-size: 1.1rem;
  border-radius: 10px;
}

.birles-rakam-pencil__num[hidden] {
  display: none !important;
}

.birles-rakam-pencil__num.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.birles-rakam-pencil__bubble {
  flex: 0 0 auto;
  max-width: min(92%, 420px);
  padding: 8px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(232, 178, 58, 0.45);
  box-shadow: 0 6px 16px rgba(90, 60, 10, 0.1);
}

.birles-rakam-pencil__ask {
  margin: 0;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.95rem, 3.4vw, 1.2rem);
  font-weight: 800;
  color: #4a3210;
  letter-spacing: 0.01em;
}

.birles-rakam-pencil__answer-row {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px 4px 8px;
  z-index: 8;
}

.birles-rakam-pencil__box {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: min(58vw, 200px);
  min-height: clamp(56px, 13vmin, 70px);
  padding: 10px 16px;
  border-radius: 20px;
  border: 3px dashed rgba(90, 140, 200, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  box-shadow:
    0 8px 0 rgba(70, 120, 180, 0.18),
    0 12px 22px rgba(40, 80, 140, 0.12);
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.birles-rakam-pencil__box:active {
  transform: scale(0.97);
}

.birles-rakam-pencil__box-ico {
  font-size: 1.45rem;
  line-height: 1;
}

.birles-rakam-pencil__box-val {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.7rem, 6.2vw, 2.2rem);
  font-weight: 900;
  color: #1e4a7a;
  min-width: 1.2em;
  text-align: center;
  line-height: 1;
}

.birles-rakam-pencil__box-hint {
  display: block;
  width: 100%;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(0.72rem, 2.6vw, 0.88rem);
  font-weight: 700;
  color: #5a7fa8;
  line-height: 1.2;
}

.birles-rakam-scene--pencil.is-pencil-answered .birles-rakam-pencil__box {
  border-style: solid;
  border-color: #4ea0e8;
  background: linear-gradient(180deg, #fff 0%, #dff0ff 100%);
}

.birles-rakam-scene--pencil.is-pencil-answered .birles-rakam-pencil__box-hint {
  display: none;
}

.birles-rakam-scene--pencil.is-pencil-answered .birles-rakam-pencil__box-ico {
  display: none;
}

.birles-rakam-pencil__box.is-ok {
  border-color: #3cb86a;
  background: linear-gradient(180deg, #f3fff6, #c8f5d4);
}

.birles-rakam-pencil__box.is-ok .birles-rakam-pencil__box-val {
  color: #166534;
}

.birles-rakam-pencil__box.is-bad {
  border-color: #e87373;
  background: linear-gradient(180deg, #fff5f5, #ffd6d6);
  animation: birlesRakamShake 0.45s ease;
}

.birles-rakam-scene--pencil.is-pencil-shake .birles-rakam-pencil__box {
  animation: birlesRakamShake 0.45s ease;
}

.birles-rakam-pencil__pad {
  position: absolute;
  left: 50%;
  bottom: max(88px, calc(env(safe-area-inset-bottom, 0px) + 82px));
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(88%, 300px);
  padding: 12px;
  border-radius: 22px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(100, 160, 220, 0.45);
  box-shadow:
    0 16px 36px rgba(30, 70, 120, 0.22),
    0 0 0 6px rgba(255, 255, 255, 0.35);
}

.birles-rakam-pencil__pad[hidden] {
  display: none !important;
}

.birles-rakam-pencil__digit {
  appearance: none;
  display: grid;
  place-items: center;
  min-height: clamp(46px, 11vmin, 58px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(165deg, #eaf5ff 0%, #b9dcfa 55%, #7eb8ef 100%);
  color: #13406a;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(50, 110, 170, 0.28);
  transition: transform 0.12s ease, filter 0.15s ease;
}

.birles-rakam-pencil__digit:active {
  transform: scale(0.94);
}

.birles-rakam-pencil__digit.is-on {
  background: linear-gradient(165deg, #fff6c8, #f0c43a 55%, #d9a012);
  color: #5a3a08;
  box-shadow: 0 4px 0 rgba(150, 110, 20, 0.3);
}

/* ?? Elma s?r?kle ad?m? ?? */
.birles-rakam-scene--apple {
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 0 58px;
  background: #1a120e;
  touch-action: none;
  overflow: hidden;
}

.birles-rakam-apple__lead {
  display: none;
}

.birles-rakam-apple__board {
  position: relative;
  flex: 0 0 auto;
  width: min(100%, calc((100% - 4px) * 768 / 1376));
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 768 / 1376;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.birles-rakam-apple__bg {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* tahta oran = g?rsel oran ? bozulma / siyah bar yok */
  object-fit: fill;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  background: #1a120e;
}

.birles-rakam-apple__pick {
  position: absolute;
  /* dolu sepet (sol-orta) ? g?rsele g?re */
  left: 5%;
  top: 24%;
  width: 54%;
  height: 34%;
  padding: 0;
  border: 0;
  border-radius: 28% 28% 36% 36%;
  background: transparent;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 4;
}

.birles-rakam-apple__fruit {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  pointer-events: auto;
  z-index: 8;
}

.birles-rakam-apple__fruit.is-placed {
  cursor: grab;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  z-index: 6;
}

.birles-rakam-apple__drop {
  position: absolute;
  /* ?n bo? tepsi ? g?rsele g?re, parmak i?in biraz geni? */
  left: 14%;
  top: 52%;
  width: 72%;
  height: 30%;
  border-radius: 46%;
  border: none;
  background: transparent;
  pointer-events: none;
  transition: box-shadow 0.25s ease;
  z-index: 3;
}

.birles-rakam-apple__drop .birles-rakam-apple__fruit {
  pointer-events: auto;
}

.birles-rakam-apple__pick.is-hint {
  box-shadow: inset 0 0 0 3px rgba(255, 200, 80, 0.65);
  animation: birlesRakamPickHint 0.85s ease;
}

@keyframes birlesRakamPickHint {
  0%,
  100% {
    background: transparent;
  }
  50% {
    background: rgba(255, 200, 80, 0.12);
  }
}

.birles-rakam-apple__fruit img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.birles-rakam-apple__fruit.is-dragging {
  cursor: grabbing;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.birles-rakam-apple__fruit.is-dragging img {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.birles-rakam-apple__drop.is-success {
  box-shadow: inset 0 0 0 3px rgba(34, 197, 94, 0.55);
}

.birles-rakam-apple__drop.is-shake {
  animation: birlesRakamShake 0.48s ease;
}

.birles-rakam-apple__msg {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
}

.birles-rakam-apple__msg.is-ok {
  background: rgba(22, 163, 74, 0.92);
}

.birles-rakam-apple__msg.is-bad {
  background: rgba(220, 38, 38, 0.88);
}

.birles-rakam-scene--apple.is-apple-ready .birles-rakam__kontrol {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.birles-rakam__kontrol {
  position: absolute;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(120px, 38vw, 200px);
  height: clamp(42px, 10vmin, 52px);
  margin: 0;
  padding: 0 1.1em;
  border: 2px solid rgba(210, 245, 255, 0.88);
  border-radius: 999px;
  transform: translateX(-50%) translateY(8px) scale(0.92);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(165deg, #7ef0ff 0%, #2ec8e8 42%, #1288b8 100%);
  color: #062838;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.85rem, 3vmin, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.birles-rakam__kontrol-shine {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 66%
  );
  transform: translateX(-60%);
  animation: birlesKristalKontrolShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.birles-rakam__kontrol-label {
  position: relative;
  z-index: 1;
}

.birles-rakam__kontrol:active:not(:disabled) {
  transform: translateX(-50%) scale(0.94);
}

.birles-rakam-scene--apple.is-apple-ok .birles-rakam__kontrol {
  background: linear-gradient(165deg, #86efac, #22c55e 55%, #15803d);
  color: #052e16;
}

@keyframes birlesRakamShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}

.birles-rakam-scene--write {
  padding: 2px 4px 4px;
  gap: 6px;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #122438;
  box-sizing: border-box;
}

.birles-rakam-scene--write .birles-rakam__write {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-height: 0;
  max-height: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.birles-rakam-scene--write .birles-rakam__svg {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 200 / 228;
}

.birles-rakam-write-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: 100%;
  max-width: 420px;
  margin-top: 4px;
  padding: 0 10px max(10px, env(safe-area-inset-bottom, 0px));
  animation: birlesRakamChoiceIn 0.35s ease both;
  z-index: 5;
}

.birles-rakam-write-choice[hidden] {
  display: none !important;
}

@keyframes birlesRakamChoiceIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.birles-rakam-write-choice__btn {
  flex: 1 1 140px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.95rem, 3.2vw, 1.05rem);
  font-weight: 800;
  -webkit-tap-highlight-color: transparent;
}

.birles-rakam-write-choice__btn--replay {
  color: #0b2838;
  background: linear-gradient(180deg, #ffe08a, #ffb703);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.birles-rakam-write-choice__btn--next {
  color: #ecfeff;
  background: linear-gradient(180deg, #34d399, #059669);
  box-shadow: 0 6px 14px rgba(5, 150, 105, 0.35);
}

.birles-rakam-scene--practice {
  padding: 2px 4px 4px;
  background: #122438;
  gap: 4px;
  overflow: hidden;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.birles-rakam-scene--practice .birles-rakam__write {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-height: 0;
  max-height: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.birles-rakam-scene--practice .birles-rakam__svg {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 200 / 228;
  touch-action: none;
}

.birles-rakam-practice__title {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1rem, 3.6vw, 1.25rem);
  font-weight: 900;
  color: #ffe08a;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.birles-rakam-practice__hint {
  margin: 0;
  min-height: 1.2em;
  font-size: clamp(0.85rem, 3vw, 1rem);
  font-weight: 700;
  color: rgba(232, 244, 255, 0.88);
}

.birles-rakam-practice__hint.is-ok {
  color: #86efac;
}

.birles-rakam-practice__hint.is-bad {
  color: #fca5a5;
}

.birles-rakam__hit {
  cursor: crosshair;
  touch-action: none;
}

.birles-rakam__write--practice .birles-rakam__stroke {
  stroke: #16a34a;
}

.birles-rakam-scene--celebrate {
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 12px 10px 16px;
  overflow: hidden;
  background: #122538;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.birles-rakam-fin__glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(78vw, 340px);
  height: min(78vw, 340px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 120, 0.35), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  animation: birlesRakamFinGlow 2.8s ease-in-out infinite;
}

.birles-rakam-fin__rays {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(92vw, 420px);
  height: min(92vw, 420px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 224, 140, 0.14) 0deg 8deg,
    transparent 8deg 22deg
  );
  mask-image: radial-gradient(circle, transparent 28%, #000 46%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, transparent 28%, #000 46%, transparent 72%);
  pointer-events: none;
  animation: birlesRakamFinSpin 18s linear infinite;
  opacity: 0.7;
}

.birles-rakam-fin__burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.birles-rakam-fin__burst i {
  position: absolute;
  top: -12%;
  width: 9px;
  height: 14px;
  border-radius: 3px;
  opacity: 0;
  animation: birlesRakamFinFall 2.6s ease-in infinite;
}

.birles-rakam-fin__burst i:nth-child(1) {
  left: 8%;
  background: #fde047;
  animation-delay: 0s;
}
.birles-rakam-fin__burst i:nth-child(2) {
  left: 18%;
  width: 7px;
  height: 11px;
  background: #86efac;
  animation-delay: 0.35s;
}
.birles-rakam-fin__burst i:nth-child(3) {
  left: 28%;
  background: #7dd3fc;
  animation-delay: 0.7s;
}
.birles-rakam-fin__burst i:nth-child(4) {
  left: 38%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb923c;
  animation-delay: 0.15s;
}
.birles-rakam-fin__burst i:nth-child(5) {
  left: 48%;
  background: #f472b6;
  animation-delay: 0.9s;
}
.birles-rakam-fin__burst i:nth-child(6) {
  left: 58%;
  background: #fde047;
  animation-delay: 0.45s;
}
.birles-rakam-fin__burst i:nth-child(7) {
  left: 68%;
  width: 6px;
  height: 12px;
  background: #34d399;
  animation-delay: 1.1s;
}
.birles-rakam-fin__burst i:nth-child(8) {
  left: 76%;
  background: #38bdf8;
  animation-delay: 0.25s;
}
.birles-rakam-fin__burst i:nth-child(9) {
  left: 84%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fbbf24;
  animation-delay: 0.6s;
}
.birles-rakam-fin__burst i:nth-child(10) {
  left: 12%;
  background: #fda4af;
  animation-delay: 1.3s;
}
.birles-rakam-fin__burst i:nth-child(11) {
  left: 52%;
  background: #a7f3d0;
  animation-delay: 1.55s;
}
.birles-rakam-fin__burst i:nth-child(12) {
  left: 92%;
  background: #fcd34d;
  animation-delay: 0.8s;
}

.birles-rakam-fin {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  max-width: min(94%, 440px);
  width: 100%;
  padding: 10px 12px;
}

.birles-rakam-fin__eyebrow {
  margin: 0 0 4px;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 236, 190, 0.72);
  animation: birlesRakamFinFade 0.7s ease both;
}

.birles-rakam-fin__badge {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(168px, 46vw, 230px);
  height: clamp(168px, 46vw, 230px);
  margin: 4px 0 2px;
  animation: birlesRakamFinBadge 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.birles-rakam-fin__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(251, 191, 36, 0.55);
  box-shadow:
    0 0 0 10px rgba(251, 191, 36, 0.08),
    inset 0 0 28px rgba(255, 240, 180, 0.25);
  animation: birlesRakamFinPulse 2.4s ease-in-out infinite;
}

.birles-rakam-fin__ring--2 {
  inset: 10%;
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: none;
  animation-delay: 0.4s;
}

.birles-rakam-fin__digit {
  position: relative;
  z-index: 1;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(5rem, 22vw, 6.4rem);
  font-weight: 900;
  line-height: 1;
  color: #fff8e7;
  text-shadow:
    0 2px 0 rgba(180, 100, 20, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(255, 200, 80, 0.45);
}

.birles-rakam-fin__word {
  margin: 2px 0 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffe08a;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  animation: birlesRakamFinFade 0.7s ease 0.28s both;
}

.birles-rakam-fin__title {
  margin: 10px 0 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(2.2rem, 9vw, 2.9rem);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  animation: birlesRakamFinTitle 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.birles-rakam-fin__sub {
  margin: 0;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(0.98rem, 3.6vw, 1.15rem);
  font-weight: 700;
  color: rgba(220, 240, 255, 0.88);
  animation: birlesRakamFinFade 0.7s ease 0.5s both;
}

.birles-rakam-fin__stars {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  color: #fbbf24;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.birles-rakam-fin__stars span {
  display: inline-block;
  animation: birlesRakamFinStar 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-rakam-fin__stars span:nth-child(1) {
  animation-delay: 0.55s;
}
.birles-rakam-fin__stars span:nth-child(2) {
  animation-delay: 0.7s;
  font-size: 1.25em;
  color: #fde047;
}
.birles-rakam-fin__stars span:nth-child(3) {
  animation-delay: 0.85s;
}

@keyframes birlesRakamFinGlow {
  0%,
  100% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes birlesRakamFinSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes birlesRakamFinFall {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(110vh) rotate(220deg);
  }
}

@keyframes birlesRakamFinBadge {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  70% {
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes birlesRakamFinPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes birlesRakamFinTitle {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes birlesRakamFinFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes birlesRakamFinStar {
  from {
    opacity: 0;
    transform: scale(0.3) rotate(-20deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.birles-rakam-scene__digit-pop {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(3rem, 12vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  animation: birlesRakamPop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.birles-rakam-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 32px 18px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(224, 242, 254, 0.95));
  border: 3px solid rgba(186, 230, 253, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: birlesRakamCardIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birles-rakam-card--win {
  background: linear-gradient(165deg, #fffbeb, #fde68a);
  border-color: #fbbf24;
}

.birles-rakam-card__num {
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(3.5rem, 14vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: #0f2940;
}

.birles-rakam-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--chip, #2a9d8f) 70%, #16324f);
}

@keyframes birlesRakamCardIn {
  from {
    opacity: 0;
    transform: scale(0.82) translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.birles-rakam-confetti span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: birlesRakamConfetti 1.8s ease-out infinite;
}

.birles-rakam-confetti span:nth-child(1) {
  left: 18%;
  top: 12%;
  background: #fde047;
  animation-delay: 0s;
}
.birles-rakam-confetti span:nth-child(2) {
  left: 72%;
  top: 18%;
  background: #7dd3fc;
  animation-delay: 0.2s;
}
.birles-rakam-confetti span:nth-child(3) {
  left: 44%;
  top: 8%;
  background: #86efac;
  animation-delay: 0.35s;
}
.birles-rakam-confetti span:nth-child(4) {
  left: 82%;
  top: 28%;
  background: #f472b6;
  animation-delay: 0.5s;
}
.birles-rakam-confetti span:nth-child(5) {
  left: 28%;
  top: 22%;
  background: #fb923c;
  animation-delay: 0.65s;
}

@keyframes birlesRakamConfetti {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(80px) rotate(180deg);
  }
}

.birles-rakam__write {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
}

.birles-rakam__svg {
  display: block;
  width: 100%;
  height: auto;
}

.birles-rakam__paper {
  fill: #fffef9;
  stroke: rgba(20, 52, 71, 0.08);
  stroke-width: 1;
}

.birles-rakam__band--top {
  fill: #eceff3;
}

.birles-rakam__band--mid {
  fill: #ffffff;
}

.birles-rakam__band--bot {
  fill: #f7f0c8;
}

.birles-rakam__band--under {
  fill: #ffffff;
}

.birles-rakam__guide {
  stroke: #2a2a2a;
  stroke-width: 2;
  stroke-dasharray: none;
}

.birles-rakam__guide--mid {
  stroke: #4a4a4a;
  stroke-width: 1.75;
  stroke-dasharray: 5 4;
}

.birles-rakam__ghost {
  stroke: rgba(40, 40, 40, 0.16);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

.birles-rakam__stroke {
  stroke: #1a1a1a;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  shape-rendering: geometricPrecision;
}

.birles-rakam__stroke.is-live {
  stroke: #16a34a;
}

.birles-rakam__stroke.is-done {
  stroke: #111111;
}

.birles-rakam__dot-ring {
  fill: #fde047;
  stroke: #ca8a04;
  stroke-width: 2;
}

/* SVG g: hidden attribute g?venilir de?il ? sadece aktif hamle g?r?ns?n */
.birles-rakam__dot[hidden],
.birles-rakam__dot:not(.is-on) {
  display: none !important;
}

.birles-rakam__dot.is-on {
  display: inline !important;
}

.birles-rakam__dot-num {
  font-family: "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: 11px;
  font-weight: 900;
  fill: #713f12;
  text-anchor: middle;
  dominant-baseline: central;
}

@media (max-width: 640px) {
  .birles-sound-hero--evren .birles-izle-btn--hero,
  .birles-sound-hero--evren .birles-yaz-btn--hero,
  .birles-sound-hero--evren .birles-rakam-btn--hero {
    flex: 1 1 calc(33% - 8px);
    min-height: 0;
    padding: 8px 6px;
    font-size: 1.12rem;
    gap: 1px;
  }

  .birles-sound-hero--evren .birles-izle-btn--hero .birles-izle-btn__ico,
  .birles-sound-hero--evren .birles-yaz-btn--hero .birles-yaz-btn__ico,
  .birles-sound-hero--evren .birles-rakam-btn--hero .birles-rakam-btn__ico {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }

  .birles-sound-hero--evren .birles-izle-btn--hero small,
  .birles-sound-hero--evren .birles-yaz-btn--hero small,
  .birles-sound-hero--evren .birles-rakam-btn--hero small,
  .birles-sound-hero--evren .birles-rakam-btn__sub {
    font-size: 0.82rem;
  }

  .birles-sound-hero--evren .birles-rakam-btn__title {
    font-size: 1.05rem;
  }

  .birles-body:has(> .birles-rakam) {
    padding: 0 4px 4px;
  }

  .birles-rakam--playing .birles-rakam__stage {
    border-radius: 14px;
  }

  .birles-rakam-cat__frame--multi[data-count="7"] .birles-rakam-cat__row,
  .birles-rakam-cat__frame--multi[data-count="8"] .birles-rakam-cat__row,
  .birles-rakam-cat__frame--multi[data-count="9"] .birles-rakam-cat__row {
    max-width: min(96vw, 300px);
    max-height: min(48vh, 360px);
    gap: 4px;
  }

  .birles-rakam-cat__frame--multi[data-count="7"] .birles-rakam-cat__img,
  .birles-rakam-cat__frame--multi[data-count="8"] .birles-rakam-cat__img,
  .birles-rakam-cat__frame--multi[data-count="9"] .birles-rakam-cat__img {
    max-width: min(28vw, 84px);
    max-height: min(14vh, 96px);
  }

  .birles-rakam-scene--write .birles-rakam__write,
  .birles-rakam-scene--practice .birles-rakam__write {
    width: 100%;
  }

  .birles-rakam-scene--write .birles-rakam__svg,
  .birles-rakam-scene--practice .birles-rakam__svg {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .birles-rakam-write-choice {
    gap: 8px;
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  .birles-rakam-write-choice__btn {
    flex: 1 1 120px;
    min-height: 46px;
    padding: 11px 14px;
  }

  .birles-rakam-fin__badge {
    width: clamp(180px, 52vw, 240px);
    height: clamp(180px, 52vw, 240px);
  }

  .birles-rakam-fin__stars {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
    margin-top: 16px;
  }

  .birles-rakam--playing .birles-rakam-scene--apple {
    padding: 0 0 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birles-rakam-cat__frame,
  .birles-rakam-cat__glow,
  .birles-rakam-cat__bubble,
  .birles-rakam-finger__img,
  .birles-rakam-finger__callout,
  .birles-rakam-finger__arrow,
  .birles-rakam-finger__badge,
  .birles-rakam-scene__digit-pop,
  .birles-rakam-card,
  .birles-rakam-confetti span {
    animation: none !important;
  }
  .birles-rakam__stage.is-step-in,
  .birles-rakam__stage.is-step-out {
    transition: none !important;
  }

  .birles-rakam__loader-spin {
    animation: none !important;
    border-top-color: #ffe08a;
    opacity: 0.85;
  }
}

/* === Tema son override (sonraki kurallar? ezer) === */
.birles-sirala--cumle .birles-sirala__nests {
  border-color: rgba(251, 146, 60, 0.5) !important;
  background:
    linear-gradient(165deg, rgba(67, 20, 7, 0.58), rgba(28, 10, 4, 0.65)) !important;
}
.birles-sirala--cumle .birles-sirala__nest {
  border-color: rgba(251, 146, 60, 0.8) !important;
  background:
    linear-gradient(160deg, rgba(154, 52, 18, 0.9) 0%, rgba(67, 20, 7, 0.92) 55%, rgba(40, 12, 4, 0.94) 100%) !important;
  box-shadow:
    0 0 0 2px rgba(60, 20, 0, 0.35),
    inset 0 1px 0 rgba(254, 215, 170, 0.2) !important;
}
.birles-sirala--cumle .birles-sirala__nest::before {
  background: linear-gradient(90deg, transparent, rgba(253, 186, 116, 0.55), transparent) !important;
}
.birles-sirala--cumle .birles-sirala__nest.is-target {
  border-color: #fb923c !important;
  background:
    linear-gradient(160deg, rgba(234, 88, 12, 0.6), rgba(124, 45, 18, 0.8)) !important;
}
.birles-sirala--cumle .birles-sirala__rack {
  border-color: rgba(251, 146, 60, 0.4) !important;
  background:
    linear-gradient(165deg, rgba(67, 20, 7, 0.68), rgba(28, 10, 4, 0.75)) !important;
}
.birles-sirala--cumle .birles-sirala__chip {
  border-color: rgba(253, 186, 116, 0.9) !important;
  background:
    linear-gradient(165deg, #ffedd5 0%, #fdba74 38%, #fb923c 72%, #ea580c 100%) !important;
  color: #7c2d12 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  box-shadow: none !important;
}
.birles-sirala--cumle .birles-sirala__chip.is-placed {
  background:
    linear-gradient(165deg, #fff7ed 0%, #ffedd5 45%, #fed7aa 100%) !important;
  border-color: rgba(249, 115, 22, 0.85) !important;
  color: #9a3412 !important;
}
.birles-sirala--cumle .birles-play-ctrl--go,
.birles-play--pool.birles-play--cumle .birles-play-ctrl--go {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 48%, #c2410c 100%) !important;
  color: #fffefb !important;
  box-shadow: none !important;
}

/* ??ren / S?ra Sende se?im + yar?m y?ld?z */
.birles-mode-choice {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 4px 24px;
  max-width: 520px;
  margin: 0 auto;
  box-sizing: border-box;
}
.birles-mode-choice__lead {
  margin: 4px 2px 0;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  font-size: clamp(1.05rem, 3.8vw, 1.28rem);
  font-weight: 800;
  color: rgba(22, 50, 79, 0.72);
  text-align: center;
}
.birles-mode-choice__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.birles-mode-choice__grid:has(.birles-mode-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.birles-mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 148px;
  padding: 18px 12px 16px;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  font-family: "TemelYazi", "ComfortaaOkul", "Comfortaa", sans-serif;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.7),
    0 10px 22px rgba(22, 50, 79, 0.14);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.birles-mode-card:active {
  transform: scale(0.97);
}
.birles-mode-card--ogren {
  color: #0f4c5c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(165deg, #e0f7fa 0%, #67e8f9 55%, #0ea5e9 100%);
}
.birles-mode-card--sirala {
  color: #7c2d12;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(165deg, #ffedd5 0%, #fdba74 55%, #f97316 100%);
}
/* Ejder Yuvas? da ayn? renkler: ??ren cyan, S?ra Sende turuncu */
.birles-mode-choice--cumle .birles-mode-card--ogren {
  color: #0f4c5c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(165deg, #e0f7fa 0%, #67e8f9 55%, #0ea5e9 100%);
}
.birles-mode-choice--cumle .birles-mode-card--sirala {
  color: #7c2d12;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(165deg, #ffedd5 0%, #fdba74 55%, #f97316 100%);
}
.birles-mode-card__ico {
  font-size: 1.85rem;
  line-height: 1;
}
.birles-mode-card__title {
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  font-weight: 900;
  line-height: 1.1;
}
.birles-mode-card__sub {
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.82;
  text-align: center;
  line-height: 1.2;
}
.birles-mode-card__count {
  margin-top: 4px;
  min-width: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.55);
}
.birles-mode-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 1.5px rgba(251, 191, 36, 0.45),
    0 6px 14px rgba(146, 64, 14, 0.18);
}
/* Tamamlanan b?l?m: i?erik soluk, y?ld?z belirgin */
.birles-mode-card.is-done {
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, 0.55),
    0 8px 18px rgba(22, 50, 79, 0.1);
}
.birles-mode-card.is-done .birles-mode-card__ico,
.birles-mode-card.is-done .birles-mode-card__title,
.birles-mode-card.is-done .birles-mode-card__sub,
.birles-mode-card.is-done .birles-mode-card__count {
  opacity: 0.38;
  filter: grayscale(0.35);
}
.birles-mode-card.is-done .birles-mode-card__badge {
  opacity: 1;
  filter: none;
  transform: scale(1.12);
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, 0.95),
    0 0 16px rgba(251, 191, 36, 0.55),
    0 8px 16px rgba(146, 64, 14, 0.22);
}
.birles-mode-choice__hint,
.birles-mode-choice__done {
  margin: 0;
  text-align: center;
  font-weight: 800;
  font-size: 1.02rem;
  color: #92400e;
}
.birles-mode-choice__done {
  color: #a16207;
}

/* Sar? yar?m y?ld?z ? sol kart sol yar?, sa? kart sa? yar? */
.birles-star-badge__svg {
  display: block;
  overflow: visible;
}
.birles-star-badge__base {
  fill: #e7e5e4;
  stroke: #a8a29e;
  stroke-width: 0.9;
  stroke-linejoin: round;
}
.birles-star-badge__paint {
  fill: #fbbf24;
  stroke: #d97706;
  stroke-width: 0.9;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(180, 83, 9, 0.25));
}
.birles-star-badge--left .birles-star-badge__paint {
  clip-path: inset(0 50% 0 0);
}
.birles-star-badge--right .birles-star-badge__paint {
  clip-path: inset(0 0 0 50%);
}
.birles-star-badge.is-lit .birles-star-badge__paint {
  fill: #f59e0b;
  stroke: #b45309;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.85));
}
.birles-star-badge--pin {
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
}
.birles-lane-card.is-half-starred .birles-lane-card__go {
  color: #92400e;
}

@media (max-width: 420px) {
  .birles-mode-choice__grid {
    gap: 10px;
  }
  .birles-mode-card {
    min-height: 132px;
    padding: 14px 10px 12px;
    border-radius: 18px;
  }
  .birles-mode-card__title {
    font-size: 1.28rem;
  }
  .birles-mode-card__sub {
    font-size: 0.82rem;
  }
  .birles-mode-card__badge {
    width: 36px;
    height: 36px;
  }
  .birles-star-badge__svg {
    width: 24px;
    height: 24px;
  }
}
.birles-play--pool:not(.birles-play--cumle) .birles-play-ctrl--go,
.birles-sirala:not(.birles-sirala--cumle) .birles-play-ctrl--go {
  background: linear-gradient(180deg, #67e8f9 0%, #0ea5e9 48%, #0369a1 100%) !important;
  color: #fffefb !important;
  box-shadow: none !important;
}
.birles-play--pool:not(.birles-play--cumle) .birles-hece-board {
  border-color: #38bdf8 !important;
}
.birles-metin-view .birles-play-ctrl--go,
.birles-metin-view .birles-play-start,
.birles-metin-view .birles-btn--go {
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 50%, #15803d 100%) !important;
  color: #fffefb !important;
  box-shadow: none !important;
}
