.sister-apps-dialog {
  position: fixed;
  width: min(340px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: 0 8px 28px rgb(0 0 0 / 14%);
}
.sister-apps-dialog::backdrop { background: rgb(18 35 38 / 8%); }
.sister-apps-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sister-apps-dialog h2 { margin: 0; font-size: 1rem; }
.sister-apps-dialog .icon-btn { width: 44px; height: 44px; flex-shrink: 0; }
.sister-app-link { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 14px 0; text-decoration: none; color: inherit; }
.sister-app-link + .sister-app-link { border-top: 1px solid var(--line); }
.sister-app-link img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.sister-app-link > span { display: grid; gap: 4px; }
.sister-app-link strong { font-size: .95rem; }
.sister-app-link span > span { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.sister-app-link > svg { width: 18px; height: 18px; color: var(--muted); }
.sister-app-link:hover strong { color: var(--structure); }
.sister-apps-home { grid-column: 1 / -1; }
.home-browse .sister-apps-home > header { border: 0; min-height: 36px; margin-bottom: 10px; }
.home-browse .sister-apps-home .home-carousel.sister-app-carousel { grid-auto-columns: min(340px, 86%); gap: 12px; padding-bottom: 0; scrollbar-width: none; }
.sister-app-carousel::-webkit-scrollbar { display: none; }
.sister-app-card { display: grid; grid-template-columns: 45% minmax(0, 1fr); align-items: center; gap: 14px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgb(197 44 85 / 2%); color: var(--ink); text-decoration: none; scroll-snap-align: start; }
.sister-app-card:hover { border-color: var(--structure); }
.sister-app-media { display: block; height: 108px; overflow: hidden; border-radius: 9px; }
.sister-app-preview { width: 100%; height: 108px; object-fit: cover; object-position: top; }
.sister-app-card[data-app="vocabulary"] .sister-app-preview { width: 150%; max-width: none; height: 150%; object-position: left top; }
.sister-app-card[data-app="sentence"] .sister-app-preview { object-position: bottom; }
.sister-app-copy { min-width: 0; display: grid; gap: 6px; }
.sister-app-copy strong { font-size: .95rem; }
.sister-app-copy > span { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.sister-app-copy .sister-app-cta { display: flex; align-items: center; gap: 6px; min-height: 36px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--structure); font-weight: 700; }
.sister-app-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.sister-app-dots { display: flex; justify-content: center; }
.sister-app-dots[hidden] { display: none; }
.sister-app-dots button { width: 44px; height: 34px; border: 0; background: transparent; cursor: pointer; }
.sister-app-dots button span { display: block; width: 7px; height: 7px; margin: auto; border-radius: 50%; background: var(--compare-border); }
.sister-app-dots button[aria-pressed="true"] span { background: var(--structure); }
.sister-apps-dialog :is(a, button):focus-visible, #sister-apps-trigger:focus-visible { outline: 2px solid var(--structure); outline-offset: 3px; }
@media (min-width: 761px) {
  .dictionary .brand-actions > button { width: 38px; height: 44px; padding: 0; }
}
@media (max-width: 760px) {
  .brand-actions { flex-shrink: 0; }
  body.mobile-home-mode .brand-actions { gap: 1px; }
  body.mobile-home-mode .brand { gap: 5px; }
  body.mobile-home-mode .brand strong { font-size: .7rem; }
  body.mobile-home-mode .brand small { display: none; }
}
@media (max-width: 359px) {
  body.mobile-home-mode .brand > div:last-child { display: none; }
  .sister-app-card { grid-template-columns: 40% minmax(0, 1fr); gap: 10px; }
}
