/* Isekai Engage */
.ie-card {
  --ie-teal: #1f6f78;
  --ie-teal-50: #eef7f6;
  --ie-text: #1d2a2c;
  --ie-muted: #5c6b6d;
  --ie-line: #e6dfd3;
  --ie-soft: #f8f5ef;
  margin: 32px 0 8px;
  padding: 22px;
  border: 1px solid var(--ie-line);
  border-radius: 18px;
  background: #fff;
  color: var(--ie-text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
.ie-card *, .ie-card *::before, .ie-card *::after { box-sizing: border-box; }
.ie-card .ie-ico { flex: none; }

.ie-views { display: flex; align-items: center; gap: 8px; color: var(--ie-muted); font-size: 14px; }
.ie-views strong { color: var(--ie-text); font-weight: 700; }

.ie-q { margin: 16px 0 10px; font-weight: 700; font-size: 16px; color: var(--ie-text); }

.ie-reacts { display: flex; flex-wrap: wrap; gap: 8px; }
.ie-card .ie-react {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0; padding: 7px 14px 7px 10px;
  border: 1px solid var(--ie-line); border-radius: 999px;
  background: var(--ie-soft); color: var(--ie-text);
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2;
  text-transform: none; letter-spacing: normal; box-shadow: none;
  cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.ie-card .ie-react:hover { border-color: var(--ie-teal); background: var(--ie-teal-50); color: var(--ie-text); }
.ie-card .ie-react:focus-visible { outline: 3px solid #e8798f; outline-offset: 2px; }
.ie-card .ie-react[aria-pressed="true"] { border-color: var(--ie-teal); background: var(--ie-teal-50); color: var(--ie-teal); }
.ie-emo { font-size: 18px; line-height: 1; }
.ie-num { min-width: 1ch; color: var(--ie-muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.ie-react[aria-pressed="true"] .ie-num { color: var(--ie-teal); }
.ie-busy .ie-react { cursor: progress; }
.ie-pop { animation: ie-pop .35s ease; }
@keyframes ie-pop { 40% { transform: scale(1.12); } }

.ie-msg { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: var(--ie-teal); }

.ie-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--ie-line);
}
.ie-share-lab { font-weight: 700; font-size: 14px; color: var(--ie-muted); margin-right: 2px; }
.ie-card .ie-s {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0; padding: 7px 14px; border: 0; border-radius: 999px;
  font: inherit; font-size: 13px; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-transform: none; letter-spacing: normal; box-shadow: none;
  color: #fff; cursor: pointer; transition: filter .15s, transform .15s;
}
.ie-card .ie-s:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.ie-card .ie-s:focus-visible { outline: 3px solid #e8798f; outline-offset: 2px; }
.ie-card .ie-wa { background: #1fa855; }
.ie-card .ie-tg { background: #229ed9; }
.ie-card .ie-fb { background: #1877f2; }
.ie-card .ie-x, .ie-card .ie-threads { background: #111; }
.ie-card .ie-copy, .ie-card .ie-more { background: var(--ie-teal-50); color: var(--ie-teal); }
.ie-card .ie-copy:hover, .ie-card .ie-more:hover { color: var(--ie-teal); }
.ie-card .ie-more[hidden] { display: none; }

/* Tahan gaya `section` dari tema/halaman (mis. padding besar pada halaman Canvas). */
.ie-card.ie-card { margin: 32px 0 8px; padding: 22px; }
.ie-section .ie-card.ie-card { margin: 0 0 8px; }

@media (max-width: 480px) {
  .ie-card.ie-card { padding: 18px 16px; }
  .ie-card .ie-react { padding: 6px 12px 6px 9px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ie-card * { animation: none !important; transition: none !important; }
}
