.yal-poll-panel {
  margin-top: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #2f3336;
  border-radius: 14px;
  background: #000;
}

.yal-poll-panel h5 {
  margin: 0 0 0.75rem;
  color: #71767b;
  font-size: 0.92rem;
  font-weight: 600;
}

.yal-poll-choice-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.yal-poll-media-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #2f3336;
  background: #16181c;
  color: #71767b;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
}

.yal-poll-media-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yal-poll-choice-input {
  flex: 1;
  border: 1px solid #2f3336;
  background: #000;
  color: #e7e9ea;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
}

.yal-poll-add-btn {
  border: none;
  background: transparent;
  color: #1d9bf0;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
}

.yal-poll-length {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #2f3336;
}

.yal-poll-length label {
  display: block;
  color: #71767b;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.yal-poll-length-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.yal-poll-length-grid select {
  width: 100%;
  border: 1px solid #2f3336;
  background: #000;
  color: #e7e9ea;
  border-radius: 10px;
  padding: 0.55rem 0.5rem;
}

.yal-poll-remove {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  border: none;
  background: transparent;
  color: #f4212e;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.yal-poll-card {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #2f3336;
  border-radius: 14px;
  background: #000;
}

.yal-poll-card-meta {
  color: #71767b;
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
}

.yal-poll-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #2f3336;
  background: transparent;
  color: #e7e9ea;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.45rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.yal-poll-option:disabled {
  cursor: default;
}

.yal-poll-option-bar {
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(29, 155, 240, 0.22);
  z-index: 0;
}

.yal-poll-option-label {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.yal-poll-option.selected {
  border-color: #1d9bf0;
}

.yal-poll-choice-thumb {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: 0.35rem;
  vertical-align: middle;
}
