.result-box {
  break-inside: avoid;
  margin: 0;
  border-radius: 6.4px;
  box-shadow: 0 1.6px 3.2px rgba(0, 0, 0, 0.1);
  color: white;
  display: flex;
  flex-direction: column;
  grid-row-end: span 1;
  transform-origin: center top;
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: fit-content;
  width: 216px;
}

.site-header {
  padding: 9.6px 12px;
  background: #454554;
  border-top-left-radius: 6.4px;
  border-top-right-radius: 6.4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 26.4px;
}

.site-divider {
  height: 0.4px;
  background: #454554;
  margin: 0;
  border: none;
}

.favicon {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

.glue-button {
  position: absolute;
  top: 12.8px;
  right: 12px;
  width: 49.72px;
  height: 19.88px;
  background: #39b54a;
  border: none;
  border-radius: 8px;
  color: white;
  font-family: var(--font-family);
  font-weight: bold;
  font-size: 10.88px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

.result-box:hover .glue-button {
  opacity: 1;
  visibility: visible;
}

.glue-button:hover {
  opacity: 0.8;
}

.site-info {
  display: flex;
  align-items: center;
  flex-grow: 1;
  min-width: 0;
  width: 100%;
  position: relative;
}

.go-to-link {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 20.48px;
  cursor: pointer;
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
  margin-left: auto;
}

.go-to-link:hover {
  opacity: 0.8;
}

.result-box:hover .go-to-link {
  opacity: 1;
  visibility: visible;
}

.site-url-container {
  display: flex;
  align-items: center;
  position: relative;
  flex-grow: 1;
}

.site-url {
  margin-left: 1px;
  text-decoration: none;
  color: white;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: bold;
  margin-right: 0;
  display: block;
  min-width: 0;
  width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  transition: font-size 0.2s ease;
}

.title-container {
  position: relative;
  padding: 12px;
  padding-top: 9.6px;
  padding-right: 12px;
  padding-bottom: 18.4px;
  width: 100%;
  box-sizing: border-box;
}
