/* İFÖP 11. Sınıf 1. Hafta — Etkinlikler kesin serbest ekran (v1.0.28) */
body.ifop-g11w1-free-activity {
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.ifop-g11w1-free-activity .sdf-activity-page[data-sdf-activity] {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

body.ifop-g11w1-free-activity .sdf-activity-page[data-sdf-activity] .sdf-week-slide {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  padding: clamp(10px, 2vw, 28px) !important;
  overflow: visible !important;
}

body.ifop-g11w1-free-activity .sdf-activity-master-shell {
  width: min(1580px, calc(100vw - 20px)) !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: clamp(58px, 5vw, 72px) clamp(14px, 3vw, 44px) 28px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  backdrop-filter: none !important;
}

body.ifop-g11w1-free-activity .sdf-activity-master-shell [data-sdf-activity-screen] {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.ifop-g11w1-free-activity .sdf-activity-master-shell [data-sdf-activity-screen]:not(.is-active) {
  display: none !important;
}

body.ifop-g11w1-free-activity .sdf-activity-master-shell [data-sdf-activity-screen].is-active {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  gap: clamp(14px, 1.5vw, 22px) !important;
}

/* İç scroll üretebilecek içerik konteynerleri doğal document akışına bırakılır. */
body.ifop-g11w1-free-activity .sdf-activity-master-shell [data-sdf-activity-screen].is-active :where(
  div, section, aside, article, main, form, ul, ol
) {
  max-height: none !important;
  overflow-y: visible !important;
  overscroll-behavior-y: auto !important;
}

body.ifop-g11w1-free-activity .sdf-activity-master-shell :is(
  .sdf-activity-table-wrap,
  .sdf-issue-table-wrap,
  .sdf-crossword-scroll,
  .sdf-crossword-clue-scroll,
  .sdf-plastic-final,
  .sdf-plastic-stage-viewport,
  .sdf-wheel-opinions,
  .sdf-wheel-opinion-scroll-wrap,
  .sdf-wheel-opinion-list
) {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  overscroll-behavior: auto !important;
  touch-action: auto !important;
  scrollbar-width: none !important;
}

body.ifop-g11w1-free-activity .sdf-activity-master-shell :is(
  .sdf-activity-table-wrap,
  .sdf-issue-table-wrap,
  .sdf-crossword-scroll,
  .sdf-crossword-clue-scroll,
  .sdf-wheel-opinion-scroll-wrap,
  .sdf-wheel-opinion-list
)::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.ifop-g11w1-free-activity .sdf-wheel-opinion-scrollbar,
body.ifop-g11w1-free-activity .sdf-wheel-opinion-scrollbar-thumb {
  display: none !important;
}

body.ifop-g11w1-free-activity .sdf-wheel-opinion-list {
  display: grid !important;
  grid-auto-rows: max-content !important;
  gap: 9px !important;
  padding: 11px !important;
  margin: 0 !important;
}

body.ifop-g11w1-free-activity .sdf-wheel-opinions,
body.ifop-g11w1-free-activity .sdf-wheel-game {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body.ifop-g11w1-free-activity .sdf-activity-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

/* İlk sayfada Önceki Sayfa yok; 2–6 arasında normal şekilde görünür. */
body.ifop-g11w1-free-activity [data-sdf-activity-screen="1"] .sdf-activity-page-nav .sdf-prev-page {
  display: none !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="1"] .sdf-activity-page-nav {
  grid-template-columns: minmax(0,1fr) 205px !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="1"] .sdf-activity-page-nav > span {
  grid-column: 1 !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="1"] .sdf-activity-page-nav .sdf-next-page {
  grid-column: 2 !important;
}

@media (max-width: 900px) {
  body.ifop-g11w1-free-activity .sdf-activity-page[data-sdf-activity] .sdf-week-slide {
    padding: 6px !important;
  }

  body.ifop-g11w1-free-activity .sdf-activity-master-shell {
    width: 100% !important;
    padding: 58px 10px 20px !important;
    border-radius: 16px !important;
  }

  body.ifop-g11w1-free-activity .sdf-activity-master-shell .sdf-activity-header {
    padding-right: 0 !important;
  }

  body.ifop-g11w1-free-activity .sdf-activity-master-shell .sdf-activity-header h1 {
    font-size: clamp(28px, 8.5vw, 46px) !important;
  }

  body.ifop-g11w1-free-activity .sdf-concept-crossword-layout,
  body.ifop-g11w1-free-activity .sdf-wheel-game,
  body.ifop-g11w1-free-activity .sdf-plastic-chain-layout,
  body.ifop-g11w1-free-activity .sdf-six-hats-layout {
    grid-template-columns: 1fr !important;
  }

  /* 1. etkinlik tablosu kartlara dönüşür; yatay kaydırma oluşmaz. */
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-activity-table {
    display: block !important;
  }
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-activity-table thead {
    display: none !important;
  }
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-activity-table tbody,
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-activity-table tr {
    display: block !important;
    width: 100% !important;
  }
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-activity-table tr {
    margin: 0 0 12px !important;
    padding: 10px !important;
    border: 1px solid rgba(43,80,62,.12) !important;
    border-radius: 14px !important;
    background: #fff !important;
  }
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-activity-table td {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(112px, 40%) minmax(0,1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 4px !important;
    border: 0 !important;
    text-align: left !important;
  }
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-statement-cell {
    display: block !important;
    padding: 6px 4px 10px !important;
  }
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-choice-cell--human::before { content: "İnsan Merkezci"; }
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-choice-cell--nature::before { content: "Doğa Merkezci"; }
  body.ifop-g11w1-free-activity .sdf-survey-panel .sdf-support-cell::before { content: "Desteklediğin Görüş"; }

  body.ifop-g11w1-free-activity .sdf-week-slide-footer.sdf-activity-page-nav,
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="1"] .sdf-activity-page-nav {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  body.ifop-g11w1-free-activity .sdf-week-slide-footer.sdf-activity-page-nav > span,
  body.ifop-g11w1-free-activity .sdf-week-slide-footer.sdf-activity-page-nav .sdf-page-nav {
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-self: stretch !important;
  }
  body.ifop-g11w1-free-activity .sdf-week-slide-footer.sdf-activity-page-nav .sdf-prev-page {
    grid-row: 1 !important;
  }
  body.ifop-g11w1-free-activity .sdf-week-slide-footer.sdf-activity-page-nav > span {
    grid-row: 2 !important;
    text-align: center !important;
  }
  body.ifop-g11w1-free-activity .sdf-week-slide-footer.sdf-activity-page-nav .sdf-next-page,
  body.ifop-g11w1-free-activity .sdf-week-slide-footer.sdf-activity-page-nav .sdf-next-page--final {
    grid-row: 3 !important;
  }
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="1"] .sdf-activity-page-nav > span {
    grid-row: 1 !important;
  }
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="1"] .sdf-activity-page-nav .sdf-next-page {
    grid-row: 2 !important;
  }
}


/* v1.0.28 — aktif etkinlikte modal dışındaki bütün dikey iç-scroll katmanlarını ez. */
body.ifop-g11w1-free-activity .sdf-activity-page[data-sdf-activity],
body.ifop-g11w1-free-activity .sdf-activity-page[data-sdf-activity] > .sdf-week-slide,
body.ifop-g11w1-free-activity .sdf-activity-page[data-sdf-activity] .sdf-activity-master-shell,
body.ifop-g11w1-free-activity .sdf-activity-page[data-sdf-activity] [data-sdf-activity-screen].is-active {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: visible !important;
  overscroll-behavior-y: auto !important;
}

body.ifop-g11w1-free-activity .sdf-activity-page[data-sdf-activity] [data-sdf-activity-screen].is-active :is(
  .sdf-survey-panel,
  .sdf-activity-table-wrap,
  .sdf-issue-table-wrap,
  .sdf-concept-crossword-layout,
  .sdf-concept-map,
  .sdf-crossword-panel,
  .sdf-crossword-scroll,
  .sdf-crossword-clues,
  .sdf-crossword-clue-scroll,
  .sdf-six-hats-layout,
  .sdf-six-hats-grid,
  .sdf-plastic-chain-layout,
  .sdf-plastic-chain,
  .sdf-plastic-stage-viewport,
  .sdf-plastic-final,
  .sdf-wheel-layout,
  .sdf-wheel-game,
  .sdf-wheel-panel,
  .sdf-wheel-opinions,
  .sdf-wheel-opinion-scroll-wrap,
  .sdf-wheel-opinion-list
) {
  position: static !important;
  inset: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  overscroll-behavior: auto !important;
  touch-action: auto !important;
  scrollbar-width: none !important;
  scrollbar-gutter: auto !important;
}

body.ifop-g11w1-free-activity .sdf-activity-page[data-sdf-activity] [data-sdf-activity-screen].is-active :is(
  .sdf-concept-map,
  .sdf-crossword-scroll,
  .sdf-crossword-clue-scroll,
  .sdf-six-hats-grid,
  .sdf-plastic-stage-viewport,
  .sdf-plastic-final,
  .sdf-wheel-opinion-scroll-wrap,
  .sdf-wheel-opinion-list
)::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.ifop-g11w1-free-activity .sdf-wheel-opinion-scrollbar,
body.ifop-g11w1-free-activity .sdf-wheel-opinion-scrollbar-thumb {
  display: none !important;
  visibility: hidden !important;
}

/* 6. sayfadaki eski absolute scroll-list yapısını doğal akışa kesin döndür. */
body.ifop-g11w1-free-activity .sdf-wheel-opinion-scroll-wrap .sdf-wheel-opinion-list {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* İçeriğin sayfa genişliğini büyütüp yatay iç-scroll üretmesini engelle. */
body.ifop-g11w1-free-activity .sdf-activity-master-shell [data-sdf-activity-screen].is-active > * {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  body.ifop-g11w1-free-activity .sdf-issue-table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed !important;
  }

  body.ifop-g11w1-free-activity .sdf-crossword-grid {
    --ifop-cw-cell: min(29px, calc((100vw - 56px) / 22));
    grid-template-columns: repeat(var(--sdf-cw-cols), var(--ifop-cw-cell)) !important;
    grid-template-rows: repeat(var(--sdf-cw-rows), var(--ifop-cw-cell)) !important;
    gap: 1px !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  body.ifop-g11w1-free-activity .sdf-crossword-cell,
  body.ifop-g11w1-free-activity .sdf-crossword-block {
    width: var(--ifop-cw-cell) !important;
    height: var(--ifop-cw-cell) !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }
}


/* v1.0.29 — 2. etkinlikte taşma yok; tablo serbest kart akışına döner. */
body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active {
  grid-template-rows: auto auto auto !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 16px !important;
  overflow: visible !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-table {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: auto !important;
  border-collapse: separate !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-table thead {
  display: none !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-table tbody,
body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-table tr {
  display: block !important;
  width: 100% !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-table tr {
  margin: 0 0 14px !important;
  padding: 12px !important;
  border: 1px solid rgba(43,80,62,.12) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 8px 22px rgba(39,68,51,.06) !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-table td {
  width: 100% !important;
  display: block !important;
  padding: 8px 4px !important;
  border: 0 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-title-cell {
  padding-top: 4px !important;
  padding-bottom: 10px !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-action-cell {
  display: grid !important;
  grid-template-columns: minmax(118px, 42%) minmax(0,1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 8px 4px !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-action-cell--info::before,
body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-action-cell--philosophy::before {
  display: block !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: .02em !important;
  color: #355847 !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-action-cell--info::before {
  content: "Sorun Hakkında Bilgi";
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-action-cell--philosophy::before {
  content: "Sorunun Felsefi Yönü";
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-icon {
  width: 100% !important;
  min-height: 52px !important;
  justify-self: stretch !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="2"].is-active .sdf-issue-icon em {
  white-space: normal !important;
}


/* v1.0.30 — 3. etkinlik tamamen serbest: üç sütun yok, yatay taşma yok. */
body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active .sdf-concept-crossword-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  gap: 16px !important;
  overflow: visible !important;
  padding: 0 !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active :is(
  .sdf-concept-map,
  .sdf-crossword-panel,
  .sdf-crossword-clues,
  .sdf-crossword-scroll,
  .sdf-crossword-clue-scroll
) {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active .sdf-crossword-panel {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active .sdf-crossword-grid {
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* v1.0.30 — 1. etkinlik Anket Sonucu: ekran içinde gerçek kaydırılabilir serbest modal. */
body.ifop-g11w1-free-activity.sdf-activity-modal-open {
  overflow: auto !important;
  overflow-y: auto !important;
}

body.ifop-g11w1-free-activity .sdf-activity-modal[data-sdf-activity-modal] {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 16px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

body.ifop-g11w1-free-activity .sdf-activity-modal[data-sdf-activity-modal].is-open {
  pointer-events: auto !important;
}

body.ifop-g11w1-free-activity .sdf-activity-modal[data-sdf-activity-modal] .sdf-activity-backdrop {
  position: fixed !important;
  inset: 0 !important;
}

body.ifop-g11w1-free-activity .sdf-activity-modal[data-sdf-activity-modal] .sdf-activity-dialog {
  position: relative !important;
  z-index: 2 !important;
  width: min(920px, calc(100vw - 32px)) !important;
  max-width: 920px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: auto !important;
  padding: clamp(30px, 3vw, 48px) !important;
  overflow: visible !important;
}

@media (max-width: 700px) {
  body.ifop-g11w1-free-activity .sdf-activity-modal[data-sdf-activity-modal] {
    padding: 10px !important;
  }

  body.ifop-g11w1-free-activity .sdf-activity-modal[data-sdf-activity-modal] .sdf-activity-dialog {
    width: calc(100vw - 20px) !important;
    padding: 52px 14px 18px !important;
    border-radius: 18px !important;
  }

  body.ifop-g11w1-free-activity .sdf-activity-modal[data-sdf-activity-modal] .sdf-result-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.31 — Etkinlik 6: seçilen görüşün tam metni çark kartında görünür. */
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview {
  width: min(520px, 96%) !important;
  margin: 10px auto 0 !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(49,95,73,.18) !important;
  border-radius: 14px !important;
  background: #fffaf0 !important;
  box-shadow: 0 7px 18px rgba(35,75,57,.08) !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview[hidden] {
  display: none !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview > span {
  display: block !important;
  margin: 0 0 5px !important;
  color: #8a7045 !important;
  font-size: 9px !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview > strong {
  display: block !important;
  color: #2a493b !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(13px, 1.05vw, 16px) !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

@media (max-width: 700px) {
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview {
    width: 100% !important;
    padding: 11px 12px !important;
  }

  body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview > strong {
    font-size: 13px !important;
  }
}


/* v1.0.32 — Etkinlik 6 seçimi tek satır. */
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-align: left !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview[hidden] {
  display: none !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview > span {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview > strong {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}


/* v1.0.33 — 3. etkinlik bulmacası: 22 sütun panel içine kesin sığar. */
@media (max-width: 900px) {
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active .sdf-crossword-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active .sdf-crossword-scroll {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 4px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active .sdf-crossword-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--sdf-cw-cols), minmax(0, 1fr)) !important;
    grid-template-rows: repeat(var(--sdf-cw-rows), auto) !important;
    gap: 1px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 2px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active :is(.sdf-crossword-cell, .sdf-crossword-blank) {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
  }

  body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active .sdf-crossword-cell input {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    padding: 2px 0 0 !important;
    font-size: clamp(7px, 2.05vw, 11px) !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }

  body.ifop-g11w1-free-activity [data-sdf-activity-screen="3"].is-active .sdf-crossword-number {
    top: 1px !important;
    left: 1px !important;
    font-size: clamp(4px, 1.15vw, 6px) !important;
  }
}


/* v1.0.34 — Etkinlik 4: Altı Şapka popupı viewport dışına taşmaz. */
body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 0 !important;
  box-sizing: border-box !important;
  background: transparent !important;
  overflow: hidden !important;
  place-items: center !important;
}

body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal][open] {
  display: grid !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
}

body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal]::backdrop {
  background: rgba(10, 22, 17, .72) !important;
  backdrop-filter: blur(7px) !important;
}

body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-six-hat-dialog {
  position: relative !important;
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 28px) !important;
  margin: auto !important;
  padding: clamp(24px, 3vw, 42px) !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 22px !important;
}

body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-activity-close {
  position: sticky !important;
  top: 0 !important;
  float: right !important;
  z-index: 10 !important;
  flex: 0 0 auto !important;
}

body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-six-hat-badge,
body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] h3,
body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-six-hat-prompt,
body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-six-hat-answer,
body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-six-hat-answer p {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 620px) {
  body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] {
    padding: 8px !important;
  }

  body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-six-hat-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 16px) !important;
    padding: 48px 16px 18px !important;
    border-radius: 16px !important;
  }

  body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-activity-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
  }

  body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] h3 {
    margin: 8px 0 10px !important;
    font-size: clamp(25px, 7vw, 34px) !important;
    line-height: 1.08 !important;
  }

  body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-six-hat-prompt {
    font-size: 13px !important;
    line-height: 1.42 !important;
  }

  body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-six-hat-answer {
    padding: 14px !important;
    border-radius: 0 14px 14px 0 !important;
  }

  body.ifop-g11w1-free-activity > dialog.sdf-six-hat-modal[data-sdf-six-hat-modal] .sdf-six-hat-answer p {
    font-size: 15px !important;
    line-height: 1.48 !important;
  }
}


/* v1.0.35 — Etkinlik 6 seçim sonucu üstte, tek satır ve kart içinde düzenli. */
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .sdf-wheel-panel {
  display: flex !important;
  flex-direction: column !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview {
  order: 3 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 10px 0 14px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(49,95,73,.16) !important;
  border-radius: 12px !important;
  background: #fffaf0 !important;
  box-shadow: 0 6px 14px rgba(35,75,57,.06) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview[hidden] {
  display: none !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview > span {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: #8a7045 !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview > strong {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #2a493b !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.18 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

@media (max-width: 700px) {
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview {
    margin: 8px 0 12px !important;
    padding: 9px 10px !important;
  }

  body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-choice-preview > strong {
    font-size: 13px !important;
  }
}


/* v1.0.36 — Etkinlik 6: çark yakınında ayrı bilgi/buton kartı. */
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .sdf-wheel-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding-bottom: 18px !important;
  overflow: visible !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .sdf-wheel-wrap {
  order: 2 !important;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card {
  order: 3 !important;
  width: min(430px, 100%) !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 14px !important;
  border: 1px solid rgba(49,95,73,.14) !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,247,242,.98)) !important;
  box-shadow: 0 10px 26px rgba(37,66,51,.08) !important;
  box-sizing: border-box !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-progress,
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-selected-badge,
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-current,
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .ifop-wheel-choice-preview,
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-spin {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-progress {
  justify-content: center !important;
  border-radius: 13px !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-selected-badge {
  width: 100% !important;
  min-height: 0 !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 10px 12px !important;
  border-radius: 13px !important;
  text-align: left !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-selected-badge strong {
  font-size: clamp(16px, 4.8vw, 22px) !important;
  line-height: 1.05 !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-current {
  width: 100% !important;
  min-height: 0 !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .ifop-wheel-choice-preview {
  order: initial !important;
  margin: 0 !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-spin {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  justify-content: center !important;
  box-shadow: 0 10px 24px rgba(35,75,57,.18) !important;
}

body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-spin:not(:disabled):hover,
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-spin:not(:disabled):focus-visible {
  transform: translateY(-2px) !important;
}

@media (max-width: 700px) {
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card {
    width: 100% !important;
    padding: 12px !important;
    gap: 8px !important;
  }

  body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-selected-badge,
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-progress,
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .sdf-wheel-current,
  body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .ifop-wheel-info-card .ifop-wheel-choice-preview {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}


/* v1.0.37 — Etkinlik 6: en alttaki SON SAYFA düğmesi yok. */
body.ifop-g11w1-free-activity [data-sdf-activity-screen="6"] .sdf-activity-page-nav .sdf-next-page--final {
  display: none !important;
}
