/* iPLAYCAFE Help Center & Changelog HiDPI Media & Lightbox (modern-web-guidance) */
article.max-w-2xl.flex-1 {
  max-width: 56rem !important;
}
div.mx-auto.max-w-3xl:has(article) {
  max-width: 58rem !important;
}
article > img.aspect-\[2\/1\] ~ div.prose > img:first-child,
article > img.aspect-\[2\/1\] ~ * .prose > img:first-child {
  display: none !important;
}
.prose img,
article > img.aspect-\[2\/1\] {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(247, 140, 37, 0.28);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.42);
  cursor: zoom-in;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  background: #0d0e11;
}
article > img.aspect-\[2\/1\] {
  aspect-ratio: auto;
  max-height: none;
}
.prose img:hover,
.prose img:focus-visible,
article > img.aspect-\[2\/1\]:hover,
article > img.aspect-\[2\/1\]:focus-visible {
  border-color: #f78c25;
  box-shadow: 0 16px 36px -8px rgba(247, 140, 37, 0.25);
  outline: none;
}
.prose img:focus-visible,
article > img.aspect-\[2\/1\]:focus-visible {
  outline: 2px solid #f78c25;
  outline-offset: 2px;
}
dialog#ipc-image-lightbox {
  padding: 0;
  border: 1px solid rgba(247, 140, 37, 0.4);
  border-radius: 1rem;
  background: #0d0e11;
  color: #f8fafc;
  max-width: min(96vw, 1680px);
  max-height: 94dvh;
  width: fit-content;
  min-width: min(92vw, 960px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.88);
  overflow: hidden;
}
dialog#ipc-image-lightbox[open] {
  display: flex;
  flex-direction: column;
}
dialog#ipc-image-lightbox:modal {
  overscroll-behavior: contain;
}
dialog#ipc-image-lightbox::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(7, 9, 13, 0.88);
  backdrop-filter: blur(8px);
}
.ipc-lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #14171f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}
.ipc-lb-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}
.ipc-lb-counter {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(247, 140, 37, 0.16);
  border: 1px solid rgba(247, 140, 37, 0.45);
  color: #f78c25;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ipc-lb-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ipc-lb-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.ipc-lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1e222d;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}
.ipc-lb-btn:hover,
.ipc-lb-btn:focus-visible {
  background: #282d3b;
  border-color: #f78c25;
  outline: none;
}
.ipc-lb-btn-close {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}
.ipc-lb-btn-close:hover {
  background: rgba(239, 68, 68, 0.28);
  border-color: #ef4444;
  color: #ffffff;
}
.ipc-lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  max-height: calc(94dvh - 3.35rem);
  min-height: min(65dvh, 520px);
  padding: 0.75rem;
  background: radial-gradient(circle at center, #141821 0%, #090b0f 100%);
  overscroll-behavior: contain;
}
.ipc-lb-img {
  display: block;
  max-width: min(92vw, 1600px);
  max-height: calc(90dvh - 4.5rem);
  width: auto;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
  transform-origin: center center;
  transition: transform 120ms ease-out;
  cursor: zoom-in;
  user-select: none;
}
.ipc-lb-img.is-zoomed {
  max-width: none;
  max-height: none;
  cursor: grab;
}
.ipc-lb-img.is-zoomed:active {
  cursor: grabbing;
}
