#symbol-bar {
  position: fixed;
  bottom: 53px;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 15px 10px 10px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  font-family: sans-serif;
  z-index: 9999;
  display: none;
}

#bar-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: black;
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.bar-main {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

#symbol-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 22px;
  border-radius: 6px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  background: #fff;
  color: #000;
}

#bar-clear {
  background: transparent;
  color: black;
  font-size: 18px;
  border: none;
  cursor: pointer;
}

#bar-copy {
  background: black;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

#share-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #f1f1f1;
  padding: 12px 0 10px;
  font-family: sans-serif;
  z-index: 9998;
  border-top: 1px solid #ccc;
  display: none;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}

#share-bar span {
  margin-right: 10px;
  font-weight: bold;
}

#share-bar a {
  font-size: 20px;
  color: white;
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 6px;
}

#share-fb { background-color: #3b5998; }
#share-tw { background-color: #1da1f2; }
#share-pin { background-color: #bd081c; }
#share-tg { background-color: #0088cc; }

@media screen and (max-width: 600px) {
  .bar-main {
    flex-direction: column;
    align-items: stretch;
  }

  #bar-copy {
    width: 100%;
  }
}