/* SÖZÜN İNCELİĞİ / OKUMA — belgeye özgü yerleşim.
   Ortak header, footer, düğme, kart, dialog, gezinme ve form temeli
   yeniden tanımlanmaz; yalnız #main / #modal-body altında içerik
   yerleşimi düzenlenir (shared-ui-contract.md §Belgeye özel sınırlar).
   Palet kaynak PDF'ten: turuncu #f47f50, koyu kiremit #9f3424,
   krem #faf7eb, şeftali #fce0d3, açık gri #ecebed (kit ile aynı). */

#main .visually-hidden,
#modal-body .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#main {
  --doc-paper: #fffdf8;
  --doc-line: #c5b9aa;
  --doc-frame: #cbb294;
  --doc-frame-bg: #f6f1e6;
  --doc-soft: #f4f1ea;
  --doc-a: #f6dfa4;
  --doc-b: #a9dcd8;
  --doc-c: #f6cdb6;
  --doc-ink: #282726;
}

#main .storage-warning {
  background: #fff2e8;
  border-left: 4px solid var(--rust, #9f3424);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 15px;
}

#main .doc-eyebrow {
  font-size: 15px;
  letter-spacing: .12em;
  font-weight: 700;
  color: #7a5a45;
  margin: 0 0 10px;
  text-transform: uppercase;
}

/* ---------------------------------------------------- ortak metin alanları */
#main .purpose {
  margin-bottom: 22px;
}
#main .purpose p {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.6;
}
#main .intro-content {
  font-size: 18px;
  line-height: 1.75;
}
#main .intro-content p {
  margin-bottom: 18px;
}
#main .start-action {
  margin: 30px 0 8px;
  display: flex;
  justify-content: center;
}
#main .task-note {
  font-size: 16px;
  margin: 0 0 14px;
}
#main .question {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}
#main .answer-block {
  margin-bottom: 14px;
}
#main .answer-block textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
}
#main .activity {
  margin-bottom: 12px;
}
#main .activity-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  padding-top: 14px;
  border-top: 2px solid var(--peach, #fce0d3);
}
#main .reading {
  margin-bottom: 20px;
}
#main .reading p {
  font-size: 17px;
  line-height: 1.7;
}
#main .reading cite {
  font-style: italic;
}

/* ----------------------------------------------------------- tablo iskeleti */
#main .table-scroll {
  overflow-x: auto;
  margin-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
#main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
#main .criteria-table {
  min-width: 520px;
}
#main .criteria-table th,
#main .criteria-table td {
  border: 1px solid var(--doc-line);
  padding: 10px 12px;
  vertical-align: middle;
}
#main .criteria-table thead th {
  background: #b8491a;
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-color: #9f3424;
}
#main .criteria-table thead th:first-child {
  text-align: left;
  background: var(--doc-soft);
  color: var(--doc-ink);
  border-color: var(--doc-line);
}
#main .criteria-table tbody tr:nth-child(even) {
  background: #faf8f3;
}
#main .criteria-table tbody th {
  text-align: left;
  font-weight: 400;
  line-height: 1.5;
}
#main .criteria-table .choice-cell {
  text-align: center;
  width: 96px;
}
#main .choice-cell .tf-options {
  display: flex;
  justify-content: center;
  margin: 0;
}
#main .choice-cell .tf-options label {
  display: grid;
  place-items: center;
  min-width: 64px;
  min-height: 44px;
  border: 1px solid #d7c6b5;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  padding: 6px 9px;
}
#main .choice-cell .tf-options label:has(input:checked) {
  background: var(--peach, #fce0d3);
  border-color: var(--rust, #9f3424);
  box-shadow: inset 0 0 0 2px var(--rust, #9f3424);
}
#main .choice-cell .tf-options label:has(input:focus-visible) {
  outline: 3px solid #006e91;
  outline-offset: 2px;
}
#main .choice-cell .tf-options input {
  width: 18px;
  height: 18px;
  margin: 0 0 3px;
  accent-color: var(--rust, #9f3424);
}
#main .choice-cell .tf-options label:has(input:disabled) {
  cursor: not-allowed;
  background: #f2eeea;
  color: #6b6158;
  border-style: dashed;
}

/* --------------------------------------------------------- dönüt bileşenleri */
/* Kit'teki .flow-text small (#806454 / #fce0d3 = 4.32:1, 10px) WCAG AA eşiğinin
   altında kalıyor. Kaynak paletten daha koyu bir tona (5.4:1) çekildi; geometri,
   boyut ve yerleşim kit ile aynı kaldı. */
#main .activity-flow .flow-text small {
  color: #6b4a38;
  font-size: 11px;
}
#main .feedback-toggle-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 24px;
}
#main .feedback-toggle {
  min-height: 44px;
  border: 1px solid #bd9a85;
  border-radius: 5px;
  background: #fff;
  color: var(--rust, #9f3424);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 18px;
}
#main .feedback-toggle[aria-expanded="true"] {
  background: var(--peach, #fce0d3);
  border-color: var(--rust, #9f3424);
}
#main .feedback-toggle:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: #f1ece7;
  color: #6b6158;
  border-color: #ccc6c1;
  border-style: dashed;
}
#main .feedback {
  margin-top: 4px;
  width: 100%;
  background: #fdf6ef;
  border-left: 4px solid var(--orange, #f47f50);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.6;
}
#main .feedback:focus {
  outline: 3px solid #006e91;
  outline-offset: 2px;
}
#main .feedback-heading {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--rust, #9f3424);
}
#main .feedback p {
  margin: 0 0 9px;
}
#main .feedback p:last-child {
  margin-bottom: 0;
}
#main .feedback-list {
  margin: 0;
  padding-left: 22px;
}
#main .feedback-list li {
  margin-bottom: 8px;
}
#main .feedback-sub {
  font-weight: 700;
  color: var(--rust, #9f3424);
  margin-bottom: 8px;
}
#main .fb-intro {
  margin-bottom: 12px;
}
#main .feedback-couple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
#main .feedback-box-src {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5d3c3;
  border-radius: 5px;
  padding: 12px 14px;
}
#main .fb-no {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  color: var(--rust, #9f3424);
}
#main .feedback-box-src p:last-child {
  margin: 0;
}
#main .feedback-box-compare {
  display: block;
}
#main .feedback-box-compare .fb-pair {
  margin: 0 0 8px;
}
#main .feedback-box-compare .fb-bullets {
  margin: 0;
}
#main .fb-bullets {
  margin: 0;
  padding-left: 20px;
}
#main .fb-bullets li {
  margin-bottom: 6px;
}
#main .fb-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
#main .fb-table th,
#main .fb-table td {
  border: 1px solid #e5d3c3;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  background: #fff;
}
#main .fb-table th {
  width: 40%;
  font-weight: 700;
  background: #fbf3ea;
}

/* ------------------------------------------------ İLİŞKİLENDİRİYORUM (s.2) */
#main .source-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 22px;
}
#main .source-card {
  background: var(--doc-frame-bg);
  border: 2px solid var(--doc-frame);
  border-radius: 14px;
  padding: 16px 20px;
  min-width: 0;
  overflow-wrap: anywhere;
}
#main .source-card-title,
#main .poem-title {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px;
}
#main .poem-title {
  font-weight: 500;
  letter-spacing: .05em;
}
#main .source-body {
  font-size: 16px;
  line-height: 1.65;
  text-align: justify;
  margin: 0;
}
#main .poem-stanza {
  margin: 0 0 14px;
  line-height: 1.65;
  font-size: 16px;
}
#main .poem-author {
  font-size: 15px;
  text-align: right;
  margin: 6px 0 0;
  color: #4a413a;
}
#main .match-table tbody th {
  background: #f2f0ec;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--doc-line);
}
#main .match-cell {
  width: 168px;
  background: #f7efe6;
  border: 1px solid var(--doc-line);
  padding: 8px 10px;
}
#main .match-input {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
  padding: 9px 10px;
  border: 1px solid var(--doc-line);
  border-radius: 4px;
  background: var(--doc-paper);
  color: var(--doc-ink);
}
#main .match-input::placeholder {
  color: #7a6a5c;
  font-size: 14px;
}
#main .match-input:focus-visible {
  outline: 3px solid #006e91;
  outline-offset: 2px;
}
#main .match-input[readonly] {
  background: #f1ece7;
  color: #3a332d;
}

/* ----------------------------------------------------- 1. Etkinlik fotoğraflar */
#main .photo-set {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}
#main .photo-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  padding: 6px;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .2s ease, transform .2s ease;
}
#main .photo-choice input {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 22px;
  height: 22px;
  accent-color: var(--rust, #9f3424);
  z-index: 2;
  margin: 0;
}
#main .photo-frame {
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}
#main .photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 608 / 408;
  object-fit: cover;
}
#main .photo-no {
  font-size: 17px;
  font-weight: 700;
  color: var(--doc-ink);
}
#main .photo-choice.is-picked {
  border-color: var(--rust, #9f3424);
  background: #fdf1e6;
  box-shadow: 0 6px 16px #78301f1f;
}
#main .photo-choice:has(input:focus-visible) {
  outline: 3px solid #006e91;
  outline-offset: 3px;
}
#main .photo-choice:has(input:disabled) {
  cursor: not-allowed;
}
#main .photo-choice:has(input:disabled) .photo-frame img {
  filter: saturate(.9);
}
@media (hover: hover) {
  #main .photo-choice:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 18px #43241618;
  }
}

/* -------------------------------------------------- 2. Etkinlik puzzle bloğu */
#main .poem-card {
  background: var(--doc-frame-bg);
  border: 2px solid var(--doc-frame);
  border-radius: 16px;
  padding: 18px 24px;
  margin: 0 0 16px;
  max-width: 560px;
}
#main .poem-tail {
  margin: 0 0 14px;
  font-size: 16px;
}
#main .puzzle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 8px;
}
#main .puzzle-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
#main .puzzle-figure {
  margin: 0;
  line-height: 0;
}
#main .puzzle-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 823 / 523;
  object-fit: contain;
}
#main .puzzle-write {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#main .feedback[hidden],
#main [hidden] {
  display: none !important;
}
#main .puzzle-label {
  font-size: 14px;
  line-height: 1.45;
  color: #4a413a;
}
#main .puzzle-input {
  display: block;
  width: 100%;
  min-height: 58px;
  font-size: 16px;
  line-height: 30px;
  padding: 6px 14px;
  border: 1px solid var(--doc-line);
  border-radius: 6px;
  background-color: #fce9d4;
  resize: vertical;
  color: var(--doc-ink);
}
#main .puzzle-item:nth-child(2) .puzzle-input {
  background-color: #d9f0ee;
}
#main .puzzle-item:nth-child(3) .puzzle-input {
  background-color: #d3e1f4;
}
#main .puzzle-item:nth-child(4) .puzzle-input {
  background-color: #fbdcca;
}
#main .puzzle-input[readonly] {
  filter: saturate(.7);
}

/* --------------------------------------------------------- 3. Etkinlik iki parça */
#main .poem-halves {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin-bottom: 4px;
}
#main .poem-halves .poem-card {
  margin: 0;
  max-width: none;
}
#main .write-panel {
  background: #f4ece2;
  border: 1px solid #d9c9b7;
  border-radius: 12px;
  padding: 14px 16px;
}
#main .write-panel .answer-block {
  margin: 0;
}
#main .write-panel .answer-block textarea {
  min-height: 220px;
}

/* --------------------------------------------------------- 4. Etkinlik Venn */
#main .venn {
  position: relative;
  min-height: 520px;
  margin: 8px 0 18px;
  contain: layout style;
}
#main .venn-circle {
  position: absolute;
  border-radius: 50%;
  padding: 30px 34px;
  font-size: 14.5px;
  line-height: 1.5;
  opacity: .92;
}
#main .venn-a {
  left: 0;
  top: 0;
  width: 58%;
  height: 52%;
  background: var(--doc-a);
  text-align: right;
}
#main .venn-b {
  right: 0;
  top: 0;
  width: 58%;
  height: 52%;
  background: var(--doc-b);
  text-align: right;
}
#main .venn-c {
  left: 21%;
  bottom: 0;
  width: 58%;
  height: 52%;
  background: var(--doc-c);
  text-align: center;
  padding-top: 64px;
}
#main .venn-poem {
  margin: 0 0 6px;
}
#main .venn-circle .poem-author {
  font-size: 13.5px;
  font-style: italic;
}
#main .venn-center {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  width: 44%;
  max-width: 300px;
  background: #fff;
  border: 2px dashed #8c7a68;
  border-radius: 12px;
  padding: 10px 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 14px #4324161c;
}
#main .venn-label {
  font-size: 13px;
  font-weight: 700;
  color: #5b4a3c;
}
#main .venn-input {
  width: 100%;
  min-height: 76px;
  font-size: 16px;
  line-height: 28px;
  padding: 4px 10px;
  resize: vertical;
  border: 1px solid var(--doc-line);
  border-radius: 6px;
}

/* --------------------------------------------- 5. Etkinlik a) tablo doldurma */
#main .roman {
  background: var(--doc-frame-bg);
  border: 2px solid var(--doc-frame);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 18px;
}
#main .roman p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.72;
  text-align: justify;
}
#main .work-table {
  min-width: 560px;
  border-collapse: collapse;
}
#main .work-table th {
  width: 34%;
  background: var(--doc-soft);
  border: 1px solid var(--doc-line);
  text-align: left;
  font-weight: 400;
  line-height: 1.45;
  padding: 10px 12px;
  vertical-align: top;
}
#main .work-cell {
  border: 1px solid var(--doc-line);
  padding: 6px 8px;
}
#main .work-cell textarea {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  font-size: 16px;
  line-height: 30px;
  padding: 4px 12px;
  border: 1px solid #ddd2c4;
  border-radius: 4px;
}

/* --------------------------------------------- 5. Etkinlik b) virgül görevleri */
#main .virgul-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 6px;
}
#main .virgul-grid > .table-scroll {
  min-width: 0;
}
#main .virgul-table {
  border-collapse: collapse;
  min-width: 420px;
}
#main .virgul-table th,
#main .virgul-table td {
  border: 1px solid var(--doc-line);
  padding: 10px 12px;
  vertical-align: middle;
  font-weight: 400;
  text-align: left;
}
#main .virgul-no {
  width: 44px;
  text-align: center;
  background: var(--doc-soft);
  font-weight: 700;
}
#main .virgul-cumle {
  font-size: 15.5px;
  line-height: 1.6;
}
#main .virgul-select {
  width: 86px;
  background: #f7efe6;
  text-align: center;
}
#main .virgul-select select {
  width: 64px;
  min-height: 44px;
  font-size: 17px;
  text-align: center;
  border: 1px solid #b9a894;
  border-radius: 5px;
  background: #fff;
  color: var(--doc-ink);
}
#main .virgul-select select:disabled {
  background: #f1ece7;
  color: #55504a;
}
#main .gorev-list {
  margin: 0;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.55;
}
#main .gorev-list li {
  margin-bottom: 10px;
}
#main .gorev-list strong {
  color: var(--rust, #9f3424);
}

/* ------------------------------------------------- DEĞERLENDİRİYORUM (s.7–8) */
#main .compare-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 560px;
}
#main .compare-table thead th {
  background: var(--doc-a);
  border: 1px solid #e2c98c;
  padding: 12px;
  text-align: center;
  font-size: 17px;
}
#main .compare-table thead th + th {
  background: var(--doc-b);
  border-color: #8cbcb8;
}
#main .compare-table td {
  border: 1px solid #d8ccbe;
  padding: 8px;
  vertical-align: top;
  background: #f6f3ee;
}
#main .compare-table textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  border: 1px solid #e0d5c8;
  border-radius: 4px;
}

/* --------------------------------------------------- Yansıtıcı Yazı Kartı */
#main .reflect-card {
  background: var(--doc-frame-bg);
  border: 2px solid var(--doc-frame);
  border-radius: 18px;
  padding: 20px 26px 24px;
}
#main .reflect-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
#main .reflect-lead {
  font-weight: 700;
  margin: 0 0 14px;
}
#main .reflect-card {
  position: relative;
}
#main .reflect-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  max-width: 88%;
}
#main .reflect-label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
#main .reflect-input {
  min-height: 60px;
  font-size: 16px;
  padding: 4px 12px;
  resize: vertical;
  border-radius: 0;
  border: 0;
  border-bottom: 1px dotted #8d7a67;
  background-color: transparent;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #cfc1b1 31px, #cfc1b1 33px);
  background-position: 0 4px;
  background-attachment: local;
}
#main .reflect-tail {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

/* ---------------------------------------------------------- ÖĞRENDİKLERİM */
#main .library-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
#main .library-cards .card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--accent, #c14f28);
  border-top: 4px solid var(--accent, #c14f28);
  border-radius: 8px;
  padding: 0;
  min-height: 148px;
  color: var(--doc-ink);
}
#main .card-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  margin-left: 18px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px;
  background-color: var(--peach, #fce0d3);
}
#main .card-icon-gs {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox='0 0 24 24' fill='none' stroke='%239f3424' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 3.5v17M3.5 12h17M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
#main .card-icon-es {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox='0 0 24 24' fill='none' stroke='%239f3424' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V6a2 2 0 0 1 2-2h12v15.5'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20v4H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3Cpath d='M8.5 8.5h7M8.5 12h4.5'/%3E%3C/svg%3E");
}
#main .library-cards .card-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 16px 0;
  flex: 1;
}
#main .library-cards .card-text strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink, #282726);
}
#main .library-cards .open-label {
  font-size: 14px;
  font-weight: 600;
  color: #8a3a24;
}
#main .library-cards .card.is-reviewed {
  border-color: #4d7a52;
  border-top-color: #4d7a52;
  background: #f4f8f3;
}
#main .library-cards .card.is-reviewed .open-label {
  color: #2f5a35;
}
#main .library-cards .card.is-reviewed .open-label::before {
  content: "✓ ";
  font-weight: 700;
}
#main .completion-panel {
  border: 1px solid #e5d9cd;
  background: var(--cream, #faf7eb);
  padding: 18px 20px;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
#main .completion-panel p {
  margin: 0;
  font-weight: 600;
}

/* --------------------------------------------------------------- modallar */
#modal-body .pdf-library-page {
  font-size: 16px;
  line-height: 1.6;
}
#modal-body .lib-head {
  font-size: 17px;
  font-weight: 700;
  color: var(--rust, #9f3424);
  margin: 0 0 8px;
}
#modal-body .lib-head + p {
  margin-top: 0;
}
#modal-body .lib-figure {
  margin: 14px 0 16px;
  display: flex;
  justify-content: center;
}
#modal-body .lib-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
#modal-body .kavram-list {
  display: grid;
  grid-template-columns: minmax(120px, 22%) 1fr;
  margin: 16px 0 0;
  border: 1px solid #e3d7ca;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
#modal-body .kavram-list dt {
  font-weight: 700;
  padding: 10px 12px;
  background: var(--cream, #faf7eb);
  border-bottom: 1px solid #e8ddd1;
  font-size: 14px;
}
#modal-body .kavram-list dd {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid #e8ddd1;
  font-size: 15px;
}
#modal-body .sanat-dallari {
  display: grid;
  grid-template-columns: minmax(150px, 34%) 1fr;
  gap: 0;
  margin: 0 0 16px;
  border: 1px solid #e3d7ca;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
#modal-body .sanat-dallari dt {
  font-weight: 700;
  padding: 10px 12px;
  background: #fdf1e9;
  border-bottom: 1px solid #e8ddd1;
  font-size: 14px;
}
#modal-body .sanat-dallari dd {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid #e8ddd1;
  font-size: 15px;
}
#modal-body .sanat-dallari dt:last-of-type,
#modal-body .sanat-dallari dd:last-of-type {
  border-bottom: 0;
}
#modal-body .kavram-list dt:nth-last-of-type(1),
#modal-body .kavram-list dd:nth-last-of-type(1) {
  border-bottom: 0;
}
#modal-body .sanat-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
#modal-body .sanat-list > li {
  border-left: 3px solid var(--peach, #fce0d3);
  padding: 2px 0 2px 12px;
  margin-bottom: 14px;
}
#modal-body .sanat-ad {
  font-weight: 700;
  margin: 0 0 4px;
  font-size: 16px;
}
#modal-body .sanat-list p {
  margin: 0 0 6px;
}
#modal-body .sanat-maddeler {
  margin: 6px 0 0;
  padding-left: 20px;
  font-size: 15px;
}
#modal-body .sanat-maddeler li {
  margin-bottom: 4px;
}

/* --------------------------------------------------------------- mobil */
@media (max-width: 1000px) {
  #main .source-card {
    padding: 14px 16px;
  }
  #main .venn {
    min-height: 560px;
  }
  #main .venn-circle {
    padding: 24px 26px;
    font-size: 13.5px;
  }
}
@media (max-width: 850px) {
  #main .source-pair,
  #main .poem-halves,
  #main .virgul-grid {
    grid-template-columns: 1fr;
  }
  #main .puzzle-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #main .feedback-couple {
    grid-template-columns: 1fr;
  }
  #main .reflect-item {
    max-width: 100%;
  }
  #main .venn {
    min-height: 620px;
  }
  #main .venn-a,
  #main .venn-b {
    width: 62%;
    height: 40%;
  }
  #main .venn-c {
    width: 62%;
    left: 19%;
    height: 48%;
    padding-top: 84px;
  }
  #main .venn-center {
    width: 52%;
    top: 45%;
  }
}
@media (max-width: 640px) {
  #main .photo-set {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  #main .photo-choice {
    flex-direction: row;
    justify-content: flex-start;
    padding: 8px;
  }
  #main .photo-choice input {
    position: static;
    flex: 0 0 auto;
  }
  #main .photo-frame {
    width: 58%;
  }
  #main .venn {
    min-height: 760px;
  }
  #main .venn-circle {
    width: 86%;
    height: 30%;
    font-size: 13px;
    padding: 18px 20px;
  }
  #main .venn-a {
    left: 0;
    top: 0;
  }
  #main .venn-b {
    right: 0;
    top: 27%;
  }
  #main .venn-c {
    left: 7%;
    bottom: 0;
    height: 34%;
    padding-top: 40px;
  }
  #main .venn-center {
    width: 74%;
    top: 53%;
  }
  #main .reflect-card {
    padding: 16px 16px 20px;
  }
  #main .library-cards {
    grid-template-columns: 1fr;
  }
  #main .activity-title {
    font-size: 17px;
  }
  #modal-body .kavram-list {
    grid-template-columns: 1fr;
  }
  #modal-body .kavram-list dt {
    border-bottom: 0;
    padding-bottom: 2px;
  }
}
