.brand-screenshots {
  margin: 32px 0;
  min-width: 0;
  scroll-margin-top: 96px;
}
.brand-screenshots h2 { margin: 0 0 12px; }
.brand-screenshots .brand-screenshots-intro {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.brand-screenshots-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.brand-screenshots figure { min-width: 0; margin: 0; }
.brand-screenshots .brand-screenshot-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 264px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
}
.brand-screenshots .brand-screenshot-link img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 242px;
  object-fit: contain;
  border-radius: 4px;
}
.brand-screenshots .brand-screenshot-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.brand-screenshots figcaption {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}
.mw-screenshot-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(96vw, 1600px);
  max-width: 96vw;
  max-height: 96dvh;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-primary);
}
.mw-screenshot-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.mw-screenshot-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.mw-screenshot-title { font-size: 16px; line-height: 1.5; font-weight: 650; }
.mw-screenshot-dialog .mw-screenshot-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  background: var(--surface-2);
  font-size: 14px;
}
.mw-screenshot-dialog .mw-screenshot-full {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(96dvh - 140px);
  margin: 0 auto;
  object-fit: contain;
}
.mw-screenshot-original {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: underline;
}
.mw-screenshot-dialog :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 520px) {
  .brand-screenshots-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .brand-screenshots .brand-screenshot-link { height: auto; min-height: 120px; }
  .brand-screenshots .brand-screenshot-link img { max-height: 300px; }
  .mw-screenshot-dialog { padding: 12px; }
}
