/* «كاريكاتير العباسية» strips, drawn by comic.js. Text sizes follow the panel width (container units). */
.cx-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; direction: rtl; }
.cx-panel {
  position: relative; aspect-ratio: 400 / 420; overflow: hidden; container-type: inline-size;
  border: 3px solid #1D2733; border-radius: 12px; background: #fff;
}
.cx-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cx-bubble {
  position: absolute; z-index: 2; padding: .45em .7em; border: 2.5px solid #1D2733; border-radius: 1.1em;
  background: #fff; color: #14202C; text-align: center;
  font-family: "Baloo Bhaijaan 2", "IBM Plex Sans Arabic", system-ui, sans-serif; font-weight: 700;
  font-size: 15px; font-size: clamp(12px, 4.7cqi, 18px); line-height: 1.45;
}
.cx-bubble::after {
  content: ""; position: absolute; bottom: -14px; width: 18px; height: 16px; background: #fff;
  border-left: 2.5px solid #1D2733; border-bottom: 2.5px solid #1D2733; transform: skewX(-25deg) rotate(-10deg);
}
.cx-bubble.cx-r::after { right: 26px; }
.cx-bubble.cx-l::after { left: 26px; transform: skewX(25deg) rotate(10deg) scaleX(-1); }
.cx-bubble.cx-n::after, .cx-bubble.cx-ai::after { display: none; }
.cx-bubble.cx-ai { background: #E7F3FF; border-style: dashed; font-weight: 500; }
.cx-bubble.cx-ai b { display: block; font-size: .8em; color: #3A6EA5; }
.cx-cap {
  position: absolute; z-index: 2; top: 0; right: 0; padding: .2em .8em;
  border-bottom: 2.5px solid #1D2733; border-left: 2.5px solid #1D2733; border-bottom-left-radius: 10px;
  background: #FFE59A; color: #14202C; font-family: "Baloo Bhaijaan 2", system-ui, sans-serif; font-weight: 800;
  font-size: 14px; font-size: clamp(11px, 4cqi, 16px);
}
@media (max-width: 700px) {
  .cx-panels { grid-template-columns: 1fr; gap: 12px; max-width: 460px; margin-inline: auto; }
}
