.logo-icon {
  display: block;
  object-fit: contain;
  padding: 0;
  border-radius: 11px;
  box-shadow: 0 9px 22px rgba(14, 170, 113, 0.22);
}

.logo:hover .logo-icon {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(14, 170, 113, 0.28);
}

.logo-icon {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.footer-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
  padding: 0;
  border-radius: 10px;
  background: none;
  box-shadow: 0 8px 18px rgba(14, 170, 113, 0.18);
}

@media (max-width: 700px) {
  .logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
}

/* v1.28: resilient recent/favorite cards use real buttons and remain usable
   even when another tool script fails during page initialization. */
.personal-tool.personal-tool-v28 {
  display: block;
  padding: 0;
}

.personal-tool-v28 .personal-open {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  padding: 10px 38px 10px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
}

.personal-tool-v28 .personal-open:hover {
  background: #f3fbf7;
  transform: none;
}

.personal-tool-v28 > .favorite-mini {
  position: absolute;
  top: 9px;
  right: 9px;
}

.personal-tool-list .personal-empty {
  grid-column: 1 / -1;
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px dashed #dce6e1;
  border-radius: 12px;
  color: #87938e;
  background: #fbfdfc;
  font-size: 12px;
  text-align: center;
}
